body:has(.ws) {
  margin: 0;
  color: #173a30;
  background: #f5f4ed;
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
}
.ws,
.ws *,
.ws *::before,
.ws *::after {
  box-sizing: border-box;
}
.ws {
  --ink: #10382f;
  --paper: #f5f4ed;
  --white: #fdfcf7;
  --line: #ced3c8;
  --muted: #55675d;
  --lime: #d2e7a3;
  color: var(--ink);
  font:
    15px/1.48 Inter,
    'Helvetica Neue',
    Arial,
    sans-serif;
  letter-spacing: -0.012em;
  min-height: 100vh;
}
.ws [hidden] {
  display: none !important;
}
.ws a {
  color: inherit;
  text-decoration: none;
}
.ws h1,
.ws h2,
.ws h3,
.ws p {
  margin: 0;
}
.ws button,
.ws input,
.ws select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
.ws button,
.ws select {
  cursor: pointer;
}
.ws :focus-visible {
  outline: 3px solid #688a28;
  outline-offset: 3px;
}
.ws button:disabled {
  opacity: 0.52;
  cursor: wait;
}
.ws button {
  border: 0;
  background: none;
}
.ws .eyebrow,
.ws .system,
.ws .access-foot,
.ws .plate-heading,
.ws .field-label,
.ws thead,
.ws .sample-badge {
  font:
    500 10px/1.45 'IBM Plex Mono',
    'SFMono-Regular',
    Consolas,
    monospace;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.ws .eyebrow i,
.ws .system:before {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #75963e;
  margin-right: 8px;
  vertical-align: 1px;
}
.ws .btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 550;
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.12s;
}
.ws button:active,
.ws .btn:active {
  transform: scale(0.985);
}
.ws .btn.primary {
  background: var(--ink);
  color: white;
}
.ws .btn.wide {
  width: 100%;
  justify-content: space-between;
}
.ws .plain-link,
.ws .sample-cta a,
.ws .text-link,
.ws .row-link {
  color: var(--ink);
  font-weight: 550;
}
.ws .plain-link {
  font-size: 13px;
}
.ws .btn.small {
  padding: 6px 13px;
  min-height: 36px;
  font-size: 13px;
}
.ws .text-link,
.ws .row-link {
  padding: 3px 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #b5beb0;
}
.ws .ws-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.ws .ws-brand img {
  width: 139px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}
