.focus-home-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 24px; align-items: start; }
html body .focus-home-grid > section, html body .focus-team-summary { min-width: 0; padding: 16px 0; border: 0; background: transparent; box-shadow: none; }
html body .focus-queue-list { display: grid; grid-template-columns: minmax(0, 1fr); }
html body .focus-task { width: 100%; text-align: left; min-height: 80px; height: auto; padding: 16px 8px; border-radius: 0; border-width: 0 0 1px; background: transparent; color: var(--ux-text); grid-template-columns: 40px minmax(0, 1fr) 20px; }
html body .focus-task-copy { min-width: 0; }
html body .focus-task-copy :is(strong, small) { white-space: normal; overflow-wrap: anywhere; }
html body .focus-task-copy small { color: var(--ux-muted); }
.ux-detail-facts { display: grid; gap: 16px; padding-block: 16px; }
.ux-detail-facts > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
.ux-detail-facts dt { color: var(--ux-muted); }
.ux-detail-facts dd { margin: 0; overflow-wrap: anywhere; }
html body .ux-stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0 0 16px; margin: 0; gap: 8px; border-bottom: 1px solid var(--ux-line); }
html body .ux-stepper li { display: flex; gap: 8px; align-items: center; min-width: 0; color: var(--ux-muted); font-size: .875rem; }
html body .ux-stepper b { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border: 1px solid var(--ux-control-line); border-radius: 50%; }
html body .ux-stepper [aria-current="step"] { color: var(--ux-text); font-weight: 600; }
html body .ux-stepper [aria-current="step"] b { background: var(--ux-brand); color: white; border-color: var(--ux-brand); }
.ux-paging { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding-block: 12px; }
.ux-paging span { color: var(--ux-muted); }
html body .ux-contact-result { padding-block: 12px; min-height: 64px; }
.ux-chat-new { position: sticky; bottom: 8px; margin-inline: auto; display: block; }
html body .chat-layout { height: clamp(320px, 68dvh, 720px); min-height: 0; }
html body .chat-layout :is(.chat-sidebar, .chat-conversation) { min-height: 0; height: 100%; max-height: 100%; overflow: hidden; }
html body .chat-conversation { grid-template-rows: auto minmax(0, 1fr) auto; }
html body .chat-message-list { min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: auto; }
html body .chat-sidebar { display: flex; flex-direction: column; }
html body .chat-thread-list { min-height: 0; flex: 1; overflow-y: auto; }
.context-message-text { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Keep weekday labels and month cells in the same local scroll region. */
html body .roster-month-scroll { min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
html body .roster-month-scroll > .roster-month-board { overflow: visible; }
@media (min-width: 761px) {
  html body .roster-month-scroll > :is(.roster-month-weekdays, .roster-month-board) { min-width: 800px; }
}

/* AP4: primary controls first; detail filters do not crowd out results. */
html body .ux-report-filter-panel { padding: 12px 0; border: 0; border-radius: 0; background: transparent; }
html body .ux-report-primary-filters { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)) auto minmax(180px, 1.5fr) minmax(140px, 1fr); gap: 12px; align-items: end; }
html body .ux-report-primary-filters > label { min-width: 0; }
html body .ux-report-extra-filters { border-block: 1px solid var(--ux-line); }
html body :is(.ux-report-extra-filters, .ux-report-calculation) > summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--ux-text); font-size: .875rem; }
html body .ux-report-extra-filters .report-filter-drawers { margin-bottom: 12px; }
html body .ux-report-sort { display: flex; flex-wrap: wrap; gap: 12px; }
html body .ux-report-sort > label { flex: 0 1 220px; min-width: 0; }
html body .ux-report-table { table-layout: auto; }
html body .ux-report-table caption { padding: 12px 8px; text-align: left; color: var(--ux-text); font-weight: 600; }
html body .ux-report-table :is(th, td) { min-width: 90px; overflow-wrap: normal; word-break: normal; vertical-align: top; }
html body .ux-report-table td { font-variant-numeric: tabular-nums; }
html body .ux-deployment-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); overflow: visible; }
html body .ux-deployment-tabs button { min-width: 0; font-size: .875rem; padding: 10px 8px; }
html body .ux-deployment-tabs button span { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
@media (max-width: 560px) {
  html body .ux-deployment-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .ux-deployment-tabs button { flex-direction: column; gap: 4px; }
}
html body .ux-report-table td:has(button) { min-width: 160px; }
html body .ux-report-table button { overflow-wrap: break-word; max-width: 320px; }
@media (max-width: 1100px) {
  html body .ux-report-primary-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body .ux-report-primary-filters > .ux-report-main-filter { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 560px) {
  html body .ux-report-primary-filters { gap: 8px; }
  html body .ux-report-primary-filters > label :is(input, select) { width: 100%; }
  html body .ux-report-sort > label { flex: 1 1 120px; }
}
@media (max-width: 700px) {
  .focus-home-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html body .ux-stepper li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ux-detail-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* AP5: one searchable navigation and unframed, form-local provenance. */
html body .admin-navigation:has([data-ux-admin-index]) { grid-template-columns: minmax(0, 1fr); }
html body [data-ux-admin-index] { min-width: 0; padding: 12px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
html body [data-ux-admin-index] > label { max-width: 560px; }
html body [data-ux-admin-index] > nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
html body [data-ux-admin-group] { min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 8px; }
html body [data-ux-admin-group] h3 { margin: 0; font-size: 1rem; }
html body [data-ux-admin-group] .document-template-list { gap: 0; }
html body [data-ux-admin-task] { min-width: 0; min-height: 44px; height: auto; justify-content: flex-start; text-align: left; border-radius: 0; border-width: 0 0 1px; background: transparent; color: var(--ux-text); }
html body [data-ux-admin-task] span { white-space: normal; word-break: normal; overflow-wrap: anywhere; }
html body [data-ux-admin-task][aria-current="page"] { color: var(--ux-info); background: var(--ux-info-bg); border-inline-start: 3px solid currentColor; }
html body [data-ux-admin-index] [hidden] { display: none !important; }
html body .ux-admin-form-context { min-width: 0; grid-column: 1 / -1; padding-block: 12px; border-block: 1px solid var(--ux-line); }
html body .ux-admin-context { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 8px; }
html body .ux-admin-context h3 { margin: 0; font-size: 1rem; }
html body .ux-admin-context > dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
html body .ux-admin-context dl > div { min-width: 0; }
html body .ux-admin-context dt, html body .ux-admin-origin-list dt { font-size: .875rem; font-weight: 600; }
html body .ux-admin-context dd, html body .ux-admin-origin-list dd { margin: 4px 0 0; font-size: .875rem; overflow-wrap: anywhere; }
html body [data-ux-admin-origins] { margin-top: 12px; }
html body [data-ux-admin-origins] summary { min-height: 44px; display: list-item; align-content: center; cursor: pointer; }
html body .ux-admin-origin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-block: 8px; }
@media (max-width: 900px) {
  html body [data-ux-admin-index] > nav, html body .ux-admin-context > dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  html body [data-ux-admin-index] > nav, html body .ux-admin-context > dl, html body .ux-admin-origin-list { grid-template-columns: minmax(0, 1fr); }
}

/* Shared hierarchy for reports, statistics and comparable workspace sections. */
html body :is(.report-workspace, .deployment-statistics-workspace, .planning-workspace, .documentation-workspace, .knowledge-workspace) {
  --ux-local-section-gap: var(--ux-section-gap);
  --ux-local-group-gap: var(--ux-group-gap);
  min-width: 0;
}

/* Keep the two desktop navigation layers readable while the page scrolls. */
@media (min-width: 761px) {
  html body .workspace-shell {
    --ux-workspace-tabs-height: 54px;
  }

  html body .workspace-shell > .workspace-tabs {
    z-index: 32;
    height: var(--ux-workspace-tabs-height);
    min-height: var(--ux-workspace-tabs-height);
    box-sizing: border-box;
    flex-wrap: nowrap;
    background: var(--one-surface, var(--ux-surface));
  }

  html body .workspace-shell > .workspace-content > .toolbar {
    z-index: 31;
    top: calc(var(--one-header, 64px) + var(--ux-workspace-tabs-height) + 20px);
    background: var(--one-surface, var(--ux-surface));
  }
}

html body :is(.report-workspace, .deployment-statistics-workspace) {
  gap: var(--ux-local-section-gap);
}

html body :is(.report-display-controls, .report-summary-region, .report-results-region, .deployment-complete-data) {
  min-width: 0;
}

html body :is(.report-summary-region, .report-results-region) {
  padding-top: var(--ux-section-padding);
  border-top: 1px solid var(--ux-line);
}

html body .report-display-controls {
  margin-top: var(--ux-group-gap);
  padding-top: var(--ux-group-padding);
  border-top: 1px solid var(--ux-line);
}

html body .report-summary-region > .report-module-head,
html body .report-results-region > .report-module-head {
  margin-bottom: var(--ux-group-padding);
}

html body :is(.report-guide, .deployment-statistics-head) {
  min-width: 0;
  padding: 0 0 var(--ux-section-padding);
  border: 0;
  border-bottom: 1px solid var(--ux-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body :is(.report-guide-heading, .deployment-statistics-title, .report-module-head, .panel-head) {
  align-items: flex-start;
  gap: var(--ux-group-gap);
}

html body :is(.report-analysis-grid, .deployment-overview-grid, .deployment-map-layout, .deployment-import-grid, .deployment-template-layout) {
  min-width: 0;
  gap: var(--ux-section-gap) var(--ux-space-6);
  align-items: start;
}

html body :is(.report-analysis-grid, .deployment-overview-grid, .deployment-map-layout, .deployment-import-grid, .deployment-template-layout) > * {
  min-width: 0;
}

html body :is(.report-module, .metric-details) {
  min-width: 0;
  padding: var(--ux-section-padding) 0 0;
  border: 0;
  border-top: 1px solid var(--ux-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body .report-module-head {
  min-width: 0;
  margin: 0 0 var(--ux-group-padding);
  padding: 0 0 var(--ux-space-3);
  border-bottom: 1px solid var(--ux-line);
}

html body .report-module-head :is(h2, h3, p),
html body :is(.report-guide-heading, .deployment-statistics-title) :is(h2, p) {
  margin-block: 0;
}

html body .report-module > h3:first-child {
  margin: 0 0 var(--ux-group-padding);
  padding-bottom: var(--ux-space-3);
  border-bottom: 1px solid var(--ux-line);
  font-size: 1.125rem;
  line-height: 1.4;
}

/* Filters are one functional band. Inner filter rows remain unframed. */
html body :is(.ux-report-filter-panel, .deployment-filter-bar, .deployment-period-filter) {
  min-width: 0;
  padding: var(--ux-group-padding) 0;
  border: 0;
  border-block: 1px solid var(--ux-line);
  border-radius: 0;
  background: color-mix(in srgb, var(--ux-subtle) 62%, transparent);
  box-shadow: none;
}

html body :is(.ux-report-filter-panel, .deployment-filter-bar, .deployment-period-filter) > * {
  min-width: 0;
}

html body :is(.report-filter-core, .report-filter-drawers, .report-filter-footer) {
  min-width: 0;
}

html body .report-filter-footer {
  margin-top: var(--ux-space-3);
  padding-top: var(--ux-space-3);
  border-top: 1px solid var(--ux-line);
}

html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs, .segmented) {
  min-width: 0;
}

html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button {
  min-height: var(--ux-control) !important;
  color: var(--ux-muted);
  background: transparent;
  border-color: transparent;
  border-radius: var(--ux-radius) var(--ux-radius) 0 0;
}

html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button:is(:hover, :focus-visible) {
  color: var(--ux-text);
  background: var(--ux-subtle);
}

html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button:is(.active, [aria-current="page"], [aria-selected="true"]) {
  color: var(--ux-text) !important;
  background: var(--ux-selected) !important;
  border-color: var(--ux-link) !important;
  box-shadow: inset 0 -3px var(--ux-link);
  font-weight: 700;
}

html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button:is(.active, [aria-current="page"], [aria-selected="true"]) .app-icon {
  color: var(--ux-link);
}

html body [role="tab"][aria-selected="true"] > span[aria-hidden="true"] {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ux-link);
  color: var(--ux-surface);
  font-size: 12px;
  font-weight: 900;
}

/* KPI cards are independent repeated items, never wrappers for other cards. */
html body :is(.report-kpis, .deployment-kpis) {
  min-width: 0;
  gap: var(--ux-space-3);
  margin-block: var(--ux-space-6);
}

html body :is(.report-kpis, .deployment-kpis) > article {
  min-width: 0;
  padding: var(--ux-group-padding);
  border: 1px solid var(--ux-line);
  border-top: 3px solid var(--ux-link);
  border-radius: var(--ux-radius);
  background: var(--ux-surface);
  box-shadow: none;
}

html body :is(.report-kpis, .deployment-kpis) > article :is(span, small) {
  color: var(--ux-muted);
}

html body :is(.report-kpis, .deployment-kpis) > article strong {
  color: var(--ux-text);
  font-variant-numeric: tabular-nums;
}

/* Category, list/detail and administration rows share a quiet scanning rhythm. */
html body :is(.deployment-bars, .deployment-recent, .deployment-location-list, .deployment-profile-list, .deployment-template-list, .compact-admin-list, .document-template-list, .knowledge-admin-list, .knowledge-contact-list) {
  min-width: 0;
  gap: 0;
}

html body .deployment-bars > div,
html body :is(.deployment-entry-row, .compact-admin-row, .document-template-list > button, .knowledge-admin-list > button, .knowledge-contact-row) {
  min-width: 0;
  padding-block: var(--ux-space-3);
  border-bottom: 1px solid var(--ux-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html body :is(.compact-admin-row, .document-template-list > button, .knowledge-admin-list > button, .knowledge-contact-row):is(:hover, :focus-visible) {
  background: var(--ux-subtle);
}

html body .deployment-bars > div :is(strong, b),
html body :is(.deployment-entry-row, .compact-admin-row, .document-template-list > button, .knowledge-admin-list > button, .knowledge-contact-row) strong {
  color: var(--ux-text);
}

html body .deployment-bars > div > b,
html body .deployment-entry-row > time {
  font-variant-numeric: tabular-nums;
}

html body .deployment-bars > div.active {
  margin-block: var(--ux-space-1);
  padding-inline: var(--ux-space-3);
  border: 1px solid var(--ux-link);
  border-left-width: 4px;
  border-radius: var(--ux-radius);
  background: var(--ux-selected);
}

html body .deployment-bars > div.active strong {
  font-weight: 800;
}

/* Maps stay genuine framed tools and expose accessible zoom controls. */
html body .deployment-map-panel {
  min-width: 0;
}

html body .deployment-map {
  max-width: 100%;
  border-color: var(--ux-control-line);
  border-radius: var(--ux-radius);
  background: var(--ux-subtle);
}

html body .deployment-map .leaflet-control-zoom a {
  display: grid;
  place-items: center;
  width: var(--ux-control);
  min-width: var(--ux-control);
  height: var(--ux-control);
  min-height: var(--ux-control);
  color: var(--ux-text);
  background: var(--ux-surface);
}

html body .deployment-map :is(.leaflet-popup-content-wrapper, .leaflet-popup-tip) {
  color: var(--ux-text);
  background: var(--ux-surface);
}

html body .deployment-map .leaflet-popup-content-wrapper {
  border: 1px solid var(--ux-line);
  border-radius: var(--ux-radius);
}

html body .deployment-map-popup :is(strong, li span, p) {
  color: var(--ux-text);
}

@media (max-width: 760px) {
  html body :is(.report-analysis-grid, .deployment-overview-grid, .deployment-map-layout, .deployment-import-grid, .deployment-template-layout) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ux-space-6);
  }

  html body :is(.deployment-template-layout, .deployment-import-grid) > * {
    grid-column: 1 !important;
  }

  html body :is(.report-guide-heading, .deployment-statistics-title, .report-module-head) {
    align-items: stretch;
  }

  html body :is(.report-kpis, .deployment-kpis) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button {
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (forced-colors: active) {
  html body :is(.report-workspace-switch, .report-question-nav, .deployment-tabs, .workspace-tabs) button:is(.active, [aria-current="page"], [aria-selected="true"]) {
    border: 2px solid Highlight !important;
    box-shadow: inset 0 -3px Highlight;
  }

  html body :is(.report-kpis, .deployment-kpis) > article,
  html body .deployment-map {
    border: 1px solid CanvasText;
  }
}


/* Adaptive Today workspace */
.today-adaptive { display: grid; gap: var(--ux-section-gap); }
.today-connection-status { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-inline-start: 4px solid var(--ux-attention); background: var(--ux-attention-bg); color: var(--ux-text); }
.today-connection-status > .app-icon { flex: 0 0 auto; color: var(--ux-attention); }
.today-connection-status span { display: grid; gap: 2px; min-width: 0; }
.today-connection-status small { color: var(--ux-muted); }
html body .today-next-service { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 20px; align-items: center; gap: 14px; width: 100%; min-height: 132px; height: auto; padding: 20px; border: 1px solid var(--ux-control-line); border-inline-start: 5px solid var(--ux-brand); border-radius: 8px; background: var(--ux-surface); color: var(--ux-text); text-align: left; box-shadow: 0 10px 26px rgb(0 5 72 / 7%); }
html body .today-next-service:hover, html body .today-next-service:focus-visible { border-color: var(--ux-brand); background: var(--ux-brand-soft); filter: none; }
html body .today-next-service.is-empty { display: block; min-height: 0; padding: 18px; border-inline-start-color: var(--ux-line); box-shadow: none; }
.today-next-service.is-empty :is(h2, p) { margin: 0; }
.today-next-service.is-empty p { margin-top: 4px; }
.today-next-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; color: var(--ux-brand); background: var(--ux-brand-soft); }
.today-next-copy { display: grid; gap: 4px; min-width: 0; }
.today-next-copy > small { color: var(--ux-brand); font-weight: 800; text-transform: uppercase; }
.today-next-copy > strong { font-size: 1.35rem; overflow-wrap: anywhere; }
.today-next-copy > span { color: var(--ux-muted); overflow-wrap: anywhere; }
.today-next-status { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 7px 10px; border: 1px solid currentColor; border-radius: 6px; font-size: .84rem; font-weight: 750; }
.today-next-status.is-complete { color: var(--ux-success); background: var(--ux-success-bg); }
.today-next-status.is-open { color: var(--ux-attention); background: var(--ux-attention-bg); }
.today-next-service > .app-icon:last-child { color: var(--ux-muted); }
.today-personal-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr); gap: var(--ux-section-gap); align-items: start; }
.today-personal-column { display: grid; gap: var(--ux-section-gap); min-width: 0; }
html body .today-personal-column > section, html body .today-team-panel { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.today-upcoming-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
html body .today-upcoming-list .personal-upcoming-item { display: grid; align-content: start; gap: 5px; min-height: 108px; padding: 12px; border: 1px solid var(--ux-line); border-inline-start: 4px solid var(--ux-info); border-radius: 7px; background: var(--ux-surface); color: var(--ux-text); text-align: left; }
html body .today-upcoming-list .personal-upcoming-item:hover, html body .today-upcoming-list .personal-upcoming-item:focus-visible { border-color: var(--ux-info); background: var(--ux-info-bg); filter: none; }
.today-upcoming-list .personal-upcoming-item span, .today-upcoming-list .personal-upcoming-item small { color: var(--ux-muted); }
.today-upcoming-list .personal-upcoming-item strong { overflow-wrap: anywhere; }
.today-team-panel { display: grid; gap: 12px; padding-inline-start: 18px !important; border-inline-start: 1px solid var(--ux-line) !important; }
.today-team-list { display: grid; }
html body .today-team-list button { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: center; gap: 8px; min-height: 60px; height: auto; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--ux-line); border-radius: 0; background: transparent; color: var(--ux-text); text-align: left; }
html body .today-team-list button:hover, html body .today-team-list button:focus-visible { background: var(--ux-subtle); filter: none; }
.today-team-list span { display: grid; gap: 3px; min-width: 0; }
.today-team-list small { color: var(--ux-muted); }
.today-team-panel.is-coordination .eyebrow { color: var(--ux-attention); }
.today-team-panel.is-support .eyebrow { color: var(--ux-success); }
html body .today-team-panel > button.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
html body .today-team-panel > button.secondary .app-icon { position: static; order: 2; margin: 0; }
.today-notices { margin: 0; }
@media (max-width: 920px) {
  .today-personal-grid { grid-template-columns: minmax(0, 1fr); }
  .today-team-panel { padding-inline-start: 0 !important; padding-top: 16px !important; border-inline-start: 0 !important; border-top: 1px solid var(--ux-line) !important; }
}
@media (max-width: 700px) {
  html body .today-next-service { grid-template-columns: 40px minmax(0, 1fr) 18px; min-height: 0; padding: 14px 12px; gap: 10px; }
  .today-next-badge { width: 40px; height: 40px; }
  .today-next-status { grid-column: 2; justify-self: start; margin-top: 4px; }
  .today-upcoming-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html body .today-upcoming-list .personal-upcoming-item { min-height: 76px; }
}
