:root {
  color-scheme: light;
  --bg: #f7f8ff;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-hover: rgba(255, 255, 255, 0.65);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.45);
  --ink: #111827;
  --muted: #64748b;
  --line: rgba(148, 163, 184, 0.26);
  --line-strong: rgba(99, 102, 241, 0.22);
  --brand: #6366f1;
  --brand-strong: #4f46e5;
  --brand-soft: rgba(99, 102, 241, 0.12);
  --neon-pink: #ec4899;
  --neon-cyan: #06b6d4;
  --red: #ef4444;
  --amber: #f59e0b;
  --emerald: #10b981;
  --shadow-glass: 0 10px 30px -10px rgba(99, 102, 241, 0.08);
  --shadow-lift: 0 24px 56px -28px rgba(79, 70, 229, 0.34);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.15) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(135deg, #f8fafc 0%, #eef2ff 34%, #ecfeff 68%, #fff1f8 100%);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  color: var(--ink);
  font-family:
    Inter,
    "Noto Sans TC",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 500;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

#app {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding-bottom: 34px;
}

.background-layer {
  position: fixed;
  inset: 0;
  z-index: -20;
  overflow: hidden;
  pointer-events: none;
}

.background-layer::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.12) 1px, transparent 0) 0 0 / 24px 24px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(124px);
  opacity: 0.38;
  animation: ambientPulse 12s ease-in-out infinite alternate;
}

.glow-one {
  top: -180px;
  left: -150px;
  background: rgba(99, 102, 241, 0.44);
}

.glow-two {
  top: 16%;
  right: -230px;
  background: rgba(236, 72, 153, 0.28);
  animation-duration: 14s;
}

.glow-three {
  right: 20%;
  bottom: -250px;
  background: rgba(6, 182, 212, 0.32);
  animation-duration: 10s;
}

.glow-four {
  bottom: 16%;
  left: 16%;
  background: rgba(16, 185, 129, 0.22);
  animation-duration: 15s;
}

.glass-panel,
.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.glass-card {
  border-radius: var(--radius-lg);
  animation: fadeIn 420ms ease both;
}

.glass-card:hover {
  background: var(--glass-hover);
  box-shadow: var(--shadow-lift);
}

.ambient-orb {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.05;
  transform: scale(1);
  transition: transform 500ms ease;
  pointer-events: none;
}

.glass-card:hover .ambient-orb {
  transform: scale(1.25);
}

.icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  min-height: 78px;
  margin: 16px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.11);
  color: var(--brand-strong);
  box-shadow: 0 12px 28px -18px rgba(79, 70, 229, 0.7);
  font-size: 13px;
  font-weight: 900;
}

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

.brand-copy {
  min-width: 0;
}

.brand h1 {
  margin: 2px 0 3px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand p {
  max-width: 520px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eyebrow {
  margin: 0;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-meta,
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.meta-chip,
.filter-chip,
.mod-badge,
.action-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.meta-chip,
.filter-chip {
  padding: 5px 10px;
}

.meta-chip.is-cyan {
  border-color: rgba(6, 182, 212, 0.22);
  background: rgba(6, 182, 212, 0.09);
  color: #0e7490;
}

.meta-chip.is-modified,
.mod-badge {
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--brand-soft);
  color: var(--brand-strong);
  box-shadow: 0 8px 22px -16px rgba(79, 70, 229, 0.8);
}

.mod-badge {
  min-height: 22px;
  padding: 2px 7px;
  font-size: 11px;
}

.mod-badge.inline {
  position: absolute;
  top: 5px;
  right: 5px;
}

.mod-badge.muted,
.muted-chip {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.38);
  color: var(--muted);
  box-shadow: none;
}

.action-badge {
  min-height: 28px;
  padding: 4px 10px;
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.5);
  color: #475569;
}

.action-badge.is-pull-in {
  border-color: rgba(236, 72, 153, 0.22);
  background: rgba(236, 72, 153, 0.1);
  color: #be185d;
}

