:root {
  --ink: #101114;
  --paper: #f7f8f2;
  --white: #ffffff;
  --primary: #0066ff;
  --secondary: #bffe13;
  --muted: rgba(16, 17, 20, 0.72);
  --muted-soft: rgba(16, 17, 20, 0.62);
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.48);
  --shadow-soft: 0 20px 60px rgba(16, 17, 20, 0.1);
  --shadow-card: 0 14px 36px rgba(16, 17, 20, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --line: rgba(16, 17, 20, 0.12);
  --line-strong: rgba(16, 17, 20, 0.2);
  --blue-soft: rgba(0, 102, 255, 0.1);
  --green-soft: rgba(191, 254, 19, 0.34);
  --dark-glass: rgba(12, 14, 19, 0.94);
  --drawer-shadow: 0 -24px 64px rgba(16, 17, 20, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(140deg, rgba(0, 102, 255, 0.08), transparent 34%),
    linear-gradient(220deg, rgba(191, 254, 19, 0.22), transparent 32%),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.3));
}

body.has-summary-drawer {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  width: min(100% - 16px, 1480px);
  margin: 0 auto;
  padding: 16px 0 156px;
}

.glass-panel {
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
}

.topbar {
  display: grid;
  gap: 14px;
  align-items: start;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent),
    var(--ink);
  box-shadow: 0 12px 28px rgba(16, 17, 20, 0.18);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-lockup strong {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.brand-lockup small {
  display: block;
  margin-top: 4px;
  color: var(--muted-soft);
  font-size: 0.82rem;
  font-weight: 500;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-pills span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.64);
}

.hero-panel {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.hero-copy h1 {
  max-width: 16ch;
  margin: 14px 0 12px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  line-height: 1.03;
}

.hero-text,
.section-heading p,
.note-banner span,
.contact-intro p,
.contact-grid label span,
.option-row p,
.option-meta,
.card-note {
  color: var(--muted);
}

.hero-text {
  max-width: 54ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.58;
}

.hero-signals {
  display: grid;
  gap: 10px;
}

.signal-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.signal-card span {
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.signal-card strong {
  font-size: 1.06rem;
  line-height: 1.18;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.46;
}

.workspace-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.config-panel {
  display: grid;
  gap: 16px;
}

.section-panel {
  padding: 18px;
  border-radius: var(--radius-lg);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 1.22rem;
  line-height: 1.16;
}

.section-heading p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.52;
}

.step-label {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-card,
.option-row,
.note-banner,
.info-row,
.summary-stats div,
.summary-secondary-stats div,
.contact-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.66);
}

