/* Premium GS presentation: data and photo behavior remain in app.js. */
:root{--ink:#142f4d;--muted:#65768c;--line:#e6edf3;--bg:#f5f8fc;--blue:#146db1;--turquoise:#12aaa9}
body{font-size:14px;background:radial-gradient(ellipse at 85% 0%,#e9f3fb 0,transparent 42%),var(--bg)}
.masthead{position:fixed;inset:0 auto 0 0;width:244px;height:100vh;border:0;background:linear-gradient(155deg,#12385b,#0a223c 80%);color:white;display:flex;flex-direction:column;align-items:flex-start;padding:36px 24px;gap:26px;z-index:10;overflow:hidden}
.masthead:after{content:'';position:absolute;width:400px;height:400px;border:1px solid #ffffff0c;border-radius:50%;bottom:-220px;left:-200px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff02;pointer-events:none}
.brand{background:white;padding:12px 16px;border-radius:10px;width:196px}.brand img{width:164px;height:auto;max-height:60px}.brand-context{border:0;padding:0;font-size:10px;color:#a9c6de;letter-spacing:2px}.brand-context span{color:white;font-size:17px;letter-spacing:2px;margin-top:6px}.sidebar-caption{position:absolute;bottom:34px;left:24px;font-size:9px;letter-spacing:1.8px;color:#83a4be}
.section-nav{position:fixed;top:218px;left:14px;width:216px;z-index:11;display:flex;flex-direction:column;gap:7px;padding:0;background:none;border:0;overflow:visible}.section-nav a{color:#bfd0df;padding:14px 16px;border-radius:9px;font-size:12px;display:flex;align-items:center;gap:12px;font-weight:500;transition:background .15s,color .15s}.section-nav a:before{content:'';width:8px;height:8px;border:1.5px solid currentColor;border-radius:2px;flex-shrink:0}.section-nav a:hover,.section-nav a.active{background:#ffffff14;color:white}.section-nav a.active{box-shadow:inset 3px 0 #2ac4c0;background:linear-gradient(90deg,#187cb34d,#187cb31a)}
main{margin:0 0 0 244px;max-width:none;padding:36px 36px 48px}.page-heading{margin-bottom:26px}.eyebrow{color:#168e9c;font-size:10px;letter-spacing:2px}.dashboard-title{font-size:30px;letter-spacing:-1px;gap:12px}.dashboard-title img{width:46px;height:46px}.page-heading p{font-size:13px;margin-top:4px}.page-heading .snapshot{font-size:11px;color:var(--muted);margin-top:14px;font-weight:400}.snapshot:before{content:'';display:inline-block;width:6px;height:6px;background:#15aaa1;border-radius:50%;margin-right:7px}
.headline-summary{display:none}.metrics{gap:16px}.metric,.metrics .metric:first-child{border:1px solid var(--line);border-top:1px solid var(--line);border-radius:14px;box-shadow:0 5px 22px #15395404;min-height:152px;padding:22px;position:relative;background:white;color:var(--ink)}.metric:before{content:'';display:block;width:28px;height:4px;border-radius:4px;background:#178cc2;margin-bottom:16px}.metric:nth-child(2):before{background:#12aaa9}.metric:nth-child(3):before{background:#eda345}.metric:nth-child(4):before{background:#307aea}.metric .label{min-height:0;font-size:11px;color:var(--muted);font-weight:500}.metric strong{font-size:34px;margin:6px 0;letter-spacing:-1px}.metric small{font-size:10px;color:var(--muted)}
.priority-link{display:flex;align-items:center;gap:14px;background:#fff9ed;border:1px solid #f1dfbd;border-radius:12px;padding:15px 20px;text-decoration:none;color:#806127;margin-bottom:20px}.priority-link strong{font-size:12px;display:block}.priority-link small{font-size:11px;color:#917b55;display:block;margin-top:3px}.priority-link b{margin-left:auto;font-size:22px}.priority-icon{width:30px;height:30px;border-radius:50%;background:#f5b746;color:white;text-align:center;line-height:30px;font-weight:700;font-size:18px}
.section-heading{margin:28px 0 15px}.section-heading h2{font-size:17px;letter-spacing:-.4px}.section-heading>span{font-size:10px}.overview-grid{gap:18px;grid-template-columns:1.15fr 1fr}.panel{border-radius:14px;padding:25px;border-color:var(--line);box-shadow:0 5px 22px #15395403}.panel-title h3{font-size:14px}.panel-title p{font-size:10px}.branch-bars{gap:13px}.branch-row{font-size:11px;grid-template-columns:56px 1fr 28px}.branch-row strong{font-size:11px}.track{border-radius:12px;background:#edf2f7;height:9px}.fill{border-radius:12px;background:linear-gradient(90deg,#14b5ae,#159ac0)}.branch-row:first-child .fill{background:linear-gradient(90deg,#176c9b,#139dc2)}.ring{width:156px;height:156px}.ring>div{width:120px;height:120px}.ring strong{font-size:26px}.ring span{font-size:11px}.ring-wrap{margin-bottom:20px}.legend{gap:13px}.legend-row{font-size:11px}.swatch{border-radius:50%;width:9px;height:9px}.footnote{font-size:10px;line-height:1.7}.condition-bars{gap:25px}.condition-row>div:first-child{font-size:12px}.condition-row .track{height:10px}.condition-callout{margin-top:26px}.condition-callout span{font-size:11px}
.insights{background:#edf6fa;border-color:#d9e9f0;border-radius:14px}.insights p{font-size:11px}.insights h3{font-size:25px}.anomaly-grid{gap:16px}.anomaly-card{border-radius:14px;padding:22px}.anomaly-card h3{font-size:13px;line-height:1.6}.anomaly-card p{font-size:11px}.anomaly-card .solution b{font-size:11px}.finding-count{font-size:25px}.photo-gallery{gap:16px}.photo-gallery article{border-radius:14px;box-shadow:0 5px 22px #15395406}.photo-gallery .house-photo img{height:170px}.photo-gallery h3{font-size:12px}.photo-gallery .house-photo span{background:#f1f8fa;font-size:10px}.records{font-size:12px}.records th{font-size:10px}.records td small{font-size:10px}.records tbody tr:hover{background:#f8fbfd}.recap-table th{background:#f0f5f9}.branch-block{border-radius:12px}.branch-block>summary{padding:20px}.branch-code{background:#eef6fa;border:0;padding:10px 4px}.branch-name{font-size:12px}.branch-name small{font-size:10px}.branch-stat{font-size:12px}.branch-stat small{font-size:10px}.badge{border-radius:20px;font-size:10px;padding:5px 10px}footer{margin-left:244px;max-width:none;padding:24px 36px;font-size:10px}section[id],main[id],.branch-block{scroll-margin-top:24px}
@media(min-width:1700px){main{padding-left:52px;padding-right:52px}.overview-grid{grid-template-columns:1.2fr 1fr 1fr}.condition{grid-column:1/-1}.condition .condition-bars{grid-template-columns:repeat(3,1fr)}.condition-callout{margin-top:20px;padding-top:12px}}
@media(max-width:1150px){.masthead{width:210px;padding-left:18px;padding-right:18px}.brand{width:174px}.brand img{width:142px}.section-nav{left:10px;width:190px}.section-nav a{font-size:11px}main{margin-left:210px;padding:28px 24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}footer{margin-left:210px}.anomaly-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.masthead{position:relative;inset:auto;width:100%;height:auto;min-height:88px;padding:17px 20px;flex-direction:row;align-items:center;gap:20px}.brand{width:153px;padding:8px 12px}.brand img{width:129px}.brand-context{font-size:8px;letter-spacing:1px}.brand-context span{font-size:13px;letter-spacing:1px}.sidebar-caption{display:none}.section-nav{position:sticky;top:0;left:auto;width:100%;flex-direction:row;gap:6px;overflow-x:auto;background:#102f4d;padding:9px 12px;z-index:12}.section-nav a{padding:10px 12px;font-size:10px;gap:7px}.section-nav a:before{width:6px;height:6px}.section-nav a.active{box-shadow:inset 0 -2px #2ac4c0}main{margin:0;padding:26px 20px}.dashboard-title{font-size:26px}.dashboard-title img{width:42px;height:42px}.page-heading .snapshot{display:block;font-size:10px;line-height:1.7}.priority-link{padding:14px}.priority-link small{font-size:10px}.priority-link strong{font-size:11px}.overview-grid{grid-template-columns:1fr 1fr}.section-heading>span{font-size:10px}.panel{padding:20px}.ring{width:140px;height:140px}.ring>div{width:108px;height:108px}.legend-row{font-size:10px}.condition-row>div:first-child{font-size:11px}.condition-callout{flex-wrap:wrap}.anomaly-grid{grid-template-columns:1fr}.insights{grid-template-columns:1fr}.insights article{padding:0 20px}.insights article+article{padding-top:18px}footer{margin:0;padding:22px 20px}section[id],main[id],.branch-block{scroll-margin-top:78px}}
@media(max-width:540px){main{padding:22px 16px}.page-heading{margin-bottom:20px}.dashboard-title{font-size:23px}.page-heading p{font-size:11px}.overview-grid{grid-template-columns:1fr}.metrics{gap:10px}.metric,.metrics .metric:first-child{min-height:145px;padding:18px 15px}.metric strong{font-size:30px}.metric .label{font-size:10px;min-height:30px}.metric small{font-size:9px}.metric:before{margin-bottom:12px}.priority-link small{line-height:1.6}.priority-icon{flex-shrink:0}.photo-gallery .house-photo img{height:120px}.photo-gallery h3{font-size:11px}.photo-gallery p{font-size:10px}.branch-block>summary{padding:16px 12px;gap:9px}.branch-name{font-size:11px}.branch-code{font-size:10px;width:44px}.branch-stat{font-size:11px}.branch-name small{font-size:9px}.section-heading h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.section-nav a{transition:none}}
@media print{.masthead,.section-nav,.priority-link{display:none}main,footer{margin-left:0}.metrics{grid-template-columns:repeat(4,1fr)}.overview-grid{grid-template-columns:1fr 1fr}}

.sidebar-toggle{position:fixed;top:12px;right:20px;z-index:30;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #d9e5ed;border-radius:10px;background:#fff;color:#153954;box-shadow:0 3px 14px #102f4d12;font:600 12px Montserrat,Arial,sans-serif;cursor:pointer}
.sidebar-toggle:focus-visible{outline:3px solid #15aaa1;outline-offset:3px}
main{padding-top:76px;min-width:0}
.sidebar-collapsed .masthead,.sidebar-collapsed .section-nav{display:none}
.sidebar-collapsed main,.sidebar-collapsed footer{margin-left:0}
.sidebar-backdrop{position:fixed;inset:0;z-index:19;border:0;background:#0a223c80;cursor:pointer}
.sidebar-backdrop[hidden]{display:none}
@media(max-width:800px){
 .sidebar-toggle{right:16px;font-size:11px}
 main{padding-top:76px}
 .masthead{position:fixed;inset:0 auto 0 0;width:244px;height:100dvh;min-height:100vh;padding:32px 20px;flex-direction:column;align-items:flex-start;gap:26px;z-index:20}
 .masthead .brand{width:204px;padding:12px 16px}.masthead .brand img{width:172px}
 .masthead .brand-context{border:0;padding:0;font-size:10px}.masthead .brand-context span{font-size:18px}
 .section-nav{position:fixed;top:218px;left:12px;width:220px;max-height:calc(100dvh - 230px);flex-direction:column;gap:7px;padding:0;overflow-y:auto;background:none;z-index:21}
 .section-nav a{padding:14px 16px;font-size:12px;gap:12px}
 .section-nav a.active{box-shadow:inset 3px 0 #2ac4c0}
 .mobile-menu-open{overflow:hidden}
}
@media print{.sidebar-toggle,.sidebar-backdrop{display:none}main{padding-top:0}}