.action-badge.is-po {
  border-color: rgba(16, 185, 129, 0.24);
  background: rgba(16, 185, 129, 0.11);
  color: #047857;
}

.action-badge.is-stop {
  border-color: rgba(239, 68, 68, 0.24);
  background: rgba(239, 68, 68, 0.11);
  color: #b91c1c;
}

.workspace {
  display: grid;
  gap: 22px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 22px 24px 0;
}

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

.metric-card {
  min-height: 148px;
  padding: 22px;
  color: var(--brand);
  animation-delay: var(--delay, 0ms);
}

.metric-card strong {
  display: block;
  margin: 11px 0 8px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-track {
  height: 6px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.metric-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
  box-shadow: 0 0 22px currentColor;
}

.accent-brand {
  color: var(--brand);
}

.accent-pink {
  color: var(--neon-pink);
}

.accent-cyan {
  color: var(--neon-cyan);
}

.accent-red {
  color: var(--red);
}

.accent-emerald {
  color: var(--emerald);
}

.filter-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.filter-title,
.panel-heading,
.section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-title {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(145px, 0.7fr) minmax(178px, 0.8fr) minmax(145px, 0.7fr) auto auto;
  gap: 10px;
  align-items: center;
}

.search-shell,
.select-shell {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
}

.search-shell .icon {
  position: absolute;
  left: 13px;
  z-index: 1;
  color: var(--brand);
}

.control-input,
.control-select,
.edit-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 600;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.control-input {
  padding: 0 14px 0 42px;
}

.control-select {
  padding: 0 34px 0 12px;
}

.control-input:focus,
.control-select:focus,
.edit-input:focus {
  border-color: rgba(99, 102, 241, 0.58);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

.toggle-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.toggle-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-visual {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.52);
}

.toggle-control.checked {
  border-color: rgba(99, 102, 241, 0.34);
  color: var(--brand-strong);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.09);
}

.toggle-control.checked .toggle-visual {
  background: var(--brand);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.7);
}

.secondary-button,
.danger-button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.64);
  color: var(--brand-strong);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.secondary-button:hover:not(:disabled),
.danger-button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px -22px rgba(79, 70, 229, 0.6);
}

.danger-button {
  border-color: rgba(239, 68, 68, 0.22);
  color: var(--red);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

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

.priority-panel {
  grid-column: 1 / -1;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 22px;
  color: var(--brand);
}

.period-zone {
  grid-column: span 8;
  display: grid;
  gap: 16px;
  padding: 18px;
}

.panel-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(6, 182, 212, 0.12));
  color: var(--brand-strong);
  box-shadow: 0 16px 34px -24px rgba(79, 70, 229, 0.8);
}

.panel-heading h2,
.section-heading h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.part-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.part-title strong {
  min-width: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.modified-dot {
  display: inline-flex;
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.4);
}

.modified-dot.show {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.14), 0 0 20px rgba(99, 102, 241, 0.8);
}

.detail-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-grid div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.44);
}

.detail-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 0;
  color: #334155;
  overflow-wrap: anywhere;
}

.edit-summary {
  display: grid;
  gap: 8px;
  padding: 15px;
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.08);
}

.edit-summary span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.edit-summary strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.edit-summary small,
.period-edit small {
  color: var(--muted);
  font-size: 11px;
}

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

.period-heading {
  justify-content: space-between;
}

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

.period-card {
  min-width: 0;
  padding: 0;
  color: var(--neon-cyan);
}

.period-card.current-period {
  color: var(--brand);
  box-shadow: 0 18px 40px -28px rgba(79, 70, 229, 0.64), var(--shadow-glass);
}

.period-card.dirty-card {
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1), var(--shadow-glass);
}

.period-card.risk-card {
  border-color: rgba(239, 68, 68, 0.22);
}

.period-card.risk-card.current-period {
  animation: pulseGlow 2s ease-in-out infinite alternate;
}

