:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --ink: #161712;
  --muted: #666a61;
  --quiet: #8c8f86;
  --rule: rgba(22, 23, 18, .12);
  --red: #ce1126;
  --red-dark: #9c0f1f;
  --gold: #b69238;
  --green: #25785d;
  --blue: #315f8d;
  --black: #111111;
  --shadow: 0 20px 50px rgba(17, 17, 17, .08);
  --radius: 8px;
  --max: 1480px;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  cursor: pointer;
}

.material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 650, "GRAD" 0, "opsz" 24;
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  min-height: 68px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(248, 247, 243, .92);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-weight: 900;
  transform: skewX(-8deg);
}

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

.brand strong {
  font-size: 13px;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.top-actions,
.json-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-btn,
.secondary-btn,
.icon-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.primary-btn {
  padding: 0 15px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(206, 17, 38, .18);
}

.primary-btn:hover {
  background: var(--red-dark);
}

.primary-btn:disabled,
.secondary-btn:disabled,
.icon-btn:disabled {
  cursor: wait;
  opacity: .68;
}

.secondary-btn,
.icon-btn {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--rule);
}

.secondary-btn {
  padding: 0 14px;
}

.icon-btn {
  width: 40px;
  padding: 0;
}

.app-result {
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(49, 95, 141, .22);
  border-radius: var(--radius);
  background: #eef5fb;
  color: var(--ink);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: start;
  box-shadow: var(--shadow);
}

.app-result[hidden] {
  display: none;
}

.app-result.is-success {
  border-color: rgba(37, 120, 93, .28);
  background: #eff8f4;
}

.app-result.is-warning {
  border-color: rgba(182, 146, 56, .34);
  background: #fff9e8;
}

.app-result.is-pending {
  border-color: rgba(49, 95, 141, .28);
  background: #eef5fb;
}

.app-result > .material-symbols-outlined {
  color: var(--blue);
  margin-top: 2px;
}

.app-result.is-success > .material-symbols-outlined {
  color: var(--green);
}

.app-result.is-warning > .material-symbols-outlined {
  color: var(--gold);
}

.app-result strong,
.app-result small,
.app-result a {
  display: block;
}

.app-result strong {
  font-size: 13px;
}

.app-result small {
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.45;
}

