/* AZ Accounting: a restrained, accessible workspace built on Bootstrap. */
:root {
  --ink:#24332f;
  --muted:#65716b;
  --paper:#f6f5f1;
  --line:#e2e5de;
  --gold:#b59a52;
  --green:#284d40;
  --bs-body-color:var(--ink);
  --bs-body-font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --bs-primary:#284d40;
  --bs-link-color:#284d40;
  --bs-link-hover-color:#152d24;
  --bs-border-color:var(--line);
  --bs-secondary-color:var(--muted);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  min-height:100vh;
  background:var(--paper);
  font-size:14px;
  line-height:1.6;
}

a {
  text-underline-offset:3px;
}

h1,h2,h3 {
  color:var(--ink);
  letter-spacing:-.025em;
}

h1 {
  font-size:32px;
  line-height:1.2;
  font-weight:650;
  margin:0 0 10px;
}

h2.h5 {
  font-size:18px;
  font-weight:650;
}

p {
  max-width:76ch;
}

button,input,select {
  font:inherit;
}

:focus-visible {
  outline:3px solid #947526!important;
  outline-offset:4px;
}

main:focus {
  outline:none;
}

.icon {
  flex-shrink:0;
  vertical-align:middle;
}

.skip-link {
  position:fixed;
  left:16px;
  top:-80px;
  padding:12px 20px;
  background:white;
  z-index:20;
}

.skip-link:focus {
  top:12px;
}

.sidebar {
  width:246px;
  background:#202b29;
  color:#eef0e9;
  position:fixed;
  inset:0 auto 0 0;
  display:flex;
  flex-direction:column;
  padding:36px 20px 22px;
  z-index:5;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  color:inherit;
  text-decoration:none;
  font-size:17px;
  font-weight:600;
  line-height:1.3;
}

.brand:hover {
  color:#fff;
}

.brand small {
  display:block;
  font-size:9px;
  letter-spacing:1.9px;
  color:#b3bdb5;
  margin-top:7px;
}

.brand-mark {
  font:27px Georgia,serif;
  color:#e4d098;
  border:1px solid #857647;
  width:48px;
  height:48px;
  display:grid;
  place-content:center;
  position:relative;
  flex-shrink:0;
}

.brand-mark span {
  height:2px;
  width:19px;
  background:#b59a52;
  position:absolute;
  bottom:5px;
  left:14px;
}

.nav-label {
  font-size:10px;
  letter-spacing:1.8px;
  color:#a6b1a9;
  margin:53px 14px 16px;
}

.nav-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 14px;
  margin:4px 0;
  color:#c5cec7;
  text-decoration:none;
  border-radius:7px;
  font-size:13px;
  border:1px solid transparent;
}

.nav-item:hover {
  background:#2b3834;
  color:white;
}

.nav-item.active {
  background:#354239;
  color:#f4e6b9;
  border-color:#53604a;
}

.nav-item.active .icon {
  color:#d6bd76;
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:40px;
}

.sidebar-note {
  display:flex;
  gap:11px;
  align-items:center;
  padding:0 12px 24px;
  color:#d5dccf;
  font-size:12px;
}

.sidebar-note .icon {
  color:#c6af72;
}

.sidebar-note small,.profile small {
  display:block;
  color:#a8b4ac;
  font-size:10px;
  margin-top:2px;
}

.profile {
  display:flex;
  gap:10px;
  align-items:center;
  border-top:1px solid #435048;
  padding:23px 10px 12px;
  font-size:12px;
}

.avatar {
  height:34px;
  width:34px;
  display:grid;
  place-items:center;
  background:#455449;
  color:#e7d5a0;
  border-radius:50%;
  font-weight:600;
}

.sign-out {
  display:flex;
  justify-content:space-between;
  border:0;
  background:transparent;
  color:#bac5bd;
  width:100%;
  padding:8px 12px;
  text-align:left;
  font-size:12px;
}

.sign-out:hover {
  color:white;
}

.workspace-body {
  margin-left:246px;
  min-width:0;
}

.topbar {
  height:76px;
  border-bottom:1px solid var(--line);
  background:#fcfcf9;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 42px;
  color:#63706a;
  font-size:12px;
}

