/* ============ Naturals Bride · MVP showcase ============ */
:root {
  --primary: #653291;
  --plum: #3F1D63;
  --night: #2A1240;
  --ink-dark: #120818;
  --surface: #F1EAF8;
  --surface-2: #F8F4FC;
  --line: #E7DDF1;
  --line-2: #F1EAF8;
  --ink: #222222;
  --sub: #666666;
  --muted: #9A92A6;
  --lilac: #D9C6EE;
  --lilac-2: #BFA6DA;
  --gold: #E8A317;
  --gold-soft: #FDF3DC;
  --gold-ink: #3B2600;
  --gold-text: #8A5D00;
  --pink: #C2185B;
  --pink-soft: #FCE4EE;
  --green: #2E8B57;
  --green-soft: #E3F4EA;
  --green-ink: #1C5A37;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --accent: "Playfair Display", Georgia, serif;
  --r-card: 14px;
  --r-btn: 24px;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: #EFE8F6;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: 64px; display: flex; align-items: center; gap: 20px;
  padding: 0 24px;
  background: var(--night);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark svg { width: 26px; height: 30px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: -0.04em; }
.brand-text i { font-family: var(--accent); color: var(--gold); font-size: 13px; }
.brand-tag {
  margin-left: 6px; padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: var(--lilac);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.switcher {
  margin: 0 auto; display: flex; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(255,255,255,0.08);
}
.switcher button {
  padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--lilac);
  white-space: nowrap; transition: background .2s, color .2s;
}
.switcher button[aria-pressed="true"] { background: #fff; color: var(--plum); }
.reset {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25);
  font-size: 13px; font-weight: 600; color: #fff;
}
.reset:hover { background: rgba(255,255,255,0.08); }

/* ---------- Stage ---------- */
.stage {
  min-height: calc(100vh - 64px);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 32px 24px 48px;
}
/* ---------- Device ---------- */
.device-wrap { flex-shrink: 0; }
.device {
  width: 414px; height: 868px; padding: 12px; border-radius: 52px;
  background: #1a1022;
  box-shadow: 0 30px 80px rgba(42,18,64,0.35), inset 0 0 0 2px #3a2a4a;
  position: relative;
}
.device::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px; border-radius: 20px; background: #000; z-index: 5;
}
.screen {
  width: 390px; height: 844px; border-radius: 40px; overflow: hidden;
  background: #fff; position: relative;
}
.scroller {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  display: flex; flex-direction: column;
  scrollbar-width: none;
}
.scroller > * { flex-shrink: 0; }
.scroller::-webkit-scrollbar { display: none; }

/* Console mode */
body.mode-console .stage { padding: 24px; }
body.mode-console .device-wrap { width: 100%; max-width: 1440px; }
body.mode-console .device {
  width: 100%; height: auto; padding: 0; border-radius: 16px;
  background: #fff; box-shadow: 0 30px 80px rgba(42,18,64,0.25);
  overflow: hidden;
}
body.mode-console .device::before { display: none; }
body.mode-console .screen { width: 100%; height: auto; min-height: 860px; border-radius: 0; overflow: visible; }
body.mode-console .scroller { position: relative; overflow: visible; }

