#svg-stage[data-editor=hand]{display:block;overflow:auto;padding:0;background:var(--surface,#fbfaf7)}
#svg-stage[data-editor=hand][hidden]{display:none}
.hand-editor{container-type:inline-size;padding:20px;color:var(--ink,#1b1f1d);box-sizing:border-box;width:100%}
.hand-editor h3{font-size:1.2rem;font-weight:500;margin:0 0 15px}.hand-eyebrow{margin:0 0 8px;font-size:.65rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3,#646a66)}
.hand-tabs,.hand-view-modes{display:flex;gap:4px;flex-wrap:wrap}.hand-view-modes{border-bottom:1px solid var(--line,#ddd);padding-bottom:8px}
.hand-tabs button,.hand-view-modes button{font:inherit;font-size:.66rem;border:1px solid transparent;background:none;color:var(--ink-3,#646a66);padding:7px 8px;cursor:pointer}
.hand-tabs button[aria-pressed=true],.hand-view-modes button[aria-pressed=true]{border-color:var(--line,#ddd);background:var(--paper,#f3f0e9);color:var(--ink,#1b1f1d)}
.hand-section{display:block;width:100%;height:225px;margin:8px 0;overflow:visible}.hand-section text{font:.14px var(--mono,monospace);fill:var(--ink-3,#646a66)}
.hand-section path{stroke-width:.012;stroke-linejoin:round}.hand-section-member{opacity:.35}.hand-section-member.is-selected{opacity:1}
.hand-section .hand-hour{fill:#bd9c79;stroke:#735c42}.hand-section .hand-minute{fill:#8ba5a3;stroke:#496965}.hand-section .hand-chrono{fill:#7d899a;stroke:#404f65}
.hand-support{fill:none;stroke:#787b71}.hand-axis,.hand-roof{fill:none;stroke:#828982;stroke-dasharray:.06 .05}.hand-tick{fill:none;stroke:#92998d}
.hand-caption{font-size:.65rem;line-height:1.55;color:var(--ink-3,#646a66);margin:8px 0 12px}.hand-legend{display:flex;gap:15px;font-size:.62rem;color:var(--ink-3,#646a66);flex-wrap:wrap}.hand-legend span{display:flex;gap:5px;align-items:center}.hand-legend i{width:11px;height:8px}.hand-legend .hand-hour{background:#bd9c79}.hand-legend .hand-minute{background:#8ba5a3}.hand-legend .hand-chrono{background:#7d899a}
.hand-output-map{margin-top:18px;border-top:1px solid var(--line,#ddd);padding-top:14px}.hand-output-map h4{font-size:.7rem;font-weight:600;margin:0 0 7px}.hand-output-map table{width:100%;border-collapse:collapse;font-size:.65rem;line-height:1.5}.hand-output-map th,.hand-output-map td{padding:4px 8px 4px 0;text-align:left}.hand-output-map thead th{font-weight:500;color:var(--ink-3,#646a66)}.hand-output-map tbody th{font-weight:500}.hand-output-map p{font-size:.65rem;line-height:1.6;color:var(--ink-3,#646a66);margin:9px 0 0}
.hand-ownership-bar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.63rem;line-height:1.5;color:var(--ink-3,#646a66);margin-bottom:8px}.hand-ownership-bar>span{flex:1}.hand-ownership-bar button{padding:3px 0;white-space:nowrap}
#hand-fields{margin:8px 0}.hand-field-column{min-width:0}.hand-field-column fieldset{border:0;padding:0;margin:13px 0 0;min-width:0}.hand-field-column legend{padding:0;margin:0 0 7px;font-size:.65rem;font-weight:600}.hand-field{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:.66rem;line-height:1.4;padding:6px 0}.hand-field>span{display:flex;gap:6px;align-items:center;flex:none}.hand-field input{width:72px;font:inherit;font-family:var(--mono,monospace);font-size:.74rem;padding:7px;border:1px solid var(--line,#ddd);border-radius:2px;background:var(--paper,#f3f0e9);color:inherit}.hand-field small{font-size:.6rem;color:var(--ink-3,#646a66)}.hand-field input[aria-invalid=true]{border-color:var(--danger,#9a2b20)}
.hand-source-details,.hand-unknowns{font-size:.68rem;line-height:1.6;margin:14px 0}.hand-source-details summary,.hand-unknowns summary{cursor:pointer}.hand-datums{font-size:.66rem;margin:8px 0}.hand-datums>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line,#ddd)}.hand-datums dt{color:var(--ink-3,#646a66)}.hand-datums dd{margin:0;font-family:var(--mono,monospace);text-align:right}.hand-unknowns ul{padding-left:17px;color:var(--ink-3,#646a66)}
.hand-editor-status{font-size:.72rem;padding:10px 12px;background:var(--danger-wash,#f6e3df);color:var(--danger,#9a2b20);border-radius:3px;line-height:1.5}.hand-editor :focus-visible,.hand-field-column :focus-visible{outline:2px solid var(--focus,#2a5d86);outline-offset:2px}
.hand-capture-fallback{padding:24px;max-width:660px;margin:auto;color:var(--ink,#1b1f1d)}.hand-capture-fallback h3{font-size:1.15rem;font-weight:500}.hand-capture-fallback p{font-size:.74rem;line-height:1.6;color:var(--ink-3,#646a66)}.hand-capture-fallback .action{margin:6px 8px 6px 0}

.hand-section[data-mode=sweep] text{font-size:.42px}

.hand-section-layout{display:grid;gap:16px}.hand-section-layout .hand-output-map{margin:12px 0 0;padding:0;border:0}.hand-drawing{min-width:0}
@container(min-width:510px){.hand-section-layout{grid-template-columns:minmax(220px,1fr) minmax(220px,.9fr);align-items:start}.hand-section-layout .hand-output-map{grid-column:2;grid-row:1;padding-top:10px}.hand-drawing{grid-column:1;grid-row:1}.hand-section-layout .hand-output-map table{font-size:.63rem}.hand-section-layout .hand-output-map p{font-size:.64rem}}

.hand-source-datum{fill:none;stroke:#707b86;stroke-dasharray:.025 .055}.hand-source-shoulder{fill:none;stroke:#927b59;stroke-dasharray:.10 .07}.hand-check-boundary{font-size:.68rem;line-height:1.5;color:var(--ink-3,#646a66);margin:0 0 12px}.hand-source-advisory{font-size:.68rem;line-height:1.6;padding:10px 12px;border-left:2px solid #a48e68;background:var(--paper,#f3f0e9);color:var(--ink-3,#646a66)}.hand-source-advisory strong{display:block;color:var(--ink,#1b1f1d);font-weight:500}.hand-fitting-comparison{margin-top:12px}.hand-fitting-comparison .hand-datums>div{padding:5px 0}
