:root {
  color-scheme: dark;
  --canvas: #071629;
  --deep: #030b16;
  --surface: rgba(11, 31, 55, 0.78);
  --surface-strong: rgba(14, 39, 69, 0.94);
  --line: rgba(89, 224, 211, 0.2);
  --line-strong: rgba(89, 224, 211, 0.48);
  --ink: #f7f9fc;
  --muted: #a7b6c8;
  --aqua: #59e0d3;
  --blue: #78a7e8;
  --amber: #d58a49;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--deep); }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 73% 26%, rgba(89, 224, 211, 0.09), transparent 27rem),
    radial-gradient(circle at 12% 76%, rgba(120, 167, 232, 0.08), transparent 30rem),
    linear-gradient(145deg, var(--deep), var(--canvas) 48%, #081b31);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(120, 167, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 167, 232, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

button, a { font: inherit; }

.ambient {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(89, 224, 211, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::before, .ambient::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(89, 224, 211, 0.08);
  border-radius: inherit;
}

.ambient::before { inset: 3.5rem; }
.ambient::after { inset: 8rem; }
.ambient-one { top: -18rem; right: -8rem; }
.ambient-two { bottom: -24rem; left: -12rem; }

.shell {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 5vw;
  flex-direction: column;
}

.topbar {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(167, 182, 200, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark { width: 43px; height: 43px; overflow: visible; }
.brand-mark path:first-child { fill: rgba(89, 224, 211, 0.08); stroke: var(--aqua); stroke-width: 1.2; }
.brand-mark path:last-child { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.brand-name { font-size: 0.9rem; font-weight: 650; letter-spacing: 0.24em; white-space: nowrap; }

.topbar-actions { display: flex; align-items: center; gap: 1.5rem; }
.privacy-state { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.privacy-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 14px var(--aqua); }

.language-switch { display: flex; padding: 4px; border: 1px solid rgba(167, 182, 200, 0.16); border-radius: 999px; background: rgba(3, 11, 22, 0.46); }
.language { min-width: 42px; padding: 0.45rem 0.55rem; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 0.72rem; }
.language:hover, .language:focus-visible { color: var(--ink); outline: none; }
.language.is-active { color: var(--deep); background: var(--aqua); }

.portal-grid {
  display: grid;
  width: 100%;
  margin: auto 0;
  padding: 5rem 0;
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.75fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.introduction { max-width: 760px; }
.eyebrow { margin: 0 0 1.5rem; color: var(--aqua); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; }
.office-title { max-width: 760px; margin: 0; line-height: 0.96; }
.office-title span { display: block; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.8rem); font-weight: 540; letter-spacing: 0.08em; text-transform: uppercase; }
.office-title strong { display: block; margin-top: 0.45rem; color: var(--ink); font-size: clamp(4rem, 7vw, 7rem); font-weight: 620; letter-spacing: -0.065em; text-shadow: 0 0 38px rgba(89, 224, 211, 0.16); }
.architecture-statement { max-width: 650px; margin: 2rem 0 0; color: var(--aqua); font-size: clamp(0.8rem, 1vw, 0.96rem); font-weight: 650; letter-spacing: 0.07em; line-height: 1.55; text-transform: uppercase; }
.lede { max-width: 680px; margin: 1.2rem 0 0; color: var(--muted); font-size: clamp(0.92rem, 1.15vw, 1.05rem); line-height: 1.7; }

.boundary-list { display: grid; margin-top: 3.5rem; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.boundary-list article { display: flex; min-height: 128px; padding: 1.2rem 1rem; gap: 0.8rem; border-top: 1px solid rgba(167, 182, 200, 0.16); }
.boundary-number { color: var(--aqua); font: 600 0.65rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.boundary-list h2 { margin: 0 0 0.6rem; font-size: 0.88rem; font-weight: 650; }
.boundary-list p { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.55; }

.access-column { display: flex; min-width: 0; flex-direction: column; gap: 1rem; }
.owner-signature { margin: 0 0 0 1.1rem; color: var(--ink); font-size: clamp(0.9rem, 1.25vw, 1.14rem); font-weight: 650; letter-spacing: 0.32em; text-transform: uppercase; }
.owner-signature span { color: var(--aqua); text-shadow: 0 0 18px rgba(89, 224, 211, 0.35); }

.access-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, var(--surface-strong), rgba(5, 20, 37, 0.92));
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.card-orbit { position: absolute; top: -10rem; right: -10rem; width: 22rem; height: 22rem; border: 1px solid rgba(89, 224, 211, 0.13); border-radius: 50%; }
.card-orbit::before, .card-orbit span { position: absolute; inset: 3rem; content: ""; border: 1px solid rgba(89, 224, 211, 0.09); border-radius: inherit; }
.card-orbit span { inset: 6rem; }

.access-heading { position: relative; display: flex; align-items: center; gap: 1rem; }
.access-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(89, 224, 211, 0.08); }
.access-icon svg { width: 24px; fill: var(--aqua); }
.access-heading p { margin: 0 0 0.35rem; color: var(--aqua); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; }
.access-heading h2 { margin: 0; font-size: 1.35rem; font-weight: 600; }

.credential-panel { display: flex; margin-top: 3rem; padding: 1.2rem; align-items: center; gap: 1rem; border: 1px solid rgba(167, 182, 200, 0.13); border-radius: 18px; background: rgba(3, 11, 22, 0.36); }
.credential-pulse { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 7px rgba(213, 138, 73, 0.1); }
.credential-panel strong { display: block; font-size: 0.88rem; }
.credential-panel small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }

.owner-entries { display: grid; margin-top: 1.4rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
.owner-entry { min-width: 0; padding: 1rem; border: 1px solid rgba(89, 224, 211, 0.24); border-radius: 16px; color: var(--ink); background: linear-gradient(145deg, rgba(89, 224, 211, 0.12), rgba(120, 167, 232, 0.08)); cursor: pointer; text-align: left; }
.owner-entry span { display: block; font-size: 0.78rem; font-weight: 700; }
.owner-entry small { display: block; margin-top: 0.35rem; color: var(--aqua); font-size: 0.62rem; }
.owner-entry:hover, .owner-entry:focus-visible { border-color: var(--line-strong); outline: none; box-shadow: 0 0 24px rgba(89, 224, 211, 0.08); }
.owner-entry:disabled { cursor: wait; opacity: 0.5; }
.sign-out-button { width: 100%; margin-top: 0.75rem; padding: 0.7rem; border: 1px solid rgba(167, 182, 200, 0.16); border-radius: 12px; color: var(--muted); background: rgba(3, 11, 22, 0.24); cursor: pointer; }
.sign-out-button[hidden] { display: none; }
.authentication-status { min-height: 1.1rem; margin: 0.85rem 0 0; color: var(--aqua); font-size: 0.7rem; text-align: center; }
.authentication-status[data-state="authUnavailable"], .authentication-status[data-state="authCancelled"] { color: var(--amber); }
.credential-management { margin-top: 0.8rem; }
.add-credential-button { width: 100%; padding: 0.8rem; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--deep); background: var(--aqua); cursor: pointer; font-size: 0.72rem; font-weight: 700; }
.add-credential-button:hover, .add-credential-button:focus-visible { outline: none; box-shadow: 0 0 24px rgba(89, 224, 211, 0.18); }
.add-credential-button:disabled { cursor: wait; opacity: 0.55; }
.add-credential-button[hidden] { display: none; }
.registration-status { min-height: 1rem; margin: 0.65rem 0 0; color: var(--aqua); font-size: 0.68rem; text-align: center; }
.registration-status[data-state="registrationFailed"] { color: var(--amber); }
.registration-status[hidden] { display: none; }
.preview-note { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.7rem; text-align: center; }

.session-facts { margin-top: 2.4rem; border-top: 1px solid rgba(167, 182, 200, 0.13); }
.session-facts div { display: flex; padding: 0.9rem 0; justify-content: space-between; border-bottom: 1px solid rgba(167, 182, 200, 0.08); font-size: 0.74rem; }
.session-facts span { color: var(--muted); }
.session-facts strong { color: var(--aqua); font-weight: 600; }

.discovery-candidate-panel {
  display: grid;
  margin: 0 0 5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(14, 39, 69, 0.88), rgba(5, 20, 37, 0.92));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.24);
}
.discovery-candidate-panel[hidden] { display: none; }
.discovery-candidate-heading .eyebrow { margin-bottom: 0.8rem; }
.discovery-candidate-heading h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600; }
.discovery-candidate-heading > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.6; }
.official-site-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.official-site-form label { display: grid; gap: 0.45rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.04em; }
.official-site-form .field-wide { grid-column: 1 / -1; }
.official-site-form input, .official-site-form textarea {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(167, 182, 200, 0.18);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(3, 11, 22, 0.48);
  resize: vertical;
}
.official-site-form input:focus, .official-site-form textarea:focus { border-color: var(--line-strong); box-shadow: 0 0 18px rgba(89, 224, 211, 0.08); }
.official-site-actions { display: flex; align-items: center; gap: 1rem; }
.official-site-actions button { padding: 0.85rem 1.2rem; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--deep); background: var(--aqua); cursor: pointer; font-size: 0.72rem; font-weight: 700; }
.official-site-actions button:disabled { cursor: wait; opacity: 0.55; }
.official-site-actions p { margin: 0; color: var(--muted); font-size: 0.7rem; }
.official-site-actions p[data-state="candidateSuccess"] { color: var(--aqua); }
.official-site-actions p[data-state="candidateDuplicate"], .official-site-actions p[data-state="candidateFailed"] { color: var(--amber); }