.topbar-divider {
  margin:0 14px;
  color:#a9b0a8;
}

.environment-label {
  display:flex;
  gap:8px;
  align-items:center;
  color:#55635a;
  font-size:11px;
}

.environment-label .status-dot {
  background:#aa8e43;
}

.workspace-main {
  max-width:1540px;
  margin:auto;
  padding:28px 42px 0;
  min-height:calc(100vh - 76px);
  display:flex;
  flex-direction:column;
}

.environment-notice {
  border:1px solid #e5deca;
  background:#fbf8ee;
  color:#71623b;
  border-radius:6px;
  font-size:11px;
  padding:9px 13px;
  margin-bottom:30px;
}

.notice-tag {
  font-weight:700;
  margin-right:10px;
}

.page-heading {
  margin-bottom:28px;
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:1.7px;
  font-weight:650;
  font-size:10px;
  color:#85703a;
  margin:0 0 9px;
}

.page-description {
  color:var(--muted);
  margin:0;
  font-size:13px;
}

.page-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.page-header>.btn {
  flex-shrink:0;
  margin-bottom:28px;
}

.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:auto;
  padding:44px 0 22px;
  color:#626e61;
  font-size:10px;
  letter-spacing:.2px;
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}

.section-head h2 {
  margin:0;
}

.section-head>a {
  font-size:12px;
  text-decoration:none;
  font-weight:600;
}

.section-head .icon {
  width:15px;
  margin-left:6px;
}

.btn {
  font-size:12px;
  font-weight:600;
  border-radius:6px;
  padding:10px 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:40px;
  line-height:1.4;
}

.btn .icon {
  width:16px;
  height:16px;
}

.btn-primary {
  --bs-btn-bg:var(--green);
  --bs-btn-border-color:var(--green);
  --bs-btn-hover-bg:#193c2e;
  --bs-btn-hover-border-color:#193c2e;
  --bs-btn-active-bg:#193c2e;
  --bs-btn-active-border-color:#193c2e;
  --bs-btn-disabled-bg:#62776d;
  --bs-btn-disabled-border-color:#62776d;
}

.btn-outline-primary {
  --bs-btn-color:var(--green);
  --bs-btn-border-color:#bbc9c0;
  --bs-btn-hover-bg:#eaf0eb;
  --bs-btn-hover-color:var(--green);
  --bs-btn-hover-border-color:#8da493;
  --bs-btn-active-bg:#eaf0eb;
  --bs-btn-active-color:var(--green);
}

.btn-outline-secondary {
  --bs-btn-color:#526156;
  --bs-btn-border-color:#d2d9d1;
}

.btn-sm {
  padding:7px 12px;
  min-height:34px;
  font-size:11px;
}

.card,.panel {
  background:#fff;
  border:1px solid var(--line)!important;
  border-radius:9px;
  box-shadow:0 2px 4px #202b2903!important;
}

.card-body {
  padding:25px;
}

.panel {
  padding:26px;
}

.table-panel {
  padding:0;
  overflow:hidden;
}

.table-panel .section-head {
  padding:22px 25px;
  margin:0;
  border-bottom:1px solid var(--line);
}

.table {
  font-size:12px;
  --bs-table-color:var(--ink);
  --bs-table-border-color:#edf0e9;
}

.table>:not(caption)>*>* {
  padding:18px 22px;
}

.table thead th {
  background:#fafbf8;
  color:#6b756d;
  font-weight:600;
  font-size:10px;
  letter-spacing:.6px;
  text-transform:uppercase;
  white-space:nowrap;
  border-bottom:1px solid var(--line);
}

.table tbody tr:last-child td {
  border-bottom:0;
}

.table tbody tr:hover td {
  background:#fcfcf9;
}

.table td a {
  font-weight:550;
  text-decoration:none;
}

.table td a:hover {
  text-decoration:underline;
}

.table td {
  overflow-wrap:anywhere;
}

.table-responsive {
  scrollbar-width:thin;
}

.table caption {
  caption-side:bottom;
  padding:12px 22px;
  color:var(--muted);
  font-size:11px;
}

.client-cell {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:190px;
}

.client-initial {
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  flex-shrink:0;
  background:#eff1eb;
  color:#6d785f;
  border:1px solid #e3e7dc;
  border-radius:7px;
  font:16px Georgia,serif;
}

