:root {
  color-scheme: dark;
  --bg: #030814;
  --surface: rgba(9, 18, 36, 0.86);
  --surface-strong: rgba(12, 25, 49, 0.96);
  --line: rgba(122, 156, 205, 0.22);
  --line-bright: rgba(93, 148, 255, 0.38);
  --text: #f4f8ff;
  --muted: #91a3bb;
  --soft: #c8d5e8;
  --blue: #1d8cff;
  --cyan: #00c8ff;
  --green: #00d084;
  --amber: #ffb020;
  --red: #ff4d5e;
  --purple: #8b5cf6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 22% -5%, rgba(25, 93, 255, 0.24), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(0, 208, 132, 0.12), transparent 28%),
    linear-gradient(145deg, #020611 0%, #071327 48%, #020713 100%);
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
  font: inherit;
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

button {
  cursor: pointer;
}

.dashboard-shell {
  width: min(100%, 1920px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  position: relative;
}

.scz-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 22px;
  background: linear-gradient(180deg, rgba(4, 13, 31, 0.98), rgba(2, 8, 20, 0.98));
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
}

.brand img {
  display: block;
  width: 214px;
  max-width: 100%;
  height: auto;
}

.side-nav {
  display: grid;
  gap: 6px;
}

.side-nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.side-nav a:hover,
.side-nav a.active {
  background: linear-gradient(90deg, rgba(34, 97, 255, 0.62), rgba(37, 99, 235, 0.16));
  color: #fff;
  transform: translateX(2px);
}

.nav-dot {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(217, 226, 241, 0.6);
  border-radius: 6px;
  display: inline-block;
  position: relative;
}

.nav-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  position: absolute;
  inset: 5px;
}

.plan-card,
.protect-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(145deg, rgba(34, 31, 83, 0.84), rgba(5, 15, 34, 0.7));
  box-shadow: var(--shadow);
}

.plan-card span,
.protect-card p,
.scz-sidebar footer {
  color: var(--muted);
  font-size: 12px;
}

.plan-card strong {
  display: block;
  color: #a78bfa;
  font-size: 20px;
  margin: 8px 0 4px;
  text-transform: uppercase;
}

.plan-card p,
.protect-card p {
  margin: 0 0 14px;
}

.plan-card a {
  width: 100%;
  min-height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(139, 92, 246, 0.66);
  color: #fff;
  background: rgba(27, 20, 66, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.protect-card strong {
  color: #a9c7ff;
  font-size: 13px;
}

.scz-sidebar footer {
  margin-top: auto;
  line-height: 1.6;
}

.dashboard-main {
  min-width: 0;
  padding: 28px 28px 110px;
}

.scz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.practice-switcher,
.header-actions,
.user-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.practice-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  color: var(--blue);
  background: rgba(29, 140, 255, 0.1);
}

.practice-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-name,
.date-chip {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(8, 18, 37, 0.74);
  border-radius: 8px;
  text-decoration: none;
}

.practice-name {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
}

.practice-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.practice-meta-item {
  color: var(--muted);
  padding: 0;
  white-space: nowrap;
}

.practice-meta-item + .practice-meta-item::before {
  content: "|";
  color: rgba(145, 163, 187, 0.45);
  margin-right: 16px;
}

.status-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--green);
  background: rgba(0, 208, 132, 0.13);
  font-size: 12px;
  font-weight: 900;
}

.date-chip {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
}

.bell {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 37, 0.74);
  display: grid;
  place-items: center;
  text-decoration: none;
}

.bell::before {
  content: "!";
  color: var(--soft);
  font-weight: 900;
}

.bell span {
  position: absolute;
  top: -6px;
  right: -5px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d8e7ff, #7ca8e8);
  color: #082041;
  font-weight: 900;
}

.user-chip strong,
.user-chip span {
  display: block;
}

.user-chip strong {
  font-size: 13px;
}

.user-chip span {
  color: var(--muted);
  font-size: 11px;
}

.user-chip {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 420px;
}

.user-contact {
  min-width: 0;
  width: 100%;
  max-width: 420px;
}