.bulk-import-panel { grid-column: 2; padding-top: 1.5rem; border-top: 1px solid rgba(167, 182, 200, 0.13); }
.bulk-import-panel h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.bulk-import-panel > div > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.bulk-import-form { display: grid; grid-template-columns: minmax(120px, 0.35fr) minmax(220px, 1fr); gap: 1rem; }
.bulk-import-form label { display: grid; gap: 0.45rem; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.04em; }
.bulk-import-form .field-wide { grid-column: auto; }
.bulk-import-form input, .bulk-import-form select {
  width: 100%; padding: 0.82rem 0.9rem; box-sizing: border-box;
  border: 1px solid rgba(167, 182, 200, 0.18); border-radius: 12px;
  outline: none; color: var(--ink); background: rgba(3, 11, 22, 0.48);
}
.bulk-import-report { display: block; margin-top: 1rem; padding: 0.9rem; border-radius: 12px; background: rgba(89, 224, 211, 0.08); color: var(--aqua); font-size: 0.76rem; font-weight: 700; }
.bulk-import-report[hidden] { display: none; }
.bulk-import-preview, .bulk-import-history { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(167, 182, 200, 0.13); border-radius: 14px; background: rgba(7, 22, 41, 0.46); }
.bulk-import-preview[hidden] { display: none; }
.bulk-import-preview p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.72rem; line-height: 1.55; }
.bulk-import-preview ol, .bulk-import-history ul { display: grid; gap: 0.55rem; max-height: 20rem; margin: 0; padding: 0; overflow: auto; list-style: none; }
.bulk-import-preview li, .bulk-import-history li { padding: 0.7rem 0.8rem; border-radius: 10px; background: rgba(167, 182, 200, 0.06); color: var(--ink); font-size: 0.72rem; line-height: 1.5; }
.bulk-import-preview li[data-outcome="READY"] { border-left: 2px solid var(--aqua); }
.bulk-import-preview li[data-outcome="DUPLICATE"], .bulk-import-preview li[data-outcome="REJECTED"] { border-left: 2px solid var(--amber); }
.bulk-import-history li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bulk-import-history li div { display: grid; gap: 0.35rem; }
.bulk-import-history li span { color: var(--muted); }
.bulk-import-history button, #confirm-bulk-import { border: 1px solid rgba(213, 138, 73, 0.45); border-radius: 10px; background: rgba(213, 138, 73, 0.08); color: var(--ink); padding: 0.6rem 0.75rem; cursor: pointer; }
#bulk-import-status[data-state="bulkSuccess"] { color: var(--aqua); }
#bulk-import-status[data-state="bulkFailed"] { color: var(--amber); }