.cell-subtitle {
  display:block;
  font-size:10px;
  color:#626e61;
  margin-top:3px;
}

.status {
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid #e1e5df;
  background:#f3f5f1;
  color:#626e64;
  padding:4px 9px;
  border-radius:5px;
  font-size:10px;
  font-weight:600;
  white-space:nowrap;
  line-height:1.5;
}

.status-dot {
  width:5px;
  height:5px;
  display:inline-block;
  border-radius:50%;
  background:currentColor;
  flex-shrink:0;
}

.status-succeeded,.status-connected,.status-active {
  background:#eef5ef;
  border-color:#dce9de;
  color:#336846;
}

.status-failed,.status-reauthorization_required {
  background:#fcf0ed;
  border-color:#f0d9d2;
  color:#a44432;
}

.status-partially_succeeded {
  background:#fcf6e8;
  border-color:#eadfbe;
  color:#876419;
}

.status-queued,.status-running,.status-pending {
  background:#edf3f8;
  border-color:#dce7ef;
  color:#45677f;
}

.metrics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:30px;
}

.metric {
  padding:23px 26px;
}

.metric-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#657065;
  font-size:12px;
}

.metric-top .icon {
  color:#87947e;
  width:18px;
}

.metric-value {
  font-size:37px;
  line-height:1.3;
  letter-spacing:-1.5px;
  margin:13px 0 7px;
  font-weight:550;
  font-variant-numeric:tabular-nums;
}

.metric-foot {
  font-size:11px;
  color:#626e61;
}

.dashboard-columns {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:22px;
  margin-bottom:25px;
}

.workflow-step {
  display:flex;
  align-items:flex-start;
  gap:13px;
  padding:17px 0;
  border-bottom:1px solid #edf0e9;
}

.workflow-step:last-child {
  border-bottom:0;
  padding-bottom:0;
}

.step-number {
  width:25px;
  height:25px;
  border:1px solid #ddd7c4;
  color:#85733f;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:10px;
  flex-shrink:0;
}

.workflow-step h3 {
  font-size:12px;
  font-weight:650;
  margin:2px 0 5px;
}

.workflow-step p {
  font-size:11px;
  color:#626e61;
  margin:0;
}

.workflow-step a {
  color:inherit;
  text-decoration:none;
}

.workflow-step a:hover {
  text-decoration:underline;
}

.workspace-callout {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#eeefe6;
  border:1px solid #dde2d1;
  border-radius:8px;
  padding:21px 25px;
  margin-bottom:28px;
}

.workspace-callout h2 {
  font-size:14px;
  margin-bottom:4px;
}

.workspace-callout p {
  font-size:12px;
  color:#6a7566;
  margin:0;
}

.workspace-callout .icon {
  color:#778466;
}

.empty-state {
  text-align:center;
  padding:48px 24px;
}

.empty-icon {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  background:#f4f3ec;
  border-radius:50%;
  color:#97834a;
  margin:0 auto 18px;
}

.empty-state p {
  font-size:12px;
  color:var(--muted);
  margin:0 auto 20px;
  max-width:45ch;
}

.module-card {
  position:relative;
  display:flex;
  flex-direction:column;
  padding:28px;
  height:100%;
}

.module-icon {
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  background:#f1eee3;
  border:1px solid #e8e1cc;
  border-radius:8px;
  color:#8a743d;
  margin-bottom:26px;
}

.module-card h2 {
  font-size:20px;
  max-width:27ch;
  margin-bottom:12px;
}

.module-card p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px;
}

.module-card .btn {
  align-self:flex-start;
  margin-top:auto;
}

.module-card .module-tag {
  position:absolute;
  top:30px;
  right:26px;
  font-size:10px;
  color:#7a7155;
  border:1px solid #e8e1cc;
  border-radius:4px;
  padding:3px 7px;
}

.back-link {
  font-size:11px;
  color:#687566;
  text-decoration:none;
  display:inline-block;
  margin-bottom:20px;
}

.form-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:28px;
  align-items:start;
}

.form-section {
  padding:26px;
  border-bottom:1px solid var(--line);
}

