:root {
  color-scheme: light;
  --paper: #f7f1e7;
  --paper-2: #fbf6ee;
  --cloud: #ffffff;
  --ink: #17150f;
  --ink-70: #4a463c;
  --dim: #8a8578;
  --line: #e4dac7;
  --night: #141210;
  --red1: #e5484d;
  --red-deep: #c23237;
  --charge: #3fb55b;
  --charge-soft: #e6f5e9;
  --bg: var(--paper);
  --surface: var(--cloud);
  --surface-2: var(--paper-2);
  --muted: var(--dim);
  --accent: var(--red1);
  --accent-dark: var(--red-deep);
  --green: var(--charge);
  --green-soft: var(--charge-soft);
  --shadow: 0 18px 60px rgba(23, 21, 15, 0.08);
  --radius: 8px;
  font-family:
    "General Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

button {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: var(--night);
  color: #fff;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--red1);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand span,
.small-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.sidebar .brand span {
  color: #c8bfae;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8bfae;
  cursor: pointer;
  text-align: left;
}

.nav-item.active,
.nav-item:hover {
  background: var(--red1);
  color: #fff;
}

.icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 16px;
}

.sidebar-card {
  position: absolute;
  right: 18px;
  bottom: 24px;
  left: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1e1b18;
  border-color: #332d24;
}

.sidebar-card span,
.sidebar-card p {
  color: #c8bfae;
  font-size: 12px;
}

.sidebar-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 30px;
}

.sidebar-card p {
  margin: 0;
  line-height: 1.45;
}

.workspace {
  padding: 28px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.15;
}

