/* Desktop chrome — one header system across departments.
   Last-win after density-rem. Does NOT touch Sites week bars, table grid,
   or workflow notes column. Navy GCE only. */

html body.gce-viewport-shell {
  --gce-chrome-h: 2.15rem;
  --gce-chrome-gap: 0.45rem;
  --gce-chrome-pad-x: 0.85rem;
  --gce-chrome-pad-y: 0.4rem;
  --gce-chrome-navy: #1e3a8a;
  --gce-chrome-text: #0f172a;
  --gce-chrome-muted: #475569;
  --gce-chrome-line: #d8e0ea;
  --gce-chrome-fill: #f8fafc;
  --gce-chrome-pill: 999px;
  --gce-chrome-card: 1rem;
  --gce-chrome-modal: 1.25rem;
}

/* Same content width for header / tabs / KPIs / tables */
html body.gce-viewport-shell .dash-page--ops,
html body.gce-viewport-shell .stm-page,
html body.gce-viewport-shell .fin-mockup-shell,
html body.gce-viewport-shell .fin-page,
html body.gce-viewport-shell .crw-page,
html body.gce-viewport-shell .tsk-page,
html body.gce-viewport-shell .eq-page,
html body.gce-viewport-shell .sto-page,
html body.gce-viewport-shell .sfty-page,
html body.gce-viewport-shell .cal-page,
html body.gce-viewport-shell .cal-board,
html body.gce-viewport-shell .msg-page,
html body.gce-viewport-shell .pnl-page,
html body.gce-viewport-shell .stg-page,
html body.gce-viewport-shell .sfd-page,
html body.gce-viewport-shell .cert-dash,
html body.gce-viewport-shell #site-detail-main .sdt-page-header {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

html body.gce-viewport-shell #finance-page-root.fin-mockup-page {
  padding: var(--gce-chrome-pad-y) var(--gce-chrome-pad-x) 1.5rem !important;
}

html body.gce-viewport-shell .fin-mockup-shell {
  gap: 0.55rem !important;
}

html body.gce-viewport-shell .fin-mock-page-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

html body.gce-viewport-shell .pnl-head {
  padding: var(--gce-chrome-pad-y) var(--gce-chrome-pad-x) 0.35rem !important;
}

html body.gce-viewport-shell .pnl-body {
  padding: 0.55rem var(--gce-chrome-pad-x) 1.5rem !important;
}

/* ── Title left / actions right ── */
html body.gce-viewport-shell .dash-ops-hero,
html body.gce-viewport-shell .stm-page-head-row,
html body.gce-viewport-shell .fin-mock-header,
html body.gce-viewport-shell .fin-page-head,
html body.gce-viewport-shell .crw-page-head-row,
html body.gce-viewport-shell .tsk-page-head,
html body.gce-viewport-shell .eq-page-head,
html body.gce-viewport-shell .sto-page-head,
html body.gce-viewport-shell .sfty-page-head-row,
html body.gce-viewport-shell .sfd-page-head,
html body.gce-viewport-shell .cal-page-head-row,
html body.gce-viewport-shell .msg-page-head,
html body.gce-viewport-shell .pnl-head-row,
html body.gce-viewport-shell .stg-mock-header,
html body.gce-viewport-shell .stg-page-head-row,
html body.gce-viewport-shell #site-detail-main .sdt-page-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--gce-chrome-gap) 0.85rem !important;
  width: 100%;
  box-sizing: border-box;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

html body.gce-viewport-shell .dash-ops-hero-text,
html body.gce-viewport-shell .fin-mock-header-copy,
html body.gce-viewport-shell .tsk-page-head-main,
html body.gce-viewport-shell .msg-page-head-main,
html body.gce-viewport-shell .eq-page-head-left,
html body.gce-viewport-shell .fin-page-head-left,
html body.gce-viewport-shell .sdt-page-header-main {
  flex: 1 1 auto;
  min-width: 0;
}

