/* ═══════════════════════════════════════════════════════════════
   EXPERTLE v3 — Design System
   Additive layer. Does not override theme.css.
   All classes prefixed v3- to avoid collisions.
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────────── */

:root {
  /* Primary */
  --v3-primary: #6F65D4;
  --v3-primary-hover: #534AB7;
  --v3-primary-fill: #EEEDFE;
  --v3-primary-text: #3C3489;
  --v3-primary-deep: #26215C;

  /* Success */
  --v3-success: #1D9E75;
  --v3-success-fill: #E1F5EE;
  --v3-success-text: #085041;

  /* Warning */
  --v3-warning: #EF9F27;
  --v3-warning-fill: #FAEEDA;
  --v3-warning-text: #854F0B;

  /* Borders */
  --v3-border-tertiary: rgba(0,0,0,0.08);
  --v3-border-secondary: rgba(0,0,0,0.15);

  /* Backgrounds */
  --v3-bg-primary: #FFFFFF;
  --v3-bg-secondary: #F5F4F8;
  --v3-bg-tertiary: #FAFAFE;

  /* Text */
  --v3-text-primary: #1A1A1A;
  --v3-text-secondary: #5F5E5A;
  --v3-text-tertiary: #888780;

  /* Typography */
  --v3-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --v3-font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Radii */
  --v3-radius-hero: 18px;
  --v3-radius-card: 14px;
  --v3-radius-input: 12px;
  --v3-radius-pill: 10px;

  /* Focus ring */
  --v3-focus-ring: 0 0 0 3px rgba(111,101,212,0.25);
}


/* ── Base Reset (scoped to v3 views) ─────────────────────────── */

[id^="view-v3"] {
  font-family: var(--v3-font-family);
  color: var(--v3-text-primary);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[id^="view-v3"] *, [id^="view-v3"] *::before, [id^="view-v3"] *::after {
  box-sizing: border-box;
}


/* ── Primary Button ──────────────────────────────────────────── */

.v3-btn-primary {
  padding: 16px 26px;
  background: var(--v3-primary);
  color: #fff;
  border: 0;
  border-radius: var(--v3-radius-card);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--v3-font-family);
  transition: background 0.15s;
  line-height: 1;
}
.v3-btn-primary:hover { background: var(--v3-primary-hover); }
.v3-btn-primary:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.v3-btn-primary.v3-full-width { width: 100%; justify-content: center; }
.v3-btn-primary.v3-btn-compact {
  padding: 13px 24px;
  font-size: 14px;
  border-radius: var(--v3-radius-input);
}


/* ── Secondary Button ────────────────────────────────────────── */

.v3-btn-secondary {
  padding: 13px 22px;
  background: var(--v3-bg-primary);
  color: var(--v3-text-primary);
  border: 0.5px solid var(--v3-border-secondary);
  border-radius: var(--v3-radius-input);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--v3-font-family);
  transition: border-color 0.15s;
  line-height: 1;
}
.v3-btn-secondary:hover { border-color: var(--v3-primary); }
.v3-btn-secondary:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-btn-secondary.v3-full-width { width: 100%; justify-content: center; }


/* ── Text Link ───────────────────────────────────────────────── */

.v3-text-link {
  font-size: 13px;
  color: var(--v3-text-tertiary);
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  font-family: var(--v3-font-family);
  padding: 0;
  line-height: 1.4;
}
.v3-text-link:hover { color: var(--v3-text-secondary); }
.v3-text-link:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); border-radius: 4px; }


/* ── Tag Pill ────────────────────────────────────────────────── */

.v3-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.v3-tag-pill--primary {
  background: var(--v3-primary-fill);
  color: var(--v3-primary-text);
}
.v3-tag-pill--success {
  background: var(--v3-success-fill);
  color: var(--v3-success-text);
}
.v3-tag-pill--warning {
  background: var(--v3-warning-fill);
  color: var(--v3-warning-text);
}
.v3-tag-pill--neutral {
  background: var(--v3-bg-secondary);
  color: var(--v3-text-secondary);
}
.v3-tag-pill__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}


/* ── Top Nav ─────────────────────────────────────────────────── */

.v3-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 0.5px solid var(--v3-border-tertiary);
  background: var(--v3-bg-primary);
}
.v3-topnav__logo {
  font-size: 19px;
  font-weight: 500;
  color: var(--v3-primary);
  letter-spacing: -0.01em;
}
.v3-topnav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v3-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--v3-bg-secondary);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
}
.v3-icon-btn:hover { background: var(--v3-border-tertiary); }
.v3-icon-btn:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--v3-primary-fill);
  color: var(--v3-primary-text);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
}
.v3-avatar:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }


