:root {
  color-scheme: light;
  --paper: #f6f6ef;
  --surface: #fcfcf7;
  --ink: #1d332b;
  --muted: #657067;
  --line: #d9ddd1;
  --green: #193b32;
  --green-dark: #18372f;
  --gold: #dcba7b;
  --orange: #92521f;
  --sage: #d4dfce;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Iowan Old Style', 'Baskerville', Georgia, serif;
  --sidebar: 220px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 14px/1.45 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  cursor: pointer;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a,
input,
select,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 2px solid #ad762d;
}
h1,
h2,
h3,
p,
ul,
dl {
  margin: 0;
}
svg {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
[hidden] {
  display: none !important;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  padding: 10px;
  background: white;
  z-index: 99;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  z-index: 5;
  background: var(--green-dark);
  color: #f4f2e7;
  display: flex;
  flex-direction: column;
  padding: 29px 16px 21px;
}
.brand {
  margin: 0 8px 23px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
}
.brand span {
  font: 600 34px/0.95 var(--serif);
  letter-spacing: -1.75px;
}
.brand-mark {
  width: 42px;
  height: 42px;
}
.side-rule {
  height: 1px;
  background: #ffffff23;
  margin: 0 6px;
}
.nav-caption {
  margin: 29px 14px 12px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #a0b5a9;
}
.navigation {
  display: grid;
  gap: 4px;
}
.navigation a {
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 6px;
  color: #c8d5cd;
  font-weight: 550;
  font-size: 13.5px;
  padding: 12px 14px;
}
.navigation a:hover,
.new-review:hover {
  background: #ffffff10;
  color: white;
}
.navigation [aria-current] {
  color: #f7f6ed;
  background: #355449;
  box-shadow: inset 0 0 0 1px #ffffff09;
}
.navigation [aria-current] .ico {
  color: #e3c28a;
}
.side-bottom {
  margin-top: auto;
}
.new-review {
  border: 1px solid #ffffff42;
  color: #e5eae0;
  border-radius: 5px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-weight: 550;
  font-size: 13px;
}
.local-mark {
  margin: 22px 0 0;
  border-top: 1px solid #ffffff26;
  padding: 18px 5px 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.local-icon {
  width: 32px;
  height: 34px;
  border: 1px solid #ffffff31;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #d0d9cc;
}
.local-mark b,
.local-mark small {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.local-mark small {
  font-size: 10.5px;
  color: #afc0b4;
  font-weight: 400;
  margin-top: 2px;
}
.page-shell {
  min-height: 100vh;
  margin-left: var(--sidebar);
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(26px, 3.2vw, 60px);
  gap: 16px;
  background: #f9faf3;
}
.crumb,
.switch-review,
.context,
.context span,
.btn,
.text-link,
.panel-link,
.metric-label,
.variance-foot,
.panel-title-line,
.section-heading,
.section-heading > div,
.row-actions {
  display: flex;
  align-items: center;
}
.crumb {
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.crumb > span:first-child {
  display: flex;
  align-items: center;
  margin-right: 1px;
}
.crumb b {
  font-weight: 600;
  color: #374c40;
}
.slash {
  color: #adb4a8;
}
.switch-review {
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 9px;
  border-radius: 4px;
}
.switch-review:hover {
  background: #e9ede3;
}
main,
.page-footer {
  width: min(100%, 1530px);
  margin-inline: auto;
  padding-inline: clamp(26px, 3.2vw, 60px);
}
main {
  padding-top: 35px;
  padding-bottom: 42px;
  flex: 1;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px;
}
h1 {
  font: 500 clamp(46px, 4.3vw, 69px)/1.05 var(--serif);
  letter-spacing: -2.6px;
}
h2 {
  font: 500 28px/1.12 var(--serif);
  letter-spacing: -0.9px;
}
h3 {
  font: 500 25px/1.15 var(--serif);
  letter-spacing: -0.7px;
}
.context {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
  font-size: 12.5px;
  color: #58655b;
}
.context span {
  gap: 6px;
}
.context i,
.foot-dot {
  color: #859188;
}
.context i {
  width: 3px;
  height: 3px;
  background: #a0a99d;
  border-radius: 50%;
}
.context .sample {
  color: #6d542a;
  border: 1px solid #d9c8a5;
  background: #f3ecda;
  font-size: 10px;
  line-height: 17px;
  font-weight: 600;
  border-radius: 4px;
  padding: 0 6px;
  gap: 4px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #c4ccbe;
  border-radius: 5px;
  background: #fbfcf5;
  color: #2c4738;
  font-size: 12px;
  font-weight: 640;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  background: #eaf0e3;
  border-color: #9faa98;
}
.btn.primary {
  border-color: #294f3d;
  background: #294d3c;
  color: #fffef4;
}
.btn.primary:hover {
  background: #375e49;
}
.btn.compact {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 11.5px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(238px, 1fr);
  gap: 16px;
  align-items: stretch;
}
.variance-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: #224a3c;
  color: #f8f8e9;
  border-radius: 9px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 22px 25px 0;
}
.variance-panel::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 95% 65%, #50735242, transparent 66%);
}
.variance-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.metric-label {
  gap: 8px;
  font-size: 10.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 1.55px;
  color: #d9e3d4;
}
.metric-label .ico {
  color: #d7c18b;
}
.status-tag {
  font-size: 10px;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 20px;
  background: #e5c58c;
  color: #453c24;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-tag span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8a622e;
}
.status-tag.is-matched {
  background: #c9dec1;
  color: #274f35;
}
.status-tag.is-matched span {
  background: #507653;
}
.variance-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 27px 0 24px;
}
.big-value {
  font: 500 clamp(39px, 4.4vw, 70px)/1 var(--serif);
  letter-spacing: -2.2px;
  font-variant-numeric: lining-nums tabular-nums;
  overflow-wrap: anywhere;
}
.metric-data h2 {
  margin-top: 9px;
  font: 500 13px/1.3 var(--sans);
  letter-spacing: 0;
  color: #e3eadc;
}
.comparison {
  display: grid;
  gap: 15px;
  padding-left: 20px;
  border-left: 1px solid #ffffff24;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px;
  font-size: 10.5px;
  color: #d3e0d1;
  margin-bottom: 6px;
}
.chart-label b {
  color: #f3f6e8;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 550;
}
.bar-track {
  height: 7px;
  border-radius: 1px;
  overflow: hidden;
  background: #ffffff1f;
}
.bar {
  height: 100%;
  border-radius: 1px;
  background: #adc4aa;
}
.bar.second {
  background: repeating-linear-gradient(125deg, #dfc28d 0, #dfc28d 3px, #c5a66e 3px, #c5a66e 4px);
}
.variance-foot {
  border-top: 1px solid #ffffff27;
  min-height: 40px;
  gap: 7px;
  font-size: 10.5px;
  color: #d8e4d7;
  line-height: 1.35;
}
.variance-foot .ico {
  color: #d4bd8b;
}
.foot-dot {
  color: #b3c6b4;
}
.metric-prompt {
  font-size: 12px;
  color: #cfdecd;
  padding-left: 14px;
  border-left: 1px solid #ffffff33;
}
.coverage-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 18px 21px 13px;
  display: flex;
  flex-direction: column;
}
.panel-title-line {
  justify-content: space-between;
  gap: 8px;
}
.panel-title-line h2 {
  font-size: 24px;
}
.count-badge,
.number-pill {
  color: #526554;
  background: #eaf0e4;
  border: 1px solid #d7dfcf;
  font: 600 11px/1.3 var(--sans);
  border-radius: 4px;
  padding: 3px 7px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.progress-tracks {
  display: flex;
  width: 100%;
  gap: 4px;
  margin: 14px 0 9px;
}
.progress-tracks i {
  flex: 1;
  height: 5px;
  background: #e9ece2;
  border-radius: 1px;
}
.progress-tracks i.filled {
  background: #698967;
}
.coverage-panel ul {
  list-style: none;
  padding: 0;
}
.coverage-panel li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.8px;
  color: #465448;
  padding: 2px 0;
  gap: 5px;
}
.coverage-ok {
  display: grid;
  place-items: center;
  background: #e6eddf;
  color: #47734b;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}
.public-count,
.coverage-absent {
  color: #836538;
  font-weight: 600;
  font-size: 10.5px;
}
.panel-link {
  justify-content: space-between;
  padding-top: 9px;
  margin-top: 8px;
  border-top: 1px solid #e0e4d7;
  color: #395c43;
  font-size: 11px;
  font-weight: 650;
}
.panel-link:hover,
.text-link:hover {
  color: #85541f;
  text-decoration: underline;
}
.section {
  margin-top: 29px;
}
.section-heading {
  gap: 9px;
  margin-bottom: 13px;
}
.section-heading h2 {
  min-width: 0;
}
.section-heading .subtle-meta,
.section-heading .btn {
  margin-left: auto;
}
.subtle-meta {
  font-size: 10.5px;
  font-weight: 550;
  color: #6a756b;
  letter-spacing: 0.8px;
}
.table-wrap,
.findings-list,
.source-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: right;
  white-space: nowrap;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
table th,
table td {
  border-bottom: 1px solid #e1e5da;
  padding: 14px 12px;
}
table th:first-child {
  text-align: left;
  padding-left: 16px;
}
table td:last-child,
table th:last-child {
  padding-right: 16px;
}
thead {
  background: #edf0e6;
  color: #596858;
}
thead th {
  font-size: 10px;
  font-weight: 650;
  padding-block: 10px;
  letter-spacing: 0.15px;
}
tbody th {
  font-size: 12px;
  font-weight: 600;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
.tax-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tax-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid #dbe1d2;
  background: #eff3e9;
  color: #5d735b;
  border-radius: 5px;
}
.variance-value {
  color: #536653;
  background: #edf2e7;
  padding: 4px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.variance-value.attention {
  color: #935527;
  background: #f6ead6;
}
td.attention {
  color: #935527;
}
.table-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 9px;
  font-size: 10.8px;
  color: #657168;
  line-height: 1.5;
}
.table-note .ico {
  margin-top: 1px;
}
.number-pill {
  min-width: 23px;
  text-align: center;
  padding: 2px 5px;
}
.finding + .finding,
.source-row + .source-row {
  border-top: 1px solid #e1e5da;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.finding summary,
.source-row summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
}
.finding summary:hover,
.source-row summary:hover {
  background: #f1f4eb;
}
.finding-symbol,
.source-symbol,
.report-icon,
.demo-icon,
.empty-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 6px;
  color: #5a7159;
  background: #ecf0e5;
}
.finding.attention .finding-symbol,
.report-icon.warm,
.demo-icon {
  background: #f5ead7;
  color: #9c6432;
}
.finding.good .finding-symbol {
  background: #e5eedf;
  color: #547950;
}
.finding-head {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.finding-head b {
  font-weight: 600;
  font-size: 13px;
}
.finding-chevron {
  margin-left: auto;
  color: #738274;
}
details[open] > summary > .finding-chevron,
details[open] > summary > .ico:last-child {
  transform: rotate(180deg);
}
.finding-content {
  padding: 0 45px 15px 58px;
  font-size: 12px;
  color: #526257;
  line-height: 1.6;
}
.finding-content span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #707c6f;
}
.no-findings {
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}
.page-footer {
  color: #717d70;
  padding-bottom: 20px;
  align-items: center;
  display: flex;
  gap: 9px;
  font-size: 10px;
}
.page-footer > span:first-child {
  font: 600 14px var(--serif);
  color: #5c705d;
  letter-spacing: -0.3px;
}
.footer-rule {
  width: 18px;
  height: 1px;
  background: #abb6a6;
}
.page-intro,
.section-copy,
.dialog-intro {
  color: #637064;
  line-height: 1.6;
}
.first-section {
  margin-top: 22px;
}
.section-copy {
  font-size: 13px;
  margin: -4px 0 15px;
}
.demo-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #e2d5b8;
  border-radius: 6px;
  background: #f8f2e4;
  color: #68573e;
  font-size: 12px;
}
.demo-notice strong {
  color: #614f32;
}
.demo-notice .text-link {
  margin-left: auto;
  white-space: nowrap;
}
.text-link {
  display: inline-flex;
  gap: 6px;
  color: #3d6046;
  font-weight: 600;
  font-size: 12px;
  padding: 0;
}
.identity-line,
.source-note {
  margin-bottom: 10px;
  color: #586957;
  font-size: 12px;
}
.source-row summary {
  padding: 16px;
}
.source-symbol {
  width: 36px;
  height: 36px;
}
.source-title {
  min-width: 0;
}
.source-title b,
.source-title small,
.case-option strong,
.case-option small {
  display: block;
}
.source-title b,
.case-option strong {
  font-size: 13px;
  font-weight: 600;
}
.source-title small,
.case-option small {
  color: #657466;
  font-size: 11.5px;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.soft-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  white-space: nowrap;
  color: #7a663e;
  font-size: 10px;
  font-weight: 600;
  text-transform: capitalize;
  padding: 3px 7px;
  background: #f3eddf;
  border-radius: 4px;
}
.soft-status.on-file {
  color: #466a46;
  background: #e9f0e3;
}
.source-body {
  padding: 2px 17px 17px 64px;
  font-size: 12px;
}
.source-meta {
  display: grid;
  gap: 6px;
}
.source-meta div {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  gap: 6px;
}
.source-meta dt,
.source-empty {
  color: #6b7769;
}
.source-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.source-note {
  margin-top: 8px;
}
.hash {
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.row-actions {
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.row-actions:empty {
  display: none;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.report-card {
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.report-icon {
  width: 47px;
  height: 47px;
  margin-bottom: 22px;
}
.file-type {
  position: absolute;
  right: 20px;
  top: 24px;
  font-weight: 600;
  letter-spacing: 1.2px;
  font-size: 10px;
  color: #71806c;
}
.report-card p {
  margin: 9px 0 20px;
  max-width: 55ch;
  color: #617061;
  font-size: 13px;
  line-height: 1.6;
}
.report-card .btn {
  margin-top: auto;
}
.loading,
.empty-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: #5d6d5e;
}
.empty-panel > * + * {
  margin-top: 13px;
}
dialog {
  border: 1px solid #cbd4c6;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  padding: 0;
  width: min(475px, calc(100% - 28px));
  max-height: calc(100dvh - 36px);
  box-shadow: 0 18px 70px #14271c38;
}
dialog::backdrop {
  background: #14281fd0;
  backdrop-filter: blur(2px);
}
#dialog-content {
  padding: 22px 24px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}
.icon-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #687965;
}
.icon-btn:hover {
  background: #e9eee2;
}
.dialog-intro {
  font-size: 12.5px;
  margin-bottom: 16px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
form label {
  display: block;
  color: #344e3d;
  font-size: 12px;
  font-weight: 600;
  margin: 12px 0;
}
input:not([type='checkbox']),
select {
  display: block;
  width: 100%;
  padding: 8px 10px;
  min-height: 37px;
  margin: 5px 0 0;
  border: 1px solid #bac8b6;
  border-radius: 4px;
  background: #fffef9;
  font-size: 13px;
  font-weight: 400;
}
input[type='file'] {
  font-size: 11px;
  padding: 7px;
}
input[type='file']::file-selector-button {
  background: #e9eee2;
  border: 1px solid #c6d1be;
  color: #374e39;
  border-radius: 3px;
  margin-right: 8px;
  padding: 4px 7px;
  font-family: inherit;
}
.fields-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fields-pair label {
  min-width: 0;
}
fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 12px 0 0;
  padding: 12px 0 0;
}
fieldset legend {
  font-weight: 600;
  font-size: 12px;
  padding-right: 7px;
}
fieldset legend span,
.field-optional {
  font-weight: 400;
  margin-left: 4px;
  color: #798276;
  font-size: 11px;
}
fieldset p,
.upload-help p,
.checkbox span {
  font-size: 12px;
  line-height: 1.55;
  color: #5b6a5d;
}
.upload-help,
.lookup-id {
  padding: 12px;
  background: #eff3e8;
  border-radius: 5px;
  margin: 12px 0;
}
.upload-help .text-link {
  margin-top: 8px;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
}
.checkbox input {
  accent-color: #3a6549;
  margin: 3px 0 0;
}
.form-error {
  border-left: 3px solid #ad6235;
  background: #f8ecdf;
  color: #7c482e;
  padding: 8px 10px;
  font-size: 12px;
  margin-top: 10px;
}
.case-list {
  display: grid;
  gap: 7px;
}
.case-option {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px 12px;
}
.case-option:hover {
  background: #eef3e8;
}
.selected-case {
  margin-left: auto;
  color: #587956;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translateX(-50%);
  z-index: 10;
  max-width: 90vw;
  border-radius: 5px;
  box-shadow: 0 4px 24px #152b1c33;
  padding: 11px 17px;
  color: #fffef4;
  background: #254d36;
  font-size: 13px;
}
@media (min-width: 1500px) {
  :root {
    --sidebar: 245px;
  }
  .sidebar {
    padding-inline: 23px;
  }
  .coverage-panel {
    padding: 22px 26px 16px;
  }
  .coverage-panel li {
    padding-block: 3px;
  }
  .variance-panel {
    padding-inline: 30px;
  }
  .variance-body {
    padding-block: 32px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 188px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .brand {
    margin-inline: 5px;
  }
  .brand span {
    font-size: 31px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(216px, 1fr);
    gap: 12px;
  }
  .variance-panel {
    padding: 18px 18px 0;
  }
  .coverage-panel {
    padding: 16px 15px 11px;
  }
  .panel-title-line h2 {
    font-size: 22px;
  }
  .variance-body {
    gap: 10px;
  }
  .comparison {
    padding-left: 14px;
  }
  table th,
  table td {
    padding-inline: 8px;
  }
  .tax-icon {
    display: none;
  }
}
@media (max-width: 960px) and (min-width: 761px) {
  :root {
    --sidebar: 166px;
  }
  .brand {
    gap: 4px;
  }
  .brand span {
    font-size: 28px;
  }
  .navigation a {
    padding-inline: 10px;
  }
  main,
  .page-footer,
  .topbar {
    padding-inline: 22px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(195px, 1fr);
  }
  .variance-body {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 11px 0 12px;
  }
  .comparison {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
    border: 0;
  }
  .chart-label {
    font-size: 9.5px;
  }
  .chart-label b {
    font-size: 10px;
  }
  .metric-data h2 {
    margin-top: 4px;
  }
  .variance-foot {
    font-size: 9px;
  }
  .metric-label {
    letter-spacing: 0.7px;
    font-size: 9px;
  }
  .status-tag {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 12px 18px 0;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .brand {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    gap: 5px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .brand span {
    font-size: 29px;
  }
  .side-rule,
  .nav-caption,
  .local-mark {
    display: none;
  }
  .side-bottom {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }
  .new-review {
    font-size: 11px;
    gap: 5px;
    padding: 6px 9px;
    min-height: 30px;
  }
  .navigation {
    grid-column: 1/-1;
    display: flex;
    margin-top: 12px;
    border-top: 1px solid #ffffff1f;
    gap: 9px;
  }
  .navigation a {
    justify-content: center;
    padding: 10px 9px;
    gap: 6px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    font-size: 12px;
  }
  .navigation a .ico {
    width: 15px;
    height: 15px;
  }
  .navigation [aria-current] {
    background: transparent;
    border-bottom-color: #dfbf83;
    box-shadow: none;
  }
  .topbar {
    min-height: 43px;
    padding-inline: 18px;
  }
  .crumb {
    font-size: 10.5px;
    gap: 6px;
  }
  .crumb > span:first-child svg {
    width: 14px;
  }
  .switch-review {
    font-size: 10.5px;
    gap: 5px;
    padding: 6px 0 6px 4px;
  }
  main,
  .page-footer {
    padding-inline: 18px;
  }
  main {
    padding-top: 23px;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .page-head {
    margin-bottom: 20px;
  }
  .context {
    gap: 7px;
    font-size: 11px;
    margin-top: 9px;
  }
  .context span {
    gap: 4px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(185px, 1fr);
  }
  .variance-body {
    display: block;
    padding: 15px 0;
  }
  .comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    border: 0;
    margin-top: 15px;
    gap: 10px;
  }
  .chart-label {
    font-size: 9px;
  }
  .chart-label b {
    font-size: 9.5px;
  }
  .variance-foot {
    font-size: 9px;
  }
  .section {
    margin-top: 24px;
  }
  .table-wrap table {
    min-width: 560px;
  }
  .source-title small {
    font-size: 10.5px;
  }
}
@media (max-width: 580px) {
  .page-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 11px;
    position: relative;
  }
  .page-head:has(.export-btn) h1 {
    padding-right: 99px;
    font-size: clamp(37px, 9vw, 45px);
  }
  .export-btn {
    position: absolute;
    right: 0;
    top: 3px;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 10px;
    gap: 5px;
  }
  .export-btn .ico {
    width: 13px;
  }
  .overview-grid,
  .reports-grid {
    grid-template-columns: 1fr;
  }
  .variance-panel {
    padding: 17px 17px 0;
  }
  .variance-body {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 9px;
    padding: 21px 0;
  }
  .big-value {
    font-size: clamp(38px, 10vw, 51px);
    letter-spacing: -1.8px;
  }
  .metric-data h2 {
    font-size: 11.5px;
    margin-top: 5px;
  }
  .comparison {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 12px;
    border-left: 1px solid #ffffff29;
    margin: 0;
    gap: 10px;
  }
  .chart-label {
    font-size: 9.5px;
    margin-bottom: 3px;
  }
  .chart-label b {
    font-size: 10px;
  }
  .bar-track {
    height: 5px;
  }
  .variance-foot {
    min-height: 35px;
    font-size: 10px;
  }
  .coverage-panel {
    padding: 14px 15px 10px;
  }
  .coverage-panel ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
  }
  .coverage-panel li {
    font-size: 11px;
  }
  .coverage-panel .panel-title-line h2 {
    font-size: 23px;
  }
  .progress-tracks {
    margin: 10px 0 6px;
  }
  .panel-link {
    margin-top: 6px;
    padding-top: 7px;
  }
  h2 {
    font-size: 25px;
  }
  .section-heading {
    margin-bottom: 10px;
  }
  .table-note {
    font-size: 10px;
  }
  .finding summary,
  .source-row summary {
    padding: 10px;
    gap: 8px;
  }
  .finding-head b {
    font-size: 12px;
  }
  .finding-content {
    padding: 0 22px 12px 49px;
  }
  .source-body {
    padding: 1px 13px 14px;
  }
  .soft-status {
    font-size: 9px;
    padding: 3px 5px;
  }
  .demo-notice {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
  }
  .demo-notice .demo-icon {
    display: none;
  }
  .demo-notice .text-link {
    margin-left: 0;
  }
  .report-card {
    padding: 18px;
  }
  .fields-pair {
    gap: 8px;
  }
  #dialog-content {
    padding: 17px;
  }
  .toast {
    width: max-content;
    max-width: calc(100vw - 30px);
    left: 50%;
    bottom: 13px;
    font-size: 12px;
  }
}
@media (max-width: 370px) {
  main,
  .page-footer,
  .topbar {
    padding-inline: 12px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .context {
    gap: 4px;
  }
  .metric-label {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .status-tag {
    font-size: 9px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .export-btn,
  .panel-link,
  .page-footer,
  .toast {
    display: none !important;
  }
  .page-shell {
    margin: 0;
  }
  main {
    padding: 0;
  }
}
.pos-detail {
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f0f3e9;
}
.pos-detail summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.pos-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 550;
  color: #516850;
}
.pos-detail strong {
  margin-left: auto;
  font-weight: 600;
}
.pos-count {
  font-size: 10px;
  color: #6e7b6b;
}
.pos-inside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 13px 15px;
}
.pos-inside h3 {
  font: 600 11.5px var(--sans);
  letter-spacing: 0;
  margin-bottom: 7px;
}
.pos-inside dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px;
  font-size: 11px;
  padding: 3px 0;
}
.pos-inside dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pos-inside p {
  font-size: 11px;
  color: var(--muted);
}
.table-note strong {
  font-weight: 600;
  color: #58664f;
}
.print-report {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #e9eee2;
  border: 1px solid #d2dcc9;
  border-radius: 7px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.print-report .report-icon {
  margin: 0;
  background: #d8e3ce;
}
.print-report h3 {
  font-size: 23px;
}
.print-report p {
  margin-top: 4px;
  font-size: 12px;
  color: #587058;
}
.print-report .btn {
  margin-left: auto;
}
.notes-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.note {
  padding: 14px;
}
.note + .note {
  border-top: 1px solid var(--line);
}
.note > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}
.note b {
  font-size: 12px;
}
.note small {
  font-size: 10px;
  color: var(--muted);
}
.note p {
  margin-top: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
textarea {
  width: 100%;
  margin-top: 4px;
  resize: vertical;
  padding: 9px;
  border: 1px solid #bac8b6;
  border-radius: 4px;
  font: 400 13px var(--sans);
  color: var(--ink);
  background: #fffef9;
}
@media (max-width: 580px) {
  .print-report {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
  }
  .print-report .report-icon {
    display: none;
  }
  .print-report .btn {
    margin: 3px 0 0;
  }
  .pos-inside {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (min-width: 1151px) {
  .brand {
    gap: 5px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand span {
    font-size: 29px;
  }
}
@media (min-width: 961px) and (max-width: 1150px) {
  .brand {
    gap: 4px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand span {
    font-size: 27px;
  }
}
@media (min-width: 761px) and (max-width: 960px) {
  .brand-mark {
    width: 27px;
    height: 27px;
  }
  .brand span {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .table-wrap table {
    min-width: 0;
    white-space: normal;
    border-collapse: separate;
    border-spacing: 0;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .table-wrap tbody {
    display: block;
  }
  .table-wrap tbody tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 7px;
    padding: 13px 15px;
    text-align: left;
  }
  .table-wrap tbody tr + tr {
    border-top: 1px solid var(--line);
  }
  .table-wrap tbody th,
  .table-wrap tbody td {
    padding: 0;
    border: 0;
  }
  .table-wrap tbody th {
    grid-column: 1/-1;
  }
  .table-wrap tbody td {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .table-wrap tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 9px;
    font-weight: 550;
    color: var(--muted);
    margin-bottom: 3px;
  }
  .table-wrap .variance-value {
    display: inline-block;
    padding: 0 4px;
  }
  .tax-name {
    font-size: 13px;
  }
}
.tax-caption {
  display: block;
  font-weight: 400;
  font-size: 10px;
  margin-top: 2px;
  color: #687766;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(145px, 100%), 1fr));
  gap: 10px 16px;
  margin: 0 0 15px;
  padding: 12px 14px;
  background: #edf2e6;
  border-left: 2px solid #809574;
}
.report-metrics dt {
  font-size: 11px;
  color: #526551;
  overflow-wrap: anywhere;
}
.report-metrics dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 580px) {
  .report-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .report-metrics dd {
    overflow-wrap: anywhere;
  }
}

#sync-error {
  margin: 0 0 13px;
}

.source-comparison .big-value {
  font-size: clamp(34px, 3.9vw, 62px);
}
.text-metric {
  display: block;
}
.text-metric .metric-data h2 {
  font: 500 clamp(24px, 2.3vw, 38px)/1.15 var(--serif);
  color: var(--surface);
  margin: 0;
}
.metric-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 0;
  color: #e7cb97;
  font: 600 11px var(--sans);
  white-space: nowrap;
}
.metric-link:hover {
  text-decoration: underline;
}
@media (max-width: 580px) {
  .source-comparison .big-value {
    font-size: clamp(28px, 7.2vw, 38px);
  }
}

.evidence-actions,
.provider-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.evidence-actions {
  justify-content: flex-end;
}
.provider-list,
.api-catalog,
.system-requests {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  overflow: hidden;
}
.provider-row {
  padding: 16px 18px;
}
.provider-row + .provider-row {
  border-top: 1px solid var(--line);
}
.provider-heading,
.api-catalog > summary {
  display: flex;
  align-items: center;
  gap: 9px;
}
.provider-heading h3 {
  font: 600 15px/1.3 var(--sans);
  letter-spacing: 0;
}
.provider-heading .source-symbol {
  width: 29px;
  height: 29px;
}
.provider-row > p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin: 7px 0 0 38px;
  max-width: 82ch;
}
.provider-actions {
  margin: 10px 0 0 38px;
}
.api-catalog {
  margin-top: 10px;
}
.api-catalog > summary {
  padding: 13px 16px;
  font-weight: 600;
  font-size: 13px;
}
.api-catalog > summary > .ico {
  margin-left: auto;
}
.api-catalog[open] > div {
  border-top: 1px solid var(--line);
}
.system-requests {
  list-style: none;
  padding: 0;
}
.system-requests li {
  padding: 10px 15px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.system-requests li + li {
  border-top: 1px solid var(--line);
}
p.upload-help {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 760px) {
  .navigation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
  }
  .navigation a {
    padding: 10px 3px;
    gap: 5px;
    white-space: nowrap;
  }
  .evidence-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 500px) {
  .provider-row {
    padding: 12px;
  }
  .provider-actions,
  .provider-row > p {
    margin-left: 0;
  }
  .provider-row > p {
    margin-top: 6px;
  }
  .provider-actions {
    gap: 6px;
  }
  .provider-actions .text-link {
    padding: 6px 2px;
  }
  .evidence-actions .btn {
    padding: 7px 10px;
  }
  .section-heading:has([data-action='request-system']) {
    flex-wrap: wrap;
  }
}
@media (max-width: 410px) {
  .navigation a {
    font-size: 11.5px;
  }
  .navigation a .ico {
    display: none;
  }
}

.setup-callback {
  display: grid;
  gap: 6px;
  background: #eff3e8;
  border-radius: 5px;
  padding: 12px;
  margin: 0 0 12px;
}
.setup-callback b {
  font-size: 12px;
}
.setup-callback code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11.5px;
}
.setup-callback small {
  color: var(--muted);
  font-size: 11px;
}

.provider-heading .soft-status {
  text-transform: none;
}
.provider-scope b {
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}
body.setup-active .sidebar,
body.setup-active .topbar,
body.setup-active .page-footer {
  display: none;
}
body.setup-active .page-shell {
  margin: 0;
}
body.setup-active main {
  max-width: 1110px;
  padding: 0 clamp(20px, 5vw, 58px) 40px;
}
.setup-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 22px;
  border-bottom: 1px solid var(--line);
}
.setup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 31px/1 var(--serif);
  letter-spacing: -1.5px;
}
.setup-mark {
  display: grid;
  place-items: center;
  background: #214335;
  border-radius: 6px;
  width: 35px;
  height: 35px;
}
.setup-mark .brand-mark {
  height: 31px;
  width: 31px;
}
.setup-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  font-weight: 600;
  font-size: 12px;
  color: #506150;
  border-radius: 4px;
}
.setup-close:hover {
  background: #e9ede2;
}
.setup-layout {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  margin-top: clamp(26px, 5vw, 68px);
  border: 1px solid #cbd4c1;
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
}
.setup-rail {
  background: #224637;
  color: #eaf0df;
  padding: 27px 22px;
  display: flex;
  flex-direction: column;
}
.setup-rail h2 {
  font: 500 25px/1.15 var(--serif);
  letter-spacing: -0.7px;
}
.setup-rail ol {
  padding: 0;
  margin: 28px 0 30px;
  list-style: none;
  display: grid;
  gap: 17px;
}
.setup-rail li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b8c9b9;
  font-size: 12px;
}
.setup-rail li span {
  height: 23px;
  width: 23px;
  display: grid;
  place-items: center;
  border: 1px solid #7b9683;
  border-radius: 50%;
  font-size: 10.5px;
}
.setup-rail li b {
  font-weight: 500;
}
.setup-rail .current {
  color: #fff7df;
}
.setup-rail .current span {
  background: #e7c183;
  border-color: #e7c183;
  color: #344232;
  font-weight: 700;
}
.setup-rail .current b {
  font-weight: 650;
}
.setup-rail .complete span {
  border-color: #b3c6ae;
  background: #47664f;
  color: #e9f1dc;
}
.setup-sample {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e7cd98;
  margin-top: auto;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 600;
}
.setup-sample:hover {
  text-decoration: underline;
}
.setup-stage {
  padding: clamp(24px, 4vw, 54px);
  min-width: 0;
  min-height: 480px;
}
.setup-stage .setup-step {
  font: 650 10px var(--sans);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #90612e;
  margin: 0 0 11px;
}
.setup-stage h1 {
  font: 500 clamp(34px, 3.4vw, 53px)/1.06 var(--serif);
  letter-spacing: -1.8px;
  max-width: 24ch;
  outline: 0;
}
.setup-helper,
.setup-disclosure p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 10px;
}
.setup-helper {
  margin-bottom: 22px;
}
.setup-stage label {
  font-size: 12.5px;
}
.setup-stage .setup-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.setup-options label.setup-choice {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #cbd4c2;
  border-radius: 5px;
  background: #f9faf3;
  color: #3a513d;
  font-weight: 550;
}
.setup-choice:has(input:checked) {
  background: #e7edde !important;
  border-color: #73906d !important;
}
.setup-choice:hover {
  border-color: #8a9f82 !important;
}
.setup-choice input,
.setup-recurring input {
  accent-color: #325e42;
  width: 15px;
  height: 15px;
  margin: 0;
  flex: none;
}
.setup-choice span {
  overflow-wrap: anywhere;
}
.setup-foot {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 17px;
}
.setup-foot .primary {
  margin-left: auto;
  min-width: 102px;
  min-height: 40px;
}
.setup-disclosure {
  margin-top: 14px;
  background: #f3f5eb;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.setup-disclosure summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 12px;
}
.setup-disclosure > div {
  padding: 0 12px 6px;
}
.setup-stage .setup-fieldgroup {
  border: 0;
  padding: 0;
  margin: 16px 0 12px;
}
.setup-fieldgroup > legend {
  padding: 0 0 7px;
  margin: 0;
}
.setup-fieldgroup > .setup-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.setup-fieldgroup .setup-choice {
  padding: 8px !important;
  font-size: 11.5px;
}
.setup-recap,
.setup-fixed {
  margin-bottom: 16px;
  padding: 13px 15px;
  background: #edf2e6;
  border-left: 2px solid #7d9772;
}
.setup-recap b,
.setup-fixed b {
  display: block;
  color: var(--ink);
  font-size: 14px;
}
.setup-recap p,
.setup-fixed span,
.setup-recap span,
.setup-fixed small {
  display: block;
  font-size: 12px;
  color: #60705d;
  margin-top: 3px;
}
.setup-recurring b,
.setup-recurring small {
  display: block;
}
.setup-recurring small {
  font-size: 11px;
  color: #65735e;
  margin-top: 3px;
}
.setup-recurring input {
  margin-top: 2px;
}
.monthly-plan {
  margin: 0 0 20px;
  padding: 16px 19px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.monthly-plan .section-heading {
  margin: 0 0 7px;
}
.monthly-plan .section-heading h2 {
  font-size: 25px;
}
.plan-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.plan-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.plan-copy {
  flex: 1;
  min-width: 0;
}
.plan-copy b,
.plan-copy small {
  display: block;
  overflow-wrap: anywhere;
}
.plan-copy b {
  font-size: 13px;
  font-weight: 600;
}
.plan-copy small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.plan-actions {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.plan-list .soft-status {
  margin: 0;
}
.plan-more summary {
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0 8px;
  width: fit-content;
}
.plan-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.plan-bottom small {
  font-size: 10.5px;
  color: var(--muted);
}
.plan-bottom .text-link {
  font-size: 11px;
}
.setup-invitation {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef2e8;
  margin-bottom: 15px;
}
.setup-invitation b {
  font-size: 12px;
}
.setup-invitation p,
.evidence-mode {
  font-size: 11.5px;
  color: #536751;
}
.setup-invitation .btn {
  margin-left: auto;
}
.evidence-mode {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.month-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
}
.month-links b {
  width: 100%;
  font-size: 12px;
}
@media (max-width: 760px) {
  body.setup-active main {
    padding: 0 15px 20px;
  }
  .setup-mast {
    padding: 13px 0;
  }
  .setup-brand {
    font-size: 25px;
  }
  .setup-mark {
    width: 30px;
    height: 30px;
  }
  .setup-mark .brand-mark {
    height: 26px;
    width: 26px;
  }
  .setup-layout {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }
  .setup-rail {
    display: block;
    padding: 12px 15px;
  }
  .setup-rail h2 {
    font-size: 19px;
  }
  .setup-rail ol {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    margin: 9px 0 0;
  }
  .setup-rail li {
    font-size: 10px;
    gap: 4px;
  }
  .setup-rail li span {
    width: 18px;
    height: 18px;
    font-size: 9px;
  }
  .setup-sample {
    margin-top: 11px;
    font-size: 10px;
  }
  .setup-stage {
    padding: 19px 15px;
    min-height: 0;
  }
  .setup-stage h1 {
    font-size: clamp(31px, 7vw, 43px);
    letter-spacing: -1.25px;
  }
  .setup-helper {
    margin: 8px 0 17px;
    font-size: 12px;
  }
  .setup-stage .setup-options {
    gap: 6px;
  }
  .setup-options label.setup-choice {
    padding: 9px;
    font-size: 12px;
  }
  .setup-fieldgroup > .setup-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .setup-foot {
    margin-top: 17px;
    padding-top: 13px;
  }
  .monthly-plan {
    padding: 13px;
  }
  .setup-invitation {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .setup-invitation .btn {
    margin-left: 0;
  }
}
@media (max-width: 550px) {
  .plan-list li {
    flex-wrap: wrap;
    gap: 6px;
  }
  .plan-copy {
    min-width: 70%;
  }
  .plan-actions {
    width: 100%;
  }
  .monthly-plan .section-heading {
    flex-wrap: wrap;
    gap: 5px;
  }
  .monthly-plan .section-heading h2 {
    font-size: 22px;
  }
  .monthly-plan .count-badge {
    font-size: 9px;
    padding: 2px 4px;
  }
  .monthly-plan .section-heading .btn {
    font-size: 10px;
    padding: 5px 6px;
  }
  .setup-rail li {
    font-size: 9px;
  }
  .setup-rail li span {
    width: 16px;
    height: 16px;
  }
  .setup-stage .fields-pair {
    gap: 7px;
  }
  .setup-invitation .source-symbol {
    display: none;
  }
}

.setup-stage h1 {
  text-wrap: balance;
}
.setup-stage .fields-pair label {
  margin-block: 7px;
}
.setup-recap dl {
  margin: 6px 0 0;
  display: grid;
  gap: 1px;
}
.setup-recap dl div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
}
.setup-recap dt {
  min-width: 38px;
  color: var(--muted);
}
.setup-recap dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.setup-disclosure summary small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 400;
  margin-top: 2px;
}
.setup-permit {
  font-size: 12px;
  color: #526753;
}

.draft-chooser {
  max-width: 590px;
  margin: clamp(30px, 9vw, 110px) auto;
  padding: clamp(17px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.draft-chooser h1 {
  font-size: clamp(32px, 4vw, 49px);
}
.draft-chooser .case-option > .ico:last-child {
  margin-left: auto;
}
.section-heading > .text-link {
  margin-left: auto;
}

.month-links .period-option {
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 6px 0;
  font-size: 12px;
  font-weight: 550;
}
.period-option small {
  font-weight: 400;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.browser-back {
  font: 600 12px/1.3 var(--sans);
  color: #49624d;
}
.browser-back:hover,
.setup-brand[href]:hover .home-label {
  color: var(--orange);
  text-decoration: underline;
}
.home-label {
  display: block;
  font: 550 10px/1.3 var(--sans);
  letter-spacing: 0;
  margin-top: 4px;
  color: var(--muted);
}
.storage-disclosure {
  background: #edf2e6;
  border: 1px solid #d6dfca;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  margin: 0 0 17px;
}
.storage-disclosure > .ico {
  margin-top: 2px;
  color: #5e775a;
}
.storage-disclosure strong {
  font-size: 12px;
  font-weight: 600;
}
.storage-disclosure p,
.storage-details p {
  font-size: 11.5px;
  line-height: 1.5;
  color: #536650;
  margin-top: 2px;
}
.storage-details {
  font-size: 11.5px;
  color: #516451;
  margin: -12px 0 14px;
}
.storage-details summary {
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}
.storage-details[open] .ico:last-child {
  transform: rotate(180deg);
}
.storage-details p {
  max-width: 75ch;
  margin-top: 5px;
}
.file-storage-note {
  font-size: 11.5px;
  color: #586c56;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
}
.browser-starting .sidebar,
.browser-starting .topbar,
.browser-starting .page-footer {
  display: none;
}
.browser-starting .page-shell {
  margin: 0;
}
.browser-starting main {
  padding: 0 22px;
}
.browser-loading {
  max-width: 690px;
  margin: clamp(35px, 8vw, 115px) auto;
}
.browser-load-panel {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.browser-load-panel h1 {
  font-size: clamp(31px, 4vw, 49px);
  letter-spacing: -0.04em;
  margin: 12px 0 8px;
}
.browser-load-panel p {
  color: var(--ink);
  font-size: 14px;
}
.browser-load-panel small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
}
.browser-spinner {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d7decf;
  border-top-color: #365c41;
  animation: workspace-loading 1s linear infinite;
}
@keyframes workspace-loading {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 580px) {
  .topbar-actions {
    gap: 10px;
  }
  .browser-back {
    font-size: 10px;
  }
  .storage-details {
    margin-top: -7px;
  }
  .storage-disclosure {
    margin-bottom: 11px;
    padding: 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .browser-spinner {
    animation: none;
  }
}
.guided-examples {
  max-width: 735px;
  margin: clamp(10px, 4.2vw, 66px) auto 45px;
  padding: clamp(21px, 3.5vw, 47px);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}
.example-kicker,
.owner-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.example-kicker {
  color: #8b552d;
  margin: 0 0 10px;
}
.guided-examples h1 {
  font-size: clamp(40px, 4.6vw, 67px);
  line-height: 1.02;
}
.example-lede {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 13px 0 21px;
}
.guided-examples fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.guided-examples legend {
  font-size: 12px;
  font-weight: 650;
  margin: 0 0 7px;
  padding: 0;
}
.example-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.guided-examples .example-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
  padding: 13px;
  border: 1px solid #ccd5c2;
  border-radius: 5px;
}
.example-choice:has(input:checked) {
  background: #eaf0e2;
  border-color: #7d9675;
}
.example-choice input {
  accent-color: #315b41;
  margin: 3px 0 0;
  width: 15px;
  height: 15px;
  flex: none;
}
.example-choice b,
.example-choice small {
  display: block;
}
.example-choice b {
  font-size: 14px;
}
.example-choice small {
  font-size: 12px;
  font-weight: 400;
  color: #60705f;
  line-height: 1.45;
  margin-top: 4px;
}
.example-alternatives {
  padding-top: 16px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.owner-close {
  margin-bottom: 17px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #acbca6;
  background: var(--surface);
}
.close-steps {
  margin: 0;
  padding: 0 18px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  align-items: stretch;
  gap: 13px;
  background: #f4f6ec;
}
.close-steps li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 2px;
  border-bottom: 2px solid transparent;
  color: #606e5e;
  font-size: 11.5px;
}
.close-steps li > span:first-child {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  border: 1px solid #a7b59c;
  font-size: 10px;
}
.close-steps li b {
  font-weight: 550;
  line-height: 1.3;
}
.close-steps li.current {
  color: #2a5038;
  border-bottom-color: #6a8c62;
}
.close-steps li.current span:first-child {
  background: #2c513a;
  color: #fffbed;
  border-color: #2c513a;
}
.close-steps li.done span:first-child {
  background: #dce7d2;
  color: #476843;
  border-color: #c3d1b7;
}
.owner-outcome {
  background: #234938;
  color: #f6f5e6;
  padding: clamp(18px, 2.5vw, 35px);
}
.owner-status {
  color: #e1c48b;
  margin: 0 0 8px;
  font-size: 10px;
}
.owner-outcome h2 {
  color: inherit;
  font-size: clamp(28px, 3.1vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 36ch;
  text-wrap: balance;
}
.owner-explanation {
  color: #dfebd9;
  font-size: 14px;
  line-height: 1.5;
  max-width: 77ch;
  margin: 8px 0 0;
}
.owner-amount {
  font: 400 clamp(30px, 3vw, 45px)/1.15 var(--serif);
  letter-spacing: -0.03em;
  margin: 8px 0;
}
.owner-amount small {
  font: 500 12px/1.4 var(--sans);
  color: #d5e4d0;
  letter-spacing: 0;
  display: inline-block;
}
.owner-action {
  margin-top: 16px;
}
.owner-action .btn.primary {
  background: #f7f2dd;
  color: #234331;
  border-color: #e9dfc1;
}
.owner-action .btn:hover {
  background: #e7d8b7;
}
.practice-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -9px 0 14px;
  font-size: 11.5px;
  color: #6a613d;
  flex-wrap: wrap;
}
.practice-note a,
.setup-practice-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.practice-note a {
  font-weight: 550;
}
.setup-practice-link {
  margin-top: auto;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #e7cd98;
  font-size: 11.5px;
}
.setup-practice-link + .setup-sample {
  margin-top: 7px;
}
.close-details {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  overflow: hidden;
  margin-top: 15px;
}
.close-detail + .close-detail {
  border-top: 1px solid var(--line);
}
.close-detail > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  gap: 11px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.close-detail > summary:hover {
  background: #f1f4e9;
}
.close-detail[open] > summary .ico {
  transform: rotate(180deg);
}
.close-detail-content {
  padding: 0 16px 16px;
}
.close-detail-content > .section:first-child {
  margin-top: 4px;
}
.close-detail-content .detail-link {
  margin-top: 10px;
}
.worksheet-dialog {
  width: min(570px, calc(100% - 28px));
}
.sheet-context {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.sheet-obligation {
  border-top: 1px solid var(--line);
  padding: 12px 0 9px;
}
.sheet-obligation h3,
.sheet-body > h3 {
  font: 600 15px var(--sans);
  letter-spacing: 0;
}
.sheet-incidence {
  font-size: 11px;
  color: #5b715b;
  margin: 2px 0 7px;
}
.sheet-measures {
  margin: 0;
}
.sheet-measures > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-size: 12px;
}
.sheet-measures dt {
  color: var(--muted);
}
.sheet-measures dd {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
  margin: 0;
}
.sheet-reserve {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  background: #eaf0e1;
  padding: 10px 13px;
  border-left: 2px solid #859c77;
  font-size: 13px;
}
.sheet-reserve b {
  font: 500 26px var(--serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sheet-note,
.other-differences p {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.sheet-body .dialog-footer {
  align-items: center;
  flex-wrap: wrap;
}
.sheet-body .dialog-footer .text-link {
  margin-right: auto;
}
.other-differences {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  margin-top: 8px;
  font-size: 12px;
}
.close-success {
  border: 1px solid var(--line);
  margin: 0;
  padding: 10px 13px;
}
.switch-actions {
  flex-wrap: wrap;
}
.switch-actions .text-link {
  margin-right: auto;
}
@media (max-width: 760px) {
  .setup-practice-link {
    margin-top: 8px;
    font-size: 10px;
  }
  .setup-practice-link + .setup-sample {
    margin-top: 5px;
  }
  .close-steps {
    padding: 0 9px;
    gap: 6px;
  }
  .close-steps li {
    font-size: 10.5px;
    gap: 4px;
  }
  .close-steps li > span:first-child {
    width: 17px;
    height: 17px;
    font-size: 9px;
  }
  .owner-explanation {
    font-size: 13px;
  }
  .owner-outcome {
    padding: 16px;
  }
  .practice-note {
    margin-top: 0;
  }
}
@media (max-width: 500px) {
  .guided-examples {
    padding: 17px;
    margin-top: 8px;
  }
  .example-choices {
    grid-template-columns: 1fr;
  }
  .example-lede {
    font-size: 13px;
  }
  .close-steps {
    grid-template-columns: 1fr 1fr 1.18fr;
    gap: 3px;
  }
  .close-steps li {
    font-size: 9.8px;
    padding: 8px 0;
  }
  .owner-action {
    margin-top: 13px;
  }
  .close-detail > summary {
    padding: 11px 12px;
    font-size: 12px;
  }
  .close-detail-content {
    padding: 0 10px 11px;
  }
  .sheet-reserve {
    font-size: 12px;
  }
  .owner-amount small {
    display: block;
  }
}

.sheet-method {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.sheet-method summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 600;
}
.sheet-method > div {
  padding: 0 10px 12px;
}
.sheet-method h4,
.sheet-equation b,
.sheet-classes caption {
  font: 600 11.5px var(--sans);
  color: var(--ink);
  margin: 8px 0 5px;
  text-align: left;
}
.sheet-classes {
  border-collapse: collapse;
  width: 100%;
  min-width: 0;
  font-size: 11px;
}
.sheet-classes th,
.sheet-classes td {
  padding: 5px 3px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.sheet-classes th:first-child {
  text-align: left;
}
.sheet-classes td,
.sheet-classes th:not(:first-child) {
  text-align: right;
}
.sheet-classes small,
.sheet-equation small {
  display: block;
  color: var(--muted);
  font: 400 10px var(--sans);
}
.sheet-equation {
  margin: 8px 0;
}
.sheet-equation p {
  font-size: 13px;
}
.draft-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 10px;
  padding: 8px 12px;
  margin: 11px 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-width: 0;
}
.draft-fields legend {
  font-size: 12px;
  font-weight: 650;
  padding-inline: 4px;
}
.draft-fields label {
  margin: 3px 0;
  font-size: 12px;
  min-width: 0;
}
.draft-fields input {
  margin-top: 2px;
}
.check-head {
  font: 600 16px/1.3 var(--sans);
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 5px;
}
.check-dialog {
  width: min(670px, calc(100% - 24px));
}
.check-table-wrap {
  margin: 10px 0;
  max-width: 100%;
  overflow: auto;
}
.check-table {
  font: 400 12px/1.4 var(--sans);
  font-variant-numeric: tabular-nums;
  border-collapse: collapse;
  width: 100%;
  min-width: 0;
}
.check-table caption,
.pair-month h4,
.pair-combined h4 {
  font: 600 13px/1.35 var(--sans);
  letter-spacing: 0;
  color: var(--ink);
  margin: 6px 0;
  text-align: left;
}
.check-table th,
.check-table td {
  padding: 5px 5px;
  border-bottom: 1px solid var(--line);
  text-align: right;
}
.check-table thead th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.check-table th:first-child {
  text-align: left;
}
.check-table tbody th {
  font-weight: 550;
}
.check-table td {
  white-space: nowrap;
}
.check-table small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  white-space: normal;
}
.check-caveat,
.pair-combined {
  background: #edf2e5;
  border-left: 2px solid #789372;
  padding: 9px 12px;
  margin: 9px 0;
  font-size: 12px;
  color: #486045;
}
.pair-month {
  padding: 6px 0 9px;
  border-top: 1px solid var(--line);
}
.pair-month .sheet-measures {
  margin-top: 5px;
}
.pair-month .sheet-measures > div {
  padding-block: 2px;
}
.import-control-lines {
  margin-top: 12px;
  border: 1px solid var(--line);
  padding: 9px;
  border-radius: 5px;
  font-size: 12px;
}
.import-control-lines summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 550;
}
.import-control-lines > p {
  margin-top: 5px;
  color: var(--muted);
}
@media (max-width: 500px) {
  .check-table {
    font-size: 10.5px;
  }
  .check-table td,
  .check-table th {
    padding: 4px 2px;
  }
  .check-table small {
    font-size: 8.5px;
  }
  .check-dialog {
    width: calc(100% - 14px);
  }
}
@media (max-width: 600px) {
  .check-table-wrap .check-table {
    table-layout: fixed;
    white-space: normal;
  }
  .check-table-wrap .check-table th:first-child {
    width: 35%;
    padding-left: 2px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .check-table-wrap .check-table th:not(:first-child),
  .check-table-wrap .check-table td {
    padding-inline: 2px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .check-table-wrap .check-table tbody th {
    font-size: 10.5px;
  }
}
.filing-version {
  border-left: 2px solid #809777;
  padding: 9px 12px;
  background: #edf2e5;
  margin: 9px 0 12px;
}
.filing-version b,
.filing-version span,
.filing-version small {
  display: block;
  overflow-wrap: anywhere;
}
.filing-version b {
  font-size: 13px;
  color: var(--ink);
}
.filing-version span,
.filing-version small {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}
.accepted-extra label {
  margin-top: 9px;
}
#accepted-form .fields-pair > label {
  min-width: 0;
}
.filed-originals {
  flex-wrap: wrap;
}
#filed-review-form textarea {
  min-height: 72px;
  width: 100%;
  resize: vertical;
}
@media (max-width: 480px) {
  #accepted-form .fields-pair {
    gap: 8px;
  }
  #accepted-form .fields-pair input,
  #accepted-form .fields-pair select {
    min-width: 0;
  }
}

.owner-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-inline-start: 16px;
  color: #f2ebd5;
  font-size: 12px;
  text-underline-offset: 3px;
}
.settlement-balances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0;
}
.settlement-obligation {
  min-width: 0;
  padding: 12px 15px;
  border: 1px solid #d0d8c9;
  border-radius: 5px;
  background: #f5f6ed;
  color: #244636;
}
.settlement-obligation header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}
.settlement-obligation header strong {
  font-size: 14px;
}
.settlement-obligation header small,
.settlement-obligation p {
  font-size: 11px;
}
.settlement-obligation dl {
  margin: 8px 0;
}
.settlement-obligation dl div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
  font-size: 12px;
}
.settlement-obligation dl div:last-child {
  border-top: 1px solid #cdd7c7;
  padding-top: 5px;
  font-weight: 650;
}
.settlement-obligation dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.settlement-obligation p {
  margin: 5px 0 0;
  color: #4a654d;
}
.owner-outcome .settlement-obligation {
  background: #eeefdf;
  border: 0;
}
.posting-stamp {
  padding: 9px 12px;
  border-left: 2px solid #869b7d;
  background: #edf2e7;
}
.posting-stamp b,
.posting-stamp span {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.posting-stamp span {
  margin-top: 3px;
  color: var(--muted);
}
.posting-refs {
  padding: 0;
  list-style: none;
  margin: 6px 0 13px;
}
.posting-refs li {
  border-top: 1px solid var(--line);
  padding: 5px 0;
}
.posting-refs li div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.posting-refs li small,
.posting-refs li p {
  color: var(--muted);
  margin: 3px 0;
  font-size: 11px;
}
#settlement-form fieldset {
  min-width: 0;
}
#settlement-form input,
#settlement-form select {
  min-width: 0;
}
#settlement-form .posting-row {
  background: #f3f4eb;
  padding: 8px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 12px 0;
}
#settlement-form .posting-row legend {
  padding-inline: 4px;
}
#settlement-form [data-remove-posting] {
  margin-top: 9px;
}
@media (max-width: 620px) {
  .settlement-balances {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .settlement-obligation {
    padding: 9px 11px;
  }
  .settlement-obligation dl {
    margin: 5px 0;
  }
  .owner-secondary {
    margin-inline-start: 0;
    display: flex;
  }
}

.owner-as-of {
  margin: 12px 0 -8px;
  color: #e8ecdc;
  font-size: 11.5px;
}

.owner-secondary-button {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.owner-explanation {
  overflow-wrap: anywhere;
}
.close-history {
  list-style: none;
  padding: 0;
  margin: 0;
}
.close-history li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.close-history li:first-child {
  border-top: 0;
}
.close-history li b,
.close-history li span {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.close-history li span {
  color: var(--muted);
  margin-top: 2px;
}
.saved-closes {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
}
.saved-closes h3 {
  margin: 0;
  font-size: 14px;
}

.reader-document {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 12px 0 19px;
  padding: 15px;
  border: 1px solid #cbd5c4;
  border-radius: 6px;
  background: #eff2e6;
}
.reader-document h3,
.reader-form-group h3 {
  color: var(--ink);
  margin: 0;
  font-size: 17px;
}
.reader-document p,
.reader-mode-note,
.reader-no-quote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.reader-document p {
  margin: 4px 0 8px;
}
.reader-mode-note {
  margin-top: -5px;
}
.reader-provenance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 9px 0;
  padding: 8px 10px;
  background: #eff2e5;
  border-inline-start: 2px solid #768f70;
}
.reader-provenance > span,
.reader-form-group h3 small {
  color: #475e45;
  font-weight: 600;
  font-size: 11px;
}
.reader-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reader-form-group {
  margin-top: 20px;
}
.reader-form-group h3 {
  display: flex;
  align-items: baseline;
  gap: 7px 12px;
  flex-wrap: wrap;
  padding-bottom: 7px;
  border-bottom: 2px solid #9fac95;
}
.reader-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(104px, 25%);
  gap: 4px 14px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.reader-line h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
}
.reader-line h4 small {
  display: inline-block;
  margin-right: 4px;
  color: #576b54;
  font-weight: 500;
  font-size: 10px;
}
.reader-line blockquote {
  margin: 5px 0;
  padding-left: 8px;
  border-left: 2px solid #c4ccbb;
  color: #465644;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.reader-line .reader-pdf-link {
  font-size: 11px;
  min-height: 24px;
}
.reader-entry label {
  margin: 0;
  font-size: 11px;
}
.reader-entry .checkbox {
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.reader-entry input[type='checkbox'] {
  margin-top: 0;
}
.reader-entry input[type='text'] {
  min-width: 0;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.reader-reason {
  grid-column: 1 / -1;
}
.reader-reason label {
  margin: 3px 0;
}
.reader-reason input {
  max-width: 100%;
}
.reader-confirm {
  margin-top: 20px;
}
@media (max-width: 420px) {
  .reader-line {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 4px 8px;
  }
  .reader-entry input[type='text'] {
    padding-inline: 6px;
  }
  .reader-dialog .dialog-footer {
    flex-wrap: wrap;
  }
}
.reader-form-reference {
  margin: 6px 0;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.reader-entry .checkbox {
  min-height: 24px;
}
@media (max-width: 500px) {
  .reader-dialog {
    width: calc(100% - 16px);
    max-width: calc(100vw - 16px);
  }
}
.reader-change {
  grid-column: 1 / -1;
  color: #665130;
  background: #f5eedf;
  margin: 4px 0 0;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
