:root {
  --ink: #172033;
  --muted: #627085;
  --line: #dbe4ef;
  --paper: #f6f8fb;
  --white: #ffffff;
  --blue: #1f6fd1;
  --teal: #0b8c86;
  --green: #2f7b4a;
  --gold: #b7791f;
  --orange: #e87817;
  --red: #c83f3b;
  --violet: #7155b7;
  --shadow: 0 16px 42px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Noto Sans TC", "PingFang TC", Arial, sans-serif;
  line-height: 1.55;
}

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

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 22px 14px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 14px;
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  clip-path: polygon(0 35%, 26% 35%, 26% 100%, 0 100%, 0 35%, 37% 12%, 63% 12%, 63% 100%, 37% 100%, 37% 12%, 74% 0, 100% 0, 100% 100%, 74% 100%);
}

.sidebar nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.nav-link {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.nav-link.active,
.nav-link:hover {
  background: #eaf3ff;
  color: var(--blue);
}

.hint-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.hint-box p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.workspace {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}

.topbar p {
  margin: 2px 0 0;
  color: var(--muted);
}

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

button,
.top-actions a {
  min-height: 40px;
  padding: 0 14px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:hover,
.top-actions a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

main {
  padding: 22px 28px 64px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #eef8ff, #f6fffd);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-panel p,
.panel p {
  color: var(--muted);
}

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

.system-graphic span {
  min-height: 88px;
  padding: 16px;
  display: grid;
  align-items: center;
  border-left: 6px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.system-graphic span:nth-child(2) {
  border-color: var(--green);
}

.system-graphic span:nth-child(3) {
  border-color: var(--violet);
}

.system-graphic span:nth-child(4) {
  border-color: var(--orange);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.step {
  min-height: 58px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 900;
}

.step span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8eef6;
  color: var(--muted);
}

.step.active span {
  background: var(--teal);
  color: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 18px;
  margin-bottom: 18px;
}

.input-panel,
.summary-panel,
.dashboard-panel,
.report-panel,
.final-panel {
  padding: 26px;
}

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.scenario-card {
  min-height: 148px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  cursor: pointer;
}

.scenario-card.active {
  border: 2px solid var(--blue);
  background: #eef6ff;
}

.scenario-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.scenario-card p {
  margin: 0;
  font-size: 14px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

select,
input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

textarea {
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

fieldset {
  margin: 0;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

legend {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

dd {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.system-notes,
.nonpromise,
.closing-note,
.system-reminder {
  margin-top: 20px;
  padding: 16px;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff8ea;
}

.campus-settings-grid {
  scroll-margin-top: 88px;
}

.mini-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.mini-step {
  min-height: 54px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.mini-step span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8eef6;
  color: var(--muted);
}

.mini-step.done span {
  background: #dff7f4;
  color: var(--teal);
}

.mini-step.active {
  color: var(--blue);
}

.mini-step.active span {
  background: var(--blue);
  color: var(--white);
}

.campus-form {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.campus-form .field-row,
.campus-form fieldset {
  padding: 18px 22px;
}

.field-row {
  border-top: 1px solid var(--line);
}

.campus-form .field-row:first-child {
  border-top: 0;
}

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

.check-grid label,
.radio-line label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.radio-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.summary-panel dl div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.system-reminder {
  border-left-color: var(--teal);
  background: #eefdf9;
}

.system-reminder strong {
  display: block;
  margin-bottom: 8px;
}

.system-reminder ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.campus-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

#runCampusAnalysis,
#goDashboard {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

#runCampusAnalysis:hover,
#goDashboard:hover {
  background: #1859aa;
  color: var(--white);
}

.recommendation-grid {
  scroll-margin-top: 88px;
}

.mini-stepper.compact {
  margin-top: 0;
}

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

.method-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.method-card.recommended {
  border: 2px solid var(--teal);
  background: #f0fffc;
}

.method-card h3 {
  margin: 0;
  font-size: 20px;
}

.method-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.method-card.recommended .method-icon {
  background: #dff7f4;
  color: var(--teal);
}

.method-meta {
  display: grid;
  gap: 10px;
}

.method-meta div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.method-meta strong {
  display: block;
  margin-bottom: 4px;
}

.method-meta p {
  margin: 0;
}

.priority-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.priority-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.priority-list span {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.priority-list strong {
  display: block;
}

.priority-list small {
  color: var(--muted);
  font-weight: 800;
}

.nonpromise span {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff1d9;
  color: var(--orange);
  font-weight: 900;
}

.method-matrix-wrap {
  max-height: none;
  margin: 16px 0;
}

.method-matrix-wrap table {
  min-width: 900px;
}

.score-stars {
  color: var(--orange);
  letter-spacing: 1px;
  font-weight: 900;
}

.bottleneck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.bars {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 58px;
  gap: 12px;
  align-items: center;
}

.bar-label {
  font-weight: 900;
}

.bar-track {
  height: 18px;
  border-radius: 999px;
  background: #e7edf5;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.judgement-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

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

.method-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.method-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

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

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.kpi {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  display: grid;
  align-content: space-between;
}

.kpi span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.kpi strong {
  font-size: 30px;
}

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

.chart-grid article {
  min-height: 320px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.funnel {
  display: grid;
  gap: 12px;
}

.funnel-stage {
  display: grid;
  grid-template-columns: 140px 1fr 62px;
  gap: 10px;
  align-items: center;
}

.funnel-fill {
  height: 30px;
  border-radius: 5px;
  background: var(--blue);
}

.topic-row {
  display: grid;
  grid-template-columns: 130px 1fr 58px;
  gap: 10px;
  align-items: center;
  margin: 11px 0;
}

.donut-wrap svg,
.trend-chart svg {
  width: 100%;
  min-height: 238px;
}

.table-wrap {
  overflow: auto;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  position: sticky;
  top: 0;
  background: #eef3f8;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.insights,
.report-blocks {
  display: grid;
  gap: 12px;
}

.insight,
.report-block {
  padding: 16px;
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: #fbfcfe;
}

.insight strong,
.report-block strong {
  display: block;
  margin-bottom: 6px;
}

.report-input-panel {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.report-input-panel h3 {
  margin-bottom: 8px;
}

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

.wide-field {
  grid-column: span 3;
}

.report-input-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

#applyReportData {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

#applyReportData:hover {
  background: #1859aa;
  color: var(--white);
}

.report-output-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.report-document {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.report-document-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.report-document-head h2 {
  margin-bottom: 8px;
}

#reportGeneratedAt {
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
}

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

.report-data-card {
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  display: grid;
  align-content: space-between;
}

.report-data-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.report-data-card strong {
  font-size: 26px;
  line-height: 1;
}

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

.report-chart-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.report-chart-grid h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.report-chart-grid.compact article {
  min-height: 220px;
}

.report-mini-row {
  display: grid;
  grid-template-columns: 96px 1fr 64px;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.report-mini-row strong,
.report-method-row strong,
.report-rate-row strong {
  font-size: 14px;
}

.report-mini-track,
.report-rate-track {
  height: 18px;
  border-radius: 999px;
  background: #e7edf5;
  overflow: hidden;
}

.report-mini-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.report-bottleneck-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.report-method-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  margin: 11px 0;
}

.report-method-rank {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.report-rate-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  margin: 11px 0;
}

.report-rate-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.report-data-note {
  margin: 12px 0 0;
  padding: 12px;
  border-left: 5px solid var(--gold);
  background: #fff8ea;
  color: var(--muted);
  font-weight: 800;
}

.report-block {
  min-height: 92px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--white);
}

.report-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  font-weight: 900;
}

.report-block:nth-child(2) .report-icon {
  background: #fff1e7;
  color: var(--orange);
}

.report-block:nth-child(3) .report-icon {
  background: #f1ebff;
  color: var(--violet);
}

.report-block:nth-child(4) .report-icon {
  background: #eaf3ff;
  color: var(--blue);
}

.report-block:nth-child(5) .report-icon {
  background: #e8fbf7;
  color: var(--teal);
}

.report-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.report-tags span {
  padding: 6px 10px;
  border-radius: 6px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.report-closing {
  margin-top: 16px;
  padding: 16px;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  background: #fff8ea;
}

.report-closing strong {
  margin-right: 8px;
}

.report-side-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.export-card,
.metric-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.export-card {
  display: grid;
  gap: 10px;
}

.export-card h3 {
  margin-bottom: 4px;
}

.export-card button {
  justify-content: start;
}

#downloadPdf {
  background: #fff0f2;
  color: var(--red);
  border-color: #ffd5dc;
}

#exportWord {
  background: #edf5ff;
  color: var(--blue);
  border-color: #cfe2ff;
}

#shareReport {
  background: #eafaf6;
  color: var(--teal);
  border-color: #c9efe7;
}

.report-metrics {
  display: grid;
  gap: 12px;
}

.metric-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.metric-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e8fbf7;
  color: var(--teal);
  font-weight: 900;
}

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

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

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

.execution-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
}

.execution-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.staff-list {
  display: grid;
  gap: 8px;
}

.staff-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--white);
}

.staff-row strong {
  font-size: 14px;
}

.staff-row span {
  text-align: right;
  color: var(--blue);
  font-weight: 900;
}

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

  .sidebar {
    position: relative;
    height: auto;
  }

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

  .hero-panel,
  .section-grid,
  .bottleneck-layout,
  .execution-grid,
  .report-output-layout {
    grid-template-columns: 1fr;
  }

  .scenario-cards,
  .kpi-strip,
  .method-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar,
  .panel-head {
    display: grid;
  }

  .top-actions {
    flex-wrap: wrap;
  }

  main {
    padding: 16px;
  }

  .sidebar nav,
  .scenario-cards,
  .form-grid,
  .report-input-grid,
  .report-data-cards,
  .report-chart-grid,
  .stepper,
  .mini-stepper,
  .check-grid,
  .kpi-strip,
  .chart-grid,
  .method-card-grid,
  .system-graphic {
    grid-template-columns: 1fr;
  }

  .bar-row,
  .topic-row,
  .funnel-stage {
    grid-template-columns: 1fr;
  }

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

  .radio-line {
    display: grid;
    gap: 12px;
  }

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

  .report-document-head {
    display: grid;
  }

  .report-mini-row,
  .report-method-row,
  .report-rate-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: var(--white);
  }

  .sidebar,
  .topbar,
  .hero-panel,
  .stepper,
  #scenario,
  #campus-settings,
  #recommendation-methods,
  #diagnosis,
  #dashboard,
  #consultant,
  .report-input-panel,
  .report-side-panel,
  #summary {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  main {
    padding: 0;
  }

  .panel,
  .report-document,
  .report-block,
  .report-chart-grid article,
  .report-data-card {
    box-shadow: none;
  }

  .report-panel {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .report-panel > .panel-head {
    display: none;
  }

  .report-output-layout {
    display: block;
  }

  .report-document {
    border: 0;
    padding: 0;
  }

  .report-document-head,
  .report-chart-grid article,
  .report-block,
  .report-closing {
    break-inside: avoid;
    page-break-inside: avoid;
  }

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

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