.period-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.period-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.period-head strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.risk-dot,
.safe-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.risk-dot {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.12), 0 0 20px rgba(239, 68, 68, 0.55);
}

.safe-dot {
  background: var(--emerald);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.period-body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.period-edit,
.period-stat {
  display: grid;
  gap: 5px;
}

.period-edit span,
.period-stat span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.period-stat strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.input-wrap {
  position: relative;
}

.edit-input {
  min-height: 42px;
  padding: 0 55px 0 10px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.edit-input.dirty {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-strong);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.13);
}

.p-edit-header,
.p-edit-cell {
  min-width: 132px;
}

.p-edit-header {
  text-align: right !important;
}

.p-edit-cell {
  background: rgba(255, 255, 255, 0.2);
}

.table-edit {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.table-edit .input-wrap {
  width: 118px;
}

.table-edit-input {
  width: 118px;
  min-height: 36px;
  padding-right: 48px;
}

.table-edit small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.reset-header,
.reset-cell {
  width: 92px;
  min-width: 92px;
  text-align: center !important;
}

.row-reset-button {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
}

.row-reset-button .icon {
  width: 14px;
  height: 14px;
}

.table-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.table-reset-all {
  min-height: 32px;
  padding: 0 12px;
}

.negative-value {
  color: var(--red) !important;
}

.table-wrap {
  overflow: auto;
  max-height: 62vh;
  min-height: 230px;
}

.section-heading {
  position: sticky;
  left: 0;
  z-index: 4;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(18px);
}

.dashboard-table {
  width: 100%;
  min-width: 1720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.dashboard-table th,
.dashboard-table td {
  padding: 12px 14px;
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  vertical-align: middle;
}

.dashboard-table th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 242, 255, 0.86);
  color: #475569;
  font-weight: 900;
  text-align: left;
  white-space: nowrap;
  backdrop-filter: blur(18px);
}

.dashboard-table td {
  max-width: 260px;
  color: #334155;
  overflow-wrap: anywhere;
}

.dashboard-table tbody tr {
  cursor: pointer;
}

.dashboard-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.5);
}

.dashboard-table tbody tr.selected-row td {
  background: rgba(99, 102, 241, 0.1);
}

.dashboard-table tbody tr.dirty-row td:first-child {
  box-shadow: inset 4px 0 0 var(--brand);
}

.numeric-cell {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.action-cell {
  text-align: left;
}

.part-cell {
  min-width: 180px;
}

.part-cell-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  vertical-align: middle;
}

.part-cell-content span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.overridden-cell {
  background: rgba(99, 102, 241, 0.1) !important;
  color: var(--brand-strong);
  font-weight: 900;
}

.overridden-cell small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.empty-cell {
  padding: 24px !important;
  color: var(--muted);
  text-align: center;
}

.error-state,
.empty-state {
  margin: 24px;
  padding: 24px;
}

@keyframes ambientPulse {
  from {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.26;
  }

  to {
    transform: translate3d(16px, -12px, 0) scale(1.06);
    opacity: 0.42;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  from {
    transform: scale(0.995);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08), var(--shadow-glass);
  }

  to {
    transform: scale(1.005);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.16), 0 16px 42px -26px rgba(239, 68, 68, 0.55);
  }
}

@media (max-width: 1320px) {
  .app-header {
    margin-right: 18px;
    margin-left: 18px;
  }
}

@media (max-width: 1080px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 1fr) minmax(180px, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .priority-panel,
  .period-zone {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-meta,
  .filter-chips {
    justify-content: flex-start;
  }

  .workspace {
    padding: 16px 14px 0;
  }

  .filter-bar,
  .period-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .app-header {
    margin: 10px 10px 0;
    padding: 13px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand p {
    white-space: normal;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .priority-panel,
  .period-zone,
  .filter-panel {
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .part-title strong {
    font-size: 22px;
  }

  .table-wrap {
    max-height: 58vh;
  }
}
