/* Guided operator flow. Visual theme can be refined independently. */
.home-page{gap:0!important;padding:22px 28px!important}
.gh-head{display:flex;justify-content:space-between;align-items:center;min-height:66px;flex-shrink:0}
.gh-head .eyebrow{margin-bottom:4px}
.gh-head h1{font-size:23px;line-height:1.3}
.gh-hero{display:grid;grid-template-columns:45% 55%;height:352px;min-height:352px;flex:none;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.gh-part{min-height:0;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 32%,#fdfefe,#e3e9ee 82%);border-right:1px solid var(--line)}
.gh-part .partdrawing{height:100%;width:100%;max-height:315px}
.gh-copy{min-width:0;padding:27px 32px;display:flex;flex-direction:column;align-items:flex-start}
.gh-copy h2{font-size:31px;line-height:1.25;font-weight:600;margin:4px 0 21px}
.gh-copy h2 span{font-size:18px;font-weight:400;display:block;margin-top:7px;color:var(--muted)}
.gh-current{display:flex;gap:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);width:100%;font-size:17px}
.gh-current strong{font-size:22px;white-space:nowrap}
.gh-current span{color:var(--muted)}
.gh-copy>p{font-size:14px;color:var(--muted);margin-top:12px}
.gh-hero-bottom{display:flex;justify-content:space-between;align-items:center;width:100%;gap:16px;margin-top:auto;padding-top:22px;font-size:14px;color:var(--muted)}
.gh-hero-bottom .primary{min-width:192px;min-height:52px;font-size:16px}
.gh-attention{min-height:54px;margin-top:12px;display:flex;align-items:center;gap:10px;padding:6px 16px;background:var(--surface);border:1px solid #d7a871;color:#764c24;font-size:14px}
.gh-attention .icon{width:20px}
.gh-attention span{flex:1}
.gh-lower{margin-top:16px;flex:1;min-height:145px;display:flex;flex-direction:column;overflow:hidden}
.gh-section-head{display:flex;align-items:center;justify-content:space-between;min-height:30px;margin-bottom:0}
.gh-section-head h3{font-size:15px;margin:0;line-height:1.3}
.gh-queue-row{width:100%;min-height:62px;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;display:flex;justify-content:flex-start;text-align:left;gap:16px;padding:5px 4px}
.gh-queue-row>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}
.gh-queue-row strong{font-size:15px}
.gh-queue-row small{font-size:13px;font-weight:400;color:var(--muted);margin-top:3px}
.gh-queue-row b{font-size:12px;color:var(--muted);font-weight:500}
.gh-queue-part{width:58px;height:51px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.gh-queue-part .partdrawing{height:100%}
.gh-quiet{font-size:14px;color:var(--muted);margin-top:14px}
.guided-task-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:var(--muted);font-size:14px}
.guided-task-card{display:grid;grid-template-columns:45% 55%;min-height:470px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.guided-task-art{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 35%,#fff,#e5ebef 85%);border-right:1px solid var(--line)}
.guided-task-art .partdrawing{max-height:400px}
.guided-task-copy{padding:38px;display:flex;flex-direction:column;align-items:flex-start}
.guided-task-copy h1{font-size:45px;line-height:1.15;margin-bottom:5px}
.guided-task-copy h2{font-size:20px;color:var(--muted)}
.guided-task-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;width:100%;margin:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}
.guided-task-facts>div{display:flex;flex-direction:column;gap:5px}
.guided-task-facts span{font-size:12px;color:var(--muted)}
.guided-task-facts strong{font-size:16px}
.guided-task-copy p{font-size:15px}
.guided-task-copy .primary{margin-top:auto;min-height:52px;min-width:210px}
.guided-details{margin-top:16px;border:1px solid var(--line);background:var(--surface);font-size:14px}
.guided-details summary{cursor:pointer;list-style:none;padding:15px 20px;font-weight:600}
.guided-details summary:after{content:'⌄';float:right}
.guided-details[open] summary{border-bottom:1px solid var(--line)}
.guided-details>p{padding:10px 20px}
.guided-details .table-wrap{border:0}
.gp-title{margin:12px 0 24px}
.gp-title h1{font-size:28px}
.gp-title p{font-size:14px;color:var(--muted);margin-top:5px}
.gp-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.gp-card{min-height:397px;display:grid;grid-template-columns:43px 1fr;gap:12px;background:var(--surface);border:1px solid var(--line);padding:24px}
.gp-number{width:36px;height:36px;border:1px solid var(--accent);color:var(--accent);display:grid;place-items:center;font-size:20px}
.gp-card h2{font-size:20px;margin:4px 0 12px}
.gp-card p{font-size:14px;line-height:1.6;color:var(--muted)}
.gp-state{margin:26px 0;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:18px;background:var(--panel)}
.gp-state span:last-child{font-size:14px}
.gp-part{margin:18px 0;display:flex;align-items:center;gap:12px}
.gp-part>div{width:120px;height:112px;flex-shrink:0;background:var(--panel);border:1px solid var(--line)}
.gp-part .partdrawing{height:100%}
.gp-part p{font-size:13px}
.gp-part strong{font-size:16px;color:var(--ink)}
.gp-card button{white-space:normal;text-align:center}
.gp-footer{margin-top:24px;padding:16px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:14px;color:var(--muted)}
.gp-footer .primary{min-height:52px;min-width:190px;font-size:16px}
.guided-inspect{height:704px;background:var(--bg)}
.gi-context{min-height:70px;padding:13px 24px;display:flex;justify-content:space-between;align-items:center;background:var(--surface);border-bottom:1px solid var(--line)}
.gi-context>div:first-child{display:flex;align-items:baseline;gap:14px}
.gi-context>div:first-child>span{font-size:14px;color:var(--muted)}
.gi-context strong{font-size:22px}
.gi-context small{font-size:13px;color:var(--muted);font-weight:400;margin-left:7px}
.gi-context-actions{display:flex;align-items:center;gap:18px;font-size:13px;color:var(--muted)}
.gi-alert{display:flex;align-items:center;gap:10px;margin:10px 20px 0;padding:8px 12px;border:1px solid #c9918c;background:#fff3f1;color:#8a342b;font-size:14px}
.gi-alert span{flex:1}
.gi-progress{height:62px;display:flex;align-items:center;gap:8px;padding:0 24px;border-bottom:1px solid var(--line);flex-shrink:0}
.gi-progress button{min-height:34px;width:34px;padding:0;border-radius:50%;font-size:13px;box-shadow:none}
.gi-progress button.current{background:var(--accent);border-color:var(--accent);color:white}
.gi-progress button.complete{border-color:#8aa59a;color:#245f4a;background:#e8f2ed}
.gi-progress button.future{opacity:.45}
.gi-progress>span{margin-left:auto;font-size:14px;color:var(--muted)}
.gi-main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,1fr);gap:16px;padding:0 20px 16px}
.gi-visual,.gi-reading{min-height:0;border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column}
.gi-visual-top{display:flex;justify-content:space-between;align-items:flex-start;padding:18px 20px 8px}
.gi-visual-top .eyebrow{margin-bottom:2px}
.gi-visual-top h1{font-size:25px}
.gi-part{flex:1;min-height:0;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 34%,#f8fafb,#e5ebf0 85%);overflow:hidden}
.gi-part .partdrawing{width:100%;height:100%;max-height:335px}
.gi-method{min-height:76px;border-top:1px solid var(--line);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.gi-method>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.gi-method span{font-size:12px;color:var(--muted)}
.gi-method strong{font-size:15px;line-height:1.45;font-weight:550}
.gi-method.compact{min-height:54px}
.gi-reading{padding:20px}
.gi-reading-head{display:flex;align-items:center;justify-content:space-between}
.gi-reading-head .eyebrow{margin:0}
.gi-big-value{font-family:'DIN Alternate','Bahnschrift','SFMono-Regular',monospace;font-variant-numeric:tabular-nums;font-size:61px;line-height:1.12;letter-spacing:-2px;margin:40px 0 13px;color:var(--ink)}
.gi-big-value small{font-size:21px;letter-spacing:0;margin-left:6px}
.gi-wait{display:flex;flex-direction:column;gap:15px;margin:72px 0 auto}
.gi-wait strong{font-size:24px;line-height:1.4}
.gi-wait span{font-size:15px;line-height:1.6;color:var(--muted)}
.gi-judgment{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-left:4px solid #548469;background:#edf5ef}
.gi-judgment.bad{border-color:#ad4b4b;background:#fff0ef}
.gi-judgment strong{font-size:18px}
.gi-judgment span{font-size:13px;color:var(--muted)}
.gi-range{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line);font-size:14px}
.gi-range span{color:var(--muted)}
.gi-range strong{font-family:'DIN Alternate','Bahnschrift',monospace;font-size:16px;white-space:nowrap}
.gi-ng-note{font-size:13px;line-height:1.5;color:#904a37;margin-top:15px}
.gi-footer{min-height:86px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid var(--line);background:var(--surface)}
.gi-footer-left,.gi-footer-right{display:flex;align-items:center;gap:9px}
.gi-footer-left .quiet{font-size:13px}
.gi-footer-right span{font-size:13px;color:var(--muted);max-width:185px;line-height:1.45;text-align:right}
.gi-footer-right .primary{min-width:180px;min-height:52px;font-size:16px}
.gi-summary{display:grid;grid-template-columns:36% 64%;min-height:440px;border:1px solid var(--line);background:var(--surface)}
.gi-summary-art{display:grid;place-items:center;background:radial-gradient(ellipse at 50% 34%,#fff,#e4ebef);border-right:1px solid var(--line)}
.gi-summary-art .partdrawing{height:100%;max-height:360px}
.gi-summary-copy{padding:34px;display:flex;flex-direction:column;align-items:flex-start}
.gi-summary-copy h1{font-size:29px;margin:10px 0}
.gi-summary-copy>p{font-size:15px;color:var(--muted);line-height:1.65}
.gi-summary-copy>.badge{margin-top:26px}
.gi-summary-warning{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin-top:20px;padding:16px;background:#fff2ee;border-left:4px solid #b6534b}
.gi-summary-warning strong{font-size:16px}
.gi-summary-warning span{font-size:13px;line-height:1.5}
.gi-summary-warning button{margin-top:7px}
.gi-summary-actions{margin-top:auto;padding-top:22px}
.gi-summary-actions .primary{min-width:210px;min-height:52px}
.ng-modal{width:590px!important;border-top-color:#b74a47!important}
.ng-next{margin-top:16px;padding:14px 16px;border-left:4px solid #af4d4a;background:#fff6f3}
.ng-next strong{display:block;font-size:16px}
.ng-next p{font-size:14px;line-height:1.6;margin-top:5px}
.ng-actions{margin-top:18px!important;display:flex!important;flex-direction:column!important;gap:9px!important}
.ng-actions button{width:100%;min-height:57px!important;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 15px;text-align:left;white-space:normal}
.ng-actions button strong{font-size:15px}
.ng-actions button small{font-size:12px;font-weight:400}
.ng-actions button.ng-primary{background:#8f3d3a;border-color:#8f3d3a;color:white}
.ng-actions button.ng-primary small{color:#fff;opacity:.86}
.gb-summary{min-height:340px;background:var(--surface);border:1px solid var(--line);padding:32px 36px;display:flex;flex-direction:column;align-items:flex-start}
.gb-summary h1{font-size:30px;margin:8px 0}
.gb-summary p{font-size:15px;line-height:1.6;color:var(--muted);max-width:650px}
.gb-count{display:flex;align-items:baseline;gap:12px;margin:28px 0}
.gb-count strong{font-family:'DIN Alternate','Bahnschrift',monospace;font-size:46px;font-weight:500;color:var(--accent)}
.gb-count span{font-size:15px;color:var(--muted)}
.gb-actions{margin-top:auto}
.gb-actions .primary{min-height:52px;min-width:220px}
.gb-list{margin-top:18px;background:var(--surface);border:1px solid var(--line);padding:18px 24px}
.gb-list h2{font-size:17px;margin-bottom:9px}
.gb-row{display:flex;align-items:center;gap:15px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.gb-row strong{min-width:90px}
.gb-row span:nth-child(2){flex:1;color:var(--muted)}
[data-theme=dark] .gh-part,[data-theme=dark] .guided-task-art,[data-theme=dark] .gi-summary-art,[data-theme=dark] .gi-part,[data-theme=dark] .gp-part{background:radial-gradient(ellipse at 50% 30%,#414b58,#29313c 86%)}
[data-theme=dark] .gh-attention{background:#403827;border-color:#82643e;color:#e8c99c}
[data-theme=dark] .gi-alert,[data-theme=dark] .gi-summary-warning,[data-theme=dark] .ng-next{background:#412f33;color:#f4d3d1;border-color:#af6b6b}
[data-theme=dark] .gi-judgment.ok{background:#253d33;border-color:#6da98a}
[data-theme=dark] .gi-judgment.bad{background:#493034;border-color:#d57b7b}
[data-theme=dark] .gi-progress button.complete{background:#253d33;color:#b1dec1}
[data-theme=dark] .gh-queue-part{background:var(--panel)}
