:root {
  color-scheme: light;
  --canvas: #f3f0e8;
  --paper: #fffefb;
  --ink: #172522;
  --muted: #66736e;
  --teal: #0f7469;
  --teal-dark: #083f3b;
  --teal-soft: #e4f0ec;
  --gold: #bf9144;
  --gold-soft: #f7ecd6;
  --yellow: #fff8d8;
  --error: #a8473b;
  --error-soft: #fff0ed;
  --line: rgba(23, 37, 34, 0.14);
  --line-strong: rgba(23, 37, 34, 0.24);
  --radius: 18px;
  --radius-small: 12px;
  --shadow: 0 24px 64px rgba(20, 44, 39, 0.09);
  --float-shadow: 0 14px 34px rgba(20, 44, 39, 0.09), 0 2px 8px rgba(20, 44, 39, 0.04);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { color: inherit; font: inherit; }
button, summary, label, a { -webkit-tap-highlight-color: transparent; }
button { border-radius: 0; }
img { display: block; max-width: 100%; }
a { color: var(--teal); }
[hidden], .is-hidden { display: none !important; }

:where(button, input, textarea, select, summary, a, [tabindex]):focus-visible {
  outline: 3px solid rgba(191, 145, 68, 0.55);
  outline-offset: 3px;
}

:where(button, input, textarea, select):disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.app-shell {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 90% 3%, rgba(15, 116, 105, 0.1), transparent 25rem),
    linear-gradient(rgba(15, 116, 105, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 116, 105, 0.025) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.topbar, .configurator {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 80px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-button {
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  text-align: left;
}

.brand-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.23em;
  line-height: 1.4;
}

.top-status {
  min-height: 48px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.save-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(191, 145, 68, 0.12);
}

.save-dot.is-saved {
  background: #4aa980;
  box-shadow: 0 0 0 5px rgba(74, 169, 128, 0.12);
}

.save-dot.is-error {
  background: var(--error);
  box-shadow: 0 0 0 5px rgba(168, 71, 59, 0.12);
}

.mobile-progress { display: none; }

.configurator { padding: 38px 0 112px; }
.workspace { min-width: 0; }
.step-content { min-height: 590px; }

.workspace-heading-wrap {
  padding-bottom: 24px;
  border-bottom: 3px solid var(--teal);
}

.eyebrow, .workspace-heading-wrap .eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

.workspace-heading-wrap h1, .complete-card h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(29px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.42;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
}

.workspace-heading-wrap > p:last-child {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.workspace-actions {
  position: sticky;
  z-index: 20;
  bottom: 16px;
  min-height: 84px;
  margin-top: 42px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 251, 0.94);
  box-shadow: 0 20px 50px rgba(20, 44, 39, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.action-summary { min-width: 0; }
.action-summary span, .action-summary strong, .action-summary small { display: block; }
.action-summary span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.action-summary strong { margin-top: 4px; font-size: 16px; line-height: 1.5; }
.action-summary small {
  margin-top: 4px;
  color: var(--error);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.action-buttons { flex: 0 0 auto; display: flex; gap: 10px; }

.back-button, .next-button, .intro-button, .complete-actions button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-small);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.back-button { background: transparent; color: var(--teal); }
.next-button {
  min-width: 220px;
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.back-button:not(:disabled):hover, .complete-actions button:last-child:hover { background: var(--teal-soft); }
.next-button:not(:disabled):hover, .intro-button:hover, .complete-actions button:first-child:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.same-price-banner, .type-option, .text-field, .optional-details, .action-options,
.class-notice, .section-options, .detail-form, .section-photo-upload, .asset-card,
.section-ai-image, .photo-mode-grid button, .upload-zone, .ai-swipe-note,
.mood-options button, .review-overview, .price-card, .plan-badge, .billing-timing,
.additional-price, .consent-row, .official-contact-note, .readonly-banner, .resume-url-card, .test-autofill-notice, .complete-card {
  border-radius: var(--radius);
  box-shadow: var(--float-shadow);
}

.same-price-banner {
  margin: 26px 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 116, 105, 0.2);
  background: var(--teal-soft);
}
.same-price-banner p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.same-price-banner strong { display: block; color: var(--ink); font-size: 16px; }

.type-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.type-option {
  position: relative;
  min-width: 0;
  min-height: 396px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.84);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.type-option:hover { border-color: rgba(15, 116, 105, 0.45); transform: translateY(-3px); }
.type-option.is-selected, .type-option[aria-checked="true"] {
  border: 2px solid var(--teal);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.type-option-top { display: flex; align-items: center; gap: 8px; }
.type-option-top > span { color: var(--gold); font: 19px Georgia, "Times New Roman", serif; }
.type-option-top > small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.type-option-top > em {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.page-diagram {
  position: relative;
  height: 138px;
  margin: 18px 0 20px;
  overflow: hidden;
  border-radius: 14px;
  background: #e4e7e0;
}
.page-diagram i { position: absolute; display: block; border-radius: 2px; background: currentColor; }
.page-diagram i:first-child { inset: 13px 52% 13px 13px; opacity: 0.9; }
.page-diagram i:nth-child(2) { top: 22px; right: 14px; width: 36%; height: 9px; opacity: 0.8; }
.page-diagram i:nth-child(3) { top: 45px; right: 24px; width: 27%; height: 5px; opacity: 0.4; }
.page-diagram i:nth-child(4) { right: 14px; bottom: 17px; width: 36%; height: 36px; opacity: 0.18; }
.page-diagram.profile { color: #1a615a; background: #dbe9e3; }
.page-diagram.business { color: #314d59; background: #dde4e6; }
.page-diagram.event { color: #bc6b4f; background: #f0dfd6; }

.type-option h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  line-break: strict;
  overflow-wrap: anywhere;
}
.type-option > p { min-height: 60px; margin: 8px 0 14px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.flow-line {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--canvas);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.flow-line span { margin-right: 8px; color: var(--teal); font-weight: 900; }
.select-mark { display: block; min-height: 24px; margin-top: 13px; color: var(--teal); font-size: 14px; line-height: 1.7; }

.core-fields, .optional-fields, .goal-grid, .asset-layout, .design-fields, .review-grid { margin-top: 28px; }
.core-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.core-fields .text-field:first-child,
.core-fields .text-field:nth-child(2) { grid-column: 1 / -1; }

.text-field {
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.9);
  display: block;
}
.text-field > span {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.6;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.text-field > span b {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f6e5dc;
  color: #a8503d;
  font-size: 11px;
  line-height: 1.4;
}
.text-field > small { display: block; margin: 7px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.text-field input, .text-field textarea, .text-field select,
.ai-image-prompt input, .ai-image-prompt textarea {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(23, 37, 34, 0.2);
  border-radius: var(--radius-small);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.text-field input, .text-field select, .ai-image-prompt input { min-height: 52px; padding: 11px 14px; }
.text-field textarea, .ai-image-prompt textarea { min-height: 118px; padding: 12px 14px; resize: vertical; }
.text-field input::placeholder, .text-field textarea::placeholder,
.ai-image-prompt input::placeholder, .ai-image-prompt textarea::placeholder { color: #919b96; opacity: 1; }
.text-field input:focus, .text-field textarea:focus, .text-field select:focus,
.ai-image-prompt input:focus, .ai-image-prompt textarea:focus {
  border-color: var(--teal);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 116, 105, 0.1);
}

.optional-details {
  margin-top: 16px;
  overflow: clip;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.72);
}
.optional-details summary, .additional-price summary {
  min-height: 52px;
  padding: 14px 20px;
  cursor: pointer;
  color: var(--teal);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}
.optional-details summary span {
  margin-left: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--teal-soft);
  font-size: 11px;
}
.optional-fields {
  margin: 0;
  padding: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.goal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
.goal-main { display: grid; gap: 13px; }
.action-options {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
}
.action-options legend { padding: 0 5px; font-size: 16px; font-weight: 900; }
.action-options legend span { color: var(--error); font-size: 11px; }
.action-choice-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.action-choice-grid > button {
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  border: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  text-align: left;
}
.action-choice-grid > button:hover { background: rgba(15, 116, 105, 0.04); }
.action-choice-grid > button.is-selected, .action-choice-grid > button[aria-checked="true"] { border-color: var(--teal); background: var(--teal-soft); }
.action-radio {
  width: 24px;
  height: 24px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.is-selected .action-radio, [aria-checked="true"] .action-radio { background: var(--teal); }
.action-options button strong, .action-options button small { display: block; }
.action-options button strong { font-size: 16px; line-height: 1.5; }
.action-options button small { margin-top: 3px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.action-options .text-field {
  margin-top: 15px;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.class-notice {
  margin: 26px 0 16px;
  padding: 15px 18px;
  border: 1px solid rgba(15, 116, 105, 0.2);
  background: var(--teal-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.class-notice > div { min-width: 0; display: flex; align-items: center; gap: 12px; }
.class-notice > div > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  display: grid;
  place-items: center;
}
.class-notice p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.class-notice p strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 16px; }
.class-notice > b {
  flex: 0 0 auto;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}
.class-notice.is-a { border-color: rgba(191, 145, 68, 0.45); background: var(--gold-soft); }
.class-notice.is-a > div > span { background: var(--gold); }
.class-notice.is-a > b { color: #906925; }

.section-options {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
}
.section-options > button {
  width: 100%;
  min-height: 92px;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.section-options > button:last-child { border-bottom: 0; }
.section-options > button:hover { background: rgba(15, 116, 105, 0.04); }
.section-options > button.is-selected, .section-options > button[aria-pressed="true"] {
  background: rgba(15, 116, 105, 0.07);
}
.section-options > button.is-required { cursor: default; }
.section-options > button.is-required:disabled { opacity: 1; }
.section-check {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(15, 116, 105, 0.45);
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.is-selected .section-check, [aria-pressed="true"] .section-check {
  border-color: var(--teal);
  background: var(--teal);
}
.section-number { color: var(--gold); font: 14px Georgia, "Times New Roman", serif; }
.section-copy { min-width: 0; }
.section-copy strong, .section-copy small, .section-copy em { display: block; }
.section-copy strong { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.section-copy small { margin-top: 4px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.section-copy em {
  margin-top: 5px;
  color: #71837c;
  font-size: 16px;
  font-style: normal;
  line-height: 1.6;
}
.section-options button > b {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.section-options button.is-selected > b, .section-options button[aria-pressed="true"] > b {
  border-color: transparent;
  background: var(--teal-soft);
  color: var(--teal);
}
.count-note { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

.detail-workspace { margin-top: 26px; }
.detail-form {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
  display: grid;
  gap: 14px;
}
.detail-intro {
  padding: 15px;
  border-radius: 13px;
  background: var(--teal-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-intro span {
  flex: 0 0 auto;
  color: var(--teal);
  font: 800 12px Georgia, "Times New Roman", serif;
}
.detail-intro p { margin: 0; color: #45645d; font-size: 16px; line-height: 1.7; }
.answer-fields {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  display: grid;
  gap: 12px;
}
.answer-fields.is-ai { border-color: rgba(15, 116, 105, 0.2); background: rgba(228, 240, 236, 0.45); }
.answer-fields > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.detail-form .text-field { padding: 18px; }

.display-mode-options {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.display-mode-options legend { padding: 0 6px; font-size: 16px; font-weight: 900; }
.display-mode-options button {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--canvas);
  cursor: pointer;
  text-align: left;
}
.display-mode-options button.is-selected { border: 2px solid var(--teal); background: var(--teal-soft); }
.display-mode-options strong, .display-mode-options small { display: block; }
.display-mode-options strong { font-size: 16px; }
.display-mode-options small { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.swipe-card-editor { display: grid; gap: 14px; }
.swipe-card-editor-head {
  padding: 14px 16px;
  border: 1px solid rgba(15, 116, 105, 0.22);
  background: var(--teal-soft);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.swipe-card-editor-head strong, .swipe-card-editor-head small { display: block; }
.swipe-card-editor-head small { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.swipe-card-editor-head b { flex: 0 0 auto; color: var(--teal); }
.swipe-card-edit { padding: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.8); display: grid; gap: 12px; }
.swipe-card-edit > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.swipe-card-edit > header span { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.swipe-card-edit > header button { min-height: 42px; padding: 8px 12px; border: 1px solid rgba(168,71,59,.25); background: var(--error-soft); color: var(--error); cursor: pointer; font-weight: 800; }
.swipe-card-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.swipe-card-fields .text-field:nth-child(2) { grid-column: 1 / -1; }
.section-photo-upload.compact { min-height: 92px; padding: 13px; }
.add-swipe-card { min-height: 58px; border: 1px dashed var(--teal); background: #fff; color: var(--teal); cursor: pointer; font-size: 16px; font-weight: 900; }
.add-swipe-card span { margin-right: 8px; font-size: 22px; }

.section-photo-upload, .upload-zone {
  position: relative;
  border: 1px dashed rgba(15, 116, 105, 0.75);
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}
.section-photo-upload {
  min-height: 118px;
  padding: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.section-photo-upload:hover, .upload-zone:hover { border-color: var(--teal-dark); background: var(--paper); }
.section-photo-upload:focus-within, .upload-zone:focus-within {
  outline: 3px solid rgba(191, 145, 68, 0.55);
  outline-offset: 3px;
}
.section-photo-upload > input, .upload-zone > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}
.section-photo-upload > span, .upload-zone > span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.section-photo-upload strong, .section-photo-upload small,
.upload-zone > strong, .upload-zone > small { display: block; }
.section-photo-upload strong, .upload-zone > strong { font-size: 16px; line-height: 1.5; }
.section-photo-upload small, .upload-zone > small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.section-photo-upload.is-uploading, .upload-zone.is-uploading { pointer-events: none; opacity: 0.58; }
.upload-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 16px;
  font-weight: 800;
  font-style: normal;
  line-height: 1.55;
}

.upload-status:empty { display: none; }

.asset-gallery {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.asset-card {
  position: relative;
  min-width: 0;
  min-height: 84px;
  padding: 10px 58px 10px 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
}
.asset-card img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: var(--canvas);
  object-fit: cover;
}
.asset-card > div, .asset-card figcaption { min-width: 0; }
.asset-card figcaption {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.asset-card strong, .asset-card small, .asset-card em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.asset-card strong { font-size: 14px; line-height: 1.45; white-space: nowrap; }
.asset-card small, .asset-card em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}
.asset-delete {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--error);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}
.asset-delete:hover { background: var(--error-soft); }

.section-ai-image {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.84);
  display: grid;
  gap: 16px;
}
.section-ai-image.is-selected { border-color: var(--gold); background: #fff9eb; }
.detail-workspace.is-contact-detail .section-photo-upload,
.detail-workspace.is-contact-detail .asset-gallery,
.detail-workspace.is-contact-detail .section-ai-image { display: none; }
.section-ai-check, .ai-image-auto {
  min-height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-ai-check input, .ai-image-auto input, .consent-row input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  accent-color: var(--teal);
}
.section-ai-check span, .section-ai-check strong, .section-ai-check small,
.ai-image-auto span, .ai-image-auto strong, .ai-image-auto small { display: block; }
.section-ai-check strong { font-size: 17px; }
.section-ai-check small, .ai-image-auto small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.ai-image-auto {
  padding: 14px;
  border: 1px solid rgba(15, 116, 105, 0.22);
  border-radius: var(--radius-small);
  background: #fff;
}
.ai-image-auto strong { font-size: 16px; }
.ai-image-prompt {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fff;
}
.ai-image-prompt > span, .ai-image-prompt > strong { display: block; font-size: 16px; font-weight: 900; }
.ai-image-prompt > small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.ai-image-caution {
  padding: 14px 16px;
  border-radius: var(--radius-small);
  background: #f3eee5;
  color: var(--muted);
}
.ai-image-caution > strong { display: block; color: var(--ink); font-size: 16px; }
.ai-image-caution p { margin: 7px 0 0; font-size: 16px; line-height: 1.75; }
.ai-image-caution ul { margin: 8px 0 0; padding-left: 1.25em; }
.ai-image-caution li { margin-top: 6px; font-size: 16px; line-height: 1.75; }

.later-line-button {
  min-height: 52px;
  padding: 11px 16px;
  border: 1px dashed var(--teal);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}
.later-line-button.is-selected, .later-line-button[aria-pressed="true"] {
  border-style: solid;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 116, 105, 0.16);
}
.later-line-confirmation {
  margin: -4px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: #45645d;
  font-size: 16px;
  line-height: 1.7;
}

.detail-position {
  margin: 14px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: right;
}

.asset-layout { display: grid; gap: 16px; }
.photo-mode-grid {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.photo-mode-grid legend { grid-column: 1 / -1; margin-bottom: 7px; font-size: 16px; font-weight: 900; }
.photo-mode-grid button {
  position: relative;
  min-width: 0;
  min-height: 154px;
  padding: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
  cursor: pointer;
  text-align: left;
}
.photo-mode-grid button.is-selected, .photo-mode-grid button[aria-checked="true"] {
  border: 2px solid var(--teal);
  background: var(--paper);
}
.photo-mode-grid button > span {
  width: 52px;
  min-height: 42px;
  margin-bottom: 17px;
  padding: 5px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  display: grid;
  place-items: center;
}
.photo-mode-grid button strong, .photo-mode-grid button small { display: block; }
.photo-mode-grid button strong { font-size: 16px; line-height: 1.5; }
.photo-mode-grid button small { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.photo-mode-grid button > i { position: absolute; top: 12px; right: 12px; color: var(--teal); font-style: normal; }
.upload-zone {
  min-height: 176px;
  padding: 24px;
  text-align: center;
  display: grid;
  place-items: center;
}
.upload-zone > strong { margin-top: 10px; }
.upload-zone .asset-gallery { text-align: left; }
.asset-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.asset-extras .ai-swipe-note, .asset-extras .text-field:last-child { grid-column: 1 / -1; }
.ai-swipe-note {
  padding: 18px 20px;
  border: 1px solid rgba(15, 116, 105, 0.2);
  background: var(--teal-soft);
}
.ai-swipe-note p { margin: 0; color: #46665f; font-size: 16px; line-height: 1.8; }
.ai-swipe-note strong { display: block; color: var(--ink); font-size: 16px; }

.mood-options {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.mood-options button {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.86);
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(130px, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: center;
  text-align: left;
}
.mood-options button.is-selected, .mood-options button[aria-checked="true"] {
  border: 2px solid var(--teal);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.mood-preview {
  position: relative;
  display: block;
  height: 150px;
  overflow: hidden;
  border-radius: 13px;
  color: #1f665d;
  background: #dbe7e2;
}
.mood-preview i { position: absolute; display: block; border-radius: 2px; background: currentColor; }
.mood-preview i:first-child { inset: 15px 52% 15px 15px; }
.mood-preview i:nth-child(2) { top: 25px; right: 16px; width: 34%; height: 8px; }
.mood-preview i:nth-child(3) { top: 48px; right: 27px; width: 24%; height: 5px; opacity: 0.4; }
.mood-preview.soft { color: #bd7158; background: #f2dfd4; }
.mood-preview.trust { color: #334f59; background: #dce4e6; }
.mood-preview.bold { color: #d5a250; background: #172522; }
.mood-text { min-width: 0; }
.mood-text em, .mood-text strong, .mood-text small { display: block; }
.mood-text em {
  width: max-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.mood-text strong { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.mood-text small { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.mood-options button > b { position: absolute; right: 13px; bottom: 12px; color: var(--teal); }
.design-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.design-fields .text-field:last-child { grid-column: 1 / -1; }

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}
.review-overview, .price-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.88);
}
.review-overview h2 {
  margin: 0 0 15px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 26px;
  line-height: 1.45;
}
.review-line {
  min-height: 51px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.review-line span, .review-line strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.review-line span { color: var(--muted); }
.review-line strong { text-align: right; }
.review-flow {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-small);
  background: var(--canvas);
}
.review-flow span, .review-flow strong { display: block; }
.review-flow span { color: var(--teal); font-size: 12px; font-weight: 900; }
.review-flow strong { margin-top: 7px; font-size: 16px; line-height: 1.7; }
.review-notes {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(15, 116, 105, 0.17);
  border-radius: var(--radius-small);
  background: var(--teal-soft);
}
.review-notes > strong { font-size: 16px; }
.review-notes p { margin: 7px 0 0; color: #46665f; font-size: 16px; line-height: 1.75; }

.today-payment {
  min-height: 96px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--teal-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.today-payment span { font-size: 16px; font-weight: 900; line-height: 1.45; }
.today-payment strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.today-payment small { margin-left: 4px; font-family: system-ui, sans-serif; font-size: 13px; }
.plan-badge {
  margin-top: 11px;
  padding: 16px;
  border: 1px solid rgba(15, 116, 105, 0.25);
  background: var(--teal-soft);
}
.plan-badge span, .plan-badge strong, .plan-badge small { display: block; }
.plan-badge span { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; }
.plan-badge strong { margin-top: 6px; font-size: 16px; line-height: 1.55; }
.plan-badge small { margin-top: 5px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.plan-badge.is-a { border-color: rgba(191, 145, 68, 0.45); background: var(--gold-soft); }
.plan-badge.is-a span { color: #8d6826; }
.price-lines { padding: 15px 0; }
.price-lines > div {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.price-lines span, .price-lines strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.price-lines span { color: var(--muted); }
.price-lines strong { text-align: right; }
.price-lines .price-total {
  margin-top: 8px;
  padding: 12px 0;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}
.price-lines .price-total span, .price-lines .price-total strong {
  color: var(--teal-dark);
  font-weight: 900;
}
.referral-discount-line {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  background: #fff8e8;
}
.price-lines .referral-discount-line span, .price-lines .referral-discount-line strong { color: #7b5a1e; }
.billing-timing { padding: 15px; background: #eef3ef; }
.billing-timing p { margin: 0; color: #4e645f; font-size: 16px; line-height: 1.75; }
.billing-timing strong, .billing-timing small { display: block; }
.billing-timing strong { color: var(--ink); font-size: 16px; }
.billing-timing small { margin-top: 6px; font-size: 16px; }
.additional-price {
  margin-top: 10px;
  overflow: clip;
  border: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.76);
}
.additional-price > div { padding: 12px 14px; border-top: 1px solid var(--line); }
.additional-price p { margin: 7px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.consent-row {
  min-height: 58px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
}
.consent-row span { font-size: 16px; font-weight: 900; line-height: 1.65; }

.official-contact-note, .readonly-banner {
  margin-top: 14px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  background: rgba(255, 254, 251, 0.8);
  display: flex;
  align-items: center;
  gap: 18px;
}
.official-contact-note strong, .readonly-banner strong { flex: 0 0 auto; font-size: 16px; }
.official-contact-note span, .readonly-banner span, .readonly-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.readonly-banner { margin: 0 0 24px; border-left-color: var(--gold); background: #fff9e9; }
.test-autofill-notice { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; padding: 13px 16px; border: 1px solid #9bc9bd; border-radius: 12px; color: var(--teal-dark); background: #edf8f4; }
.test-autofill-notice strong { flex: 0 0 auto; font-size: 14px; }
.test-autofill-notice span { color: var(--muted); font-size: 13px; line-height: 1.6; }

.resume-url-card {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 116, 105, 0.2);
  background: rgba(255, 254, 251, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.resume-url-card div { min-width: 0; }
.resume-url-card strong, .resume-url-card span { display: block; }
.resume-url-card strong { font-size: 16px; line-height: 1.55; }
.resume-url-card span { margin-top: 3px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.resume-url-card button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  font-size: 16px;
  font-weight: 900;
}
.resume-url-card button:hover { background: var(--teal-soft); }

.readonly-banner ~ .step-content :disabled {
  cursor: default;
  opacity: 1;
}

.readonly-banner ~ .step-content :where(input, textarea, select):disabled {
  background: #f8f7f3;
  color: var(--ink);
  -webkit-text-fill-color: var(--ink);
}

.intro-shell, .complete-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 24px 50px;
  background:
    radial-gradient(circle at 80% 10%, rgba(15, 116, 105, 0.13), transparent 32rem),
    linear-gradient(rgba(15, 116, 105, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 116, 105, 0.03) 1px, transparent 1px),
    var(--canvas);
  background-size: auto, 48px 48px, 48px 48px, auto;
}
.intro-header {
  width: min(1200px, 100%);
  min-height: 80px;
  margin-inline: auto;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.intro-card {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 54px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: center;
}
.intro-copy h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(36px, 4vw, 51px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.38;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
}
.intro-copy h1 em { color: var(--teal); font-style: normal; }
.intro-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}
.intro-button {
  min-height: 60px;
  padding-inline: 26px;
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
  box-shadow: 0 17px 34px rgba(15, 116, 105, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 40px;
}
.intro-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 22px; }
.intro-links a {
  min-height: 48px;
  font-size: 16px;
  font-weight: 800;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
}

.intro-preview { position: relative; min-height: 420px; }
.phone-sheet { position: absolute; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.sheet-back {
  top: 3%;
  right: 3%;
  width: 55%;
  height: 69%;
  padding: 24px;
  background: var(--teal-dark);
  color: #fff;
  transform: rotate(4deg);
}
.sheet-back span { font-size: 11px; font-weight: 900; letter-spacing: 0.2em; }
.sheet-back i {
  display: block;
  width: 70%;
  height: 7px;
  margin-top: 27px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
}
.sheet-front {
  left: 3%;
  bottom: 1%;
  width: 62%;
  height: 78%;
  padding: 22px;
  background: var(--paper);
  transform: rotate(-3deg);
}
.sheet-front > b { color: var(--gold); font-size: 11px; letter-spacing: 0.18em; }
.portrait-shape {
  height: 52%;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(145deg, #d9e7e2, #789f95);
}
.portrait-shape::after {
  display: block;
  width: 27%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 48px 0 20px rgba(255, 255, 255, 0.62);
  content: "";
  transform: translateY(70%);
}
.sheet-front > strong {
  display: block;
  margin-top: 20px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
}
.sheet-front > i {
  display: block;
  width: 80%;
  height: 4px;
  margin-top: 9px;
  border-radius: 99px;
  background: rgba(23, 37, 34, 0.12);
}
.sheet-front > i:last-child { width: 45%; }
.orbit { position: absolute; border: 1px solid rgba(191, 145, 68, 0.35); border-radius: 50%; }
.orbit-a { right: 0; bottom: 0; width: 116px; height: 116px; }
.orbit-b { top: 0; left: 8%; width: 46px; height: 46px; background: rgba(191, 145, 68, 0.12); }

.intro-assurances {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.intro-assurances > div {
  min-width: 0;
  min-height: 98px;
  padding: 16px;
  border: 1px solid rgba(23, 37, 34, 0.09);
  border-radius: 14px;
  background: rgba(255, 254, 251, 0.65);
  box-shadow: 0 8px 20px rgba(20, 44, 39, 0.05);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 6px 10px;
}
.intro-assurances span {
  grid-row: 1 / 3;
  color: var(--gold);
  font: 14px Georgia, "Times New Roman", serif;
}
.intro-assurances strong { font-size: 16px; line-height: 1.45; }
.intro-assurances small { color: var(--muted); font-size: 16px; line-height: 1.55; }

.complete-shell { padding-block: 50px; display: grid; place-items: center; }
.complete-card {
  width: min(780px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.complete-check {
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #4aaa80;
  color: #fff;
  font-size: 38px;
  display: grid;
  place-items: center;
}
.complete-lead { margin: 22px 0 28px; color: var(--muted); font-size: 16px; line-height: 2; }
.complete-summary { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.complete-summary .review-line { padding-inline: 14px; border-right: 1px solid var(--line); }
.next-process { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.next-process > div { min-height: 140px; padding: 16px; border-radius: var(--radius-small); background: var(--canvas); }
.next-process span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font: 13px Georgia, "Times New Roman", serif;
  display: grid;
  place-items: center;
}
.next-process p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.next-process strong { display: block; color: var(--ink); font-size: 16px; }
.complete-actions { margin-top: 24px; display: flex; gap: 10px; }
.complete-actions button { background: var(--teal); color: #fff; }
.complete-actions button:last-child { background: transparent; color: var(--teal); }
.demo-footnote { margin: 20px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

.toast {
  position: fixed;
  z-index: 100;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-small);
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 18px 46px rgba(8, 63, 59, 0.28);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
  animation: toast-rise 0.22s ease both;
}
.toast.is-error { background: #8f392f; }
@keyframes toast-rise { from { opacity: 0; transform: translateY(10px); } }

/* Shared start.php / complete.php shell compatibility. */
.site-header {
  width: min(1120px, calc(100% - 48px));
  min-height: 80px;
  margin-inline: auto;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  min-height: 48px;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.test-badge {
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.start-body, .complete-body {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 80% 10%, rgba(15, 116, 105, 0.1), transparent 30rem),
    var(--canvas);
}
.start-shell {
  min-height: calc(100vh - 172px);
  min-height: calc(100svh - 172px);
  padding: 42px 20px 70px;
  display: grid;
  place-items: center;
}

.complete-body .complete-shell {
  min-height: calc(100vh - 172px);
  min-height: calc(100svh - 172px);
  padding: 42px 20px 70px;
}
.start-card {
  width: min(100%, 660px);
  padding: clamp(30px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.start-card h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(32px, 5vw, 43px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  line-break: strict;
  overflow-wrap: anywhere;
}
.start-lead { margin: 20px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.start-form .field { margin-bottom: 18px; }
.field { display: block; }
.field > span { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 900; }
.field em {
  margin-left: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f6e5dc;
  color: #a8503d;
  font-size: 11px;
  font-style: normal;
}
.field > span small {
  margin-left: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.field input, .field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 11px 14px;
  border: 1px solid rgba(23, 37, 34, 0.2);
  border-radius: var(--radius-small);
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #919b96; opacity: 1; }
.field input:focus, .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 116, 105, 0.1);
}
.receipt-number-field input {
  text-transform: uppercase;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.035em;
}
.receipt-number-field > small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.privacy-note {
  margin: 22px 0;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.privacy-note > span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
}
.privacy-note p { margin: 0; font-size: 16px; line-height: 1.7; }
.primary, .secondary, .link-button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-small);
  cursor: pointer;
  font-size: 16px;
  font-weight: 900;
}
.primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(15, 116, 105, 0.17); }
.secondary { background: transparent; color: var(--teal); }
.primary.wide { width: 100%; min-height: 56px; }
.link-button {
  margin-top: 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-box {
  margin: 0 0 24px;
  padding: 14px 17px;
  border: 1px solid #e4bdb6;
  border-radius: var(--radius-small);
  background: var(--error-soft);
  color: #8f392f;
}
.error-box p { margin: 0; font-size: 16px; line-height: 1.7; }
.recovery-link {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.recovery-link:hover { color: var(--teal-dark); }
.recovery-card { width: min(100%, 680px); }
.recovery-success {
  margin: 8px 0 0;
  padding: 20px;
  border: 1px solid rgba(15, 116, 105, 0.25);
  border-radius: var(--radius);
  background: var(--teal-soft);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.recovery-success > span {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.recovery-success strong { display: block; font-size: 18px; line-height: 1.5; }
.recovery-success p { margin: 5px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.recovery-security-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.complete-flow {
  margin: 34px 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
}
.complete-flow div { color: #89938f; text-align: center; }
.complete-flow div.done { color: var(--teal); }
.complete-flow b {
  width: 36px;
  height: 36px;
  margin: 0 auto 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.complete-flow .done b { border-color: var(--teal); background: var(--teal); color: #fff; }
.complete-flow span { font-size: 14px; font-weight: 900; }
.complete-flow i { height: 1px; background: var(--line-strong); }
footer {
  width: min(1120px, calc(100% - 48px));
  min-height: 92px;
  margin-inline: auto;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
footer span { color: var(--ink); font: 800 19px Georgia, "Times New Roman", serif; }
footer small { font-size: 12px; }

@media (max-width: 1060px) {
  .type-options { grid-template-columns: 1fr; }
  .type-option {
    min-height: 250px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0 20px;
    align-content: start;
  }
  .type-option-top, .page-diagram { grid-row: 1 / 5; grid-column: 1; }
  .type-option-top { z-index: 1; align-self: start; padding: 12px; }
  .page-diagram { height: 210px; margin: 0; }
  .type-option h2, .type-option > p, .type-option .flow-line, .type-option .select-mark { grid-column: 2; }
  .type-option > p { min-height: 0; }
  .photo-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: 1fr; }
  .intro-card {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.85fr);
    gap: 34px;
  }
}

@media (max-width: 780px) {
  .topbar {
    width: calc(100% - 30px);
    min-height: 68px;
    padding-block: 8px;
  }
  .brand-main { font-size: 28px; }
  .brand-sub { font-size: 10px; }
  .top-status { min-height: 48px; font-size: 12px; }
  .mobile-progress { display: block; height: 4px; background: rgba(15, 116, 105, 0.12); }
  .mobile-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    transition: width 0.3s ease;
  }
  .configurator {
    width: calc(100% - 30px);
    padding: 22px 0 calc(128px + env(safe-area-inset-bottom));
  }
  .step-content { min-height: 0; }
  .workspace-heading-wrap { padding-bottom: 20px; border-bottom-width: 2px; }
  .workspace-heading-wrap h1 { font-size: 28px; line-height: 1.45; }
  .workspace-heading-wrap > p:last-child { margin-top: 14px; font-size: 16px; line-height: 1.85; }
  .workspace-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 84px;
    margin: 0;
    padding: 10px max(15px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left));
    border-width: 1px 0 0;
    border-radius: 0;
    gap: 10px;
  }
  .action-summary span { font-size: 11px; }
  .action-summary strong { font-size: 16px; }
  .action-summary small { font-size: 16px; }
  #navigation-error:not(:empty) {
    position: absolute;
    right: 15px;
    bottom: calc(100% + 8px);
    left: 15px;
    max-width: none;
    padding: 10px 13px;
    border: 1px solid rgba(168, 71, 59, 0.2);
    border-radius: 10px;
    background: var(--error-soft);
    box-shadow: 0 8px 24px rgba(85, 34, 28, 0.12);
    color: var(--error);
  }
  .back-button, .next-button { min-height: 48px; padding-inline: 14px; }
  .next-button { min-width: 0; gap: 12px; }

  .type-option { min-height: 0; display: block; }
  .type-option-top { padding: 0; }
  .page-diagram { height: 128px; margin: 15px 0; }
  .core-fields, .goal-grid, .optional-fields, .asset-extras, .design-fields,
  .action-choice-grid, .display-mode-options, .swipe-card-fields { grid-template-columns: 1fr; }
  .core-fields .text-field:first-child, .core-fields .text-field:nth-child(2),
  .swipe-card-fields .text-field:nth-child(2), .asset-extras .ai-swipe-note,
  .asset-extras .text-field:last-child, .design-fields .text-field:last-child { grid-column: auto; }
  .text-field { padding: 17px; }
  .section-options > button { grid-template-columns: 27px 28px minmax(0, 1fr); }
  .section-options button > b { grid-column: 3; width: max-content; max-width: 100%; }
  .detail-form { padding: 14px; }
  .photo-mode-grid, .mood-options { grid-template-columns: 1fr; }
  .photo-mode-grid button {
    min-height: 112px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-content: center;
    column-gap: 12px;
  }
  .photo-mode-grid button > span { grid-row: 1 / 3; margin: 0; }
  .mood-options button { min-height: 170px; }
  .mood-preview { height: 135px; }
  .review-line, .price-lines > div { align-items: flex-start; flex-direction: column; gap: 5px; }
  .review-line strong, .price-lines strong { text-align: left; }
  .today-payment { align-items: flex-start; flex-direction: column; }
  .official-contact-note, .readonly-banner, .resume-url-card, .test-autofill-notice { align-items: flex-start; flex-direction: column; gap: 8px; }
  .resume-url-card button { width: 100%; }

  .intro-shell { padding-inline: 18px; }
  .intro-header { min-height: 68px; }
  .intro-card { padding-top: 42px; grid-template-columns: 1fr; gap: 30px; }
  .intro-copy h1 { font-size: 36px; }
  .intro-copy > p:not(.eyebrow) { font-size: 16px; }
  .intro-button { width: 100%; justify-content: space-between; }
  .intro-preview { min-height: 350px; }
  .intro-assurances { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .complete-shell { padding: 22px 14px; }
  .complete-card { padding: 30px 22px; }
  .complete-summary, .next-process { grid-template-columns: 1fr; }
  .complete-summary .review-line { border-right: 0; }
  .complete-actions { flex-direction: column; }
  .complete-actions button { width: 100%; }
  .toast {
    right: 14px;
    bottom: calc(102px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 28px);
  }

  .site-header, footer { width: calc(100% - 30px); }
  .site-header { min-height: 68px; padding-block: 8px; }
  .brand span { font-size: 27px; }
  .start-shell { min-height: calc(100svh - 150px); padding: 28px 14px 50px; }
  .complete-body .complete-shell { min-height: calc(100svh - 150px); padding: 28px 14px 50px; }
  .start-card { padding: 30px 22px; border-radius: 20px; }
  .start-card h1 { font-size: 34px; }
}

@media (max-width: 540px) {
  .topbar, .configurator { width: calc(100% - 24px); }
  .brand-sub { display: none; }
  .workspace-heading-wrap h1 { font-size: 26px; }
  .same-price-banner { align-items: flex-start; padding: 15px; }
  .type-option h2 { font-size: 19px; }
  .class-notice { align-items: flex-start; }
  .class-notice > b { font-size: 22px; white-space: nowrap; }
  .section-copy strong { font-size: 16px; }
  .section-copy em { display: none; }
  .section-photo-upload { grid-template-columns: 46px minmax(0, 1fr); padding: 15px; }
  .asset-gallery { grid-template-columns: 1fr; }
  .mood-options button { grid-template-columns: 1fr; }
  .mood-preview { height: 112px; }
  .review-overview, .price-card { padding: 18px; }
  .action-summary strong { display: none; }

  .intro-copy h1 { font-size: 32px; }
  .intro-preview { min-height: 310px; }
  .intro-assurances { grid-template-columns: 1fr; }
  .intro-assurances > div { min-height: 82px; }

  .site-header, footer { width: calc(100% - 24px); }
  .brand small { display: none; }
  footer { min-height: 78px; }
  .complete-flow span { font-size: 12px; }
}

@media (max-width: 390px) {
  .top-status { max-width: 112px; line-height: 1.35; }
  .workspace-heading-wrap h1 { font-size: 24px; }
  .workspace-actions { align-items: stretch; }
  .action-summary {
    width: 0;
    min-width: 0;
    max-width: 0;
  }
  .action-summary > span, .action-summary > strong { display: none; }
  .action-buttons { width: 100%; min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
  .back-button { padding-inline: 11px; }
  .next-button { flex: 1 1 auto; padding-inline: 12px; font-size: 16px; }
  .next-button span { display: none; }
  .class-notice { flex-direction: column; }
  .class-notice > b { align-self: flex-end; }
  .section-options > button {
    padding-inline: 13px;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 10px;
  }
  .section-number { display: none; }
  .section-options button > b { grid-column: 2; }
  .detail-intro { align-items: flex-start; }
  .section-photo-upload { grid-template-columns: 1fr; }
  .section-photo-upload > span { width: 48px; height: 48px; }
  .today-payment strong { font-size: 34px; }

  .intro-copy h1 { font-size: 29px; }
  .intro-preview { min-height: 280px; }
  .intro-links { display: grid; gap: 2px; }
  .start-card h1 { font-size: 30px; }
  .complete-flow { margin-inline: -8px; }
  .complete-flow b { width: 32px; height: 32px; }
}

@media (max-width: 340px) {
  .topbar, .configurator { width: calc(100% - 20px); }
  .brand-main { font-size: 25px; }
  .top-status { max-width: 96px; font-size: 11px; }
  .workspace-heading-wrap h1 { font-size: 23px; }
  .action-summary { display: block; width: 0; min-width: 0; max-width: 0; }
  .action-buttons { width: 100%; }
  .action-buttons > * { flex: 1 1 auto; }
  .intro-copy h1 { font-size: 25px; }
  .site-header, footer { width: calc(100% - 20px); }
  footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}

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

/* v25: dedicated header branding input */
.branding-input-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(15, 116, 105, 0.24);
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, rgba(233, 245, 241, 0.82), rgba(255, 254, 251, 0.96));
}
.branding-input-panel > div:first-child > small {
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.branding-input-panel h2 { margin: 5px 0 0; font-size: 20px; }
.branding-input-panel > div:first-child > p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.logo-upload-zone {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 92px;
  padding: 16px;
  border: 1px dashed var(--teal);
  border-radius: var(--radius-small);
  background: #fff;
  cursor: pointer;
}
.logo-upload-zone:focus-within { outline: 3px solid rgba(15, 116, 105, .18); outline-offset: 2px; }
.logo-upload-zone > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.logo-upload-zone > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 28px;
}
.logo-upload-zone strong, .logo-upload-zone small { display: block; }
.logo-upload-zone strong { font-size: 16px; }
.logo-upload-zone small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.logo-upload-zone.is-uploading { pointer-events: none; opacity: .58; }
.logo-current > strong { display: block; margin-bottom: 8px; font-size: 14px; }
.asset-gallery.is-logo-gallery { grid-template-columns: minmax(0, 1fr); }
.asset-gallery.is-logo-gallery .asset-card img { object-fit: contain; padding: 9px; background: #fff; }

@media (max-width: 540px) {
  .branding-input-panel { padding: 17px; }
  .logo-upload-zone { grid-template-columns: 48px minmax(0, 1fr); padding: 14px; }
  .logo-upload-zone > span { width: 48px; height: 48px; }
}

/* v29: simplified purpose, AI-first draft path and editable source files */
.type-options.is-simple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.type-options.is-simple .type-option {
  min-height: 150px;
  padding: 25px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.type-options.is-simple .type-option h2 {
  margin: 0;
  max-width: 15em;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
}
.simple-choice-check {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
}
.type-option.is-selected .simple-choice-check { border-color: var(--teal); background: var(--teal); }
.type-options.is-simple .select-mark { margin-top: auto; }

.core-question-panel {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(15, 116, 105, .24);
  border-radius: var(--radius-small);
  background: rgba(233, 245, 241, .46);
}
.core-question-heading small { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.core-question-heading h2 { margin: 6px 0 0; font-size: clamp(22px, 2.7vw, 31px); }
.core-question-heading p { margin: 8px 0 0; color: var(--muted); line-height: 1.75; }
.core-question-panel .core-fields { margin-top: 20px; }
.core-question-panel .core-fields > .text-field { grid-column: 1 / -1; width: 100%; }
.slug-setting-panel {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(15, 116, 105, .3);
  border-radius: var(--radius-small);
  background: linear-gradient(135deg, rgba(233, 245, 241, .82), rgba(255, 254, 251, .98));
}
.slug-setting-panel.has-error { border-color: rgba(168, 71, 59, .45); }
.slug-setting-heading > small { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.slug-setting-heading h2 { margin: 6px 0 0; font-size: clamp(22px, 2.7vw, 31px); }
.slug-setting-heading h2 b {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  vertical-align: middle;
}
.slug-setting-heading p { margin: 9px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.slug-setting-heading p strong { color: var(--ink); }
.slug-field { display: block; margin-top: 19px; }
.slug-field > span { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 900; }
.slug-input-wrap {
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
}
.slug-input-wrap:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 116, 105, .12); }
.slug-input-wrap em, .slug-input-wrap i { color: var(--muted); font-size: 16px; font-style: normal; white-space: nowrap; }
.slug-input-wrap input {
  min-width: 80px;
  width: 100%;
  min-height: 54px;
  padding: 0 2px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 800 17px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.slug-input-wrap input[readonly] { color: var(--muted); cursor: default; }
.slug-preview { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.slug-preview strong { color: var(--teal-dark); }
.slug-rule, .slug-caution { margin: 7px 0 0; font-size: 14px; line-height: 1.65; }
.slug-rule { color: var(--muted); }
.slug-rule.is-error { color: var(--error); font-weight: 800; }
.slug-caution { padding-top: 10px; border-top: 1px solid rgba(15, 116, 105, .16); color: var(--muted); }
.slug-setting-panel + .optional-details { margin-top: 22px; }
.optional-details + .core-question-panel { margin-top: 22px; }
.core-question-panel + .branding-input-panel,
.branding-input-panel + .text-field { margin-top: 22px; }

.creation-methods {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}
.creation-method-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.creation-method-card.is-selected { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 116, 105, .1), var(--shadow-soft); }
.creation-method-card.is-ai { background: linear-gradient(145deg, rgba(233, 245, 241, .92), #fff 44%); }
.creation-method-card .eyebrow { margin: 0 0 8px; }
.creation-method-card h2 { margin: 0; font-size: clamp(24px, 3vw, 35px); }
.creation-method-card > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); line-height: 1.85; }
.creation-method-card ul { margin: 18px 0 0; padding-left: 1.25em; color: var(--ink); line-height: 1.8; }
.creation-method-card > button {
  width: 100%;
  margin-top: 22px;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.creation-method-card.is-selected > button { background: var(--teal); }
.creation-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 12px;
  font-weight: 900;
}
.ai-brief-editor { display: grid; gap: 15px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.ai-brief-editor textarea { min-height: 220px; }
.ai-direct-generate-note {
  display: grid;
  gap: 5px;
  padding: 15px 17px;
  border: 1px solid rgba(15, 116, 105, .25);
  border-radius: 14px;
  background: rgba(233, 245, 241, .78);
}
.ai-direct-generate-note strong { color: var(--teal-dark); font-size: 15px; }
.ai-direct-generate-note span { color: var(--muted); font-size: 13px; line-height: 1.7; }
.all-ai-revision-drafts {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.all-ai-revision-drafts > div small { color: var(--gold); font: 700 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.all-ai-revision-drafts > div h3 { margin: 5px 0 0; font-size: 19px; }
.all-ai-revision-drafts > div p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.all-ai-revision-drafts .text-field { margin: 0; }
.all-ai-revision-drafts textarea { min-height: 150px; }
.brief-upload-zone {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 98px;
  padding: 17px;
  border: 1px dashed var(--teal);
  border-radius: var(--radius-small);
  background: #fff;
  cursor: pointer;
}
.brief-upload-zone > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.brief-upload-zone > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: var(--teal); font-size: 28px; }
.brief-upload-zone strong, .brief-upload-zone small { display: block; }
.brief-upload-zone small { margin-top: 4px; color: var(--muted); line-height: 1.55; }
.brief-upload-zone.is-uploading { opacity: .58; pointer-events: none; }
.asset-gallery.is-brief-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.asset-gallery.is-brief-gallery .asset-card { min-height: 136px; }
.brief-file-link { display: grid; place-items: center; gap: 7px; min-height: 92px; color: var(--ink); text-decoration: none; background: var(--canvas); }
.brief-file-link span { color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .12em; }

.guided-recommendations {
  margin-top: 26px;
  padding: 25px;
  border: 1px solid rgba(15, 116, 105, .24);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(233, 245, 241, .88), #fff 58%);
  box-shadow: var(--shadow-soft);
}
.guided-recommendation-head small { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.guided-recommendation-head h2 { margin: 7px 0 0; font-size: clamp(22px, 2.7vw, 31px); }
.guided-recommendation-head p { margin: 9px 0 0; color: var(--muted); line-height: 1.75; }
.guided-recommendation-list { display: grid; gap: 12px; margin-top: 20px; }
.guided-recommendation-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.guided-recommendation-card.is-accepted {
  border-color: var(--teal);
  background: rgba(233, 245, 241, .7);
  box-shadow: 0 0 0 2px rgba(15, 116, 105, .08);
}
.guided-recommendation-card small { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.guided-recommendation-card h3 { margin: 5px 0 0; font-size: 20px; }
.guided-recommendation-card p { margin: 7px 0 0; color: var(--muted); line-height: 1.7; }
.guided-recommendation-card button {
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.guided-recommendation-card.is-accepted button { border-color: var(--teal); background: var(--teal); }
.guided-recommendations.is-complete { background: #fff; }

@media (max-width: 900px) {
  .type-options.is-simple,
  .creation-methods { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .type-options.is-simple .type-option { min-height: 118px; padding: 20px; }
  .core-question-panel, .slug-setting-panel, .creation-method-card { padding: 20px; }
  .slug-input-wrap { padding-inline: 11px; }
  .slug-input-wrap em, .slug-input-wrap i { font-size: 14px; }
  .asset-gallery.is-brief-gallery { grid-template-columns: 1fr; }
  .brief-upload-zone { grid-template-columns: 46px minmax(0, 1fr); }
  .brief-upload-zone > span { width: 46px; height: 46px; }
  .guided-recommendations { padding: 20px; }
  .guided-recommendation-card { grid-template-columns: 1fr; }
  .guided-recommendation-card button { width: 100%; min-width: 0; }
}
