.diag-card{border-radius:var(--radius-md);position:relative}.diag-card:has(input:checked){border-color:var(--color-ink);box-shadow:var(--shadow-lift);background-color:var(--color-surface)}.diag-card:has(input:focus-visible){outline:2px solid var(--color-accent);outline-offset:2px}.diag-check{border:1px solid var(--color-hairline-strong);border-radius:var(--radius-sm);color:#0000;flex-shrink:0;justify-content:center;align-items:center;width:1.25rem;height:1.25rem;transition:all .15s;display:inline-flex}.diag-check svg{width:.75rem;height:.75rem}.diag-card:has(input:checked) .diag-check{background-color:var(--color-ink);border-color:var(--color-ink);color:var(--color-on-ink)}.rec-title{margin-bottom:0;display:none}.rec-panel{display:none}.rec-wrap{margin-top:0}body:has(#symptom-group input:not([value=normal]):checked) .rec-title{display:block}body:has(#symptom-group input:not([value=normal]):checked) .rec-wrap{margin-top:2rem}body:has(#symptom-group input[value=top-larger]:checked) .rec-panel[data-for=top-larger],body:has(#symptom-group input[value=bottom-larger]:checked) .rec-panel[data-for=bottom-larger],body:has(#symptom-group input[value=sides-differ]:checked) .rec-panel[data-for=sides-differ],body:has(#symptom-group input[value=clipped]:checked) .rec-panel[data-for=clipped],body:has(#symptom-group input[value=outer-gone]:checked) .rec-panel[data-for=outer-gone],body:has(#symptom-group input[value=shifted]:checked) .rec-panel[data-for=shifted],body:has(#symptom-group input[value=measure-wrong]:checked) .rec-panel[data-for=measure-wrong],body:has(#symptom-group input[value=borderless-strip]:checked) .rec-panel[data-for=borderless-strip]{display:block}@media print{html,body{background:#fff!important}body>:not(main),main>.screen-content>section:not(.workspace),section.workspace aside,section.workspace .preview-head,section.workspace .workspace-note{display:none!important}section.workspace,section.workspace>div,section.workspace>div>div,section.workspace>div>div>div{box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important}#print-area{margin:0!important;padding:0!important;display:block!important;overflow:visible!important}#sheet-modal{display:none!important}.sheet-frame{zoom:1!important;width:auto!important;margin:0!important}.mg-vstick:not(:first-child){transform:translateY(-100%)!important}.sheet-body{padding-top:1mm!important;padding-bottom:1mm!important}.sheet-grid{gap:2mm!important}.sheet-sec{padding-top:1.5mm!important;padding-bottom:1.5mm!important}.sheet-sec-title{margin-bottom:1.2mm!important}.sec-note{margin-bottom:1mm!important}.sheet-head{margin-bottom:1.5mm!important;padding-bottom:1mm!important}.sheet-foot{margin-top:2mm!important;padding-top:1mm!important}.mg-nested{height:44mm!important}.mg-clipbox{height:14mm!important}.mg-center{width:18mm!important;height:18mm!important}.sheet{box-sizing:border-box!important;width:auto!important;height:auto!important;box-shadow:none!important;color:#171717!important;background:#fff!important;border:0!important;border-radius:0!important;flex-direction:column!important;margin:0!important;padding:0!important;display:flex!important;overflow:visible!important}.sheet[data-paper=a4]{min-height:280mm}.sheet[data-paper=letter]{min-height:262.4mm}*,:before,:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.sheet-sec,.sheet-foot,.sheet-head{break-inside:avoid;page-break-inside:avoid}}.sheet{--paper-w:210mm;--paper-h:297mm;box-sizing:border-box;color:#171717;font-family:var(--font-sans);flex-direction:column;font-size:7pt;line-height:1.3;display:flex}.sheet[data-paper=a4]{--paper-w:210mm;--paper-h:297mm}.sheet[data-paper=letter]{--paper-w:215.9mm;--paper-h:279.4mm}.sheet-frame{zoom:1;width:max-content;max-width:100%;margin-inline:auto}#print-area{overflow-x:clip}@media screen{.sheet{width:var(--paper-w);min-height:var(--paper-h);border:1px solid var(--color-hairline-strong);box-shadow:var(--shadow-lift);background:#fff;border-radius:2px;padding:7mm}@media (width<=860px){.sheet-frame{zoom:.7}}@media (width<=615px){.sheet-frame{zoom:.5}}@media (width<=452px){.sheet-frame{zoom:.37}}}.sheet-body{box-sizing:border-box;background:#fff;border:.3mm solid #171717;flex-direction:column;flex:auto;padding:4mm;display:flex;position:relative}.sheet-head{border-bottom:.3mm solid #171717;flex:none;justify-content:space-between;align-items:baseline;gap:3mm;margin-bottom:2.4mm;padding-bottom:1.6mm;display:flex}.sheet-title{font-family:var(--font-mono);letter-spacing:.14em;text-transform:uppercase;font-size:9pt;font-weight:700}.sheet-meta{font-family:var(--font-mono);color:#4d4d4d;gap:1.4mm;font-size:6pt;display:flex}.sheet-grid{flex:auto;grid-template-columns:1fr 1fr;align-content:stretch;gap:3mm;display:grid}.sheet-sec{box-sizing:border-box;border:.2mm solid #171717;flex-direction:column;min-width:0;padding:1.8mm 2.2mm 2.2mm;display:flex;overflow:hidden}.sec-wide{grid-column:1/-1}.sheet-sec-title{font-family:var(--font-mono);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:1.6mm;margin:0 0 2mm;font-size:7pt;font-weight:700;line-height:1.1;display:flex}.sheet-sec-title .n{color:#fff;background:#171717;border-radius:.6mm;justify-content:center;align-items:center;min-width:4.2mm;height:4.2mm;padding:0 .6mm;font-size:6.5pt;display:inline-flex}.sec-note{font-family:var(--font-mono);color:#4d4d4d;text-transform:uppercase;letter-spacing:.06em;margin:0 0 1.4mm;font-size:5.5pt}.mg-nested{border:.15mm dashed #8f8f8f;height:48mm;position:relative}.mg-rect{border:.25mm solid #171717;position:absolute}.mg-rect span{font-family:var(--font-mono);color:#4d4d4d;background:#fff;padding:0 .8mm;font-size:5pt;position:absolute;top:.6mm;left:1mm}.mg-edges{grid-template-columns:1fr 1fr;gap:2mm 4mm;display:grid}.mg-hruler{background-image:repeating-linear-gradient(90deg,#171717 0 .15mm,#0000 .15mm 2mm);background-position:bottom;background-repeat:repeat-x;background-size:100% 2.5mm;border-bottom:.25mm solid #171717;height:7mm;position:relative}.mg-hstick{font-family:var(--font-mono);color:#4d4d4d;font-size:4.5pt;position:absolute;bottom:2.8mm;transform:translate(-50%)}.mg-hstick i{font-style:normal}.mg-hstick:first-child{transform:none}.mg-vruler{background-image:repeating-linear-gradient(#171717 0 .15mm,#0000 .15mm 2mm);background-position:100%;background-repeat:repeat-y;background-size:2.5mm 100%;border-right:.25mm solid #171717;height:34mm;position:relative}.mg-vstick{font-family:var(--font-mono);color:#4d4d4d;font-size:4.5pt;position:absolute;right:3mm;transform:translateY(-50%)}.mg-vstick i{font-style:normal}.mg-vstick:first-child{transform:none}.mg-tickstop{background-image:repeating-linear-gradient(90deg,#171717 0 .15mm,#0000 .15mm 2mm);background-position:bottom;background-repeat:repeat-x;background-size:100% 2.5mm;border-bottom:.3mm solid #171717;height:7mm;position:relative}.mg-tstick{font-family:var(--font-mono);color:#4d4d4d;font-size:5pt;position:absolute;bottom:2.8mm;transform:translate(-50%)}.mg-tstick i{font-style:normal}.mg-tstick:first-child{transform:none}.mg-tsticksleft{background-image:repeating-linear-gradient(#171717 0 .15mm,#0000 .15mm 2mm);background-position:100%;background-repeat:repeat-y;background-size:2.5mm 100%;border-right:.3mm solid #171717;width:14mm;height:40mm;margin-top:2mm;position:relative}.mg-center{color:#171717;width:20mm;height:20mm;margin-inline:auto;display:block}.mg-scale-mm{border:.2mm solid #171717;border-top:0;width:100mm;max-width:100%;height:8mm;margin-bottom:2mm;position:relative}.mg-scale-mm .mg-stick{border-left:.15mm solid #171717;position:absolute;top:0;bottom:0}.mg-scale-mm .mg-stick i{font-style:normal;font-family:var(--font-mono);color:#4d4d4d;font-size:5pt;position:absolute;top:.6mm;left:.6mm}.mg-scale-in{border:.2mm solid #171717;border-top:0;width:4in;max-width:100%;height:8mm;position:relative}.mg-scale-in .mg-stick{border-left:.15mm solid #171717;position:absolute;top:0;bottom:0}.mg-scale-in .mg-stick i{font-style:normal;font-family:var(--font-mono);color:#4d4d4d;font-size:5pt;position:absolute;top:.6mm;left:.6mm}.mg-clipbox{border:.25mm dashed #8f8f8f;height:18mm;position:relative}.mg-cliptag{font-family:var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:#4d4d4d;white-space:nowrap;background:#fff;border:.15mm solid #8f8f8f;border-radius:.6mm;padding:.6mm 2mm;font-size:5.5pt;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.sheet-foot{font-family:var(--font-mono);color:#4d4d4d;border-top:.3mm solid #171717;flex:none;gap:1.4mm;margin-top:3mm;padding-top:1.6mm;font-size:6pt;display:flex}.sheet-foot b{color:#171717}
