@font-face{font-family:Manrope;src:url('assets/fonts/manrope-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}@font-face{font-family:Manrope;src:url('assets/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:'Space Grotesk';src:url('assets/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:300 700;font-display:swap}
:root{--ink:#244b43;--muted:#6a7a6e;--bg:#e8ebdf;--paper:#f3f0e6;--sage:#78917b;--peach:#de947a;--line:#8e9d8970;--glass-edge:#7185718a;--glass-inner:#fffdf3d9;--shadow:0 9px 27px #304b3412,0 1px 3px #304b3417;font-family:Manrope,Arial,sans-serif;font-size:14px}body{background:radial-gradient(ellipse at 34% 32%,#faf8ee 0%,#f2f1e400 45%),radial-gradient(ellipse at 57% 72%,#cbd7bd99 0%,#ced8bf00 55%),linear-gradient(115deg,#eaeee3,#e1e7d8 53%,#e9ecdf)}button{font-weight:550;transition:background .18s,border-color .18s,box-shadow .18s;color:var(--ink)}button:hover{background-color:#e4e9dd;border-color:#66816b}button.active{border-color:#5b7d64}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;flex:none}header{position:relative;min-height:96px;padding:20px 32px;gap:26px;background:linear-gradient(140deg,#fffdf3d9,#f3f1e7bf 48%,#e5eadf9c);border-top:1px solid #fffdf3;border-bottom:1px solid #8d9e8a90;box-shadow:0 2px 0 #fffdf3a6,0 7px 24px #43573d06;backdrop-filter:blur(22px) saturate(1.08)}header:after{content:'';position:absolute;left:24px;right:24px;bottom:4px;height:1px;background:linear-gradient(90deg,#80947a4d,#b8c2aa24,#80947a4d);pointer-events:none}.brand{gap:18px}.brand svg{width:43px;stroke-width:.9}.brand span{font-family:'Space Grotesk',sans-serif;font-weight:400;letter-spacing:.23em;font-size:32px}.subtitle{padding-left:26px;border-color:#7e9179;font-size:10px;letter-spacing:.13em;font-weight:500;line-height:1.7}.demo-label{font-size:9px;letter-spacing:.035em;line-height:1.6;opacity:.85}nav{gap:13px;flex:1;justify-content:center;max-width:620px;margin:auto}.step{gap:11px;font-size:10px;letter-spacing:.04em;font-weight:600;color:#788575;background:transparent!important;white-space:nowrap}.step b{width:31px;height:31px;font-family:'Space Grotesk',sans-serif;font-size:15px;font-weight:400;border:1px solid #8a9982;border-radius:50%;background:linear-gradient(145deg,#fffdf7,#dce1d1);color:#5b7561;box-shadow:inset 0 0 0 2px #f8f7ed,inset 0 -2px 3px #70846540,0 1px 3px #314e3024}.step.current{color:var(--ink)}.step.current b{background:linear-gradient(145deg,#94aa90,#66836b);border-color:#607c62;color:white;box-shadow:inset 0 0 0 2px #dce8d6b0,inset 0 2px 4px #ffffff52,0 2px 5px #28482f29}.step.complete b{background:#dce6d5;border-color:#90a487;color:#526e58}.step-link{display:block;height:1px;min-width:22px;max-width:45px;flex:1;background:linear-gradient(90deg,#5c806380,#abb7a0);box-shadow:0 1px 0 #fff9}.step:disabled{opacity:.7}main{grid-template-columns:228px minmax(260px,1fr) 350px;gap:23px;padding:25px 28px 16px;isolation:isolate}.settings{gap:15px;scrollbar-color:#abb9a0 transparent;padding:1px 2px 8px}.settings section,.note-panel{position:relative;border:1px solid var(--glass-edge);background:linear-gradient(125deg,#fffdf4c7,#f4f2e6a8 46%,#e6eadcb8);box-shadow:inset 0 0 0 1px #fffff7,0 1px 1px #244b4312,0 9px 26px #29452f15;border-radius:19px;backdrop-filter:blur(22px) saturate(1.12)}.settings section:before,.note-panel:before{content:'';position:absolute;inset:3px;border:1px solid #ffffffc7;border-radius:15px;pointer-events:none;z-index:0}.settings section:after{content:'';position:absolute;left:12px;right:12px;top:0;height:1px;background:linear-gradient(90deg,transparent,#fff,transparent);pointer-events:none}.settings section{padding:18px 16px}h2{font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px;color:#2c5043}.segmented{gap:3px;border:1px solid #9cac9175;border-radius:25px;padding:3px;background:#c9d3bd26;box-shadow:inset 0 1px 3px #29482b17,0 1px 0 #fff9}.segmented button{font-size:11px;letter-spacing:.035em;border:1px solid transparent;border-radius:22px;padding:8px 5px;font-weight:550}.segmented button.active{color:#fffdf3;border-color:#365d46;background:linear-gradient(135deg,#4e7558,#2f5946);box-shadow:inset 0 1px 1px #d6ead078,0 2px 4px #35533923}.view-divider{display:flex;align-items:center;gap:10px;margin:17px 0 9px;font-size:9px;letter-spacing:.11em;text-transform:uppercase;font-weight:650;color:#68806a}.micro-rule{height:1px;flex:1;background:#8b9b7d69;box-shadow:0 1px 0 #fff9}.views{gap:10px;margin:0}.views button{position:relative;flex:1;display:flex;flex-direction:column;gap:0;padding:5px 5px 9px;overflow:hidden;border:1px solid #b4bea58c;background:linear-gradient(135deg,#fcfaf1d4,#e7ebdd82);border-radius:13px;box-shadow:inset 0 0 0 1px #fff9,0 3px 7px #435b3212}.view-thumb{height:110px;max-width:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #354a2320);pointer-events:none}.views button>span{font-size:9px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;line-height:1.6}.views button.active{background:linear-gradient(130deg,#f9faf0,#dce5d2a6);border-color:#4c7158;box-shadow:inset 0 0 0 1px #fff9,0 0 0 1px #5f7a5b24,0 4px 8px #3e5b3920}.view-dot{position:absolute;right:7px;top:7px;width:5px;height:5px;border:1px solid #8da483;border-radius:50%;background:#edf2e6}.views .active .view-dot{background:#56775b;border-color:#56775b;box-shadow:0 0 0 2px #d7e3ce}.layer-row{display:grid;grid-template-columns:39px 1fr 32px;gap:9px;align-items:center;padding:10px 0;margin:0;font-size:11px;font-weight:500;border-color:#a7b49a63;cursor:pointer;position:relative}.layer-row:after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:1px;background:#ffffff80}.layer-row:last-of-type:after{display:none}.layer-row span{line-height:1.35}.layer-row small{font-size:8px;margin-top:3px;font-weight:450;color:#7b8974}.tissue-thumb{display:block;width:39px;height:29px;object-fit:cover;border-radius:6px;border:1px solid #a0aa917a;background:linear-gradient(130deg,#f7f3e6,#d5deca);box-shadow:inset 0 0 0 1px #fff,0 1px 3px #38523a20}.switch{width:32px;height:19px;box-shadow:inset 0 1px 3px #344a3533,0 1px 0 #fff;outline-offset:4px;border:1px solid #a6ae9899;background:linear-gradient(#c6c9b9,#d2d4c5)}.switch:before{width:13px;height:13px;top:2px;left:2px;background:linear-gradient(140deg,#fffefa,#e8e9da);box-shadow:0 1px 3px #2b453d42,inset 0 1px 1px #fff}.switch:checked{background:linear-gradient(130deg,#76987c,#456e53);border-color:#668568}.switch:checked:before{transform:translateX(13px)}.layer-info{font-size:8px;line-height:1.55;color:#74816d;margin-top:12px}.view-options button{font-size:10px;font-weight:550;letter-spacing:.015em;padding:8px 0}.view-options button:hover{background:transparent;color:#406d4e;text-decoration:underline;text-underline-offset:3px}.view-options button:last-child{padding-top:12px;margin-top:5px}.credits{font-size:8px;line-height:1.6;color:#7d8975;margin:0 11px}.credits summary{font-size:8px;letter-spacing:.04em}.viewport{background:none;border-radius:0;overflow:hidden;isolation:isolate}.viewport:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 50%,#fff9,#f4f3e500 65%);pointer-events:none;z-index:-1}.view-hint{top:4px;font-size:9px;letter-spacing:.035em;color:#839078}.selection-caption{font-size:10px;bottom:36px;color:#45624b;background:linear-gradient(90deg,transparent,#f1f2e0ad,transparent);padding:4px 20px;left:15%;width:70%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.model-count{font-size:8px;letter-spacing:.05em;bottom:16px;color:#8a967e}.stage-corner{position:absolute;width:14px;height:14px;z-index:1;pointer-events:none;opacity:.42;border-color:#7b9274;border-style:solid}.stage-corner.tl{left:3px;top:3px;border-width:1px 0 0 1px}.stage-corner.tr{right:3px;top:3px;border-width:1px 1px 0 0}.stage-corner.bl{left:3px;bottom:3px;border-width:0 0 1px 1px}.stage-corner.br{right:3px;bottom:3px;border-width:0 1px 1px 0}.note-panel{border-radius:20px;scrollbar-color:#aab8a0 transparent}.note-heading{margin:5px 5px 0;padding:15px 17px;border:1px solid #667f6585;border-radius:14px;background:linear-gradient(120deg,#9eaf96e8,#7a9479ef 60%,#68876def);box-shadow:inset 0 1px 0 #e1eddaa1,inset 0 -1px 0 #536f5661,0 2px 7px #2b4e2f1c;backdrop-filter:blur(20px);gap:11px}.note-symbol{display:flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px;border:1px solid #e9f0df80;border-radius:7px;background:#ffffff0a;box-shadow:inset 0 1px 0 #fff3}.note-symbol .icon{width:17px;height:17px;stroke-width:1.2}.note-heading h1{font-size:15px;font-weight:500;letter-spacing:.045em}.note-heading #note-number{font-family:'Space Grotesk',sans-serif;font-size:10px;letter-spacing:.08em;border:1px solid #eff5e344;border-radius:5px;padding:3px 5px;color:#f2f5e9}.note-body{padding:22px 23px 20px}.context{font-size:8px!important;line-height:1.5!important;color:#8a9480;margin:0 0 16px;letter-spacing:.015em}label{font-size:10px;letter-spacing:.035em;font-weight:650;color:#2a5141}textarea,input[type=text]{font-family:Manrope,Arial,sans-serif;background:linear-gradient(145deg,#fffdf145,#e8ebdd42);color:#263f35;border:1px solid #8c9c827c;border-radius:10px;box-shadow:inset 0 1px 4px #5267430c,0 1px 0 #ffffffd9;font-size:13px;font-weight:450;line-height:1.65;padding:12px 13px}textarea{min-height:130px;resize:vertical}textarea::placeholder,input::placeholder{color:#8a9480;font-size:11px}textarea:focus,input[type=text]:focus{background:#fbfaeee8;border-color:#6a8868;box-shadow:0 0 0 3px #a5bc9330;outline:none}.measurements{display:grid;grid-template-columns:1.03fr 1fr;gap:16px;margin:21px 0 16px;padding-top:18px;border-top:1px solid #a4b09668;box-shadow:0 -1px 0 #ffffff8c}.intensity-heading{margin:0;align-items:center;gap:6px}.intensity-heading label{font-size:9px;letter-spacing:.035em;margin:0}.intensity-heading output{font-family:'Space Grotesk',sans-serif;color:#b97459;font-size:12px;white-space:nowrap}.duration-field{padding-left:16px;border-left:1px solid #a4b09668}.duration-field label{font-size:9px;margin:0 0 12px!important}.input-wrap{position:relative}.input-wrap .icon{position:absolute;left:9px;top:10px;width:15px;height:15px;color:#6d8669}.input-wrap input{font-size:10px;padding:8px 7px 8px 30px;min-width:0;line-height:1.7}.input-wrap input::placeholder{font-size:9px}input[type=range]{--range-progress:0%;-webkit-appearance:none;appearance:none;height:7px;border:1px solid #aab29987;border-radius:20px;background:linear-gradient(90deg,#d69a7e 0%,#e5aa8c var(--range-progress),#c9cfbd var(--range-progress),#e1e4d5 100%);box-shadow:inset 0 1px 2px #415a3320,0 1px 0 #fff;outline-offset:5px;margin:18px 0 6px;cursor:pointer}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:19px;height:19px;border:1px solid #bd8061;border-radius:50%;background:linear-gradient(145deg,#fffef5,#f0e8d9);box-shadow:inset 0 0 0 2px #fffef5,0 1px 4px #72523b2b}input[type=range]::-moz-range-thumb{width:17px;height:17px;border:1px solid #bd8061;border-radius:50%;background:#fffdf4;box-shadow:0 1px 4px #72523b2b}.scale{font-family:'Space Grotesk',sans-serif;font-size:8px;color:#8a967e}.scale button{font-family:Manrope,sans-serif;font-size:7px;letter-spacing:0;color:#8a967e;padding:3px}.more-note{border-top:1px solid #a4b09668;border-bottom:1px solid #a4b09668;padding:12px 0;margin:0 0 16px;box-shadow:0 1px 0 #fff8}.more-note summary{font-size:9px;cursor:pointer;font-weight:550;list-style:none;letter-spacing:.025em;color:#667d64}.more-note summary::-webkit-details-marker{display:none}.more-note summary span{float:right;font-size:14px;font-weight:400;line-height:12px}.more-note[open] summary span{transform:rotate(45deg)}.more-note label{margin:14px 0 8px}.more-note input{font-size:11px}.save-note{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:0;padding:12px 13px;border:1px solid #375e47;color:#f8faed;background:linear-gradient(130deg,#5d8062,#386049 70%,#436c4f);border-radius:22px;box-shadow:inset 0 1px 0 #d6e6c6a1,inset 0 0 0 2px #e3edd83d,0 3px 6px #2f523326;font-size:11px;letter-spacing:.045em;font-weight:550}.save-note span{float:none}.save-note .icon{width:17px;height:17px;stroke-width:1.25}.save-note:hover{background:linear-gradient(130deg,#6d9172,#446e50);color:#fff;border-color:#244c37}.note-pagination{font-family:'Space Grotesk',sans-serif;margin-top:15px;font-size:9px;letter-spacing:.035em;color:#7c8c73}.note-pagination button{font-family:Manrope,sans-serif;font-size:15px}.delete-note{font-size:8px;letter-spacing:.02em;color:#a17d64;padding:5px}.notice{border:1px solid #b6c1a774;border-radius:10px;background:linear-gradient(120deg,#d7e0ca75,#e7ebdd94);padding:12px;margin-top:17px;box-shadow:inset 0 1px 0 #fff8}.notice p{font-size:9px;line-height:1.6;color:#52654c}.notice>span{width:17px;height:17px;font-family:Georgia,serif;font-size:11px;color:#64805f;border-color:#809b74;margin-top:2px}.note-body h3{font-size:21px;font-weight:450;line-height:1.45}.note-body #empty-note p{font-size:12px;line-height:1.8;color:#687d62}.primary{border:1px solid #c28a6b;background:linear-gradient(130deg,#eab193,#d78e6e);box-shadow:inset 0 0 0 1px #ffe8d6a8,0 2px 5px #6c4b3320;border-radius:22px;color:#fffdf5;letter-spacing:.025em}footer{position:relative;margin:0 28px 20px;padding:10px 15px;gap:19px;background:linear-gradient(125deg,#fffdf3b8,#f1f2e4a8 48%,#dfe7d2b3);border:1px solid #8d9e7e9c;border-radius:35px;box-shadow:inset 0 0 0 1px #fffff4,0 1px 2px #2e48231a,0 8px 22px #304a2a17;backdrop-filter:blur(24px) saturate(1.2)}footer:before{content:'';position:absolute;inset:3px;pointer-events:none;border:1px solid #fff9;border-radius:31px}.mode-buttons{gap:8px}.mode-buttons button{display:flex;align-items:center;gap:9px;font-size:11px;letter-spacing:.025em;border:1px solid transparent;padding:10px 15px;border-radius:24px;background:transparent}.mode-buttons span{margin:0;font-size:10px}.mode-buttons .icon{width:20px;height:20px}.mode-buttons button.active{color:#f9fcf0;border-color:#4f7357;background:linear-gradient(135deg,#78997a,#55795b);box-shadow:inset 0 1px 0 #c7ddbd8a,inset 0 0 0 1px #e0eed84a,0 1px 4px #34543124}.mode-buttons .mark{border-color:#ce9b7f;background:linear-gradient(145deg,#f4d6bd99,#e6af8e45);box-shadow:inset 0 0 0 1px #ffe9d5c2;color:#a86d52}.mode-buttons .mark.active{border-color:#bb8064;color:#fffdf5;background:linear-gradient(135deg,#e8ad8b,#d78e6c);box-shadow:inset 0 1px 0 #ffe5cfc7,inset 0 0 0 2px #f9e7d852,0 2px 5px #80614433}.zoom-buttons{gap:9px;padding-left:19px;border-color:#8295756e}.zoom-buttons button{display:flex;align-items:center;gap:7px;padding:8px;font-size:11px;background:transparent;border-radius:9px}.zoom-buttons button:hover{background:#e4ead9}.zoom-buttons #reset{font-size:9px;letter-spacing:.025em}.zoom-buttons #reset .icon{width:19px}.zoom-buttons .icon{width:22px;height:22px}footer>p{font-size:8px;line-height:1.6;letter-spacing:.015em;color:#809075;max-width:185px}footer>button{display:flex;gap:10px;align-items:center;border:1px solid #8ea28293;border-radius:22px;box-shadow:inset 0 0 0 1px #ffffff9c;background:#f7f8ed26;font-size:10px;letter-spacing:.025em;padding:11px 16px}footer>button span{margin:0}footer>button .icon{width:18px;height:18px}footer>button .icon:last-child{width:16px;margin-left:12px}dialog{font-family:Manrope,sans-serif;background:linear-gradient(130deg,#fffdf0f5,#e8eddfeb);border:1px solid #78917090;box-shadow:inset 0 0 0 2px #fffdf2,0 18px 90px #233c2b3b;backdrop-filter:blur(22px)}.dialog-head h2{text-transform:none;font-size:24px;letter-spacing:0;font-weight:450}.dialog-head p{font-family:'Space Grotesk';letter-spacing:.2em}.dialog-actions button{font-size:11px;border-color:#9eae91;background:#f8f9ed66}.summary-note{border-color:#a3b2938a}.summary-note h3{font-size:13px;font-weight:600}.summary-note p{font-size:13px;line-height:1.8}.summary-note small{font-size:10px;color:#7b8c71}.load-state{font-size:11px;letter-spacing:.03em}.load-state:before{border-color:#bcc9ac;border-top-color:#5f805c}
@media(min-width:1600px){header{padding:23px 40px}.brand span{font-size:38px}.brand svg{width:50px}main{grid-template-columns:270px minmax(400px,1fr) 420px;gap:30px;padding:30px 40px 20px}.settings section{padding:22px}.settings h2{font-size:12px}.view-thumb{height:149px}.views button>span{font-size:10px}.layer-row{grid-template-columns:47px 1fr 36px;font-size:12px;padding:13px 0;gap:12px}.tissue-thumb{width:47px;height:33px}.switch{width:35px;height:21px}.switch:before{width:15px;height:15px}.switch:checked:before{transform:translateX(14px)}.view-options button{font-size:12px}.note-body{padding:28px}.note-heading{padding:18px 22px}.note-heading h1{font-size:19px}textarea{font-size:16px;min-height:185px}label{font-size:11px}.intensity-heading label,.duration-field label{font-size:11px}.input-wrap input{font-size:12px}.input-wrap input::placeholder{font-size:11px}.input-wrap .icon{top:12px}.measurements{margin:26px 0 20px;padding-top:22px}.save-note{padding:14px;font-size:12px}.notice p{font-size:11px}.more-note summary{font-size:11px}.context{font-size:9px!important}.note-pagination{font-size:10px}.note-heading #note-number{font-size:12px}footer{margin:0 40px 25px;padding:12px 21px}.mode-buttons span,footer>button{font-size:12px}.zoom-buttons #reset{font-size:11px}footer>p{font-size:9px;max-width:230px}}
@media(max-width:1150px){header{gap:18px;padding:18px 23px;min-height:83px}.brand{gap:12px}.brand svg{width:34px}.brand span{font-size:28px}.subtitle,.demo-label{display:none}nav{gap:10px;max-width:500px}.step{font-size:9px;gap:7px}.step b{width:28px;height:28px}.step-link{min-width:12px}main{grid-template-columns:196px minmax(220px,1fr) 310px;gap:17px;padding:18px 20px 12px}.settings section{padding:16px 13px}.view-thumb{height:92px}.layer-row{grid-template-columns:34px 1fr 30px;gap:7px;font-size:10px}.tissue-thumb{width:34px;height:26px}.switch{width:30px}.switch:checked:before{transform:translateX(11px)}.note-body{padding:18px}.note-heading{padding:14px}.note-heading h1{font-size:14px}.measurements{gap:10px}.duration-field{padding-left:10px}footer{gap:10px;margin:0 20px 16px;padding:9px 12px}.mode-buttons button{padding:9px 12px}.mode-buttons span{font-size:9px}.zoom-buttons{gap:4px;padding-left:10px}footer>p{display:none}footer>button{margin-left:auto;font-size:9px}.zoom-buttons #reset{font-size:9px}}
@media(max-width:800px){header{padding:16px 20px;gap:17px;min-height:75px}.brand svg{width:29px}.brand span{font-size:25px}.brand{gap:9px}nav{max-width:400px;gap:7px}.step span{font-size:8px;letter-spacing:0}.step b{width:24px;height:24px;font-size:12px}.step{gap:5px}.step-link{min-width:8px}main{grid-template-columns:170px minmax(180px,1fr);padding:16px;gap:14px}.settings{overflow:visible;padding:0}.settings section{padding:16px 12px}.settings h2{font-size:10px;letter-spacing:.1em}.view-thumb{height:105px}.layer-row{grid-template-columns:30px 1fr 27px;gap:5px;font-size:9px}.tissue-thumb{width:30px;height:25px}.switch{width:27px;height:18px}.switch:before{width:12px;height:12px}.switch:checked:before{transform:translateX(9px)}.layer-info{font-size:7px}.view-options button{font-size:9px}.viewport{min-height:630px}.note-panel{grid-column:1/-1;margin-top:4px;margin-bottom:105px;max-height:none}.note-heading h1{font-size:18px}.note-body{padding:24px}.note-body form{display:block}.note-body label{margin:16px 0 8px}.measurements{grid-template-columns:1.2fr 1fr;margin-top:22px}.intensity-heading label{margin:0}.duration-field label{margin:0 0 12px!important}.notice p{font-size:11px}textarea{font-size:15px;min-height:125px}.context{font-size:10px!important}footer{position:fixed;bottom:9px;left:10px;right:10px;margin:0;padding:9px 11px;gap:6px;border-radius:27px;justify-content:space-between;flex-wrap:wrap}.mode-buttons{gap:5px}.mode-buttons button{padding:8px 10px}.mode-buttons .icon{width:18px;height:18px}.mode-buttons span{font-size:10px}.zoom-buttons{padding-left:8px;gap:2px}.zoom-buttons button{padding:7px}.zoom-buttons .icon{width:19px;height:19px}.zoom-buttons #reset{display:none}footer>button{font-size:9px;padding:10px 12px;gap:6px;margin-left:0}footer>button .icon:last-child{display:none}footer>button .icon{width:16px;height:16px}.selection-caption{left:5%;width:90%;font-size:8px}}
@media(max-width:460px){header{padding:14px 16px;gap:13px}.brand span{font-size:26px}header nav{width:100%;max-width:none;gap:8px}.step span{font-size:8px}.step b{width:25px;height:25px}main{grid-template-columns:139px minmax(130px,1fr);padding:10px;gap:8px}.settings{gap:12px}.settings section{padding:13px 10px;border-radius:15px}.settings section:before{border-radius:11px}.segmented{padding:2px;gap:1px}.segmented button{font-size:9px;padding:7px 3px}.view-divider{font-size:8px;margin:13px 0 7px}.views{gap:6px}.views button{padding:4px 2px 7px;border-radius:9px}.view-thumb{height:92px}.views button>span{font-size:8px}.views .view-dot{right:4px;top:5px;width:4px;height:4px}.layer-row{grid-template-columns:25px 1fr 25px;gap:5px;padding:10px 0;font-size:8px}.layer-row small{font-size:6px}.tissue-thumb{width:25px;height:24px;border-radius:5px}.switch{width:25px;height:17px}.switch:before{width:11px;height:11px}.switch:checked:before{transform:translateX(8px)}.layer-info{font-size:7px;line-height:1.5}.viewport{min-height:570px}.view-hint{top:5px;font-size:7px;padding:0 12px;line-height:1.6}.model-count{font-size:7px;padding:0 10px;line-height:1.5}.selection-caption{font-size:7px;bottom:45px}.note-body{padding:20px}.note-heading h1{font-size:16px}.measurements{grid-template-columns:1.1fr 1fr;gap:16px}.duration-field{padding-left:16px}.input-wrap input{font-size:11px}.more-note summary{font-size:10px}.save-note{font-size:11px}footer{left:7px;right:7px;bottom:7px;padding:8px;gap:6px}.mode-buttons{flex:1;justify-content:space-between}.mode-buttons button{padding:9px 11px;gap:6px}.mode-buttons span{font-size:10px}.zoom-buttons{border-left:0;padding:0}.zoom-buttons button{padding:8px}.zoom-buttons .icon{width:20px;height:20px}footer>button{width:100%;justify-content:center;padding:9px;font-size:10px;border-radius:18px}.note-panel{margin-bottom:125px}.credits{font-size:7px}}
@media(prefers-reduced-transparency:reduce){.settings section,.note-panel,header,footer{backdrop-filter:none;background:#f3f2e7}}@media(prefers-reduced-motion:reduce){button{transition:none}}@media print{.measurements{display:block}.dialog-head h2{letter-spacing:0}}
/* Usability pass: readable labels, explicit orientation, reachable controls. */
:root{--muted:#526754;--focus:#315f4b;--control-height:44px}
::selection{background:#c4d9bc;color:#193e31}input,textarea{caret-color:var(--focus)}
*{scrollbar-color:#91a58a #ecede3;scrollbar-width:thin}button,input,textarea{scroll-margin:24px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,#canvas-wrap:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
button:disabled{opacity:.5}.step{min-height:44px;font-size:12px}.step span{font-size:12px}.demo-label{font-size:11px;color:var(--muted)}
.settings h2{font-size:12px;letter-spacing:.08em}.segmented button{font-size:13px;min-height:44px}.views button>span{font-size:11px}.view-divider{font-size:11px;color:var(--muted)}
.layer-row{min-height:52px;font-size:13px;grid-template-columns:35px 1fr 32px;gap:8px}.layer-row span{color:var(--ink);font-size:13px;font-weight:500}.layer-row small{font-size:11px;color:var(--muted)}.tissue-thumb{width:35px;height:30px}.layer-info,.credits,.credits summary{font-size:11px;color:var(--muted)}
.view-options button{font-size:12px;min-height:44px;padding:9px 0}.view-options button:last-child{margin-top:0;padding-top:9px}.view-thumb{height:92px}.settings section{padding:16px 14px}.settings{gap:12px}
.context{font-size:12px!important;color:var(--ink);line-height:1.55!important}.note-body label,.intensity-heading label,.duration-field label{font-size:12px}.note-body textarea{font-size:15px}.input-wrap input,input[type=text]{font-size:14px;min-height:44px}.input-wrap input::placeholder,textarea::placeholder{color:#637360;opacity:1;font-size:13px}.intensity-heading output{font-size:14px;color:#905039}.scale,.scale button,.more-note summary{font-size:12px}.scale button{min-height:36px;padding:5px}.more-note summary{min-height:44px;display:flex;align-items:center;justify-content:space-between}.save-note{min-height:44px;font-size:13px}.note-pagination{font-size:12px}.note-pagination button{min-width:44px;min-height:44px}.delete-note{font-size:12px;min-height:44px;color:#85503c}.notice p{font-size:12px;color:#41583f}.notice{padding:12px;margin-top:16px}
.navigation-help{margin-top:16px;border-top:1px solid var(--line);font-size:12px}.navigation-help summary{min-height:44px;cursor:pointer;align-content:center}.navigation-help p{font-size:12px;color:var(--muted)}
.orientation-nav{position:absolute;top:4px;left:10px;right:10px;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px;pointer-events:none}.orientation-nav button{pointer-events:auto;font-size:12px;min-height:44px;padding:8px 12px;background:#f7f7eebd;border-color:#96a78a80;backdrop-filter:blur(12px)}.orientation-nav output{font-size:12px;font-weight:650;text-align:center;min-width:80px;color:var(--ink)}.view-hint{top:58px;font-size:11px;color:#52674d;padding:0 16px}.selection-caption{bottom:34px;left:3%;width:94%;font-size:12px;white-space:normal;line-height:1.4;padding:6px 12px}.model-count{font-size:11px;color:#53694e;bottom:10px}
#canvas-wrap:focus-visible{outline-offset:-5px}.mark-mode:after{content:'';pointer-events:none;position:absolute;left:calc(50% - 6px);top:calc(50% - 6px);width:12px;height:12px;border:1px solid #93543e;border-radius:50%;box-shadow:0 0 0 2px #fff9}
.anatomy-finder label{font-size:11px;margin:0 0 6px;color:var(--muted)}#anatomy-search{width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid #93a58b;border-radius:10px;background:#f8f8ee;color:var(--ink);font-size:13px}#anatomy-search::placeholder{color:#637360}#search-results{max-height:280px;overflow:auto}#search-results p{font-size:11px;color:var(--muted);line-height:1.5}#search-results button{display:block;text-align:left;min-height:44px;width:100%;font-size:12px;padding:10px 4px;border:0;border-bottom:1px solid var(--line);border-radius:0;line-height:1.5}
footer .mode-buttons span,footer>button,footer .zoom-buttons #reset{font-size:12px}footer button{min-height:44px}.zoom-buttons button{min-width:44px}.summary-note h3{font-size:15px}.summary-note small{font-size:13px;color:var(--muted)}.summary-note p{font-size:15px}.summary-locate{font-size:12px;min-height:44px;margin-top:12px}.dialog-actions button{font-size:13px;min-height:44px}.small{font-size:12px;color:var(--muted)}
.status-message{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:20;max-width:min(600px,calc(100vw - 32px));width:max-content;padding:13px 18px;border:1px solid #789171;background:#f6f5e9;color:#244b43;box-shadow:0 6px 24px #28492d26;border-radius:12px;font-size:13px;line-height:1.5;margin:0;pointer-events:none}
@media(min-width:1151px){main{grid-template-columns:248px minmax(260px,1fr) 380px;gap:20px}.note-heading h1{font-size:17px}.note-body{padding:22px}.settings{padding-bottom:15px}}
@media(min-width:801px) and (max-width:1150px){main{grid-template-columns:218px minmax(210px,1fr) 320px;gap:12px;padding:16px 14px}.step span{font-size:11px}.settings section{padding:13px}.note-body{padding:16px}.layer-row span{font-size:12px}.measurements{grid-template-columns:1fr;gap:16px}.duration-field{padding:0;border:0}.view-thumb{height:82px}}
@media(max-width:800px){header{padding:14px 16px;gap:8px}.brand span{font-size:26px}header nav{width:100%;max-width:none;justify-content:space-between;gap:5px}.step{gap:6px}.step span{font-size:11px}.step b{width:27px;height:27px}.step-link{min-width:8px}main{display:flex;flex-direction:column;gap:16px;padding:14px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:12px;overflow:visible}.settings section{padding:14px 12px;min-width:0}.settings h2{font-size:12px}.segmented button{font-size:12px}.views{gap:8px}.view-thumb{height:80px}.views button>span{font-size:11px}.view-divider{margin-top:12px}.layer-row{grid-template-columns:30px 1fr 28px;gap:6px;padding:8px 0;min-height:50px}.layer-row span{font-size:12px}.layer-row small{font-size:10px}.layer-info{font-size:11px}.tissue-thumb{width:30px;height:27px}.view-options{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}.view-options h2{width:100%;margin-bottom:4px}.view-options button{font-size:12px;width:calc(50% - 6px);border:0;min-height:44px}.anatomy-finder{grid-column:1/-1}.anatomy-finder h2{margin-bottom:10px}.credits{grid-column:1/-1;margin:0 4px;font-size:11px}.viewport{min-height:520px;height:70svh;max-height:760px}.view-hint{font-size:11px;top:58px}.selection-caption{font-size:12px;bottom:40px}.model-count{font-size:11px;bottom:12px}.note-panel{margin:0 0 135px;max-height:none;width:100%}.note-body{padding:22px}.note-heading h1{font-size:18px}.measurements{grid-template-columns:1fr 1fr;gap:16px}.duration-field{padding-left:16px}.notice p{font-size:12px}.note-body textarea,.input-wrap input{font-size:16px}footer{padding:8px;gap:6px;bottom:8px;left:8px;right:8px}.mode-buttons button{min-height:44px;padding:8px 10px}.mode-buttons span{font-size:12px!important}.zoom-buttons{border:0;padding:0;gap:0}.zoom-buttons button{padding:8px;min-width:44px}.zoom-buttons .icon{width:20px;height:20px}footer>button{font-size:12px;min-height:44px;width:100%;justify-content:center}.status-message{bottom:130px}.summary-note p{font-size:15px}dialog{padding:22px}.dialog-head h2{font-size:23px}.dialog-actions button{flex:1;white-space:nowrap}}
@media(max-width:380px){.settings{grid-template-columns:1fr}.view-thumb{height:110px}.layer-row span{font-size:14px}.measurements{grid-template-columns:1fr}.duration-field{border:0;padding-left:0}.mode-buttons span{font-size:11px!important}.mode-buttons button{padding:8px}.step span{font-size:10px}.viewport{min-height:480px}}
@media print{.summary-locate,.status-message{display:none!important}.summary-note{break-inside:avoid}dialog{background:white;color:#163c2e}.summary-note small{color:#304c3b}}
/* Contrast adjustments preserve the sage / ivory / peach palette. */
.step{color:#4c6350}.step b{color:#36543e}.step.current b{background:linear-gradient(145deg,#5d7b61,#42664b)}.step:disabled{opacity:.6}.note-heading{background:linear-gradient(120deg,#59765e,#496b54);color:#fffdf2}.note-symbol{border-color:#dce7d5}.mode-buttons button.active{background:linear-gradient(135deg,#55765b,#3c6249);color:#fffdf2}.mode-buttons .mark,.mode-buttons .mark.active{color:#683e2c}.mode-buttons .mark.active{background:linear-gradient(135deg,#edb493,#de9a79)}.step.current,.step.complete{color:var(--ink)}.note-body #empty-note h2{text-transform:none;font-size:22px;letter-spacing:0;font-weight:500;line-height:1.3}.navigation-help{padding-top:8px}.note-heading #note-number{font-size:12px}.save-note:hover{background:#365c44;color:#fffdf2}footer>button{margin-left:auto}
@media(max-width:800px){footer>button{margin-left:0}}
@media(max-width:800px){
 header nav{min-width:0}.step{white-space:normal;flex:1;min-width:0}.step span{line-height:1.35;letter-spacing:0;text-align:left}.step b{flex:none}.step-link{display:none}
 main{display:flex}.settings{display:contents}.settings>section:first-child{order:0;display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;align-items:center}.settings>section:first-child h2{margin:0}.settings>section:first-child .segmented{grid-column:1;grid-row:2}.settings>section:first-child .view-divider{display:none}.settings>section:first-child .views{grid-column:2;grid-row:1/3;margin:0}.settings>section:first-child .view-thumb{height:64px}.settings>section:first-child .views button{padding:4px}.settings>section:nth-child(2){order:2}.settings>section.view-options{order:3}.settings>section.anatomy-finder{order:4}.settings>.credits{order:6;margin-bottom:130px}.viewport{order:1;min-height:490px;height:65svh}.note-panel{order:5;margin-bottom:0}.layer-row{grid-template-columns:39px 1fr 32px}.layer-row span{font-size:14px}.tissue-thumb{width:39px;height:30px}.note-panel{flex-shrink:0}.scale button{min-height:44px}
}
@media(max-width:380px){.settings>section:first-child{gap:8px}.step span{font-size:10px}.settings>section:first-child .view-thumb{height:52px}.segmented button{font-size:11px}.orientation-nav{gap:5px}.orientation-nav output{min-width:65px}.orientation-nav button{font-size:11px}}
@media(max-width:800px){header nav{flex:0 0 100%;width:100%;max-width:100%}.step{justify-content:flex-start;gap:5px}.step span{overflow-wrap:anywhere}.step b{width:25px;height:25px}.step-link{display:none}}
