/* Shared design tokens */
:root {
  --line: rgba(255, 255, 255, .16);
  --shadow: 0 22px 70px rgba(8, 8, 28, .34);
  --nav-border: rgba(255, 255, 255, .18);
  --bg: #15163a;
  --text: #f8fbff;
  --muted: #c9d0e8;
  --ink: #1b2137;
  --orange: #f97316;
  --orange-2: #fdba74;
  --amber-soft: #fff7ed;
  --lavender-soft: #f5f3ff;
  --sky-soft: #ecfeff;
  --text-inset: clamp(8px, 1vw, 14px);
}
/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    linear-gradient(118deg, rgba(249, 115, 22, .18) 0%, rgba(249, 115, 22, 0) 26%),
    linear-gradient(214deg, rgba(56, 189, 248, .18) 0%, rgba(56, 189, 248, 0) 34%),
    linear-gradient(145deg, var(--bg) 0%, #1e1b4b 46%, #123b5d 78%, #3b1d58 100%);
}
a {
  color: inherit;
}
/* Header, brand and search */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand . search" "brand nav nav";
  align-items: center;
  gap: 1px 24px;
  padding: 7px clamp(18px, 4vw, 56px) 6px;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 44px rgba(8, 8, 28, .22);
  background: linear-gradient(112deg, rgba(18, 18, 37, .94), rgba(31, 37, 75, .92) 48%, rgba(53, 28, 83, .94)), rgba(18, 18, 37, .92);
}
.site-brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  text-decoration: none;
  border-radius: 8px;
}
.site-brand-mark {
  flex: 0 0 34px;
  border: 1px solid rgba(253, 186, 116, .36);
  border-radius: 10px;
  background: rgba(249, 115, 22, .1);
  color: var(--orange-2);
}
.site-brand-copy {
  display: grid;
  gap: 3px;
}
.site-brand-name {
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1;
}
.site-brand-tagline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}
.site-brand:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 5px;
}
.site-search {
  grid-area: search;
  display: flex;
  flex: 0 1 300px;
  min-width: 0;
  margin-left: auto;
  margin-top: 0;
  align-self: flex-start;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.site-search input {
  width: 220px;
  max-width: 100%;
  min-width: 0;
  height: 26px;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 2px 9px;
  background: rgba(17, 20, 39, .82);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
}
.site-search input::placeholder {
  color: rgba(201, 208, 232, .72);
}
.site-search button {
  height: 26px;
  min-height: 26px;
  border: 1px solid rgba(253, 186, 116, .3);
  border-radius: 8px;
  padding: 2px 9px;
  background: rgba(249, 115, 22, .2);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 850;
  cursor: pointer;
}
/* Main navigation */
.menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #334155;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(8, 8, 28, .2);
  cursor: pointer;
}
.menu-button::before {
  content: "";
  width: 16px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  opacity: .9;
}
.menu-button[aria-expanded="true"] {
  border-color: rgba(147, 197, 253, .44);
  background: #3b4264;
}
.site-nav {
  grid-area: nav;
  flex: 1 1 100%;
  min-width: 0;
  margin-top: 0;
}
.menu-root,
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-root {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: flex-end;
}
.menu-root > li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.menu-root > li > a,
.menu-root > li > .menu-heading {
  padding-right: 2px;
}
.menu-root > li > .submenu-toggle {
  flex-basis: 24px;
  width: 24px;
}
.menu-root a,
.menu-heading {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.menu-heading {
  background: transparent;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}
.menu-root a:hover,
.menu-heading:hover {
  color: var(--text);
  border-color: rgba(56, 189, 248, .28);
  background: linear-gradient(135deg, rgba(56, 189, 248, .14), rgba(139, 92, 246, .12));
  transform: translateY(-1px);
}
.submenu-toggle {
  border: 0;
  background: transparent;
  color: var(--orange-2);
  cursor: pointer;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 34px;
  padding: 0;
}
.submenu-toggle::after {
  font-size: 17px;
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease;
}
.has-children.open > .submenu-toggle::after {
  transform: rotate(225deg);
}
.submenu {
  position: absolute;
  right: 0;
  top: 42px;
  display: none;
  min-width: 250px;
  max-width: 340px;
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  max-height: var(--submenu-max-height, calc(100dvh - 96px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  transform: translateY(var(--submenu-shift-y, 0px));
  background:
    linear-gradient(135deg, rgba(249, 115, 22, .06), rgba(249, 115, 22, 0) 34%),
    linear-gradient(155deg, rgba(26, 27, 53, .99), rgba(32, 39, 77, .99) 58%, rgba(44, 31, 70, .99));
}
.submenu::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(249, 115, 22, .72), rgba(139, 92, 246, .58), rgba(56, 189, 248, .56));
}
.submenu > li {
  position: relative;
  z-index: 1;
}
.has-children.open > .submenu {
  display: block;
}
.submenu .has-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  justify-content: stretch;
  align-items: center;
}
.submenu .has-children > .submenu-toggle {
  justify-self: end;
}
.submenu li {
  position: relative;
}
.submenu a,
.submenu .menu-heading {
  width: 100%;
  justify-content: space-between;
}
.submenu .submenu {
  top: 0;
  right: calc(100% + 8px);
}
@media (min-width: 1024px) {
  .menu-root > .has-children > .submenu {
    max-height: var(--submenu-max-height, calc(100dvh - 96px));
    overflow-y: auto;
  }
  .submenu .submenu {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0 0 6px 10px;
    padding: 4px 5px 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: visible;
    transform: none;
  }
  .submenu .submenu::before {
    display: none;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header {
    grid-template-areas: "brand . search" "nav nav nav";
  }
  .menu-root {
    gap: 1px;
  }
  .menu-root > li:first-child > .submenu {
    right: auto;
    left: 0;
  }
}
/* Page layout and hero */
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 42px) 56px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 8px;
}
.breadcrumbs a,
.breadcrumbs span {
  text-decoration: none;
}
.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: var(--orange-2);
}
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  width: 100%;
  max-width: 920px;
  border-bottom: 1px solid rgba(253, 186, 116, .18);
  border-radius: 0 0 24px 0;
  box-shadow: 28px 30px 58px rgba(8, 8, 28, .16), inset -42px -38px 70px rgba(18, 18, 37, .18);
  gap: clamp(18px, 4vw, 44px);
  min-height: 0;
  padding: clamp(18px, 3vw, 30px) 0 28px;
  background:
    radial-gradient(ellipse at 100% 100%, rgba(18, 18, 37, .26) 0%, rgba(18, 18, 37, .12) 34%, transparent 70%),
    linear-gradient(128deg, rgba(139, 92, 246, .12), rgba(56, 189, 248, .06) 52%, rgba(249, 115, 22, .045));
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero.has-media {
  max-width: 1240px;
}
.hero:not(.has-media) {
  grid-template-columns: minmax(0, 1fr);
}
.hero.compact {
  grid-template-columns: 1fr;
}
.hero > div {
  max-width: 920px;
  padding-left: clamp(18px, 2.5vw, 30px);
}
.hero h1 {
  max-width: 960px;
  margin: 0;
  padding: .08em 0 .12em;
  background: linear-gradient(96deg, #ffffff 0%, #e7ddff 43%, #d7ccff 66%, #a7d8ff 86%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
}
.hero p {
  max-width: 760px;
  color: var(--muted);
  margin: 12px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
}
.hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
/* Article content */
.content-layout {
  display: block;
  margin-top: clamp(18px, 3vw, 34px);
}
.article-content {
  max-width: 920px;
  color: var(--text);
}
.article-content h2 {
  color: #fbf7ff;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
  border-left: 4px solid var(--orange);
  margin: 38px 0 8px;
  padding-left: var(--text-inset);
}
.article-content h3 {
  color: #bfdbfe;
  font-size: 22px;
  margin: 20px 0 6px;
}
.article-content p,
.article-content li {
  color: #efe3ed;
  font-size: 18px;
}
.article-content a {
  color: #93c5fd;
  text-decoration-thickness: 2px;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: linear-gradient(145deg, rgba(247, 241, 255, .1), rgba(244, 114, 182, .06));
}
.article-content th,
.article-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}
/* Calculators and exchange rates */
.calculator {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(253, 186, 116, .32);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 247, 237, .13), rgba(37, 99, 235, .08) 52%, rgba(139, 92, 246, .1));
  margin: 28px 0;
}
.calculator-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.calculator-form label {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  color: #f7edf7;
  font-weight: 750;
}
.calculator-form small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 500;
}
.calculator-form input,
.calculator-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(17, 20, 39, .9);
  color: var(--text);
  font: inherit;
}
.calculator-form .check-field {
  grid-template-columns: minmax(180px, 260px) auto;
  align-items: center;
  justify-content: start;
}
.calculator-form .check-field small {
  grid-column: 2;
}
.calculator-form .check-field input {
  width: 22px;
  min-height: 22px;
}
.calculator-form button,
.load-redactions {
  justify-self: start;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 11px 18px;
  background: linear-gradient(135deg, var(--orange), #ef4444);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.calculator-results {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.calculator-results div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(56, 189, 248, .06));
}
.calculator-results .highlight {
  background: linear-gradient(135deg, #fff7ed, #eef2ff);
  color: var(--ink);
}
.calculator-results strong {
  font-size: 24px;
}
.form-error {
  color: #ffd1d1;
}
.currency-rates {
  margin: 36px 0;
}
.currency-rates-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 18px;
  margin-left: var(--text-inset);
}
.currency-rates-head p {
  margin: 0;
  color: var(--muted);
}
.currency-table-scroll {
  margin: 16px 0 0 var(--text-inset);
  overflow-x: auto;
}
.currency-rates-table {
  min-width: 680px;
}
.currency-rates-table th {
  color: #bfdbfe;
  font-size: 14px;
  text-transform: uppercase;
}
.currency-rates-table td:first-child {
  color: #ffffff;
}
.currency-rates-note {
  margin: 14px 0 0 var(--text-inset);
  color: var(--muted);
  font-size: 16px;
}
/* Sources and article lists */
.rt-link {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.law-summary-link {
  margin-top: 18px;
}
.law-summary-link a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(253, 186, 116, .5);
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, rgba(249, 115, 22, .18), rgba(37, 99, 235, .14));
  text-decoration: none;
  font-weight: 900;
}
.article-law-list {
  margin: 28px 0;
  padding: 1px 18px 16px;
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(139, 92, 246, .06));
}
.article-law-list ul {
  display: grid;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-law-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 0;
  font-size: 16px;
}
.article-law-list span {
  color: var(--muted);
}
.related {
  margin-top: 34px;
}
.article-list-section {
  display: grid;
  gap: 10px;
  margin: 34px 0;
  padding: 1px 18px 18px;
  border: 1px solid rgba(253, 186, 116, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(249, 115, 22, .1), rgba(37, 99, 235, .06) 54%, rgba(244, 114, 182, .08));
}
.article-list-items {
  display: grid;
  gap: 7px;
}
.article-list-item {
  padding-top: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.article-list-item:last-child {
  border-bottom: 0;
}
.article-list-date {
  display: block;
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
}
.article-list-item h3 {  font-size: 18px;
  line-height: 1.22;
}
.article-list-item h3 a {
  color: #f4f1ff;
  text-decoration-color: rgba(244, 241, 255, .44);
  text-decoration-thickness: 1px;
}
.article-list-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}
.article-list-empty {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}
.article-keyword-link {
  color: #fde68a;
  text-decoration-color: rgba(253, 230, 138, .55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legislation-changes-actions,
.news-list-actions,
.news-search-actions {
  margin: 4px 0 0;
}
.load-legislation-changes,
.load-redaction-changes,
.load-news-list,
.load-news-search,
.news-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(147, 197, 253, .32);
  border-radius: 8px;
  padding: 7px 13px;
  background: rgba(96, 116, 171, .24);
  color: #f8fbff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.load-legislation-changes:disabled,
.load-redaction-changes:disabled,
.load-news-list:disabled,
.load-news-search:disabled {
  cursor: progress;
  opacity: .72;
}
.news-search-results {
  display: grid;
  gap: 9px;
}
.news-search-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
/* Homepage topics and cards */
.home-overview {
  margin: 28px 0 12px;
}
.home-overview > h2,
.home-strip > h2,
.home-tools > h2,
.related > h2 {
  padding-left: var(--text-inset);
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.home-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff7ed, #f7f8ff 58%, #eef2ff);
  color: var(--ink);
  box-shadow: 0 16px 42px rgba(8, 8, 28, .18);
}
.home-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, var(--lavender-soft), #eef2ff 64%, var(--sky-soft));
}
.home-card:nth-child(3n) {
  background: linear-gradient(145deg, #eff6ff, #f8fafc 58%, var(--amber-soft));
}
.home-card:nth-child(4n) {
  background: linear-gradient(145deg, #fff1f2, #f8fafc 56%, #ede9fe);
}
.home-card a {
  display: block;
  padding: 18px;
  text-decoration: none;
}
.home-card h3 {  color: #312e81;
  font-size: 22px;
}
.home-card p {
  margin: 0;
  color: #34405f;
}
.home-subtopics {
  display: grid;
  gap: 8px;
  padding: 0 18px 18px;
}
.home-subtopics a {
  display: block;
  padding: 9px 0;
  color: #312e81;
  font-weight: 800;
  text-decoration-color: rgba(109, 40, 217, .32);
}
/* Scrollable topic map */
.home-map {
  margin: 26px 0 14px;
  padding: 18px 0 10px;
  border-top: 1px solid rgba(253, 186, 116, .18);
  border-bottom: 1px solid rgba(56, 189, 248, .16);
}
.home-map-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-left: var(--text-inset);
  margin-bottom: 10px;
}
.home-map-head h2 {  color: #fbf7ff;
  font-size: clamp(22px, 2.4vw, 30px);
}
.home-map-head span {
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
}
.home-map-shell {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) 21px;
  grid-template-areas: "prev rail next";
  gap: 8px;
  align-items: stretch;
  padding: 0 var(--text-inset);
}
.home-map-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 21px;
  height: 76px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), #ef4444);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.home-map-arrow[data-dir="-1"] {
  grid-area: prev;
}
.home-map-arrow[data-dir="1"] {
  grid-area: next;
}
.home-map-arrow[hidden] {
  display: none;
}
.home-map-arrow:hover {
  filter: brightness(1.08);
}
.home-map-rail {
  grid-area: rail;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 320px);
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  cursor: grab;
  padding: 2px 0 12px;
}
.home-map-rail::-webkit-scrollbar {
  display: none;
}
.home-map-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.home-map-node {
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-self: start;
  max-height: 10cm;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  scrollbar-width: none;
  min-height: 230px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(56, 189, 248, .08) 54%, rgba(249, 115, 22, .09));
  box-shadow: 0 14px 34px rgba(8, 8, 28, .16);
  cursor: grab;
}
.home-map-node::-webkit-scrollbar {
  display: none;
}
.home-map-node.is-dragging-y {
  cursor: grabbing;
  user-select: none;
}
.home-map-node:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgba(253, 186, 116, .14), rgba(255, 255, 255, .08) 52%, rgba(139, 92, 246, .12));
}
.home-map-node:nth-child(3n) {
  background: linear-gradient(145deg, rgba(56, 189, 248, .12), rgba(255, 255, 255, .07) 55%, rgba(244, 114, 182, .1));
}
.home-map-body {
  min-width: 0;
}
.home-map-node h3 {  font-size: 20px;
  line-height: 1.25;
}
.home-map-node p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.home-map-actions {
  margin: 10px 0 0;
}
.home-map-actions a {
  font-weight: 900;
  text-decoration-thickness: 2px;
}
.home-map-children {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}
.home-map-tree {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.home-map-item {
  min-width: 0;
}
.home-map-has-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: stretch;
}
.home-map-link {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(17, 20, 39, .32);
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: rgba(125, 211, 252, .45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
button.home-map-link {
  width: 100%;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}
.home-map-link:hover {
  border-color: rgba(125, 211, 252, .28);
  background: rgba(37, 99, 235, .18);
  text-decoration-color: rgba(191, 219, 254, .85);
}
.home-map-link[data-home-map-toggle]::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .16s ease;
}
.home-map-item.open > .home-map-link[data-home-map-toggle]::after {
  transform: rotate(225deg);
}
.home-map-summary {
  grid-column: 1 / -1;
  margin: 4px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.home-map-open-link {
  grid-column: 1 / -1;
  display: inline-flex;
  margin: 4px 2px 0;
  font-size: 12px;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.home-map-submenu {
  grid-column: 1 / -1;
  display: none;
  margin: 6px 0 0 8px;
  padding-left: 8px;
  border-left: 2px solid rgba(253, 186, 116, .28);
}
.home-map-item.open > .home-map-submenu {
  display: block;
}
.home-map-level-2 .home-map-link,
.home-map-level-3 .home-map-link,
.home-map-level-4 .home-map-link,
.home-map-level-5 .home-map-link {
  background: rgba(17, 20, 39, .22);
  color: #f8fbff;
  font-size: 14px;
}
.related h2 {
  font-size: 30px;
}
.law-redactions-list {
  display: grid;
  gap: 18px;
}
.law-redactions {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(56, 189, 248, .1), rgba(247, 241, 255, .08) 48%, rgba(253, 186, 116, .08));
}
.related-grid .law-redactions {
  grid-column: 1 / -1;
}
.law-redactions h3 {  color: var(--orange-2);
  font-size: 21px;
}
.table-scroll {
  overflow-x: auto;
}
.redactions-table {
  min-width: 560px;
  margin: 0;
}
.redactions-table th {
  color: #fbf7ff;
  font-weight: 900;
}
.redactions-table td:last-child,
.redactions-table th:last-child {
  width: 130px;
}
.redactions-actions {
  margin: 12px 0 0;
}
a.load-law-redactions {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--orange), #ef4444);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-decoration-thickness: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.related-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(247, 241, 255, .1), rgba(139, 92, 246, .08));
}
.related-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgba(56, 189, 248, .1), rgba(247, 241, 255, .08));
}
.related-card:nth-child(3n) {
  background: linear-gradient(145deg, rgba(249, 115, 22, .1), rgba(139, 92, 246, .07));
}
.related-card.wide {
  grid-column: span 2;
  padding: 18px;
}
.related-card a {
  display: block;
  height: 100%;
  padding: 18px;
  text-decoration: none;
}
.related-card h3 {  color: var(--orange-2);
  font-size: 21px;
}
.related-card p,
.related-card li {
  color: var(--muted);
}
.redaction-list,
.law-list {
  padding-left: 22px;
}
/* Footer */
.site-footer {
  padding: 40px clamp(18px, 4vw, 56px) 44px;
  border-top: 1px solid var(--line);
  background: rgba(12, 15, 35, .78);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
  max-width: 1156px;
  margin: 0 auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-brand {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.2;
  text-decoration: none;
}
.footer-tagline {
  margin: 0 0 10px;
  font-size: 13px;
}
.footer-heading {
  margin: 4px 0 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.footer-links {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-external-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.footer-external-links li {
  min-width: 0;
}
.footer-external-links a {
  overflow-wrap: anywhere;
}
.footer-external-links a::after {
  content: " ↗";
  color: var(--orange-2);
  font-size: 12px;
  white-space: nowrap;
}
.footer-contact a:not(.footer-brand),
.footer-links a,
.footer-link-button {
  color: var(--muted);
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.footer-contact a:hover,
.footer-links a:hover,
.footer-link-button:hover {
  color: var(--text);
  text-decoration: underline;
}
.site-footer a:focus-visible,
.footer-link-button:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-link-button[hidden] {
  display: none;
}
.article-editorial {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.article-editorial > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}
.article-editorial dt {
  font-weight: 600;
}
.article-editorial dd {
  margin: 0;
}
.article-content p,
.article-content ul,
.article-content ol {
  margin-top: 0;
  margin-bottom: 14px;
}
.article-content > :where(p, ul, ol, .article-intro, .rt-link, .law-summary-link) {
  margin-left: var(--text-inset);
}
.article-intro {
  margin-top: 0;
  margin-bottom: 8px;
}
.article-intro + h2 {
  margin-top: 48px;
}
.calculator-rates {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.calculator-rates h3 {
  margin-top: 0;
}
.calculator-rates ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}
.calculator-rates li {
  color: var(--text);
}
.calculator-rates li span {
  color: var(--muted);
  font-weight: 800;
}
.home-strip,
.home-tools {
  margin: 24px 0 12px;
}
.home-mini-grid,
.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
.home-mini-card,
.home-tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(139, 92, 246, .08));
}
.home-mini-card:nth-child(3n + 2),
.home-tool-card:nth-child(3n + 2) {
  background: linear-gradient(145deg, rgba(56, 189, 248, .12), rgba(255, 255, 255, .08));
}
.home-mini-card:nth-child(3n),
.home-tool-card:nth-child(3n) {
  background: linear-gradient(145deg, rgba(249, 115, 22, .12), rgba(37, 99, 235, .08));
}
.home-mini-card a,
.home-tool-card a {
  display: block;
  height: 100%;
  padding: 16px;
  text-decoration: none;
}
.home-mini-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
}
.home-mini-card h3,
.home-tool-card h3 {
  margin: 0 0 8px;
  color: #fbf7ff;
  font-size: 20px;
}
.home-mini-card p,
.home-tool-card p {
  margin: 0;
  color: var(--muted);
}
.home-tool-card {
  background: linear-gradient(145deg, rgba(37, 99, 235, .16), rgba(249, 115, 22, .1));
}
/* Collapsible navigation */
@media (max-width: 1023px) {
  body.menu-is-open {
    overflow-x: hidden;
  }
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    padding-block: 8px;
  }
  body.menu-is-open .site-header {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-brand {
    order: 1;
  }
  .site-search {
    order: 3;
    flex: 1 1 100%;
    min-width: 0;
    margin-left: 0;
    justify-content: stretch;
  }
  .site-search input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }
  .site-search button {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .menu-button {
    order: 2;
    display: inline-flex;
  }
  .site-nav {
    order: 4;
    display: none;
    flex-basis: 100%;
    position: relative;
    margin-top: 0;
    padding: 7px;
    border: 1px solid var(--nav-border);
    border-radius: 8px;
    background:
      linear-gradient(120deg, rgba(249, 115, 22, .08), rgba(249, 115, 22, 0) 32%),
      linear-gradient(218deg, rgba(56, 189, 248, .09), rgba(56, 189, 248, 0) 40%),
      linear-gradient(145deg, rgba(17, 24, 55, .98), rgba(35, 36, 76, .98) 52%, rgba(20, 47, 78, .96));
    box-shadow: 0 22px 54px rgba(8, 8, 28, .35);
    overflow: hidden;
  }
  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, rgba(249, 115, 22, .68), rgba(139, 92, 246, .58), rgba(56, 189, 248, .56));
  }
  .site-nav.open {
    display: block;
    max-height: calc(100vh - 126px);
    max-height: calc(100dvh - 126px);
    max-height: var(--site-nav-max-height, calc(100dvh - 126px));
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  body.menu-is-open .site-nav.open {
    max-height: none;
    overflow: visible;
  }
  .menu-root {
    display: grid;
    gap: 5px;
    justify-content: stretch;
    position: relative;
    z-index: 1;
  }
  .menu-root > li:nth-child(3n + 2) {
    background: linear-gradient(135deg, rgba(56, 189, 248, .075), rgba(255, 255, 255, .065));
  }
  .menu-root > li:nth-child(3n) {
    background: linear-gradient(135deg, rgba(249, 115, 22, .08), rgba(37, 99, 235, .06));
  }
  .menu-root > li:nth-child(4n) {
    background: linear-gradient(135deg, rgba(244, 114, 182, .055), rgba(139, 92, 246, .06));
  }
  .menu-root > li.has-children.open {
    border-color: rgba(147, 197, 253, .32);
    background: linear-gradient(135deg, rgba(37, 99, 235, .13), rgba(139, 92, 246, .1) 52%, rgba(249, 115, 22, .06));
  }
  .menu-root a,
  .menu-heading {
    min-height: 38px;
    padding: 7px 10px;
    color: #f7fbff;
    font-size: 13px;
    line-height: 1.35;
    width: 100%;
  }
  .menu-root a:hover,
  .menu-heading:hover {
    transform: none;
  }
  .submenu {
    position: relative;
    top: auto;
    right: auto;
    display: none;
    min-width: 0;
    max-width: none;
    max-height: none;
    margin: 0 6px 7px 8px;
    padding: 6px;
    border-color: rgba(255, 255, 255, .14);
    border-left-color: rgba(147, 197, 253, .34);
    background:
      linear-gradient(135deg, rgba(12, 18, 42, .72), rgba(24, 30, 62, .74)),
      linear-gradient(90deg, rgba(249, 115, 22, .04), rgba(56, 189, 248, .07));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    overflow: visible;
    transform: none;
  }
  .submenu .submenu {
    top: auto;
    right: auto;
    margin: 0 0 4px;
    padding: 2px 4px 4px;
    border-left-color: rgba(147, 197, 253, .22);
    background:
      linear-gradient(135deg, rgba(15, 23, 42, .66), rgba(26, 32, 62, .7)),
      linear-gradient(90deg, rgba(139, 92, 246, .04), rgba(56, 189, 248, .06));
  }
  .submenu .submenu::before {
    display: none;
  }
  .submenu .submenu a,
  .submenu .submenu .menu-heading {
    min-height: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .submenu a,
  .submenu .menu-heading {
    min-height: 34px;
    color: #dce7ff;
  }
  .has-children.open > .submenu {
    display: block;
  }
  .has-children > .submenu {
    grid-column: 1 / -1;
  }
  .menu-root > li {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(139, 92, 246, .055));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    gap: 0;
  }
  .menu-root > li:not(.has-children) {
    grid-template-columns: 1fr;
  }
  .submenu-toggle {
    width: 30px;
    height: auto;
    min-height: 32px;
    margin: 2px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .055);
    color: #dbeafe;
  }
  .has-children.open > .submenu-toggle {
    border-color: rgba(147, 197, 253, .38);
    background: rgba(96, 116, 171, .26);
    color: #fff;
  }
  .submenu .has-children {
    grid-template-columns: minmax(0, 1fr) 30px;
  }
}
/* Mobile page layout */
@media (max-width: 860px) {
  .calculator-form {
    grid-template-columns: 1fr;
  }
  .calculator-form label,
  .calculator-form .check-field {
    grid-template-columns: 1fr;
  }
  .calculator-form small,
  .calculator-form .check-field small {
    grid-column: 1;
  }
  .related-card.wide {
    grid-column: auto;
  }
  .home-map-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "rail";
    padding: 0 var(--text-inset);
  }
  .home-map-arrow {
    display: none;
  }
  .home-map-rail {
    grid-auto-columns: minmax(210px, 76vw);
  }
  .home-map-node {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px 0 28px;
  }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }
  .footer-navigation {
    grid-column: 1 / -1;
  }
  .footer-external-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.home-map .home-map-node a {
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  text-decoration-color: rgba(248, 251, 255, .72);
}
.home-map .home-map-node h3,
.home-map .home-map-node h3 a {
  color: #e0f2fe;
  -webkit-text-fill-color: #e0f2fe;
  text-decoration-color: rgba(125, 211, 252, .78);
}
/* Consent banner and preferences */
.consent-banner[hidden] {
  display: none;
}
.consent-banner,
.consent-dialog {
  border: 1px solid rgba(201, 208, 232, .32);
  border-radius: 18px;
  background: linear-gradient(125deg, #202443, #1e1b3d 70%, #21334c);
  color: var(--text);
  box-shadow: var(--shadow);
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
}
.consent-banner {
  position: fixed;
  z-index: 10000;
  inset: auto 16px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: calc(100% - 32px);
  max-width: 1040px;
  max-height: calc(100dvh - 32px);
  margin: 0 auto;
  padding: 16px 20px;
  overflow: auto;
  border-top: 3px solid var(--orange-2);
}
.consent-eyebrow {
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .045em;
}
.consent-banner h2,
.consent-dialog h2 {
  margin: 3px 0 7px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
}
.consent-banner p,
.consent-dialog p {
  margin: 0 0 8px;
  color: var(--muted);
}
.consent-banner a,
.consent-dialog a,
.consent-text-button {
  color: var(--orange-2);
  text-underline-offset: 3px;
}
.consent-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
}
.consent-actions .consent-button-settings {
  grid-column: 1 / -1;
}
.consent-button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #a5b4fc;
  border-radius: 9px;
  background: #343857;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.consent-button:hover {
  background: #454b70;
}
.consent-button-settings {
  border-color: rgba(201, 208, 232, .4);
  background: transparent;
}
.consent-button:focus-visible,
.consent-close:focus-visible,
.consent-category input:focus-visible,
.consent-text-button:focus-visible,
.consent-banner a:focus-visible,
.consent-dialog a:focus-visible {
  outline: 3px solid var(--orange-2);
  outline-offset: 4px;
}
.consent-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 20px;
  overflow: hidden;
}
.consent-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.consent-dialog-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}
.consent-dialog-body > p:last-child {
  margin-bottom: 0;
}
.consent-dialog::backdrop {
  background: rgba(8, 8, 28, .78);
}
.consent-dialog-heading {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.consent-dialog-heading h2 {
  margin-bottom: 0;
}
.consent-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 208, 232, .4);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 208, 232, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}
label.consent-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 4px 12px;
  cursor: pointer;
}
.consent-category h3,
.consent-category strong {
  display: block;
  margin: 0;
  font-size: 15px;
  color: var(--text);
}
.consent-category p,
.consent-category-description {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.consent-required {
  flex: 0 0 auto;
  font-size: 12px;
  color: #c4b5fd;
}
.consent-category input {
  grid-column: 2;
  grid-row: 1;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #c4b5fd;
  cursor: pointer;
}
.consent-text-button {
  min-height: 44px;
  margin: 8px 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.consent-dialog .consent-fine-print {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.consent-dialog-actions {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}
.consent-status {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.consent-noscript {
  padding: 12px 24px;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 680px) {
  .consent-banner {
    inset: auto 10px 10px;
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 16px;
  }
  .consent-actions {
    grid-template-columns: 1fr 1fr;
  }
  .consent-dialog {
    padding: 16px;
  }
}
@media (max-width: 380px) {
  .consent-dialog {
    padding: 12px;
  }
  .consent-dialog[open] {
    gap: 8px;
  }
  .consent-category {
    padding: 8px 10px;
  }
  .consent-dialog .consent-button {
    padding-inline: 8px;
  }
}
@media print {
  .consent-banner,
  .consent-dialog,
  .consent-status {
    display: none !important;
  }
}
@media (max-width: 540px) {
  .site-footer {
    padding-block: 28px 32px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .footer-external-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }
  .footer-heading {
    margin-bottom: 12px;
  }
}
