.topbar{display:flex;justify-content:space-between;align-items:center;padding:var(--space-5) var(--space-6);background:var(--color-surface);border-bottom:1px solid var(--color-border)}.topbar__left{display:flex;flex-direction:column;gap:var(--space-2)}.topbar__title{font-size:var(--text-2xl);font-weight:600}.topbar__filters{display:flex;gap:var(--space-4)}.topbar__field{display:flex;flex-direction:column;gap:var(--space-1);font-size:var(--text-sm);color:var(--color-text-muted)}.topbar__field input,.topbar__field select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:8px 10px;border-radius:var(--radius-card)}.topbar__right{display:flex;align-items:center;gap:var(--space-3)}.topbar__search{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:8px 12px;border-radius:var(--radius-card);min-width:220px}.topbar__cta{background:var(--color-primary);color:#fff;border:none;padding:8px 14px;border-radius:var(--radius-card);cursor:pointer}.topbar__hint{color:var(--color-text-muted);font-size:var(--text-sm)}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.app-shell__nav{background:var(--color-surface);border-right:1px solid var(--color-border);padding:var(--space-6) var(--space-4);display:flex;flex-direction:column;gap:var(--space-6)}.nav-brand{font-size:var(--text-xl);font-weight:600}.nav-links{display:flex;flex-direction:column;gap:var(--space-2)}.nav-item{background:transparent;border:none;color:var(--color-text-muted);padding:var(--space-3);border-radius:var(--radius-card);text-align:left;cursor:pointer;text-decoration:none;display:block}.nav-item--active,.nav-item:hover{color:var(--color-text);background:var(--color-surface-2)}.nav-item--ghost{margin-top:auto;color:var(--color-text-muted)}.app-shell__main{display:flex;flex-direction:column}.app-shell__content{padding:var(--space-6)}@media (max-width: 1024px){.app-shell{grid-template-columns:80px 1fr}.nav-brand{font-size:var(--text-lg)}}.kpi-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-4)}.kpi-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);padding:var(--space-4);box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:var(--space-2)}.kpi-label{color:var(--color-text-muted);font-size:var(--text-sm)}.kpi-value{font-size:var(--text-2xl)}.kpi-trend{font-size:var(--text-xs);color:var(--color-text-muted)}.kpi-trend--up{color:var(--color-success)}.kpi-trend--warn{color:var(--color-warning)}@media (max-width: 1200px){.kpi-strip{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.kpi-strip{grid-template-columns:1fr}}.panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.panel__header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);border-bottom:1px solid var(--color-border)}.panel__header h2{margin:0;font-size:var(--text-lg)}.panel__action{background:transparent;border:1px solid var(--color-border);color:var(--color-text);padding:6px 10px;border-radius:var(--radius-card);cursor:pointer}.panel__body{display:flex;flex-direction:column;gap:var(--space-3);padding:var(--space-4)}.service-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid rgba(255,255,255,.04)}.service-row--editable{grid-template-columns:minmax(220px,1fr) auto auto auto 1fr}.service-row:last-child{border-bottom:none}.service-name{font-weight:600}.service-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.service-input{display:block;width:100%;margin-bottom:var(--space-2);background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:6px 8px;border-radius:var(--radius-card);font-size:var(--text-sm)}.service-select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:6px 8px;border-radius:var(--radius-card);font-size:var(--text-sm)}.status-pill{padding:4px 10px;border-radius:var(--radius-pill);font-size:var(--text-xs);background:var(--color-surface-2);color:var(--color-text-muted);border:1px solid transparent;cursor:pointer}.status-pill--success{background:#22c55e26;color:var(--color-success)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-4)}.snapshot-card{background:var(--color-surface-2);border:1px solid var(--color-border);border-radius:var(--radius-card);padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.snapshot-card__header{display:flex;justify-content:space-between;align-items:center}.snapshot-card__header h3{margin:0;font-size:var(--text-md)}.snapshot-card__meta{color:var(--color-text-muted);font-size:var(--text-xs)}.snapshot-card__slots{display:flex;gap:var(--space-2);flex-wrap:wrap;color:var(--color-text-muted);font-size:var(--text-xs)}.slot{padding:4px 8px;border-radius:var(--radius-pill);background:#4f7bff1f;color:var(--color-primary);font-size:var(--text-xs)}.snapshot-card__action{background:transparent;border:1px solid var(--color-border);color:var(--color-text);padding:6px 10px;border-radius:var(--radius-card);cursor:pointer}.panel__actions{display:flex;gap:var(--space-2);align-items:center}.panel__input{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:6px 8px;border-radius:var(--radius-card);font-size:var(--text-sm)}.status-pill--warn{background:#f59e0b26;color:var(--color-warning)}@media (max-width: 900px){.grid{grid-template-columns:1fr}}.target-row{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3) 0;border-bottom:1px solid rgba(255,255,255,.04)}.target-row:last-child{border-bottom:none}.target-title{font-weight:600}.target-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.target-action{background:var(--color-primary);color:#fff;border:none;padding:6px 12px;border-radius:var(--radius-card);cursor:pointer}.target-action--ghost{background:transparent;border:1px solid var(--color-border);color:var(--color-text-muted)}.target-form{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-2);margin-bottom:var(--space-3)}.target-form input,.target-form select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:6px 8px;border-radius:var(--radius-card);font-size:var(--text-sm)}.target-input--error{border-color:#fca5a5;box-shadow:0 0 0 1px #f871714d}.target-form button{background:var(--color-primary);border:none;color:#fff;border-radius:var(--radius-card);cursor:pointer}.sprint-summary{display:flex;flex-direction:column;gap:var(--space-1);margin-bottom:var(--space-3)}.sprint-attempts{display:flex;flex-direction:column}.sprint-line{display:flex;gap:var(--space-3);align-items:center;padding:var(--space-3) 0;border-bottom:1px solid rgba(255,255,255,.04)}.sprint-line:last-child{border-bottom:none}.sprint-dot{width:10px;height:10px;border-radius:50%;background:var(--color-text-muted)}.sprint-dot--success{background:var(--color-success)}.sprint-dot--active{background:var(--color-primary)}.sprint-title{font-weight:600}.sprint-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.user-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin-bottom:var(--space-4)}.user-form input,.user-form select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:8px 10px;border-radius:var(--radius-card)}.user-form button{background:var(--color-primary);border:none;color:#fff;border-radius:var(--radius-card);cursor:pointer}.user-table{width:100%;border-collapse:collapse}.user-table th,.user-table td{text-align:left;padding:10px;border-bottom:1px solid var(--color-border);font-size:var(--text-sm)}.user-table th{color:var(--color-text-muted);font-weight:500}.link{background:transparent;border:none;color:var(--color-primary);cursor:pointer}.panel__error{color:var(--color-danger);font-size:var(--text-xs)}.panel__empty{color:var(--color-text-muted);font-size:var(--text-xs)}.panel__hint{color:var(--color-text-muted);font-size:var(--text-xs);margin:var(--space-1) 0 0}.attempt-row{display:flex;align-items:center;justify-content:space-between;padding:var(--space-3) 0;border-bottom:1px solid rgba(255,255,255,.04)}.attempt-row:last-child{border-bottom:none}.attempt-title{font-weight:600}.attempt-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.dashboard{display:flex;flex-direction:column;gap:var(--space-5)}.dashboard__grid{display:grid;grid-template-columns:2fr 1fr;gap:var(--space-5)}.dashboard__left,.dashboard__right{display:flex;flex-direction:column;gap:var(--space-5)}@media (max-width: 1200px){.dashboard__grid{grid-template-columns:1fr}}.user-dashboard{display:flex;flex-direction:column;gap:var(--space-5)}.user-hero{display:flex;justify-content:space-between;align-items:center;padding:var(--space-5);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.user-hero h1{margin:0 0 var(--space-2) 0}.user-hero p{margin:0;color:var(--color-text-muted)}.user-cta{background:var(--color-primary);color:#fff;border:none;padding:10px 16px;border-radius:var(--radius-card);cursor:pointer}.user-panel{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card);box-shadow:var(--shadow-card)}.user-panel__header{display:flex;justify-content:space-between;align-items:center;padding:var(--space-4);border-bottom:1px solid var(--color-border)}.user-panel__header h2{margin:0;font-size:var(--text-lg)}.user-panel__filters{display:flex;gap:var(--space-2)}.user-panel__filters input,.user-panel__filters select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:6px 10px;border-radius:var(--radius-card)}.user-panel__body{padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.slot-card,.booking-row{display:flex;justify-content:space-between;align-items:center;padding:var(--space-3);background:var(--color-surface-2);border-radius:var(--radius-card)}.slot-title{font-weight:600}.slot-meta{color:var(--color-text-muted);font-size:var(--text-xs)}.slot-time-group{display:grid;grid-template-columns:90px minmax(0,1fr);gap:var(--space-3);align-items:start}.slot-time-group__header{font-weight:600;font-size:13px;color:var(--color-text-muted);padding-top:6px}.slot-time-group__list{display:flex;flex-wrap:wrap;gap:var(--space-2)}.slot-card--compact{padding:10px 12px;gap:var(--space-3);min-width:220px}.slot-card__main{display:flex;flex-direction:column;gap:4px}.slot-card__title{font-weight:600;font-size:14px}.slot-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--color-text-muted);font-size:12px}.slot-card__meta-item{white-space:nowrap}.slot-card__meta-sep{color:var(--color-border)}@media (max-width: 720px){.user-hero{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}.user-hero h1{font-size:14px;margin-bottom:4px}.user-hero p{font-size:11px}.user-cta{width:100%;padding:8px 12px;font-size:13px}.user-panel__header{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}.user-panel__header h2{font-size:12px}.user-panel__body{padding:12px;gap:10px}.booking-row{flex-direction:column;align-items:flex-start;gap:8px;padding:10px}.slot-time-group{grid-template-columns:1fr;gap:8px}.slot-time-group__header{padding-top:0;font-size:10px;border-bottom:1px solid var(--color-border);padding-bottom:6px}.slot-time-group__list{flex-direction:column}.slot-card--compact{width:100%;flex-direction:column;align-items:stretch;padding:8px 10px;gap:8px}.slot-card__title{font-size:13px}.slot-card__meta{font-size:11px;gap:4px}.slot-card__meta-item{white-space:normal}.slot-action--compact{width:100%;padding:7px 10px;font-size:13px}}.slot-action{background:var(--color-primary);color:#fff;border:none;padding:6px 12px;border-radius:var(--radius-card);cursor:pointer}.slot-action--compact{padding:6px 14px;min-width:68px}.slot-action--ghost{background:transparent;border:1px solid var(--color-border);color:var(--color-text-muted)}.user-panel__header{display:flex;justify-content:space-between;gap:var(--space-4)}.user-panel__filters{display:flex;gap:var(--space-3);align-items:flex-end}.user-input,.user-panel__filters input,.user-panel__filters select{background:var(--color-surface-2);border:1px solid var(--color-border);color:var(--color-text);padding:8px 10px;border-radius:var(--radius-card);min-height:40px}.user-input--error{border-color:#fca5a5;box-shadow:0 0 0 1px #f871714d}.user-panel__form{background:var(--color-surface-1);border:1px solid var(--color-border);border-radius:var(--radius-card);padding:var(--space-3);margin-bottom:var(--space-4)}.user-panel__form--disabled{opacity:.7}.user-error-summary{background:#f871711f;border:1px solid rgba(248,113,113,.4);color:#fca5a5;padding:var(--space-2) var(--space-3);border-radius:var(--radius-card);margin-bottom:var(--space-3);white-space:pre-line}.user-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}.user-field{display:flex;flex-direction:column;gap:6px}.user-field label{font-size:12px;color:var(--color-text-muted)}.user-help{color:var(--color-text-muted);font-size:12px}.user-error{color:#fca5a5;font-size:12px}.slot-empty{color:var(--color-text-muted);padding:var(--space-2) 0}.slot-result{margin-top:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-card);background:var(--color-surface-2)}.slot-result--success{color:#22c55e}.slot-result--error{color:#fca5a5}@media (max-width: 1100px){.user-panel__header{flex-direction:column;align-items:flex-start}.user-panel__filters{width:100%;flex-direction:column;align-items:stretch}.user-form-grid{grid-template-columns:1fr}}@media (max-width: 720px){.user-panel__filters{gap:8px}.user-input,.user-panel__filters input,.user-panel__filters select{min-height:36px;padding:6px 8px;font-size:13px}.user-panel__form{padding:10px}.user-form-grid{gap:8px}.user-field{gap:4px}.user-field label,.user-help,.user-error{font-size:9px}.user-error-summary{padding:8px 10px;font-size:11px}}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top,rgba(83,91,242,.2),transparent 55%),#0f172a;color:#e2e8f0}.login-card{width:min(420px,92vw);background:#0f172ae6;border:1px solid rgba(148,163,184,.2);border-radius:16px;padding:32px;box-shadow:0 20px 60px #0f172a99}.login-title{font-size:24px;margin:0 0 8px}.login-subtitle{margin:0 0 24px;color:#94a3b8;font-size:14px}.login-field{display:grid;gap:8px;margin-bottom:16px}.login-field label{font-size:13px;color:#cbd5f5}.login-field input{background:#0f172a99;border:1px solid rgba(148,163,184,.3);border-radius:10px;padding:10px 12px;color:#e2e8f0}.login-actions{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.login-actions button{background:#4f46e5;border:none;color:#fff;padding:10px 16px;border-radius:10px;cursor:pointer}.login-error{margin-top:12px;color:#fca5a5;font-size:13px}.access-denied{min-height:100vh;display:grid;place-items:center;background:#0f172a;color:#e2e8f0;text-align:center;gap:12px}.access-link{color:#93c5fd;text-decoration:none}.login-hint{font-size:12px;color:#94a3b8}:root{--color-bg: #0f1115;--color-surface: #171a21;--color-surface-2: #1e222b;--color-border: #2a303b;--color-text: #e8ecf2;--color-text-muted: #aab3c2;--color-primary: #4f7bff;--color-success: #22c55e;--color-warning: #f59e0b;--color-danger: #ef4444;--radius-card: 6px;--radius-modal: 10px;--radius-pill: 999px;--shadow-card: 0 2px 10px rgba(0, 0, 0, .25);--space-1: 4px;--space-2: 8px;--space-3: 12px;--space-4: 16px;--space-5: 20px;--space-6: 24px;--space-7: 32px;--font-sans: "Inter", "SF Pro Text", system-ui, -apple-system, sans-serif;--font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, monospace;--text-xs: 12px;--text-sm: 14px;--text-md: 16px;--text-lg: 18px;--text-xl: 20px;--text-2xl: 24px;--text-3xl: 28px}*{box-sizing:border-box}body{margin:0;font-family:var(--font-sans);background:var(--color-bg);color:var(--color-text)}a{color:inherit;text-decoration:none}button{font-family:inherit}:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}