.form-section:last-child {
  border-bottom:0;
}

.form-section h2 {
  display:flex;
  gap:11px;
  align-items:center;
  font-size:15px;
  margin-bottom:22px;
}

.form-label {
  font-weight:600;
  font-size:12px;
}

.form-control,.form-select {
  font-size:13px;
  border-color:#d9dfd5;
  padding:11px 13px;
  border-radius:6px;
  background-color:#fdfefb;
}

.form-control:focus,.form-select:focus {
  border-color:#8b9d82;
  box-shadow:0 0 0 3px #75866c20;
}

.form-text {
  font-size:11px;
  color:#626e61;
}

.form-check-input:checked {
  background-color:var(--green);
  border-color:var(--green);
}

.client-choice {
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 15px;
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer;
  margin-bottom:8px;
  font-size:12px;
  background:#fff;
}

.client-choice:has(input:checked) {
  background:#f0f5ed;
  border-color:#a7b99b;
}

.client-choice input {
  width:16px;
  height:16px;
  accent-color:var(--green);
  flex-shrink:0;
}

.client-choice input:disabled+span {
  color:#626e61;
}

.client-choices {
  max-height:340px;
  overflow:auto;
  padding:4px;
}

.selection-summary {
  font-size:11px;
  color:#66745e;
  margin:12px 0;
}

.form-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 26px;
  background:#fafbf7;
  border-radius:0 0 9px 9px;
}

.form-actions p {
  font-size:11px;
  color:#626e61;
  margin:0;
}

.aside-help {
  padding:23px 0;
}

.aside-help h2 {
  font-size:13px;
  margin:0 0 12px;
}

.aside-help p,.aside-help li {
  font-size:12px;
  color:#626e61;
}

.aside-help ol {
  padding-left:18px;
}

.aside-help li {
  margin-bottom:12px;
}

.alert {
  border-radius:6px;
  font-size:12px;
  padding:13px 17px;
}

.alert-info {
  background:#eef3ef;
  color:#48634f;
  border-color:#dbe5dc;
}

.alert-success {
  background:#edf5ed;
  color:#336044;
  border-color:#d8e7d7;
}

.alert-danger {
  background:#fcf0ed;
  color:#994b3a;
  border-color:#ecd6ce;
}

.detail-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:24px;
}

.data-list {
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:14px;
  font-size:12px;
  margin:24px 0 0;
}

.data-list dt {
  font-weight:500;
  color:#626e61;
}

.data-list dd {
  margin:0;
  overflow-wrap:anywhere;
}

code {
  color:inherit;
  font-size:11px;
}

.run-meta {
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  font-size:12px;
  margin:5px 0 25px;
}

.run-meta span {
  color:#626e61;
}

.run-meta strong {
  font-weight:550;
  color:var(--ink);
  display:block;
  margin-top:5px;
}

.result-link {
  display:flex;
  gap:7px;
  align-items:center;
}

.result-link .icon {
  width:15px;
}

.result-message {
  max-width:36ch;
  display:block;
  font-size:11px;
}

.integration-banner {
  display:flex;
  align-items:center;
  gap:18px;
  padding:24px;
  margin-bottom:25px;
}

.integration-logo {
  flex-shrink:0;
  width:42px;
  height:42px;
  background:#e8f2e6;
  border-radius:9px;
  display:grid;
  place-items:center;
  color:#426d3b;
  font:24px Georgia,serif;
}

.integration-banner h2 {
  font-size:15px;
  margin:0 0 4px;
}

.integration-banner p {
  font-size:12px;
  margin:0;
  color:var(--muted);
}

.public-main {
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px;
}

.public-main>.alert {
  max-width:1060px;
  width:100%;
  margin:0 auto 15px;
}

.login-layout {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  max-width:1060px;
  width:100%;
  margin:0 auto;
  border:1px solid #dfe2d7;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 70px #24332f0a;
  background:#fff;
  min-height:620px;
}

.login-brand {
  background:#202b29;
  color:#eeeede;
  padding:45px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}

.login-brand .brand {
  position:relative;
  z-index:1;
}

.login-intro {
  margin:auto 0;
  padding:65px 0 40px;
  position:relative;
  z-index:1;
}