.user-address {
  max-width: none;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.hero {
  margin-bottom: 22px;
}

.hero p,
.hero span {
  color: var(--soft);
}

.hero p {
  margin: 0 0 6px;
}

.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.hero span {
  font-size: 14px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(155px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kpi-card,
.panel,
.assistant-widget {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(11, 25, 51, 0.88), rgba(7, 13, 29, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.kpi-card {
  min-height: 112px;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  overflow: hidden;
  position: relative;
}

.kpi-card::after {
  content: "";
  width: 90px;
  height: 90px;
  border-radius: 50%;
  position: absolute;
  right: -32px;
  bottom: -42px;
  opacity: 0.16;
  background: currentColor;
}

.tone-blue { color: var(--blue); }
.tone-green { color: var(--green); }
.tone-amber { color: var(--amber); }
.tone-red { color: var(--red); }
.tone-purple { color: var(--purple); }
.tone-cyan { color: var(--cyan); }

.kpi-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 32px currentColor;
  opacity: 0.24;
}

.kpi-card span,
.kpi-card small {
  display: block;
}

.kpi-card > div:last-child > span {
  color: currentColor;
  font-size: 12px;
  font-weight: 850;
}

.kpi-card strong {
  display: flex;
  align-items: baseline;
  margin: 8px 0 5px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.kpi-card strong {
  word-break: break-word;
}

.kpi-card strong span {
  display: inline;
}

.kpi-card small {
  color: var(--soft);
  font-size: 12px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, 0.55fr);
  gap: 16px;
}

.wide-column,
.side-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

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

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.panel h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.panel-head button,
.panel-head a {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 34px;
  padding: 0 12px;
  color: #b8d3ff;
  background: rgba(4, 12, 28, 0.74);
  text-decoration: none;
  font-size: 12px;
}

.empty-state {
  min-height: 96px;
  border: 1px dashed rgba(122, 156, 205, 0.26);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--soft);
  text-align: center;
  background: rgba(4, 12, 28, 0.32);
  font-size: 13px;
}

.notice-state {
  min-height: 44px;
  border: 1px solid rgba(0, 208, 132, 0.28);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #a8f3d3;
  background: rgba(0, 208, 132, 0.1);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.revenue-layout {
  min-height: 275px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
}

.revenue-stats {
  display: grid;
  align-content: center;
  gap: 7px;
}

.revenue-stats span,
.revenue-stats small {
  color: var(--muted);
  font-size: 12px;
}

.revenue-stats strong {
  font-size: 32px;
  line-height: 1;
}

.revenue-stats small {
  color: var(--green);
  margin-bottom: 18px;
}

#revenueChart {
  width: 100%;
  min-height: 260px;
}

.queue-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.queue-tags span {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(29, 140, 255, 0.14);
  color: #91c5ff;
  font-size: 11px;
  font-weight: 850;
}

.table-wrap {
  overflow-x: auto;
}

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

th,
td {
  text-align: left;
  border-bottom: 1px solid rgba(122, 156, 205, 0.15);
  padding: 12px 8px;
  font-size: 12px;
}

th {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0;
}

td {
  color: #dce8f9;
}

.risk {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  font-weight: 900;
  font-size: 11px;
}

.risk-high {
  color: #ffd8dc;
  background: rgba(255, 77, 94, 0.22);
}

.risk-review {
  color: #ffe2a8;
  background: rgba(255, 176, 32, 0.22);
}

.panel-link {
  display: block;
  text-align: center;
  color: #4da3ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  margin-top: 14px;
}

.doc-body {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.gauge {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: auto;
  background:
    radial-gradient(circle at center, #071226 0 50%, transparent 52%),
    conic-gradient(var(--blue) calc(var(--score) * 1%), rgba(128, 154, 190, 0.22) 0);
  box-shadow: inset 0 0 34px rgba(29, 140, 255, 0.2), 0 0 28px rgba(29, 140, 255, 0.15);
}

.gauge span {
  font-size: 31px;
  font-weight: 900;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.checklist li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-size: 12px;
}

.checklist strong {
  color: var(--green);
  text-align: right;
}

.wide-action {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, rgba(75, 50, 180, 0.95), rgba(73, 43, 151, 0.82));
}

.payer-stack {
  display: grid;
  gap: 12px;
}

.payer-card {
  border: 1px solid rgba(122, 156, 205, 0.17);
  border-radius: 9px;
  padding: 13px;
  background: rgba(4, 12, 28, 0.46);
}

.payer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.payer-logo {
  width: 39px;
  height: 39px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #126dff, #0c3b99);
  font-weight: 900;
}

.payer-top strong,
.payer-top span {
  display: block;
}

.payer-top span {
  color: var(--muted);
  font-size: 11px;
}

.payer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.payer-grid div {
  border: 1px solid rgba(122, 156, 205, 0.13);
  border-radius: 8px;
  padding: 10px;
}

.payer-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}

.payer-grid strong {
  font-size: 17px;
}

.payer-grid em {
  color: var(--red);
  font-style: normal;
  font-size: 12px;
}

.payer-grid .positive {
  color: var(--green);
}

.quick-actions > div {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.quick-actions-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
}

.quick-actions-row.vertical {
  grid-template-columns: 1fr;
}

.quick-actions-row a,
.filter-bar button,
.settings-form button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.55);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
  text-align: left;
}

.quick-actions-row a span,
.quick-actions-row a small {
  display: block;
  width: 100%;
}

.quick-actions-row a small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.filter-bar,
.settings-form {
  display: grid;
  gap: 12px;
}

.filter-bar {
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 220px) auto;
}

.filter-bar input,
.filter-bar select,
.settings-form input,
.settings-form textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.55);
  color: var(--text);
  padding: 10px 12px;
}

.settings-form label {
  display: grid;
  gap: 6px;
  color: var(--soft);
  font-size: 13px;
}

.inline-admin {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto;
  gap: 8px;
  min-width: 360px;
}

.inline-admin select,
.inline-admin button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.55);
  color: var(--text);
  padding: 0 10px;
}

.admin-open-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  min-width: 360px;
}

.admin-open-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  padding: 6px 9px;
  text-decoration: none;
}

.admin-open-links a:hover {
  border-color: rgba(42, 167, 255, 0.7);
  color: #fff;
}

.settings-form label:has(input[type="checkbox"]) {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.quick-actions button {
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.55);
  color: #fff;
}

.quick-actions span,
.quick-actions small {
  display: block;
}

.quick-actions span {
  font-weight: 800;
  margin-bottom: 3px;
}

.quick-actions small {
  color: var(--muted);
}

.assistant-widget {
  position: fixed;
  right: 28px;
  bottom: 24px;
  width: 360px;
  max-width: calc(100vw - 40px);
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 20;
  transform-origin: bottom right;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.assistant-widget.collapsed {
  transform: translateY(calc(100% - 58px));
}

.assistant-head {
  width: 100%;
  min-height: 58px;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(90deg, rgba(25, 37, 92, 0.98), rgba(17, 24, 55, 0.98));
}

.assistant-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--cyan), var(--purple));
  font-weight: 900;
}

.assistant-head strong {
  flex: 1;
  text-align: left;
  text-transform: uppercase;
}

.assistant-head strong span {
  color: #8ea2ff;
}

.assistant-head em {
  font-style: normal;
  font-size: 20px;
}

.assistant-body {
  padding: 14px;
}

.assistant-body p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 12px;
}

