.xh-field--full,.xh-toggles,.xh-wrap .tool-seo{grid-column:1/-1}.xh-range,.xh-toggle input{accent-color:var(--yellow)}.xh-val,.xh-zoom-btn{font-variant-numeric:tabular-nums}.xh-bg-btn,.xh-zoom-btn{font-weight:var(--fw-bold);min-height:44px;min-width:44px}.xh-code,.xh-commands,.xh-import-row .tool-input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.xh-wrap{max-width:1000px;display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:1.1rem;align-items:start}.xh-panel{display:flex;flex-direction:column;gap:1.2rem}.xh-preview{position:relative;border-radius:var(--r-md);overflow:hidden;border:1px solid var(--bg-border)}#xh-canvas{display:block;width:100%;height:auto;aspect-ratio:7/4;background:#2c2924}.xh-preview-bar{position:absolute;top:8px;right:8px;display:flex;gap:8px}.xh-bg-btn{font-size:11px;color:var(--gray-1);background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18);border-radius:var(--r-pill);padding:4px 14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:color .15s,background .15s}.xh-bg-btn.is-active,.xh-zoom-btn.is-active{color:var(--text-on-gold);background:var(--grad-gold);border-color:transparent}.xh-bg-btn:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-controls{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.2rem}.xh-field{display:flex;flex-direction:column;gap:0.4rem}.xh-field label,.xh-field-label{font-size:var(--fs-sm);color:var(--text-muted);font-weight:var(--fw-bold);text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:baseline;justify-content:space-between;gap:0.5rem}.xh-val{color:var(--yellow);letter-spacing:0;text-transform:none}.xh-range{width:100%;height:44px;cursor:pointer}.xh-color,.xh-color-custom{width:44px;height:44px;cursor:pointer}.xh-range:focus-visible{outline:3px solid var(--yellow);outline-offset:4px;border-radius:2px}html.a11y-contrast .xh-range:focus-visible{outline-width:4px;outline-offset:5px}@media (prefers-contrast:more){.xh-range:focus-visible{outline-width:4px;outline-offset:5px}}.xh-toggles{display:flex;gap:1.4rem;flex-wrap:wrap}.xh-toggle{display:inline-flex;align-items:center;gap:0.5rem;color:var(--gray-1);font-weight:var(--fw-bold);font-size:var(--fs-base);cursor:pointer;min-height:44px}.xh-toggle input{width:18px;height:18px;cursor:pointer}.xh-colors{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.xh-color{border-radius:50%;background:var(--c);border:2px solid transparent;padding:0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.45)}.xh-color.is-active{border-color:var(--w)}.xh-color:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-color-custom{border-radius:50%;overflow:hidden;border:1px dashed rgba(255,255,255,.45);display:inline-grid;place-items:center;position:relative;background:conic-gradient(from 0deg,#f44,#fd4,#4f4,#4ff,#44f,#f4f,#f44)}.xh-color-custom input[type=color]{position:absolute;inset:-25%;width:150%;height:150%;border:0;padding:0;opacity:0;cursor:pointer}.xh-color-custom:has(input:focus-visible){outline:2px solid var(--yellow);outline-offset:2px}.xh-side{display:flex;flex-direction:column;gap:1.1rem}.xh-out-panel,.xh-presets-panel{padding:1.1rem 1.2rem}.xh-out-head{display:flex;align-items:center;justify-content:space-between;gap:0.6rem;margin-bottom:0.8rem}.xh-out-title{font-size:var(--fs-md);color:var(--w);margin:0 0 0.8rem}.xh-out-head .xh-out-title{margin:0}.xh-commands{margin:0;padding:0.9rem 1rem;background:var(--bg-main);border:1px solid var(--bg-border);border-radius:var(--r-md);color:var(--gray-1);font-size:12px;line-height:1.75;white-space:pre;overflow-x:auto}.xh-hint kbd,.xh-preset{background:var(--bg-card-2)}.xh-hint,.xh-preset{font-size:var(--fs-sm)}.xh-commands:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-hint{margin:0.8rem 0 0;color:var(--text-muted);line-height:1.6}.xh-hint kbd,.xh-preset,.xh-zoom-btn{color:var(--gray-1)}.xh-hint kbd{font-family:inherit;font-size:.85em;padding:1px 6px;border-radius:4px;border:1px solid var(--bg-border)}.xh-apply{list-style:decimal;padding-left:1.3rem}.xh-apply li{margin-top:0.3rem}.xh-apply code,.xh-hint code{font-size:.85em;padding:1px 5px;border-radius:4px;background:var(--bg-card-2);border:1px solid var(--bg-border);color:var(--gray-1)}.xh-presets{display:flex;flex-wrap:wrap;gap:0.5rem}.xh-preset{font-weight:var(--fw-bold);border:1px solid var(--bg-border);border-radius:var(--r-pill);padding:8px 15px;cursor:pointer;min-height:44px;display:inline-flex;align-items:center;transition:color .15s,border-color .15s,background .15s}.xh-outline-btn,.xh-zoom-btn{transition:color .15s,background .15s}.xh-preset:focus-visible,.xh-preset:hover{color:var(--yellow-2);border-color:rgba(var(--yellow-rgb),.5);background:rgba(var(--yellow-rgb),.06);outline:0}.xh-preset:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-zoom-bar{position:absolute;left:8px;bottom:8px;display:flex;gap:8px}.xh-zoom-btn{font-size:11px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18);border-radius:var(--r-pill);padding:4px 10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.xh-hint-inline,.xh-note{font-size:var(--fs-sm);color:var(--text-muted)}.xh-zoom-btn:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-note{margin:-0.5rem 0 0;line-height:1.5}.xh-select{padding:0.65rem 0.8rem;font-size:var(--fs-base)}.xh-hint-inline{line-height:1.45}.xh-outline-btn,.xh-outline-color{min-height:44px;font-size:var(--fs-sm);color:var(--gray-1);font-weight:var(--fw-bold)}.xh-range:disabled,.xh-toggle input:disabled{cursor:not-allowed;opacity:.45}.xh-field:has(.xh-range:disabled) label,.xh-toggle:has(input:disabled){opacity:.55}.xh-outline-row{display:flex;flex-wrap:wrap;align-items:center;gap:0.8rem 1.1rem}.xh-seg{display:inline-flex;padding:3px;gap:3px;background:var(--bg-main);border:1px solid var(--bg-border);border-radius:var(--r-pill)}.xh-outline-btn{min-width:64px;padding:0 14px;border:0;border-radius:var(--r-pill);cursor:pointer;background:0 0}.xh-outline-btn:hover{color:var(--w)}.xh-outline-btn.is-active{color:var(--text-on-gold);background:var(--grad-gold)}.xh-outline-btn:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-outline-color{display:inline-flex;align-items:center;gap:0.55rem;cursor:pointer}.xh-import .tool-msg:empty,.xh-outline-color[hidden]{display:none}.xh-outline-color input[type=color]{width:36px;height:36px;padding:0;border:1px solid var(--border-field);border-radius:var(--r-sm);background:0 0;cursor:pointer}.xh-outline-color input[type=color]:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-code{display:block;padding:0.8rem 0.9rem;font-size:13px;line-height:1.5;color:var(--yellow-2);background:var(--bg-main);border:1px solid var(--bg-border);border-radius:var(--r-md);overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}.xh-code:focus-visible{outline:2px solid var(--yellow);outline-offset:2px}.xh-import{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--rule-hair)}.xh-import-label{display:block;margin-bottom:0.45rem;font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--text-muted)}.xh-import-row{display:flex;gap:0.5rem}.xh-import-row .tool-input{flex:1 1 auto;min-width:0;padding:0.6rem 0.75rem;font-size:var(--fs-base)}.xh-import .tool-msg{margin-top:0.5rem;font-size:var(--fs-sm)}@media (max-width:820px){.xh-wrap{grid-template-columns:1fr;max-width:640px}}@media (max-width:420px){.xh-controls{grid-template-columns:1fr}}@media (max-width:560px){#xh-canvas{aspect-ratio:4/3}}@media (prefers-reduced-motion:reduce){.xh-bg-btn,.xh-outline-btn,.xh-preset,.xh-zoom-btn{transition:none}}@media (forced-colors:active){.xh-range:focus-visible{outline-color:Highlight}.xh-bg-btn.is-active,.xh-outline-btn.is-active,.xh-zoom-btn.is-active{outline:Highlight solid 2px;outline-offset:-2px}.xh-color,.xh-color-custom{forced-color-adjust:none}.xh-color.is-active{outline:Highlight solid 2px;outline-offset:2px}.xh-color-custom:has(input:focus-visible){outline-color:Highlight}}