/* ── Workspace Header ────────────────────────────────────────── */

.v3-workspace-header {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 0.5px solid var(--v3-border-tertiary);
  gap: 14px;
  background: var(--v3-bg-primary);
}
.v3-workspace-header__title { flex: 1; }
.v3-workspace-header__code {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  font-family: var(--v3-font-mono);
  margin: 0 0 2px;
  letter-spacing: 0.04em;
}
.v3-workspace-header__name {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.v3-saved-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--v3-success);
  font-weight: 500;
}
.v3-saved-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-success);
}


/* ── Hero Next-Up Card ───────────────────────────────────────── */

.v3-hero-card {
  background: var(--v3-bg-primary);
  border: 2px solid var(--v3-primary);
  border-radius: 20px;
  padding: 28px 32px;
}
.v3-hero-card__tag { margin-bottom: 18px; }
.v3-hero-card__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--v3-text-primary);
  line-height: 1.25;
}
.v3-hero-card__body {
  font-size: 15px;
  color: var(--v3-text-secondary);
  margin: 0 0 18px;
  line-height: 1.6;
  max-width: 560px;
}
.v3-hero-card__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--v3-text-tertiary);
  margin-bottom: 24px;
}
.v3-hero-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.v3-hero-card__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}


/* ── Stepper ─────────────────────────────────────────────────── */

.v3-stepper {
  display: flex;
  align-items: center;
  padding: 22px 28px;
  background: var(--v3-bg-tertiary);
  border-bottom: 0.5px solid var(--v3-border-tertiary);
}
.v3-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  flex-shrink: 0;
  cursor: pointer;
}
.v3-stepper__circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  background: var(--v3-bg-primary);
  border: 1.5px solid var(--v3-border-secondary);
  color: var(--v3-text-secondary);
  transition: all 0.15s;
}
.v3-stepper__step--done .v3-stepper__circle {
  background: var(--v3-success);
  border-color: var(--v3-success);
  color: #fff;
}
.v3-stepper__step--current .v3-stepper__circle {
  background: var(--v3-primary);
  border-color: var(--v3-primary);
  color: #fff;
}
.v3-stepper__step--locked .v3-stepper__circle {
  background: var(--v3-bg-secondary);
  border: 1.5px dashed var(--v3-border-tertiary);
  color: var(--v3-text-tertiary);
}
.v3-stepper__label {
  font-size: 11px;
  color: var(--v3-text-secondary);
  margin-top: 7px;
  max-width: 100px;
  text-align: center;
  line-height: 1.3;
}
.v3-stepper__step--current .v3-stepper__label {
  color: var(--v3-primary-text);
  font-weight: 500;
}
.v3-stepper__step--locked .v3-stepper__label {
  color: var(--v3-text-tertiary);
}
.v3-stepper__line {
  flex: 1;
  height: 1.5px;
  background: var(--v3-border-tertiary);
  margin-top: 0;
  min-width: 16px;
  align-self: center;
  position: relative;
  top: -8px;
}
.v3-stepper__line--done { background: var(--v3-success); }


/* ── Status List ─────────────────────────────────────────────── */

.v3-status-list { padding: 0; }
.v3-status-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--v3-border-tertiary);
}
.v3-status-list__item:last-child { border-bottom: 0; }
.v3-status-list__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.v3-status-list__icon--done {
  background: var(--v3-success);
}
.v3-status-list__icon--current {
  background: transparent;
  border: 2px solid var(--v3-primary);
  position: relative;
}
.v3-status-list__icon--current::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-primary-fill);
  animation: v3-pulse 1s ease-in-out infinite;
}
.v3-status-list__icon--pending {
  background: var(--v3-bg-secondary);
  border: 1.5px dashed var(--v3-border-tertiary);
}
.v3-status-list__body { flex: 1; }
.v3-status-list__label {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.v3-status-list__sublabel {
  font-size: 12px;
  color: var(--v3-text-tertiary);
  margin: 2px 0 0;
}
.v3-status-list__count {
  font-size: 13px;
  color: var(--v3-primary);
  font-weight: 500;
}
.v3-status-list__action {
  font-size: 13px;
  color: var(--v3-primary);
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--v3-font-family);
}

@keyframes v3-pulse {
  0%, 100% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
}


/* ── How It Works Strip ──────────────────────────────────────── */

