:root {
  --bg: #f5f8f3;
  --surface: #ffffff;
  --surface-alt: #f3faf4;
  --surface-strong: #e8f5dd;
  --text: #101414;
  --muted: #5f6f66;
  --border: #d8e6d6;
  --primary: #3f9f72;
  --primary-dark: #13704e;
  --accent: #050909;
  --brand-yellow: #e9df38;
  --brand-green: #74c9a1;
  --success: #13704e;
  --warning-bg: #fffbe3;
  --warning-border: #e9df38;
  --shadow: 0 14px 35px rgba(5, 9, 9, 0.08);
  --radius: 18px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfcf2 0%, var(--bg) 240px);
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, li, a, th, td { overflow-wrap: break-word; }
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
code {
  background: #ecf7e8;
  color: #0f5b42;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}
.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(251, 252, 242, 0.9);
  border-bottom: 1px solid rgba(216, 230, 214, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--accent);
  line-height: 1.2;
}
.brand-logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}
.brand-caption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  order: 1;
  min-width: 0;
  justify-content: flex-end;
}
.top-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}
.top-nav a.active,
.top-nav a:hover {
  background: #edf6d9;
  color: var(--primary-dark);
}
.search-shell {
  position: relative;
  order: 2;
  width: 42px;
  flex: 0 0 auto;
  transition: width 0.18s ease;
}
.search-shell.expanded {
  width: 250px;
}
.search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  height: 42px;
  padding: 3px;
  box-shadow: 0 8px 20px rgba(5, 9, 9, 0.05);
}
.search-form input {
  border: 0;
  outline: 0;
  width: 0;
  min-width: 0;
  opacity: 0;
  font: inherit;
  background: transparent;
  color: var(--text);
  transition: width 0.18s ease, opacity 0.12s ease;
}
.search-shell.expanded .search-form input {
  width: 190px;
  opacity: 1;
  padding-left: 12px;
}
.search-form button {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  padding: 0;
  font-size: 0;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.search-form button::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
}
.search-form button::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 21px;
  width: 8px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: left center;
}
.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  max-height: 420px;
  overflow: auto;
}
.search-shell.open .search-results {
  display: block;
}
.search-result {
  display: block;
  padding: 12px;
  border-radius: 12px;
  color: var(--text);
}
.search-result:hover {
  background: #f1faed;
}
.search-result strong,
.search-result span {
  display: block;
}
.search-result-meta {
  font-size: 0.83rem;
  color: var(--primary-dark);
  margin-top: 2px;
}
.search-result-text,
.search-empty {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 4px;
}
.search-empty {
  padding: 12px;
}
.hero-card,
.panel {
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-green), transparent);
  pointer-events: none;
}
.hero {
  padding: 34px 0 26px;
}
.hero-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0f8e9 58%, #fffbe3 100%);
  color: var(--text);
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ecf7e8;
  color: var(--primary-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 14px;
}
.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-yellow), var(--brand-green));
  box-shadow: 0 12px 24px rgba(5, 9, 9, 0.13);
}
.hero-icon::before {
  content: "";
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.hero-icon-portal::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='4'%20width='18'%20height='12'%20rx='2'/%3E%3Cpath%20d='M8%2020h8'/%3E%3Cpath%20d='M12%2016v4'/%3E%3C/svg%3E");
}
.hero-icon-guide::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2019.5A2.5%202.5%200%200%201%206.5%2017H20'/%3E%3Cpath%20d='M6.5%202H20v20H6.5A2.5%202.5%200%200%201%204%2019.5v-15A2.5%202.5%200%200%201%206.5%202Z'/%3E%3Cpath%20d='M9%207h7'/%3E%3Cpath%20d='M9%2011h5'/%3E%3C/svg%3E");
}
.hero-icon-operations::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='14'%20y='3'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='3'%20y='14'%20width='7'%20height='7'%20rx='1.5'/%3E%3Cpath%20d='m15%2015%205%203-5%203v-6Z'/%3E%3C/svg%3E");
}
.hero-icon-admin::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='9'%20cy='7'%20r='4'/%3E%3Cpath%20d='M19%208v6'/%3E%3Cpath%20d='M22%2011h-6'/%3E%3C/svg%3E");
}
.hero-icon-support::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%206.3a1%201%200%200%200%200%201.4l1.6%201.6a1%201%200%200%200%201.4%200l3.1-3.1a6%206%200%200%201-7.9%207.9l-5.7%205.7a2.1%202.1%200%200%201-3-3l5.7-5.7a6%206%200%200%201%207.9-7.9l-3.1%203.1Z'/%3E%3C/svg%3E");
}
.hero h1 {
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.08;
}
.hero p {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 1.03rem;
}
.page-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 52px;
}
.sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.sidebar .panel,
.content-section,
.landing-grid .panel { padding: 24px; }
.sidebar h2,
.content-section h2 { margin-top: 0; }
.toc ol, .toc ul, .content-section ol, .content-section ul { padding-left: 20px; }
.toc li, .content-section li { margin: 0.38rem 0; }
.toc ul {
  list-style: none;
  padding-left: 14px;
  margin-top: 8px;
}
.toc ul li {
  position: relative;
}
.toc ul li::before {
  content: "-";
  position: absolute;
  left: -12px;
  color: var(--muted);
}
.toc a { color: var(--text); }
.toc a:hover { color: var(--primary); }
.main {
  display: grid;
  gap: 22px;
}
.content-section h2 {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}
.content-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}
.section-intro {
  color: var(--muted);
  margin-bottom: 1rem;
}
.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 52px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.info-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.section-card-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-yellow), var(--brand-green));
  box-shadow: 0 10px 20px rgba(5, 9, 9, 0.1);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}
