:root {
  --cv-bg: #0d0b16;
  --cv-bg-soft: #15101f;
  --cv-surface: #fff;
  --cv-canvas: #f6f5f8;
  --cv-surface-soft: #f0edf3;
  --cv-customer-pearl: #fff8fb;
  --cv-customer-canvas:
    radial-gradient(circle at 90% 2%, rgba(222, 102, 157, .13), transparent 27%),
    radial-gradient(circle at 8% 16%, rgba(112, 194, 224, .09), transparent 23%),
    linear-gradient(180deg, #f9eff5 0, #fff9fc 152px, #fff8fb 100%);
  --cv-surface-dark: #191421;
  --cv-surface-dark-raised: #251d31;
  --cv-text: #211c25;
  --cv-text-muted: #67606e;
  --cv-text-subtle: #817989;
  --cv-text-inverse: #fffaff;
  --cv-pink: #c92365;
  --cv-pink-bright: #ff78b1;
  --cv-pink-soft: #fff0f6;
  --cv-purple: #8566d5;
  --cv-blue: #1676a9;
  --cv-success: #167b55;
  --cv-success-soft: #e8f7f0;
  --cv-warning: #9a5a00;
  --cv-warning-soft: #fff4df;
  --cv-danger: #b92d43;
  --cv-danger-soft: #fff0f2;
  --cv-info: #1e5f9c;
  --cv-info-soft: #edf5ff;
  --cv-line: rgba(43, 33, 50, .11);
  --cv-line-dark: rgba(255, 255, 255, .11);
  --cv-shadow-card: 0 10px 30px rgba(34, 22, 42, .08);
  --cv-shadow-float: 0 24px 70px rgba(16, 9, 24, .24);
  --cv-radius-sm: 12px;
  --cv-radius-md: 17px;
  --cv-radius-lg: 24px;
  --cv-radius-xl: 32px;
  --cv-space-1: 4px;
  --cv-space-2: 8px;
  --cv-space-3: 12px;
  --cv-space-4: 16px;
  --cv-space-5: 20px;
  --cv-space-6: 24px;
  --cv-space-8: 32px;
  --cv-tap-min: 44px;
  --cv-shell: 430px;
  --cv-inset: 17px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cv-bg); }
