.restoration-viewer{color-scheme:dark;--bg:#0c2025;--panel:#153136;--ink:#f3eee1;--muted:#aabbb7;--line:#355052;--gold:#e7c387;--mint:#99d6c0;font-family:DM Sans,system-ui,sans-serif;font-size:15px;color:var(--ink);background:var(--bg)}.restoration-viewer *{box-sizing:border-box}.restoration-viewer{margin:0;background:radial-gradient(ellipse at 20% 20%,#183b3e 0,transparent 65%),var(--bg)}.restoration-viewer button,.restoration-viewer input,.restoration-viewer select{font:inherit}.restoration-viewer a,.restoration-viewer button,.restoration-viewer select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}.restoration-viewer button,.restoration-viewer select{min-height:44px;border:1px solid var(--line);border-radius:7px;background:#17383b;color:var(--ink);padding:10px 14px}.restoration-viewer button{cursor:pointer}.restoration-viewer button:hover:not(:disabled){background:#28494a;border-color:var(--gold)}.restoration-viewer button:disabled{opacity:.45;cursor:default}.restoration-viewer a:focus-visible,.restoration-viewer button:focus-visible,.restoration-viewer canvas:focus-visible,.restoration-viewer input:focus-visible,.restoration-viewer select:focus-visible,.restoration-viewer summary:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.restoration-viewer a{color:var(--gold);text-decoration:none}.restoration-viewer h1,.restoration-viewer h2,.restoration-viewer h3{font-family:Georgia,serif;font-weight:400;margin:0}.restoration-viewer h2{font-size:26px;line-height:1.3}.restoration-viewer h3{font-size:20px}.restoration-viewer p{line-height:1.7}.restoration-viewer [hidden]{display:none!important}.restoration-viewer .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.restoration-viewer .lab{max-width:1232px;margin:auto;padding:16px 24px 24px}.restoration-viewer .workshop{display:grid;grid-template-columns:minmax(0,1fr) 316px;gap:28px;align-items:start}.restoration-viewer .workspace{min-width:0;position:sticky;top:16px}.restoration-viewer .canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:66px;padding:10px;background:#142e33;border:1px solid var(--line);border-radius:12px 12px 0 0}.restoration-viewer .mode-switch,.restoration-viewer .view-buttons{display:flex;gap:4px}.restoration-viewer .canvas-toolbar button{font-size:11px;padding:8px;min-height:36px;white-space:nowrap}.restoration-viewer .canvas-toolbar button[aria-pressed=true]{background:var(--gold);color:#253734;border-color:var(--gold)}.restoration-viewer .view-buttons button{min-width:32px}.restoration-viewer .rotation-control{display:flex;align-items:center;gap:6px;font-size:11px}.restoration-viewer .rotation-control[hidden]{display:none}.restoration-viewer .rotation-control select{width:auto;min-height:44px;padding:6px;font-size:11px}.restoration-viewer #resetView kbd{margin-left:4px;padding:1px 4px;border:1px solid var(--line);border-radius:3px;font:inherit;color:var(--muted)}@media(max-width:680px){.restoration-viewer[data-read-only=false] .canvas-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.restoration-viewer[data-read-only=false] .canvas-toolbar .mode-switch{grid-column:1/3;grid-row:1;min-width:0}.restoration-viewer[data-read-only=false] .canvas-toolbar .fullscreen-enter{grid-column:3;grid-row:1}.restoration-viewer[data-read-only=false] .canvas-toolbar .rotation-control{grid-column:1;grid-row:2;flex-direction:column;align-items:flex-start;gap:0;font-size:10px}.restoration-viewer[data-read-only=false] .canvas-toolbar .rotation-control select{max-width:80px;font-size:10px}.restoration-viewer[data-read-only=false] .canvas-toolbar .view-buttons{grid-column:2/4;grid-row:2;align-self:end;justify-self:end}.restoration-viewer[data-read-only=false] .canvas-toolbar .view-buttons button{padding:5px;font-size:10px}.restoration-viewer[data-read-only=false] .canvas-toolbar #zoomValue{min-width:32px}.restoration-viewer[data-read-only=false] .canvas-toolbar #resetView kbd{margin-left:2px;padding:1px 2px}}.restoration-viewer #zoomValue{min-width:46px;align-self:center;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}.restoration-viewer .view-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 11px;border:1px solid var(--line);border-radius:7px;font-size:11px;white-space:nowrap}.restoration-viewer .view-link:hover{border-color:var(--gold)}.restoration-viewer .scene{position:relative;height:clamp(460px,calc(100svh - 240px),640px);border:1px solid var(--line);border-top:0;overflow:hidden;background:radial-gradient(ellipse at 30% 18%,#294241 0,#10272b 58%,#0b1c20 100%);isolation:isolate}.restoration-viewer canvas{display:block;width:100%;height:100%;touch-action:none}.restoration-viewer .surface-caption{position:absolute;top:20px;left:20px;color:#8aa8a2;font-size:8px;letter-spacing:2px;pointer-events:none}.restoration-viewer .surface-scale{display:none}.restoration-viewer .tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.restoration-viewer .tools button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;gap:6px;padding:8px 10px;background:#183338;font-size:11px;line-height:1.3;overflow-wrap:anywhere}.restoration-viewer .tools .tool-icon{font-size:19px;color:#b8ccc3;line-height:1}.restoration-viewer .tools button[aria-pressed=true]{border-color:var(--gold);background:#394940;color:#f8ddb0}.restoration-viewer .tools button[aria-pressed=true] .tool-icon{color:var(--gold)}.restoration-viewer .feedback{font-size:12px;color:#bed5ca;line-height:1.6;min-height:38px;margin:12px 4px}.restoration-viewer .work-order{min-width:0;background:linear-gradient(155deg,#213e40,#142e32);border:1px solid var(--line);border-radius:12px;padding:24px}.restoration-viewer .eyebrow{display:flex;justify-content:space-between;gap:12px;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--gold);margin:0 0 12px}.restoration-viewer .work-order>p:not(.eyebrow){color:#bed0c9;line-height:1.7;font-size:13px}.restoration-viewer #stageNumber{white-space:nowrap}.restoration-viewer .progress-label{display:flex;justify-content:space-between;font-size:12px;margin:23px 0 8px}.restoration-viewer .progress-label output{color:var(--gold);font-weight:700}.restoration-viewer .progress-label.total{margin-top:12px;color:var(--muted);font-size:11px}.restoration-viewer .progress-label.total output{color:var(--muted)}.restoration-viewer progress{display:block;width:100%;height:5px;border:0;border-radius:3px;overflow:hidden;background:#395451}.restoration-viewer progress::-webkit-progress-bar{background:#395451}.restoration-viewer progress::-webkit-progress-value{background:var(--gold)}.restoration-viewer progress::-moz-progress-bar{background:var(--gold)}.restoration-viewer #totalProgress{height:3px}.restoration-viewer #totalProgress::-webkit-progress-value{background:var(--mint)}.restoration-viewer #totalProgress::-moz-progress-bar{background:var(--mint)}.restoration-viewer .primary{background:var(--gold);border-color:var(--gold);color:#213531;font-weight:700}.restoration-viewer .primary:hover:not(:disabled){background:#f1d29f;color:#162d2a}.restoration-viewer .stage-navigation{margin-top:18px}.restoration-viewer .stage-navigation button,.restoration-viewer .work-order>.quiet{width:100%}.restoration-viewer .quiet{background:transparent;font-size:12px}.restoration-viewer .work-order>.quiet{margin-top:8px}.restoration-viewer .stage-actions{display:grid;gap:6px}.restoration-viewer .stage-actions button{text-align:left;font-size:12px}.restoration-viewer .inspection-list{margin-top:18px}.restoration-viewer #inspectionList button[aria-pressed=true]{border-color:#77bba1;color:#bfe6d5}.restoration-viewer .stage-panel{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.restoration-viewer .stage-panel p{font-size:12px;color:var(--muted)}.restoration-viewer .stage-panel button{width:100%;font-size:12px}.restoration-viewer #selectRepair{touch-action:none}.restoration-viewer .stage-list{list-style:none;counter-reset:step;padding:20px 0 0;margin:24px 0 20px;border-top:1px solid var(--line)}.restoration-viewer .stage-list li{counter-increment:step;font-size:12px;color:#94ada5;padding:7px 0;line-height:1.4}.restoration-viewer .stage-list li:before{content:counter(step,decimal-leading-zero);display:inline-block;width:26px;font-size:10px;color:#79938b}.restoration-viewer .stage-list li.current{color:var(--gold);font-weight:700}.restoration-viewer .stage-list li.done:before{content:"✓";color:var(--mint)}.restoration-viewer details{border-top:1px solid var(--line);padding:15px 0 4px;font-size:12px;line-height:1.65;color:var(--muted)}.restoration-viewer summary{cursor:pointer;min-height:30px;color:var(--ink)}.restoration-viewer summary span{float:right;color:var(--gold)}.restoration-viewer details p{overflow-wrap:anywhere}.restoration-viewer details button{font-size:12px}.restoration-viewer .brush-size{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0;font-size:12px}.restoration-viewer .brush-size>span{flex-basis:100%}.restoration-viewer #restored[aria-pressed=true],.restoration-viewer .brush-size button[aria-pressed=true]{background:var(--gold);color:#213531}.restoration-viewer .regions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.restoration-viewer .regions p{margin:0}.restoration-viewer .regions output{display:block;color:var(--gold)}.restoration-viewer .model-label{font-size:10px;letter-spacing:1px}.restoration-viewer #collectionLinks a{min-height:44px;display:flex;align-items:center}.restoration-viewer .work-order>p.save-note{font-size:11px;color:var(--muted);margin:16px 0 0}.restoration-viewer .completion{margin-top:16px;padding:12px;border:1px solid var(--line);border-radius:7px;background:#17383b;font-size:12px}.restoration-viewer .completion span,.restoration-viewer .completion strong{display:block}.restoration-viewer .completion span{color:var(--muted);margin-top:6px;line-height:1.6}.restoration-viewer .comparison{padding:16px;border:1px solid var(--line);border-top:0}.restoration-viewer .comparison label{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--gold)}.restoration-viewer .comparison label span{color:var(--muted);text-align:center}.restoration-viewer #beforeSlider,.restoration-viewer #explode{display:block;width:100%;height:44px;margin:3px 0 0;accent-color:var(--gold);cursor:pointer;touch-action:pan-y}.restoration-viewer .inspection-panel{margin-top:24px;padding-top:24px;border-top:1px solid var(--line);min-width:0}.restoration-viewer .inspection-panel h2{font-size:23px}.restoration-viewer .inspection-panel fieldset{border:0;padding:0;margin:18px 0 0;min-width:0}.restoration-viewer .inspection-note,.restoration-viewer .inspection-status,.restoration-viewer .part-selection p{font-size:12px;color:var(--muted);line-height:1.6}.restoration-viewer .explode-label{display:flex;justify-content:space-between;font-size:13px}.restoration-viewer .explode-label output{color:var(--gold);font-variant-numeric:tabular-nums}.restoration-viewer .range-ends{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:16px}.restoration-viewer .inspection-panel button{width:100%;font-size:12px}.restoration-viewer .part-selection{margin:20px 0 12px;padding-top:16px;border-top:1px solid var(--line)}.restoration-viewer .part-selection label{font-size:12px}.restoration-viewer .part-selection select{display:block;width:100%;font-size:12px;margin-top:8px}.restoration-viewer .wire-option{display:flex;gap:10px;align-items:center;min-height:44px;font-size:12px;margin-bottom:10px}.restoration-viewer .wire-option input{width:18px;height:18px;accent-color:var(--gold)}.restoration-viewer .inspection-panel button[aria-pressed=true]{border-color:var(--gold);color:var(--gold)}.restoration-viewer #museumScore{display:block;color:var(--gold);font-size:28px;margin-top:18px}.restoration-viewer .score-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.restoration-viewer .score-grid p{margin:0}.restoration-viewer footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--muted);padding-top:24px}.restoration-viewer .panel{position:absolute;z-index:2;background:#143236f5;border:1px solid var(--line);border-radius:12px;padding:24px;max-width:460px}.restoration-viewer .status-panel{top:45%;left:50%;transform:translate(-50%,-50%);width:calc(100% - 40px);text-align:center}.restoration-viewer .status-panel a{display:inline-flex;min-height:44px;align-items:center;margin:10px}.restoration-viewer dialog{background:#153439;color:var(--ink);border:1px solid var(--line);border-radius:12px;max-width:440px;padding:25px}.restoration-viewer dialog::backdrop{background:#001015bb}.restoration-viewer dialog form{display:flex;gap:10px;justify-content:end}.restoration-viewer #mobileNextStage,.restoration-viewer .mobile-progress{display:none}@media(max-width:1000px){.restoration-viewer .lab{padding:12px 14px 24px}.restoration-viewer .workshop{grid-template-columns:minmax(0,1fr);gap:15px}.restoration-viewer .workspace{position:static}.restoration-viewer .canvas-toolbar{padding:6px;gap:5px;flex-wrap:wrap;min-height:58px}.restoration-viewer .canvas-toolbar button{min-height:44px;padding:6px;font-size:10px}.restoration-viewer .view-buttons{margin-left:auto;gap:2px}.restoration-viewer .view-buttons button{min-width:28px}.restoration-viewer .view-link{order:3;width:100%;min-height:36px}.restoration-viewer .mobile-progress{display:flex;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--line);border-top:0;color:var(--gold);background:#183338;font-size:11px}.restoration-viewer .scene{height:clamp(340px,54svh,520px);max-height:calc(120vw - 34px)}.restoration-viewer .surface-caption{font-size:7px;left:12px;top:12px;letter-spacing:1.5px}.restoration-viewer .surface-scale{left:12px;letter-spacing:4px;font-size:12px}.restoration-viewer .feedback{min-height:0}.restoration-viewer #mobileNextStage{display:block;width:100%}.restoration-viewer .work-order{padding:22px}.restoration-viewer .stage-list{display:grid;grid-template-columns:1fr 1fr;gap:3px 10px}.restoration-viewer .stage-list li{font-size:11px}.restoration-viewer .stage-list li:before{width:23px}.restoration-viewer .panel{padding:18px}}@media(min-width:681px) and (max-width:1000px){.restoration-viewer .view-link{order:0;width:auto}.restoration-viewer .view-buttons{margin-left:0}}@media(max-width:380px){.restoration-viewer .mode-switch{width:100%}.restoration-viewer .view-link{order:1;width:auto}.restoration-viewer .view-buttons{order:2}}@media(max-height:740px) and (min-width:761px){.restoration-viewer .workspace{position:static}}.restoration-viewer .bath-unit{font-size:10px;letter-spacing:1.4px;color:var(--gold)}.restoration-viewer .bath-meter{display:grid;gap:8px;padding:14px;margin:16px 0;border:1px solid var(--line);border-radius:8px;background:#102b30}.restoration-viewer .bath-meter strong{font-size:20px;color:var(--gold);font-variant-numeric:tabular-nums}.restoration-viewer .bath-meter output{font-size:22px;font-variant-numeric:tabular-nums}.restoration-viewer .bath-meter small,.restoration-viewer .bath-meter span{font-size:11px;color:var(--muted)}.restoration-viewer #bathStatus{font-size:12px;line-height:1.6;color:var(--gold)}.restoration-viewer #bathPanel{min-width:0}.restoration-viewer #bathPanel p{font-size:12px;line-height:1.6}.restoration-viewer #bathPanel button{min-height:44px;width:100%}.restoration-viewer #bathPanel select,.restoration-viewer #treatmentScenario{display:block;width:100%;min-height:44px;margin-top:8px}.restoration-viewer .bath-table{overflow-x:auto;max-width:100%}.restoration-viewer .bath-table table{border-collapse:collapse;width:100%;font-size:11px;font-variant-numeric:tabular-nums}.restoration-viewer .bath-table caption{text-align:left;padding:8px 0;color:var(--muted)}.restoration-viewer .bath-table td,.restoration-viewer .bath-table th{padding:8px 5px;text-align:left;white-space:nowrap}.restoration-viewer .bath-boundary{border-top:1px solid var(--line)}.restoration-viewer .bath-workspace{padding:16px;background:#142e33;border:1px solid var(--line);border-top:0}.restoration-viewer #bathPanel p:empty{display:none}@media(max-width:1000px){.restoration-viewer .bath-workspace .bath-unit{margin-top:0}.restoration-viewer .bath-workspace .bath-meter{grid-template-columns:1fr 1fr;gap:6px;padding:10px}.restoration-viewer .bath-workspace #bathCalendar,.restoration-viewer .bath-workspace #bathLevel{grid-column:1/-1}.restoration-viewer .bath-workspace #bathActions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.restoration-viewer .bath-workspace #bathActions .primary{grid-column:1/-1}}.restoration-viewer .fullscreen-controls,.restoration-viewer .fullscreen-enter,.restoration-viewer .fullscreen-exit{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px!important;padding:8px 12px!important;border:1px solid #55716d;border-radius:8px;background:#17383b;color:#f3eee1;font:600 12px system-ui!important;cursor:pointer;white-space:nowrap;touch-action:manipulation}.restoration-viewer .fullscreen-controls:hover,.restoration-viewer .fullscreen-enter:hover,.restoration-viewer .fullscreen-exit:hover{background:#28494a;border-color:#e7c387}.restoration-viewer .fullscreen-controls:focus-visible,.restoration-viewer .fullscreen-enter:focus-visible,.restoration-viewer .fullscreen-exit:focus-visible{outline:3px solid #99d6c0;outline-offset:2px}.restoration-viewer .fullscreen-enter svg,.restoration-viewer .fullscreen-exit svg{flex:none}.restoration-viewer .fullscreen-enter{margin-left:auto}.restoration-viewer .modal-card>.fullscreen-enter{justify-self:end}.restoration-viewer [data-fullscreen-host]:has(#gameView[hidden]) .fullscreen-enter{display:none}.restoration-viewer .fullscreen-chrome{display:flex;align-items:center;gap:8px;flex:none;min-height:52px;padding:4px 8px;background:#102b30;z-index:120}.restoration-viewer .fullscreen-title{margin-right:auto;font:600 12px system-ui;color:#bed0c9}.restoration-viewer .fullscreen-status{flex:1;min-width:0;margin:0;padding:0 8px;color:#bed0c9;font:11px/1.4 system-ui;pointer-events:none}.restoration-viewer .fullscreen-status:empty{display:none}.playarea-scroll-lock{overflow:hidden!important;overscroll-behavior:none}.restoration-viewer [data-fullscreen-host].fullscreen-active{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;flex-direction:column;gap:0;align-items:stretch;overflow:hidden;background:#102b30;color:#f3eee1}.restoration-viewer [data-fullscreen-host]:fullscreen{height:100%}.restoration-viewer .fullscreen-active .fullscreen-enter{display:none!important}.restoration-viewer .fullscreen-active>.workspace{position:relative;inset:auto;display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.restoration-viewer .fullscreen-active .canvas-toolbar{flex:none;border:0;border-radius:0;min-height:44px;padding:2px 8px;gap:5px}.restoration-viewer .fullscreen-active .canvas-toolbar button{min-height:44px;padding:6px 10px}.restoration-viewer .fullscreen-active .prototype-link,.restoration-viewer .fullscreen-active .view-link{display:none}.restoration-viewer .fullscreen-active .mobile-progress{display:flex;flex:none;justify-content:space-between;padding:5px 12px;font-size:11px;border:0}.restoration-viewer .fullscreen-active .play-surface,.restoration-viewer .fullscreen-active .playfield,.restoration-viewer .fullscreen-active .scene{flex:1;position:relative;min-height:0;height:auto;max-height:none;border:0;border-radius:0;overflow:hidden}.restoration-viewer .fullscreen-active .scene canvas{width:100%;height:100%}.restoration-viewer .fullscreen-active #relicCanvas,.restoration-viewer .fullscreen-active .play-surface canvas{position:absolute;inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);max-width:none;max-height:none}.restoration-viewer .fullscreen-active .tool-dock{flex:none;display:flex;gap:5px;margin:0;padding:5px 8px;overflow-x:auto;grid-column:auto}.restoration-viewer .fullscreen-active .tool-dock button{flex:1 0 88px;min-height:48px;padding:4px 7px;display:flex;flex-direction:row;gap:6px;font-size:10px;border-radius:7px}.restoration-viewer .fullscreen-active .tool-dock .tool-icon{font-size:19px}.restoration-viewer .fullscreen-active #mobileNextStage,.restoration-viewer .fullscreen-active .tool-card small{display:none}.restoration-viewer .fullscreen-active .feedback{position:absolute;z-index:3;left:50%;bottom:64px;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);min-height:0;padding:6px 10px;margin:0;border-radius:6px;background:#102b30ed;color:#bed5ca;font:12px/1.4 system-ui;pointer-events:none}.restoration-viewer .fullscreen-active .comparison{flex:none;padding:3px 12px}.restoration-viewer .fullscreen-active [data-fullscreen-drawer]{display:none}.restoration-viewer .fullscreen-active.fullscreen-drawer-open [data-fullscreen-drawer]{display:block;position:absolute;z-index:110;top:calc(56px + env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));width:min(360px,calc(100% - 16px));margin:0;padding:20px;overflow:auto;overscroll-behavior:contain;border:1px solid #55716d;border-radius:10px;background:#153136;box-shadow:0 8px 30px #0008}.restoration-viewer .fullscreen-active .work-order button,.restoration-viewer .fullscreen-active .work-order summary{min-height:44px}.restoration-viewer .fullscreen-active[data-fullscreen-host=legacy]>.app-shell{width:100%;max-width:none;min-height:0;flex:1;display:flex;padding:0;overflow:hidden}.restoration-viewer .fullscreen-active #storageNotice,.restoration-viewer .fullscreen-active .game-header,.restoration-viewer .fullscreen-active .object-picker-wrap,.restoration-viewer .fullscreen-active .stage-track,.restoration-viewer .fullscreen-active .view-tabs{display:none}.restoration-viewer .fullscreen-active #gameView{display:flex;flex-direction:column;align-items:stretch;flex:1;gap:0;min-height:0}.restoration-viewer .fullscreen-active .mission-bar{flex:none;align-items:center;padding:3px 12px}.restoration-viewer .fullscreen-active .mission-bar h1{font-size:16px}.restoration-viewer .fullscreen-active .mission-bar p{display:none}.restoration-viewer .fullscreen-active .mission-progress{display:flex;align-items:center;gap:8px}.restoration-viewer .fullscreen-active .mission-progress strong{font-size:16px}.restoration-viewer .fullscreen-active .restoration-celebration{position:absolute;z-index:10;top:50%;left:50%;transform:translate(-50%,-50%);width:min(440px,calc(100% - 24px));margin:0}.restoration-viewer .fullscreen-active .modal-backdrop{position:absolute;top:calc(52px + env(safe-area-inset-top));bottom:env(safe-area-inset-bottom);padding:8px}.restoration-viewer .fullscreen-active .modal-card{width:min(100%,960px);max-height:100%;overflow:auto}.restoration-viewer .fullscreen-active .modal-card .key-detail-board{width:min(100%,480px)}.restoration-viewer .fullscreen-active .helmet-board{width:min(100%,360px)}.restoration-viewer .fullscreen-active .modal-card:has(.sailing-game){width:100%;height:100%;display:flex;flex-direction:column;padding:4px 8px;overflow:hidden}.restoration-viewer .fullscreen-active .modal-card:has(.sailing-game)>h2{display:none}.restoration-viewer .fullscreen-active .modal-card:has(.sailing-game) #modalContent{display:flex;flex-direction:column;flex:1;min-height:0}.restoration-viewer .fullscreen-active .sailing-game{display:flex;flex-direction:column;flex:1;min-height:0}.restoration-viewer .fullscreen-active .sailing-field{flex:1;min-height:0;height:auto}.restoration-viewer .fullscreen-active .sailing-hud{flex:none;padding:3px 8px}.restoration-viewer .fullscreen-active .sailing-overlay{overflow:auto;padding:10px}.restoration-viewer .fullscreen-active .sailing-overlay h3{font-size:24px;margin:6px 0}.restoration-viewer .fullscreen-active .sailing-overlay p{margin:0 0 8px}@media(max-width:600px){.restoration-viewer .fullscreen-chrome:has(.fullscreen-status:not(:empty)) .fullscreen-title{display:none}.restoration-viewer .fullscreen-enter span,.restoration-viewer .fullscreen-exit span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.restoration-viewer .fullscreen-enter,.restoration-viewer .fullscreen-exit{padding:8px!important}.restoration-viewer .fullscreen-active .tool-dock button{flex-basis:76px}}@media(max-height:500px){.restoration-viewer .fullscreen-active .sailing-overlay p,.restoration-viewer .fullscreen-active .surface-caption,.restoration-viewer .fullscreen-active .surface-scale{display:none}}.restoration-viewer[data-read-only=true] #toolFeedback,.restoration-viewer[data-read-only=true] .mobile-progress,.restoration-viewer[data-read-only=true] .work-order>:not(#inspectionPanel){display:none!important}.restoration-viewer[data-read-only=true] .workshop:not(.has-inspection){grid-template-columns:1fr}.restoration-viewer[data-read-only=true] .workshop:not(.has-inspection)>.work-order{display:none}.restoration-viewer .canvas-toolbar,.restoration-viewer .mode-switch{flex-wrap:wrap}.restoration-viewer .canvas-toolbar button{min-height:44px}.restoration-viewer .scene-controls{position:absolute;z-index:5;top:12px;left:12px;width:min(360px,calc(100% - 24px));max-height:45%;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:#142e33fa;box-shadow:0 4px 16px #0004;font-size:12px}.restoration-viewer .scene-controls p{margin:0 0 8px;line-height:1.5}.restoration-viewer .tool-controls .brush-size{margin:10px 0 0;padding-top:10px;border-top:1px solid var(--line)}.restoration-viewer .tool-controls .brush-size button{flex:1;font-size:11px}.restoration-viewer .inspection-tools .inspection-help{font-size:11px;color:var(--muted);margin:8px 0}.restoration-viewer .inspection-tools summary{cursor:pointer;min-height:44px;padding:7px 0;color:var(--gold)}.restoration-viewer .inspection-tools summary span{color:var(--muted);font-size:11px}.restoration-viewer .model-dimensions{display:flex;gap:24px;flex-wrap:wrap;margin:8px 0}.restoration-viewer .model-dimensions dt{color:var(--muted);font-size:11px}.restoration-viewer .model-dimensions dd{margin:4px 0;font-size:17px;font-variant-numeric:tabular-nums}.restoration-viewer .measurement-result{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.restoration-viewer .measurement-result output{color:var(--gold);font-variant-numeric:tabular-nums}.restoration-viewer .inspection-tools button{min-height:44px;font-size:11px;padding:8px 10px}.restoration-viewer .inspection-light-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.restoration-viewer .inspection-light-presets button[aria-pressed=true]{border-color:var(--gold);background:#394940;color:#f8ddb0}.restoration-viewer .measurement-label{position:absolute;z-index:4;transform:translate(-50%,calc(-100% - 9px));padding:3px 6px;border:1px solid var(--gold);border-radius:4px;background:#102b30;color:var(--ink);font-size:12px;pointer-events:none}.restoration-viewer .measurement-reticle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--ink);text-shadow:0 1px 3px #000;font:24px monospace;pointer-events:none}@media(max-width:680px){.restoration-viewer .scene-controls{padding:8px 10px}.restoration-viewer .model-dimensions{gap:18px}}.restoration-viewer .tabbed-work-order{display:flex;flex-direction:column;min-height:0;padding:16px;overflow:hidden}.restoration-viewer .work-order-summary{flex:none}.restoration-viewer .work-order-summary .eyebrow{margin-bottom:6px}.restoration-viewer .work-order-summary h2{font-size:23px}.restoration-viewer .work-order-summary .progress-label{margin-top:10px;margin-bottom:5px}.restoration-viewer .work-order-tabs{display:flex;gap:4px;flex:none;margin:16px 0 0;border-bottom:1px solid var(--line);padding-bottom:8px}.restoration-viewer .work-order-tabs button{flex:1;min-width:0;padding:8px;font-size:12px;background:transparent}.restoration-viewer .work-order-tabs button[aria-selected=true]{color:var(--gold);border-color:var(--gold);background:#e7c38712}.restoration-viewer .work-order-tabpanel{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#617a77 #142e33;padding:12px 4px 4px 0;outline-offset:-3px}.restoration-viewer .work-order-tabpanel>p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 12px}.restoration-viewer .work-order-tabpanel .inspection-panel,.restoration-viewer .work-order-tabpanel .stage-panel{margin-top:12px;padding-top:12px}.restoration-viewer .work-order-tabpanel .stage-list{margin:0;padding:0;border:0;display:block}.restoration-viewer .work-order-tabpanel .quiet{width:100%}.restoration-viewer .tabbed-work-order .stage-navigation{flex:none;margin-top:12px}.restoration-viewer .tabbed-work-order .inspection-panel h2{font-size:20px}.restoration-viewer .fullscreen-active.fullscreen-drawer-open .tabbed-work-order{display:flex}.workshop-viewer{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}.workshop-viewer>div[role=note],.workshop-viewer>p{flex:none;margin:0;font-size:12px;max-height:25%;overflow:auto}.workshop-viewer>.restoration-viewer{flex:1;min-height:0;border-radius:10px}.workshop-viewer .lab{height:100%;max-width:none;padding:0}.workshop-viewer .lab>footer{display:none}.workshop-viewer .workshop:not(.fullscreen-active){height:100%;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:stretch}.workshop-viewer .workshop:not(.fullscreen-active)>.workspace{position:relative;top:auto;display:flex;flex-direction:column;min-height:0}.workshop-viewer .workshop:not(.fullscreen-active) .canvas-toolbar{flex:none;min-height:54px;padding:6px}.workshop-viewer .workshop:not(.fullscreen-active) .scene{flex:1;min-height:0;height:auto;max-height:none}.workshop-viewer .workshop:not(.fullscreen-active) .comparison{flex:none;padding:4px 12px}.workshop-viewer .workshop:not(.fullscreen-active) .feedback{flex:none;min-height:0;margin:6px 4px;font-size:11px}.workshop-viewer .workshop:not(.fullscreen-active)>.work-order{height:100%;min-height:0}.workshop-viewer .workshop:not(.fullscreen-active) #mobileNextStage,.workshop-viewer .workshop:not(.fullscreen-active) .mobile-progress{display:none}@media(max-width:1000px){.workshop-viewer .workshop:not(.fullscreen-active){grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.15fr) minmax(0,1fr);gap:10px}.workshop-viewer .tabbed-work-order{padding:10px 12px}.workshop-viewer .work-order-summary{display:grid;grid-template-columns:minmax(0,1fr) 110px;column-gap:16px}.workshop-viewer .work-order-summary>.eyebrow{grid-column:1;letter-spacing:1px;font-size:9px}.workshop-viewer .work-order-summary>h2{grid-column:1;font-size:20px}.workshop-viewer .work-order-summary>#cleaningProgress{grid-column:2;grid-row:1/3}.workshop-viewer .work-order-summary .progress-label{margin-top:0;font-size:10px}.workshop-viewer .work-order-summary .progress-label.total{margin-top:6px}.workshop-viewer .work-order-tabs{margin-top:8px;padding-bottom:4px}.workshop-viewer .tabbed-work-order .stage-navigation{margin-top:6px}}@media(max-height:600px) and (max-width:1000px){.workshop-viewer .workshop:not(.fullscreen-active){height:auto;grid-template-rows:320px 380px}}