.v3-howitworks {
  background: var(--v3-bg-tertiary);
  border-top: 0.5px solid var(--v3-border-tertiary);
  padding: 32px 28px 36px;
}
.v3-howitworks__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.v3-howitworks__label {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px;
}
.v3-howitworks__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.v3-howitworks__step {
  background: var(--v3-bg-primary);
  border: 0.5px solid var(--v3-border-tertiary);
  border-radius: var(--v3-radius-card);
  padding: 16px 14px;
  text-align: center;
}
.v3-howitworks__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--v3-primary-fill);
  color: var(--v3-primary-text);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.v3-howitworks__text {
  font-size: 12px;
  font-weight: 500;
  color: var(--v3-text-primary);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .v3-howitworks__grid { grid-template-columns: repeat(2, 1fr); }
  .v3-howitworks__step:last-child { grid-column: span 2; }
}


/* ── Segmented Toggle ────────────────────────────────────────── */

.v3-segmented {
  display: inline-flex;
  background: var(--v3-bg-secondary);
  border-radius: var(--v3-radius-input);
  padding: 3px;
  gap: 2px;
}
.v3-segmented__option {
  padding: 9px 18px;
  background: transparent;
  color: var(--v3-text-secondary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  font-family: var(--v3-font-family);
  transition: all 0.15s;
  line-height: 1;
}
.v3-segmented__option:hover { color: var(--v3-text-primary); }
.v3-segmented__option--active {
  background: var(--v3-bg-primary);
  color: var(--v3-text-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.v3-segmented__option:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }


/* ── Audience Card ───────────────────────────────────────────── */

.v3-audience-card {
  border: 1.5px solid var(--v3-border-tertiary);
  border-radius: var(--v3-radius-card);
  padding: 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: var(--v3-bg-primary);
}
.v3-audience-card:hover { border-color: var(--v3-border-secondary); }
.v3-audience-card--selected {
  border-color: var(--v3-primary);
  background: var(--v3-primary-fill);
}
.v3-audience-card:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-audience-card__icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.v3-audience-card__title {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 2px;
}
.v3-audience-card__subtitle {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  margin: 0;
}


/* ── Theme Card ──────────────────────────────────────────────── */

.v3-theme-card {
  background: var(--v3-bg-primary);
  border: 1.5px solid var(--v3-border-tertiary);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: border-color 0.15s;
}
.v3-theme-card:hover { border-color: var(--v3-border-secondary); }
.v3-theme-card--selected { border: 2px solid var(--v3-primary); }
.v3-theme-card:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-theme-card__tick {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--v3-primary);
  display: none;
  align-items: center;
  justify-content: center;
}
.v3-theme-card--selected .v3-theme-card__tick { display: flex; }
.v3-theme-card__vis {
  height: 64px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v3-theme-card__bar {
  height: 5px;
  border-radius: 2px;
}
.v3-theme-card__row {
  display: flex;
  gap: 4px;
  align-items: center;
}
.v3-theme-card__aa {
  font-size: 13px;
  font-weight: 500;
}
.v3-theme-card__line {
  flex: 1;
  height: 2px;
  border-radius: 1px;
}
.v3-theme-card__name {
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--v3-text-primary);
  border-top: 0.5px solid var(--v3-border-tertiary);
}
.v3-theme-card--selected .v3-theme-card__name { color: var(--v3-primary-text); }


/* ── Logo Uploader ───────────────────────────────────────────── */

.v3-logo-uploader {
  background: var(--v3-bg-primary);
  border: 0.5px dashed var(--v3-border-secondary);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
}
.v3-logo-uploader:hover { border-color: var(--v3-primary); }
.v3-logo-uploader__icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--v3-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.v3-logo-uploader__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--v3-text-primary);
  margin: 0 0 2px;
}
.v3-logo-uploader__subtitle {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  margin: 0;
}
.v3-logo-uploader__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}


/* ── Themed Preview ──────────────────────────────────────────── */

.v3-preview-tabs {
  display: flex;
  gap: 7px;
  padding: 14px 22px;
  border-bottom: 0.5px solid var(--v3-border-tertiary);
  align-items: center;
}
.v3-preview-tabs__label {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  margin-right: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v3-preview-tab {
  padding: 7px 14px;
  background: var(--v3-bg-secondary);
  color: var(--v3-text-secondary);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  font-family: var(--v3-font-family);
  transition: all 0.15s;
}
.v3-preview-tab--active {
  background: var(--v3-primary);
  color: #fff;
}
.v3-preview-tab:focus-visible { outline: none; box-shadow: var(--v3-focus-ring); }
.v3-preview-live {
  margin-left: auto;
  font-size: 11px;
  color: var(--v3-success);
  display: flex;
  align-items: center;
  gap: 6px;
}
.v3-preview-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--v3-success);
}