.app-result a {
  margin-top: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.result-links {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.result-link {
  padding: 9px 10px;
  border: 1px solid rgba(37, 120, 93, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
}

.result-link span {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.result-link small {
  margin-top: 2px;
  color: var(--red);
  font-size: 12px;
}

.app-result button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  display: grid;
  place-items: center;
}

.progress-bar {
  height: 9px;
  margin-top: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(49, 95, 141, .15);
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width .24s ease;
}

.progress-value {
  min-width: 42px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.workspace {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.rail {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 8px;
}

.step {
  min-height: 72px;
  padding: 10px 6px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 850;
}

.step.is-active {
  color: var(--red);
  border-color: rgba(206, 17, 38, .32);
  background: #fff8f6;
}

.main-column {
  display: grid;
  gap: 16px;
}

.creator-page:not(.is-active-page) {
  display: none !important;
}

.creator-page.is-active-page {
  display: block;
}

.review-layout.creator-page.is-active-page {
  display: grid;
}

.preview-column.creator-page.is-active-page {
  display: block;
  grid-column: 2;
}

.intro-band,
.panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-band {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
  line-height: 1.15;
}

.status-strip {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--quiet);
}

.status-strip.is-ready .status-dot {
  background: var(--green);
}

.panel {
  padding: 18px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.file-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dropzone {
  min-height: 166px;
  border: 2px dashed rgba(49, 95, 141, .28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(49, 95, 141, .08), rgba(182, 146, 56, .08)),
    var(--surface-2);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px;
  color: var(--muted);
}

.dropzone.is-over {
  border-color: var(--red);
  background: #fff8f6;
}

.dropzone .material-symbols-outlined {
  color: var(--blue);
  font-size: 34px;
}

.dropzone strong {
  max-width: 640px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.dropzone small {
  max-width: 620px;
  line-height: 1.55;
}

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

.doc-card {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.doc-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--blue);
}

.doc-card strong,
.doc-card small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-card strong {
  font-size: 13px;
}

.doc-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.doc-type {
  padding: 5px 7px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

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

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  outline: none;
}

input,
select {
  height: 42px;
  padding: 0 11px;
}

textarea {
  min-height: 102px;
  padding: 11px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(206, 17, 38, .6);
  box-shadow: 0 0 0 3px rgba(206, 17, 38, .08);
}

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

.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
  gap: 16px;
}

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

.review-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.counter {
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.muted-counter {
  background: var(--surface-2);
  color: var(--green);
  border: 1px solid rgba(37, 120, 93, .2);
}

.support-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.profile-note {
  margin-top: 12px;
}

.gallery-target {
  min-width: 220px;
}

.image-picker-tools {
  margin-bottom: 12px;
}

.gallery-search {
  display: grid;
  gap: 6px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.gallery-tab {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.gallery-tab.is-active {
  background: #fff8f6;
  border-color: rgba(206, 17, 38, .32);
  color: var(--red);
}

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

.gallery-card {
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  color: var(--ink);
}

.gallery-card.is-selected {
  border-color: rgba(206, 17, 38, .74);
  box-shadow: 0 0 0 3px rgba(206, 17, 38, .1);
}

.gallery-thumb {
  display: block;
  width: 100%;
  height: 118px;
  background: #ddd center / cover;
}

.gallery-card strong,
.gallery-card small {
  display: block;
  padding: 0 10px;
}

.gallery-card strong {
  margin-top: 9px;
  font-size: 13px;
}

.gallery-card small {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 11px;
}

.online-image-box,
.custom-image-box {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.online-image-box strong,
.online-image-box small,
.custom-image-box strong,
.custom-image-box small {
  display: block;
}

.online-image-box strong,
.custom-image-box strong {
  font-size: 13px;
}

.online-image-box small,
.custom-image-box small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.online-image-form {
  min-width: min(420px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.custom-image-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.custom-image-row {
  width: 100%;
  min-height: 66px;
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-align: left;
}

.custom-image-row.is-selected {
  border-color: rgba(206, 17, 38, .74);
  box-shadow: 0 0 0 3px rgba(206, 17, 38, .1);
}

.custom-image-row:disabled {
  cursor: wait;
  opacity: .72;
}

.custom-image-thumb {
  height: 50px;
  border-radius: 6px;
  background: var(--surface-2) center / cover;
}

.custom-image-row strong,
.custom-image-row small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-image-row strong {
  font-size: 13px;
}

.custom-image-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.allocation-input {
  min-height: 142px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .94)),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(22, 23, 18, .04) 27px 28px);
  font-family: var(--ff);
}

.checklist {
  display: grid;
  gap: 9px;
}

.check-row {
  padding: 11px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
}

.check-row .material-symbols-outlined {
  color: var(--gold);
}

.check-row strong {
  display: block;
  font-size: 13px;
}

.check-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.45;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.metric {
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface-2);
}

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

.metric strong {
  font-size: 26px;
  line-height: 1;
}

.metric small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.review-assets {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr);
  gap: 12px;
}

.review-asset-hero,
.review-experience {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.review-asset-hero > span,
.review-experience > span {
  display: block;
  background: var(--surface-2) center / cover;
}

.review-asset-hero > span {
  aspect-ratio: 16 / 8;
}

.review-asset-hero div,
.review-experience div {
  padding: 12px;
}

.review-asset-hero strong,
.review-asset-hero small,
.review-experience strong,
.review-experience small {
  display: block;
}

.review-asset-hero strong,
.review-experience strong {
  font-size: 13px;
  line-height: 1.3;
}

.review-asset-hero small,
.review-experience small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.review-experience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.review-experience {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: stretch;
}

.review-experience > span {
  min-height: 82px;
}

.timing-empty {
  grid-column: 1 / -1;
}

.timing-day {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.timing-day header {
  min-height: 58px;
  padding: 11px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--rule);
}

.timing-day header strong,
.timing-day header span,
.timing-day header small {
  display: block;
}

.timing-day header strong {
  font-size: 13px;
}

.timing-day header span,
.timing-day header small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.timing-rows {
  display: grid;
}

.timing-row {
  min-height: 64px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: start;
  border-top: 1px solid rgba(22, 23, 18, .08);
}

.timing-row:first-child {
  border-top: 0;
}

.timing-row label,
.timing-row-fields {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.timing-row label span {
  display: block;
  color: var(--quiet);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.timing-row input {
  width: 100%;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.timing-row input:focus {
  border-color: rgba(206, 17, 38, .32);
  background: #fff;
  outline: 0;
  padding: 0 8px;
}

.timing-time-input {
  color: var(--red) !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums;
}

.timing-row-fields {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.timing-delete {
  width: 30px;
  height: 30px;
  margin-top: 17px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.timing-delete .material-symbols-outlined {
  font-size: 17px;
}

.timing-add {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-top: 1px dashed rgba(22, 23, 18, .16);
  background: rgba(248, 247, 243, .72);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timing-missing {
  padding: 13px 12px;
  color: var(--muted);
  font-size: 13px;
}

.preview-column {
  position: static;
}

.phone {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  max-height: none;
  overflow: auto;
  border: 10px solid #151515;
  border-radius: 34px;
  background: #f8f8f6;
  box-shadow: 0 28px 70px rgba(17, 17, 17, .22);
}

.phone-top {
  min-height: 54px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}

.phone-top button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(206, 17, 38, .22);
  border-radius: 50%;
  background: #fff7f6;
  color: var(--red);
  display: grid;
  place-items: center;
}

.today-hero {
  padding: 22px 18px;
  background:
    linear-gradient(140deg, rgba(206, 17, 38, .95), rgba(17, 17, 17, .88)),
    #b61024;
  color: #fff;
}

.today-hero small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.today-hero h2 {
  font-size: 30px;
  line-height: 1.03;
}

.today-hero p {
  margin-top: 9px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.45;
}

.next-up {
  margin: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: #ce1126;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.next-up small,
.next-up span {
  display: block;
}

.next-up small {
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.next-up strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.05;
}

.next-up span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  line-height: 1.35;
}

.next-up b {
  font-size: 27px;
  font-variant-numeric: tabular-nums;
}

.next-up.is-late {
  background: repeating-linear-gradient(135deg, #ffde17 0 18px, #f51b26 18px 36px);
  color: #111;
  box-shadow: 0 16px 32px rgba(206, 17, 38, .25);
}

.next-up.is-late small,
.next-up.is-late span {
  color: #111;
}

.next-up.is-late b {
  font-size: 33px;
}

.phone-section {
  margin: 14px;
  padding: 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: #fff;
}

.phone-section h3 {
  margin-bottom: 10px;
  font-size: 13px;
  text-transform: uppercase;
}

.timeline-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(22, 23, 18, .08);
}

.timeline-row:first-child {
  border-top: 0;
}

.timeline-row time {
  color: var(--red);
  font-weight: 900;
  font-size: 12px;
}

.timeline-row strong {
  display: block;
  font-size: 13px;
}

.timeline-row small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  line-height: 1.35;
}

#phoneBrief {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.empty {
  padding: 16px;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .preview-column {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .topbar {
    padding: 10px 14px;
  }

  .workspace {
    width: min(100% - 20px, var(--max));
    grid-template-columns: 1fr;
  }

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

  .step {
    min-height: 54px;
  }

  .intro-band,
  .review-layout,
  .form-grid,
  .doc-grid,
  .gallery-grid,
  .review-assets,
  .review-experience-list,
  .timing-overview {
    grid-template-columns: 1fr;
  }

  .preview-column {
    grid-column: auto;
  }

  .phone {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .brand small,
  .top-actions .primary-btn span + span {
    display: none;
  }

  .top-actions {
    gap: 6px;
  }

  .panel,
  .intro-band {
    padding: 14px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-image-box {
    align-items: stretch;
    flex-direction: column;
  }

  .online-image-box {
    align-items: stretch;
    flex-direction: column;
  }

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

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .top-actions .primary-btn,
  .top-actions .secondary-btn {
    width: auto;
  }
}
