:root {
  --bg: #03111f;
  --bg-2: #061b34;
  --panel: rgba(6, 31, 58, 0.80);
  --panel-2: rgba(5, 25, 48, 0.88);
  --panel-3: rgba(10, 45, 78, 0.72);
  --line: rgba(55, 170, 255, 0.34);
  --line-strong: rgba(41, 191, 255, 0.72);
  --cyan: #19c6ff;
  --cyan-2: #2f8cff;
  --blue: #1978ff;
  --mint: #38e8ba;
  --mint-2: #0fcf92;
  --warn: #ff6d63;
  --warn-2: #ff9d61;
  --text: #f6fbff;
  --muted: #9fb9d3;
  --muted-2: #7692ae;
  --shadow: 0 18px 50px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.04);
  --radius: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body { min-height: 100vh; overflow-x: hidden; }
button, input, select { font: inherit; }
button { color: inherit; }

.space-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(circle at 70% 18%, rgba(0,116,255,.16), transparent 28%), radial-gradient(circle at 18% 10%, rgba(28,97,190,.19), transparent 22%), linear-gradient(135deg, #030c18 0%, #03162a 54%, #020b16 100%); z-index: 0; }
.stars { position: absolute; inset: 0; opacity: .58; background-repeat: repeat; }
.stars-a { background-image: radial-gradient(circle, rgba(95,193,255,.9) 1px, transparent 1.5px); background-size: 130px 130px; transform: translate(-30px, 10px); }
.stars-b { background-image: radial-gradient(circle, rgba(72,143,255,.55) .7px, transparent 1.2px); background-size: 83px 83px; transform: translate(25px, 30px); opacity: .25; }
.planet { position: absolute; width: 480px; height: 480px; left: -270px; bottom: -185px; border-radius: 50%; background: radial-gradient(circle at 65% 24%, #1c6bde 0%, #0b3f8d 20%, #04234e 52%, #01101f 76%); box-shadow: 0 0 60px rgba(23,119,255,.45), inset -28px -35px 70px rgba(0,0,0,.65); border: 1px solid rgba(46,171,255,.45); }
.planet::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle at 64% 25%, rgba(93,193,255,.23), transparent 30%), repeating-linear-gradient(18deg, rgba(50,160,255,.07) 0 2px, transparent 2px 9px); }
.planet-moon { position: absolute; width: 78px; height: 78px; left: 84px; bottom: 115px; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #0d4b96, #031126 68%); box-shadow: 0 0 28px rgba(40,129,255,.22); }

.app-shell { position: relative; z-index: 1; display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.glass-panel { background: linear-gradient(180deg, rgba(7,35,64,.88), rgba(3,21,41,.83)); border: 1px solid rgba(57,163,255,.36); box-shadow: var(--shadow); backdrop-filter: blur(14px); }

.sidebar { border-radius: 0; border-top: 0; border-bottom: 0; border-left: 0; min-height: 100vh; padding: 22px 14px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; background: linear-gradient(180deg, rgba(4,22,43,.93), rgba(3,17,33,.78)); }
.brand { display: flex; align-items: center; gap: 12px; padding: 2px 10px 24px; }
.brand-logo { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(38,198,255,.55)); }
.brand-name { font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.brand-tagline { color: var(--muted); font-size: 12px; margin-top: 3px; }
.sidebar-nav { display: grid; gap: 7px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 14px; padding: 13px 14px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: #cce2f9; text-align: left; transition: .2s ease; }
.nav-item:hover { background: rgba(16,85,142,.24); border-color: rgba(42,139,214,.25); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(17,118,255,.52), rgba(17,88,176,.35)); border-color: rgba(32,186,255,.75); box-shadow: 0 0 18px rgba(26,143,255,.23), inset 0 0 14px rgba(16,115,255,.15); }
.nav-icon { width: 24px; text-align: center; font-size: 20px; color: #bfe2ff; }
.sidebar-spacer { flex: 1; }
.motto { margin: 0 16px 28px; color: #c1d4e8; font-style: italic; line-height: 1.55; font-size: 13px; }
.motto span { color: var(--cyan); }
.storage { padding: 0 14px 6px; }
.storage-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.storage-track { height: 6px; background: rgba(105,164,210,.22); border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.storage-fill { width: 12.4%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 12px rgba(20,183,255,.55); }
.storage-caption { font-size: 11px; color: #bbd1e6; }

.main-area { padding: 14px 22px 30px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.breadcrumbs { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; margin: 8px 0 5px; }
.breadcrumbs strong { color: #dbeeff; font-weight: 650; }
.project-heading-row { display: flex; align-items: center; gap: 12px; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(15,100,210,.28); border: 1px solid rgba(28,159,255,.68); color: #bfe4ff; font-size: 12px; box-shadow: 0 0 16px rgba(15,105,255,.20); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.project-meta { color: var(--muted); font-size: 13px; margin-top: 8px; }
.project-meta span { margin: 0 6px; color: #567a9d; }
.topbar-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.search-box { display: flex; align-items: center; gap: 8px; height: 40px; min-width: 290px; border: 1px solid rgba(65,161,235,.38); background: rgba(3,19,37,.68); padding: 0 10px; border-radius: 10px; box-shadow: inset 0 0 18px rgba(29,90,145,.08); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; }
.search-box input::placeholder { color: #86a6c5; }
kbd { background: rgba(69,116,164,.23); border: 1px solid rgba(105,158,212,.18); color: #aac9e6; border-radius: 6px; padding: 3px 6px; font-size: 11px; }
.avatar, .icon-btn, .ghost-btn, .text-btn { cursor: pointer; border: 1px solid rgba(53,154,234,.42); background: rgba(5,31,56,.65); border-radius: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; color: #bfe8ff; box-shadow: 0 0 18px rgba(29,153,255,.18); }
.icon-btn { min-width: 40px; height: 40px; }
.ghost-btn { padding: 10px 14px; }
.text-btn { border-color: transparent; background: transparent; color: var(--cyan); padding: 6px 8px; }

.stepper { display: grid; grid-template-columns: minmax(180px,1fr) 28px minmax(180px,1fr) 28px minmax(210px,1fr) 28px minmax(180px,1fr); align-items: center; margin-bottom: 18px; }
.step { min-height: 83px; border: 1px solid rgba(70,163,231,.34); border-radius: 13px; background: linear-gradient(180deg, rgba(9,47,78,.77), rgba(5,30,55,.84)); display: grid; grid-template-columns: 28px 44px 1fr; align-items: center; gap: 10px; padding: 12px; text-align: left; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); transition: .22s ease; }
.step:hover { transform: translateY(-1px); border-color: rgba(62,184,255,.58); }
.step.current { border-color: var(--cyan); box-shadow: 0 0 21px rgba(0,167,255,.32), inset 0 0 24px rgba(27,121,255,.12); }
.step-state { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(103,139,178,.55); color: white; font-weight: 800; font-size: 12px; }
.step.completed .step-state { background: var(--mint); color: #052b2c; box-shadow: 0 0 15px rgba(51,229,180,.45); }
.step.current .step-state { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 15px rgba(21,179,255,.55); }
.step-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(5,70,125,.68); color: var(--cyan); font-size: 22px; border: 1px solid rgba(43,158,249,.36); }
.step-copy { display: grid; gap: 5px; }
.step-copy strong { font-size: 13px; }
.step-copy small { color: var(--muted); font-size: 11px; }
.step.current .step-copy strong, .step.current .step-copy small { color: #bfe9ff; }
.connector { height: 3px; }
.connector.done { background: linear-gradient(90deg, var(--mint), var(--mint-2)); box-shadow: 0 0 10px rgba(38,227,177,.34); }
.connector.pending { background: repeating-linear-gradient(90deg, rgba(140,169,199,.55) 0 5px, transparent 5px 9px); }

.workspace-grid { display: grid; grid-template-columns: minmax(320px, 360px) minmax(0, 1fr); gap: 18px; }
.left-stack { display: grid; gap: 16px; align-content: start; }
.card { border-radius: var(--radius); }
.upload-card, .projects-card, .main-card { padding: 16px; }
.card-title { font-size: 16px; font-weight: 750; display: flex; align-items: center; gap: 10px; }
.card-title.small { font-size: 13px; }
.circle-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, rgba(16,119,255,.72), rgba(0,190,255,.65)); box-shadow: 0 0 14px rgba(18,148,255,.32); }
.drop-zone { margin-top: 16px; min-height: 145px; border: 1px dashed rgba(108,188,255,.70); border-radius: 12px; background: linear-gradient(180deg, rgba(8,45,79,.50), rgba(6,31,56,.32)); display: grid; place-items: center; align-content: center; gap: 7px; color: #d7ecff; cursor: pointer; outline: none; transition: .2s ease; padding: 16px; text-align: center; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--cyan); background: rgba(10,66,110,.54); box-shadow: inset 0 0 18px rgba(0,175,255,.12), 0 0 16px rgba(0,160,255,.12); }
.upload-cloud { font-size: 34px; color: var(--cyan); line-height: 1; }
.drop-zone span { color: #b9d6ee; font-size: 12px; }
.drop-zone small { color: #8ba8c4; font-size: 10px; }
.selection-summary { display: flex; gap: 7px; align-items: center; color: #d7eaff; font-size: 11px; margin: 12px 0 8px; }
.ok-dot { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #053a32; font-size: 9px; font-weight: 900; }
.thumb-strip { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; }
.thumb { width: 56px; flex: 0 0 56px; display: grid; gap: 4px; text-align: center; color: #bcd3e9; font-size: 10px; }
.thumb > div { height: 64px; border-radius: 5px; border: 2px solid rgba(111,155,190,.65); background: #eef4f8; position: relative; overflow: hidden; }
.thumb.selected > div { border-color: var(--cyan); box-shadow: 0 0 10px rgba(0,184,255,.48); }
.paper-lines { background: repeating-linear-gradient(180deg, #dfe7ec 0 4px, #8799a6 4px 5px, #edf4f8 5px 9px); }
.thumb-real img { width: 100%; height: 64px; object-fit: cover; border-radius: 5px; border: 2px solid rgba(77,169,232,.55); }
.thumb-real .remove-thumb { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,105,105,.7); background: #401826; color: #ffb5b5; cursor: pointer; }
.info-note { display: flex; gap: 8px; padding: 10px; border-radius: 9px; background: rgba(10,93,167,.22); border: 1px solid rgba(52,163,244,.26); color: #70caff; font-size: 10.5px; line-height: 1.45; margin: 10px 0; }
.primary-btn, .secondary-btn, .next-btn { border-radius: 9px; cursor: pointer; min-height: 42px; border: 1px solid rgba(31,167,255,.58); padding: 10px 16px; font-weight: 700; transition: .18s ease; }
.primary-btn { background: linear-gradient(180deg, #167fff, #0a68dd); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 8px 18px rgba(0,80,180,.22); }
.primary-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary-btn.glow { box-shadow: 0 0 18px rgba(12,176,255,.45), inset 0 1px 0 rgba(255,255,255,.19); border-color: #31d0ff; }
.primary-btn.wide { width: 100%; }
.primary-btn.large { min-height: 50px; padding-inline: 24px; font-size: 15px; }
.secondary-btn { background: rgba(6,39,70,.70); color: #80d5ff; }
.secondary-btn:hover { background: rgba(12,66,111,.78); }
.progress-panel { margin-top: 10px; padding: 10px; border-radius: 10px; border: 1px solid rgba(53,158,231,.26); background: rgba(2,20,38,.58); }
.progress-row { display: flex; justify-content: space-between; color: #a8c8e3; font-size: 11px; margin-bottom: 7px; }
.progress-track { height: 7px; background: rgba(66,126,176,.20); border-radius: 999px; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 12px rgba(17,177,255,.45); transition: width .25s ease; }
.card-header-inline { display: flex; align-items: center; justify-content: space-between; }
.project-list { margin-top: 10px; display: grid; gap: 5px; }
.project-row { width: 100%; display: grid; grid-template-columns: 20px minmax(0,1fr) auto 7px auto; align-items: center; gap: 6px; padding: 8px 6px; border: 0; border-radius: 7px; background: transparent; color: #cfe5f8; text-align: left; cursor: pointer; font-size: 10.5px; }
.project-row:hover { background: rgba(17,70,116,.44); }
.project-row.active { background: linear-gradient(90deg, rgba(24,114,214,.34), rgba(14,65,119,.26)); }
.project-row-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-row-meta { color: #a2bed6; }
.project-row-status { color: #55e7b8; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot.blue { background: var(--cyan); box-shadow: 0 0 8px rgba(19,188,255,.48); }
.dot.green { background: var(--mint); }

.main-card { min-height: 620px; }
.stage-panel { display: grid; gap: 16px; }
.stage-heading { display: flex; align-items: center; gap: 12px; }
.stage-heading.between { justify-content: space-between; }
.stage-title-group { display: flex; align-items: center; gap: 12px; }
.stage-symbol { font-size: 34px; color: var(--cyan); text-shadow: 0 0 18px rgba(20,196,255,.42); }
.stage-heading h2 { margin: 0; font-size: 22px; color: #aee7ff; letter-spacing: -.02em; }
.stage-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; padding: 11px; border-radius: 12px; background: rgba(9,45,78,.50); border: 1px solid rgba(50,154,228,.25); }
.metrics-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.metric { min-height: 92px; padding: 12px; display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; border-radius: 9px; background: linear-gradient(180deg, rgba(11,53,89,.70), rgba(6,33,59,.72)); border: 1px solid rgba(41,129,200,.14); }
.metric-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,93,160,.42); color: var(--cyan); font-size: 20px; }
.metric-icon.mint { color: var(--mint); background: rgba(19,113,95,.34); }
.metric-icon.warn { color: #ff8b79; background: rgba(136,46,47,.30); border: 1px solid rgba(255,108,98,.33); }
.metric strong { display: block; font-size: 22px; }
.metric span:not(.metric-icon) { display: block; font-size: 11px; color: #d5e8f7; margin-top: 2px; }
.metric small { display: block; font-size: 9.5px; color: #819eba; margin-top: 4px; }
.metric.warning strong, .metric.warning span:not(.metric-icon) { color: #ff9288; }
.recommendation-box { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid rgba(35,164,244,.35); background: linear-gradient(90deg, rgba(8,69,119,.42), rgba(7,45,80,.50)); border-radius: 12px; }
.recommendation-box.accent { box-shadow: inset 0 0 26px rgba(17,105,186,.08); }
.recommendation-copy { display: flex; gap: 12px; }
.spark { font-size: 29px; color: var(--cyan); }
.recommendation-box h3 { margin: 0 0 7px; color: #6ecfff; font-size: 14px; }
.recommendation-box p { margin: 0; color: #afc9df; font-size: 11.5px; line-height: 1.55; max-width: 680px; }
.cta-stack { display: grid; gap: 8px; min-width: 270px; }
.accordion-list { display: grid; gap: 10px; }
.accordion-list details { border: 1px solid rgba(53,143,208,.27); border-radius: 10px; background: rgba(4,27,49,.54); }
.accordion-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #d6e9f9; font-size: 12px; }
.accordion-list summary::-webkit-details-marker { display: none; }
.summary-spacer { flex: 1; }
.accordion-content { padding: 0 16px 15px 42px; color: #8eacc7; font-size: 11px; line-height: 1.55; }
.compact-top { margin-top: 4px; }
.next-strip { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(47,222,171,.34); background: linear-gradient(90deg, rgba(17,95,77,.35), rgba(9,52,55,.38)); color: #b9dfd2; font-size: 11px; }
.next-strip > span:nth-child(2) { flex: 1; }
.success-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #052b2b; font-weight: 900; box-shadow: 0 0 16px rgba(43,231,183,.34); }
.success-icon.small { width: 24px; height: 24px; font-size: 11px; }
.next-btn { background: rgba(9,95,90,.34); border-color: rgba(49,232,191,.65); color: #8ff0d2; min-height: 36px; }
.success-box { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid rgba(47,222,171,.34); background: rgba(14,96,75,.22); }
.success-box strong { color: #aef8df; }
.success-box p { margin: 5px 0 0; color: #9cc8ba; font-size: 11px; }

.metadata-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 16px; border: 1px solid rgba(46,150,224,.25); border-radius: 12px; background: rgba(6,35,62,.46); }
.metadata-grid label { display: grid; gap: 6px; color: #9db9d4; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.metadata-grid input, .metadata-grid select { width: 100%; border-radius: 8px; border: 1px solid rgba(59,156,227,.34); background: rgba(2,20,37,.72); color: #eaf7ff; padding: 10px 11px; outline: none; text-transform: none; letter-spacing: 0; }
.metadata-grid input:focus, .metadata-grid select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(26,176,255,.10); }
.span-two { grid-column: span 2; }
.ready-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(49,232,191,.52); background: rgba(19,100,83,.28); color: #8ff0d2; font-size: 11px; }
.final-actions { display: flex; gap: 10px; justify-content: flex-end; }
.blocker-box { padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(255,123,102,.42); background: rgba(108,39,41,.26); color: #ffc7bd; font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(1,8,16,.72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(8px); }
.modal { width: min(720px, 96vw); border-radius: 16px; padding: 18px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal-header h2 { margin: 0; }
.modal-header p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.review-list { display: grid; gap: 9px; margin: 18px 0; }
.review-item { display: grid; grid-template-columns: 1fr 190px; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(7,39,67,.72); border: 1px solid rgba(43,137,207,.27); }
.review-item span { display: grid; gap: 4px; }
.review-item small { color: var(--muted); }
.review-item select { background: rgba(2,22,41,.74); color: #e4f2ff; border: 1px solid rgba(60,159,232,.35); border-radius: 8px; padding: 9px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; max-width: 360px; padding: 12px 14px; border-radius: 10px; background: rgba(7,61,89,.94); border: 1px solid rgba(54,186,255,.50); color: #e6f7ff; box-shadow: 0 12px 30px rgba(0,0,0,.32), 0 0 20px rgba(19,174,255,.14); font-size: 12px; }
.hidden { display: none !important; }

@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .workspace-grid { grid-template-columns: 320px minmax(0,1fr); }
  .stepper { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
  .connector { display: none; }
  .step { grid-template-columns: 26px 36px 1fr; }
  .step-icon { width: 36px; height: 36px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 920px) {
  .app-shell { display: block; }
  .sidebar { position: relative; width: 100%; height: auto; min-height: unset; border-right: 0; border-bottom: 1px solid rgba(57,163,255,.25); }
  .sidebar-nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sidebar-spacer, .motto, .storage { display: none; }
  .workspace-grid { grid-template-columns: 1fr; }
  .left-stack { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topbar { flex-direction: column; }
  .topbar-actions { width: 100%; justify-content: flex-start; }
  .search-box { flex: 1; min-width: 220px; }
}

@media (max-width: 680px) {
  .main-area { padding: 12px; }
  .left-stack { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .step { min-height: 72px; }
  .metrics-grid, .metrics-grid.three, .metadata-grid { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .recommendation-box { grid-template-columns: 1fr; }
  .cta-stack { min-width: 0; }
  .topbar-actions { align-items: stretch; }
  .search-box { min-width: 0; width: 100%; }
  .review-item { grid-template-columns: 1fr; }
}
