 :root{--ink:#203b36;--green:#17634f;--line:#dce7e1}body{background:#f3f6f3;color:var(--ink);font-family:system-ui,sans-serif}.topbar{background:#124d40;color:white;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;font-size:1.2rem;font-weight:700}.brand small{display:block;font-weight:400;font-size:.75rem;opacity:.8}.brand-mark{border:1px solid #81ad9c;border-radius:12px;padding:8px;font-size:1rem}.header-actions{display:flex;gap:8px}.app-shell{display:flex;min-height:76vh}.sidebar{width:248px!important;flex:0 0 248px;background:white!important;border-right:1px solid var(--line)}.sidebar-inner{width:100%;padding:22px 12px}.sidebar .nav-link{color:#456057;border-radius:10px;padding:12px;font-size:.92rem}.sidebar .nav-link.active{background:#e1eee5;color:#14533c;font-weight:700}.sidebar .nav-link:hover{background:#edf3ef}.nav-link small{display:block;font-size:.68rem;font-weight:400;opacity:.75}.sidebar-note{margin:40px 12px 0;font-size:.85rem;color:#718379}.eyebrow{font-size:.69rem;letter-spacing:.13em;color:#56796a;font-weight:700;margin-bottom:8px}.main-content{padding:32px;min-width:0;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}h1{font-size:1.9rem;font-weight:700;margin:0}h2{line-height:1.4}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.stat-card h2{font-size:.82rem;color:#60776c;font-weight:500}.stat-card p{font-size:1.7rem;font-weight:700;margin:18px 0 0;overflow-wrap:anywhere;letter-spacing:-.04em}.period-card{background:#e8f0dd}.info-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px}.site-footer{text-align:center;color:#6e8078;padding:24px;font-size:.8rem;border-top:1px solid var(--line)}.filter-panel{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:white;border:1px solid var(--line);padding:18px;border-radius:12px}.filter-panel>div:first-child{flex:1;min-width:160px}.filter-panel>div:nth-child(2){min-width:150px}.data-table{border:1px solid var(--line);border-radius:12px;background:white}.table th{background:#eaf1ec;color:#486456;font-size:.8rem;padding:16px}.table td{padding:14px;font-size:.9rem}.table .name-cell{min-width:180px}.money{white-space:nowrap}.identity-grid{display:grid;grid-template-columns:160px 1fr;gap:10px;margin:20px 0 0}.identity-grid dd{margin:0;overflow-wrap:anywhere}.identity-grid dt{font-weight:500;color:#66796f}.btn{min-height:44px;display:inline-flex;justify-content:center;align-items:center}.form-control,.form-select{min-height:44px}.login-card{max-width:460px;border-radius:18px}.btn-success{background:#17634f;border-color:#17634f}a:focus-visible,button:focus-visible{outline:3px solid #d1a429;outline-offset:3px}
/* Shared page frame: desktop grid and mobile offcanvas have separate sizing. */
body{min-height:100vh;display:flex;flex-direction:column}
.topbar{flex-shrink:0}
.brand{gap:14px;min-width:0;line-height:1.25}
.brand-mark{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;padding:0}
.brand-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.brand-text strong{font:inherit}
.brand-text small{line-height:1.4}
.header-actions{flex-shrink:0}
.header-actions button{gap:6px}
.app-shell{flex:1;min-height:0;width:100%;display:block}
.main-content{width:100%;min-width:0}
.sidebar .nav-link.unavailable{color:#77857e;cursor:default;background:transparent}
.sidebar .nav-link.unavailable small{opacity:1;color:#68776f}
.site-footer{position:static;flex-shrink:0;margin-top:auto;line-height:1.6}

.master-form{max-width:760px}.master-form textarea{resize:vertical}.master-form input,.master-form select,.master-form textarea{font-size:1rem}.form-actions{padding-bottom:env(safe-area-inset-bottom,0)}

/* Report filters and long metadata remain inside the responsive content area. */
.report-context,.report-summary dt{overflow-wrap:anywhere}.report-summary dd{max-width:100%;overflow-wrap:anywhere}.form-select{max-width:100%}