.section-card-icon-guide {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2019.5A2.5%202.5%200%200%201%206.5%2017H20'/%3E%3Cpath%20d='M6.5%202H20v20H6.5A2.5%202.5%200%200%201%204%2019.5v-15A2.5%202.5%200%200%201%206.5%202Z'/%3E%3Cpath%20d='M9%207h7'/%3E%3Cpath%20d='M9%2011h5'/%3E%3C/svg%3E");
}
.section-card-icon-operations {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Crect%20x='3'%20y='3'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='14'%20y='3'%20width='7'%20height='7'%20rx='1.5'/%3E%3Crect%20x='3'%20y='14'%20width='7'%20height='7'%20rx='1.5'/%3E%3Cpath%20d='m15%2015%205%203-5%203v-6Z'/%3E%3C/svg%3E");
}
.section-card-icon-admin {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M16%2021v-2a4%204%200%200%200-4-4H6a4%204%200%200%200-4%204v2'/%3E%3Ccircle%20cx='9'%20cy='7'%20r='4'/%3E%3Cpath%20d='M19%208v6'/%3E%3Cpath%20d='M22%2011h-6'/%3E%3C/svg%3E");
}
.section-card-icon-support {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23050909'%20stroke-width='2.2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M14.7%206.3a1%201%200%200%200%200%201.4l1.6%201.6a1%201%200%200%200%201.4%200l3.1-3.1a6%206%200%200%201-7.9%207.9l-5.7%205.7a2.1%202.1%200%200%201-3-3l5.7-5.7a6%206%200%200%201%207.9-7.9l-3.1%203.1Z'/%3E%3C/svg%3E");
}
.info-card h3,
.info-card h4 { margin: 0 0 0.45rem; }
.info-card p { margin: 0; }
.page-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 700;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin: 14px 0 4px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
th { background: #eef7e8; font-size: 0.95rem; }
tr:last-child td { border-bottom: none; }
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.callout {
  border-left: 4px solid var(--primary);
  background: #f0f8e9;
  padding: 14px 16px;
  border-radius: 10px;
  margin: 18px 0;
}
.callout.warning {
  border-left-color: var(--brand-yellow);
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
}
.figure {
  margin: 18px 0 0;
  max-width: 100%;
}
.figure img {
  width: 100%;
  object-fit: contain;
}
.figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecf7e8;
  color: #0f5b42;
  font-size: 0.92rem;
  font-weight: 600;
}
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}
.button.primary {
  background: var(--primary);
  color: #fff;
}
.button.primary:hover { background: var(--primary-dark); color: #fff; }
.button.secondary {
  background: #fffbe3;
  border-color: #e9df38;
}
.error-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.error-page {
  display: grid;
  place-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}
.error-card {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}
.error-brand {
  width: max-content;
  margin: 0 auto 28px;
}
.error-code {
  display: inline-block;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.error-card h1 {
  margin: 10px 0 8px;
  font-size: 2rem;
  line-height: 1.15;
}
.error-card p {
  margin: 0;
  color: var(--muted);
}
.error-card .cta-strip {
  justify-content: center;
  margin-top: 22px;
}
.login-page {
  min-height: 100vh;
  background:
    linear-gradient(145deg, rgba(5, 9, 9, 0.78), rgba(18, 59, 45, 0.7)),
    linear-gradient(180deg, #fbfcf2 0%, var(--bg) 100%);
}
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}
.login-panel {
  width: min(100%, 440px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(216, 230, 214, 0.92);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(5, 9, 9, 0.22);
  padding: 32px;
}
.login-brand {
  width: max-content;
  margin: 0 auto 28px;
}
.login-copy {
  text-align: center;
}
.login-copy .hero-eyebrow {
  background: #edf6d9;
  color: var(--primary-dark);
}
.login-copy h1 {
  margin: 18px 0 8px;
  font-size: 2rem;
  line-height: 1.12;
}
.login-copy p {
  margin: 0;
  color: var(--muted);
}
.login-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.login-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 700;
}
.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  line-height: 1.3;
  background: #fff;
}
.login-form input:focus {
  outline: 3px solid rgba(116, 201, 161, 0.28);
  border-color: var(--primary);
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.remember-option {
  display: inline-flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
  font-weight: 600 !important;
}
.remember-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}
.login-submit {
  width: 100%;
  min-height: 46px;
  cursor: pointer;
}
.login-footnote {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 32px rgba(5, 9, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.back-to-top:hover {
  background: linear-gradient(145deg, var(--primary-dark), #0d5c3f);
  box-shadow: 0 20px 38px rgba(5, 9, 9, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}
.back-to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 17px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='20'%20height='20'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m18%2015-6-6-6%206'/%3E%3Cpath%20d='M12%209v12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: translate(-50%, -50%);
}
.site-footer {
  padding: 18px 0 54px;
  color: var(--muted);
}
.footer-card {
  padding: 22px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}
.footer-grid p, .footer-grid ul { margin: 0; }
.footer-grid ul { padding-left: 18px; }
.footer-grid li:has(.direction-link) {
  list-style: none;
}
.footer-grid ul:has(.direction-link) {
  padding-left: 0;
}
.direction-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.direction-link::before,
.direction-link::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}
.direction-link.next::after {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%2012h14'/%3E%3Cpath%20d='m13%206%206%206-6%206'/%3E%3C/svg%3E");
}
.direction-link.next::before {
  display: none;
}
.direction-link.back::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='2.8'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M19%2012H5'/%3E%3Cpath%20d='m11%2018-6-6%206-6'/%3E%3C/svg%3E");
}
.direction-link.back::after {
  display: none;
}
.copyright {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
@media (max-width: 1180px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 14px 0;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
  }
  .top-nav {
    justify-content: center;
  }
}
@media (max-width: 1024px) {
  .page-shell,
  .landing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .page-shell,
  .landing-grid {
    gap: 20px;
    padding-bottom: 40px;
  }
  .sidebar {
    position: static;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
}
@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }
  .site-header {
    position: sticky;
  }
  .header-inner {
    align-items: stretch;
    gap: 10px;
    padding: 12px 0;
  }
  .brand {
    align-self: center;
  }
  .brand-logo {
    width: 150px;
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .top-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }
  .top-nav::-webkit-scrollbar {
    display: none;
  }
  .top-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.92rem;
  }
  .search-shell {
    width: 42px;
    align-self: flex-end;
  }
  .search-shell.expanded {
    width: 100%;
  }
  .search-shell.expanded .search-form input {
    width: 100%;
  }
  .search-results {
    width: 100%;
    max-height: 60vh;
  }
}
@media (max-width: 720px) {
  body {
    line-height: 1.62;
  }
  .hero {
    padding: 20px 0 18px;
  }
  .hero-card,
  .sidebar .panel,
  .content-section,
  .landing-grid .panel,
  .footer-card {
    padding: 22px;
    border-radius: 16px;
  }
  .hero-card {
    border-radius: 18px;
  }
  .hero-title {
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0 12px;
  }
  .hero-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .hero-icon::before {
    width: 24px;
    height: 24px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-eyebrow {
    font-size: 0.78rem;
    line-height: 1.3;
    white-space: normal;
  }
  .content-section h2 {
    font-size: 1.42rem;
  }
  .content-section h3 {
    font-size: 1.04rem;
  }
  .card-grid,
  .grid-two {
    grid-template-columns: 1fr;
  }
  .cta-strip .button {
    width: 100%;
  }
  .badge {
    border-radius: 10px;
  }
  th,
  td {
    padding: 12px;
  }
  .login-panel {
    padding: 24px;
  }
  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 20px), var(--max-width));
  }
  .brand-logo {
    width: 132px;
  }
  .brand-caption {
    font-size: 0.76rem;
  }
  .top-nav a {
    padding: 7px 10px;
    font-size: 0.86rem;
  }
  .search-form {
    height: 40px;
  }
  .search-form button {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .hero-card,
  .sidebar .panel,
  .content-section,
  .landing-grid .panel,
  .footer-card {
    padding: 18px;
  }
  .hero h1 {
    font-size: 1.72rem;
  }
  .hero-title {
    gap: 10px;
  }
  .hero-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .hero-icon::before {
    width: 21px;
    height: 21px;
  }
  .content-section h2 {
    font-size: 1.28rem;
  }
  .toc ol,
  .content-section ol,
  .content-section ul {
    padding-left: 18px;
  }
  table {
    min-width: 520px;
  }
  .footer-grid {
    gap: 16px;
  }
  .login-shell {
    padding: 18px 10px;
  }
  .login-panel {
    padding: 20px;
    border-radius: 18px;
  }
  .login-copy h1 {
    font-size: 1.58rem;
  }
}
