:root {
  --navy: #102a43;
  --navy-2: #183b5b;
  --blue: #2878c8;
  --blue-soft: #eaf3fb;
  --green: #15966b;
  --green-dark: #0f7654;
  --green-soft: #e7f7f0;
  --amber: #d88a16;
  --amber-soft: #fff5df;
  --red: #c94d59;
  --bg: #f4f7fa;
  --card: #ffffff;
  --line: #dfe7ee;
  --text: #17324d;
  --muted: #6f8191;
  --shadow: 0 8px 28px rgba(17, 42, 67, 0.06);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; color: var(--navy); font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.035em; }
h2 { margin-bottom: 5px; color: var(--navy); font-size: 1.05rem; }
h3 { margin-bottom: 7px; color: var(--navy); font-size: 1rem; }
p { color: var(--muted); line-height: 1.55; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: 244px; flex-direction: column; background: var(--navy); color: #fff; padding: 25px 18px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px; }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--green); color: white; font-weight: 800; }
.brand strong { display: block; font-size: 1.08rem; letter-spacing: 0.01em; }
.brand small, .user-card small { display: block; margin-top: 2px; color: #9fb2c3; font-size: 0.72rem; }
.side-nav { display: grid; gap: 7px; margin-top: 44px; }
.side-nav a { display: flex; align-items: center; gap: 12px; border-radius: 11px; padding: 12px 13px; color: #b8c7d5; font-size: 0.9rem; font-weight: 600; transition: 160ms ease; }
.side-nav a:hover, .side-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.nav-icon { width: 23px; color: #8fb4d7; font-size: 1.2rem; text-align: center; }
.side-nav a.active .nav-icon { color: #5dd6aa; }
.sidebar-footer { margin-top: auto; }
.demo-pill { display: inline-flex; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); color: #bed0df; padding: 6px 9px; font-size: .68rem; }
.user-card { display: flex; align-items: center; gap: 10px; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.11); padding: 20px 7px 0; font-size: .8rem; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #315573; color: white; font-size: .7rem; font-weight: 700; }
.main-content { min-height: 100vh; margin-left: 244px; padding: 34px clamp(24px, 4vw, 54px) 60px; }
.mobile-header, .mobile-nav { display: none; }
.screen { max-width: 1480px; margin: 0 auto; animation: fadeIn 220ms ease; }
.screen[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-header p { margin-bottom: 0; }
.eyebrow { margin-bottom: 6px !important; color: var(--blue) !important; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy); font-size: 1.3rem; }

.primary-button, .secondary-button { border-radius: 10px; padding: 11px 16px; font-weight: 750; transition: 160ms ease; }
.primary-button { border: 1px solid var(--green); background: var(--green); color: #fff; box-shadow: 0 4px 12px rgba(21,150,107,.18); }
.primary-button:hover { border-color: var(--green-dark); background: var(--green-dark); transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); background: #fff; color: var(--navy); }
.secondary-button:hover { border-color: #aebfcd; background: #f9fbfc; }
.secondary-button.compact { align-self: center; padding: 8px 13px; }
.text-button { border: 0; background: none; color: var(--blue); padding: 0; font-weight: 700; }
.full { width: 100%; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 19px; }
.metric-card, .panel { border: 1px solid #e4ebf0; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.metric-card { min-height: 167px; padding: 20px; }
.metric-heading { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .78rem; font-weight: 700; }
.metric-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; font-weight: 900; }
.metric-icon.blue { background: var(--blue-soft); color: var(--blue); }
.metric-icon.green { background: var(--green-soft); color: var(--green); }
.metric-icon.amber { background: var(--amber-soft); color: var(--amber); }
.metric-value { display: block; margin: 13px 0 6px; color: var(--navy); font-size: 1.75rem; letter-spacing: -.03em; }
.trend { font-size: .75rem; font-weight: 750; }
.trend span { color: var(--muted); font-weight: 500; }
.positive { color: var(--green); }
.neutral { color: var(--blue); }
.warning { color: var(--amber); }
.progress { height: 5px; margin-top: 16px; overflow: hidden; border-radius: 20px; background: #edf1f4; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.sparkline { display: flex; height: 24px; align-items: flex-end; gap: 4px; margin-top: 10px; }
.sparkline i { width: 10px; border-radius: 2px 2px 0 0; background: #9bd8c2; }
.sparkline i:nth-child(1) { height: 30%; }.sparkline i:nth-child(2) { height: 45%; }.sparkline i:nth-child(3) { height: 38%; }.sparkline i:nth-child(4) { height: 60%; }.sparkline i:nth-child(5) { height: 54%; }.sparkline i:nth-child(6) { height: 75%; }.sparkline i:nth-child(7) { height: 90%; background: var(--green); }
.property-split { display: flex; justify-content: space-between; margin-top: 17px; color: var(--muted); font-size: .68rem; }
.alert-metric .text-button { margin-top: 13px; font-size: .72rem; }

.content-grid { display: grid; gap: 19px; }
.dashboard-grid { grid-template-columns: minmax(0, 2.15fr) minmax(280px, .85fr); }
.panel { padding: 22px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.panel-header p { margin-bottom: 0; font-size: .78rem; }
.count-badge, .confidence-chip { border-radius: 999px; background: var(--blue-soft); color: var(--blue); padding: 6px 9px; font-size: .7rem; font-weight: 750; white-space: nowrap; }
.recommendation { display: flex; align-items: flex-start; gap: 14px; border-top: 1px solid var(--line); padding: 17px 0; }
.recommendation.featured { margin: 0 -8px; border: 1px solid #cfe1f1; border-radius: 13px; background: #f8fbfe; padding: 16px; }
.priority-number { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 8px; background: var(--navy); color: white; font-size: .75rem; font-weight: 800; }
.recommendation-body { flex: 1; }
.recommendation-body p { margin-bottom: 0; font-size: .77rem; }
.recommendation-topline { display: flex; gap: 9px; align-items: center; margin-bottom: 8px; }
.tag { display: inline-flex; border-radius: 999px; padding: 4px 8px; font-size: .63rem; font-weight: 800; }
.tag.high { background: var(--green-soft); color: var(--green-dark); }
.tag.medium { background: var(--amber-soft); color: #a86300; }
.tag.low { background: var(--blue-soft); color: var(--blue); }
.property-name { color: var(--muted); font-size: .68rem; }
.impact-row { display: flex; align-items: center; gap: 15px; margin-top: 14px; }
.impact-row span { display: grid; }
.impact-row small { margin-bottom: 2px; color: var(--muted); font-size: .62rem; }
.impact-row strong { font-size: .86rem; }
.impact-row .arrow { color: #a5b4c0; }
.green-text { color: var(--green) !important; }
.alert-item { display: flex; gap: 11px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.alert-dot { width: 8px; height: 8px; flex: 0 0 8px; margin-top: 6px; border-radius: 50%; }
.amber-dot { background: var(--amber); }.red-dot { background: var(--red); }.blue-dot { background: var(--blue); }
.alert-item strong { font-size: .82rem; }
.alert-item p { margin: 3px 0 0; font-size: .72rem; }
.confidence-box { display: flex; gap: 10px; margin-top: 19px; border-radius: 11px; background: var(--green-soft); padding: 13px; }
.confidence-icon { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: var(--green); color: white; font-size: .7rem; }
.confidence-box strong { font-size: .76rem; }.confidence-box p { margin: 2px 0 0; font-size: .67rem; }

.legend { display: flex; flex-wrap: wrap; gap: 18px; margin: -8px 0 17px; color: var(--muted); font-size: .68rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend-dot { width: 9px; height: 9px; border-radius: 3px; }.legend-dot.available { border: 1px solid #b9c8d4; background: white; }.legend-dot.booked { background: #d9e4ec; }.legend-dot.selected { background: #a5ddc8; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(300px, .8fr); gap: 19px; align-items: start; }
.calendar-panel { padding: 0; overflow: hidden; }
.property-calendar + .property-calendar { border-top: 9px solid var(--bg); }
.calendar-title { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; }
.calendar-title > div { display: flex; align-items: center; gap: 8px; }
.calendar-title small { color: var(--muted); font-size: .64rem; }
.calendar-title > span { color: var(--muted); font-size: .68rem; }
.property-bullet { width: 9px; height: 9px; border-radius: 50%; }.property-bullet.pine { background: var(--green); }.property-bullet.lake { background: var(--blue); }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(67px, 1fr)); }
.calendar-weekdays { border-top: 1px solid var(--line); background: #f8fafb; }
.calendar-weekdays span { padding: 8px; color: var(--muted); font-size: .6rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-day { position: relative; min-height: 83px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 8px; background: white; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.empty { background: #fafbfd; }
.calendar-day.booked { background: #eef3f6; color: #8294a3; }
.calendar-day.recommended { z-index: 1; outline: 2px solid var(--green); outline-offset: -2px; background: var(--green-soft); }
.day-number { display: block; color: inherit; font-size: .68rem; font-weight: 800; }
.day-price { display: block; margin-top: 10px; color: var(--navy); font-size: .79rem; font-weight: 800; }
.booked .day-price { color: #778b9b; text-decoration: line-through; }
.day-rule { display: block; margin-top: 6px; color: var(--muted); font-size: .56rem; }
.booking-label { display: block; margin-top: 7px; overflow: hidden; color: #607687; font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.recommended .day-price { color: var(--green-dark); }
.insight-panel { position: sticky; top: 25px; }
.insight-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.recommendation-icon, .result-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; background: var(--green-soft); color: var(--green); font-weight: 900; }
.insight-heading h2, .insight-heading p { margin-bottom: 0; }
.date-block { display: grid; border-radius: 10px; background: #f3f6f8; padding: 11px 13px; }
.date-block span { margin-top: 3px; color: var(--muted); font-size: .68rem; }
.insight-panel > p { margin: 15px 0; font-size: .76rem; }
.price-comparison { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.price-comparison > div { display: grid; border: 1px solid var(--line); border-radius: 11px; padding: 11px; }
.price-comparison small { color: var(--muted); font-size: .62rem; }.price-comparison strong { margin-top: 3px; font-size: 1.18rem; }
.price-comparison .recommended-price { border-color: #98d4be; background: var(--green-soft); }.recommended-price strong { color: var(--green-dark); }
.reason-list { margin: 16px 0; border-top: 1px solid var(--line); }
.reason-list > div { display: flex; gap: 10px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.reason-list > div > span { color: var(--blue); }
.reason-list p { margin: 0; font-size: .7rem; }.reason-list small { display: block; margin-top: 2px; color: var(--muted); }
.estimate-box { display: grid; margin-bottom: 15px; border-radius: 11px; background: var(--navy); color: white; padding: 14px; }
.estimate-box span, .estimate-box small { color: #b9cbd9; font-size: .65rem; }.estimate-box strong { margin: 3px 0; color: #61d6aa; font-size: 1.3rem; }
.fine-print { margin: 9px 0 0 !important; text-align: center; font-size: .6rem !important; }

.status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 11px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.status-badge.pending { background: var(--amber-soft); color: #a36200; }.status-badge.success { background: var(--green-soft); color: var(--green-dark); }.status-badge.neutral-status { background: #edf1f4; color: #607687; }.status-badge.small { padding: 4px 8px; font-size: .6rem; }
.approval-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .72fr); gap: 19px; align-items: start; }
.approval-main { display: grid; gap: 19px; }
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.before-after > div { border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.before-after .after-card { border-color: #9bd8c2; background: var(--green-soft); }
.comparison-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.before-after strong { color: var(--navy); font-size: 1.65rem; }.before-after strong small { font-size: .7rem; font-weight: 600; }.after-card strong { color: var(--green-dark); }
.before-after p { margin: 9px 0 0; font-size: .7rem; }.large-arrow { color: #91a3b1; font-size: 1.4rem; }
.simulation-bars { display: grid; gap: 13px; margin: 5px 0 22px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 12px; color: var(--muted); font-size: .7rem; }
.bar-track { position: relative; height: 24px; border-radius: 6px; background: #edf1f4; }
.bar-track i { display: block; height: 100%; border-radius: inherit; }.bar-before { background: #a9bac7; }.bar-after { background: var(--green); }
.bar-track b { position: absolute; top: 4px; right: 8px; color: var(--navy); font-size: .67rem; }
.simulation-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; }
.simulation-metrics > div { display: grid; padding: 15px; }.simulation-metrics > div + div { border-left: 1px solid var(--line); }
.simulation-metrics small { color: var(--muted); font-size: .62rem; }.simulation-metrics strong { margin-top: 5px; color: var(--navy); font-size: 1.1rem; }.muted-change { color: var(--muted); font-size: .6rem; }
.explanation { display: flex; gap: 10px; margin-top: 16px; border-radius: 10px; background: var(--blue-soft); padding: 12px; }
.explanation > span { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: .6rem; font-weight: 800; }.explanation p { margin: 0; font-size: .7rem; }
.approval-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-color: #b4dfcf; background: #fbfefd; }
.approval-box p { margin-bottom: 0; font-size: .73rem; }.approval-buttons { display: flex; gap: 9px; min-width: max-content; }
.history-panel { position: sticky; top: 25px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: flex; gap: 12px; min-height: 85px; }
.timeline li:not(:last-child)::before { position: absolute; top: 20px; bottom: 0; left: 7px; width: 2px; background: var(--line); content: ""; }
.timeline li > span { position: relative; z-index: 1; width: 16px; height: 16px; flex: 0 0 16px; border: 3px solid white; border-radius: 50%; background: #c6d1d9; box-shadow: 0 0 0 1px #c6d1d9; }
.timeline li.done > span { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.timeline strong { font-size: .77rem; }.timeline p { margin: 3px 0; font-size: .65rem; }.timeline small { color: var(--muted); font-size: .61rem; }
.rollback-card { display: flex; gap: 10px; margin-top: 8px; border-radius: 11px; background: #fff2f3; padding: 13px; }.rollback-card > span { color: var(--red); }.rollback-card strong { font-size: .74rem; }.rollback-card p { margin: 3px 0 6px; font-size: .65rem; }.danger-text { color: var(--red); font-size: .68rem; }
.approved-box { border-color: #85cdb3; background: var(--green-soft); }

.period-select { border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--navy); padding: 10px 13px; font-weight: 650; }
.result-banner { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; border: 1px solid #a9d9c7; border-radius: var(--radius); background: linear-gradient(100deg, #ecf9f4, #f9fdfb); padding: 17px 20px; }
.result-banner div:nth-child(2) { flex: 1; }.result-banner strong { color: var(--navy); }.result-banner p { margin: 3px 0 0; font-size: .72rem; }
.result-metrics .metric-card { min-height: 135px; }
.results-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); gap: 19px; }
.chart-legend { display: flex; gap: 12px; color: var(--muted); font-size: .64rem; }.chart-legend span { display: flex; align-items: center; gap: 5px; }.chart-legend i { width: 10px; height: 10px; border-radius: 2px; }.reference-key { background: #b8c5cf; }.after-key { background: var(--green); }
.column-chart { display: grid; grid-template-columns: 34px 1fr; height: 250px; }
.y-labels { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 23px; color: var(--muted); font-size: .58rem; }
.chart-area { position: relative; display: flex; justify-content: space-around; border-bottom: 1px solid var(--line); }
.grid-line { position: absolute; right: 0; left: 0; height: 1px; background: #eaf0f4; }.grid-line.l1 { top: 0; }.grid-line.l2 { top: 25%; }.grid-line.l3 { top: 50%; }.grid-line.l4 { top: 75%; }
.column-group { position: relative; z-index: 1; display: grid; width: 18%; grid-template-rows: 1fr 20px; text-align: center; }
.column-group > div { display: flex; align-items: flex-end; justify-content: center; gap: 5px; }.column-group small { padding-top: 6px; color: var(--muted); font-size: .58rem; }
.column { width: 29%; max-width: 26px; border-radius: 5px 5px 0 0; }.reference-column { background: #b8c5cf; }.after-column { background: var(--green); }
.occupancy-item { margin: 18px 0 28px; }.occupancy-item > div:first-child { display: flex; justify-content: space-between; font-size: .77rem; }
.double-progress { position: relative; height: 16px; margin-top: 12px; border-radius: 6px; background: #eef2f5; }.double-progress span { position: absolute; left: 0; height: 7px; border-radius: 5px; }.reference-progress { top: 0; background: #b8c5cf; }.after-progress { bottom: 0; background: var(--green); }
.progress-values { display: flex; justify-content: space-between; margin-top: 5px; color: var(--muted); font-size: .61rem; }
.result-note { display: flex; gap: 9px; border-radius: 11px; background: var(--blue-soft); padding: 13px; }.result-note > span { color: var(--blue); }.result-note p { margin: 0; font-size: .67rem; }
.action-table-panel { margin-top: 19px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .72rem; }
th { background: #f8fafb; color: var(--muted); font-size: .62rem; text-align: left; text-transform: uppercase; }
th, td { border-bottom: 1px solid var(--line); padding: 12px; white-space: nowrap; }

.toast { position: fixed; z-index: 100; right: 26px; bottom: 26px; max-width: 360px; transform: translateY(20px); border-radius: 11px; background: var(--navy); color: white; padding: 13px 17px; opacity: 0; box-shadow: 0 10px 35px rgba(15,42,65,.25); font-size: .78rem; pointer-events: none; transition: 220ms ease; }.toast.show { transform: none; opacity: 1; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid, .calendar-layout, .approval-layout, .results-grid { grid-template-columns: 1fr; }
  .insight-panel, .history-panel { position: static; }
  .calendar-panel { overflow-x: auto; }
  .property-calendar { min-width: 680px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 69px; }
  .sidebar { display: none; }
  .mobile-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 61px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); padding: 0 16px; backdrop-filter: blur(10px); }
  .mobile-header .brand { padding: 0; }.mobile-header .brand-mark { width: 34px; height: 34px; }.mobile-header .demo-pill { border-color: var(--line); background: var(--blue-soft); color: var(--blue); }
  .main-content { margin-left: 0; padding: 24px 15px 36px; }
  .mobile-nav { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); padding: 7px 4px max(7px, env(safe-area-inset-bottom)); backdrop-filter: blur(12px); }
  .mobile-nav a { display: grid; justify-items: center; gap: 2px; color: var(--muted); font-size: .56rem; font-weight: 700; }.mobile-nav a span { font-size: 1.15rem; }.mobile-nav a.active { color: var(--green-dark); }
  .page-header { align-items: flex-start; flex-direction: column; margin-bottom: 21px; }.page-header .secondary-button { width: 100%; }.page-header .header-actions { align-self: stretch; justify-content: space-between; }
  .metric-grid { grid-template-columns: 1fr; }.metric-card { min-height: 145px; }
  .panel { padding: 17px; }
  .recommendation { flex-wrap: wrap; }.recommendation .primary-button, .recommendation .secondary-button { width: 100%; }.recommendation.featured { margin: 0; }
  .impact-row { flex-wrap: wrap; }.impact-row > span:last-child { width: 100%; border-top: 1px solid var(--line); padding-top: 8px; }
  .legend { gap: 10px; }
  .calendar-layout { margin: 0 -15px; }.calendar-panel, .insight-panel { border-radius: 0; }.insight-panel { margin-top: 3px; }
  .before-after { grid-template-columns: 1fr; gap: 10px; }.large-arrow { transform: rotate(90deg); text-align: center; }
  .simulation-metrics { grid-template-columns: 1fr; }.simulation-metrics > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .bar-row { grid-template-columns: 1fr; gap: 5px; }
  .approval-box { align-items: flex-start; flex-direction: column; }.approval-buttons { width: 100%; }.approval-buttons button { flex: 1; }
  .result-banner { align-items: flex-start; flex-wrap: wrap; }.result-banner .status-badge { margin-left: 50px; }
  .chart-panel { padding-right: 10px; padding-left: 10px; }.chart-panel .panel-header { flex-direction: column; }
  .toast { right: 15px; bottom: 82px; left: 15px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
