:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#20292d;background:#f4f5f3;font-synthesis:none;font-size:16px;--accent:#ad4329;--line:#dce0dc;--muted:#63706f}*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer;color:inherit}button{border:1px solid var(--line);background:#fff;border-radius:5px;padding:10px 14px}button:hover{background:#f1f2ed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #ce704f;outline-offset:3px}button:disabled{opacity:.4;cursor:default}a{color:inherit}.top{height:68px;background:#192124;color:#f1f3ef;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:750;text-decoration:none;letter-spacing:-1px}.brand-mark{background:#b4492e;width:30px;height:32px;display:grid;place-items:center;font-style:italic;font-size:26px}.brand-sub{font-size:12px;letter-spacing:2px;font-weight:400;margin-left:14px;color:#b4beb9}.profile,.version{font-size:14px;color:#c3ccc6}.version b{margin-left:12px;border:1px solid #59615e;padding:4px 6px}.titlebar{padding:26px 32px 25px;display:flex;justify-content:space-between;align-items:center}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:600;color:var(--muted);margin-bottom:10px}h1{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:0}h1 span{display:inline-block;margin-left:20px;color:#6c7774;font-weight:400;font-size:22px;letter-spacing:-.4px}.source-button{background:transparent;font-size:14px;padding:12px 16px}.source-button span{margin-left:20px}.modes{display:flex;align-items:stretch;gap:28px;padding:0 32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);height:60px;background:#fafbf8}.modes button{border:none;border-radius:0;background:none;font-size:15px;padding:0 4px;border-bottom:3px solid transparent}.modes button span{font-size:12px;color:#8c9491;margin-right:10px}.modes button.active{border-bottom-color:var(--accent);color:var(--accent);font-weight:650}.mode-note{margin-left:auto;align-self:center;font-size:13px;color:var(--muted)}.workspace{display:grid;grid-template-columns:265px minmax(340px,1fr) 330px;min-height:660px;border-bottom:1px solid var(--line)}.tree{border-right:1px solid var(--line);padding:22px 14px;background:#fafbf8}.panel-label{font-size:12px;letter-spacing:1px;color:var(--muted);display:flex;justify-content:space-between;margin-bottom:25px}.panel-label span{letter-spacing:0}.module-name{font-size:15px;line-height:1.5;font-weight:650;display:flex;gap:12px;padding-bottom:18px}.module-name>span{color:var(--accent);font-size:13px;padding-top:2px}.search{display:flex;align-items:center;gap:8px;background:white;border:1px solid var(--line);padding:8px 10px;border-radius:4px}.search>span{font-size:24px;color:#8b9490}.search input{min-width:0;width:100%;border:none;outline:none;background:transparent;font-size:14px}.parts{max-height:550px;overflow:auto;margin-top:8px}.group-label{font-size:12px;color:var(--muted);padding:19px 8px 8px;text-transform:uppercase;letter-spacing:.8px}.part{display:flex;align-items:baseline;gap:10px;text-align:left;line-height:1.4;font-size:14px;border:0;background:transparent;width:100%;padding:10px 8px;margin-bottom:2px}.part.selected{background:#f2e7df;color:#913a24}.number{font-family:monospace;font-size:12px;min-width:18px;color:#7b8680}.part.selected .number{color:#913a24}.roadmap{border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:13px;color:var(--muted);line-height:1.8}.roadmap summary{cursor:pointer}.canvas-panel{min-width:0;background:#eeefeb;padding:24px 24px 14px;display:flex;flex-direction:column}.canvas-head{display:flex;justify-content:space-between;align-items:start;gap:12px}h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:0 0 18px}.canvas-head h2{font-size:19px;margin-bottom:12px}.canvas-head .eyebrow{font-size:11px}.tag{font-size:12px;color:#627069;border:1px solid #ccd2ca;border-radius:4px;padding:5px 8px;white-space:nowrap}.diagram-viewport{height:552px;overflow:auto;border:1px solid #d9ded6;background:#fff;flex:1;min-height:460px;max-height:620px}.diagram{position:relative;margin:20px auto;max-width:none}.diagram img{display:block;width:100%;height:auto}.hotspot{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;display:grid;place-items:center;padding:0;border:1px solid #acb7ac;background:#f9fbf5ed;border-radius:50%;font-family:monospace;font-size:12px;color:#35453d;box-shadow:0 2px 6px #0001}.hotspot.chosen{background:var(--accent);color:white;border-color:var(--accent);box-shadow:0 0 0 6px #ad432923;z-index:2}.hotspot:hover{background:#dbded7;z-index:3}.canvas-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;font-size:12px;color:var(--muted)}.canvas-tools>div{display:flex;gap:4px}.canvas-tools button{padding:6px 12px;font-size:14px;min-height:34px}.canvas-caption{font-size:12px;line-height:1.5;color:var(--muted);margin-top:14px;display:flex;gap:8px}.small-dot{display:block;flex-shrink:0;width:6px;height:6px;border:1px solid #899386;border-radius:50%;margin-top:5px}.inspector{padding:22px 24px;border-left:1px solid var(--line);background:#fcfcf9}.inspector .eyebrow{margin-top:24px}.accent{color:var(--accent)}.inspector h2{font-size:25px}.inspector p{line-height:1.65;font-size:15px;color:#53605c}.verified{display:inline-block;font-size:12px;color:#455c40;background:#eaf0e5;border:1px solid #dce6d5;padding:5px 8px;border-radius:4px}dl{border-top:1px solid var(--line);padding-top:16px;margin-top:24px;display:grid;grid-template-columns:1fr;gap:5px;font-size:14px}dt{color:#77817d;font-size:12px;margin-top:8px}dd{margin:0;line-height:1.4}.source-card{border:1px solid #cdd5cb;border-radius:5px;background:#f1f4ed;padding:16px;margin-top:24px}.source-card>span{display:block;font-size:11px;letter-spacing:1px;color:#65745f;margin-bottom:12px}.source-card>b{display:block;font-size:18px}.source-card small{font-size:13px;font-weight:400;color:var(--muted)}.source-card p{font-size:13px;line-height:1.5;margin:10px 0 14px}.source-card button{font-size:14px;padding:9px 10px;width:100%;text-align:left;background:#fcfdf9}.applicability h3{font-size:14px;font-weight:600;margin-bottom:6px;margin-top:23px}.applicability p,.inspector p.scope{font-size:12px;line-height:1.6}.primary{background:#253a30;color:#fff;border-color:#253a30}.primary:hover{background:#364d40}.inspector>.primary{width:100%;margin-top:12px;font-size:14px}.note{border-left:3px solid #ae633a;padding:10px 12px;background:#f5ece1;margin-top:20px}.note b{font-size:13px;color:#805030}.note p{font-size:13px;margin:6px 0 0;color:#765b44}.variant{display:flex;gap:4px}.variant button{flex:1;padding:8px 4px;font-size:12px}.variant button.active{background:#263a30;color:white}.studied{font-size:14px;display:flex;gap:10px;align-items:center;margin-top:22px;line-height:1.4;cursor:pointer}.studied input{width:18px;height:18px;accent-color:#34503e}.timeline{display:flex;align-items:center;gap:12px;padding:18px 32px;background:#fcfcf9}.timeline-title{font-size:13px;color:var(--muted);margin-right:12px}.timeline-title b{color:#283a30}.steps{display:flex;gap:6px;flex:1}.steps button{font-size:13px;width:35px;height:35px;padding:0;border-radius:50%}.steps button.current{border:2px solid var(--accent);color:var(--accent)}.steps button.done{background:#e1e9d9}.timeline>button{font-size:14px}footer{display:flex;justify-content:space-between;gap:20px;padding:20px 32px;font-size:12px;color:var(--muted)}footer b{color:var(--accent);margin-right:8px}.empty{font-size:14px;line-height:1.7;padding:12px}dialog{padding:0;border:1px solid #ccd4ca;border-radius:8px;width:min(1060px,94vw);max-height:92vh;color:#20292d;background:#f5f6f1}dialog::backdrop{background:#16221dcc;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;gap:15px}.dialog-head small{display:block;font-size:12px;margin-top:5px;color:var(--muted)}.source-nav{display:flex;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid var(--line);font-size:14px}.source-nav a{margin-left:auto}.page-scroll{overflow:auto;height:calc(90vh - 150px);background:#d5d9d0;padding:15px}.page-scroll img{display:block;width:100%;min-width:720px;height:auto;margin:auto}@media(min-width:1600px){.workspace{grid-template-columns:300px minmax(340px,1fr) 380px}.diagram-viewport{max-height:730px}}@media(max-width:1150px){.workspace{grid-template-columns:230px minmax(300px,1fr) 290px}.canvas-panel{padding:20px 12px}.inspector{padding:22px 18px}.canvas-head{display:block}.tag{display:none}h1 span{display:block;margin:8px 0 0;font-size:18px}.brand-sub,.version{display:none}.diagram{margin-left:auto;margin-right:auto}.timeline{padding:16px}.timeline-title{max-width:100px}}@media(max-width:900px){.workspace{grid-template-columns:220px minmax(0,1fr)}.inspector{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:block}.diagram-viewport{height:600px}.inspector dl{grid-template-columns:1fr 2fr;align-items:baseline}.inspector dt{margin:0}.inspector .source-card{max-width:500px}.inspector>.primary{max-width:400px}.parts{max-height:570px}.mode-note{display:none}footer{flex-wrap:wrap}.timeline{flex-wrap:wrap}.steps{flex:none}}@media(max-width:600px){.top{height:60px;padding:0 16px}.brand{font-size:22px}.profile{font-size:12px;max-width:170px;text-align:right;line-height:1.5}.titlebar{padding:22px 16px;align-items:start;gap:10px}.titlebar .eyebrow{font-size:10px;line-height:1.7}h1{font-size:23px}.source-button{font-size:12px;padding:10px;white-space:nowrap}.source-button span{display:none}.modes{gap:0;padding:0 12px;justify-content:space-between;height:56px}.modes button{font-size:14px;padding:0 7px}.modes button span{display:none}.workspace{display:flex;flex-direction:column}.tree{padding:16px;border-right:0;border-bottom:1px solid var(--line)}.tree .panel-label{margin-bottom:14px}.module-name{padding-bottom:12px}.parts{max-height:170px;margin-top:10px}.group-label{padding-top:12px}.part{font-size:14px;padding:9px}.roadmap{margin-top:12px;padding-top:10px}.canvas-panel{padding:20px 12px 14px}.diagram-viewport{height:520px;min-height:0;flex:auto}.diagram{margin:16px auto}.canvas-caption{font-size:12px}.inspector{padding:22px 18px}.inspector h2{font-size:25px}.timeline{padding:16px 12px;gap:10px}.timeline-title{max-width:none;flex-basis:100%}.steps{width:100%;margin-bottom:8px}.timeline>button{flex:1}footer{padding:20px 16px;gap:10px}.page-scroll{padding:4px}.dialog-head{padding:12px}.source-nav{padding:8px;font-size:12px;gap:8px}.source-nav button{padding:8px 12px}.dialog-head b{font-size:14px}}
/* Detailed procedure workspace */
select{font:inherit;color:inherit;border:1px solid var(--line);border-radius:5px;background:#fff;padding:10px;max-width:100%}select:focus-visible{outline:3px solid #ce704f;outline-offset:2px}.procedure-picker,.step-jump{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}.procedure-picker{margin-bottom:20px}.procedure-picker select{width:100%;font-size:14px;color:#253a30}.outline-title{font-size:14px;font-weight:650;margin:10px 0}.outline{position:relative;list-style:none;padding:0;margin:0;max-height:610px;overflow:auto}.outline li{margin:0 0 3px}.outline button{display:flex;width:100%;gap:10px;border:0;border-radius:4px;background:transparent;text-align:left;font-size:14px;line-height:1.4;padding:10px 8px}.outline button.selected{background:#f2e7df;color:#913a24}.outline button small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:5px}.outline .number{padding-top:2px}.outline button:hover{background:#e9ece4}.surface-tabs{display:flex;gap:8px;margin:6px 0 14px}.surface-tabs button{font-size:14px;padding:9px 12px;background:transparent}.surface-tabs button.active{background:#fff;border-color:#9cae9b;color:#253a30}.operation-figure{margin:16px auto}.operation-figure img{width:100%;display:block}.operation-figure figcaption{font-size:13px;color:var(--muted);padding:14px;line-height:1.5;background:#fafbf8}.figure-viewport{max-height:640px;min-height:380px;flex:none;height:580px}.canvas-caption button{padding:8px 12px;font-size:13px;background:transparent}.procedure-context{padding:15px 0;font-size:14px;line-height:1.6;color:var(--muted)}.procedure-context summary{cursor:pointer;color:#30463b}.procedure-context ul{padding-left:22px}.procedure-context li{margin-bottom:9px}.inspector p.step-text{font-size:16px;line-height:1.65}.condition{padding:13px 15px;background:#edf1e7;border:1px solid #d9e0cf;border-radius:5px}.condition b{font-size:13px;color:#41553a}.condition p{font-size:14px;margin:6px 0 0}.step-tools h3,.parameters h3,.related h3,.part-operations h3{font-size:14px;margin:22px 0 10px}.step-tools ul{font-size:14px;line-height:1.6;padding-left:20px;color:#53605c}.step-tools li{margin-bottom:8px}.parameters article{border:1px solid #c8d3c3;background:#f1f4ed;padding:14px;border-radius:5px;margin-bottom:12px}.parameters article>b{display:block;font-size:14px}.parameters strong{display:block;font-size:30px;margin-top:10px;color:#2d4935;letter-spacing:-.5px}.parameters strong small{font-size:17px;font-weight:400}.parameters article p{font-size:14px;line-height:1.6}.parameters article button{font-size:12px;text-align:left;padding:8px;background:transparent;line-height:1.5}.related button,.related-link{width:100%;text-align:left;font-size:14px;line-height:1.5;margin:4px 0;background:transparent;padding:10px}.part-operations{margin-top:24px;padding-top:16px;border-top:1px solid var(--line);font-size:14px}.part-operations summary{cursor:pointer}.part-operations .related-link{font-size:13px}.return-bar{display:flex;align-items:center;gap:14px;padding:10px 32px;border-bottom:1px solid var(--line);background:#e9eee3;font-size:14px}.return-bar button{background:transparent;font-size:14px;padding:7px 10px}.return-bar span{color:var(--muted)}.timeline .step-jump{flex:1;min-width:0;max-width:430px}.step-jump select{font-size:14px;color:#243b2d;min-width:0;width:100%}.timeline-title{min-width:150px;line-height:1.5}progress{display:block;width:100%;height:5px;margin-top:7px;accent-color:#3c5740}.procedure-workspace .inspector{min-width:0}#step-title:focus{outline:none}.procedure-workspace .canvas-panel{align-self:stretch}.procedure-workspace .tree{min-width:0}.canvas-head h2{overflow-wrap:anywhere}@media(max-width:900px){.outline{max-height:650px}.timeline{align-items:end}.timeline .step-jump{max-width:none}.return-bar{padding:10px 18px;flex-wrap:wrap}}@media(max-width:600px){.outline{max-height:205px}.outline button{padding:9px 8px}.outline-title{margin:8px 0}.procedure-picker{margin-bottom:10px}.figure-viewport{height:460px;min-height:0}.timeline .step-jump{flex-basis:100%;margin-bottom:6px}.timeline-title{width:100%;min-width:0}.return-bar{padding:10px 14px;gap:6px}.return-bar span{font-size:12px}.surface-tabs button{flex:1}.operation-figure figcaption{font-size:12px}.parameters article p{font-size:14px}.canvas-head h2{font-size:20px}}
.model-viewport{position:relative;overflow:hidden;background:#e7ece7;min-height:460px;height:570px;flex:none}.belt-viewer{width:100%;height:100%;position:relative}.belt-viewer canvas{display:block;width:100%;height:100%;touch-action:none}.model-badge{position:absolute;left:16px;top:16px;pointer-events:none;font-size:12px;letter-spacing:.4px;background:#ffffffc9;color:#455747;border:1px solid #cad3c8;border-radius:4px;padding:7px 10px}.model-loading,.model-error{padding:90px 30px;font-size:15px;line-height:1.7;color:#405047}.model-views{display:flex;align-items:center;gap:8px;margin-top:12px}.model-views button{font-size:14px;padding:8px 12px}.model-views span{font-size:12px;line-height:1.5;color:var(--muted);margin-left:auto}.belt-viewer[data-error=true]:after{content:'3D-контекст потерян. Переключите на схему и обратно.';position:absolute;inset:40% 15px auto;background:#fff;padding:20px;font-size:14px}@media(max-width:600px){.model-viewport{height:440px;min-height:0}.model-views{flex-wrap:wrap}.model-views span{width:100%;margin:0}.model-viewport+.canvas-tools{align-items:start}.model-viewport+.canvas-tools>span{max-width:130px}}
.module-picker{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted);margin:0 0 20px}.module-picker select{width:100%;font-size:14px;color:#263e30;padding:10px 6px}.head-sheets{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0 16px}.head-sheets button{font-size:13px;padding:8px 10px;background:transparent}.head-sheets button.active{background:#fff;border-color:#98ac96;color:#284431}
.part-source{display:block;font-size:12px;color:var(--muted);margin-top:4px;font-weight:400;line-height:1.5}

.measurement-scroll{max-width:100%;overflow-x:auto;margin:18px 0}
.measurement-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.55;text-align:left}
.measurement-table caption{text-align:left;font-weight:650;margin-bottom:9px;color:var(--ink)}
.measurement-table th,.measurement-table td{padding:9px 8px;border-bottom:1px solid #d8ded8;vertical-align:top}
.measurement-table thead{background:#edf1eb}
.measurement-table tbody th{font-weight:500}
.measurement-table td{font-variant-numeric:tabular-nums}
.tree,.inspector{min-width:0}
.part>span:last-child{min-width:0;overflow-wrap:anywhere}
.group-label{overflow-wrap:anywhere}
.parts{position:relative}
.model-views{flex-wrap:wrap;gap:6px}.model-selection{position:absolute;bottom:10px;left:14px;right:14px;padding:8px 12px;background:#f5f8efed;border-radius:6px;font-size:12px;pointer-events:none}.belt-viewer{position:relative}.roadmap p{line-height:1.6}
.overview-content{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px;overflow:auto;max-height:75vh}.overview-content figure{margin:0}.overview-content img{width:100%}.overview-content figcaption{font-size:12px;color:#59665b}.overview-modules{display:flex;flex-direction:column;gap:8px}.overview-modules button{text-align:left;padding:12px}.overview-modules button span{display:block;font-size:12px;margin-top:5px}.overview-modules p{font-size:13px;line-height:1.5}.titlebar{gap:12px}.titlebar>div{margin-right:auto}@media(max-width:600px){.overview-content{grid-template-columns:1fr}.overview-content figure{max-width:280px;margin:auto}.titlebar{flex-wrap:wrap}}
.model-views button[aria-pressed="true"]{background:#d9e6d5;border-color:#6e8767;color:#284527}.model-badge{max-width:calc(100% - 28px);white-space:normal}
.repair-entry{display:inline-block;padding:10px 14px;border:1px solid #a45020;border-radius:5px;color:#944217;text-decoration:none;font-size:14px}.repair-top{display:flex;justify-content:space-between;gap:16px;padding:22px 5%;background:#18252a;color:#e4eee5}.repair-top a{color:#fff}.repair-shell{display:grid;grid-template-columns:260px minmax(0,900px);justify-content:center;gap:28px;padding:32px 24px;align-items:start}.repair-sidebar{position:sticky;top:20px}.repair-sidebar h1{font-size:27px;line-height:1.2}.repair-sidebar ol{list-style:none;padding:0;margin:28px 0}.repair-sidebar li{display:flex;align-items:center;gap:10px;padding:12px 10px;color:#6d766c;border-left:3px solid transparent}.repair-sidebar li span{font-size:12px}.repair-sidebar li.active{background:#f3e6d9;color:#a34b1b;border-color:#a34b1b}.repair-progress{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:20px}.repair-progress progress{width:100%;accent-color:#a34b1b}.repair-card{padding:30px;background:#fffef9;border:1px solid #d7ded3;border-radius:10px}.repair-card h2{font-size:27px;line-height:1.25;margin-top:0}.repair-card h3{margin-top:24px}.repair-instruction{font-size:18px;line-height:1.65}.repair-options{background:#edf2e9;padding:18px;border-radius:6px}.repair-choice{display:block;margin:12px 0;font-weight:600}.repair-choice select{display:block;width:100%;margin-top:6px;padding:12px;white-space:normal}.repair-main{min-width:0}.repair-kit td{min-width:140px}.repair-kit td:nth-child(2){min-width:230px}.repair-notes{display:block;margin:24px 0}.repair-notes textarea{display:block;box-sizing:border-box;width:100%;margin-top:10px;padding:12px;font:inherit}.repair-confirm{display:flex;align-items:start;gap:12px;margin:22px 0;padding:16px;background:#edf2e9;line-height:1.6}.repair-confirm input{margin-top:6px;flex-shrink:0}.repair-art figure{margin:0}.repair-art img{width:100%;height:auto;display:block;max-width:850px;margin:auto}.repair-source{margin-top:20px}.repair-source summary{padding:12px;cursor:pointer}.repair-art figcaption,.repair-source>p{font-size:13px;color:#697566}.repair-actions{position:sticky;bottom:0;display:flex;gap:15px;align-items:center;justify-content:space-between;padding:18px 0;background:#f4f6efee;border-top:1px solid #d7ded3}.repair-actions span{font-size:12px;color:#697566}.repair-actions button,.repair-actions a{padding:12px 24px;white-space:nowrap}.repair-check{padding:14px;border-left:3px solid #7f9d70;background:#eef3e9}.repair-save{font-size:12px;margin-top:18px}@media(max-width:800px){.repair-shell{grid-template-columns:1fr;padding:16px;gap:15px}.repair-sidebar{position:static}.repair-sidebar ol{display:flex;overflow:auto;margin:15px 0}.repair-sidebar li{flex-shrink:0;max-width:160px}.repair-sidebar h1{font-size:24px}.repair-sidebar>p:not(.eyebrow){display:none}.repair-card{padding:18px}.repair-card h2{font-size:23px}.repair-instruction{font-size:16px}.repair-top{font-size:12px}.repair-actions{padding:12px 0}.repair-actions button{padding:12px 18px}}
/* Complete repair outline; navigation is independent of per-screen confirmations. */
.repair-sidebar{display:flex;flex-direction:column;max-height:calc(100vh - 40px);min-height:0}.repair-sidebar>h1{margin:8px 0}.repair-sidebar>p{margin:8px 0}.repair-tree{position:relative;overflow:auto;min-height:0;flex:1;margin:16px 0;scrollbar-gutter:stable}.repair-sidebar .repair-tree ol{display:block;list-style:none;padding:0;margin:0;overflow:visible}.repair-sidebar .repair-tree li{display:block;max-width:none;padding:0;border:0}.repair-tree button{width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;border:0;border-radius:4px;background:transparent}.repair-tree .repair-stage{display:flex;align-items:center;gap:8px;padding:12px 8px;color:#41503f;background:#e9eee4;margin:6px 0}.repair-stage b{flex:1;font-size:13px}.repair-stage small{font-size:11px}.repair-tree .repair-stage.active{color:#944217;background:#f3e6d9}.repair-tree .repair-tree-step{display:grid;grid-template-columns:25px minmax(0,1fr);gap:4px;padding:9px 8px;color:#56614f;font-size:12px;line-height:1.45}.repair-tree-step>span:first-child{font-size:11px;color:#889280}.repair-tree .repair-tree-step.selected{background:#f3e6d9;color:#944217;box-shadow:inset 3px 0 #a34b1b}.repair-tree button:hover{background:#e8eee0}.repair-tree button:focus-visible{outline:2px solid #a34b1b;outline-offset:-2px}.repair-sidebar>[data-repair-prep]{flex-shrink:0}@media(max-width:800px){.repair-sidebar{max-height:none}.repair-tree{flex:none;max-height:40vh;margin:12px 0}.repair-sidebar .repair-tree ol{display:block}.repair-sidebar .repair-tree li{max-width:none}}
.repair-task-picker{display:block;font-size:12px;color:#596651;margin:12px 0}.repair-task-picker select,.repair-entry select{display:block;width:100%;min-width:0;margin-top:6px;padding:9px;font-size:12px}.repair-entry{max-width:290px}.repair-task-picker{flex-shrink:0}.repair-external{font-size:13px}.repair-external a{overflow-wrap:anywhere}

.repair-branches {margin:24px 0;padding:18px;background:#edf3ed;border:1px solid #d5e1d5;border-radius:8px}
.repair-branches label{display:block;font-weight:700}
.repair-branches select{display:block;width:100%;margin-top:10px;padding:12px;font:inherit;white-space:normal}
.repair-branches p{font-size:13px;margin-bottom:0}
.repair-step-notes{margin:18px 0}
.repair-step-notes textarea{display:block;width:100%;box-sizing:border-box;margin-top:10px;font:inherit;padding:12px}

.admin-link{font-size:13px;color:inherit;white-space:nowrap}
.measurement-admin{max-width:1500px;margin:auto;padding:28px}
.measurement-admin h1{margin-top:0}
.measurement-layout{display:grid;grid-template-columns:minmax(260px,350px) minmax(0,1fr);gap:28px}
.measurement-admin label{display:block;font-size:14px;margin:12px 0}
.measurement-admin input:not([type=file]),.measurement-admin select,.measurement-admin textarea{display:block;box-sizing:border-box;width:100%;padding:10px;margin-top:6px;font:inherit;border:1px solid #cbd4c9;border-radius:5px;background:white}
.measurement-admin textarea{resize:vertical}
.measurement-list{max-height:70vh;overflow:auto;padding-right:6px}
.measurement-item{display:block;text-align:left;width:100%;padding:14px;margin-bottom:8px;border:1px solid #d5dfd3;background:white}
.measurement-item.selected{border-left:4px solid #ad713d;background:#f5ede2}
.measurement-item small,.measurement-item b,.measurement-item span{display:block;margin-bottom:5px;overflow-wrap:anywhere}
.measurement-item small{color:#5d6f63;font-size:11px}
.measurement-item span{font-size:12px;color:#566259;white-space:pre-wrap}
.measurement-editor{background:white;border:1px solid #dce3d9;border-radius:8px;padding:24px;min-width:0}
.measurement-context,.manual-value{white-space:pre-wrap;overflow-wrap:anywhere}
.measurement-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.measurement-toolbar .import-label{margin:0}
.measurement-toolbar input[type=file]{display:block;max-width:260px;font-size:12px}
[data-admin-message]{min-height:1.5em;color:#476447;white-space:pre-wrap}
.manual-measurements{margin:22px 0;padding:16px;border:1px solid #c3d7cb;border-radius:6px;background:#f1f7f3}
.manual-measurements summary{cursor:pointer;font-weight:700}
.manual-measurements article{margin:12px 0;padding:12px;background:white;border:1px solid #dce5dc}
.manual-measurements p{font-size:13px}.manual-measurements .manual-value{font-size:17px;font-weight:700;color:#254c39}
@media(max-width:800px){.measurement-layout{grid-template-columns:1fr}.measurement-list{max-height:35vh}.measurement-admin{padding:14px}.measurement-editor{padding:16px}.top{flex-wrap:wrap}.repair-top{flex-wrap:wrap;gap:12px}}

/* Diagram labels appear on mouse hover, keyboard focus, or a deliberate touch tap. */
.diagram .hotspot{opacity:0;pointer-events:none}
.diagram[data-pointer="mouse"]:hover .hotspot,
.diagram[data-markers-visible="true"] .hotspot,
.diagram:has(.hotspot:focus-visible) .hotspot{opacity:1;pointer-events:auto}
