.gate-workspace{--gate-ink:var(--hf-text-primary);--gate-muted:var(--hf-text-muted);--gate-line:var(--hf-border-subtle);--gate-accent:var(--hf-brand-accent);--gate-paper:var(--hf-surface-card);--gate-on-accent:var(--hf-text-on-accent);--gate-outline:var(--hf-border-strong);--gate-focus:var(--hf-border-focus);--gate-status:var(--hf-status-success-text);--gate-status-surface:var(--hf-status-success-bg);--gate-note:var(--hf-brand-subtle);--gate-problem:var(--hf-status-danger-text);--gate-problem-surface:var(--hf-status-danger-bg);--gate-camera:var(--hf-text-primary);color:var(--gate-ink);gap:1rem;min-width:0;display:grid}.gate-workspace :is(h1,h2,p){margin:0}.gate-workspace h1{font-size:clamp(1.45rem,3vw,2rem);font-weight:780;line-height:1.2}.gate-workspace h2{font-size:1.05rem;font-weight:760}.gate-workspace p{line-height:1.5}.gate-workspace :is(button:not(.tactile-button),input,select,textarea){font:inherit}.gate-workspace button:not(.tactile-button){border:1px solid var(--gate-line);background:var(--gate-paper);min-height:3rem;color:var(--gate-ink);cursor:pointer;border-radius:.65rem;padding:.45rem .85rem;font-weight:650}.gate-workspace button.gate-primary{background:var(--gate-accent);border-color:var(--gate-accent);color:var(--gate-on-accent)}.gate-workspace button:not(.tactile-button):disabled{opacity:.58;cursor:default}.gate-workspace :is(button,input,select,textarea,a):focus-visible{outline:3px solid var(--gate-focus);outline-offset:3px}.gate-workspace :is(input:not([type=checkbox]),select,textarea){border:1px solid var(--gate-outline);background:var(--gate-paper);width:100%;min-width:0;min-height:3rem;color:var(--gate-ink);border-radius:.6rem;padding:.55rem .7rem}.gate-context,.gate-actions,.gate-heading{flex-wrap:wrap;align-items:end;gap:.65rem;display:flex}.gate-context>div{flex:12rem}.gate-form :is(.field,.check),.gate-context .field{min-width:0}.gate-form .check{align-items:center;gap:1rem;min-height:3rem;display:flex}.gate-form .check input{width:1.25rem;height:1.25rem;accent-color:var(--gate-accent)}.gate-form [role=alert],.gate-context [role=alert]{color:var(--gate-problem);display:block}.gate-panel,.gate-body,.gate-form,.gate-record,.gate-scan-result{gap:.75rem;min-width:0;display:grid}.gate-panel{border:1px solid var(--gate-line);background:var(--gate-paper);border-radius:.95rem;padding:1rem}.gate-form{align-items:end}.gate-list{margin:0;padding:0;list-style:none;display:grid}.gate-list li{border-bottom:1px solid var(--gate-line);align-items:start;gap:.5rem;min-width:0;padding:.75rem 0;display:grid}.gate-list li:last-child{border-bottom:0;padding-bottom:0}.gate-record{color:var(--gate-muted);overflow-wrap:anywhere;gap:.2rem;font-size:.875rem}.gate-record strong{color:var(--gate-ink);font-size:1rem}.gate-status{color:var(--gate-status);background:var(--gate-status-surface);border-radius:.55rem;justify-self:start;padding:.2rem .45rem;font-size:.84rem;font-weight:650}.gate-callout,.gate-problem,.gate-scan-result{background:var(--gate-note);border-radius:.65rem;padding:.7rem .8rem}.gate-problem{background:var(--gate-problem-surface);color:var(--gate-problem)}.gate-handover{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.35rem .7rem;margin:0;display:grid}.gate-handover :is(dt,dd){overflow-wrap:anywhere;margin:0}.gate-handover dt{font-weight:650}.gate-secret{overflow-wrap:anywhere;font-family:monospace}.gate-camera{aspect-ratio:4/3;object-fit:cover;background:var(--gate-camera);border-radius:.75rem;width:100%;display:block}.gate-qr{max-width:100%;margin-inline:auto;display:block}@media (min-width:900px){.gate-desk .gate-form{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-desk .gate-list li{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}}.gate-actions button:has(svg){align-items:center;gap:.4rem;display:inline-flex}.mobile-shell.living .gate-workspace{--gate-ink:var(--mobile-ink);--gate-muted:var(--muted);--gate-line:var(--line);--gate-accent:var(--accent-fill);--gate-paper:var(--paper);--gate-on-accent:var(--on-accent);--gate-outline:var(--mobile-outline);--gate-focus:var(--accent);--gate-status:var(--mobile-success);--gate-status-surface:var(--mobile-success-surface);--gate-note:var(--accent-light);--gate-problem:var(--mobile-error);--gate-problem-surface:var(--mobile-error-surface);--gate-camera:var(--mobile-ink)}.gate-mode .gate-workspace button:not(.tactile-button){--btn-lip:var(--mobile-card-lip);border:2px solid var(--gate-outline);box-shadow:0 4px 0 var(--btn-lip);border-radius:16px;min-height:52px;font-weight:800}.gate-mode :is(.gate-workspace input:not([type=checkbox]),.gate-workspace select,.gate-workspace textarea,.gate-workspace .tactile-button,.gate-mobile-tabs button){min-height:52px}.gate-mode .gate-scan-result{border:2px solid var(--mobile-outline);background:var(--mobile-success-surface);color:var(--mobile-success)}.gate-mode .gate-workspace button.gate-primary{--btn-lip:var(--accent-lip);border-color:var(--btn-lip)}.gate-mode .gate-workspace button:not(.tactile-button,:disabled):active{box-shadow:0 1px 0 var(--btn-lip);transform:translateY(3px)}.gate-mode .gate-workspace button:not(.tactile-button):disabled{opacity:1;box-shadow:none;border-color:var(--mobile-locked-border);background:var(--mobile-locked-surface);color:var(--mobile-locked);cursor:not-allowed}.gate-mobile-tabs button{background:0 0;border:0;padding:0}.gate-desk{--mobile-shell-width:430px;--mobile-ink:var(--hf-text-primary);--mobile-muted:var(--hf-text-muted);--mobile-surface:var(--hf-surface-card);--mobile-surface-soft:var(--hf-surface-subtle);--mobile-border:var(--hf-border-subtle);--mobile-border-lip:var(--hf-border-default);--mobile-error:var(--hf-status-danger-text);--mobile-error-border:var(--hf-status-danger-border);--mobile-error-lip:var(--hf-border-default);--mobile-grip:var(--hf-border-strong);--mobile-sheet-shadow:color-mix(in srgb, var(--hf-text-primary) 24%, transparent);--line:var(--hf-border-default);--paper:var(--hf-surface-card);--accent:var(--hf-brand-accent)}.gate-desk .sheet::backdrop{background:color-mix(in srgb, var(--hf-text-primary) 44%, transparent)}.gate-desk .sheet-heading .icon-button{place-items:center;min-width:48px;padding:0;display:grid}
