/* ATLAS — selected opal glass direction. All optical layers are inert. */
:root {
  --ink:#173d40; --muted:#49636f; --bg:#c4ccdf; --paper:#f0f5fb;
  --sage:#558675; --peach:#e7a38e; --line:#718caa44;
  --glass:linear-gradient(125deg,#f9fdff66,#d9effb38 48%,#eae6ff4a);
  --edge:#f5fdffe0;
  --optical-shadow:inset 0 1px 1px #fff,inset 1px 0 1px #ffffff7a,inset 0 -1px 0 #8badd733,0 12px 32px #45547e1a,0 2px 5px #536d8d1c;
}
body {background:radial-gradient(ellipse at 48% 36%,#d1eff5 0,transparent 52%),radial-gradient(ellipse at 94% 10%,#f7dce7 0,transparent 42%),radial-gradient(ellipse at 5% 60%,#b5c5e7 0,transparent 48%),linear-gradient(125deg,#d3cfe7,#b8d9e5 57%,#c2bfdf);}
.ambient-depth {background:radial-gradient(ellipse at 35% 9%,#f9eaff80,transparent 48%),radial-gradient(ellipse at 80% 92%,#90bfd9aa,transparent 57%);}
.ambient-pane {border-color:#f4fcffe0;box-shadow:inset 0 2px 1px #fff,0 2px 3px #effeffa3,0 12px 38px #6378ae1a;}
.pane-one {width:130vw;height:100vh;left:-51vw;top:-66vh;border-radius:50%;transform:rotate(-19deg);background:linear-gradient(170deg,#fff0 55%,#e7faff0a 76%,#fff9 98%);}
.pane-two {width:135vw;height:77vh;right:-36vw;top:58vh;border-radius:50%;transform:rotate(-20deg);background:linear-gradient(157deg,#fff0 20%,#cae5ff08 38%,#fff8 66%,#a9cef02b 70%,#f8d9ed40 86%);box-shadow:inset 0 2px 2px #fff,0 -2px 7px #f1feffa6,0 18px 60px #4d6d9e20;}
.pane-three {width:135vw;height:48vh;left:-35vw;bottom:-34vh;transform:rotate(17deg);background:linear-gradient(145deg,#c1def638,#e9faff9c 60%,#efe9fd3b);}
header,footer,.settings section,.note-panel {background:var(--glass);border:1px solid var(--edge);box-shadow:var(--optical-shadow);backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2);}
header {margin:20px 28px 0;min-height:82px;border-radius:16px;padding:14px 22px;}
header:after {display:none;}
.brand{gap:13px}.brand-symbol{width:48px;height:48px;filter:drop-shadow(0 1px 0 #fff8)}
.brand span{font-size:32px;letter-spacing:.12em;font-weight:700}.subtitle{border-color:#4a6e7277;color:var(--ink)}
.demo-label,.step{color:#38575e}.step b{border-color:#799da181;background:#edf7fa55;box-shadow:inset 0 1px 1px #fff,0 2px 5px #355b661c;color:#294e52}
.step.current b{background:linear-gradient(140deg,#69977b,#285c4d);border-color:#bfded3;box-shadow:inset 0 1px 2px #f0fff6a3,0 0 0 3px #efffff38,0 2px 6px #244f4436;color:white}
.step.complete b{background:#c8e4da88;color:#284f46}.step-link{background:linear-gradient(90deg,#74999770,#efffff90)}
main{gap:22px;padding-top:24px}.settings{gap:16px;scrollbar-color:#7f9bad77 transparent}
.settings section,.note-panel{border-radius:16px;}
.settings section:before,.note-panel:before{inset:3px;border-color:#eefbff66;border-radius:12px;}
.settings section:after{display:none}.settings h2{font-size:15px;letter-spacing:0;text-transform:none;font-weight:650;color:var(--ink)}
.segmented{background:#b4ccdc26;border-color:#90adba66;border-radius:8px;box-shadow:inset 0 1px 3px #41627b16}
.segmented button,.segmented button.active{border-radius:6px}.segmented button.active{background:linear-gradient(135deg,#5d8c76,#285b4b);color:#fff;box-shadow:inset 0 1px 1px #def9eb8c,0 3px 7px #385d6a22}
.views button{background:linear-gradient(135deg,#f7fbff6b,#e4efff24);border-color:#b6cedb9c;border-radius:8px;box-shadow:inset 0 1px 0 #fff9,0 3px 7px #4d658914}
.views button.active{background:linear-gradient(135deg,#d7f0ed91,#b0d4cd52);border-color:#689c90;box-shadow:inset 0 1px 0 #f4ffff,0 2px 6px #4e728c24}
.views button>span{color:var(--ink)}.view-divider{color:var(--muted)}.micro-rule{background:var(--line)}
.layer-row{border-color:var(--line)}.layer-row small,.layer-info,.credits{color:var(--muted)}.tissue-thumb{border-color:#b7ccd7;border-radius:5px}
.switch{background:linear-gradient(#afbdce,#c7d2df);border-color:#8ea6b477;box-shadow:inset 0 1px 2px #3e587c33,0 1px 0 #fff9}
.switch:checked{background:linear-gradient(120deg,#709981,#406d5d);border-color:#6c9584}.switch:before{background:linear-gradient(135deg,#fff,#eaf6fa)}
.view-options button:hover,#search-results button:hover{background:#e7faff66}
.viewport{border:1px solid #f5fdffbf;border-radius:24px;background:radial-gradient(ellipse at 47% 35%,#dcf9ff60,transparent 70%),linear-gradient(135deg,#e5f6ff22,#e4e8ff12);box-shadow:inset 0 1px 1px #fff,inset 1px 0 1px #ffffff8c,0 12px 36px #4d629911;}
.viewport:before{background:radial-gradient(ellipse at 50% 50%,#e0f5ff26,transparent 70%)}
.proportion-guide{color:#f5feff;opacity:.65;stroke-width:1}.stage-corner{color:#edfaff;opacity:.8}
.model-ground{background:radial-gradient(ellipse,#4d648d36,#6a86a316 45%,transparent 72%);bottom:8%}
.orientation-nav{top:14px;gap:5px}.orientation-nav button{background:linear-gradient(130deg,#fbffffa3,#e2efff66);border-color:#f1fcffbf;box-shadow:inset 0 1px 0 #fff,0 4px 10px #506f8b1c;border-radius:7px;min-width:82px}
.orientation-nav button.active{color:#fff;background:linear-gradient(135deg,#5e8f78,#2e5f50);border-color:#c3dfd6;box-shadow:inset 0 1px 2px #defaeb88,0 3px 9px #34596933}
.orientation-status{position:absolute;width:1px;height:1px;min-width:0!important;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.view-hint{top:70px;color:#365965}.selection-caption{background:linear-gradient(125deg,#eefaff94,#dfedfc66);border-color:#edfaffb8;color:var(--ink);border-radius:8px;box-shadow:inset 0 1px 0 #fff9;backdrop-filter:blur(12px)}
.model-count{color:#3d5e6b}#canvas-wrap{top:48px;bottom:22px;z-index:1}
.note-panel{margin-top:0}.note-heading{margin:9px 9px 0;border-radius:9px;background:linear-gradient(120deg,#628f80,#2d5c51);border:1px solid #cae3df8c;box-shadow:inset 0 1px 1px #e8fff3a1,0 3px 8px #315e6d26;color:white;padding:16px}
.note-heading h1{font-weight:600;font-size:19px}.note-symbol{border-radius:5px;border-color:#e2f8efb3}.note-heading #note-number{border-radius:5px}
.context{color:#436170}.note-body label{color:var(--ink)}
.note-body textarea,.note-body input[type=text],#anatomy-search{background:linear-gradient(125deg,#f7fcff55,#e0eafa35);border:1px solid #90a9b670;border-radius:8px;color:#183d44;box-shadow:inset 0 1px 3px #4164850a,0 1px 0 #ffffff8c}
input::placeholder,textarea::placeholder{color:#536d7d}.input-wrap{border-color:var(--line)}
.measurements,.duration-field,.more-note,.navigation-help{border-color:var(--line)}.intensity-heading output{color:#91523e}
.save-note{border-radius:8px;background:linear-gradient(125deg,#5f8f77,#285c49);border-color:#528474;box-shadow:inset 0 1px 1px #e8fff6a1,0 4px 10px #385c6926;color:white}
.save-note:hover{background:linear-gradient(125deg,#4e806a,#214c3e);color:white}.notice{background:#e3f1f653;border:1px solid #edfaff66;border-radius:8px}.notice p{color:#39575e}
.note-pagination{background:#edfcff44;border-radius:7px}.delete-note{color:#934e3d}
footer{border-radius:16px;padding:10px 14px;background:linear-gradient(120deg,#f3faff75,#e0effc66,#ece8f866);}
footer:before{border-radius:12px;border-color:#f3ffff66}.mode-buttons button,.mode-buttons button.active,.mode-buttons .mark,.mode-buttons .mark.active,footer>button{border-radius:8px}
.mode-buttons button.active{background:linear-gradient(135deg,#659073,#2e604c);box-shadow:inset 0 1px 1px #def9e9a3,0 3px 8px #3e627b26;color:white}
.mode-buttons .mark{background:linear-gradient(130deg,#fff0e5d9,#efd0c9aa);border-color:#fff3e6;color:#784b3a;box-shadow:inset 0 1px 0 #fff,0 3px 8px #77596913}
.mode-buttons .mark.active{background:linear-gradient(130deg,#f5d2bf,#e8b7aa);color:#683e30}
footer>button{background:linear-gradient(130deg,#f5ffff8c,#d8edf570);border-color:#efffffcc;box-shadow:inset 0 1px 0 #fff9,0 2px 7px #49697d14}.zoom-buttons{border-color:var(--line)}.zoom-buttons button{border-radius:7px}
button:hover{background-color:#e7f8ff80;border-color:#87b1b9}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#326d70}
.status-message{background:#edf7ffeb;border-color:#afc8d6;border-radius:10px;color:#284d56;backdrop-filter:blur(18px)}
dialog{background:linear-gradient(125deg,#eef7fff5,#e9eafaed);border:1px solid white;border-radius:18px;color:var(--ink);box-shadow:0 25px 90px #263d6659;backdrop-filter:blur(26px)}
dialog::backdrop{background:#23355259;backdrop-filter:blur(8px)}.dialog-actions button,.summary-locate{background:#edf8ff88;border-radius:7px}
@media(min-width:1600px){header{margin:24px 40px 0;min-height:88px}.settings h2{font-size:17px}}
@media(max-width:1150px){header{margin:14px 18px 0;padding:12px 17px;gap:14px}.brand span{font-size:28px}.brand-symbol{width:43px;height:43px}.settings h2{font-size:14px}}
@media(max-width:800px){header{margin:10px 14px 0;padding:12px 14px;gap:8px;border-radius:13px}.brand span{font-size:26px}.brand-symbol{width:38px;height:38px}.subtitle{padding-left:14px}main{padding-top:16px;gap:16px}.settings section,.note-panel,.settings>section:first-child{border-radius:13px}.settings section:before,.note-panel:before{border-radius:10px}.viewport{border-radius:18px}.orientation-nav{top:10px;gap:5px}.orientation-nav button{min-width:76px}.view-hint{top:66px}.proportion-guide{width:min(96%,57svh)}footer{border-radius:13px}.note-heading{margin:7px 7px 0}.pane-two{width:230vw;right:-85vw;height:65vh;top:47vh}.pane-one{width:190vw;left:-95vw}.ambient-pane{box-shadow:inset 0 2px 1px white,0 2px 3px #effeff80}.settings h2{font-size:15px}.step:last-child span{white-space:nowrap}.step span{font-size:10px;overflow-wrap:normal}}
@media(prefers-reduced-transparency:reduce){.ambient-depth{display:none}header,footer,.settings section,.note-panel,.viewport,dialog{background:#e6eef7;backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not (backdrop-filter:blur(1px)){header,footer,.settings section,.note-panel{background:#e3edf5ed}}
@media print{body,dialog{background:white!important;color:#163c2e}.ambient-depth,.model-ground,.proportion-guide{display:none}}

.view-options .mirror-link{display:flex;align-items:center;justify-content:space-between;color:#20564e;text-decoration:none;font-weight:650;font-size:13px;min-height:44px;border-block:1px solid #839f9e55}
.view-options .mirror-link:hover,.view-options .mirror-link:focus-visible{background:#ddf1ef99}