html body.gce-viewport-shell .dash-ops-hero-actions,
html body.gce-viewport-shell .stm-page-head-actions,
html body.gce-viewport-shell .fin-mock-header-actions,
html body.gce-viewport-shell .crw-topbar-right,
html body.gce-viewport-shell .tsk-topbar-right,
html body.gce-viewport-shell .eq-actions,
html body.gce-viewport-shell .sto-page-head-actions,
html body.gce-viewport-shell .sfty-topbar-right,
html body.gce-viewport-shell .cal-topbar-right,
html body.gce-viewport-shell .pnl-head-actions,
html body.gce-viewport-shell .stg-mock-header-actions,
html body.gce-viewport-shell .sdt-hero-actions,
html body.gce-viewport-shell .fin-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 1 auto !important;
  margin-left: auto !important;
  min-width: 0;
  max-width: min(100%, 46rem);
  gap: 0.4rem !important;
}

html body.gce-viewport-shell .dash-ops-hero h2,
html body.gce-viewport-shell .stm-page-head h2,
html body.gce-viewport-shell .fin-mock-header h2,
html body.gce-viewport-shell .fin-page-head h2,
html body.gce-viewport-shell .crw-page-head h2,
html body.gce-viewport-shell .tsk-page-head h2,
html body.gce-viewport-shell .eq-page-head h2,
html body.gce-viewport-shell .sto-page-head h2,
html body.gce-viewport-shell .sfty-page-head h2,
html body.gce-viewport-shell .sfd-page-head h2,
html body.gce-viewport-shell .cal-page-head h2,
html body.gce-viewport-shell .msg-page-head h2,
html body.gce-viewport-shell .pnl-head h2,
html body.gce-viewport-shell .stg-mock-header h2,
html body.gce-viewport-shell .stg-page-head h2,
html body.gce-viewport-shell #site-detail-main .sdt-site-title {
  margin: 0 0 0.15rem !important;
  color: var(--gce-chrome-text);
  letter-spacing: -0.03em;
}

html body.gce-viewport-shell .dash-ops-hero-sub,
html body.gce-viewport-shell .stm-subtitle,
html body.gce-viewport-shell .fin-mock-header p,
html body.gce-viewport-shell .fin-subtitle,
html body.gce-viewport-shell .crw-subtitle,
html body.gce-viewport-shell .tsk-subtitle,
html body.gce-viewport-shell .eq-subtitle,
html body.gce-viewport-shell .sto-subtitle,
html body.gce-viewport-shell .sfty-subtitle,
html body.gce-viewport-shell .pnl-subtitle,
html body.gce-viewport-shell .stg-subtitle,
html body.gce-viewport-shell .cal-subtitle {
  margin: 0 !important;
  max-width: 38rem;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: var(--gce-chrome-muted) !important;
}

html body.gce-viewport-shell .stm-breadcrumb,
html body.gce-viewport-shell .fin-mock-breadcrumb,
html body.gce-viewport-shell .crw-breadcrumb,
html body.gce-viewport-shell .tsk-breadcrumb,
html body.gce-viewport-shell .eq-breadcrumb,
html body.gce-viewport-shell .sfty-breadcrumb,
html body.gce-viewport-shell .cal-breadcrumb,
html body.gce-viewport-shell .msg-breadcrumb,
html body.gce-viewport-shell .pnl-breadcrumb,
html body.gce-viewport-shell .stg-breadcrumb,
html body.gce-viewport-shell .sdt-breadcrumb {
  margin: 0 0 0.2rem !important;
  font-size: 0.6875rem !important;
}

