*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101927;color:#eef2f7;font:15px/1.5 Arial,Helvetica,sans-serif}button,a,input{font:inherit}button,a{color:inherit}button{border:1px solid #52627a;background:#26364b;cursor:pointer;border-radius:10px;padding:10px 14px;min-height:44px}button:hover{background:#344b65}button.active,button[aria-pressed=true]{background:#edb69d;color:#182132;border-color:#edb69d}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #9fd7de;outline-offset:3px}[hidden]{display:none!important}#workspace{position:relative;width:100vw;height:100dvh}#skin-scene{position:absolute;inset:0;touch-action:none;background:radial-gradient(ellipse at 55% 46%,#344359,#111b2b 72%)}#skin-scene canvas{display:block;width:100%;height:100%}.topbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:16px;height:76px;padding:12px 24px;background:linear-gradient(#111b2bf5,#111b2be0);border-bottom:1px solid #ffffff17}.home{display:grid;place-items:center;text-decoration:none;width:36px;height:36px;border:1px solid #bdc9d9;border-radius:50%;font:22px Georgia,serif}.topbar strong{font:24px Georgia,serif}.topbar span{display:block;font-size:12px;letter-spacing:.1em;color:#a9bed4}.scale-tools{display:flex;gap:6px;margin-left:auto}.topbar button{font-size:14px}.tool-rail{position:absolute;left:18px;top:100px;bottom:86px;display:flex;flex-direction:column;gap:5px;overflow-y:auto;scrollbar-width:thin}.tool{width:74px;min-height:49px;padding:4px 4px;background:#162337eb;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:12px}.tool svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}.palette{position:absolute;left:108px;top:100px;width:255px;max-height:calc(100dvh - 290px);overflow:auto;padding:16px;background:#182638f2;border:1px solid #63759155;border-radius:16px;box-shadow:0 12px 40px #0003;backdrop-filter:blur(15px)}.palette-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.palette-heading h2{font:22px Georgia,serif;margin:0 0 8px}.palette-heading button{background:transparent;border:0;min-width:36px;padding:4px;font-size:24px}.palette #options{display:grid;gap:7px}.palette #options button{text-align:left;font-size:14px}.palette select{width:100%;padding:10px;background:#26364b;color:white;border:1px solid #52627a;border-radius:8px;font:inherit}.palette p,.lesson p{color:#c4d2e3;margin:8px 0}.palette label{display:block;font-size:14px;margin-top:8px}.model-title{position:absolute;top:98px;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;max-width:45%}.model-title span{color:#b7cadd;font-size:13px}.model-title h1{font:30px Georgia,serif;margin:4px 0;color:#fff;text-shadow:0 2px 8px #0005}.lesson{position:absolute;right:20px;top:100px;bottom:100px;width:340px;overflow:auto;background:#162538f5;padding:22px;border:1px solid #63759155;border-radius:16px;backdrop-filter:blur(15px)}.lesson h3{color:#edb69d;font-size:15px;margin:18px 0 5px}.lesson a{color:#edb69d;display:block;margin:8px 0}.lesson details{margin-top:16px;border-top:1px solid #63759155;padding-top:12px}.lesson summary{cursor:pointer}.bottom-bar{position:absolute;bottom:0;left:0;right:0;height:72px;display:flex;align-items:center;gap:10px;padding:12px 22px;background:#111b2bee;border-top:1px solid #ffffff17}.bottom-bar span{font-size:13px;color:#bdcede}.gesture{margin-left:auto}.model-limit{position:absolute;right:20px;bottom:82px;color:#a6b8cb;font-size:12px}.course-controls,.tightening{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);width:min(440px,40vw);background:#162638eb;border:1px solid #63759155;padding:10px 16px;border-radius:14px}.course-controls label,.tightening label{display:block;font-size:14px}.course-controls input,.tightening input{width:100%;accent-color:#edb69d}.course-controls span{font-size:12px;color:#b7cadd}.tightening{bottom:180px}.tightening output,.course-controls output{float:right;color:#edb69d}#notice{position:absolute;bottom:83px;left:108px;color:#edb69d;font-size:13px;max-width:240px;pointer-events:none}.preview-mode .topbar,.preview-mode .tool-rail,.preview-mode .palette,.preview-mode .lesson,.preview-mode .bottom-bar,.preview-mode .model-title,.preview-mode .model-limit,.preview-mode #notice{display:none!important}@media(max-width:900px){.palette{width:220px}.lesson{width:300px}.model-title{left:65%;max-width:55%}.gesture,#active-items{display:none}.course-controls,.tightening{left:auto;right:20px;transform:none;width:40vw}}@media(max-width:600px){.topbar{padding:10px 12px;gap:10px;height:68px}.topbar strong{font-size:20px}.topbar span{display:none}.scale-tools{gap:3px}.scale-tools button{padding:6px;font-size:12px}#reference{display:none}.tool-rail{top:auto;bottom:74px;left:8px;right:8px;height:65px;flex-direction:row;overflow-x:auto;overflow-y:hidden}.tool{flex-shrink:0;width:62px;min-height:58px;font-size:11px}.palette{left:10px;top:80px;width:200px;max-height:calc(100dvh - 290px)}.model-title{top:82px;left:auto;right:14px;transform:none;max-width:44%}.model-title h1{font-size:22px}.lesson{top:80px;left:10px;right:10px;width:auto;bottom:155px}.bottom-bar{padding:10px;height:68px}.course-controls,.tightening{left:10px;right:10px;width:auto;bottom:151px;padding:8px 12px}.tightening{bottom:247px}.model-limit{display:none}#notice{left:12px;bottom:142px;font-size:12px}.course-controls span{font-size:11px}.bottom-bar button{font-size:14px}}

