:root {
  --ink: #0c2547;
  --ink-soft: #365474;
  --muted: #607592;
  --line: #bfd3eb;
  --line-strong: #93b5dd;
  --surface: #ffffff;
  --surface-soft: #f1f7ff;
  --surface-blue: #e6f2ff;
  --navy: #063466;
  --blue: #0873e8;
  --blue-dark: #034d9f;
  --cyan: #05b9e8;
  --green: #168462;
  --orange: #de6d32;
  --red: #c84545;
  --amber: #d28a12;
  --shadow: 0 24px 64px rgba(4, 49, 104, 0.17);
  --shadow-soft: 0 12px 32px rgba(5, 62, 124, 0.11);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --page: min(1180px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  background: #dcecff;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(9, 91, 181, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 91, 181, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 92% 6%, rgba(5, 185, 232, 0.18), transparent 31rem),
    radial-gradient(circle at 4% 18%, rgba(8, 115, 232, 0.14), transparent 36rem),
    #e8f3ff;
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
  min-width: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
}

.skip-link:focus {
  top: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.25;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #2684f3);
  box-shadow: 0 12px 26px rgba(23, 105, 224, 0.22);
}

.button.primary:hover {
  box-shadow: 0 16px 32px rgba(23, 105, 224, 0.27);
}

.button.ghost {
  border-color: var(--line-strong);
  color: var(--navy);
  background: #fff;
}

.button.ghost:hover {
  border-color: #9db4d0;
  background: var(--surface-blue);
}

.button:focus-visible,
.unknown-button:focus-visible,
.solution-toggle:focus-visible,
.icon-button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.25);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(83, 190, 244, 0.42);
  background: rgba(3, 43, 91, 0.95);
  box-shadow: 0 8px 30px rgba(2, 31, 69, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  min-height: 76px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(126, 215, 255, 0.7);
  border-radius: 15px;
  color: #fff;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 13, 35, 0.28);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.official-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.23);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff;
  font-size: 1.03rem;
  letter-spacing: 0.03em;
}

