
:root{--green:#45825d;--mint:#66c18e;--ink:#29332e;--muted:#68756e;--soft:#edf7f0;--line:#dce7e0;--paper:#fbfcfb;--teal:#267b78;--clay:#bd684d;--gold:#d4a84e}
*{box-sizing:border-box}
body{height:100vh;min-height:620px;overflow:hidden;background:#e8ede9;color:var(--ink);font-family:"Segoe UI",Tahoma,sans-serif}
.header{height:68px;padding:0 22px;gap:14px;background:var(--green);box-shadow:0 2px 10px #173b2d26}
.logo-img{width:52px;height:52px;object-fit:contain}
.brand-note{padding-left:12px;border-left:1px solid #ffffff63;color:#e5f4e9;font-size:10px;font-weight:800;letter-spacing:1.2px}
.header h1{font-size:19px;font-weight:750;letter-spacing:0}
.back-link{margin-left:auto;border-radius:7px;text-decoration:none}
.production-layout{height:calc(100vh - 68px);grid-template-columns:258px minmax(380px,1fr) 304px;gap:0;background:#e8ede9}
.left-panel,.right-panel{min-width:0;padding:16px 13px;background:var(--paper);box-shadow:none}
.left-panel{border-right:1px solid var(--line)}
.right-panel{border-left:1px solid var(--line);box-shadow:none}
.production-layout>.module-panel{display:block}
.panel-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px;padding:0 2px 12px;border-bottom:1px solid var(--line);font-size:12px;text-transform:uppercase;letter-spacing:.6px}
.panel-title b{color:var(--green);font-size:11px}
.module-nav{display:grid;gap:7px}
.module{min-height:63px;margin:0;padding:9px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink);gap:9px;transition:background .16s ease,border-color .16s ease,transform .16s ease}
.module:hover{transform:translateX(2px);border-color:#d6e6db;background:#f4f9f5;box-shadow:none}
.module.active{border-color:#cfe2d5;background:#eaf5ed;color:#244b36;box-shadow:inset 3px 0 var(--green)}
.module-number{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border:1px solid #d5e0d9;border-radius:6px;background:#fff;color:#607168;font-size:10px;font-weight:800}
.module.active .module-number{border-color:#b9d5c1;background:var(--green);color:white}
.module-copy{flex:1;min-width:0}
.module-copy b{font-size:11px;line-height:1.35}
.module-copy small{color:var(--muted);font-size:10px}
.module.active .module-copy small{color:#55715f}
.module>i{color:#839188;font-size:20px;font-style:normal}
.workflow-foot{position:absolute;bottom:15px;left:15px;right:15px;display:flex;align-items:center;gap:7px;padding-top:11px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}
.workflow-foot b{margin-left:auto;color:var(--green);font-weight:750}
.status-dot,.studio-status i{width:7px;height:7px;border-radius:50%;background:var(--mint)}
.studio-area{display:flex;min-height:0;flex-direction:column;background:#eef2ee}
.studio-toolbar{z-index:1;display:flex;align-items:center;justify-content:space-between;padding:15px 19px 10px}
.eyebrow,.section-label{color:#718078;font-size:9px;font-weight:800;letter-spacing:1px}
.studio-toolbar h2{margin:3px 0 0;color:#23372c;font-size:16px}
.view-reset{width:32px;height:32px;border:1px solid #cbd9d0;border-radius:7px;background:#fff;color:var(--green);font-size:19px;cursor:pointer}
.view-presets{display:flex;align-items:center;gap:5px}.view-presets button{height:32px;border:1px solid #cbd9d0;border-radius:6px;background:#fff;color:#456156;padding:0 8px;font:700 10px "Segoe UI",Tahoma,sans-serif;cursor:pointer}.view-presets button:hover,.view-presets button:focus-visible{border-color:var(--green);background:#f1f8f3;color:var(--green)}
.view-reset:hover{border-color:var(--green);background:#f1f8f3}
.scene-wrap{position:relative;flex:1;min-height:250px;overflow:hidden;border-top:1px solid #d8e1db;border-bottom:1px solid #d8e1db;background-color:#e4e9e5;background-image:linear-gradient(#ffffff44 1px,transparent 1px),linear-gradient(90deg,#ffffff44 1px,transparent 1px);background-size:30px 30px}
#studio-canvas{display:block;width:100%;height:100%;touch-action:none}
.scene-index{position:absolute;top:15px;left:16px;display:flex;align-items:center;gap:9px;color:#3e5147;font-size:9px;font-weight:800;letter-spacing:.8px;pointer-events:none}
.scene-index>span:first-child{display:grid;place-items:center;width:29px;height:29px;border:1px solid #b7c9bd;border-radius:6px;background:#ffffffdf;color:var(--green);font-size:11px}
.scene-callout{position:absolute;top:68px;right:17px;display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d6e1d9;border-radius:6px;background:#ffffffdf;color:#40584b;font-size:9px;font-weight:800;letter-spacing:.5px;pointer-events:none}
.scene-callout i{width:7px;height:7px;border-radius:50%;background:var(--clay)}
.orbit-hint{position:absolute;right:15px;bottom:14px;display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid #d2dcd5;border-radius:6px;background:#ffffffdf;color:#596a60;font-size:9px;pointer-events:none}
.orbit-hint b{width:16px;height:1px;background:#a5b6aa}
.studio-status{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;color:#718078;font-size:9px;font-weight:800;letter-spacing:.7px}
.studio-status span:first-child{display:flex;align-items:center;gap:7px;color:#4b6a56}
.module-panel{overflow:auto}
.measurement-activity[hidden],#module-overview[hidden]{display:none}
.measurement-activity{margin-top:15px}
.measurement-progress-head,.recording-heading,.guide-heading,.reading-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.measurement-progress-head,.recording-heading{color:#718078;font-size:9px;font-weight:800;letter-spacing:.7px}
.measurement-progress-head b,.recording-heading>b{color:var(--green);font-size:10px;letter-spacing:0}
.measurement-progress{height:5px;margin:7px 0 12px;overflow:hidden;border-radius:4px;background:#e4ece6}
.measurement-progress i{display:block;width:0;height:100%;border-radius:4px;background:var(--mint);transition:width .2s ease}
.measurement-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.measurement-option{min-width:0;padding:7px 6px;border:1px solid #dce6df;border-radius:5px;background:#fff;color:#4e6054;font:650 10px "Segoe UI",Tahoma,sans-serif;text-align:left;cursor:pointer}
.measurement-option:hover{border-color:#9cbea7;background:#f6faf7}
.measurement-option.active{border-color:#75a986;background:#eaf5ed;color:#244b36;box-shadow:inset 2px 0 var(--green)}
.measurement-option.complete::after{float:right;color:var(--green);content:"✓";font-weight:900}
.measurement-guide{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}
.guide-heading b{color:#385b45;font-size:11px}
.measurement-guide svg{display:block;width:100%;height:90px;margin:5px auto 1px;border-radius:5px;background:#f5f8f5}
.guide-body{fill:#d8e1da;stroke:#8b9b8e;stroke-width:1.5;stroke-linejoin:round}
.guide-tape-mark{fill:none;stroke:#d69d3b;stroke-width:5;stroke-linecap:round;stroke-dasharray:4 2}
.guide-pin{fill:#66c18e;stroke:#fff;stroke-width:1.5}
#guide-illustration-label{fill:#65766b;font:700 7px "Segoe UI",Tahoma,sans-serif;letter-spacing:.6px}
.measurement-instruction{margin:5px 0 0;color:#58695f;font-size:10px;line-height:1.45}
.reading-row{margin-top:12px;padding:9px 10px;border:1px solid #dce7e0;border-radius:5px;background:#f7faf7;color:#718078;font-size:9px;font-weight:800;letter-spacing:.6px}
.reading-row output{color:#244b36;font-size:18px;font-weight:800;letter-spacing:0}
.measurement-feedback{margin-top:7px;padding:8px 9px;border-left:3px solid #85a895;border-radius:4px;background:#f1f6f2;color:#56685d;font-size:10px;line-height:1.4}
.measurement-feedback.good{border-left-color:#3a9a62;background:#eaf6ed;color:#246442}
.measurement-feedback.bad{border-left-color:#c87956;background:#fbefeb;color:#85462f}
.start-measurement{width:100%;margin-top:8px;padding:9px;border:0;border-radius:5px;background:var(--green);color:#fff;font:700 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer}
.start-measurement:hover{background:#356e4d}
.start-measurement:disabled{background:#8aa393;cursor:default}
.measurement-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}
.measurement-actions button{padding:7px 5px;border:1px solid #d5e1d8;border-radius:5px;background:#fff;color:#40584b;font:650 10px "Segoe UI",Tahoma,sans-serif;cursor:pointer}
.measurement-actions button:first-child{border-color:#b9d1c0;background:#f1f7f3;color:#315d3e}
.measurement-actions button:hover{border-color:var(--green);background:#f4f9f5}
.measurement-actions button span{margin-left:3px}
.print-sheet-heading{display:none}
.recording-sheet{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}
.chart-wrap{max-height:174px;margin-top:8px;overflow:auto;border:1px solid #e0e8e2;border-radius:5px}
.chart-wrap table{width:100%;border-collapse:collapse;font-size:10px}
.chart-wrap th{position:sticky;top:0;background:#f1f6f2;color:#67766c;font-size:9px;text-align:left}
.chart-wrap th,.chart-wrap td{padding:6px 7px;border-bottom:1px solid #e7ede8}
.chart-wrap th:last-child,.chart-wrap td:last-child{text-align:right;white-space:nowrap}
.chart-wrap td:last-child{color:#3f7050;font-weight:750}
.chart-wrap tr:last-child td{border-bottom:0}
.module-kicker{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line);color:#718078;font-size:9px;font-weight:800;letter-spacing:.8px}
.module-kicker b{color:var(--green)}
.preview-tag{padding:5px 7px;border:1px solid #cfe0d4;border-radius:4px;background:#f2f8f3;color:#4d765b;font-size:8px}
.module-panel h2{margin:16px 0 8px;color:#26382d;font-size:18px;line-height:1.25}
.module-summary{margin:0;color:#657269;font-size:12px;line-height:1.55}
.focus-block,.station-block,.sequence-block{margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}
.focus-block p{margin:8px 0 0;color:#46584d;font-size:12px;line-height:1.55}
.station-items{display:grid;gap:8px;margin-top:10px}
.station-item{display:flex;align-items:center;gap:8px;color:#4c5d52;font-size:11px}
.station-item i{display:grid;flex:0 0 23px;place-items:center;width:23px;height:23px;border:1px solid #d9e5dd;border-radius:5px;background:#f6faf7;color:var(--green);font-size:10px;font-style:normal;font-weight:800}
.sequence-line{display:flex;gap:9px;margin-top:9px;color:#56675d;font-size:11px;line-height:1.5}
.sequence-line i{flex:0 0 3px;border-radius:2px;background:var(--mint)}
.next-module{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:22px;padding:11px 12px;border:0;border-radius:6px;background:var(--green);color:#fff;font:700 12px "Segoe UI",Tahoma,sans-serif;text-align:left;cursor:pointer;transition:background .16s ease,transform .16s ease}
.next-module:hover{transform:translateY(-1px);background:#356e4d}
.next-module span{font-size:17px}
.loading-screen{position:fixed;inset:0;z-index:50;display:grid;place-content:center;justify-items:center;gap:18px;background:#45825d;transition:opacity .35s ease,visibility .35s ease}
.loading-screen img{width:96px;height:96px;object-fit:contain}
.loading-screen.is-hidden{visibility:hidden;opacity:0}
.loading-track{width:148px;height:3px;overflow:hidden;border-radius:2px;background:#ffffff45}
.loading-track i{display:block;width:42%;height:100%;border-radius:2px;background:#eaf7ed;animation:loading-sweep 1.05s ease-in-out infinite alternate}
@keyframes loading-sweep{from{transform:translateX(0)}to{transform:translateX(138%)}}
button:focus-visible,a:focus-visible{outline:3px solid #d4a84e;outline-offset:2px}
@media(max-width:1050px){.production-layout{grid-template-columns:228px minmax(320px,1fr) 278px}.module{padding:8px 6px}.module-copy b{font-size:10px}}
@media(min-width:781px) and (max-width:850px){.production-layout{grid-template-columns:200px minmax(285px,1fr) 245px}.left-panel,.right-panel{padding-right:10px;padding-left:10px}.module{gap:7px}.module-copy b{font-size:10px}}
@media(max-width:780px){body{height:auto;min-height:100vh;overflow:auto}.header{height:60px;padding:0 12px;gap:9px}.logo-img{width:42px;height:42px}.brand-note{display:none}.header h1{position:static;transform:none;margin-right:auto;font-size:15px}.back-link{padding:8px 9px;font-size:10px}.production-layout{height:auto;min-height:calc(100vh - 60px);grid-template-columns:minmax(0,1fr);grid-template-areas:"nav" "stage" "detail"}.workflow-panel{grid-area:nav;padding:11px 12px;border-right:0;border-bottom:1px solid var(--line)}.panel-title{margin-bottom:8px;padding-bottom:8px}.module-nav{grid-auto-columns:minmax(170px,42vw);grid-auto-flow:column;grid-template-columns:none;gap:7px;overflow-x:auto;padding:2px 1px 5px}.module{min-height:57px}.module>i{display:none}.workflow-foot{display:none}.studio-area{grid-area:stage;min-height:54vh}.studio-toolbar{padding:11px 13px 8px}.scene-wrap{min-height:340px}.scene-callout{top:54px;right:10px}.orbit-hint{right:10px;bottom:10px}.studio-status{padding:9px 13px}.module-panel{grid-area:detail;padding:14px 14px 20px;border-top:1px solid var(--line);border-left:0;overflow:visible}.module-panel h2{margin-top:12px;font-size:17px}.focus-block,.station-block,.sequence-block{margin-top:14px;padding-top:11px}.next-module{margin-top:16px}}
@media(max-width:420px){.header h1{max-width:45%;font-size:13px;line-height:1.15}.back-link{max-width:124px;white-space:nowrap}.scene-wrap{min-height:310px}.module-nav{grid-auto-columns:76vw}}
@media print{
	@page{margin:16mm}
	body{height:auto;min-height:0;overflow:visible;background:#fff}
	body *{visibility:hidden!important}
	.header,.workflow-panel,.studio-area,#next-module,.module-kicker,#module-title,.module-summary{display:none!important}
	.production-layout{display:block!important;height:auto!important;min-height:0!important;margin:0!important;background:#fff!important}
	.production-layout>.right-panel{display:block!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;padding:0!important;border:0!important;box-shadow:none!important}
	#measurement-activity{display:block!important;margin:0!important;overflow:visible!important}
	#measurement-activity>:not(#measurement-print-area){display:none!important}
	#measurement-print-area,#measurement-print-area *{visibility:visible!important}
	#measurement-print-area{display:block!important;position:relative!important;inset:auto;width:100%;padding:0;background:#fff;color:#1c2820}
	.print-sheet-heading{display:grid;grid-template-columns:52px 1fr;align-items:center;gap:12px;padding-bottom:14px;border-bottom:2px solid #45825d}
	.print-sheet-heading img{width:48px;height:48px;object-fit:contain}
	.print-sheet-heading h1{margin:0;font:700 19px "Segoe UI",Tahoma,sans-serif}
	.print-sheet-heading p{margin:3px 0 0;color:#58675d;font:12px "Segoe UI",Tahoma,sans-serif}
	.print-identity{grid-column:1/-1;display:flex;justify-content:space-between;margin-top:10px;color:#303d34;font:12px "Segoe UI",Tahoma,sans-serif}
	.recording-sheet{margin-top:18px;padding:0;border:0}
	.recording-heading .section-label{color:#29332e;font-size:12px;letter-spacing:0}
	.chart-wrap{max-height:none;margin-top:9px;overflow:visible;border:1px solid #65746a;border-radius:0}
	.chart-wrap table{font-size:12px}
	.chart-wrap th{position:static;background:#eaf1ec!important;color:#1c2820!important;font-size:11px}
	.chart-wrap th,.chart-wrap td{padding:9px;border-bottom:1px solid #aeb9b1}
	.chart-wrap tr{break-inside:avoid}
	.chart-wrap td:last-child{color:#1c2820}
}

.size-select{margin-bottom:12px}.size-options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px}
.size-btn{display:flex;flex-direction:column;align-items:center;gap:1px;padding:7px 4px;border:1px solid #c9ddd5;border-radius:9px;background:#fff;color:#183f46;font:800 12px inherit;cursor:pointer}
.size-btn small{font-size:9px;font-weight:600;color:#718078}.size-btn:hover{border-color:#45825d}
.size-btn.active{background:#45825d;border-color:#45825d;color:#fff}.size-btn.active small{color:#e3f3ea}
#draft-activity .measurement-option[disabled],#draft-activity button:disabled{opacity:.5;cursor:default}#dr-tools .measurement-option.active{border-color:var(--green)}
#td-box{margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.td-thumb{margin-top:8px;padding:4px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:zoom-in;line-height:0}.td-thumb[hidden]{display:none}.td-thumb:hover,.td-thumb:focus-visible{border-color:var(--green);outline:0}.td-thumb svg{display:block;width:100%;height:auto;pointer-events:none}
#td-overlay{position:fixed;z-index:40;display:flex;flex-direction:column;background:#fff;border:1px solid #cfd9d2;box-shadow:0 8px 28px #1f2f2638}#td-overlay[hidden]{display:none}
.td-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:8px 12px;border-bottom:1px solid var(--line);background:#f4f8f5}
.td-title{display:flex;flex-direction:column;gap:2px;min-width:0}.td-title b{color:var(--ink);font-size:14px}
.td-tabs{display:flex;flex:1;flex-wrap:wrap;gap:6px}.td-actions,.td-zoom,.td-seg{display:flex;align-items:center;gap:6px}.td-seg{gap:0}.td-zoom span{min-width:42px;text-align:center;font:650 11px "Segoe UI",Tahoma,sans-serif;color:#315d3e}
.td-bar button{padding:6px 10px;border:1px solid #cfe0d5;border-radius:6px;background:#fff;color:#315d3e;font:650 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer}
.td-bar button:hover{border-color:var(--green)}.td-bar button.active{background:var(--green);border-color:var(--green);color:#fff}
.td-seg button{border-radius:0;margin-left:-1px}.td-seg button:first-child{border-radius:6px 0 0 6px;margin-left:0}.td-seg button:last-child{border-radius:0 6px 6px 0}
.td-zoom button{min-width:30px;padding:6px 8px}
.td-main{display:flex;flex:1;min-height:0}
.td-canvas{position:relative;flex:1;min-width:0;background:#fff;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.td-sheet{position:absolute;inset:0}.td-sheet svg{display:block;width:100%;height:100%}
.td-tip{position:absolute;left:10px;bottom:10px;max-width:70%;padding:4px 9px;border-radius:6px;background:#1f3a2a;color:#fff;font:600 11px "Segoe UI",Tahoma,sans-serif;pointer-events:none;opacity:0;transition:opacity .12s}.td-tip.on{opacity:1}
.td-hint{position:absolute;right:10px;bottom:10px;font:11px "Segoe UI",Tahoma,sans-serif;color:#6b7f72;pointer-events:none;background:#ffffffd9;padding:2px 6px;border-radius:4px}
#td-sheet .hv:not(g):not(.hit),#td-sheet .sel:not(g):not(.hit){stroke:#1f8a4c!important}#td-sheet .sel.b,#td-sheet .sel.d{fill:#eaf6ee}#td-sheet .hv.b,#td-sheet .hv.d{fill:#f3faf5}
#td-sheet g.sel .bl,#td-sheet g.hv .bl{stroke:#1f8a4c;fill:#e1f3e8}#td-sheet g.kg.sel text,#td-sheet g.kg.hv text{fill:#1f8a4c}#td-sheet g.bg,#td-sheet g.kg{cursor:pointer}
.td-insp{flex:none;width:272px;overflow:auto;padding:12px 14px 16px;border-left:1px solid var(--line);background:#fafcfa;font:12px/1.45 "Segoe UI",Tahoma,sans-serif;color:var(--ink)}
.td-insp h3{margin:4px 0 6px;font-size:15px;line-height:1.25}.ti-info{margin:0;padding-left:16px;color:#3f5a4a}.ti-info li{margin:2px 0}
.ti-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.ti-chip{padding:4px 8px;border:1px solid #cfe0d5;border-radius:12px;background:#fff;color:#315d3e;font:600 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer}.ti-chip:hover{border-color:var(--green);background:#f1faf4}
.ti-c{margin:9px 0}.ti-c label{display:flex;justify-content:space-between;gap:8px;font-weight:600;margin-bottom:3px}.ti-c output{color:#1f6b3d;font-weight:700}.ti-c input[type=range]{width:100%;accent-color:var(--green)}.ti-c select{width:100%;padding:5px 6px;border:1px solid #cfe0d5;border-radius:6px;background:#fff;font:inherit}.ti-c.off{opacity:.45}
.ti-t{display:flex;align-items:center;gap:7px;margin:9px 0;font-weight:600}.ti-t input{accent-color:var(--green);width:15px;height:15px}
.ti-act{display:flex;flex-direction:column;gap:6px;margin-top:12px}.ti-act button{padding:7px 10px;border:1px solid #cfe0d5;border-radius:6px;background:#fff;color:#315d3e;font:650 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer;text-align:left}.ti-act button:hover:not(:disabled){border-color:var(--green)}.ti-act button:disabled{opacity:.45;cursor:default}
.ti-note{margin:10px 0 0;color:#6b7f72;font-size:11px}
@media (max-width:900px){.td-main{flex-direction:column}.td-insp{width:auto;max-height:44%;border-left:0;border-top:1px solid var(--line)}}
#td-printbox{display:none}
@media print{@page td{size:A4 landscape;margin:10mm}body.td-print .header,body.td-print .production-layout,body.td-print #td-overlay{display:none!important}body.td-print #td-printbox,body.td-print #td-printbox *{visibility:visible!important}body.td-print #td-printbox{display:block!important;position:static;page:td}body.td-print #td-printbox svg{width:100%;height:auto;max-height:185mm}}
.td-appr{margin-top:10px}.td-appr .start-measurement.done{background:#e3efe7;color:#2f6b45;border-color:#b9d4c3;cursor:default}.measurement-instruction.bad{color:#a23b2a}
.td-ast{color:#5b7164;font:600 11px "Segoe UI",Tahoma,sans-serif}.td-bar .td-ok{background:var(--green);border-color:var(--green);color:#fff}.td-bar .td-ok:disabled{background:#e3efe7;border-color:#b9d4c3;color:#2f6b45;cursor:default}
#rf-view{position:fixed;z-index:40;display:flex;flex-direction:column;background:#fff;border:1px solid #cfd9d2;box-shadow:0 8px 28px #1f2f2638}#rf-view[hidden]{display:none}
.rf-canvas{overflow:auto!important;touch-action:auto!important}.rf-canvas.pan{cursor:grabbing}.rf-stage{display:flex;width:100%;height:100%}.rf-stage svg{flex:1 1 0;min-width:0;height:100%}
.rf-box{margin:14px 0;padding-top:12px;border-top:1px solid var(--line)}.rf-box[hidden]{display:none}
.rf-two{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.rf-two figure,.rf-fig{margin:0;padding:4px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:zoom-in;text-align:center;font:600 10px "Segoe UI",Tahoma,sans-serif;color:#456156}
.rf-two svg,.rf-fig svg{display:block;width:100%;height:auto;max-height:260px}.rf-fig{margin:8px 0}.rf-fig svg{max-height:300px}.rf-two figure:hover,.rf-fig:hover,.rf-two figure:focus-visible,.rf-fig:focus-visible{border-color:var(--green);outline:none}
.rf-btn{padding:7px 12px;border:1px solid #cfe0d5;border-radius:6px;background:#fff;color:#315d3e;font:650 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer}.rf-btn:hover{border-color:var(--green)}
.rf-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.rf-seg button{padding:6px 14px;border:1px solid #cfe0d5;background:#fff;color:#315d3e;font:650 11px "Segoe UI",Tahoma,sans-serif;cursor:pointer}.rf-seg button.active{background:var(--green);border-color:var(--green);color:#fff}
.rf-chips{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.rf-chips button{padding:4px 9px;border:1px solid #cfe0d5;border-radius:12px;background:#fff;color:#315d3e;font:600 10.5px "Segoe UI",Tahoma,sans-serif;cursor:pointer}.rf-chips button.on{background:var(--green);border-color:var(--green);color:#fff}
.rf-notes{margin:6px 0 0;padding-left:16px;font:12px/1.45 "Segoe UI",Tahoma,sans-serif;color:#3f5a4a}.rf-notes li{margin:3px 0}.rf-pcs{margin:8px 0 0;font:11px/1.4 "Segoe UI",Tahoma,sans-serif;color:#6b7f72}.rf-warn{margin:6px 0;padding:6px 8px;border-radius:6px;background:#fff6e0;color:#7a5a12;font:600 11px/1.4 "Segoe UI",Tahoma,sans-serif}
.rf-det{margin-top:8px;font:650 11px "Segoe UI",Tahoma,sans-serif;color:#315d3e}.rf-det summary{cursor:pointer}
.rf-keys{display:flex;flex-direction:column;gap:3px}.rf-keys button{display:flex;gap:8px;text-align:left;padding:5px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font:12px/1.35 "Segoe UI",Tahoma,sans-serif;cursor:pointer}.rf-keys button b{min-width:16px;color:#1f6b3d}.rf-keys button:hover{border-color:#cfe0d5}.rf-keys button.on{background:#e3f2e9;border-color:#9fcdb0}
svg.rf .rf-hl:not(g):not(.hit){stroke:#1f8a4c!important;filter:drop-shadow(0 0 .5px #1f8a4c)}svg.rf .rf-hl.b,svg.rf .rf-hl.d{fill:#eaf6ee}svg.rf g.rf-hl .bl{stroke:#1f8a4c;fill:#e1f3e8}svg.rf g.rf-hl text{fill:#1f8a4c}
@media (max-width:900px){#rf-view .td-main{flex-direction:column}}
#rf-hls{flex:1 1 100%;order:9}
.next-module[aria-disabled="true"]{background:#9db1a5;cursor:not-allowed;transform:none}.ly-item{display:flex;gap:10px;align-items:center;padding:8px;margin-top:8px;border:1px solid var(--line);border-radius:6px;cursor:pointer;background:#fff}.ly-item img{width:56px;height:56px;object-fit:contain;background:#f6f3ea;border-radius:4px}.ly-item span{display:block;font-size:11px;color:#657269}.ly-item b{font-size:12px}.th-done i{background:#45825d!important;color:#fff!important}.th-cur{border-color:var(--green)!important;background:#eef6f0}.th-todo{opacity:.62}.as-bar{height:8px;border-radius:4px;background:#e4ebe6;overflow:hidden;margin-top:4px}.as-bar i{display:block;height:100%;background:#45825d}.ly-item.sel{border-color:var(--green);box-shadow:0 0 0 2px rgba(69,130,93,.25)}.ly-sw{width:26px;height:26px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);margin:3px;cursor:pointer;padding:0}.ly-sw.on{box-shadow:0 0 0 2px var(--green)}#ly-issues.bad{color:#9a3b30}
