/* Responsive shell: desktop, tablet and compact mobile surfaces. */
html,body,#app{max-width:100%;overflow-x:hidden}
.dashboard{min-width:0}.dashboard main{min-width:0}
@media (min-width:801px) and (max-width:1180px){
  .dashboard{grid-template-columns:210px minmax(0,1fr)}
  aside{padding:24px 12px}.brand{font-size:21px}main{padding:28px 24px}.summary{grid-template-columns:1fr 1fr}.summary .chart{grid-column:1/-1}.ledger{padding:18px}.ledger h2{font-size:24px}
}
@media (max-width:800px){
  input,textarea,select{font-size:16px;line-height:1.35}
  body>#app{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  .dashboard{min-height:100dvh}.dashboard main{min-width:0;width:100%;max-width:100%;padding:70px 8px 28px}.dashboard header{display:block;min-width:0}.dashboard header h1{font-size:32px;line-height:1.05;max-width:calc(100vw - 32px)}.dashboard .status{display:inline-block;margin-top:9px}.property-switch{box-sizing:border-box;max-width:100%;overflow:hidden}.summary{display:grid;grid-template-columns:1fr;margin:16px 0 10px}.summary article{width:100%;min-width:0}.summary .chart{min-height:140px}.ledger{width:100%;min-width:0;overflow:hidden}.ledger-title{gap:10px;align-items:flex-end}.ledger-title h2{font-size:25px;line-height:1.1}.matrix{max-width:100%;width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.matrix table{min-width:1374px;width:1374px;table-layout:fixed}.matrix th,.matrix td{padding:11px 8px;font-size:11px}.matrix thead th{text-align:center}.matrix th:first-child{position:sticky;left:0;z-index:3;width:132px;min-width:132px;max-width:132px;background:#fff;box-shadow:5px 0 10px rgba(36,74,117,.06)}.matrix thead th:first-child{z-index:5;text-align:left;background:#f8faff}.matrix thead th:not(:first-child):not(:last-child),.matrix tbody td:not(:last-child){width:96px;min-width:96px;max-width:96px}.matrix thead th:last-child,.matrix tbody td:last-child{width:90px;min-width:90px;max-width:90px;background:#eff6ff}.matrix thead th:last-child{text-align:center;background:#f3f8fe}.matrix .grand th:first-child,.matrix .grand td{background:#eff6ff}.matrix .cell-edit{display:inline-flex;align-items:center;justify-content:flex-end;width:100%;min-width:0;white-space:nowrap}.matrix .cell-amount{white-space:nowrap}.matrix .meter-icon,.matrix .meter-slot{flex:0 0 auto}.meter-last{font-size:9px!important;line-height:1.25}.meter-last-line{display:block}.table-delta{font-size:8px}.bar-percent{font-size:7px}.labels b{flex:1;min-width:0;text-align:center}.admin-page{width:100%;padding:70px 14px 28px}.admin-section{min-width:0}.admin-provider{gap:8px}.admin-provider>span:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end}.portal-dialog-backdrop{padding:10px}.portal-dialog{max-height:calc(100dvh - 20px);overflow:auto}
}
@media (max-width:520px){
  .dashboard header h1{font-size:29px}.summary strong{font-size:25px}.summary article{padding:15px}.ledger-title{align-items:center}.year{gap:7px}.year button{width:32px;height:32px}.matrix table{min-width:1360px;width:1360px}.matrix th:first-child{width:118px;min-width:118px;max-width:118px}.property-switch select{min-width:0;font-size:13px}.profile-switch button{width:100%}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
