:root {
  --bg: #f5f7f4;
  --panel: #ffffff;
  --panel-soft: #f9fbf7;
  --ink: #182521;
  --muted: #64726d;
  --line: #dfe7e1;
  --teal: #0f766e;
  --teal-dark: #13443e;
  --teal-soft: #e4f3ef;
  --orange: #c76a1e;
  --orange-soft: #fff0df;
  --amber: #9a6a0a;
  --amber-soft: #fff7d9;
  --red: #b4233a;
  --red-soft: #fde8eb;
  --shadow: 0 18px 45px rgba(24, 37, 33, 0.1);
  --radius: 8px;
  --radius-sm: 6px;
  --sidebar-w: 268px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", "PingFang SC", "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(245, 247, 244, 0) 280px),
    var(--bg);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
}

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

button {
  cursor: pointer;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #153d38;
  color: #f6fbf8;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 6px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: #e8fff8;
  color: #153d38;
  display: grid;
  place-items: center;
}

.brand-mark .icon {
  width: 23px;
  height: 23px;
}

.brand-title {
  font-weight: 800;
  font-size: 20px;
}

.brand-subtitle {
  margin-top: 3px;
  color: rgba(246, 251, 248, 0.68);
  font-size: 12px;
}

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

.nav-item {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(246, 251, 248, 0.75);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.nav-item:active {
  transform: translateY(1px);
}

.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #153d38;
  background: rgba(255, 255, 255, 0.82);
}

.nav-icon .icon {
  width: 16px;
  height: 16px;
}

.sidebar-note {
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-note p {
  margin: 8px 0 0;
  color: rgba(246, 251, 248, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.note-kicker,
.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar .note-kicker {
  color: #b9f4e5;
}

.main {
  min-width: 0;
  padding: 26px 30px 48px;
}

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

h1,
h2,
h3,
h4,
p {
  text-wrap: pretty;
}

h1 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.2;
}

h2 {
  margin: 6px 0 0;
  font-size: 24px;
  line-height: 1.28;
}

h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.topbar-actions,
.lead-actions,
.inline-actions,
.decision-header,
.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-pill {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--teal-dark);
  display: inline-grid;
  place-items: center;
}

.icon-button:hover {
  border-color: rgba(15, 118, 110, 0.4);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: 18px;
}

.lead-panel,
.decision-panel,
.section-block,
.form-panel,
.result-panel,
.upload-panel,
.config-panel,
.analysis-panel,
.report-summary,
.metric-card,
.report-content,
.modal,
.history-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.lead-panel {
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(255, 240, 223, 0.72)),
    var(--panel);
}

.lead-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.decision-panel {
  padding: 22px;
}

.decision-score {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 10px;
  color: var(--muted);
}

.decision-score strong {
  color: var(--ink);
  font-size: 22px;
}

.meter,
.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: #e8eee8;
  overflow: hidden;
}

.meter span,
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.priority-list {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 9px 14px;
  font-weight: 800;
  transition: transform 160ms ease, border 160ms ease, background 160ms ease;
}

.primary-button {
  background: var(--teal);
  color: #fff;
}

.primary-button:hover {
  background: #0c655f;
}

.secondary-button {
  background: var(--panel);
  border-color: var(--line);
  color: var(--teal-dark);
}

.secondary-button:hover {
  border-color: rgba(15, 118, 110, 0.42);
}

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

.wide {
  width: 100%;
}

.text-button {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--teal);
}

.primary-button:active,
.secondary-button:active,
.text-button:active,
.mode-card:active,
.history-item:active {
  transform: translateY(1px);
}

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

.mode-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  text-align: left;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.mode-card strong {
  color: var(--ink);
  font-size: 20px;
}

.mode-card.selected,
.mode-card:hover {
  border-color: rgba(15, 118, 110, 0.48);
  box-shadow: var(--shadow);
}

.mode-code {
  width: fit-content;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.section-block {
  padding: 22px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.overview-table,
.report-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 110px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

#workspaceTaskRows {
  display: contents;
}

.table-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.report-table .table-row {
  grid-template-columns: 0.8fr 1.3fr 1.5fr;
}

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

.table-head {
  background: var(--panel-soft);
  color: var(--ink);
  font-weight: 800;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-chip.teal {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.status-chip.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.status-chip.orange {
  background: var(--orange-soft);
  color: var(--orange);
}

.status-chip.red {
  background: var(--red-soft);
  color: var(--red);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
}

.video-layout {
  align-items: start;
}

.form-panel,
.result-panel,
.upload-panel,
.config-panel,
.analysis-panel {
  padding: 24px;
}

.inline-actions {
  margin-top: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.file-drop {
  border: 1px dashed rgba(15, 118, 110, 0.36);
  border-radius: var(--radius);
  background: var(--panel-soft);
  padding: 14px;
  color: var(--teal-dark);
}

.file-drop span {
  font-size: 14px;
}

.file-drop small {
  color: var(--muted);
  line-height: 1.55;
  font-weight: 500;
}

.file-drop input {
  padding: 9px;
  background: #fff;
}

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

textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.65;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

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

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

.idea-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.interested-block {
  margin: 14px 0 18px;
}

.interested-block h3 {
  margin-bottom: 10px;
}

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

.interested-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  padding: 12px;
}

.interested-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.interested-item span,
.interested-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.empty-state {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(228, 243, 239, 0.56)),
    var(--panel);
}

.insight-card,
.traffic-card,
.strategy-grid > div,
.audience-grid article,
.advice-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 16px;
}

.insight-card span,
.traffic-card span,
.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.insight-card strong,
.traffic-card strong,
.strategy-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.45;
}

