@font-face{font-family:Atelier;src:local('Inter'),local('Segoe UI');font-display:swap}
:root{--bg:#f7f8f6;--panel:#fff;--ink:#26372e;--muted:#758076;--line:#dce3dc;--soft:#eef3ed;--green:#24533b;--forest:#192b23;--gold:#e9c775;--warm:#fcf6e7;--danger:#a34332;--danger-bg:#fff0ec;--shadow:0 12px 35px #2035290c;color:var(--ink);background:var(--bg);font-family:Atelier,Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;font-size:15px;line-height:1.5;color-scheme:light}
:root[data-theme=dark]{--bg:#14221b;--panel:#1d2e24;--ink:#e5ece6;--muted:#a0b3a5;--line:#364b3c;--soft:#263e2e;--green:#79ad88;--warm:#3c3829;--danger:#f4a293;--danger-bg:#462e28;--shadow:none;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}svg{flex-shrink:0;vertical-align:middle}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #a4b882;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #658c6c;outline-offset:1px}img{max-width:100%}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-variant-numeric:tabular-nums}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.8px;font-weight:750;color:var(--muted);margin-bottom:9px}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:18px}.spacer{flex:1}.hidden{display:none!important}.boot{min-height:calc(90vh / var(--sg-ui-scale, 1));display:grid;align-content:center;justify-items:center;gap:20px}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;height:calc(100vh / var(--sg-ui-scale, 1));height:calc(100dvh / var(--sg-ui-scale, 1));overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;background:var(--forest);color:#c4d1c8;z-index:45;padding:calc(30px + env(safe-area-inset-top,0px)) 18px calc(20px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;scrollbar-width:thin;scrollbar-color:#65806a transparent}.sidebar>*{flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;padding:0 7px;color:#f4f6f2;letter-spacing:1.3px;font-size:10px;line-height:1.6;margin-bottom:33px}.brand img{border-radius:9px;width:43px;height:43px}.brand strong{display:block;font-size:15px;letter-spacing:1px}.brand-label{margin:0 10px 28px;padding:9px 12px;border:1px solid #3b5140;border-radius:7px;color:#edce85;display:flex;align-items:center;gap:9px;font-size:12px}.nav-label{font-size:10px;letter-spacing:1.5px;font-weight:650;color:#8ba295;padding:0 12px;margin-bottom:10px}.sidebar nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;color:#c4d1c8;display:flex;align-items:center;gap:11px;text-align:left;padding:12px;border-radius:7px;font-size:13px;min-height:47px}.nav-item:hover{background:#263c2f}.nav-item.active{background:#354a39;color:#f7e3a1;box-shadow:inset 3px 0 #eac66a}.nav-count{margin-left:auto;font-size:11px;background:#ffffff0e;border-radius:5px;padding:1px 6px}.side-note{padding:17px 13px;border:1px solid #344a3d;border-radius:9px;margin:32px 8px;color:#a9bcae;font-size:12px;line-height:1.7}.side-note strong{display:block;color:#e0e8de;font-size:12px;margin-bottom:6px}.sidebar-footer{margin-top:auto;border-top:1px solid #354339;padding:19px 9px 0;display:flex;align-items:center;gap:10px;font-size:12px}.avatar{width:32px;height:32px;border:1px solid #65806a;border-radius:50%;display:grid;place-items:center;color:#eed18c;font-size:10px;letter-spacing:1px}.sidebar-footer small{display:block;color:#8ea496;font-size:10px}.sidebar-close{display:none}.main-shell{margin-left:238px;min-width:0}.topbar{height:73px;display:flex;align-items:center;gap:12px;justify-content:space-between;padding:0 36px;background:var(--panel);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:25}.crumb{display:flex;align-items:center;gap:11px;font-size:12px;color:var(--muted);min-width:0}.crumb strong{color:var(--ink);font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}.save-status{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);white-space:nowrap}.dot{width:6px;height:6px;background:#769775;border-radius:50%}.dot.error{background:#d87153}.dot.saving{background:#d5ad50}.menu-button{display:none!important}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--muted)}.icon-button:hover{background:var(--soft)}main{max-width:1570px;margin:auto;padding:32px 36px 56px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:25px}h1{font-size:30px;line-height:1.25;font-weight:650;letter-spacing:-.9px}.page-heading p{font-size:13px;color:var(--muted);margin-top:8px}h2{font-size:18px;font-weight:600;letter-spacing:-.3px}h3{font-size:14px;font-weight:650}.button{min-height:42px;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:7px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:12px;font-weight:600;text-align:center;transition:background .15s}.button:hover{background:var(--soft)}.button.primary{background:#24533b;border-color:#24533b;color:#fff;box-shadow:0 2px 3px #1833210d}.button.primary:hover{background:#1c412e}.button.gold{background:#e9c775;color:#23362a;border-color:#e9c775}.button.gold:hover{background:#f0d38e}.button.danger{color:var(--danger);border-color:color-mix(in srgb,var(--danger),transparent 65%);background:var(--danger-bg)}.button.text{background:transparent;border:0;padding-left:0;color:var(--green);box-shadow:none}.button.full{width:100%}.button.large{min-height:48px}.panel{border:1px solid var(--line);border-radius:11px;background:var(--panel);overflow:hidden}.panel-pad{padding:24px}.panel-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-head h2{font-size:15px}.panel-head small{font-size:11px;color:var(--muted)}.hero{display:grid;grid-template-columns:1.25fr .75fr;background:#20382b;color:#f7f8f3;border-radius:12px;overflow:hidden;margin-bottom:24px;min-height:250px}.hero-copy{padding:34px 36px;align-self:center}.hero .eyebrow{color:#d7ba70;margin-bottom:15px}.hero h2{font-size:29px;line-height:1.22;letter-spacing:-.8px;max-width:390px;font-weight:550}.hero p{color:#b7c7b8;font-size:12px;line-height:1.8;max-width:375px;margin:13px 0 22px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;border-left:1px solid #385240;color:#b8caad;background:radial-gradient(ellipse at center,#34523960,transparent 75%)}.hero-art .orbit-diagram{max-width:280px;margin:3px;transform:rotate(-5deg)}.hero-art .orbit-point{cursor:default}.hero-art .equipment-plan{fill:#344e3a;stroke:#a9bd91}.hero-art .view-cone{fill:#f2d68c15;stroke:none}.hero-art .orbit-point circle{fill:#20382b;stroke:#6b8968}.hero-art .orbit-point.current circle{fill:#e9c775;stroke:#e9c775}.hero-art .orbit-point text{fill:#d4dfc9}.hero-art .orbit-point.current text{fill:#213428}.hero-art .orbit-line{stroke:#759169}.hero-art .diagram-label{fill:#aabda5}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:28px}.stat{display:flex;align-items:center;gap:16px;padding:20px 24px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-icon{background:var(--soft);border:1px solid var(--line);width:43px;height:43px;display:grid;place-items:center;border-radius:9px;color:var(--green)}.stat strong{font-size:25px;letter-spacing:-.7px;font-weight:600;line-height:1.2;display:block}.stat small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.section-heading h2{font-size:18px}.section-heading p{font-size:12px;color:var(--muted)}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:200px}.search svg{position:absolute;left:13px;top:12px;color:var(--muted)}.search input{padding-left:40px!important}.toolbar select{max-width:200px}.empty{border:1px dashed #bccdbb;border-radius:10px;text-align:center;background:var(--panel);padding:30px 26px}.empty>p{font-size:13px;color:var(--muted);margin:8px auto 20px;max-width:490px}.empty-symbol{width:50px;height:50px;display:grid;place-items:center;background:var(--soft);color:var(--green);border:1px solid var(--line);border-radius:12px;margin:0 auto 14px}.quick-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:720px;margin:auto}.quick-category{border:1px solid var(--line);background:var(--panel);padding:16px 10px;border-radius:8px;display:grid;justify-items:center;gap:10px;color:var(--green);font-size:11px}.quick-category:hover{background:var(--soft);border-color:#93ac8d}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.project-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:0;overflow:hidden;text-align:left;transition:box-shadow .15s,border-color .15s;color:var(--ink)}.project-card:hover{border-color:#89a385;box-shadow:var(--shadow)}.card-preview{height:145px;background:var(--soft);position:relative;display:grid;place-items:center;color:#8a9f82;border-bottom:1px solid var(--line)}.card-preview>img{width:100%;height:100%;object-fit:cover}.card-preview>.pill{position:absolute;top:13px;right:13px;box-shadow:0 2px 5px #12221910}.card-content{padding:18px 20px 14px;flex:1}.card-content h3{font-size:18px;font-weight:600;letter-spacing:-.3px}.card-content p{font-size:11px;color:var(--muted);margin-top:5px}.card-progress{margin-top:21px}.progress-track{height:4px;background:var(--line);border-radius:4px;overflow:hidden}.progress-track span{display:block;height:100%;background:#709563;border-radius:4px}.card-progress .row{font-size:11px;color:var(--muted);margin-bottom:7px}.card-bottom{border-top:1px solid var(--line);padding:12px 20px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 8px;font-size:10px;font-weight:600;background:var(--soft);color:var(--green);white-space:nowrap}.pill.gold{background:#fbf1d7;color:#846629}.pill.ready{background:#e5f0e3;color:#35603c}.pill.warning{background:var(--warm);color:#94713a}.pill.neutral{background:var(--soft);color:var(--muted)}.footer-note{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-top:20px;line-height:1.7}.back-button{font-size:11px;color:var(--muted);margin-bottom:18px;padding:0;border:0;background:none;display:flex;gap:7px;align-items:center}.record-heading{margin-bottom:19px}.record-heading h1{font-size:28px}.record-heading .eyebrow{margin-bottom:5px}.record-meta{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-top:7px}.record-tabs{position:sticky;top:73px;z-index:24;display:flex;gap:25px;border-bottom:1px solid var(--line);background:var(--bg);margin-bottom:24px;padding-top:8px;overflow:auto;scrollbar-width:none}.record-tab{display:flex;align-items:center;gap:8px;padding:0 2px 14px;border:0;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap;min-height:45px;border-bottom:3px solid transparent}.record-tab.active{border-bottom-color:var(--green);color:var(--green);font-weight:650}.step-number{border-radius:50%;background:var(--soft);border:1px solid var(--line);width:21px;height:21px;display:grid;place-items:center;font-size:10px}.record-tab.active .step-number{background:#24533b;color:#fff;border-color:#24533b}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.form-section{padding:23px;border-bottom:1px solid var(--line)}.form-section:last-child{border-bottom:0}.form-section h2{font-size:15px;margin-bottom:5px}.form-section>p{font-size:12px;color:var(--muted);margin-bottom:20px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field-grid.three{grid-template-columns:repeat(3,1fr)}.field-grid.four{grid-template-columns:repeat(4,1fr)}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:550;min-width:0}.field.span2{grid-column:1/-1}.field small{font-weight:400;color:var(--muted);font-size:11px}.field input,.field select,.field textarea,input.control,select.control{min-width:0;width:100%;border:1px solid var(--line);background:var(--panel);color:var(--ink);border-radius:6px;min-height:42px;padding:10px 12px;font-size:13px}.field textarea{min-height:115px;resize:vertical;font-weight:400}.field input::placeholder,.field textarea::placeholder,input.control::placeholder{color:#9aa49c;opacity:1}.input-unit{display:flex;align-items:center;gap:8px}.input-unit input{flex:1}.input-unit select{max-width:76px}.help-card{padding:22px}.help-card .help-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);border-radius:9px;color:var(--green);margin-bottom:14px}.help-card h3{font-size:14px;margin-bottom:9px}.help-card p{font-size:12px;color:var(--muted);line-height:1.8}.help-card .button{margin-top:17px}.help-card.warm{background:var(--warm)}.help-card ul{padding-left:17px;margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.9}.link-row{display:flex;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.link-row a{flex:1;min-width:0;overflow-wrap:anywhere}.link-row small{display:block;color:var(--muted);font-size:10px}.attachment-row{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:10px 12px;border-radius:6px;font-size:12px;margin-top:8px}.attachment-row span{flex:1;min-width:0;overflow-wrap:anywhere}.attachment-row small{font-size:10px;color:var(--muted)}.section-action{display:flex;justify-content:flex-end;margin-top:20px}.stage-tabs{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--panel);margin-bottom:19px}.stage-tab{border:0;border-right:1px solid var(--line);background:var(--panel);padding:13px 17px;text-align:left;display:flex;align-items:center;gap:11px;color:var(--muted)}.stage-tab:last-child{border:0}.stage-tab.active{background:var(--soft);color:var(--green)}.stage-tab .stage-num{font-size:11px;border:1px solid var(--line);width:28px;height:28px;border-radius:50%;display:grid;place-items:center}.stage-tab.active .stage-num{background:#24533b;border-color:#24533b;color:#fff}.stage-tab strong{display:block;font-size:12px;font-weight:600}.stage-tab small{display:block;font-size:10px;margin-top:2px}.capture-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;margin-bottom:23px}.capture-canvas{position:relative;min-height:342px;background:var(--soft);display:flex;align-items:center;justify-content:center}.orbit-diagram{width:100%;max-width:370px;color:#658160}.orbit-line{fill:none;stroke:#a5b79f;stroke-width:1;stroke-dasharray:3 5}.orbit-line.faint{opacity:.4}.view-cone{fill:#d9e4c950;stroke:none}.equipment-plan{fill:#dfe8d9;stroke:#769069;stroke-width:1.6;stroke-linejoin:round}.orbit-point{cursor:pointer}.orbit-point circle{fill:var(--panel);stroke:#b9cbb2;stroke-width:1.3}.orbit-point text{font:10px AteliEr,system-ui;fill:#73856c;font-weight:600;pointer-events:none}.orbit-point.current circle{fill:#24533b;stroke:#24533b}.orbit-point.current text{fill:white}.orbit-point.done circle{fill:#e9c775;stroke:#d7b363}.orbit-point.done text{fill:#425434}.diagram-label{font:8px system-ui;letter-spacing:1.5px;fill:#819378}.orientation-arrow{fill:none;stroke:#a5b79f;stroke-width:1.3}.capture-context{padding:13px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);gap:10px}.shot-card{display:flex;flex-direction:column;padding:25px}.shot-card .shot-number{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:var(--green);margin-bottom:11px}.shot-card h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin-bottom:13px}.shot-card p{font-size:12px;color:var(--muted);line-height:1.8}.shot-card .shot-tip{padding:13px 0;border-top:1px solid var(--line);margin-top:17px;display:flex;gap:8px;font-size:11px;color:var(--muted);line-height:1.7}.shot-actions{margin-top:auto;padding-top:18px;display:grid;gap:9px}.shot-actions .button{width:100%}.shot-nav{display:flex;gap:8px;margin-top:12px;align-items:center;justify-content:space-between}.shot-nav span{font-size:11px;color:var(--muted)}.photo-preview{width:100%;height:342px;object-fit:contain;background:var(--soft)}.capture-overlay{position:absolute;top:12px;left:12px}.capture-clear{position:absolute;top:12px;right:12px}.detail-placeholder{display:grid;justify-items:center;padding:40px;text-align:center;gap:19px;color:#73906b;max-width:330px}.detail-placeholder h3{font-size:19px;color:var(--ink)}.detail-placeholder p{font-size:12px;color:var(--muted)}.checkline{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;cursor:pointer;color:var(--muted)}.checkline input{width:16px;height:16px;accent-color:#315f3b;margin-top:2px;flex-shrink:0}.checklist{display:grid;gap:13px}.photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.photo-slot{border:1px dashed #c2cec0;aspect-ratio:1.12;background:var(--panel);border-radius:7px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:#97a492;padding:6px;overflow:hidden}.photo-slot.active{border:2px solid #678a58;background:var(--soft)}.photo-slot.filled{border-style:solid}.photo-slot img{position:absolute;width:100%;height:100%;object-fit:cover}.slot-number{position:absolute;top:6px;left:7px;font-size:10px;font-weight:600}.photo-slot.filled .slot-number{background:#ffffffeb;color:#314b34;padding:1px 5px;border-radius:3px}.slot-label{font-size:9px;text-align:center;line-height:1.3;max-width:100%}.photo-slot.filled .slot-label{position:absolute;bottom:0;left:0;right:0;background:#15261ce0;color:#fff;padding:5px 3px;font-size:9px}.slot-done{position:absolute;top:5px;right:5px;color:#fff;background:#426e43;border-radius:50%;width:17px;height:17px;display:grid;place-items:center}.slot-warn{position:absolute;bottom:24px;right:5px;color:#6f5129;background:#ffe5ac;border-radius:50%;width:17px;height:17px;display:grid;place-items:center}.photo-section{margin-top:23px}.notice{display:flex;align-items:flex-start;gap:10px;background:var(--warm);border:1px solid #dcc99470;padding:14px 17px;border-radius:8px;font-size:12px;line-height:1.8;margin-bottom:20px}.notice svg{margin-top:2px;color:#ab8744}.notice.success{background:var(--soft);border-color:var(--line)}.notice.success svg{color:var(--green)}.notice p+p{margin-top:8px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.guide-card{padding:24px}.guide-card .step-mark{font-size:27px;letter-spacing:-1px;color:#b3c1a9;margin-bottom:13px}.guide-card p{font-size:12px;color:var(--muted);line-height:1.8;margin-top:10px}.guide-card ul{padding-left:16px;font-size:12px;color:var(--muted);line-height:1.9;margin-bottom:0}.guide-full{margin-top:24px;padding:24px}.guide-full details{padding:15px 0;border-bottom:1px solid var(--line)}.guide-full details:last-child{border:0}.guide-full summary{font-size:13px;cursor:pointer;font-weight:600}.guide-full details p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:12px;max-width:750px}.export-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px}.export-list{padding:20px 23px;display:grid;gap:17px}.export-item{display:flex;align-items:flex-start;gap:12px;font-size:12px}.export-item .item-icon{background:var(--soft);border-radius:7px;padding:9px;color:var(--green)}.export-item p{font-size:11px;color:var(--muted);margin-top:4px}.export-item strong{font-size:13px;font-weight:600}.export-options{display:grid;gap:10px}.option{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;align-items:flex-start;gap:10px;font-size:12px;cursor:pointer}.option:has(input:checked){border-color:#769468;background:var(--soft)}.option input{accent-color:#315d3b;margin-top:3px}.option strong{display:block}.option small{display:block;font-size:11px;color:var(--muted);line-height:1.7;margin-top:3px}.export-summary{padding:22px}.export-summary h2{font-size:18px}.export-summary>.muted{font-size:12px;margin:9px 0 20px}.export-size{padding:18px 0;border-block:1px solid var(--line);margin:18px 0;display:flex;align-items:baseline;justify-content:space-between;font-size:12px}.export-size strong{font-size:21px;font-weight:600;letter-spacing:-.5px}.export-progress{margin-top:12px;font-size:11px;color:var(--muted)}.readiness-list{display:grid;gap:11px;margin:18px 0 22px}.readiness-item{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.readiness-item svg{color:#75966b}.readiness-item.warn svg{color:#c59643}.model-stage{height:420px;background:var(--soft);position:relative;overflow:hidden;touch-action:none}.model-stage canvas{width:100%;height:100%;display:block}.model-empty{height:350px;display:grid;justify-items:center;align-content:center;text-align:center;padding:32px;gap:13px;color:var(--muted)}.model-empty h2{color:var(--ink)}.model-empty p{max-width:460px;font-size:12px;line-height:1.9}.model-empty>.empty-symbol{margin-bottom:0}.model-toolbar{display:flex;justify-content:space-between;padding:13px 18px;border-top:1px solid var(--line);gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.model-toolbar .row{gap:5px}.model-toolbar .icon-button{width:34px;height:34px;min-width:34px;min-height:34px}.model-loading{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:var(--muted);pointer-events:none}.model-notice{margin-top:20px}.archive-actions{display:flex;align-items:center;gap:12px;margin:18px 0}.storage-meter{height:7px;background:var(--soft);border-radius:7px;overflow:hidden;margin:17px 0 10px}.storage-meter span{background:#779a66;height:100%;display:block}.storage-info{font-size:12px;color:var(--muted);line-height:1.8}.help-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.technical-note{padding:13px 17px;border-left:3px solid #bbceae;background:var(--soft);font-size:11px;color:var(--muted);line-height:1.8;margin-top:17px}.guide-sources{font-size:11px;color:var(--muted);margin-top:20px}.guide-sources a{text-decoration:underline}.mobile-scrim{display:none}.modal-scrim{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;background:#101c15a6;backdrop-filter:blur(4px);padding:22px}.modal{width:650px;max-width:100%;max-height:calc(91dvh / var(--sg-ui-scale, 1));background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 30px 100px #0003;display:flex;flex-direction:column;overflow:hidden}.modal.small-modal{width:440px}.modal-head{padding:22px 25px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px;justify-content:space-between}.modal-head h2{font-size:21px;font-weight:600;letter-spacing:-.5px}.modal-head p{font-size:12px;color:var(--muted);margin-top:6px}.modal-body{padding:23px 25px;overflow:auto;overscroll-behavior:contain}.modal-foot{padding:17px 25px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.category-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0 23px}.category-option{padding:13px 5px;display:grid;justify-items:center;gap:9px;color:var(--muted);background:var(--panel);border:1px solid var(--line);border-radius:7px;font-size:10px;line-height:1.4;text-align:center;min-height:85px}.category-option.selected{color:var(--green);background:var(--soft);border-color:#7f9d72;box-shadow:inset 0 0 0 1px #7f9d72}.modal-photo{max-height:calc(55vh / var(--sg-ui-scale, 1));width:100%;object-fit:contain}.photo-details{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0}#toast{position:fixed;bottom:27px;left:calc(50% + 119px);transform:translate(-50%,15px);z-index:100;background:#21392c;color:#fff;padding:13px 20px;border-radius:9px;box-shadow:0 7px 25px #0002;font-size:12px;max-width:min(550px,calc(90vw / var(--sg-ui-scale, 1)));opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#783b2e}.busy-mask{position:fixed;inset:0;background:#14251e99;backdrop-filter:blur(3px);z-index:90;display:grid;place-items:center;padding:20px}.busy-card{background:var(--panel);border-radius:12px;padding:27px 32px;width:380px;max-width:100%;box-shadow:0 20px 70px #0003}.busy-card h3{font-size:16px;margin-bottom:10px}.busy-card p{color:var(--muted);font-size:12px;margin-top:9px}.busy-card .progress-track{margin-top:15px}.spinner{width:20px;height:20px;border:2px solid var(--line);border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}.prompt-text{width:100%;min-height:220px;border:1px solid var(--line);padding:12px;border-radius:6px;color:var(--ink);background:var(--soft);font-size:11px;line-height:1.8;resize:vertical}.persist-banner{margin-bottom:18px;padding:12px 17px;font-size:12px;color:var(--danger);background:var(--danger-bg);border:1px solid #b56c52;border-radius:8px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){main{padding-top:40px}.hero-copy{padding:38px 44px}.hero h2{max-width:430px;font-size:34px}.capture-grid{grid-template-columns:minmax(0,1fr) 370px}.capture-canvas,.photo-preview{min-height:385px;height:385px}}
@media(max-width:1180px){.sidebar{width:212px;padding-inline:13px}.main-shell{margin-left:212px}.topbar{padding-inline:25px}main{padding:27px 25px 45px}.content-grid{grid-template-columns:minmax(0,1fr) 240px}.capture-grid{grid-template-columns:minmax(0,1fr) 290px}.shot-card{padding:21px}.photo-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.hero-copy{padding:28px}.hero h2{font-size:26px}.stage-tab{padding:12px 10px;gap:8px}.export-grid{grid-template-columns:minmax(0,1fr) 290px}#toast{left:calc(50% + 106px)}}
@media(max-width:980px){.content-grid{grid-template-columns:1fr}.content-grid>.stack{grid-template-columns:1fr 1fr}.stat{padding:18px;gap:10px}.stat-icon{width:36px;height:36px}.guide-grid{gap:12px}.guide-card{padding:18px}.record-tabs{gap:20px}.export-grid{grid-template-columns:1fr}.export-summary{display:block}.hero h2{font-size:24px}.hero-art .orbit-diagram{max-width:230px}.capture-grid{grid-template-columns:1fr}.shot-card{display:grid;grid-template-columns:1.2fr 1fr;gap:0 23px}.shot-actions{grid-column:2;grid-row:1/5;padding-top:0}.shot-nav{grid-column:1/-1}.shot-card .shot-tip{margin-top:8px}.capture-canvas,.photo-preview{min-height:310px;height:310px}.capture-canvas .orbit-diagram{max-height:305px}.stage-tab .stage-num{display:none}.photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.quick-categories{grid-template-columns:repeat(2,1fr)}.help-columns{grid-template-columns:1fr}}
@media(max-width:780px){.sidebar{width:250px;max-width:calc(calc(100vw / var(--sg-ui-scale, 1)) - 48px);padding-left:max(13px,env(safe-area-inset-left,0px));transform:translateX(-100%);visibility:hidden;transition:transform .28s ease,visibility .28s ease}.sidebar.open{transform:translateX(0);visibility:visible}.sidebar-close{display:flex;position:absolute;right:6px;top:calc(3px + env(safe-area-inset-top,0px));border:0;background:transparent;color:#c0d0c3;min-width:44px;min-height:44px;align-items:center;justify-content:center}.mobile-scrim{display:block;position:fixed;inset:0;border:0;padding:0;background:#10251c66;z-index:44;opacity:0;visibility:hidden;pointer-events:none;touch-action:none;backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:opacity .28s ease,backdrop-filter .28s ease,visibility .28s ease}.mobile-scrim.open{opacity:1;visibility:visible;pointer-events:auto;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}body.menu-open{overflow:hidden}.main-shell{margin-left:0}.menu-button{display:inline-flex!important;border:0}.topbar{height:64px;padding:0 17px;padding-top:env(safe-area-inset-top)}.crumb{gap:7px;flex:1}.crumb>span,.crumb>.divider{display:none}.crumb strong{max-width:calc(45vw / var(--sg-ui-scale, 1))}.topbar .save-status span:last-child{display:none}.topbar .row{gap:7px}main{padding:23px 20px 38px}.record-tabs{top:64px;padding-top:12px}.hero{grid-template-columns:1.2fr .8fr;min-height:230px}.hero-copy{padding:26px}.hero h2{font-size:25px}.hero p{font-size:11px}.hero-art .orbit-diagram{max-width:260px}.photo-grid{grid-template-columns:repeat(6,minmax(0,1fr))}#toast{left:50%;bottom:22px}.record-heading h1{font-size:24px}.page-heading h1{font-size:27px}.guide-grid{grid-template-columns:1fr 1fr}.guide-grid>.guide-card:last-child{grid-column:1/-1}.record-meta{flex-wrap:wrap;gap:8px}.record-heading>.row{flex-wrap:wrap;justify-content:flex-end}.category-picker{grid-template-columns:repeat(5,1fr)}}
@media(max-width:540px){main{padding:21px 16px 38px}.topbar{padding-inline:9px}.page-heading{align-items:flex-start;gap:15px;margin-bottom:19px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.page-heading>.row{gap:6px}.page-heading .button{padding:9px 11px;font-size:11px}.page-heading>.row>.button.secondary-label{font-size:0;gap:0}.hero{grid-template-columns:1fr;position:relative}.hero-copy{padding:26px;z-index:1}.hero h2{font-size:26px;max-width:250px}.hero p{max-width:220px;margin-top:14px}.hero-art{position:absolute;right:-58px;bottom:0;top:0;width:230px;opacity:.25;border:0;pointer-events:none}.hero-art .orbit-diagram{width:270px;max-width:none}.hero-copy .button{font-size:12px}.stats{margin-bottom:23px}.stat{padding:16px 10px;gap:0;display:block}.stat-icon{display:none}.stat strong{font-size:24px}.stat small{font-size:10px;line-height:1.6;margin-top:5px}.stat:first-child{padding-left:17px}.section-heading h2{font-size:17px}.toolbar{gap:8px}.toolbar .search{min-width:0;flex-basis:65%}.toolbar select{flex:1;max-width:140px;min-width:0;font-size:11px}.empty{padding:25px 17px}.empty h3{font-size:16px}.quick-categories{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:1fr}.card-preview{height:175px}.record-heading{display:block}.record-heading>.row{justify-content:flex-start;margin-top:16px}.record-heading h1{font-size:25px}.record-tabs{gap:19px;margin-inline:-16px;padding-inline:16px}.record-tab{font-size:12px;gap:7px}.record-tab .tab-optional{display:none}.content-grid>.stack{grid-template-columns:1fr}.form-section{padding:20px 17px}.field-grid{gap:14px}.field-grid.four{grid-template-columns:repeat(2,1fr)}.field-grid.three{grid-template-columns:repeat(2,1fr)}.field input,.field select,.field textarea,input.control,select.control{font-size:16px;padding:10px;min-height:44px}.field{font-size:11px}.stage-tabs{margin-bottom:15px}.stage-tab{padding:11px 8px;text-align:center;justify-content:center}.stage-tab strong{font-size:10px}.stage-tab small{font-size:9px}.capture-grid{gap:12px}.shot-card{padding:21px;display:block}.shot-card h2{font-size:25px}.shot-card .shot-tip{padding:11px 0;margin-top:14px}.shot-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:11px}.shot-actions .button{font-size:11px;padding:12px 8px;white-space:normal}.shot-actions>.small{grid-column:1/-1}.shot-card .shot-number{margin-bottom:10px}.shot-nav{margin-top:17px}.capture-canvas,.photo-preview{height:290px;min-height:290px}.capture-canvas .orbit-diagram{max-height:280px}.panel-head{padding:15px 17px}.panel-head h2{font-size:14px}.panel-head small{font-size:10px}.capture-context{padding:11px 15px;font-size:10px;align-items:flex-start}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.slot-label{font-size:8px}.photo-slot.filled .slot-label{font-size:8px}.photo-section .section-heading{flex-wrap:wrap}.photo-section .section-heading .button{min-height:34px;font-size:10px;padding:7px 9px}.notice{font-size:11px;padding:13px;gap:9px}.notice svg{width:17px;height:17px}.export-summary,.panel-pad{padding:20px 18px}.export-list{padding:20px 17px}.guide-grid{grid-template-columns:1fr}.guide-grid>.guide-card:last-child{grid-column:auto}.guide-card{padding:24px}.guide-full{padding:20px}.modal-scrim{padding:12px}.modal{max-height:calc(94dvh / var(--sg-ui-scale, 1));border-radius:11px}.modal-head{padding:20px}.modal-head h2{font-size:20px}.modal-body{padding:20px}.modal-foot{padding:15px 20px}.category-picker{grid-template-columns:repeat(3,1fr);gap:7px}.category-option{font-size:9px;min-height:76px}.category-option svg{width:24px;height:24px}.modal-head p{font-size:11px}.archive-actions{flex-wrap:wrap}.archive-actions .button{flex:1}.model-stage{height:340px}.model-empty{padding:25px 20px;height:340px}.model-empty h2{font-size:18px}.model-empty p{font-size:11px}.checkline{font-size:11px}.footer-note{align-items:flex-start}.record-tabs .step-number{width:20px;height:20px}}
.generic-plan{fill:none;stroke-width:.45}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}.spinner{animation-duration:2s}}

.tracker-link-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 20px;border:1px solid var(--line);background:var(--panel);border-radius:9px;margin-bottom:23px}.tracker-link-panel strong{font-size:13px}.tracker-link-panel p{font-size:11px;color:var(--muted);margin-top:3px}.tracker-link-icon{width:38px;height:38px;display:grid;place-items:center;background:var(--soft);border-radius:8px;color:var(--green)}.tracker-outlink{margin-top:17px;border-top:1px solid #354339;padding-top:18px;border-radius:0}.reference-label{position:absolute;bottom:8px;left:10px;font-size:9px;color:#fff;background:#203729c9;border-radius:4px;padding:3px 6px}.tracker-model-grid .card-preview{height:175px}.tracker-model-grid .card-preview img{object-fit:contain;background:#eef1ec}.tracker-model-grid .card-content{min-height:110px}@media(max-width:700px){.tracker-link-panel{align-items:flex-start;flex-direction:column;padding:16px;gap:14px}.tracker-link-panel>.row:last-child{width:100%}.tracker-link-panel>.row:last-child .button{flex:1}.tracker-model-grid .card-preview{height:195px}.page-heading>.row{flex-wrap:wrap;justify-content:flex-end}}

.model-card-preview{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:#f3f6f4}.model-card-preview img,.model-card-preview canvas{width:100%;height:100%;display:block;object-fit:contain}.tracker-model-grid .card-preview .pill,.card-preview>.pill{z-index:1}.tracker-model-grid .project-card{text-align:left;min-width:0}.tracker-model-grid .card-content{min-height:125px}.tracker-model-grid .card-content p{white-space:normal;overflow-wrap:anywhere}.model-card-preview .model-loading{padding:15px;text-align:center}.tracker-model-grid .card-preview{height:220px}

.brand{padding:0;margin-bottom:22px;background:transparent;border:0;border-radius:0;box-shadow:none;justify-content:center}.brand .company-logo{display:block;width:190px;height:137px;flex-shrink:0}.sidebar-footer .app-avatar{object-fit:cover;border-radius:8px;padding:0;width:36px;height:36px}

@media(prefers-reduced-motion:reduce){.sidebar,.mobile-scrim{transition:none}}

.install-app-entry{margin-top:12px;border:1px solid #526a52;color:#f7e3a1}
.install-intro{display:flex;align-items:center;gap:15px;margin-bottom:20px}
.install-intro img{width:64px;height:64px;border-radius:14px;flex-shrink:0}
.install-intro strong{font-size:15px}.install-intro p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}
.install-native{width:100%;margin-bottom:14px;min-height:46px}
.install-status{padding:12px 14px;border-radius:8px;background:var(--soft);font-size:12px;line-height:1.7;margin-bottom:14px}
.install-platforms{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}
.install-platforms .button{flex:1;white-space:normal;font-size:12px;min-height:44px;padding:10px}
.install-platforms [aria-pressed="true"]{background:var(--soft);border-color:var(--green);color:var(--green)}
.install-steps{font-size:12px;line-height:1.8}.install-steps h3{margin-bottom:8px}.install-steps h3:not(:first-child){margin-top:19px}
.install-steps ol{padding-left:21px;margin:0 0 13px}.install-steps li+li{margin-top:8px}.install-steps p+p{margin-top:10px}
.install-link{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.install-link label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.install-link>div{display:flex;gap:8px}
.install-link input{min-width:0;flex:1;border:1px solid var(--line);border-radius:7px;background:var(--soft);color:var(--ink);padding:10px;font-size:16px}
.install-link small{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:8px}
@media(max-width:400px){.install-platforms{gap:5px}.install-platforms .button{font-size:11px;padding:8px 5px}.install-link>div{flex-wrap:wrap}.install-link input{width:100%;flex-basis:100%}}

.suite-bar{margin-left:238px}@media(max-width:780px){.suite-bar{margin-left:0}}

/* The account action is visible in the sticky header, including small phones. */
.gougeon-signout{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid #b89d57;border-radius:8px;background:#101112;color:#f0d58b;font:600 13px/1.25 system-ui,sans-serif;text-decoration:none;white-space:nowrap;flex-shrink:0}
.gougeon-signout:hover{background:#29251a;color:#ffe6a6}.gougeon-signout:focus-visible{outline:3px solid #e9c775;outline-offset:3px}.topbar>.row{flex-shrink:0}.topbar .crumb{flex:1;overflow:hidden}.topbar .crumb strong{min-width:0}
@media(max-width:1180px){.topbar .save-status{display:none}}
@media(max-width:540px){.topbar{gap:7px}.topbar>.row{gap:7px}.topbar .gougeon-signout{font-size:12px;padding-inline:9px;gap:6px}.topbar .crumb>span{display:none}.topbar .crumb strong{font-size:11px}.topbar .icon-button{min-width:36px;min-height:44px}}

.gate-install-entry{margin-top:22px;border-color:#b89d57;background:#101112;color:#f0d58b}.gate-install-entry:hover{background:#29251a}.gate-install-dialog{width:650px;max-width:calc(calc(100vw / var(--sg-ui-scale, 1)) - 24px);max-height:calc(calc(100dvh / var(--sg-ui-scale, 1)) - 24px);padding:0;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);box-shadow:0 25px 90px #0006}.gate-install-dialog::backdrop{background:#101c15b0;backdrop-filter:blur(3px)}.gate-install-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.gate-install-dialog>header h2{font-size:21px}.gate-install-body{padding:20px}.sidebar>.install-app-entry{margin:0 0 24px;border:1px solid #6f633c;background:#101112;color:#f0d58b;justify-content:center}
@media(max-width:480px){.gate-install-dialog>header,.gate-install-body{padding:16px}.gate-install-dialog>header h2{font-size:18px}}

/* Company selection stays with the workspace header and remains usable on phones. */
.company-switcher{min-width:0;width:240px;flex-shrink:0}.company-switcher label{display:grid;gap:4px}.company-switcher label>span{font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}.company-switcher select{width:100%;min-width:0;min-height:44px;padding:8px 30px 8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font-size:14px;font-weight:600;text-overflow:ellipsis}.company-switcher select:focus-visible{outline:3px solid #d5b765;outline-offset:2px}.company-switcher small{display:block;white-space:normal;font-size:11px;color:var(--muted);padding-top:3px}.company-switcher small:empty{display:none}.sidebar-company{margin-bottom:18px}.sidebar-company .company-switcher{width:100%}.sidebar-company .company-switcher label>span{color:#bacabb}.sidebar-company select{background:#15291f;color:#f3f6f1;border-color:#61745f}.topbar:has(>.company-switcher){height:auto;min-height:82px;flex-wrap:wrap;padding-block:10px}.topbar>.company-switcher{order:0}.topbar>.breadcrumb,.topbar>.crumb{flex:1}.install-reminder{position:fixed;bottom:18px;right:18px;z-index:60;display:flex;align-items:flex-start;gap:12px;width:min(390px,calc(calc(100vw / var(--sg-ui-scale, 1)) - 28px));padding:15px;background:#141816;color:#f0ead8;border:1px solid #8a7745;border-radius:12px;box-shadow:0 10px 35px #0003;font:13px/1.5 system-ui,sans-serif}.install-reminder img{flex-shrink:0;border-radius:9px}.install-reminder>div{flex:1;min-width:0}.install-reminder strong{font-size:13px}.install-reminder p{font-size:12px;color:#c6c7bd;margin:3px 0 8px}.install-reminder button{border:0;background:transparent;color:#f0c660;min-height:38px;padding:4px 0;text-align:left;font-weight:650;font-size:12px;cursor:pointer}.install-reminder>button{min-width:28px;text-align:center;font-size:22px;line-height:1}.install-reminder button:focus-visible{outline:2px solid #eac66a;outline-offset:3px}
@media(max-width:1100px){.topbar>.company-switcher{width:210px}.topbar>.breadcrumb>span,.topbar>.crumb>span{display:none}}
@media(max-width:780px){.topbar:has(>.company-switcher){gap:9px}.topbar>.company-switcher{width:100%;order:5}.topbar>.company-switcher label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.topbar>.company-switcher label>span{font-size:10px}.topbar>.company-switcher select{font-size:16px}.install-reminder{bottom:calc(12px + env(safe-area-inset-bottom));right:14px}.install-platforms{flex-wrap:wrap}}

.record-tabs{top:var(--atelier-topbar-height,82px)}

.mobile-install-entry{display:none}@media(max-width:780px){.topbar>.mobile-install-entry{display:inline-flex;order:6;width:100%;min-height:44px;border-color:#8a7745;background:#101112;color:#f0d58b}.sidebar>.install-app-entry{display:none}}

/* Installation controls never occupy space in an installed application. */
[data-action="install-app"][hidden],[data-install-section][hidden],.gate-install-entry[hidden]{display:none!important}
html[data-gougeon-installed="true"] [data-action="install-app"],html[data-gougeon-installed="true"] [data-install-section],html[data-gougeon-installed="true"] .gate-install-entry,html[data-gougeon-installed="true"] .install-reminder{display:none!important}
@media(display-mode:standalone){[data-action="install-app"],[data-install-section],.gate-install-entry,.install-reminder{display:none!important}}

/* Shared Suite Gougeon finish. Light mode and all 3D/camera materials stay intact. */
:root[data-theme=dark]{
 --bg:#090d0b;--panel:#162019;--ink:#f3efdf;--muted:#c0c9bc;
 --line:#485042;--soft:#1d2a21;--gold:#ddc384;--warm:#30291b;
 --bronze:#b6815b;--shadow:inset 0 1px #f0d4862b,0 8px 20px #0005,0 22px 44px #0003;
 --gougeon-card:linear-gradient(145deg,#ddc3840c,transparent 38%),linear-gradient(155deg,#1d2a21,#162019 52%,#0e1511);
}
:root[data-theme=dark] body{
 background:radial-gradient(ellipse at 95% 0,#9d773b16,transparent 42%),linear-gradient(135deg,#0e1511,#090d0b 70%);
}
:root[data-theme=dark] .sidebar{
 background:radial-gradient(ellipse at 15% 0,#ddc38418,transparent 34%),linear-gradient(165deg,#192b23,#14241c 48%,#090d0b);
 border-right:1px solid #9d773b65;box-shadow:8px 0 32px #0005,inset -1px 0 #f0d4860d;
}
:root[data-theme=dark] .topbar{
 background:linear-gradient(100deg,#101812,#1d2a21 65%,#201e15);
 border-bottom-color:#9d773b65;box-shadow:0 6px 20px #0004,inset 0 -1px #f0d4860a;
}
:root[data-theme=dark] .eyebrow{color:#ddc384;text-shadow:0 1px 12px #9d773b35}
:root[data-theme=dark] .brand-label{
 background:linear-gradient(100deg,#21392a,#282719);border-color:#9d773b80;
 color:#f0d486;box-shadow:inset 0 1px #f0d48625;
}
:root[data-theme=dark] .nav-item:hover{background:linear-gradient(100deg,#263c2f,#192b23)}
:root[data-theme=dark] .nav-item.active{
 background:linear-gradient(105deg,#354a39,#25392b 70%,#302b1e);color:#f0d486;
 box-shadow:inset 3px 0 #f0d486,inset 0 1px #f0d4862b,0 5px 14px #0004;
}
:root[data-theme=dark] .side-note{border-color:#b6815b59;background:linear-gradient(145deg,#2d2b20,#17271d);color:#c0c9bc}
:root[data-theme=dark] .side-note strong{color:#f3efdf}
:root[data-theme=dark] :is(.panel,.project-card,.tracker-link-panel,.empty){
 background:var(--gougeon-card);border-color:#806c424f;box-shadow:var(--shadow);
}
:root[data-theme=dark] .project-card:hover{
 border-color:#ddc384a6;box-shadow:inset 0 1px #f0d48650,0 9px 28px #0008,0 0 24px #9d773b14;
}
:root[data-theme=dark] .panel-head{background:linear-gradient(110deg,#1d2a21,#131d16);border-color:#9d773b38}
:root[data-theme=dark] .hero{
 background:radial-gradient(ellipse at 100% 20%,#9d773b38,transparent 50%),linear-gradient(120deg,#20382b,#15271d 54%,#090d0b);
 border:1px solid #9d773b85;box-shadow:inset 0 1px #f0d48635,0 14px 35px #0007;
}
:root[data-theme=dark] .hero h2{color:#f3efdf;text-shadow:0 2px 12px #0004}
:root[data-theme=dark] .hero .eyebrow{color:#f0d486}
:root[data-theme=dark] .hero p{color:#c0c9bc}
:root[data-theme=dark] .stats{
 border:1px solid #9d773b55;border-radius:11px;background:var(--gougeon-card);
 box-shadow:inset 0 1px #f0d4862b,0 8px 20px #0004;
}
:root[data-theme=dark] .stat{border-color:#9d773b45}
:root[data-theme=dark] .stat strong{color:#f0d486;text-shadow:0 1px 14px #9d773b20}
:root[data-theme=dark] :is(.stat-icon,.empty-symbol,.help-icon,.scan-symbol){
 color:#ddc384;background:linear-gradient(145deg,#354a39,#18271e);
 border:1px solid #9d773b66;box-shadow:inset 0 1px #f0d48630,0 4px 10px #0003;
}
:root[data-theme=dark] .record-tabs{background:#0e1511;border-bottom-color:#9d773b61}
:root[data-theme=dark] .record-tab.active{color:#f0d486;border-bottom-color:#ddc384;text-shadow:0 0 12px #ddc38420}
:root[data-theme=dark] .stage-tab{background:linear-gradient(155deg,#162019,#0e1511)}
:root[data-theme=dark] .stage-tab.active{background:linear-gradient(110deg,#354a39,#26362a);color:#f0d486;box-shadow:inset 0 2px #ddc384}
:root[data-theme=dark] :is(.stage-tab.active .stage-num,.record-tab.active .step-number){
 background:linear-gradient(145deg,#f0d486,#ddc384 52%,#b18a47);color:#151b12;border-color:#f0d486;
}
:root[data-theme=dark] .button:not(.primary):not(.gold):not(.danger):not(.text),
:root[data-theme=dark] .icon-button{
 background:linear-gradient(145deg,#252e22,#141e17);color:#f3efdf;
 border-color:#9d773b75;box-shadow:inset 0 1px #f0d48620,0 3px 8px #0003;
}
:root[data-theme=dark] .button.primary{
 background:linear-gradient(145deg,#35664a,#24533b 58%,#173e2b);color:#fff;
 border-color:#95ac715e;box-shadow:inset 0 1px #e8dfab3d,0 3px 0 #09180f,0 6px 14px #0005;
}
:root[data-theme=dark] .button.primary:hover{background:linear-gradient(145deg,#3c7353,#2c6044 58%,#1b4b34);border-color:#ddc384b3}
:root[data-theme=dark] .button.gold{
 background:linear-gradient(145deg,#f0d486,#ddc384 54%,#b18a47);border-color:#f0d486;
 color:#151b12;box-shadow:inset 0 1px #fff3c8a6,0 3px 0 #705226,0 7px 18px #0005;
}
:root[data-theme=dark] .button.gold:hover{background:linear-gradient(145deg,#f9df9b,#e8cd8b 54%,#c39b55)}
:root[data-theme=dark] .button:not(.danger):hover,:root[data-theme=dark] .icon-button:hover{border-color:#ddc384}
:root[data-theme=dark] :is(.notice:not(.success):not(.error):not(.danger):not(.destructive),.help-card.warm){
 background:linear-gradient(115deg,#33291e,#1c2117);border-color:#b6815b75;
}
:root[data-theme=dark] .notice:not(.success):not(.error):not(.danger):not(.destructive) svg,:root[data-theme=dark] .guide-card .step-mark{color:#d7a47c}
:root[data-theme=dark] :is(.modal,.gate-install-dialog){
 background:radial-gradient(ellipse at 100% 0,#ddc38410,transparent 50%),linear-gradient(145deg,#1d2a21,#101812 80%);
 border-color:#9d773b99;box-shadow:inset 0 1px #f0d4863d,0 24px 80px #000b;
}
:root[data-theme=dark] :is(.modal-head,.modal-foot){border-color:#9d773b45}
:root[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){
 background-color:#0e1511;color:#f3efdf;box-shadow:inset 0 2px 5px #0003;
}
:root[data-theme=dark] :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #f0d486;outline-offset:3px}
:root[data-theme=dark] .gougeon-signout{
 background:linear-gradient(140deg,#2f291b,#0e1511 80%);color:#f0d486;
 box-shadow:inset 0 1px #f0d48625,0 4px 12px #0004;
}
@media(max-width:780px){
 :root[data-theme=dark] :is(.panel,.project-card,.tracker-link-panel){box-shadow:inset 0 1px #f0d48624,0 7px 20px #0006}
}

/* Company branding is separate from the installed application icon. */
.app-company-brand{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;max-width:100%}.app-company-brand img{display:block;flex-shrink:0;object-fit:contain}.app-company-brand .installed-app-symbol{width:40px;height:40px;border-radius:9px}.app-company-brand .company-brand-symbol{width:54px;height:42px;padding:0;border-radius:0;background:transparent;border:0}.app-company-brand img[hidden]{display:none}.topbar>.app-company-brand.compact{display:none}.brand:has(.app-company-brand){flex-wrap:wrap;gap:10px}.company-app-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.suite-brand-footer{margin-top:28px;padding:18px 0 8px;border-top:1px solid #8c815633;color:inherit;opacity:.7;font-size:11px;letter-spacing:.04em}
@media(max-width:780px){.topbar>.app-company-brand.compact{display:inline-flex;order:0}.topbar>.app-company-brand.compact .installed-app-symbol{width:30px;height:30px}.topbar>.app-company-brand.compact .company-brand-symbol{width:43px;height:32px}.topbar>.app-company-brand.compact{gap:5px}.topbar>.breadcrumb,.topbar>.crumb{min-width:0}.suite-brand-footer{font-size:10px}}


@media(max-width:780px){
 .topbar,.topbar:has(>.company-switcher){position:sticky;top:0;min-height:56px;height:calc(56px + env(safe-area-inset-top,0px));padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(4px,env(safe-area-inset-left,0px));gap:6px;flex-wrap:nowrap}
 html:root .main-shell>.topbar{border-top:0!important;border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important}
 html:root .main-shell>.topbar>.sg-reflection-edge{display:none!important}
 .sidebar{padding-right:max(18px,env(safe-area-inset-right,0px))}
 .sidebar-close{right:max(6px,env(safe-area-inset-right,0px))}
 .topbar>.menu-button{order:-2;display:inline-flex!important;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink)}
 .topbar>.app-company-brand.compact{order:-1;display:inline-flex;gap:6px}
 .topbar>.app-company-brand.compact .installed-app-symbol{width:32px;height:32px}
 .topbar>.app-company-brand.compact .company-brand-symbol{width:46px;height:36px}
 .topbar>.company-switcher,.topbar>.mobile-install-entry,.topbar>.crumb{display:none}
 .topbar>.row{margin-left:auto;gap:0}
 .topbar>.row>.icon-button{display:none}
 .topbar .gougeon-signout{min-height:44px;font-size:12px;padding:8px;gap:5px}
 .sidebar>.install-app-entry{display:flex}
}
.modal-scrim{backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

/* A little breathing room between headings, inputs and wrapped actions. */
.form-section>h2+.field-grid{margin-top:12px}
.model-toolbar .row{gap:10px;flex-wrap:wrap}
.modal-foot{flex-wrap:wrap;row-gap:10px}
.modal-body>.field+.field,.modal-body>.field-grid+.field{margin-top:12px}
@media(max-width:780px){
 .page-heading>.row{gap:10px}
 .panel-head{flex-wrap:wrap;row-gap:10px}
 .toolbar{gap:10px}
}


.mobile-theme-entry{display:none}@media(max-width:780px){.mobile-theme-entry{display:flex;margin-bottom:14px}}
@media(max-width:780px){.suite-bar{display:none!important}}

/* The module can be downloading while the full-screen opening view is still
   present. Its navigation strip must join the loaded workspace, not add a row
   above that opening view, including on wide phones in landscape. */
@media screen{
 body:has(> #app > .suite-app-boot) > .suite-bar{display:none!important}
}

/* Suite Gougeon depth: screen-only finishes; no layout, logo, print or 3D material changes. */
@media screen {
 :root[data-theme=light] {
  --sg-card:linear-gradient(150deg,#fff 5%,#fcfdf8 62%,#eaf1e5);
  --sg-card-edge:#b5c7af;
  --sg-depth:inset 0 1px 0 #fff,0 3px 6px #1d452316,0 15px 30px #1d45231c;
  --sg-selected:inset 3px 0 #c39738,inset 0 1px #fff,0 3px 9px #173c2524;
  --sg-chrome:linear-gradient(110deg,#fffef8,#f3f7ed 65%,#e9f0e3);
 }
 :root[data-theme=dark] {
  --sg-card:radial-gradient(ellipse at 100% 0,#e3ba592b,transparent 55%),linear-gradient(150deg,#263c2c 0%,#16251b 45%,#0b140f);
  --sg-card-edge:#91a75c;
  --sg-depth:inset 0 1px 0 #f5db8f40,inset 0 -1px 0 #0009,0 5px 10px #0007,0 20px 38px #0006,0 0 2px #dcc57488,0 0 24px #7bc85d30;
  --sg-selected:inset 3px 0 #f4d580,inset 0 1px #f5d78a66,0 4px 12px #0005,0 0 18px #dbb75630;
  --sg-chrome:radial-gradient(ellipse at 5% 0,#64c2821c,transparent 55%),linear-gradient(110deg,#203526,#0b150f 75%,#292315);
 }
 :root[data-theme=light] body {background:radial-gradient(ellipse at 96% 0,#e5c17225,transparent 46%),radial-gradient(ellipse at 0 65%,#2d8c5020,transparent 55%),#f1f5eb;}
 :root[data-theme=dark] body {background:radial-gradient(ellipse at 94% 0,#debd6420,transparent 45%),radial-gradient(ellipse at 0 50%,#4cbd6f1c,transparent 52%),#080e0a;}
 :root[data-theme=light] :is(.panel,.project-card,.tracker-link-panel,.empty,.stats),:root[data-theme=dark] :is(.panel,.project-card,.tracker-link-panel,.empty,.stats) {background:var(--sg-card);border-color:var(--sg-card-edge);box-shadow:var(--sg-depth);}
 :root[data-theme=light] :is(.topbar) {background:var(--sg-chrome);border-bottom-color:#b3c69f;box-shadow:inset 0 -1px #fff,0 4px 14px #1e412521;}
 :root[data-theme=dark] :is(.topbar) {background:var(--sg-chrome);border-bottom-color:#d2ad596f;box-shadow:inset 0 -1px #ebd17e26,0 6px 22px #0007,0 1px 14px #aaca6620;}
 :root[data-theme=light] :is(.sidebar) {background:radial-gradient(ellipse at 100% 0,#e4c36426,transparent 50%),linear-gradient(155deg,#24563d,#173b2a 58%,#102a1d);box-shadow:inset -1px 0 #f0da9250,7px 0 22px #20422a26;}
 :root[data-theme=dark] :is(.sidebar) {background:radial-gradient(ellipse at 85% 0,#bfcf4f20,transparent 47%),linear-gradient(155deg,#235038,#163422 54%,#09150d);box-shadow:inset -1px 0 #d7bb5f58,8px 0 28px #0006;}
 :root[data-theme=light] :is(.nav-item.active,.record-tab.active,.stage-tab.active) {box-shadow:var(--sg-selected);}
 :root[data-theme=dark] :is(.nav-item.active,.record-tab.active,.stage-tab.active) {color:#f7dc8b;box-shadow:var(--sg-selected);}
 :root[data-theme=light] :is(.button.primary) {box-shadow:inset 0 1px #fff8,0 3px 0 #123a2333,0 6px 13px #20452a30;}
 :root[data-theme=dark] :is(.button.primary) {box-shadow:inset 0 1px #ffedb5a0,0 3px 0 #05170c,0 7px 15px #0008,0 0 3px #f1d87b80,0 0 25px #c7d76560;}
 :root[data-theme=light] :is(.stat-icon,.empty-symbol,.help-icon,.scan-symbol) {background:linear-gradient(145deg,#edf3df,#d5e4c9);border-color:#adc78d;color:#285336;box-shadow:inset 0 1px #fff,0 4px 9px #21462a20;}
 :root[data-theme=dark] :is(.stat-icon,.empty-symbol,.help-icon,.scan-symbol) {background:linear-gradient(145deg,#3c542d,#152e1f);color:#f3d581;border-color:#a4b26188;box-shadow:inset 0 1px #f4dc8c5c,0 4px 10px #0007,0 0 16px #c5ba501f;}
 :root[data-theme=light] :is(.modal,.gate-install-dialog) {background:linear-gradient(145deg,#fffef9,#f2f7ec);border-color:#9cb780;box-shadow:inset 0 1px #fff,0 8px 16px #193f2526,0 30px 80px #193f2540;}
 :root[data-theme=dark] :is(.modal,.gate-install-dialog) {background:radial-gradient(ellipse at 100% 0,#dfb94d20,transparent 50%),linear-gradient(145deg,#263b2c,#101e15 65%,#0a130d);border-color:#cfb166;box-shadow:inset 0 1px #f4dc8c70,0 12px 24px #0007,0 32px 90px #000a,0 0 30px #bc9a4c17;}
 :root[data-theme=dark] :is(.hero,.help-card.warm) {background:radial-gradient(ellipse at 12% 0,#ebce6a30,transparent 60%),linear-gradient(135deg,#354929,#152d1d 70%,#10190e);border-color:#c8ac5c;box-shadow:inset 0 1px #f7df9275,0 8px 18px #0007,0 20px 38px #0005,0 0 3px #e8cb7870,0 0 26px #d3b75c3d;}
}
@media screen and (hover:hover) {
 :root[data-theme=light] :is(.button.primary):not(:disabled):hover {box-shadow:inset 0 1px #fff9,0 3px 0 #123a2340,0 8px 18px #20452a40;}
 :root[data-theme=dark] :is(.button.primary):not(:disabled):hover {box-shadow:inset 0 1px #fff2c3,0 3px 0 #05170c,0 8px 18px #0008,0 0 3px #fff1b0c0,0 0 30px #d6ca6e7a;}
}
@media screen and (max-width:780px) {
 :root[data-theme=light] {--sg-depth:inset 0 1px #fff,0 4px 9px #21462a1c,0 10px 20px #21462a19;}
 :root[data-theme=dark] {--sg-depth:inset 0 1px #f5db8f44,0 6px 12px #0008,0 14px 26px #0005,0 0 2px #dcc57470,0 0 16px #7bc85d2b;}
}

/* Contextual help uses native disclosures, including keyboard and touch. */
.context-help{display:block;min-width:0;margin:.45rem 0;font-size:.875rem;line-height:1.55}
.context-help>summary{display:flex;align-items:center;justify-content:center;width:28px;min-height:28px;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-weight:700;font-size:14px;line-height:1;font-family:inherit;cursor:pointer;list-style:none;user-select:none}
.context-help>summary::marker{content:''}.context-help>summary::-webkit-details-marker{display:none}
.context-help>summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.context-help-content{max-width:68ch;margin-top:.5rem;padding:.6rem .8rem;border-inline-start:2px solid currentColor;white-space:normal;overflow-wrap:anywhere;color:inherit;text-align:start}
@media(pointer:coarse){.context-help>summary{width:44px;min-height:44px}}

/* Extend the sidebar behind a landscape cutout without narrowing its contents. */
@media(min-width:781px) and (pointer:coarse){
 :root{--atelier-safe-sidebar:238px;--atelier-safe-sidebar-padding:18px;--atelier-safe-gutter:36px;--atelier-safe-main-bottom:56px}
 .sidebar{width:calc(var(--atelier-safe-sidebar) + env(safe-area-inset-left,0px));padding-left:calc(var(--atelier-safe-sidebar-padding) + env(safe-area-inset-left,0px))}
 .main-shell{margin-left:calc(var(--atelier-safe-sidebar) + env(safe-area-inset-left,0px))}
 .main-shell>.topbar{height:auto;min-height:calc(73px + env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px);padding-right:max(var(--atelier-safe-gutter),env(safe-area-inset-right,0px))}
 .main-shell>.topbar:has(>.company-switcher){min-height:calc(82px + env(safe-area-inset-top,0px));padding-top:calc(10px + env(safe-area-inset-top,0px))}
 .main-shell>main{padding-right:max(var(--atelier-safe-gutter),env(safe-area-inset-right,0px));padding-bottom:calc(var(--atelier-safe-main-bottom) + env(safe-area-inset-bottom,0px))}
 html:root .main-shell>.topbar{border-top:0!important;border-left:0!important;border-right:0!important;border-radius:0!important;box-shadow:none!important}
 html:root .main-shell>.topbar>.sg-reflection-edge{display:none!important}
}
@media(min-width:781px) and (max-width:1180px) and (pointer:coarse){
 :root{--atelier-safe-sidebar:212px;--atelier-safe-sidebar-padding:13px;--atelier-safe-gutter:25px;--atelier-safe-main-bottom:45px}
}
