:root {
  --ink: #1a1a1a;
  --muted: #5b6470;
  --line: #e2e5ea;
  --orange: #b45f00;
  --blue: #0f4c96;
  --paper: #f7f8fa;

  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui,
    sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  line-height: 1.65;
}

a {
  color: var(--blue);
}

a:hover {
  color: #0a3468;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  z-index: 10;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue);
}

.skip:focus {
  left: 0;
}

.shell {
  width: min(1280px, 100% - 40px);
  margin: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: #fff;
  background: var(--orange);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.contact-link svg {
  width: 16px;
  height: 16px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.brand-title-break {
  white-space: nowrap;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.footer-links li[aria-hidden="true"] {
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-list a {
  display: block;
  padding: 10px 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav-list a[aria-current="page"] {
  color: var(--orange);
  border-color: #e8820c;
}

.nav-contact {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: currentcolor;
  content: "";
  transition: transform 0.2s ease;
}

.menu-toggle-lines::before {
  transform: translateY(-6px);
}

.menu-toggle-lines::after {
  transform: translateY(4px);
}

.contact-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  color: #fff;
  background: var(--orange);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.contact-link {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: #fff;
}

.contact-link:hover {
  color: var(--orange);
}

.button:hover {
  color: #fff;
  background: #8f4b00;
}

.button.secondary {
  color: var(--ink);
  border: 1px solid #c2c8d0;
  background: #fff;
}

.button.blue {
  background: var(--blue);
}

.button.blue:hover {
  background: #0a3468;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  text-align: center;
  background: linear-gradient(135deg, #fdf6ec, #fff 72%);
  border-bottom: 1px solid #e9ecf1;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  content: "";
  filter: blur(50px);
  pointer-events: none;
}

.hero::before {
  top: -90px;
  left: -110px;
  width: 340px;
  height: 340px;
  background: rgb(232 130 12 / 16%);
}

.hero::after {
  top: -70px;
  right: -130px;
  width: 380px;
  height: 380px;
  background: rgb(15 76 150 / 12%);
}

.hero .shell {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.6vw, 2.9rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.hero p {
  max-width: 720px;
  margin: 16px auto 0;
  color: #3c444f;
}

.home-hero {
  padding-block: clamp(20px, 2.4vw, 30px);
  background:
    linear-gradient(135deg, rgb(255 247 235 / 92%), rgb(255 255 255 / 94%) 48%, rgb(240 246 255 / 92%)),
    #fff;
}

.home-hero::before,
.home-hero::after {
  display: block;
  z-index: 1;
  top: -138px;
  width: clamp(300px, 31vw, 490px);
  height: 570px;
  border-radius: 50%;
  background: rgb(255 255 255 / 74%);
  filter: none;
}

.home-hero::before {
  left: clamp(-390px, -22vw, -250px);
}

.home-hero::after {
  right: clamp(-390px, -22vw, -250px);
}

.top-eyecatch {
  max-width: 720px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgb(20 32 54 / 16%);
}

.top-eyecatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-diagonal-bands {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-diagonal-bands::before,
.hero-diagonal-bands::after {
  position: absolute;
  box-sizing: border-box;
  border-radius: 50%;
  content: "";
}

.hero-diagonal-bands::before {
  top: -250px;
  left: -610px;
  width: 1080px;
  height: 820px;
  border: 64px solid rgb(236 155 44 / 19%);
  transform: rotate(-25deg);
}

.hero-diagonal-bands::after {
  top: -390px;
  right: -360px;
  width: 760px;
  height: 590px;
  border: 34px solid rgb(87 145 214 / 13%);
  transform: rotate(24deg);
}

.hero-side-image {
  position: absolute;
  z-index: 0;
  top: 170px;
  width: clamp(190px, 18vw, 270px);
  aspect-ratio: 1;
  border: 6px solid rgb(255 255 255 / 82%);
  border-radius: 50%;
  opacity: 0.68;
  object-fit: cover;
  filter: saturate(0.8) blur(0.65px);
  box-shadow: 0 12px 32px rgb(20 32 54 / 6%);
}

.hero-side-image.city-forest {
  left: clamp(-100px, -5vw, -40px);
}

.hero-side-image.classroom {
  top: 155px;
  right: clamp(-100px, -5vw, -40px);
}

.hero-side-image.factory-team,
.hero-side-image.medical-team {
  width: clamp(135px, 11vw, 165px);
  z-index: 1;
  opacity: 0.68;
}

.hero-side-image.factory-team {
  top: 0;
  left: clamp(-20px, 2vw, 40px);
}

.hero-side-image.medical-team {
  top: -10px;
  right: clamp(-20px, 2vw, 40px);
}

@media (width >= 1300px) {
  .hero-side-image.factory-team {
    left: clamp(120px, 11vw, 170px);
  }

  .hero-side-image.medical-team {
    right: clamp(120px, 11vw, 170px);
  }
}

.content {
  padding: 18px 0 0;
}

.home-hero + .content {
  padding-block: 28px;
}

.secondary-band {
  margin-top: 42px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.home-hero + .content + .secondary-band {
  margin-top: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role-card,
.card,
.filter-box,
.notice {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.role-card {
  display: flex;
  flex-direction: column;
}

.role-card.company {
  border-color: #f0d3a6;
  background: #fffaf2;
}

.role-card.school {
  border-color: #c9d8ec;
  background: #f5f9ff;
}

.role-card h2,
.card h2 {
  margin-top: 0;
}

.role-card .actions {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.role-card .actions .button {
  position: relative;
  justify-content: center;
}

.role-card .actions .button > span[aria-hidden="true"] {
  position: absolute;
  right: 16px;
}

.guide-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c2c8d0;
}

.guide-link:hover {
  color: var(--muted);
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-content svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.section-title {
  margin: 42px 0 16px;
  font-size: 1.25rem;
}

.main > section:first-child > .section-title {
  margin-top: 0;
}

.page-head {
  padding: 32px 0 18px;
  background: #f7f8fa;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.page-head p {
  margin: 8px 0 0;
  color: #3c444f;
}

.filter-box {
  display: grid;
  gap: 16px;
  margin: 26px 0;
  background: #fbfbfc;
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #c2c8d0;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* stylelint-disable-next-line no-descending-specificity -- filter action sizing is independent of role-card actions */
.filter-row .button {
  box-sizing: border-box;
  min-height: 42px;
  height: 42px;
}

.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 16px;
}

.results-meta h2 {
  margin: 0;
  font-size: 1.25rem;
}

.count {
  color: var(--orange);
  font-size: 1.55rem;
}

.cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.company-results .result-card,
.school-results .result-card {
  border-color: #c2c8d0;
}

.result-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  color: #6b4100;
  background: #fdeacd;
  font-size: 0.8rem;
}

.tag.blue {
  color: #164777;
  background: #dbe8f8;
}

.detail-subheading {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 0.96rem;
}

.detail-subheading:first-of-type {
  margin-top: 0;
}

.cta-box .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.result-card p {
  margin: 10px 0;
  color: #3c444f;
}

.result-card .desc-top {
  margin: 10px 0 0;
}

.result-card .registered-at {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (width > 768px) {
  .desc-top {
    display: -webkit-box;
    min-height: 79px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

@media (width <= 900px) {
  #results.cards.list {
    grid-template-columns: minmax(0, 1fr);
  }
}

.result-card a {
  font-weight: 700;
}

.empty {
  grid-column: 1 / -1;
  padding: 36px 20px;
  border: 1px dashed #b8c0ca;
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.pagination[hidden] {
  display: none;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid #d6dae1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pagination a[aria-current="page"],
.pagination button[aria-current="page"] {
  border-color: #e8820c;
  color: #fff;
  font-weight: 700;
  background: var(--orange);
}

.pagination button:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kpi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(20 32 54 / 5%);
}

.kpi-card > div {
  min-width: 0;
}

.kpi-card .icon-avatar.sm {
  width: 40px;
  height: 40px;
}

.kpi-card .label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.kpi-card .value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 4px 0 0;
  white-space: nowrap;
}

.kpi-card .value {
  color: var(--orange);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.kpi-card .unit {
  font-size: 0.85rem;
  font-weight: 500;
}

.kpi-card .label .unit-note {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
}

.kpi-card.blue .value {
  color: var(--blue);
}

@media (width >= 440px) and (width <= 599px) {
  .kpi-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .kpi-card {
    gap: 4px;
    padding: 8px;
  }

  .kpi-card .icon-avatar.sm {
    width: 30px;
    height: 30px;
  }

  .kpi-card .label {
    font-size: 0.68rem;
  }

  .kpi-card .value {
    font-size: 1.1rem;
  }

  .kpi-card .unit {
    font-size: 0.7rem;
  }
}

.check-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 4px;
}

.check-filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}

.check-filters input {
  width: 17px;
  height: 17px;
  min-height: auto;
  margin: 0;
  accent-color: var(--orange);
}

.faq-category {
  margin: 28px 0 0;
}

.faq-category:first-child {
  margin-top: 0;
}

.faq-category h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.support-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-item[open] {
  border-color: #f0d3a6;
  background: #fffaf2;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  list-style: none;
  font-weight: 700;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .q {
  margin-right: 10px;
  color: var(--orange);
}

.faq-item summary .chev {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-answer {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 20px 20px;
  overflow: hidden;
  color: #3c444f;
  font-size: 0.92rem;
  line-height: 1.9;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary .chev {
    transition: none;
  }
}

.faq-answer .a {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb {
  border-bottom: 1px solid #eceef2;
  background: var(--paper);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 20px;
  max-width: 1280px;
  color: var(--muted);
  font-size: 0.8rem;
  list-style: none;
}

.icon-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.icon-avatar svg {
  width: 55%;
  height: 55%;
}

/* stylelint-disable-next-line no-descending-specificity -- .kpi-card .icon-avatar.sm is an intentional scoped override */
.icon-avatar.sm {
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.icon-avatar.orange {
  color: var(--orange);
  background: #fdeacd;
}

.icon-avatar.blue {
  color: var(--blue);
  background: #dbe8f8;
}

.icon-avatar.neutral {
  color: var(--muted);
  background: #eef1f5;
}

.role-card .icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.role-card .icon-row h2 {
  margin: 0;
}

.role-card hr {
  margin: auto 0 20px;
  border: 0;
  border-top: 1px solid rgb(0 0 0 / 10%);
}

.video-feature {
  max-width: 760px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  overflow: hidden;
  border: 1px solid #d9dee6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgb(20 32 54 / 8%);
}

.video-feature .thumb {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background-image:
    radial-gradient(circle at 25% 30%, rgb(255 255 255 / 12%), transparent 45%),
    linear-gradient(135deg, #123a63, #0f4c96 55%, #1c5aa8);
}
.video-feature .thumb img {
  width: 100%;
  height: auto;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e02424;
  box-shadow: 0 10px 26px rgb(0 0 0 / 30%);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -38px 0 0 -38px;
}

.play-button svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
  color: #fff;
}

.thumb-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgb(0 0 0 / 45%);
  font-size: 0.7rem;
}

.video-feature .caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #1f242b;
}

.video-feature .caption p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.video-feature .caption a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.video-feature .caption a:hover {
  background: #f0f2f5;
}

.sublinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 24px;
}

.sublink {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.sublink:hover {
  color: inherit;
  border-color: #c9ced6;
  background: var(--paper);
}

.sublink .body {
  align-self: stretch;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
}

.sublink strong {
  display: block;
  font-size: 1.05rem;
}

.sublink .desc {
  display: block;
  margin-top: 6px;
  color: #3c444f;
  font-size: 0.85rem;
  line-height: 1.7;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.sublink .chev {
  color: var(--muted);
  font-size: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.news-card {
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.news-card h2 {
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 1.1rem;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid #eceef2;
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list .news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 20px;
}

.news-list time {
  width: 104px;
  color: var(--muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.news-list .news-tag {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--orange);
  background: #fdeacd;
  font-size: 0.72rem;
  font-weight: 700;
}

.news-list .news-title {
  flex: 1;
  min-width: 220px;
  font-size: 0.9rem;
}

.popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.popular span {
  color: #3c444f;
  font-size: 0.85rem;
}

.chip-btn {
  padding: 7px 14px;
  border: 1px solid #d6dae1;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.chip-btn:hover {
  background: #f2f4f7;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.filter-row .filter-actions {
  margin-left: auto;
}

.sort-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.sort-bar label {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.85rem;
  white-space: nowrap;
}

.sort-bar select {
  width: auto;
  min-width: 90px;
  min-height: 40px;
}

.cards.list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.cards.list .result-card {
  display: flex;
  flex-direction: column;
}

.meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--paper);
}

.desc-top + .meta-list {
  margin-top: 10px;
}

.meta-list > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.meta-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.meta-list dt {
  flex-shrink: 0;
  width: 112px;
  color: var(--muted);
  white-space: nowrap;
}

.meta-list dd {
  margin: 0;
}

.meta-list .tags {
  margin: 0;
}

.card-cta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eceef2;
  text-align: right;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #eceef2;
}

.card-footer .card-cta {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.cards.list .card-cta {
  margin-top: auto;
}

.button.outline {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: #fff;
}

.button.outline:hover {
  background: #fff6e9;
}

.button.outline:disabled {
  color: #9aa2ad;
  border-color: #cfd5dd;
  background: #f7f8fa;
  cursor: not-allowed;
}

.hero.split {
  padding: clamp(24px, 3.4vw, 40px) 0;
  text-align: left;
}

.hero.split::before,
.hero.split::after {
  content: none;
}

.hero.split .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.hero.split .lead {
  flex: 1 1 300px;
  min-width: 0;
}

.hero.split .lead p {
  max-width: unset;
  margin: 12px 0 0;
}

.hero.split .kpi-row {
  flex: 2 1 560px;
  min-width: 0;
}

.two-col {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 32px);
}

.two-col > .main {
  display: flex;
  flex: 2 1 520px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.two-col > aside {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.box p {
  margin: 0;
  color: #3c444f;
  line-height: 1.9;
}

.box.accent {
  border-color: #f0d3a6;
  background: #fffaf2;
}

.box.accent.soft {
  background: #fffdf8;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.box h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.box h2.underline {
  border-bottom: 2px solid #e8820c;
  padding-bottom: 10px;
}

.cta-box .head {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.cta-box p {
  margin: 16px 0 0;
  color: #3c444f;
  font-size: 0.85rem;
  line-height: 1.85;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.cta-box .button {
  width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 1rem;
}

.two-col > aside .box.guide-link-box .button {
  margin-top: 20px;
}

.cta-box .note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.check-note-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.check-note-list li {
  display: flex;
  gap: 10px;
  color: #3c444f;
  font-size: 0.88rem;
  line-height: 1.7;
}

.check-note-list .mark {
  display: flex;
  flex-shrink: 0;
  color: var(--orange);
  font-weight: 700;
}

.check-note-list .mark svg {
  width: 18px;
  height: 18px;
}

.inline-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: -2px;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.flow-step .num {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fdeacd;
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
}

.flow-step .body {
  min-width: 0;
}

.flow-step h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.flow-step p {
  margin: 0;
  color: #3c444f;
  font-size: 0.88rem;
  line-height: 1.8;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0;
  color: var(--muted);
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.flow-arrow svg {
  width: 18px;
  height: 18px;
}

.flow-arrow-outcome {
  padding: 14px 0;
  color: var(--blue);
}

/* stylelint-disable-next-line no-descending-specificity -- outcome arrow intentionally enlarges the final flow connector */
.flow-arrow-outcome svg {
  width: 24px;
  height: 30px;
}

.flow-outcome {
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.school-guide-outcome {
  border-color: #e7a04a;
  color: #8f4b00;
  background: #fff0dc;
}

.guide-info-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.guide-info-list > dl {
  padding-left: 18px;
  border-left: 3px solid #f0d3a6;
  margin: 0;
}

.guide-info-list dt {
  margin: 0 0 4px;
  font-weight: 700;
}

.guide-info-list dd {
  margin: 0;
  color: #3c444f;
  font-size: 0.88rem;
  line-height: 1.8;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfbfc;
}

.summary-grid dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.summary-grid dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
}

.kv-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  margin: 0;
  font-size: 0.9rem;
}

.kv-grid dt {
  color: var(--muted);
  white-space: nowrap;
}

.kv-grid dd {
  margin: 0;
  line-height: 1.7;
}

.kv-grid.tight {
  gap: 8px 16px;
  font-size: 0.85rem;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.data-table caption {
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: left;
}

.data-table th,
.data-table td {
  border: 1px solid var(--line);
  padding: 8px;
  text-align: left;
}

.data-table thead th {
  background: var(--paper);
  font-weight: 700;
}

.status-pill {
  padding: 3px 10px;
  border-radius: 4px;
  color: #1c6b30;
  background: #e4f3e6;
  font-size: 0.75rem;
  font-weight: 700;
}

.connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.connection .node {
  padding: 12px 18px;
  border: 1px solid #c2c8d0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.connection .arrow {
  color: var(--muted);
  font-size: 20px;
}

.connection-intro {
  margin: 0 0 16px;
  color: #3c444f;
  font-size: 0.9rem;
  line-height: 1.8;
}

.text-orange {
  color: var(--orange);
}

.text-blue {
  color: var(--blue);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.detail-head {
  display: grid;
  gap: 14px;
}

.company-detail-top {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.company-detail-top .detail-head {
  flex: 2 1 520px;
  min-width: 0;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-title {
  margin: 6px 0 0;
}

.company-profile-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.company-profile-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.matching-detail {
  max-width: 1120px;
  margin: 0 auto;
}

.matching-detail-head {
  margin: 22px 0 20px;
}

.matching-detail-head h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

@media (width >= 720px) {
  .matching-detail-head h1 {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

/* stylelint-disable-next-line no-descending-specificity -- matching-detail icon is scoped to this component. */
.matching-detail-head h1 svg {
  width: 1.15em;
  height: 1.15em;
  color: var(--blue);
}

/* stylelint-disable-next-line no-descending-specificity -- matching-detail copy is scoped to this component. */
.matching-detail-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.matching-gallery {
  aspect-ratio: 16 / 9;
  margin: 0 0 28px;
}

.matching-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.matching-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.matching-overview {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* stylelint-disable-next-line no-descending-specificity -- matching detail heading is scoped to this component. */
.matching-section h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.matching-section-number {
  color: var(--orange);
  font-size: 1.35em;
}

/* stylelint-disable-next-line no-descending-specificity -- matching detail copy is scoped to this component. */
.matching-section > p {
  margin: 0;
  line-height: 1.85;
}

.matching-section > p + .matching-gallery {
  margin-top: 18px;
}

.matching-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.matching-party-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.matching-party-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.1rem;
}

.matching-party-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
}

/* stylelint-disable-next-line no-descending-specificity -- matching detail icon is scoped to this component. */
.matching-party-card svg {
  width: 22px;
  height: 22px;
}

.matching-party-card ul {
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.8;
}

.matching-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.matching-meta div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.matching-meta div:last-child {
  border-right: 0;
}

.matching-meta dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

/* stylelint-disable-next-line no-descending-specificity -- scoped metadata icon styling. */
.matching-meta dt svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.matching-meta dd {
  margin: 5px 0 0;
}

.matching-gallery-secondary {
  margin: 18px 0 0;
}

.matching-voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.matching-voice {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.matching-voice.teacher {
  border-color: var(--line);
  background: #fff;
}

.matching-voice.student {
  border-color: var(--line);
  background: #fff;
}

.matching-voice h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1rem;
}

.matching-voice.teacher h3 {
  color: var(--orange);
}

.matching-voice.student h3 {
  color: #168270;
}

/* stylelint-disable-next-line no-descending-specificity -- scoped voice icon styling. */
.matching-voice h3 svg {
  width: 20px;
  height: 20px;
}

/* stylelint-disable-next-line no-descending-specificity -- scoped voice copy styling. */
.matching-voice p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
}

.company-profile-photo figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.company-detail-top .company-profile-photo {
  flex: 1 1 300px;
}

.detail-date {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.detail-lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: #3c444f;
}

.note-fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

.plain-list {
  margin: 0;
  padding-left: 1.2em;
  color: #3c444f;
  line-height: 1.9;
}

.plain-list.spaced {
  margin-top: 16px;
}

.nowrap {
  white-space: nowrap;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.data-table th[scope="row"] {
  font-weight: 400;
}

.kv-grid.right dd {
  text-align: right;
}

.intro-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.intro-row h1 {
  margin: 0;
}

.icon-avatar.lg {
  width: 60px;
  height: 60px;
  font-weight: 700;
  font-size: 1.6rem;
}

.support-note {
  margin: 6px 0 0;
  color: #3c444f;
  font-size: 0.85rem;
  line-height: 1.7;
}

.result-note {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.filter-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
}

.filter-inline .field-grow {
  flex: 1 1 200px;
}

.filter-inline .filter-choice-field.field-grow {
  flex: 1 1 200px;
}

@media (width > 1080px) {
  .matching-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    align-items: flex-end;
    gap: 20px;
  }

  .matching-filter .filter-inline {
    display: contents;
  }

  .matching-filter .filter-row {
    margin: 0;
  }

  .matching-filter .filter-actions {
    flex-wrap: nowrap;
  }

  .matching-filter .filter-actions .button {
    width: 148px;
    padding-right: 12px;
    padding-left: 12px;
    white-space: nowrap;
  }
}

.filter-inline .field-wide {
  flex: 2 1 380px;
  border: 0;
  margin: 0;
  padding: 0;
}

.card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  border-top: 1px solid #eceef2;
  padding-top: 14px;
}

.card-foot .meta {
  margin: 0;
}

.card-foot .tags {
  margin: 0;
}

.button.sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.note-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.cta-box .head h2 {
  margin: 0;
  color: var(--orange);
}

.site-footer {
  margin-top: 56px;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.home-footer {
  background: #fff;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.site-footer p {
  color: var(--muted);
  font-size: 0.82rem;
}

.two-col > aside .box.guide-link-box p {
  line-height: 1.65;
}

#main > .content .role-card > p {
  min-height: 3.4em;
  margin-bottom: 0;
}

@media (width <=768px) {
  .shell {
    width: min(100% - 28px, 1280px);
  }

  .home-hero {
    padding-block: 14px;
  }

  .hero-side-image {
    display: none;
  }

  .site-header .shell {
    position: relative;
    padding: 10px 0;
  }

  .brand-title {
    line-height: 1.5;
  }

  .brand-title-break {
    display: block;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 5;
    display: none;
    padding: 8px 14px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 16px rgb(26 26 26 / 12%);
  }

  .site-header nav[data-open="true"] {
    display: block;
  }

  .nav-list {
    display: block;
  }

  .nav-contact {
    display: list-item;
  }

  .nav-list a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .contact-link {
    display: none;
  }

  .matching-party-grid,
  .matching-meta,
  .matching-voices {
    grid-template-columns: 1fr;
  }

  .matching-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .matching-meta div:last-child {
    border-bottom: 0;
  }

  .company-detail-top {
    flex-wrap: wrap;
  }

  .company-detail-top .company-profile-photo {
    flex-basis: 100%;
  }

  .grid.two,
  .grid.three,
  .fields,
  .cards.list {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

.match-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 700;
}

.match-entity {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* stylelint-disable-next-line no-descending-specificity -- distinct component, not a cascade conflict */
.match-entity svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.match-entity:first-child svg {
  color: var(--orange);
}

.match-entity:last-child svg {
  color: var(--blue);
}

.match-entity span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.match-arrow {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 1rem;
}

.filter-choice-menu {
  position: relative;
  min-width: 0;
  margin: 0;
}

.filter-choice-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.company-filter-fields .keyword-filter-field {
  order: 1;
}

.company-filter-fields .industry-filter-field {
  order: 2;
}

.company-filter-fields .region-filter-field {
  order: 3;
}

.company-filter-fields .content-filter-field {
  order: 4;
}

.company-contact-cta .note {
  text-align: left;
}

.box.accent.company-guide-cta {
  border-color: #c9d8ec;
  background: #f5f9ff;
}

.company-guide-cta .head h2 {
  color: var(--blue);
}

.two-col > aside .box.guide-link-box h2 {
  margin-bottom: 8px;
}

.company-guide-cta .note {
  text-align: left;
}

.company-guide-flow .flow-step .num {
  background: #dce8f7;
  color: var(--blue);
}

.company-guide-flow .flow-outcome {
  border-color: #8eb0d6;
  color: var(--blue);
  background: #e4effc;
}

.company-guide-info h2.underline {
  border-color: var(--blue);
}

.company-guide-info .guide-info-list > dl {
  border-left-color: #c9d8ec;
}

.faq-contact-cta .note {
  text-align: left;
}

.school-guide-cta .note {
  text-align: left;
}


@media (width > 1080px) {
  .company-filter-fields {
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(210px, 1fr));
    align-items: start;
  }
}

.filter-choice-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 32px 8px 10px;
  border: 1px solid #c2c8d0;
  border-radius: 7px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.filter-choice-menu summary::-webkit-details-marker {
  display: none;
}

.filter-choice-menu summary::after {
  position: absolute;
  right: 12px;
  width: 5px;
  height: 5px;
  border-right: 1.4px solid currentcolor;
  border-bottom: 1.4px solid currentcolor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
}

.filter-choice-menu[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.filter-choice-menu summary strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  font-weight: 700;
}

.filter-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  min-width: 0;
  max-height: min(70vh, 480px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgb(20 32 54 / 12%);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.content-filter-field .filter-panel {
  right: 0;
  left: auto;
}

/* stylelint-disable-next-line no-descending-specificity -- filter panel typography is scoped to its control */
.region-panel-hint {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.region-panel-hint span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
}

.region-groups {
  display: grid;
  gap: 14px;
}

.region-group + .region-group {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.region-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.country-toggle {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.filter-checkboxes label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  min-width: 0;
  line-height: 1.45;
}

.filter-checkboxes input,
.region-group-toggle input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}