/* Shared control height — header/actions only (not table row buttons) */
html body.gce-viewport-shell .fin-mock-header-actions .fin-mock-btn,
html body.gce-viewport-shell .fin-mock-filter-year select,
html body.gce-viewport-shell .stm-page-head-actions .stm-btn,
html body.gce-viewport-shell .crw-topbar-right .crw-btn,
html body.gce-viewport-shell .pnl-head-actions .crw-btn,
html body.gce-viewport-shell .tsk-topbar-right .tsk-btn,
html body.gce-viewport-shell .eq-actions .eq-btn,
html body.gce-viewport-shell .sto-page-head-actions .sto-btn,
html body.gce-viewport-shell .stg-mock-header-actions .stg-btn-help,
html body.gce-viewport-shell .sfty-topbar-right .sfty-audit-btn,
html body.gce-viewport-shell .sdt-hero-actions .sdt-btn,
html body.gce-viewport-shell .pnl-ops-avatar,
html body.gce-viewport-shell .stm-ops-avatar,
html body.gce-viewport-shell .msg-avatar-btn,
html body.gce-viewport-shell .sto-yard-pill,
html body.gce-viewport-shell .dash-ops-new-task,
html body.gce-viewport-shell .gce-market-banner-clear {
  height: var(--gce-chrome-h) !important;
  min-height: var(--gce-chrome-h) !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.85rem !important;
  border-radius: var(--gce-chrome-pill) !important;
  line-height: 1 !important;
}

html body.gce-viewport-shell .pnl-ops-avatar,
html body.gce-viewport-shell .stm-ops-avatar,
html body.gce-viewport-shell .msg-avatar-btn,
html body.gce-viewport-shell .dash-ops-avatar {
  width: var(--gce-chrome-h) !important;
  padding: 0 !important;
  flex: 0 0 var(--gce-chrome-h) !important;
}

html body.gce-viewport-shell .fin-mock-filter-year {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--gce-chrome-muted);
}

html body.gce-viewport-shell .fin-mock-filter-year select {
  background: var(--gce-canvas, #eeeae3) !important;
  border: 1px solid var(--gce-chrome-line) !important;
  color: var(--gce-chrome-text) !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
}

/* ── Tabs + vendor chip on one compact bar (no full-width blue wash) ── */
html body.gce-viewport-shell .gce-page-chrome-bar,
html body.gce-viewport-shell .fin-mock-chrome-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.55rem 0.85rem !important;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  min-height: var(--gce-chrome-h);
  padding: 0.15rem 0;
  background: transparent !important;
  border: none !important;
}

