/* =========================================================
   TICKETALAY — WIREFRAME DESIGN SYSTEM
   Minimal grayscale palette with deep navy accent
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-canvas:   #D8D8D8;
  --bg-frame:    #FFFFFF;
  --bg-section:  #F5F5F5;
  --bg-header:   #1A1A2E;
  --border:      #CCCCCC;
  --border-dark: #888888;
  --text-h:      #111111;
  --text-body:   #333333;
  --text-sub:    #666666;
  --text-muted:  #AAAAAA;
  --accent:      #1A1A2E;
  --accent2:     #8B1A1A;
  --success:     #2E7D32;
  --warning:     #E65100;
  --error:       #C62828;
  --info:        #1565C0;
  --shadow:      0 2px 8px rgba(0,0,0,.15);
  --radius:      6px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-body);
  background: var(--bg-canvas);
  display: flex;
  min-height: 100vh;
  line-height: 1.5;
}

/* ─── SIDEBAR ─────────────────────────────────────────── */
.sidebar {
  width: 220px;
  min-height: 100vh;
  background: var(--bg-header);
  color: #CCC;
  padding: 0;
  position: fixed;
  top: 0; left: 0;
  overflow-y: auto;
  z-index: 100;
  font-size: 12px;
}
.sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.sidebar-header .logo { color: #FFF; font-size: 15px; font-weight: 700; }
.sidebar-header .platform { font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.sidebar .back-link { display: block; padding: 10px 16px; color: rgba(255,255,255,.4); text-decoration: none; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar .back-link:hover { color: #FFF; }
.sidebar .nav-section { padding: 12px 0 4px; }
.sidebar .nav-label { padding: 4px 16px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.25); font-weight: 700; }
.sidebar a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; color: rgba(255,255,255,.55);
  text-decoration: none; font-size: 12px;
}
.sidebar a:hover { background: rgba(255,255,255,.07); color: #FFF; }
.sidebar a.active { background: rgba(255,255,255,.1); color: #FFF; border-left: 3px solid #8B1A1A; padding-left: 13px; }
.sidebar a .num { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.sidebar a.active .num { background: #8B1A1A; }

/* ─── CANVAS ──────────────────────────────────────────── */
.canvas { margin-left: 220px; padding: 32px 32px 64px; min-width: 0; flex: 1; overflow-x: auto; }

.screen-group { margin-bottom: 56px; scroll-margin-top: 20px; }
.screen-group > .sg-header { margin-bottom: 16px; }
.screen-group > .sg-header h2 { font-size: 17px; font-weight: 700; color: var(--text-h); }
.screen-group > .sg-header p { font-size: 11px; color: var(--text-sub); margin-top: 3px; }
.frames-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }

/* ─── FRAMES ──────────────────────────────────────────── */
.frame {
  background: var(--bg-frame);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  border: 1px solid var(--border);
  position: relative;
}
.frame-label { font-size: 11px; color: var(--text-sub); text-align: center; margin-top: 8px; font-weight: 600; }
.mobile-frame  { width: 390px; }
.desktop-frame { width: 1260px; }

/* ─── MOBILE STATUS BAR ───────────────────────────────── */
.statusbar {
  height: 44px; background: var(--accent);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; font-size: 11px; color: rgba(255,255,255,.9);
  font-weight: 600; flex-shrink: 0;
}
.statusbar .time { font-weight: 700; }
.statusbar .icons { display: flex; gap: 6px; align-items: center; font-size: 12px; }

/* ─── MOBILE NAV BAR ──────────────────────────────────── */
.mob-nav {
  display: flex; background: var(--bg-frame);
  border-top: 1px solid var(--border); flex-shrink: 0;
}
.mob-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; padding: 8px 4px 10px; gap: 3px;
  font-size: 10px; color: var(--text-sub);
}
.mob-nav-item.active { color: var(--accent2); }
.mob-nav-item .ico { font-size: 20px; }

/* ─── TOP APP BAR (mobile) ────────────────────────────── */
.top-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--bg-frame);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.top-bar .title { font-size: 16px; font-weight: 700; color: var(--text-h); flex: 1; }
.top-bar .back { font-size: 20px; cursor: default; color: var(--text-h); }

/* ─── DESKTOP TOPBAR ──────────────────────────────────── */
.d-topbar {
  height: 56px; background: var(--bg-frame);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 24px; gap: 14px; flex-shrink: 0;
}
.d-topbar .page-title { font-size: 15px; font-weight: 700; color: var(--text-h); flex: 1; }

/* ─── DESKTOP SIDEBAR (app layout) ───────────────────── */
.d-layout { display: flex; height: 100%; }
.d-sidebar {
  width: 220px; background: var(--accent); color: rgba(255,255,255,.65);
  flex-shrink: 0; display: flex; flex-direction: column;
}
.d-sidebar-header { padding: 20px 16px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.d-sidebar-header .org { color: #FFF; font-weight: 700; font-size: 13px; }
.d-sidebar-header .role { font-size: 9px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; }
.d-sidebar-nav { padding: 12px 0; flex: 1; overflow-y: auto; }
.d-sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; color: rgba(255,255,255,.55);
  text-decoration: none; font-size: 12px; font-weight: 500;
}
.d-sidebar-nav a .ico { font-size: 14px; }
.d-sidebar-nav a:hover, .d-sidebar-nav a.active {
  background: rgba(255,255,255,.09); color: #FFF;
}
.d-sidebar-nav a.active { border-left: 3px solid #8B1A1A; padding-left: 13px; }
.d-sidebar-nav .nav-sep { height: 1px; background: rgba(255,255,255,.06); margin: 8px 16px; }
.d-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg-section); }
.d-content { padding: 24px; flex: 1; overflow-y: auto; }

/* ─── WEBSITE HEADER ──────────────────────────────────── */
.web-header {
  height: 64px; background: var(--bg-frame);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 32px; gap: 24px; flex-shrink: 0;
}
.web-header .logo { font-size: 18px; font-weight: 700; color: var(--accent2); flex-shrink: 0; }
.web-header nav { display: flex; gap: 20px; flex: 1; }
.web-header nav a { font-size: 13px; color: var(--text-sub); text-decoration: none; font-weight: 500; }
.web-header nav a.active { color: var(--accent); }
.web-header .actions { display: flex; gap: 8px; flex-shrink: 0; }
.web-footer {
  background: var(--accent); color: rgba(255,255,255,.6);
  padding: 24px 32px; font-size: 11px;
  display: flex; justify-content: space-between; align-items: center;
  flex-shrink: 0;
}
.web-footer .links { display: flex; gap: 16px; }
.web-footer .links a { color: rgba(255,255,255,.5); text-decoration: none; }

/* ─── COMPONENTS ──────────────────────────────────────── */

/* Image placeholder */
.wf-img {
  background: #DDD; display: flex; align-items: center;
  justify-content: center; color: #999; font-size: 11px;
  font-weight: 500; position: relative; overflow: hidden;
}
.wf-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom right, transparent calc(50% - .5px), #C8C8C8 calc(50% - .5px), #C8C8C8 calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(to bottom left,  transparent calc(50% - .5px), #C8C8C8 calc(50% - .5px), #C8C8C8 calc(50% + .5px), transparent calc(50% + .5px));
}
.wf-img span { position: relative; z-index: 1; background: rgba(255,255,255,.75); padding: 2px 6px; border-radius: 3px; }

/* Input */
.wf-label { display: block; font-size: 11px; font-weight: 600; color: var(--text-body); margin-bottom: 4px; }
.wf-label .req { color: var(--error); }
.wf-input {
  border: 1.5px solid var(--border-dark); border-radius: var(--radius);
  padding: 10px 12px; width: 100%; background: var(--bg-section);
  color: var(--text-muted); font-size: 13px; font-family: var(--font);
  display: flex; align-items: center; gap: 6px;
}
.wf-input.filled { color: var(--text-body); background: var(--bg-frame); }
.wf-select { background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 28px; }
.wf-field { margin-bottom: 14px; }
.form-row { display: flex; gap: 14px; }
.form-row .wf-field { flex: 1; }
.wf-textarea { resize: vertical; min-height: 80px; }
.wf-hint { font-size: 10px; color: var(--text-muted); margin-top: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: var(--radius); font-size: 13px;
  font-weight: 600; cursor: default; gap: 6px; border: none;
  font-family: var(--font); white-space: nowrap; flex-shrink: 0;
}
.btn-full { width: 100%; }
.btn-primary   { background: var(--accent);  color: #FFF; }
.btn-accent    { background: var(--accent2); color: #FFF; }
.btn-outline   { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline-r { background: transparent; border: 1.5px solid var(--accent2); color: var(--accent2); }
.btn-ghost     { background: var(--bg-section); color: var(--text-body); border: 1px solid var(--border); }
.btn-danger    { background: var(--error); color: #FFF; }
.btn-success   { background: var(--success); color: #FFF; }
.btn-sm  { padding: 6px 12px; font-size: 11px; border-radius: 4px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }
.btn-icon { padding: 8px; border-radius: 50%; aspect-ratio: 1; }

/* Badges */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 100px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.b-green  { background: #E8F5E9; color: #2E7D32; }
.b-orange { background: #FFF3E0; color: #E65100; }
.b-red    { background: #FFEBEE; color: #C62828; }
.b-blue   { background: #E3F2FD; color: #1565C0; }
.b-grey   { background: #F0F0F0; color: #555; }
.b-gold   { background: #FFF8E1; color: #F9A825; }
.b-purple { background: #F3E5F5; color: #6A1B9A; }

/* Chips */
.chip {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 100px; font-size: 11px; font-weight: 500;
  background: var(--bg-section); border: 1px solid var(--border); color: var(--text-body);
  cursor: default; gap: 4px; white-space: nowrap;
}
.chip.active { background: var(--accent); color: #FFF; border-color: var(--accent); }
.chip.active-r { background: var(--accent2); color: #FFF; border-color: var(--accent2); }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* Cards */
.card { background: var(--bg-frame); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 16px; }
.card-header { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header .title { font-size: 13px; font-weight: 700; color: var(--text-h); }

/* KPI Cards */
.kpi { background: var(--bg-frame); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.kpi .kpi-label { font-size: 10px; font-weight: 700; color: var(--text-sub); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.kpi .kpi-val   { font-size: 26px; font-weight: 700; color: var(--text-h); line-height: 1.1; }
.kpi .kpi-delta { font-size: 11px; color: var(--success); margin-top: 4px; }
.kpi .kpi-delta.neg { color: var(--error); }
.kpi-grid { display: grid; gap: 14px; }
.kpi-grid-4 { grid-template-columns: repeat(4, 1fr); }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-grid-5 { grid-template-columns: repeat(5, 1fr); }

/* Table */
.wf-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wf-table th {
  text-align: left; padding: 9px 12px;
  background: var(--bg-section); font-size: 10px; font-weight: 700;
  color: var(--text-sub); text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 2px solid var(--border);
}
.wf-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.wf-table tr:last-child td { border-bottom: none; }
.wf-table tr:hover td { background: var(--bg-section); }
.wf-table .actions { display: flex; gap: 6px; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.divider-text { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: var(--text-sub); font-size: 11px; }
.divider-text::before, .divider-text::after { content: ''; flex: 1; border-top: 1px solid var(--border); }

/* Tabs */
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 16px; gap: 2px; }
.tab { padding: 9px 16px; font-size: 12px; font-weight: 600; color: var(--text-sub); cursor: default; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* Steps */
.steps { display: flex; align-items: center; padding: 16px 0; gap: 0; }
.step { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: 1; position: relative; }
.step::before { content: ''; position: absolute; top: 14px; left: 50%; right: -50%; height: 2px; background: var(--border); z-index: 0; }
.step:last-child::before { display: none; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border-dark); background: var(--bg-frame);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--text-sub); z-index: 1;
}
.step.done .step-dot   { background: var(--success); color: #FFF; border-color: var(--success); }
.step.active .step-dot { background: var(--accent);  color: #FFF; border-color: var(--accent);  }
.step-lbl { font-size: 9px; font-weight: 600; color: var(--text-sub); text-align: center; }
.step.active .step-lbl { color: var(--accent); font-weight: 700; }

/* Chart placeholders */
.chart-line {
  background: var(--bg-section); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted); font-style: italic;
}
.chart-bar {
  display: flex; align-items: flex-end; gap: 3px;
  padding: 12px 12px 0; background: var(--bg-section);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.bar { flex: 1; background: var(--accent); opacity: .35; border-radius: 2px 2px 0 0; min-height: 4px; }
.bar:nth-child(2n) { opacity: .5; }
.bar:nth-child(3n) { opacity: .25; }

/* Avatar */
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-section);
  border: 1px solid var(--border); font-size: 11px; font-weight: 700;
  color: var(--text-sub); flex-shrink: 0; text-transform: uppercase;
}
.av-lg { width: 56px; height: 56px; font-size: 20px; }
.av-md { width: 36px; height: 36px; font-size: 13px; }
.av-sm { width: 28px; height: 28px; font-size: 10px; }

/* Seat map */
.seatmap-wrap { background: #18182A; border-radius: var(--radius); padding: 20px; }
.seatmap-stage { background: rgba(255,255,255,.12); border-radius: 4px; text-align: center; padding: 6px; font-size: 10px; color: rgba(255,255,255,.5); margin-bottom: 16px; letter-spacing: .1em; text-transform: uppercase; }
.seatmap-row { display: flex; gap: 4px; justify-content: center; margin-bottom: 4px; }
.seatmap-row-label { font-size: 9px; color: rgba(255,255,255,.3); width: 16px; display: flex; align-items: center; justify-content: center; }
.seat { width: 20px; height: 20px; border-radius: 3px; cursor: default; }
.seat-av   { background: #2E7D32; }
.seat-held { background: #E65100; }
.seat-sold { background: #555; }
.seat-sel  { background: #1565C0; ring: 2px solid white; outline: 2px solid white; }
.seat-blk  { background: #880E4F; }
.seat-gap  { background: transparent; border: none; }
.seatmap-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.seatmap-legend-item { display: flex; align-items: center; gap: 5px; font-size: 10px; color: rgba(255,255,255,.6); }
.seatmap-legend-item .seat { width: 12px; height: 12px; }

/* Search bar */
.search-bar { display: flex; align-items: center; background: var(--bg-section); border: 1.5px solid var(--border-dark); border-radius: 100px; padding: 9px 14px; gap: 8px; }
.search-bar .ico { color: var(--text-muted); font-size: 14px; }
.search-bar .placeholder { color: var(--text-muted); font-size: 13px; flex: 1; }
.search-bar .filter-btn { font-size: 11px; color: var(--text-sub); font-weight: 600; padding-left: 8px; border-left: 1px solid var(--border); }

/* Event card (mobile) */
.event-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-frame); border: 1px solid var(--border); margin-bottom: 12px; }
.event-card-body { padding: 12px; }
.event-card-title { font-size: 13px; font-weight: 700; color: var(--text-h); margin-bottom: 3px; }
.event-card-meta { font-size: 11px; color: var(--text-sub); }
.event-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

/* Section heading */
.sec-heading { font-size: 14px; font-weight: 700; color: var(--text-h); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.sec-heading .see-all { font-size: 11px; font-weight: 500; color: var(--accent2); }

/* Checkbox / Radio */
.wf-check { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text-body); }
.wf-check .box { width: 16px; height: 16px; border: 2px solid var(--border-dark); border-radius: 3px; flex-shrink: 0; margin-top: 1px; background: var(--bg-section); }
.wf-check .box.chk { background: var(--accent); border-color: var(--accent); display: flex; align-items: center; justify-content: center; color: white; font-size: 10px; }
.wf-radio-box { border-radius: 50%; }

/* Alert / Banner */
.alert { border-radius: var(--radius); padding: 12px 14px; font-size: 12px; border-left: 4px solid; margin-bottom: 12px; }
.alert-success { background: #E8F5E9; border-color: var(--success); color: #1B5E20; }
.alert-warning { background: #FFF3E0; border-color: var(--warning); color: #BF360C; }
.alert-error   { background: #FFEBEE; border-color: var(--error);   color: #B71C1C; }
.alert-info    { background: #E3F2FD; border-color: var(--info);    color: #0D47A1; }

/* Progress bar */
.progress-bar { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; margin-top: 4px; }
.progress-fill { height: 100%; background: var(--accent); border-radius: 100px; }

/* Dual-fill progress bar (confirmed + held) — inspired by Tugoz */
.progress-dual { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; margin-top: 4px; position: relative; display: flex; }
.progress-confirmed { height: 100%; background: var(--accent); }
.progress-held      { height: 100%; background: #FFA000; }

/* Held badge (amber) */
.b-amber { background: #FFF8E1; color: #E65100; }

/* Quick-action strip on booking detail */
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 16px; background: var(--bg-section); border-bottom: 1px solid var(--border); }
.quick-actions .qa-btn { display: flex; align-items: center; gap: 5px; font-size: 12px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-frame); cursor: default; color: var(--text-h); white-space: nowrap; }
.quick-actions .qa-btn.qa-danger { color: var(--error); border-color: #FFCDD2; }

/* Activity Heatmap (day × hour grid) */
.heatmap-grid { display: grid; grid-template-columns: 40px repeat(18, 1fr); gap: 2px; font-size: 10px; }
.heatmap-label { display: flex; align-items: center; justify-content: flex-end; padding-right: 4px; color: var(--text-sub); font-size: 10px; }
.heatmap-hour  { text-align: center; color: var(--text-muted); font-size: 9px; }
.heatmap-cell  { height: 18px; border-radius: 2px; background: #E3F2FD; }
.hm-0  { background: #E3F2FD; }
.hm-1  { background: #BBDEFB; }
.hm-2  { background: #90CAF9; }
.hm-3  { background: #64B5F6; }
.hm-4  { background: #42A5F5; }
.hm-5  { background: #2196F3; }
.hm-6  { background: #1565C0; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-sub); margin-bottom: 16px; }
.breadcrumb .crumb-active { color: var(--text-h); font-weight: 600; }
.breadcrumb .sep { color: var(--border-dark); }

/* Scrollable area */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Utility */
.flex  { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; min-width: 0; }
.gap-4  { gap: 4px;  }
.gap-6  { gap: 6px;  }
.gap-8  { gap: 8px;  }
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.p-0   { padding: 0;   }
.p-8   { padding: 8px;  }
.p-12  { padding: 12px; }
.p-16  { padding: 16px; }
.p-20  { padding: 20px; }
.p-24  { padding: 24px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.px-24 { padding-left: 24px; padding-right: 24px; }
.py-12 { padding-top: 12px; padding-bottom: 12px; }
.mt-4  { margin-top: 4px;  }
.mt-8  { margin-top: 8px;  }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-4  { margin-bottom: 4px;  }
.mb-8  { margin-bottom: 8px;  }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.text-xs   { font-size: 10px; }
.text-sm   { font-size: 11px; }
.text-base { font-size: 13px; }
.text-md   { font-size: 15px; }
.text-lg   { font-size: 18px; }
.text-xl   { font-size: 22px; }
.text-2xl  { font-size: 28px; }
.text-sub  { color: var(--text-sub); }
.text-muted { color: var(--text-muted); }
.text-h    { color: var(--text-h); }
.text-red  { color: var(--accent2); }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.rounded { border-radius: var(--radius); }
.bg-section { background: var(--bg-section); }
.bg-white { background: var(--bg-frame); }
.overflow-hidden { overflow: hidden; }

/* ─── ALIAS / COMPATIBILITY (venue manager portal + new admin screens) ─── */
/* Equivalent to .frames-row */
.screens-row { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
/* Equivalent to .frame.desktop-frame */
.device-frame { background: var(--bg-frame); border-radius: 10px; box-shadow: var(--shadow); flex-shrink: 0; border: 1px solid var(--border); position: relative; width: 1260px; }
/* Equivalent to .d-layout */
.d-shell { display: flex; min-height: 720px; overflow: hidden; }
/* Equivalent to .kpi-grid.kpi-grid-4 */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* Two-column content layout: main area + side panel */
.two-col-layout { display: flex; gap: 24px; align-items: flex-start; }
.col-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.col-side { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
/* Small section header label */
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-sub); }
/* Read-only input variant */
.wf-readonly { background: var(--bg-section) !important; opacity: 0.8; cursor: default; }
