:root{--blue:#1f5fbf;--green:#1a8a3a;--red:#c62828;--amber:#b26a00;--gray:#8a8f98;--hl:#e85d04;--ink:#1d2330;--line:#d9dde5;color:var(--ink);background:#f3f5f8;font-family:system-ui,Noto Sans,Noto Sans CJK SC,sans-serif}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button:focus-visible,[role=button]:focus-visible{outline:3px solid var(--hl);outline-offset:2px}.loading{padding:2rem}.app{flex-direction:column;height:100vh;display:flex}header{color:#fff;background:#17365d;flex-wrap:wrap;align-items:center;gap:1.25rem;padding:.5rem 1rem;display:flex}header .brand{font-size:1.1rem;font-weight:700}header .brand span{opacity:.8;font-weight:400}header label{opacity:.95;align-items:center;gap:.4rem;font-size:.85rem;display:flex}header select{border:0;border-radius:6px;min-height:48px;padding:.35rem .5rem}header label.tool .overdue{color:var(--amber);white-space:nowrap;font-size:.78rem}header .progress{margin-left:auto;font-size:1.2rem;font-weight:700}header .progress small{opacity:.85;font-size:.8rem;font-weight:400}main{flex:1;grid-template-columns:1fr 400px;min-height:0;display:grid}aside{border-left:1px solid var(--line);background:#fff;flex-direction:column;gap:.6rem;min-height:0;padding:.75rem;display:flex;overflow:auto}.drawing-wrap{background:#e9ecf1;min-width:0;min-height:0;position:relative;overflow:hidden}.svg-error{color:var(--red);background:#fff;border-radius:8px;padding:.5rem .75rem;position:absolute;top:.75rem;left:.75rem}.drawing-wrap .pan{transform-origin:0 0;will-change:transform;width:100%;height:100%}svg.drawing{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:100%;height:100%;display:block}svg.drawing .s{fill:none;stroke-width:1px;vector-effect:non-scaling-stroke}svg.drawing text{font-family:Noto Sans,"Noto Sans Symbols 2",DejaVu Sans,sans-serif}svg.drawing g.hl .s{stroke:var(--hl);stroke-width:2.5px}svg.drawing g.hl .f{fill:var(--hl)}svg.drawing g.hl-dim .s{stroke-width:3px}.guide line{stroke:var(--hl);stroke-width:2px;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.overlay line.edge{stroke:var(--hl);stroke-width:4px;stroke-linecap:round;vector-effect:non-scaling-stroke}.guide circle{fill:var(--hl)}.marker{cursor:pointer;outline:none}.marker .hit{fill:#0000;stroke:none}.marker .face{stroke-width:2px;vector-effect:non-scaling-stroke}.marker text{pointer-events:none;font-weight:800}.marker.todo .face{fill:#fff;stroke:var(--blue)}.marker.todo text{fill:var(--blue)}.marker.pass .face{fill:var(--green);stroke:var(--green)}.marker.pass text,.marker.fail text{fill:#fff}.marker.fail .face{fill:var(--red);stroke:var(--red)}.marker.blocked .face,.marker.optional .face{fill:#fff;stroke:var(--gray);stroke-dasharray:3 3}.marker.blocked text,.marker.optional text{fill:var(--gray)}.marker.exception .face{fill:var(--amber);stroke:var(--amber)}.marker.exception text{fill:#fff}.marker.issue .face{fill:#fff;stroke:var(--red)}.marker.issue text{fill:var(--red)}.marker:focus-visible .face{stroke:var(--hl);stroke-width:4px}.marker .halo{fill:none;stroke:var(--hl);stroke-width:4px;vector-effect:non-scaling-stroke;animation:1.2s ease-in-out infinite pulse}@keyframes pulse{50%{stroke-opacity:.35}}.zoom-buttons{gap:.4rem;display:flex;position:absolute;bottom:.75rem;left:.75rem}.zoom-buttons button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;min-width:52px;min-height:52px;font-size:1.1rem}.item{border:1px solid var(--line);border-radius:10px;padding:.75rem}.item.empty{color:var(--gray)}.item-head{align-items:baseline;gap:.6rem;display:flex}.item-head .code{font-size:1.6rem;font-weight:800}.item-head .type{color:var(--gray);text-transform:capitalize}.chip{text-transform:uppercase;border:1px solid;border-radius:99px;margin-left:auto;padding:.15rem .5rem;font-size:.75rem}.chip.todo{color:var(--blue)}.chip.blocked,.chip.optional{color:var(--gray)}.chip.exception{color:var(--amber)}.drawn{color:var(--gray);margin-top:.1rem}.spec{margin:.5rem 0}.spec .nominal{font-size:1.9rem;font-weight:800}.spec .limits{font-size:1.1rem}.spec .src,.tool-line{color:#4a5263;font-size:.9rem}.tool-line{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cap{border-radius:6px;padding:.1rem .45rem;font-size:.75rem;font-weight:700}.cap.OK{color:var(--green);background:#e3f3e7}.cap.APPROXIMATE{color:var(--amber);background:#fff1d6}.cap.BLOCKED{color:#555;background:#eceef2}.instruction{margin:.5rem 0}.note{color:var(--amber);font-size:.85rem}.arm{border-radius:8px;margin-top:.5rem;padding:.6rem .75rem;font-weight:700}.arm.armed{background:var(--hl);color:#fff}.arm.waiting{color:#4a5263;background:#eef1f6}.arm.blocked{color:#555;background:#eceef2;font-weight:600}.okbuttons{gap:.5rem;margin-top:.5rem;display:flex}.okbuttons button{color:#fff;cursor:pointer;border:0;border-radius:8px;flex:1;min-height:56px;font-size:1.1rem;font-weight:800}.okbuttons button:disabled{opacity:.35;cursor:default}.okbuttons .ok{background:var(--green)}.okbuttons .nok{background:var(--red)}.suspect{background:#fff1d6;border:1px solid #f0b54a;border-radius:8px;margin-top:.6rem;padding:.6rem .75rem}.suspect-title{color:var(--amber);font-weight:800}.suspect-value{margin-top:.15rem;font-weight:700}.suspect-q{color:#4a5263;margin-top:.25rem;font-size:.9rem}.suspect-buttons{gap:.5rem;margin-top:.5rem;display:flex}.suspect-buttons button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;flex:1;min-height:52px;font-size:1rem;font-weight:700}.suspect-buttons .keep{background:var(--amber);border-color:var(--amber);color:#fff}.result{color:#fff;border-radius:10px;margin-top:.6rem;padding:.6rem .75rem}.result.PASS{background:var(--green)}.result.FAIL{background:var(--red)}.result.EXCEPTION{background:var(--amber)}.result .value{font-size:2.2rem;font-weight:800;line-height:1.1}.result .verdict{font-size:1.2rem;font-weight:800}.result .dev{opacity:.9;font-size:.9rem}.message-row{flex:none;align-items:center;gap:.6rem;display:flex}.message{color:#4a5263;flex:1;min-height:1.4em;font-size:.9rem}.resend{border:1px solid var(--line);background:#fff;border-radius:10px;flex:none;min-height:44px;padding:0 1rem;font-weight:700}.sim{border:1px dashed var(--line);border-radius:10px;padding:.5rem .6rem}.sim-title{font-size:.9rem;font-weight:700}.sim-title small{color:var(--gray);font-weight:400}.sim-row{gap:.4rem;margin-top:.4rem;display:flex}.sim-row input{border:1px solid var(--line);border-radius:8px;flex:1;min-height:48px;padding:0 .6rem}.sim-row button{color:#fff;cursor:pointer;background:#17365d;border:0;border-radius:8px;min-width:88px;min-height:48px;font-weight:700}.sim-row button:disabled{opacity:.4}.list{flex-direction:column;min-height:200px;display:flex}.tabs{gap:.3rem;display:flex}.tabs button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;flex:1;min-height:48px}.tabs button.on{color:#fff;background:#17365d;border-color:#17365d}.list ul{margin:.4rem 0 0;padding:0;list-style:none;overflow:auto}.list li{cursor:pointer;border-bottom:1px solid #f0f2f5;align-items:center;gap:.5rem;min-height:52px;padding:.55rem .4rem;display:flex}.list li.sel{background:#fff4ec}.list li .dot{border:2px solid var(--blue);color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:20px;height:20px;font-size:.8rem;font-weight:800;display:inline-flex}.list li.pass .dot{background:var(--green);border-color:var(--green)}.list li.pass .dot:after{content:"✓"}.list li.fail .dot{background:var(--red);border-color:var(--red)}.list li.fail .dot:after{content:"✗"}.list li.blocked .dot,.list li.optional .dot{border-color:var(--gray);border-style:dashed}.list li.issue .dot{border-color:var(--red)}.list li .c{width:3.6rem;font-weight:800}.list li .t{color:#4a5263;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}@media (width<=900px){main{grid-template-rows:55vh auto;grid-template-columns:1fr}aside{border-left:0;border-top:1px solid var(--line)}}header .frozen{font-size:.95rem}header .frozen .part-no{font-weight:700}header .frozen small{opacity:.85}header .leave{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:8px;min-height:48px;padding:0 1rem;font-weight:700}header .who{opacity:.9;margin-left:auto}header .lang{color:#fff;cursor:pointer;background:0 0;border:1px solid #ffffff40;border-radius:8px;min-height:48px;padding:0 .9rem;font-size:.95rem}header .lang:hover{border-color:#fff9}.page-center{justify-content:center;align-items:center;min-height:100vh;padding:1rem;display:flex}.card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:1.25rem}.card h1,.card h2{margin:0 0 .75rem}.card label{color:#4a5263;flex-direction:column;gap:.3rem;margin-bottom:.9rem;font-size:.9rem;display:flex}.card input,.card select{border:1px solid var(--line);min-height:52px;color:var(--ink);background:#fff;border-radius:8px;padding:0 .7rem;font-size:1.05rem}.login{width:min(420px,100%)}.login-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.login-head h1{margin:0}.login .lang{border:1px solid var(--line);min-height:40px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;padding:0 .8rem}button.primary{color:#fff;cursor:pointer;background:#17365d;border:0;border-radius:8px;width:100%;min-height:56px;font-size:1.1rem;font-weight:800}button.primary:disabled{opacity:.45;cursor:default}button.link{color:var(--blue);cursor:pointer;font-size:inherit;background:0 0;border:0;text-decoration:underline}.error{color:var(--red);margin-bottom:.75rem}.muted{color:var(--gray)}.home{min-height:100vh}.home-main{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:1rem;max-width:1100px;margin:0 auto;padding:1rem;display:grid}.sessions{margin:0;padding:0;list-style:none}.sessions li button{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:flex-start;gap:.15rem;width:100%;min-height:60px;margin-bottom:.5rem;padding:.5rem .75rem;display:flex}.sessions .what{font-weight:700}.notice{color:#17365d;background:#eef4ff;border:1px solid #c9dafc;border-radius:8px;margin-bottom:.9rem;padding:.6rem .75rem}.error.banner{background:#fdecec;border-bottom:1px solid #f3b8b8;margin:0;padding:.6rem 1rem}.card h3{margin:1rem 0 .4rem;font-size:1rem}.plans{margin:0;padding:0;list-style:none}.plans li{border-bottom:1px solid #f0f2f5}.plans li button{cursor:pointer;text-align:left;width:100%;font:inherit;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:.15rem;padding:.5rem .25rem;display:flex}.plans li button:hover{background:#f5f7fa}.plans .what{font-weight:700}header .back{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:8px;min-height:48px;padding:0 1rem;font-weight:700}.import-main{flex-direction:column;gap:1rem;max-width:1100px;margin:0 auto;padding:1rem;display:flex}.hint{color:#4a5263;margin:0 0 .75rem;font-size:.9rem}.file-row{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.file-row input[type=file]{flex:1;min-width:0;padding:.7rem}.file-row button.primary{width:auto;padding:0 1.5rem}.fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 1rem;display:grid}.card input:disabled{color:#4a5263;background:#f3f5f8}.table-wrap{margin-bottom:.75rem;overflow-x:auto}table.part-numbers{border-collapse:collapse;width:100%}table.part-numbers th{text-align:left;color:#4a5263;padding:.3rem;font-size:.85rem;font-weight:600}table.part-numbers td{vertical-align:top;padding:.3rem}table.part-numbers input,table.part-numbers select{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;min-height:48px;padding:0 .5rem;font-size:1rem}table.part-numbers td.param input{width:7rem}table.part-numbers select{margin-top:.3rem}table.part-numbers tr.unlinked td{background:#fff4ec}.linked{color:var(--gray);margin-top:.2rem;font-size:.8rem}button.secondary{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;min-height:48px;padding:0 1rem;font-weight:700}.warnings,.problems{margin:0 0 .75rem;padding-left:1.2rem}.warnings li,.problems li{margin-bottom:.3rem}.problems{color:var(--amber)}.card.done{border-color:var(--green)}.created{font-size:1.2rem;font-weight:700}.review .progress.bad{color:var(--red);font-weight:700}.review .progress.good{color:var(--green);font-weight:700}.review aside .card{margin:0 0 10px}.review aside h3{margin:10px 0 4px;font-size:14px}.review .banner{background:#fff6e5;border:1px solid #e8c38a;border-radius:8px;margin-bottom:10px;padding:8px 10px}.review .view{color:var(--gray);margin-left:auto;font-size:12px}.review .per-variant{border-collapse:collapse;width:100%;font-size:13px}.review .per-variant td{padding:2px 6px 2px 0}.review .per-variant td:first-child{color:var(--gray)}.review .mpe,.review .accepted{color:#555;margin-top:4px;font-size:12px}.review .accepted{background:#eef6ee;border-radius:6px;padding:6px 8px}.review .note.off{color:var(--gray)}.review .note.revised{color:#7a5c00}.review p.issue{color:var(--red);margin:6px 0 0;font-weight:600}.review p.warn{color:#7a5c00;margin:6px 0 0}.review .edits{border-top:1px solid var(--line);gap:8px;margin-top:10px;padding-top:10px;display:grid}.review .edits label{color:#555;gap:3px;font-size:12px;display:grid}.review .edits input,.review .edits select{border:1px solid var(--line);border-radius:6px;padding:6px 8px;font-size:15px}.review .edit-row{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.review .edit-row.tolerance label{flex:90px}.review .issues .problems li,.review .issues .warnings li{margin:3px 0}.review .issues .problems .link{text-align:left;color:inherit;-webkit-text-decoration-color:var(--gray);text-decoration-color:var(--gray);padding:0;display:inline}.review .issues .problems{color:var(--red)}.review .uses li,.review .excluded li{padding:2px 0;font-size:13px}.review .actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.review .discard{flex-wrap:wrap;align-items:end;gap:8px;display:flex}.review .discard input{border:1px solid var(--line);border-radius:6px;padding:6px 8px;font-size:15px}.dialog-back{z-index:10;background:#0006;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:12px;width:100%;max-width:620px;max-height:90vh;padding:16px;overflow:auto}.dialog h2{margin:0 0 8px}.dialog label{color:#555;gap:4px;margin-top:8px;font-size:13px;display:grid}.dialog input{border:1px solid var(--line);border-radius:8px;padding:8px;font-size:16px}.dialog .accept-list{margin:6px 0;padding-left:18px;font-size:13px}.dialog .problems-title{margin:10px 0 2px;font-weight:600}.dialog-buttons{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.dialog.idle{text-align:center;max-width:420px;padding:24px}.dialog.idle p{margin:0;font-size:18px}.dialog.idle .dialog-buttons{justify-content:center}.dialog.idle button{min-height:52px;padding:12px 28px;font-size:18px}.cannot-open{margin-top:.6rem;display:block}.cannot{border:1px solid var(--line);border-radius:10px;gap:.5rem;margin-top:.6rem;padding:.6rem .75rem;display:grid}.cannot select,.cannot input{width:100%;min-height:44px}.cannot-buttons{align-items:center;gap:.5rem;display:flex}.finish-box{flex-direction:column;align-items:flex-start;gap:.1rem;display:flex}button.finish{min-height:44px}.finish-box small{color:var(--gray);white-space:nowrap;font-size:.72rem}.outcome{color:#fff;background:var(--gray);border-radius:8px;align-items:center;gap:.6rem;padding:.25rem .6rem;font-weight:700;display:flex}.outcome.pass{background:var(--green)}.outcome.fail{background:var(--red)}.outcome.incomplete{background:var(--amber)}.outcome .report{color:#fff;white-space:nowrap;font-weight:600;text-decoration:underline}main.inspections{padding:1rem;display:block;overflow:auto}.inspections .tabs{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.inspections .tabs button{flex:none;min-height:40px;padding:0 .9rem}.inspections .tabs button.on{background:var(--blue);border-color:var(--blue);color:#fff}.inspections .only-approx{align-items:center;gap:.35rem;margin-left:.5rem;display:flex}.inspections .find{min-width:14rem;min-height:40px;margin-left:auto}.inspections table,.tools table{border-collapse:collapse;width:100%}.inspections th,.inspections td,.tools th,.tools td{border-bottom:1px solid var(--line);text-align:left;padding:.5rem .6rem}.inspections th,.tools th{color:var(--gray);font-weight:600}.inspections td small,.tools td small{color:var(--gray)}.inspections .counts span{text-align:center;border-radius:6px;min-width:1.6rem;margin-right:.25rem;padding:0 .3rem;font-weight:700;display:inline-block}.inspections .counts .pass{color:var(--green)}.inspections .counts .fail{color:#fff;background:var(--red)}.inspections .counts .exc{color:#fff;background:var(--amber)}.chip.pass{color:var(--green)}.chip.fail{color:var(--red)}.chip.incomplete,.chip.stopped{color:var(--amber)}.chip.approx{color:var(--amber);margin-left:.35rem}.outcome.stopped{background:var(--gray)}.outcome.paused{background:var(--amber)}header button.pause{min-height:44px;padding:0 .9rem}.sessions .paused{color:var(--amber)}.login .version{text-align:center;color:var(--gray);font-size:.75rem}.outcome.paused button.resume{cursor:pointer;border:0;border-radius:6px;min-height:36px;padding:0 .8rem;font-weight:700}main.tools{padding:1rem;display:block;overflow:auto}.tools .add{flex-wrap:wrap;align-items:flex-end;gap:.8rem;margin-bottom:1rem;display:flex}.tools .add label{color:var(--gray);flex-direction:column;gap:.2rem;font-size:.85rem;display:flex}.tools .add input,.tools .add select{border:1px solid var(--line);border-radius:8px;min-height:44px;padding:0 .5rem;font-size:1rem}.tools .add button.primary{flex:none;width:auto;min-height:44px;padding:0 1.4rem}.tools .add input{min-width:11rem}.tools td.tag{font-weight:700}.tools td.overdue,.tools td.overdue input{color:var(--red)}.tools tr.retired td:not(.tag){opacity:.6}.tools td input[type=date]{border:1px solid var(--line);border-radius:8px;min-height:40px;padding:0 .4rem}.tools .small{margin-top:1rem;font-size:.85rem}main.inspection{grid-template-columns:1fr 26rem;min-height:0;display:grid}.inspection aside{overflow:auto}.inspection .facts{grid-template-columns:auto 1fr;gap:.2rem .8rem;margin:0 0 .8rem;display:grid}.inspection .facts dt{color:var(--gray)}.inspection .facts dd{margin:0;font-weight:600}.inspection .checks{border-collapse:collapse;width:100%}.inspection .checks tr{border-bottom:1px solid var(--line);cursor:pointer}.inspection .checks td{vertical-align:top;padding:.4rem .3rem}.inspection .checks td.c{white-space:nowrap;font-weight:700}.inspection .checks td.t{color:var(--gray)}.inspection .checks tr.fail td.c{color:var(--red)}.inspection .checks tr.exception td.c{color:var(--amber)}.inspection .exc-reason{color:var(--amber);display:block}.inspection .tries{color:var(--gray);margin:.3rem 0 0;padding-left:1rem}.inspection .tries li.FAIL{color:var(--red)}