.crawler-seed-panel { grid-column: 2; padding-top: 1.5rem; border-top: 1px solid rgba(167, 182, 200, 0.13); }
.crawler-seed-panel[hidden] { display: none; }
.crawler-seed-panel h3, .crawler-seed-panel h4 { margin: 0 0 0.5rem; }
.crawler-seed-panel > div > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.crawler-seed-form { margin-top: 1rem; }
.crawler-seed-inventory { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(116, 240, 255, 0.18); border-radius: 18px; background: rgba(1, 16, 51, 0.42); }
.crawler-seed-inventory-heading, .crawler-seed-list li, .crawler-seed-actions { display: flex; align-items: center; gap: 0.75rem; }
.crawler-seed-inventory-heading { justify-content: space-between; }
.crawler-seed-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.crawler-seed-list li { justify-content: space-between; padding: 0.8rem; border-radius: 14px; background: rgba(0, 10, 37, 0.58); }
.crawler-seed-list li > div:first-child { display: grid; gap: 0.2rem; }
.crawler-seed-list [data-status] { color: var(--aqua); font-size: 0.72rem; letter-spacing: 0.08em; }
.crawler-seed-list small { color: var(--muted); }
.crawler-seed-actions button, .crawler-seed-inventory-heading button { padding: 0.55rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--deep); background: var(--aqua); cursor: pointer; font-size: 0.72rem; font-weight: 700; }
#crawler-seed-status[data-state="seedSuccess"] { color: var(--aqua); }
#crawler-seed-status[data-state="seedDuplicate"], #crawler-seed-status[data-state="seedFailed"] { color: var(--amber); }