.choice-card {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  box-shadow: 0 0 0 rgba(16, 17, 20, 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.choice-card:hover,
.option-row:hover,
.action-button:hover,
.accordion-trigger:hover {
  transform: translateY(-1px);
}

.choice-card.is-selected {
  border-color: rgba(0, 102, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.1), transparent 48%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.choice-card.is-selected:focus-visible {
  box-shadow:
    0 0 0 4px rgba(0, 102, 255, 0.16),
    var(--shadow-card);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-icon,
.selected-indicator,
.option-leading-icon,
.toggle-option-icon,
.accordion-chevron {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(0, 102, 255, 0.08);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.selected-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--secondary);
}

.selected-indicator svg {
  width: 14px;
  height: 14px;
}

.choice-card strong,
.accordion-trigger strong,
.summary-stats strong,
.summary-secondary-stats strong,
.block-heading h3 {
  font-size: 0.97rem;
  line-height: 1.3;
}

.choice-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.48;
}

.card-eyebrow {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(0, 102, 255, 0.08);
}

.card-eyebrow.is-recommended {
  color: var(--ink);
  background: rgba(191, 254, 19, 0.44);
}

.card-note {
  font-size: 0.78rem;
  font-weight: 600;
}

.note-banner,
.info-row,
.contact-intro {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.note-banner strong,
.info-row strong {
  font-size: 0.94rem;
}

.info-row span,
.note-banner span {
  font-size: 0.86rem;
  line-height: 1.5;
}

.accordion-stack {
  display: grid;
  gap: 12px;
}

.accordion-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: transparent;
  text-align: left;
  color: var(--ink);
}

.accordion-copy {
  display: grid;
  gap: 4px;
}

.accordion-copy small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.42;
}

.accordion-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.accordion-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-chevron svg {
  width: 16px;
  height: 16px;
}

.accordion-content {
  display: none;
  padding: 0 16px 16px;
}

.accordion-content.is-open {
  display: grid;
  gap: 10px;
}

.accordion-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.option-row {
  display: grid;
  gap: 14px;
  padding: 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.option-row.is-selected {
  border-color: rgba(0, 102, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(0, 102, 255, 0.1), transparent 50%),
    rgba(255, 255, 255, 0.86);
}

.option-copy,
.option-actions {
  display: grid;
  gap: 8px;
}

.option-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.option-label-wrap {
  display: grid;
  gap: 4px;
}

.option-heading strong {
  font-size: 0.94rem;
}

.option-leading-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.option-leading-icon svg {
  width: 16px;
  height: 16px;
}

.option-leading-icon.is-included {
  color: #0c5a37;
  background: rgba(122, 214, 167, 0.28);
}

.option-leading-icon.is-recommended,
.option-leading-icon.is-selected {
  color: var(--primary);
  background: rgba(0, 102, 255, 0.12);
}

.option-leading-icon.is-option {
  color: #5f4b00;
  background: rgba(191, 254, 19, 0.34);
}

.option-leading-icon.is-quote {
  color: #6b2b2b;
  background: rgba(255, 107, 95, 0.16);
}

.option-row p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.option-meta {
  font-size: 0.76rem;
  font-weight: 600;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.status-inclus {
  color: #0b5132;
  background: rgba(122, 214, 167, 0.24);
}

.status-recommande,
.status-ajoute {
  color: #0a428f;
  background: rgba(0, 102, 255, 0.12);
}

.status-option {
  color: #5f4b00;
  background: rgba(191, 254, 19, 0.34);
}

.status-sur-devis {
  color: #6b2b2b;
  background: rgba(255, 107, 95, 0.16);
}

.option-price {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.toggle-option,
.drawer-close {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.76);
}

.toggle-option-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 17, 20, 0.06);
}

.toggle-option-icon svg {
  width: 12px;
  height: 12px;
}

.toggle-option.is-active {
  border-color: rgba(0, 102, 255, 0.5);
  color: var(--primary);
}

.toggle-option.is-active .toggle-option-icon {
  color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
}

.contact-intro p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-channels {
  display: grid;
  gap: 8px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.contact-channel svg {
  width: 16px;
  height: 16px;
  color: var(--muted-soft);
}

.contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.contact-grid label {
  display: grid;
  gap: 8px;
}

.contact-grid label span {
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-grid input,
.contact-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-grid input {
  height: 52px;
  padding: 0 14px;
}

.contact-grid textarea {
  min-height: 120px;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
}

.contact-actions,
.actions,
.drawer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.primary-action {
  grid-column: 1 / -1;
}

.action-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.action-button svg,
.drawer-close svg {
  width: 16px;
  height: 16px;
}

.primary-action {
  color: var(--ink);
  background: var(--secondary);
  box-shadow: 0 12px 28px rgba(191, 254, 19, 0.18);
}

.subtle-action {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.summary-panel {
  display: none;
}

.summary-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.summary-panel,
.summary-drawer-panel {
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(0, 102, 255, 0.08), rgba(191, 254, 19, 0.03)),
    var(--dark-glass);
  box-shadow: 0 30px 90px rgba(16, 17, 20, 0.22);
  backdrop-filter: blur(18px) saturate(1.08);
}

.summary-top,
.summary-section {
  display: grid;
  gap: 12px;
}

.summary-top h2,
.block-heading h3,
.drawer-title-wrap h2 {
  margin: 0;
  letter-spacing: 0;
}

.summary-top h2,
.drawer-title-wrap h2 {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
}

.summary-status,
.summary-note,
.total-row span,
.drawer-total span,
.summary-panel .block-heading span,
.summary-drawer-panel .block-heading span {
  color: rgba(255, 255, 255, 0.66);
}

.summary-status {
  font-size: 0.84rem;
  line-height: 1.45;
}

.total-row {
  display: grid;
  gap: 8px;
}

.total-row strong,
.drawer-total strong {
  color: var(--white);
  font-size: 2rem;
  line-height: 0.96;
  font-weight: 700;
}

.total-row strong small,
.drawer-total strong small {
  font-size: 0.54em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.total-row span,
.drawer-total span {
  font-size: 0.88rem;
  line-height: 1.48;
}

.summary-stats,
.summary-secondary-stats {
  display: grid;
  gap: 8px;
}

.summary-stats div,
.summary-secondary-stats div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.summary-stats span,
.summary-secondary-stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
}

.summary-panel .summary-stats div,
.summary-panel .summary-secondary-stats div,
.summary-drawer-panel .summary-stats div,
.summary-drawer-panel .summary-secondary-stats div {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.breakdown-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breakdown-list li {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
}

.breakdown-list strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
}

.breakdown-list span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.42;
}

.breakdown-list em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-weight: 700;
  font-size: 0.84rem;
}

.selection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selection-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
}

