:root {
  --canvas: #f7f8f3;
  --paper: #fff;
  --sidebar: #19352b;
  --green: #315f44;
  --ink: #34422f;
  --muted: #87917d;
  --line: #e5e9dd;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font:
    14px/1.5 "Segoe UI",
    Inter,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #83b792;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: var(--green);
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 650;
  margin-bottom: 9px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.35px;
  font-weight: 650;
  margin-bottom: 4px;
}
h3 {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 7px;
}
p {
  line-height: 1.7;
}
.muted,
.caption {
  color: var(--muted);
}
.caption {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 12px;
}
.mono {
  font-family: Consolas, monospace;
  font-size: 12px;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
#sidebar {
  width: 250px;
  position: fixed;
  inset: 0 auto 0 0;
  padding: 29px 21px 20px;
  background: var(--sidebar);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand-thin {
  font-weight: 400;
  color: #b6d2cb;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 500;
  color: #8bad9f;
  margin-top: 4px;
}
.brand-mark {
  width: 37px;
  height: 39px;
  background: #d0f0d7;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #173c31;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -4px;
  padding-right: 5px;
}
.workspace-pill {
  margin: 32px 0 20px;
  border: 1px solid #38534b;
  border-radius: 8px;
  padding: 10px 9px;
  font-size: 11px;
  color: #d0e1dc;
  display: flex;
  align-items: center;
  gap: 7px;
}
.workspace-pill > span:last-child {
  margin-left: auto;
  color: #89a69a;
  font-size: 9px;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #85caaa;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #79958b;
  margin: 27px 12px 9px;
}
.new-button {
  width: 100%;
  justify-content: center;
}
.new-button.primary {
  background: #daedc7;
  color: #294b33;
}
nav {
  display: grid;
  gap: 5px;
}
nav a,
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #acbfb7;
  padding: 12px 13px;
  border-radius: 7px;
  font-size: 13px;
}
nav a.active,
.sidebar-bottom > a.active {
  background: #294a3e;
  color: #eefaf2;
  box-shadow: inset 3px 0 #a5dcac;
}
nav a:hover,
.sidebar-bottom > a:hover {
  background: #284238;
  color: #fff;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  border-top: 1px solid #324e41;
  border-bottom: 1px solid #324e41;
  padding: 20px 4px;
  display: flex;
  align-items: start;
  gap: 8px;
  color: #bdcfc6;
  font-size: 10px;
  margin-top: 22px;
}
.sidebar-note .live-dot {
  margin-top: 5px;
}
.sidebar-note small {
  display: block;
  color: #769489;
  font-size: 10px;
  margin-top: 5px;
}
.logout {
  border: 0;
  background: none;
  color: #97b0a4;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  padding: 18px 6px 0;
}
.app-shell {
  margin-left: 250px;
}
#topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafbf8;
}
.breadcrumb {
  font-size: 12px;
  color: #879187;
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb strong {
  color: #405348;
  font-weight: 500;
}
.top-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #8b938a;
}
.avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #ecefe7;
  color: #3b5141;
  font-weight: 650;
  border: 1px solid #d9dfd1;
}
main {
  padding: 36px 40px 24px;
  max-width: 1650px;
  margin: auto;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #9a9f96;
  margin: 10px 40px 0;
  padding: 20px 0;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 29px;
}
.page-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.button,
button.primary,
button.secondary,
button.danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  border: 1px solid transparent;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.16s,
    transform 0.16s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--green);
  color: white;
}
.primary:hover {
  background: #1a5140;
}
.secondary,
.button.quiet {
  border-color: var(--line);
  background: white;
  color: #526052;
}
.secondary:hover,
.button.quiet:hover {
  background: #f0f4ea;
}
.danger {
  color: #a04040;
  background: #fcf0ed;
  border-color: #efd4cf !important;
}
.text-button {
  border: 0;
  background: none;
  color: var(--green);
  font-size: 12px;
  padding: 5px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 3px #26351c03;
  padding: 24px;
  margin-bottom: 22px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.panel-head p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.metric-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #778274;
}
.metric-label .icon {
  color: #93a28a;
}
.metric strong {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 600;
  display: block;
  margin: 11px 0 5px;
  color: #28372c;
}
.metric small {
  font-size: 10px;
  color: #89927e;
}
.metric.featured {
  background: #f0f5e8;
  border-color: #dce7cf;
}
.metric.featured strong {
  color: #37512c;
}
.accent-line {
  height: 3px;
  width: 34px;
  border-radius: 2px;
  background: #abc294;
  margin-top: 12px;
}
.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 22px;
}
.grid-half {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.grid-main > .panel,
.grid-half > .panel {
  min-width: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 8px;
  border-radius: 5px;
  max-width: 100%;
}
.VALID,
.COMPLETED,
.HEALTHY,
.success {
  background: #eaf4e6;
  color: #507b40;
}
.INVALID,
.FAILED,
.error {
  background: #f9ece7;
  color: #b65a49;
}
.RISKY,
.CATCH_ALL,
.PAUSED {
  background: #faf2df;
  color: #a88336;
}
.UNKNOWN,
.QUEUED,
.PENDING {
  background: #f0ecf6;
  color: #85709f;
}
.RUNNING,
.PROCESSING,
.info {
  background: #eaf2f3;
  color: #4f7f8b;
}
.OFFLINE,
.CANCELLED {
  background: #eeefed;
  color: #777d74;
}
.health-pill {
  font-size: 10px;
  color: #67834f;
  background: #f1f6eb;
  border: 1px solid #e1eacf;
  padding: 5px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.banner {
  background: #faf4e6;
  border: 1px solid #ecdfbd;
  border-radius: 8px;
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 12px;
  color: #866d32;
}
.banner.info {
  background: #edf3f1;
  border-color: #d5e3dc;
  color: #49695a;
}
.banner p {
  margin: 4px 0 0;
}
.progress {
  display: flex;
  height: 7px;
  background: #edf0e8;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
}
.progress > span {
  background: var(--green);
  border-radius: 8px;
  min-width: 0;
}
.progress.stack {
  height: 8px;
  gap: 3px;
}
.progress.stack > span {
  border-radius: 3px;
}
.progress .VALID {
  background: #8eb183;
}
.progress .INVALID {
  background: #d39485;
}
.progress .RISKY {
  background: #d7bd80;
}
.progress .CATCH_ALL {
  background: #c9b280;
}
.progress .UNKNOWN {
  background: #ad9dbb;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.job-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.job-card:first-child {
  border-top: 0;
  padding-top: 0;
}
.job-card:last-child {
  padding-bottom: 0;
}
.file-title {
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 0;
}
.file-icon {
  width: 35px;
  height: 39px;
  border: 1px solid #e0e7d9;
  border-radius: 6px;
  background: #f5f8f0;
  display: grid;
  place-items: center;
  color: #8ba278;
  flex-shrink: 0;
}
.file-title strong {
  font-size: 13px;
  font-weight: 600;
  display: block;
  overflow-wrap: anywhere;
}
.file-title small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 8px 0;
}
.donut {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  position: relative;
}
.donut svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-center strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.8px;
}
.donut-center small {
  font-size: 9px;
  color: var(--muted);
}
.legend {
  display: grid;
  gap: 12px;
  flex: 1;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #727c6a;
}
.legend-row strong {
  margin-left: auto;
  font-weight: 600;
  color: #40513a;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 500;
  color: #929a88;
  text-align: left;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf9;
  white-space: nowrap;
}
td {
  padding: 16px 13px;
  border-bottom: 1px solid #eef0e9;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfdf9;
}
td a {
  font-weight: 600;
}
.reason-cell {
  max-width: 260px;
  color: var(--muted);
}
.table-panel {
  padding: 0;
  overflow: hidden;
}
.table-panel .panel-head {
  padding: 23px 24px 0;
}
.table-panel .table-foot {
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.provider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  gap: 12px;
}
.provider-row:last-child {
  border-bottom: 0;
}
.provider-logo {
  width: 31px;
  height: 31px;
  border: 1px solid #e8eadd;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f8f9f3;
  color: #798c69;
  font-weight: 650;
  font-size: 13px;
  flex-shrink: 0;
}
.provider-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.provider-title small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 12px;
}
.empty strong {
  display: block;
  color: #46593f;
  font-size: 15px;
  margin-bottom: 7px;
}
.empty .icon {
  height: 30px;
  width: 30px;
  margin-bottom: 10px;
  color: #a7b69a;
}
.empty .button {
  margin-top: 15px;
}
.row {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.row > * {
  flex: 1;
  min-width: 160px;
}
.row .button {
  flex: 0 0 auto;
  min-width: auto;
}
label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: #52614a;
  margin-bottom: 7px;
}
input,
select,
textarea {
  border: 1px solid #dce2d4;
  border-radius: 7px;
  background: #fff;
  color: #35482f;
  width: 100%;
  padding: 11px 12px;
  font-size: 12px;
  max-width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #89a97c;
}
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  padding: 0;
}
textarea {
  resize: vertical;
  min-height: 85px;
}
.field {
  margin-bottom: 19px;
}
.field small {
  display: block;
  color: #8c9682;
  font-size: 10px;
  margin-top: 6px;
}
.checkbox-label {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.checkbox-label input {
  margin-top: 2px;
  flex-shrink: 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toolbar select {
  min-width: 160px;
  width: auto;
}
.search-box {
  max-width: 270px;
}
.upload-zone {
  padding: 44px 20px;
  border: 1.5px dashed #becdab;
  border-radius: 10px;
  text-align: center;
  background: #fafcf6;
  margin-bottom: 18px;
}
.upload-zone .icon {
  width: 34px;
  height: 34px;
  color: #829c6d;
  margin-bottom: 10px;
}
.upload-zone label {
  font-size: 15px;
}
.upload-zone p {
  font-size: 11px;
  color: var(--muted);
}
.upload-zone input {
  max-width: 410px;
  background: #fff;
}
.step {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 23px;
}
.step > span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eff4e7;
  display: grid;
  place-items: center;
  color: #7c9965;
  font-size: 11px;
}
.step h2 {
  margin: 0;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  overflow-x: auto;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  white-space: nowrap;
  padding: 12px 1px;
  font-size: 12px;
  color: #859179;
}
.tabs button.active {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 650;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 24px;
}
.settings-aside {
  background: #eef3e6;
  border: 1px solid #dfe8d1;
  border-radius: 11px;
  padding: 24px;
  height: fit-content;
}
.settings-aside p {
  font-size: 12px;
  color: #7d8d6d;
}
.settings-aside .icon {
  color: #8fa47b;
  width: 24px;
  height: 24px;
  margin-bottom: 14px;
}
.settings-section {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.settings-section:first-child {
  padding-top: 0;
}
.settings-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.settings-section > p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}
.save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.save-bar small {
  font-size: 10px;
  color: var(--muted);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.provider-config {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px;
  margin: 12px 0;
}
.provider-config .settings-grid {
  margin-top: 18px;
}
.provider-config .field {
  margin-bottom: 8px;
}
.subtle-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
}
.subtle-list div {
  font-size: 11px;
  color: #829471;
  display: flex;
  gap: 9px;
}
.stat-pair {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.stat-pair:last-child {
  border-bottom: 0;
}
.stat-pair strong {
  color: #465b3b;
  font-weight: 500;
}
.result-metrics {
  grid-template-columns: repeat(5, 1fr);
}
.result-metrics .metric {
  padding: 16px;
}
.result-metrics .metric strong {
  font-size: 24px;
}
.result-metrics .metric-label {
  font-size: 10px;
}
.result-metrics .metric-label span {
  min-height: 30px;
}
.job-totals {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 17px;
}
.job-totals strong {
  color: var(--ink);
  margin-left: 5px;
}
.export-box {
  background: #f8faf4;
  border: 1px solid #e4eadc;
  padding: 18px;
  border-radius: 8px;
  margin-top: 22px;
}
.export-box select {
  max-width: 320px;
}
.export-box .actions {
  margin-top: 14px;
}
.export-box p {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 0;
}
.export-box .button {
  font-size: 10px;
  padding: 9px 12px;
}
.timeline-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.timeline-row:last-child {
  border: 0;
}
.timeline-row time {
  color: #9aa38e;
  font-size: 10px;
  min-width: 66px;
}
.timeline-row p {
  margin: 0;
  color: #66795a;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.pagination span {
  font-size: 11px;
  color: var(--muted);
}
.link-arrow {
  color: #93a981;
  font-size: 18px;
}
.note-card {
  border-left: 3px solid #becd9e;
  padding: 10px 14px;
  background: #f5f8ef;
  color: #7b8b66;
  font-size: 11px;
  line-height: 1.7;
}
details summary {
  cursor: pointer;
  color: #5b7850;
  font-size: 11px;
}
details[open] summary {
  margin-bottom: 14px;
}
dl {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 2fr;
  gap: 9px;
  font-size: 11px;
  margin: 12px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #415938;
}
pre {
  background: #f4f6ef;
  padding: 12px;
  overflow: auto;
  max-height: 260px;
  font-size: 10px;
  border-radius: 6px;
  max-width: 560px;
}
.result-detail {
  min-width: 130px;
}
.result-detail[open] {
  min-width: 300px;
}
#notice {
  padding: 13px 18px;
  border: 1px solid #dbc9a5;
  border-radius: 8px;
  background: #fcf6e7;
  color: #826c3b;
  font-size: 12px;
  margin-bottom: 20px;
}
#notice.success {
  background: #edf4e8;
  border-color: #d0dfc4;
  color: #4e7340;
}
.login #sidebar,
.login #topbar,
.login footer {
  display: none !important;
}
.login .app-shell {
  margin: 0;
}
.login main {
  max-width: none;
  padding: 0;
}
.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.login-story {
  background: #183c2d;
  color: #e7efdf;
  padding: 60px 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.login-story:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #395643;
  border-radius: 50%;
  bottom: -220px;
  left: -140px;
  box-shadow:
    0 0 0 65px #ffffff03,
    0 0 0 130px #ffffff02;
}
.login-story h1 {
  font-size: 46px;
  line-height: 1.17;
  font-weight: 450;
  letter-spacing: -2px;
  max-width: 360px;
  position: relative;
}
.login-story p {
  font-size: 13px;
  color: #a5bda6;
  max-width: 340px;
  position: relative;
}
.login-story small {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #97ae93;
  position: relative;
}
.login-form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.login-box {
  width: 340px;
}
.login-box h2 {
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.login-box > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 32px;
}
.login-box .primary {
  width: 100%;
  margin-top: 8px;
}
.login-box .caption {
  margin-top: 25px;
  text-align: center;
}
.login #notice {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  max-width: 400px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.loading:before {
  content: "";
  display: block;
  margin: 0 auto 15px;
  width: 25px;
  height: 25px;
  border: 2px solid #e1e8d8;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 1600px) {
  main {
    padding-top: 46px;
  }
  .metric strong {
    font-size: 36px;
  }
  .grid-main {
    grid-template-columns: 1.8fr 1fr;
  }
}
@media (max-width: 1200px) {
  #sidebar {
    width: 218px;
    padding: 27px 16px;
  }
  .app-shell {
    margin-left: 218px;
  }
  main {
    padding: 28px 25px;
  }
  #topbar {
    padding: 0 25px;
  }
  .grid-main {
    grid-template-columns: 1fr;
  }
  .donut-wrap {
    justify-content: center;
  }
  .legend {
    max-width: 270px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-aside {
    display: none;
  }
  .metric {
    padding: 17px 15px;
  }
  .metrics {
    gap: 11px;
  }
  .brand {
    font-size: 18px;
  }
}
@media (max-width: 800px) {
  #sidebar {
    position: static;
    width: auto;
    padding: 16px 20px;
  }
  .brand small,
  .workspace-pill,
  .nav-label,
  .new-button,
  .sidebar-note,
  .sidebar-bottom > a {
    display: none !important;
  }
  .brand-mark {
    width: 30px;
    height: 32px;
    font-size: 22px;
  }
  .brand {
    font-size: 20px;
  }
  nav {
    display: flex;
    gap: 4px;
    overflow: auto;
    margin-top: 15px;
  }
  nav a {
    padding: 8px 11px;
    font-size: 11px;
    white-space: nowrap;
  }
  nav a .icon {
    display: none;
  }
  .sidebar-bottom {
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .logout {
    padding: 3px;
    font-size: 10px;
    gap: 10px;
  }
  .app-shell {
    margin: 0;
  }
  #topbar {
    height: 52px;
    padding: 0 20px;
  }
  .top-meta #today {
    display: none;
  }
  main {
    padding: 24px 20px;
  }
  .page-head {
    gap: 15px;
    align-items: start;
  }
  h1 {
    font-size: 26px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head .button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-half {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 19px;
    border-radius: 9px;
  }
  .table-panel {
    padding: 0;
  }
  .result-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .settings-grid {
    gap: 0 12px;
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-story {
    display: none;
  }
  .login-form-area {
    min-height: 100vh;
    padding: 32px;
  }
  footer {
    margin: 10px 20px 0;
    font-size: 9px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar select {
    width: 100%;
    min-width: 0;
  }
  .panel-head {
    align-items: start;
  }
  .table-panel .panel-head {
    padding: 19px 19px 0;
  }
  .donut {
    width: 140px;
    height: 140px;
  }
  .save-bar {
    align-items: start;
  }
  .row {
    gap: 12px;
  }
}
@media (max-width: 420px) {
  main {
    padding: 22px 14px;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .metric strong {
    font-size: 27px;
  }
  .result-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .donut-wrap {
    gap: 16px;
  }
  .donut {
    width: 120px;
    height: 120px;
  }
  .donut-center strong {
    font-size: 21px;
  }
  .legend-row {
    font-size: 10px;
  }
  nav a {
    padding: 8px;
  }
  .panel-head {
    gap: 10px;
  }
  .badge {
    font-size: 9px;
  }
  .top-meta {
    display: none;
  }
}

progress {
  appearance: none;
  border: 0;
  border-radius: 6px;
  display: block;
  width: 100%;
  height: 7px;
  background: #edf0e8;
  margin: 15px 0 7px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #edf0e8;
}
progress::-webkit-progress-value {
  background: #73926a;
  border-radius: 6px;
}
progress::-moz-progress-bar {
  background: #73926a;
}
button.quiet {
  border: 1px solid var(--line);
  background: #f5f7f0;
  border-radius: 7px;
  padding: 9px 13px;
  color: var(--green);
}
.export-options {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.export-options select {
  max-width: 350px;
}
.export-options p {
  font-size: 12px;
}
#notice {
  padding: 13px 17px;
  margin-bottom: 20px;
  background: #edf3e9;
  border: 1px solid #d5e1cc;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.login #notice {
  position: fixed;
  top: 16px;
  left: 52%;
  right: 25px;
  z-index: 100;
}
.login .app-shell {
  margin: 0;
}
.login main {
  max-width: none;
  padding: 0;
}
.provider-title small {
  display: block;
}
.settings-aside button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 12px 15px;
  color: #7c8872;
  border-radius: 7px;
}
.settings-aside button.active {
  background: #e8edde;
  color: #345135;
  font-weight: 600;
}
.provider-config {
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 18px 0;
  padding: 17px;
}
.provider-config legend {
  font-weight: 600;
  padding: 0 7px;
}
.legend-dot.VALID {
  background: #82a374;
}
.legend-dot.INVALID {
  background: #cb927f;
}
.legend-dot.RISKY {
  background: #d9bf82;
}
.legend-dot.CATCH_ALL {
  background: #b8a37d;
}
.legend-dot.UNKNOWN {
  background: #a99bb7;
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  color: #a6b09c;
}
.row > * {
  min-width: 0;
  flex: 1;
}
.row {
  flex-wrap: wrap;
}
.table-wrap td {
  overflow-wrap: anywhere;
}
.settings-grid {
  align-items: start;
}
@media (max-width: 800px) {
  .sidebar-bottom {
    display: flex !important;
    gap: 10px;
    margin: 0;
  }
  .sidebar-bottom .sidebar-note {
    display: none;
  }
  .sidebar-bottom > a {
    padding: 8px;
  }
  .sidebar-bottom .logout {
    width: auto;
    padding: 8px;
  }
  .login #notice {
    left: 15px;
  }
  .login-story {
    display: none;
  }
  .login-shell {
    display: block;
  }
  .login-form-area {
    min-height: 100vh;
    padding: 30px;
  }
}

:root {
  --muted: #6d7867;
}
#sidebar {
  overflow-y: auto;
}
.metric small,
.caption,
.file-title small {
  color: #6d7867;
}
.sidebar-note small {
  color: #9ab5a8;
}
footer {
  color: #707a6b;
}
nav a.mobile-settings {
  display: none;
}
@media (max-width: 1200px) {
  .settings-aside {
    display: flex;
    gap: 4px;
    overflow: auto;
    margin-bottom: 16px;
  }
  .settings-aside .note-card {
    display: none;
  }
  .settings-aside button {
    width: auto;
    white-space: nowrap;
  }
  .settings-layout {
    display: block;
  }
}
@media (max-width: 800px) {
  nav a.mobile-settings {
    display: flex;
  }
  .job-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.operator-warnings{position:relative;padding-right:60px}.dismiss-alerts{position:absolute;right:14px;top:12px;background:transparent;border:1px solid currentColor;border-radius:8px;width:32px;height:32px;font-size:24px;line-height:1;color:inherit;cursor:pointer}.dismiss-alerts:focus-visible{outline:3px solid #24745a;outline-offset:3px}.dismiss-alerts:disabled{opacity:.5}