.candidate-review-panel { grid-column: 2; padding-top: 1.5rem; border-top: 1px solid rgba(167, 182, 200, 0.13); }
.candidate-review-panel h3, .candidate-review-panel h4 { margin: 0 0 0.5rem; }
.candidate-review-panel > div > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.candidate-review-inventory { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(116, 240, 255, 0.18); border-radius: 18px; background: rgba(1, 16, 51, 0.42); }
.candidate-review-inventory-heading, .candidate-review-list li, .candidate-review-actions { display: flex; align-items: center; gap: 0.75rem; }
.candidate-review-inventory-heading { justify-content: space-between; }
.candidate-review-inventory-heading button, .candidate-review-actions button { padding: 0.55rem 0.75rem; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--deep); background: var(--aqua); cursor: pointer; font-size: 0.72rem; font-weight: 700; }
.candidate-review-inventory-heading button:disabled, .candidate-review-actions button:disabled { cursor: wait; opacity: 0.55; }
.candidate-review-list { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.candidate-review-list li { align-items: flex-start; justify-content: space-between; padding: 0.9rem; border-radius: 14px; background: rgba(0, 10, 37, 0.58); }
.candidate-review-list li > div:first-child { display: grid; gap: 0.2rem; min-width: 0; }
.candidate-review-list [data-status] { color: var(--aqua); font-size: 0.72rem; letter-spacing: 0.08em; }
.candidate-review-list small { color: var(--muted); }
.candidate-review-controls { display: grid; gap: 0.55rem; min-width: min(100%, 310px); }
.candidate-review-controls input { width: 100%; padding: 0.65rem 0.75rem; box-sizing: border-box; border: 1px solid rgba(167, 182, 200, 0.18); border-radius: 10px; outline: none; color: var(--ink); background: rgba(3, 11, 22, 0.48); }
#candidate-review-status[data-state="reviewSuccess"] { color: var(--aqua); }
#candidate-review-status[data-state="reviewFailed"] { color: var(--amber); }
#candidate-review-status[data-state="publicationRequestSuccess"] { color: var(--aqua); }
#candidate-review-status[data-state="publicationRequestFailed"] { color: var(--amber); }
.candidate-review-actions [data-publication-request-status] { color: var(--amber); letter-spacing: 0.04em; }

.public-index-preview-panel { grid-column: 2; padding-top: 1.5rem; border-top: 1px solid rgba(167, 182, 200, 0.13); }
.public-index-preview-panel h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.public-index-preview-panel > div > p:last-child { margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
.public-index-preview-panel select, .public-index-preview-panel input { width: 100%; padding: 0.82rem 0.9rem; box-sizing: border-box; border: 1px solid rgba(167, 182, 200, 0.18); border-radius: 12px; color: var(--ink); background: rgba(3, 11, 22, 0.48); }
.public-index-preview-list { display: grid; gap: 0.55rem; max-height: 18rem; margin: 1rem 0 0; padding: 0; overflow: auto; list-style: none; }
.public-index-preview-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem; border-radius: 12px; color: var(--ink); background: rgba(0, 10, 37, 0.58); font-size: 0.72rem; }
.public-index-preview-list small { color: var(--aqua); }
#public-index-preview-status[data-state="success"] { color: var(--aqua); }
#public-index-preview-status[data-state="failed"] { color: var(--amber); }
.public-index-preview-batch { margin-top: 1.25rem; padding: 1rem; border: 1px solid rgba(76, 225, 220, 0.2); border-radius: 14px; background: rgba(0, 10, 37, 0.42); }
.public-index-preview-batch h4 { margin: 0 0 0.4rem; }
.public-index-preview-batch > p { margin: 0 0 1rem; color: var(--muted); font-size: 0.75rem; line-height: 1.55; }
#public-index-preview-batch-status[data-state="success"] { color: var(--aqua); }
#public-index-preview-batch-status[data-state="failed"] { color: var(--amber); }

footer { display: flex; min-height: 74px; align-items: center; gap: 0.8rem; border-top: 1px solid rgba(167, 182, 200, 0.13); color: var(--muted); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-divider { width: 1px; height: 12px; background: rgba(167, 182, 200, 0.3); }
footer time { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .portal-grid { grid-template-columns: 1fr; padding: 4rem 0; }
  .access-column { width: min(100%, 620px); }
  .access-card { min-height: auto; }
  .discovery-candidate-panel { grid-template-columns: 1fr; }
  .bulk-import-panel { grid-column: 1; }
  .crawler-seed-panel { grid-column: 1; }
  .candidate-review-panel { grid-column: 1; }
  .public-index-preview-panel { grid-column: 1; }
}

@media (max-width: 680px) {
  .shell { padding: 0 1.25rem; }
  .topbar { min-height: 86px; }
  .privacy-state { display: none; }
  .brand-name { font-size: 0.72rem; letter-spacing: 0.13em; white-space: normal; }
  .portal-grid { gap: 3rem; padding: 3rem 0; }
  .office-title strong { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .office-title span { font-size: 1rem; }
  .lede { line-height: 1.65; }
  .boundary-list { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .boundary-list article { min-height: auto; padding: 1rem 0; }
  .access-card { padding: 1.4rem; border-radius: 22px; }
  .owner-entries { grid-template-columns: 1fr; }
  .official-site-form { grid-template-columns: 1fr; }
  .bulk-import-form { grid-template-columns: 1fr; }
  .official-site-actions { align-items: stretch; flex-direction: column; }
  .crawler-seed-list li { align-items: flex-start; flex-direction: column; }
  .crawler-seed-actions { flex-wrap: wrap; }
  .candidate-review-list li { flex-direction: column; }
  .candidate-review-controls { width: 100%; }
  .candidate-review-actions { flex-wrap: wrap; }
  footer span:nth-child(3), .footer-divider { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .ambient-one { animation: drift 18s ease-in-out infinite alternate; }
  .credential-pulse { animation: breathe 2.8s ease-in-out infinite; }
  @keyframes drift { to { transform: translate(-28px, 24px); } }
  @keyframes breathe { 50% { box-shadow: 0 0 0 10px rgba(213, 138, 73, 0.04); } }
}