.login-intro h2 {
  font:42px/1.2 Georgia,serif;
  color:#f0eee0;
  letter-spacing:-1px;
  max-width:9ch;
  margin-bottom:25px;
}

.login-intro h2 em {
  color:#dac181;
  font-weight:normal;
}

.login-intro p {
  font-size:13px;
  color:#b8c4b9;
  max-width:32ch;
  line-height:1.9;
}

.login-brand-footer {
  font-size:10px;
  color:#b0bdaf;
  display:flex;
  align-items:center;
  gap:9px;
}

.login-art {
  position:absolute;
  inset:auto -110px -60px auto;
  width:400px;
  height:400px;
  border:1px solid #baa56422;
  border-radius:50%;
  pointer-events:none;
}

.login-art:before,.login-art:after {
  content:"";
  position:absolute;
  inset:35px;
  border:1px solid #baa56422;
  border-radius:50%;
}

.login-art:after {
  inset:75px;
}

.login-form {
  padding:65px 48px;
  display:flex;
  justify-content:center;
  flex-direction:column;
}

.login-form h1 {
  font-size:29px;
}

.login-form .form-label {
  font-size:11px;
}

.login-form form {
  margin-top:27px;
}

.login-footnote {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:27px;
  font-size:11px;
  color:#626e61;
}

.public-footer {
  text-align:center;
  font-size:11px;
  color:#626e61;
  margin:23px 0 0;
}

.public-footer a,.workspace-footer a {
  color:inherit;
  text-underline-offset:3px;
}

.legal-document {
  width:min(860px,100%);
  margin:0 auto;
  padding:50px clamp(25px,7vw,78px);
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  box-shadow:0 20px 70px #24332f0a;
}

.legal-header {
  padding-bottom:30px;
  margin-bottom:34px;
  border-bottom:1px solid var(--line);
}

.legal-brand {
  display:inline-block;
  margin-bottom:42px;
  color:var(--ink);
  font-weight:700;
  letter-spacing:.2px;
  text-decoration:none;
}

.legal-header h1 {
  margin-bottom:8px;
  font-size:clamp(31px,5vw,44px);
}

.legal-effective {
  margin:0 0 20px;
  color:var(--muted);
  font-size:12px;
}

.legal-summary {
  max-width:60ch;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.75;
}

.legal-document section {
  margin-bottom:30px;
}

.legal-document section h2 {
  margin-bottom:10px;
  font-size:18px;
}

.legal-document section p,.legal-document section li {
  color:#46514d;
  font-size:14px;
  line-height:1.8;
}

.legal-document section ul {
  padding-left:20px;
}

.legal-document section li+li {
  margin-top:8px;
}

.legal-footer {
  display:flex;
  gap:22px;
  padding-top:24px;
  border-top:1px solid var(--line);
  font-size:12px;
}

@media(min-width:1600px) {
  .workspace-main {
    padding-top:36px;
  }
  .dashboard-columns {
    grid-template-columns:minmax(0,1fr) 320px;
  }
}

@media(max-width:1199px) {
  .sidebar {
    width:218px;
    padding:28px 14px;
  }
  .workspace-body {
    margin-left:218px;
  }
  .brand {
    font-size:15px;
  }
  .brand-mark {
    width:42px;
    height:44px;
  }
  .workspace-main {
    padding:24px 25px 0;
  }
  .topbar {
    padding:0 25px;
  }
  .dashboard-columns {
    grid-template-columns:1fr;
  }
  .workflow-guide {
    display:none;
  }
  .form-layout {
    grid-template-columns:minmax(0,1fr) 220px;
  }
  .table>:not(caption)>*>* {
    padding:16px;
  }
  .metric {
    padding:20px;
  }
}

