/* Compact defaults without clipping long labels or reducing essential numbers. */
body[data-workspace] .main{max-width:1180px!important;padding:14px 20px 0!important;margin:auto!important}
body[data-workspace] .workspace-header{padding:10px 20px!important;min-height:66px!important}
body[data-workspace] .page-heading{padding:14px 0!important;align-items:center!important}
body[data-workspace] .page-heading h1{font-size:27px!important;margin:3px 0!important}
body[data-workspace] .page-heading p{font-size:12px!important;max-width:600px}
body[data-workspace] .demo-notice{padding:8px 12px!important;font-size:11px!important}
body[data-workspace] .filters{position:static!important;padding:9px 6px!important;gap:8px;margin-bottom:12px!important}
body[data-workspace] .filters label{padding:0 8px!important}.filters select{min-height:32px!important}
body[data-workspace] .metric{padding:10px 13px!important}.metric>strong{font-size:25px!important;margin:4px 0!important}
body[data-workspace] .metrics{margin:10px 0 14px!important}
body[data-workspace] .map-stage{height:285px!important;min-height:240px!important}
#region-panel>.region-sidebar{height:390px!important;max-height:390px!important}.region-row{min-height:42px!important;padding:7px 12px!important}
body[data-workspace] .map-heading{padding:12px 16px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px}
.map-heading :is(h1,h2){font-size:18px!important;font-weight:600;margin:5px 0 6px;letter-spacing:-.65px;line-height:1.25}
.map-heading-copy{min-width:0}.map-heading-copy p{margin:4px 0 0;line-height:1.4}
body[data-workspace] .map-heading>.filters{grid-column:1/-1;grid-row:2;margin:0!important;padding:0!important;gap:8px;min-width:0;z-index:auto;box-shadow:none;background:transparent;border:0;border-radius:0}
body[data-workspace] .map-heading>.filters label{min-width:0;padding:0!important;border:0;gap:5px;color:#a9c7cc;font-size:10px!important;line-height:1.35}
body[data-workspace] .map-heading>.filters select{appearance:none;color-scheme:dark;min-height:36px!important;padding:7px 25px 7px 9px;border:1px solid #4c6b76;border-radius:6px;background-color:#203e4b;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23b5d9d7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;background-size:12px;color:#edf8f7;font-size:12px!important;line-height:1.3;transition:border-color .15s,background-color .15s;cursor:pointer}
.map-heading>.filters select:hover{border-color:#87b7b9;background-color:#294b58}.map-heading>.filters select:focus-visible{outline:2px solid #8ce3d5;outline-offset:2px;border-color:#8ce3d5}.map-heading>.filters label:focus-within{color:#d0f0e9}.map-heading>.filters option{background:#203e4b;color:#edf8f7}
@media(prefers-reduced-motion:reduce){.map-heading>.filters select{transition:none}}
body[data-workspace] .is-region .map-heading{grid-template-columns:minmax(0,1fr) auto}
body[data-workspace] .is-region .map-heading>.filters{grid-column:1;grid-row:1}
.map-export{display:flex;justify-content:flex-end;margin:8px 0 12px}.map-export .export-button{font-size:12px;gap:8px;margin:0;padding:8px 12px}
@media(max-width:1100px){body[data-workspace] .is-region .map-heading>.filters{grid-column:1/-1;grid-row:2}.is-region .regional-map-actions{grid-column:1/-1;grid-row:1;justify-content:flex-end}}
@media(max-width:760px){.map-heading-copy{grid-column:1/-1}.map-heading :is(.regional-map-actions,.map-switch){grid-column:1/-1;grid-row:2;justify-content:flex-start}body[data-workspace] .map-heading>.filters,body[data-workspace] .is-region .map-heading>.filters{grid-row:3;grid-template-columns:1fr 1fr;row-gap:7px}.map-heading>.filters label:last-child{grid-column:1/-1}body[data-workspace] .is-region .map-heading>.filters{grid-row:2}.is-region .regional-map-actions{grid-row:1;justify-content:flex-start}}
body[data-workspace] .map-bottom{padding:7px 16px!important;font-size:11px!important}
body[data-workspace] .is-region{grid-template-columns:1fr!important}.is-region #region-panel{display:none}
.regional-geo-map{cursor:default!important;touch-action:auto!important}.regional-geo-map .local-region-svg{touch-action:auto!important}
.geo-map-badge{display:none}.geo-attribution{font-size:9px!important}
.region-statistics{margin-top:14px}.region-statistics .section-heading{margin:12px 0 8px!important}
.has-map-statistics>.region-statistics{position:relative;z-index:3;width:auto;margin:14px 16px 14px 52%;padding:14px;background:rgba(250,253,252,.96);border:1px solid #c9dcda;border-radius:10px;box-shadow:0 6px 22px #173b4420;color:#193a43;user-select:text}
.has-map-statistics .section-heading{display:block;margin:0 0 8px!important}
.has-map-statistics .section-heading h2{font-size:17px!important;line-height:1.25;margin:4px 0 7px!important}
.has-map-statistics .section-heading .eyebrow{font-size:9px;letter-spacing:.5px}
.has-map-statistics .period-stamp{display:inline-block;padding:3px 6px;font-size:10px}
body[data-workspace] .has-map-statistics .metrics{grid-template-columns:1fr 1fr;margin:8px 0!important}
body[data-workspace] .has-map-statistics .metric{padding:7px 10px!important}
body[data-workspace] .has-map-statistics .metric>strong{font-size:21px!important;margin:3px 0!important}
.has-map-statistics .metric-label{font-size:10px}.has-map-statistics .metric>small{font-size:9px;line-height:1.3}
.has-map-statistics .metric:nth-child(2){border-right:0!important}.has-map-statistics .metric:nth-child(-n+2){border-bottom:1px solid #dce6e5}
.has-map-statistics .region-summary-inline{grid-template-columns:1fr;gap:6px;margin:0}
.has-map-statistics .region-summary-inline article{padding:7px 10px;font-size:11px;line-height:1.35}
.has-map-statistics .region-summary-inline article p{margin:4px 0}.has-map-statistics .region-summary-inline small{font-size:9px;line-height:1.3}
.has-map-statistics .region-summary-inline dl{gap:20px;margin:5px 0}
.laboratory-integration-note{font-size:10px;line-height:1.4;padding:6px 8px;background:#edf6f2;border:1px solid #cfe3da;border-radius:6px;color:#315f5a;margin:6px 0}
body[data-workspace] .has-map-statistics{height:auto!important;min-height:450px!important;flex:none}
.has-map-statistics .regional-geo-map .local-region-svg{width:51%;height:100%;inset:0 auto 0 0}
.has-map-statistics .geo-attribution{right:auto;left:10px;bottom:6px;max-width:48%}
.has-map-statistics .mini-map{width:105px;bottom:30px;left:12px;padding:6px}
.has-map-statistics .map-empty{position:absolute;inset:0 auto 0 0;width:50%;min-height:100%;padding:18px}
@media(max-width:900px){body[data-workspace] .has-map-statistics{height:auto!important;min-height:0!important}.has-map-statistics .regional-geo-map{height:250px;bottom:auto}.has-map-statistics .regional-geo-map .local-region-svg{width:100%}.has-map-statistics>.region-statistics{position:relative;top:auto;right:auto;width:auto;margin:250px 10px 10px;padding:12px}.has-map-statistics .mini-map{top:145px;bottom:auto}.has-map-statistics .geo-attribution{max-width:70%}.has-map-statistics .map-empty{width:100%;height:250px;min-height:250px}.has-map-statistics:has(.map-empty)>.region-statistics{margin-top:0}}
.regional-map-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.map-return{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #567581;border-radius:7px;color:#d9f7f2;text-decoration:none;font-size:12px;white-space:nowrap}
.map-return:hover{background:#294d5b}.map-return:focus-visible{outline:2px solid #78ebd4;outline-offset:3px}
.region-statistics .section-heading h2{font-size:20px!important}
.region-summary-inline{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 14px}
.region-summary-inline article{padding:12px 16px;border:1px solid #dce6e5;border-radius:10px;background:white;line-height:1.5}
.region-summary-inline dl{display:flex;gap:18px;margin:8px 0}.region-summary-inline dl>div{display:grid;gap:2px}.region-summary-inline dd{margin:0;font-weight:650}.region-summary-inline small{color:#5d767e}
body[data-workspace] .analysis-content{padding:12px!important}.analysis-content th,.analysis-content td{padding:8px 10px!important}
body[data-workspace] .analysis-tabs button{padding:9px 12px!important;min-height:40px!important}
body[data-workspace] .card-heading{padding:12px 16px!important}
.micro-scene{margin:0 10px 0 auto;width:180px;flex-shrink:0}.micro-scene svg{display:block;width:100%;height:48px}.micro-scene figcaption{font-size:8px;color:#5d777c;text-align:center}
.micro-antibiotic{animation:micro-arrive 4s ease-out both}.micro-bacteria{transform-origin:165px 30px;animation:micro-breathe 4s ease-in-out both}.micro-ring{transform-origin:153px 30px;animation:micro-response 4s ease-out both}
@keyframes micro-arrive{0%{transform:translateX(0);opacity:.5}60%,100%{transform:translateX(77px);opacity:1}}
@keyframes micro-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes micro-response{0%,40%{opacity:0;transform:scale(.6)}75%{opacity:.9}100%{opacity:.25;transform:scale(1.15)}}
.reference-page .reference-content{max-width:1180px!important;padding:14px 20px 24px!important}
.reference-page .reference-hero{gap:14px;margin-bottom:12px!important}.reference-page .reference-hero h1{font-size:25px!important}.reference-page .reference-hero p{font-size:12px!important;max-width:620px}
.reference-page .reference-toolbar{padding:9px!important;grid-template-columns:minmax(180px,1fr) 150px 165px auto;gap:8px}
.reference-page .catalog-row{min-height:48px!important;padding:7px 10px!important;gap:8px}.reference-page .catalog-row .ref-name strong{font-size:13px!important}.reference-page .catalog-row .ref-name small{margin-top:2px!important}
.reference-page .reference-layout{gap:12px!important}.reference-page .reference-detail{padding:14px!important}.reference-page .detail-grid{gap:8px!important}
.reference-page .reference-main{grid-template-columns:minmax(270px,.9fr) minmax(0,1.3fr)!important;min-height:400px!important}
.reference-page .reference-toolbar{grid-template-columns:minmax(180px,1fr) 150px 165px auto!important}
.reference-page .reference-detail{min-height:320px!important;max-height:480px!important}
.reference-page .detail-section{padding:10px 12px!important;margin-bottom:8px!important}.reference-page .detail-section h3{font-size:13px!important}
.reference-page .reference-tabs{margin-bottom:10px!important}.reference-page .reference-tabs button{padding:7px 12px!important;min-height:40px}
@media(max-width:760px){body[data-workspace] .main,.reference-page .reference-content{padding:10px 12px!important}.micro-scene{display:none}.region-summary-inline{grid-template-columns:1fr}.reference-page .reference-toolbar{grid-template-columns:1fr 1fr}.reference-page .reference-toolbar .search-box{grid-column:1/-1}.reference-page .reference-hero h1{font-size:22px!important}body[data-workspace] .map-stage{height:230px!important;min-height:220px!important}}
@media(prefers-reduced-motion:reduce){.micro-scene *{animation:none!important}}
@media(max-width:760px){.reference-page .reference-main{display:block!important;min-height:0!important}.reference-page .reference-toolbar{grid-template-columns:1fr 1fr!important}.reference-page .reference-detail{min-height:0!important;max-height:none!important}}
@media(max-width:900px){body[data-workspace] .map-stage.has-map-statistics{height:auto!important;min-height:0!important}}
@media(max-width:900px){.has-map-statistics .map-empty{position:relative;inset:auto}}
