:root {
  color-scheme: light;
  --canvas: #faf7f5;
  --sidebar: #fffdfc;
  --surface: #fffefd;
  --line: #ebe2e2;
  --line-light: #f3ebeb;
  --ink: #2d2328;
  --muted: #695c64;
  --plum: #733655;
  --plum-dark: #4a243b;
  --plum-light: #f5e9f0;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --shadow: 0 6px 18px #44233106;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 14px/1.5 var(--sans); }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--plum); text-decoration: none; }
button { cursor: pointer; }
[hidden] { display: none !important; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 2px solid #8d4e70; outline-offset: 3px; }
.main-content:focus { outline: none; }
.icon { flex: none; display: inline-block; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 10; left: 15px; top: 12px; padding: 8px 14px; background: white; border-radius: 8px; transform: translateY(-170%); }
.skip:focus { transform: translateY(0); }

.shell { min-height: 100vh; display: grid; grid-template-columns: 234px minmax(0, 1fr); }
.sidebar { background: var(--sidebar); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; min-width: 0; z-index: 5; }
.branding { display: flex; min-height: 92px; align-items: center; gap: 12px; padding: 21px 23px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; background: #713452; color: #fbeaf1; font-size: 24px; box-shadow: 0 3px 7px #73365528; }
.brand-type { display: flex; flex-direction: column; }
.brand-type strong { font-size: 21px; line-height: 1.05; letter-spacing: .045em; font-weight: 700; }
.brand-type small, .sidebar-footer small { color: var(--muted); font-size: 11px; }
.brand-type small { margin-top: 4px; }
.nav-items { overflow-y: auto; padding: 9px 13px 16px; }
.nav-section + .nav-section { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-light); }
.nav-section { display: grid; gap: 4px; }
.nav-label { margin: 0 12px 6px; color: #73636d; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; font-weight: 700; }
.nav-link { position: relative; display: flex; min-height: 44px; width: 100%; align-items: center; gap: 11px; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: #574951; text-align: left; font-weight: 600; font-size: 13px; }
.nav-link .icon { width: 18px; height: 18px; }
.nav-link:hover { background: #f7f0f3; color: var(--plum); }
.nav-link.is-active { color: #702e51; background: #f3e6ee; font-weight: 700; }
.nav-link.is-active::before { content: ''; position: absolute; width: 3px; height: 18px; border-radius: 99px; left: 0; background: #a16184; }
.nav-link.has-active { color: var(--plum); }
.nav-chevron { margin-left: auto; color: #806879; }
.nav-chevron .icon { width: 13px; height: 13px; transition: transform .18s ease; }
.nav-toggle[aria-expanded='true'] .nav-chevron .icon { transform: rotate(180deg); }
.nav-children { display: grid; gap: 3px; position: relative; padding: 3px 0 5px 23px; }
.nav-children::before { position: absolute; left: 20px; top: 5px; bottom: 6px; width: 1px; background: var(--line); content: ''; }
.nav-link--nested { min-height: 34px; padding: 6px 12px; font-size: 12.5px; }
.sidebar-footer { margin: auto 13px 16px; padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fcf6f7; border-radius: 10px; }
.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { font-size: 11.5px; font-weight: 700; }
.branch-icon { display: grid; place-items: center; width: 33px; height: 33px; flex: none; background: #f1e0e9; color: var(--plum); border-radius: 9px; }
.branch-icon .icon { width: 16px; height: 16px; }
.workspace { min-width: 0; }
.topbar { min-height: 69px; padding: 9px clamp(19px, 2.75vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sidebar); border-bottom: 1px solid var(--line); }
.breadcrumb, .topbar-actions { display: flex; align-items: center; column-gap: 12px; }
.breadcrumb { font-size: 13px; color: var(--muted); min-width: 0; }
.breadcrumb strong { color: var(--ink); white-space: nowrap; font-weight: 700; }
.breadcrumb-divider .icon { width: 13px; height: 13px; opacity: .7; }
.demo-caption { display: inline-flex; align-items: center; white-space: nowrap; gap: 7px; border: 1px solid #e9dce3; border-radius: 999px; color: #6c405a; background: #faf1f5; padding: 5px 10px; font-size: 11px; font-weight: 700; }
.demo-caption i { width: 6px; height: 6px; border-radius: 100%; background: #a66a8a; }
.role-select { display: flex; align-items: center; gap: 9px; padding-left: 14px; border-left: 1px solid var(--line); cursor: pointer; }
.role-select .avatar { width: 35px; height: 35px; font-size: 11px; }
.role-input { display: flex; flex-direction: column; }
.role-input > span { color: var(--muted); font-size: 10px; }
.role-input select { background: transparent; border: 0; padding: 0 4px 0 0; color: var(--ink); font-weight: 700; cursor: pointer; font-size: 13px; min-width: 104px; }
.mobile-menu, .nav-backdrop { display: none; }

.main-content { max-width: 1600px; margin: 0 auto; padding: 33px clamp(19px, 2.75vw, 48px) 48px; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 26px; }
.page-header h1 { font: 400 clamp(45px, 4.8vw, 64px)/.96 var(--serif); letter-spacing: -.02em; margin: 0; color: #382831; }
.page-header p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.page-date { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 11px; color: #754b64; font-size: 12px; font-weight: 700; }
.page-date .icon { width: 15px; height: 15px; }
.page-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; padding-bottom: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: 12px; line-height: 1.15; text-align: center; vertical-align: middle; transition: background-color .15s ease, border-color .15s ease; }
.button .icon { width: 15px; height: 15px; }
.button--primary { color: white; border-color: var(--plum); background: var(--plum); }
.button--primary:hover { background: #592941; border-color: #592941; }
.button--secondary { color: var(--ink); border-color: #e3d7dd; background: var(--surface); }
.button--secondary:hover { background: #f9f1f5; border-color: #d4bccb; }
.button--ghost, .button--link { color: var(--plum); background: transparent; }
.button--ghost:hover, .button--link:hover { background: var(--plum-light); }
.button--soft { color: #703354; background: #f4e7ef; }
.button--soft:hover { background: #edd7e4; }
.button--danger { color: #882e42; background: #faeaf0; border-color: #f1d2dc; }
.button--danger:hover { background: #f7dce6; }
.page-actions .button { min-height: 41px; padding-inline: 14px; }
.icon-button { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--plum); }
.icon-button:hover { background: var(--plum-light); }
.mobile-menu.icon-button { display: none; }
.row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row-actions .button { min-height: 30px; padding: 5px 8px; font-size: 11.5px; }
.muted { color: var(--muted); }

.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin-bottom: 20px; }
.metric { min-width: 0; display: block; position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 13px; padding: 15px 16px 14px; box-shadow: var(--shadow); }
a.metric:hover { border-color: #c9adbd; }
.metric--primary { color: white; border-color: #6f3656; background: linear-gradient(120deg,#713453,#52283f); }
.metric--primary:hover { border-color: #995b7e !important; }
.metric--primary::after { z-index: -1; content:''; position: absolute; inset: -36px -63px auto auto; width: 185px; height: 185px; border-radius: 50%; background: repeating-radial-gradient(ellipse at center,transparent 0 7px,#f9dceb19 8px 9px,transparent 10px 15px); transform: rotate(-25deg) scaleY(.72); }
.metric-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.metric-top > .icon { width: 15px; height: 15px; color: #987288; }
.metric--primary .metric-top > .icon { color: #ecd0e1; }
.metric-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #f4e9ef; color: #7c4162; }
.metric-icon .icon { width: 18px; height: 18px; }
.metric--primary .metric-icon { background: #ffffff21; color: #fff0f8; }
.metric-label { font-size: 12px; color: #685963; font-weight: 700; margin: 1px 0; }
.metric-value { font-weight: 700; letter-spacing: -.045em; line-height: 1.18; font-size: clamp(22px,2.3vw,36px); margin: 3px 0 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-description { color: #6c5f66; font-size: 11px; }
.metric--primary .metric-label, .metric--primary .metric-description { color: #f7deeb; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(250px, 1fr); gap: 17px; align-items: start; margin-bottom: 17px; }
.owner-grid { grid-template-columns: minmax(0,1.65fr) minmax(290px,1fr); }
.owner-secondary > .panel { grid-column: 1 / -1; }
@media (min-width: 1051px) {
  .owner-grid > .alerts-panel { grid-area: 1 / 2; }
  .owner-grid > .chart-panel { grid-area: 1 / 1; }
}
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.main-content > .panel + .panel, .main-content > .panel + div > .panel { margin-top: 17px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; min-height: 61px; border-bottom: 1px solid var(--line-light); }
.panel-header h2 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.025em; font-weight: 700; }
.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.panel-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px; }
.panel-actions .button--ghost { padding-inline: 8px; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; }
.toolbar-date { color: var(--muted); white-space: nowrap; font-size: 12px; font-weight: 700; }
.search-field { display: flex; align-items: center; gap: 7px; width: min(100%, 235px); min-width: 0; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); color: #806a77; background: #fffcfd; }
.search-field:focus-within { border-color: #a5718d; }
.search-field .icon { width: 15px; height: 15px; }
.search-field input { width: 100%; min-width: 0; border: 0; padding: 0; outline: 0; background: transparent; font-size: 12px; }
.search-field input::placeholder { color: #77646f; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; min-width: max-content; }
th, td { padding: 12px 16px; text-align: left; }
th { background: #fcf8fa; color: #6b5b65; font-size: 11px; letter-spacing: .035em; font-weight: 700; white-space: nowrap; }
td { border-top: 1px solid var(--line-light); font-size: 12.5px; }
tr:hover td { background: #fdfafb; }
td small { display: block; color: var(--muted); }
td a:not(.button):hover { text-decoration: underline; }
.schedule-panel th, .schedule-panel td { padding: 11px 12px; }
.schedule-panel th:first-child, .schedule-panel td:first-child { padding-left: 16px; }
.schedule-panel td:last-child { padding-right: 15px; }
.schedule-panel .button { min-height: 29px; padding: 5px 8px; white-space: nowrap; font-size: 11px; }
.schedule-panel table { min-width: 535px; }
.appointment-time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.appointment-time strong { font-weight: 700; }
.appointment-time small { font-size: 10.5px; }
.person-cell { display: flex; align-items: center; gap: 9px; text-align: left; }
.person-cell > div { min-width: 0; }
.person-cell .person-name { color: var(--ink); font-weight: 700; white-space: nowrap; }
.person-cell small { display: block; color: var(--muted); font-size: 11px; }
.mini-tag { display: inline-block; font-size: 9px; color: #713452; vertical-align: 1px; font-weight: 700; background: #f2e5ed; border-radius: 4px; padding: 0 4px; }
.staff-name { white-space: nowrap; color: #5d5058; }
.avatar { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 50%; background: #f1e1ec; color: #703956; font-size: 10px; font-weight: 700; }
.avatar--sage { background: #e6eee4; color: #435a46; }
.avatar--lavender { background: #eee7f6; color: #635174; }
.avatar--sand { background: #f7eadd; color: #755236; }
.avatar--blue { background: #e6eef5; color: #405974; }
.badge { display: inline-flex; width: max-content; align-items: center; gap: 5px; padding: 3px 7px; white-space: nowrap; border-radius: 99px; color: #655860; background: #f3eef0; font-size: 10px; line-height: 1.4; font-weight: 700; }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge--info, .badge--blue { color: #5b4272; background: #efe8f6; }
.badge--success, .badge--good, .badge--green { color: #355b40; background: #e7f1e8; }
.badge--warning, .badge--warn, .badge--amber { color: #774e21; background: #fbefdf; }
.badge--danger, .badge--bad, .badge--red { color: #8b3e51; background: #fae8ed; }
.counter { width: 23px; height: 23px; background: #f1e2eb; color: var(--plum); display: grid; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 700; }
.followup { padding: 14px 15px 13px; }
.followup + .followup { border-top: 1px solid var(--line-light); }
.followup-top { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; }
.followup-top strong, .followup-top small { display: block; }
.followup-top strong { font-size: 12.5px; line-height: 1.2; }
.followup-top small { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.followup p { margin: 9px 0; color: #6c5c67; font-size: 11.5px; overflow-wrap: anywhere; }
.followup-actions { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 9px; }
.followup-actions .button { min-height: 28px; font-size: 10.5px; padding: 5px 7px; }
.followup-actions .icon { width: 13px; height: 13px; }
.compact-row { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 11px 16px; }
.compact-row .person-cell { flex: 1; }
.compact-row + .compact-row { border-top: 1px solid var(--line-light); }

.segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: 9px; border: 1px solid #eadce3; background: #f6eef2; }
.segmented button { font-weight: 700; font-size: 12px; padding: 7px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); }
.segmented button[aria-pressed='true'] { border-color: #eadce3; background: var(--surface); color: var(--plum); box-shadow: 0 1px 4px #4423310c; }
.chart-legend { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; padding: 13px 18px 0; color: var(--muted); font-size: 11px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 8px; height: 8px; border-radius: 3px; }
.legend-in { background: #8e5076; }
.legend-out { background: #dfc2d2; }
.chart { display: flex; align-items: stretch; gap: 10px; min-height: 138px; padding: 15px 20px 11px; background: linear-gradient(var(--line-light) 1px,transparent 1px) 0 18px / 100% 23px; }
.chart-point { flex: 1; display: grid; grid-template-rows: 100px auto; gap: 6px; min-width: 0; text-align: center; }
.chart-pair { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100px; border-bottom: 1px solid #e9dce3; }
.chart-bar { width: 25%; max-width: 34px; height: var(--bar-height); border-radius: 4px 4px 0 0; }
.chart-bar--in { background: #8e5076; }
.chart-bar--out { background: #dfc2d2; }
.chart-label { color: var(--muted); font-size: 10px; font-weight: 600; }
.alert-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; color: var(--ink); padding: 11px 14px; }
.alert-row:hover { background: #fbf4f8; }
.alert-row + .alert-row { border-top: 1px solid var(--line-light); }
.alert-row > .icon { width: 15px; color: #8d6d82; }
.alert-row strong, .alert-row small { display: block; }
.alert-row strong { font-size: 12px; }
.alert-row small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.alert-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--plum); background: #f4e6ee; }
.alert-icon .icon { width: 16px; height: 16px; }
.alert-icon--sand { color: #7b583a; background: #f8ecdf; }
.alert-icon--sage { color: #4e684f; background: #e8efe5; }
.alert-icon--lavender { color: #68537a; background: #efe7f5; }
.owner-pkg-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.owner-pkg-grid > div { display: grid; gap: 2px; padding: 14px 18px; }
.owner-pkg-grid > div + div { border-left: 1px solid var(--line-light); }
.owner-pkg-grid span { font-size: 12px; font-weight: 700; }
.owner-pkg-grid strong { font-size: 24px; }
.owner-pkg-grid small { color: var(--muted); font-size: 11px; }
.schedule-days { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-light); }
.schedule-days > .button { min-height: 31px; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 30px 17px; color: var(--muted); }
.empty-icon { display: grid; place-items: center; padding: 7px; border-radius: 9px; background: var(--plum-light); color: var(--plum); margin-bottom: 2px; }
.empty-state strong { color: var(--ink); }
.empty-state p { margin: 0; }

.dialog { width: min(510px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 1px solid #dfced7; border-radius: 16px; color: var(--ink); background: var(--surface); box-shadow: 0 22px 90px #43243838; }
.dialog::backdrop { background: #34212eba; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 19px 20px 14px; border-bottom: 1px solid var(--line); }
.modal-header h2 { margin: 0; font: 400 34px/1.1 var(--serif); }
.modal-header p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.modal-body { display: grid; gap: 12px; padding: 15px 20px; }
.modal-body:empty { display: none; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; position: sticky; bottom: 0; padding: 13px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.form-field { display: grid; gap: 5px; font-weight: 700; font-size: 12px; }
.form-field input:not([type='checkbox']), .form-field select, .form-field textarea { width: 100%; min-height: 38px; border: 1px solid #e4d6de; padding: 7px 9px; border-radius: 7px; background: #fffcfd; font-weight: 500; font-size: 13px; }
.form-field small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.form-field--checkbox { grid-template-columns: auto 1fr; align-items: start; }
input[type='checkbox'] { accent-color: var(--plum); }
.form-error { margin: 0; padding: 9px 10px; border-radius: 8px; background: #fbe7ec; color: #7d2e41; }
.toast-region { position: fixed; display: grid; gap: 7px; right: 21px; bottom: 21px; z-index: 20; max-width: calc(100vw - 42px); }
.toast { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: white; background: #4b2b40; border-radius: 9px; box-shadow: 0 8px 20px #3e23364a; font-size: 13px; }
.toast--warning { background: #713b48; }
.toast .icon { width: 17px; height: 17px; }

@media (max-width: 1200px) {
  .shell { grid-template-columns: 205px minmax(0,1fr); }
  .branding { padding-left: 16px; }
  .main-content, .topbar { padding-left: 22px; padding-right: 22px; }
  .metrics-grid { gap: 11px; }
  .dashboard-grid { gap: 12px; }
  .schedule-panel th, .schedule-panel td { padding-inline: 9px; }
  .schedule-panel table { min-width: 505px; }
}
@media (max-width: 1050px) {
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .followups { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); }
  .followup + .followup { border-top: 0; border-left: 1px solid var(--line-light); }
  .followup-top { grid-template-columns: auto minmax(0,1fr); }
  .followup-top .badge { grid-column: 2; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: fixed; width: min(250px,82vw); height: 100dvh; left: 0; top: 0; transform: translateX(-105%); transition: transform .2s ease; visibility: hidden; }
  .menu-open .sidebar { transform: translateX(0); visibility: visible; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 4; background: #3b263879; border: 0; border-radius: 0; }
  .mobile-menu.icon-button { display: inline-grid; margin-left: -6px; }
  .topbar { min-height: 60px; padding-inline: 14px; }
  .breadcrumb { gap: 5px; }
  .breadcrumb-root, .breadcrumb-divider { display: none; }
  .topbar-actions { gap: 7px; }
  .role-select { border-left: 0; padding-left: 3px; }
  .role-select .avatar { display: none; }
  .role-input select { min-width: 93px; font-size: 12px; }
  .demo-caption { font-size: 10px; padding: 4px 7px; }
  .main-content { padding: 24px 15px 35px; }
  .page-header { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 18px; }
  .page-header h1 { font-size: 49px; }
  .page-header p { font-size: 13px; }
  .page-actions { justify-content: flex-start; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 14px; }
  .metric { padding: 11px; }
  .metric-top { margin-bottom: 6px; }
  .metric-value { font-size: 24px; }
  .metric-icon { width: 28px; height: 28px; border-radius: 7px; }
  .metric-icon .icon { width: 15px; height: 15px; }
  .panel-header { padding: 11px 12px; min-height: 51px; }
  .dashboard-grid { gap: 13px; }
  .table-scroll { scrollbar-width: thin; }
  .followups { display: block; }
  .followup + .followup { border-top: 1px solid var(--line-light); border-left: 0; }
  .followup-top { grid-template-columns: auto minmax(0,1fr) auto; }
  .followup-top .badge { grid-column: auto; }
  .owner-pkg-grid > div { padding: 11px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