@media(max-width:800px) {
  .sidebar {
    position:static;
    width:auto;
    padding:18px 20px;
    display:block;
  }
  .brand {
    font-size:16px;
  }
  .brand-mark {
    width:38px;
    height:38px;
    font-size:23px;
  }
  .brand small {
    font-size:8px;
  }
  .nav-label,.sidebar-bottom {
    display:none;
  }
  .sidebar nav {
    display:flex;
    flex-wrap:wrap;
    gap:3px;
    margin-top:17px;
  }
  .nav-item {
    font-size:11px;
    padding:9px 10px;
    margin:0;
    gap:7px;
  }
  .nav-item .icon {
    width:15px;
    height:15px;
  }
  .workspace-body {
    margin:0;
  }
  .topbar {
    height:50px;
    padding:0 22px;
    font-size:10px;
  }
  .topbar-divider {
    margin:0 6px;
  }
  .environment-label {
    font-size:9px;
  }
  .workspace-main {
    padding:20px 22px 0;
    min-height:calc(100vh - 205px);
  }
  h1 {
    font-size:27px;
  }
  .page-header {
    align-items:flex-start;
    gap:15px;
  }
  .page-heading {
    margin-bottom:23px;
  }
  .page-header>.btn {
    margin-top:24px;
    padding:9px 11px;
    white-space:nowrap;
  }
  .metrics {
    gap:10px;
  }
  .metric {
    padding:16px;
  }
  .metric-top {
    font-size:11px;
  }
  .metric-top .icon {
    display:none;
  }
  .metric-value {
    font-size:30px;
  }
  .metric-foot {
    font-size:10px;
  }
  .form-layout,.detail-grid {
    grid-template-columns:1fr;
  }
  .aside-help {
    padding:0;
  }
  .login-layout {
    min-height:0;
    grid-template-columns:1fr;
  }
  .login-brand {
    padding:27px;
  }
  .login-intro {
    padding:35px 0 0;
  }
  .login-intro h2 {
    font-size:30px;
    max-width:20ch;
  }
  .login-intro p,.login-brand-footer {
    display:none;
  }
  .login-form {
    padding:32px;
  }
  .public-main {
    padding:24px;
  }
  .workspace-callout {
    padding:20px;
  }
  .workspace-callout>.icon {
    display:none;
  }
  .table-responsive .table {
    min-width:660px;
  }
  .table-panel .section-head {
    padding:20px;
  }
  .environment-notice {
    margin-bottom:24px;
  }
  .workspace-footer {
    padding-top:32px;
  }
}

@media(max-width:480px) {
  .metrics {
    grid-template-columns:1fr;
  }
  .metric {
    display:grid;
    grid-template-columns:1fr auto;
    gap:0 12px;
    padding:15px 19px;
  }
  .metric-value {
    grid-column:2;
    grid-row:1/3;
    margin:0;
    align-self:center;
    font-size:30px;
  }
  .metric-foot {
    grid-column:1;
  }
  .metric-top {
    margin-bottom:4px;
  }
  .page-header {
    flex-wrap:wrap;
    gap:0;
  }
  .page-header>.btn {
    margin:0 0 23px;
  }
  .topbar>span:first-child {
    font-size:0;
  }
  .topbar>span:first-child:before {
    content:'Staff workspace';
    font-size:11px;
  }
  .topbar-divider {
    display:none;
  }
  .workspace-callout {
    align-items:flex-start;
    flex-direction:column;
    gap:14px;
  }
  .form-section {
    padding:21px;
  }
  .form-actions {
    padding:20px;
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }
  .data-list {
    grid-template-columns:1fr;
    gap:5px;
  }
  .data-list dd {
    margin-bottom:12px;
  }
  .workspace-footer {
    font-size:9px;
  }
  .public-main {
    padding:16px;
  }
  .legal-document {
    padding:32px 23px;
  }
  .legal-brand {
    margin-bottom:30px;
  }
  .login-form {
    padding:27px;
  }
  .environment-notice {
    line-height:1.7;
  }
  .panel {
    padding:22px;
  }
  .table-panel {
    padding:0;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

:root {
  --bs-link-color-rgb:40,77,64;
  --bs-link-hover-color-rgb:21,45,36;
}

.mobile-sign-out {
  display:none;
}

.public-footer {
  max-width:none;
  width:100%;
}

.table {
  font-size:13px;
}

.page-heading h1 {
  overflow-wrap:anywhere;
}

@media(max-width:800px) {
  .mobile-sign-out {
    display:block;
  }
  .topbar {
    gap:10px;
  }
  .environment-label {
    margin-left:auto;
  }
  .topbar .btn {
    font-size:10px;
    min-height:30px;
    padding:5px 9px;
  }
}