.ws .hint,
.ws .muted {
  color: var(--muted);
}
.ws .hint {
  font-size: 13px;
}
.signin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.access {
  display: flex;
  flex-direction: column;
  padding: 32px clamp(26px, 3.8vw, 72px);
  min-width: 0;
}
.access-nav,
.plate-heading,
.dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.access-form {
  width: min(100%, 410px);
  margin: auto;
  padding: clamp(60px, 8vw, 120px) 0;
}
.access h1 {
  font-size: clamp(68px, 7vw, 108px);
  font-weight: 450;
  letter-spacing: -0.087em;
  line-height: 1.05;
  margin: 19px 0 16px;
}
.access .intro {
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #58665a;
  max-width: 35ch;
}
.access form {
  margin: 38px 0 24px;
}
.access label,
.ws .filters label,
.ws .correction label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.key-field {
  display: flex;
  align-items: center;
  border: 1px solid #879688;
  border-radius: 2px;
  background: var(--white);
  overflow: hidden;
}
.ws input,
.ws select {
  min-width: 0;
  background: var(--white);
  border: 1px solid #9eaa9e;
  border-radius: 2px;
  padding: 9px 12px;
}
.key-field:focus-within {
  outline: 2px solid #547842;
  outline-offset: 1px;
}
.key-field input {
  border: 0;
  outline: 0 !important;
  flex: 1;
  padding: 13px;
}
.key-field button {
  align-self: stretch;
  padding: 0 14px;
  font-size: 12px;
}
.access .hint {
  margin: 8px 0 22px;
}
.form-error:not(:empty),
.workspace-status:not(:empty),
.ws .notice {
  background: #f6e8c6;
  color: #60471f;
  padding: 11px 14px;
  border-left: 3px solid #a78232;
  font-size: 14px;
  margin-bottom: 16px;
}
.sample-cta {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.sample-cta p {
  color: var(--muted);
}
.access-foot {
  color: var(--muted);
}
.access-figure {
  background: #10382f;
  color: #eeefda;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 38px clamp(25px, 3.8vw, 70px);
  position: relative;
  min-height: 600px;
}
.plate-heading {
  border-bottom: 1px solid #6a8979;
  padding-bottom: 17px;
  color: #d2decb;
}
.plate-art {
  width: 100%;
  margin: 18px auto;
  max-height: 51vh;
  object-fit: contain;
}
.plate-caption {
  padding-top: 17px;
  border-top: 1px solid #6a8979;
}
.plate-caption .eyebrow {
  color: #bdd799;
}
.ws .plate-caption h2 {
  font-size: clamp(35px, 4.5vw, 70px);
  letter-spacing: -0.065em;
  font-weight: 440;
  line-height: 1.05;
  margin: 10px 0;
}
.plate-caption p {
  font-size: 16px;
  color: #d1dccc;
  max-width: 42ch;
}
.ws .skip {
  position: fixed;
  top: -6em;
  left: 1em;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: 8px 14px;
}
.ws .skip:focus {
  top: 1em;
}
.ws-top {
  height: 65px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  gap: 12px;
}
.ws-top > div {
  display: flex;
  gap: 17px;
  align-items: center;
}
.ws-top .ws-brand img {
  width: 131px;
}
.top-rule {
  height: 20px;
  width: 1px;
  background: var(--line);
}
.ws .system:before {
  content: '';
  border-radius: 50%;
  width: 6px;
  height: 6px;
  vertical-align: 1px;
}
.ws .system[data-state='warn']:before {
  background: #ad6f24;
}
.ws .system[data-state='sample']:before {
  background: #577b5d;
}
.ws-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: calc(100svh - 65px);
}
.ws-sidebar {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 26px 19px;
  background: #eeefe7;
}
.tenant-id {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 32px;
}
.tenant-id strong,
.tenant-id small {
  display: block;
  overflow-wrap: anywhere;
}
.tenant-id strong {
  font-size: 13px;
}
.tenant-id small {
  font-size: 11px;
  color: var(--muted);
}
.tenant-icon {
  width: 34px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 22px;
  flex: none;
}
.ws-nav .eyebrow {
  color: #5e6b60;
  font-size: 9px;
  margin: 0 11px 9px;
}
.ws-nav .group2 {
  margin-top: 26px;
}
.ws-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 2px;
  font-size: 13px;
}
.ws-nav a[aria-current='page'] {
  background: #d7dfcc;
  color: #113a2f;
  font-weight: 650;
}
.ws-nav svg {
  flex: none;
}
.side-bottom {
  padding: 25px 9px 5px;
  margin-top: auto;
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #425946;
}
.side-bottom button {
  padding: 5px 0;
  text-align: left;
}
.side-bottom span {
  float: right;
}
.ws #menu-toggle {
  display: none;
}
.ws #ws-content {
  padding: clamp(24px, 3.4vw, 58px) clamp(20px, 3.8vw, 68px) 64px;
  min-width: 0;
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
}
.view-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.ws .view-heading h1 {
  font-size: clamp(35px, 3.65vw, 66px);
  line-height: 1.05;
  font-weight: 460;
  letter-spacing: -0.067em;
  margin: 8px 0;
}
.view-heading .subhead {
  color: var(--muted);
  font-size: 14px;
  max-width: 62ch;
}
.view-heading .eyebrow {
  color: #61765a;
}
.overview-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-bottom: 18px;
  background: var(--white);
}
.ws .metric-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  min-height: 132px;
  padding: 18px 20px;
  border-right: 1px solid var(--line);
}
.metric-card:last-child {
  border-right: none;
}
.ws .metric-card .metric-amount {
  font-weight: 480;
  font-size: clamp(25px, 2.8vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}
.metric-card .field-label {
  color: #526358;
}
.metric-card small {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
}
.overview-middle {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(220px, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.ws .panel {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(16px, 1.75vw, 25px);
}
.ws .panel-title {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}
.ws h2 {
  font-size: clamp(19px, 1.65vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-weight: 520;
}
.ws h3 {
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.025em;
}
.ws .panel .eyebrow,
.ws .dialog-bar .eyebrow {
  color: var(--muted);
}
.chart-value {
  display: block;
  font-size: clamp(27px, 2.5vw, 38px);
  letter-spacing: -0.055em;
  font-weight: 450;
}
.chart-canvas {
  display: block;
  width: 100%;
  height: auto;
  max-height: 170px;
  margin: 8px 0;
}
.chart-range,
.ws .review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chart-range {
  font: 10px monospace;
  color: var(--muted);
}
.ws .review {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #f1f3df;
  border-color: transparent;
}
.ws .review .eyebrow {
  color: #c2d7ac;
}
.ws .review h2 {
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 450;
  margin: 14px 0;
}
.ws .review .review-line {
  margin-top: auto;
  border-top: 1px solid #60816a;
  padding-top: 15px;
  color: #e0eccd;
  font-size: 13px;
}
.ws .review p {
  color: #d7e2cf;
  font-size: 14px;
  margin-bottom: 22px;
}
.ws .stamp {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #b7cbab;
  color: #385637;
  background: #edf2e6;
  font:
    11px/1.4 'SFMono-Regular',
    Consolas,
    monospace;
  border-radius: 2px;
  white-space: nowrap;
}
.ws .stamp.amber {
  background: #f6ecd7;
  border-color: #d9c49b;
  color: #704c20;
}
.ws .stamp.gray {
  background: #eeefea;
  border-color: #cdd1c7;
  color: #526054;
}
.ws .filters,
.ws .button-row {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.ws .filters select,
.ws .filters input {
  max-width: 100%;
  min-height: 38px;
  font-size: 14px;
}
.ws .filters label {
  margin-bottom: 0;
}
.ws .filters label select,
.ws .filters label input {
  display: block;
  margin-top: 5px;
}
.ws .table-wrap {
  width: 100%;
  overflow: auto;
}
.ws table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.ws th,
.ws td {
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  overflow-wrap: anywhere;
}
.ws th {
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  background: #f3f4ec;
}
.ws td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.ws tr:last-child td {
  border-bottom: 0;
}
.ws .empty,
.ws .loading {
  padding: 24px 0;
  color: var(--muted);
  font-size: 14px;
}
.ws .workspace-status:empty,
.ws .form-error:empty {
  display: none;
}
.ws .more {
  margin-top: 12px;
}
.ws .upload-zone {
  border: 1px dashed #8da586;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #edf2e5;
  padding: 14px 17px;
  margin-bottom: 18px;
}
.ws .upload-zone.drag {
  outline: 2px solid var(--ink);
}
.ws .progress-list {
  margin: 0 0 15px;
  padding-left: 20px;
  font-size: 13px;
}
.ws .correction {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.ws .card-list {
  display: grid;
  gap: 12px;
}
.ws .record-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  min-width: 0;
}
.ws .record-card h3 {
  margin: 6px 0;
}
.ws .meter {
  display: block;
  accent-color: #477452;
  width: 100%;
  margin: 9px 0 3px;
}
.ws .usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.ws dialog {
  width: min(650px, calc(100% - 28px));
  max-height: 85svh;
  border: 1px solid #829584;
  color: var(--ink);
  background: var(--white);
  padding: 0;
  box-shadow: 0 22px 80px #0c231d33;
}
.ws dialog::backdrop {
  background: #0c251c70;
}
.ws .dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 9px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.dialog-bar button {
  font-size: 26px;
  width: 35px;
  height: 35px;
  line-height: 1;
}
.ws #detail-body {
  padding: 22px 24px 30px;
  overflow-wrap: anywhere;
}
.ws #detail-body h2 {
  font-size: 28px;
  margin: 8px 0 10px;
}
.ws #detail-body h3 {
  margin: 19px 0 7px;
}
.ws .detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.ws .evidence-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 14px 16px;
  background: #f0f1e9;
  font:
    13px/1.65 'SFMono-Regular',
    Consolas,
    monospace;
  max-height: 48vh;
  overflow: auto;
}
.ws .timeline {
  padding-left: 20px;
}
.ws .timeline li {
  padding: 3px 0;
}
.ws .timeline small {
  display: block;
  color: var(--muted);
}
.ws .facility {
  min-width: 110px;
  max-width: 230px;
  font-size: 13px;
}
.ws .icon-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ws .doc-icon {
  flex: none;
  width: 25px;
  height: 30px;
  border: 1px solid #a8b4a3;
  background: repeating-linear-gradient(0deg, transparent 0 4px, #acbca6 4px 5px) center/12px 10px no-repeat;
}
.ws .amount-negative {
  color: #904329;
}
.ws .text-link,
.ws .btn {
  touch-action: manipulation;
}
@media (hover: hover) {
  .ws .btn.primary:hover {
    background: #254f3c;
  }
  .ws .btn:not(.primary):hover,
  .ws-nav a:hover,
  .ws .metric-card:hover {
    background: #e5ebdc;
  }
  .ws .text-link:hover,
  .ws .row-link:hover,
  .ws .sample-cta a:hover {
    text-decoration: underline;
    text-decoration-color: currentColor;
  }
}
@media (max-width: 950px) {
  .ws-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .ws-sidebar {
    padding: 22px 12px;
  }
  .ws #ws-content {
    padding: 25px 19px 48px;
  }
  .overview-middle {
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.85fr);
  }
  .ws .metric-card {
    padding: 14px 12px;
    min-height: 112px;
  }
}
@media (max-width: 720px) {
  .signin {
    display: block;
  }
  .access {
    min-height: 85svh;
    padding: 22px;
  }
  .access-form {
    padding: 55px 0;
  }
  .access-foot {
    margin-top: auto;
  }
  .access-figure {
    min-height: 0;
    padding: 27px 22px;
  }
  .plate-art {
    max-height: 300px;
  }
  .ws-top {
    height: 58px;
    padding: 0 16px;
  }
  .ws-top > div {
    gap: 10px;
  }
  .ws-top .ws-brand img {
    width: 104px;
  }
  .ws-top .eyebrow,
  .top-rule {
    display: none;
  }
  .ws .system {
    font-size: 8px;
  }
  .ws #menu-toggle {
    display: block;
    border: 1px solid #92a08e;
    padding: 6px 9px;
    font-size: 13px;
  }
  .ws-layout {
    display: block;
  }
  .ws-sidebar {
    display: none;
  }
  .ws-sidebar.open {
    display: flex;
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 17px 20px;
  }
  .ws-sidebar.open .tenant-id {
    margin-bottom: 14px;
  }
  .ws-sidebar.open .ws-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ws-sidebar.open .ws-nav .eyebrow {
    grid-column: 1/-1;
  }
  .ws-sidebar.open .ws-nav .group2 {
    margin-top: 10px;
  }
  .ws-sidebar.open .side-bottom {
    display: flex;
    justify-content: space-between;
    padding: 12px 8px 0;
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }
  .side-bottom span {
    float: none;
  }
  .ws #ws-content {
    padding: 23px 15px 46px;
  }
  .view-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .ws .view-heading h1 {
    font-size: 42px;
  }
  .ws .metric-card .field-label {
    font-size: 9px;
    letter-spacing: 0.025em;
  }
  .ws .metric-card small {
    font-size: 10px;
  }
  .ws .metric-card .metric-amount {
    font-size: clamp(18px, 5vw, 32px);
  }
  .overview-middle {
    grid-template-columns: 1fr;
  }
  .ws .review h2 {
    font-size: 28px;
  }
  .ws .overview-figures {
    margin-bottom: 12px;
  }
  .ws .overview-middle {
    gap: 12px;
  }
  .ws .usage-grid {
    grid-template-columns: 1fr;
  }
  .ws th,
  .ws td {
    padding: 10px 7px;
  }
  .ws .overview-docs .col-date,
  .ws .optional-col {
    display: none;
  }
  .ws .sample-cta {
    flex-wrap: wrap;
  }
  .view-heading .facility {
    max-width: 100%;
  }
  .ws .filters label {
    max-width: 100%;
  }
  .ws .row-link {
    min-height: 32px;
  }
  .ws .chart-canvas {
    max-height: 200px;
  }
}
@media (max-width: 365px) {
  .ws-top > div {
    gap: 6px;
  }
  .ws .metric-card {
    padding: 11px 7px;
  }
  .ws .metric-card .metric-amount {
    font-size: 18px;
  }
  .ws .sample-cta {
    display: block;
  }
  .ws .system {
    letter-spacing: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ws *,
  .ws *::before,
  .ws *::after {
    transition: none !important;
    animation: none !important;
  }
}

.ws .chart-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  max-width: 68ch;
}