.mobile-quote-bar {
  position: fixed;
  right: 12px;
  bottom: 16px;
  left: 12px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(0, 102, 255, 0.08), rgba(191, 254, 19, 0.03)),
    rgba(12, 14, 19, 0.94);
  box-shadow: 0 22px 54px rgba(16, 17, 20, 0.28);
  backdrop-filter: blur(18px) saturate(1.08);
}

.mobile-quote-bar span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 600;
}

.mobile-quote-bar strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 700;
}

.mobile-quote-bar button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  background: var(--secondary);
}

.summary-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  pointer-events: none;
}

.summary-drawer[aria-hidden="false"] {
  pointer-events: auto;
}

.summary-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 20, 0.44);
  opacity: 0;
  transition: opacity 220ms ease;
}

.summary-drawer-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 16px;
  max-height: min(88vh, 820px);
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom));
  overflow: auto;
  border-radius: 24px 24px 0 0;
  transform: translateY(104%);
  opacity: 0.98;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
  box-shadow: var(--drawer-shadow);
  will-change: transform;
}

.summary-drawer[aria-hidden="false"] .summary-drawer-backdrop {
  opacity: 1;
}

.summary-drawer[aria-hidden="false"] .summary-drawer-panel {
  transform: translateY(0);
  opacity: 1;
}

.drawer-handle {
  width: 42px;
  height: 5px;
  margin: 0 auto;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.24);
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-title-wrap {
  display: grid;
  gap: 6px;
  padding-right: 8px;
}

.drawer-kicker {
  color: rgba(255, 255, 255, 0.64);
}

.drawer-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.drawer-total {
  display: grid;
  gap: 8px;
}

.toast {
  position: fixed;
  right: 14px;
  bottom: 108px;
  z-index: 35;
  max-width: min(340px, calc(100% - 28px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: rgba(16, 17, 20, 0.88);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(18px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid input:focus,
.contact-grid textarea:focus,
.choice-card:focus-visible,
.action-button:focus-visible,
.toggle-option:focus-visible,
.drawer-close:focus-visible,
.accordion-trigger:focus-visible,
.mobile-quote-bar button:focus-visible {
  outline: none;
  border-color: rgba(0, 102, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14);
}

@media (min-width: 640px) {
  .app-shell {
    width: min(100% - 24px, 1480px);
    padding-top: 20px;
  }

  .topbar {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .trust-pills {
    justify-content: flex-end;
  }

  .hero-signals,
  .summary-stats,
  .summary-secondary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .objective-grid,
  .content-grid,
  .timing-grid,
  .maintenance-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .wide-field {
    grid-column: 1 / -1;
  }

  .option-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .breakdown-list li {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .app-shell {
    width: min(100% - 32px, 1480px);
    padding-bottom: 72px;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.82fr);
    align-items: stretch;
    padding: 24px;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: 2.8rem;
  }

  .objective-grid,
  .content-grid,
  .timing-grid,
  .maintenance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .contact-actions,
  .actions,
  .drawer-actions {
    grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr));
  }

  .primary-action {
    grid-column: auto;
  }
}

@media (min-width: 1120px) {
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    align-items: start;
  }

  .summary-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
  }

  .summary-panel .breakdown-list {
    max-height: 360px;
    overflow: auto;
  }

  .mobile-quote-bar,
  .summary-drawer {
    display: none;
  }
}

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