.v3-preview-canvas {
  padding: 32px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.v3-preview-page {
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.04);
  overflow: hidden;
}
.v3-preview-top {
  height: 92px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.v3-preview-logo-block {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.v3-preview-code {
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  font-family: var(--v3-font-mono);
  letter-spacing: 0.05em;
  margin: 0;
}
.v3-preview-body { padding: 24px 24px 30px; }
.v3-preview-tag {
  display: inline-block;
  font-size: 9px;
  padding: 4px 10px;
  border-radius: 7px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.v3-preview-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 16px;
  line-height: 1.3;
}
.v3-preview-rule {
  width: 42px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.v3-preview-meta {
  font-size: 11px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0 0 14px;
}
.v3-preview-mini-heading {
  font-size: 10px;
  font-weight: 500;
  margin: 16px 0 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.v3-preview-line {
  height: 5px;
  border-radius: 2px;
  margin-bottom: 5px;
  opacity: 0.18;
}
.v3-preview-line--short { width: 70%; }
.v3-preview-line--med { width: 90%; }
.v3-preview-callout {
  background: #fff;
  border-left-width: 3px;
  border-left-style: solid;
  padding: 10px 13px;
  margin: 14px 0 0;
  border-radius: 0 6px 6px 0;
}
.v3-preview-callout__label {
  font-size: 8px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.v3-preview-callout__line {
  height: 4px;
  border-radius: 1px;
  margin-bottom: 3px;
  opacity: 0.2;
}


/* ── Section Headers (uppercase labels) ──────────────────────── */

.v3-section-header {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}
.v3-section-header__count {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}


/* ── Progress Bar ────────────────────────────────────────────── */

.v3-progress-bar {
  height: 4px;
  background: var(--v3-bg-secondary);
}
.v3-progress-bar__fill {
  height: 100%;
  background: var(--v3-primary);
  transition: width 0.3s ease;
}


/* ── Step Pill (header) ──────────────────────────────────────── */

.v3-step-pill {
  font-size: 12px;
  color: var(--v3-text-tertiary);
  background: var(--v3-bg-secondary);
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 500;
}


/* ── Welcome Page (Phase 1) ──────────────────────────────────── */

.v3-welcome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--v3-bg-tertiary);
}
.v3-welcome__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 28px 40px;
  max-width: 560px;
  margin: 0 auto;
}
.v3-welcome__icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--v3-primary-fill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(111,101,212,0.12);
}
.v3-welcome__title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--v3-text-primary);
  line-height: 1.25;
}
.v3-welcome__body {
  font-size: 15px;
  color: var(--v3-text-secondary);
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 400px;
}


/* ── Creation Flow Shell ─────────────────────────────────────── */

.v3-create-shell {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--v3-bg-primary);
  min-height: 100vh;
  border-left: 0.5px solid var(--v3-border-tertiary);
  border-right: 0.5px solid var(--v3-border-tertiary);
}
.v3-create-header {
  display: flex;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 0.5px solid var(--v3-border-tertiary);
  gap: 14px;
}
.v3-create-header__title { flex: 1; }
.v3-create-header__code {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  margin: 0 0 2px;
}
.v3-create-header__name {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.v3-create-body-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 560px;
}
.v3-create-col-left {
  background: var(--v3-bg-tertiary);
  border-right: 0.5px solid var(--v3-border-tertiary);
  padding: 22px;
  overflow-y: auto;
}
.v3-create-col-right {
  background: var(--v3-bg-primary);
}

@media (max-width: 800px) {
  .v3-create-body-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Footer ──────────────────────────────────────────────────── */

.v3-footer {
  padding: 16px 22px;
  border-top: 0.5px solid var(--v3-border-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--v3-bg-primary);
}


/* ── Fine-tune Accordion ─────────────────────────────────────── */

.v3-fine-tune {
  padding: 14px 16px;
  background: var(--v3-bg-primary);
  border: 0.5px solid var(--v3-border-tertiary);
  border-radius: 12px;
}
.v3-fine-tune__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.v3-fine-tune__title {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}
.v3-fine-tune__subtitle {
  font-size: 11px;
  color: var(--v3-text-tertiary);
  margin: 2px 0 0;
}


/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 800px) {
  .v3-topnav { padding: 14px 20px; }
  .v3-welcome__hero { padding: 40px 24px 36px; }
}