.course-controls,.tightening{width:min(580px,46vw)}.tightening{bottom:226px}.course-controls p,.tightening p{font-size:12px;color:#d4e0ed;margin:4px 0}.time-ticks{display:flex;justify-content:space-between;font-size:10px;margin:0 0 4px;color:#d0beaa}.time-ticks span{font-size:10px}.palette{max-height:calc(100dvh - 215px)}.model-title h1{font-size:27px}@media(max-width:900px){.course-controls,.tightening{width:44vw}}@media(max-width:600px){.course-controls,.tightening{width:auto}.tightening{bottom:288px}.palette{max-height:calc(100dvh - 420px)}.model-title h1{font-size:20px}}

.anatomy-key{position:absolute;right:22px;bottom:125px;display:grid;gap:5px;padding:12px 15px;border-left:1px solid #c7b39a55;color:#cbd7e5;font-size:12px;pointer-events:none}.anatomy-key strong{font:16px Georgia,serif;color:#ecceba}.anatomy-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px}.preview-mode .anatomy-key{display:none}@media(max-width:900px){.anatomy-key{display:none}}

.course-picker{display:grid;gap:2px;margin-left:auto;color:#edb69d;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.course-picker select{background:#26364b;border:1px solid #52627a;border-radius:9px;color:#eef2f7;padding:8px 12px;font:14px Arial,Helvetica,sans-serif;max-width:220px;min-height:40px}.course-picker select:focus-visible{outline:3px solid #9fd7de;outline-offset:3px}.practice-mode .palette{width:285px}.practice-stages{display:flex;gap:4px;margin-bottom:8px}.practice-stages button{flex:1;min-width:0;padding:6px!important;font-size:12px!important;text-align:center!important}.pad-checks label{display:flex;gap:8px;align-items:flex-start;line-height:1.5;font-size:13px!important}.pad-checks input{accent-color:#edb69d;flex-shrink:0;margin-top:4px}.palette h3{margin:8px 0 0;color:#edb69d;font-size:14px}.small-note{font-size:11px!important;color:#a8bbd0!important}.course-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.preview-mode .course-picker,.preview-mode .course-status{display:none!important}@media(max-width:900px){.topbar{gap:10px}.course-picker select{max-width:185px}.scale-tools{gap:3px}.practice-mode .palette{width:250px}.topbar .scale-tools button{padding:8px}}@media(max-width:600px){.topbar strong{font-size:18px}.home{width:28px;height:28px;font-size:17px}.course-picker select{max-width:155px;font-size:12px;padding:6px}.topbar #exit-course{font-size:11px;padding:6px;max-width:76px}.topbar:not(:has(#exit-course[hidden])) .home{display:none}.topbar .scale-tools{display:none}.practice-mode .palette{width:220px;max-height:calc(100dvh - 395px)}.model-title{max-width:38%}.model-title h1{font-size:18px}}
@media(min-width:901px){.practice-mode .course-controls,.practice-mode .tightening{left:calc(50% + 75px);width:min(580px,44vw)}}

/* Shared responsive sizing: a quarter-width sidebar, or a quarter-height touch dock. */
:root{--panel-width:clamp(260px,25vw,420px);--safe-bottom:env(safe-area-inset-bottom,0px)}
.interaction-panel,.response-controls{display:contents}
.palette,.practice-mode .palette{width:var(--panel-width);font-size:16px}
.palette #options button,.palette label,.pad-checks label{font-size:16px!important}
.practice-stages button{font-size:14px!important;min-height:44px}
.palette select,.course-picker select{font-size:16px;min-height:44px}
.pad-checks input{width:20px;height:20px}
.lesson{width:var(--panel-width);font-size:16px}
.tool{min-height:56px;font-size:13px}
.course-controls input,.tightening input{min-height:30px;margin:0;cursor:pointer;touch-action:pan-y}
@media(min-width:701px){
 .palette,.practice-mode .palette{left:104px;top:100px;max-height:calc(100dvh - 198px)}
 .model-title{left:calc(50% + var(--panel-width)/2);max-width:calc(65vw - 160px)}
 .course-controls,.tightening,.practice-mode .course-controls,.practice-mode .tightening{left:auto;right:20px;transform:none;width:calc(100vw - var(--panel-width) - 148px);max-width:680px}
 .tightening{bottom:228px}.course-controls{bottom:90px}
 .lesson{z-index:5;right:20px;top:100px;bottom:90px}
}
@media(min-width:701px) and (max-width:1100px){
 .topbar{gap:8px;padding-inline:16px}.topbar strong{font-size:20px}.topbar span{display:none}
 .course-picker select{max-width:190px}.topbar button{padding-inline:8px}.scale-tools{margin-left:0}
 .model-title h1{font-size:24px}.anatomy-key{display:none}
}
@media(max-width:700px) and (orientation:portrait){
 :root{--touch-dock:clamp(200px,25dvh,300px);--footer:calc(58px + var(--safe-bottom));--rail:76px}
 .topbar{height:112px;padding:8px 12px;display:grid;grid-template-columns:32px minmax(85px,1fr) minmax(160px,1.6fr);gap:4px 8px}
 .topbar strong{font-size:19px}.topbar span{display:none}.home{width:30px;height:30px;font-size:18px}
 .topbar:not(:has(#exit-course[hidden])) .home{display:grid}
 .course-picker{margin:0;min-width:0;font-size:11px}.course-picker select{width:100%;max-width:none;font-size:16px;padding:6px;min-height:44px}
 .topbar #exit-course{grid-column:1/-1;font-size:15px;max-width:none;min-height:40px;padding:4px 10px}
 .topbar .scale-tools{grid-column:1/-1;display:flex;justify-content:center;margin:0}.scale-tools button{font-size:15px;min-height:40px;flex:1}#reference{display:none}
 .model-title{top:124px;left:12px;right:12px;transform:none;max-width:none}.model-title h1{font-size:22px}.model-title span{font-size:12px}
 .interaction-panel{position:absolute;left:10px;right:10px;bottom:calc(var(--footer) + var(--rail) + 8px);height:var(--touch-dock);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);background:#182638f5;border:1px solid #63759177;border-radius:16px;box-shadow:0 12px 40px #0005;overflow:hidden;backdrop-filter:blur(15px)}
 .interaction-panel:has(.response-controls > [hidden]):not(:has(.response-controls > :not([hidden]))){grid-template-columns:1fr}
 .interaction-panel:has(.palette[hidden]){grid-template-columns:1fr}
 .palette,.practice-mode .palette{position:static;width:auto;max-height:none;height:100%;padding:12px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:auto;overscroll-behavior:contain}
 .palette-heading h2{font-size:21px}.palette #options{gap:8px}.palette #options button{padding:10px 8px;min-height:46px;font-size:16px}
 .practice-stages{flex-wrap:wrap}.practice-stages button{flex-basis:40%;font-size:14px!important}
 .response-controls{display:flex;flex-direction:column;min-width:0;overflow:auto;overscroll-behavior:contain;border-left:1px solid #63759155;padding:6px 10px}
 .response-controls:not(:has(> :not([hidden]))){display:none}
 .course-controls,.tightening,.practice-mode .course-controls,.practice-mode .tightening{position:static;transform:none;width:auto;border:0;background:transparent;border-radius:0;padding:6px 0;margin:0;flex-shrink:0}
 .tightening{order:-1;border-bottom:1px solid #63759155}.course-controls label,.tightening label{font-size:15px;line-height:1.4}.course-controls output,.tightening output{float:none;display:block;font-weight:bold}
 .course-controls p,.tightening p{font-size:13px;line-height:1.4}.course-controls span{font-size:12px}.time-ticks{display:none}
 .tool-rail{top:auto;bottom:var(--footer);left:8px;right:8px;height:var(--rail);flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:6px;padding:5px 0}
 .tool{width:74px;min-height:64px;font-size:13px;flex-shrink:0}.tool svg{width:26px;height:26px}
 .bottom-bar{height:var(--footer);padding:6px 10px calc(6px + var(--safe-bottom));gap:8px}.bottom-bar button{font-size:15px;min-height:44px}.gesture,#active-items{display:none}
 .lesson{left:10px;right:10px;top:120px;bottom:calc(var(--footer) + var(--rail) + 8px);width:auto;z-index:6;padding:18px}
 #notice{left:14px;bottom:calc(var(--footer) + var(--rail) + var(--touch-dock) + 12px);max-width:calc(100vw - 28px);font-size:12px}.model-limit,.anatomy-key{display:none}
 #skin-scene{top:176px;bottom:calc(var(--footer) + var(--rail) + var(--touch-dock) + 32px)}
 .preview-mode #skin-scene{inset:0}.preview-mode .interaction-panel{display:none}
}
@media(max-height:600px) and (orientation:landscape){
 :root{--panel-width:clamp(240px,25vw,320px)}
 .topbar{height:64px;padding:6px 12px;gap:8px}.topbar strong{font-size:18px}.topbar span{display:none}.course-picker select{max-width:180px}.topbar button{font-size:13px;padding:6px}.scale-tools{margin-left:0}
 .tool-rail{top:76px;bottom:64px;left:8px;right:auto;width:64px;height:auto;flex-direction:column;overflow-y:auto;overflow-x:hidden}.tool{width:60px;min-height:48px;font-size:12px}
 .palette,.practice-mode .palette{left:80px;top:76px;width:var(--panel-width);max-height:calc(100dvh - 140px)}
 .model-title{top:74px;left:auto;right:12px;transform:none;max-width:calc(100vw - var(--panel-width) - 110px)}.model-title h1{font-size:20px}
 .course-controls,.tightening,.practice-mode .course-controls,.practice-mode .tightening{left:auto;right:12px;transform:none;width:calc((100vw - var(--panel-width) - 116px)/2);bottom:68px;padding:8px;max-height:42dvh;overflow:auto}
 .tightening,.practice-mode .tightening{right:calc(24px + (100vw - var(--panel-width) - 116px)/2)}
 .course-controls p,.tightening p{font-size:12px}.time-ticks{display:none}.course-controls span{font-size:11px}
 .bottom-bar{height:56px;padding:6px 12px}.lesson{z-index:6;top:76px;bottom:68px;right:12px;left:auto;width:calc(100vw - var(--panel-width) - 116px)}
 .anatomy-key,.model-limit,.gesture,#notice{display:none}
}
.preview-mode .interaction-panel{display:none!important}
@media(max-width:700px) and (orientation:portrait){
 .response-controls{scrollbar-width:thin}.response-controls .course-controls,.response-controls .tightening{display:contents}
 .response-controls label,.response-controls input,.response-controls p,.response-controls > span{flex-shrink:0}
 #tightening label{order:0;padding-top:2px}#tightening input{order:1}#course-controls label{order:2;padding-top:8px}#course-controls input{order:3}
 #response-note,#phase-note,.course-controls > span{order:4}
 .practice-stages{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.practice-stages button{flex:1 0 60px;font-size:14px!important;padding:6px!important}
 .interaction-panel:has(.palette[hidden]):not(:has(.response-controls > :not([hidden]))){display:none}
}
@media(max-width:700px) and (orientation:portrait) and (max-height:700px){
 :root{--touch-dock:clamp(160px,25dvh,200px);--rail:66px;--footer:calc(52px + var(--safe-bottom))}
 .tool{min-height:54px}.model-title{top:116px}.model-title h1{font-size:20px}#skin-scene{top:164px}
}
@media(max-width:700px) and (orientation:portrait){
 .practice-stages{overflow:visible}.practice-stages button{flex:1;min-width:0;padding:4px 2px!important}
 .practice-mode .palette #options > .practice-stages + p{display:none}
}
#workspace{background:radial-gradient(ellipse at 55% 46%,#344359,#111b2b 72%)}#skin-scene{background:transparent}
@media(min-width:701px){
 .response-controls{position:absolute;bottom:90px;right:20px;width:calc(100vw - var(--panel-width) - 148px);max-width:680px;max-height:calc(100dvh - 250px);display:flex;flex-direction:column;gap:10px;overflow:auto;scrollbar-width:thin}
 .response-controls .course-controls,.response-controls .tightening{position:static;transform:none;width:100%;max-width:none;flex-shrink:0;margin:0}.response-controls .tightening{order:-1}
 #skin-scene{left:calc(var(--panel-width) + 120px);top:176px;bottom:350px}
}
@media(max-height:600px) and (orientation:landscape){
 .response-controls{position:absolute;left:calc(var(--panel-width) + 96px);right:12px;bottom:68px;width:auto;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:42dvh;overflow:auto}
 .response-controls .course-controls,.response-controls .tightening{position:static;width:auto;max-height:none;overflow:visible;padding:8px;transform:none}.response-controls .tightening{order:-1}
 #skin-scene{left:calc(var(--panel-width) + 96px);top:124px;bottom:calc(42dvh + 74px)}
}
@media(max-width:700px) and (orientation:portrait){.practice-stages button{padding:4px 1px!important;letter-spacing:-.03em}}
.preview-mode #skin-scene{inset:0!important}
@media(min-width:1101px){.anatomy-key{top:182px;bottom:auto;right:22px}}
@media(max-height:600px) and (orientation:landscape){
 .response-controls{height:112px;max-height:none}.course-controls label,.tightening label{font-size:13px}.response-controls .course-controls,.response-controls .tightening{padding:6px 8px}
 #skin-scene{top:124px;bottom:194px}
}
@media(max-height:600px) and (orientation:landscape){#skin-scene{top:96px;bottom:140px}}
.label-compact{display:none}
@media(max-width:700px) and (orientation:portrait){
 .response-controls label{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:30px}
 .response-controls .label-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .response-controls .label-compact{display:inline;font-size:15px}
 .response-controls output{display:inline;max-width:90px;font-size:13px;text-align:right}
 .response-controls label .label-compact{flex-shrink:0}
}
@media(max-width:700px) and (orientation:portrait){
 .practice-stages button{font-size:13px!important;letter-spacing:0}
 #response-note{order:4}#phase-note{order:5}.course-controls > span{order:6}
}

.return-haptiforme{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 14px;border:1px solid #edb69d;border-radius:10px;color:#edb69d;background:#182638;text-decoration:none;white-space:nowrap}.return-haptiforme:hover{background:#edb69d;color:#182132}
@media(max-width:700px){.bottom-bar{gap:6px;padding-inline:8px}.bottom-bar > button,.bottom-bar > .return-haptiforme{flex:1;min-width:0;padding:6px;font-size:14px}.return-haptiforme{gap:4px}}

.wound-choices{display:grid;gap:8px}.wound-choices button{text-align:left}.palette #wound-type{font-size:16px;min-height:48px}.catalog-mode .model-title h1{font-size:25px}
@media(max-width:700px) and (orientation:portrait){.catalog-mode #skin-scene{left:0}.catalog-mode .model-title h1{font-size:21px}}
@media(min-width:701px){.catalog-mode #skin-scene{bottom:110px}.catalog-mode #notice{left:auto;right:20px;bottom:82px;max-width:calc(100vw - var(--panel-width) - 150px)}}
@media(max-height:600px) and (orientation:landscape){.catalog-mode #skin-scene{bottom:68px}}
.tool[data-tool="disease"] span{font-size:11px}
@media(min-width:701px){.catalog-mode .model-limit{bottom:104px}}

/* Give the interactive anatomy the main viewing area, with paired controls below. */
@media(min-width:901px) and (min-height:601px){
 #skin-scene{top:154px;bottom:236px;right:24px}
 .response-controls{display:grid;grid-template-columns:1fr 1fr;bottom:86px;max-width:none;max-height:140px;gap:12px}
 .response-controls .course-controls,.response-controls .tightening{height:136px;padding:12px 14px;overflow:auto}
 .response-controls .time-ticks{display:none}
 .response-controls p{font-size:12px;line-height:1.4}
 .anatomy-key{top:164px;right:26px;background:#152237b8;padding:10px 14px;border-radius:10px}
 .catalog-mode #skin-scene{bottom:110px}
}

.tissue-callout{position:absolute;z-index:2;max-width:150px;padding:5px 8px;border:1px solid #d9b79580;border-radius:6px;color:#f7e4d6;background:#172231ed;font:12px/1.3 Arial,sans-serif;pointer-events:none;box-shadow:0 3px 12px #0003}.tissue-callout[hidden]{display:none}.tissue-callout--fat{border-left:3px solid #bca77b}.tissue-callout--vessel{border-left:3px solid #b47f85}
@media(max-width:700px){.tissue-callout{font-size:11px;padding:4px 6px;max-width:142px}}

/* Compact workspace: primary actions first; explanations opened on demand. */
.tool[hidden]{display:none!important}.visibility-controls{display:grid;grid-template-columns:1fr 1fr;gap:6px}.palette-closed .palette{display:none}.course-status,.model-limit{display:none!important}.anatomy-key{display:none!important}
@media(min-width:701px){
 :root{--panel-width:clamp(230px,20vw,280px)}
 .palette{max-height:calc(100dvh - 190px)}
 .palette-closed #skin-scene{left:108px;right:20px}
 .palette-closed .response-controls{left:108px;right:20px;width:auto}
 .palette-closed .model-title{left:calc(50% + 44px);right:auto;transform:translateX(-50%);max-width:70%}
 .response-controls .course-controls,.response-controls .tightening{height:auto;min-height:108px;overflow:auto}
 #skin-scene{bottom:212px}
 .catalog-mode #skin-scene{bottom:104px}
}
@media(min-width:901px) and (min-height:601px){.response-controls{max-height:112px}.response-controls .course-controls,.response-controls .tightening{padding:10px 14px;min-height:108px}.model-title{top:100px}}
@media(max-width:700px) and (orientation:portrait){
 .palette-closed .interaction-panel{display:block}
 .palette-closed .response-controls{height:100%;width:100%;padding:12px 16px;overflow:auto}
 .palette-closed .response-controls label{min-height:32px}
 .palette-closed .response-controls input{width:100%}
 .palette-closed #skin-scene{left:0;right:0}
 .palette-closed .response-controls #phase-note,.palette-closed .response-controls #response-note{font-size:12px;margin:5px 0}
}
@media(max-height:600px) and (orientation:landscape){.palette-closed #skin-scene{left:88px;bottom:140px}.palette-closed .response-controls{left:88px;right:12px;height:100px}.response-controls .course-controls,.response-controls .tightening{min-height:0}}

@media(max-width:700px) and (orientation:portrait){.tool{width:56px;min-height:60px;font-size:11px}.tool svg{width:24px;height:24px}.tool[data-tool="disease"] span{font-size:10px}}

.model-embed .topbar a[href="atelier.html"],.model-embed .topbar a[href="levres.html"]{display:none}

@media(max-width:700px) and (orientation:portrait){
 .model-embed #skin-scene{top:164px;bottom:132px;left:0;right:0;min-height:120px}
 .model-embed .model-title{top:118px}
 .model-embed .interaction-panel{height:180px;bottom:130px;z-index:5}
 .model-embed .palette-closed .interaction-panel:not(:has(.response-controls > :not([hidden]))){display:none}
 .model-embed #notice{display:none}
}
