:root{--paper:#f6f3eb;--ink:#242724;--muted:#686e65;--mustard:#c6a34a;--teal:#215e5a;--teal-dark:#174b48;--line:#dedfd5;--white:#fffefa;--pale:#e6eeE7;--clay:#b96648;--sans:'Poppins',system-ui,sans-serif;--heading:'Manrope',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:12px/1.55 var(--sans)}button,input,select{font:inherit;color:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--teal)}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--teal);text-underline-offset:3px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:var(--heading);line-height:1.2}svg{display:block}button svg{pointer-events:none}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.topbar{height:83px;padding:0 28px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:30px;background:var(--white)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:40px;height:40px}.wordmark{font:800 27px/.95 var(--heading);letter-spacing:.08em}.brand-sub{display:block;font-size:9px;line-height:1.3;color:var(--muted);max-width:190px;margin-top:5px}.main-nav{display:flex;gap:6px;align-items:center;height:100%;margin-left:12px}.navbtn{height:38px;padding:0 14px;display:flex;align-items:center;gap:7px;border-radius:6px;font-weight:500;color:var(--muted);white-space:nowrap}.navbtn.active{background:var(--pale);color:var(--teal-dark)}.navbtn:hover{background:#eceee7}.top-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.language{font-size:10px;display:flex;border:1px solid var(--line);border-radius:5px;padding:3px;gap:2px}.language button{padding:4px 7px;border-radius:3px}.language .active{background:var(--ink);color:#fff}.quiet-button{display:inline-flex;gap:6px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:5px;background:var(--white);font-size:11px}.quiet-button:hover{background:var(--paper)}.solid-button{padding:9px 13px;background:var(--teal);color:white;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px}.solid-button:hover{background:var(--teal-dark)}.workspace-heading{height:81px;display:flex;align-items:center;padding:0 28px;gap:16px;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.15em;color:var(--muted);font-weight:600}.workspace-heading h1{font-size:23px;font-weight:700;letter-spacing:-.035em;margin-top:4px}.workspace-heading .intro{margin-left:auto;max-width:470px;font-size:11px;color:var(--muted)}.status-pill{border:1px solid #c7d3c6;border-radius:20px;padding:5px 9px;color:#47634b;font-size:9px;display:flex;align-items:center;gap:5px;white-space:nowrap}.status-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:#67856b}.workspace{display:grid;grid-template-columns:306px minmax(0,1fr) 283px;height:calc(100dvh - 196px);min-height:470px}.sidebar{background:var(--white);border-right:1px solid var(--line);overflow:auto;scrollbar-width:thin;scrollbar-color:#bdc9bb transparent}.sidebar-section{padding:20px 21px;border-bottom:1px solid var(--line)}.section-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section-label h2{font-size:15px;font-weight:700;letter-spacing:-.02em}.step{color:var(--teal);font-size:10px;border:1px solid #b7ccbf;display:inline-flex;width:19px;height:19px;align-items:center;justify-content:center;border-radius:50%;margin-right:7px}.small{font-size:10px;color:var(--muted)}.text-button{padding:0;color:var(--teal);font-size:10px;text-decoration:underline;text-underline-offset:3px}.segmented{display:flex;background:#efefe7;padding:3px;border-radius:6px;margin:14px 0 0}.segmented button{flex:1;padding:7px 3px;font-size:10px;border-radius:4px}.segmented .active{background:var(--white);box-shadow:0 1px 4px #26382a15;font-weight:600;color:var(--teal)}.field-label{display:block;font-size:10px;color:var(--muted);margin:12px 0 5px}select,input[type=search],input[type=text]{width:100%;background:var(--white);border:1px solid #d7dbd0;border-radius:5px;padding:9px 10px;font-size:11px;min-width:0}select{padding-right:24px}.weight-card{border:1px solid #dce2d7;border-radius:7px;padding:11px 12px;margin-bottom:9px;background:#fafbf7}.weight-top{display:flex;gap:7px;align-items:flex-start}.weight-top h3{font:500 11px/1.45 var(--sans);flex:1}.weight-top .percent{font:700 15px/1.3 var(--heading);color:var(--teal);white-space:nowrap}.remove{font-size:17px;line-height:1;padding:0 0 0 3px;color:#8d9688}.weight-card input[type=range]{width:100%;height:17px;margin:9px 0 0;accent-color:var(--teal);cursor:pointer}.weight-bottom{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);gap:4px}.weight-bottom button{padding:0;color:var(--teal);font-size:9px}.theme-totals{display:flex;gap:2px;height:5px;margin:13px 0 6px;overflow:hidden;border-radius:5px}.theme-totals span{display:block;min-width:2px}.criteria-note{font-size:9px;line-height:1.65;color:var(--muted);margin-top:9px}.empty-note{background:#f3e9d1;border:1px solid #d9c38d;border-radius:5px;padding:10px;font-size:10px}.search-wrap{position:relative}.search-wrap input{padding-left:31px}.search-wrap svg{position:absolute;top:11px;left:9px;width:14px;height:14px;color:var(--muted)}.catalogue-head{display:flex;gap:7px;margin-top:8px}.catalogue-head select{font-size:10px}.indicator-list{margin-top:12px}.indicator-row{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border-bottom:1px solid #eceee7}.indicator-row:last-child{border:0}.indicator-row input{margin:3px 0 0;accent-color:var(--teal);width:13px;height:13px;flex-shrink:0}.indicator-row label{cursor:pointer;flex:1;font-size:10px;line-height:1.55}.indicator-row small{display:block;font-size:8px;color:var(--muted);margin-top:2px}.info-button{font-size:10px;line-height:16px;border:1px solid #aab5a4;width:16px;height:16px;border-radius:50%;padding:0;color:#658165;flex-shrink:0;margin-top:1px}.map-panel{position:relative;overflow:hidden;background:#ebece4;background-image:radial-gradient(#b6c0b350 .65px,transparent .65px);background-size:13px 13px;min-width:0}.map-heading{position:absolute;left:21px;right:21px;top:17px;z-index:2;display:flex;align-items:flex-start;gap:15px;pointer-events:none}.map-heading h2{font-size:15px;letter-spacing:-.02em;background:#f8f8f2e8;padding:6px 9px;border-radius:4px;max-width:390px}.map-heading .map-caption{font-size:9px;color:var(--muted);background:#f8f8f2e8;padding:3px 9px;border-radius:4px;display:inline-block}.map-header-label{max-width:70%}.map-heading .geography{margin-left:auto;pointer-events:auto;width:165px;font-size:10px;background:#fffefaed;border-color:#cbd2c4}.map-container{position:absolute;inset:0;touch-action:none}.map-svg{width:100%;height:100%;overflow:visible}.map-svg .area{stroke:#fffefa;stroke-width:.38;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s}.map-svg .area:hover{stroke:var(--ink);stroke-width:1.6}.map-svg .area.selected{stroke:#191e19;stroke-width:2.3}.map-svg .area.dimmed{opacity:.16;pointer-events:none}.map-svg .area:focus{outline:0;stroke:#222;stroke-width:3}.map-label{font:600 10px var(--heading);fill:#4f5b4c;paint-order:stroke;stroke:#f8f8f2;stroke-width:3.7px;stroke-linejoin:round;pointer-events:none;letter-spacing:.04em}.map-controls{position:absolute;right:20px;bottom:143px;background:var(--white);border:1px solid #ccd5c6;border-radius:5px;overflow:hidden;box-shadow:0 3px 14px #29372b0d}.map-controls button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-bottom:1px solid var(--line)}.map-controls button:last-child{border:0}.map-controls button:hover{background:var(--pale)}.north{position:absolute;right:29px;top:87px;font:600 8px var(--sans);display:flex;align-items:center;flex-direction:column;color:#66715f}.north svg{width:11px;height:25px;fill:#69725f}.legend{position:absolute;bottom:23px;left:21px;right:21px;max-width:365px;padding:13px 15px;background:#fffefaed;border:1px solid #d7dfcf;border-radius:6px;box-shadow:0 3px 18px #243a2b09}.legend-title{font-size:10px;font-weight:500;margin-bottom:8px}.legend-gradient{height:10px;width:100%;border-radius:2px}.legend-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-top:4px}.legend-foot{display:flex;gap:7px;align-items:center;font-size:8px;color:var(--muted);margin-top:8px}.missing-key{width:12px;height:12px;background:repeating-linear-gradient(45deg,#d4dbd0 0 1px,#f3f4ed 1px 4px);border:1px solid #ccd4c6;display:inline-block;flex-shrink:0}.map-bottom-note{position:absolute;bottom:5px;right:11px;font-size:8px;color:#798071}.map-hint{position:absolute;left:50%;top:75px;transform:translateX(-50%);white-space:nowrap;background:#fffefabf;padding:5px 9px;border-radius:20px;color:var(--muted);font-size:9px;pointer-events:none}.inspector{background:var(--white);border-left:1px solid var(--line);overflow:auto;scrollbar-width:thin;padding:23px 21px;position:relative}.inspector .eyebrow{font-size:8px}.inspector h2{font-size:22px;letter-spacing:-.035em;margin-top:9px;line-height:1.25}.inspector .explain{font-size:10px;line-height:1.8;color:var(--muted);margin-top:12px}.insight-rule{height:1px;background:var(--line);margin:20px 0}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 8px;margin:21px 0}.metric strong{display:block;font:700 23px/1.1 var(--heading);letter-spacing:-.035em}.metric span{display:block;font-size:8px;color:var(--muted);margin-top:6px}.note-box{border-left:3px solid var(--mustard);padding:9px 12px;background:#f5f1e5;font-size:9px;line-height:1.8}.mini-heading{font-size:10px;font-weight:600;margin:18px 0 7px}.scenario-box{padding:12px;border:1px solid var(--line);border-radius:6px;margin-top:16px}.scenario-box h3{font-size:12px;margin-bottom:7px}.scenario-box p{font-size:9px;color:var(--muted);line-height:1.7}.scenario-box .quiet-button{font-size:9px;margin-top:10px;width:100%;justify-content:center}.scenario-controls{display:flex;gap:5px;margin-top:8px}.scenario-controls button{font-size:9px;padding:5px 6px;background:#eee;border-radius:3px;flex:1}.scenario-controls .active{background:var(--teal);color:white}.selected-score{padding:17px 15px;background:#e6eee6;border-radius:6px;margin-top:18px;display:flex;align-items:center;justify-content:space-between}.selected-score strong{font:700 34px var(--heading);line-height:1}.selected-score span{font-size:9px;color:var(--teal);max-width:105px}.breakdown-row{padding:10px 0;border-bottom:1px solid #e9ece3}.breakdown-title{display:flex;align-items:start;gap:8px;font-size:9px}.breakdown-title span{flex:1}.breakdown-title strong{font-size:11px;white-space:nowrap}.bar-track{height:4px;background:#e9ede4;border-radius:4px;margin-top:7px;overflow:hidden}.bar-fill{height:100%;background:var(--teal)}.breakdown-meta{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-top:5px}.area-back{padding:0;font-size:9px;color:var(--teal);display:flex;gap:5px;align-items:center;margin-bottom:16px}.bottom-bar{height:32px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 20px;font-size:8px;color:var(--muted);background:var(--white);gap:10px}.bottom-bar strong{color:var(--ink);font-weight:500}.bottom-bar a{text-decoration:none}.mobile-tabs{display:none}.loading{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px}.loading-mark{font-size:55px;color:var(--mustard)}.loading h1{font-size:35px;letter-spacing:.12em}.loading p{color:var(--muted)}.error{max-width:650px;padding:30px;margin:90px auto;border:1px solid var(--line);background:var(--white);border-radius:9px}.error p{margin:20px 0}.scatter-wrap{margin:18px -10px 5px}.scatter{width:100%;height:225px;overflow:visible}.scatter .dot{fill:#37726b;opacity:.42;cursor:pointer;stroke:#fff;stroke-width:.2}.scatter .dot:hover,.scatter .dot.selected{opacity:1;fill:#b96648;stroke:#242724;stroke-width:1.5}.scatter text{font:8px var(--sans);fill:#66715f}.correlation{display:flex;gap:20px;align-items:center;margin:10px 0 12px}.correlation strong{font:700 26px var(--heading)}.correlation span{font-size:8px;color:var(--muted)}.relationship-select{margin:13px 0}.relationship-select .axis-label{display:inline-flex;width:19px;height:19px;border-radius:50%;align-items:center;justify-content:center;background:#e4ece4;color:var(--teal);font-size:9px;margin-right:6px}.relationship-select label{font-size:10px;font-weight:500}.relationship-select select{margin-top:6px}#tooltip{position:fixed;z-index:10;pointer-events:none;background:#222b25;color:#fffefa;padding:9px 12px;border-radius:5px;font-size:10px;box-shadow:0 4px 20px #0002;max-width:260px}#tooltip strong{display:block;margin-bottom:3px}#toast{position:fixed;bottom:45px;left:50%;transform:translateX(-50%) translateY(10px);background:#233e32;color:white;padding:11px 18px;border-radius:5px;font-size:11px;opacity:0;pointer-events:none;transition:.18s;z-index:40;max-width:90vw}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}dialog{border:1px solid #cbd2c3;border-radius:10px;background:var(--white);color:var(--ink);width:min(940px,94vw);max-height:88dvh;padding:0;box-shadow:0 20px 90px #18271e33}dialog::backdrop{background:#26372c70;backdrop-filter:blur(3px)}.modal-head{padding:24px 28px 18px;display:flex;align-items:start;gap:20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--white);z-index:3}.modal-head h2{font-size:26px;letter-spacing:-.03em;margin-top:5px}.modal-head p{font-size:10px;color:var(--muted);margin-top:9px;max-width:700px}.modal-close{margin-left:auto;font-size:25px;color:var(--muted);padding:0;line-height:1.2}.modal-body{padding:24px 28px}.modal-body h3{font-size:17px;margin:22px 0 9px}.modal-body p{font-size:11px;line-height:1.9;color:#596453;margin:8px 0}.modal-body ul{padding-left:19px;font-size:11px;line-height:1.85;color:#596453}.formula{padding:20px;background:#eef1e8;font-family:monospace;font-size:14px;margin:15px 0;line-height:2;overflow:auto}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.detail-item{border-top:1px solid var(--line);padding:13px 0}.detail-item dt{font-size:9px;color:var(--muted);margin-bottom:4px}.detail-item dd{margin:0;font-size:11px;overflow-wrap:anywhere}.source-link{font-size:11px;display:inline-flex;gap:5px;margin-top:14px}.example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.example-card{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:21px;display:flex;flex-direction:column;min-height:300px}.example-number{font:700 35px var(--heading);color:var(--mustard);margin-bottom:20px}.example-card h3{margin:0;font-size:20px}.example-card p{font-size:10px;margin:14px 0 20px}.example-card button{margin-top:auto}.example-card .example-type{font-size:8px;color:var(--teal);letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}.export-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.export-card{text-align:left;border:1px solid var(--line);padding:18px;border-radius:6px;display:flex;gap:12px;align-items:start;background:#fafbf6}.export-card:hover{border-color:#8ca48c;background:#f0f4eb}.export-card svg{color:var(--teal);margin-top:3px}.export-card strong{display:block;font:700 14px var(--heading);margin-bottom:6px}.export-card small{font-size:10px;line-height:1.7;color:var(--muted)}.import-row{display:flex;gap:12px;align-items:center;padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.inventory-table{border-collapse:collapse;width:100%;font-size:10px;margin-top:17px}.inventory-table th{text-align:left;font-size:9px;color:var(--muted);font-weight:500;border-bottom:1px solid #cbd4c3;padding:10px 8px}.inventory-table td{border-bottom:1px solid #e1e6d9;padding:11px 8px;vertical-align:top}.inventory-table td:first-child{min-width:200px}.inventory-table small{display:block;font-size:8px;color:var(--muted);margin-top:4px}.inventory-table .badge{font-size:8px;white-space:nowrap;padding:3px 5px;border-radius:3px;background:#e9eee3;color:#4e6947}.inventory-table .badge.context{background:#eee5d3;color:#7b6436}.inventory-table .badge.research{background:#eee9e4;color:#75695f}.table-wrap{overflow:auto}.inline-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.notice{padding:13px 16px;background:#f5eddb;border-left:3px solid var(--mustard);font-size:10px;line-height:1.8;margin:14px 0}.source-stats{display:flex;gap:25px;flex-wrap:wrap;margin:10px 0 20px}.source-stats strong{font:700 24px var(--heading)}.source-stats span{font-size:9px;color:var(--muted);display:block}.sources-filter{display:flex;gap:10px}.sources-filter input{flex:1}.sources-filter select{width:190px}.comparison-notice{position:absolute;left:21px;bottom:144px;padding:7px 10px;background:#fffefaed;border:1px solid #d3dace;border-radius:5px;max-width:300px;font-size:9px;color:var(--muted)}.theme-badge{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}.inspector-action{margin-top:13px;width:100%;justify-content:center;font-size:10px}.correlation-warning{font-size:8px;line-height:1.7;color:var(--muted);padding:10px;background:#f0f1e9;border-radius:5px}.hide{display:none!important}
@media(min-width:1600px){.workspace{grid-template-columns:330px minmax(0,1fr) 310px}.sidebar-section{padding:23px 25px}.inspector{padding:26px}.topbar{padding:0 32px}.map-heading{left:26px;right:26px}.legend{left:26px;bottom:26px;max-width:390px}.workspace-heading{padding:0 32px}.brand-sub{font-size:10px;max-width:220px}.main-nav{margin-left:30px}.navbtn{padding:0 20px}}
@media(max-width:1190px){.workspace{grid-template-columns:270px minmax(0,1fr) 245px}.topbar{padding:0 19px;gap:15px}.brand-sub{max-width:150px;font-size:8px}.wordmark{font-size:24px}.brand-mark{width:34px}.main-nav{gap:1px;margin-left:0}.navbtn{font-size:11px;padding:0 9px}.top-actions{gap:5px}.top-actions .sources-label{display:none}.workspace-heading{padding:0 21px}.workspace-heading .intro{max-width:320px;font-size:10px}.sidebar-section{padding:17px}.inspector{padding:21px 17px}.map-heading{left:14px;right:14px;flex-wrap:wrap;gap:4px}.map-header-label{max-width:100%}.map-heading .geography{width:150px;margin-left:0}.north{top:120px}.map-hint{top:133px;font-size:8px}.legend{left:14px;right:14px;bottom:22px;padding:10px 12px}.map-controls{right:14px}.status-pill{display:none}.workspace-heading h1{font-size:21px}.map-heading h2{font-size:13px}.inspector h2{font-size:20px}.quiet-button{padding:8px}.topbar .solid-button{padding:9px 10px}}
@media(max-width:960px){.workspace{grid-template-columns:260px minmax(0,1fr);height:calc(100dvh - 196px)}.inspector{position:absolute;right:14px;bottom:55px;z-index:4;width:255px;max-height:50vh;border:1px solid var(--line);border-radius:8px;box-shadow:0 5px 25px #1e35251a;display:none}.inspector.has-selection,.workspace.relationships .inspector{display:block}.workspace.relationships .inspector{max-height:calc(100dvh - 245px)}.workspace:not(.relationships) .inspector.has-selection{max-height:60dvh}.workspace-heading .intro{display:none}.topbar .brand-sub{display:none}.brand{gap:8px}.topbar{height:74px}.workspace-heading{height:75px}.workspace{height:calc(100dvh - 181px)}.main-nav{margin-left:10px}.navbtn{padding:0 11px}.legend{max-width:290px}.inspector .overview-extra{display:none}.map-heading .geography{margin-left:auto}.map-heading{flex-wrap:nowrap}.map-header-label{max-width:66%}.north{top:86px}.map-hint{top:80px}.map-controls{bottom:143px}.inspector.has-selection~.map-controls{display:none}}
@media(max-width:960px){body{font-size:12px;overflow-x:hidden}#app{width:100%;max-width:100vw;overflow-x:clip}.topbar{height:65px;padding:0 15px;gap:8px}.brand-mark{width:30px;height:30px}.wordmark{font-size:22px}.main-nav{position:absolute;top:126px;left:0;width:100%;height:43px;background:var(--white);border-bottom:1px solid var(--line);margin:0;padding:4px 10px;justify-content:center;gap:3px;z-index:5}.navbtn{height:34px;font-size:10px;flex:1;justify-content:center;padding:0 7px}.navbtn .icon{width:15px;height:15px}.top-actions{gap:6px}.top-actions .quiet-button{display:inline-flex;padding:7px}.top-actions .solid-button{font-size:0;padding:8px}.top-actions .solid-button .icon{width:17px;height:17px}.language{font-size:9px}.workspace-heading{height:61px;padding:0 16px;gap:10px}.workspace-heading .eyebrow{font-size:8px;letter-spacing:.1em}.workspace-heading h1{font-size:18px}.workspace{display:block;height:calc(100dvh - 242px);min-height:350px;margin-top:43px;position:relative}.sidebar,.map-panel{height:100%;width:100%}.sidebar{display:none}.workspace[data-mobile=controls] .sidebar{display:block}.workspace[data-mobile=controls] .map-panel{display:none}.workspace[data-mobile=results] .map-panel,.workspace[data-mobile=results] .sidebar{display:none}.inspector{position:static;width:100%;height:100%;max-height:none!important;box-shadow:none;border:0;border-radius:0;padding:23px;display:none!important}.workspace[data-mobile=results] .inspector{display:block!important}.mobile-tabs{display:flex;height:47px;border-top:1px solid var(--line);background:var(--white);position:relative;z-index:7}.mobile-tabs button{flex:1;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);border-top:2px solid transparent}.mobile-tabs button.active{color:var(--teal);border-top-color:var(--teal);background:#f0f4ec}.mobile-tabs .icon{width:16px;height:16px}.bottom-bar{height:26px;font-size:7px;padding:0 12px}.bottom-bar .footer-right{display:none}.sidebar-section{padding:19px 22px}.map-heading{top:12px;left:13px;right:13px;display:block}.map-header-label{max-width:100%}.map-heading h2{font-size:12px;max-width:95%;padding:6px 8px}.map-heading .geography{width:auto;margin-top:6px;font-size:9px;max-width:200px;padding:6px 20px 6px 8px}.map-caption{font-size:8px!important}.north{right:23px;top:101px}.legend{left:13px;right:58px;bottom:19px;max-width:300px;padding:9px 11px}.legend-title{font-size:9px;margin-bottom:5px}.legend-foot{font-size:7px;margin-top:5px}.map-controls{right:13px;bottom:20px}.map-controls button{width:31px;height:31px}.map-bottom-note{font-size:6px;bottom:4px}.map-hint{top:auto;bottom:134px;font-size:8px;max-width:85%;text-align:center;white-space:normal}.comparison-notice{bottom:152px;left:13px;font-size:8px;max-width:260px}.metric-grid{gap:23px}.inspector .explain{font-size:11px}.inspector .overview-extra{display:block}.inspector h2{font-size:26px}.scatter{height:270px}.scatter-wrap{max-width:450px;margin:20px auto}.modal-head{padding:19px 21px}.modal-head h2{font-size:23px}.modal-body{padding:20px 21px}.example-grid{grid-template-columns:1fr}.example-card{min-height:230px}.example-number{margin-bottom:12px}.export-grid{grid-template-columns:1fr}.details-grid{grid-template-columns:1fr}.sources-filter{flex-direction:column}.sources-filter select{width:100%}.inventory-table{font-size:9px}.modal-body .notice{font-size:9px}.source-stats{gap:15px}.import-row{flex-wrap:wrap}.map-svg .area{stroke-width:.25}.map-svg .area.selected{stroke-width:2}.legend-gradient{height:8px}.map-label{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body{background:white}.topbar,.sidebar,.bottom-bar,.mobile-tabs,.map-controls,.map-hint,.top-actions,.main-nav{display:none!important}.workspace-heading{height:auto;padding:15px}.workspace{display:grid!important;grid-template-columns:1fr 280px;height:700px;margin:0}.map-panel,.inspector{display:block!important;position:static!important;height:auto!important;max-height:none!important}.map-panel{min-height:700px}.inspector{width:auto;border:0;box-shadow:none}.workspace-heading .intro{display:block}.map-heading .geography{display:none}.legend{bottom:20px}dialog[open]{position:static;max-height:none;width:100%;box-shadow:none;border:0}.modal-head .modal-close{display:none}}

.comparison-scores{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.comparison-scores>div{padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:#fafbf6}.comparison-scores span{display:block;font-size:8px;color:var(--muted)}.comparison-scores strong{display:block;font:700 22px/1.4 var(--heading);color:var(--teal)}

/* TRAMA v2: themes, evidence coverage and a dedicated sharing workspace. */
textarea{font:11px/1.75 var(--sans);color:var(--ink);display:block;width:100%;min-width:0;padding:11px 12px;border:1px solid #d7dbd0;border-radius:6px;background:var(--white);resize:vertical;outline-offset:4px}textarea:focus-visible{outline:2px solid var(--teal)}textarea::placeholder{color:#899080}input[type=range]{accent-color:var(--teal);cursor:pointer}input[type=range]:disabled{cursor:not-allowed;opacity:.38}.compact-section{padding-top:14px;padding-bottom:14px}.compact-section>.field-label:first-child,.method-controls>.field-label:first-child{margin-top:0}.geography-switch{margin-top:6px}.compact-section .criteria-note{font-size:8px;line-height:1.65;margin-top:7px}.selection-status{display:flex;align-items:center;gap:5px;margin-top:13px;font-size:10px;color:var(--muted)}.selection-status strong{font:700 19px/1 var(--heading);color:var(--teal)}.selection-status .text-button{margin-left:auto}.method-controls{background:#f7f8f1;padding-top:14px;padding-bottom:14px}.threshold-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 0 5px;font-size:9px;color:var(--muted)}.threshold-top strong{font:700 14px var(--heading);color:var(--teal)}.method-controls .criteria-note{font-size:8px;line-height:1.65}.theme-section{padding-left:16px;padding-right:16px}.theme-section>.section-label,.theme-section>.criteria-note,.theme-section>.search-wrap{margin-left:5px;margin-right:5px}.theme-accordion{margin-top:14px}.theme-group{margin:0 0 9px;border:1px solid #dce3d5;border-radius:6px;background:#f9faf5;overflow:hidden}.theme-group summary{display:flex;align-items:center;gap:7px;list-style:none;padding:12px 10px;cursor:pointer;user-select:none}.theme-group summary::-webkit-details-marker{display:none}.theme-group summary:hover{background:#edf2e8}.theme-group summary:focus-visible{outline:2px solid var(--teal);outline-offset:-3px}.theme-group summary strong{font:700 12px/1.4 var(--heading);flex:1;min-width:0}.theme-dot{width:7px;height:7px;flex:none;border-radius:50%}.theme-count{font-size:9px;color:var(--muted);white-space:nowrap}.chevron{font-size:16px;line-height:1;color:#71816b;transition:transform .15s}.theme-group[open]>summary{background:#edf2e8;border-bottom:1px solid #dce3d5}.theme-group[open]>summary .chevron{transform:rotate(180deg)}.theme-actions{display:flex;gap:8px;justify-content:space-between;padding:9px 11px;border-bottom:1px solid #e5eadf;background:#f3f6ed}.theme-actions button{font-size:8px;color:var(--teal);padding:2px 0;text-decoration:underline;text-underline-offset:3px}.criterion{padding:12px 10px;border-bottom:1px solid #e1e7db;background:#fffefa}.criterion:last-child{border-bottom:0}.criterion.included{background:#f1f6ed;border-left:3px solid #729a7e;padding-left:7px}.criterion-head{display:grid;grid-template-columns:13px minmax(0,1fr) auto 16px;gap:7px;align-items:start}.criterion-head input{width:13px;height:13px;margin:3px 0 0;accent-color:var(--teal)}.criterion-head input:disabled{opacity:.5}.criterion-head label{font-size:10px;line-height:1.55;cursor:pointer;min-width:0;overflow-wrap:anywhere}.criterion-head .percent{font:700 13px/1.5 var(--heading);color:var(--teal);white-space:nowrap}.criterion-head .info-button{margin-top:1px;background:#fffefabf}.criterion>input[type=range]{display:block;width:100%;height:17px;margin:10px 0 8px}.criterion-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 8px;font-size:8px;color:var(--muted)}.criterion-foot>span{min-width:0;overflow-wrap:anywhere}.criterion-foot>label{display:flex;align-items:center;gap:5px;min-width:0;flex:1 1 180px;font-size:8px;justify-content:flex-end}.criterion-foot select{width:auto;flex:1;max-width:170px;min-width:0;padding:5px 19px 5px 7px;font-size:9px;background:#fffefa;border-color:#cdd8c5}.direction-note{margin-top:7px;font-size:8px;line-height:1.55;color:#866a34;padding:5px 7px;background:#f5eddb;border-radius:3px}.theme-section .notice{margin:9px 0}.sidebar select{max-width:100%}
.map-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,210px);gap:12px}.map-header-label{max-width:none;min-width:0}.map-heading h2{max-width:none;overflow-wrap:anywhere}.map-tools{min-width:0;pointer-events:auto;display:flex;flex-direction:column;gap:6px}.map-heading .map-tools .geography{width:100%;max-width:none;margin:0;padding:8px 24px 8px 9px}.place-search{position:relative;min-width:0}.place-search input{font-size:9px;width:100%;padding:8px 9px;background:#fffefaee;border-color:#cbd2c4;box-shadow:0 2px 7px #2b44200a}.place-search input::placeholder{color:#74806b}#place-results{position:absolute;top:calc(100% + 5px);right:0;z-index:20;width:310px;max-width:calc(100vw - 38px);max-height:310px;overflow:auto;overscroll-behavior:contain;background:#fffefa;border:1px solid #c7d3bf;border-radius:6px;box-shadow:0 7px 25px #233e2b24}#place-results button{display:block;text-align:left;width:100%;padding:10px 12px;border-bottom:1px solid #e1e7db}#place-results button:last-child{border:0}#place-results button:hover,#place-results button:focus-visible{background:#edf3e6}#place-results strong{display:block;font:700 11px/1.5 var(--heading);overflow-wrap:anywhere}#place-results span{display:block;font-size:9px;color:var(--muted);margin-top:2px}#place-results>p{font-size:10px;padding:12px;color:var(--muted)}.north{top:123px}.map-hint{top:111px;max-width:80%;white-space:normal;text-align:center;font-size:8px}.partial-key{display:inline-block;flex-shrink:0;width:12px;height:12px;border:1px solid #7c9b7a;background:repeating-linear-gradient(135deg,#9bae91 0 1px,#dee9d5 1px 6px)}.bivariate-legend{display:grid;grid-template-columns:15px 75px minmax(0,1fr);grid-template-rows:75px 13px;gap:4px 7px;align-items:center}.biv-axis-y{grid-column:1;grid-row:1;font:700 9px var(--heading);align-self:start;white-space:nowrap}.biv-grid{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:1px;width:75px;height:75px}.biv-grid span{display:block;min-width:0;min-height:0}.biv-key{grid-column:3;grid-row:1;align-self:start;min-width:0;display:flex;flex-direction:column;gap:6px}.biv-key strong{font:700 11px/1.25 var(--heading)}.biv-key span{font-size:8px;line-height:1.45;overflow-wrap:anywhere}.biv-axis-x{grid-column:2;grid-row:2;font:700 9px var(--heading);text-align:center}.biv-cuts{font-size:7px;line-height:1.6;color:var(--muted);margin-top:5px}.relationships .map-controls{bottom:220px}.relationships .legend{max-width:365px}.coverage-badge{margin-top:10px;padding:7px 9px;border:1px solid #cbd9c4;border-radius:4px;font-size:9px;line-height:1.6;background:#edf4e7;color:#41643e}.coverage-badge.is-partial{background:#f6efd9;border-color:#d9c68c;color:#745f2e}.place-references{margin-top:13px;padding:10px 11px;background:#f1f4eb;border:1px solid #d7e0cc;border-radius:5px}.place-references>strong{font:700 11px var(--heading);color:var(--teal)}.place-references p{font-size:10px;line-height:1.7;margin-top:5px}.place-references small{display:block;font-size:8px;line-height:1.7;color:var(--muted);margin-top:6px}.place-references a,.place-references button{font-size:9px;color:var(--teal)}
.share-workspace{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);height:calc(100dvh - 196px);min-height:470px;overflow:hidden}.share-editor{background:var(--white);padding:25px 27px;overflow:auto;border-right:1px solid var(--line);scrollbar-width:thin;scrollbar-color:#bdc9bb transparent;min-width:0}.share-editor h2{font-size:24px;letter-spacing:-.035em;line-height:1.25;margin:9px 0 22px}.share-editor .field-label{margin-top:17px;font-size:10px}.share-editor .notice{font-size:9px;margin:17px 0}.share-editor h3{font-size:15px;letter-spacing:-.015em;margin:20px 0 12px}.share-editor .export-grid{gap:10px;margin-top:20px}.share-editor .export-card{padding:14px 12px;gap:9px;min-width:0}.share-editor .export-card strong{font-size:12px;line-height:1.4}.share-editor .export-card small{font-size:9px;line-height:1.6}.share-editor .export-card .icon{width:16px;height:16px}.share-editor .export-card>span{min-width:0}.share-editor .inline-buttons{margin:18px 0 10px}.share-editor .inline-buttons button{font-size:10px;flex:1;min-width:140px;justify-content:center}.share-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px}.share-facts>span{font-size:8px;line-height:1.65;color:var(--muted);padding:10px 12px;border:1px solid #dce4d5;border-radius:5px;background:#f6f8f0;min-width:0}.share-facts strong{display:block;font:700 16px/1.5 var(--heading);color:var(--teal);margin-top:3px;overflow-wrap:anywhere}.share-preview-pane{min-width:0;overflow:auto;padding:25px 30px 40px;background:#e8ede3;background-image:radial-gradient(#b6c0b350 .65px,transparent .65px);background-size:13px 13px;scrollbar-width:thin;scrollbar-color:#b0c0a7 transparent}.share-preview-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.share-preview-top h2{font-size:22px;letter-spacing:-.025em;margin-top:7px}.share-preview-top .quiet-button{white-space:nowrap;align-self:center}#share-preview{width:100%;max-width:1050px;margin:0 auto;background:var(--paper);border:1px solid #cdd6c3;box-shadow:0 7px 35px #2b41251a}#share-preview>svg{display:block;width:100%;height:auto;max-width:100%;overflow:hidden}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 28px}.help-grid article{border-top:2px solid #c7d7bb;padding:12px 0 0}.help-grid h3{font-size:17px;margin:0 0 9px!important;line-height:1.35}.help-grid p{font-size:11px;line-height:1.9;margin:0!important}.about-lead{font-family:var(--heading);font-size:21px!important;line-height:1.45!important;color:var(--teal)!important;font-weight:600;margin-bottom:20px!important}
@media(min-width:1600px){.theme-section{padding-left:20px;padding-right:20px}.criterion{padding:13px 12px}.criterion.included{padding-left:9px}.criterion-head label{font-size:11px}.share-workspace{grid-template-columns:minmax(400px,490px) minmax(0,1fr)}.share-editor{padding:30px}.share-preview-pane{padding:30px 40px}.map-heading{grid-template-columns:minmax(0,1fr) minmax(190px,230px)}}
@media(min-width:961px) and (max-width:1190px){.map-heading{grid-template-columns:1fr;gap:6px}.map-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:5px}.map-heading .map-tools .geography{padding:7px 22px 7px 7px;font-size:9px}.map-header-label{max-width:none}.map-hint{top:132px;font-size:7px}.north{top:155px}.legend{right:53px;max-width:none}.relationships .legend{max-width:none}.relationships .map-controls{bottom:25px}.bivariate-legend{grid-template-columns:11px 63px minmax(0,1fr);grid-template-rows:63px 12px;gap:3px 5px}.biv-grid{width:63px;height:63px}.biv-key span{font-size:7px}.biv-key{gap:4px}.biv-key strong{font-size:10px}.theme-section{padding-left:12px;padding-right:12px}.criterion-head{gap:5px;grid-template-columns:12px minmax(0,1fr) auto 15px}.criterion-head label{font-size:9px}.criterion-head .percent{font-size:12px}.share-workspace{grid-template-columns:360px minmax(0,1fr)}.share-editor{padding:22px}.share-preview-pane{padding:22px 18px}.share-preview-top h2{font-size:20px}}
@media(max-width:960px){.topbar{gap:8px}.top-actions{gap:5px}.top-actions .quiet-button{display:inline-flex;padding:7px}.top-actions .sources-label{display:none}.top-actions .icon{width:17px;height:17px}.map-heading{display:grid;grid-template-columns:1fr;gap:6px}.map-header-label{max-width:none}.map-tools{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:7px}.map-heading .map-tools .geography{font-size:9px;padding:8px 20px 8px 8px;max-width:none}.place-search input{height:32px;font-size:9px}.map-heading .map-caption{max-width:100%;overflow-wrap:anywhere}.map-heading h2{max-width:100%}#place-results{width:310px;max-width:calc(100vw - 36px);max-height:260px}.north{top:123px;right:22px}.map-hint{top:123px;bottom:auto;max-width:75%;font-size:8px;padding:4px 7px}.relationships .legend{max-width:300px}.relationships .map-controls{bottom:20px}.bivariate-legend{grid-template-columns:11px 66px minmax(0,1fr);grid-template-rows:66px 12px;gap:3px 6px}.biv-grid{width:66px;height:66px}.biv-key strong{font-size:10px}.biv-key span{font-size:8px;line-height:1.35}.biv-key{gap:4px}.biv-cuts{font-size:7px;line-height:1.5}.compact-section{padding:15px 22px}.compact-section .criteria-note{font-size:9px}.method-controls{padding:15px 22px}.method-controls .criteria-note{font-size:9px}.theme-section{padding:19px 18px}.theme-group summary{padding:13px 12px}.theme-group summary strong{font-size:13px}.theme-count{font-size:10px}.criterion{padding:14px 12px}.criterion.included{padding-left:9px}.criterion-head{grid-template-columns:15px minmax(0,1fr) auto 17px;gap:9px}.criterion-head input{width:15px;height:15px}.criterion-head label{font-size:11px}.criterion-head .percent{font-size:15px}.criterion-foot{font-size:9px}.criterion-foot>label{font-size:9px;flex:0 1 200px}.criterion-foot select{font-size:10px;padding:6px 20px 6px 8px}.theme-actions{padding:10px 12px}.theme-actions button{font-size:9px}.direction-note{font-size:9px}.criterion>input[type=range]{height:22px;margin:12px 0 8px}.coverage-badge{font-size:10px}.share-workspace{display:block;height:calc(100dvh - 195px);min-height:350px;overflow:auto;margin-top:43px;overscroll-behavior:contain}.share-editor,.share-preview-pane{height:auto;overflow:visible;border:0;padding:24px;min-width:0}.share-editor h2{font-size:25px;max-width:520px}.share-editor .field-label{font-size:11px}.share-editor textarea{font-size:12px;line-height:1.75}.share-editor .export-grid{grid-template-columns:1fr 1fr}.share-editor .export-card{padding:17px 14px}.share-editor .export-card strong{font-size:13px}.share-editor .export-card small{font-size:10px}.share-editor .inline-buttons button{font-size:11px}.share-preview-pane{border-top:1px solid var(--line);padding-bottom:35px}.share-preview-top h2{font-size:23px}.share-facts strong{font-size:18px}.share-facts>span{font-size:9px}.help-grid{gap:18px}.help-grid h3{font-size:16px}.about-lead{font-size:20px!important}}
@media(max-width:520px){.topbar{padding:0 12px;gap:6px}.brand{gap:7px}.brand-mark{width:28px;height:28px}.wordmark{font-size:21px;letter-spacing:.07em}.top-actions{gap:4px}.top-actions .quiet-button{padding:6px}.language{padding:2px;font-size:9px}.language button{padding:4px 6px}.workspace-heading h1{font-size:17px;line-height:1.2}.workspace-heading .eyebrow{font-size:7px;letter-spacing:.08em}.map-tools{grid-template-columns:minmax(103px,.85fr) minmax(0,1.15fr);gap:5px}.map-heading .map-tools .geography{font-size:8px;padding-left:7px}.place-search input{font-size:8px;padding-left:7px}.legend{right:56px}.biv-key span{font-size:7px}.bivariate-legend{grid-template-columns:10px 60px minmax(0,1fr);grid-template-rows:60px 11px;gap:3px 5px}.biv-grid{width:60px;height:60px}.biv-axis-y,.biv-axis-x{font-size:8px}.biv-key strong{font-size:9px}.biv-cuts{font-size:6.5px}.share-editor,.share-preview-pane{padding:22px 18px}.share-editor h2{font-size:24px}.share-editor .export-grid{grid-template-columns:1fr;gap:9px}.share-editor .export-card{padding:15px}.share-editor .export-card strong{font-size:13px}.share-editor .export-card small{font-size:10px}.share-editor .notice{font-size:9px}.share-preview-top{gap:10px}.share-preview-top h2{font-size:20px}.share-preview-top .eyebrow{font-size:8px}.share-preview-top .quiet-button{padding:8px;font-size:10px}.share-facts{gap:7px}.share-facts>span{padding:9px 10px}.help-grid{grid-template-columns:1fr;gap:19px}.help-grid h3{font-size:17px}.help-grid p{font-size:11px}.about-lead{font-size:19px!important}.criterion-foot>label{flex:1 1 180px}}
@media(max-width:360px){.topbar{padding:0 9px}.brand-mark{width:25px}.wordmark{font-size:19px}.brand{gap:5px}.top-actions{gap:3px}.top-actions .quiet-button{padding:5px}.top-actions .icon{width:16px;height:16px}.language button{padding:4px 5px}.workspace-heading{padding:0 12px}.workspace-heading h1{font-size:16px}.map-tools{grid-template-columns:1fr}.map-heading .map-tools .geography{display:none}.map-hint{top:124px;font-size:7px}.north{top:124px}.criterion-head{gap:7px}.criterion-head label{font-size:10px}.theme-group summary strong{font-size:12px}.legend{padding:8px;left:10px;right:50px}.map-controls{right:10px}.biv-key span{font-size:6.5px}.share-editor,.share-preview-pane{padding:20px 15px}}
@media print{.share-workspace{display:block;height:auto;overflow:visible;margin:0}.share-editor{display:none}.share-preview-pane{padding:0;background:white;overflow:visible}.share-preview-top{display:none}#share-preview{border:0;box-shadow:none;max-width:none}.map-tools{display:none}.help-grid{grid-template-columns:1fr 1fr}.theme-group{break-inside:avoid}}
.method-controls details>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:10px;line-height:1.6;font-weight:500;color:var(--teal);user-select:none}.method-controls details>summary::-webkit-details-marker{display:none}.method-controls details>summary:after{content:'⌄';margin-left:auto;flex:none;font-size:16px;line-height:1;color:#71816b}.method-controls details[open]>summary:after{transform:rotate(180deg)}.method-controls details>summary:focus-visible{outline:2px solid var(--teal);outline-offset:4px}.method-controls details[open]>summary{padding-bottom:9px;border-bottom:1px solid #dce4d5;margin-bottom:10px}.method-controls details>.field-label{margin-top:9px}@media(max-width:960px){.method-controls details>summary{font-size:11px}}

/* Keep the variable workspace above optional settings. */
.sidebar-section.compact-section{padding:12px 17px}.compact-section>.field-label:first-child{margin-top:0}.compact-section .section-label{margin-bottom:7px}.compact-section .segmented{margin-top:7px}.geography-note{font-size:9px;color:var(--muted);margin:6px 0 0}.compact-section .selection-status{margin-top:8px}.compact-section .theme-totals{margin-top:7px}.sidebar-section.method-controls{padding:9px 17px}.method-controls summary{font-size:10px;line-height:1.5}.theme-section{padding-top:14px}.theme-section>.section-label{margin-bottom:9px}.appearance-details{margin-top:9px}.appearance-details summary{font-size:10px;color:var(--teal);cursor:pointer}.appearance-details[open]{padding-bottom:4px}

.map-svg .area.place-match:not(.selected){stroke:#825e43;stroke-width:1.25;stroke-opacity:.9}.map-svg #place-marker{pointer-events:none}