body {
  min-width: 320px;
  margin: 0;
  color: var(--cv-text);
  background: var(--cv-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button {
  min-height: var(--cv-tap-min);
  padding: 0;
  color: inherit;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(22, 118, 169, .48);
  outline-offset: 2px;
}
strong, b { font-weight: 720; }
em, i { font-style: normal; }
img { display: block; }

.prototype-stage {
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 10%, rgba(235, 73, 137, .14), transparent 25%),
    radial-gradient(circle at 87% 82%, rgba(126, 91, 212, .17), transparent 28%),
    linear-gradient(145deg, #0d0b16, #171020 55%, #0e0d18);
}
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none; opacity: .4; }
.ambient-one { width: 330px; height: 330px; top: -170px; left: -120px; background: #e43e7e; }
.ambient-two { width: 360px; height: 360px; right: -160px; bottom: -200px; background: #7156ca; }
.prototype-layout {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px minmax(0, var(--cv-shell));
  justify-content: center;
  align-items: start;
  gap: 38px;
}

.prototype-control {
  position: sticky;
  top: max(24px, env(safe-area-inset-top));
  padding: 24px;
  color: var(--cv-text-inverse);
  background: rgba(28, 21, 37, .72);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 26px;
  box-shadow: var(--cv-shadow-float);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  backdrop-filter: blur(24px) saturate(130%);
}
.prototype-brand { display: flex; align-items: center; gap: 12px; }
.prototype-brand > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--cv-pink-bright), #9a74ea);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(255, 98, 163, .25);
}
.prototype-brand strong, .prototype-brand small { display: block; }
.prototype-brand strong { font-size: 17px; letter-spacing: -.025em; }
.prototype-brand small { margin-top: 1px; color: #c8bfce; font-size: 12px; }
.access-scenario { margin-top: 20px; }
.access-scenario > small { display: block; margin-bottom: 8px; color: #bdb3c6; font-size: 11px; font-weight: 720; letter-spacing: .08em; }
.access-scenario > button {
  width: 100%;
  min-height: 58px;
  padding: 9px 11px;
  display: block;
  color: #cec5d4;
  text-align: left;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
}
.access-scenario > button + button { margin-top: 7px; }
.access-scenario > button.active { color: #fff; background: rgba(201,35,101,.22); border-color: rgba(255,126,178,.5); }
.access-scenario strong, .access-scenario span { display: block; }
.access-scenario strong { font-size: 12px; }
.access-scenario span { margin-top: 2px; color: inherit; font-size: 10px; line-height: 1.35; opacity: .75; }
.surface-switcher { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.surface-switcher button {
  min-height: 82px;
  padding: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  text-align: left;
  color: #cec5d4;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 15px;
}
.surface-switcher button.active {
  color: #fff;
  background: linear-gradient(145deg, rgba(220, 45, 111, .34), rgba(124, 84, 201, .23));
  border-color: rgba(255, 126, 178, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.surface-switcher button:disabled { color: #776e7c; background: rgba(255,255,255,.025); border-style: dashed; }
.surface-switcher span, .surface-switcher small { display: block; }
.surface-switcher span { font-size: 14px; font-weight: 730; }
.surface-switcher small { margin-top: 4px; color: inherit; font-size: 12px; line-height: 1.35; opacity: .76; }
.prototype-flow { margin-top: 18px; padding: 15px; background: rgba(9, 7, 14, .33); border: 1px solid rgba(255, 255, 255, .08); border-radius: 17px; }
.prototype-flow > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prototype-flow > div:first-child span small, .prototype-flow > div:first-child span strong { display: block; }
.prototype-flow > div:first-child span small { color: #bdb3c6; font-size: 12px; }
.prototype-flow > div:first-child span strong { margin-top: 2px; font-size: 15px; }
.prototype-flow > div:first-child button {
  min-height: 44px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #f7d7e5;
  background: transparent;
  border-radius: 9px;
  font-size: 12px;
}
.prototype-flow p { margin: 11px 0 0; color: #bdb3c6; font-size: 12px; line-height: 1.45; }
.prototype-disclaimer { margin: 17px 0 0; display: flex; align-items: flex-start; gap: 7px; color: #aa9fb5; font-size: 12px; line-height: 1.45; }
.prototype-disclaimer svg { flex: 0 0 auto; margin-top: 2px; color: #ffb3cd; }

.device-shell {
  width: min(100vw, var(--cv-shell));
  min-height: min(890px, calc(100dvh - 48px));
  position: relative;
  overflow: hidden;
  color: var(--cv-text);
  background: var(--cv-canvas);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .42), 0 0 0 7px rgba(255, 255, 255, .025);
}
.mobile-rolebar, .mobile-scenario-bar { display: none; }
.screen {
  min-height: min(890px, calc(100dvh - 48px));
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
  background: var(--cv-canvas);
}
.padded-screen { padding: 18px var(--cv-inset) calc(96px + env(safe-area-inset-bottom)); }
.detail-light { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }

.page-header {
  min-height: 57px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.header-leading { display: flex; align-items: center; gap: 7px; min-width: 0; }
.header-leading > div { min-width: 0; }
.page-header small {
  display: block;
  margin-bottom: 2px;
  color: var(--cv-pink);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .13em;
}
.page-header h1, .page-header .page-title { margin: 0; display: block; font-size: 29px; line-height: 1.08; font-weight: 790; letter-spacing: -.055em; }
.page-header .status-pill { margin-top: 5px; }
.icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cv-text);
  background: var(--cv-surface);
  border: 1px solid var(--cv-line);
  border-radius: 14px;
}
.icon-button.glass {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.role-chip {
  min-height: 32px;
  margin-top: 4px;
  padding: 6px 10px;
  color: var(--cv-success);
  background: var(--cv-success-soft);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 720;
}
.role-chip.admin { color: var(--cv-info); background: var(--cv-info-soft); }

.media { position: relative; overflow: hidden; isolation: isolate; background: #e9e4ea; }
.media > img { width: 100%; height: auto; max-width: none; position: absolute; top: 0; left: 0; filter: saturate(.92) contrast(1.02); }
.media > span { position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); pointer-events: none; }
.media-hero > img, .media-event > img, .media-event-dnt > img, .media-event-off > img, .media-event-swim > img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.media-hero > img { object-position: 64% center; }
.media-event > img { object-position: 66% center; }
.media-event-dnt > img { object-position: 64% 40%; }
.media-event-off > img { object-position: center 36%; }
.media-event-swim > img { object-position: 66% center; }
.media-talent-1 > img { width: 300%; transform: translate(0, 0); }
.media-talent-2 > img { width: 300%; transform: translate(-33.333%, 0); }
.media-talent-3 > img { width: 300%; transform: translate(-66.666%, 0); }
.media-talent-4 > img { width: 300%; transform: translate(0, -50%); }
.media-talent-5 > img { width: 300%; transform: translate(-33.333%, -50%); }
.media-talent-6 > img { width: 300%; transform: translate(-66.666%, -50%); }
.media-product-1 > img { width: 200%; transform: translate(0, 0); }
.media-product-2 > img { width: 200%; transform: translate(-50%, 0); }
.media-product-3 > img { width: 200%; transform: translate(0, -50%); }
.media-product-4 > img { width: 200%; transform: translate(-50%, -50%); }

.section-title { min-height: 48px; margin-bottom: 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.section-title > div { min-width: 0; }
.section-title h2 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 760; letter-spacing: -.035em; }
.section-title p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: 12px; line-height: 1.4; }
.section-title > button {
  min-width: 78px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  color: var(--cv-pink);
  background: transparent;
  font-size: 12px;
  font-weight: 720;
  white-space: nowrap;
}
.content-section { margin-top: 25px; }
.search-field {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cv-text-muted);
  text-align: left;
  background: #ece9ee;
  border-radius: 14px;
  font-size: 13px;
}
.search-field.static { cursor: default; }
.filter-pills, .segmented {
  min-height: 50px;
  margin-top: 12px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #e8e5ea;
  border-radius: 13px;
}
.filter-pills button, .segmented button { min-height: 44px; color: var(--cv-text-muted); background: transparent; border-radius: 10px; font-size: 12px; font-weight: 660; }
.filter-pills button.active, .segmented button.active { color: var(--cv-text); background: var(--cv-surface); box-shadow: 0 3px 10px rgba(35, 25, 43, .08); }
.segmented.three { grid-template-columns: repeat(3, 1fr); }
.segmented.two { grid-template-columns: repeat(2, 1fr); }

.flow-timeline { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.flow-timeline > div { min-width: 0; position: relative; display: flex; align-items: center; flex-direction: column; gap: 6px; color: #9a929f; }
.flow-timeline > div::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  top: 13px;
  left: -50%;
  z-index: 0;
  background: #ddd8e0;
}
.flow-timeline > div:first-child::before { display: none; }
.flow-timeline > div.done::before, .flow-timeline > div.current::before { background: var(--cv-success); }
.flow-timeline > div > span {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #746c79;
  background: #e8e4ea;
  border: 2px solid var(--cv-canvas);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 760;
}
.flow-timeline > div.done > span { color: #fff; background: var(--cv-success); }
.flow-timeline > div.current > span { color: #fff; background: var(--cv-pink); box-shadow: 0 0 0 4px var(--cv-pink-soft); }
.flow-timeline small { max-width: 62px; color: inherit; font-size: 10px; line-height: 1.2; text-align: center; }
.flow-timeline > div.current small { color: var(--cv-pink); font-weight: 720; }
.flow-timeline.compact { margin-top: 10px; }
.flow-timeline.compact > div > span { width: 17px; height: 17px; border-width: 1px; font-size: 8px; }
.flow-timeline.compact > div::before { top: 8px; }
.prototype-flow .flow-timeline > div > span { border-color: #211a2a; }
.prototype-flow .flow-timeline > div::before { background: #494051; }
.prototype-flow .flow-timeline > div.done::before, .prototype-flow .flow-timeline > div.current::before { background: #4fc698; }

.status-pill {
  min-height: 28px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 740;
  white-space: nowrap;
}
.status-pill i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: currentColor; }
.status-pill.warning { color: var(--cv-warning); background: var(--cv-warning-soft); }
.status-pill.info { color: var(--cv-info); background: var(--cv-info-soft); }
.status-pill.success { color: var(--cv-success); background: var(--cv-success-soft); }
.status-pill.danger { color: var(--cv-danger); background: var(--cv-danger-soft); }

.brand-topbar, .customer-topbar {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-topbar strong { color: var(--cv-pink); font-size: 22px; font-weight: 850; letter-spacing: -.06em; }
.brand-topbar strong span { position: relative; }
.brand-topbar strong span::before { content: "✦"; position: absolute; top: -7px; left: 4px; font-size: 7px; }
.public-screen { padding: 8px var(--cv-inset) calc(98px + env(safe-area-inset-bottom)); }
.public-hero, .customer-hero {
  height: 302px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--cv-bg);
  border-radius: var(--cv-radius-xl);
  box-shadow: var(--cv-shadow-card);
}
.public-hero > .media, .customer-hero > .media { position: absolute; inset: 0; }
.hero-overlay, .public-hero > span, .customer-hero > span { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 13, .03), rgba(10, 8, 13, .14) 38%, rgba(10, 8, 13, .92)); }
.public-hero > div, .customer-hero > div { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.public-hero small, .customer-hero small, .feature-event small, .support-card > div > small { color: #ffaccb; font-size: 10px; font-weight: 780; letter-spacing: .13em; }
.public-hero h1, .customer-hero h1 { margin: 4px 0 4px; font-size: 32px; line-height: 1.05; font-weight: 820; letter-spacing: -.06em; }
.public-hero p, .customer-hero p { margin: 0 0 14px; color: rgba(255, 255, 255, .79); font-size: 13px; line-height: 1.45; }
.public-hero button, .customer-hero button, .feature-event button, .support-card button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  background: var(--cv-pink);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 740;
}
.avatar-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.avatar-row button { min-width: 0; display: flex; align-items: center; flex-direction: column; color: var(--cv-text); background: transparent; }
.avatar-row button > span { width: 67px; height: 67px; padding: 2px; position: relative; border-radius: 50%; background: linear-gradient(145deg, #ee4e8e, #8265ce); }
.avatar-row .media { width: 100%; height: 100%; border: 2px solid var(--cv-surface); border-radius: 50%; }
.avatar-row button > span > i { width: 16px; height: 16px; position: absolute; right: 1px; bottom: 1px; background: var(--cv-success); border: 2px solid #fff; border-radius: 50%; }
.avatar-row strong { margin-top: 6px; font-size: 13px; }
.avatar-row small { margin-top: 1px; color: var(--cv-text-muted); font-size: 11px; }
.spotlight-card {
  width: 100%;
  min-height: 100px;
  margin-top: 24px;
  padding: 10px;
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: var(--cv-bg);
  border-radius: var(--cv-radius-lg);
}
.spotlight-card > .media { width: 82px; height: 82px; border-radius: 17px; }
.spotlight-card > span { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, transparent 25%, rgba(20, 14, 25, .1)); pointer-events: none; }
.spotlight-card > div, .spotlight-card > svg { position: relative; z-index: 1; }
.spotlight-card small, .spotlight-card strong, .spotlight-card em { display: block; }
.spotlight-card small { color: #ffaccb; font-size: 10px; font-weight: 720; }
.spotlight-card strong { margin-top: 3px; font-size: 17px; }
.spotlight-card em { margin-top: 4px; color: #cfc5d5; font-size: 12px; }
.portal-grid { display: grid; gap: 9px; }
.portal-grid button {
  min-height: 70px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-md);
  box-shadow: var(--cv-shadow-card);
}
.portal-grid button > svg { width: 44px; height: 44px; padding: 11px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 13px; }
.portal-grid strong, .portal-grid small { display: block; }
.portal-grid strong { font-size: 14px; }
.portal-grid small { margin-top: 2px; color: var(--cv-text-muted); font-size: 12px; }

.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.people-grid > button { min-width: 0; position: relative; overflow: hidden; color: var(--cv-text); text-align: left; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.people-grid .media { width: 100%; aspect-ratio: 1 / 1.02; }
.floating-badge { position: absolute; top: 10px; left: 10px; padding: 5px 8px; color: #fff; background: rgba(17, 12, 20, .72); border-radius: 99px; font-size: 10px; font-weight: 700; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.person-card-copy { min-height: 106px; padding: 11px; display: block; }
.person-card-copy small { color: var(--cv-pink); font-size: 10px; font-weight: 720; }
.person-card-copy strong { display: block; margin-top: 1px; font-size: 15px; }
.person-card-copy strong em { color: var(--cv-text-muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.person-card-copy p { margin: 5px 0 0; color: var(--cv-text-muted); font-size: 12px; line-height: 1.4; }
.feature-event { height: 300px; position: relative; overflow: hidden; color: #fff; background: var(--cv-bg); border-radius: var(--cv-radius-xl); }
.feature-event > .media { position: absolute; inset: 0; }
.feature-event > span { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(13, 9, 17, .94)); }
.feature-event > div { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.feature-event h2 { margin: 4px 0 2px; font-size: 27px; letter-spacing: -.045em; }
.feature-event p { margin: 0 0 13px; color: #d7cfdc; font-size: 12px; }
.list-stack, .schedule-list { display: grid; gap: 9px; }
.list-stack button, .schedule-list button {
  min-height: 76px;
  padding: 8px;
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border-radius: 16px;
  box-shadow: var(--cv-shadow-card);
}
.date-tile { width: 55px; height: 58px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; background: var(--cv-bg-soft); border-radius: 13px; }
.date-tile b { font-size: 20px; line-height: 1; }
.date-tile small { margin-top: 3px; color: #ff9dc0; font-size: 9px; letter-spacing: .1em; }
.list-stack strong, .list-stack small, .schedule-list strong, .schedule-list small { display: block; }
.list-stack strong, .schedule-list strong { font-size: 14px; }
.list-stack span:nth-child(2) small, .schedule-list span:nth-child(2) small { margin-top: 3px; color: var(--cv-text-muted); font-size: 12px; }

.profile-screen { padding-bottom: 32px; color: var(--cv-text-inverse); background: var(--cv-bg); }
.profile-screen .page-header { height: 62px; padding: 8px 10px 6px; position: absolute; top: 0; left: 0; right: 0; z-index: 5; align-items: center; }
.profile-screen .page-header h1, .profile-screen .page-header .page-title { font-size: 14px; }
.profile-screen .icon-button { color: #fff; background: rgba(16, 12, 20, .38); border-color: rgba(255, 255, 255, .14); }
.profile-hero { height: 414px; position: relative; overflow: hidden; }
.profile-hero > .media { position: absolute; inset: 0; }
.profile-hero > span { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 6, 12, .04), rgba(8, 6, 12, .16) 42%, var(--cv-bg)); }
.profile-hero > div { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.profile-hero small { color: #ff9dc0; font-size: 10px; font-weight: 750; letter-spacing: .11em; }
.profile-hero h1 { margin: 4px 0 4px; font-size: 35px; letter-spacing: -.055em; }
.profile-hero h1 em { margin-left: 4px; color: #bfb4c7; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.profile-hero p { margin: 0; color: #d2c9d8; font-size: 13px; }
.profile-actions { margin: 10px 17px 0; display: grid; grid-template-columns: 120px 1fr; gap: 9px; }
.profile-actions button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; color: #ff9dc0; background: rgba(201, 35, 101, .16); border: 1px solid rgba(255, 121, 178, .23); border-radius: 14px; font-size: 13px; font-weight: 720; }
.profile-actions button:last-child { color: #fff; background: var(--cv-pink); border-color: var(--cv-pink); }
.profile-facts { margin: 19px 17px 0; padding: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--cv-line-dark); border-bottom: 1px solid var(--cv-line-dark); }
.profile-facts span { display: flex; align-items: center; flex-direction: column; text-align: center; }
.profile-facts strong { font-size: 13px; }
.profile-facts small { margin-top: 3px; color: #aaa0b3; font-size: 11px; }
.profile-section { margin: 0 17px; padding: 23px 0; border-bottom: 1px solid var(--cv-line-dark); }
.profile-section h2 { margin: 0 0 7px; font-size: 18px; }
.profile-section > p { margin: 0; color: #bfb5c7; font-size: 13px; line-height: 1.68; }
.profile-section .section-title p { color: #aaa0b3; }
.appearance-card {
  width: 100%;
  min-height: 78px;
  padding: 9px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: left;
  background: var(--cv-surface-dark-raised);
  border-radius: 15px;
}
.appearance-card > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #ff9dc0; background: rgba(255, 126, 182, .12); border-radius: 13px; }
.appearance-card strong, .appearance-card small { display: block; }
.appearance-card strong { font-size: 13px; }
.appearance-card small { margin-top: 3px; color: #bcb2c4; font-size: 11px; }
.person-details-section > h2,
.person-social-section > h2 { margin-bottom: 14px; }
.person-detail-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--cv-line-dark); }
.person-detail-grid > div { min-width: 0; padding: 14px 4px; border-bottom: 1px solid var(--cv-line-dark); }
.person-detail-grid > div:nth-child(odd) { padding-right: 14px; }
.person-detail-grid > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--cv-line-dark); }
.person-detail-grid dt { color: #aaa0b3; font-size: 11px; }
.person-detail-grid dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 720; }
.person-social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.person-social-links a { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: #31273a; border: 1px solid var(--cv-line-dark); border-radius: 50%; }
.person-social-links a > svg { width: 21px; height: 21px; }
.person-attendance-list { border-top: 1px solid var(--cv-line-dark); }
.person-attendance-list > button { width: 100%; min-height: 70px; padding: 10px 2px; display: grid; grid-template-columns: 58px minmax(0, 1fr) 20px; align-items: center; gap: 12px; color: #fff; text-align: left; border-bottom: 1px solid var(--cv-line-dark); }
.person-attendance-list time { display: grid; gap: 2px; color: #ff9dc0; font-style: normal; }
.person-attendance-list time small { font-size: 10px; font-weight: 800; }
.person-attendance-list time strong { color: #fff; font-size: 15px; }
.person-attendance-list > button > span { min-width: 0; }
.person-attendance-list > button > span strong,
.person-attendance-list > button > span small { display: block; }
.person-attendance-list > button > span strong { font-size: 14px; }
.person-attendance-list > button > span small { margin-top: 4px; color: #bcb2c4; font-size: 12px; }
.person-attendance-list > button > svg { color: #aaa0b3; }
.person-attendance-empty { min-height: 72px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 11px; color: #aaa0b3; }
.person-attendance-empty > svg { width: 42px; height: 42px; padding: 10px; color: #ff9dc0; background: rgba(255, 126, 182, .12); border-radius: 50%; }
.person-attendance-empty strong,
.person-attendance-empty small { display: block; }
.person-attendance-empty strong { color: #fff; font-size: 13px; }
.person-attendance-empty small { margin-top: 3px; font-size: 11px; }
.seo-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; color: #fff; }
.seo-note > svg { width: 40px; height: 40px; padding: 9px; color: #ff9dc0; background: rgba(255, 126, 182, .12); border-radius: 12px; }
.seo-note strong { font-size: 14px; }
.seo-note p { margin-top: 4px; }

.customer-topbar > div small, .customer-topbar > div strong { display: block; }
.customer-topbar > div small { color: var(--cv-text-muted); font-size: 12px; }
.customer-topbar > div strong { margin-top: 1px; font-size: 20px; letter-spacing: -.03em; }
.customer-topbar .icon-button { position: relative; }
.customer-topbar .icon-button i { width: 7px; height: 7px; position: absolute; top: 8px; right: 8px; background: var(--cv-pink); border: 2px solid #fff; border-radius: 50%; }
.customer-next {
  width: 100%;
  min-height: 88px;
  margin: 6px 0 12px;
  padding: 11px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, #211725, #17121e);
  border-radius: var(--cv-radius-lg);
  box-shadow: var(--cv-shadow-card);
}
.customer-next.ready { background: linear-gradient(135deg, #0d4f3a, #173b36); }
.customer-next > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #ffaccb; background: rgba(255, 255, 255, .09); border-radius: 14px; }
.customer-next small, .customer-next strong, .customer-next em { display: block; }
.customer-next small { color: #c6bbc9; font-size: 11px; }
.customer-next strong { margin-top: 1px; font-size: 15px; }
.customer-next em { margin-top: 3px; color: #ffaccb; font-size: 11px; font-weight: 650; }
.customer-next.ready em { color: #a8f0d2; }
.customer-hero { height: 260px; }
.quick-actions { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.quick-actions button { min-width: 0; display: flex; align-items: center; flex-direction: column; color: var(--cv-text); background: transparent; }
.quick-actions button > span { width: 49px; height: 49px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 15px; }
.quick-actions small { margin-top: 6px; font-size: 11px; font-weight: 650; }
.personal-card {
  width: 100%;
  min-height: 82px;
  padding: 10px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border-radius: var(--cv-radius-md);
  box-shadow: var(--cv-shadow-card);
}
.personal-card .media { width: 62px; height: 62px; border-radius: 15px; }
.personal-card small, .personal-card strong, .personal-card em { display: block; }
.personal-card small { color: var(--cv-pink); font-size: 11px; font-weight: 680; }
.personal-card strong { margin-top: 2px; font-size: 14px; }
.personal-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.people-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.people-rail button { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; overflow: hidden; color: var(--cv-text); text-align: left; background: var(--cv-surface); border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.people-rail .media { width: 70px; height: 84px; }
.people-rail button > span { min-width: 0; padding: 8px; }
.people-rail small, .people-rail strong, .people-rail em { display: block; }
.people-rail small { color: var(--cv-pink); font-size: 10px; font-weight: 680; }
.people-rail strong { margin-top: 3px; font-size: 14px; }
.people-rail em { color: var(--cv-text-muted); font-size: 11px; }
.support-card { height: 296px; position: relative; overflow: hidden; color: #fff; background: var(--cv-bg); border-radius: var(--cv-radius-xl); }
.support-card > .media { position: absolute; inset: 0; }
.support-card > span { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 9, 17, .94), rgba(14, 9, 17, .46) 60%, rgba(14, 9, 17, .12)); }
.support-card > div { width: 66%; position: absolute; left: 19px; bottom: 18px; z-index: 2; }
.support-card h2 { margin: 4px 0 5px; font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.support-card p { margin: 0; color: #d7cddc; font-size: 12px; line-height: 1.45; }
.campaign-bar { height: 6px; margin-top: 13px; overflow: hidden; background: rgba(255, 255, 255, .18); border-radius: 6px; }
.campaign-bar i { width: 72%; height: 100%; display: block; background: var(--cv-pink-bright); }
.support-card b { display: block; margin: 5px 0 10px; font-size: 11px; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-grid button { min-width: 0; overflow: hidden; color: var(--cv-text); text-align: left; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.product-grid .media { width: 100%; aspect-ratio: 1; }
.product-grid button > span { padding: 10px 11px 12px; display: block; }
.product-grid small, .product-grid strong, .product-grid b { display: block; }
.product-grid small { color: var(--cv-pink); font-size: 10px; font-weight: 700; }
.product-grid strong { margin-top: 2px; font-size: 14px; }
.product-grid b { margin-top: 3px; color: var(--cv-pink); font-size: 13px; }
.delivery-row, .admin-delivery-row {
  width: 100%;
  min-height: 94px;
  padding: 9px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border-radius: var(--cv-radius-md);
  box-shadow: var(--cv-shadow-card);
}
.delivery-row + .delivery-row, .admin-delivery-row + .admin-delivery-row { margin-top: 9px; }
.delivery-row .media, .admin-delivery-row .media { width: 70px; height: 70px; border-radius: 14px; }
.delivery-row > span:nth-child(2), .admin-delivery-row > span:nth-child(2) { min-width: 0; }
.delivery-row small, .delivery-row strong, .delivery-row em, .admin-delivery-row small, .admin-delivery-row strong, .admin-delivery-row em { display: block; }
.delivery-row small, .admin-delivery-row small { color: var(--cv-text-subtle); font-size: 10px; }
.delivery-row strong, .admin-delivery-row strong { margin-top: 2px; font-size: 14px; }
.delivery-row em, .admin-delivery-row em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.35; }
.delivery-row .status-pill, .admin-delivery-row .status-pill { align-self: start; margin-top: 2px; }
.pass-row {
  width: 100%;
  min-height: 82px;
  padding: 10px;
  display: grid;
  grid-template-columns: 49px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, #291b2a, #18131f);
  border-radius: var(--cv-radius-md);
}
.pass-row > span:first-child { width: 49px; height: 49px; display: grid; place-items: center; color: #ffaccb; background: rgba(255, 255, 255, .08); border-radius: 14px; }
.pass-row small, .pass-row strong, .pass-row em { display: block; }
.pass-row small { color: #cbbfce; font-size: 11px; }
.pass-row strong { margin-top: 2px; font-size: 14px; }
.pass-row em { margin-top: 2px; color: #ffaccb; font-size: 11px; }
.member-card { padding: 17px; background: linear-gradient(145deg, #fff, #fff2f7); border: 1px solid rgba(201, 35, 101, .12); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.member-card > div:first-child { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 11px; }
.member-card > div:first-child > span { width: 56px; height: 56px; padding: 2px; border-radius: 50%; background: linear-gradient(145deg, var(--cv-pink), var(--cv-purple)); }
.member-card .media { width: 100%; height: 100%; border: 2px solid #fff; border-radius: 50%; }
.member-card small, .member-card strong, .member-card em { display: block; }
.member-card > div small { color: var(--cv-pink); font-size: 10px; font-weight: 700; }
.member-card > div strong { margin-top: 2px; font-size: 17px; }
.member-card > div em { margin-top: 2px; color: var(--cv-text-muted); font-size: 11px; }
.member-card > p { margin: 18px 0 0; display: flex; align-items: flex-end; justify-content: space-between; }
.member-card > p > span { color: var(--cv-text-muted); font-size: 12px; }
.member-card > p > strong { font-size: 26px; line-height: 1; }
.member-card > p > strong small { display: inline; color: var(--cv-text-muted); font-size: 11px; }
.member-progress { height: 6px; margin-top: 13px; overflow: hidden; background: rgba(201, 35, 101, .12); border-radius: 6px; }
.member-progress i { width: 72%; height: 100%; display: block; background: var(--cv-pink); }
.menu-list { display: grid; gap: 1px; overflow: hidden; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.menu-list button { min-height: 54px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--cv-text); background: var(--cv-surface); border-bottom: 1px solid var(--cv-line); font-size: 13px; text-align: left; }
.menu-list button:last-child { border-bottom: 0; }
.empty-state {
  min-height: 150px;
  padding: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--cv-text-muted);
  text-align: center;
  background: var(--cv-surface);
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-lg);
  box-shadow: var(--cv-shadow-card);
}
.empty-state > svg { color: var(--cv-success); }
.empty-state > strong { margin-top: 10px; color: var(--cv-text); font-size: 15px; }
.empty-state > p { max-width: 300px; margin: 5px 0 0; font-size: 12px; line-height: 1.5; }
.empty-state.review-waiting { margin-top: 14px; }
.empty-state.review-waiting > svg { color: var(--cv-warning); }
.menu-list svg { color: var(--cv-text-subtle); }

.delivery-hero { height: 280px; position: relative; overflow: hidden; background: #e8e1e8; border-radius: var(--cv-radius-xl); }
.delivery-hero > .media { position: absolute; inset: 0; }
.delivery-hero > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: #fff;
  background: rgba(24, 18, 27, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.delivery-hero > span.revealed { top: auto; left: auto; right: 12px; bottom: 12px; width: 50px; height: 50px; border-radius: 15px; background: rgba(24, 18, 27, .72); }
.delivery-summary { padding: 19px 2px 3px; }
.delivery-summary > small { color: var(--cv-text-subtle); font-size: 11px; }
.delivery-summary h2 { margin: 3px 0 4px; font-size: 23px; letter-spacing: -.035em; }
.delivery-summary > p { margin: 0; color: var(--cv-text-muted); font-size: 13px; line-height: 1.55; }
.fact-card { margin-top: 22px; padding: 4px 14px; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.fact-card > div { min-height: 62px; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 9px; border-bottom: 1px solid var(--cv-line); }
.fact-card > div:last-child { border-bottom: 0; }
.fact-card > div > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 12px; }
.fact-card p { margin: 0; }
.fact-card small, .fact-card strong { display: block; }
.fact-card small { color: var(--cv-text-muted); font-size: 11px; }
.fact-card strong { margin-top: 1px; font-size: 13px; }
.primary-action {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--cv-pink);
  border-radius: 15px;
  box-shadow: 0 12px 26px rgba(201, 35, 101, .2);
  font-size: 14px;
  font-weight: 740;
}
.primary-action.success { background: var(--cv-success); box-shadow: 0 12px 26px rgba(22, 123, 85, .18); }
.primary-action.disabled { color: var(--cv-text-muted); background: #e6e2e7; box-shadow: none; }
.text-action { width: 100%; min-height: 46px; margin-top: 5px; color: var(--cv-pink); background: transparent; font-size: 12px; font-weight: 690; }

.shift-card {
  width: 100%;
  min-height: 88px;
  margin-top: 7px;
  padding: 11px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-align: left;
  background: linear-gradient(135deg, #211727, #17121e);
  border-radius: var(--cv-radius-lg);
}
.shift-card > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #ffaccb; background: rgba(255, 255, 255, .09); border-radius: 14px; }
.shift-card small, .shift-card strong, .shift-card em { display: block; }
.shift-card small { color: #bbb0c1; font-size: 11px; }
.shift-card strong { margin-top: 1px; font-size: 15px; }
.shift-card em { margin-top: 3px; color: #ffaccb; font-size: 11px; }
.metric-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.metric-grid article { min-width: 0; min-height: 95px; padding: 12px; background: var(--cv-surface); border-radius: 15px; box-shadow: var(--cv-shadow-card); }
.metric-grid small, .metric-grid strong, .metric-grid em { display: block; }
.metric-grid small { color: var(--cv-text-muted); font-size: 10px; }
.metric-grid strong { margin-top: 4px; font-size: 24px; line-height: 1; }
.metric-grid em { margin-top: 8px; color: var(--cv-text-subtle); font-size: 9px; line-height: 1.35; }
.work-card {
  width: 100%;
  min-height: 118px;
  padding: 9px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border-radius: var(--cv-radius-md);
  box-shadow: var(--cv-shadow-card);
}
.work-card.needs-revision { border: 1px solid rgba(185, 45, 67, .3); background: linear-gradient(145deg, #fff, var(--cv-danger-soft)); }
.work-card > .media { width: 76px; height: 98px; border-radius: 14px; }
.work-card > span { min-width: 0; }
.work-card small, .work-card strong, .work-card em { display: block; }
.work-card small { color: var(--cv-pink); font-size: 10px; font-weight: 680; }
.work-card strong { margin-top: 2px; font-size: 14px; }
.work-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.work-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.work-type-grid button { min-height: 132px; padding: 13px; display: flex; align-items: flex-start; flex-direction: column; color: var(--cv-text); text-align: left; background: var(--cv-surface); border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.work-type-grid button > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 13px; }
.work-type-grid strong { margin-top: 9px; font-size: 14px; }
.work-type-grid small { margin-top: 4px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.4; }
.work-type-grid button.gated { box-shadow: none; color: #6e6773; background: #ece9ed; border-style: dashed; cursor: not-allowed; }
.work-type-grid button.gated > span { color: #77707c; background: #dfdbe1; }
.delivery-row.employee { grid-template-columns: 70px minmax(0, 1fr); position: relative; padding-right: 76px; }
.delivery-row.employee > .status-pill { position: absolute; top: 9px; right: 9px; }
.shift-today { padding: 18px; color: #fff; background: linear-gradient(145deg, #24182a, #16121d); border-radius: var(--cv-radius-lg); }
.shift-today > small { color: #ffaccb; font-size: 11px; font-weight: 700; }
.shift-today h2 { margin: 3px 0 2px; font-size: 24px; }
.shift-today > p { margin: 0; color: #c5bbc9; font-size: 12px; }
.shift-today > div { margin-top: 14px; display: grid; gap: 7px; }
.shift-today > div span { display: flex; align-items: center; gap: 6px; color: #d8d0dc; font-size: 11px; }
.shift-today > div svg { color: #87dfb7; }
.gate-card { margin-top: 5px; padding: 27px 21px; text-align: center; background: var(--cv-surface); border: 1px dashed #c7c0ca; border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.gate-card > span { width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; color: #746d79; background: #ebe7ec; border-radius: 17px; }
.gate-card > small { color: var(--cv-purple); font-size: 10px; font-weight: 760; letter-spacing: .13em; }
.gate-card h2 { margin: 5px 0 7px; font-size: 22px; }
.gate-card p { margin: 0; color: var(--cv-text-muted); font-size: 13px; line-height: 1.6; }
.gate-card > div { margin: 17px auto 0; padding: 10px 15px; display: inline-flex; flex-direction: column; background: var(--cv-info-soft); border-radius: 12px; }
.gate-card > div strong { color: var(--cv-info); font-size: 15px; }
.gate-card > div small { color: var(--cv-text-muted); font-size: 10px; }
.principle-list { padding: 5px 14px; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.principle-list p { min-height: 49px; margin: 0; display: flex; align-items: center; gap: 9px; color: var(--cv-text-muted); border-bottom: 1px solid var(--cv-line); font-size: 12px; }
.principle-list p:last-child { border-bottom: 0; }
.principle-list svg { flex: 0 0 auto; color: var(--cv-success); }
.staff-card { min-height: 92px; padding: 11px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 12px; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.staff-card .media { width: 70px; height: 70px; border-radius: 18px; }
.staff-card small, .staff-card strong, .staff-card em { display: block; }
.staff-card small { color: var(--cv-pink); font-size: 10px; }
.staff-card strong { margin-top: 2px; font-size: 18px; }
.staff-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.order-source-card { padding: 17px; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.revision-banner {
  margin-top: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  color: var(--cv-danger);
  background: var(--cv-danger-soft);
  border: 1px solid rgba(185, 45, 67, .18);
  border-radius: var(--cv-radius-md);
}
.revision-banner > span { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--cv-danger); border-radius: 13px; }
.revision-banner small, .revision-banner strong { display: block; }
.revision-banner small { font-size: 10px; font-weight: 740; }
.revision-banner strong { margin-top: 2px; color: var(--cv-text); font-size: 13px; }
.revision-banner p { margin: 4px 0 0; color: var(--cv-text-muted); font-size: 11px; line-height: 1.4; }
.order-source-card > small { color: var(--cv-success); font-size: 10px; font-weight: 700; }
.order-source-card h2 { margin: 3px 0 13px; font-size: 21px; }
.order-source-card > div { padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--cv-line); }
.order-source-card > div span:last-child { text-align: right; }
.order-source-card strong, .order-source-card span small { display: block; }
.order-source-card strong { font-size: 12px; }
.order-source-card span small { margin-top: 3px; color: var(--cv-text-muted); font-size: 10px; }
.upload-preview { height: 260px; margin-top: 14px; position: relative; overflow: hidden; background: #e8e2e9; border: 1px dashed #bdb5c1; border-radius: var(--cv-radius-lg); }
.upload-preview > .media { position: absolute; inset: 0; opacity: .18; filter: blur(5px); }
.upload-preview > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--cv-text-muted); text-align: center; }
.upload-preview > span.uploaded { color: #fff; background: rgba(18, 13, 22, .55); }
.upload-preview strong, .upload-preview small { display: block; }
.upload-preview strong { margin-top: 7px; font-size: 14px; }
.upload-preview small { margin-top: 3px; color: inherit; font-size: 11px; opacity: .8; }
.checklist-card { margin-top: 14px; padding: 14px; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.checklist-card h2 { margin: 0 0 8px; font-size: 16px; }
.checklist-card p { min-height: 43px; margin: 0; display: flex; align-items: center; gap: 9px; color: var(--cv-text-muted); border-bottom: 1px solid var(--cv-line); font-size: 12px; }
.checklist-card p:last-child { border-bottom: 0; }
.checklist-card p > span { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; color: #7b7480; background: #e9e5eb; border-radius: 50%; font-size: 10px; font-weight: 700; }
.checklist-card p > span.checked { color: #fff; background: var(--cv-success); }

.admin-metrics { margin-top: 5px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.admin-metrics button { min-height: 105px; padding: 12px; color: var(--cv-text); text-align: left; background: var(--cv-surface); border: 1px solid var(--cv-line); border-radius: 15px; box-shadow: var(--cv-shadow-card); }
.admin-metrics small, .admin-metrics strong, .admin-metrics em { display: block; }
.admin-metrics small { color: var(--cv-text-muted); font-size: 10px; }
.admin-metrics strong { margin-top: 3px; font-size: 26px; line-height: 1; }
.admin-metrics em { margin-top: 9px; color: var(--cv-text-subtle); font-size: 9px; line-height: 1.35; }
.priority-alert {
  width: 100%;
  min-height: 84px;
  margin-top: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: linear-gradient(145deg, #fff, #f6f1ff);
  border: 1px solid rgba(133, 102, 213, .2);
  border-radius: var(--cv-radius-md);
}
.priority-alert > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-purple); background: #f0ebff; border-radius: 14px; }
.priority-alert small, .priority-alert strong, .priority-alert em { display: block; }
.priority-alert small { color: var(--cv-purple); font-size: 10px; font-weight: 720; }
.priority-alert strong { margin-top: 1px; font-size: 14px; }
.priority-alert em { margin-top: 2px; color: var(--cv-text-muted); font-size: 11px; }
.exception-list { display: grid; gap: 8px; }
.exception-list button {
  min-height: 72px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: var(--cv-surface);
  border-radius: 15px;
  box-shadow: var(--cv-shadow-card);
}
.exception-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; }
.exception-icon.danger { color: var(--cv-danger); background: var(--cv-danger-soft); }
.exception-icon.warning { color: var(--cv-warning); background: var(--cv-warning-soft); }
.exception-icon.info { color: var(--cv-info); background: var(--cv-info-soft); }
.exception-list strong, .exception-list small { display: block; }
.exception-list strong { font-size: 13px; }
.exception-list small { margin-top: 2px; color: var(--cv-text-muted); font-size: 10px; }
.exception-list b { color: var(--cv-pink); font-size: 11px; }
.data-boundaries { display: grid; gap: 8px; }
.data-boundaries p { min-height: 56px; margin: 0; padding: 0 9px; display: flex; align-items: center; justify-content: space-between; gap: 4px; color: var(--cv-text-muted); background: var(--cv-surface); border: 1px solid var(--cv-line); border-radius: 14px; font-size: 10px; }
.data-boundaries p span { padding: 6px 7px; background: var(--cv-surface-soft); border-radius: 8px; white-space: nowrap; }
.data-boundaries p svg { flex: 0 0 auto; color: var(--cv-pink); }
.admin-delivery-row { grid-template-columns: 68px minmax(0, 1fr); position: relative; padding-right: 78px; }
.admin-delivery-row > .status-pill { position: absolute; top: 9px; right: 9px; }
.admin-delivery-row .flow-timeline { max-width: 170px; }
.review-preview { height: 300px; position: relative; overflow: hidden; background: #e7e1e8; border-radius: var(--cv-radius-xl); }
.review-preview > .media { position: absolute; inset: 0; }
.review-preview > span { position: absolute; left: 12px; bottom: 12px; padding: 6px 9px; color: #fff; background: rgba(18, 13, 22, .72); border-radius: 99px; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.review-context { margin-top: 14px; padding: 17px; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.review-context > small { color: var(--cv-text-subtle); font-size: 10px; }
.review-context h2 { margin: 3px 0 2px; font-size: 21px; }
.review-context > p { margin: 0; color: var(--cv-text-muted); font-size: 11px; }
.review-context > div { margin-top: 14px; display: grid; gap: 7px; }
.review-context > div span { display: flex; align-items: center; gap: 7px; color: var(--cv-text-muted); font-size: 11px; }
.review-context > div svg { color: var(--cv-success); }
.review-checklist { margin-top: 14px; padding: 14px; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.review-checklist h2 { margin: 0 0 7px; font-size: 16px; }
.review-checklist p { min-height: 44px; margin: 0; display: flex; align-items: center; gap: 9px; color: var(--cv-text-muted); border-bottom: 1px solid var(--cv-line); font-size: 12px; }
.review-checklist p:last-child { border-bottom: 0; }
.review-checklist p span { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--cv-success); border-radius: 50%; }
.review-actions, .dual-actions { margin-top: 17px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 9px; }
.review-actions button, .dual-actions button { min-height: 50px; padding: 0 12px; color: var(--cv-danger); background: var(--cv-danger-soft); border: 1px solid rgba(185, 45, 67, .18); border-radius: 14px; font-size: 12px; font-weight: 720; }
.review-actions button:last-child, .dual-actions button:last-child { display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; background: var(--cv-pink); border-color: var(--cv-pink); }
.schedule-status { padding: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cv-surface); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.schedule-status > div { min-width: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 10px; }
.schedule-status > div > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 14px; }
.schedule-status small, .schedule-status strong, .schedule-status em { display: block; }
.schedule-status small { color: var(--cv-text-muted); font-size: 10px; }
.schedule-status strong { margin-top: 1px; font-size: 13px; }
.schedule-status em { margin-top: 2px; color: var(--cv-text-subtle); font-size: 10px; }
.shift-table { overflow: hidden; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.shift-table > div { min-height: 53px; padding: 0 13px; display: grid; grid-template-columns: 1fr 1.2fr .7fr; align-items: center; gap: 8px; border-bottom: 1px solid var(--cv-line); }
.shift-table > div:last-child { border-bottom: 0; }
.shift-table span { font-size: 12px; font-weight: 680; }
.shift-table strong { font-size: 11px; }
.shift-table em { color: var(--cv-text-muted); font-size: 10px; text-align: right; }
.publish-card, .content-health {
  margin-top: 17px;
  padding: 15px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  background: var(--cv-info-soft);
  border: 1px solid rgba(30, 95, 156, .12);
  border-radius: var(--cv-radius-md);
}
.publish-card > span, .content-health > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cv-info); background: #fff; border-radius: 13px; }
.publish-card small, .publish-card strong, .content-health small, .content-health strong { display: block; }
.publish-card small, .content-health small { color: var(--cv-info); font-size: 9px; font-weight: 740; letter-spacing: .1em; }
.publish-card strong, .content-health strong { margin-top: 2px; font-size: 13px; }
.publish-card p, .content-health p { margin: 4px 0 0; color: var(--cv-text-muted); font-size: 11px; line-height: 1.45; }
.dual-actions button:first-child { color: var(--cv-pink); background: var(--cv-pink-soft); border-color: rgba(201, 35, 101, .16); }
.content-health { margin-top: 4px; background: linear-gradient(145deg, #fff, #f5efff); border-color: rgba(133, 102, 213, .16); }
.content-health > span { color: var(--cv-purple); background: #f0ebff; }
.content-health small { color: var(--cv-purple); }
.content-metrics article strong { font-size: 19px; }
.role-matrix { overflow: hidden; background: var(--cv-surface); border-radius: var(--cv-radius-md); box-shadow: var(--cv-shadow-card); }
.role-matrix > div { min-height: 62px; padding: 0 13px; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 9px; border-bottom: 1px solid var(--cv-line); }
.role-matrix > div:last-child { border-bottom: 0; }
.role-matrix span { font-size: 12px; font-weight: 720; }
.role-matrix strong { font-size: 11px; }
.role-matrix em { color: var(--cv-text-muted); font-size: 10px; }

.bottom-nav {
  width: min(100%, var(--cv-shell));
  min-height: calc(70px + env(safe-area-inset-bottom));
  padding: 5px 7px env(safe-area-inset-bottom);
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 40;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--cv-text);
  background: rgba(251, 250, 252, .92);
  border-top: 1px solid var(--cv-line);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.bottom-nav.four { grid-template-columns: repeat(4, 1fr); }
.bottom-nav.three { grid-template-columns: repeat(3, 1fr); }
.bottom-nav button { min-width: 0; min-height: 58px; padding: 5px 1px 3px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; color: var(--cv-text-muted); background: transparent; border-radius: 11px; }
.bottom-nav button span { font-size: 9px; font-weight: 620; white-space: nowrap; }
.bottom-nav button.active { color: var(--cv-pink); }
.bottom-nav button.active span { font-weight: 760; }
.toast {
  max-width: calc(100% - 30px);
  min-height: 44px;
  padding: 10px 14px;
  position: absolute;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 80;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: rgba(28, 23, 31, .94);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 99px;
  box-shadow: var(--cv-shadow-float);
  font-size: 12px;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.toast svg { flex: 0 0 auto; color: #ff9dc0; }

@media (max-width: 820px) {
  .prototype-stage { padding: 0; background: var(--cv-bg); }
  .prototype-layout { width: 100%; display: block; }
  .prototype-control { display: none; }
  .device-shell { width: 100%; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .mobile-scenario-bar {
    min-height: calc(54px + env(safe-area-inset-top));
    padding: calc(5px + env(safe-area-inset-top)) 13px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #d8cfdd;
    background: #100c16;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
  }
  .mobile-scenario-bar span { font-weight: 720; letter-spacing: .04em; }
  .mobile-scenario-bar select {
    min-width: 154px;
    min-height: 44px;
    padding: 0 28px 0 10px;
    color: #fff;
    background: #2b2032;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    font-size: 11px;
  }
  .mobile-rolebar {
    min-height: 52px;
    padding: 7px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #fff;
    background: linear-gradient(90deg, #211627, #17121e);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .mobile-rolebar > span { min-width: 0; display: flex; align-items: center; gap: 7px; color: #c8becd; font-size: 11px; }
  .mobile-rolebar b { padding: 4px 7px; color: #fff; background: rgba(255, 126, 182, .2); border-radius: 8px; font-size: 10px; }
  .mobile-rolebar button { min-height: 44px; padding: 0 3px 0 9px; display: flex; align-items: center; gap: 2px; color: #ffb4cf; background: transparent; font-size: 11px; font-weight: 700; }
  .screen { min-height: calc(100dvh - 54px); }
  .bottom-nav { position: fixed; }
  .toast { position: fixed; }
}

@media (max-width: 374px) {
  :root { --cv-inset: 13px; }
  .public-hero, .customer-hero { height: 270px; }
  .public-hero h1, .customer-hero h1 { font-size: 29px; }
  .avatar-row button > span { width: 58px; height: 58px; }
  .people-grid { gap: 8px; }
  .person-card-copy { min-height: 116px; padding: 9px; }
  .people-rail { grid-template-columns: 1fr; }
  .metric-grid article, .admin-metrics button { padding: 9px; }
  .delivery-row, .admin-delivery-row { grid-template-columns: 62px minmax(0, 1fr); padding-right: 70px; }
  .delivery-row .media, .admin-delivery-row .media { width: 62px; height: 62px; }
  .status-pill { padding: 5px 7px; font-size: 10px; }
  .data-boundaries p { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V2.2.1 — restore Spark management, branch membership and honest QR states. */
.customer-utilitybar > div > button:first-child,
.customer-utilitybar > div > .utility-qr {
  width: 44px;
  min-width: 44px;
  grid-template-columns: 1fr;
  gap: 0;
}

.account-card > button {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--cv-pink);
  background: rgba(201, 35, 101, .07);
  border-radius: var(--cv-radius-sm);
  font-size: var(--type-secondary);
  font-weight: 700;
}
.membership-entry {
  width: 100%;
  min-height: 86px;
  margin-top: 10px;
  padding: 11px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  color: var(--cv-text);
  text-align: left;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-lg);
}
.membership-entry > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-purple); background: #f1edff; border-radius: var(--cv-radius-sm); }
.membership-entry small, .membership-entry strong, .membership-entry em { display: block; }
.membership-entry small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 700; }
.membership-entry strong { margin-top: 2px; font-size: var(--type-body); }
.membership-entry em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }

.branch-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.branch-member-grid button { min-width: 0; min-height: 132px; padding: 13px; display: flex; align-items: flex-start; flex-direction: column; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.branch-member-grid button.selected { border-color: rgba(201, 35, 101, .42); background: var(--cv-pink-soft); box-shadow: inset 0 0 0 1px rgba(201, 35, 101, .08); }
.branch-member-grid span, .branch-member-grid b, .branch-member-grid small, .branch-member-grid strong, .branch-member-grid em { display: block; }
.branch-member-grid b { font-size: var(--type-body); }
.branch-member-grid small { margin-top: 2px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.branch-member-grid strong { margin-top: 13px; color: var(--cv-pink); font-size: 1.05rem; }
.branch-member-grid em { margin-top: 4px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.branch-detail { margin-top: 14px; padding: 16px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.branch-detail-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 11px; }
.branch-detail-head > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-purple); background: #f1edff; border-radius: var(--cv-radius-sm); }
.branch-detail-head small { color: var(--cv-purple); font-size: var(--type-caption); font-weight: 700; letter-spacing: .08em; }
.branch-detail-head h2 { margin: 2px 0 0; font-size: var(--type-section); }
.branch-detail-head p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.45; }
.world-tree-path { margin-top: 20px; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); place-items: center; }
.world-tree-path::before { content: ""; height: 3px; position: absolute; left: 8%; right: 8%; top: 50%; transform: translateY(-50%); background: #dfdae2; border-radius: 99px; }
.world-tree-path > span { width: 30px; height: 30px; z-index: 1; display: grid; place-items: center; color: var(--cv-text-muted); background: #ece9ef; border: 3px solid #fff; border-radius: 50%; font-size: var(--type-caption); font-weight: 700; }
.world-tree-path > span.unlocked { color: #fff; background: var(--cv-success); }
.world-tree-path > span.current { color: #fff; background: var(--cv-pink); box-shadow: 0 0 0 4px rgba(201, 35, 101, .13); }
.branch-facts { margin-top: 18px; padding: 0 12px; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.branch-facts p { min-height: 52px; margin: 0; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--cv-line); }
.branch-facts p:last-child { border: 0; }
.branch-facts span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.branch-facts strong { max-width: 65%; text-align: right; font-size: var(--type-secondary); }
.data-note { margin: 13px 2px 0; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.5; }
.tree-node-list { margin-top: 12px; padding: 0 13px; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.tree-node-list p { min-height: 48px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.tree-node-list p:last-child { border: 0; }
.tree-node-list span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.tree-node-list strong { font-size: var(--type-secondary); }

.qr-sheet {
  max-height: min(760px, calc(100dvh - 12px));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.qr-sheet::-webkit-scrollbar { display: none; }
.qr-store-switch { margin-top: 14px; padding: 3px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; background: #ece9ef; border-radius: var(--cv-radius-sm); }
.qr-store-switch button { min-height: 44px; color: var(--cv-text-muted); background: transparent; border-radius: 10px; font-size: var(--type-secondary); font-weight: 700; }
.qr-store-switch button.active { color: #fff; background: var(--cv-pink); }
.qr-code-shell { width: clamp(184px, 56vw, 228px); aspect-ratio: 1; margin: 18px auto 12px; padding: 12px; display: grid; place-items: center; background: linear-gradient(145deg, #faf8fb, #f1edf3); border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.qr-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--cv-text-muted); text-align: center; background: repeating-linear-gradient(135deg, rgba(35,28,40,.025) 0 8px, transparent 8px 16px); border: 1px dashed #c9c2cd; border-radius: var(--cv-radius-md); }
.qr-placeholder > svg { color: var(--cv-pink); }
.qr-placeholder strong { margin-top: 10px; color: var(--cv-text); font-size: var(--type-secondary); }
.qr-placeholder small { margin-top: 3px; font-size: var(--type-caption); }

.admin-add { color: #fff; background: var(--cv-pink); border-color: var(--cv-pink); }
.queue-total, .review-state { min-height: 32px; padding: 6px 10px; display: inline-flex; align-items: center; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 99px; font-size: var(--type-caption); font-weight: 700; }
.review-state.approved { color: var(--cv-success); background: var(--cv-success-soft); }
.review-state.returned { color: var(--cv-danger); background: var(--cv-danger-soft); }
.leave-alert { margin-top: 4px; border-color: rgba(201, 35, 101, .2); background: linear-gradient(145deg, #fff, #fff3f8); }
.leave-alert > span:first-child { color: var(--cv-pink); background: var(--cv-pink-soft); }
.leave-alert b { color: var(--cv-pink); font-size: var(--type-caption); }
.admin-create-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admin-create-grid button { min-width: 0; min-height: 136px; padding: 14px; display: flex; align-items: flex-start; flex-direction: column; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.admin-create-grid button > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: var(--cv-radius-sm); }
.admin-create-grid button:last-child > span { color: var(--cv-purple); background: #f1edff; }
.admin-create-grid strong, .admin-create-grid small { display: block; }
.admin-create-grid strong { margin-top: 11px; font-size: var(--type-secondary); }
.admin-create-grid small { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.4; }
.approval-list { display: grid; gap: 8px; }
.approval-list > button { width: 100%; min-height: 82px; padding: 10px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.approval-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--cv-radius-sm); }
.approval-icon.leave { color: var(--cv-pink); background: var(--cv-pink-soft); }
.approval-icon.expense { color: var(--cv-purple); background: #f1edff; }
.approval-icon.delivery { color: var(--cv-info); background: var(--cv-info-soft); }
.approval-list small, .approval-list strong, .approval-list em { display: block; }
.approval-list small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.approval-list strong { margin-top: 2px; font-size: var(--type-secondary); }
.approval-list em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.approval-list b { color: var(--cv-pink); font-size: var(--type-caption); }
.leave-request-card { padding: 13px; display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 13px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.leave-request-card > span, .leave-request-card .media { width: 72px; height: 72px; border-radius: var(--cv-radius-md); }
.leave-request-card small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 700; }
.leave-request-card h1 { margin: 3px 0 0; font-size: var(--type-section); }
.leave-request-card p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); }
.approval-facts { margin-top: 14px; padding: 0 14px; background: #fff; border-radius: var(--cv-radius-lg); }
.approval-facts p { min-height: 58px; margin: 0; padding: 9px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--cv-line); }
.approval-facts p:last-child { border: 0; }
.approval-facts span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.approval-facts strong { max-width: 68%; text-align: right; font-size: var(--type-secondary); }
.warning-text { color: var(--cv-warning); }
.leave-decision { margin-top: 40px; }

.create-popover { margin-top: 5px; padding: 8px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.create-popover button { min-height: 64px; padding: 9px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 9px; text-align: left; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.create-popover button > svg { width: 38px; height: 38px; padding: 9px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 10px; }
.create-popover strong, .create-popover small { display: block; }
.create-popover strong { font-size: var(--type-secondary); }
.create-popover small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.activity-list { display: grid; gap: 8px; }
.activity-list article { min-height: 78px; padding: 10px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.activity-list article > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: var(--cv-radius-sm); }
.activity-list small, .activity-list strong, .activity-list em { display: block; }
.activity-list small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.activity-list strong { margin-top: 2px; font-size: var(--type-secondary); }
.activity-list em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.admin-editor { margin-top: 4px; padding: 16px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.editor-intro { padding: 14px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 11px; color: #fff; background: linear-gradient(145deg, #211725, #18131f); border-radius: var(--cv-radius-md); }
.editor-intro > svg { width: 48px; height: 48px; padding: 12px; color: #ff9fc2; background: rgba(255,255,255,.08); border-radius: var(--cv-radius-sm); }
.editor-intro.ichiban > svg { color: #d8c8ff; }
.editor-intro small, .editor-intro strong { display: block; }
.editor-intro small { color: #ff9fc2; font-size: var(--type-caption); font-weight: 700; }
.editor-intro strong { margin-top: 2px; font-size: var(--type-secondary); }
.editor-intro p { margin: 4px 0 0; color: #c9bfce; font-size: var(--type-caption); }
.editor-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.editor-checklist { margin-top: 16px; padding: 0 12px; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.editor-checklist p { min-height: 46px; margin: 0; display: flex; align-items: center; gap: 8px; color: var(--cv-text-muted); border-bottom: 1px solid var(--cv-line); font-size: var(--type-caption); }
.editor-checklist p:last-child { border: 0; }
.editor-checklist svg { flex: 0 0 auto; color: var(--cv-pink); }

.admin-member-search { margin-top: 4px; }
.admin-member-card { min-height: 88px; margin-top: 12px; padding: 10px; display: grid; grid-template-columns: 66px minmax(0, 1fr); align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.admin-member-card > span, .admin-member-card .media { width: 66px; height: 66px; border-radius: var(--cv-radius-md); }
.admin-member-card small, .admin-member-card strong, .admin-member-card em { display: block; }
.admin-member-card small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 700; }
.admin-member-card strong { margin-top: 2px; font-size: var(--type-body); }
.admin-member-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.member-admin-tabs { margin-top: 14px; padding: 3px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: #e8e5ea; border-radius: var(--cv-radius-sm); }
.member-admin-tabs button { min-height: 44px; color: var(--cv-text-muted); background: transparent; border-radius: 10px; font-size: var(--type-caption); font-weight: 700; }
.member-admin-tabs button.active { color: var(--cv-text); background: #fff; }
.admin-tree, .member-records, .member-empty { margin-top: 12px; }
.member-search-empty { margin-top: 16px; }
.admin-more-list button > span { display: flex; align-items: center; gap: 10px; }
.admin-more-list button > span > svg { width: 36px; height: 36px; padding: 8px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 10px; }
.more-customer { margin-top: 14px; }

@media (max-width: 374px) {
  .admin-create-grid, .editor-split { grid-template-columns: 1fr; }
  .admin-create-grid button { min-height: 112px; }
  .branch-member-grid { grid-template-columns: 1fr; }
  .branch-member-grid button { min-height: 112px; }
  .approval-list > button { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .activity-list article { grid-template-columns: 42px minmax(0, 1fr); }
  .activity-list .status-pill { grid-column: 2; justify-self: start; }
  .qr-sheet { padding-left: 16px; padding-right: 16px; }
}

/* V2.2 interaction and accessibility completion */
.device-shell .screen small,
.device-shell .screen em { font-size: var(--type-caption); }
.device-shell button { min-height: 44px; }
.brand-topbar .brand-mark { color: #fff; }
.profile-actions.single-primary { grid-template-columns: 1fr; }
.compact-empty { margin-top: 10px; min-height: 128px; }

.session-summary { display: grid; gap: 10px; }
.session-summary p { min-height: 72px; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 2px 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.session-summary p > span { grid-row: 1 / 3; width: 48px; height: 48px; display: grid; place-items: center; align-content: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: var(--cv-radius-sm); }
.session-summary b, .session-summary small, .session-summary strong, .session-summary em { display: block; }
.session-summary b { font-size: 1rem; }
.session-summary strong { font-size: var(--type-secondary); }
.session-summary em { color: var(--cv-text-muted); }

.static-row { cursor: default; }
.static-action { display: flex; align-items: center; justify-content: center; }
.claimed-content { margin-top: 12px; padding: 12px; display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.claimed-content .media { width: 92px; height: 92px; border-radius: var(--cv-radius-md); }
.claimed-content small, .claimed-content strong { display: block; }
.claimed-content small { color: var(--cv-pink); font-weight: 700; }
.claimed-content p { margin: 6px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.45; }

.service-field { margin-top: 12px; display: grid; gap: 6px; color: var(--cv-text-muted); font-size: var(--type-caption); font-weight: 650; }
.service-field input, .service-field select, .service-field textarea { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--cv-text); background: #f6f3f7; border: 1px solid #c9c3cd; border-radius: var(--cv-radius-sm); outline: 0; }
.service-field textarea { min-height: 92px; resize: vertical; }
.service-field input:focus, .service-field select:focus, .service-field textarea:focus { border-color: var(--cv-pink); box-shadow: 0 0 0 3px rgba(201,35,101,.11); }
.file-upload-button { min-height: 48px; margin-top: 14px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--cv-pink); border-radius: 999px; cursor: pointer; font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.record-details { display: grid; gap: 8px; }
.record-details details { padding: 0 14px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.record-details summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 650; }
.record-details details p { margin: 0 0 14px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }
.schedule-list button.selected, .menu-list button.selected { color: var(--cv-pink); background: var(--cv-pink-soft); border-color: rgba(201,35,101,.22); }
.audit-log p { font-variant-numeric: tabular-nums; }
.surface-public .store-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 374px) {
  .session-summary p { grid-template-columns: 44px 1fr; }
  .claimed-content { grid-template-columns: 72px minmax(0, 1fr); }
  .claimed-content .media { width: 72px; height: 72px; }
  .service-metrics { grid-template-columns: 1fr; }
  .surface-public .store-actions { grid-template-columns: 1fr; }
}

@media (forced-colors: active) {
  button, input, select, textarea, .toggle-list, .record-details details { border: 1px solid ButtonText; }
  .bottom-nav button.active, .filter-pills button.active, .segmented button.active { outline: 2px solid Highlight; outline-offset: -2px; }
}

@media (forced-colors: active) {
  button, .status-pill, .role-chip { border: 1px solid ButtonText; }
  .flow-timeline > div > span { border: 1px solid CanvasText; }
}

/* V2.2 foundation: preserve the original customer rhythm, then extend it. */
.customer-utilitybar {
  min-height: 64px;
  padding: 8px 13px 7px 17px;
  position: sticky;
  top: 0;
  z-index: 48;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(12, 9, 17, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  backdrop-filter: blur(22px) saturate(145%);
  flex: 0 0 auto;
}
.device-shell > .mobile-rolebar { flex: 0 0 auto; }
.customer-utilitybar .wordmark { min-height: 44px; color: #f05791; background: transparent; font-size: 22px; font-weight: 850; letter-spacing: -.065em; }
.customer-utilitybar .wordmark span { position: relative; }
.customer-utilitybar .wordmark span::before { content: "✦"; position: absolute; top: -7px; left: 4px; font-size: 7px; }
.customer-utilitybar > div { display: flex; align-items: center; gap: 5px; }
.customer-utilitybar > div > button { width: 44px; min-width: 44px; height: 44px; position: relative; display: grid; place-items: center; color: #f8f3fa; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; }
.customer-utilitybar > div > .utility-qr {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  grid-template: 1fr / 1fr;
  place-items: center;
  gap: 0;
  line-height: 0;
}
.customer-utilitybar button small { color: #ff9fc1; font-size: 9px; font-weight: 780; }
.customer-utilitybar .has-alert i { width: 7px; height: 7px; position: absolute; top: 8px; right: 8px; background: #ff5f9d; border: 2px solid #17101c; border-radius: 50%; }
.surface-customer .device-shell { background: var(--cv-customer-pearl); }
.device-shell { height: min(890px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; }
.device-shell > .screen { min-height: 0; flex: 1 1 auto; overflow-y: auto; scrollbar-width: none; }
.device-shell > .screen::-webkit-scrollbar { display: none; }
.device-shell > .screen:not(.detail-light) { padding-bottom: 24px; }
.device-shell > .bottom-nav { width: 100%; position: relative; left: auto; bottom: auto; flex: 0 0 auto; transform: none; }
.surface-customer .bottom-nav { color: #ddd4e1; background: rgba(17, 13, 22, .97); border-top-color: rgba(255, 255, 255, .08); }
.surface-customer .bottom-nav button { color: #8f8595; }
.surface-customer .bottom-nav button.active { color: #ff6ca4; }
.surface-customer .customer-main-canvas { background: var(--cv-customer-canvas); }
.v2-home { color: var(--cv-text); background: var(--cv-customer-canvas); }
.v2-home.padded-screen { padding-top: 10px; }
.v2-home .customer-hero { height: 318px; box-shadow: 0 20px 48px rgba(0, 0, 0, .3); }
.v2-home .customer-hero > span { background: linear-gradient(180deg, rgba(8, 6, 12, .03), rgba(8, 6, 12, .12) 35%, rgba(8, 6, 12, .95)); }
.v2-home .customer-hero button { box-shadow: 0 10px 24px rgba(201, 35, 101, .28); }
.v2-people { margin-top: 25px; }
.v2-home .section-title h2 { color: #fff; }
.v2-home .section-title p { color: #aea4b5; }
.v2-home .section-title > button { color: #ff91ba; }
.v2-home .avatar-row button { color: #fff; }
.v2-home .avatar-row small { color: #a99fac; }
.v2-home .avatar-row .media { border-color: #15111c; }
.v2-home .avatar-row button > span > i { border-color: #15111c; }
.v2-actions { margin-top: 24px; padding: 15px 8px 13px; background: #18131f; border: 1px solid rgba(255, 255, 255, .075); border-radius: 21px; }
.v2-actions button { color: #fff; }
.v2-actions button > span { color: #ff9fc2; background: #2a1d2b; border: 1px solid rgba(255, 135, 183, .13); }
.v2-actions small { color: #e1d8e4; }
.v2-home .customer-next { margin: 13px 0 0; background: linear-gradient(135deg, #281b2b, #17121e); border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; }
.v2-home .personal-card { color: #fff; background: #191420; border: 1px solid rgba(255, 255, 255, .075); box-shadow: none; }
.v2-home .personal-card em { color: #aaa0af; }
.v2-followed { padding-bottom: 8px; }

.profile-actions .following { color: #d7fff0; background: rgba(30, 126, 88, .22); border-color: rgba(104, 225, 176, .22); }
.profile-links { display: grid; gap: 8px; }
.profile-links button { min-height: 70px; padding: 9px 10px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 10px; color: #fff; text-align: left; background: #251d31; border-radius: 15px; }
.profile-links button > svg:first-child { width: 42px; height: 42px; padding: 10px; color: #ff9dc0; background: rgba(255, 126, 182, .11); border-radius: 12px; }
.profile-links strong, .profile-links small { display: block; }
.profile-links small { margin-top: 3px; color: #bcb2c4; font-size: 11px; }
.customer-utilitybar + .profile-screen .page-header { top: 76px; }

.explore-filters { grid-template-columns: repeat(4, 1fr); }
.event-list-card { width: 100%; min-height: 96px; padding: 9px; display: grid; grid-template-columns: 78px minmax(0, 1fr) 22px; align-items: center; gap: 11px; text-align: left; background: #fff; border-radius: 18px; box-shadow: var(--cv-shadow-card); }
.event-list-card .media { width: 78px; height: 78px; border-radius: 14px; }
.event-list-card small, .event-list-card strong, .event-list-card em { display: block; }
.event-list-card small { color: var(--cv-pink); font-size: 10px; font-weight: 720; }
.event-list-card strong { margin-top: 2px; font-size: 15px; }
.event-list-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.explore-event-stack { display: grid; gap: 14px; }
.explore-event-card {
  width: 100%;
  min-width: 0;
  padding: 8px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 0 8px;
  overflow: hidden;
  text-align: left;
  background: #fff;
  border: 1px solid var(--cv-candy-line, var(--cv-line));
  border-radius: 22px;
  box-shadow: var(--cv-shadow-card);
}
.event-card-visual {
  aspect-ratio: 3 / 2;
  position: relative;
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  background: #17101f;
  border-radius: 16px;
}
.event-card-visual > .media { width: 100%; height: 100%; }
.event-card-visual > b {
  min-height: 28px;
  padding: 5px 9px;
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  color: #fff;
  background: rgba(23, 14, 28, .76);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 740;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.event-card-copy { min-width: 0; min-height: 80px; padding: 10px 5px 7px; display: flex; flex-direction: column; justify-content: center; }
.event-card-copy small, .event-card-copy strong, .event-card-copy em { display: block; }
.event-card-copy small { color: var(--cv-pink); font-size: 11px; font-weight: 740; }
.event-card-copy strong { margin-top: 2px; font-size: 16px; line-height: 1.28; }
.event-card-copy em { margin-top: 4px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.4; }
.event-card-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 50%; }
.world-card-stack { display: grid; gap: 14px; }
.world-image-card {
  width: 100%;
  min-width: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 0 8px;
  overflow: hidden;
  color: var(--cv-text);
  text-align: left;
  background: #fff;
  border: 1px solid var(--cv-candy-line, var(--cv-line));
  border-radius: 22px;
  box-shadow: var(--cv-shadow-card);
}
.world-card-visual {
  aspect-ratio: 3 / 2;
  position: relative;
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  background: #17101f;
  border-radius: 16px;
}
.world-card-visual > .media { width: 100%; height: 100%; }
.world-card-visual > b {
  min-height: 28px;
  padding: 5px 9px;
  position: absolute;
  left: 9px;
  bottom: 9px;
  display: flex;
  align-items: center;
  color: #fff;
  background: rgba(23, 14, 28, .76);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 740;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.world-image-card[data-world-kind="店舖"] .world-card-visual > b { background: rgba(65, 47, 119, .78); }
.world-card-copy { min-width: 0; min-height: 80px; padding: 10px 5px 7px; display: flex; flex-direction: column; justify-content: center; }
.world-card-copy small, .world-card-copy strong, .world-card-copy em { display: block; }
.world-card-copy small { color: var(--cv-pink); font-size: 11px; font-weight: 740; letter-spacing: .06em; }
.world-card-copy strong { margin-top: 2px; font-size: 16px; line-height: 1.28; }
.world-card-copy em { margin-top: 4px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.4; }
.world-card-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 50%; }
.shop-categories { margin: 15px -2px 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.shop-categories::-webkit-scrollbar { display: none; }
.shop-categories button { min-height: 40px; padding: 0 13px; flex: 0 0 auto; color: #655d69; background: #ece9ef; border-radius: 99px; font-size: 11px; font-weight: 680; }
.shop-categories button:first-child, .shop-categories button.active { color: #fff; background: var(--cv-pink); }
.coupon-stack { display: grid; gap: 8px; }
.coupon-stack button { min-height: 72px; padding: 10px; display: grid; grid-template-columns: 42px minmax(0, 1fr) 20px; align-items: center; gap: 10px; text-align: left; background: #fff; border: 1px dashed rgba(201, 35, 101, .26); border-radius: 16px; }
.coupon-stack button > svg:first-child { width: 42px; height: 42px; padding: 10px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 12px; }
.coupon-stack strong, .coupon-stack small { display: block; }
.coupon-stack small { margin-top: 2px; color: var(--cv-text-muted); font-size: 11px; }
.benefit-stack { display: grid; gap: 9px; }
.benefit-card { width: 100%; min-height: 82px; padding: 11px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.benefit-card > span:first-child { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 14px; }
.benefit-card small, .benefit-card strong, .benefit-card em { display: block; }
.benefit-card small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 720; }
.benefit-card strong { margin-top: 2px; font-size: var(--type-secondary); }
.benefit-card em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.4; }
.benefit-card b { min-height: 28px; padding: 5px 9px; display: inline-flex; align-items: center; color: var(--cv-success); background: var(--cv-success-soft); border-radius: 999px; font-size: var(--type-caption); white-space: nowrap; }
.benefit-rule-note { min-height: 72px; margin-top: 12px; padding: 12px; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 9px; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 15px; }
.benefit-rule-note > svg { margin-top: 1px; }
.benefit-rule-note p { margin: 0; }
.benefit-rule-note strong, .benefit-rule-note span { display: block; }
.benefit-rule-note strong { font-size: var(--type-secondary); }
.benefit-rule-note span { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }

.workspace-cards { display: grid; gap: 8px; }
.workspace-cards article, .workspace-cards > button { min-height: 80px; padding: 10px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 11px; text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.workspace-cards > button > span:first-child, .workspace-cards article > span { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 14px; }
.workspace-cards > button:nth-child(3) > span:first-child { color: var(--cv-purple); background: #f1edff; }
.workspace-cards small, .workspace-cards strong, .workspace-cards em { display: block; }
.workspace-cards small { color: var(--cv-pink); font-size: 9px; font-weight: 730; letter-spacing: .05em; }
.workspace-cards strong { margin-top: 2px; font-size: 14px; }
.workspace-cards em, .workspace-cards p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: 11px; }
.workspace-cards article b { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--cv-success); border-radius: 50%; }
.workspace-rule-note {
  margin-top: 10px;
  padding: 12px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--cv-text);
  background: #f1edf6;
  border: 1px solid rgba(133,102,213,.16);
  border-radius: var(--cv-radius-md);
}
.workspace-rule-note > svg { width: 38px; height: 38px; padding: 9px; color: var(--cv-purple); background: #fff; border-radius: 11px; }
.workspace-rule-note p { margin: 0; }
.workspace-rule-note strong, .workspace-rule-note span { display: block; }
.workspace-rule-note strong { font-size: var(--type-secondary); }
.workspace-rule-note span { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }
.employee-access-note { margin-top: 16px; }
.workspace-switch-list { display: grid; gap: 8px; }
.workspace-switch-list .switch-customer { margin-top: 0; }
.switch-admin > span:first-child { color: var(--cv-purple); background: #f1edff; }
.workbench-section { margin-top: 18px; }
.workbench-rule { margin-top: 18px; }
.recruit-entry, .switch-customer { width: 100%; min-height: 82px; padding: 10px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px; align-items: center; gap: 11px; text-align: left; background: linear-gradient(145deg, #211725, #18131f); border-radius: 18px; }
.recruit-entry { color: #fff; }
.recruit-entry > span:first-child, .switch-customer > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #ff9fc2; background: rgba(255, 255, 255, .08); border-radius: 14px; }
.recruit-entry small, .recruit-entry strong, .recruit-entry em, .switch-customer small, .switch-customer strong { display: block; }
.recruit-entry small { color: #ff9fc2; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.recruit-entry strong, .switch-customer strong { margin-top: 2px; font-size: 14px; }
.recruit-entry em { margin-top: 3px; color: #bfb4c5; font-size: 11px; }
.switch-customer { color: var(--cv-text); background: #fff; border: 1px solid var(--cv-line); box-shadow: var(--cv-shadow-card); }
.switch-customer > span:first-child { color: var(--cv-pink); background: var(--cv-pink-soft); }
.switch-customer small { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }

.commerce-detail { position: relative; padding-bottom: calc(94px + env(safe-area-inset-bottom)); background: #f7f6f9; }
.commerce-detail > .page-header { min-height: 60px; padding: 8px 13px; align-items: center; background: #fff; border-bottom: 1px solid var(--cv-line); }
.commerce-detail .page-title { font-size: 15px; }
.commerce-hero { height: 330px; position: relative; overflow: hidden; color: #fff; background: #0d0b16; }
.commerce-hero > .media { position: absolute; inset: 0; }
.commerce-hero > span { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 22%, rgba(10, 7, 13, .93)); }
.commerce-hero > div { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 2; }
.commerce-hero small { color: #ff9fc2; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.commerce-hero h1 { margin: 4px 0 2px; font-size: 32px; letter-spacing: -.055em; }
.commerce-hero p { margin: 0; color: #ddd4e1; font-size: 12px; }
.commerce-body { padding: 18px 17px 28px; display: grid; gap: 24px; }
.commerce-hero .media-event-dnt > img, .commerce-hero .media-event-off > img { object-fit: contain; background: #120d1a; }
.event-fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.event-fact-grid > div { min-height: 64px; padding: 11px 12px; display: flex; justify-content: center; flex-direction: column; background: #fff; border: 1px solid var(--cv-line); border-radius: 15px; }
.event-fact-grid > div:first-child { grid-column: auto; }
.event-fact-grid small, .event-fact-grid strong { display: block; }
.event-fact-grid small { color: var(--cv-text-muted); font-size: 10px; }
.event-fact-grid strong { margin-top: 3px; font-size: 13px; line-height: 1.35; }
.event-fact-grid > .preorder-period { grid-column: 1 / -1; min-height: 112px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.preorder-period > small { grid-column: 1 / -1; }
.preorder-period > span { min-width: 0; padding-left: 10px; display: grid; gap: 2px; border-left: 2px solid rgba(201, 35, 101, .22); }
.preorder-period > span em { color: var(--cv-text-muted); font-size: var(--type-caption); font-style: normal; }
.preorder-period > span strong { overflow-wrap: anywhere; }
.event-introduction { padding: 16px; background: #fff; border: 1px solid var(--cv-line); border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.event-introduction .section-title { min-height: 0; margin-bottom: 8px; }
.event-introduction > p { margin: 0; color: var(--cv-text-muted); font-size: 13px; line-height: 1.65; }
.event-pending-note { color: var(--cv-pink); background: var(--cv-pink-soft); }
.detail-summary { min-height: 70px; padding: 12px; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 11px; background: #fff; border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.detail-summary > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 13px; }
.detail-summary strong { font-size: 14px; }
.detail-summary p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: 11px; }
.mini-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mini-people button { min-width: 0; padding: 8px 7px 10px; background: #fff; border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.mini-people .media { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.mini-people strong, .mini-people small { display: block; }
.mini-people strong { margin-top: 6px; font-size: 12px; }
.mini-people small { color: var(--cv-text-muted); font-size: 10px; }
.ticket-options { display: grid; gap: 8px; }
.ticket-option { width: 100%; min-height: 88px; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 10px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: 15px; }
.ticket-option.selected { border-color: rgba(201, 35, 101, .4); box-shadow: inset 0 0 0 1px rgba(201, 35, 101, .1); }
.ticket-option b, .ticket-option small, .ticket-option em { display: block; }
.ticket-option small { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.ticket-option em { margin-top: 6px; color: var(--cv-info); font-size: 10px; font-style: normal; font-weight: 700; }
.ticket-option > strong { color: var(--cv-pink); font-size: 13px; }
.ticket-option i { width: 22px; height: 22px; display: grid; place-items: center; color: #fff; border: 1px solid #cfc8d2; border-radius: 50%; }
.ticket-option.selected i { background: var(--cv-pink); border-color: var(--cv-pink); }
.ticket-introduction { padding: 15px; display: grid; gap: 13px; background: #fff; border: 1px solid var(--cv-line); border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.ticket-introduction > header { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; }
.ticket-introduction > header > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; }
.ticket-introduction header small, .ticket-introduction header h2 { display: block; }
.ticket-introduction header small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.ticket-introduction header h2 { margin: 2px 0 0; font-size: var(--type-card-title); }
.ticket-introduction > div { padding-top: 12px; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 8px; border-top: 1px solid var(--cv-line); color: var(--cv-info); }
.ticket-introduction > div span { min-width: 0; }
.ticket-introduction > div small, .ticket-introduction > div strong { display: block; }
.ticket-introduction > div small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.ticket-introduction > div strong { margin-top: 2px; color: var(--cv-text); font-size: var(--type-secondary); }
.detail-note { padding: 12px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 15px; }
.detail-note p { margin: 0; }
.detail-note strong, .detail-note small { display: block; }
.detail-note small { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.sticky-purchase { min-height: calc(76px + env(safe-area-inset-bottom)); padding: 9px 13px calc(9px + env(safe-area-inset-bottom)); position: absolute; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255, 255, 255, .95); border-top: 1px solid var(--cv-line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.sticky-purchase span small, .sticky-purchase span strong { display: block; }
.sticky-purchase span small { color: var(--cv-text-muted); font-size: 10px; }
.sticky-purchase span strong { font-size: 17px; }
.sticky-purchase button { min-height: 48px; padding: 0 21px; color: #fff; background: var(--cv-pink); border-radius: 99px; font-size: 13px; font-weight: 740; }
.product-hero { aspect-ratio: 1; background: #eee9f0; }
.product-hero .media { width: 100%; height: 100%; }
.product-title small { color: var(--cv-pink); font-size: 10px; font-weight: 720; }
.product-title h1 { margin: 3px 0 2px; font-size: 29px; letter-spacing: -.045em; }
.product-title > strong { color: var(--cv-pink); font-size: 19px; }
.product-title p { margin: 9px 0 0; color: var(--cv-text-muted); font-size: 12px; line-height: 1.6; }
.related-person { min-height: 78px; padding: 8px; display: grid; grid-template-columns: 58px minmax(0, 1fr) 22px; align-items: center; gap: 10px; text-align: left; background: #fff; border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.related-person .media { width: 58px; height: 58px; border-radius: 13px; }
.related-person small, .related-person strong, .related-person em { display: block; }
.related-person small { color: var(--cv-pink); font-size: 9px; font-weight: 730; }
.related-person strong { margin-top: 2px; font-size: 14px; }
.related-person em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.product-facts { display: grid; gap: 1px; overflow: hidden; background: #fff; border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.product-facts > div { min-height: 64px; padding: 9px 12px; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; border-bottom: 1px solid var(--cv-line); }
.product-facts > div:last-child { border-bottom: 0; }
.product-facts > div > svg { width: 36px; height: 36px; padding: 8px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; }
.product-facts strong, .product-facts small { display: block; }
.product-facts small { margin-top: 2px; color: var(--cv-text-muted); font-size: 11px; }

.checkout-screen .page-header { align-items: center; }
.checkout-item { min-height: 88px; padding: 12px; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; background: #fff; border-radius: 18px; box-shadow: var(--cv-shadow-card); }
.checkout-item > span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 14px; }
.checkout-item small, .checkout-item strong, .checkout-item em { display: block; }
.checkout-item small { color: var(--cv-text-muted); font-size: 10px; }
.checkout-item strong { margin-top: 2px; font-size: 14px; }
.checkout-item em { margin-top: 3px; color: var(--cv-pink); font-size: 13px; font-weight: 720; }
.checkout-group { margin-top: 22px; }
.checkout-group h2 { margin: 0 0 8px; font-size: 16px; }
.checkout-group button { width: 100%; min-height: 68px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; text-align: left; background: #fff; border-radius: 15px; box-shadow: var(--cv-shadow-card); }
.checkout-group strong, .checkout-group small { display: block; }
.checkout-group small { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.price-breakdown { margin-top: 22px; padding: 13px; background: #fff; border-radius: 16px; }
.price-breakdown p { margin: 0; padding: 6px 0; display: flex; justify-content: space-between; color: var(--cv-text-muted); font-size: 12px; }
.price-breakdown p:last-child { margin-top: 5px; padding-top: 11px; color: var(--cv-text); border-top: 1px solid var(--cv-line); font-size: 15px; }
.consent-row { margin: 16px 2px 0; display: flex; align-items: flex-start; gap: 8px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.45; }
.consent-row input { margin-top: 2px; accent-color: var(--cv-pink); }
.safe-demo { margin: 8px 0 0; color: var(--cv-text-muted); font-size: 10px; text-align: center; }

.store-banner { min-height: 178px; padding: 22px; display: flex; align-items: flex-end; gap: 13px; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(255, 104, 170, .27), transparent 42%), linear-gradient(145deg, #1b1322, #0e0b14); border-radius: 26px; }
.store-banner > svg { width: 48px; height: 48px; padding: 12px; color: #ff9fc2; background: rgba(255, 255, 255, .08); border-radius: 15px; }
.store-banner small { color: #ff9fc2; font-size: 9px; font-weight: 730; letter-spacing: .1em; }
.store-banner h1 { margin: 3px 0 1px; font-size: 24px; }
.store-banner p { margin: 0; color: #c9becd; font-size: 11px; }
.store-actions { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.store-actions button { min-width: 0; min-height: 62px; padding: 7px 3px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--cv-pink); background: #fff; border-radius: 15px; box-shadow: var(--cv-shadow-card); font-size: 10px; font-weight: 690; }
.account-context, .application-status { padding: 15px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; background: linear-gradient(145deg, #211725, #18131f); border-radius: 19px; }
.account-context { color: #fff; }
.account-context > svg, .application-status > span { width: 48px; height: 48px; padding: 12px; color: #ff9fc2; background: rgba(255, 255, 255, .08); border-radius: 14px; }
.account-context small, .account-context strong { display: block; }
.account-context small { color: #ff9fc2; font-size: 9px; font-weight: 730; letter-spacing: .08em; }
.account-context strong { margin-top: 4px; font-size: 13px; line-height: 1.4; }
.application-status { color: var(--cv-text); background: #fff; border: 1px solid var(--cv-line); box-shadow: var(--cv-shadow-card); }
.application-status > span { display: grid; place-items: center; padding: 0; color: var(--cv-purple); background: #f1edff; }
.application-status small, .application-status strong { display: block; }
.application-status small { color: var(--cv-purple); font-size: 9px; font-weight: 730; letter-spacing: .06em; }
.application-status strong { margin-top: 3px; font-size: 14px; }
.application-status p { margin: 5px 0 0; color: var(--cv-text-muted); font-size: 11px; line-height: 1.5; }
.job-list { display: grid; gap: 8px; }
.job-list button { min-height: 80px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; text-align: left; background: #fff; border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.job-list small, .job-list strong, .job-list em { display: block; }
.job-list small { color: var(--cv-pink); font-size: 10px; font-weight: 700; }
.job-list strong { margin-top: 2px; font-size: 14px; }
.job-list em { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.job-list b { color: var(--cv-pink); font-size: 11px; }
.recruit-principles { margin-top: 22px; padding: 16px; background: #fff; border-radius: 18px; box-shadow: var(--cv-shadow-card); }
.recruit-principles h2 { margin: 0 0 11px; font-size: 16px; }
.recruit-principles p { margin: 8px 0 0; display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 9px; color: var(--cv-text-muted); font-size: 11px; }
.recruit-principles p span { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; background: var(--cv-pink); border-radius: 50%; font-weight: 730; }
.job-hero { padding: 22px 20px; color: #fff; background: radial-gradient(circle at 88% 2%, rgba(255, 105, 171, .27), transparent 42%), linear-gradient(145deg, #221627, #100c16); border-radius: 24px; }
.job-hero small { color: #ff9fc2; font-size: 9px; font-weight: 730; letter-spacing: .08em; }
.job-hero h1 { margin: 5px 0 7px; font-size: 25px; line-height: 1.15; letter-spacing: -.045em; }
.job-hero p { margin: 0; color: #cfc5d3; font-size: 12px; line-height: 1.55; }
.job-facts { display: grid; gap: 1px; overflow: hidden; background: #fff; border-radius: 17px; box-shadow: var(--cv-shadow-card); }
.job-facts p { min-height: 68px; margin: 0; padding: 9px 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; border-bottom: 1px solid var(--cv-line); }
.job-facts p:last-child { border-bottom: 0; }
.job-facts p > svg { width: 38px; height: 38px; padding: 9px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; }
.job-facts strong, .job-facts small { display: block; }
.job-facts strong { font-size: 13px; }
.job-facts small { margin-top: 3px; color: var(--cv-text-muted); font-size: 11px; }
.application-form { margin-top: 20px; padding: 15px; background: #fff; border-radius: 19px; box-shadow: var(--cv-shadow-card); }
.application-form > label { margin-top: 13px; display: block; }
.application-form > label > span:first-child { display: block; margin-bottom: 5px; color: var(--cv-text-muted); font-size: 11px; font-weight: 650; }
.application-form label > button, .application-form label > input, .application-form label > textarea { width: 100%; min-height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; color: var(--cv-text); text-align: left; background: #f1eef3; border: 1px solid transparent; border-radius: 13px; font-size: 12px; }
.application-form label > input, .application-form label > textarea { display: block; outline: 0; }
.application-form label > textarea { min-height: 100px; padding-top: 11px; resize: vertical; }
.application-form .privacy-check { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: flex-start; gap: 7px; color: var(--cv-text-muted); font-size: 10px; line-height: 1.45; }
.application-form .privacy-check input { margin-top: 2px; accent-color: var(--cv-pink); }
.application-form .primary-action { margin-top: 16px; }

.service-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.service-metrics article { min-height: 80px; padding: 11px; background: #fff; border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.service-metrics small, .service-metrics strong { display: block; }
.service-metrics small { color: var(--cv-text-muted); font-size: 10px; }
.service-metrics strong { margin-top: 7px; font-size: 19px; }
.service-form { margin-top: 20px; padding: 15px; background: #fff; border-radius: 18px; box-shadow: var(--cv-shadow-card); }
.service-form h2 { margin: 0 0 10px; font-size: 16px; }
.service-form > p { color: var(--cv-text-muted); font-size: 12px; line-height: 1.55; }
.service-form > button:not(.primary-action) { width: 100%; min-height: 60px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; text-align: left; background: #f3f0f4; border-radius: 13px; }
.service-form > button + button { margin-top: 7px; }
.service-form button small, .service-form button strong { display: block; }
.service-form button small { color: var(--cv-text-muted); font-size: 10px; }
.service-form button strong { margin-top: 2px; font-size: 13px; }
.upload-expense { padding: 28px 18px; color: var(--cv-text); text-align: center; background: #fff; border: 1px dashed rgba(201, 35, 101, .32); border-radius: 20px; box-shadow: var(--cv-shadow-card); }
.upload-expense > svg { width: 50px; height: 50px; padding: 13px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 16px; }
.upload-expense h2 { margin: 10px 0 3px; font-size: 17px; }
.upload-expense p { margin: 0; color: var(--cv-text-muted); font-size: 11px; }
.upload-expense button { min-height: 42px; margin-top: 14px; padding: 0 16px; color: #fff; background: var(--cv-pink); border-radius: 99px; font-size: 11px; font-weight: 700; }
.hours-card { padding: 18px; color: #fff; background: linear-gradient(145deg, #211725, #18131f); border-radius: 20px; }
.hours-card > small, .hours-card > strong { display: block; }
.hours-card > small { color: #c7bdcb; font-size: 11px; }
.hours-card > strong { margin-top: 5px; font-size: 31px; }
.hours-card > strong em { color: #bdb3c1; font-size: 11px; font-weight: 600; }
.hours-card > div { height: 7px; margin-top: 13px; overflow: hidden; background: rgba(255, 255, 255, .12); border-radius: 99px; }
.hours-card > div span { height: 100%; display: block; background: linear-gradient(90deg, #f35994, #9a79e6); border-radius: inherit; }
.hours-card p { margin: 7px 0 0; color: #a99fab; font-size: 10px; }

.sheet-backdrop { position: absolute; inset: 0; z-index: 100; display: flex; align-items: flex-end; background: rgba(9, 7, 12, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qr-sheet { width: 100%; padding: 9px 20px calc(22px + env(safe-area-inset-bottom)); color: var(--cv-text); background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -25px 70px rgba(8, 5, 12, .25); }
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 14px; background: #d9d4dc; border-radius: 99px; }
.qr-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.qr-sheet-head small { color: var(--cv-pink); font-size: 9px; font-weight: 740; letter-spacing: .12em; }
.qr-sheet-head h2 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.04em; }
.qr-tabs { margin-top: 14px; padding: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: #ece9ef; border-radius: 13px; }
.qr-tabs button { min-width: 0; min-height: 40px; padding: 0 3px; color: var(--cv-text-muted); background: transparent; border-radius: 10px; font-size: 11px; font-weight: 680; letter-spacing: -.02em; white-space: nowrap; }
.qr-tabs button.active { color: #fff; background: var(--cv-pink); box-shadow: 0 4px 10px rgba(201, 35, 101, .2); }
.qr-code { width: 218px; height: 218px; margin: 20px auto 10px; padding: 17px; display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(9, 1fr); gap: 2px; background: #fff; border: 1px solid #ddd8e0; border-radius: 18px; box-shadow: 0 12px 34px rgba(29, 20, 36, .1); }
.qr-code i { border-radius: 1px; }
.qr-code i.on { background: #17121c; }
.qr-sheet > strong, .qr-sheet > p { display: block; text-align: center; }
.qr-sheet > strong { font-size: 13px; letter-spacing: .08em; }
.qr-sheet > p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: 11px; }
.qr-sheet > aside { min-height: 48px; margin-top: 16px; padding: 10px 11px; display: flex; align-items: center; gap: 8px; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 13px; font-size: 10px; line-height: 1.4; }
.qr-empty-state { min-height: 230px; margin-top: 18px; padding: 28px 18px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; background: linear-gradient(145deg, #faf8fb, #f1edf3); border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.qr-empty-state > span { width: 58px; height: 58px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 18px; }
.qr-empty-state strong { margin-top: 14px; font-size: var(--type-body); }
.qr-empty-state p { max-width: 270px; margin: 6px 0 0; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.5; }

@media (max-width: 820px) {
  .device-shell { height: 100dvh; }
  .customer-utilitybar { min-height: 62px; padding-top: 7px; }
  .customer-utilitybar + .profile-screen .page-header { top: 76px; }
  .sheet-backdrop { position: fixed; }
  .sticky-purchase { position: fixed; }
}

@media (max-width: 374px) {
  .v2-home .customer-hero { height: 285px; }
  .v2-actions { padding-left: 3px; padding-right: 3px; }
  .v2-actions small { font-size: 10px; }
  .commerce-hero { height: 294px; }
  .qr-code { width: 200px; height: 200px; }
}

/* V2.2 — Quiet Cute × Stage Glow */
:root {
  --type-page: 1.75rem;
  --type-section: 1.25rem;
  --type-body: 1rem;
  --type-secondary: .875rem;
  --type-caption: .75rem;
  --cv-text-subtle: #746c7a;
  --cv-radius-sm: 12px;
  --cv-radius-md: 12px;
  --cv-radius-lg: 20px;
  --cv-radius-xl: 28px;
  --cv-shadow-card: 0 5px 18px rgba(34, 22, 42, .055);
}

html, body { min-width: 0; max-width: 100%; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-size: var(--type-body); }
button, input, textarea, select { font-size: inherit; }
button, a, label, input, textarea, select { touch-action: manipulation; }
p, small, strong, span, em, b, h1, h2, h3 { overflow-wrap: anywhere; }

.brand-mark { min-width: 0; display: inline-flex; align-items: center; color: inherit; white-space: nowrap; }
.brand-logo-ink {
  width: 136px;
  height: 68px;
  display: block;
  background: currentColor;
  filter: drop-shadow(0 0 .45px currentColor);
  -webkit-mask: url("/media/cutiverse-logo-official.svg") left center / contain no-repeat;
  mask: url("/media/cutiverse-logo-official.svg") left center / contain no-repeat;
}
.brand-mark.compact .brand-logo-ink { width: 136px; height: 68px; }
.prototype-brand > .brand-mark { width: 112px; height: auto; padding: 0; justify-content: flex-start; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

.device-shell { overflow-x: clip; }
.device-shell > .screen { overflow-x: clip; }
.quiet-screen { color-scheme: light; background: var(--cv-screen-bg, #f8f7fa); }
.padded-screen { padding: 18px var(--cv-inset) calc(100px + env(safe-area-inset-bottom)); }
.page-header { min-height: 64px; align-items: center; }
.page-header small { font-size: var(--type-caption); }
.page-header h1, .page-header .page-title { font-size: var(--type-page); font-weight: 700; letter-spacing: -.045em; }
.section-title { min-height: 52px; }
.section-title h2 { font-size: var(--type-section); font-weight: 700; }
.section-title p, .section-title > button { font-size: var(--type-secondary); }
.content-section { margin-top: 28px; }

.customer-utilitybar { min-height: 68px; padding: 2px 12px 2px 16px; }
.customer-utilitybar .wordmark { width: auto; min-height: 64px; display: inline-flex; align-items: center; color: #2f2135; background: transparent; }
.customer-utilitybar .wordmark span::before { content: none; }
.customer-utilitybar .wordmark .brand-logo-ink { width: 136px; height: 68px; }
.customer-utilitybar button small { font-size: var(--type-caption); }

.v2-home.padded-screen { padding-top: 10px; }
.v2-home .customer-hero { height: auto; min-height: 282px; border-radius: var(--cv-radius-xl); }
.v2-home .customer-hero > div { padding-bottom: 2px; }
.v2-home .customer-hero h1 { font-size: 2rem; }
.v2-home .customer-hero p { max-width: 22rem; font-size: var(--type-secondary); }
.v2-home .customer-hero button { min-height: 48px; font-size: var(--type-secondary); }
.v2-people { margin-top: 22px; }
.avatar-row { gap: 6px; }
.avatar-row button > span { width: min(16vw, 64px); height: min(16vw, 64px); }
.avatar-row strong { font-size: var(--type-secondary); }
.avatar-row small { font-size: var(--type-caption); }
.v2-actions { margin-top: 20px; padding: 12px 6px; border-radius: var(--cv-radius-lg); }
.v2-actions button { min-height: 78px; }
.v2-actions button > span { width: 48px; height: 48px; border-radius: var(--cv-radius-sm); }
.v2-actions small { font-size: var(--type-caption); }
.customer-next small, .customer-next em, .personal-card small, .personal-card em { font-size: var(--type-caption); }
.customer-next strong, .personal-card strong { font-size: var(--type-body); }
.empty-follow { grid-template-columns: 48px minmax(0, 1fr) 22px; }
.empty-follow > span:first-child { width: 48px; height: 48px; display: grid; place-items: center; color: #ff9fc2; background: rgba(255,255,255,.08); border-radius: var(--cv-radius-sm); }

.input-search { cursor: text; }
.input-search input { width: 100%; min-width: 0; padding: 0; color: var(--cv-text); background: transparent; border: 0; outline: 0; font-size: var(--type-secondary); }
.filter-pills, .segmented { min-height: 52px; }
.filter-pills button, .segmented button { min-height: 44px; font-size: var(--type-caption); }
.people-rail button, .event-list-card, .portal-grid button, .product-grid button, .workspace-cards article, .workspace-cards > button { box-shadow: none; border: 1px solid var(--cv-line); }
.people-rail small, .people-rail em, .event-list-card small, .event-list-card em, .portal-grid small, .product-grid small { font-size: var(--type-caption); }
.people-rail strong, .event-list-card strong, .portal-grid strong, .product-grid strong, .product-grid b { font-size: var(--type-secondary); }
.shop-categories button { min-height: 44px; font-size: var(--type-caption); }
.support-card { min-height: 260px; }
.support-card h2 { font-size: 1.5rem; }
.support-card p { font-size: var(--type-secondary); }
.support-card b, .campaign-bar { display: none; }
.coupon-stack small, .pass-row small, .pass-row em, .delivery-row small, .delivery-row em { font-size: var(--type-caption); }
.coupon-stack strong, .pass-row strong, .delivery-row strong { font-size: var(--type-secondary); }
.order-list { display: grid; gap: 10px; }

.profile-hero { height: auto; min-height: 390px; }
.profile-hero h1 { font-size: 2rem; }
.profile-hero p, .profile-section > p, .profile-links small, .appearance-card small { font-size: var(--type-secondary); }
.profile-facts small { font-size: var(--type-caption); }
.profile-actions { grid-template-columns: minmax(108px, .7fr) 1.3fr; }
.profile-actions button { min-height: 50px; font-size: var(--type-secondary); }
.profile-links button { border-radius: var(--cv-radius-sm); }

.commerce-hero { height: auto; min-height: 292px; }
.commerce-hero h1 { font-size: 2rem; }
.commerce-hero p, .commerce-hero small { font-size: var(--type-secondary); }
.commerce-body { padding: 20px 17px 18px; gap: 28px; }
.session-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.session-grid button { min-height: 50px; padding: 8px 10px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--cv-text); background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-sm); font-size: var(--type-secondary); font-weight: 600; }
.session-grid button.selected { color: var(--cv-pink); border-color: rgba(201,35,101,.45); background: var(--cv-pink-soft); }
.eligibility-note { margin: 9px 0 0; color: var(--cv-text-muted); font-size: var(--type-caption); }
.quantity-stepper { display: grid; grid-template-columns: 48px 54px 48px minmax(0,1fr); align-items: center; gap: 8px; }
.quantity-stepper button { width: 48px; min-height: 48px; color: var(--cv-pink); background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-sm); font-size: 1.25rem; }
.quantity-stepper button:disabled { color: #aaa3ae; background: #efedf1; }
.quantity-stepper strong { text-align: center; font-size: 1.125rem; }
.quantity-stepper span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.ticket-option small, .detail-note small, .mini-people small, .sticky-purchase span small, .product-title small, .product-title p, .related-person small, .related-person em { font-size: var(--type-caption); }
.ticket-option > strong, .sticky-purchase button { font-size: var(--type-secondary); }
.sticky-purchase { position: sticky !important; bottom: 0; min-height: calc(78px + env(safe-area-inset-bottom)); }
.product-title h1 { font-size: var(--type-page); }
.product-title > strong { font-size: 1.2rem; }
.checkout-setting { min-height: 64px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-sm); }
.checkout-setting strong, .checkout-setting small { display: block; }
.checkout-setting small { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.checkout-setting > span:last-child { color: var(--cv-success); font-size: var(--type-caption); font-weight: 600; }
.coupon-checkout .checkout-setting { box-shadow: none; }
.coupon-checkout .checkout-setting.applied { border-color: rgba(36, 143, 92, .28); background: var(--cv-success-soft); }
.coupon-picker { margin-top: 8px; padding: 8px; background: #ece9ef; border-radius: 15px; }
.coupon-picker > button:first-child { min-height: 72px; padding: 10px 11px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid transparent; border-radius: 12px; box-shadow: none; }
.coupon-picker > button:first-child.selected { border-color: rgba(36, 143, 92, .28); }
.coupon-picker small, .coupon-picker strong, .coupon-picker em { display: block; }
.coupon-picker small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 700; }
.coupon-picker strong { margin-top: 2px; font-size: var(--type-secondary); }
.coupon-picker em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.coupon-picker b { min-height: 30px; padding: 6px 10px; display: inline-flex; align-items: center; color: #fff; background: var(--cv-pink); border-radius: 999px; font-size: var(--type-caption); white-space: nowrap; }
.coupon-picker .coupon-remove { min-height: 42px; margin-top: 5px; justify-content: center; color: var(--cv-danger); background: transparent; box-shadow: none; font-size: var(--type-caption); }
.price-breakdown .discount-line { color: var(--cv-success); }
.primary-action:disabled { color: #8c8590; background: #e4e1e6; box-shadow: none; }
.consent-row { min-height: 48px; align-items: center; }
.consent-row span { font-size: var(--type-secondary); }

.booking-panel, .inline-help, .application-preview, .application-done, .account-cards article, .account-readonly, .account-form { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.booking-panel > p, .inline-help p, .application-done p { color: var(--cv-text-muted); font-size: var(--type-secondary); }
.store-actions button { min-height: 70px; font-size: var(--type-caption); }
.store-actions button.active { color: var(--cv-success); background: var(--cv-success-soft); }
.account-cards { display: grid; gap: 10px; }
.account-cards article small, .account-cards article strong { display: block; }
.account-cards article small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.account-cards article strong { margin-top: 3px; font-size: var(--type-body); }
.account-cards article p { margin: 6px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); }
.account-cards .disabled-card { background: #f0eef2; }
.account-readonly p { margin: 0; padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--cv-line); }
.account-readonly p:last-child { border: 0; }
.account-readonly span { color: var(--cv-text-muted); }
.account-form { display: grid; gap: 12px; }
.account-form label { display: grid; gap: 5px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.account-form input, .application-form select { width: 100%; min-height: 48px; padding: 0 12px; color: var(--cv-text); background: #f4f1f5; border: 1px solid #c9c3cd; border-radius: var(--cv-radius-sm); }
.toggle-list { overflow: hidden; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.toggle-list label { min-height: 68px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--cv-line); }
.toggle-list label:last-child { border: 0; }
.toggle-list strong, .toggle-list small { display: block; }
.toggle-list small { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.toggle-list input { width: 44px; height: 26px; accent-color: var(--cv-pink); }

.application-form label > input, .application-form label > textarea, .application-form label > select { font-size: var(--type-secondary); }
.application-form .privacy-check { min-height: 48px; font-size: var(--type-caption); }
.application-preview > p { margin: 0; padding: 12px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.application-preview > p span { color: var(--cv-text-muted); }
.application-done { margin-top: 60px; text-align: center; }
.application-done > span { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; color: #fff; background: var(--cv-success); border-radius: 50%; }
.application-done h1 { font-size: var(--type-page); }
.privacy-details { margin-top: 18px; padding: 0 14px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-sm); }
.privacy-details summary { min-height: 48px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
.privacy-details p { color: var(--cv-text-muted); font-size: var(--type-secondary); }
.order-status-card { min-height: 110px; padding: 16px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; background: var(--cv-success-soft); border-radius: var(--cv-radius-lg); }
.order-status-card > span { width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--cv-success); border-radius: 50%; }
.order-status-card small, .order-status-card strong { display: block; }
.order-status-card p { margin: 5px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); }
.order-facts { margin-top: 18px; padding: 0 14px; background: #fff; border-radius: var(--cv-radius-lg); }
.order-facts p { min-height: 52px; margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.order-facts p:last-child { border: 0; }
.order-facts span { color: var(--cv-text-muted); }

.sheet-done { min-width: 58px; min-height: 44px; color: var(--cv-pink); background: transparent; font-weight: 700; }
.qr-tabs button { min-height: 44px; font-size: var(--type-caption); }
.qr-sheet > p, .qr-sheet > aside { font-size: var(--type-caption); }

.bottom-nav { min-height: calc(72px + env(safe-area-inset-bottom)); }
.bottom-nav button { min-height: 60px; }
.bottom-nav button span { font-size: var(--type-caption); }
.surface-customer .bottom-nav.quiet,
.surface-customer .bottom-nav.stage { color: #ddd4e1; background: rgba(17,13,22,.97); border-top-color: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%); }
.surface-customer .bottom-nav.quiet button,
.surface-customer .bottom-nav.stage button { color: #8f8595; }
.surface-customer .bottom-nav.quiet button.active,
.surface-customer .bottom-nav.stage button.active { color: #ff6ca4; }

@media (max-width: 820px) {
  input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: 16px !important; }
  .customer-utilitybar {
    min-height: 76px;
    padding: 4px 14px;
  }
  .customer-utilitybar + .profile-screen .page-header { top: 76px; }
}

@media (max-width: 740px) {
  .prototype-stage { padding: 0; }
  .device-shell { height: 100dvh; border-radius: 0; }
  .sticky-purchase { position: sticky !important; }
}

@media (max-width: 374px) {
  .v2-home .customer-hero { height: auto; min-height: 270px; }
  .v2-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .v2-actions button { min-height: 72px; }
  .people-rail { grid-template-columns: 1fr; }
  .workspace-cards article, .workspace-cards > button, .recruit-entry, .switch-customer { grid-template-columns: 44px minmax(0,1fr) 18px; }
  .segmented { grid-template-columns: repeat(2, 1fr); }
  .mini-people { grid-template-columns: repeat(2, 1fr); }
  .store-actions { grid-template-columns: 1fr; }
  .quantity-stepper { grid-template-columns: 48px 48px 48px; }
  .quantity-stepper span { grid-column: 1 / -1; }
  .sticky-purchase { align-items: stretch; flex-direction: column; }
  .sticky-purchase button { width: 100%; }
}

@media (min-width: 741px) and (max-height: 820px) {
  .device-shell { height: calc(100dvh - 48px); }
}

/* V2.2 management tool completion */
.search-field:focus-within {
  outline: 3px solid rgba(22, 118, 169, .48);
  outline-offset: 2px;
}
.search-field.input-search > button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cv-text-muted);
  background: transparent;
  border-radius: 12px;
}
.screen h1:focus { outline: none; }

.message-summary {
  margin-top: 4px;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, #fff, #fff3f8);
  border: 1px solid rgba(201,35,101,.16);
  border-radius: var(--cv-radius-lg);
}
.message-summary > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
  border-radius: var(--cv-radius-sm);
}
.message-summary strong { font-size: var(--type-body); }
.message-summary p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }
.customer-message-list { margin-top: 14px; display: grid; gap: 8px; }
.customer-message-list article { overflow: hidden; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.customer-message-list article.unread { border-color: rgba(201,35,101,.24); }
.customer-message-list article > button { width: 100%; min-height: 76px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--cv-text); text-align: left; background: transparent; }
.customer-message-list article > button > span { min-width: 0; position: relative; }
.customer-message-list article > button i { width: 7px; height: 7px; position: absolute; top: 5px; left: -1px; background: var(--cv-pink); border-radius: 50%; }
.customer-message-list small, .customer-message-list strong { display: block; }
.customer-message-list small { padding-left: 12px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.customer-message-list strong { margin-top: 3px; font-size: var(--type-secondary); }
.customer-message-list article > p { margin: 0; padding: 0 12px 14px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }

.admin-quick-menu {
  margin: 4px 0 12px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-lg);
  box-shadow: var(--cv-shadow-card);
}
.admin-quick-menu button {
  min-width: 0;
  min-height: 72px;
  padding: 9px;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  gap: 9px;
  color: var(--cv-text);
  text-align: left;
  background: #f7f5f8;
  border-radius: var(--cv-radius-sm);
}
.admin-quick-menu button > svg { width: 38px; height: 38px; padding: 9px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 10px; }
.admin-quick-menu strong, .admin-quick-menu small { display: block; }
.admin-quick-menu strong { font-size: var(--type-secondary); }
.admin-quick-menu small { margin-top: 2px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.3; }
.delivery-scope-note {
  margin-top: 4px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  color: var(--cv-info);
  background: var(--cv-info-soft);
  border: 1px solid rgba(46, 112, 171, .14);
  border-radius: var(--cv-radius-lg);
}
.delivery-scope-note > svg { width: 38px; height: 38px; padding: 9px; background: rgba(255,255,255,.72); border-radius: 11px; }
.delivery-scope-note strong, .delivery-scope-note span { display: block; }
.delivery-scope-note strong { color: var(--cv-text); font-size: var(--type-secondary); }
.delivery-scope-note span { margin-top: 2px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }
.delivery-source-tabs { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.customer-delivery-tabs { margin-top: 14px; }
.company-delivery-scope { margin-top: 18px; }
.compact-gate { margin-top: 8px; padding: 18px 16px; }
.compact-gate > span { width: 52px; height: 52px; }
.compact-gate h2 { margin-top: 7px; font-size: var(--type-section); }
.compact-gate p { max-width: 31rem; margin-left: auto; margin-right: auto; }
.delivery-principles { margin-top: 12px; }
.admin-create-grid.four-tools button:nth-child(3) > span { color: var(--cv-purple); background: #f1edff; }
.admin-create-grid.four-tools button:nth-child(4) > span { color: var(--cv-info); background: var(--cv-info-soft); }

.admin-tool-search { margin-top: 4px; }
.admin-tool-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.tool-results { min-height: 22px; margin: 7px 2px 0; color: var(--cv-text-muted); font-size: var(--type-caption); }
.tool-group { margin-top: 18px; }
.tool-group .section-title { min-height: auto; }
.admin-tool-grid { display: grid; gap: 8px; }
.admin-tool-grid > button {
  width: 100%;
  min-height: 78px;
  padding: 10px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: var(--cv-text);
  text-align: left;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-md);
}
.admin-tool-grid > button > span:nth-child(2) { min-width: 0; }
.tool-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: var(--cv-radius-sm); }
.admin-tool-grid strong, .admin-tool-grid small { display: block; }
.admin-tool-grid strong { font-size: var(--type-secondary); }
.admin-tool-grid small { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.35; }
.tool-state {
  min-height: 30px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-info);
  background: var(--cv-info-soft);
  border-radius: 999px;
  font-size: var(--type-caption);
  font-weight: 700;
  white-space: nowrap;
}
.tool-state.planning { color: var(--cv-warning); background: var(--cv-warning-soft); }
.tool-state.unverified { color: var(--cv-info); background: var(--cv-info-soft); }
.tool-empty { margin-top: 24px; }
.platform-tools { margin-top: 24px; }
.admin-tool-grid > button:focus-visible,
.admin-more-list button:focus-visible,
.customer-message-list button:focus-visible,
.bottom-nav button:focus-visible { outline-offset: -3px; }

.admin-tool-detail .page-header { margin-bottom: 4px; }
.tool-intro {
  min-height: 82px;
  padding: 13px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-lg);
}
.tool-intro > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: var(--cv-radius-sm); }
.tool-intro strong { display: block; font-size: var(--type-body); }
.tool-intro p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }
.prototype-boundary {
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--cv-info);
  background: var(--cv-info-soft);
  border-radius: var(--cv-radius-sm);
}
.prototype-boundary svg { flex: 0 0 auto; margin-top: 2px; }
.prototype-boundary p { margin: 0; font-size: var(--type-caption); line-height: 1.45; }
.system-entry-card {
  margin-top: 14px;
  padding: 20px 17px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: var(--cv-radius-lg);
  box-shadow: var(--cv-shadow-card);
}
.system-entry-card > span { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 20px; }
.system-entry-card > small { margin-top: 13px; display: block; color: var(--cv-pink); font-size: var(--type-caption); font-weight: 760; letter-spacing: .08em; }
.system-entry-card h2 { margin: 4px 0 0; font-size: var(--type-section); }
.system-entry-card > p { margin: 7px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.55; }
.system-entry-card > div { margin-top: 15px; padding: 12px; text-align: left; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.system-entry-card > div strong, .system-entry-card > div em { display: block; }
.system-entry-card > div strong { font-size: var(--type-secondary); }
.system-entry-card > div em { margin-top: 4px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.5; }
.system-entry-card aside { margin-top: 12px; padding: 10px; display: flex; align-items: flex-start; gap: 7px; color: var(--cv-warning); text-align: left; background: var(--cv-warning-soft); border-radius: var(--cv-radius-sm); font-size: var(--type-caption); line-height: 1.45; }
.system-entry-card aside svg { flex: 0 0 auto; margin-top: 1px; }
.member-mode { margin-top: 12px; }
.member-search-preview { margin-top: 10px; padding: 15px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.member-search-preview small, .member-search-preview strong { display: block; }
.member-search-preview small { color: var(--cv-pink); font-size: var(--type-caption); font-weight: 720; }
.member-search-preview strong { margin-top: 4px; font-size: var(--type-body); }
.member-search-preview p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: var(--type-caption); }
.member-search-preview button { min-height: 44px; margin-top: 9px; color: var(--cv-pink); background: transparent; font-size: var(--type-caption); font-weight: 720; }
.tool-tabs, .tool-store-switch { margin-top: 14px; }
.tool-store-switch { grid-template-columns: repeat(2, 1fr); }
.tool-form { margin-top: 14px; padding: 15px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.tool-review-list { margin-top: 12px; padding: 0 12px; background: #f7f5f8; border-radius: var(--cv-radius-sm); }
.tool-review-list p { min-height: 50px; margin: 0; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--cv-line); }
.tool-review-list p:last-child { border: 0; }
.tool-review-list span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.tool-review-list strong { max-width: 66%; text-align: right; overflow-wrap: anywhere; font-size: var(--type-secondary); }
.compact-done { margin-top: 28px; }
.tool-record-list { display: grid; gap: 8px; }
.tool-record-list > button { width: 100%; min-height: 76px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.tool-record-list > button > span { min-width: 0; }
.tool-record-list small, .tool-record-list strong, .tool-record-list em { display: block; }
.tool-record-list small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.tool-record-list strong { margin-top: 2px; font-size: var(--type-secondary); }
.tool-record-list em { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.35; }
.tool-record-list > .tool-review-list, .tool-record-list > .inline-help, .tool-record-list > .review-actions { margin-top: 0; }
.decision-approved { color: var(--cv-success); background: var(--cv-success-soft); }
.decision-returned { color: var(--cv-danger); background: var(--cv-danger-soft); }
.tool-metric-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.tool-metric-grid.three-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
.tool-metric-grid article { min-width: 0; min-height: 100px; padding: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.tool-metric-grid small, .tool-metric-grid strong, .tool-metric-grid em { display: block; }
.tool-metric-grid small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.tool-metric-grid strong { margin-top: 5px; color: var(--cv-pink); font-size: 1.25rem; line-height: 1.1; overflow-wrap: anywhere; }
.tool-metric-grid em { margin-top: 9px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.analytics-bars { padding: 14px; display: grid; gap: 13px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.analytics-bars > div > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.analytics-bars strong, .analytics-bars small { font-size: var(--type-caption); }
.analytics-bars small { color: var(--cv-text-muted); }
.analytics-bars i { height: 8px; margin-top: 6px; display: block; overflow: hidden; background: #eeeaf0; border-radius: 999px; }
.analytics-bars b { height: 100%; display: block; background: linear-gradient(90deg, var(--cv-pink), var(--cv-purple)); border-radius: inherit; }
.alias-list { overflow: hidden; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.alias-list label { min-height: 70px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 46%); align-items: center; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.alias-list label:last-child { border: 0; }
.alias-list strong, .alias-list small { display: block; }
.alias-list small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.alias-list input { width: 100%; min-height: 44px; padding: 0 10px; color: var(--cv-text); background: #f6f3f7; border: 1px solid #c9c3cd; border-radius: var(--cv-radius-sm); }
.tool-event-list { overflow: hidden; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.tool-event-list p { min-height: 58px; margin: 0; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.tool-event-list p:last-child { border: 0; }
.tool-event-list p > span { display: flex; align-items: center; gap: 9px; }
.tool-event-list svg { color: var(--cv-pink); }
.tool-event-list b, .tool-event-list strong { font-size: var(--type-secondary); }
.scan-panel { margin-top: 14px; padding: 18px; text-align: center; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.scan-panel > span { width: 76px; height: 76px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 24px; }
.scan-panel > span.valid { color: var(--cv-success); background: var(--cv-success-soft); }
.scan-panel > span.invalid { color: var(--cv-danger); background: var(--cv-danger-soft); }
.scan-panel h2 { margin: 14px 0 0; font-size: var(--type-section); }
.scan-panel > p { margin: 5px auto 0; max-width: 310px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }
.scan-panel .service-field { text-align: left; }
.planning-card { margin-top: 14px; padding: 22px 18px; text-align: center; background: linear-gradient(145deg, #fff, #f5f1ff); border: 1px solid rgba(133,102,213,.2); border-radius: var(--cv-radius-lg); }
.planning-card > span { width: 60px; height: 60px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-purple); background: #eee8ff; border-radius: 20px; }
.planning-card > small { margin-top: 12px; display: block; color: var(--cv-purple); font-size: var(--type-caption); font-weight: 750; letter-spacing: .08em; }
.planning-card h2 { margin: 4px 0 0; font-size: var(--type-section); }
.planning-card p { margin: 7px 0 0; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }

@media (max-width: 374px) {
  .brand-mark.compact .brand-logo { width: 128px; max-height: 64px; }
  .customer-utilitybar .wordmark .brand-logo { width: 128px; max-height: 64px; }
  .admin-create-grid.four-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-create-grid.four-tools button { min-height: 102px; padding: 11px; }
  .admin-create-grid.four-tools button > span { width: 40px; height: 40px; }
  .admin-tool-grid > button { grid-template-columns: 44px minmax(0,1fr); min-height: 82px; }
  .admin-tool-grid .tool-state { grid-column: 2; justify-self: start; }
  .tool-icon { width: 44px; height: 44px; }
  .review-actions, .dual-actions { grid-template-columns: 1fr; }
  .status-pill { font-size: var(--type-caption); }
  .tool-metric-grid.three-metrics { grid-template-columns: 1fr; }
  .tool-metric-grid.three-metrics article { min-height: 82px; }
  .alias-list label { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Stable customer shell on every route. */
.surface-customer {
  --cv-customer-pearl: #fff8fb;
  --cv-customer-canvas:
    radial-gradient(circle at 92% 1%, rgba(232, 90, 152, .13), transparent 27%),
    radial-gradient(circle at 7% 16%, rgba(103, 194, 224, .09), transparent 24%),
    linear-gradient(180deg, #f9eef5 0, #fff9fc 174px, #fff8fb 100%);
  --cv-text: #342f35;
  --cv-text-muted: #6f6870;
  --cv-text-subtle: #706776;
  --cv-pink: #b4235a;
  --cv-pink-soft: #fce8f1;
  --cv-candy-pink: #e85a98;
  --cv-candy-blue: #eaf8fd;
  --cv-candy-mint: #eaf8f3;
  --cv-candy-line: #f0d8e4;
  --cv-line: rgba(113, 62, 85, .14);
  --cv-shadow-card: 0 8px 24px rgba(55, 35, 52, .07);
}
.surface-customer .customer-utilitybar {
  min-height: 68px;
  padding: 2px 12px 2px 16px;
  color: #2f2135;
  background: rgba(255, 250, 252, .94);
  border-bottom-color: var(--cv-line);
  box-shadow: 0 5px 18px rgba(55, 35, 52, .07);
}
.surface-customer .customer-utilitybar > div > button {
  color: #4b4051;
  background: rgba(255, 255, 255, .78);
  border-color: var(--cv-line);
}
.surface-customer .customer-utilitybar .sign-in-chip {
  width: auto;
  min-width: 68px;
  padding: 0 16px;
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
  border-color: rgba(180, 35, 90, .16);
  border-radius: 999px;
  font-weight: 720;
}
.surface-customer .customer-utilitybar .has-alert i { border-color: #fffafc; }
.surface-customer .device-shell > .customer-main-canvas { background: var(--cv-customer-canvas); }
.surface-customer .device-shell > .screen.padded-screen { padding-bottom: 24px; }
.device-shell > .screen.padded-screen.detail-light { padding-bottom: 24px; }
.device-shell > .screen.commerce-detail { padding-bottom: 0; }
.device-shell > .screen.commerce-detail .sticky-purchase {
  min-height: 78px;
  padding-bottom: 9px;
}

/* V2.10: one indexable customer entrance, candy editorial light shell, and local night stages. */
.surface-customer .device-shell > .customer-main-canvas {
  color: var(--cv-text);
  background: var(--cv-customer-canvas);
}
.surface-customer .device-shell { background: var(--cv-customer-pearl); }
.surface-customer .bottom-nav.quiet,
.surface-customer .bottom-nav.stage {
  min-height: calc(64px + env(safe-area-inset-bottom));
  padding: 3px 6px env(safe-area-inset-bottom);
  color: var(--cv-text);
  background: rgba(255, 250, 252, .95);
  border-top-color: var(--cv-line);
  box-shadow: 0 -4px 16px rgba(42, 31, 48, .06);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}
.surface-customer .bottom-nav.quiet button,
.surface-customer .bottom-nav.stage button {
  min-height: 56px;
  color: #675d6d;
}
.surface-customer .bottom-nav.quiet button.active,
.surface-customer .bottom-nav.stage button.active {
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
}
.surface-customer .v2-home .customer-hero {
  min-height: 244px;
  height: 244px;
  background: #141019;
  box-shadow: 0 16px 40px rgba(20, 12, 24, .2);
}
.surface-customer .v2-home .customer-hero > span {
  background: linear-gradient(180deg, rgba(20, 16, 25, .04) 20%, rgba(20, 16, 25, .42) 58%, rgba(20, 16, 25, .96));
}
.surface-customer .v2-home .home-priority {
  margin-top: 14px;
  color: var(--cv-text);
  background: #fff;
  border: 1px solid var(--cv-line);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .v2-home .home-priority.ready { background: var(--cv-success-soft); }
.surface-customer .v2-home .home-priority > span:first-child {
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
}
.surface-customer .v2-home .home-priority small { color: var(--cv-text-muted); }
.surface-customer .v2-home .home-priority em { color: var(--cv-pink); }
.surface-customer .v2-home .home-priority.ready em { color: var(--cv-success); }
.surface-customer .home-worlds .portal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.surface-customer .v2-home .section-title h2 { color: var(--cv-text); }
.surface-customer .v2-home .section-title p { color: var(--cv-text-muted); }
.surface-customer .v2-home .section-title > button { color: var(--cv-pink); }
.surface-customer .v2-home .avatar-row button { color: var(--cv-text); }
.surface-customer .v2-home .avatar-row small { color: var(--cv-text-muted); }
.surface-customer .v2-home .avatar-row .media { border-color: #fff; }
.surface-customer .v2-home .avatar-row button > span > i { border-color: #fff; }
.surface-customer .v2-actions {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(69, 56, 87, .1);
  box-shadow: var(--cv-shadow-card);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}
.surface-customer .v2-actions button { color: var(--cv-text); }
.surface-customer .v2-actions button > span {
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
  border-color: rgba(201, 35, 101, .12);
}
.surface-customer .v2-actions small { color: var(--cv-text-muted); }
.surface-customer .v2-home .personal-card {
  color: var(--cv-text);
  background: rgba(255, 255, 255, .88);
  border-color: rgba(69, 56, 87, .1);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .v2-home .personal-card em { color: var(--cv-text-muted); }
.surface-customer .empty-follow > span:first-child {
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
}

.surface-customer .support-card {
  height: 184px;
  min-height: 184px;
  background: #141019;
  box-shadow: 0 16px 40px rgba(20, 12, 24, .18);
}
.surface-customer .support-card > div { width: 72%; bottom: 15px; }
.surface-customer .support-card h2 { font-size: 1.25rem; }
.surface-customer .support-card p { max-width: 210px; }
.surface-customer .commerce-hero { height: 252px; min-height: 252px; background: #141019; }

.surface-customer .profile-screen {
  position: relative;
  color: var(--cv-text);
  background: var(--cv-customer-canvas);
}
.surface-customer .profile-screen .page-header { top: 0; }
.surface-customer .profile-hero { height: 320px; min-height: 320px; color: #fff; background: #141019; }
.surface-customer .profile-hero > span { background: linear-gradient(180deg, rgba(20,16,25,.04), rgba(20,16,25,.34) 48%, rgba(20,16,25,.96)); }
.surface-customer .profile-actions button {
  color: var(--cv-pink);
  background: #fff;
  border-color: var(--cv-line);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .profile-actions button:last-child { color: #fff; background: var(--cv-pink); border-color: var(--cv-pink); }
.surface-customer .profile-actions .following { color: var(--cv-success); background: var(--cv-success-soft); border-color: rgba(22,123,85,.2); }
.surface-customer .profile-facts { border-color: var(--cv-line); }
.surface-customer .profile-facts small,
.surface-customer .profile-section > p,
.surface-customer .profile-section .section-title p { color: var(--cv-text-muted); }
.surface-customer .profile-section { border-color: var(--cv-line); }
.surface-customer .appearance-card,
.surface-customer .profile-links button {
  color: var(--cv-text);
  background: #fff;
  border: 1px solid var(--cv-line);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .appearance-card > span:first-child,
.surface-customer .profile-links button > svg:first-child { color: var(--cv-pink); background: var(--cv-pink-soft); }
.surface-customer .appearance-card small,
.surface-customer .profile-links small { color: var(--cv-text-muted); }
.surface-customer .person-detail-grid,
.surface-customer .person-detail-grid > div,
.surface-customer .person-attendance-list,
.surface-customer .person-attendance-list > button { border-color: var(--cv-line); }
.surface-customer .person-detail-grid dt,
.surface-customer .person-attendance-list > button > span small,
.surface-customer .person-attendance-list > button > svg { color: var(--cv-text-muted); }
.surface-customer .person-social-links a { color: #fff; background: var(--cv-pink); border-color: var(--cv-pink); box-shadow: var(--cv-shadow-card); }
.surface-customer .person-attendance-list > button { color: var(--cv-text); }
.surface-customer .person-attendance-list time { color: var(--cv-pink); }
.surface-customer .person-attendance-list time strong,
.surface-customer .person-attendance-empty strong { color: var(--cv-text); }
.surface-customer .person-attendance-empty > svg { color: var(--cv-pink); background: var(--cv-pink-soft); }

.surface-customer .account-context {
  color: var(--cv-text);
  background: #fff;
  border: 1px solid var(--cv-line);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .account-context > svg { color: var(--cv-purple); background: #f1edff; }
.surface-customer .account-context small { color: var(--cv-purple); }

.customer-state-switch { margin-top: 18px; }
.prototype-brand .brand-logo-ink { width: 112px; height: 56px; }
.customer-state-switch > small { display: block; margin-bottom: 8px; color: #bdb3c6; font-size: 11px; font-weight: 720; letter-spacing: .08em; }
.customer-state-switch > div { padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(255,255,255,.05); border-radius: 13px; }
.customer-state-switch button { min-height: 40px; color: #cfc5d4; background: transparent; border-radius: 10px; font-size: 11px; font-weight: 700; }
.customer-state-switch button.active { color: #fff; background: rgba(201,35,101,.34); }
.customer-state-switch p { margin: 7px 2px 0; color: #a99faf; font-size: 10px; line-height: 1.4; }

.account-gate {
  margin-top: 54px;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--cv-line);
  border-radius: 24px;
  box-shadow: var(--cv-shadow-card);
}
.account-gate > span { width: 56px; height: 56px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 18px; }
.account-gate > small { margin-top: 14px; display: block; color: var(--cv-pink); font-size: 10px; font-weight: 760; letter-spacing: .09em; }
.account-gate h2 { margin: 5px 0 0; font-size: 1.25rem; letter-spacing: -.035em; }
.account-gate p { margin: 8px auto 0; max-width: 300px; color: var(--cv-text-muted); font-size: 13px; line-height: 1.55; }
.account-gate .primary-action { min-height: 52px; margin-top: 20px; }
.purchase-context { min-height: 86px; padding: 12px; display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: 18px; box-shadow: var(--cv-shadow-card); }
.purchase-context > span { width: 48px; height: 48px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 14px; }
.purchase-context small, .purchase-context strong { display: block; }
.purchase-context small { color: var(--cv-text-muted); font-size: 11px; }
.purchase-context p { margin: 3px 0 0; color: var(--cv-text-muted); font-size: 11px; }
.purchase-context + .account-gate { margin-top: 14px; }

/* V2.10 prototype-only store tokens. Replace with registered brand assets later. */
.device-shell[data-store-theme="MELO"] > .screen {
  --store-primary: #b3415b;
  --store-primary-strong: #7e293e;
  --store-accent: #f28c6d;
  --store-wash: #fff1f4;
  --store-wash-strong: #fbe0e7;
  --store-ink: #3d2430;
  --store-muted: #6c5d65;
  --store-line: #e8b8c8;
  --store-hero-from: #351520;
  --store-hero-to: #1b1018;
  --store-hero-glow: rgba(242, 140, 109, .34);
}
.device-shell[data-store-theme="IRIS"] > .screen {
  --store-primary: #4b59b6;
  --store-primary-strong: #343a86;
  --store-accent: #8b76d9;
  --store-wash: #f1f2ff;
  --store-wash-strong: #e4e7ff;
  --store-ink: #282944;
  --store-muted: #5f6276;
  --store-line: #c9cded;
  --store-hero-from: #202244;
  --store-hero-to: #121427;
  --store-hero-glow: rgba(139, 118, 217, .38);
}
.device-shell[data-store-theme] > .screen {
  color: var(--store-ink);
  background: linear-gradient(180deg, var(--store-wash) 0, var(--cv-customer-pearl) 245px);
}
.device-shell[data-store-theme] > .screen .store-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, var(--store-hero-glow), transparent 43%),
    linear-gradient(145deg, var(--store-hero-from), var(--store-hero-to));
  box-shadow: 0 20px 48px color-mix(in srgb, var(--store-primary) 18%, transparent);
}
.device-shell[data-store-theme] > .screen .store-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .72;
}
.device-shell[data-store-theme="MELO"] > .screen .store-banner::before {
  background:
    radial-gradient(circle at 81% 28%, rgba(255, 225, 213, .2) 0 7%, transparent 7.5%),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, .13) 0 4%, transparent 4.5%),
    radial-gradient(circle at 91% 54%, rgba(242, 140, 109, .18) 0 12%, transparent 12.5%);
}
.device-shell[data-store-theme="IRIS"] > .screen .store-banner::before {
  background:
    radial-gradient(ellipse at 82% 24%, transparent 0 20%, rgba(199, 204, 255, .2) 20.5% 21.5%, transparent 22%),
    radial-gradient(ellipse at 89% 33%, transparent 0 34%, rgba(139, 118, 217, .18) 34.5% 35.5%, transparent 36%);
}
.device-shell[data-store-theme] > .screen .store-banner::after {
  content: "主題原型";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.device-shell[data-store-theme] > .screen .store-banner > svg {
  color: #fff;
  background: color-mix(in srgb, var(--store-primary) 72%, transparent);
}
.device-shell[data-store-theme] > .screen .store-banner small {
  color: color-mix(in srgb, var(--store-accent) 66%, #fff);
  font-size: 11px;
}
.device-shell[data-store-theme] > .screen .store-banner p { font-size: 12px; }
.device-shell[data-store-theme] > .screen .store-actions button {
  color: var(--store-primary);
  background: rgba(255, 255, 255, .9);
  border: 1px solid color-mix(in srgb, var(--store-line) 68%, transparent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--store-primary) 10%, transparent);
}
.device-shell[data-store-theme] > .screen .store-actions button.active,
.device-shell[data-store-theme] > .screen .session-grid button.selected {
  color: #fff;
  background: var(--store-primary);
  border-color: var(--store-primary);
}
.device-shell[data-store-theme] > .screen .section-title > button,
.device-shell[data-store-theme] > .screen .mini-people small,
.device-shell[data-store-theme] > .screen .event-list-card small { color: var(--store-primary); }
.device-shell[data-store-theme] > .screen .booking-panel {
  background: color-mix(in srgb, var(--store-wash-strong) 72%, #fff);
  border-color: var(--store-line);
}

.store-portal[data-store-theme="MELO"] {
  --store-primary: #b3415b;
  --store-wash: #fff1f4;
  --store-line: #e8b8c8;
}
.store-portal[data-store-theme="IRIS"] {
  --store-primary: #4b59b6;
  --store-wash: #f1f2ff;
  --store-line: #c9cded;
}
.portal-grid .store-portal {
  background: linear-gradient(135deg, #fff 28%, var(--store-wash));
  border-color: var(--store-line);
}
.portal-grid .store-portal > svg {
  color: var(--store-primary);
  background: var(--store-wash);
}
.portal-grid .store-portal strong { color: var(--store-primary); }

/* V2.10: account-scoped workspace access and a restrained candy-editorial layer. */
.header-workspace-action {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--cv-pink);
  background: var(--cv-pink-soft);
  border: 1px solid rgba(180, 35, 90, .14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.workspace-cards .workspace-admin-entry {
  background: linear-gradient(135deg, #fff 15%, #fff0f6);
  border-color: rgba(180, 35, 90, .24);
  box-shadow: 0 10px 26px rgba(180, 35, 90, .10);
}
.workspace-cards .workspace-admin-entry > span:first-child { color: #fff; background: linear-gradient(145deg, var(--cv-pink), #d85b91); }
.surface-customer .v2-home .section-title h2::before {
  content: "✦";
  margin-right: 6px;
  color: var(--cv-candy-pink);
  font-size: .7em;
  vertical-align: .12em;
}
.surface-customer .people-rail button,
.surface-customer .event-list-card,
.surface-customer .portal-grid button,
.surface-customer .product-grid button,
.surface-customer .benefit-card,
.surface-customer .membership-entry,
.surface-customer .workspace-cards article,
.surface-customer .workspace-cards > button {
  border-color: var(--cv-candy-line);
  box-shadow: var(--cv-shadow-card);
}
.surface-customer button { transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.surface-customer button:active:not(:disabled) { transform: scale(.985); }

@media (max-width: 374px) {
  .device-shell[data-store-theme] > .screen .store-banner {
    min-height: 190px;
    padding: 20px 17px;
  }
  .device-shell[data-store-theme] > .screen .store-banner::after {
    top: 11px;
    right: 11px;
  }
  .surface-customer .v2-home .customer-hero { height: 224px; min-height: 224px; }
  .surface-customer .support-card { height: 172px; min-height: 172px; }
  .surface-customer .profile-hero { height: 300px; min-height: 300px; }
  .surface-customer .store-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .surface-customer .store-actions button { min-height: 56px; padding-inline: 2px; font-size: 9px; }
  .surface-customer .branch-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .surface-customer .branch-member-grid button { min-height: 110px; padding: 10px; }
  .surface-customer .branch-member-grid strong { margin-top: 8px; }
  .surface-customer .bottom-nav button span { font-size: 10px; }
  .surface-customer .customer-utilitybar .wordmark .brand-logo-ink { width: 124px; height: 62px; }
  .account-gate { margin-top: 34px; padding-inline: 16px; }
}

/* V2.11: real character imagery with a portrait-first browsing hierarchy. */
.media-person-mirai {
  background:
    radial-gradient(circle at 72% 22%, rgba(121, 205, 232, .28), transparent 34%),
    linear-gradient(150deg, #21152d, #121421 72%);
}
.media-person-mirai > img {
  width: auto;
  height: 240%;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  filter: saturate(.98) contrast(1.03);
}
.media-person-kurumu > img,
.media-person-hana > img,
.media-person-momo > img,
.media-person-ninghua > img,
.media-person-kami > img {
  width: auto;
  height: 300%;
  top: -35%;
  left: 50%;
  filter: saturate(.96) contrast(1.02);
}
.media-person-kurumu > img { transform: translateX(-16.5%); }
.media-person-hana > img { transform: translateX(-36.5%); }
.media-person-momo > img { transform: translateX(-53.6%); }
.media-person-ninghua > img { transform: translateX(-69.6%); }
.media-person-kami > img { transform: translateX(-87.2%); }

.surface-customer .v2-home .avatar-row {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(76px, 21.5vw, 88px);
  gap: 9px;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}
.surface-customer .v2-home .avatar-row::-webkit-scrollbar { display: none; }
.surface-customer .v2-home .avatar-row button {
  width: clamp(76px, 21.5vw, 88px);
  scroll-snap-align: start;
}
.surface-customer .v2-home .avatar-row button > span {
  width: clamp(76px, 21.5vw, 88px);
  height: clamp(76px, 21.5vw, 88px);
}
.surface-customer .v2-home .avatar-row strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-row .media-person-mirai > img { height: 430%; top: -70%; }
.avatar-row :is(.media-person-kurumu, .media-person-hana, .media-person-momo, .media-person-ninghua, .media-person-kami) > img { height: 380%; }
.avatar-row .media-person-momo > img { top: -43%; }
.avatar-row .media-person-ninghua > img { top: -35%; }
.avatar-row .media-person-kurumu > img { top: -40%; }
.avatar-row .media-person-kami > img { top: -35%; }
.avatar-row .media-person-hana > img { top: -46%; }

.surface-customer .people-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.surface-customer .people-rail button {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
}
.surface-customer .people-rail .media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
}
.surface-customer .people-rail button > span {
  min-height: 91px;
  padding: 11px 12px 13px;
}
.surface-customer .people-rail strong {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.3;
}
.surface-customer .people-rail em { margin-top: 3px; }
.people-rail .media-person-mirai > img { height: 400%; top: -60%; }
.people-rail :is(.media-person-kurumu, .media-person-hana, .media-person-momo, .media-person-ninghua, .media-person-kami) > img { height: 360%; }
.people-rail .media-person-momo > img { top: -41%; }
.people-rail .media-person-ninghua > img { top: -33%; }
.people-rail .media-person-kurumu > img { top: -38%; }
.people-rail .media-person-kami > img { top: -33%; }
.people-rail .media-person-hana > img { top: -44%; }

.surface-customer .profile-hero .media-person-mirai > img { height: 400%; top: -60%; }
.surface-customer .profile-hero :is(.media-person-kurumu, .media-person-hana, .media-person-momo, .media-person-ninghua, .media-person-kami) > img { height: 380%; }
.surface-customer .profile-hero .media-person-momo > img { top: -43%; }
.surface-customer .profile-hero .media-person-ninghua > img { top: -35%; }
.surface-customer .profile-hero .media-person-kurumu > img { top: -40%; }
.surface-customer .profile-hero .media-person-kami > img { top: -35%; }
.surface-customer .profile-hero .media-person-hana > img { top: -46%; }

@media (max-width: 374px) {
  .surface-customer .people-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .surface-customer .people-rail button > span { min-height: 96px; padding: 9px 10px 11px; }
  .surface-customer .people-rail strong { font-size: 14px; }
}

/* V2.14: 3:2 homepage imagery, two-column store worlds, and repaired profiles. */
.surface-customer .v2-home .home-split-hero {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  color: var(--cv-text);
  background: #fff;
  border: 1px solid var(--cv-candy-line);
  box-shadow: 0 16px 38px rgba(42, 24, 49, .12);
}
.surface-customer .v2-home .home-split-hero > .home-hero-visual {
  aspect-ratio: 3 / 2;
  padding: 0;
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  bottom: auto;
  overflow: hidden;
  background: #141019;
}
.surface-customer .v2-home .home-hero-visual > .media { width: 100%; height: 100%; position: absolute; inset: 0; }
.surface-customer .v2-home .home-hero-visual .media-hero > img { object-position: 69% center; }
.surface-customer .v2-home .home-split-hero > .home-hero-copy {
  padding: 16px 17px 18px;
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  background: linear-gradient(145deg, #fff, #fff6f9);
}
.surface-customer .v2-home .home-hero-copy small { color: var(--cv-pink); }
.surface-customer .v2-home .home-hero-copy h1 { margin: 4px 0 5px; color: var(--cv-text); font-size: 1.8rem; }
.surface-customer .v2-home .home-hero-copy p { max-width: none; margin: 0 0 13px; color: var(--cv-text-muted); }
.surface-customer .v2-home .home-hero-copy button { min-height: 44px; box-shadow: 0 9px 20px rgba(201, 35, 101, .2); }

.surface-customer .home-world-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.surface-customer .home-world-card {
  min-width: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  color: var(--cv-text);
  text-align: left;
  background: #fff;
  border: 1px solid var(--store-line);
  border-radius: 20px;
  box-shadow: var(--cv-shadow-card);
}
.surface-customer .home-world-card[data-store-theme="MELO"] {
  --store-primary: #b3415b;
  --store-wash: #fff1f4;
  --store-line: #e8b8c8;
}
.surface-customer .home-world-card[data-store-theme="IRIS"] {
  --store-primary: #4b59b6;
  --store-wash: #f1f2ff;
  --store-line: #c9cded;
}
.home-world-card-visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--store-wash);
}
.home-world-card-visual > .media { width: 100%; height: 100%; position: absolute; inset: 0; }
.home-world-card-visual > b {
  min-height: 24px;
  padding: 4px 8px;
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: color-mix(in srgb, var(--store-primary) 84%, transparent);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.home-world-card-copy { min-height: 72px; padding: 10px 11px 12px; display: block; }
.home-world-card-copy strong, .home-world-card-copy small { display: block; }
.home-world-card-copy strong { color: var(--store-primary); font-size: 16px; line-height: 1.25; }
.home-world-card-copy small { margin-top: 4px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.35; }

.media-brand-moero > img,
.media-brand-mirai > img,
.media-brand-events > img,
.media-store-melo > img,
.media-store-iris > img {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  transform: none;
}
.media-brand-moero > img,
.media-store-melo > img { object-position: center 27%; }
.media-brand-events > img { object-position: 69% center; }
.media-brand-mirai,
.media-store-iris {
  background:
    radial-gradient(circle at 72% 24%, rgba(114, 209, 235, .3), transparent 36%),
    linear-gradient(145deg, #23152f, #111627 76%);
}
.media-brand-mirai > img,
.media-store-iris > img { object-position: center 23%; }
.explore-filters button { padding-inline: 3px; white-space: nowrap; }

@media (max-width: 374px) {
  .surface-customer .v2-home .home-hero-copy h1 { font-size: 1.65rem; }
  .surface-customer .v2-home .home-split-hero > .home-hero-copy { padding: 14px 15px 16px; }
  .surface-customer .home-world-grid { gap: 8px; }
  .home-world-card-copy { min-height: 70px; padding: 9px 9px 11px; }
  .home-world-card-copy strong { font-size: 15px; }
  .home-world-card-copy small { font-size: 10px; }
  .event-card-copy, .world-card-copy { min-height: 76px; }
  .explore-filters button { font-size: 11px; letter-spacing: -.02em; }
}

/* Customer completion pass: authentication, membership, checkout, and credentials. */
.auth-screen {
  min-height: 100%;
  padding: 0 var(--cv-inset) calc(30px + env(safe-area-inset-bottom));
  color: var(--cv-text);
  background:
    radial-gradient(circle at 12% 5%, rgba(255, 143, 184, .2), transparent 31%),
    radial-gradient(circle at 88% 18%, rgba(89, 132, 214, .15), transparent 30%),
    #fffafb;
}
.auth-screen .page-header { padding-inline: 0; }
.auth-intro { padding: 20px 3px 19px; text-align: center; }
.auth-intro .brand-mark { width: 62px; height: 62px; margin: 0 auto 14px; display: grid; place-items: center; }
.auth-intro small { display: block; color: var(--cv-pink); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.auth-intro h1 { margin: 7px 0 7px; color: var(--cv-text); font-size: 27px; line-height: 1.15; letter-spacing: 0; }
.auth-intro p { max-width: 320px; margin: 0 auto; color: var(--cv-text-muted); font-size: 13px; line-height: 1.55; }
.auth-progress { margin: 0 auto 17px; display: flex; align-items: center; justify-content: center; }
.auth-progress::before { width: 132px; height: 2px; position: absolute; content: ""; background: #dfdbe3; }
.auth-progress span { width: 30px; height: 30px; margin: 0 14px; position: relative; z-index: 1; display: grid; place-items: center; color: var(--cv-text-subtle); background: #f0edf2; border: 2px solid #fffafb; border-radius: 50%; font-size: 12px; font-weight: 800; }
.auth-progress span.active { color: #fff; background: var(--cv-pink); box-shadow: 0 0 0 5px rgba(201, 35, 101, .1); }
.auth-progress span.done { color: #fff; background: var(--cv-success); }
.auth-form { padding: 20px; display: grid; gap: 16px; background: rgba(255,255,255,.92); border: 1px solid rgba(56, 44, 64, .1); border-radius: 20px; box-shadow: 0 18px 45px rgba(47, 30, 53, .1); }
.auth-form > label { display: grid; gap: 7px; color: var(--cv-text); font-size: 12px; font-weight: 760; }
.auth-form > label > div { min-height: 50px; padding: 0 14px; display: flex; align-items: center; gap: 10px; color: var(--cv-text-muted); background: #faf8fb; border: 1px solid #ded9e1; border-radius: 13px; }
.auth-form input:not([type="checkbox"]) { min-width: 0; width: 100%; height: 46px; color: var(--cv-text); background: transparent; border: 0; outline: 0; font-size: 15px; }
.auth-form input::placeholder { color: #99919e; }
.auth-form > label:focus-within > div { border-color: var(--cv-pink); box-shadow: 0 0 0 3px rgba(201,35,101,.1); }
.auth-form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-form-row > button, .auth-resend { min-height: 44px; padding: 0; color: var(--cv-pink); background: transparent; font-size: 12px; font-weight: 760; }
.auth-check { min-height: 44px; display: flex; align-items: center; gap: 8px; color: var(--cv-text-muted); font-size: 12px; }
.auth-check input { width: 19px; height: 19px; accent-color: var(--cv-pink); }
.auth-method { padding: 4px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: #efecf1; border-radius: 13px; }
.auth-method button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--cv-text-muted); background: transparent; border-radius: 10px; font-weight: 760; }
.auth-method button.active { color: var(--cv-text); background: #fff; box-shadow: 0 3px 10px rgba(40,25,47,.08); }
.auth-code-note { padding: 14px; display: flex; gap: 11px; align-items: flex-start; color: #204d78; background: #edf6ff; border: 1px solid #cde3f5; border-radius: 14px; }
.auth-code-note > span { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cv-blue); background: #fff; border-radius: 10px; }
.auth-code-note p { margin: 0; display: grid; gap: 3px; }
.auth-code-note small { color: #56738f; font-size: 11px; line-height: 1.45; }
.auth-code-input { height: 54px !important; padding-inline: 14px; text-align: center; color: var(--cv-text) !important; background: #faf8fb !important; border: 1px solid #ded9e1 !important; border-radius: 13px; font-size: 24px !important; font-weight: 800; letter-spacing: .28em !important; }
.auth-submit { margin: 3px 0 0; }
.button-spinner { width: 18px; height: 18px; display: inline-block; border: 2px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; animation: auth-spin .7s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-switch { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--cv-text-muted); font-size: 12px; }
.auth-switch button { min-height: 44px; padding: 0 7px; color: var(--cv-pink); background: transparent; font-weight: 800; }
.auth-legal { margin: 0 auto; max-width: 320px; color: var(--cv-text-subtle); text-align: center; font-size: 10px; line-height: 1.5; }

.credential-sheet { max-height: min(91dvh, 830px); padding-bottom: calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; color: var(--cv-text); background: #fffafb; }
.credential-sheet .qr-sheet-head { position: sticky; top: 0; z-index: 12; padding-top: 7px; background: rgba(255,250,251,.95); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.credential-sheet .sheet-done { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: var(--cv-text-muted); background: #f0edf2; border-radius: 50%; }
.credential-sheet .qr-tabs { position: sticky; top: 70px; z-index: 11; padding: 4px; background: rgba(239,236,241,.96); }
.credential-sheet .qr-tabs button { min-width: 0; padding-inline: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.credential-body { margin-top: 15px; display: grid; gap: 13px; }
.member-credential, .event-credential, .redeem-credential { overflow: hidden; color: #fff; border-radius: 20px; box-shadow: 0 20px 42px rgba(35,21,43,.18); }
.member-credential { padding: 20px; display: grid; grid-template-columns: 1fr; justify-items: center; align-items: center; gap: 15px; text-align: center; background: linear-gradient(145deg, #a9345f, #3c2d72 68%, #172546); }
.member-credential[data-store="IRIS"] { background: linear-gradient(145deg, #4659ad, #27345f 68%, #171e35); }
.member-credential > div:first-child { display: grid; justify-items: center; gap: 4px; }
.member-credential > div:first-child small { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.member-credential > div:first-child strong { font-size: 21px; line-height: 1.2; }
.member-credential > div:first-child span { color: rgba(255,255,255,.78); font-size: 12px; }
.member-credential > p { grid-column: 1 / -1; margin: 0; padding-top: 13px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.18); font-size: 10px; }
.demo-qr { width: 100%; max-width: 360px; aspect-ratio: 1; padding: 12px; display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; background: #fff; border: 1px solid rgba(28,20,32,.08); border-radius: 14px; box-shadow: 0 8px 22px rgba(15,12,18,.14); }
.demo-qr i { display: block; background: transparent; border-radius: 1px; }
.demo-qr i.filled { background: #17131b; }
.pass-carousel { overflow: hidden; touch-action: pan-y; }
.pass-carousel-track { display: flex; align-items: stretch; transition: transform .3s ease; }
.event-credential { min-width: 100%; padding: 0; align-self: stretch; color: var(--cv-text); background: #fff; border: 1px solid rgba(39,28,47,.1); box-shadow: 0 16px 35px rgba(38,24,44,.12); }
.event-credential > header { min-height: 92px; padding: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #fff; background: linear-gradient(135deg, #b73567, #733d86); }
.event-credential.blue > header { background: linear-gradient(135deg, #186a9c, #3f4f9a); }
.event-credential.gold > header { background: linear-gradient(135deg, #a56714, #763c58); }
.event-credential > header > span { min-width: 0; display: grid; gap: 3px; }
.event-credential > header small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.event-credential > header strong { font-size: 17px; line-height: 1.25; }
.event-credential > header em { color: rgba(255,255,255,.82); font-size: 11px; font-style: normal; }
.event-credential > header b, .redeem-credential > header b { min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); border-radius: 999px; font-size: 10px; }
.event-credential > header b i, .redeem-credential > header b i { width: 7px; height: 7px; background: #7bf0b7; border-radius: 50%; }
.event-credential-main { padding: 18px; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 14px; align-items: center; }
.event-credential-main > div { width: 100%; display: grid; justify-items: center; gap: 8px; }
.event-credential-main > div > small { color: var(--cv-pink); font-size: 11px; font-weight: 800; }
.event-credential-main > div > span { color: var(--cv-text-subtle); font-size: 9px; }
.event-credential-main aside { width: 100%; padding: 11px 13px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px 10px; background: #f8f5f8; border: 1px solid var(--cv-line); border-radius: 12px; }
.event-credential-main aside small { color: var(--cv-text-subtle); font-size: 9px; }
.event-credential-main aside strong { min-width: 0; overflow: hidden; color: var(--cv-text); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.event-credential > p { min-height: 52px; margin: 0; padding: 13px 18px; color: var(--cv-text-muted); background: #f8f5f8; border-top: 1px solid var(--cv-line); font-size: 11px; line-height: 1.45; }
.pass-carousel-controls { min-height: 54px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: center; gap: 7px; }
.pass-carousel-controls > button { min-height: 44px; display: grid; place-items: center; color: var(--cv-text); background: #f0edf2; border-radius: 13px; }
.pass-carousel-controls .pass-counter { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; background: transparent; }
.pass-counter strong { font-size: 13px; }
.pass-counter small { color: var(--cv-text-muted); font-size: 10px; }
.pass-picker { padding: 5px; display: grid; gap: 3px; background: #efecf1; border-radius: 14px; }
.pass-picker button { min-height: 57px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 9px; color: var(--cv-text); text-align: left; background: transparent; border-radius: 10px; }
.pass-picker button.active { color: #8b2150; background: #fff; box-shadow: 0 4px 12px rgba(40,25,47,.08); }
.pass-picker button span { min-width: 0; display: grid; gap: 2px; }
.pass-picker button strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.pass-picker button small { color: var(--cv-text-muted); font-size: 9px; }
.credential-transition { padding: 12px; display: flex; align-items: center; gap: 10px; color: var(--cv-success); background: var(--cv-success-soft); border: 1px solid #bce3d1; border-radius: 13px; }
.credential-transition > svg { flex: 0 0 auto; }
.credential-transition span { display: grid; gap: 2px; }
.credential-transition strong { font-size: 11px; }
.credential-transition small { color: #4d7d68; font-size: 9px; }
.credential-demo-action { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--cv-pink); border-radius: 14px; font-weight: 800; }
.credential-demo-action.secondary { background: #4c5386; }
.redeem-credential { padding: 18px; display: grid; justify-items: center; gap: 15px; background: linear-gradient(145deg, #21364c, #4e446a); }
.redeem-credential > header { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.redeem-credential > header span { display: grid; gap: 3px; }
.redeem-credential > header small { color: rgba(255,255,255,.68); font-size: 9px; }
.redeem-credential > p { margin: 0; color: rgba(255,255,255,.8); font-size: 11px; }
.credential-history-link { padding: 13px; display: flex; gap: 10px; color: var(--cv-text); background: #f2f5f7; border-radius: 13px; }
.credential-history-link > svg { color: var(--cv-blue); flex: 0 0 auto; }
.credential-history-link span { display: grid; gap: 3px; }
.credential-history-link strong { font-size: 11px; }
.credential-history-link small { color: var(--cv-text-muted); font-size: 9px; line-height: 1.4; }
.credential-safety { margin-top: 15px; padding: 11px 0 0; display: flex; gap: 8px; color: var(--cv-text-subtle); border-top: 1px solid var(--cv-line); font-size: 9px; line-height: 1.45; }
.credential-unavailable { width: min(360px, 100%); min-height: 250px; padding: 26px 22px; display: grid; place-items: center; align-content: center; gap: 9px; color: var(--cv-text); text-align: center; background: #f7f4f8; border: 1px dashed #cfc8d3; border-radius: 16px; }
.credential-unavailable > span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--cv-pink); background: #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(31,24,36,.1); }
.credential-unavailable strong { font-size: 14px; }
.credential-unavailable p { max-width: 260px; margin: 0; color: var(--cv-text-muted); font-size: 10px; line-height: 1.5; }
.credential-unavailable button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--cv-pink); border-radius: 10px; font-size: 10px; font-weight: 800; }
.credential-unavailable.used { color: #3b6f5c; background: #edf8f2; border-color: #b7dec9; }
.credential-unavailable.used > span { color: var(--cv-success); }
.event-credential.used > header { background: linear-gradient(135deg, #5c6570, #3b4149); }
.event-credential.used > header b i { background: #d3d8dd; }
.dark-spinner, .payment-spinner { width: 25px; height: 25px; display: block; border: 3px solid rgba(201,35,101,.2); border-top-color: var(--cv-pink); border-radius: 50%; animation: payment-spin .8s linear infinite; }
.credential-state-preview, .payment-preview-controls { padding: 10px 0 0; color: var(--cv-text-subtle); font-size: 9px; }
.credential-state-preview summary, .payment-preview-controls summary { cursor: pointer; font-weight: 750; }
.credential-state-preview > div, .payment-preview-controls > div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 7px; }
.credential-state-preview button, .payment-preview-controls button { min-height: 34px; padding: 0 11px; color: var(--cv-text-muted); background: #f1edf3; border: 1px solid var(--cv-line); border-radius: 9px; font-size: 9px; font-weight: 750; }
.pass-list { display: grid; gap: 9px; }

.checkout-steps { margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.checkout-steps li { min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--cv-text-subtle); border-bottom: 2px solid #ddd8df; font-size: 10px; font-weight: 750; }
.checkout-steps li.done { color: var(--cv-success); border-color: var(--cv-success); }
.checkout-steps li.active { color: var(--cv-pink); border-color: var(--cv-pink); }
.checkout-group-title { display: flex; align-items: center; gap: 10px; }
.checkout-group-title > span { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; }
.checkout-group-title > div { min-width: 0; flex: 1; }
.checkout-group-title small { display: block; color: var(--cv-text-subtle); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.checkout-group-title h2 { margin: 2px 0 0; color: var(--cv-text); font-size: 15px; }
.checkout-group-title > button, .checkout-group-title > b { width: auto; min-height: 36px; padding: 0 7px; display: inline-flex; flex: 0 0 auto; color: var(--cv-pink); background: transparent; border-radius: 8px; box-shadow: none; font-size: 10px; font-weight: 800; }
.verified-label { display: inline-flex !important; align-items: center; gap: 4px; color: var(--cv-success) !important; background: var(--cv-success-soft) !important; }
.coupon-trigger.applied { border-color: #e299ba; background: #fff6fa; }
.coupon-picker { margin-top: 10px; padding: 5px; display: grid; gap: 4px; background: #efecf1; border-radius: 15px; }
.coupon-picker > button { min-height: 72px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--cv-text); text-align: left; background: transparent; border-radius: 11px; }
.coupon-picker > button.selected { color: #8a204f; background: #fff; box-shadow: 0 4px 12px rgba(39,24,45,.08); }
.coupon-picker > button.unavailable { color: var(--cv-text-subtle); opacity: .62; }
.coupon-picker > button span { min-width: 0; display: grid; gap: 2px; }
.coupon-picker > button small { color: inherit; font-size: 9px; }
.coupon-picker > button strong { font-size: 12px; }
.coupon-picker > button em { color: var(--cv-text-muted); font-size: 9px; font-style: normal; line-height: 1.35; }
.coupon-picker > button b { min-height: 30px; padding: 0 9px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 999px; font-size: 9px; }

.coupon-benefit-stack .benefit-card { width: 100%; }
.coupon-benefit-stack .coupon-unavailable,
.coupon-benefit-stack .coupon-used,
.coupon-benefit-stack .coupon-expired,
.coupon-benefit-stack .coupon-revoked { color: var(--cv-text-muted); background: #f7f5f7; border-style: solid; }
.coupon-benefit-stack .coupon-used > span:first-child { color: var(--cv-success); background: var(--cv-success-soft); }
.coupon-benefit-stack .coupon-expired > span:first-child,
.coupon-benefit-stack .coupon-revoked > span:first-child { color: var(--cv-text-muted); background: #ebe8ed; }
.coupon-detail-backdrop { align-items: flex-end; }
.coupon-detail-sheet { width: min(100%, 430px); max-height: min(88dvh, 760px); padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; color: var(--cv-text); background: #fffafd; border-radius: 24px 24px 0 0; box-shadow: 0 -18px 50px rgba(44, 25, 48, .22); }
.coupon-detail-sheet > header { margin: 2px 0 16px; display: flex; align-items: center; justify-content: space-between; }
.coupon-detail-sheet > header small { color: var(--cv-pink); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.coupon-detail-sheet > header h2 { margin: 3px 0 0; font-size: 20px; }
.coupon-detail-hero { padding: 15px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px; background: linear-gradient(135deg, #fff, #fff2f7); border: 1px solid #efd2df; border-radius: 17px; }
.coupon-detail-hero > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 13px; }
.coupon-detail-hero small, .coupon-detail-hero h3, .coupon-detail-hero strong { display: block; }
.coupon-detail-hero small { color: var(--cv-text-muted); font-size: 9px; }
.coupon-detail-hero h3 { margin: 2px 0; font-size: 15px; }
.coupon-detail-hero strong { color: var(--cv-pink); font-size: 20px; }
.coupon-detail-hero > b { padding: 6px 9px; color: #8a204f; background: #fff; border: 1px solid #edd4df; border-radius: 999px; font-size: 9px; white-space: nowrap; }
.coupon-detail-sheet:not(.available) .coupon-detail-hero { background: #f5f3f5; border-color: var(--cv-line); }
.coupon-detail-sheet:not(.available) .coupon-detail-hero > span,
.coupon-detail-sheet:not(.available) .coupon-detail-hero > b { color: var(--cv-text-muted); background: #ebe8ed; border-color: transparent; }
.coupon-state-reason { margin-top: 10px; padding: 12px; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 9px; color: #8c2b45; background: #fff0f3; border-radius: 14px; }
.coupon-state-reason > svg { padding: 6px; background: rgba(255,255,255,.7); border-radius: 9px; }
.coupon-state-reason strong, .coupon-state-reason p, .coupon-state-reason small { display: block; }
.coupon-state-reason p { margin: 3px 0 0; font-size: 11px; line-height: 1.55; }
.coupon-state-reason small { margin-top: 5px; color: var(--cv-text-muted); font-size: 9px; }
.coupon-rule-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.coupon-rule-grid p { margin: 0; padding: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: 14px; }
.coupon-rule-grid span { display: flex; align-items: center; gap: 6px; color: var(--cv-text-muted); }
.coupon-rule-grid span svg { width: 15px; }
.coupon-rule-grid small { font-size: 9px; }
.coupon-rule-grid strong { margin-top: 5px; display: block; font-size: 11px; }
.coupon-scope-list { margin: 14px 0 0; padding: 14px; background: #fff; border: 1px solid var(--cv-line); border-radius: 16px; }
.coupon-scope-list h3 { margin: 0 0 9px; font-size: 13px; }
.coupon-scope-list > div { padding: 10px 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; border-top: 1px solid var(--cv-line); }
.coupon-scope-list > div > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 10px; }
.coupon-scope-list p, .coupon-scope-list small, .coupon-scope-list strong { margin: 0; display: block; }
.coupon-scope-list small { color: var(--cv-text-muted); font-size: 9px; }
.coupon-scope-list strong { margin-top: 3px; font-size: 11px; line-height: 1.45; }
.coupon-detail-note { margin: 10px 0 14px; padding: 10px 11px; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 13px; }
.coupon-detail-note p { margin: 0; font-size: 10px; line-height: 1.5; }

.dynamic-qr-wrap { width: 100%; display: grid; place-items: center; }
.dynamic-qr-wrap .demo-qr { margin-bottom: 0; }
.qr-refresh-status { margin: 7px 0 0 !important; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--cv-text-muted) !important; font-size: 8px !important; }
.event-credential.refunded,
.event-credential.revoked { filter: saturate(.62); }
.event-credential.refunded header > b,
.event-credential.revoked header > b { color: #fff; background: rgba(70, 61, 71, .72); }
.credential-unavailable.refunded,
.credential-unavailable.revoked { color: var(--cv-text-muted); background: rgba(245, 242, 245, .92); }
.credential-state-preview > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.branch-selector.single { grid-template-columns: 1fr; }
.missing-branch-note { margin-top: 9px; padding: 11px 12px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; color: var(--cv-info); background: var(--cv-info-soft); border-radius: 13px; }
.missing-branch-note p, .missing-branch-note strong, .missing-branch-note span { margin: 0; display: block; }
.missing-branch-note strong { font-size: 11px; }
.missing-branch-note span { margin-top: 2px; color: var(--cv-text-muted); font-size: 9px; line-height: 1.45; }
.membership-summary.inactive { background: linear-gradient(140deg, #7c7880, #5d5962 65%, #3f3b43); }
.membership-load-state { min-height: 360px; padding: 34px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid var(--cv-line); border-radius: 20px; box-shadow: var(--cv-shadow-card); }
.membership-load-state > span { width: 58px; height: 58px; display: grid; place-items: center; color: var(--cv-danger); background: var(--cv-danger-soft); border-radius: 18px; }
.membership-load-state h2 { margin: 16px 0 7px; font-size: 18px; }
.membership-load-state p { max-width: 290px; margin: 0 0 20px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.6; }
.membership-state-preview { margin-top: 14px; padding: 11px; color: var(--cv-text-muted); background: #eeebef; border-radius: 14px; }
.membership-state-preview summary { cursor: pointer; font-size: 10px; font-weight: 750; }
.membership-state-preview > div { margin-top: 9px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.membership-state-preview button { min-height: 38px; padding: 6px; color: var(--cv-text-muted); background: #fff; border: 1px solid var(--cv-line); border-radius: 10px; font-size: 9px; }
.membership-state-preview button.active { color: var(--cv-pink); border-color: rgba(201,35,101,.38); background: var(--cv-pink-soft); }

.header-text-action { min-height: 40px; padding: 0 10px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; font-size: 10px; font-weight: 760; }
.message-tabs { margin-bottom: 12px; }
.customer-message-list article button span em { margin-top: 4px; display: block; color: var(--cv-text-muted); font-size: 9px; font-style: normal; line-height: 1.45; }
.customer-message-list article:not(.unread) { opacity: .76; }
.message-skeleton { display: grid; gap: 8px; }
.message-skeleton > span { min-height: 78px; padding: 13px; display: grid; grid-template-columns: 9px minmax(0, 1fr); gap: 8px; background: #fff; border: 1px solid var(--cv-line); border-radius: 15px; }
.message-skeleton i { width: 8px; height: 8px; margin-top: 3px; background: #e8e4e9; border-radius: 50%; }
.message-skeleton b, .message-skeleton em { display: block; background: linear-gradient(90deg, #ece9ed 25%, #f7f5f7 50%, #ece9ed 75%); background-size: 200% 100%; border-radius: 6px; animation: skeleton-shift 1.2s linear infinite; }
.message-skeleton b { width: 72%; height: 13px; }
.message-skeleton em { grid-column: 2; width: 92%; height: 9px; }
.message-list-state { min-height: 250px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--cv-text-muted); background: #fff; border: 1px solid var(--cv-line); border-radius: 18px; }
.message-list-state > svg { width: 46px; height: 46px; padding: 11px; color: var(--cv-danger); background: var(--cv-danger-soft); border-radius: 14px; }
.message-list-state.empty > svg { color: var(--cv-success); background: var(--cv-success-soft); }
.message-list-state strong { margin-top: 12px; color: var(--cv-text); font-size: 15px; }
.message-list-state p { max-width: 260px; margin: 5px 0 14px; font-size: 10px; line-height: 1.55; }
.message-list-state button { min-height: 40px; padding: 0 12px; display: flex; align-items: center; gap: 5px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; font-size: 10px; font-weight: 750; }
.message-state-preview { margin-top: 14px; padding: 11px; color: var(--cv-text-muted); background: #eeebef; border-radius: 14px; }
.message-state-preview summary { cursor: pointer; font-size: 10px; font-weight: 750; }
.message-state-preview > div { margin-top: 9px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.message-state-preview button { min-height: 38px; padding: 5px; color: var(--cv-text-muted); background: #fff; border: 1px solid var(--cv-line); border-radius: 9px; font-size: 8px; }
.global-state-screen { min-height: calc(100dvh - 76px); display: grid; place-items: center; }
.global-state-screen > section { width: min(100%, 340px); padding: 32px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--cv-line); border-radius: 22px; box-shadow: var(--cv-shadow-card); }
.global-state-screen > section > span { width: 62px; height: 62px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 19px; }
.global-state-screen > section > small { margin-top: 16px; color: var(--cv-pink); font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.global-state-screen h1 { margin: 5px 0 7px; font-size: 21px; }
.global-state-screen > section > p { max-width: 285px; margin: 0 0 20px; color: var(--cv-text-muted); font-size: 11px; line-height: 1.65; }
.global-state-screen.loading { align-content: center; }
.global-page-skeleton { width: 100%; display: grid; gap: 11px; }
.global-page-skeleton > span, .global-page-skeleton > i, .global-page-skeleton b { display: block; background: linear-gradient(90deg, #e9e6ea 25%, #f7f5f7 50%, #e9e6ea 75%); background-size: 200% 100%; border-radius: 13px; animation: skeleton-shift 1.2s linear infinite; }
.global-page-skeleton > span { height: 180px; }
.global-page-skeleton > i { height: 18px; }
.global-page-skeleton > i:nth-child(3) { width: 72%; }
.global-page-skeleton > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.global-page-skeleton b { height: 92px; }
.global-state-screen.loading > p { margin: 18px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--cv-text-muted); font-size: 10px; }
@keyframes skeleton-shift { to { background-position: -200% 0; } }
.checkout-choice-grid, .payment-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.checkout-choice-grid button, .payment-methods button { min-width: 0; min-height: 70px; padding: 11px; display: flex; align-items: center; gap: 8px; color: var(--cv-text); text-align: left; background: #faf8fb; border: 1px solid #ded9e1; border-radius: 13px; }
.checkout-choice-grid button.selected, .payment-methods button.selected { color: #81204b; background: #fff5f9; border-color: #d97da5; box-shadow: 0 0 0 2px rgba(201,35,101,.08); }
.checkout-choice-grid button > svg:first-child, .payment-methods button > span { width: 34px; height: 34px; padding: 7px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cv-pink); background: #fff; border-radius: 10px; }
.checkout-choice-grid button > span, .payment-methods button > div { min-width: 0; display: grid; gap: 3px; flex: 1; }
.checkout-choice-grid button strong, .payment-methods button strong { font-size: 11px; }
.checkout-choice-grid button small, .payment-methods button small { color: var(--cv-text-muted); font-size: 9px; line-height: 1.25; }
.checkout-total { box-shadow: 0 10px 26px rgba(42,27,49,.07); }
.checkout-pay { position: sticky; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 4; box-shadow: 0 12px 26px rgba(201,35,101,.24); }
.pending-payment-compact { min-height: 78px; padding: 12px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: var(--cv-text); background: #fff9ed; border: 1px solid #ead6a4; border-radius: 15px; }
.pending-payment-compact > span { width: 42px; height: 42px; display: grid; place-items: center; color: #9a6905; background: #fff; border-radius: 12px; }
.pending-payment-compact div { min-width: 0; display: grid; gap: 2px; }
.pending-payment-compact small, .pending-payment-compact em { overflow: hidden; color: #876b30; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.pending-payment-compact strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pending-payment-compact > b { padding: 6px 9px; color: #7b560d; background: #f6e2af; border-radius: 999px; font-size: 9px; white-space: nowrap; }
.pass-history-list { display: grid; gap: 8px; }
.pass-history-list article { min-height: 66px; padding: 10px 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; background: #f8f6f9; border: 1px solid var(--cv-line); border-radius: 14px; }
.pass-history-list article > span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--cv-text-muted); background: #fff; border-radius: 11px; }
.pass-history-list article div { min-width: 0; display: grid; gap: 3px; }
.pass-history-list article small { color: var(--cv-text-subtle); font-size: 9px; }
.pass-history-list article strong { overflow: hidden; color: var(--cv-text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pass-history-list article > b { color: var(--cv-text-muted); font-size: 9px; white-space: nowrap; }
.pass-history-list article.used > span { color: var(--cv-success); }
.pass-history-list article.refunded > span { color: #b45367; }
.benefit-card.unavailable { color: var(--cv-text-muted); background: #f6f4f6; box-shadow: none; }
.benefit-card.unavailable > span:first-child { color: var(--cv-text-subtle); background: #ece8ed; }
.benefit-card.unavailable b { color: var(--cv-text-muted); background: #e9e5ea; }

.payment-status-screen { min-height: 100%; padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.payment-status-hero { margin-top: 12px; padding: 30px 22px; display: grid; justify-items: center; gap: 8px; color: var(--cv-text); text-align: center; background: #fff; border: 1px solid var(--cv-line); border-radius: 20px; box-shadow: var(--cv-shadow-card); }
.payment-status-hero > span { width: 66px; height: 66px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 50%; }
.payment-status-hero > small { margin-top: 5px; color: var(--cv-text-subtle); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.payment-status-hero h1 { margin: 0; font-size: 22px; }
.payment-status-hero p { max-width: 320px; margin: 0; color: var(--cv-text-muted); font-size: 11px; line-height: 1.55; }
.payment-status-hero.success > span { color: var(--cv-success); background: var(--cv-success-soft); }
.payment-status-hero.danger > span { color: #c13d56; background: #fff0f2; }
.payment-status-hero.warning > span, .payment-status-hero.waiting > span { color: #9a6905; background: #fff6df; }
.payment-status-hero.neutral > span { color: var(--cv-text-muted); background: #efecf0; }
.payment-status-hero .payment-spinner { border-color: rgba(154,105,5,.18); border-top-color: #9a6905; }
.payment-order-summary { margin-top: 12px; padding: 15px; display: grid; gap: 7px; background: #fff; border: 1px solid var(--cv-line); border-radius: 15px; }
.payment-order-summary p { margin: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.payment-order-summary p span { color: var(--cv-text-muted); font-size: 10px; line-height: 1.4; }
.payment-order-summary p strong { color: var(--cv-text); font-size: 14px; white-space: nowrap; }
.payment-order-summary small { color: var(--cv-text-subtle); font-size: 9px; }
.payment-status-actions { margin-top: 14px; display: grid; gap: 8px; }
.payment-status-actions .primary-action { min-height: 52px; }
.danger-text { color: #b6304c !important; }
.cvs-code-card { margin-top: 12px; padding: 19px; display: grid; justify-items: center; gap: 10px; text-align: center; background: #172137; border-radius: 18px; box-shadow: 0 16px 30px rgba(22,31,50,.2); }
.cvs-code-card small { color: rgba(255,255,255,.68); font-size: 9px; }
.cvs-code { color: #fff; font-size: clamp(22px, 8vw, 30px); letter-spacing: .06em; }
.cvs-code-card button { min-height: 38px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px; color: #172137; background: #fff; border-radius: 10px; font-size: 10px; font-weight: 800; }
.ibon-steps { margin-top: 12px; padding: 16px; background: #fff; border: 1px solid var(--cv-line); border-radius: 17px; }
.ibon-steps h2 { margin: 0 0 11px; font-size: 14px; }
.ibon-steps ol { margin: 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.ibon-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-items: start; }
.ibon-steps li > b { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--cv-pink); border-radius: 50%; font-size: 10px; }
.ibon-steps li span { display: grid; gap: 2px; }
.ibon-steps li strong { font-size: 11px; }
.ibon-steps li small { color: var(--cv-text-muted); font-size: 9px; line-height: 1.45; }
@keyframes payment-spin { to { transform: rotate(360deg); } }

.menu-leading { min-width: 0; display: flex; align-items: center; gap: 10px; }
.menu-leading > svg { color: var(--cv-pink); flex: 0 0 auto; }
.menu-leading > span { min-width: 0; display: grid; gap: 2px; }
.menu-leading small { color: var(--cv-text-muted); font-size: 9px; font-weight: 500; }
.branch-selector { margin: 17px 0 12px; padding: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #ece9ee; border-radius: 14px; }
.branch-selector button { min-width: 0; min-height: 60px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; gap: 9px; color: var(--cv-text-muted); text-align: left; background: transparent; border-radius: 10px; }
.branch-selector button.selected { color: var(--cv-text); background: #fff; box-shadow: 0 4px 12px rgba(37,24,43,.08); }
.branch-selector button span { display: grid; gap: 2px; }
.branch-selector button b { font-size: 13px; }
.branch-selector button small { color: var(--cv-text-subtle); font-size: 9px; }
.branch-selector button strong { color: var(--cv-pink); font-size: 11px; }
.membership-summary { padding: 18px; color: #fff; background: linear-gradient(140deg, #b52e62, #6d397d 65%, #343b71); border-radius: 20px; box-shadow: 0 18px 36px rgba(58,33,69,.16); }
.membership-summary.indigo { background: linear-gradient(140deg, #465bb4, #39467a 65%, #222a4d); }
.membership-summary > div:first-child { display: flex; align-items: center; gap: 10px; }
.membership-summary > div:first-child > span { width: 39px; height: 39px; display: grid; place-items: center; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.membership-summary > div:first-child p { margin: 0; display: grid; gap: 2px; }
.membership-summary > div:first-child small { color: rgba(255,255,255,.68); font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.membership-summary > div:first-child strong { font-size: 14px; }
.membership-summary > b { margin: 16px 0 13px; display: flex; align-items: flex-end; justify-content: space-between; font-size: 27px; }
.membership-summary > b small { color: rgba(255,255,255,.7); font-size: 9px; font-weight: 600; }
.membership-progress > span { height: 7px; display: block; overflow: hidden; background: rgba(255,255,255,.17); border-radius: 999px; }
.membership-progress > span i { height: 100%; display: block; background: linear-gradient(90deg, #ffcfdf, #fff); border-radius: inherit; }
.membership-progress p { margin: 6px 0 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.72); font-size: 8px; }
.membership-progress p strong { color: #fff; }
.membership-tabs { margin: 15px 0 0; padding: 4px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: #ece9ee; border-radius: 13px; }
.membership-tabs button { min-width: 0; min-height: 48px; padding: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--cv-text-muted); background: transparent; border-radius: 9px; font-size: 10px; font-weight: 760; white-space: nowrap; }
.membership-tabs button.active { color: #8c2050; background: #fff; box-shadow: 0 3px 10px rgba(39,24,45,.08); }
.membership-panel { padding: 22px 0 7px; }
.level-track { margin-top: 12px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; }
.level-track::before { height: 3px; position: absolute; top: 16px; left: 6%; right: 6%; content: ""; background: #ddd8df; }
.level-track button { min-width: 0; min-height: 56px; position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 5px; color: var(--cv-text-subtle); background: transparent; font-size: 8px; }
.level-track button span { width: 32px; height: 32px; display: grid; place-items: center; background: #efecf1; border: 3px solid var(--cv-canvas); border-radius: 50%; font-size: 9px; font-weight: 800; }
.level-track button.reached span { color: #fff; background: var(--cv-success); }
.level-track button.selected span { color: #fff; background: var(--cv-pink); box-shadow: 0 0 0 4px rgba(201,35,101,.12); }
.benefit-detail { margin-top: 12px; padding: 16px; display: grid; grid-template-columns: 43px minmax(0,1fr) auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: 16px; box-shadow: var(--cv-shadow-card); }
.benefit-detail > span { width: 43px; height: 43px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 12px; }
.benefit-detail > div { min-width: 0; }
.benefit-detail small { color: var(--cv-text-subtle); font-size: 8px; }
.benefit-detail h2 { margin: 3px 0 3px; font-size: 15px; }
.benefit-detail p { margin: 0; color: var(--cv-text-muted); font-size: 10px; line-height: 1.35; }
.benefit-detail > b { color: var(--cv-success); font-size: 9px; }
.benefit-list { margin-top: 10px; display: grid; gap: 1px; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: var(--cv-shadow-card); }
.benefit-list p { margin: 0; padding: 12px; display: flex; align-items: flex-start; gap: 9px; background: #fff; border-bottom: 1px solid var(--cv-line); }
.benefit-list p:last-child { border-bottom: 0; }
.benefit-list svg { color: var(--cv-success); flex: 0 0 auto; }
.benefit-list span { display: grid; gap: 2px; }
.benefit-list strong { font-size: 11px; }
.benefit-list small { color: var(--cv-text-muted); font-size: 9px; line-height: 1.35; }
.existing-world-tree { overflow: hidden; color: #fff; background: #171827; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; box-shadow: 0 18px 40px rgba(24,20,33,.2); }
.world-tree-canvas-shell { height: min(68dvh, 620px); min-height: 500px; position: relative; overflow: hidden; background: #241a2b; }
.existing-world-tree.iris .world-tree-canvas-shell { background: #182842; }
.world-tree-canvas-shell::before { position: absolute; inset: 0; z-index: 0; content: ""; pointer-events: none; background: radial-gradient(110% 65% at 8% 0%, rgba(255,255,255,.16), transparent 58%), radial-gradient(90% 55% at 96% 100%, rgba(255,150,195,.12), transparent 64%); }
.existing-world-tree.iris .world-tree-canvas-shell::before { background: radial-gradient(110% 65% at 8% 0%, rgba(255,255,255,.16), transparent 58%), radial-gradient(90% 55% at 96% 100%, rgba(132,173,255,.13), transparent 64%); }
.world-tree-cytoscape { width: 100%; height: 100%; position: relative; z-index: 1; background: transparent; }
.world-tree-cytoscape canvas { background: transparent !important; }
.world-tree-hud { position: absolute; left: 10px; top: 10px; z-index: 4; display: flex; gap: 7px; pointer-events: none; }
.world-tree-hud > span { min-height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.76); background: rgba(42,20,35,.76); border: 1px solid rgba(255,181,207,.34); border-radius: 10px; box-shadow: 0 7px 18px rgba(0,0,0,.16); backdrop-filter: blur(9px); font-size: 9px; font-weight: 750; }
.existing-world-tree.iris .world-tree-hud > span { background: rgba(21,34,57,.8); border-color: rgba(190,206,255,.34); }
.world-tree-hud b { color: #fff; font-size: 11px; }
.world-tree-controls { position: absolute; right: 10px; top: 10px; z-index: 4; display: flex; gap: 5px; }
.world-tree-controls button { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: rgba(25,17,27,.72); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; backdrop-filter: blur(9px); }
.existing-world-tree.iris .world-tree-controls button { background: rgba(18,29,48,.78); }
.world-tree-controls button b { font-size: 22px; line-height: 1; font-weight: 500; }
.world-tree-node-sheet { min-height: 116px; padding: 14px 44px 14px 14px; position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 5; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; color: #fff; background: rgba(20,15,24,.9); border: 1px solid rgba(255,255,255,.24); border-radius: 14px; box-shadow: 0 14px 32px rgba(0,0,0,.3); backdrop-filter: blur(14px); }
.existing-world-tree.iris .world-tree-node-sheet { background: rgba(17,27,45,.92); }
.world-tree-node-sheet > button { width: 38px; height: 38px; position: absolute; right: 5px; top: 5px; display: grid; place-items: center; color: rgba(255,255,255,.72); border-radius: 10px; }
.world-tree-node-sheet > span { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.1); border-radius: 12px; }
.world-tree-node-sheet > span.redeemed { color: #ffd7e5; }
.world-tree-node-sheet > span.unlocked { color: #ff9fbe; }
.existing-world-tree.iris .world-tree-node-sheet > span.unlocked { color: #ff8d83; }
.world-tree-node-sheet > span.locked { color: rgba(255,255,255,.5); }
.world-tree-node-sheet > div { min-width: 0; display: grid; gap: 2px; }
.world-tree-node-sheet small { color: rgba(255,255,255,.58); font-size: 8px; }
.world-tree-node-sheet strong { font-size: 13px; }
.world-tree-node-sheet p { margin: 2px 0 0; color: rgba(255,255,255,.68); font-size: 9px; line-height: 1.4; }
.world-tree-node-sheet > b { align-self: end; color: #ffd0df; font-size: 9px; white-space: nowrap; }
.existing-world-tree.iris .world-tree-node-sheet > b { color: #ccd7ff; }
.world-tree-legend { min-height: 46px; padding: 10px 13px; display: flex; align-items: center; justify-content: center; gap: 15px; color: rgba(255,255,255,.68); background: #171827; font-size: 8px; }
.world-tree-legend span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.world-tree-legend i { width: 9px; height: 9px; display: block; border-radius: 50%; }
.world-tree-legend i.redeemed { background: #b35675; }
.world-tree-legend i.unlocked { background: #f676a1; }
.world-tree-legend i.locked { background: #e8e0e4; }
.existing-world-tree.iris .world-tree-legend i.redeemed { background: #db6389; }
.existing-world-tree.iris .world-tree-legend i.unlocked { background: #ff6f61; }
.existing-world-tree.iris .world-tree-legend i.locked { background: #dcdcdc; }
.world-tree-access-gate { min-height: 390px; padding: 34px 24px; display: grid; align-content: center; justify-items: center; gap: 9px; color: #fff; text-align: center; background: linear-gradient(145deg, #241a2b, #3b1f35); border: 1px solid rgba(255,255,255,.22); border-radius: 17px; box-shadow: 0 18px 40px rgba(24,20,33,.18); }
.world-tree-access-gate.iris { background: linear-gradient(145deg, #17253d, #253961); }
.world-tree-access-gate > span { width: 58px; height: 58px; display: grid; place-items: center; color: #ffd8e6; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 17px; }
.world-tree-access-gate.iris > span { color: #d6deff; }
.world-tree-access-gate > small { margin-top: 7px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.world-tree-access-gate h2 { margin: 0; font-size: 21px; }
.world-tree-access-gate p { max-width: 330px; margin: 0; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.65; }
.world-tree-access-gate > div { width: min(310px, 100%); margin: 12px 0 5px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.world-tree-access-gate > div b, .world-tree-access-gate > div strong { font-size: 10px; white-space: nowrap; }
.world-tree-access-gate > div b { color: #ffb7cf; }
.world-tree-access-gate.iris > div b { color: #bfcaff; }
.world-tree-access-gate > div i { height: 4px; display: block; overflow: hidden; background: rgba(255,255,255,.15); border-radius: 999px; }
.world-tree-access-gate > div i::before { width: 45%; height: 100%; display: block; content: ""; background: #ff7ca8; border-radius: inherit; }
.world-tree-access-gate.iris > div i::before { background: #8ea6ff; }
.world-tree-access-gate > button { min-height: 45px; margin-top: 3px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: rgba(255,255,255,.52); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; font-size: 10px; font-weight: 800; }
.world-tree-unlock-backdrop { padding: 16px; position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; overflow-y: auto; background: rgba(13,10,18,.7); backdrop-filter: blur(9px); }
.world-tree-unlock-dialog { width: min(430px, 100%); max-height: calc(100dvh - 32px); padding: 18px; overflow-y: auto; color: #fff; background: linear-gradient(155deg, #2b1c2a, #171721); border: 1px solid rgba(255,183,209,.34); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.42); }
.world-tree-unlock-dialog.iris { background: linear-gradient(155deg, #1d2e4c, #151d2f); border-color: rgba(188,204,255,.34); }
.world-tree-unlock-dialog > header { display: grid; grid-template-columns: 44px minmax(0,1fr) 40px; align-items: center; gap: 10px; }
.world-tree-unlock-dialog > header > span, .world-tree-unlock-result > span { width: 44px; height: 44px; display: grid; place-items: center; color: #ffb5cf; background: rgba(255,255,255,.09); border-radius: 13px; }
.world-tree-unlock-dialog.iris > header > span, .world-tree-unlock-dialog.iris .world-tree-unlock-result > span { color: #c7d1ff; }
.world-tree-unlock-dialog header small, .world-tree-unlock-result > small { color: rgba(255,255,255,.52); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.world-tree-unlock-dialog h2 { margin: 3px 0 0; font-size: 17px; }
.world-tree-unlock-dialog > header > button { width: 40px; height: 40px; display: grid; place-items: center; color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); border-radius: 11px; }
.world-tree-unlock-question { margin-top: 17px; padding: 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.world-tree-unlock-question strong { display: block; color: #fff; font-size: 14px; line-height: 1.45; }
.world-tree-unlock-question p { margin: 6px 0 0; color: rgba(255,255,255,.66); font-size: 10px; line-height: 1.55; }
.world-tree-unlock-balance { margin-top: 10px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; background: rgba(0,0,0,.15); border-radius: 13px; }
.world-tree-unlock-balance > span { min-width: 0; display: grid; gap: 3px; }
.world-tree-unlock-balance > span:last-child { text-align: right; }
.world-tree-unlock-balance small { color: rgba(255,255,255,.5); font-size: 8px; }
.world-tree-unlock-balance strong { overflow-wrap: anywhere; font-size: 11px; }
.world-tree-unlock-balance > svg { color: rgba(255,255,255,.36); }
.world-tree-unlock-description { margin: 12px 2px 0; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.55; }
.world-tree-unlock-dialog > footer { margin-top: 17px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; }
.world-tree-unlock-dialog > footer button, .world-tree-unlock-result > button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; font-size: 11px; font-weight: 800; }
.world-tree-unlock-dialog > footer button:last-child, .world-tree-unlock-result > button { color: #391426; background: #ff9cbe; border-color: transparent; }
.world-tree-unlock-dialog.iris > footer button:last-child, .world-tree-unlock-dialog.iris .world-tree-unlock-result > button { color: #182340; background: #bfcaff; }
.world-tree-demo-note { margin-top: 9px; display: block; color: rgba(255,255,255,.45); text-align: center; font-size: 8px; }
.world-tree-unlock-result { min-height: 280px; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; }
.world-tree-unlock-result h2 { margin: 2px 0 0; }
.world-tree-unlock-result p { max-width: 310px; margin: 0; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.55; }
.world-tree-unlock-result > button { width: 100%; margin-top: 11px; }
.points-summary { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.points-summary p { margin: 0; padding: 14px; display: grid; gap: 4px; background: #fff; border: 1px solid var(--cv-line); border-radius: 14px; box-shadow: var(--cv-shadow-card); }
.points-summary span { color: var(--cv-text-muted); font-size: 9px; }
.points-summary strong { color: var(--cv-success); font-size: 19px; }
.points-summary p:last-child strong { color: #b3335c; }
.points-ledger { margin-top: 10px; display: grid; gap: 1px; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: var(--cv-shadow-card); }
.points-ledger p { margin: 0; padding: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--cv-line); }
.points-ledger p:last-child { border-bottom: 0; }
.points-ledger span { display: grid; gap: 3px; }
.points-ledger strong { font-size: 11px; }
.points-ledger small { color: var(--cv-text-muted); font-size: 9px; }
.points-ledger b { font-size: 12px; }
.points-ledger b.earned { color: var(--cv-success); }
.points-ledger b.spent { color: #b3335c; }
.account-service-hero { margin-top: 16px; padding: 17px; display: flex; gap: 12px; color: #fff; background: linear-gradient(140deg, #293751, #473254); border-radius: 18px; box-shadow: 0 16px 34px rgba(28,25,41,.16); }
.account-service-hero > span { width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; background: rgba(255,255,255,.1); border-radius: 12px; }
.account-service-hero > div { min-width: 0; }
.account-service-hero small { color: rgba(255,255,255,.58); font-size: 8px; letter-spacing: .08em; }
.account-service-hero strong { margin-top: 3px; display: block; font-size: 13px; }
.account-service-hero p { margin: 5px 0 0; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.45; }
.account-readonly strong i { margin-left: 5px; color: var(--cv-success); font-size: 8px; font-style: normal; }
.account-service-list .menu-leading { align-items: flex-start; }

@media (max-width: 374px) {
  .auth-form { padding: 16px; }
  .member-credential, .redeem-credential { padding: 14px; }
  .event-credential-main { padding: 14px; }
  .credential-sheet .qr-tabs button { font-size: 9px; }
  .credential-sheet .qr-tabs button svg { display: none; }
  .checkout-choice-grid, .payment-methods { grid-template-columns: 1fr; }
  .membership-tabs button { font-size: 9px; }
  .membership-tabs button svg { display: none; }
  .benefit-detail { grid-template-columns: 39px minmax(0,1fr); }
  .benefit-detail > b { grid-column: 2; }
}

@media (min-width: 900px) {
  .credential-sheet { width: min(560px, calc(100vw - 40px)); }
}

@media (prefers-reduced-motion: reduce) {
  .button-spinner { animation-duration: 1.4s; }
  .pass-carousel-track { transition: none; }
}
/* V2.15: complete customer account, verification, checkout, and pending-payment UI. */
.auth-resend:disabled { color: var(--cv-text-subtle); cursor: default; }
.form-feedback { margin: -2px 0 0; padding: 10px 12px; display: flex; align-items: flex-start; gap: 8px; border-radius: 11px; font-size: 12px; line-height: 1.45; }
.form-feedback.error { color: #a52f46; background: #fff0f3; border: 1px solid #f0c8d1; }
.form-feedback.success { color: #1f7650; background: #eef9f3; border: 1px solid #c9e8d7; }
.form-feedback svg { margin-top: 1px; flex: 0 0 auto; }

.single-pass-rule { margin-top: 20px; padding: 14px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.single-pass-rule > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: var(--cv-purple); background: #f1edff; border-radius: 12px; }
.single-pass-rule p { margin: 0; }
.single-pass-rule strong, .single-pass-rule small { display: block; }
.single-pass-rule strong { color: var(--cv-text); font-size: var(--type-body); }
.single-pass-rule small { margin-top: 3px; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }

.checkout-inline-form { margin-top: 9px; padding: 13px; display: grid; gap: 11px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.checkout-inline-form label { display: grid; gap: 6px; color: var(--cv-text-muted); font-size: var(--type-caption); font-weight: 650; }
.checkout-inline-form input { width: 100%; min-height: 48px; padding: 0 12px; color: var(--cv-text); background: #faf8fb; border: 1px solid #d8d2dc; border-radius: var(--cv-radius-sm); font-size: var(--type-body); }
.checkout-inline-form input:focus { border-color: var(--cv-pink); outline: 3px solid rgba(201,35,101,.1); }
.checkout-inline-form > button { min-height: 46px; justify-content: center; gap: 7px; color: var(--cv-pink); background: var(--cv-pink-soft); border: 1px solid rgba(201,35,101,.18); box-shadow: none; font-weight: 750; }
.invoice-fields > p { margin: 0; color: var(--cv-text-muted); font-size: var(--type-caption); line-height: 1.45; }
.checkout-feedback { margin-top: 12px; }
.checkout-pay { margin-top: 24px; bottom: calc(16px + env(safe-area-inset-bottom)); }

.account-service-overview, .account-service-flow { min-height: 100%; }
.account-service-overview > .page-header, .account-service-flow > .page-header { padding-inline: 0; }
.verified-contact-list { display: grid; gap: 8px; }
.verified-contact-list button { min-height: 66px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.verified-contact-list button > span { min-width: 0; display: flex; align-items: center; gap: 10px; }
.verified-contact-list button > span > svg { width: 38px; height: 38px; padding: 9px; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 11px; }
.verified-contact-list small, .verified-contact-list strong { display: block; }
.verified-contact-list small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.verified-contact-list strong { margin-top: 2px; font-size: var(--type-secondary); }
.verified-contact-list b { color: var(--cv-pink); font-size: var(--type-caption); }
.account-progress { margin-top: 18px; }
.account-verify-card { margin-top: 14px; padding: 18px; color: #fff; background: linear-gradient(140deg, #2b2340, #4b3153); border-radius: var(--cv-radius-lg); }
.account-verify-card small { color: #d8c9ff; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.account-verify-card h2 { margin: 5px 0 0; font-size: 1.15rem; }
.account-verify-card p { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: var(--type-secondary); line-height: 1.5; }
.account-verify-form { margin-top: 12px; }
.account-service-done { margin-top: 28px; }
.discord-account-card { margin-top: 18px; padding: 26px 18px; text-align: center; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); }
.discord-account-card > span { width: 58px; height: 58px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-purple); background: #f1edff; border-radius: 17px; }
.discord-account-card.bound > span { color: var(--cv-success); background: var(--cv-success-soft); }
.discord-account-card small { margin-top: 13px; display: block; color: var(--cv-text-subtle); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.discord-account-card h2 { margin: 5px 0 0; font-size: 1.2rem; }
.discord-account-card p { margin: 7px auto 0; max-width: 290px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }
.account-oauth-action, .secondary-danger-action { width: 100%; margin-top: 14px; }
.secondary-danger-action { min-height: 50px; color: #b5364f; background: #fff3f5; border: 1px solid #efc8d1; border-radius: var(--cv-radius-md); font-weight: 750; }
.language-choice { display: grid; gap: 8px; }
.language-choice button { min-height: 64px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; color: var(--cv-text); text-align: left; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.language-choice button.selected { border-color: var(--cv-pink); box-shadow: 0 0 0 3px rgba(201,35,101,.08); }
.language-choice strong, .language-choice small { display: block; }
.language-choice small { margin-top: 2px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.language-choice svg { color: var(--cv-pink); }

.pending-payment-compact { width: 100%; text-align: left; }
.pending-payment-compact > span:nth-child(2) { width: auto; height: auto; min-width: 0; display: grid; place-items: initial; gap: 2px; color: inherit; background: transparent; border-radius: 0; }
.pending-payment-compact > span:nth-child(2) small,
.pending-payment-compact > span:nth-child(2) em { overflow: hidden; color: #876b30; font-size: var(--type-caption); font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.pending-payment-compact > span:nth-child(2) strong { overflow: hidden; color: var(--cv-text); font-size: var(--type-secondary); text-overflow: ellipsis; white-space: nowrap; }
.pending-payment-backdrop { z-index: 130; }
.pending-payment-sheet { width: 100%; max-height: min(90dvh, 760px); padding: 9px 18px calc(22px + env(safe-area-inset-bottom)); overflow-y: auto; color: var(--cv-text); background: #fffafb; border-radius: 26px 26px 0 0; }
.pending-payment-sheet > header { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pending-payment-sheet > header small { color: var(--cv-text-subtle); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.pending-payment-sheet > header h2 { margin: 3px 0 0; font-size: 1.2rem; }
.pending-payment-sheet .icon-button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cv-text-muted); background: #f0edf2; border-radius: 13px; }
.pending-payment-summary { min-height: 76px; padding: 12px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.pending-payment-summary > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--cv-pink); background: var(--cv-pink-soft); border-radius: 12px; }
.pending-payment-summary small, .pending-payment-summary strong, .pending-payment-summary em { display: block; }
.pending-payment-summary small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.pending-payment-summary strong { margin-top: 2px; font-size: var(--type-secondary); }
.pending-payment-summary em { margin-top: 2px; color: var(--cv-pink); font-size: var(--type-caption); font-style: normal; font-weight: 750; }
.pending-payment-summary > b { padding: 6px 9px; color: #7b560d; background: #f6e2af; border-radius: 999px; font-size: 10px; }
.pending-payment-clock { margin-top: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 11px; color: #765512; background: #fff7e5; border: 1px solid #ecd9aa; border-radius: var(--cv-radius-md); }
.pending-payment-clock > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; background: #fff; border-radius: 11px; }
.pending-payment-clock p { margin: 0; }
.pending-payment-clock small, .pending-payment-clock strong, .pending-payment-clock em { display: block; }
.pending-payment-clock small { font-size: var(--type-caption); }
.pending-payment-clock strong { margin-top: 1px; font-size: var(--type-secondary); }
.pending-payment-clock em { margin-top: 2px; font-size: var(--type-caption); font-style: normal; }
.cvs-code-card.compact { margin-top: 10px; }
.pending-ibon-help { margin-top: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.pending-ibon-help summary { cursor: pointer; font-size: var(--type-secondary); font-weight: 750; }
.pending-ibon-help ol { margin: 10px 0 0; padding-left: 20px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.8; }
.pending-payment-final { padding: 34px 16px 8px; text-align: center; }
.pending-payment-final > span { width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; color: var(--cv-text-muted); background: #efecf0; border-radius: 50%; }
.pending-payment-final h3 { margin: 14px 0 0; font-size: 1.2rem; }
.pending-payment-final p { margin: 7px auto 0; max-width: 300px; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }
.pending-payment-final .primary-action { margin-top: 20px; }

@media (min-width: 821px) {
  .pending-payment-sheet { max-width: 430px; margin: 0 auto; }
}

/* Public attendance */
.attendance-screen { --attendance-accent: #c92365; }
.attendance-person-scope { min-height: 64px; margin-top: 10px; padding: 8px 10px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.attendance-person-scope .media { width: 46px; height: 46px; border-radius: 50%; }
.attendance-person-scope span { min-width: 0; }
.attendance-person-scope small, .attendance-person-scope strong { display: block; }
.attendance-person-scope small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.attendance-person-scope strong { margin-top: 1px; font-size: var(--type-secondary); }
.attendance-person-scope button { min-height: 38px; padding: 0 10px; color: var(--attendance-accent); background: var(--cv-pink-soft); border-radius: 10px; font-size: var(--type-caption); font-weight: 750; white-space: nowrap; }
.attendance-week-nav { margin-top: 8px; padding: 14px 0 12px; border-top: 1px solid var(--cv-line); border-bottom: 1px solid var(--cv-line); }
.attendance-week-nav > header { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.attendance-week-nav > header > div { min-width: 0; }
.attendance-week-nav > header small, .attendance-week-nav > header strong { display: block; }
.attendance-week-nav > header small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.attendance-week-nav > header strong { margin-top: 2px; font-size: var(--type-body); }
.attendance-week-nav > header time { color: var(--cv-text-subtle); font-size: var(--type-caption); white-space: nowrap; }
.attendance-week-nav > header button { min-height: 40px; padding: 0 12px; color: var(--attendance-accent); background: var(--cv-pink-soft); border-radius: 10px; font-size: var(--type-caption); font-weight: 750; white-space: nowrap; }
.attendance-date-rail { margin: 11px 0 0; padding: 0 0 4px; display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
.attendance-date-rail::-webkit-scrollbar { display: none; }
.attendance-date-rail button { width: 50px; min-width: 50px; height: 58px; padding: 6px 3px; display: grid; place-items: center; align-content: center; gap: 2px; color: var(--cv-text-muted); background: var(--cv-surface); border: 1px solid transparent; border-radius: 12px; scroll-snap-align: start; }
.attendance-date-rail button strong, .attendance-date-rail button small { white-space: nowrap; }
.attendance-date-rail button strong { font-size: var(--type-caption); }
.attendance-date-rail button small { color: inherit; font-size: var(--type-caption); }
.attendance-date-rail button.active { color: #fff; background: var(--attendance-accent); border-color: var(--attendance-accent); box-shadow: 0 7px 16px rgba(201,35,101,.18); }
.attendance-store-filter { margin-top: 12px; grid-template-columns: repeat(3, 1fr); }
.attendance-result-count { margin: 16px 1px 8px; color: var(--cv-text-muted); font-size: var(--type-caption); }
.attendance-day-group { margin-top: 16px; }
.attendance-day-group > header { min-height: 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.attendance-day-group > header > div { display: flex; align-items: baseline; gap: 7px; }
.attendance-day-group > header small { color: var(--attendance-accent); font-size: var(--type-caption); font-weight: 800; }
.attendance-day-group > header h2 { margin: 0; font-size: var(--type-section); }
.attendance-day-group > header > span { color: var(--cv-text-muted); font-size: var(--type-caption); }
.attendance-list { display: grid; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-lg); box-shadow: var(--cv-shadow-card); }
.attendance-row { width: 100%; min-height: 80px; padding: 10px 12px; display: grid; grid-template-columns: 56px minmax(0,1fr) 22px; align-items: center; gap: 11px; color: var(--cv-text); text-align: left; border-bottom: 1px solid var(--cv-line); }
.attendance-row:last-child { border-bottom: 0; }
.attendance-row .media { width: 56px; height: 56px; border-radius: 15px; }
.attendance-row > span { min-width: 0; display: grid; gap: 2px; }
.attendance-row small { color: var(--attendance-accent); font-size: var(--type-caption); font-weight: 750; }
.attendance-row strong { overflow: hidden; font-size: var(--type-body); text-overflow: ellipsis; white-space: nowrap; }
.attendance-row em { display: flex; align-items: center; gap: 7px; color: var(--cv-text-muted); font-size: var(--type-secondary); font-style: normal; white-space: nowrap; }
.attendance-row em b { padding: 3px 6px; color: #2e5d91; background: #eaf3ff; border-radius: 7px; font-size: var(--type-caption); }
.attendance-row > svg { color: var(--cv-text-subtle); }
.attendance-state { min-height: 260px; padding: 28px 18px; display: grid; align-content: center; justify-items: center; gap: 8px; text-align: center; }
.attendance-state > span { width: 58px; height: 58px; display: grid; place-items: center; color: var(--attendance-accent); background: var(--cv-pink-soft); border-radius: 17px; }
.attendance-state h2 { margin: 4px 0 0; font-size: var(--type-section); }
.attendance-state p { max-width: 300px; margin: 0; color: var(--cv-text-muted); font-size: var(--type-secondary); line-height: 1.5; }
.attendance-state .primary-action { min-width: 180px; margin-top: 10px; }
.attendance-skeleton { width: 100%; min-height: 80px; padding: 11px; display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); }
.attendance-skeleton i, .attendance-skeleton b { display: block; background: linear-gradient(90deg, #eeeaf0 25%, #f8f5f8 50%, #eeeaf0 75%); background-size: 220% 100%; border-radius: 8px; animation: attendance-shimmer 1.4s infinite linear; }
.attendance-skeleton i { width: 56px; height: 56px; border-radius: 15px; }
.attendance-skeleton span { display: grid; gap: 7px; }
.attendance-skeleton b { height: 9px; }
.attendance-skeleton b:nth-child(1) { width: 36%; }
.attendance-skeleton b:nth-child(2) { width: 68%; height: 13px; }
.attendance-skeleton b:nth-child(3) { width: 52%; }
@keyframes attendance-shimmer { to { background-position: -220% 0; } }
.attendance-note { margin-top: 20px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 9px; color: var(--cv-text-muted); background: #f0edf2; border-radius: var(--cv-radius-md); }
.attendance-note svg { flex: 0 0 auto; color: var(--cv-purple); }
.attendance-note p { margin: 0; font-size: var(--type-caption); line-height: 1.5; }
.attendance-state-preview { margin-top: 12px; padding: 11px 13px; color: var(--cv-text-muted); background: #fff; border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); font-size: var(--type-caption); }
.attendance-state-preview summary { cursor: pointer; font-weight: 700; }
.attendance-state-preview > div { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.attendance-state-preview button { min-height: 36px; padding: 0 11px; color: var(--cv-text); background: #f1eef3; border-radius: 9px; font-weight: 700; }
.discover-attendance-preview { overflow: hidden; }
.discover-attendance-days { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(116px, 32vw, 128px); gap: 8px; overflow-x: auto; padding: 0 0 8px; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-inline: contain; }
.discover-attendance-days::-webkit-scrollbar { display: none; }
.discover-attendance-days > button { min-height: 156px; padding: 12px; display: grid; align-content: start; justify-items: start; gap: 8px; overflow: hidden; color: var(--cv-text); text-align: left; background: var(--cv-surface); border: 1px solid var(--cv-line); border-radius: var(--cv-radius-md); scroll-snap-align: start; }
.discover-attendance-date { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 4px; }
.discover-attendance-date small { color: var(--cv-text-muted); font-size: var(--type-caption); }
.discover-attendance-date strong { color: var(--cv-pink); font-size: var(--type-secondary); }
.discover-attendance-avatars { width: 100%; min-height: 48px; display: flex; align-items: center; }
.discover-attendance-avatars .media { width: 48px; height: 48px; flex: 0 0 48px; overflow: hidden; border: 2px solid var(--cv-surface); border-radius: 50%; }
.discover-attendance-avatars .media + .media { margin-left: -16px; }
.discover-attendance-avatars .media:nth-child(1) { z-index: 3; }
.discover-attendance-avatars .media:nth-child(2) { z-index: 2; }
.discover-attendance-avatars .media:nth-child(3) { z-index: 1; }
.discover-attendance-copy { width: 100%; min-width: 0; display: grid; gap: 3px; }
.discover-attendance-copy strong, .discover-attendance-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discover-attendance-copy strong { font-size: var(--type-secondary); }
.discover-attendance-copy small { color: var(--cv-text-muted); font-size: var(--type-caption); }

@media (min-width: 390px) {
  .attendance-date-rail button { width: auto; min-width: 0; flex: 1; }
}

@media (max-width: 374px) {
  .attendance-row { grid-template-columns: 50px minmax(0,1fr) 20px; gap: 9px; }
  .attendance-row .media { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .attendance-skeleton i, .attendance-skeleton b { animation: none; }
}
