:root {
  color-scheme: light;
  --bg: #f5f8f5;
  --paper: #fff;
  --ink: #202d2a;
  --muted: #62736d;
  --line: #dbe6df;
  --brand: #00655e;
  --tint: #e8f2ed;
  --accent: #365ee6;
  --shadow: 0 12px 36px #17362c07;
  --danger: #ae3438;
}
[hidden] { display: none !important; }
.analytics-choice { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 960px; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); padding: 14px 18px; box-shadow: 0 8px 30px #102d2920; }
body:has(#analytics-choice:not([hidden])) { padding-bottom: 240px; }
.analytics-choice p { margin: 8px 0; font-size: 14px; }
.analytics-choice a { color: var(--brand); text-decoration: underline; }
.analytics-choice .actions { flex-wrap: wrap; }
.footer-setting { color: var(--muted); background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; font-size: inherit; }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111c1a;
  --paper: #192724;
  --ink: #e6f1eb;
  --muted: #a1b6ac;
  --line: #30473e;
  --brand: #59dec5;
  --tint: #223c33;
  --accent: #a2b3ff;
  --shadow: none;
  --danger: #ff969b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.65 "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a:hover {
  color: var(--brand);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 19px;
  line-height: 1.4;
}
p {
  margin-bottom: 14px;
}
.muted,
.fine-print {
  color: var(--muted);
}
.fine-print {
  font-size: 13px;
}
.pre-line {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 50;
  padding: 12px;
  background: var(--paper);
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1240px;
  margin: auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 46px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand img {
  width: 63px;
  height: 48px;
  object-fit: contain;
}
.brand span {
  font-size: 13px;
  color: var(--muted);
}
.dark-logo {
  display: none !important;
}
[data-theme="dark"] .dark-logo {
  display: block !important;
}
[data-theme="dark"] .light-logo {
  display: none !important;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
}
nav a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
nav a.active {
  color: var(--brand);
}
#basket-count {
  background: var(--tint);
  color: var(--brand);
  padding: 2px 7px;
  border-radius: 8px;
  font-size: 12px;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.login-link {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--tint);
  color: var(--brand);
}
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 32px 72px;
  min-height: 65vh;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: var(--brand);
  color: var(--paper);
  border: 1px solid var(--brand);
  border-radius: 12px;
  font-weight: 650;
  line-height: 1.4;
  font-size: 14px;
  text-align: center;
}
.button:hover {
  filter: brightness(0.94);
  color: var(--paper);
}
[data-theme="dark"] .button {
  color: #10271d;
}
.button.secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}
.button.subtle {
  background: var(--tint);
  color: var(--brand);
  border-color: transparent;
}
.button.danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}
.button.small {
  font-size: 13px;
  padding: 8px 12px;
}
.text-link {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}
.hero {
  padding: 50px 48px 48px;
  background: var(--tint);
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 46px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: 49px;
  line-height: 1.25;
}
.hero p {
  color: var(--muted);
}
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}
.hero-orbit {
  position: absolute;
  width: 278px;
  height: 278px;
  border: 1px solid var(--brand);
  opacity: 0.15;
  border-radius: 50%;
}
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid var(--brand);
  border-radius: 50%;
}
.hero-art img {
  width: 210px;
  position: relative;
  transform: rotate(-5deg);
}
.hero-note {
  position: absolute;
  bottom: 6px;
  right: 0;
  padding: 10px 15px;
  border-radius: 12px;
  background: var(--paper);
  font-size: 12px;
  color: var(--brand);
}
.search-form {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 6px 6px 6px 17px;
  align-items: center;
  max-width: 650px;
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 9px 0;
  color: var(--ink);
}
.search-form .button {
  padding: 11px 18px;
}
.section {
  margin: 34px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-header h2 {
  margin: 0;
}
.section-header p {
  margin: 5px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.field-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 19px 12px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  text-align: center;
  font-size: 14px;
}
.field-tile:hover {
  border-color: var(--brand);
  background: var(--tint);
}
.field-tile .icon {
  color: var(--brand);
}
.field-tile small {
  font-size: 11px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.qualification-card,
.panel,
.post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  box-shadow: var(--shadow);
}
.qualification-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 650;
  background: var(--tint);
  color: var(--brand);
  padding: 4px 8px;
  border-radius: 6px;
  max-width: 100%;
  line-height: 1.5;
}
.badge.accent {
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line);
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 14px 0 5px;
}
.card-title h3 {
  margin: 0;
}
.card-title > .icon {
  width: 17px;
  color: var(--muted);
}
.card-agency {
  font-size: 13px;
  margin-bottom: 20px;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 12px;
  color: var(--muted);
}
.match-reason {
  font-size: 12px;
  color: var(--brand);
}
.compare-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  background: var(--tint);
  padding: 25px 30px;
  border-radius: 18px;
}
.compare-banner h2 {
  margin-bottom: 6px;
  font-size: 21px;
}
.compare-banner p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.page-heading {
  margin: 5px 0 30px;
}
.page-heading h1 {
  margin-bottom: 12px;
}
.page-heading p {
  color: var(--muted);
  max-width: 720px;
}
.tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 18px;
}
.tabs a,
.chip {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 9px 17px;
  background: var(--paper);
  font-size: 14px;
  color: var(--muted);
}
.tabs a.active,
.chip.active {
  background: var(--brand);
  color: var(--paper);
  border-color: var(--brand);
}
[data-theme="dark"] .tabs a.active {
  color: #152922;
}
.filters {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 23px;
}
.filters summary {
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.filter-fields {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: end;
  padding-top: 18px;
}
.filter-fields label {
  flex: 1;
  min-width: 130px;
}
.input,
label > input:not([type="checkbox"]),
label > select,
label > textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  color: var(--ink);
  min-width: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
label > input,
label > select,
label > textarea {
  margin-top: 7px;
}
input[type="checkbox"] {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
  padding: 10px 0;
}
.check-label input {
  margin: 0;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  font-size: 14px;
}
.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}
.panel {
  padding: 27px;
}
.panel h2 {
  font-size: 21px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  gap: 24px;
  align-items: start;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-aside {
  position: sticky;
  top: 115px;
}
.detail-aside .button {
  width: 100%;
}
.data-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
  font-size: 14px;
}
.data-row:last-child {
  border: 0;
}
.data-row dt {
  color: var(--muted);
}
.data-row dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.schedule-card {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.schedule-card:last-child {
  border: 0;
}
.schedule-card h3 {
  font-size: 16px;
  margin-bottom: 9px;
}
.schedule-card p {
  font-size: 13px;
  margin: 5px 0;
}
.notice {
  padding: 16px 19px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0;
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.link-list small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
td,
th {
  text-align: left;
  padding: 19px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  min-width: 240px;
}
th:first-child,
td:first-child {
  min-width: 115px;
  background: var(--tint);
  color: var(--muted);
  font-size: 13px;
}
td h3 {
  font-size: 18px;
}
.provider-card .card-top {
  gap: 12px;
  align-items: start;
}
.provider-card h3 {
  margin: 10px 0;
}
.phone {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.provider-card p {
  font-size: 13px;
}
.provider-card .actions {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.empty {
  text-align: center;
  padding: 66px 20px;
  max-width: 640px;
  margin: auto;
}
.empty h2 {
  font-size: 23px;
}
.empty p {
  color: var(--muted);
}
.empty-icon {
  width: 66px;
  height: 66px;
  background: var(--tint);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 240px;
  color: var(--muted);
  font-size: 14px;
}
.loading img {
  width: 45px;
  animation: breathe 1.7s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: translateY(-5px);
    opacity: 0.55;
  }
}
.form-error {
  color: var(--danger);
  font-size: 14px;
  white-space: pre-wrap;
}
.auth-panel {
  max-width: 510px;
  margin: 12px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-panel h1 {
  font-size: 30px;
}
.auth-panel .button {
  width: 100%;
}
.document-body {
  white-space: pre-wrap;
  max-height: 50vh;
  overflow: auto;
  font-size: 14px;
}
.dialog {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: min(540px, calc(100% - 30px));
  padding: 25px;
  max-height: 88vh;
}
.dialog::backdrop {
  background: #08271d66;
  backdrop-filter: blur(3px);
}
.dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog header h2 {
  font-size: 22px;
}
.dialog footer {
  display: flex;
  gap: 10px;
  justify-content: end;
  margin-top: 20px;
}
.dialog-body > label {
  margin-bottom: 17px;
}
.post-card {
  padding: 22px 25px;
  margin-bottom: 12px;
}
.post-card h2 {
  font-size: 19px;
  margin: 10px 0 6px;
}
.post-card p {
  font-size: 14px;
  margin-bottom: 8px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.post-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.9;
  margin: 35px 0;
}
.reaction {
  display: flex;
  justify-content: center;
  margin: 35px 0;
}
.reaction button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--tint);
  border-radius: 14px;
  padding: 12px 22px;
  color: var(--brand);
  font-weight: 700;
}
.reaction img {
  width: 54px;
  height: 44px;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.comment .actions button {
  font-size: 12px;
  padding: 5px 8px;
}
.comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  margin: 9px 0;
}
.comment.reply {
  margin-left: 26px;
}
.comment .reaction {
  justify-content: start;
  margin: 9px 0;
}
.comment .reaction button {
  padding: 4px 9px;
  font-size: 12px;
}
.comment .reaction img {
  width: 32px;
  height: 24px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.check-item label {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 15px;
}
.check-item.done label {
  text-decoration: line-through;
  color: var(--muted);
}
progress {
  accent-color: var(--brand);
  width: 100%;
  height: 9px;
  border: 0;
}
.advert,
.affiliate {
  border: 1px solid var(--line);
  border-radius: 15px;
  margin: 20px 0;
  padding: 18px;
  background: var(--paper);
}
.ad-label {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-bottom: 10px;
}
.affiliate p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.affiliate .affiliate-disclosure {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.7;
}
.intake-guide {
  max-width: 900px;
  margin: auto;
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.filter-chip span {
  font-size: 18px;
  color: var(--accent);
}
.intake-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 0;
  list-style: none;
  counter-reset: intake;
  margin: 24px 0;
}
.intake-steps li {
  border-top: 2px solid var(--line);
  padding-top: 12px;
  counter-increment: intake;
}
.intake-steps strong::before {
  content: counter(intake) ". ";
  color: var(--accent);
}
.intake-steps span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.intake-checks {
  padding-left: 20px;
  line-height: 1.9;
}
.intake-guide details {
  margin-top: 18px;
}
.intake-guide dd {
  overflow-wrap: anywhere;
}
.intake-field label {
  font-weight: 600;
}
.intake-field .fine-print {
  margin: 6px 0 9px;
}
.intake-field input,
.intake-field select,
.intake-field textarea {
  width: 100%;
}
.intake-guide .required {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  margin-left: 6px;
}
.intake-guide .intake-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.intake-guide input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
}
.intake-output {
  border-top: 2px solid var(--line);
  padding-top: 24px;
  scroll-margin-top: 100px;
}
.intake-output label {
  display: block;
  margin: 15px 0;
}
.intake-output input,
.intake-output textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
}
#intake-form {
  scroll-margin-top: 100px;
}
@media (max-width: 680px) {
  .intake-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .intake-guide .panel {
    padding: 20px;
  }
  .intake-guide .actions {
    align-items: stretch;
  }
}
.affiliate > a {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 10px;
}
.preview-stamp {
  background: #fff2ca;
  color: #664c00;
  border: 1px solid #e8d797;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
}
.preview-product {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.preview-product .placeholder-image {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: var(--tint);
  border-radius: 12px;
  color: var(--brand);
}
.preview-product p {
  margin: 0;
}
.site-footer {
  max-width: 1180px;
  margin: auto;
  padding: 33px 32px 44px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}
.site-footer strong {
  font-size: 18px;
  color: var(--brand);
}
.site-footer p {
  margin: 7px 0;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.fine-print {
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 12px 22px;
  z-index: 60;
  max-width: 90vw;
  font-size: 14px;
  transition: 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 1000px) {
  .brand span {
    display: none;
  }
  .header-inner {
    gap: 22px;
  }
  nav {
    gap: 22px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero {
    padding: 35px;
  }
  .field-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 15px;
  }
  .header-inner {
    padding: 11px 19px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .brand img {
    width: 46px;
    height: 36px;
  }
  .header-actions {
    margin-left: auto;
  }
  nav {
    order: 3;
    width: 100%;
    margin: 3px 0 0;
    justify-content: space-between;
    gap: 9px;
    padding: 9px 0 2px;
  }
  nav a {
    font-size: 14px;
  }
  .login-link {
    font-size: 12px;
  }
  main {
    padding: 27px 19px 42px;
  }
  .hero {
    padding: 28px 23px;
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    gap: 0;
    border-radius: 19px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-art {
    display: none;
  }
  .hero .eyebrow {
    font-size: 11px;
  }
  .search-form {
    padding-left: 12px;
  }
  .search-form input {
    font-size: 14px;
  }
  .search-form .button {
    padding: 11px 13px;
  }
  .field-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .field-tile {
    padding: 14px 8px;
    font-size: 12px;
    gap: 7px;
  }
  .field-tile small {
    display: none;
  }
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qualification-card {
    padding: 17px 20px;
  }
  .card-top {
    min-height: 25px;
  }
  .card-title {
    margin-top: 7px;
  }
  .card-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 15px;
    font-size: 11px;
  }
  .card-agency {
    margin-bottom: 14px;
  }
  .section {
    margin: 27px 0;
  }
  .section-header h2 {
    font-size: 21px;
  }
  .section-header .text-link {
    font-size: 12px;
  }
  .compare-banner {
    padding: 21px;
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .compare-banner h2 {
    font-size: 20px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .tabs {
    margin-top: 20px;
    gap: 6px;
  }
  .tabs a {
    font-size: 13px;
    padding: 8px 12px;
  }
  .filter-fields {
    gap: 12px;
  }
  .filter-fields label {
    min-width: calc(50% - 12px);
  }
  .filter-fields .button {
    width: 100%;
  }
  .detail-layout {
    display: flex;
    flex-direction: column;
  }
  .detail-layout > .stack,
  .detail-aside {
    width: 100%;
  }
  .detail-aside {
    position: static;
  }
  .panel {
    padding: 22px 19px;
  }
  .data-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 9px;
    font-size: 13px;
  }
  .auth-panel {
    padding: 25px 21px;
  }
  .post-card {
    padding: 18px;
  }
  .post-card h2 {
    font-size: 18px;
  }
  .section-header {
    gap: 9px;
  }
  .site-footer {
    padding: 26px 19px;
  }
  .footer-links {
    gap: 13px;
    font-size: 12px;
  }
  .empty {
    padding: 46px 5px;
  }
  td,
  th {
    min-width: 230px;
    padding: 15px;
  }
  th:first-child,
  td:first-child {
    min-width: 92px;
  }
  .phone {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.block {
  display: block;
}
[hidden] {
  display: none !important;
}

.card-meta:empty {
  display: none;
}

.community-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.community-sidebar {
  position: sticky;
  top: 120px;
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.community-sidebar h2 {
  font-size: 19px;
  margin: 8px 0 22px;
}
.community-menu {
  display: grid;
  gap: 5px;
  margin: 0;
  width: auto;
}
.community-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border-radius: 10px;
  font-size: 15px;
}
.community-menu a.active {
  color: var(--brand);
  background: var(--tint);
  font-weight: 700;
}
.community-menu .icon {
  width: 16px;
  opacity: 0.55;
}
.community-write {
  width: 100%;
  margin-top: 26px;
}
.community-recent {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 20px 0 12px;
}
.community-sidebar .fine-print {
  margin: 0;
  font-size: 12px;
}
.community-content {
  min-width: 0;
}
.community-content .page-heading {
  margin-bottom: 26px;
}
.community-content .page-heading h1 {
  font-size: 34px;
}
.community-search {
  width: 100%;
  margin-bottom: 22px;
}
.community-fields {
  margin: 18px 0 24px;
}
.community-field-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
}
.community-field-tabs a,
.community-field-grid a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 12px;
  background: var(--paper);
  font-size: 13px;
}
.community-field-tabs a.active,
.community-field-grid a.active {
  border-color: var(--brand);
  background: var(--tint);
  color: var(--brand);
  font-weight: 700;
}
.community-all-fields {
  margin: 12px 0;
}
.community-all-fields summary {
  width: fit-content;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.community-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 14px;
}
.community-fields > .fine-print {
  margin-top: 12px;
}
.community-list-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 26px 0 14px;
}
.community-list-heading h2 {
  margin: 0;
  font-size: 20px;
  flex: 1;
}
.community-list-heading .text-link {
  font-size: 12px;
}
.community-list-heading > .fine-print {
  width: auto;
  flex-shrink: 0;
}
.community-feed {
  border-top: 2px solid var(--brand);
}
.community-feed .post-card {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 22px 6px;
  background: transparent;
}
.community-feed .post-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.community-feed .post-card p {
  margin-bottom: 12px;
}
.community-mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .community-layout {
    grid-template-columns: 178px minmax(0, 1fr);
    gap: 26px;
  }
  .community-sidebar {
    padding: 20px 12px;
  }
  .community-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .community-layout {
    display: block;
  }
  .community-sidebar {
    display: none;
  }
  .community-mobile-menu {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
  }
  .community-mobile-menu select {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--paper);
    color: var(--ink);
  }
  .community-mobile-menu .button {
    flex-shrink: 0;
  }
  .community-content .page-heading h1 {
    font-size: 29px;
  }
  .community-field-tabs {
    gap: 6px;
  }
  .community-field-tabs a {
    font-size: 12px;
    padding: 7px 9px;
  }
  .community-list-heading {
    gap: 9px;
    flex-wrap: wrap;
  }
  .community-list-heading h2 {
    font-size: 18px;
    flex-basis: 65%;
  }
  .community-feed .post-card {
    padding: 19px 1px;
  }
  .community-feed .post-card h2 {
    font-size: 18px;
  }
}

/* Annual public exam summary and contextual community submenu. */
.exam-rounds {list-style:none;margin:0;padding:0;display:grid;gap:12px}
.exam-rounds .schedule-card {padding:16px;border:1px solid var(--line);border-radius:14px;margin:0}
.exam-rounds h3 {display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.exam-rounds .nearest-exam {border:2px solid var(--accent);background:var(--tint)}
.nearest-exam .exam-date {font-size:1.1rem}
.news-submenu {display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.news-submenu .active {font-weight:750;border-color:var(--accent)}
.stat-total strong {font-size:1.5rem}

/* Compact notices stay visible and scroll horizontally without hiding their content. */
.notice-rail{min-width:0;margin:8px 0 18px}
.notice-rail-heading{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.notice-rail-heading h2{font-size:.95rem;margin:0;flex:1}.notice-rail-heading h2 span{color:var(--muted);font-weight:500;margin-left:4px}
.notice-rail-heading>.text-link{font-size:.85rem;white-space:nowrap}
.notice-rail-controls{display:flex;gap:4px}.notice-rail-controls[hidden]{display:none}
.notice-rail-controls button{width:36px;height:36px;border:1px solid var(--line);border-radius:10px;background:var(--tint);color:var(--ink);font-size:1.5rem;cursor:pointer}
.notice-rail-controls button:disabled{opacity:.35;cursor:default}
.notice-rail-track{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:2px;padding:2px 2px 9px;scrollbar-width:thin;max-width:100%}
.notice-rail-card{box-sizing:border-box;flex:0 0 300px;min-width:0;max-width:88%;padding:12px 14px;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:12px;background:var(--tint);scroll-snap-align:start;color:var(--ink);text-decoration:none}
.notice-rail-card:hover{border-color:var(--accent)}
.notice-rail-card:focus-visible,.notice-rail-track:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.notice-rail-label{font-size:.72rem;color:var(--muted)}
.notice-rail-card h3{font-size:.95rem;line-height:1.45;margin:4px 0;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.notice-rail-card p{font-size:.8rem;line-height:1.45;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:600px){.notice-rail-controls button{width:40px;height:40px}.notice-rail-card{flex-basis:82%;max-width:300px}.notice-rail-heading{gap:8px}.notice-rail-heading h2{font-size:.88rem}}

.analytics-choice { max-height: calc(100dvh - 24px); overflow-y: auto; }

/* Discovery and content navigation, including narrow screens and larger text. */
.institution-filter { padding: 14px; }
.institution-heading .page-heading { margin:0 0 16px; }
.institution-heading h1 { margin-bottom:4px; }
.institution-heading p { margin:0; }
.institution-filter .filter-fields { display:grid; grid-template-columns:2fr 1fr 1fr auto auto; gap:10px; padding-top:0; }
.institution-filter .filter-fields label { min-width:0; }
.institution-basis { margin:8px 0; font-size:13px; color:var(--muted); }
.institution-basis summary { cursor:pointer; padding:4px 0; }
.grade-chips { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.grade-chips .chip { min-height:44px; padding:10px 18px; border:1px solid var(--line); border-radius:24px; }
.grade-chips .chip.active { background:var(--brand); color:white; }
[data-theme="dark"] .grade-chips .chip.active { color:#152922; }
.institution-filter .check { display:flex; align-items:center; gap:8px; }
.institution-filter .check input { width:20px; min-height:20px; }
.compare-toggle { white-space:nowrap; }
.compare-toggle.selected { background:var(--tint); border-color:var(--brand); color:var(--brand); }
.comparison-tray { position:fixed; z-index:80; bottom:12px; left:12px; right:12px; max-width:1040px; margin:auto; padding:12px 16px; background:var(--paper); border:1px solid var(--brand); border-radius:18px; box-shadow:0 8px 32px #102d2926; padding-bottom:max(12px,env(safe-area-inset-bottom)); }
.comparison-tray-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.comparison-tray-items { display:flex; gap:8px; margin-top:8px; overflow-x:auto; }
.comparison-chip { display:flex; align-items:center; gap:8px; flex:0 0 auto; max-width:330px; background:var(--tint); border-radius:20px; padding:2px 6px 2px 12px; }
.comparison-chip > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.comparison-chip button { border:0; background:transparent; color:var(--ink); min-width:44px; min-height:44px; font-size:22px; cursor:pointer; }
body.has-comparison-tray { padding-bottom:160px; }
body.has-comparison-tray:has(#analytics-choice:not([hidden])) { padding-bottom:400px; }
.official-paths { display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.comparison-missing summary { cursor:pointer; padding:12px 0; font-weight:700; }
.comparison-missing table { margin-top:12px; }
@media (max-width:600px) { .comparison-chip {max-width:260px;} .institution-filter .filter-fields {grid-template-columns:1fr 1fr;} .institution-filter label:first-child {grid-column:1/-1;} .institution-filter .check {align-self:center; font-size:13px;} }
main { padding-top: 28px; }
.compact-heading { margin: 0 0 16px; }
.compact-heading h1 { font-size: 28px; margin: 0; }
.search-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 14px 0 10px; }
.search-toolbar .tabs { margin: 0; }
.search-total { margin-left: auto; font-size: 14px; white-space: nowrap; }
.search-sort { min-width: 158px; }
.search-sort select { padding: 8px 10px; min-height: 44px; }
.compact-heading ~ .filters { padding: 11px 14px; margin-bottom: 12px; }
.compact-heading ~ .filters .filter-fields { padding-top: 12px; gap: 10px; }
.compact-heading ~ .filter-chips { margin: 8px 0 14px; }
.detail-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.detail-heading .page-heading { margin: 0; }
.detail-heading .page-heading h1 { margin-bottom: 6px; }
.detail-heading .page-heading p { margin-bottom: 0; }
.qualification-context { margin-bottom: 22px; }
.qualification-back { display: inline-block; color: var(--brand); font-weight: 700; margin-bottom: 10px; overflow-wrap: anywhere; }
.qualification-back span { font-weight: 400; font-size: 13px; margin-left: 6px; }
.content-nav { display: flex; gap: 4px; width: fit-content; max-width: 100%; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.content-nav a { flex: 1; min-width: 65px; min-height: 44px; padding: 8px 20px; text-align: center; white-space: nowrap; }
.content-nav a[aria-current] { background: var(--tint); border-radius: 8px; color: var(--brand); font-weight: 700; }
.link-help summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.link-help p { margin: 10px 0 0; }
.notice-bundle { border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }
.notice-bundle summary { cursor: pointer; color: var(--muted); font-size: 14px; min-height: 24px; }
.notice-bundle summary span { color: var(--brand); margin-left: 6px; }
.book-focus { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.hero { padding: 28px 32px; margin-bottom: 30px; }
.hero h1 { font-size: 40px; margin-bottom: 16px; }
.hero p { font-size: 14px; margin-bottom: 18px; }
.hero-art { min-height: 180px; }
.hero-art img { max-height: 165px; }
.home-stories .post-card { margin: 0; }
.community-content .page-heading { margin-bottom: 16px; }
@media (max-width: 680px) {
  main { padding-top: 20px; }
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 30px; }
  .search-toolbar { gap: 8px; }
  .search-toolbar .tabs { width: 100%; }
  .search-total { margin-left: 0; margin-right: auto; }
  .search-sort { min-width: 0; max-width: 65%; }
  .compact-heading ~ .filters .filter-fields label { flex-basis: calc(50% - 10px); min-width: 100px; }
  .detail-heading .actions { gap: 6px; }
  .detail-heading .button { padding: 10px 12px; }
  .content-nav { width: 100%; }
  .content-nav a { padding: 8px 10px; min-width: 0; }
  .qualification-back { font-size: 15px; }
  .community-field-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .community-field-tabs a { flex: none; white-space: nowrap; }
  .community-fields.has-qualification .community-field-tabs,
  .community-fields.has-qualification > .fine-print { display: none; }
  .community-fields.has-qualification { margin-bottom: 12px; }
}

.breadcrumbs { display:flex; flex-wrap:wrap; gap:.4rem; font-size:.8rem; color:var(--muted); margin:0 0 .75rem; overflow-wrap:anywhere; }

/* Two reviewed guides stay legible on desktop and stack on phones. */
.home-guides .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 680px) { .home-guides .grid { grid-template-columns: minmax(0, 1fr); } }