html body.gce-viewport-shell .fin-mock-tabs,
html body.gce-viewport-shell .fin-mock-tabs.fin-mock-tabs--mockup,
html body.gce-viewport-shell #finance-page-root.fin-mockup-page .fin-mock-tabs.fin-mock-tabs--mockup,
html body.gce-viewport-shell .pnl-tabs,
html body.gce-viewport-shell .pnl-tabs--mockup,
html body.gce-viewport-shell .tsk-scope-tabs,
html body.gce-viewport-shell .tsk-view-tabs,
html body.gce-viewport-shell .msg-inbox-tabs,
html body.gce-viewport-shell .cal-view-toggle,
html body.gce-viewport-shell .cert-tabs {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  width: auto !important;
  max-width: 100%;
  gap: 0.2rem !important;
  margin: 0 !important;
  padding: 0.18rem !important;
  background: var(--gce-chrome-fill) !important;
  border: 1px solid var(--gce-chrome-line) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

html body.gce-viewport-shell .fin-mock-tab,
html body.gce-viewport-shell #finance-page-root.fin-mockup-page .fin-mock-tabs--mockup .fin-mock-tab,
html body.gce-viewport-shell .pnl-tab,
html body.gce-viewport-shell .tsk-scope-tabs > button,
html body.gce-viewport-shell .tsk-view-tabs > button,
html body.gce-viewport-shell .msg-inbox-tabs button,
html body.gce-viewport-shell .cal-view-toggle button {
  height: 1.85rem !important;
  min-height: 1.85rem !important;
  margin: 0 !important;
  padding: 0 0.7rem !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--gce-chrome-muted) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body.gce-viewport-shell .fin-mock-tab.active,
html body.gce-viewport-shell #finance-page-root.fin-mockup-page .fin-mock-tabs--mockup .fin-mock-tab.active,
html body.gce-viewport-shell .pnl-tab.active,
html body.gce-viewport-shell .tsk-scope-tabs > button.active,
html body.gce-viewport-shell .tsk-view-tabs > button.active,
html body.gce-viewport-shell .msg-inbox-tabs button.active,
html body.gce-viewport-shell .cal-view-toggle button.active {
  background: var(--gce-chrome-navy) !important;
  color: #fff !important;
  border-bottom: none !important;
}

/* Vendor chip — hug content, sit on the chrome bar */
html body.gce-viewport-shell .gce-market-banner-host {
  margin: 0 !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

html body.gce-viewport-shell .stm-page-head > .gce-market-banner-host {
  justify-content: flex-end;
  margin-top: 0.15rem !important;
}

html body.gce-viewport-shell .gce-market-banner-host:empty,
html body.gce-viewport-shell .gce-market-banner-host[hidden] {
  display: none !important;
}

html body.gce-viewport-shell .gce-market-banner {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0.4rem !important;
  width: max-content !important;
  max-width: 100%;
  min-height: var(--gce-chrome-h);
  margin-left: auto;
  padding: 0.15rem 0.35rem 0.15rem 0.7rem !important;
  border-radius: 999px !important;
  border: 1px solid #93c5fd !important;
  background: #dbeafe !important;
  box-sizing: border-box;
}

html body.gce-viewport-shell .gce-market-banner span {
  flex: 0 1 auto !important;
  max-width: 18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html body.gce-viewport-shell .gce-market-banner--warn {
  background: #fef3c7 !important;
  border-color: #fcd34d !important;
}

/* ── KPI / stat cards fill the row evenly ── */
html body.gce-viewport-shell .dash-kpi-grid,
html body.gce-viewport-shell .dash-page--ops .dash-kpi-grid--4,
html body.gce-viewport-shell .fin-ov-kpi-row,
html body.gce-viewport-shell .fin-kpi-grid,
html body.gce-viewport-shell .fin-rpt-kpis,
html body.gce-viewport-shell .tsk-kpi-grid,
html body.gce-viewport-shell .eq-kpi-grid,
html body.gce-viewport-shell .sto-kpi-grid,
html body.gce-viewport-shell .sfty-kpi-grid,
html body.gce-viewport-shell .sfd-kpi-grid,
html body.gce-viewport-shell .cert-kpi-grid,
html body.gce-viewport-shell .cal-kpi-grid,
html body.gce-viewport-shell .pnl-kpi-grid,
html body.gce-viewport-shell .sdt-kpi-grid {
  width: 100% !important;
  display: grid !important;
  gap: 0.55rem !important;
  box-sizing: border-box;
}

html body.gce-viewport-shell .stm-kpi-grid,
html body.gce-viewport-shell .stm-kpi-grid--mockup {
  width: 100% !important;
  box-sizing: border-box;
}

html body.gce-viewport-shell .dash-kpi-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html body.gce-viewport-shell .dash-page--ops .dash-kpi-grid--4,
html body.gce-viewport-shell .tsk-kpi-grid,
html body.gce-viewport-shell .eq-kpi-grid,
html body.gce-viewport-shell .sfty-kpi-grid,
html body.gce-viewport-shell .cal-kpi-grid,
html body.gce-viewport-shell .fin-ov-kpi-row,
html body.gce-viewport-shell .fin-rpt-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.gce-viewport-shell .sfty-kpi-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* ── Toolbars / tables share header width ── */
html body.gce-viewport-shell .stm-table-toolbar,
html body.gce-viewport-shell .tsk-table-toolbar,
html body.gce-viewport-shell .fin-ov-toolbar,
html body.gce-viewport-shell .fin-mock-table-panel,
html body.gce-viewport-shell .fin-mock-sites-panel,
html body.gce-viewport-shell .eq-toolbar,
html body.gce-viewport-shell .sto-toolbar,
html body.gce-viewport-shell .pnl-toolbar,
html body.gce-viewport-shell .sfty-filters,
html body.gce-viewport-shell .cal-board-toolbar {
  width: 100%;
  box-sizing: border-box;
}

html body.gce-viewport-shell .stm-table-toolbar,
html body.gce-viewport-shell .pnl-toolbar,
html body.gce-viewport-shell .fin-ov-toolbar,
html body.gce-viewport-shell .fin-mock-table-panel-head,
html body.gce-viewport-shell .fin-mock-sites-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gce-chrome-gap);
  flex-wrap: wrap;
}

/* Laptop: keep even columns, wrap chrome actions */
@media (max-width: 1200px) {
  html body.gce-viewport-shell .dash-ops-hero,
  html body.gce-viewport-shell .stm-page-head-row,
  html body.gce-viewport-shell .fin-mock-header,
  html body.gce-viewport-shell .pnl-head-row,
  html body.gce-viewport-shell .tsk-page-head,
  html body.gce-viewport-shell .eq-page-head,
  html body.gce-viewport-shell .stg-mock-header {
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }

  html body.gce-viewport-shell .dash-ops-hero-actions,
  html body.gce-viewport-shell .fin-mock-header-actions,
  html body.gce-viewport-shell .stm-page-head-actions {
    max-width: 100%;
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  html body.gce-viewport-shell .dash-kpi-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body.gce-viewport-shell .dash-page--ops .dash-kpi-grid--4,
  html body.gce-viewport-shell .fin-ov-kpi-row,
  html body.gce-viewport-shell .tsk-kpi-grid,
  html body.gce-viewport-shell .eq-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ── Round chrome (pills / cards). Last-win. Never display:block on Sites tr. ── */
html body.gce-viewport-shell .fin-mock-btn,
html body.gce-viewport-shell .fin-mock-header-actions .fin-mock-btn,
html body.gce-viewport-shell .fin-mock-filter-year select,
html body.gce-viewport-shell .fin-mock-filter-year--mock select,
html body.gce-viewport-shell #finance-page-root.fin-mockup-page .fin-mock-filter-year--mock select,
html body.gce-viewport-shell .fin-mock-filter-icon,
html body.gce-viewport-shell .stm-btn,
html body.gce-viewport-shell .crw-btn,
html body.gce-viewport-shell .tsk-btn,
html body.gce-viewport-shell .eq-btn,
html body.gce-viewport-shell .sto-btn,
html body.gce-viewport-shell .stg-btn,
html body.gce-viewport-shell .stg-btn-help,
html body.gce-viewport-shell .sfty-audit-btn,
html body.gce-viewport-shell .sdt-btn,
html body.gce-viewport-shell .dash-ops-new-task,
html body.gce-viewport-shell .gce-night-btn,
html body.gce-viewport-shell .gce-market-banner-clear,
html body.gce-viewport-shell .sto-yard-pill {
  border-radius: var(--gce-chrome-pill) !important;
}

html body.gce-viewport-shell .pnl-ops-avatar,
html body.gce-viewport-shell .stm-ops-avatar,
html body.gce-viewport-shell .msg-avatar-btn,
html body.gce-viewport-shell .dash-ops-avatar {
  border-radius: 50% !important;
}

html body.gce-viewport-shell input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
html body.gce-viewport-shell select,
html body.gce-viewport-shell textarea,
html body.gce-viewport-shell .stm-search,
html body.gce-viewport-shell .crw-search,
html body.gce-viewport-shell .tsk-search,
html body.gce-viewport-shell .msg-search,
html body.gce-viewport-shell .sto-search,
html body.gce-viewport-shell .fin-mock-sites-search,
html body.gce-viewport-shell .stg-input,
html body.gce-viewport-shell .dash-search-input,
html body.gce-viewport-shell .dash-date-range {
  border-radius: var(--gce-chrome-pill) !important;
}

html body.gce-viewport-shell textarea,
html body.gce-viewport-shell .stg-textarea,
html body.gce-viewport-shell .m-textarea {
  border-radius: var(--gce-chrome-card) !important;
}

html body.gce-viewport-shell .dash-kpi-card,
html body.gce-viewport-shell .stm-kpi--mockup,
html body.gce-viewport-shell .stm-kpi,
html body.gce-viewport-shell .fin-ov-kpi,
html body.gce-viewport-shell .fin-kpi-card,
html body.gce-viewport-shell .fin-rpt-kpi,
html body.gce-viewport-shell .tsk-kpi,
html body.gce-viewport-shell .eq-kpi,
html body.gce-viewport-shell .sto-kpi,
html body.gce-viewport-shell .sfty-kpi,
html body.gce-viewport-shell .sfty-card,
html body.gce-viewport-shell .sfd-kpi,
html body.gce-viewport-shell .cert-kpi,
html body.gce-viewport-shell .cal-kpi,
html body.gce-viewport-shell .pnl-kpi,
html body.gce-viewport-shell .sdt-kpi,
html body.gce-viewport-shell .dash-ops-card,
html body.gce-viewport-shell .dash-ops-map-card,
html body.gce-viewport-shell .dash-ops-sites-card,
html body.gce-viewport-shell .fin-ov-card,
html body.gce-viewport-shell .fin-rpt-card,
html body.gce-viewport-shell .fin-mock-table-panel,
html body.gce-viewport-shell .fin-mock-sites-panel,
html body.gce-viewport-shell .fin-mock-section,
html body.gce-viewport-shell .fin-ov-toolbar,
html body.gce-viewport-shell .stm-table-toolbar,
html body.gce-viewport-shell .tsk-table-toolbar,
html body.gce-viewport-shell .pnl-toolbar,
html body.gce-viewport-shell .eq-toolbar,
html body.gce-viewport-shell .sto-toolbar,
html body.gce-viewport-shell .sfty-filters,
html body.gce-viewport-shell .cal-board-toolbar,
html body.gce-viewport-shell .stg-summary-card,
html body.gce-viewport-shell .stg-card,
html body.gce-viewport-shell .msg-aside,
html body.gce-viewport-shell .msg-thread,
html body.gce-viewport-shell .cal-shell-card {
  border-radius: var(--gce-chrome-card) !important;
}

html body.gce-viewport-shell .stm-status-tab,
html body.gce-viewport-shell .sfty-filter-chip,
html body.gce-viewport-shell .fin-mock-pill,
html body.gce-viewport-shell .fin-mock-po-status,
html body.gce-viewport-shell .gce-market-banner,
html body.gce-viewport-shell .fin-mock-tabs,
html body.gce-viewport-shell .pnl-tabs,
html body.gce-viewport-shell .tsk-scope-tabs,
html body.gce-viewport-shell .tsk-view-tabs,
html body.gce-viewport-shell .msg-inbox-tabs,
html body.gce-viewport-shell .cal-view-toggle,
html body.gce-viewport-shell .fin-mock-tab,
html body.gce-viewport-shell .pnl-tab {
  border-radius: var(--gce-chrome-pill) !important;
}

html body.gce-viewport-shell .modal,
html body.gce-viewport-shell .gce-modal-panel,
html body.gce-viewport-shell .stg-modal-panel,
html body.gce-viewport-shell .stg-modal,
html body.gce-viewport-shell .gce-dialog,
html body.gce-viewport-shell .gce-pick-dialog,
html body.gce-viewport-shell .crew-picker-menu,
html body.gce-viewport-shell .status-picker-menu,
html body.gce-viewport-shell .gce-dd-menu {
  border-radius: var(--gce-chrome-modal) !important;
}

/* Sites: keep table grid. Radius only on first/last cells. Never display:block on tr. */
html body.gce-viewport-shell.gce-sites-mockup .stm-table,
html body.gce-viewport-shell.gce-sites-mockup .stm-table.stm-table--mockup {
  display: table !important;
  table-layout: fixed !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table thead {
  display: table-header-group !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody,
html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody.stm-week-group {
  display: table-row-group !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table tr,
html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody tr.stm-row-card,
html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody tr.stm-week-head {
  display: table-row !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody tr.stm-row-card td:first-child {
  border-top-left-radius: 0.85rem !important;
  border-bottom-left-radius: 0.85rem !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody tr.stm-row-card td:last-child {
  border-top-right-radius: 0.85rem !important;
  border-bottom-right-radius: 0.85rem !important;
}

html body.gce-viewport-shell.gce-sites-mockup .stm-table tbody tr.stm-week-head td {
  border-radius: 0 !important;
}


