:root {
  --primary: #c62828;
  --primary-dark: #8e1616;
  --primary-soft: #fff0f0;
  --ink: #17202f;
  --muted: #687083;
  --line: #e7e9ef;
  --surface: #ffffff;
  --canvas: #f5f6f8;
  --success: #16865a;
  --warning: #d97706;
  --danger: #c62828;
  --shadow: 0 14px 36px rgba(31, 36, 48, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid rgba(231, 233, 239, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 9px 20px rgba(198, 40, 40, 0.24);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

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

.status-pill,
.period-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(22, 134, 90, 0.12);
}

.container {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #8e1616 0%, #c62828 55%, #e04b3f 100%);
  color: #fff;
  box-shadow: 0 24px 55px rgba(142, 22, 22, 0.23);
}

.hero::after {
  position: absolute;
  right: -35px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.hero-copy {
  max-width: 720px;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.hero-badge {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.filter-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  margin-top: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero .field label {
  color: rgba(255, 255, 255, 0.72);
}

.control {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.control {
  min-height: 100px;
  padding-top: 12px;
  resize: vertical;
}

.control:focus {
  border-color: rgba(198, 40, 40, 0.62);
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 9px 20px rgba(198, 40, 40, 0.2);
}

.btn-light {
  align-self: end;
  background: #fff;
  color: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.section-block {
  margin-top: 24px;
}

.dashboard-state {
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #f1d4a8;
  border-radius: 14px;
  background: #fff8ea;
  color: #8a570d;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-state.is-error {
  border-color: #f0c6c6;
  background: #fff0f0;
  color: #9d2020;
}

.dashboard-state[hidden] {
  display: none;
}

.table-source-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(198, 40, 40, 0.3);
  text-underline-offset: 3px;
}

.empty-inline {
  padding: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

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

.section-heading h2 {
  font-size: clamp(20px, 2.5vw, 26px);
}

.section-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section-link {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.card,
.panel {
  border: 1px solid rgba(231, 233, 239, 0.84);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  min-width: 0;
  padding: 17px;
  border-radius: var(--radius-md);
}

.kpi-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.kpi-value {
  margin-top: 9px;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.2;
  word-break: break-word;
}

.kpi-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.trend-up {
  color: var(--success);
}

.trend-down {
  color: var(--danger);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.85fr);
  gap: 15px;
}

.panel {
  min-width: 0;
  padding: 20px;
  border-radius: var(--radius-lg);
}

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

.panel-title {
  font-size: 17px;
}

.panel-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.panel-tag {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
}

.chart-wrap {
  position: relative;
  height: 285px;
  min-height: 0;
}

.chart-wrap.chart-small {
  height: 235px;
}

.summary-list {
  display: grid;
  gap: 9px;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 13px;
  background: #f8f9fb;
}

.summary-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-row strong {
  max-width: 60%;
  color: var(--primary-dark);
  font-size: 12px;
  text-align: right;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.tab-panel {
  display: none;
  padding-top: 18px;
}

.tab-panel.active {
  display: block;
}

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

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

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

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

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

th {
  background: #f8f9fb;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: #fffafa;
}

.money-positive {
  color: var(--success);
  font-weight: 900;
}

.money-negative {
  color: var(--danger);
  font-weight: 900;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
}

.badge-success {
  background: #eaf8f2;
  color: var(--success);
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(12, minmax(42px, 1fr));
  gap: 7px;
}

.heat-cell {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 6px;
  border-radius: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.rank-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
}

.rank-name {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  color: var(--muted);
  font-size: 10px;
}

.rank-value {
  font-size: 12px;
  font-weight: 900;
}

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

.insight {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.insight-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 15px;
  font-weight: 900;
}

.insight h4 {
  font-size: 12px;
}

.insight p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.footer {
  padding: 25px 10px 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.admin-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: #221f20;
  color: #fff;
}

.sidebar .brand-copy small {
  color: rgba(255, 255, 255, 0.54);
}

.nav-group {
  margin-top: 32px;
}

.nav-label {
  margin: 0 12px 10px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 43px;
  margin-bottom: 5px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.67);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

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

.admin-main {
  min-width: 0;
  padding: 25px;
}

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

.admin-header h1 {
  font-size: 27px;
}

.admin-header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

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

.form-section {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-section h2 {
  margin-bottom: 4px;
  font-size: 16px;
}

.form-section > p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
}

.field-wide {
  margin-top: 14px;
}

.input-table input.control {
  min-width: 135px;
}

.input-table select.control {
  min-width: 155px;
}

.input-source {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.revenue-detail-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafbfc;
}

.revenue-detail-panel.is-hidden {
  display: none;
}

.revenue-detail-panel h3 {
  margin: 0;
  font-size: 16px;
}

.revenue-detail-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.revenue-summary {
  margin-top: 0;
}

.reconciliation-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.reconciliation-card > div {
  padding: 12px;
  border-radius: 14px;
  background: #f8f9fb;
}

.reconciliation-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.reconciliation-card strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
}

.reconciliation-card.is-balanced {
  border-color: #bee4d3;
}

.reconciliation-card.is-balanced > div:last-child {
  background: #eaf8f2;
  color: var(--success);
}

.reconciliation-card.is-unbalanced {
  border-color: #f0c6c6;
}

.reconciliation-card.is-unbalanced > div:last-child {
  background: #fff0f0;
  color: var(--danger);
}

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

.repeatable-row {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 15px 48px 15px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafbfc;
}

.fleet-row {
  grid-template-columns: 1fr 1fr minmax(140px, 0.7fr);
}

.revenue-detail-row {
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.7fr) minmax(160px, 0.7fr);
}

.route-row {
  grid-template-columns: minmax(260px, 1fr) minmax(140px, 0.35fr);
}

.remove-row {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #fff0f0;
  color: var(--danger);
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.sticky-actions {
  position: relative;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(31, 36, 48, 0.14);
  backdrop-filter: blur(12px);
}

.secondary-actions,
.table-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.secondary-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.table-actions form {
  margin: 0;
}

.btn-small {
  min-height: 34px;
  padding: 0 11px;
  font-size: 11px;
}

.btn-danger {
  background: #fff0f0;
  color: var(--danger);
}

.error-list {
  margin: 8px 0 0 18px;
}

.notice {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid #f1d4a8;
  border-radius: 14px;
  background: #fff8ea;
  color: #8a570d;
  font-size: 11px;
  font-weight: 700;
}

.alert {
  margin-bottom: 16px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
}

.alert-error {
  border-color: #f0c6c6;
  background: #fff0f0;
  color: #9d2020;
}

.alert-success {
  border-color: #bee4d3;
  background: #eaf8f2;
  color: #126b49;
}

.nav-logout {
  margin: 0;
}

.login-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  background: #fff;
}

.login-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(145deg, #721111, #c62828 62%, #e05347);
  color: #fff;
}

.login-visual::after {
  position: absolute;
  right: -140px;
  bottom: -130px;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.login-message {
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.login-message h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.login-message p {
  max-width: 430px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.72);
}

.login-main {
  display: grid;
  place-items: center;
  padding: 30px;
}

.login-card {
  width: min(430px, 100%);
}

.login-card h2 {
  margin-top: 28px;
  font-size: 30px;
}

.login-card > p {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.login-form {
  display: grid;
  gap: 15px;
}

.login-form .btn {
  width: 100%;
  margin-top: 4px;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 22px;
  bottom: 22px;
  max-width: min(380px, calc(100% - 44px));
  padding: 13px 16px;
  border-radius: 14px;
  background: #221f20;
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s;
}

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

@media (max-width: 1180px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .dashboard-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

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

  .hero-content {
    flex-direction: column;
  }

  .admin-layout {
    display: block;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .nav-group {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    margin-top: 18px;
  }

  .nav-label {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
    width: auto;
    padding: 0 14px;
  }

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

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

@media (max-width: 700px) {
  .topbar {
    padding: 10px 14px;
  }

  .period-pill,
  .status-pill {
    display: none;
  }

  .container {
    width: min(100% - 24px, 1380px);
    padding-top: 15px;
  }

  .hero {
    padding: 22px;
    border-radius: 22px;
  }

  .filter-bar,
  .form-grid,
  .reconciliation-card,
  .fleet-row,
  .revenue-detail-row,
  .route-row {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .heatmap {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
  }

  .admin-main {
    padding: 16px;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-page {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 310px;
    padding: 28px;
  }

  .login-main {
    padding: 34px 22px;
  }
}

@media (max-width: 430px) {
  .brand-copy small {
    display: none;
  }

  .kpi-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    display: none;
  }

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

@media print {
  body {
    background: #fff;
  }

  .topbar,
  .filter-bar,
  .tabs,
  .btn,
  .footer {
    display: none !important;
  }

  .container {
    width: 100%;
    padding: 0;
  }

  .hero,
  .card,
  .panel {
    break-inside: avoid;
    box-shadow: none;
  }

  .tab-panel {
    display: block !important;
  }
}
