:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172131;
  background: #f3f6fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: #f3f6fa; }
a { color: #145f72; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .6rem;
  left: .6rem;
  padding: .65rem .85rem;
  border-radius: .45rem;
  color: #172b3d;
  background: #fff;
  box-shadow: 0 .4rem 1.2rem rgb(0 0 0 / 20%);
  font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.75rem;
  padding: .55rem 5vw;
  gap: 1.5rem;
  color: #fff;
  background: #172b3d;
  box-shadow: 0 .2rem 1.2rem rgb(11 28 41 / 15%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.75rem;
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  place-items: center;
  color: #aee6df;
  transform: translateY(-.14rem);
}
.brand-mark-image {
  display: block;
  width: 3.05rem;
  height: 3.05rem;
}
.brand-copy { display: grid; gap: .08rem; }
.brand-copy strong { font-size: 1rem; font-weight: 800; letter-spacing: .01em; }
.brand-copy small { color: #a9c3d0; font-size: .7rem; font-weight: 650; letter-spacing: .04em; }
.site-header-actions, .site-nav { display: flex; align-items: center; gap: .75rem 1rem; }
.site-header-actions { min-width: 0; }
.site-nav { flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .4rem;
  color: #dceaf0;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; text-decoration: underline; }
.header-sign-in {
  padding: .35rem .85rem;
  border: 1px solid #75aaaf;
  border-radius: .5rem;
  color: #fff !important;
}
.header-sign-in:hover, .header-sign-in:focus-visible { background: rgb(255 255 255 / 8%); text-decoration: none !important; }
.link-button {
  min-height: 2.75rem;
  padding: .5rem;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.page-shell { width: min(72rem, 92vw); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }

.lookup-panel, .login-card, .result-card {
  border: 1px solid #d6e0e9;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .7rem 2rem rgb(24 43 61 / 7%);
}

.lookup-panel { max-width: 52rem; padding: clamp(1.4rem, 4vw, 2.7rem); }
.login-card { width: min(28rem, 100%); margin: 8vh auto 0; padding: 2rem; }
h1 { margin: .25rem 0 1rem; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.08; }
h2, h3 { line-height: 1.2; }
.lede { max-width: 44rem; color: #536476; line-height: 1.6; }
.eyebrow { margin: 0; color: #176c69; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.lookup-form, .login-form { display: grid; gap: 1rem; margin-top: 2rem; }
.login-form > div { display: grid; gap: .4rem; }
label { font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: .65rem .75rem;
  border: 1px solid #aebdca;
  border-radius: .45rem;
  font: inherit;
}

.autocomplete-container gmp-place-autocomplete { width: 100%; }
.form-row { width: 10rem; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: .8rem 1.15rem;
  border: 0;
  border-radius: .5rem;
  color: #fff;
  background: #145f72;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
textarea { resize: vertical; }
.primary-button:disabled { opacity: .5; cursor: not-allowed; }
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border: 0;
  border-radius: .5rem;
  color: #fff;
  background: #a32d2d;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  padding: .72rem 1rem;
  border: 1px solid #145f72;
  border-radius: .5rem;
  color: #145f72;
  background: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.primary-button, .secondary-button { text-decoration: none; }
.button-full { width: 100%; justify-self: stretch; }
.secondary-button:disabled { opacity: .5; cursor: not-allowed; }
.field-note, .source-note { margin: 0; color: #607184; font-size: .9rem; line-height: 1.5; }
.notice, .form-error, .warnings { padding: .85rem 1rem; border-radius: .5rem; background: #fff4d9; color: #654d0b; }
.form-error { background: #fde7e7; color: #802626; }
.message-stack { width: min(72rem, 92vw); margin: 1rem auto 0; }
.message-stack .notice { margin-bottom: .5rem; }
.errorlist { margin: .4rem 0 0; padding-left: 1.2rem; color: #802626; }
.lookup-status { min-height: 2rem; padding: 1rem 0; font-weight: 700; }

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  min-height: min(38rem, calc(100vh - 10rem));
}
.auth-aside { max-width: 38rem; }
.auth-aside p:not(.eyebrow) { color: #536476; font-size: 1.1rem; line-height: 1.65; }
.auth-card, .confirm-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid #d6e0e9;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .7rem 2rem rgb(24 43 61 / 7%);
}
.auth-card h2 { margin-top: 0; font-size: 1.7rem; }
.auth-card .login-form { margin-top: 1.25rem; }
.auth-card form p { display: grid; gap: .4rem; }
.auth-fallback { margin: 1.15rem 0; text-align: center; }
.confirm-shell { min-height: min(36rem, calc(100vh - 10rem)); display: grid; place-items: center; }
.confirm-card { width: min(38rem, 100%); }
.confirm-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.passkey-status { margin-top: .8rem; }
.passkey-title-row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.passkey-title-row h1 { margin-right: 0; }
.passkey-total {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  padding: .2rem .5rem;
  place-items: center;
  border: 1px solid #9bcfc9;
  border-radius: 999px;
  color: #184f4c;
  background: #dff2ef;
  font-size: .9rem;
  font-weight: 850;
}
.passkey-management { display: grid; gap: 1.5rem; margin-top: 2rem; }
.passkey-management-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.passkey-management .credential-list { max-width: 48rem; }
.passkey-delete-link {
  display: inline-flex;
  min-height: 2.75rem;
  padding: .35rem .2rem;
  align-items: center;
}

.home-page .page-shell {
  width: 100%;
  padding: 0 0 clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(76rem, 92vw);
  min-height: min(45rem, calc(100vh - 4.75rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7rem);
  grid-template-columns: minmax(0, .92fr) minmax(30rem, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  background:
    radial-gradient(circle at 78% 25%, rgb(36 136 136 / 13%), transparent 31rem),
    radial-gradient(circle at 18% 18%, rgb(241 186 73 / 10%), transparent 24rem),
    linear-gradient(145deg, #f8fbfd 0%, #eef5f6 55%, #f7f9fb 100%);
  content: "";
  transform: translateX(-50%);
}
.home-hero-copy { position: relative; z-index: 1; }
.home-hero-copy h1 {
  max-width: 10ch;
  margin: .55rem 0 1.25rem;
  font-size: clamp(2.75rem, 6vw, 5.15rem);
  letter-spacing: -.045em;
  line-height: .98;
}
.home-hero-lede {
  max-width: 38rem;
  margin: 0;
  color: #42596b;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.15rem;
  align-items: center;
  margin-top: 1.8rem;
}
.home-primary-action, .home-secondary-action { min-height: 3.1rem; }
.home-text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: .45rem;
  color: #145f72;
  font-weight: 800;
  text-underline-offset: .2em;
}
.home-preview-note {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: #5c6e7f;
  font-size: .88rem;
  line-height: 1.5;
}
.home-preview-badge {
  padding: .24rem .52rem;
  border: 1px solid #c9a24c;
  border-radius: 999px;
  color: #684c12;
  background: #fff4d9;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-network-card {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgb(132 188 197 / 34%);
  border-radius: 1.2rem;
  color: #eef8fa;
  background:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(145deg, #173447, #102737 65%, #0b202e);
  background-size: 2rem 2rem, 2rem 2rem, auto;
  box-shadow: 0 1.5rem 4rem rgb(15 37 52 / 22%);
}
.home-network-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.home-network-card-header > div { width: 100%; min-width: 0; }
.home-network-card .eyebrow { color: #91d5cd; }
.home-network-card h2 { margin: .3rem 0 0; font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
.home-jurisdiction-path {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .38rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}
.home-jurisdiction-path li {
  padding: .28rem .52rem;
  border: 1px solid rgb(131 186 194 / 34%);
  border-radius: 999px;
  color: #b9dce0;
  background: rgb(8 27 38 / 48%);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.home-evidence-map {
  display: block;
  width: 100%;
  height: auto;
  margin: .3rem 0 -.35rem;
}
.abstract-orbit {
  fill: none;
  stroke-width: 1.4;
}
.abstract-orbit-outer { stroke: rgb(115 209 197 / 26%); stroke-dasharray: 7 11; }
.abstract-orbit-middle { stroke: rgb(169 148 229 / 23%); stroke-dasharray: 3 12; }
.abstract-map-glow { fill: rgb(101 214 171 / 7%); stroke: none; }
.abstract-land-shadow { fill: rgb(2 14 23 / 42%); stroke: none; }
.abstract-land-tile {
  fill: #1a4657;
  stroke: #6ca2ae;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.abstract-land-tile-cool { fill: #173c4d; }
.abstract-land-tile-active {
  fill: #205266;
  stroke: #83bac2;
}
.abstract-land-tile--mint {
  fill: rgb(174 230 223 / 18%);
  stroke: #aee6df;
}
.abstract-land-tile--teal {
  fill: rgb(57 198 189 / 24%);
  stroke: #39c6bd;
}
.abstract-land-tile--lilac {
  fill: rgb(200 183 232 / 18%);
  stroke: #c8b7e8;
}
.abstract-jurisdiction-label {
  fill: rgb(237 247 248 / 58%);
  font: 700 9.5px ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  letter-spacing: .07em;
  pointer-events: none;
  stroke: none;
}
.abstract-jurisdiction-kind { fill: rgb(237 247 248 / 58%); font-size: 9px; }
.abstract-jurisdiction-value { fill: #eaf8f6; font-size: 12px; font-weight: 850; }
.abstract-nexus-feed {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.6;
  stroke-dasharray: 4 8;
}
.abstract-nexus-feed-teal { stroke: rgb(115 209 197 / 52%); }
.abstract-nexus-feed-slate { stroke: rgb(125 167 183 / 50%); }
.abstract-nexus-feed-lilac { stroke: rgb(169 148 229 / 42%); }
.abstract-api-gateway-shadow {
  fill: rgb(2 14 23 / 58%);
  stroke: none;
}
.abstract-api-gateway-frame {
  fill: rgb(10 38 51 / 88%);
  stroke: #587382;
  stroke-width: 1.5;
}
.abstract-api-gateway-highlight {
  fill: none;
  stroke: rgb(126 153 166 / 50%);
  stroke-linecap: round;
  stroke-width: 1.15;
}
.abstract-api-gateway-port {
  fill: #173c4d;
  stroke: #83bac2;
  stroke-width: 1.1;
}
.abstract-api-gateway-output {
  fill: #205266;
  stroke: #73d1c5;
}
.abstract-api-gateway-label {
  fill: #eaf8f6;
  font: 850 15px Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .12em;
}
.abstract-signal-line {
  fill: none;
  stroke: rgb(115 209 197 / 52%);
  stroke-linecap: round;
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}
.abstract-signal rect {
  fill: rgb(8 27 38 / 80%);
  stroke: #52788a;
  stroke-width: 1.25;
}
.abstract-signal text {
  fill: #edf7f8;
  font: 800 15px Inter, ui-sans-serif, system-ui, sans-serif;
}
.abstract-signal-dot { stroke: none; }
.abstract-signal-dot-assessment { fill: #f2bd52; }
.abstract-signal-dot-millage { fill: #73d1c5; }
.abstract-signal-dot-source { fill: #a994e5; }
.abstract-orbit,
.abstract-land-tile,
.abstract-nexus-feed,
.abstract-api-gateway-frame,
.abstract-api-gateway-highlight,
.abstract-api-gateway-port,
.abstract-signal-line,
.abstract-signal rect {
  vector-effect: non-scaling-stroke;
}
.home-trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(72rem, 92vw);
  margin: clamp(-2.3rem, -4vw, -1.5rem) auto 0;
  padding: 1.15rem 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #d3dfe7;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .9rem 2.5rem rgb(24 43 61 / 9%);
}
.home-trust-strip > div { display: grid; gap: .22rem; padding: .35rem 1.4rem; }
.home-trust-strip > div + div { border-left: 1px solid #dce4eb; }
.home-trust-strip strong { color: #234352; font-size: .9rem; }
.home-trust-strip span { color: #617383; font-size: .82rem; line-height: 1.45; }
.home-section {
  width: min(72rem, 92vw);
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) 0 0;
}
.home-section-heading { max-width: 48rem; }
.home-section-heading h2, .home-closing h2 {
  margin: .4rem 0 .8rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.025em;
}
.home-section-heading > p:not(.eyebrow), .home-closing p {
  margin: 0;
  color: #526678;
  font-size: 1.05rem;
  line-height: 1.65;
}
.home-process-grid {
  display: grid;
  margin-top: 2.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cbd8e2;
}
.home-process-grid article {
  position: relative;
  padding: 1.6rem 1.25rem 0 0;
}
.home-process-grid article + article { padding-left: 1.25rem; border-left: 1px solid #dce4eb; }
.home-process-icon {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: .65rem;
  color: #175c5a;
  background: #dff2ef;
  font-size: 1.15rem;
  font-weight: 850;
}
.home-process-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.home-process-icon svg circle { fill: none; }
.home-process-grid h3 { margin: 1rem 0 .55rem; color: #203c4c; font-size: 1.05rem; }
.home-process-grid p { margin: 0; color: #5a6c7d; font-size: .92rem; line-height: 1.6; }
.home-product-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}
.home-product-card {
  display: flex;
  min-height: 20rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  flex-direction: column;
  border: 1px solid #d4e0e8;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .6rem 1.8rem rgb(24 43 61 / 6%);
}
.home-product-card-featured { border-color: #b7d7d3; background: #f4fbfa; }
.home-product-kicker {
  margin: 0;
  color: #176c69;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-product-card h3 { margin: .75rem 0 .6rem; font-size: 1.55rem; }
.home-product-card > p:not(.home-product-kicker) { margin: 0; color: #5a6d7e; line-height: 1.65; }
.home-product-card a {
  display: inline-flex;
  min-height: 2.75rem;
  margin-top: auto;
  padding-top: 1.4rem;
  align-items: center;
  gap: .45rem;
  font-weight: 800;
  text-underline-offset: .2em;
}
.home-closing {
  display: flex;
  width: min(72rem, 92vw);
  margin: clamp(4.5rem, 9vw, 7rem) auto 0;
  padding: clamp(1.6rem, 5vw, 3rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1rem;
  color: #f0f8fa;
  background: linear-gradient(125deg, #173447, #135b5b);
  box-shadow: 0 1rem 2.8rem rgb(24 43 61 / 15%);
}
.home-closing-copy { max-width: 46rem; }
.home-closing .eyebrow { color: #a4e0d9; }
.home-closing h2 { color: #fff; }
.home-closing p:not(.eyebrow) { color: #d0e2e8; }
.home-closing .primary-button { flex: 0 0 auto; background: #fff; color: #145f72; }
.home-closing-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .7rem; }
.home-closing .secondary-button {
  border-color: rgb(208 226 232 / 72%);
  color: #f0f8fa;
  background: transparent;
}

.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.results > h2 { grid-column: 1 / -1; }
.result-card { padding: 1.4rem; }
.result-card h3 { margin-top: 0; }
.result-card-wide { grid-column: 1 / -1; }
.manual-assessment-form {
  display: grid;
  gap: .8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #dce4eb;
}
.manual-assessment-form h4 { margin: 0; }
.manual-assessment-form .form-row { width: min(18rem, 100%); }
.manual-assessment-entry, .relief-guidance-form { display: grid; gap: .8rem; }
.relief-guidance-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dce4eb; }
.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .65rem;
  font-weight: 600;
  line-height: 1.45;
}
.checkbox-row input { width: 1.15rem; min-height: 1.15rem; margin: .2rem 0 0; }
.provenance-badge {
  display: inline-block;
  width: fit-content;
  margin: 0 0 .8rem;
  padding: .3rem .55rem;
  border-radius: 999px;
  color: #184f4c;
  background: #dff2ef;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.detail-grid { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: .55rem 1rem; }
.detail-grid dt { color: #5d6c7b; }
.detail-grid dd { margin: 0; font-weight: 700; }
.tax-total { margin: .25rem 0 1.5rem; font-size: 2rem; font-weight: 800; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid #dce4eb; text-align: left; vertical-align: top; }
th { color: #536273; font-size: .82rem; text-transform: uppercase; }
.warnings { margin-bottom: 0; }
.payment-terms { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #dce4eb; }
.payment-terms h4 { margin: 0 0 .35rem; font-size: 1rem; }
.payment-terms-list { display: grid; gap: .75rem; margin: .8rem 0; padding: 0; list-style: none; }
.payment-term { padding: .8rem; border: 1px solid #dce4eb; border-radius: .55rem; background: #f7fafc; }
.payment-term p { margin: .25rem 0; line-height: 1.45; }

.api-docs-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.api-docs-nav {
  position: sticky;
  top: 1.5rem;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: .65rem;
  max-height: calc(100dvh - 3rem);
  padding: 1rem;
  border: 1px solid #d6e0e9;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .55rem 1.5rem rgb(24 43 61 / 6%);
}
.api-docs-nav strong { font-size: 1.15rem; }
.api-docs-nav a { color: #304f60; font-weight: 650; text-decoration: none; }
.api-docs-nav a:hover, .api-docs-nav a:focus-visible { color: #145f72; text-decoration: underline; }
.api-endpoint-index {
  display: grid;
  gap: .9rem;
  min-height: 0;
  overflow-y: auto;
  padding: .15rem .2rem .25rem 0;
  scrollbar-width: thin;
}
.api-endpoint-nav-group { display: grid; gap: .3rem; }
.api-endpoint-nav-group > span,
.api-docs-nav-guides > span {
  color: #6a7885;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.api-endpoint-nav-group > a {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: .5rem;
  align-items: center;
  padding: .48rem .55rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .84rem;
  line-height: 1.2;
}
.api-endpoint-nav-group > a:hover,
.api-endpoint-nav-group > a:focus-visible {
  border-color: #bfd4d8;
  background: #f2f8f8;
  text-decoration: none;
}
.api-endpoint-nav-group > a.is-active {
  border-color: #79adb4;
  color: #123f4c;
  background: #e7f5f2;
  box-shadow: inset .2rem 0 #176c69;
}
.api-endpoint-nav-group b {
  padding: .2rem .25rem;
  border-radius: .25rem;
  color: #fff;
  background: #176c69;
  font: 800 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}
.api-endpoint-nav-group:first-child b,
.api-endpoint-nav-group:nth-child(3) a:nth-of-type(2) b,
.api-endpoint-nav-group:nth-child(3) a:nth-of-type(3) b { background: #765520; }
.api-endpoint-nav-group:first-child a:first-of-type b { background: #765520; }
.api-docs-nav-guides {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  padding-top: .75rem;
  border-top: 1px solid #d6e0e9;
  font-size: .8rem;
}
.api-docs-nav-guides > span { flex-basis: 100%; }
.api-docs-nav .api-docs-nav-action {
  padding: .55rem .65rem;
  border: 1px solid #9ec3ca;
  border-radius: .45rem;
  color: #176c69;
  text-align: center;
}
.api-docs-content { min-width: 0; }
.api-docs-hero { padding: .4rem 0 2.5rem; border-bottom: 1px solid #d6e0e9; scroll-margin-top: 1rem; }
.api-docs-hero h1 { max-width: 48rem; }
.api-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.api-badges span {
  padding: .32rem .65rem;
  border: 1px solid #b9d3d7;
  border-radius: 999px;
  color: #184f4c;
  background: #edf8f6;
  font-size: .82rem;
  font-weight: 750;
}
.api-pilot-note { margin: .75rem 0 0; color: #526678; font-size: .9rem; }
.api-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.3rem; }
.api-doc-section { padding: 2.5rem 0; border-bottom: 1px solid #d6e0e9; scroll-margin-top: 1rem; }
.api-doc-section h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.api-doc-section p, .api-doc-section li { max-width: 52rem; line-height: 1.65; }
.api-doc-section details { margin-top: 1rem; }
.api-doc-section summary { cursor: pointer; font-weight: 750; }
.api-lookup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.5rem;
}
.api-lookup-card {
  position: relative;
  min-width: 0;
  padding: 1.15rem;
  overflow: hidden;
  border: 1px solid #d6e0e9;
  border-radius: .8rem;
  background: #fff;
}
.api-lookup-card-primary { border-color: #79adb4; background: linear-gradient(145deg, #fff 35%, #edf8f6); }
.api-lookup-card h3 { max-width: 15rem; margin: .2rem 0 .65rem; font-size: 1.12rem; }
.api-lookup-card p { margin: .35rem 0; line-height: 1.5; }
.api-lookup-number {
  position: absolute;
  top: .75rem;
  right: .9rem;
  color: #b8cbd0;
  font: 800 1.3rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.api-lookup-card dl { display: grid; gap: .55rem; margin: 1rem 0 0; }
.api-lookup-card dl div { padding-top: .55rem; border-top: 1px solid #e3e9ee; }
.api-lookup-card dt { color: #667786; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.api-lookup-card dd { margin: .2rem 0 0; color: #243b4c; font-size: .9rem; font-weight: 700; line-height: 1.45; }
.api-resolution-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}
.api-resolution-flow li {
  min-width: 0;
  padding: .75rem;
  border: 1px solid #cadde0;
  border-radius: .55rem;
  background: #f4faf9;
}
.api-resolution-flow span { display: block; color: #5a7180; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.api-resolution-flow strong { display: block; margin-top: .2rem; overflow-wrap: anywhere; font-size: .88rem; line-height: 1.3; }
.issued-key {
  margin: 1.2rem 0;
  padding: 1.2rem;
  border: 2px solid #176c69;
  border-radius: .75rem;
  background: #edf8f6;
}
.issued-key h3 { margin: .35rem 0; }
.secret-row, .secret-input-row { display: flex; align-items: stretch; gap: .65rem; }
.secret-row code {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  padding: .8rem;
  border: 1px solid #9ec3ca;
  border-radius: .45rem;
  background: #fff;
}
.secret-input-row input { flex: 1; }
.credential-grid {
  display: grid;
  grid-template-columns: minmax(18rem, .85fr) minmax(0, 1.15fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.credential-form, .credential-list {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid #d6e0e9;
  border-radius: .75rem;
  background: #fff;
}
.credential-form h2, .credential-form h3, .credential-list h2, .credential-list h3 { margin: 0; font-size: 1.25rem; }
.credential-form > div { display: grid; gap: .4rem; }
.credential-form fieldset { margin: 0; padding: .85rem; border: 1px solid #d6e0e9; border-radius: .55rem; }
.credential-form fieldset legend { padding: 0 .3rem; font-weight: 700; }
.credential-form fieldset ul { display: grid; gap: .55rem; margin: .4rem 0 .8rem; padding: 0; list-style: none; }
.credential-form fieldset label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .55rem; font-weight: 600; }
.credential-form fieldset input { width: 1rem; min-height: 1rem; margin-top: .2rem; }
.credential-card { padding: 1rem 0; border-top: 1px solid #dce4eb; }
.credential-card:first-of-type { border-top: 0; padding-top: 0; }
.credential-card > div { display: flex; justify-content: space-between; gap: .75rem; }
.credential-card h3 { overflow-wrap: anywhere; }
.credential-card p { margin: .45rem 0; }
.credential-status { padding: .2rem .5rem; border-radius: 999px; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.status-active { color: #165c46; background: #dcf5e9; }
.status-revoked, .status-expired { color: #6c4a16; background: #fff0d2; }
.link-danger { padding: 0; border: 0; color: #a32d2d; background: transparent; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.code-block {
  max-width: 100%;
  overflow-x: auto;
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #28475a;
  border-radius: .6rem;
  color: #ecf7fa;
  background: #142b3a;
  font: .88rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}
.api-callout { margin-top: 1.2rem; }
.endpoint-group { margin-top: 1.8rem; }
.endpoint-group > header { display: grid; grid-template-columns: minmax(14rem, .65fr) minmax(18rem, 1.35fr); gap: 1.25rem; align-items: start; margin-bottom: .8rem; }
.endpoint-group > header h3 { margin: 0; }
.endpoint-group > header p { margin: 0; color: #526678; line-height: 1.5; }
.endpoint-list { display: grid; gap: .75rem; }
.endpoint-list-featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.endpoint-card {
  padding: 1rem 1.1rem;
  border: 1px solid #d6e0e9;
  border-radius: .65rem;
  background: #fff;
}
.endpoint-card-primary { border-color: #61a8b4; box-shadow: 0 .35rem 1.2rem rgb(20 95 114 / 9%); }
.endpoint-card > div { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.endpoint-card p { margin: .55rem 0 .25rem; }
.endpoint-card small { color: #526678; }
.endpoint-card code { overflow-wrap: anywhere; }
.endpoint-meta { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .75rem; color: #526678; font-size: .78rem; line-height: 1.45; }
.endpoint-meta span { min-width: min(100%, 14rem); }
.http-method {
  min-width: 3.6rem;
  padding: .25rem .45rem;
  border-radius: .3rem;
  color: #fff;
  font: 800 .76rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}
.http-method.get { background: #176c69; }
.http-method.post { background: #765520; }
.api-reference { scroll-margin-top: 1rem; }
.api-reference-heading {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: end;
  margin-bottom: 1.2rem;
}
.api-reference-heading h2 { margin-bottom: .45rem; }
.api-reference-heading p { margin-bottom: 0; }
.api-reference-environment {
  display: grid;
  gap: .35rem;
  min-width: min(100%, 22rem);
  padding: .75rem;
  border: 1px solid #d6e0e9;
  border-radius: .55rem;
  background: #f7fafc;
  font-size: .72rem;
}
.api-reference-environment code { overflow-wrap: anywhere; }
.api-test-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, .9fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  margin: 1.25rem 0;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid #9ec3ca;
  border-radius: .75rem;
  background: linear-gradient(135deg, #f7fbfc 0%, #edf7f6 100%);
}
.api-test-auth strong { display: block; margin: .15rem 0 .35rem; color: #173f4c; font-size: 1.05rem; }
.api-test-auth p { max-width: 52rem; margin-bottom: 0; }
.api-test-auth-control { display: grid; gap: .4rem; min-width: 0; }
.api-test-auth-control > label { font-weight: 750; }
.api-test-auth-control .secret-input-row { align-items: stretch; }
.api-test-auth-control input { min-width: 0; }
.api-reference-workbench {
  min-height: 30rem;
  border: 1px solid #b9cdd5;
  border-radius: .85rem;
  background: #fff;
  box-shadow: 0 .75rem 2rem rgb(24 43 61 / 8%);
}
.api-endpoint-panel {
  padding: clamp(1.1rem, 3vw, 1.8rem);
  scroll-margin-top: 1rem;
  outline: none;
}
.api-endpoint-panel:focus-visible { box-shadow: inset 0 0 0 .2rem #79adb4; }
.api-endpoint-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.api-endpoint-panel-header h3 { margin: .15rem 0 .4rem; font-size: clamp(1.25rem, 2.5vw, 1.65rem); }
.api-scope-badge {
  flex: 0 0 auto;
  padding: .35rem .55rem;
  border: 1px solid #b9d3d7;
  border-radius: 999px;
  color: #184f4c;
  background: #edf8f6;
  font: 750 .72rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.api-endpoint-route {
  display: flex;
  gap: .7rem;
  align-items: center;
  margin: .75rem 0 1rem;
  padding: .75rem;
  border-radius: .5rem;
  background: #f4f7f9;
}
.api-endpoint-route code { overflow-wrap: anywhere; color: #223f52; font-weight: 750; }
.api-test-console {
  margin: 1.25rem 0;
  padding: clamp(.9rem, 2.5vw, 1.2rem);
  border: 1px solid #b9d3d7;
  border-radius: .7rem;
  background: #f8fbfc;
}
.api-test-console-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
.api-test-console-header h4 { margin: .1rem 0 0; font-size: 1.08rem; }
.api-test-state {
  flex: 0 0 auto;
  padding: .3rem .55rem;
  border: 1px solid #c7d5dc;
  border-radius: 999px;
  color: #526774;
  background: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.api-test-state[data-state="running"] { border-color: #d9c18c; color: #765520; background: #fff8e8; }
.api-test-state[data-state="success"] { border-color: #8bc9b4; color: #135943; background: #eef9f5; }
.api-test-state[data-state="error"] { border-color: #d8a7a2; color: #823c34; background: #fff3f1; }
.api-test-form { display: grid; gap: 1rem; }
.api-test-path-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.api-test-editor { display: grid; gap: .4rem; }
.api-test-path-fields[hidden],
.api-test-editor[hidden],
.api-test-output[hidden] { display: none; }
.api-test-editor > label { font-weight: 750; }
.api-test-editor textarea {
  width: 100%;
  min-height: 10rem;
  resize: vertical;
  border-color: #a9bdc8;
  color: #dcebf2;
  background: #122632;
  font: .82rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  tab-size: 2;
}
.api-test-actions,
.api-test-next-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.api-test-status { min-height: 1.3rem; margin: .8rem 0 0; }
.api-test-output { margin-top: .35rem; }
.api-test-output .code-block { max-height: 27rem; overflow: auto; }
.api-test-response-meta { margin: .2rem 0 .45rem; }
.api-test-next-actions { margin-top: .8rem; }
.api-code-heading {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-top: 1.2rem;
}
.api-code-heading button {
  padding: .28rem .55rem;
  border: 1px solid #9ec3ca;
  border-radius: .35rem;
  color: #176c69;
  background: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 750;
  cursor: pointer;
}
.api-code-heading button:hover,
.api-code-heading button:focus-visible { background: #edf8f6; }
.api-contract-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin-top: 1rem;
}
.api-contract-summary > div {
  min-width: 0;
  padding: .75rem;
  border: 1px solid #d6e0e9;
  border-radius: .5rem;
  background: #f7fafc;
}
.api-contract-summary span { display: block; margin-bottom: .25rem; color: #667786; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.api-contract-summary strong { display: block; overflow-wrap: anywhere; font-size: .84rem; line-height: 1.4; }
.api-reference-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.1rem; }
.api-reference-actions > a:not(.secondary-button) { color: #176c69; font-weight: 750; }
.api-reference-release-note { margin-top: 1rem; }
.api-explorer {
  margin: 2rem 0;
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border: 1px solid #9ec3ca;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 .7rem 2rem rgb(24 43 61 / 7%);
}
.privacy-callout {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-left: .3rem solid #176c69;
  border-radius: .3rem;
  color: #284d4b;
  background: #e7f5f2;
  line-height: 1.55;
}
.api-explorer-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.explorer-field { display: grid; align-content: start; gap: .4rem; }
.explorer-field-wide { grid-column: 1 / -1; }
.api-explorer-form .primary-button { align-self: end; }
.explorer-output h3 { margin-top: 1.5rem; }
.api-key-manager {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  padding: clamp(.5rem, 3vw, 2rem);
  place-items: center;
}
.api-key-manager:target, .api-key-manager-active { display: grid; }
.api-key-manager-backdrop { position: absolute; inset: 0; background: rgb(15 31 43 / 62%); backdrop-filter: blur(2px); }
.api-key-manager-dialog {
  position: relative;
  z-index: 1;
  width: min(70rem, 100%);
  max-height: calc(100dvh - 1rem);
  overflow: hidden;
  border: 1px solid #b9c9d3;
  border-radius: .9rem;
  background: #f7fafc;
  box-shadow: 0 1.4rem 4rem rgb(9 26 38 / 30%);
}
.api-key-manager-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #d6e0e9;
  background: #fff;
}
.api-key-manager-header h2 { margin: .15rem 0 .3rem; }
.api-key-manager-header p { margin-bottom: 0; }
.api-key-manager-header .credential-dialog-close { flex: 0 0 auto; text-decoration: none; }
.api-key-manager-body { max-height: calc(100dvh - 8.5rem); overflow-y: auto; padding: 1.1rem; }
.api-key-manager .issued-key { margin-top: 0; }
.api-key-manager .credential-grid { margin-top: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

.calculator-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: 2rem;
}
.calculator-hero h1 { max-width: 52rem; }
.calculator-hero-note {
  padding: 1.15rem;
  border-left: .3rem solid #176c69;
  border-radius: .4rem;
  color: #284d4b;
  background: #e7f5f2;
}
.calculator-hero-note p { margin: .45rem 0 0; line-height: 1.55; }

.widget-builder {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid #cbd8e2;
}
.widget-builder-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.7rem;
}
.widget-builder-header h2 { margin: .3rem 0 .65rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.widget-manager {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #d6e0e9;
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 .7rem 2rem rgb(24 43 61 / 7%);
}
.widget-install-form {
  display: grid;
  gap: .8rem;
}
.widget-credential-fields {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
}
.widget-credential-fields > div {
  display: grid;
  flex: 1 1 18rem;
  gap: .35rem;
  min-width: 0;
}
.widget-credential-fields > div:first-child { flex-grow: .7; }
.widget-credential-fields textarea { min-height: 4.2rem; }
.widget-create-action {
  display: flex;
  justify-content: center;
}
.widget-create-action .primary-button { min-height: 2.75rem; }
.form-status.widget-manager-status {
  min-height: 0;
  text-align: center;
}
.form-status.widget-manager-status:empty { display: none; }
.widget-code-panel {
  min-width: 0;
  padding-top: 1rem;
  border-top: 1px solid #dce4eb;
}
.widget-code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.widget-code-heading h3 { margin: 0; font-size: 1.05rem; }
.credential-key-link {
  display: inline-flex;
  min-height: 2.75rem;
  padding: .35rem .2rem;
  align-items: center;
  gap: .4rem;
  border: 0;
  color: #145f72;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.credential-key-link:hover { color: #0d4958; }
.credential-key-link svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.widget-code-instruction { margin: .55rem 0 .2rem; font-weight: 700; }
.widget-code-panel > .field-note { margin-bottom: .65rem; }
.widget-code {
  min-height: 7rem;
  max-height: 16rem;
  margin: .65rem 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.widget-code-empty {
  display: grid;
  place-items: center;
  color: #647688;
  font-style: italic;
  text-align: center;
}
.widget-code-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.widget-code-actions .secondary-button { min-height: 2.75rem; }
.optional-label { color: #647688; font-size: .82rem; font-weight: 550; }
.form-status { min-height: 1.5rem; margin: 0; color: #365366; font-weight: 700; line-height: 1.45; }
.form-error-text { color: #802626; }
.compact-button { padding: .5rem .75rem; }

.widget-credential-dialog {
  width: min(44rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #b9c8d4;
  border-radius: .8rem;
  color: #172131;
  background: #fff;
  box-shadow: 0 1.2rem 3.5rem rgb(15 31 45 / 28%);
}
.widget-credential-dialog::backdrop { background: rgb(16 32 46 / 58%); }
.widget-credential-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: calc(100dvh - 2rem);
}
.widget-credential-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .8rem;
  border-bottom: 1px solid #dce4eb;
  background: #fff;
}
.widget-credential-dialog-header h3 { margin: 0; font-size: 1.05rem; }
.widget-credential-dialog-controls { display: flex; align-items: center; gap: .25rem; }
.credential-refresh-button {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid #aebdca;
  border-radius: 50%;
  color: #145f72;
  background: #fff;
  cursor: pointer;
}
.credential-refresh-button:hover { background: #edf8f6; }
.credential-refresh-button:disabled { opacity: .55; cursor: wait; }
.credential-refresh-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.credential-refresh-button.is-refreshing svg { animation: widget-refresh-spin .8s linear infinite; }
@keyframes widget-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .credential-refresh-button.is-refreshing svg { animation: none; }
}
.credential-dialog-close {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #365366;
  background: transparent;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.credential-dialog-close:hover { background: #edf2f6; }
.widget-credential-dialog-body {
  max-height: min(35rem, calc(100dvh - 6.5rem));
  padding: .8rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.widget-credential-dialog-body > .form-status:empty { display: none; }
.publishable-credential-list {
  display: grid;
  gap: .55rem;
}
.publishable-credential-item {
  display: grid;
  gap: .55rem;
  padding: .7rem;
  border: 1px solid #dce4eb;
  border-radius: .6rem;
  background: #f8fafc;
}
.publishable-credential-item.is-selected {
  border-color: #176c69;
  box-shadow: 0 0 0 1px #176c69;
  background: #edf8f6;
}
.publishable-credential-summary {
  display: flex;
  min-width: 0;
  align-items: start;
  justify-content: space-between;
  gap: .75rem;
}
.publishable-credential-summary-text {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.publishable-credential-summary-text strong { overflow-wrap: anywhere; }
.publishable-prefix { color: #526678; font-size: .78rem; overflow-wrap: anywhere; }
.publishable-credential-item > .field-note { margin-top: -.15rem; }
.publishable-credential-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .65rem;
  align-items: center;
}
.publishable-credential-actions button { min-height: 2.75rem; }
.publishable-credential-actions .link-danger { padding: .45rem .2rem; }
.allowed-origin-list { margin: -.2rem 0 0; padding-left: 1.15rem; color: #42596b; font-size: .84rem; }
.allowed-origin-list li { margin: .15rem 0; overflow-wrap: anywhere; }
.credential-edit-form[hidden] { display: none; }
.credential-edit-form {
  display: grid;
  gap: .65rem;
  margin-top: .15rem;
  padding-top: .7rem;
  border-top: 1px solid #dce4eb;
}
.credential-edit-fields { display: grid; gap: .6rem; }
.credential-edit-field { display: grid; gap: .25rem; }
.credential-edit-field label { font-size: .88rem; }
.credential-edit-field input,
.credential-edit-field textarea {
  min-height: 2.75rem;
  padding: .55rem .65rem;
}
.credential-edit-field textarea { min-height: 4.5rem; }
.credential-edit-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
}
.credential-edit-actions button { min-height: 2.75rem; }

button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible {
  outline: .2rem solid #eea800;
  outline-offset: .15rem;
}

@media (max-width: 62rem) {
  .home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .home-hero-copy h1 { max-width: 12ch; }
  .home-network-card { width: min(46rem, 100%); }
  .home-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-process-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .api-resolution-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .api-lookup-grid { grid-template-columns: 1fr; }
  .endpoint-list-featured { grid-template-columns: 1fr; }
}

@media (max-width: 44rem) {
  .site-header { align-items: center; flex-wrap: wrap; padding-top: .7rem; padding-bottom: .7rem; }
  .site-header-actions { width: 100%; align-items: stretch; flex-direction: column; gap: .25rem; }
  .site-header-actions-public { width: auto; align-items: center; flex-direction: row; }
  .site-nav { justify-content: flex-start; gap: .2rem .85rem; }
  .public-site-nav { justify-content: flex-end; }
  .site-header-actions form { align-self: flex-end; }
  .passkey-management .credential-card > div { align-items: flex-start; flex-direction: column; }
  .home-hero { padding-top: 3.2rem; padding-bottom: 4.6rem; gap: 2.5rem; }
  .home-hero-copy h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .home-hero-actions { align-items: stretch; flex-direction: column; }
  .home-hero-actions .primary-button,
  .home-hero-actions .secondary-button { width: 100%; justify-self: stretch; }
  .home-network-card-header { align-items: flex-start; flex-direction: column; }
  .home-trust-strip { padding: .3rem 1rem; grid-template-columns: 1fr; }
  .home-trust-strip > div { padding: 1rem .3rem; }
  .home-trust-strip > div + div { border-top: 1px solid #dce4eb; border-left: 0; }
  .home-process-grid { grid-template-columns: 1fr; }
  .home-process-grid article,
  .home-process-grid article + article,
  .home-process-grid article:nth-child(3) {
    padding: 1.35rem 0;
    border-top: 1px solid #dce4eb;
    border-left: 0;
  }
  .home-process-grid article:first-child { border-top: 0; }
  .home-closing { align-items: flex-start; flex-direction: column; }
  .home-closing-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .home-closing .primary-button,
  .home-closing .secondary-button { width: 100%; }
  .results { grid-template-columns: 1fr; }
  .result-card-wide, .results > h2 { grid-column: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid dd { margin-bottom: .5rem; }
  .api-docs-layout { grid-template-columns: 1fr; }
  .api-docs-nav {
    position: static;
    display: block;
    max-height: none;
    padding: .85rem;
  }
  .api-docs-nav > .eyebrow { margin-bottom: .15rem; }
  .api-docs-nav > strong { display: block; margin-bottom: .7rem; }
  .api-endpoint-index {
    display: flex;
    gap: .45rem;
    overflow-x: auto;
    padding: 0 0 .45rem;
  }
  .api-endpoint-nav-group { display: contents; }
  .api-endpoint-nav-group > span { display: none; }
  .api-endpoint-nav-group > a {
    display: flex;
    flex: 0 0 auto;
    gap: .4rem;
    padding: .5rem .6rem;
    white-space: nowrap;
  }
  .api-docs-nav-guides { display: none; }
  .api-docs-nav .api-docs-nav-action { display: inline-block; margin-top: .5rem; }
  .api-lookup-grid { grid-template-columns: 1fr; }
  .api-resolution-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .endpoint-group > header { grid-template-columns: 1fr; gap: .35rem; }
  .api-reference-heading { align-items: stretch; flex-direction: column; }
  .api-reference-environment { min-width: 0; }
  .api-test-auth { grid-template-columns: 1fr; }
  .api-endpoint-panel-header { flex-direction: column; }
  .api-test-console-header { align-items: flex-start; }
  .api-test-path-fields { grid-template-columns: 1fr; }
  .api-contract-summary { grid-template-columns: 1fr; }
  .api-explorer-form { grid-template-columns: 1fr; }
  .explorer-field-wide { grid-column: 1; }
  .api-key-manager { padding: .5rem; }
  .api-key-manager-header { gap: .75rem; padding: .85rem; }
  .api-key-manager-header p:not(.eyebrow) { display: none; }
  .api-key-manager-body { max-height: calc(100dvh - 6.25rem); padding: .75rem; }
  .auth-shell { grid-template-columns: 1fr; min-height: 0; }
  .credential-grid { grid-template-columns: 1fr; }
  .secret-row, .secret-input-row { align-items: stretch; flex-direction: column; }
  .calculator-hero { grid-template-columns: 1fr; }
  .widget-manager { padding: .85rem; }
  .widget-credential-fields { flex-direction: column; }
  .widget-credential-fields > div { flex-basis: auto; width: 100%; }
  .widget-create-action .primary-button,
  .widget-code-actions .secondary-button {
    width: 100%;
    justify-self: stretch;
  }
  .widget-code-heading { align-items: flex-start; }
  .widget-code { min-height: 6.5rem; }
  .widget-builder-header { align-items: flex-start; flex-direction: column; }
  .widget-credential-dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100dvh - 1rem);
  }
  .widget-credential-dialog-shell { max-height: calc(100dvh - 1rem); }
  .widget-credential-dialog-body {
    max-height: calc(100dvh - 5.5rem);
    padding: .65rem;
  }
  .publishable-credential-summary { align-items: stretch; flex-direction: column; gap: .3rem; }
  .publishable-credential-actions,
  .credential-edit-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .publishable-credential-actions button,
  .credential-edit-actions button { width: 100%; }
}

@media (max-width: 30rem) {
  .abstract-jurisdiction-label { font-size: 11px; letter-spacing: .045em; }
  .abstract-jurisdiction-kind { font-size: 10px; }
  .abstract-jurisdiction-value { font-size: 13px; }
  .abstract-api-gateway-label { font-size: 17px; }
  .abstract-api-gateway-frame { stroke-width: 1.8; }
  .abstract-api-gateway-port { stroke-width: 1.35; }
  .abstract-signal text { font-size: 18px; }
  .abstract-signal-line { stroke-width: 2; }
}
