@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&display=swap");

:root {
  --ink: #223b34;
  --muted: #69756d;
  --green: #245c48;
  --line: #dce1d9;
  --paper: #f5f6f1;
  --amber: #996023;
  --red: #a34b36;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ba8d45;
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  padding: 15px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 220px;
  background: #203e33;
  color: #f5f6ed;
  display: flex;
  flex-direction: column;
  padding: 35px 20px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -1px;
}
.brand svg {
  width: 30px;
  height: 38px;
  stroke: #d8dda2;
  stroke-width: 2.8;
  stroke-linecap: square;
}
.brand-sub {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  margin-top: 6px;
  font-weight: 500;
  color: #c0cfc2;
}
.workspace-label {
  margin: 49px 12px 17px;
  color: #abbcaf;
  font-size: 9px;
  letter-spacing: 1.6px;
  display: flex;
  justify-content: space-between;
}
.workspace-label span {
  letter-spacing: 0;
  font-size: 9px;
  border: 1px solid #597263;
  padding: 1px 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  margin-bottom: 5px;
  padding: 0 13px;
  color: #c6d2c9;
  font-size: 13px;
  border-radius: 4px;
}
.nav-link:hover {
  background: #2c4b3e;
}
.nav-link.active {
  background: #e4e9d7;
  color: #203e33;
  font-weight: 600;
}
.nav-link .nav-count {
  margin-left: auto;
  font-size: 10px;
  background: #496354;
  color: white;
  border-radius: 3px;
  padding: 2px 5px;
}
.nav-link.active .nav-count {
  background: #cdd6bb;
  color: #203e33;
}
.sidebar-note {
  margin: auto 12px 34px;
  padding-top: 50px;
}
.small-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 600;
}
.sidebar-note .small-label {
  color: #a9bfae;
  font-size: 8px;
}
.sidebar-note p {
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  margin: 15px 0;
  color: #dee5cd;
}
.sidebar-note > span:last-child {
  font-size: 9px;
  color: #acc0b0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 19px;
  border-top: 1px solid #496153;
}
.avatar {
  width: 33px;
  height: 33px;
  background: #d9dfc4;
  color: #294437;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
}
.profile b {
  display: block;
  font-size: 11px;
  font-weight: 550;
}
.profile small {
  display: block;
  color: #b3c4b7;
  font-size: 9px;
  margin-top: 4px;
}
.app-body {
  margin-left: 220px;
}
.topbar {
  height: 69px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  background: #fcfcf8;
  font-size: 11px;
  color: var(--muted);
}
.topbar a {
  color: var(--ink);
  display: flex;
  gap: 13px;
}
.demo-bar {
  padding: 9px 40px;
  background: #ebeede;
  color: #606c4e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  gap: 10px;
}
.demo-bar i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6e7e45;
  margin-right: 7px;
}
.demo-bar button {
  border: 0;
  background: none;
  padding: 3px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 10px;
  white-space: nowrap;
}
main {
  padding: 39px 40px 24px;
  max-width: 1680px;
  margin: auto;
  min-height: calc(100vh - 166px);
}
main:focus {
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-heading h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.25px;
  font-weight: 500;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 12px;
  margin-top: 11px;
  line-height: 1.6;
}
.date-stamp {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
  padding-bottom: 3px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 38px;
  border: 1px solid #ced5cb;
  background: white;
  border-radius: 4px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
}
.btn:hover {
  background: #eef1e7;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover {
  background: #174432;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn.text {
  border: 0;
  background: none;
  padding-left: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.stat {
  padding: 22px 24px 22px 0;
}
.stat + .stat {
  border-left: 1px solid var(--line);
  padding-left: 27px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.stat-value {
  font-size: 37px;
  line-height: 1.2;
  letter-spacing: -1.7px;
  font-weight: 450;
  margin: 9px 0 5px;
  font-variant-numeric: tabular-nums;
}
.stat-value span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 8px;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.stat.attention .stat-value {
  color: var(--amber);
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.panel-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 15px;
  letter-spacing: -0.25px;
  font-weight: 600;
}
.panel-header p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.text-link {
  font-size: 11px;
  color: var(--green);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 550;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.count {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 21px;
  height: 20px;
  padding: 0 5px;
  background: #f1e8d6;
  color: #916022;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.queue-list {
  padding: 0 22px;
}
.queue-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 17px;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #e8ebe4;
  align-items: center;
}
.queue-item:last-child {
  border-bottom: 0;
}
.queue-item:hover strong {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.queue-item strong {
  font-size: 12px;
  font-weight: 600;
}
.queue-item p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.queue-item .queue-due {
  text-align: right;
  font-size: 10px;
}
.queue-due small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  color: var(--muted);
}
.overdue {
  color: var(--red);
}
.queue-footer {
  padding: 14px 22px;
  background: #fbfcf8;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.side-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.shift-note {
  background: #e7ebdf;
  padding: 24px 22px;
  border-radius: 4px;
}
.shift-note .small-label {
  font-size: 9px;
  color: #657054;
}
.shift-note h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
  margin: 16px 0 12px;
  letter-spacing: -0.6px;
}
.shift-note p {
  color: #5b6858;
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 19px;
}
.region-panel {
  padding: 19px 21px;
}
.region-panel h2 {
  font-size: 12px;
}
.region-panel > p {
  font-size: 9px;
  color: var(--muted);
  margin: 6px 0 18px;
}
.region-row {
  display: block;
  margin-top: 15px;
}
.region-row > span {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.region-track {
  height: 4px;
  background: #edf0e7;
  margin-top: 8px;
}
.region-track i {
  display: block;
  height: 100%;
  background: #7f987b;
}
.recent-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.recent-strip > svg {
  color: var(--muted);
}
.recent-strip p {
  flex: 1;
  line-height: 1.6;
}
.recent-strip small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.workspace-footer {
  padding: 18px 40px;
  color: #75806e;
  font-size: 9px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.workspace-footer span span {
  margin: 0 10px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 13px;
  padding: 19px 21px;
  border-bottom: 1px solid var(--line);
}
label {
  display: block;
  font-size: 10px;
  font-weight: 550;
}
label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
}
input:not([type="checkbox"]),
select,
textarea {
  min-height: 39px;
  border: 1px solid #cfd6cb;
  border-radius: 4px;
  background: white;
  color: var(--ink);
  padding: 9px 11px;
  width: 100%;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #7a8177;
}
.search-field {
  flex: 1;
  min-width: 140px;
}
.filter-field {
  width: 165px;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  vertical-align: middle;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  background: #f8faf4;
  padding: 13px 15px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 15px;
  border-bottom: 1px solid #e7ebe3;
  font-variant-numeric: tabular-nums;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfcf8;
}
td:first-child,
th:first-child {
  padding-left: 21px;
}
td small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.site-link {
  font-weight: 600;
}
.site-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.status {
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #638d64;
}
.status.closed:before {
  background: #959b91;
}
.pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 550;
  padding: 5px 7px;
  border-radius: 3px;
  white-space: nowrap;
  background: #eef3e9;
  color: #496a44;
}
.pill.warning {
  background: #f7eddb;
  color: #8b5b1c;
}
.pill.danger {
  background: #f7e8e2;
  color: #9b4534;
}
.table-bottom {
  padding: 14px 21px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}
.table-bottom button {
  background: none;
  border: 0;
  font-size: 10px;
  color: var(--green);
  text-decoration: underline;
}
.selection-bar {
  background: #e8eddf;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 21px;
  font-size: 11px;
}
.selection-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.empty {
  padding: 48px 20px;
  text-align: center;
}
.empty h2 {
  font-size: 17px;
}
.empty p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0 20px;
}
.back-link {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
}
.back-link:hover {
  color: var(--green);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 25px;
}
.detail-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 22px;
  border-bottom: 1px solid var(--line);
}
.detail-summary span {
  font-size: 10px;
  color: var(--muted);
}
.detail-summary strong {
  display: block;
  font-size: 27px;
  font-weight: 450;
  letter-spacing: -1px;
  margin-top: 8px;
}
.detail-summary small {
  font-size: 10px;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}
