@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  font-family: "DM Sans", Inter, "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #181c17;
  --muted: #686e67;
  --line: #e5e7e1;
  --blue: #182318;
  --accent: #9acb52;
  --canvas: #f2f3f1;
  --sidebar: clamp(176px, 13.6vw, 196px);
  --page-pad: 14px;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
tr:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #4e732b;
  outline-offset: 2px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  color: var(--ink);
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.55px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.22px;
}
.icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 30;
  background: white;
  color: #254e20;
  padding: 12px;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.btn, .text-link, .badge, .table-identity, .filter-input, .filter-select,
.check-line, .dialog-close, .pager, .scenario-result, .chip {
  display: flex;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 590;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7464;
  font-size: 10px;
  margin-bottom: 4px;
}
.eyebrow-line {
  width: 13px;
  height: 1px;
  background: #729551;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 15px;
}
.page-head h1 {
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 590;
  letter-spacing: -1.3px;
  line-height: 1.16;
}
.page-head p,
.card-head p,
.settings-title p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 3px;
}
.card,
.metric {
  background: white;
  border: 1px solid #e9ebe5;
  border-radius: 7px;
  min-width: 0;
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px 11px;
}
.btn {
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 6px 10px;
  min-height: 31px;
  line-height: 1.35;
  font-size: 12px;
  font-weight: 570;
  white-space: nowrap;
}
.primary {
  background: #192219;
  border-color: #192219;
  color: white;
}
.primary:hover {
  background: #333f30;
}
.secondary {
  border-color: #dfe3db;
  background: white;
  color: #2b3228;
}
.secondary:hover,
.tertiary:hover {
  background: #f1f3ee;
}
.tertiary {
  background: transparent;
  color: #3d5134;
}
.text-link {
  gap: 3px;
  font-size: 12px;
  font-weight: 590;
  color: #2b3727;
  white-space: nowrap;
}
.badge {
  display: inline-flex;
  gap: 4px;
  width: max-content;
  border-radius: 4px;
  max-width: 100%;
  padding: 2px 6px;
  line-height: 1.45;
  font-size: 11.5px;
  font-weight: 570;
  white-space: nowrap;
}
.badge i {
  background: currentColor;
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.blue,
.green,
.teal {
  background: #edf5df;
  color: #466a25;
}
.purple,
.slate {
  background: #f0f1ec;
  color: #626950;
}
.amber {
  background: #fff3d5;
  color: #805818;
}
.red {
  background: #fff0e4;
  color: #994b22;
}
.metric-icon,
.large-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
}
.large-icon {
  width: 34px;
  height: 34px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.empty {
  text-align: center;
  padding: 26px 12px;
  color: #737a6d;
  display: grid;
  justify-items: center;
  gap: 5px;
}
.empty strong {
  color: #444b3e;
  font-size: 13px;
}
.empty p {
  font-size: 12px;
}
.table-scroll {
  position: relative;
  overflow-x: auto;
  scrollbar-width: thin;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
thead th {
  font-size: 11.5px;
  color: #71786b;
  font-weight: 550;
  white-space: nowrap;
  background: #f9faf7;
  border-block: 1px solid #e9ebe5;
  padding: 8px 11px;
}
th:first-child,
td:first-child {
  padding-left: 15px;
}
th:last-child,
td:last-child {
  padding-right: 15px;
}
td {
  padding: 10px 11px;
  border-bottom: 1px solid #eceee7;
  color: #363d31;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr[data-act] {
  cursor: pointer;
}
tbody tr[data-act]:hover {
  background: #f7f9f3;
}
.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.table-identity {
  gap: 8px;
  min-width: 105px;
}
.table-identity b,
.table-identity small {
  display: block;
}
.table-identity b {
  font-size: 13px;
  font-weight: 550;
}
.table-identity small {
  font-size: 11px;
  color: #82887c;
  margin-top: 2px;
}
.merchant-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 650;
}
.m0 {
  background: #dcebb9;
  color: #446127;
}
.m1 {
  background: #f4e7ce;
  color: #735a32;
}
.m2 {
  background: #e8e8e0;
  color: #515648;
}
.m3 {
  background: #fce6cf;
  color: #8b613b;
}
.m4 {
  background: #e8ecd7;
  color: #616d46;
}
.m5 {
  background: #eef2bb;
  color: #6a7138;
}
.list-tools,
.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}
.filter-input,
.filter-select {
  gap: 6px;
  border: 1px solid #dfe3d9;
  border-radius: 5px;
  padding: 0 8px;
  height: 32px;
  background: white;
  color: #6e7768;
}
.filter-input input,
.filter-select select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  max-width: 100%;
  min-width: 0;
  outline: 0;
}
.filter-input input {
  width: 200px;
}
.filter-input:focus-within,
.filter-select:focus-within {
  outline: 2px solid #8da66f;
}
.list-footer {
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.pager {
  gap: 6px;
}
.pager .btn {
  min-height: 25px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.settings-panel {
  padding: 16px;
}
.settings-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.settings-title .badge {
  margin-left: auto;
}
.settings-title p {
  font-size: 12px;
}
.detail-list {
  margin: 9px 0 16px;
}
.detail-list > div,
.check-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e9ece4;
  padding: 8px 0;
  font-size: 13px;
}
.detail-list dt {
  color: var(--muted);
  flex-shrink: 0;
}
.detail-list dd {
  margin: 0;
  text-align: right;
  font-weight: 520;
  overflow-wrap: anywhere;
}
.break {
  overflow-wrap: anywhere;
}
.chip-wrap,
.dialog-actions,
.inline-tags,
.pub-line,
.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-wrap {
  margin-top: 8px;
}
.chip {
  gap: 4px;
  background: #f5f7f1;
  border: 1px solid #e2e7d9;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  color: #57644a;
}
.check-line {
  align-items: center;
}
.check-detail {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 3px;
}
.check-line > span:first-child {
  max-width: 78%;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 550px;
}
.form-stack label,
.field-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #4a5344;
  font-size: 13px;
  font-weight: 550;
}
.form-stack input,
.form-stack select,
.form-stack textarea,
.field-label input {
  background: white;
  color: #283024;
  border: 1px solid #d3dace;
  border-radius: 5px;
  padding: 8px 9px;
  width: 100%;
  font-size: 14px;
}
.form-stack textarea {
  resize: vertical;
  min-height: 62px;
}
.form-stack #live-fields label + label {
  margin-top: 10px;
}
.notice,
.inline-error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 10px;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.4;
}
.notice {
  background: #f3f5ee;
  color: #55604a;
  margin: 10px 0;
}
.inline-error {
  background: #fff1e8;
  color: #934823;
  margin: 7px 0;
}
dialog {
  padding: 0;
  border: 1px solid #dfe4d8;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  width: min(520px, calc(100% - 26px));
  max-height: 87dvh;
  box-shadow: 0 15px 58px #19221930;
  margin: auto;
  overflow: auto;
}
dialog::backdrop {
  background: #1c241d45;
  backdrop-filter: blur(2px);
}
dialog.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 10px 0 0 10px;
  height: 100dvh;
  max-height: 100dvh;
  width: min(500px, 100%);
  margin: 0;
}
dialog > header {
  padding: 17px 18px 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
dialog h2 {
  font-size: 20px;
  font-weight: 610;
  letter-spacing: -0.65px;
}
.dialog-close {
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  background: #f2f4ee;
  color: #56604e;
  border-radius: 5px;
}
.dialog-body {
  padding: 15px 18px 19px;
}
.dialog-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
}
.scenario-choices,
.search-results {
  display: grid;
  gap: 6px;
}
.scenario-choice,
.search-result,
.notification {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  color: var(--ink);
  background: white;
  border: 1px solid #e2e6db;
  border-radius: 5px;
  padding: 9px;
  text-align: left;
}
.scenario-choice:hover,
.search-result:hover,
.notification:hover {
  border-color: #acbf8c;
  background: #f7f9f2;
}
.scenario-choice > span:not(.metric-icon),
.search-result > span,
.notification > span:not(.notice-dot) {
  flex: 1;
}
.scenario-choice strong,
.search-result b,
.notification b {
  font-size: 13px;
  font-weight: 600;
  display: block;
}
.scenario-choice small,
.search-result small,
.notification small {
  display: block;
  font-size: 12px;
  color: #6b7564;
  line-height: 1.5;
  margin-top: 2px;
}
.notification + .notification {
  margin-top: 6px;
}
.notice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #96b75c;
}
.dialog-body .subsection {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin-top: 16px;
}
.subsection h3 {
  margin-bottom: 8px;
}
.evidence-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.evidence-list li {
  position: relative;
  margin-left: 4px;
  border-left: 1px solid #dfe5d7;
  padding: 0 0 12px 12px;
  font-size: 13px;
}
.evidence-list li:last-child {
  border-left-color: transparent;
}
.evidence-list li:before {
  content: "";
  position: absolute;
  top: 4px;
  left: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9cb97a;
}
.evidence-list time {
  display: block;
  color: #76816e;
  font-size: 11px;
  margin: 2px 0;
}
.evidence-list p {
  line-height: 1.5;
  color: #4c5745;
}
.dialog-actions {
  margin-top: 11px;
}
.dialog-search {
  width: 100%;
  height: 37px;
  margin-bottom: 9px;
}
.dialog-search input {
  width: 100%;
  font-size: 14px;
}
.role-option {
  width: 100%;
  border: 1px solid #e2e6dc;
  background: white;
  color: #30372c;
  text-align: left;
  padding: 9px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.role-option.current {
  background: #f1f6e7;
  border-color: #9fb67d;
}
.dialog-summary {
  background: #f5f7f1;
  border-radius: 5px;
  padding: 11px;
  line-height: 1.5;
  color: #47513f;
  font-size: 13px;
}
.inline-tags {
  margin-bottom: 10px;
}
.scenario-result {
  gap: 6px;
  margin-bottom: 13px;
  font-size: 13px;
  color: #516c35;
}
.compare-table {
  border: 1px solid var(--line);
  border-radius: 5px;
}
.compare-table th,
.compare-table td {
  padding: 7px;
  font-size: 12px;
}
.compare-table td.difference {
  background: #fff2d8;
  color: #805510;
  font-weight: 650;
}
.source-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.source-compare > div {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px;
}
.source-compare small,
.source-compare strong {
  display: block;
}
.source-compare small,
.source-compare p {
  font-size: 12px;
  color: var(--muted);
}
.source-compare strong {
  font-size: 20px;
  margin: 4px 0;
}
#toasts {
  position: fixed;
  bottom: 13px;
  left: calc(var(--sidebar) + var(--page-pad));
  z-index: 30;
}
.toast {
  background: #202a1f;
  color: white;
  border: 1px solid #3d4939;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 13px;
  max-width: min(450px, 90vw);
  box-shadow: 0 4px 19px #13251424;
}
.toast.error {
  background: #774b34;
}
.auth-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #f1f3ee;
}
.auth-card {
  padding: 26px;
  width: 100%;
  max-width: 450px;
}
.auth-card > img {
  width: 37px;
  margin-bottom: 16px;
}
.auth-card h1 {
  font-size: 24px;
  margin-bottom: 7px;
}
.auth-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 17px;
}
.login-error:empty {
  display: none;
}
.governance-card {
  margin-top: 10px;
}
.publication-list {
  padding: 0 15px;
}
.publication {
  display: flex;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.pub-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: #f1f4e8;
  color: #5a7044;
}
.pub-copy {
  min-width: 0;
  flex: 1;
}
.pub-line {
  align-items: center;
  justify-content: space-between;
}
.pub-copy p {
  font-size: 13px;
  color: #5c6755;
  margin: 4px 0;
}
.pub-copy small {
  font-size: 11px;
  color: #737d6a;
}
.publication-links {
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.inline-link {
  background: #f3f6ed;
  border: 1px solid #e0e5d6;
  color: #495f38;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 11px;
}
@container byte-viewport (max-width: 1080px) {
  .settings-grid { grid-template-columns: 1fr; }
}
@container byte-viewport (max-width: 760px) {
  .page-head h1 { font-size: 24px; }
  .page-head p { font-size: 12px; }
  .list-tools { padding: 9px; gap: 6px; }
  .filter-input input { width: 100%; }
  .filter-select { max-width: 43%; }
  .toast { max-width: calc(100vw - 20px); }
}
@container byte-viewport (max-width: 525px) {
  .dialog-body { padding: 13px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