.topbar p,
.summary-panel p,
.phone-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.top-actions,
.delivery-actions,
.phone-actions,
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-button,
.ghost-button,
.line-button,
.lang-toggle {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(229, 72, 77, 0.18);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.ghost-button,
.line-button,
.lang-toggle {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.compact {
  min-height: 34px;
  padding: 0 11px;
  font-size: 13px;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.7fr) minmax(240px, 0.8fr) minmax(240px, 0.8fr);
  gap: 16px;
  margin-bottom: 16px;
}

.mvp-panel {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mvp-head,
.client-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.mvp-head h2,
.client-toolbar h3,
.form-head h3 {
  margin: 4px 0 6px;
}

.mvp-head p,
.client-toolbar p,
.micro-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.api-status,
.pick-counter {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.api-status[data-tone="ok"] {
  border-color: rgba(63, 181, 91, 0.35);
  background: var(--green-soft);
  color: var(--green);
}

.api-status[data-tone="warn"] {
  color: #9a6a1b;
}

.api-status[data-tone="error"] {
  border-color: rgba(229, 72, 77, 0.35);
  color: var(--red1);
}

.mode-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.first-run-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.first-step {
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.first-step span {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 999px;
  background: #efe7d6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.first-step.active span {
  background: var(--red1);
  color: #fff;
}

.first-step strong,
.first-step small {
  display: block;
}

.first-step small {
  margin-top: 3px;
  color: var(--muted);
}

.mode-tab {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.mode-tab.active {
  background: var(--ink);
  color: #fff;
}

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

.mvp-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.mvp-card label,
.submit-picks {
  display: grid;
  gap: 6px;
  color: var(--ink-70);
  font-size: 13px;
  font-weight: 750;
}

.mvp-card input,
.mvp-card select,
.share-box input,
.submit-picks input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.share-box a {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.live-log {
  display: grid;
  gap: 7px;
  max-height: 220px;
  overflow: auto;
}

.log-item {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-70);
  font-size: 12px;
}

.log-item.ok {
  border-color: rgba(63, 181, 91, 0.25);
  color: #21733a;
}

.log-item.error {
  border-color: rgba(229, 72, 77, 0.28);
  color: var(--red1);
}

.hidden {
  display: none !important;
}

.client-mvp {
  display: grid;
  gap: 14px;
}

.workroom-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

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

.selection-block {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selection-block-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.selection-block-head strong,
.selection-block-head span {
  display: block;
}

.selection-block-head span,
.selection-block-head small {
  color: var(--muted);
  font-size: 12px;
}

.selected-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  padding: 12px;
}

.selected-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.selected-row img {
  width: 62px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  background: #eadfcb;
}

.selected-row strong,
.selected-row span {
  display: block;
}

.selected-row span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-row em {
  grid-column: 1 / -1;
  color: var(--red-deep);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.final-upload {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(180px, 0.8fr) minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.final-upload h3,
.final-upload p {
  margin: 0;
}

.final-upload p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.final-upload select,
.final-upload input {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
}

.more-details {
  margin-top: 16px;
}

.more-details > summary {
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 850;
}

.more-details[open] > summary {
  margin-bottom: 16px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
}

.client-photo {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.client-photo.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 181, 91, 0.16);
}

.client-photo.selected::after {
  content: "已选";
  position: absolute;
  right: 8px;
  bottom: 38px;
  padding: 5px 7px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.client-photo img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.client-photo-name {
  display: block;
  overflow: hidden;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  text-align: center;
}

.submit-picks {
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1fr) auto;
  align-items: center;
}

.summary-panel,
.photo-board,
.client-phone,
.ops-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary-panel {
  padding: 18px;
}

.hero-panel {
  background:
    linear-gradient(130deg, rgba(251, 246, 238, 0.94), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.session-heading,
.upload-row,
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.session-heading h2,
.section-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

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

.step {
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.step span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 9px;
  place-items: center;
  border-radius: 999px;
  background: #efe7d6;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.step small {
  margin-top: 3px;
  color: var(--muted);
}

.step.done span,
.step.active span {
  background: var(--green);
  color: #fff;
}

.step.active {
  border-color: rgba(47, 155, 104, 0.45);
}

.progress-track {
  width: min(420px, 42vw);
  height: 8px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eadfcb;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.avatar-row {
  display: flex;
  margin: 16px 0;
}

.avatar-row span,
.avatar-row button {
  display: grid;
  width: 38px;
  height: 38px;
  margin-right: -8px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 800;
}

.avatar-row button {
  cursor: pointer;
  background: var(--ink);
  color: #fff;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
}

.photo-board {
  padding: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.photo-card {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4ecdf;
}

.photo-card img {
  width: 100%;
  height: 134px;
  object-fit: cover;
  display: block;
}

.photo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
}

.photo-meta strong {
  font-size: 13px;
}

.photo-meta span {
  color: var(--muted);
  font-size: 11px;
}

.pick-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(23, 21, 15, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.family-votes {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.client-phone {
  display: grid;
  place-items: center;
  padding: 18px;
}

.phone-shell {
  width: min(100%, 292px);
  padding: 10px;
  border: 1px solid var(--night);
  border-radius: 28px;
  background: var(--night);
}

.phone-top {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #fff;
  font-size: 13px;
}

.phone-gallery {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

.phone-gallery img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.phone-copy {
  padding: 15px;
}

.phone-copy span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.phone-copy h3 {
  margin: 6px 0;
  font-size: 19px;
}

.phone-actions {
  padding: 0 15px 15px;
}

.phone-actions button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.phone-actions button:last-child {
  flex: 1;
}

.heart-button {
  width: 44px;
  font-size: 20px;
}

.heart-button.active {
  background: var(--accent);
}

.suite-section,
.channel-panel {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.suite-section {
  padding: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.feature-card {
  min-height: 176px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.feature-card strong,
.feature-card p {
  display: block;
}

.feature-card strong {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.28;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.channel-panel {
  padding: 18px;
}

.channel-panel h2 {
  margin: 4px 0 8px;
  font-size: 22px;
}

.channel-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.channel-preview {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red1);
}

.browser-bar span:nth-child(2) {
  background: #e7b94b;
}

.browser-bar span:nth-child(3) {
  background: var(--charge);
}

.channel-preview img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.channel-preview div:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
}

.channel-preview small {
  color: var(--muted);
}

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

.mini-feature-list span {
  min-height: 54px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
  font-weight: 800;
}

.plans-section {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plan-card.featured {
  border-color: rgba(229, 72, 77, 0.42);
  box-shadow: 0 18px 48px rgba(229, 72, 77, 0.1);
}

.plan-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--red1);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.plan-head {
  padding: 22px 18px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.plan-card.featured .plan-head {
  background: #efe1bd;
}

.plan-head span,
.plan-head strong,
.plan-head small {
  display: block;
}

.plan-head span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.plan-head strong {
  margin: 12px 0 3px;
  color: var(--red1);
  font-size: 34px;
  line-height: 1;
}

.plan-head small {
  color: var(--muted);
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-70);
  font-size: 13px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--charge);
  font-weight: 900;
}

.compliance-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(229, 72, 77, 0.22);
  border-radius: 8px;
  background: #fff8f4;
}

.compliance-panel strong,
.compliance-panel p {
  display: block;
}

.compliance-panel strong {
  margin-bottom: 6px;
  color: var(--red-deep);
}

.compliance-panel p {
  margin: 0;
  color: var(--ink-70);
  line-height: 1.55;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
  box-shadow: none;
}

.ops-strip div {
  padding: 16px;
  background: #fff;
}

.ops-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ops-strip strong {
  font-size: 14px;
  line-height: 1.45;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .summary-grid,
  .content-grid,
  .channel-grid,
  .mvp-layout,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
  }

  .client-phone {
    justify-items: start;
  }

  .photo-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .client-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    padding: 16px;
  }

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

  .sidebar-card {
    position: static;
    margin-top: 16px;
  }

  .workspace {
    padding: 18px;
  }

  .topbar,
  .session-heading,
  .upload-row,
  .mvp-head,
  .client-toolbar,
  .section-head {
    display: grid;
  }

  .top-actions {
    justify-content: start;
  }

  .workflow-steps,
  .first-run-steps,
  .ops-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .client-grid,
  .submit-picks,
  .selected-list,
  .final-upload,
  .form-row,
  .share-box {
    grid-template-columns: 1fr;
  }

  .progress-track {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .photo-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .top-actions .primary-button,
  .top-actions .ghost-button {
    width: 100%;
    justify-content: center;
  }
}