.insight-card p,
.traffic-card p,
.metric-card p,
.strategy-grid p,
.muted {
  color: var(--muted);
  line-height: 1.65;
}

.mini-comments {
  margin-top: 18px;
}

.mini-comments p {
  margin: 8px 0;
  border-left: 3px solid var(--teal);
  padding: 8px 12px;
  background: var(--panel-soft);
  color: var(--muted);
}

.overall-evaluation {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.overall-evaluation h3 {
  margin-bottom: 10px;
}

.overall-evaluation p {
  margin: 10px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.85;
}

.overall-evaluation strong {
  color: var(--teal-dark);
  font-weight: 900;
}

.video-card {
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel-soft);
}

.video-card.empty-video {
  border-style: dashed;
}

.video-empty-hint {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--teal-dark);
  text-align: center;
  padding: 28px;
}

.video-empty-hint strong {
  font-size: 18px;
}

.video-empty-hint span {
  color: var(--muted);
  font-size: 13px;
}

.video-card.has-file img {
  opacity: 1;
  filter: none;
}

.video-card.has-file .video-empty-hint {
  display: none;
}

.video-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.video-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px;
}

.video-card figcaption span {
  color: var(--muted);
  font-size: 13px;
}

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

.toggle-row {
  margin: 0;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--panel);
}

.toggle-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.toggle-row span,
.toggle-row small {
  grid-column: 2;
}

.toggle-row small {
  color: var(--muted);
  line-height: 1.5;
}

.boundary-box {
  margin: 16px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: #5c4208;
}

.boundary-box p {
  margin: 6px 0 0;
  line-height: 1.65;
}

.analysis-panel {
  margin-top: 18px;
}

.progress-bar span {
  width: 0;
  transition: width 260ms ease;
}

.analysis-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.analysis-steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.analysis-steps li.done {
  border-color: rgba(15, 118, 110, 0.32);
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
}

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

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  padding: 16px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}

.report-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.report-nav {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  padding: 10px;
}

.report-tab {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  text-align: left;
  padding: 9px 10px;
}

.report-tab:hover,
.report-tab.active {
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 800;
}

.report-content {
  padding: 22px;
}

.report-section {
  display: none;
}

.report-section.active {
  display: block;
}

.compare-grid,
.traffic-grid,
.strategy-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-column {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  padding: 16px;
}

.compare-column ul,
.traffic-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.report-table {
  margin-top: 16px;
}

.advice-list {
  display: grid;
  gap: 12px;
}

.advice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.advice-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.advice-card h4 {
  margin-bottom: 8px;
}

.advice-card p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.65;
}

.advice-actions {
  min-width: 150px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.advice-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.advice-actions button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.audience-grid article {
  display: grid;
  gap: 8px;
}

.audience-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.checklist-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

.checklist-summary strong {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 26px;
}

.history-list {
  display: grid;
  gap: 12px;
}

.history-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.history-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(160px, 1fr) minmax(220px, 2fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
}

.history-item strong {
  color: var(--ink);
}

.history-item em {
  font-style: normal;
  line-height: 1.5;
}

.history-item.editing {
  grid-template-columns: minmax(150px, 1fr) minmax(160px, 1fr) minmax(220px, 2fr) 48px;
}

.history-item.editing:hover {
  color: var(--danger);
  border-color: rgba(177, 58, 58, 0.32);
  background: rgba(177, 58, 58, 0.08);
}

.history-item b {
  justify-self: end;
  color: var(--danger);
  font-size: 13px;
}

.history-empty {
  padding: 22px;
  border: 1px dashed var(--line);
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.history-empty strong {
  color: var(--ink);
}

.history-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 28, 25, 0.42);
}

.modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: 20px;
  overflow: auto;
  box-shadow: var(--shadow);
}

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

.modal-header h2 {
  margin: 0;
}

.export-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
  padding: 16px;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-wrap;
}

.modal-actions {
  justify-content: flex-end;
  margin-top: 16px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  min-width: 220px;
  max-width: 360px;
  border-radius: var(--radius);
  background: #153d38;
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .workspace-grid,
  .split-layout,
  .report-layout {
    grid-template-columns: 1fr;
  }

  .report-nav {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

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

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

  .nav-item {
    justify-content: center;
    padding: 9px 6px;
  }

  .nav-item span:last-child {
    display: none;
  }

  .sidebar-note {
    display: none;
  }

  .main {
    padding: 18px 14px 34px;
  }

  .topbar,
  .report-summary,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .mode-grid,
  .metric-grid,
  .compare-grid,
  .traffic-grid,
  .strategy-grid,
  .audience-grid,
  .form-row,
  .analysis-steps {
    grid-template-columns: 1fr;
  }

  .table-row,
  .report-table .table-row,
  .history-item {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .history-item.editing {
    grid-template-columns: 1fr;
  }

  .history-item b {
    justify-self: start;
  }

  .table-head {
    display: none;
  }

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

  .advice-actions {
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .lead-panel,
  .decision-panel,
  .section-block,
  .form-panel,
  .result-panel,
  .upload-panel,
  .config-panel,
  .analysis-panel,
  .report-summary,
  .report-content {
    padding: 16px;
  }

  .report-nav {
    grid-template-columns: 1fr;
  }

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

  .topbar-actions {
    align-items: stretch;
  }

  .project-pill {
    border-radius: var(--radius);
  }
}