.provision {
  padding: 24px 22px;
}
.provision-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.provision h3 {
  font-size: 12px;
}
.provision p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
}
.provision-track {
  height: 10px;
  background: #edf0e8;
  margin: 25px 0 9px;
  position: relative;
}
.provision-track i {
  height: 100%;
  display: block;
  background: #bb974f;
}
.provision-track i.met {
  background: #668e66;
}
.provision-track:after {
  content: "";
  width: 2px;
  position: absolute;
  right: 0;
  top: -5px;
  bottom: -5px;
  background: var(--ink);
}
.track-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.rule-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: #f6f7f1;
  border-left: 2px solid #95a37c;
}
.rule-note b {
  font-size: 10px;
  font-weight: 550;
}
.rule-note p {
  font-size: 10px;
  margin-top: 6px;
}
.detail-actions {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
}
.record-meta {
  padding: 22px;
}
.record-meta h2 {
  margin-bottom: 20px;
}
.record-meta dl {
  margin: 0;
}
.record-meta dl div {
  padding: 12px 0;
  border-top: 1px solid #e7ebe3;
}
.record-meta dt {
  font-size: 10px;
  color: var(--muted);
}
.record-meta dd {
  font-size: 11px;
  margin: 6px 0 0;
  line-height: 1.5;
}
.record-meta .btn {
  margin-top: 18px;
  width: 100%;
}
.history {
  margin-top: 25px;
}
.history-row {
  padding: 17px 22px;
  border-bottom: 1px solid #e7ebe3;
  display: flex;
  gap: 13px;
}
.history-row:last-child {
  border: 0;
}
.history-row .avatar {
  width: 28px;
  height: 28px;
  background: #edf0e5;
  font-size: 9px;
}
.history-row b {
  font-size: 11px;
  font-weight: 550;
}
.history-row p {
  font-size: 11px;
  line-height: 1.6;
  margin: 6px 0;
  color: var(--muted);
}
.history-row small {
  font-size: 9px;
  color: var(--muted);
}
.scope-note {
  display: flex;
  gap: 12px;
  margin-top: 19px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.scope-note svg {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}
.audit-entry {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 115px;
  gap: 22px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.audit-entry:last-child {
  border: 0;
}
.audit-entry time {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.audit-entry h2 {
  font-size: 12px;
}
.audit-entry p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0;
}
.audit-entry .actor {
  font-size: 10px;
  color: var(--muted);
}
.audit-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.audit-sites a {
  font-size: 10px;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 7px;
  width: 560px;
  max-width: calc(100% - 32px);
  max-height: 90dvh;
  padding: 0;
  box-shadow: 0 25px 100px #152b3433;
  color: var(--ink);
}
dialog::backdrop {
  background: #172c2766;
  backdrop-filter: blur(3px);
}
.dialog-header {
  padding: 25px 26px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.dialog-header h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.dialog-header .eyebrow {
  font-size: 9px;
}
.close-button {
  border: 0;
  background: #f0f3e9;
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  font-size: 22px;
  font-weight: 400;
}
.dialog-body {
  padding: 23px 26px;
}
.dialog-body > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 19px;
}
.dialog-body label + label {
  margin-top: 19px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: #f8faf4;
}
.dialog-footer .btn {
  font-size: 12px;
  min-height: 40px;
}
.change-preview {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  max-height: 260px;
  overflow: auto;
}
.change-preview li {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 11px;
  line-height: 1.8;
}
.change-preview b {
  display: block;
}
.change-preview span {
  color: var(--muted);
}
.change-preview strong {
  font-weight: 500;
  color: var(--green);
}
.review-note {
  padding: 14px;
  background: #f1f4e9;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 100px);
  transform: translateX(-50%) translateY(20px);
  background: #203e33;
  color: white;
  border: 1px solid #6c836c;
  padding: 14px 22px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 32px);
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.noscript {
  position: fixed;
  inset: 120px 30px auto 250px;
  background: white;
  padding: 30px;
  z-index: 5;
}
@media (min-width: 1600px) {
  main {
    padding-top: 50px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .queue-item {
    padding: 24px 0;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 190px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .brand {
    font-size: 21px;
  }
  .app-body {
    margin-left: 190px;
  }
  main {
    padding: 30px 25px 20px;
  }
  .topbar,
  .demo-bar,
  .workspace-footer {
    padding-left: 25px;
    padding-right: 25px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 18px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .filter-field {
    width: 140px;
  }
  td,
  th {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 1000px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .side-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .shift-note {
    padding: 24px;
  }
  .region-panel {
    padding: 22px;
  }
  .shift-note h2 {
    font-size: 27px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .record-meta dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 25px;
  }
  .detail-layout > .side-column {
    display: block;
  }
  .detail-layout .record-meta .btn {
    width: auto;
  }
  .date-stamp {
    display: none;
  }
  .toolbar .search-field {
    flex-basis: 100%;
  }
  .filter-field {
    flex: 1;
    width: auto;
  }
  .audit-entry {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .audit-entry > .actor {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  .sidebar {
    display: none;
  }
  .app-body {
    margin-left: 0;
  }
  .topbar {
    height: 59px;
    padding: 0 20px;
    font-size: 10px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 22px;
    letter-spacing: -1px;
    font-weight: 600;
  }
  .demo-bar {
    padding: 9px 20px;
    font-size: 9px;
  }
  .demo-bar button {
    font-size: 9px;
  }
  .demo-extra {
    display: none;
  }
  main {
    padding: 29px 20px 18px;
    min-height: calc(100dvh - 225px);
  }
  .page-heading {
    margin-bottom: 24px;
    align-items: start;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 11px;
    max-width: 290px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.1px;
  }
  .page-heading > .btn {
    font-size: 10px;
    min-height: 35px;
    padding: 8px 10px;
  }
  .stats {
    margin-bottom: 24px;
  }
  .stat {
    padding: 17px 11px 17px 0;
  }
  .stat + .stat {
    padding-left: 13px;
  }
  .stat-top {
    font-size: 9px;
    line-height: 1.5;
  }
  .stat-top svg {
    display: none;
  }
  .stat-value {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .stat-value span {
    display: none;
  }
  .stat small {
    font-size: 9px;
    line-height: 1.5;
    display: block;
  }
  .overview-grid {
    gap: 20px;
  }
  .panel-header {
    padding: 19px 17px;
  }
  .panel-header p {
    font-size: 10px;
  }
  .panel-header h2 {
    font-size: 14px;
  }
  .panel-header > .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .queue-list {
    padding: 0 17px;
  }
  .queue-item {
    grid-template-columns: minmax(0, 1fr) 85px 12px;
    gap: 8px;
    padding: 19px 0;
  }
  .queue-item strong {
    font-size: 12px;
  }
  .queue-item p {
    font-size: 9px;
    line-height: 1.7;
  }
  .queue-item svg {
    width: 13px;
  }
  .queue-due {
    font-size: 9px !important;
  }
  .queue-due small {
    font-size: 8px;
  }
  .queue-footer {
    padding: 13px 17px;
    font-size: 9px;
    line-height: 1.6;
  }
  .side-column {
    grid-template-columns: 1fr;
  }
  .shift-note h2 {
    font-size: 29px;
  }
  .shift-note p {
    font-size: 12px;
  }
  .region-panel {
    padding: 23px;
  }
  .region-row > span {
    font-size: 11px;
  }
  .region-track {
    height: 5px;
  }
  .recent-strip {
    align-items: start;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 11px;
  }
  .recent-strip .text-link {
    margin-left: 33px;
  }
  .workspace-footer {
    font-size: 8px;
    padding: 20px 20px 94px;
    flex-direction: column;
    gap: 8px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fcfcf8;
    border-top: 1px solid #c9d2c3;
    padding: 8px 8px max(9px, env(safe-area-inset-bottom));
    z-index: 20;
  }
  .mobile-nav .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: #6b776c;
    font-size: 9px;
    margin: 0;
    min-height: 49px;
    padding: 5px 0;
  }
  .mobile-nav .nav-link.active {
    background: #e8eddf;
    color: #234b38;
  }
  .mobile-nav .nav-count {
    display: none;
  }
  .mobile-nav .nav-link svg {
    width: 19px;
    height: 19px;
  }
  .toolbar {
    padding: 16px;
    gap: 12px;
  }
  .toolbar label {
    font-size: 9px;
  }
  .toolbar .filter-field {
    min-width: 110px;
  }
  .toolbar .btn {
    min-height: 39px;
  }
  input:not([type="checkbox"]),
  select,
  textarea {
    font-size: 16px;
    min-height: 43px;
  }
  .toolbar input,
  .toolbar select {
    font-size: 16px;
  }
  .table-scroll {
    overflow: visible;
  }
  .records-table thead {
    display: none;
  }
  .records-table,
  .records-table tbody {
    display: block;
  }
  .records-table tr {
    display: grid;
    grid-template-columns: 28px 1fr 1fr;
    gap: 14px 8px;
    padding: 19px 16px;
    border-bottom: 1px solid var(--line);
  }
  .records-table tr:last-child {
    border-bottom: 0;
  }
  .records-table td {
    border: 0;
    padding: 0 !important;
    min-width: 0;
    font-size: 11px;
    align-self: center;
  }
  .records-table td.select-cell {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: start;
  }
  .records-table td.site-cell {
    grid-column: 2 / 4;
    font-size: 13px;
  }
  .records-table td[data-label]:before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .records-table td small {
    font-size: 10px;
  }
  .selection-bar {
    padding: 13px 16px;
    align-items: start;
    flex-direction: column;
  }
  .selection-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .table-bottom {
    padding: 14px 16px;
    font-size: 9px;
  }
  .table-bottom span {
    max-width: 65%;
    line-height: 1.6;
  }
  .detail-summary {
    padding: 22px 17px;
  }
  .detail-summary strong {
    font-size: 25px;
  }
  .detail-summary span {
    font-size: 9px;
  }
  .provision {
    padding: 23px 17px;
  }
  .provision-title {
    align-items: start;
  }
  .provision-title h3 {
    line-height: 1.5;
    max-width: 180px;
  }
  .detail-actions {
    padding: 16px 17px;
    flex-wrap: wrap;
  }
  .record-meta {
    padding: 21px 17px;
  }
  .history-row {
    padding: 18px 17px;
  }
  .back-link {
    margin-bottom: 21px;
  }
  .audit-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 21px 17px;
  }
  .audit-entry > .actor {
    grid-column: 1;
  }
  .audit-entry h2 {
    font-size: 13px;
  }
  .audit-entry time {
    font-size: 10px;
  }
  .toast {
    bottom: 90px;
    left: 50%;
    width: max-content;
    font-size: 11px;
  }
  .dialog-header {
    padding: 22px 20px 18px;
  }
  .dialog-header h2 {
    font-size: 22px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px;
  }
  .dialog-body label {
    font-size: 12px;
  }
  .noscript {
    inset: 120px 20px auto;
  }
  .scope-note {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Keep operational text readable at normal desktop scale. */
@media (min-width: 701px) {
  .queue-item strong {
    font-size: 14px;
  }
  .queue-item p {
    font-size: 11px;
  }
  .queue-item .queue-due {
    font-size: 11px;
  }
  .queue-due small {
    font-size: 10px;
  }
  .queue-item {
    padding: 20px 0;
  }
  .sidebar-note p {
    font-size: 22px;
  }
  .sidebar-note {
    margin-left: 6px;
    margin-right: 6px;
  }
  .panel-header p {
    font-size: 11px;
  }
  .shift-note p {
    font-size: 12px;
  }
  .region-row > span {
    font-size: 11px;
  }
  table {
    font-size: 12px;
  }
  th {
    font-size: 10px;
  }
  td small {
    font-size: 10px;
  }
  .status,
  .pill {
    font-size: 10px;
  }
  .provision p {
    font-size: 12px;
  }
  .record-meta dd {
    font-size: 12px;
  }
  .history-row p {
    font-size: 12px;
  }
}