/* ---------- Mobile (real phones) ---------- */
@media (max-width: 760px) {
  .topbar { height: auto; flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .brand-tag { display: none; }
  .switcher { order: 3; width: 100%; margin: 0; }
  .switcher button { flex: 1; padding: 8px 6px; font-size: 13px; }
  .reset { margin-left: auto; padding: 6px 12px; font-size: 12px; }
  .stage { padding: 0; display: block; min-height: 0; }
  .device-wrap { width: 100%; }
  .device { width: 100%; height: auto; padding: 0; border-radius: 0; box-shadow: none; background: #fff; }
  .device::before { display: none; }
  .screen { width: 100%; height: calc(100dvh - 104px); border-radius: 0; }
  .statusbar { display: none !important; }
  body.mode-console .stage { padding: 0; }
  body.mode-console .device { border-radius: 0; box-shadow: none; }
  body.mode-console .screen { height: auto; min-height: calc(100dvh - 104px); }
}
@media (min-width: 761px) and (max-height: 920px) {
  .device { transform: scale(.88); transform-origin: top center; margin-bottom: -104px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  z-index: 90; padding: 12px 18px; border-radius: 14px;
  background: var(--night); color: #fff; font-size: 14px; font-weight: 500;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  max-width: calc(100vw - 32px);
  box-shadow: 0 10px 30px rgba(18,8,24,0.35);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ App UI primitives ============ */
.statusbar {
  flex-shrink: 0; height: 54px; padding: 18px 28px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: system-ui, -apple-system, sans-serif; font-size: 16px; font-weight: 600;
}
.statusbar.light { color: #fff; }
.statusbar.dark { color: #222; }
.statusbar svg { width: 72px; height: 18px; }
.abs-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; }

.h1 { font-family: var(--head); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.h2 { font-family: var(--head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.h3 { font-family: var(--head); font-weight: 600; font-size: 17px; margin: 0; }
.h4 { font-family: var(--head); font-weight: 600; font-size: 15px; margin: 0; }
.serif { font-family: var(--accent); font-style: italic; font-weight: 500; }
.t-sm { font-size: 13px; } .t-xs { font-size: 12px; } .t-xxs { font-size: 11px; }
.muted { color: var(--sub); } .faint { color: var(--muted); }
.bold { font-weight: 700; } .semi { font-weight: 600; }
.num { font-family: var(--head); font-weight: 700; }
.c-primary { color: var(--primary); } .c-plum { color: var(--plum); } .c-gold { color: var(--gold); }
.c-green { color: var(--green); } .c-pink { color: var(--pink); } .c-white { color: #fff; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.row { display: flex; align-items: center; }
.col { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.start { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.g4 { gap: 4px; } .g6 { gap: 6px; } .g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; }
.px16 { padding-left: 16px; padding-right: 16px; }
.pad { padding: 16px; }
.nowrap { white-space: nowrap; }
.shrink0 { flex-shrink: 0; }

.card { background: #fff; border-radius: var(--r-card); padding: 14px; }
.card.line { border: 1px solid var(--line); }
.card.soft { background: var(--surface-2); }
.card.lav { background: var(--surface); }
.card.gold { background: var(--gold-soft); }
.card.green { background: var(--green-soft); }
.card.pinkc { background: var(--pink-soft); }

.btn {
  height: 54px; border-radius: var(--r-btn); background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-size: 16px; font-weight: 600; width: 100%;
  transition: transform .1s, filter .2s;
}
.btn:active { transform: scale(.98); }
.btn:hover { filter: brightness(1.08); }
.btn.sm { height: 42px; font-size: 14px; width: auto; padding: 0 18px; }
.btn.xs { height: 34px; font-size: 12px; width: auto; padding: 0 14px; font-family: var(--body); font-weight: 700; }
.btn.outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn.white { background: #fff; color: var(--primary); }
.btn.gold { background: var(--gold); color: var(--gold-ink); }
.btn.green { background: var(--green); }
.btn.pink { background: var(--pink); box-shadow: 0 8px 20px rgba(194,24,91,0.35); }
.btn.ghost { background: transparent; color: var(--primary); height: auto; font-family: var(--body); font-size: 13px; }
.btn[disabled] { background: #C9BBD8; cursor: default; filter: none; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--surface-2);
}
.icon-btn.glass { background: rgba(255,255,255,0.92); }
.icon-btn.dim { background: rgba(255,255,255,0.14); }
.ibox {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: var(--surface);
}
.ibox.sm { width: 34px; height: 34px; border-radius: 10px; }
.ibox.lg { width: 60px; height: 60px; border-radius: 20px; }
svg.i { display: block; flex-shrink: 0; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 8px 13px; border-radius: 999px; font-size: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; font-weight: 600; }
.chip.soft { border-color: var(--primary); background: var(--surface-2); color: var(--primary); font-weight: 600; }
.chip.solid { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.chip.sm { padding: 4px 9px; font-size: 11px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 3px 9px 3px 6px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}
.badge.elite { background: var(--gold); color: var(--gold-ink); }
.badge.cert { background: var(--plum); color: #fff; }
.badge.ver { background: var(--primary); color: #fff; }
.badge.guar { background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold-text); }
.tag { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.gold { background: var(--gold-soft); color: var(--gold-text); }
.tag.pink { background: var(--pink); color: #fff; }
.tag.lav { background: var(--surface); color: var(--primary); }
.tag.plum { background: var(--plum); color: #fff; }
.tag.grey { background: var(--surface-2); color: var(--muted); }

.field {
  height: 52px; border-radius: 12px; border: 1.5px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
}
.field.focus { border: 2px solid var(--primary); }
.field input { border: 0; outline: 0; font: inherit; font-size: 16px; flex: 1; min-width: 0; background: transparent; color: var(--ink); }
.label { font-size: 13px; font-weight: 600; }

.divider { height: 1px; background: var(--line-2); }
.dash { border-top: 1px dashed var(--line); }
.av {
  width: 40px; height: 40px; border-radius: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--head); font-weight: 600; font-size: 14px;
}
.cover { object-fit: cover; }
.radio {
  width: 22px; height: 22px; border-radius: 11px; border: 2px solid #C9BBD8; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.radio.on { border: 0; background: var(--primary); }
.radio.on::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #fff; }
.toggle { width: 42px; height: 24px; border-radius: 12px; background: #C9BBD8; padding: 2px; display: flex; transition: background .2s; flex-shrink: 0; }
.toggle::after { content: ""; width: 20px; height: 20px; border-radius: 10px; background: #fff; transition: transform .2s; }
.toggle.on { background: var(--green); }
.toggle.on.purple { background: var(--primary); }
.toggle.on::after { transform: translateX(18px); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--primary); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--primary); }
.stepper button.plus { background: var(--primary); }

/* Sticky bars inside scrolling screens */
.sticky-bottom {
  position: sticky; bottom: 0; z-index: 4; margin-top: auto;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(63,29,99,0.08);
  padding: 12px 16px 26px;
}
.tabbar {
  position: sticky; bottom: 0; z-index: 4; margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 8px 24px; background: #fff; border-top: 1px solid var(--line);
}
.tabbar button { width: 66px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; }
.tabbar button.on { color: var(--primary); font-weight: 700; }
.tabbar .dotn { position: absolute; top: -4px; right: 14px; width: 16px; height: 16px; border-radius: 8px; background: var(--pink); color: #fff; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.appbar { display: flex; align-items: center; gap: 12px; padding: 2px 16px 12px; }
.appbar.white { background: #fff; border-bottom: 1px solid var(--line); }

/* Image tiles */
.tile { position: relative; overflow: hidden; border-radius: 12px; background: var(--surface); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .tl { position: absolute; top: 8px; left: 8px; }
.tile .tr { position: absolute; top: 8px; right: 8px; }
.tile .bl { position: absolute; bottom: 8px; left: 8px; }
.rating { display: inline-flex; align-items: center; gap: 3px; background: rgba(255,255,255,0.95); border-radius: 6px; padding: 3px 6px; font-size: 11px; font-weight: 700; }
.rating span { font-weight: 400; color: var(--sub); }
.score { display: inline-flex; align-items: center; gap: 3px; background: var(--surface); border-radius: 6px; padding: 2px 5px; font-size: 10px; font-weight: 700; color: var(--primary); }
.hscroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
.hscroll::-webkit-scrollbar { display: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; }

/* Overlay (processing) */
.overlay { position: absolute; inset: 0; z-index: 20; background: rgba(18,8,24,0.55); display: flex; align-items: center; justify-content: center; }
.overlay .box { background: #fff; border-radius: 20px; padding: 24px; width: 260px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.spinner { width: 40px; height: 40px; border-radius: 20px; border: 4px solid var(--surface); border-top-color: var(--primary); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.fade-in { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============ Console ============ */
.console { display: flex; min-height: 860px; background: var(--surface-2); }
.side { width: 240px; flex-shrink: 0; padding: 24px 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--night); }
.side.hq { background: var(--ink-dark); }
.side nav { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.side nav button { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--lilac); font-size: 14px; text-align: left; }
.side nav button:hover { background: rgba(255,255,255,0.06); }
.side nav button.on { background: var(--primary); color: #fff; font-weight: 600; }
.side.hq nav button.on.alert { background: var(--pink); }
.side .who { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,0.07); color: #fff; }
.cmain { flex: 1; min-width: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { border-radius: 14px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.kpi .v { font-family: var(--head); font-weight: 700; font-size: 25px; }
.panel { background: #fff; border-radius: 16px; padding: 18px; }
.panel.dark { background: var(--night); color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; letter-spacing: 0.05em; color: var(--sub); font-weight: 700; padding: 10px 12px; background: var(--surface-2); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table tr.alert td { background: #FFF5F9; }
.table tr.warn td { background: #FFFBF0; }
.tscroll { overflow-x: auto; border-radius: 16px; background: #fff; }
.kanban { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.kcol { width: 168px; flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; }
.kcard { background: #fff; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; transition: box-shadow .2s; }
.kcard:hover { box-shadow: 0 6px 16px rgba(63,29,99,0.12); }
.ctop { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal { position: relative; flex: 1; border-left: 1px solid var(--line-2); background: repeating-linear-gradient(180deg, #fff 0 63px, var(--line-2) 63px 64px); min-width: 150px; }
.ev { position: absolute; left: 6px; right: 6px; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.login-wrap { min-height: 860px; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(120% 90% at 20% 10%, #7A3FAF 0%, #3F1D63 55%, #1A0B2B 100%); }
.login-card { width: 420px; max-width: 100%; background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.seg { display: flex; padding: 4px; border-radius: 12px; background: var(--surface-2); }
.seg button { flex: 1; height: 38px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--sub); }
.seg button.on { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(63,29,99,0.1); }
.mobile-tabs { display: none; }
.otp-box.filled { border: 1.5px solid var(--primary) !important; background: var(--surface-2); color: var(--plum); }

@media (max-width: 900px) {
  .console { flex-direction: column; min-height: 0; }
  .side { width: 100%; padding: 12px; flex-direction: row; align-items: center; gap: 10px; overflow-x: auto; }
  .side .logo-blk, .side .who { display: none; }
  .side nav { flex-direction: row; margin: 0; }
  .side nav button { white-space: nowrap; padding: 9px 12px; font-size: 13px; }
  .cmain { padding: 16px; }
  .split { flex-direction: column !important; }
  .split > * { width: 100% !important; }
  .h1 { font-size: 22px; }
}

:focus-visible { outline: 2px solid #A47DC9; outline-offset: 3px; }
[hidden] { display: none !important; }
button:disabled { cursor: default; }
p { margin: 0; }
textarea, .console-select {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; font: inherit; padding: 10px 12px; max-width: 100%;
}
textarea { width: 100%; resize: vertical; }
.role-login { flex: 1; background: linear-gradient(155deg, #7A3FAF, var(--night) 80%); color: #fff; }
.artist-login .login-card { margin: auto; width: min(100% - 32px, 420px); }
.login-card { color: var(--ink); }
.login-card p { line-height: 1.5; }
.role-login-mark { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--primary); }
.artist-page { min-height: 100%; background: var(--surface-2); }
.artist-page .appbar, .artist-page > .statusbar { background: #fff; }
.artist-page .appbar .h2 { font-size: clamp(16px, 5vw, 22px); }
.artist-hero { color: #fff; background: linear-gradient(160deg, var(--night), var(--plum)); }
.artist-hero.rounded { border-radius: 0 0 28px 28px; }
.artist-hero p { color: var(--lilac); line-height: 1.5; }
.artist-avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; background: var(--surface); }
.artist-money { padding: 16px; border-radius: 16px; background-color: rgb(255 255 255 / 12%); }
.artist-metrics { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.artist-metrics small { font-size: 11px; }
.artist-money .artist-metrics { padding-top: 10px; border-top: 1px solid rgb(255 255 255 / 20%); }
.artist-event, .applicant { text-align: left; width: 100%; }
.artist-event:hover, .applicant:hover, .profile-link:hover { background: var(--surface-2); }
.artist-event:disabled { opacity: .65; }
.event-date { display: grid; place-content: center; text-align: center; width: 42px; min-height: 46px; flex: none; border-radius: 10px; background: var(--surface); color: var(--primary); }
.event-date small { font-size: 9px; font-weight: 700; }
.event-date b { font: 700 18px var(--head); }
.selected-card { border-color: var(--primary); background: var(--surface-2); box-shadow: 0 0 0 1px var(--primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.portfolio-grid .tile, .add-look { aspect-ratio: 4 / 5; }
.add-look { display: grid; place-content: center; justify-items: center; gap: 6px; border: 1px dashed var(--primary); border-radius: 12px; color: var(--primary); font-size: 13px; }
.upload-preview img { opacity: .6; }
.artist-thumb { width: 58px; height: 58px; flex: none; border-radius: 10px; background: var(--surface); }
.date-options, .artist-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.artist-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.date-option { padding: 9px 2px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.date-option small { font-size: 10px; }
.date-option b { font: 700 20px var(--head); }
.date-option:disabled { opacity: .45; }
.verification-count { width: 96px; height: 96px; display: grid; place-content: center; text-align: center; border-radius: 50%; border: 6px solid var(--gold); }
.verification-count b { font: 700 26px var(--head); }
.verification-count span { font-size: 11px; }
.month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
.month-grid > span { font-size: 9px; color: var(--sub); }
.month-grid button { border-radius: 7px; min-height: 33px; font-size: 13px; }
.month-grid button.booked { background: var(--surface); color: var(--primary); }
.month-grid button.blocked { background: #ecebef; color: var(--sub); text-decoration: line-through; }
.month-grid button.trial { background: var(--green-soft); color: var(--green-ink); }
.month-grid button.active { background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; }
.checkin-photo { height: clamp(170px, 38dvh, 290px); }
.checkin-photo img { object-position: center 36%; }
.academy-hero { height: 175px; color: #fff; text-align: left; }
.academy-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2A1240ED, #2A124055); }
.academy-copy { position: absolute; left: 14px; bottom: 14px; right: 65px; z-index: 1; }
.academy-hero > svg { position: absolute; right: 16px; bottom: 18px; z-index: 1; }
.review-bar { display: grid; align-items: center; grid-template-columns: 14px 1fr 24px; gap: 6px; font-size: 11px; }
.profile-link { width: 100%; min-height: 44px; padding: 8px 0; text-align: left; border-bottom: 1px solid var(--line-2); }
.profile-link:last-child { border-bottom: 0; }
.demo-bars { height: 180px; width: 100%; display: flex; align-items: flex-end; gap: clamp(3px, 2vw, 14px); padding: 15px 0 0; }
.demo-bars > div { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.demo-bars span { display: block; background: var(--bar-color); width: 100%; max-width: 62px; height: var(--bar-height); border-radius: 6px 6px 2px 2px; }
.demo-bars .stack { background: linear-gradient(to bottom, var(--gold) 0 22%, var(--bar-color) 22% 100%); }
.demo-bars b, .demo-bars small { font-size: 11px; }
.demo-bars small { color: var(--sub); }

.role-switch { min-height: 44px; color: var(--lilac); padding: 6px 12px; font-size: 13px; white-space: nowrap; }
.role-switch:hover { color: #fff; }
.logo-blk { color: #fff; padding-inline: 8px; }
.console-search { height: 42px; width: 216px; background: #fff; }
.console-search input { font-size: 14px; }
.console-tools select { min-height: 42px; font-size: 13px; }
.kpi.good { background: var(--green-soft); }
.kpi.urgent { background: var(--pink-soft); }
.kcol { width: auto; flex: 1 0 143px; min-width: 143px; }
.kcol-head { padding: 9px; min-height: 38px; background: var(--surface); color: var(--plum); border-radius: 10px; font-size: 13px; }
.kcard { text-align: left; width: 100%; min-height: 64px; font-size: 13px; }
.console-split, .verification-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pipeline-split, .report-split { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.appointments-split { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.verification-layout { grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr); align-items: start; }
.console-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--surface); }
.console .panel, .console .kpis { min-width: 0; }
.sos-panel { background: #fff5f9; border: 1px solid #f3cddd; }
.room-grid { display: grid; grid-template-columns: 66px repeat(var(--rooms), minmax(150px, 1fr)); }
.room-head { border-left: 1px solid var(--line-2); padding: 10px; }
.room-hours { display: grid; grid-template-rows: repeat(9, 64px); padding: 4px 8px; font-size: 12px; color: var(--sub); }
.room-grid .ev { border-radius: 8px; overflow-wrap: anywhere; text-align: left; }
.room-grid .ev:hover { box-shadow: 0 2px 10px #65329160; }
.rubric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rubric-check { display: flex; align-items: center; gap: 6px; min-height: 24px; cursor: pointer; }
input[type="checkbox"] { accent-color: var(--primary); }
.metric-line { min-height: 32px; border-bottom: 1px solid var(--line-2); }
.metric-line:last-child { border-bottom: 0; }
.panel.dark .kpi { color: #fff; background: rgb(255 255 255 / 12%); }
.panel.dark .kpi .muted { color: var(--lilac); }
.panel.dark .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel.dark .kpi .v { font-size: 20px; }

.demo-dialog {
  border: 0; border-radius: 18px; padding: 20px; width: min(430px, 100% - 32px);
  background: #fff; color: var(--ink); box-shadow: 0 20px 80px #12081855;
}
.demo-dialog::backdrop { background: #12081888; }
.demo-dialog .dialog-content { line-height: 1.5; }
.mode-console .device { transform: none; margin-bottom: 0; }
.interactive-card { text-align: left; }
.bride-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.artist-image-button { width: 100%; height: 100%; display: block; }
.bride-look-option { text-align: center; }
.bride-profile-photo { height: 350px; flex: 0 0 auto; border-radius: 0; }
.home-milestone { flex: 0 1 56px; min-width: 0; align-items: center; text-align: center; }
.salon-map-label { max-width: calc(100% - 24px); }
.row > .btn.ghost, .appbar > .btn.ghost { width: auto; flex-shrink: 0; }
.try-look-before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
#scroller > .overlay { position: sticky; bottom: 0; height: 100%; min-height: 100%; margin-top: -100%; }

@media (max-width: 1180px) {
  .verification-layout { grid-template-columns: minmax(210px, 0.8fr) minmax(0, 2fr); }
  .appointments-split, .pipeline-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .console .side { overflow: visible; }
  .console .side > div:first-child { flex: 1; min-width: 0; }
  .console .side nav { overflow-x: auto; }
  .console .side-account { flex: none; }
  .console .role-switch { gap: 5px; font-size: 11px; padding: 0 3px; }
  .verification-layout, .pipeline-split, .report-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topbar { padding-top: max(8px, env(safe-area-inset-top)); }
  body:not(.mode-console) { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100dvh; }
  body:not(.mode-console) .stage, body:not(.mode-console) .device-wrap,
  body:not(.mode-console) .device, body:not(.mode-console) .screen { height: 100%; }
  .tabbar { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .tabbar button { min-height: 38px; }
  .sticky-bottom { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .artist-page .appbar, .artist-login { padding-top: 12px; }
  .artist-login .login-card { margin-top: 20px; }
  .login-wrap { min-height: calc(100dvh - 102px); padding: 16px; }
  .login-card { padding: 22px; }
  .console-split { grid-template-columns: minmax(0, 1fr); }
  .console .panel { padding: 14px; }
  .console .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console .kpis .kpi { padding: 10px; }
  .console-tools { width: 100%; }
  .console-search { width: 100%; }
  .table td, .table th { padding: 8px; }
  .onboarding-photo { height: clamp(290px, 55dvh, 500px) !important; }
  .photo-appbar { top: 14px !important; }
  .map-venue { left: auto !important; right: 12px; }
  .map-artist { left: auto !important; right: 24px; }
  .salon-map-label { left: auto !important; right: 12px; }
}
@media (max-width: 370px) {
  .topbar { gap: 6px; padding-inline: 8px; }
  .switcher button { font-size: 12px; }
  .brand-text b { font-size: 16px; }
  .console .rubric-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
