:root {
  color-scheme: light;
  --page: #f7f8f4;
  --paper: #fff;
  --ink: #172c2c;
  --muted: #52635f;
  --hair: #d4dbd2;
  --line: #e1e5dd;
  --accent: #155a50;
  --accent-hover: #10483f;
  --tint: #e5efdf;
  --alert: #845119;
  --danger: #903e36;
  --radius: 7px;
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; line-height: 1.48; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--accent); text-underline-offset: .18em; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, label:has(input[type=radio]:focus-visible) { outline: 3px solid #2a64ac; outline-offset: 3px; }
button:disabled { opacity: .72; cursor: wait; }
:where(h1,h2,h3,p,dl,dd,form) { margin: 0; }
:where(h1,h2,h3) { text-wrap: balance; }
h1 { font-size: 3rem; font-weight: 650; line-height: 1.03; letter-spacing: -.038em; }
h2 { font-size: 1.48rem; font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.18rem; line-height: 1.3; }
.frame { width: min(1216px, calc(100% - 96px)); margin-inline: auto; }
main.frame { padding-bottom: 72px; }
main:focus { outline: none; }
.masthead { background: #193e38; color: #fff; }
.masthead-inner, .brand, .top-right, .logout { display: flex; align-items: center; }
.masthead-inner { min-height: 68px; justify-content: space-between; gap: 15px; }
.brand { gap: 12px; font-size: 1.34rem; font-weight: 650; letter-spacing: -.027em; line-height: 1.15; }
.brand-mark { width: 30px; height: 31px; position: relative; flex: 0 0 auto; overflow: hidden; }
.brand-mark span { position: absolute; width: 19px; height: 21px; border: 1.6px solid #d4efad; border-radius: 3px; transform: skewY(-12deg); }
.brand-mark span:nth-child(1) { left: 1px; top: 8px; }
.brand-mark span:nth-child(2) { left: 6px; top: 5px; background: #193e38; }
.brand-mark span:nth-child(3) { left: 11px; top: 2px; background: #d4efad; }
.top-right { gap: 19px; font-size: .94rem; }
.environment { padding: 1px 9px 3px; border: 1px solid #789587; border-radius: 4px; color: #e0f0da; line-height: 1.45; }
.logout { gap: 7px; color: #f4f7ef; background: transparent; border: none; min-height: 44px; padding: 0 2px; }
.logout:hover { text-decoration: underline; }
.icon { width: 1.12em; height: 1.12em; flex: 0 0 auto; }
.page-head, .detail-head, .client-head, .ledger-tools, .form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.page-head { padding: 48px 0 30px; align-items: flex-end; }
.page-head p, .client-head p, .section-description, .intro, .side-panel p, .checks > p { color: var(--muted); }
.page-head p, .client-head p { margin-top: 10px; font-size: 1.05rem; }
.button, .text-link, .back, .edit-link { display: inline-flex; gap: 8px; align-items: center; justify-content: center; text-decoration: none; }
.button { font-weight: 600; font-size: .98rem; line-height: 1.2; min-height: 42px; padding: 9px 17px; border: 1px solid transparent; border-radius: var(--radius); }
.primary { color: #fff; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.secondary { background: var(--paper); border-color: #bbc8bd; color: var(--ink); }
.secondary:hover, .quiet:hover, .edit-link:hover, .search-go:hover { background: #edf2e9; color: var(--accent-hover); }
.quiet { background: transparent; color: var(--muted); }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-block: 1px solid #c6d3c4; background: #eaf0e5; border-radius: 0; }
.summary > div { position: relative; padding: 24px 28px; display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 7px; }
.summary > div + div::before { content: ""; width: 1px; position: absolute; inset: 23px auto 23px 0; background: #c7d3c6; }
.summary dt { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; color: #405a4c; font-weight: 550; }
.summary dt .icon { width: 17px; height: 17px; }
.summary dd { font-size: 2.1rem; line-height: 1; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.ledger { margin-top: 38px; background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; overflow: hidden; }
.ledger-tools { padding: 19px 23px; }
.search { display: flex; align-items: center; gap: 6px; width: min(286px,45%); border: 1px solid #bbc8bd; border-radius: var(--radius); padding-left: 11px; background: var(--paper); color: var(--muted); }
.search:focus-within { outline: 2px solid #2a64ac; outline-offset: 2px; }
.search input { margin: 0; padding: 7px 0; min-height: 39px; border: 0; border-radius: 0; width: 100%; min-width: 0; background: transparent; }
.search input:focus-visible { outline: 0; }
.search-go, .edit-link { border: 0; display: inline-grid; place-items: center; background: transparent; color: var(--muted); border-radius: 4px; }
.search-go { width: 39px; align-self: stretch; flex: 0 0 39px; }
.search-go .icon { width: 16px; }
.registry { width: 100%; border-collapse: collapse; font-size: .96rem; }
.registry th, .registry td { text-align: left; padding: 13px 12px; }
.registry th:first-child, .registry td:first-child { padding-left: 23px; }
.registry th:last-child, .registry td:last-child { padding-right: 21px; }
.registry thead { background: #f4f6f0; color: var(--muted); border-block: 1px solid var(--line); }
.registry thead th { font-weight: 600; font-size: .85rem; padding-block: 9px; }
.registry tr + tr { border-top: 1px solid var(--line); }
.registry tbody tr:hover { background: #fafbf8; }
.domain-name { color: var(--ink); font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
.domain-name:hover { color: var(--accent); text-decoration: underline; }
.numeral { font-variant-numeric: tabular-nums; white-space: nowrap; }
.registry .action-cell { text-align: right; width: 54px; padding-block: 6px; }
.edit-link { width: 35px; height: 36px; color: var(--accent); }
.row-actions { display: flex; align-items: center; justify-content: flex-end; }
.facts-source { align-self: center; font-size: .92rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 3px 9px; border-radius: 5px; font-size: .86rem; line-height: 1.4; font-weight: 600; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.neutral { background: #eef0eb; color: #525e54; }
.good, .success { background: #e7f1e5; color: #2a6343; }
.warning { background: #fcf0d9; color: var(--alert); }
.error { background: #f9e9e5; color: var(--danger); }
.info { background: #e8eef4; color: #355772; }
.connection { margin-top: 22px; padding: 21px 23px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--hair); border-radius: 12px; }
.connection-icon, .surface-icon { display: inline-grid; place-items: center; border-radius: 7px; background: var(--tint); color: var(--accent); }
.connection-icon { width: 42px; height: 42px; flex: 0 0 auto; }
.connection-icon .icon, .surface-icon .icon { width: 22px; height: 22px; }
.connection-body { flex: 1; }
.connection-body h2 { font-size: 1.1rem; letter-spacing: -.012em; }
.connection-body p { font-size: .93rem; color: var(--muted); margin-top: 3px; }
.connection-message { overflow-wrap: anywhere; }
.empty { padding: 37px 23px 42px; border-top: 1px solid var(--line); }
.empty p { margin-top: 6px; color: var(--muted); }
.text-link { margin-top: 14px; font-weight: 600; }
.text-link:hover, .back:hover { text-decoration: underline; }
.back { color: var(--muted); font-size: .96rem; margin: 31px 0 21px; min-height: 28px; }
.detail-head { justify-content: flex-start; flex-wrap: wrap; margin-bottom: 28px; }
.detail-head h1, .client-head h1, .intro, .panel, .single-panel, .notice, .registry td { overflow-wrap: anywhere; }
.details-grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(270px,.85fr); align-items: start; gap: 24px; }
.panel, .auth-panel, .single-panel { min-width: 0; padding: 30px; border: 1px solid var(--hair); background: var(--paper); border-radius: 12px; }
.panel > h2 + form, .panel > .notice, .field + .field, .pair, .mode-select, .dns-input { margin-top: 22px; }
.side-panel, .checks { background: #f0f3ec; }
.surface-icon { width: 42px; height: 42px; margin-bottom: 18px; }
.side-panel p, .checks > p, .section-description { margin-top: 9px; }
.side-panel form, .checks form { margin-top: 22px; }
.panel p, .intro { max-width: 62ch; }
.field, .pair > *, .facts > *, .connection-body, .name-cell { min-width: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
input:not([type=radio]):not([type=hidden]), textarea { color: var(--ink); }
input:not([type=radio]):not([type=hidden]):not([type=search]), textarea { width: 100%; background: var(--paper); border: 1px solid #aebdb2; border-radius: var(--radius); padding: 9px 12px; min-height: 44px; }
input::placeholder, textarea::placeholder { color: #65736c; }
textarea { resize: vertical; display: block; }
.field input[type=date] { display: block; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.pair > .field { margin: 0; }
.form-actions { margin-top: 26px; justify-content: flex-start; flex-wrap: wrap; }
.notice { border-radius: var(--radius); margin-block: 16px; padding: 11px 14px; }
main > .notice:first-child { margin: 20px 0 -5px; }
.auth-panel, .single-panel { max-width: 620px; }
.auth-panel { max-width: 445px; margin: min(10vh,88px) auto 0; }
.auth-panel h1, .single-panel h1 { font-size: 2.13rem; }
.auth-panel form, .intro + label { margin-top: 24px; }
.auth-panel button { margin-top: 20px; }
.intro { margin-top: 10px; }
.hint, .subtle { font-size: .93rem; color: var(--muted); margin-top: 6px; }
.copy-feedback:empty { display: none; }
.copy-feedback { margin-top: 12px; color: var(--accent); }
.error-page { margin: 54px auto 0; }
.client-head { margin: 43px 0 24px; align-items: center; flex-wrap: wrap; }
.client-head p:empty { display: none; }
.facts { display: flex; gap: 36px; flex-wrap: wrap; padding: 14px 0 22px; margin-bottom: 26px; border-block: 1px solid var(--hair); }
.facts dt, .observations dt { color: var(--muted); font-size: .91rem; }
.facts dd { font-weight: 600; margin-top: 3px; }
.facts-source dd { font-weight: 400; }
.audit { margin-top: 24px; }
.audit-log { margin: 16px 0 0; padding: 0; list-style: none; }
.audit-log li { display: grid; grid-template-columns: minmax(165px, 22%) minmax(0, 1fr); gap: 16px; border-top: 1px solid var(--line); padding: 12px 0; }
.audit-log li:last-child { padding-bottom: 0; }
.audit-meta, .audit-event { display: grid; align-content: start; gap: 2px; }
.audit-meta, .audit-event p, .audit-empty { font-size: .94rem; color: var(--muted); }
.audit-meta time { color: var(--ink); font-variant-numeric: tabular-nums; }
.audit-empty { margin-top: 10px; }
.mode-select { padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mode-select legend { padding: 0; }
.mode-select label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--hair); border-radius: var(--radius); font-weight: 500; padding: 8px 12px; margin: 0; cursor: pointer; }
.mode-select label:has(input:checked) { background: #e6eee5; color: #194e43; border-color: #698b74; }
.mode-select input { margin: 0; accent-color: var(--accent); }
.observations { border-block: 1px solid var(--hair); margin-top: 20px; padding-block: 12px; display: grid; gap: 12px; }
.observations dd { margin-top: 3px; overflow-wrap: anywhere; }
code { display: block; font-family: "IBM Plex Mono", Consolas, monospace; font-size: .92em; }
.check-result { border-radius: var(--radius); padding: 9px 11px; }
.checks .check-result.success { color: #2a6343; }
.checks .check-result.warning { color: var(--alert); }
.checks .notice.error { color: var(--danger); }
.checks .note { margin-top: 19px; }
.skip { position: absolute; inset: 6px auto auto 8px; transform: translateY(-200%); background: var(--paper); padding: 8px 12px; z-index: 2; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden], .js-only { display: none !important; }
@media (max-width: 950px) {
  .frame { width: calc(100% - 48px); }
  .registry td, .registry th { padding-inline: 8px; }
  .panel { padding: 23px; }
  .details-grid { gap: 16px; }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 32px); }
  .page-head { padding: 32px 0 22px; align-items: flex-start; }
  h1 { font-size: 2.45rem; }
  .summary > div { padding: 17px 14px; }
  .summary dt { align-items: flex-start; line-height: 1.25; }
  .summary dt .icon { display: none; }
  .summary dd { font-size: 1.85rem; }
  .ledger { margin-top: 25px; }
  .ledger-tools { padding: 16px; }
  .registry, .registry tbody, .registry tbody tr { display: block; }
  .registry thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .registry tbody tr { position: relative; border-top: 1px solid var(--line); padding: 14px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .registry .name-cell { grid-column: 1/-1; padding-right: 73px; font-size: 1.07rem; }
  .registry tbody tr > * { display: block; text-align: left; padding: 0; }
  .registry tbody tr .name-cell { padding-left: 0; padding-right: 73px; }
  .registry tbody tr .action-cell { padding-right: 0; }
  .registry td::before { content: attr(data-label); display: block; color: var(--muted); font-size: .79rem; margin-bottom: 2px; }
  .registry .action-cell { position: absolute; right: 11px; top: 7px; width: auto; }
  .registry .action-cell::before { display: none; }
  .connection { padding: 16px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .connection .status { grid-column: 2; }
  .connection form { grid-column: 2; }
  .details-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .masthead-inner { min-height: 59px; }
  .brand { font-size: 1.13rem; gap: 6px; }
  .brand-mark { transform: scale(.83); transform-origin: left center; width: 27px; }
  .top-right { gap: 10px; font-size: .85rem; }
  .user-role { line-height: 1.1; }
  .top-right { flex-wrap: wrap; justify-content: flex-end; }
  .logout { gap: 4px; }
  .page-head, .ledger-tools { align-items: stretch; flex-direction: column; }
  .page-head .button { align-self: flex-start; }
  .page-head p { margin-top: 7px; font-size: .99rem; }
  .summary > div { padding: 14px 9px; gap: 6px; }
  .summary > div + div::before { inset-block: 13px; }
  .summary dt { font-size: .81rem; }
  .ledger-tools { gap: 11px; }
  .search { width: 100%; }
  .back { margin: 23px 0 17px; }
  .detail-head, .client-head { margin-bottom: 19px; }
  .detail-head h1, .client-head h1 { max-width: 100%; }
  .panel, .single-panel, .auth-panel { padding: 20px; }
  .pair { grid-template-columns: 1fr; gap: 18px; }
  .auth-panel { margin-top: 34px; }
  .audit-log li { grid-template-columns: 1fr; gap: 4px; }
  .audit-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; }
  .facts { gap: 10px 25px; }
  .intro { font-size: 1rem; }
}
@media (max-width: 350px) {
  .frame { width: calc(100% - 20px); }
  .masthead-inner { gap: 6px; }
  .top-right { gap: 6px; }
  .environment { padding-inline: 5px; }
  .summary dt { overflow-wrap: anywhere; }
}