.brand small {
  margin-top: -2px;
  color: #b9d8f5;
  font-size: 0.72rem;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.header-nav a {
  color: #d8eaff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-nav a:hover {
  color: #55d8ff;
}

.local-note {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(110, 234, 209, 0.45);
  border-radius: 999px;
  color: #baf9e7;
  background: rgba(16, 134, 105, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.local-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #23a678;
  box-shadow: 0 0 0 4px rgba(35, 166, 120, 0.12);
}

.hero {
  position: relative;
  padding: 60px 0 64px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(93, 197, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 197, 255, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(1, 199, 244, 0.27), transparent 24rem),
    linear-gradient(128deg, #032e68 0%, #0757ad 58%, #0879d8 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.hero::before {
  position: absolute;
  right: -190px;
  top: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(138, 225, 255, 0.3);
  border-radius: 50%;
  box-shadow: inset 0 0 0 70px rgba(71, 199, 255, 0.06), inset 0 0 0 140px rgba(71, 199, 255, 0.04);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 5vw, 68px);
}

.hero-copy,
.value-panel,
.section-heading > *,
.guided-field,
.problem-title-wrap,
.step-head,
.today-action-card > div,
.dialog-heading > div {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.6vw, 4.05rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero-copy h1 span {
  color: #62ddff;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #d6eaff;
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.text-link {
  color: #dff7ff;
  font-weight: 800;
  text-underline-offset: 4px;
}

.trust-list {
  display: grid;
  max-width: 620px;
  margin: 38px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.trust-list li {
  min-width: 0;
  padding: 0 20px;
  border-left: 1px solid rgba(189, 226, 255, 0.34);
}

.trust-list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 900;
}

.trust-list span {
  color: #bad8f4;
  font-size: 0.82rem;
}

.value-panel {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(176, 197, 222, 0.66);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
}

.value-panel::after {
  position: absolute;
  right: 26px;
  top: 22px;
  width: 46px;
  height: 46px;
  border: 10px solid rgba(32, 167, 184, 0.08);
  border-radius: 50%;
  content: "";
}

.panel-kicker {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.value-panel ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.value-panel li {
  display: grid;
  min-width: 0;
  padding: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fbfdff;
}

.value-panel li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
}

.value-panel li strong,
.value-panel li small {
  display: block;
}

.value-panel li strong {
  font-size: 0.98rem;
}

.value-panel li small {
  color: var(--muted);
  font-size: 0.8rem;
}

.panel-warning {
  display: grid;
  margin-top: 18px;
  padding: 14px 16px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid #f0d7a7;
  border-radius: 14px;
  color: #6d4b08;
  background: #fff9ec;
}

.panel-warning span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--amber);
  font-weight: 900;
}

.panel-warning p {
  margin: 0;
  font-size: 0.86rem;
}

.section {
  padding: 76px 0;
  scroll-margin-top: 88px;
}

.section-heading {
  display: grid;
  margin-bottom: 30px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 30px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  padding: 25px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-card.is-selected {
  border-color: rgba(23, 105, 224, 0.62);
  background: linear-gradient(180deg, #fff, #f4f8ff);
  box-shadow: 0 18px 45px rgba(23, 105, 224, 0.14);
}

.service-card.featured {
  position: relative;
}

.service-card.featured::before {
  position: absolute;
  right: 18px;
  top: -10px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  content: "完整方案";
  font-size: 0.7rem;
  font-weight: 900;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-index {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.service-state {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted);
  background: #edf1f6;
  font-size: 0.7rem;
  font-weight: 800;
}

.is-selected .service-state {
  color: #0d5e43;
  background: #dcf5eb;
}

.service-card h3 {
  margin: 25px 0 9px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.32;
}

.service-card > p {
  margin: 0;
  color: var(--ink-soft);
}

.service-card ul {
  display: grid;
  margin: 22px 0 26px;
  padding: 0;
  gap: 9px;
  color: var(--ink-soft);
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 22px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.service-select {
  width: 100%;
  margin-top: auto;
  border-color: var(--line-strong);
  color: var(--navy);
  background: #fff;
}

.is-selected .service-select {
  border-color: transparent;
  color: #fff;
  background: var(--blue);
}

.selection-status,
.form-status {
  min-height: 26px;
  margin: 16px 0 0;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.form-section {
  background: #eaf0f7;
}

.form-shell {
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(189, 204, 223, 0.74);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 36px;
}

form {
  min-width: 0;
}

.guided-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.guided-group + .guided-group {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.guided-group legend {
  display: flex;
  width: 100%;
  margin-bottom: 20px;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 900;
}

.guided-group legend span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--blue);
  font-size: 0.76rem;
}

.industry-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 18px;
}

.guided-fields {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guided-field {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.05);
}

.guided-field.priority-field {
  grid-column: 1 / -1;
  border-color: #c9dcf5;
  background: linear-gradient(180deg, #fff, #f7faff);
}

.field-title-row {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.field-title-row label {
  min-width: 0;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.5;
}

.field-title-row em {
  color: var(--red);
  font-size: 0.72rem;
  font-style: normal;
}

.unknown-button {
  min-height: 34px;
  padding: 6px 10px;
  flex: 0 0 auto;
  border: 1px solid #cdd9e9;
  border-radius: 9px;
  color: #395372;
  background: #f5f8fc;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
}

.unknown-button:hover {
  border-color: #9cb7d9;
  color: var(--blue-dark);
  background: #edf5ff;
}

.field-purpose {
  margin: 9px 0 14px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid #bdcbe0;
  border-radius: 11px;
  color: var(--ink);
  background: #fbfdff;
  font-size: 16px;
}

input,
select {
  min-height: 48px;
  padding: 10px 13px;
}

textarea {
  min-height: 108px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.65;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.1);
}

[aria-invalid="true"] {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 4px rgba(200, 69, 69, 0.1) !important;
}

.example-box {
  margin-top: 14px;
  padding: 13px 14px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 11px 11px 0;
  background: #eefafb;
}

.example-box strong {
  display: block;
  margin-bottom: 3px;
  color: #0e6671;
  font-size: 0.72rem;
}

.example-box p {
  margin: 0;
  color: #315d65;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.guide-grid {
  display: grid;
  min-width: 0;
  margin-top: 13px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.industry-choice .guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-grid p {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #e3eaf3;
  border-radius: 10px;
  background: #fafcff;
  font-size: 0.76rem;
  overflow-wrap: anywhere;
}

.guide-grid strong,
.guide-grid span {
  display: block;
}

.guide-grid strong {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 0.69rem;
}

.guide-grid span {
  color: var(--muted);
}

.industry-insight {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #eaf5ff;
  background:
    radial-gradient(circle at 100% 0, rgba(32, 167, 184, 0.24), transparent 15rem),
    linear-gradient(145deg, #153e6b, #102f55);
}

.insight-label {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #c9eff5;
  font-size: 0.69rem;
  font-weight: 800;
}

.industry-insight h3 {
  margin: 17px 0 7px;
  color: #fff;
  font-size: 1.18rem;
}

.industry-insight p {
  margin: 0;
  color: #c5d8ec;
  font-size: 0.86rem;
}

.industry-insight ul {
  display: grid;
  margin: 17px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.industry-insight li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: #e3edf8;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.industry-insight li::before {
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d7d5;
  content: "";
}

.form-finish {
  display: grid;
  margin-top: 30px;
  padding: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border: 1px solid #c7dbf3;
  border-radius: var(--radius-lg);
  background: #f2f7ff;
}

.form-finish strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.form-finish p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.report-section {
  background: #f4f7fb;
}

.report-shell {
  max-width: 1040px;
}

.report-top {
  display: grid;
  padding: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(66, 209, 202, 0.23), transparent 22rem),
    linear-gradient(135deg, #123c6b, #102b4d);
  box-shadow: var(--shadow);
}

.report-top .eyebrow {
  color: #8fe5e2;
}

.report-top h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.report-top p:not(.eyebrow) {
  margin: 10px 0 0;
  color: #cbdced;
}

.report-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.report-mode {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #e2f6f5;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.report-top .button.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.report-truth-note {
  display: grid;
  margin: 18px 0 0;
  padding: 15px 18px;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid #c8d9ec;
  border-radius: 14px;
  background: #f1f6fc;
}

.report-truth-note > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.report-truth-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.report-block,
.evidence-drawer {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.today-block {
  border-color: #b9d5f8;
  background:
    linear-gradient(135deg, rgba(238, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.block-heading {
  display: grid;
  min-width: 0;
  margin-bottom: 24px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
}

.block-heading > span {
  display: grid;
  width: 52px;
  min-height: 44px;
  place-items: center;
  align-self: start;
  border-radius: 14px;
  color: #fff;
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.today-block .block-heading > span {
  background: var(--blue);
}

.reminder-block .block-heading > span {
  background: var(--orange);
}

.block-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.block-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.today-action-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.today-action-card {
  display: grid;
  min-width: 0;
  padding: 17px;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  border: 1px solid #c9dcf5;
  border-radius: 15px;
  background: #fff;
}

.today-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.today-action-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.today-action-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.problem-list {
  display: grid;
  gap: 16px;
}

.problem-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: 18px;
  background: #fff;
}

.problem-card.severe {
  border-left-color: var(--red);
  background: linear-gradient(90deg, rgba(200, 69, 69, 0.035), #fff 20%);
}

.problem-card.major {
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(222, 109, 50, 0.035), #fff 20%);
}

.problem-card.watch {
  border-left-color: var(--amber);
}

.problem-head {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.problem-rank {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--navy);
  background: #edf3fa;
  font-size: 0.8rem;
  font-weight: 900;
}

.problem-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.priority-flag,
.severity-badge {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.priority-flag {
  color: #fff;
  background: var(--red);
}

.severity-badge.severe {
  color: #a02d2d;
  background: #fde9e9;
}

.severity-badge.major {
  color: #a84c20;
  background: #fff0e7;
}

.severity-badge.watch {
  color: #82600f;
  background: #fff6dc;
}

.problem-title-wrap h4 {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: clamp(1.22rem, 2.2vw, 1.58rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.problem-explanation {
  margin: 17px 0 0 62px;
  color: var(--ink-soft);
}

.impact-box,
.now-action {
  min-width: 0;
  margin: 15px 0 0 62px;
  padding: 14px 16px;
  border-radius: 13px;
}

.impact-box {
  border: 1px solid #edd9d0;
  background: #fff8f4;
}

.now-action {
  border: 1px solid #bddbf8;
  background: #eff7ff;
}

.impact-box strong,
.now-action span {
  display: flex;
  margin-bottom: 4px;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
}

.impact-box p,
.now-action p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.now-action p {
  color: #174f83;
  font-weight: 800;
}

.solution-toggle {
  display: inline-flex;
  min-height: 44px;
  margin: 18px 0 0 62px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid #aac6e8;
  border-radius: 11px;
  color: var(--blue-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.solution-toggle:hover {
  background: var(--surface-blue);
}

.solution-detail {
  min-width: 0;
  margin: 20px 0 0 62px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.solution-detail > section + section,
.solution-detail > div + section,
.solution-detail > section + div,
.solution-detail > details {
  margin-top: 18px;
}

.section-label {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.inline-label-icon {
  width: 17px;
  height: 17px;
}

.solution-target,
.solution-why {
  padding: 15px 17px;
  border-radius: 13px;
  background: var(--surface-soft);
}

.solution-target p,
.solution-why p,
.acceptance-box p,
.warning-box p,
.plan-card p {
  margin: 0;
  color: var(--ink-soft);
}

.step-list {
  display: grid;
  margin: 10px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.step-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9e3ef;
  border-radius: 15px;
  background: #fbfdff;
}

.step-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
}

.step-number {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 3px 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
}

.step-head strong {
  min-width: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.step-meta {
  display: grid;
  margin: 14px 0 0;
  gap: 8px;
}

.step-meta > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.step-meta dt,
.step-meta dd {
  min-width: 0;
  margin: 0;
}

.step-meta dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.step-meta dd {
  color: var(--ink-soft);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-card {
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
}

.plan-card.seven {
  border: 1px solid #bddbf8;
  background: #eff7ff;
}

.plan-card.thirty {
  border: 1px solid #c9e4d8;
  background: #f0faf5;
}

.plan-card span {
  display: flex;
  margin-bottom: 6px;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.acceptance-box,
.warning-box {
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
}

.acceptance-box {
  border: 1px solid #bfe1d4;
  background: #f2fbf7;
}

.warning-box {
  border: 1px solid #efd1ad;
  background: #fff9ee;
}

.warning-box .section-label {
  color: #a65a13;
}

.problem-evidence {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fafcff;
}

.problem-evidence summary {
  padding: 13px 15px;
  cursor: pointer;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.problem-evidence-body {
  display: grid;
  padding: 0 15px 15px;
  gap: 10px;
}

.problem-evidence-body > div {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
}

.problem-evidence-body strong {
  font-size: 0.74rem;
}

.problem-evidence-body p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.secondary-problems .problem-card {
  background: #fbfdff;
}

.confirmation-list {
  display: grid;
  gap: 10px;
}

.confirmation-card {
  display: grid;
  min-width: 0;
  padding: 15px 17px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid #ebd4bd;
  border-radius: 14px;
  background: #fffaf3;
}

.confirm-meta {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  color: #8a4c13;
  background: #ffe9d3;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.confirmation-card strong {
  color: var(--navy);
}

.confirmation-card p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.evidence-drawer {
  padding: 0;
  overflow: hidden;
}

.evidence-drawer > summary {
  display: grid;
  min-width: 0;
  padding: 20px 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
  list-style: none;
}

.evidence-drawer > summary::-webkit-details-marker {
  display: none;
}

.evidence-drawer > summary::after {
  color: var(--blue);
  content: "+";
  font-size: 1.4rem;
}

.evidence-drawer[open] > summary::after {
  content: "−";
}

.evidence-drawer summary small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.evidence-content {
  display: grid;
  padding: 24px;
  gap: 26px;
  border-top: 1px solid var(--line);
  background: #fafcff;
}

.evidence-content h3 {
  margin: 0;
  color: var(--navy);
}

.evidence-content section > p {
  margin: 5px 0 15px;
  color: var(--muted);
  font-size: 0.84rem;
}

.facts-grid,
.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dimension-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fact-card,
.dimension-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.fact-card span {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #4a5b71;
  background: #edf1f6;
  font-size: 0.66rem;
  font-weight: 800;
}

.fact-card.not_available span {
  color: #8a5b0a;
  background: #fff3d5;
}

.fact-card.conflicted span {
  color: #a02d2d;
  background: #fde8e8;
}

.fact-card strong,
.dimension-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.86rem;
}

.fact-card p,
.dimension-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.delivery-grid article {
  display: grid;
  min-width: 0;
  padding: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfdff;
}

.delivery-grid strong {
  color: var(--navy);
}

.delivery-grid p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.next-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border-color: #b9d5f8;
  background: linear-gradient(135deg, #edf6ff, #fff);
}

.next-stage h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.next-stage p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.report-boundary {
  margin: 20px 0 0;
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: #eaf0f7;
  font-size: 0.82rem;
  text-align: center;
}

.site-footer {
  padding: 28px 0;
  color: #d4e1ef;
  background: #112d4d;
}

.site-footer .page-shell {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 3px 0 0;
  font-size: 0.78rem;
}

.site-footer > .page-shell > span {
  color: #9fc1dd;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: right;
}

dialog {
  width: min(680px, calc(100vw - 32px));
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: var(--ink);
  background: transparent;
  box-shadow: 0 32px 90px rgba(5, 21, 41, 0.32);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(9, 26, 48, 0.68);
  backdrop-filter: blur(5px);
}

.precheck-dialog {
  width: min(920px, calc(100vw - 32px));
}

.dialog-card {
  max-height: calc(100dvh - 32px);
  padding: 27px;
  border-radius: 22px;
  background: #fff;
  overflow: auto;
  overscroll-behavior: contain;
}

.dialog-heading {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.dialog-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.25;
}

.dialog-card > p:not(.eyebrow),
.dialog-heading + p {
  color: var(--ink-soft);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
}

.precheck-summary {
  display: grid;
  margin: 18px 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.precheck-summary > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.precheck-summary span,
.precheck-summary strong {
  display: block;
}

.precheck-summary span {
  color: var(--muted);
  font-size: 0.7rem;
}

.precheck-summary strong {
  margin-top: 3px;
  color: var(--navy);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.precheck-headline {
  margin: 16px 0;
  padding: 13px 15px;
  border: 1px solid #c7dbf3;
  border-radius: 12px;
  color: #164d81 !important;
  background: #eef6ff;
  font-weight: 800;
}

.precheck-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.precheck-groups section {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.precheck-groups .owner-check {
  grid-column: 1 / -1;
  border-color: #efd2b6;
  background: #fffaf3;
}

.precheck-groups h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-item {
  min-width: 0;
  padding: 10px 11px;
  border-left: 3px solid var(--orange);
  border-radius: 0 9px 9px 0;
  background: #fff6ee;
}

.owner-check .check-item {
  border-left-color: var(--red);
  background: #fff4f2;
}

.check-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

.check-item p,
.check-empty {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.check-empty {
  padding: 9px 10px;
  border-radius: 9px;
  background: #edf8f3;
  color: #246e55;
}

.dialog-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--red) !important;
  font-size: 0.84rem;
  font-weight: 800;
}

.dialog-actions {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.sticky-actions {
  position: sticky;
  bottom: -27px;
  z-index: 2;
  margin-inline: -27px;
  padding: 14px 27px 27px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.decision-note {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid #c9dcf5;
  border-radius: 13px;
  background: #f2f7ff;
}

.decision-note strong {
  color: var(--navy);
}

.decision-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.confirm-check {
  display: grid;
  min-width: 0;
  padding: 14px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  cursor: pointer;
}

.confirm-check input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
}

.confirm-check span {
  min-width: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.noscript {
  margin: 0;
  padding: 15px;
  color: #fff;
  background: var(--red);
  text-align: center;
}

/* Issue #27: official ship brand and blue visual system. */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  width: 1.3em;
  height: 1.3em;
  flex: 0 0 auto;
  color: currentColor;
}

.hero .eyebrow {
  color: #7ee7ff;
}

.hero .button.primary {
  color: #04366a;
  background: linear-gradient(135deg, #fff, #c9f3ff);
  box-shadow: 0 16px 34px rgba(0, 24, 60, 0.24);
}

.hero .button.primary:hover {
  box-shadow: 0 19px 40px rgba(0, 24, 60, 0.3);
}

.value-panel {
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(154, 225, 255, 0.48);
  background: rgba(2, 40, 87, 0.72);
  box-shadow: 0 30px 70px rgba(0, 23, 57, 0.34);
  backdrop-filter: blur(12px);
}

.value-panel::after {
  content: none;
}

.ship-brand-visual {
  position: relative;
}

.ship-image-frame {
  height: 276px;
  overflow: hidden;
  border: 1px solid rgba(189, 232, 255, 0.7);
  border-radius: 21px;
  background: #fff;
}

.ship-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.ship-caption {
  position: relative;
  z-index: 1;
  display: flex;
  margin: -38px 16px 0;
  padding: 11px 14px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(135, 221, 255, 0.35);
  border-radius: 13px;
  color: #fff;
  background: rgba(3, 45, 96, 0.92);
  box-shadow: 0 12px 28px rgba(0, 21, 52, 0.28);
  backdrop-filter: blur(10px);
}

.ship-caption span {
  color: #82e6ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ship-caption strong {
  font-size: 0.82rem;
  text-align: right;
}

.value-answer-panel {
  padding: 24px 10px 8px;
}

.panel-kicker {
  color: #8de7ff;
}

.value-panel ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.value-panel li {
  padding: 12px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  border-color: rgba(152, 211, 247, 0.25);
  background: rgba(255, 255, 255, 0.09);
}

.value-panel li > span {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: #063467;
  background: #69dfff;
  font-size: 0.67rem;
}

.value-panel li strong {
  color: #fff;
  font-size: 0.82rem;
}

.value-panel li small {
  margin-top: 2px;
  color: #bfd9f2;
  font-size: 0.68rem;
  line-height: 1.45;
}

.panel-warning {
  grid-template-columns: 28px minmax(0, 1fr);
  border-color: rgba(250, 209, 125, 0.35);
  color: #fff3d1;
  background: rgba(123, 85, 8, 0.22);
}

.panel-warning .ui-icon {
  width: 25px;
  height: 25px;
  color: #ffd57b;
}

.section {
  padding: 62px 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.5rem);
}

.service-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 2px solid #b9d3ef;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(5, 65, 132, 0.11);
}

.service-card::after {
  position: absolute;
  right: -58px;
  top: 48px;
  width: 170px;
  height: 170px;
  border: 28px solid rgba(8, 115, 232, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card.is-selected {
  border-color: #2289ed;
  background: linear-gradient(155deg, #fff 20%, #e5f3ff);
  box-shadow: 0 18px 46px rgba(8, 105, 211, 0.2);
}

.service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-top: 24px;
  place-items: center;
  border: 1px solid #b9d9f8;
  border-radius: 18px;
  color: var(--blue);
  background: #eaf5ff;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.6);
}

.service-icon .ui-icon {
  width: 31px;
  height: 31px;
}

[data-service-card="deep"] .service-icon {
  color: #04758a;
  background: #e4fbff;
}

[data-service-card="managed"] .service-icon {
  color: #8a5a08;
  background: #fff5dc;
}

.service-card h3 {
  margin-top: 18px;
}

.form-section {
  border-top: 1px solid #a6c9ef;
  border-bottom: 1px solid #a6c9ef;
  background:
    radial-gradient(circle at 8% 8%, rgba(0, 172, 232, 0.16), transparent 27rem),
    linear-gradient(150deg, #d9ebff, #edf7ff 52%, #d7eaff);
}

.form-shell {
  border: 2px solid #9fc2e9;
  background: rgba(248, 252, 255, 0.95);
  box-shadow: 0 28px 66px rgba(4, 60, 122, 0.16);
}

.guided-group + .guided-group {
  border-top: 2px solid #c1d8ef;
}

.guided-group legend span {
  border: 1px solid #6fcdf4;
  background: linear-gradient(145deg, #075ab7, #079bda);
  box-shadow: 0 8px 18px rgba(5, 94, 183, 0.2);
}

.guided-field {
  border: 1.5px solid #b7d0eb;
  background: #fff;
  box-shadow: 0 10px 26px rgba(5, 70, 138, 0.08);
}

.guided-field::before {
  display: block;
  width: 54px;
  height: 3px;
  margin: -23px 0 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  content: "";
}

.guided-field.priority-field {
  border-color: #8fbae9;
  background: linear-gradient(180deg, #fff, #eef7ff);
}

.example-box {
  border-left-color: #07aeda;
  background: #e7f8ff;
}

.guide-grid p {
  border-color: #d1e1f2;
  background: #f6faff;
}

.industry-insight {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(88, 198, 242, 0.42);
  background:
    linear-gradient(rgba(81, 191, 244, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81, 191, 244, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 100% 0, rgba(14, 192, 229, 0.25), transparent 15rem),
    linear-gradient(145deg, #064784, #052e62);
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: 0 16px 36px rgba(2, 47, 98, 0.2);
}

.form-finish {
  grid-template-columns: auto minmax(0, 1fr) auto;
  border: 2px solid #91bce9;
  background: linear-gradient(135deg, #e7f4ff, #fff);
}

.finish-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #0669cf, #04a9dc);
  box-shadow: 0 10px 22px rgba(6, 100, 199, 0.2);
}

.finish-icon .ui-icon {
  width: 27px;
  height: 27px;
}

.report-section {
  border-top: 1px solid #a4c7ed;
  background:
    radial-gradient(circle at 90% 5%, rgba(5, 185, 232, 0.16), transparent 28rem),
    #dfeeff;
}

.report-top {
  border: 1px solid rgba(100, 207, 250, 0.45);
  background:
    linear-gradient(rgba(95, 206, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 206, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 95% 0, rgba(47, 220, 238, 0.25), transparent 22rem),
    linear-gradient(135deg, #073f83, #052c62);
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.report-truth-note {
  border: 1.5px solid #9fc4ea;
  background: #edf7ff;
}

.report-block,
.evidence-drawer {
  border: 2px solid #b4cfea;
  box-shadow: 0 14px 36px rgba(4, 64, 129, 0.11);
}

.today-block {
  border-color: #68aeea;
  background:
    linear-gradient(rgba(13, 116, 224, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 116, 224, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #e5f3ff, #fff);
  background-size: 28px 28px, 28px 28px, auto;
}

.block-heading > span.heading-icon {
  min-height: 58px;
  padding: 7px 4px 5px;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(108, 201, 246, 0.55);
  background: linear-gradient(145deg, #075db9, #078fda);
  box-shadow: 0 9px 20px rgba(5, 77, 157, 0.18);
}

.heading-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.heading-icon small {
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.reminder-block .block-heading > span.heading-icon {
  border-color: rgba(255, 208, 138, 0.7);
  background: linear-gradient(145deg, #d96829, #e99a25);
}

.today-action-card {
  border: 1.5px solid #9fc8ef;
  border-top: 4px solid #1880e4;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 22px rgba(5, 74, 145, 0.08);
}

.problem-card {
  border-color: #b6cce5;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  box-shadow: 0 10px 26px rgba(6, 63, 122, 0.08);
}

.problem-rank {
  border: 1px solid #b4d2ef;
  color: #fff;
  background: linear-gradient(145deg, #075cb9, #078fda);
}

.now-action {
  border-color: #8cc2ef;
  background: #e8f5ff;
}

.solution-toggle {
  border: 1.5px solid #77afe3;
  background: #eef7ff;
}

.step-card {
  border-color: #b9d2eb;
  background: #f5faff;
}

.precheck-groups section {
  border: 1.5px solid #afcae7;
  background: #f3f9ff;
}

.precheck-groups h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.precheck-groups h3 .ui-icon {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.precheck-groups .owner-check {
  border-color: #e2b98f;
}

.owner-check h3 .ui-icon {
  color: var(--orange);
}

@media (max-width: 1000px) {
  .header-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-grid,
  .section-heading,
  .industry-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .value-panel {
    max-width: 820px;
  }

  .ship-image-frame {
    height: 340px;
  }

  .section-heading {
    align-items: start;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .today-action-list,
  .facts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 1180px);
    --radius-xl: 22px;
    --radius-lg: 17px;
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .local-note {
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .hero {
    padding: 48px 0 52px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }

  .hero-actions,
  .form-actions,
  .dialog-actions,
  .report-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .form-actions .button,
  .dialog-actions .button,
  .report-tools .button {
    width: 100%;
  }

  .text-link {
    min-height: 44px;
    align-content: center;
    text-align: center;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trust-list li,
  .trust-list li:first-child {
    display: grid;
    padding: 0 0 10px;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: baseline;
    border-left: 0;
    border-bottom: 1px solid rgba(189, 226, 255, 0.34);
  }

  .ship-image-frame {
    height: 300px;
  }

  .value-panel ol {
    grid-template-columns: 1fr;
  }

  .value-panel li {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .value-panel li > span {
    width: 36px;
    height: 36px;
  }

  .value-panel li strong {
    font-size: 0.9rem;
  }

  .value-panel li small {
    font-size: 0.76rem;
  }

  .section {
    padding: 56px 0;
  }

  .service-card ul {
    grid-template-columns: 1fr;
  }

  .form-shell {
    width: 100%;
    padding: 18px;
  }

  .guided-fields,
  .guide-grid,
  .industry-choice .guide-grid,
  .plan-grid,
  .dimension-grid,
  .delivery-grid,
  .precheck-summary,
  .precheck-groups {
    grid-template-columns: 1fr;
  }

  .precheck-groups .owner-check {
    grid-column: auto;
  }

  .guided-field.priority-field {
    grid-column: auto;
  }

  .guided-field {
    padding: 18px;
  }

  .guided-field::before {
    margin: -19px 0 16px;
  }

  .field-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .unknown-button {
    min-height: 40px;
  }

  .form-finish,
  .report-top,
  .next-stage,
  .delivery-grid article {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .finish-icon {
    width: 44px;
    height: 44px;
  }

  .report-tools {
    align-items: flex-start;
  }

  .report-mode {
    align-self: flex-start;
  }

  .problem-card {
    padding: 18px;
  }

  .problem-head {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }

  .problem-rank {
    width: 38px;
    height: 38px;
  }

  .problem-explanation,
  .impact-box,
  .now-action,
  .solution-toggle,
  .solution-detail {
    margin-left: 0;
  }

  .solution-toggle {
    width: 100%;
  }

  .step-meta > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .confirmation-card {
    grid-template-columns: 1fr;
  }

  .confirm-meta {
    justify-self: start;
  }

  .evidence-drawer > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .evidence-drawer summary small {
    display: block;
    margin-top: 3px;
  }

  .site-footer .page-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer > .page-shell > span {
    text-align: left;
  }

  dialog,
  .precheck-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .dialog-card {
    max-height: calc(100dvh - 24px);
    padding: 20px;
  }

  .sticky-actions {
    bottom: -20px;
    margin-inline: -20px;
    padding: 13px 20px 20px;
  }
}

@media (max-width: 430px) {
  :root {
    --page: min(100% - 24px, 1180px);
  }

  body {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .local-note {
    max-width: 120px;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 2.12rem;
  }

  .value-panel,
  .service-card,
  .guided-field,
  .report-block,
  .report-top,
  .evidence-content {
    padding: 17px;
  }

  .ship-image-frame {
    height: 218px;
    border-radius: 15px;
  }

  .ship-caption {
    margin: -26px 8px 0;
    padding: 9px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ship-caption strong {
    text-align: left;
  }

  .value-answer-panel {
    padding: 21px 0 0;
  }

  .form-shell {
    padding: 14px;
  }

  .guided-field::before {
    margin: -18px 0 15px;
  }

  .guided-group legend {
    font-size: 1.02rem;
  }

  .block-heading {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .block-heading > span {
    width: 42px;
    min-height: 40px;
  }

  .block-heading > span.heading-icon {
    min-height: 52px;
  }

  .heading-icon .ui-icon {
    width: 21px;
    height: 21px;
  }

  .problem-card {
    padding: 16px 14px;
  }

  .step-card {
    padding: 14px;
  }

  .step-head {
    flex-direction: column;
  }

  .today-action-card {
    padding: 14px;
  }

  .precheck-groups section {
    padding: 13px;
  }

  .dialog-heading h2 {
    font-size: 1.45rem;
  }
}

/* Keep the 430px product viewport compact when a desktop scrollbar consumes layout width. */
@media (max-width: 460px) {
  :root {
    --page: min(100% - 24px, 1180px);
  }

  body {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .local-note {
    max-width: none;
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .value-panel,
  .service-card,
  .guided-field,
  .report-block,
  .report-top,
  .evidence-content {
    padding: 17px;
  }

  .ship-image-frame {
    height: 218px;
    border-radius: 15px;
  }

  .ship-caption {
    margin: -26px 8px 0;
    padding: 9px 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .ship-caption strong {
    text-align: left;
  }

  .value-answer-panel {
    padding: 21px 0 0;
  }

  .form-shell {
    padding: 14px;
  }

  .guided-field::before {
    margin: -18px 0 15px;
  }

  .block-heading > span.heading-icon {
    min-height: 52px;
  }
}

/* Issue #29: owner-approved mode selection and five-step guided questionnaire. */
:root {
  --approved-night: #020c2a;
  --approved-navy: #031a48;
  --approved-panel: #07265e;
  --approved-electric: #087cff;
  --approved-cyan: #35d8ff;
  --approved-card: #f7fbff;
  --approved-line: rgba(70, 155, 255, 0.48);
  --page: min(1400px, calc(100vw - 64px));
}

html {
  background: var(--approved-night);
}

body {
  color: #102d55;
  background:
    radial-gradient(circle at 18% 11%, rgba(21, 105, 255, 0.28), transparent 27rem),
    radial-gradient(circle at 84% 24%, rgba(27, 192, 255, 0.17), transparent 31rem),
    linear-gradient(rgba(52, 129, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 129, 235, 0.06) 1px, transparent 1px),
    #03143a;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  font-weight: 500;
}

.site-header {
  border-bottom-color: rgba(45, 127, 255, 0.42);
  background: rgba(2, 12, 42, 0.97);
  box-shadow: 0 14px 36px rgba(0, 5, 25, 0.34);
}

.header-inner {
  min-height: 88px;
  grid-template-columns: minmax(230px, auto) minmax(460px, 1fr) minmax(210px, auto);
  gap: 24px;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-color: rgba(111, 213, 255, 0.76);
  border-radius: 17px;
  background: #f9fcff;
}

.brand strong {
  font-size: 1.28rem;
}

.brand small {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.journey-progress {
  display: flex;
  width: min(100%, 610px);
  min-width: 0;
  margin-inline: auto;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(46, 124, 255, 0.38);
  border-radius: 999px;
  background: rgba(3, 23, 66, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.journey-progress a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: #9fb2d3;
  text-decoration: none;
  white-space: nowrap;
}

.journey-progress a span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(151, 188, 240, 0.42);
  border-radius: 50%;
  color: #c3d3ec;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(4, 18, 52, 0.8);
}

.journey-progress a strong {
  font-size: 0.88rem;
}

.journey-progress a.is-active {
  color: #fff;
}

.journey-progress a.is-active span {
  border-color: #4bc9ff;
  color: #fff;
  background: linear-gradient(145deg, #1597ff, #1253f4);
  box-shadow: 0 0 24px rgba(21, 129, 255, 0.7);
}

.journey-progress i {
  color: rgba(166, 191, 229, 0.55);
  font-size: 1.35rem;
  font-style: normal;
}

.local-note {
  border-color: rgba(31, 222, 179, 0.58);
  color: #4cf2c6;
  background: rgba(2, 49, 69, 0.48);
}

.mode-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 22px;
  color: #fff;
  background:
    radial-gradient(ellipse at center, rgba(22, 92, 222, 0.24), transparent 58%),
    linear-gradient(180deg, rgba(2, 16, 52, 0.22), rgba(1, 13, 43, 0.02));
}

#top,
#service-step,
#diagnosis-form,
#report {
  scroll-margin-top: 100px;
}

.mode-hero::before,
.mode-hero::after {
  position: absolute;
  width: 420px;
  height: 180px;
  border-top: 1px solid rgba(48, 145, 255, 0.25);
  background: repeating-linear-gradient(90deg, transparent 0 28px, rgba(31, 128, 255, 0.12) 29px 30px);
  content: "";
  opacity: 0.7;
  pointer-events: none;
}

.mode-hero::before {
  left: -110px;
  bottom: -80px;
  transform: perspective(280px) rotateX(58deg) rotateZ(8deg);
}

.mode-hero::after {
  right: -100px;
  top: 38px;
  transform: perspective(280px) rotateX(58deg) rotateZ(-8deg);
}

.mode-intro {
  position: relative;
  z-index: 1;
  max-width: 940px;
  text-align: center;
}

.mode-intro .eyebrow {
  color: #68d9ff;
}

.mode-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 32px rgba(14, 107, 255, 0.34);
}

.mode-intro .hero-lead {
  max-width: 760px;
  margin: 12px auto 0;
  color: #aebfe0;
  font-size: 1rem;
  font-weight: 600;
}

#service-step {
  padding: 8px 0 60px;
  color: #fff;
}

.approved-mode-heading {
  margin-bottom: 18px;
  align-items: end;
}

.approved-mode-heading h2 {
  color: #fff;
  font-size: 1.32rem;
}

.approved-mode-heading > p {
  color: #9eb3d8;
}

.service-grid {
  gap: 18px;
}

.service-card {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 2px solid rgba(93, 145, 220, 0.78);
  border-radius: 22px;
  color: #0d2a59;
  background: #f4f9ff;
  box-shadow: 0 18px 44px rgba(0, 6, 27, 0.34);
}

.service-card.featured {
  border-color: rgba(118, 127, 255, 0.76);
  background: #f7f8ff;
}

.service-card.is-selected {
  border-color: #35c8ff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(23, 124, 255, 0.5), 0 0 34px rgba(18, 126, 255, 0.58), 0 24px 54px rgba(0, 8, 34, 0.48);
  transform: translateY(-2px);
}

.service-card-top {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  right: 16px;
  margin: 0;
  align-items: center;
}

.card-index,
.service-state {
  padding: 6px 10px;
  border: 1px solid rgba(140, 208, 255, 0.42);
  border-radius: 999px;
  color: #e8f6ff;
  background: rgba(3, 30, 82, 0.76);
  backdrop-filter: blur(8px);
}

.service-state {
  color: #133267;
  background: rgba(231, 243, 255, 0.92);
}

.service-card.is-selected .service-state {
  border-color: #4be2ff;
  color: #fff;
  background: #075bf5;
}

.service-visual {
  position: relative;
  height: 218px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(91, 173, 255, 0.58);
  background:
    radial-gradient(circle at 50% 55%, rgba(34, 143, 255, 0.45), transparent 46%),
    linear-gradient(150deg, #06285f, #03143e 70%);
}

.deep-visual {
  background:
    radial-gradient(circle at 54% 55%, rgba(97, 73, 255, 0.42), transparent 48%),
    linear-gradient(150deg, #092b67, #0a1949 70%);
}

.managed-visual {
  background:
    radial-gradient(circle at 72% 42%, rgba(37, 170, 150, 0.25), transparent 44%),
    linear-gradient(150deg, #0b3f81, #04163e 72%);
}

.service-visual::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(79, 173, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(79, 173, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, #000 52%);
}

.service-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.service-card-body {
  display: flex;
  min-height: 300px;
  padding: 24px 26px 22px;
  flex: 1;
  flex-direction: column;
}

.service-card-body h3 {
  margin: 0;
  color: #092769;
  font-size: 1.45rem;
  line-height: 1.28;
}

.service-card-body > p {
  margin: 4px 0 14px;
  color: #395a89;
  font-size: 0.94rem;
  font-weight: 700;
}

.benefit-title {
  padding-top: 11px;
  border-top: 1px solid #d2e0f2;
  color: #0e3b81;
  font-size: 0.82rem;
}

.service-card-body ul {
  display: grid;
  margin: 10px 0 18px;
  gap: 8px;
  color: #2e4c75;
  font-size: 0.87rem;
}

.service-card-body ul li::before {
  border-color: #fff;
  color: #fff;
  background: #0b71ed;
}

.service-card.featured .service-card-body ul li::before {
  background: #5b43df;
}

.service-card[data-service-card="managed"] .service-card-body ul li::before {
  background: #188e61;
}

.service-card .service-select {
  width: 100%;
  margin-top: auto;
  border: 1px solid #176feb;
  color: #075bc4;
  background: #eff6ff;
  box-shadow: none;
}

.service-card.featured .service-select {
  border-color: #6a4df1;
  color: #5638d5;
  background: #f4f0ff;
}

.service-card[data-service-card="managed"] .service-select {
  border-color: #23895d;
  color: #1d7d54;
  background: #eefaf5;
}

.service-card.is-selected .service-select {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0a7eff, #084cf0);
  box-shadow: 0 12px 24px rgba(8, 91, 230, 0.26);
}

.selection-status {
  display: grid;
  max-width: 930px;
  margin: 22px auto 0;
  padding: 13px 20px;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(49, 133, 241, 0.45);
  border-radius: 16px;
  color: #a9bfe4;
  background: rgba(3, 28, 75, 0.8);
}

.selection-status .ui-icon {
  width: 28px;
  height: 28px;
  color: #27c8ff;
}

.selection-status strong {
  color: #fff;
}

.form-section {
  position: relative;
  padding: 54px 0 72px;
  border-top: 1px solid rgba(32, 111, 224, 0.38);
  color: #fff;
  background:
    radial-gradient(circle at 86% 7%, rgba(28, 112, 255, 0.24), transparent 33rem),
    linear-gradient(180deg, #031337, #041a49 52%, #031238);
}

.form-section::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(61, 152, 255, 0.24) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  opacity: 0.24;
  pointer-events: none;
}

.form-shell {
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.form-heading {
  margin-bottom: 16px;
  align-items: end;
}

.form-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
  letter-spacing: -0.035em;
}

.form-heading #form-subtitle {
  margin: 6px 0 0;
  color: #adbedc;
  font-size: 0.96rem;
}

.form-time-note {
  display: inline-flex;
  padding: 9px 13px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(61, 226, 196, 0.48);
  border-radius: 12px;
  color: #63efd0;
  background: rgba(4, 46, 66, 0.5);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-time-note .ui-icon {
  width: 20px;
  height: 20px;
}

.form-progress-card {
  position: relative;
  display: grid;
  margin-bottom: 14px;
  padding: 10px 18px;
  grid-template-columns: auto minmax(200px, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(48, 127, 242, 0.52);
  border-radius: 16px;
  color: #c7d6ed;
  background: rgba(3, 25, 70, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.form-progress-card strong {
  color: #fff;
}

.form-progress-track {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(113, 147, 202, 0.28);
}

.form-progress-track i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0a74ff, #31d4ff);
  box-shadow: 0 0 16px rgba(42, 180, 255, 0.72);
  transition: width 220ms ease;
}

.form-step-markers {
  position: absolute;
  left: 50%;
  display: flex;
  width: min(46vw, 560px);
  justify-content: space-between;
  pointer-events: none;
  transform: translateX(-50%);
}

.form-step-markers span {
  width: 9px;
  height: 9px;
  border: 2px solid #203d78;
  border-radius: 50%;
  background: #6f7f9f;
}

.form-step-markers span.is-active,
.form-step-markers span.is-complete {
  border-color: #7de8ff;
  background: #1687ff;
  box-shadow: 0 0 10px rgba(36, 154, 255, 0.8);
}

.questionnaire-layout {
  display: grid;
  grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.guidance-panel {
  position: sticky;
  top: 108px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(39, 163, 255, 0.72);
  border-radius: 19px;
  color: #eaf5ff;
  background: linear-gradient(160deg, rgba(5, 39, 96, 0.98), rgba(3, 24, 68, 0.98));
  box-shadow: 0 20px 46px rgba(0, 5, 26, 0.35), inset 0 1px rgba(255, 255, 255, 0.06);
}

.guidance-panel > summary {
  display: flex;
  min-height: 58px;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(65, 138, 239, 0.35);
  cursor: pointer;
  list-style: none;
  background: rgba(4, 53, 123, 0.56);
}

.guidance-panel > summary::-webkit-details-marker {
  display: none;
}

.guidance-panel > summary > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.guidance-panel > summary .ui-icon {
  width: 23px;
  height: 23px;
  color: #35d8ff;
}

.guidance-panel > summary small {
  color: #9bb5dd;
  font-size: 0.72rem;
}

.guidance-content {
  padding: 14px;
}

.guidance-context {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(52, 136, 255, 0.38);
  border-radius: 13px;
  background: rgba(11, 74, 159, 0.25);
}

.guidance-context span {
  display: block;
  color: #4fdbff;
  font-size: 0.72rem;
  font-weight: 900;
}

.guidance-context strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 0.97rem;
}

.guidance-context p {
  margin: 4px 0 0;
  color: #aabfdf;
  font-size: 0.76rem;
  line-height: 1.55;
}

.guide-item {
  display: grid;
  margin-top: 8px;
  padding: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  border: 1px solid rgba(61, 132, 225, 0.34);
  border-radius: 12px;
  background: rgba(6, 47, 110, 0.42);
}

.guide-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: #56dbff;
  background: rgba(22, 113, 232, 0.45);
}

.guide-item.unknown > span {
  color: #d8c5ff;
  background: rgba(104, 65, 222, 0.4);
}

.guide-item.error > span {
  color: #ffd9a0;
  background: rgba(212, 98, 26, 0.38);
}

.guide-item.reminder > span {
  color: #ffe27b;
  background: rgba(174, 125, 19, 0.34);
}

.guide-item.example {
  border-color: rgba(41, 211, 255, 0.58);
}

.guide-item .ui-icon {
  width: 20px;
  height: 20px;
}

.guide-item strong {
  color: #fff;
  font-size: 0.82rem;
}

.guide-item strong em {
  color: #45ddff;
  font-size: 0.66rem;
  font-style: normal;
}

.guide-item p {
  margin: 3px 0 0;
  color: #b8c9e3;
  font-size: 0.74rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.industry-tip-list {
  margin: 10px 0 0;
  padding: 0 0 0 20px;
  color: #8fa9d2;
  font-size: 0.69rem;
}

.step-stage {
  min-width: 0;
}

.form-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-step.is-active {
  display: grid;
  gap: 12px;
  animation: approved-step-in 180ms ease-out;
}

@keyframes approved-step-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step legend {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
  padding: 0;
  align-items: center;
  gap: 9px;
  color: #dceaff;
}

.form-step legend span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #3bd3ff;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #147df8, #1248da);
  box-shadow: 0 8px 20px rgba(8, 80, 211, 0.33);
}

.form-step legend strong {
  font-size: 1.02rem;
}

.question-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid rgba(60, 138, 246, 0.55);
  border-radius: 17px;
  color: #eef6ff;
  background: linear-gradient(145deg, rgba(8, 44, 103, 0.96), rgba(5, 29, 77, 0.96));
  box-shadow: 0 14px 34px rgba(0, 5, 27, 0.26), inset 0 1px rgba(255, 255, 255, 0.05);
}

.question-card.priority-question {
  border-color: rgba(45, 153, 255, 0.82);
  box-shadow: 0 14px 34px rgba(0, 5, 27, 0.28), inset 3px 0 #167eff;
}

.question-heading {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.question-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #167eff, #0b49de);
  box-shadow: 0 7px 18px rgba(10, 92, 226, 0.36);
  font-weight: 900;
}

.question-heading label {
  display: block;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.4;
}

.question-heading label em,
.question-heading label small {
  color: #80dcff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.question-heading p {
  margin: 3px 0 0;
  color: #9eb4d7;
  font-size: 0.76rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.question-card input,
.question-card textarea,
.question-card select {
  width: 100%;
  min-height: 48px;
  border-color: rgba(76, 142, 235, 0.62);
  color: #f6fbff;
  background: rgba(3, 26, 68, 0.86);
  box-shadow: inset 0 1px 3px rgba(0, 3, 18, 0.34);
}

.question-card textarea {
  min-height: 94px;
  resize: vertical;
}

.question-card input::placeholder,
.question-card textarea::placeholder {
  color: #728db8;
}

.question-card select option {
  color: #0b2853;
  background: #fff;
}

.question-card input:focus,
.question-card textarea:focus,
.question-card select:focus {
  border-color: #3cd9ff;
  box-shadow: 0 0 0 3px rgba(31, 158, 255, 0.2);
}

.question-card .unknown-button {
  min-height: 38px;
  padding: 7px 10px;
  border-color: rgba(72, 146, 246, 0.68);
  color: #b8d5ff;
  background: rgba(7, 45, 107, 0.76);
  white-space: nowrap;
}

.problem-option-heading {
  display: flex;
  margin: 2px 0 9px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.problem-option-heading strong {
  color: #fff;
  font-size: 0.86rem;
}

.problem-option-heading span {
  color: #819bc5;
  font-size: 0.72rem;
}

.problem-option-grid {
  display: grid;
  margin-bottom: 13px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.problem-option {
  display: flex;
  min-width: 0;
  min-height: 52px;
  padding: 8px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(62, 133, 230, 0.52);
  border-radius: 11px;
  color: #c9d9ef;
  cursor: pointer;
  background: rgba(9, 52, 119, 0.58);
  font-weight: 700;
  text-align: left;
}

.problem-option:hover {
  border-color: #50cfff;
  color: #fff;
  background: rgba(14, 74, 160, 0.76);
}

.problem-option[aria-pressed="true"] {
  border-color: #3bd6ff;
  color: #fff;
  background: linear-gradient(135deg, rgba(16, 118, 244, 0.94), rgba(33, 81, 202, 0.94));
  box-shadow: 0 0 0 2px rgba(29, 166, 255, 0.18), 0 8px 18px rgba(3, 72, 186, 0.28);
}

.problem-option .ui-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: #60cfff;
}

.problem-option[aria-pressed="true"] .ui-icon {
  color: #fff;
}

.problem-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.problem-options-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(79, 151, 244, 0.45);
  border-radius: 11px;
  color: #91a8cc;
  text-align: center;
}

.free-text-label {
  display: flex;
  margin: 4px 0 8px;
  align-items: center;
  gap: 9px;
  color: #71cfff;
}

.free-text-label .ui-icon {
  width: 22px;
  height: 22px;
}

.free-text-label span {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.free-text-label strong {
  color: #dff5ff;
  font-size: 0.84rem;
}

.free-text-label small {
  color: #839cc3;
  font-size: 0.7rem;
}

.form-review-card {
  display: grid;
  padding: 17px 19px;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(54, 211, 173, 0.55);
  border-radius: 16px;
  color: #eafdf7;
  background: rgba(4, 67, 83, 0.42);
}

.form-review-card .finish-icon {
  width: 46px;
  height: 46px;
  color: #57f0c6;
  background: rgba(11, 119, 98, 0.45);
}

.form-review-card p {
  margin: 4px 0 9px;
  color: #a9d5ce;
  font-size: 0.78rem;
}

.form-review-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.form-review-grid span {
  padding: 5px 8px;
  border: 1px solid rgba(71, 218, 188, 0.3);
  border-radius: 999px;
  color: #c5f5e8;
  background: rgba(3, 54, 70, 0.6);
  font-size: 0.69rem;
}

.form-step-actions {
  display: grid;
  margin-top: 12px;
  grid-template-columns: minmax(170px, auto) minmax(160px, auto) minmax(220px, 1fr);
  gap: 10px;
}

.form-step-actions .button {
  min-width: 0;
}

.form-step-actions .ghost {
  border-color: rgba(100, 158, 239, 0.68);
  color: #dceaff;
  background: rgba(4, 35, 86, 0.76);
}

.form-step-actions .demo-button {
  color: #61dfc4;
}

.form-step-actions .primary {
  background: linear-gradient(135deg, #168cff, #0b4ff2);
  box-shadow: 0 12px 28px rgba(8, 81, 222, 0.35);
}

.form-status {
  min-height: 24px;
  margin: 9px 0 0;
  color: #9fc8f7;
}

.report-section {
  background: linear-gradient(180deg, #eaf4ff, #dcecff);
}

.site-footer {
  border-top-color: rgba(65, 135, 227, 0.45);
  color: #bfd0e9;
  background: #020c2a;
}

@media (max-width: 1160px) {
  :root {
    --page: min(100% - 40px, 1400px);
  }

  .header-inner {
    grid-template-columns: auto minmax(420px, 1fr) auto;
    gap: 15px;
  }

  .brand small {
    display: none;
  }

  .service-card-body {
    padding: 21px 20px;
  }

  .problem-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .journey-progress {
    display: flex;
    width: 100%;
  }

  .journey-progress a strong {
    font-size: 0.76rem;
  }

  .journey-progress a span {
    width: 30px;
    height: 30px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    grid-template-columns: minmax(290px, 42%) minmax(0, 1fr);
  }

  .service-card-top {
    right: auto;
    width: calc(42% - 32px);
  }

  .service-visual {
    height: 100%;
    min-height: 330px;
    border-right: 1px solid rgba(91, 173, 255, 0.58);
    border-bottom: 0;
  }

  .service-card-body {
    min-height: 330px;
  }

  .questionnaire-layout {
    grid-template-columns: minmax(250px, 285px) minmax(0, 1fr);
  }

  .problem-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --page: min(100% - 24px, 1400px);
  }

  .header-inner {
    min-height: 0;
    padding: 9px 0 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
  }

  #top,
  #service-step,
  #diagnosis-form,
  #report {
    scroll-margin-top: 118px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .journey-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 5px 8px;
    gap: 6px;
  }

  .journey-progress a {
    gap: 5px;
  }

  .journey-progress a span {
    width: 26px;
    height: 26px;
    font-size: 0.72rem;
  }

  .journey-progress a strong {
    font-size: 0.68rem;
  }

  .journey-progress i {
    font-size: 1rem;
  }

  .local-note {
    max-width: none;
    padding: 6px 8px;
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .mode-hero {
    padding: 26px 0 17px;
  }

  .mode-intro h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.15rem);
  }

  .mode-intro .hero-lead {
    margin-top: 8px;
    font-size: 0.86rem;
  }

  #service-step {
    padding-bottom: 42px;
  }

  .approved-mode-heading {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: block;
    border-radius: 18px;
  }

  .service-card-top {
    right: 13px;
    left: 13px;
    width: auto;
  }

  .service-visual {
    height: 188px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(91, 173, 255, 0.58);
  }

  .service-card-body {
    min-height: 0;
    padding: 20px 18px;
  }

  .service-card-body h3 {
    font-size: 1.25rem;
  }

  .selection-status {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .selection-status span {
    grid-column: 1 / -1;
  }

  .form-section {
    padding: 40px 0 50px;
  }

  .form-heading {
    grid-template-columns: 1fr;
  }

  .form-heading h2 {
    font-size: 1.65rem;
  }

  .form-time-note {
    justify-self: start;
  }

  .form-progress-card {
    position: relative;
    padding: 10px 12px 14px;
    grid-template-columns: 1fr auto;
    gap: 9px;
  }

  .form-progress-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .form-step-markers {
    top: 47px;
    width: calc(100% - 36px);
  }

  .questionnaire-layout {
    display: flex;
    flex-direction: column;
  }

  .step-stage {
    width: 100%;
    order: 1;
  }

  .guidance-panel {
    position: static;
    width: 100%;
    order: 2;
  }

  .guidance-panel > summary {
    min-height: 52px;
  }

  .question-card {
    padding: 16px;
  }

  .question-heading {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .question-heading .unknown-button {
    grid-column: 2;
    justify-self: start;
    white-space: normal;
  }

  .problem-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-option-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .free-text-label span {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .form-step-actions {
    grid-template-columns: 1fr 1fr;
  }

  .form-step-actions .demo-button {
    grid-column: 1 / -1;
  }

  .form-step-actions #next-step,
  .form-step-actions #submit-diagnosis {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .journey-progress a strong {
    font-size: 0.62rem;
  }

  .journey-progress i {
    display: none;
  }

  .journey-progress {
    justify-content: space-between;
  }

  .local-note {
    font-size: 0.58rem;
  }

  .approved-mode-heading > p {
    font-size: 0.82rem;
  }

  .service-visual {
    height: 172px;
  }

  .service-card-body {
    padding: 18px 15px;
  }

  .card-index,
  .service-state {
    padding: 5px 8px;
    font-size: 0.66rem;
  }

  .selection-status {
    padding: 12px 14px;
  }

  .form-heading h2 {
    font-size: 1.48rem;
  }

  .form-progress-card {
    font-size: 0.78rem;
  }

  .question-card {
    padding: 14px;
  }

  .question-heading label {
    font-size: 0.96rem;
  }

  .problem-option {
    min-height: 54px;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .form-step-actions {
    grid-template-columns: 1fr;
  }

  .form-step-actions .demo-button,
  .form-step-actions #next-step,
  .form-step-actions #submit-diagnosis {
    grid-column: auto;
  }

  .form-review-card {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .hero,
  #service-step,
  #diagnosis-form,
  .site-footer,
  .button,
  .solution-toggle,
  .next-stage,
  .report-mode {
    display: none !important;
  }

  .report-section {
    padding: 0;
  }

  .report-shell,
  .page-shell {
    width: 100%;
    max-width: none;
  }

  .report-top,
  .report-block,
  .evidence-drawer {
    break-inside: avoid;
    border: 1px solid #bbb;
    box-shadow: none;
  }

  .report-top {
    color: #000;
    background: #fff;
  }

  .report-top h2,
  .report-top p,
  .report-top .eyebrow {
    color: #000 !important;
  }

  .solution-detail[hidden] {
    display: block !important;
  }

  .evidence-drawer:not([open]) .evidence-content {
    display: none;
  }
}

/* Issue #31: latest owner-approved rich visuals and selection-first questionnaire. */
@media screen {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .mode-hero {
    padding: 34px 0 22px;
    background:
      radial-gradient(circle at 18% 18%, rgba(24, 139, 255, 0.18), transparent 32%),
      linear-gradient(180deg, #020d2d 0%, #041a45 100%);
  }

  .mode-intro {
    text-align: center;
  }

  .mode-intro h1 {
    max-width: 920px;
    margin: 3px auto 0;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }

  .mode-intro .hero-lead {
    max-width: 860px;
    margin: 10px auto 0;
    color: #b9cce9;
    font-size: 0.96rem;
    line-height: 1.65;
  }

  #service-step {
    padding-top: 24px;
    padding-bottom: 42px;
    background:
      linear-gradient(rgba(37, 132, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(37, 132, 255, 0.035) 1px, transparent 1px),
      #03143a;
    background-size: 34px 34px;
  }

  .approved-mode-heading {
    margin-bottom: 17px;
  }

  .approved-mode-heading h2 {
    font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  }

  .service-grid {
    align-items: stretch;
    gap: 15px;
  }

  .service-card {
    overflow: hidden;
    border: 1px solid rgba(58, 132, 233, 0.55);
    border-radius: 17px;
    color: #f4f8ff;
    background: linear-gradient(180deg, #08265f 0%, #051a45 100%);
    box-shadow: 0 18px 45px rgba(0, 5, 29, 0.28);
  }

  .service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(77, 198, 255, 0.92);
  }

  .service-card.is-selected {
    border-color: #28c9ff;
    box-shadow: 0 0 0 2px rgba(31, 195, 255, 0.28), 0 22px 54px rgba(0, 58, 164, 0.34);
  }

  .service-card-top {
    z-index: 3;
  }

  .service-visual {
    height: 202px;
    padding: 0;
    overflow: hidden;
    background: #04163f;
  }

  .service-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .service-card-body {
    min-height: 0;
    padding: 18px 20px 20px;
    color: #d9e7fa;
    background: linear-gradient(180deg, rgba(8, 37, 91, 0.96), rgba(4, 24, 63, 0.98));
  }

  .service-card.is-selected .service-card-body {
    color: #27466f;
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
  }

  .service-card-body h3 {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 1.18rem;
  }

  .service-card.is-selected .service-card-body h3,
  .service-card.is-selected .benefit-title {
    color: #082c63;
  }

  .service-card-body > p,
  .service-card-body li {
    font-size: 0.78rem;
    line-height: 1.48;
  }

  .service-card.is-selected .service-card-body > p,
  .service-card.is-selected .service-card-body li {
    color: #486787;
  }

  .benefit-title {
    margin-top: 11px;
    color: #8fdcff;
    font-size: 0.75rem;
  }

  .service-card-body ul {
    margin: 7px 0 15px;
  }

  .service-select {
    min-height: 42px;
  }

  .form-section {
    padding: 42px 0 58px;
    background:
      radial-gradient(circle at 80% 8%, rgba(16, 113, 246, 0.2), transparent 28%),
      linear-gradient(180deg, #020c2a 0%, #03153c 54%, #020b24 100%);
  }

  .form-heading {
    margin-bottom: 14px;
  }

  .form-heading h2 {
    font-size: clamp(1.55rem, 2.3vw, 2.3rem);
  }

  .form-heading > div > p:last-child {
    margin-top: 5px;
    color: #a9bedf;
    font-size: 0.88rem;
  }

  .form-progress-card {
    margin-bottom: 14px;
    padding: 10px 14px 13px;
    border-color: rgba(55, 151, 255, 0.52);
    background: rgba(4, 27, 69, 0.84);
  }

  .questionnaire-layout {
    grid-template-columns: minmax(270px, 304px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .guidance-panel {
    top: 96px;
    border-color: rgba(62, 150, 255, 0.65);
    background: linear-gradient(180deg, rgba(7, 38, 92, 0.98), rgba(3, 20, 53, 0.98));
    box-shadow: 0 18px 45px rgba(0, 4, 24, 0.28);
  }

  .guidance-content {
    padding: 11px;
  }

  .guidance-context {
    padding: 12px;
  }

  .guidance-context strong {
    font-size: 1rem;
  }

  .guidance-context p,
  .guide-item p {
    font-size: 0.73rem;
    line-height: 1.48;
  }

  .guide-item {
    padding: 9px 9px;
    gap: 8px;
  }

  .guide-item > span {
    width: 29px;
    height: 29px;
  }

  .guide-item strong {
    font-size: 0.75rem;
  }

  .industry-tip-list {
    margin-top: 8px;
    padding: 9px 10px 9px 24px;
    font-size: 0.69rem;
  }

  .step-stage {
    min-width: 0;
  }

  .form-step {
    position: relative;
    overflow: hidden;
    padding: 14px;
    border-color: rgba(57, 143, 255, 0.6);
    border-radius: 17px;
    background: linear-gradient(180deg, rgba(7, 35, 83, 0.97), rgba(3, 21, 55, 0.98));
    box-shadow: 0 18px 46px rgba(0, 4, 27, 0.3);
  }

  .form-step legend {
    margin-bottom: 10px;
  }

  .step-scene {
    position: relative;
    height: 132px;
    margin: 0 0 10px;
    overflow: hidden;
    border: 1px solid rgba(67, 162, 255, 0.56);
    border-radius: 13px;
    background: #041845;
  }

  .step-scene::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 38%;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(2, 13, 42, 0.46));
    pointer-events: none;
  }

  .step-scene img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .question-card {
    margin-top: 9px;
    padding: 13px 14px 14px;
    border-color: rgba(55, 129, 225, 0.5);
    border-radius: 13px;
    background: rgba(4, 27, 68, 0.88);
  }

  .question-heading {
    margin-bottom: 9px;
  }

  .question-heading label,
  .question-label {
    color: #f7fbff;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .question-heading label small,
  .question-label small {
    color: #65d9ff;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
  }

  .question-heading p {
    margin-top: 2px;
    color: #94acd0;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .question-card input,
  .question-card textarea,
  .question-card select {
    min-height: 42px;
    font-size: 0.82rem;
  }

  .question-card textarea {
    min-height: 58px;
  }

  .option-grid,
  .problem-option-grid {
    display: grid;
    min-width: 0;
    margin-bottom: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .selection-option,
  .meta-option-grid button {
    display: flex;
    min-width: 0;
    min-height: 48px;
    padding: 8px 9px;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    border: 1px solid rgba(68, 142, 236, 0.56);
    border-radius: 10px;
    color: #d2e0f3;
    cursor: pointer;
    background: rgba(9, 52, 119, 0.56);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 760;
    line-height: 1.32;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .selection-option:hover,
  .meta-option-grid button:hover {
    border-color: #55d6ff;
    color: #ffffff;
    background: rgba(16, 81, 172, 0.78);
  }

  .selection-option[aria-pressed="true"],
  .meta-option-grid button[aria-pressed="true"] {
    border-color: #43dcff;
    color: #ffffff;
    background: linear-gradient(135deg, #127df2, #2454d4);
    box-shadow: 0 0 0 2px rgba(44, 193, 255, 0.17), 0 8px 18px rgba(2, 63, 176, 0.28);
  }

  .selection-option .ui-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: #65d9ff;
  }

  .selection-option[aria-pressed="true"] .ui-icon {
    color: #ffffff;
  }

  .meta-option-grid button {
    justify-content: center;
    text-align: center;
  }

  .priority-option-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .free-text-label {
    margin: 2px 0 6px;
  }

  .free-text-label strong {
    font-size: 0.76rem;
  }

  .free-text-label small {
    font-size: 0.66rem;
  }

  .question-card .unknown-button {
    min-height: 34px;
    padding: 6px 9px;
    border-color: rgba(93, 173, 255, 0.72);
    color: #c9e4ff;
    background: rgba(11, 64, 137, 0.68);
    font-size: 0.7rem;
  }

  .form-review-card {
    margin-top: 10px;
    padding: 13px 14px;
    grid-template-columns: 38px minmax(0, 1fr);
    border-radius: 13px;
  }

  .form-review-card .finish-icon {
    width: 38px;
    height: 38px;
  }

  .form-review-card p {
    margin: 2px 0 7px;
    font-size: 0.7rem;
  }

  .form-review-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .form-review-grid .review-check {
    display: grid;
    min-width: 0;
    padding: 7px 7px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1px 5px;
    border: 1px solid rgba(89, 166, 247, 0.34);
    border-radius: 9px;
    color: #e0ebfa;
    background: rgba(4, 35, 82, 0.7);
    font-size: 0.68rem;
  }

  .review-check i {
    grid-row: 1 / 3;
    align-self: center;
    color: #65d9ff;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 900;
  }

  .review-check b,
  .review-check small {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .review-check b {
    font-size: 0.68rem;
  }

  .review-check small {
    color: #8fa9cf;
    font-size: 0.61rem;
  }

  .review-check.is-ready {
    border-color: rgba(62, 221, 180, 0.62);
    background: rgba(6, 89, 87, 0.46);
  }

  .review-check.is-ready i,
  .review-check.is-ready small {
    color: #6bf0cb;
  }

  .form-step-actions {
    margin-top: 10px;
  }
}

@media screen and (max-width: 1160px) {
  .option-grid,
  .problem-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .priority-option-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1000px) {
  .service-card {
    grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  }

  .service-visual {
    min-height: 300px;
    height: 100%;
  }

  .service-card-body {
    min-height: 300px;
  }

  .questionnaire-layout {
    grid-template-columns: minmax(242px, 272px) minmax(0, 1fr);
  }

  .option-grid,
  .problem-option-grid,
  .priority-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 760px) {
  .mode-hero {
    padding: 24px 0 16px;
  }

  .mode-intro h1 {
    font-size: clamp(1.7rem, 8vw, 2.12rem);
  }

  .mode-intro .hero-lead {
    font-size: 0.82rem;
  }

  #service-step {
    padding-top: 18px;
  }

  .service-card {
    display: block;
  }

  .service-visual {
    height: 184px;
    min-height: 0;
  }

  .service-card-body {
    min-height: 0;
    padding: 17px 16px;
  }

  .questionnaire-layout {
    display: flex;
  }

  .step-stage {
    order: 1;
  }

  .guidance-panel {
    position: static;
    order: 2;
  }

  .form-step {
    padding: 11px;
  }

  .step-scene {
    height: 116px;
  }

  .question-card {
    padding: 12px;
  }

  .option-grid,
  .problem-option-grid,
  .priority-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .selection-option,
  .meta-option-grid button {
    min-height: 50px;
    padding: 7px 8px;
    font-size: 0.77rem;
  }

  .form-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 430px) {
  .service-visual {
    height: 168px;
  }

  .question-heading {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .question-heading label,
  .question-label {
    font-size: 0.9rem;
  }

  .selection-option,
  .meta-option-grid button {
    min-height: 52px;
    font-size: 0.74rem;
  }

  .selection-option .ui-icon {
    width: 17px;
    height: 17px;
  }

  .form-review-card {
    grid-template-columns: 1fr;
  }

  .form-review-card .finish-icon {
    display: none;
  }
}

@media screen {
  .service-card:not(.is-selected) .service-card-body > p,
  .service-card:not(.is-selected) .service-card-body li {
    color: #bed2ed;
  }

  .service-card:not(.is-selected) .benefit-title {
    color: #83dcff;
  }

  .service-card:not(.is-selected) .service-select,
  .service-card.featured:not(.is-selected) .service-select {
    border-color: rgba(79, 175, 255, 0.78);
    color: #d9eaff;
    background: rgba(7, 51, 118, 0.88);
    box-shadow: none;
  }
}
/* Issue #35: owner-corrected visual fidelity, hierarchy, density and operation. */
@media screen {
  :root {
    --m2-deepest: #01091f;
    --m2-panel: #061c46;
    --m2-card: #0a2d64;
    --m2-option: #0d3b7b;
    --m2-line: rgba(70, 159, 255, 0.7);
    --m2-cyan: #42d9ff;
  }

  .mode-hero {
    padding: 18px 0 12px;
    border-bottom: 1px solid rgba(55, 137, 244, 0.28);
    background:
      radial-gradient(circle at 50% 100%, rgba(21, 103, 240, 0.2), transparent 48%),
      linear-gradient(180deg, #010a24 0%, #03163d 100%);
  }

  .mode-intro {
    max-width: 1100px;
  }

  .mode-intro .eyebrow {
    margin-bottom: 3px;
    font-size: 0.68rem;
  }

  .mode-intro h1 {
    max-width: none;
    margin-top: 0;
    font-size: clamp(1.65rem, 2.25vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .mode-intro .hero-lead {
    max-width: 900px;
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.48;
  }

  #service-step {
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .approved-mode-heading {
    min-height: 0;
    margin-bottom: 10px;
  }

  .approved-mode-heading h2 {
    font-size: clamp(1.12rem, 1.65vw, 1.48rem);
  }

  .approved-mode-heading > p {
    font-size: 0.78rem;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    border-color: rgba(70, 151, 244, 0.72);
    border-radius: 16px;
    background: linear-gradient(180deg, #08265e 0%, #04163b 100%);
    box-shadow: 0 14px 34px rgba(0, 4, 24, 0.34);
  }

  .service-card.is-selected {
    border: 2px solid #32d3ff;
    box-shadow: 0 0 0 2px rgba(33, 191, 255, 0.22), 0 0 34px rgba(13, 112, 255, 0.44), 0 20px 45px rgba(0, 5, 31, 0.44);
    transform: translateY(-2px);
  }

  .service-card-top {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .card-index,
  .service-state {
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  .service-visual {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-bottom-color: rgba(72, 162, 255, 0.65);
    background: #020b24;
  }

  .service-visual::after {
    height: 36%;
    inset: auto 0 0;
    mask-image: none;
    background: linear-gradient(180deg, transparent, rgba(2, 13, 42, 0.6));
  }

  .service-visual img {
    object-fit: cover;
    object-position: center;
  }

  .service-card-body {
    min-height: 0;
    padding: 13px 16px 14px;
  }

  .service-card-body h3 {
    margin-bottom: 1px;
    font-size: 1.02rem;
  }

  .service-card-body > p {
    margin: 1px 0 7px;
    font-size: 0.73rem;
  }

  .benefit-title {
    margin-top: 0;
    padding-top: 7px;
    font-size: 0.7rem;
  }

  .service-card-body ul {
    margin: 5px 0 10px;
    gap: 3px;
  }

  .service-card-body li {
    font-size: 0.71rem;
    line-height: 1.36;
  }

  .service-card .service-select {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .selection-status {
    max-width: 1040px;
    margin-top: 12px;
    padding: 8px 14px;
    border-color: rgba(54, 156, 255, 0.62);
    border-radius: 12px;
    background: rgba(4, 31, 78, 0.9);
    font-size: 0.76rem;
  }

  .selection-status .ui-icon {
    width: 22px;
    height: 22px;
  }

  .form-section {
    padding: 28px 0 42px;
    background:
      radial-gradient(circle at 84% 4%, rgba(21, 115, 255, 0.2), transparent 26rem),
      linear-gradient(180deg, #010a24 0%, #031640 54%, #01091f 100%);
  }

  .form-heading {
    margin-bottom: 8px;
  }

  .form-heading h2 {
    font-size: clamp(1.24rem, 1.9vw, 1.72rem);
    letter-spacing: -0.025em;
  }

  .form-heading #form-subtitle,
  .form-heading > div > p:last-child {
    margin-top: 3px;
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .form-time-note {
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
  }

  .form-progress-card {
    min-height: 38px;
    margin-bottom: 10px;
    padding: 7px 12px 9px;
    gap: 12px;
    border-color: rgba(58, 149, 255, 0.68);
    border-radius: 12px;
    background: rgba(4, 28, 70, 0.94);
    font-size: 0.76rem;
  }

  .questionnaire-layout {
    grid-template-columns: minmax(258px, 286px) minmax(0, 1fr);
    gap: 12px;
  }

  .guidance-panel {
    top: 88px;
    border-color: rgba(66, 177, 255, 0.78);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(7, 42, 99, 0.99), rgba(2, 17, 47, 0.99));
    box-shadow: 0 18px 42px rgba(0, 3, 22, 0.42), inset 0 1px rgba(255, 255, 255, 0.07);
  }

  .guidance-panel > summary {
    min-height: 44px;
    padding: 8px 11px;
    background: rgba(8, 62, 139, 0.72);
  }

  .guidance-panel > summary .ui-icon {
    width: 20px;
    height: 20px;
  }

  .guidance-content {
    padding: 8px;
  }

  .guidance-context {
    margin-bottom: 6px;
    padding: 8px 9px;
    border-color: rgba(67, 161, 255, 0.52);
    background: rgba(12, 73, 157, 0.34);
  }

  .guidance-context strong {
    font-size: 0.88rem;
  }

  .guidance-context p,
  .guide-item p {
    font-size: 0.67rem;
    line-height: 1.38;
  }

  .guide-item {
    margin-top: 5px;
    padding: 6px 7px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 7px;
    border-color: rgba(70, 147, 240, 0.44);
    background: rgba(8, 48, 108, 0.58);
  }

  .guide-item > span {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .guide-item .ui-icon {
    width: 16px;
    height: 16px;
  }

  .guide-item strong {
    font-size: 0.7rem;
  }

  .industry-tip-list {
    margin-top: 6px;
    padding: 7px 8px 7px 21px;
    font-size: 0.63rem;
    line-height: 1.35;
  }

  .form-step {
    padding: 10px 12px 12px;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 8px 10px;
    border: 1px solid rgba(56, 145, 255, 0.74);
    border-radius: 15px;
    background: linear-gradient(160deg, rgba(6, 34, 82, 0.99), rgba(3, 20, 54, 0.99));
    box-shadow: 0 18px 45px rgba(0, 3, 25, 0.38), inset 0 1px rgba(255, 255, 255, 0.06);
  }

  .form-step.is-active {
    display: grid;
  }

  .form-step legend {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  .form-step legend span {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.78rem;
  }

  .form-step legend strong {
    font-size: 0.92rem;
  }

  .step-scene {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 16 / 9;
    border-color: rgba(76, 176, 255, 0.7);
    border-radius: 10px;
    background: #020b24;
    box-shadow: 0 9px 24px rgba(0, 7, 34, 0.36);
  }

  .step-scene::after {
    display: none;
  }

  .step-scene img {
    object-fit: cover;
    object-position: center;
  }

  .question-card,
  .form-review-card {
    grid-column: 1 / -1;
  }

  .question-card {
    margin-top: 0;
    padding: 9px 11px 10px;
    border-color: rgba(67, 151, 247, 0.68);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(10, 49, 107, 0.98), rgba(7, 35, 81, 0.98));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 8px 22px rgba(0, 5, 28, 0.18);
  }

  .question-card.priority-question {
    border-color: rgba(58, 189, 255, 0.9);
    box-shadow: inset 3px 0 #24b9ff, 0 9px 24px rgba(0, 7, 35, 0.22);
  }

  .question-heading {
    margin-bottom: 6px;
    grid-template-columns: 31px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .question-number {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.76rem;
  }

  .question-heading label,
  .question-label {
    font-size: 0.86rem;
    line-height: 1.3;
  }

  .question-heading p {
    margin-top: 1px;
    font-size: 0.66rem;
    line-height: 1.32;
  }

  .question-card .unknown-button {
    min-height: 30px;
    padding: 5px 8px;
    border-color: rgba(102, 190, 255, 0.78);
    color: #e1f2ff;
    background: rgba(12, 73, 151, 0.82);
    font-size: 0.66rem;
  }

  .problem-option-heading {
    margin: 0 0 5px;
  }

  .problem-option-heading strong {
    font-size: 0.76rem;
  }

  .problem-option-heading span {
    font-size: 0.64rem;
  }

  .option-grid,
  .problem-option-grid {
    margin-bottom: 6px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  #industry-problem-options,
  #additional-options,
  .priority-option-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .selection-option,
  .problem-option,
  .meta-option-grid button {
    min-height: 39px;
    padding: 5px 7px;
    gap: 5px;
    border-color: rgba(77, 157, 251, 0.7);
    border-radius: 8px;
    color: #e0ecfb;
    background: linear-gradient(145deg, rgba(13, 61, 127, 0.96), rgba(8, 46, 105, 0.96));
    font-size: 0.7rem;
    line-height: 1.22;
  }

  .selection-option:hover,
  .problem-option:hover,
  .meta-option-grid button:hover {
    border-color: #69e0ff;
    background: linear-gradient(145deg, rgba(17, 91, 184, 0.98), rgba(12, 61, 135, 0.98));
  }

  .selection-option[aria-pressed="true"],
  .problem-option[aria-pressed="true"],
  .meta-option-grid button[aria-pressed="true"] {
    border-color: #72e9ff;
    background: linear-gradient(135deg, #138bf8 0%, #184fce 100%);
    box-shadow: 0 0 0 2px rgba(59, 213, 255, 0.2), inset 0 1px rgba(255, 255, 255, 0.18), 0 7px 16px rgba(2, 56, 171, 0.34);
    transform: translateY(-1px);
  }

  .selection-option .ui-icon,
  .problem-option .ui-icon {
    width: 16px;
    height: 16px;
  }

  .free-text-label {
    margin: 1px 0 4px;
    gap: 6px;
  }

  .free-text-label .ui-icon {
    width: 17px;
    height: 17px;
  }

  .free-text-label strong {
    font-size: 0.7rem;
  }

  .free-text-label small {
    font-size: 0.61rem;
  }

  .question-card input,
  .question-card textarea,
  .question-card select {
    min-height: 36px;
    padding: 7px 9px;
    border-color: rgba(80, 160, 255, 0.72);
    background: rgba(2, 20, 55, 0.92);
    font-size: 0.76rem;
  }

  .question-card textarea {
    min-height: 44px;
  }

  .form-review-card {
    margin-top: 0;
    padding: 9px 11px;
    border-color: rgba(59, 222, 185, 0.72);
    background: rgba(4, 74, 88, 0.52);
  }

  .form-review-grid {
    gap: 5px;
  }

  .form-review-grid .review-check {
    padding: 5px 6px;
    border-color: rgba(91, 174, 255, 0.5);
    background: rgba(7, 48, 103, 0.78);
  }

  .form-step-actions {
    margin-top: 8px;
    gap: 7px;
  }

  .form-step-actions .button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.74rem;
  }

  .report-section {
    padding: 28px 0 42px;
    background:
      radial-gradient(circle at 14% 7%, rgba(59, 156, 255, 0.18), transparent 28rem),
      linear-gradient(180deg, #dcecff 0%, #edf6ff 36%, #dbeafd 100%);
  }

  .report-top {
    display: grid;
    min-height: 0;
    padding: 14px 16px;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 285px) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(76, 176, 255, 0.78);
    border-radius: 16px;
    background:
      radial-gradient(circle at 72% 50%, rgba(25, 130, 255, 0.23), transparent 28%),
      linear-gradient(128deg, #04255c 0%, #073f89 62%, #05255b 100%);
    box-shadow: 0 16px 36px rgba(10, 55, 118, 0.24);
  }

  .report-title-copy {
    min-width: 0;
  }

  .report-top h2 {
    margin-top: 2px;
    font-size: clamp(1.48rem, 2.2vw, 2.05rem);
    line-height: 1.12;
  }

  .report-top p:not(.eyebrow) {
    margin-top: 4px;
    font-size: 0.74rem;
    line-height: 1.42;
  }

  .report-visual {
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(102, 202, 255, 0.58);
    border-radius: 11px;
    background: #020b24;
    box-shadow: 0 9px 24px rgba(0, 8, 40, 0.36);
  }

  .report-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .report-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .report-mode {
    padding: 5px 8px;
    font-size: 0.65rem;
    text-align: center;
  }

  .report-top .button.ghost {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.68rem;
  }

  .report-truth-note {
    margin: 9px 0 0;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 0.7rem;
  }

  .report-block,
  .today-block {
    margin-top: 12px;
    padding: 15px 17px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(24, 76, 137, 0.12);
  }

  .today-block {
    border: 1px solid rgba(25, 139, 225, 0.78);
    background:
      linear-gradient(rgba(28, 135, 231, 0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(28, 135, 231, 0.045) 1px, transparent 1px),
      #f9fcff;
    background-size: 24px 24px;
  }

  .block-heading {
    margin-bottom: 9px;
    gap: 10px;
  }

  .block-heading h3 {
    font-size: clamp(1.16rem, 1.65vw, 1.42rem);
  }

  .block-heading p:not(.eyebrow) {
    margin-top: 2px;
    font-size: 0.7rem;
  }

  .heading-icon,
  .today-block .block-heading > span {
    width: 42px;
    height: 42px;
  }

  .today-action-list {
    gap: 8px;
  }

  .today-action-card {
    padding: 10px;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    border: 1px solid #b9d9f7;
    border-top: 3px solid #178ee8;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 81, 148, 0.08);
  }

  .today-index {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 0.68rem;
  }

  .today-problem {
    display: block;
    margin-bottom: 3px;
    color: #0b6eaa;
    font-size: 0.64rem;
    font-weight: 850;
    line-height: 1.32;
  }

  .today-action-card .today-action-title {
    display: block;
    color: #0a2b54;
    font-size: 0.77rem;
    line-height: 1.42;
  }

  .today-meta {
    display: grid;
    margin: 7px 0 0;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .today-meta > div {
    min-width: 0;
    padding: 5px 6px;
    border: 1px solid #d5e6f7;
    border-radius: 7px;
    background: #f2f8fe;
  }

  .today-meta dt {
    color: #65809d;
    font-size: 0.56rem;
    font-weight: 800;
  }

  .today-meta dd {
    margin: 1px 0 0;
    color: #173b63;
    font-size: 0.64rem;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .today-action-card .today-followup {
    margin-top: 6px;
    padding: 6px 7px;
    border-left: 3px solid #29aeea;
    border-radius: 5px;
    color: #496984;
    background: #eef8ff;
    font-size: 0.61rem;
    line-height: 1.38;
  }

  .problem-list {
    gap: 9px;
  }

  .problem-card {
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(20, 68, 125, 0.08);
  }

  .problem-rank {
    width: 38px;
    height: 38px;
  }

  .problem-title-wrap h4 {
    font-size: 1rem;
  }

  .problem-explanation,
  .impact-box p,
  .now-action p {
    font-size: 0.74rem;
    line-height: 1.48;
  }
}

@media screen and (max-width: 1160px) {
  .form-step {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  #industry-problem-options,
  #additional-options,
  .priority-option-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .report-top {
    grid-template-columns: minmax(0, 1fr) 225px;
  }

  .report-tools {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media screen and (max-width: 1000px) {
  .service-visual {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .service-card-body {
    min-height: 0;
  }

  .questionnaire-layout {
    grid-template-columns: minmax(232px, 258px) minmax(0, 1fr);
  }

  .form-step {
    grid-template-columns: minmax(0, 1fr) 154px;
  }

  .option-grid,
  .problem-option-grid,
  #industry-problem-options,
  #additional-options,
  .priority-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .today-action-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 760px) {
  .mode-hero {
    padding: 14px 0 10px;
  }

  .mode-intro h1 {
    font-size: clamp(1.42rem, 6.5vw, 1.8rem);
  }

  .mode-intro .hero-lead {
    margin-top: 4px;
    font-size: 0.74rem;
  }

  #service-step {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .approved-mode-heading {
    gap: 3px;
  }

  .service-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .service-card-body {
    padding: 12px 14px 13px;
  }

  .form-section {
    padding: 22px 0 34px;
  }

  .form-heading h2 {
    font-size: 1.24rem;
  }

  .form-time-note {
    padding: 5px 8px;
  }

  .questionnaire-layout {
    display: flex;
  }

  .form-step {
    padding: 8px;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 7px;
  }

  .step-scene {
    width: 118px;
    justify-self: end;
  }

  .form-step legend span {
    width: 28px;
    height: 28px;
  }

  .form-step legend strong {
    font-size: 0.82rem;
  }

  .question-card {
    padding: 8px 9px 9px;
  }

  .question-heading {
    grid-template-columns: 29px minmax(0, 1fr);
  }

  .question-heading .unknown-button {
    grid-column: 2;
  }

  .option-grid,
  .problem-option-grid,
  #industry-problem-options,
  #additional-options,
  .priority-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .selection-option,
  .problem-option,
  .meta-option-grid button {
    min-height: 42px;
    font-size: 0.68rem;
  }

  .form-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-section {
    padding: 20px 0 32px;
  }

  .report-top {
    padding: 11px;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 8px;
  }

  .report-top h2 {
    font-size: 1.28rem;
  }

  .report-top p:not(.eyebrow) {
    font-size: 0.65rem;
  }

  .report-visual {
    width: 118px;
    justify-self: end;
  }

  .report-tools {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .report-block,
  .today-block {
    padding: 12px;
  }

  .today-action-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 430px) {
  .mode-intro h1 {
    font-size: 1.38rem;
  }

  .approved-mode-heading h2 {
    font-size: 1.04rem;
  }

  .form-step {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  .step-scene,
  .report-visual {
    width: 104px;
  }

  .question-heading label,
  .question-label {
    font-size: 0.8rem;
  }

  .selection-option,
  .problem-option,
  .meta-option-grid button {
    min-height: 44px;
    padding: 5px 6px;
    font-size: 0.65rem;
  }
}

/* Issue #38: industry-aware real scenes and scene-led space utilization. */
@media screen {
  .questionnaire-layout {
    grid-template-columns: minmax(218px, 238px) minmax(0, 1fr);
    gap: 14px;
  }

  .guidance-panel {
    border-color: rgba(74, 184, 255, 0.84);
  }

  .guidance-panel > summary {
    padding-inline: 9px;
  }

  .guidance-content {
    padding: 7px;
  }

  .guidance-context,
  .guide-item {
    padding-inline: 7px;
  }

  .form-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .form-step legend {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .step-scene,
  .report-visual {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(96, 203, 255, 0.82);
    border-radius: 13px;
    background: #031331;
    box-shadow: 0 14px 34px rgba(0, 7, 38, 0.38);
  }

  .step-scene {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 185px;
    aspect-ratio: 21 / 6;
  }

  .step-scene::after,
  .report-visual::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 12, 37, 0.88) 0%, rgba(0, 20, 56, 0.48) 42%, transparent 72%),
                linear-gradient(0deg, rgba(0, 10, 31, 0.72), transparent 54%);
  }

  .step-scene img,
  .report-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.04);
    transition: opacity 160ms ease, transform 240ms ease;
  }

  [data-scene-focus="customer"] img {
    object-position: 36% center;
  }

  [data-scene-focus="delivery"] img {
    object-position: 64% center;
  }

  .industry-scene-caption {
    position: absolute;
    z-index: 2;
    left: 14px;
    bottom: 13px;
    width: min(72%, 530px);
    color: #f4fbff;
    text-shadow: 0 2px 12px rgba(0, 5, 22, 0.8);
  }

  .industry-scene-caption span {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 3px 7px;
    border: 1px solid rgba(99, 224, 255, 0.62);
    border-radius: 999px;
    color: #9beaff;
    background: rgba(2, 36, 84, 0.78);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.1em;
  }

  .industry-scene-caption strong {
    display: block;
    font-size: clamp(0.94rem, 1.35vw, 1.18rem);
    line-height: 1.2;
  }

  .industry-scene-caption p {
    max-width: 620px;
    margin: 4px 0 0;
    color: #d9ecff;
    font-size: 0.66rem;
    line-height: 1.38;
  }

  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1.14fr);
    grid-auto-rows: auto;
    align-items: stretch;
  }

  .form-step[data-form-step="2"] legend,
  .form-step[data-form-step="3"] legend {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .form-step[data-form-step="2"] .step-scene,
  .form-step[data-form-step="3"] .step-scene {
    grid-column: 1;
    grid-row: 2 / span 2;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .form-step[data-form-step="2"] .question-card[data-field="customer_source"],
  .form-step[data-form-step="3"] .question-card[data-field="population"] {
    grid-column: 2;
    grid-row: 2;
  }

  .form-step[data-form-step="2"] .question-card[data-field="offering"],
  .form-step[data-form-step="3"] .question-card[data-field="location"] {
    grid-column: 2;
    grid-row: 3;
  }

  .form-step[data-form-step="2"] .question-card[data-field="surroundings"],
  .form-step[data-form-step="3"] .question-card[data-field="floor_position"] {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .form-step[data-form-step="2"] .step-scene .industry-scene-caption,
  .form-step[data-form-step="3"] .step-scene .industry-scene-caption {
    width: calc(100% - 28px);
  }

  .form-step[data-form-step="2"] .step-scene::after,
  .form-step[data-form-step="3"] .step-scene::after {
    background: linear-gradient(0deg, rgba(0, 10, 31, 0.9) 0%, rgba(0, 18, 50, 0.26) 62%, transparent 100%);
  }

  .report-top {
    min-height: 0;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    grid-template-areas:
      "copy visual"
      "tools visual";
    align-items: stretch;
    gap: 10px 14px;
  }

  .report-title-copy {
    grid-area: copy;
    align-self: end;
  }

  .report-visual {
    grid-area: visual;
    min-height: 230px;
    aspect-ratio: auto;
  }

  .report-tools {
    grid-area: tools;
    align-self: start;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
  }

  .report-visual .industry-scene-caption {
    width: min(78%, 560px);
  }

  .today-action-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1160px) {
  .questionnaire-layout {
    grid-template-columns: minmax(210px, 224px) minmax(0, 1fr);
  }

  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  }

  .report-top {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  }
}

@media screen and (max-width: 920px) {
  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: minmax(235px, 0.76fr) minmax(0, 1.24fr);
  }

  .industry-scene-caption p {
    font-size: 0.62rem;
  }

  .report-top {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

@media screen and (max-width: 760px) {
  .questionnaire-layout {
    display: flex;
  }

  .form-step,
  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-scene,
  .form-step[data-form-step="2"] .step-scene,
  .form-step[data-form-step="3"] .step-scene {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 8;
  }

  .form-step[data-form-step="2"] .question-card,
  .form-step[data-form-step="3"] .question-card {
    grid-column: 1;
    grid-row: auto;
  }

  .industry-scene-caption {
    left: 10px;
    bottom: 9px;
    width: calc(100% - 20px);
  }

  .industry-scene-caption p {
    display: none;
  }

  .report-top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "tools";
  }

  .report-visual {
    width: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 8;
  }

  .report-tools {
    justify-content: space-between;
  }

  .today-action-list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 430px) {
  .step-scene,
  .report-visual {
    width: 100%;
    min-height: 165px;
  }

  .industry-scene-caption strong {
    font-size: 0.86rem;
  }
}

@media screen and (max-width: 760px) {
  .form-step[data-form-step="2"] .question-card[data-field],
  .form-step[data-form-step="3"] .question-card[data-field] {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Issue #41: portrait-safe scene framing and face-safe caption separation. */
@media screen {
  [data-crop-policy="portrait-safe"] {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    grid-template-rows: auto;
    grid-template-areas: "scene-image scene-copy";
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: #020b24;
  }

  [data-crop-policy="portrait-safe"]::after {
    display: none;
    content: none;
    background: none;
  }

  [data-crop-policy="portrait-safe"] > [data-industry-scene-image] {
    grid-area: scene-image;
    align-self: center;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    object-position: 50% 50%;
    background: #020b24;
    filter: saturate(0.96) contrast(1.03);
    transform: none;
  }

  [data-crop-policy="portrait-safe"] > .industry-scene-caption {
    grid-area: scene-copy;
    position: static;
    z-index: auto;
    display: flex;
    width: auto;
    min-width: 0;
    padding: 13px 15px;
    flex-direction: column;
    justify-content: center;
    color: #f4fbff;
    background:
      radial-gradient(circle at 92% 18%, rgba(48, 161, 255, 0.2), transparent 34%),
      linear-gradient(145deg, #07295a 0%, #041534 100%);
    border-left: 1px solid rgba(89, 196, 255, 0.42);
    text-shadow: none;
  }

  [data-crop-policy="portrait-safe"] > .industry-scene-caption p {
    color: #cfe7ff;
  }

  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .form-step[data-form-step="2"] .step-scene,
  .form-step[data-form-step="3"] .step-scene {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: auto;
  }

  .form-step[data-form-step="2"] [data-crop-policy="portrait-safe"] > .industry-scene-caption,
  .form-step[data-form-step="3"] [data-crop-policy="portrait-safe"] > .industry-scene-caption {
    width: auto;
  }

  .form-step[data-form-step="2"] .question-card[data-field="customer_source"],
  .form-step[data-form-step="3"] .question-card[data-field="population"] {
    grid-column: 1;
    grid-row: 3;
  }

  .form-step[data-form-step="2"] .question-card[data-field="offering"],
  .form-step[data-form-step="3"] .question-card[data-field="location"] {
    grid-column: 2;
    grid-row: 3;
  }

  .form-step[data-form-step="2"] .question-card[data-field="surroundings"],
  .form-step[data-form-step="3"] .question-card[data-field="floor_position"] {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  .report-visual[data-crop-policy="portrait-safe"] {
    grid-template-columns: minmax(0, 1.18fr) minmax(170px, 0.82fr);
    min-height: 0;
  }
}

@media screen and (max-width: 760px) {
  .form-step[data-form-step="2"],
  .form-step[data-form-step="3"] {
    grid-template-columns: minmax(0, 1fr);
  }

  [data-crop-policy="portrait-safe"],
  .report-visual[data-crop-policy="portrait-safe"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "scene-image"
      "scene-copy";
    min-height: 0;
    aspect-ratio: auto;
  }

  [data-crop-policy="portrait-safe"] > .industry-scene-caption {
    min-height: 64px;
    padding: 9px 11px;
    border-top: 1px solid rgba(89, 196, 255, 0.42);
    border-left: 0;
  }

  [data-crop-policy="portrait-safe"] > .industry-scene-caption p {
    display: none;
  }

  .form-step[data-form-step="2"] .step-scene,
  .form-step[data-form-step="3"] .step-scene,
  .form-step[data-form-step="2"] .question-card[data-field],
  .form-step[data-form-step="3"] .question-card[data-field] {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Issue #44: one-image-one-scene, per-asset focal points and overlay whitelist. */
@media screen {
  [data-industry-scene][data-overlay-mode="separate_caption"],
  .report-visual[data-industry-scene][data-overlay-mode="separate_caption"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "scene-image"
      "scene-copy";
  }

  [data-industry-scene][data-overlay-mode="separate_caption"] > .industry-scene-caption {
    padding: 10px 14px;
    border-left: 0;
    border-top: 1px solid rgba(89, 196, 255, 0.42);
  }

  [data-industry-scene][data-overlay-mode="separate_caption"]::after {
    display: none;
    content: none;
    background: none;
  }

  [data-crop-policy="portrait-safe"] > [data-industry-scene-image] {
    object-fit: cover;
    object-position:
      var(--scene-desktop-focal-x, 50%)
      var(--scene-desktop-focal-y, 50%);
  }
}

@media screen and (max-width: 760px) {
  [data-crop-policy="portrait-safe"] > [data-industry-scene-image] {
    object-position:
      var(--scene-mobile-focal-x, 50%)
      var(--scene-mobile-focal-y, 50%);
  }
}

@media print {
  .report-visual {
    display: none;
  }
}

/* Public contract additions; the accepted product stylesheet is the base. */
.public-business-fields label,.public-contact-fields label { display:block; margin:14px 0 8px; font-weight:700; }
.public-business-fields input,.public-business-fields select,.public-contact-fields input:not([type=checkbox]),.public-industry-detail select { width:100%; min-width:0; font-size:16px; padding:12px; border:1px solid #87acd1; border-radius:10px; }
.public-business-fields,.public-contact-fields { grid-column:1/-1; }
.public-industry-detail { margin-top:16px; font-size:15px; line-height:1.7; }
.public-industry-detail details { padding:10px; border:1px solid #87acd1; border-radius:10px; }
.public-contact-fields .confirm-check { display:flex; gap:10px; align-items:flex-start; }
.public-contact-fields input[type=checkbox] { flex:0 0 20px; width:20px; height:20px; }
.public-payment-summary { display:grid; grid-template-columns:110px minmax(0,1fr); gap:10px 16px; }
.public-payment-summary dt { font-weight:700; }
.public-payment-summary dd { margin:0; overflow-wrap:anywhere; }
#existingOrderLinks { display:flex; gap:16px; flex-wrap:wrap; }
#existingOrderLinks a { overflow-wrap:anywhere; }
#paymentZone { max-height:85vh; overflow-y:auto; }
[data-service]:disabled { opacity:.65; cursor:default; }
.site-footer a { color:inherit; text-decoration:underline; }
@media(max-width:760px) {
 .public-payment-summary { grid-template-columns:1fr; gap:4px; }
 .public-payment-summary dd { margin-bottom:10px; }
 #paymentZone .sticky-actions { flex-wrap:wrap; }
 #paymentZone .sticky-actions button { width:100%; }
}
