.tag-tool .tc-inputs{position:static}.tag-tool .tag-side{min-width:0;top:calc(var(--tc-header-h) + 16px);max-height:calc(100vh - var(--tc-header-h) - 32px);flex-direction:column;gap:16px;display:flex;position:sticky;overflow-y:auto}.tag-tool fieldset{border:0;border-top:1px solid var(--tc-border);flex-direction:column;gap:16px;min-width:0;margin:0;padding:16px 0 0;display:flex}.tag-tool legend{float:left;width:100%;padding:0;font-weight:600}.tag-tool legend+*{clear:both}.tag-tool .tag-note{color:var(--tc-muted);margin:0;font-size:14px}.tag-tool .tag-note a{color:var(--tc-accent-strong);text-decoration:underline}.tag-tool .tag-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.tag-tool .tag-toggle{color:var(--tc-muted);align-items:center;gap:8px;margin-bottom:4px;font-size:13px;display:flex}.tag-tool .tag-toggle input{accent-color:var(--tc-accent-strong)}.tag-tool .tag-file,.tag-tool .tag-colour{width:100%;max-width:100%;display:block}.tag-tool .tag-colour{height:var(--tc-control-h);border:1px solid var(--tc-border-strong);border-radius:var(--tc-radius-sm);background:var(--tc-surface);padding:2px}.tag-tool .tag-preview{background:var(--tc-sunken);border:1px solid var(--tc-border);border-radius:var(--tc-radius);padding:16px}.tag-tool .tag-preview canvas{object-fit:contain;filter:drop-shadow(0 1px 2px #00000040);width:100%;height:auto;max-height:60vh;display:block}.tag-tool .tag-errors{color:var(--tc-danger);margin:0;padding-left:18px;font-size:14px}.tag-tool .tag-actions{flex-wrap:wrap;gap:16px;display:flex}.tag-tool .tag-sheet{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.tag-tool .tag-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;max-width:280px;display:grid}.tag-tool .tag-sheet-pos{min-height:44px;font:inherit;color:var(--tc-text);background:var(--tc-surface);border:1px solid var(--tc-border-strong);border-radius:var(--tc-radius-sm);cursor:pointer;padding:0;font-size:14px}.tag-tool .tag-sheet-pos[aria-pressed=true]{color:#fff;background:var(--tc-accent-strong);border-color:var(--tc-accent-strong)}.tag-tool .tag-sheet-pos:focus-visible{outline:2px solid var(--tc-accent-strong);outline-offset:2px}.tag-tool .tc-export-buttons+.tag-note,.tag-tool .tag-print-help+.tag-note,.tag-tool .tag-print-help{margin-top:12px}.tag-tool .tag-print-help h4{margin:12px 0 4px;font-size:14px;font-weight:600}@media (max-width:900px){.tag-tool .tag-side{position:static}}