.assistant-body p span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.assistant-tools {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.assistant-tools button,
.assistant-tools a {
  min-height: 52px;
  border: 1px solid rgba(122, 156, 205, 0.2);
  border-radius: 8px;
  background: rgba(3, 10, 24, 0.62);
  color: #dbeafe;
  font-size: 10px;
  text-decoration: none;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6px;
}

.assistant-body footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.assistant-body footer span {
  color: var(--soft);
  font-size: 12px;
}

.assistant-body footer button,
.assistant-body footer a {
  min-height: 34px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  padding: 0 13px;
  color: #9bc8ff;
  background: rgba(7, 20, 45, 0.9);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 1320px) {
  .dashboard-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .dashboard-shell {
    display: block;
  }

  .scz-sidebar {
    position: static;
    height: auto;
  }

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

  .dashboard-main {
    padding: 22px 16px 120px;
  }

  .scz-header,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .practice-switcher {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .kpi-grid,
  .revenue-layout,
  .doc-body,
  .quick-actions > div,
  .filter-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 32px;
  }

  .side-nav {
    grid-template-columns: 1fr;
  }

  .payer-grid {
    grid-template-columns: 1fr;
  }

  .assistant-tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-meta {
    display: grid;
    gap: 4px;
  }

  .practice-meta-item + .practice-meta-item::before {
    content: none;
  }
}

/* Approved executive command-center composition. */
.dashboard-main {
  max-width: none;
}

.dashboard-main > .hero {
  padding-top: 2px;
}

.dashboard-overview {
  display: grid;
  gap: 20px;
}

.dashboard-overview .today-work-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-overview .kpi-card {
  min-height: 115px;
  padding: 20px 16px 16px;
}

.dashboard-overview .kpi-card span {
  order: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.dashboard-overview .kpi-card strong {
  order: 1;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.dashboard-overview .kpi-card small {
  order: 2;
  margin-top: 8px;
  font-size: 11px;
}

.dashboard-work-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.dashboard-work-grid .panel {
  margin: 0;
  padding: 18px;
}

.dashboard-work-grid .panel-head {
  min-height: 44px;
  margin: 0;
  padding: 0 0 10px;
  border: 0;
}

.dashboard-work-grid .panel-head h2 {
  font-size: 18px;
}

.dashboard-work-grid .panel-head > a,
.dashboard-work-grid .panel-head > span {
  padding: 10px 13px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 12px;
  text-decoration: none;
}

.dashboard-work-grid .panel-head > span {
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
}

.priority-list {
  display: grid;
}

.priority-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(175px, 1.2fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 88px;
  color: var(--text);
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.priority-row:first-child {
  border-top: 0;
}

.priority-row > span:first-child {
  display: grid;
  gap: 6px;
}

.priority-row small {
  color: var(--muted);
  font-size: 12px;
}

.priority-row b {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
}

.priority-row:first-child b {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.priority-status {
  justify-self: start;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
}

.status-red { color: #b4232d; background: #fff0f0; }
.status-amber { color: #8a5700; background: #fff7df; }
.status-green { color: #14704a; background: #eaf8f2; }

.billing-guide {
  display: flex;
  flex-direction: column;
}

.billing-note {
  padding: 16px;
  border-radius: 11px;
  background: #efebe2;
}

.billing-note p {
  margin: 5px 0 0;
  line-height: 1.55;
}

.billing-guide .primary-work-action {
  align-self: flex-start;
  margin-top: 12px;
  padding: 13px 15px;
  text-decoration: none;
}

.dashboard-secondary {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 14px;
  margin-top: 14px;
}

.dashboard-secondary > .panel {
  margin: 0;
}

@media (max-width: 1050px) {
  .dashboard-work-grid { grid-template-columns: 1fr; }
  .dashboard-overview .today-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .priority-row { grid-template-columns: 1fr auto; padding: 14px 0; }
  .priority-status { grid-column: 1; }
  .priority-row b { grid-column: 2; grid-row: 1 / span 2; }
  .dashboard-secondary { grid-template-columns: 1fr; }
}

/* Final approved-shell alignment: remove legacy visual remnants. */
.scz-sidebar .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 0 8px;
  color: #fff;
  text-decoration: none;
}

.scz-sidebar .brand img {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.scz-sidebar .brand::before {
  display: none;
  content: none;
}

.scz-sidebar .brand::after {
  content: "SmartClaimzs";
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.workflow-nav a.active,
.side-nav a.active {
  border-left: 0 !important;
  box-shadow: none !important;
}

.scz-header {
  display: flex;
  min-height: 68px;
  align-items: center;
  flex-wrap: nowrap !important;
}

.practice-switcher {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  flex: 0 1 190px;
}

.practice-switcher .status-pill {
  display: none;
}

.practice-switcher .practice-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
}

.practice-switcher .practice-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.practice-name {
  display: block;
  max-width: 220px;
  overflow: hidden;
  color: var(--soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  width: auto !important;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.user-chip {
  display: flex;
  flex: 0 0 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
}

.user-contact {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
}

.user-contact strong {
  color: #fff;
  font-size: 0;
}

.user-contact strong::first-letter {
  font-size: 12px;
}

.assistant-head > div:not(.assistant-mark) {
  min-width: 0;
}

.assistant-head strong {
  display: grid;
  gap: 2px;
  font-size: 13px;
  line-height: 1.15;
}

.assistant-head strong span {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

.assistant-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
  background: #fff;
}

.assistant-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-card strong {
  text-transform: capitalize;
}

.practice-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 18px 12px 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}

.practice-footer span {
  color: var(--line-bright);
}

@media (max-width: 980px) {
  .header-actions .date-chip { display: none; }
}

/* SmartClaimzs visual alignment — reference-page family */
:root {
  --bg: #061424;
  --surface: rgba(41, 55, 78, 0.76);
  --surface-strong: rgba(10, 24, 42, 0.94);
  --line: rgba(174, 200, 229, 0.24);
  --line-bright: rgba(155, 198, 255, 0.42);
  --text: #f7f9fd;
  --muted: #9fb3ca;
  --soft: #ccd9e9;
  --blue: #8fc3ff;
  --cyan: #43d7ee;
  --green: #2ade9c;
  --amber: #ffc84a;
  --orange: #ff7a22;
  --red: #ff4b32;
  --shadow: 0 26px 72px rgba(0, 0, 0, 0.34);
  --radius: 18px;
}

body {
  background:
    radial-gradient(circle at 16% 22%, rgba(31, 105, 174, 0.34), transparent 34rem),
    radial-gradient(circle at 91% 18%, rgba(112, 39, 58, 0.32), transparent 36rem),
    linear-gradient(112deg, #071827 0%, #16304f 42%, #1a2034 67%, #351823 100%);
}

.scz-sidebar {
  background: linear-gradient(180deg, rgba(5, 18, 33, 0.99), rgba(4, 12, 24, 0.99));
}

.side-nav a:hover,
.side-nav a.active {
  background: linear-gradient(90deg, rgba(255, 104, 31, 0.3), rgba(67, 215, 238, 0.08));
  box-shadow: inset 3px 0 var(--orange);
}

.plan-card strong,
.assistant-head strong span {
  color: var(--cyan);
}

.plan-card a,
.wide-action,
.settings-form button {
  border-color: transparent;
  color: #071525;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

.hero p {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  font-weight: 900;
  letter-spacing: -0.045em;
}

.kpi-card,
.panel,
.assistant-widget {
  background: linear-gradient(145deg, rgba(48, 65, 89, 0.82), rgba(57, 42, 54, 0.76));
}

.assistant-head {
  background: linear-gradient(90deg, #07192c, #192239);
}

.assistant-mark {
  color: #071525;
  background: linear-gradient(145deg, var(--cyan), var(--amber));
}

/* Staging dashboard layout corrections */
.brand img {
  width: 156px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.scz-header,
.practice-switcher,
.header-actions {
  flex-wrap: wrap;
}

.practice-switcher {
  min-width: 0;
}

.practice-switcher > div:nth-child(2) {
  min-width: 0;
  flex: 1 1 280px;
}

.assistant-widget {
  max-height: min(520px, calc(100vh - 32px));
}

.assistant-widget.collapsed {
  pointer-events: none;
}

.assistant-widget.collapsed .assistant-head {
  pointer-events: auto;
}

@media (max-width: 920px) {
  .scz-sidebar {
    padding: 20px 16px;
    gap: 18px;
  }

  .brand img {
    width: 138px;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header-actions .date-chip {
    justify-content: center;
  }

  .header-actions .bell,
  .header-actions .user-chip {
    display: none;
  }
}

@media (max-width: 560px) {
  .dashboard-main {
    padding: 18px 12px 88px;
  }

  .header-actions {
    grid-template-columns: 1fr;
  }

  .assistant-widget {
    right: 12px;
    bottom: 12px;
    width: min(360px, calc(100vw - 24px));
  }
}

/* Public signup page */
.public-shell {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 24%, rgba(31, 105, 174, 0.34), transparent 34rem),
    radial-gradient(circle at 92% 20%, rgba(112, 39, 58, 0.32), transparent 36rem),
    linear-gradient(112deg, #071827 0%, #16304f 42%, #1a2034 67%, #351823 100%);
}

.public-shell .public-nav {
  width: min(1520px, calc(100% - 48px));
  min-height: 112px;
  padding: 16px 0;
  border: 0;
}

.public-shell .launch-brand {
  gap: 18px;
}

.public-shell .launch-logo {
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.public-shell .launch-logo img {
  width: 70px;
  height: 70px;
}

.public-shell .launch-wordmark {
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.public-shell .launch-wordmark span:last-child {
  color: var(--orange);
}

.public-shell .nav-links {
  gap: 12px;
}

.public-shell .nav-links a {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.public-shell .nav-links a:last-child {
  color: #071525;
  border-color: transparent;
  background: linear-gradient(90deg, var(--amber), #ffd985);
}

.public-shell .public-hero {
  width: min(1520px, calc(100% - 48px));
  padding: 70px 0 96px;
}

.public-shell .hero-copy {
  max-width: 920px;
  margin-bottom: 42px;
}

.public-shell .hero-copy p {
  color: #9fcaff;
}

.public-shell .hero-copy h1 {
  max-width: 11ch;
  color: #fff;
  font-size: clamp(4rem, 6.6vw, 7.2rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.public-shell .hero-copy span {
  max-width: 790px;
  color: #c8d8ec;
  font-size: 1.28rem;
  line-height: 1.55;
}

.public-shell .hero-actions {
  gap: 12px;
  margin-top: 30px;
}

.public-shell .hero-actions a {
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, filter 180ms ease;
}

.public-shell .hero-actions a:nth-child(1) {
  color: #fff;
  background: linear-gradient(90deg, #ff3c27, var(--orange));
}

.public-shell .hero-actions a:nth-child(2) {
  color: #071525;
  background: linear-gradient(90deg, var(--cyan), #9deeff);
}

.public-shell .hero-actions a:nth-child(3) {
  color: #071525;
  background: linear-gradient(90deg, var(--amber), #ffdb8b);
}

.public-shell .hero-actions a:hover,
.public-shell .signup-card a:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.public-shell .signup-grid {
  gap: 16px;
}

.public-shell .signup-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid rgba(178, 204, 232, 0.28);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(48, 70, 98, 0.75), rgba(58, 42, 54, 0.7));
  backdrop-filter: blur(16px);
}

.public-shell .signup-card strong {
  color: #fff;
  font-size: 1.65rem;
}

.public-shell .signup-card .pricing-note {
  color: var(--orange);
}

.public-shell .signup-card p,
.public-shell .signup-card ul {
  color: #d2deed;
}

.public-shell .signup-card a {
  min-height: 50px;
  color: #071525;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}

/* Authentication modes */
body > .dashboard-main {
  width: 100%;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-content: center;
  grid-template-columns: minmax(0, 540px);
  gap: 18px;
  padding: clamp(26px, 5vw, 70px) 16px;
}

body > .dashboard-main > .hero {
  position: relative;
  margin: 0;
  padding: 98px 6px 10px;
}

body > .dashboard-main > .hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #fff url("SCNewLogo.png") center / 66px 66px no-repeat;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

body > .dashboard-main > .hero p {
  color: #9fcaff;
}

body > .dashboard-main > .hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

body > .dashboard-main > .hero span {
  color: #c8d8ec;
  font-size: 15px;
}

body > .dashboard-main > .panel {
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid rgba(178, 204, 232, 0.28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(48, 70, 98, 0.82), rgba(58, 42, 54, 0.78));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

body > .dashboard-main > .panel .panel-head {
  margin-bottom: 22px;
}

body > .dashboard-main > .panel h2 {
  color: #fff;
  font-size: 1.35rem;
}

body > .dashboard-main .settings-form label {
  color: #d2deed;
  font-weight: 750;
}

body > .dashboard-main .settings-form input:not([type="checkbox"]) {
  color: #fff;
  background: rgba(4, 17, 32, 0.7);
  border-color: rgba(178, 204, 232, 0.3);
}

body > .dashboard-main .settings-form input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(67, 215, 238, 0.2);
}

body > .dashboard-main .settings-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  color: #071525;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

body > .dashboard-main > .panel + p {
  margin: -4px 5px 0;
}

body > .dashboard-main > .panel + p a {
  color: #9fcaff;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(67, 215, 238, 0.42);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .public-shell .public-nav {
    align-items: flex-start;
  }

  .public-shell .public-hero {
    padding-top: 42px;
  }

  .public-shell .hero-copy h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }
}

@media (max-width: 560px) {
  .public-shell .public-nav,
  .public-shell .public-hero {
    width: min(100% - 24px, 1520px);
  }

  .public-shell .launch-logo {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .public-shell .launch-logo img {
    width: 50px;
    height: 50px;
  }

  .public-shell .launch-wordmark {
    font-size: 23px;
  }

  .public-shell .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .public-shell .nav-links a {
    min-height: 44px;
    padding: 0 14px;
  }

  .public-shell .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  body > .dashboard-main > .hero h1 {
    font-size: 2.7rem;
  }
}

/* Guided billing workflow */
.workflow-summary {
  padding: 10px 12px;
  border: 1px solid rgba(143, 195, 255, 0.22);
  border-radius: 8px;
  background: rgba(13, 34, 57, 0.72);
}
.workflow-summary span,
.workflow-summary strong { display: block; }
.workflow-summary span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.workflow-summary strong {
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.35;
}
.workflow-nav { gap: 4px; }
.workflow-nav a,
.utility-nav a {
  min-height: 46px;
  padding: 5px 10px;
}
.nav-step {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(204, 217, 233, 0.5);
  border-radius: 50%;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
}
.nav-copy { min-width: 0; flex: 1; }
.nav-copy strong,
.nav-copy small { display: block; }
.nav-copy strong {
  color: inherit;
  font-size: 13px;
  line-height: 1.15;
}
.nav-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.nav-status-light {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: #708198;
  box-shadow: 0 0 0 3px rgba(112, 129, 152, 0.12);
}
.nav-count {
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(204, 217, 233, 0.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 20, 36, 0.78);
  font-size: 10px;
  font-weight: 900;
}
.nav-state-current .nav-step {
  border-color: var(--blue);
  color: #071525;
  background: var(--blue);
}
.nav-state-current .nav-status-light {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(143, 195, 255, 0.18), 0 0 12px rgba(143, 195, 255, 0.72);
}
.nav-state-complete .nav-step {
  border-color: var(--green);
  color: var(--green);
}
.nav-state-complete .nav-status-light {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 222, 156, 0.16);
}
.nav-state-attention .nav-step {
  border-color: var(--amber);
  color: var(--amber);
}
.nav-state-attention .nav-status-light {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 200, 74, 0.16);
}
.nav-state-available .nav-status-light {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(67, 215, 238, 0.16);
}
.utility-nav {
  display: grid;
  border-top: 1px solid rgba(174, 200, 229, 0.14);
  padding-top: 8px;
}
.utility-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  color: var(--soft);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.utility-nav a:hover,
.utility-nav a.active {
  color: #fff;
  background: rgba(255, 104, 31, 0.18);
}
.workflow-guide {
  margin: -4px 0 18px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(143, 195, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(110deg, rgba(16, 43, 70, 0.9), rgba(52, 32, 52, 0.82));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}
.workflow-guide-copy span,
.workflow-guide-copy strong { display: block; }
.workflow-guide-copy span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.workflow-guide-copy strong {
  margin-top: 4px;
  color: #fff;
  font-size: 17px;
}
.workflow-guide-copy p {
  margin: 5px 0 0;
  color: var(--soft);
  font-size: 13px;
}
.workflow-guide-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.workflow-state {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(143, 195, 255, 0.12);
  font-size: 11px;
  font-weight: 900;
}
.workflow-guide-actions a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #071525;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
@media (max-width: 1100px) {
  .workflow-guide { align-items: stretch; flex-direction: column; }
  .workflow-guide-actions { justify-content: space-between; }
}
@media (max-width: 560px) {
  .workflow-guide-actions { align-items: stretch; flex-direction: column; }
  .workflow-guide-actions a { width: 100%; }
}


.today-work-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}

.start-work-row,
.batch-ready,
.batch-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.start-work-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.start-work-row div,
.batch-ready div {
  display: grid;
  gap: 4px;
}

.start-work-row span,
.batch-ready small,
.batch-actions span {
  color: #b8c6dc;
}

.primary-work-action,
.batch-ready a,
.batch-actions button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffbd3e, #ff741f);
  color: #07111f;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.batch-ready {
  margin: 16px 0;
  padding: 18px;
  border: 1px solid rgba(47, 224, 157, 0.35);
  border-radius: 14px;
  background: rgba(21, 91, 75, 0.25);
}

.batch-ready span {
  color: #77efc2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.batch-form table input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #ff8a25;
}

.batch-actions {
  margin-top: 14px;
}

.notice-warning {
  border-color: rgba(255, 189, 62, 0.4);
  background: rgba(121, 76, 10, 0.24);
}

.approval-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
}

.approval-check input {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .today-work-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .today-work-grid {
    grid-template-columns: 1fr;
  }

  .start-work-row,
  .batch-ready,
  .batch-actions {
    align-items: stretch;
    flex-direction: column;
  }
}


.batch-context,
.next-work-action {
  margin-bottom: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(67, 215, 238, 0.3);
  border-radius: 12px;
  background: rgba(8, 39, 58, 0.45);
}
.batch-context div,
.next-work-action div { display: grid; gap: 4px; }
.batch-context span { color: var(--cyan); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.batch-context small,
.next-work-action span { color: var(--soft); }
.batch-context a,
.next-work-action a {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #071525;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  text-decoration: none;
  font-weight: 900;
}
.staff-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  counter-reset: staff-step;
}
.staff-steps li {
  counter-increment: staff-step;
  display: grid;
  grid-template-columns: 34px minmax(150px, .45fr) minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(174, 200, 229, 0.16);
  border-radius: 9px;
  background: rgba(4, 12, 28, 0.32);
}
.staff-steps li::before {
  content: counter(staff-step);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #071525;
  background: var(--cyan);
  font-weight: 900;
}
.staff-steps span { color: var(--soft); font-size: 13px; }
.ehr-action,
.review-flag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}
.ehr-action { color: #ffdca0; background: rgba(255, 122, 34, .18); }
.review-flag-attention { color: #ffe2a8; background: rgba(255, 176, 32, .2); }
.review-flag-ready { color: #a8f3d3; background: rgba(0, 208, 132, .16); }
@media (max-width: 700px) {
  .batch-context,
  .next-work-action { align-items: stretch; flex-direction: column; }
  .staff-steps li { grid-template-columns: 34px 1fr; }
  .staff-steps li span { grid-column: 2; }
}


.submission-connection {
  margin-bottom: 16px;
  padding: 16px 18px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 200, 74, .36);
  border-radius: 10px;
  color: #ffe5ae;
  background: rgba(91, 57, 10, .3);
}
.submission-connection span { color: var(--soft); font-size: 13px; }
.submission-checklist { display: grid; gap: 12px; }
.submission-checklist label {
  padding: 14px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(174, 200, 229, .18);
  border-radius: 9px;
  background: rgba(4, 12, 28, .32);
  cursor: pointer;
}
.submission-checklist input { width: 20px; height: 20px; accent-color: var(--green); }
.submission-checklist span { display: grid; gap: 3px; }
.submission-checklist small,
.submission-checklist p { color: var(--soft); }
.submission-checklist button {
  min-height: 46px;
  border: 0;
  border-radius: 9px;
  color: #071525;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  font-weight: 900;
}
.submission-checklist button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .55; }
.submission-hold {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  color: #bcd7f7;
  background: rgba(143, 195, 255, .14);
  font-size: 11px;
  font-weight: 900;
}


.panel table td:nth-child(1) {
  font-variant-numeric: tabular-nums;
}
.panel table td:last-child {
  white-space: nowrap;
}


.assistant-body h3 { margin: 0 0 7px; color: #fff; font-size: 18px; }
.assistant-status { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #a8f3d3; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.assistant-status span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.assistant-body > p { align-items: flex-start; min-height: 48px; line-height: 1.5; }
.assistant-body > p span { display: none; }
.assistant-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.assistant-summary span { padding: 9px; border: 1px solid rgba(122,156,205,.18); border-radius: 8px; color: var(--soft); background: rgba(3,10,24,.46); font-size: 10px; }
.assistant-summary strong { display: block; color: #fff; font-size: 18px; }
.assistant-tools { grid-template-columns: repeat(4,1fr); }

.revenue-comparison,
.value-summary {
  display: grid;
  gap: 12px;
}
.revenue-comparison { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
.value-summary { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
.revenue-comparison > div,
.value-summary > div {
  padding: 16px;
  display: grid;
  gap: 7px;
  border: 1px solid rgba(174, 200, 229, .17);
  border-radius: 10px;
  background: rgba(4, 12, 28, .34);
}
.revenue-comparison span,
.value-summary span { color: var(--soft); font-size: 12px; line-height: 1.4; }
.revenue-comparison strong,
.value-summary strong { color: #fff; font-size: 24px; }
.revenue-comparison .positive { color: var(--green); }
.revenue-comparison .negative { color: var(--red); }
@media (max-width: 900px) {
  .revenue-comparison,
  .value-summary { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 560px) {
  .revenue-comparison,
  .value-summary { grid-template-columns: 1fr; }
}


.connection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}
.connection-card,
.package-connection-grid > div {
  padding: 16px;
  border: 1px solid rgba(174, 200, 229, .17);
  border-radius: 10px;
  background: rgba(4, 12, 28, .34);
}
.connection-card > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.connection-card p { margin: 12px 0 8px; color: var(--soft); font-size: 13px; line-height: 1.5; }
.connection-card small { color: var(--muted); }
.connection-status { min-height: 26px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 10px; font-weight: 900; white-space: nowrap; }
.connection-live,
.connection-available { color: #a8f3d3; background: rgba(0, 208, 132, .16); }
.connection-pending { color: #bfe5ff; background: rgba(29, 140, 255, .16); }
.connection-required { color: #ffe2a8; background: rgba(255, 176, 32, .2); }
.package-connection-grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 12px; }
.package-connection-grid > div { display: grid; gap: 7px; }
.package-connection-grid strong { color: var(--cyan); }
.package-connection-grid span { color: var(--soft); font-size: 12px; line-height: 1.45; }
@media (max-width: 800px) {
  .connection-grid,
  .package-connection-grid { grid-template-columns: 1fr; }
}
.deadline-state {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: max-content;
    padding: 0.32rem 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
}

.deadline-state::before {
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.12);
}

.deadline-green {
    border-color: rgba(52, 211, 153, 0.42);
    color: #6ee7b7;
}

.deadline-yellow {
    border-color: rgba(250, 204, 21, 0.45);
    color: #fde047;
}

.deadline-orange {
    border-color: rgba(251, 146, 60, 0.5);
    color: #fdba74;
}

.deadline-red,
.deadline-overdue {
    border-color: rgba(248, 113, 113, 0.5);
    color: #fca5a5;
}

.deadline-unknown {
    color: #94a3b8;
}

/* Owner-approved executive template: presentation only. */
:root {
  color-scheme: light;
  --bg: #f4f1e9;
  --surface: #fffdf8;
  --surface-strong: #fffdf8;
  --line: #d9d4c9;
  --line-bright: #c7c1b5;
  --text: #111a2d;
  --muted: #687083;
  --soft: #4d5870;
  --blue: #2857f4;
  --cyan: #2857f4;
  --green: #18754f;
  --amber: #9a6300;
  --red: #b23636;
  --purple: #2857f4;
  --shadow: 0 10px 30px rgba(17, 26, 45, .06);
  --radius: 12px;
}

html,
body {
  background: #f4f1e9;
}

body {
  color: var(--text);
  background-image: none;
}

.dashboard-shell {
  width: 100%;
  max-width: none;
  grid-template-columns: 240px minmax(0, 1fr);
}

.scz-sidebar {
  padding: 22px 14px;
  gap: 18px;
  color: #f8f5ee;
  background: #081326;
  border-right: 0;
}

.brand img {
  width: 172px;
}

.workflow-summary {
  padding: 0 10px;
  border: 0;
  background: transparent;
}

.workflow-summary span {
  color: #6fd4e6;
}

.workflow-summary strong {
  color: #cbd5e6;
  font-weight: 600;
}

.workflow-nav {
  gap: 2px;
}

.workflow-nav a,
.side-nav a {
  min-height: 43px;
  padding: 7px 11px;
  color: #eef2fb;
  border: 0;
  border-radius: 10px;
  background: transparent;
  transform: none;
}

.workflow-nav a:hover,
.workflow-nav a.active,
.side-nav a:hover,
.side-nav a.active {
  color: #fff;
  background: #1f438f;
  transform: none;
}

.nav-step {
  color: #73c8d9;
  border: 0;
  background: transparent;
}

.nav-copy small,
.nav-status-light,
.nav-count {
  display: none;
}

.nav-copy strong {
  font-weight: 500;
}

.plan-card {
  margin-top: auto;
  padding: 18px 10px 0;
  border: 0;
  border-top: 1px solid #31425d;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.plan-card strong {
  color: #fff;
  font-size: 14px;
  text-transform: none;
}

.plan-card a,
.protect-card,
.scz-sidebar footer,
.workflow-guide {
  display: none;
}

.dashboard-main {
  padding: 0 26px 96px;
}

.scz-header {
  min-height: 68px;
  margin: 0 -26px 26px;
  padding: 12px 26px;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}

.practice-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
}

.practice-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.practice-meta,
.status-pill,
.user-contact span {
  display: none;
}

.header-actions {
  margin-left: auto;
  gap: 9px;
}

.work-context {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fffdf8;
}

.work-context span {
  min-width: 82px;
  padding: 7px 10px;
  border-left: 1px solid var(--line);
}

.work-context span:first-child {
  border-left: 0;
}

.work-context small,
.work-context strong {
  display: block;
  white-space: nowrap;
}

.work-context small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.work-context strong {
  margin-top: 2px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
}

.date-chip,
.bell {
  min-height: 38px;
  color: var(--text);
  border-color: var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.date-chip {
  padding: 0 12px;
}

.user-contact strong {
  color: var(--text);
}

.hero {
  margin: 0 0 22px;
}

.hero p {
  display: none;
}

.hero h1 {
  margin: 0 0 7px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.hero span {
  color: var(--muted);
}

.panel,
.kpi-card,
.metric-card,
.today-work-grid > article {
  color: var(--text);
  border: 1px solid var(--line);
  background: #fffdf8;
  box-shadow: none;
}

.panel {
  border-radius: 12px;
}

.panel h2,
.panel h3,
.panel strong,
.kpi-card strong {
  color: var(--text);
}

.today-work-grid {
  gap: 10px;
}

.kpi-card {
  min-height: 104px;
  border-radius: 12px;
}

.kpi-card::before,
.kpi-icon {
  display: none;
}

.kpi-card span,
.kpi-card small,
.panel p,
.panel li,
.empty-state,
.quick-actions-row a small,
.start-work-row span {
  color: var(--muted);
}

.primary-work-action,
.panel-action,
.quick-actions-row a:hover,
button.primary,
.button-primary {
  color: #fff;
  border-color: var(--blue);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: none;
}

.quick-actions-row a,
.start-work-row,
.empty-state {
  color: var(--text);
  border-color: var(--line);
  background: #f0ece3;
}

.assistant-widget {
  right: 22px;
  bottom: 18px;
  width: 280px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.assistant-widget.collapsed {
  width: 280px;
}

.assistant-head {
  color: var(--text);
  background: transparent;
}

.assistant-mark {
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
}

.assistant-head strong,
.assistant-body h3,
.assistant-summary strong {
  color: var(--text);
}

.assistant-head strong span,
.assistant-body p,
.assistant-summary span,
.assistant-body footer {
  color: var(--muted);
}

@media (max-width: 1120px) {
  .work-context span { min-width: 70px; }
  .header-actions .date-chip { display: none; }
}

@media (max-width: 800px) {
  .dashboard-shell { grid-template-columns: 76px minmax(0, 1fr); }
  .scz-sidebar { padding: 18px 10px; }
  .brand img,
  .workflow-summary,
  .nav-copy,
  .plan-card { display: none; }
  .workflow-nav a { justify-content: center; padding: 7px; }
  .nav-step { display: inline-flex; }
  .work-context span { min-width: 0; }
  .work-context span:nth-child(2) { display: none; }
}

@media (max-width: 560px) {
  .dashboard-shell { display: block; }
  .scz-sidebar { position: static; width: 100%; height: auto; }
  .workflow-nav { display: flex; overflow-x: auto; }
  .workflow-nav a { min-width: 44px; }
  .dashboard-main { padding: 0 16px 86px; }
  .scz-header { margin: 0 -16px 20px; padding: 10px 16px; align-items: flex-start; }
  .practice-switcher { display: none; }
  .header-actions { width: 100%; justify-content: space-between; }
  .work-context { flex: 1; }
  .work-context span { flex: 1; }
  .bell,
  .user-chip { flex: 0 0 auto; }
  .today-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assistant-widget,
  .assistant-widget.collapsed { right: 16px; width: calc(100% - 32px); }
}

/* Approved application-wide workspace ------------------------------------ */
.page-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, .65fr);
  gap: 16px;
  align-items: start;
}

.page-workspace > .dashboard-overview,
.page-workspace > .dashboard-secondary,
.page-workspace > .kpi-grid,
.page-workspace > .today-work-grid,
.page-workspace > .batch-context,
.page-workspace > .notice-state,
.page-workspace > form,
.page-workspace > script,
.page-workspace > .panel:has(table),
.page-workspace > .panel:has(.table-wrap),
.page-workspace > .panel:has(.quick-actions-row),
.page-workspace > .panel:has(.filter-bar) {
  grid-column: 1 / -1;
}

.page-workspace > .panel,
.page-workspace > .notice-state,
.page-workspace > .batch-context,
.page-workspace > .kpi-grid {
  margin: 0;
}

.page-workspace > .panel {
  min-width: 0;
  overflow: hidden;
}

.page-workspace > .panel .panel-head {
  min-height: 42px;
  margin-bottom: 12px;
}

.page-workspace > .panel .panel-head h2 {
  font-size: 20px;
  letter-spacing: -.025em;
}

.page-workspace > .panel table {
  width: 100%;
}

.page-workspace > .panel:has(.next-work-action) {
  align-self: stretch;
}

.page-workspace > .kpi-grid {
  gap: 10px;
}

.page-workspace > .kpi-grid .kpi-card {
  min-height: 104px;
}

.page-workspace > .notice-state,
.page-workspace > .batch-context {
  border-radius: 12px;
}

.page-workspace .staff-steps {
  margin: 0;
}

.page-workspace .next-work-action {
  min-height: 100%;
}

.scz-page--dashboard .page-workspace {
  display: block;
}

.scz-page--dashboard .page-workspace > * + * {
  margin-top: 16px;
}

@media (max-width: 1040px) {
  .page-workspace {
    grid-template-columns: 1fr;
  }

  .page-workspace > * {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .page-workspace {
    gap: 12px;
  }

  .page-workspace > .panel .panel-head {
    align-items: flex-start;
  }
}

/* Approved SmartClaimzs brand bridge ------------------------------------- */
:root {
  --bg: #edf2f8;
  --surface: #fdfefe;
  --surface-strong: #ffffff;
  --line: #cbd7e5;
  --line-bright: #9db6d5;
  --text: #0a1a30;
  --muted: #536882;
  --soft: #405a78;
  --blue: #195ff5;
  --cyan: #39b8de;
  --amber: #f39a3d;
  --shadow: 0 18px 42px rgba(7, 22, 41, .09);
}

html,
body {
  background: #edf2f8;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 86% 5%, rgba(25, 95, 245, .08), transparent 28%),
    #edf2f8;
}

.scz-sidebar {
  color: #dce9fb;
  background: linear-gradient(180deg, #071629 0%, #0a2039 100%);
  border-right-color: rgba(143, 184, 229, .22);
}

.workflow-summary strong,
.nav-step {
  color: #61cbea;
}

.workflow-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, #195ff5, #173c6d);
}

.scz-header {
  color: #f7f9fd;
  background: linear-gradient(100deg, #071629 0%, #102e52 100%);
  border-bottom-color: rgba(143, 184, 229, .26);
}

.practice-name,
.scz-header .user-contact strong {
  color: #f7f9fd;
}

.work-context,
.date-chip,
.bell,
.scz-header .user-chip {
  color: #f7f9fd;
  border-color: rgba(203, 215, 229, .3);
  background: rgba(255, 255, 255, .07);
}

.work-context span {
  border-left-color: rgba(203, 215, 229, .24);
}

.work-context small,
.work-context strong,
.scz-header .date-chip,
.scz-header .bell {
  color: #f7f9fd;
}

.work-context small {
  color: #8fb8e5;
}

.dashboard-main {
  background:
    radial-gradient(circle at 88% 0%, rgba(25, 95, 245, .08), transparent 30%),
    #edf2f8;
}

.hero {
  position: relative;
  padding-bottom: 15px;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #195ff5 0 55%, #39b8de 55% 78%, #f39a3d 78% 86%, transparent 86%);
}

.hero h1,
.hero span {
  color: #0a1a30;
}

.panel,
.kpi-card,
.metric-card,
.today-work-grid > article,
.assistant-widget {
  color: #0a1a30;
  border-color: #cbd7e5;
  background: #fdfefe;
}

.panel,
.assistant-widget {
  box-shadow: 0 18px 42px rgba(7, 22, 41, .06);
}

.kpi-card::after,
.metric-card::after,
.today-work-grid > article::after {
  background: #e5efff;
}

.staff-steps li {
  color: #0a1a30;
  border-color: transparent;
  border-left: 3px solid #195ff5;
  background: #e5efff;
}

.staff-steps li::before {
  color: #fff;
  background: #195ff5;
}

.empty-state,
.quick-actions-row a,
.start-work-row {
  color: #0a1a30;
  border-color: #cbd7e5;
  background: #f5f8fc;
}

.next-work-action,
.billing-note {
  color: #0a1a30;
  border-left: 4px solid #f39a3d;
  background: linear-gradient(90deg, #fff3df, #fdfefe);
}

.notice-state,
.batch-context {
  color: #173c6d;
  border-color: #b9cceb;
  background: #e5efff;
}

.notice-warning,
.status-amber,
.review-flag-attention {
  color: #7d4500;
  border-color: #f3c47f;
  background: #fff3df;
}

.practice-footer {
  color: #536882;
  border-top-color: #cbd7e5;
}

/* Settings uses its own internal two-column workspace. */
.scz-page--settings .page-workspace {
  display: block;
}

.scz-page--settings .page-workspace > * + * {
  margin-top: 16px;
}

.scz-page--settings .dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
}

.connection-card,
.package-connection-grid > div {
  color: #0a1a30;
  border-color: #cbd7e5;
  background: #e5efff;
}

.connection-card strong,
.package-connection-grid strong {
  color: #173c6d;
}

.connection-card p,
.connection-card small,
.package-connection-grid span {
  color: #536882;
}

.settings-form input,
.settings-form textarea {
  color: #0a1a30;
  border-color: #cbd7e5;
  background: #f5f8fc;
}

.settings-form button,
.next-work-action a {
  color: #fff;
  border-color: #195ff5;
  background: #195ff5;
}

/* Complete the approved palette inside the Staff Guide. */
.assistant-body h3,
.assistant-summary strong {
  color: #0a1a30;
}

.assistant-status {
  color: #18765a;
}

.assistant-status span {
  background: #00a66a;
  box-shadow: 0 0 10px rgba(0, 166, 106, .36);
}

.assistant-summary span {
  color: #536882;
  border-color: #cbd7e5;
  background: #e5efff;
}

.assistant-tools button,
.assistant-tools a {
  color: #f7f9fd;
  border-color: #294c75;
  background: #173c6d;
}

.assistant-tools button:hover,
.assistant-tools a:hover {
  border-color: #195ff5;
  background: #195ff5;
}

.assistant-body footer a,
.assistant-body footer button {
  color: #f7f9fd;
  border-color: #294c75;
  background: #173c6d;
}

@media (max-width: 1180px) {
  .scz-page--settings .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .scz-page--settings:has(.assistant-widget:not(.collapsed)) .page-workspace {
    padding-right: 300px;
  }
}

/* Consistent, readable interface typography ------------------------------ */
button,
input,
select,
textarea,
.panel a,
.assistant-widget a {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.connection-status,
.priority-status,
.review-flag,
.ehr-action,
.deadline-state,
.status-pill {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.connection-live,
.connection-available,
.review-flag-ready {
  color: #0b624b;
  border: 1px solid #9fdcc9;
  background: #d9f3ea;
}

.connection-pending {
  color: #174f83;
  border: 1px solid #aacbe9;
  background: #dbeeff;
}

.connection-required,
.review-flag-attention,
.status-amber {
  color: #754600;
  border: 1px solid #edc679;
  background: #fff0ce;
}

.panel-action,
.primary-work-action,
.settings-form button,
.filter-bar button,
.next-work-action a,
.batch-context a,
.assistant-tools button,
.assistant-tools a,
.assistant-body footer a,
.assistant-body footer button {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.next-work-action {
  min-width: 0;
}

.next-work-action > div {
  min-width: 0;
}

.next-work-action a {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .next-work-action a {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
