/* palette:start — generated by scripts/tokenize-colors.cjs; edit values here, not in rules */
:root{
 --amber-56:#956c36;
 --amber-90:#f4dbb4;
 --amber-97:#fff3e2;
 --gray-0:#000000;
 --gray-39:#444444;
 --gray-72:#97a8a7;
 --gray-90:#dddddd;
 --gray-93:#ddeae5;
 --gray-95:#e3f1ec;
 --gray-95-2:#eaf0ee;
 --gray-96:#eaf6f1;
 --gray-96-2:#f0f3f5;
 --gray-96-3:#eaf2fd;
 --gray-96-4:#fff0e8;
 --gray-96-5:#fdecea;
 --gray-98:#f4faf8;
 --gray-98-2:#fff9ed;
 --green-39:#164f4b;
 --green-42:#2f5650;
 --green-42-2:#205951;
 --green-43:#315951;
 --green-44:#1f5d52;
 --green-45:#0d615d;
 --green-47:#3f635e;
 --green-48:#116d62;
 --green-48-2:#256b63;
 --green-49:#486964;
 --green-49-2:#326c67;
 --green-49-3:#326e62;
 --green-51:#257368;
 --green-51-2:#4d6d6b;
 --green-51-3:#0a7767;
 --green-52:#2f7771;
 --green-52-2:#25776d;
 --green-53:#317b5e;
 --green-54:#327d68;
 --green-54-2:#4a7973;
 --green-54-3:#0c816e;
 --green-55:#4c7e70;
 --green-55-2:#168276;
 --green-55-3:#587a75;
 --green-58:#168e7a;
 --green-59:#458c79;
 --green-63:#6f9188;
 --green-68:#40af8f;
 --green-68-2:#5da992;
 --green-69:#51ad99;
 --green-71:#61b29c;
 --green-73:#7fb5a6;
 --green-74:#7bb9a6;
 --green-75:#9fb5ae;
 --green-78:#90c6b8;
 --green-83:#9cd5c4;
 --green-84:#bbcfc9;
 --green-86:#b6dcd0;
 --green-88:#b5e3d6;
 --green-88-2:#bedfd4;
 --green-90:#cfe5dd;
 --green-92:#d6ebe2;
 --green-96:#e4f6e9;
 --red-54:#aa514b;
 --red-63:#b9736d;
 --red-89:#ecd6d3;
 --red-90:#f1d9d5;
 --teal-36:#29434a;
 --teal-60:#6f8688;
}
/* palette:end */
/* Shared names read by foundation.css. */
:root{--color-bg:var(--bg);--color-surface:var(--surface);--color-surface-muted:var(--accent);--color-text:var(--ink);--color-text-muted:var(--muted);--color-primary:var(--primary);--color-border:var(--green-63);--color-divider:var(--line);--color-danger:var(--danger)}
/* Original styles. Later files and blocks are unlayered, so they override these by order, not by selector weight. */
@layer base{
:root{--bg:#f4f8f7;--surface:#fff;--ink:#19343a;--muted:#71828a;--line:#e2ecea;--primary:#15786f;--primary-dark:#0b5f57;--accent:#e1f3ed;--blue:#537da7;--amber:#b0782d;--amber-bg:#fff6e8;--danger:#a8504c;--danger-bg:#fff1ef;--shadow:0 6px 25px rgba(32,63,65,.035);--radius:18px;font-family:var(--font-body);color:var(--ink)}
*{box-sizing:border-box}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}body{margin:0;background:var(--bg);font-size:1rem;line-height:1.6}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--primary-dark)}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.ico{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.app-shell{min-height:100vh;display:flex}.sidebar{position:sticky;top:0;height:100vh;min-width:258px;width:258px;display:flex;flex-direction:column;background:var(--surface);padding:32px 17px 17px;border-right:1px solid var(--line);z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 28px}.brand-mark{height:40px;width:40px;display:flex;align-items:center;justify-content:center;border-radius:13px;color:var(--surface);background:linear-gradient(145deg,var(--green-58),var(--green-45));font-size:1.875rem}.brand strong{display:block;font-size:1.1875rem;font-weight:800;letter-spacing:-.6px}.brand small{display:block;font-size:.875rem;color:var(--muted);letter-spacing:.3px;font-weight:700}.side-section-name{font-size:.875rem;color:var(--muted);margin:9px 13px 8px;letter-spacing:.04em;font-weight:700}.side-nav{display:grid;gap:3px}.nav-item{border:0;background:none;width:100%;display:flex;text-align:left;align-items:center;gap:12px;padding:11px 13px;border-radius:11px;font-size:.9375rem;font-weight:650;color:var(--muted);transition:.2s}.nav-item:hover{background:var(--gray-98)}.nav-item.active{background:var(--gray-96);color:var(--green-48)}.nav-item .ico{width:18px;height:18px}.nav-item .soon{font-size:.875rem;color:var(--muted);margin-left:auto;white-space:nowrap}.sidebar-spacer{flex:1;min-height:24px}.sidebar-note{display:flex;align-items:flex-start;gap:10px;background:var(--gray-98);padding:16px 12px;border:1px solid var(--gray-95);border-radius:15px;color:var(--green-52)}.sidebar-note strong{font-size:.875rem;color:var(--green-48-2)}.sidebar-note p{margin:4px 0 0;color:var(--muted);font-size:.875rem;line-height:1.7}.sidebar-footer{font-size:.875rem;text-align:center;color:var(--muted);margin-top:20px}.tiny-dot,.live-dot{display:inline-block;width:7px;height:7px;background:var(--green-68);border-radius:50%;margin-right:4px}.sidebar-overlay{display:none}.main{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{min-height:112px;display:flex;align-items:center;justify-content:space-between;padding:22px clamp(24px,4.2vw,66px);border-bottom:1px solid var(--gray-95)}.topbar-leading,.topbar-right{display:flex;align-items:center;gap:22px}.topbar h1{font-size:1.5rem;margin:0;letter-spacing:-.85px;font-weight:800}.eyebrow{color:var(--muted);letter-spacing:.3px;font-size:.875rem;font-weight:800;margin-bottom:2px}.local-pill{display:inline-flex;align-items:center;padding:8px 12px;background:var(--gray-96);color:var(--green-54);border-radius:999px;font-size:.875rem;font-weight:700;white-space:nowrap}.today-label{font-size:.875rem;color:var(--muted);white-space:nowrap}.content{width:100%;max-width:1510px;padding:30px clamp(22px,4.2vw,66px) 62px;flex:1;margin:0 auto}.site-footer{font-size:.875rem;color:var(--muted);padding:0 24px 28px;text-align:center}.menu-button{display:none}.icon-button{background:transparent;border:0;color:var(--muted);padding:7px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px}.icon-button:hover{background:var(--gray-96)}.surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:34px 0 14px}.section-heading h2{font-size:1.1875rem;letter-spacing:-.55px;margin:0;font-weight:800}.section-heading .muted{font-size:.875rem}.subheading{font-size:1.0625rem;font-weight:800;margin:0 0 10px}.muted{color:var(--muted)}.small{font-size:.875rem}.tiny{font-size:.875rem}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:7px;padding:3px 8px;font-size:.875rem;font-weight:650;white-space:nowrap}.tag.self{background:var(--gray-96-2);color:var(--muted)}.tag.reported{background:var(--gray-96-3);color:var(--muted)}.tag.suspected{background:var(--amber-97);color:var(--muted)}.tag.verified{background:var(--green-96);color:var(--green-53)}.tag.demo{background:var(--gray-96-4);color:var(--muted)}.tag.neutral{background:var(--gray-98);color:var(--green-54-2)}.button{background:var(--primary);color:var(--surface);border:1px solid var(--primary);font-weight:750;padding:10px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;white-space:nowrap;transition:.17s}.button:hover{background:var(--primary-dark)}.button .ico{width:17px;height:17px}.button.ghost{background:var(--surface);color:var(--green-49-2);border-color:var(--green-92)}.button.ghost:hover{background:var(--gray-96)}.button.danger{background:var(--surface);border-color:var(--red-89);color:var(--red-54)}.button.danger:hover{background:var(--danger-bg)}.button.small{padding:7px 11px;font-size:.875rem}.button:focus-visible,.nav-item:focus-visible,.icon-button:focus-visible,.body-zone:focus-visible{outline:3px solid var(--green-83);outline-offset:3px}.hero{position:relative;overflow:hidden;border-radius:21px;background:linear-gradient(110deg,var(--green-39) 0%,var(--green-52-2) 66%,var(--green-59) 100%);color:var(--surface);display:flex;justify-content:space-between;padding:29px 34px;min-height:194px}.hero::before,.hero::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%;width:340px;height:340px;right:-60px;top:-120px}.hero::after{width:240px;height:240px;right:50px;top:35px}.hero-content{z-index:1;max-width:620px}.hero h2{font-size:1.625rem;line-height:1.4;letter-spacing:-1.2px;margin:12px 0 11px}.hero p{font-size:.875rem;line-height:1.8;color:var(--green-92);margin:0 0 18px}.hero .button{background:var(--surface);border-color:var(--surface);color:var(--green-48)}.hero .button:hover{background:var(--gray-96)}.hero-icon{position:relative;z-index:1;margin:30px 43px 0 0;align-self:center;color:rgba(255,255,255,.32)}.hero-icon svg{width:96px;height:96px;stroke-width:1.1}.demo-notice{margin-bottom:18px;border:1px solid var(--amber-90);background:var(--gray-98-2);color:var(--amber-56);padding:11px 15px;border-radius:12px;font-size:.875rem}.privacy-notice{margin-bottom:19px;border:1px solid var(--green-92);background:var(--gray-96);color:var(--green-55);padding:11px 15px;border-radius:12px;font-size:.875rem}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:21px}.stat{padding:20px 21px;min-height:135px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:.875rem;font-weight:700}.stat-top .ico{width:18px;color:var(--muted)}.stat-value{margin:15px 0 1px;font-size:1.5rem;font-weight:850;letter-spacing:-1px;line-height:1.2}.stat-value span{font-size:.875rem;font-weight:550;letter-spacing:0}.stat-bottom{font-size:.875rem;color:var(--muted)}.split-grid{display:grid;grid-template-columns:minmax(0,1.33fr) minmax(310px,.9fr);gap:18px}.card-head{padding:19px 22px 0;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.card-head :is(h2,h3){margin:0;font-size:1.0625rem;font-weight:800;letter-spacing:-.4px}.card-head p{margin:2px 0 0;color:var(--muted);font-size:.875rem}.card-body{padding:19px 22px 24px}.link-button{border:0;background:none;color:var(--primary);font-size:.875rem;font-weight:800;display:inline-flex;align-items:center;gap:4px}.link-button .ico{width:15px;height:15px}.chart-frame{height:200px;display:flex;align-items:center;justify-content:center}.chart-frame svg{width:100%;height:100%;overflow:visible}.chart-grid-line{stroke:var(--gray-95);stroke-dasharray:4 5}.chart-label{font-size:.9375rem;fill:var(--teal-60)}.chart-bar{fill:var(--green-78)}.chart-bar.latest{fill:var(--green-55-2)}.chart-nodata{font-size:.875rem;fill:var(--gray-72)}.chart-filter{display:flex;gap:4px;background:var(--gray-98);padding:3px;border-radius:8px}.filter-chip{font-size:.875rem;padding:5px 10px;background:transparent;border:0;border-radius:6px;color:var(--muted)}.filter-chip.active{background:var(--surface);color:var(--green-48-2);box-shadow:0 1px 4px var(--gray-93);font-weight:800}.list-row{display:flex;align-items:flex-start;gap:11px;padding:14px 0;border-bottom:1px solid var(--gray-96-2)}.list-row:first-child{padding-top:0}.list-row:last-child{border:0;padding-bottom:0}.list-dot{width:9px;height:9px;flex:none;margin-top:7px;background:var(--green-74);border-radius:3px}.list-content{flex:1;min-width:0}.list-title{font-size:.9375rem;font-weight:750}.list-description{font-size:.875rem;color:var(--muted);line-height:1.6;margin-top:3px}.list-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.num-box{color:var(--green-51);font-size:.875rem;font-weight:850;white-space:nowrap;margin-top:3px}.subtle-panel{padding:17px 19px;background:var(--gray-98);border:1px solid var(--gray-95);border-radius:13px}.safety{border:1px solid var(--green-92);background:var(--gray-98);color:var(--green-49);border-radius:13px;padding:17px 20px;display:flex;gap:12px;align-items:flex-start}.safety .ico{color:var(--muted);margin-top:1px}.safety strong{display:block;margin-bottom:3px;font-size:.9375rem;color:var(--green-48-2)}.safety p{margin:0 0 6px;font-size:.9375rem;line-height:1.8}.safety p:last-child{margin-bottom:0}.safety a,.site-footer a{color:inherit;font-weight:800}.empty{text-align:center;padding:31px 20px;color:var(--muted)}.empty-icon{margin:auto auto 9px;height:50px;width:50px;border-radius:18px;background:var(--gray-96);display:flex;align-items:center;justify-content:center;color:var(--muted)}.empty strong{display:block;color:var(--green-51-2);font-size:1rem;margin-bottom:4px}.empty p{font-size:.875rem;max-width:390px;margin:0 auto 14px}.empty .button{margin-top:4px}.body-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.95fr);gap:18px}.body-panel{padding:18px}.body-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.body-view{display:grid;grid-template-columns:1fr 1fr;gap:4px}.body-figure{text-align:center;background:var(--gray-98);border:1px solid var(--gray-96-2);border-radius:14px;padding:12px 5px 6px}.body-figure h3{font-size:.875rem;margin:0;color:var(--muted)}.human-svg{width:100%;max-width:210px;height:350px}.body-zone{fill:var(--gray-95);stroke:var(--green-84);stroke-width:1.6;transition:fill .14s,stroke .14s;cursor:pointer}.body-zone:hover{fill:var(--green-88-2);stroke:var(--green-68-2);stroke-width:2.8}.body-zone.has-data{fill:var(--green-86)}.body-zone.selected{fill:var(--green-69);stroke:var(--green-51-3);stroke-width:3}.body-zone:focus-visible{stroke:var(--green-54-3);stroke-width:4}.atlas-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 6px}.atlas-links .button{text-decoration:none}.form-warning a{color:inherit;font-weight:800}.human-head{fill:var(--gray-95);stroke:var(--green-84);stroke-width:1.7}.side-label{font-size:1rem;font-weight:700;fill:var(--green-47)}.map-footnote{color:var(--muted);font-size:.875rem;text-align:center;margin-top:2px}.region-detail{padding:22px;min-height:522px}.region-detail h2{font-size:1.25rem;margin:0 0 7px;letter-spacing:-.6px}.region-detail .item-group{margin-top:25px}.region-detail .item-group h3{font-size:.9375rem;border-bottom:1px solid var(--gray-95);padding-bottom:10px;color:var(--green-55-3);margin:0 0 12px}.info-mini{margin:0 0 11px}.info-mini strong{display:block;font-size:.875rem;margin-bottom:2px}.info-mini p{margin:0;color:var(--muted);font-size:.875rem}.section-intro{color:var(--muted);font-size:.9375rem;margin:0 0 20px}.page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;justify-content:space-between;margin-bottom:18px}.filters{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.input,.select,.textarea{border:1px solid var(--gray-93);border-radius:10px;background:var(--surface);padding:10px 12px;color:var(--teal-36);outline:0;min-width:0;width:100%}.input:focus,.select:focus,.textarea:focus{border-color:var(--green-71);box-shadow:0 0 0 3px rgba(97,178,156,.13)}.select{cursor:pointer}.filters .select{min-width:155px;width:auto}.records-list{overflow:hidden}.record-item{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:start;gap:17px;padding:21px 22px;border-bottom:1px solid var(--gray-96)}.record-item:last-child{border:0}.date-tile{text-align:center;background:var(--gray-96);border-radius:12px;padding:8px 6px;color:var(--muted)}.date-tile strong{font-size:1.1875rem;line-height:1.2;display:block;color:var(--green-49-3)}.record-title{font-weight:800;margin-bottom:4px}.record-meta{color:var(--muted);font-size:.875rem;display:flex;flex-wrap:wrap;gap:8px}.record-note{margin-top:8px;color:var(--muted);font-size:.875rem;white-space:pre-wrap;overflow-wrap:anywhere}.record-actions{display:flex;gap:5px}.score{display:inline-flex;background:var(--gray-96);border-radius:7px;padding:2px 7px;color:var(--green-49-3);font-size:.875rem;font-weight:850;margin-left:5px}.records-list .empty{padding:60px 20px}.medical-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.history-card{padding:18px 20px}.history-card h3{font-size:.9375rem;margin:8px 0 6px}.history-card p{font-size:.875rem;color:var(--muted);margin:0 0 8px;line-height:1.8}.history-card .meta-line{font-size:.875rem;color:var(--muted)}.hypotheses-list{display:grid;gap:10px}.hypothesis{padding:16px 19px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.hypothesis strong{display:block;font-size:.9375rem;margin-bottom:4px}.hypothesis p{margin:0;color:var(--muted);font-size:.875rem;line-height:1.8}.hypothesis .tag{flex:none}.future-panel{padding:27px}.future-panel h2{font-size:1.25rem;letter-spacing:-.5px;margin:12px 0 7px}.future-panel p{max-width:650px;font-size:.9375rem;color:var(--muted)}.future-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.future-step{background:var(--gray-98);border-radius:11px;padding:16px;font-size:.875rem;color:var(--green-55-3)}.future-step b{display:block;color:var(--green-43);margin-bottom:5px;font-size:.9375rem}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.settings-card{padding:23px}.settings-card h2{font-size:1.125rem;margin:0 0 7px}.settings-card p{font-size:.875rem;color:var(--muted);margin:0 0 16px}.settings-card .button{margin:3px 8px 3px 0}.settings-card.warning{border-color:var(--red-90)}.file-label{display:inline-flex;align-items:center}.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.file-label:focus-within{outline:3px solid var(--green-83)}.dataset-details{padding:18px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.detail-grid strong{display:block;font-size:1.1875rem}.detail-grid span{color:var(--muted);font-size:.875rem}.data-tips{font-size:.875rem;color:var(--muted);line-height:1.9;margin:16px 0 0}.data-tips li{margin-bottom:6px}.record-dialog{border:1px solid var(--line);border-radius:19px;box-shadow:0 25px 90px #183a3760;width:min(630px,calc(100vw - 22px));max-height:min(91vh,850px);padding:0;color:var(--ink)}.record-dialog::backdrop{background:#102e2c86}.modal-head{padding:21px 24px 16px;border-bottom:1px solid var(--gray-95-2);display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:1.1875rem;margin:0}.modal-body{padding:19px 24px 23px;max-height:calc(91vh - 147px);overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 13px}.form-field{display:block;min-width:0}.form-field.full{grid-column:1/-1}.form-field>span{display:block;font-size:.875rem;font-weight:750;margin-bottom:6px;color:var(--green-49)}.form-field small{display:block;color:var(--muted);margin-top:5px;font-size:.875rem}.textarea{min-height:66px;resize:vertical}.form-actions{padding-top:16px;display:flex;justify-content:flex-end;gap:8px}.advanced-toggle{margin:18px 0 13px;border:0;color:var(--green-51);background:var(--gray-96);border-radius:9px;padding:8px 12px;font-weight:750;font-size:.875rem}.advanced-fields{display:none}.advanced-fields.open{display:block}.form-warning{display:none;color:var(--green-42);background:var(--gray-98);border:1px solid var(--green-90);border-radius:9px;padding:12px 14px;font-size:.9375rem;line-height:1.7;margin-top:14px}.form-warning.visible{display:block}.toast{position:fixed;bottom:28px;right:26px;max-width:min(420px,calc(100vw - 36px));padding:13px 20px;border-radius:12px;background:var(--green-42-2);color:var(--surface);box-shadow:0 12px 40px #133b342f;font-size:.9375rem;opacity:0;transform:translateY(10px);pointer-events:none;transition:.23s;z-index:50}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:var(--red-54)}.chart-note{font-size:.875rem;color:var(--muted);line-height:1.7;margin-top:9px}.chart-legend{font-size:.875rem;color:var(--muted);display:flex;gap:15px;margin-top:8px}.chart-legend span:before{content:'';display:inline-block;background:var(--green-74);width:8px;height:8px;border-radius:2px;margin-right:5px}.page-section-spacer{margin-top:21px}.inline-empty{font-size:.875rem;color:var(--muted);margin:11px 0}.right{text-align:right}.nowrap{white-space:nowrap}.stat-warn{color:var(--muted)}.baseline-card{padding:17px 19px}.baseline-card h3{margin:6px 0 5px;font-size:.9375rem}.baseline-card p{margin:0;color:var(--muted);font-size:.875rem}.baseline-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.mini-items{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}.muted-divider{height:1px;background:var(--gray-95);margin:12px 0}.back-link{display:inline-flex;gap:5px;align-items:center;color:var(--primary);border:0;background:none;padding:4px 0;font-weight:800;font-size:.875rem;margin-bottom:10px}
@media(max-width:73.125em){.stats-grid{grid-template-columns:repeat(2,1fr)}.split-grid,.body-layout{grid-template-columns:1fr}.body-panel{max-width:none}.region-detail{min-height:0}.medical-grid{grid-template-columns:1fr 1fr}}
@media(max-width:56.25em){.sidebar{position:fixed;transform:translateX(-103%);width:285px;min-width:285px}@media(prefers-reduced-motion:no-preference){.sidebar{transition:transform .2s}}.sidebar.open{transform:translateX(0)}.sidebar-overlay.open{display:block;position:fixed;inset:0;background:#15363272;z-index:9}.menu-button{display:inline-flex}.topbar{padding:18px 22px;min-height:85px}.content{padding:25px 22px 55px}.today-label{display:none}}
@media(max-width:40em){.topbar h1{font-size:1.1875rem}.topbar-leading{gap:8px}.topbar{flex-wrap:wrap;gap:8px}.content{padding:18px 14px 50px}.hero{padding:25px 21px;min-height:0}.hero h2{font-size:1.375rem}.hero-icon{display:none}.stats-grid{gap:10px;margin-top:13px}.stat{padding:17px 15px;min-height:116px}.stat-top{font-size:.875rem}.stat-value{font-size:1.3125rem;margin-top:14px}.split-grid{gap:13px}.section-heading{margin-top:28px}.body-panel{padding:11px}.body-figure{padding:10px 1px 3px}.human-svg{height:290px}.region-detail{padding:18px}.medical-grid,.settings-grid,.baseline-grid{grid-template-columns:1fr}.page-actions{align-items:flex-start}.filters{width:100%}.filters .select{flex:1;min-width:120px}.record-item{grid-template-columns:46px 1fr;gap:11px;padding:16px 13px}.record-actions{grid-column:2;justify-content:flex-end}.date-tile{padding:6px 1px}.record-dialog{width:calc(100vw - 12px)}.modal-head{padding:16px}.modal-body{padding:15px 16px 18px}.form-grid{gap:11px}.future-points{grid-template-columns:1fr}.local-pill{padding:6px 9px}}
@media(max-width:24.375em){.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:1}.human-svg{height:260px}}
@media print{.sidebar,.topbar,.site-footer,.button,.link-button,.record-actions,.settings-card,.filters{display:none!important}.main{display:block}.content{max-width:none;padding:10px}.surface{box-shadow:none}.hero{background:var(--surface);color:var(--gray-0);border:1px solid var(--gray-90)}.hero p{color:var(--gray-39)}}

/* Hide the mobile menu trigger on desktop, where the sidebar is always visible. */
@media(min-width:56.3125em){.icon-button.menu-button{display:none}}

@media(max-width:40em){.card-head{flex-wrap:wrap}.chart-filter{margin-left:auto}.filter-chip{white-space:nowrap;min-width:42px}}
}

/* ---------- Design review refinements (2026-11-13) ----------
   Same skeleton as 몸의 연결 지도 (flat cards, 12px/8px corners, serif page titles); the green stays. */
:root{--muted:#56696f;--radius:var(--radius-card);--shadow:var(--shadow-sm);font-family:var(--font-body)}
body{font-size:1.0625rem;line-height:1.7;word-break:keep-all;overflow-wrap:break-word}
.topbar h1,.hero h2{font-family:var(--font-display);font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.topbar h1{font-size:1.75rem}
.section-heading h2,.card-head h3,.region-detail h2,.modal-head h2{letter-spacing:-.01em}
.button{border-radius:8px;min-height:44px}
.button.small{min-height:40px;font-size:.9375rem}
.nav-item{border-radius:8px;font-size:1rem;min-height:44px}
.input,.select,.textarea{border-radius:8px;min-height:46px;border-color:var(--green-75)}
.record-dialog{border-radius:var(--radius-panel);box-shadow:var(--shadow-lg)}
/* Gradient hero kept at the site owner's request; one action inside it. It ends darker than before,
   so white text keeps at least 5:1 at every point of the gradient. */
.hero{border-radius:12px;background:linear-gradient(110deg,var(--green-39) 0%,var(--green-48) 62%,var(--green-52-2) 100%)}
.hero h2{margin-top:0}
.hero p{color:var(--surface);font-size:1rem;line-height:1.7}
.hero .button{min-height:50px}
.stat-value{font-size:1.75rem}
.stat-top{min-height:42px;align-items:flex-start}
.empty{padding:26px 20px}
.empty p{max-width:26em;font-size:.9375rem}
.empty strong{color:var(--ink)}
/* First visit: a short "how to start" instead of a dashboard full of zeros. */
.start-steps{margin-top:22px;padding:24px 26px}
.start-steps h2{margin:0 0 16px;font-size:1.1875rem}
.start-steps ol{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;counter-reset:step}
.start-steps li{counter-increment:step;position:relative;padding-left:40px;line-height:1.6}
.start-steps li::before{content:counter(step);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--accent);color:var(--primary-dark);font-size:.875rem;font-weight:700}
.start-steps li b{display:block}
.start-steps p{margin:0;color:var(--muted);font-size:.9375rem}
@media(max-width:40em){.hero{padding:22px 20px}.hero .button{width:100%}.topbar h1{font-size:1.375rem}.start-steps{padding:20px 18px}.start-steps ol{grid-template-columns:1fr;gap:14px}.section-heading{flex-direction:column;align-items:flex-start;gap:4px}}
.local-pill{color:var(--green-44)}
.icon-button{min-width:44px;min-height:44px}

/* ---------- What can be clicked, and what cannot (2026-11-16) ----------
   Clickable: a visible border or fill, a pointer cursor and a hover change. Text links are underlined.
   Not clickable: no pill shape, no control-colored border, default cursor. */
.button,.nav-item,.filter-chip,.icon-button,.link-button,.advanced-toggle,.body-zone,.file-label,summary,select,input[type=date],input[type=time]{cursor:pointer}
.button{transition:background .15s,border-color .15s}
.button.ghost{border-color:var(--green-63);color:var(--green-44)}
.button.ghost:hover{background:var(--gray-95);border-color:var(--primary)}
.button.danger{border-color:var(--red-63)}
.button.danger:hover{background:var(--gray-96-5);border-color:var(--danger)}
.input,.select,.textarea{border-color:var(--green-63)}
.input:hover,.select:hover,.textarea:hover{border-color:var(--primary)}
.nav-item:hover{background:var(--gray-96);color:var(--green-48)}
.nav-item.active{box-shadow:inset 0 0 0 1px var(--green-63);font-weight:800}
.link-button{text-decoration:underline;text-underline-offset:3px}
.link-button:hover{color:var(--primary-dark)}
.chart-filter{background:none;gap:6px;padding:0}
.filter-chip{border:1px solid var(--green-63);min-height:36px;background:var(--surface)}
.filter-chip:hover{background:var(--gray-95)}
.filter-chip.active{border:2px solid var(--primary);background:var(--gray-96);box-shadow:none}
.icon-button{border:1px solid var(--green-63)}
.advanced-toggle{border:1px solid var(--green-63);background:var(--surface)}
.advanced-toggle:hover{background:var(--gray-95)}
.body-zone:hover{stroke-width:3}
/* Status labels are information, not buttons: square corners, no border, no hover. */
.tag,.local-pill,.nav-item .soon,.score{border-radius:4px;border:0;cursor:default}
.local-pill{background:none;padding:0;font-weight:700}
.nav-item .soon{background:var(--gray-96);padding:2px 6px;color:var(--muted)}
.surface,.stat,.hero,.safety,.sidebar-note,.start-steps,.record-item,.list-row,.date-tile{cursor:default}
.hero .button,.surface .button,.surface .link-button,.surface .filter-chip,.surface select,.record-item .button{cursor:pointer}
.nav-item>span:not(.soon){white-space:nowrap}
.nav-item .soon{font-size:.875rem;margin-left:auto}
.nav-item{gap:10px}

/* ---------- Remaining review items (2026-11-16) ---------- */
.nav-item.is-later{color:var(--muted)}
.nav-later{margin-top:16px}
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar-note a,.sidebar-footer a{color:var(--primary-dark);font-weight:700}
.sidebar-footer a{display:inline-flex;align-items:center;min-height:44px}
.filter-chip{min-height:44px;padding:8px 14px;font-size:.9375rem}
.link-button{min-height:44px}
.button.small{min-height:44px}
.bottom-nav{display:none}
@media(max-width:40em){
 /* Same flat bottom bar as 몸의 연결 지도, so the two sites are operated the same way. */
 .bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:8;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:var(--surface);border-top:1px solid var(--green-63);box-shadow:0 -4px 14px rgba(25,52,58,.10);padding-bottom:env(safe-area-inset-bottom)}
 .bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:60px;padding:6px 2px;border:0;border-top:3px solid transparent;background:none;color:var(--muted);font-size:.875rem;font-weight:600;cursor:pointer}
 .bottom-nav button .ico{width:22px;height:22px}
 .bottom-nav button[aria-current=page]{border-top-color:var(--primary);color:var(--primary-dark);font-weight:800;background:var(--gray-96)}
 .bottom-nav .bottom-record{color:var(--primary-dark);font-weight:800}
 body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 .topbar{min-height:56px;padding:8px 14px}
 .menu-button{display:none}
 .toast{bottom:84px}
}
@media print{.bottom-nav{display:none}}

/* ---------- Regions, per-region chart, visit summary (2026-11-16) ---------- */
.trend-head{flex-wrap:wrap}
.trend-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.trend-controls .select{width:auto;min-width:150px}
.visit-summary{padding:26px 28px}
.visit-summary h2{margin:0 0 4px;font-size:1.3125rem}
.visit-summary h2 .muted{font-size:.9375rem;font-weight:400;margin-left:8px}
.visit-summary h3{margin:26px 0 10px;font-size:1.125rem}
.visit-region{border-top:1px solid var(--line);padding-top:4px}
.visit-region dl{margin:0;display:grid;gap:6px}
.visit-region dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px}
.visit-region dt{color:var(--muted)}
.visit-region dd{margin:0}
.visit-log{width:100%;border-collapse:collapse}
.visit-log th,.visit-log td{text-align:left;vertical-align:top;padding:9px 8px;border-bottom:1px solid var(--line)}
.visit-log th{color:var(--muted);font-weight:600;font-size:.9375rem}
.visit-questions{margin:0 0 18px;padding-left:1.3em}
.visit-questions li{margin-bottom:6px}
.print-only{display:none}
a.button{text-decoration:none}
@media(max-width:40em){.visit-summary{padding:20px 16px}.visit-region dl>div{grid-template-columns:1fr;gap:0}.trend-controls .select{flex:1}}
@media print{
 .no-print,.demo-notice{display:none!important}
 .print-only{display:block}
 body{padding-bottom:0;background:var(--surface)}
 .visit-summary{border:0;padding:0}
 .visit-region,.visit-log tr{break-inside:avoid}
}

/* ---------- From the 100-user study (2026-11-16) ---------- */
/* Intensity: eleven buttons to tap, one neutral color (no green-to-red scale, which would read as a verdict). */
.intensity-field{border:0;padding:0;margin:0;min-width:0}
.intensity-field legend{display:block;font-size:.875rem;font-weight:750;margin-bottom:8px;color:var(--green-49);padding:0}
.intensity-scale{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px}
.intensity-option{position:relative;display:block;cursor:pointer}
.intensity-option input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.intensity-option span{display:grid;place-items:center;min-height:48px;border:1px solid var(--green-63);border-radius:8px;background:var(--surface);font-size:1.0625rem;font-weight:700;color:var(--ink)}
.intensity-option:hover span{background:var(--gray-95)}
.intensity-option input:checked+span{background:var(--primary);border-color:var(--primary);color:var(--surface)}
.intensity-option input:focus-visible+span{outline:3px solid var(--green-83);outline-offset:2px}
.intensity-ends{display:flex;justify-content:space-between;margin-top:6px;font-size:.875rem;color:var(--muted)}
.form-actions{flex-wrap:wrap}
.text-size{min-width:48px;min-height:44px;padding:0 10px;border:1px solid var(--green-63);border-radius:8px;background:var(--surface);color:var(--ink);font-size:1.0625rem;font-weight:700;cursor:pointer}
.text-size b{font-size:.875rem;margin-left:1px}
.text-size[aria-pressed=true]{background:var(--gray-96);border:2px solid var(--primary)}
/* Larger text: scale the reading and input areas, keep the page frame. */
@media(max-width:40em){.intensity-scale{grid-template-columns:repeat(6,minmax(0,1fr))}.topbar-right{gap:10px}}
@media print{.text-size{display:none}}

/* ---------- Several people's records on one device (2026-11-16) ---------- */
.person-switch{display:inline-flex;align-items:center;min-height:44px;margin:0 0 2px -8px;padding:2px 8px;border:1px solid transparent;border-radius:8px;background:none;color:var(--primary-dark);font-size:.9375rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.person-switch:hover{background:var(--gray-96);border-color:var(--green-63)}
.form-person{margin:0 0 14px;padding:10px 12px;border-radius:8px;background:var(--gray-96);font-size:.9375rem}
.people-list{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px}
.people-list li{display:flex;align-items:center;gap:8px}
.person-row{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;min-height:56px;padding:8px 14px;border:1px solid var(--green-63);border-radius:8px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}
.person-row:hover{background:var(--gray-95)}
.person-row.current{border:2px solid var(--primary);background:var(--gray-96)}
.person-row strong{font-size:1.0625rem}
.person-row span{font-size:.875rem;color:var(--muted)}
.person-add{display:flex;align-items:flex-end;gap:8px;margin-bottom:18px}
.person-add .form-field{flex:1}
.people-notes{margin:0;padding-left:1.2em;font-size:.9375rem;color:var(--muted);line-height:1.8}

/* ---------- 수치 기록 (2026-11-16): one neutral color, no bands or targets ---------- */
.vital-types{margin-bottom:16px}
.vital-card{padding:22px 24px;margin-bottom:16px}
.vital-card h2{margin:0 0 14px;font-size:1.125rem}
.vital-card h2 .muted{font-size:.9375rem;font-weight:400;margin-left:6px}
.vital-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;align-items:end;margin-bottom:12px}
.vital-form .vital-memo{grid-column:span 2}
.vital-form .button{min-height:46px}
.vital-line{fill:none;stroke:var(--green-73);stroke-width:2}
.vital-dot{fill:var(--primary)}
.vital-dot.hollow{fill:var(--surface);stroke:var(--primary);stroke-width:2}
.vital-legend{display:flex;gap:18px;margin:6px 0 0;font-size:.875rem;color:var(--muted)}
.vital-legend span:before{content:none}
.vital-list td:last-child{text-align:right}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:40em){.vital-card{padding:18px 16px}.vital-form{grid-template-columns:1fr 1fr}.vital-form .vital-memo,.vital-form .button{grid-column:1/-1}.vital-list th:nth-child(3),.vital-list td:nth-child(3){display:none}}

/* ---------- Field errors and focus (2026-11-16) ---------- */
.field-error{display:block;margin-top:6px;color:var(--danger);font-size:.9375rem;font-weight:700;line-height:1.5}
.field-error::before{content:"! ";}
.field-error[hidden]{display:none}
[aria-invalid=true]:is(input,select,textarea){border-color:var(--danger);border-width:2px}
.intensity-field:has([aria-invalid=true]) .intensity-option span{border-color:var(--danger)}
.person-add{flex-wrap:wrap}
.content:focus{outline:none}
#pageTitle:focus{outline:none}
.intensity-option input:focus-visible+span{outline:2px solid var(--color-text);outline-offset:2px;box-shadow:0 0 0 2px var(--color-surface)}
/* The brand mark is one flat colour, like the rest of the controls. */
.brand-mark{background:var(--primary)}
/* With less motion the notice fades in place instead of rising. */
@media(prefers-reduced-motion:reduce){.toast,.toast.show{transform:none}}
/* The 119 link reads as part of the sentence but takes a full 44px finger target; the padding is cancelled by margin, so the line does not move. */
.site-footer a[href^="tel:"]{display:inline-block;padding:12px 9px;margin:-12px -9px;text-decoration:underline;text-underline-offset:.2em}
/* DESIGN.md shared rules (2026-11-17): green stays, shapes and states follow the shared system.
   Cards 8px with the smallest tinted shadow (via --radius/--shadow above), inputs get a brand-colour hover and focus ring. */
.input:hover,.select:hover,.textarea:hover{border-color:var(--primary)}
.input:focus-visible,.select:focus-visible,.textarea:focus-visible{outline:2px solid var(--primary);outline-offset:0;box-shadow:0 0 0 5px color-mix(in srgb,var(--primary) 14%,transparent)}
.hero{border-radius:var(--radius-panel)}
