/* Shared staff controls; customer layouts remain in customer.css. */
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
strong, b { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none !important; }
.boot-screen { min-height: 100dvh; display: grid; place-content: center; place-items: center; gap: 16px; color: var(--muted); }
.brand-mark { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 12px; color: var(--accent); font-weight: 600; }
.boot-pulse { width: 32px; height: 3px; background: var(--accent); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scaleX(.35); opacity: .35; } }
.primary-button, .ghost-button, .theme-toggle, .utility-button { min-height: 40px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; }
.primary-button { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.ghost-button:hover, .theme-toggle:hover, .utility-button:hover { border-color: var(--accent); }
.primary-button:hover { filter: brightness(1.07); }
.icon-button { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--accent); font-size: 20px; }
.link-button { padding: 8px; border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.link-button:hover { color: var(--accent); }
.field-label { display: grid; gap: 7px; min-width: 0; color: var(--muted); font-size: 12px; }
.field-label input, .field-label select, .field-label textarea { width: 100%; min-width: 0; min-height: 44px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); resize: vertical; }
.field-label input:focus, .field-label select:focus, .field-label textarea:focus { border-color: var(--accent); }
.eyebrow, .section-kicker, .section-label { margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.live-dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--green); border-radius: 50%; }
.tag { display: inline-flex; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.empty-state { grid-column: 1 / -1; padding: 36px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; }
.backdrop { position: fixed; inset: 0; z-index: 40; background: var(--backdrop); }
.toast-region { position: fixed; z-index: 100; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translateX(-50%); display: grid; gap: 8px; width: min(90vw, 420px); }
.toast { padding: 13px 15px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow); font-size: 13px; }
.toast.error { background: var(--danger-soft); color: var(--danger); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }
