﻿/*
Theme Name: Answer Cash Navi
Theme URI: https://creca-kaitorii.click/answer-cash-theme/
Author: Codex
Description: Cash comparison theme with CV tracking.
Version: 1.6.5
Text Domain: answer-cash-navi
*/

:root {
  --deep: #061225;
  --deep-2: #0a1e3d;
  --panel: #101d34;
  --paper: #f5f7fb;
  --white: #ffffff;
  --ink: #142033;
  --muted: #657187;
  --gold: #20b7c9;
  --gold-dark: #1769aa;
  --red: #1769aa;
  --red-dark: #0d4c86;
  --line: #dfe5ef;
  --radius: 8px;
  --shadow: 0 22px 50px rgba(5, 18, 37, .18);
}

/* v1.5.0: card-note layout. Public templates no longer use the old row database UI. */
.ap-dashboard-hero {
  padding: 28px 0 0;
  background: linear-gradient(180deg, #fff3f4 0%, #ffffff 54%, #f5f7fb 100%);
}

.ap-dashboard-shell {
  grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(9, 24, 45, .09);
}

.ap-dashboard-copy {
  align-content: center;
  padding: 18px 10px 18px 18px;
}

.ap-dashboard-copy h1 {
  max-width: 620px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.22;
}

.ap-dashboard-copy p:not(.ap-kicker) {
  max-width: 620px;
  color: #516074;
  font-weight: 700;
}

.ap-hero-creative {
  display: block;
  min-height: 260px;
  border: 0;
  border-radius: 8px;
  background: #e7edf3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.ap-hero-creative::after {
  display: none;
}

.ap-hero-creative img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

.ap-quick-panel {
  margin-top: 12px;
  border-radius: 8px;
  background: #08192f;
  box-shadow: none;
}

.ap-quick-panel div {
  border-color: rgba(255,255,255,.16);
}

.ap-search-panel {
  border-color: #dbe6ef;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(9, 24, 45, .07);
}

.ap-search-panel input,
.ap-search-panel select {
  border-color: #d9e3ed;
  background: #f9fbfd;
}

.ap-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ap-service-grid-archive {
  margin-top: 18px;
}

.ap-service-tile {
  display: grid;
  grid-template-rows: 120px 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 24, 45, .08);
}

.ap-service-thumb {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 14px;
  border-bottom: 1px solid #e5edf4;
  background: linear-gradient(135deg, rgba(23, 105, 170, .12), rgba(32, 183, 201, .08)), #f4f8fb;
}

.ap-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-service-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.ap-service-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ap-service-number {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c8d7e5;
  border-radius: 8px;
  color: #1769aa;
  background: #f8fbff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 1000;
}

.ap-service-tile h3 {
  margin: 2px 0 0;
  color: #08192f;
  font-size: 19px;
  line-height: 1.35;
}

.ap-service-tile p {
  margin: 0;
  color: #5d6878;
  font-size: 13px;
  line-height: 1.65;
}

.ap-service-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.ap-service-facts div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #e1e9f1;
  border-radius: 8px;
  background: #f8fbff;
}

.ap-service-facts dt {
  margin: 0 0 3px;
  color: #748196;
  font-size: 11px;
  font-weight: 900;
}

.ap-service-facts dd {
  margin: 0;
  color: #182640;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ap-service-official {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-left: 3px solid #20b7c9;
  background: #f3fafb;
}

.ap-service-official span {
  color: #748196;
  font-size: 11px;
  font-weight: 900;
}

.ap-service-official a {
  color: #0d5f96;
  font-size: 13px;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ap-service-official em {
  min-width: 0;
  color: #425068;
  font-size: 12px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.ap-service-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
}

.ap-service-actions .ap-button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
}

.ap-service-actions .ap-button.ap-secondary {
  border-color: #d9e3ed;
  color: #08192f;
  background: #ffffff;
}

@media (max-width: 980px) {
  .ap-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .ap-dashboard-copy {
    padding: 12px;
  }

  .ap-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ap-dashboard-shell {
    padding: 12px;
  }

  .ap-hero-search {
    grid-template-columns: 1fr;
  }

  .ap-quick-panel {
    grid-template-columns: 1fr 1fr;
  }

  .ap-service-grid {
    grid-template-columns: 1fr;
  }

  .ap-service-facts {
    grid-template-columns: 1fr;
  }
}

/* v1.6.7: functional home finder for prepaid buyback and app cash categories. */
.ap-home-page {
  background: #f4f6f8;
}

/* v1.6.8: visual home refresh with hero artwork and compact finder cards. */
body {
  overflow-x: hidden;
}

.ap-home-page {
  background:
    linear-gradient(180deg, #08182d 0, #08182d 470px, #f4f7fb 470px, #f4f7fb 100%);
}

.ap-home-page .ap-section {
  background: transparent;
}

.ap-home-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 44px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 78% 6%, rgba(255, 196, 63, .24), transparent 28%),
    radial-gradient(circle at 12% 10%, rgba(32, 183, 201, .2), transparent 34%),
    linear-gradient(135deg, #071327 0%, #0b2345 58%, #071327 100%);
}

.ap-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 192, 64, .75), transparent);
}

.ap-home-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr);
  align-items: stretch;
  gap: 22px;
}

.ap-home-hero-copy,
.ap-home-side,
.ap-home-choice-panel,
.ap-home-category-card,
.ap-home-recommend-column,
.ap-home-point-grid article {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 48px rgba(3, 12, 27, .18);
}

.ap-home-hero-copy {
  min-height: 430px;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,248,252,.94)),
    linear-gradient(90deg, rgba(247, 193, 61, .12), transparent);
}

.ap-home-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.08;
  color: #071327;
}

.ap-home-hero-copy p:not(.ap-kicker) {
  max-width: 720px;
  color: #47566b;
}

.ap-home-search {
  max-width: 650px;
  border: 1px solid #cfd9e7;
  background: #fff;
  box-shadow: 0 14px 30px rgba(9, 24, 45, .1);
}

.ap-home-search button,
.ap-home-category-card .ap-company-cv {
  background: linear-gradient(135deg, #1769aa 0%, #20b7c9 48%, #f5b12f 100%);
  box-shadow: 0 12px 22px rgba(204, 36, 53, .22);
}

.ap-home-side {
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 12px;
  background: rgba(8, 20, 39, .72);
  backdrop-filter: blur(8px);
}

.ap-home-visual {
  overflow: hidden;
  min-height: 205px;
  border-radius: 8px;
  background: #071327;
}

.ap-home-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 205px;
  object-fit: cover;
  object-position: center;
}

.ap-home-choice-panel {
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ap-home-choice {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-left-width: 6px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 30px rgba(2, 10, 24, .18);
}

.ap-home-choice span {
  font-size: 20px;
}

.ap-home-choice strong {
  background: #fff0c9;
  color: #9b2b16;
}

.ap-home-guide,
.ap-home-finder,
.ap-home-points {
  padding-top: 56px;
}

.ap-home-category-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-color: #d8e2ee;
}

.ap-home-category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1769aa, #20b7c9, #f5b12f);
}

.ap-home-category-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
}

.ap-home-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-home-filter-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #cfd9e7;
  border-radius: 999px;
  background: #fff;
  color: #22324a;
  font-weight: 800;
  text-decoration: none;
}

.ap-home-filter-chips a:hover {
  border-color: #20b7c9;
  color: #0d5f96;
}

.ap-home-recommend-column {
  padding: 18px;
  border-color: #d8e2ee;
  background: #fff;
}

.ap-home-recommend-column .ap-company-list {
  gap: 12px;
}

.ap-home-recommend-column .ap-company-card {
  grid-template-columns: 112px minmax(0, 1fr);
  border-radius: 8px;
  box-shadow: none;
}

.ap-home-recommend-column .ap-company-card-media {
  padding: 10px;
  background: #f4f7fb;
}

.ap-home-recommend-column .ap-company-card-media a {
  min-height: 96px;
}

.ap-home-recommend-column .ap-company-card-media img {
  max-height: 92px;
}

.ap-home-recommend-column .ap-company-card-body {
  gap: 9px;
  padding: 14px;
}

.ap-home-recommend-column .ap-company-card h3 {
  font-size: 19px;
}

.ap-home-recommend-column .ap-company-info-table,
.ap-home-recommend-column .ap-company-official {
  display: none;
}

.ap-home-recommend-column .ap-company-actions {
  justify-content: flex-start;
}

.ap-home-recommend-column .ap-company-detail {
  min-width: 128px;
  border-color: #d2dce9;
  background: #f8fbff;
}

.ap-home-point-grid article {
  padding: 22px;
  border-color: #d8e2ee;
}

.ap-home-point-grid article strong {
  color: #c52a32;
}

@media (max-width: 980px) {
  .ap-home-page {
    background: linear-gradient(180deg, #08182d 0, #08182d 620px, #f4f7fb 620px, #f4f7fb 100%);
  }

  .ap-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .ap-home-hero-copy {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .ap-home-hero {
    padding: 20px 0 28px;
  }

  .ap-home-hero-copy {
    padding: 20px 16px;
  }

  .ap-home-hero-copy h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .ap-home-visual {
    min-height: 128px;
  }

  .ap-home-visual img {
    min-height: 128px;
  }

  .ap-home-side {
    padding: 10px;
    max-width: 100%;
  }

  .ap-home-choice {
    padding: 16px 14px;
  }

  .ap-home-choice span {
    font-size: 19px;
  }

  .ap-home-choice em {
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .ap-home-choice {
    min-height: 0;
  }

  .ap-home-filter-chips {
    overflow: visible;
  }

  .ap-home-recommend-column .ap-company-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ap-home-recommend-column .ap-company-card-media {
    border-right: 1px solid #e5ebf1;
    border-bottom: 0;
  }

  .ap-home-recommend-column .ap-company-card p,
  .ap-home-recommend-column .ap-company-badges {
    display: none;
  }

  .ap-home-recommend-column .ap-company-card h3 {
    font-size: 17px;
  }

  .ap-home-recommend-column .ap-company-actions {
    margin-top: 2px;
  }
}

/* v1.6.9: SEO content blocks for the home page. */
.ap-home-seo-content {
  padding-top: 30px;
}

.ap-home-seo-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(9, 24, 45, .08);
}

.ap-home-seo-panel h2,
.ap-home-faq h2 {
  margin: 0 0 12px;
  color: #071327;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.ap-home-seo-panel p {
  margin: 12px 0 0;
  color: #43536a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

.ap-home-keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ap-home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.ap-home-proof-grid article {
  padding: 20px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #0c1a31;
  color: #fff;
}

.ap-home-proof-grid h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 21px;
}

.ap-home-proof-grid p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.ap-home-proof-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: #8ee8f2;
  font-weight: 900;
  text-decoration: none;
}

.ap-home-keyword-grid article {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgba(9, 24, 45, .06);
}

.ap-home-keyword-grid span {
  color: #20b7c9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.ap-home-keyword-grid h3 {
  margin: 0;
  color: #071327;
  font-size: 23px;
}

.ap-home-keyword-grid p {
  margin: 0;
  color: #526278;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.ap-home-keyword-grid a {
  align-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #08182d;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.ap-home-faq {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #ffffff;
}

.ap-home-faq details {
  border-top: 1px solid #e3e9f1;
}

.ap-home-faq details:first-of-type {
  border-top: 0;
}

.ap-home-faq summary {
  cursor: pointer;
  padding: 16px 0;
  color: #142033;
  font-size: 17px;
  font-weight: 900;
}

.ap-home-faq p {
  margin: 0 0 16px;
  color: #526278;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .ap-home-keyword-grid,
  .ap-home-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* v1.8.0: Hikakaku-style directory top page. */
.hk-page {
  background: #f5f7fa;
  color: #17233a;
}

.hk-page a {
  text-decoration: none;
}

.hk-mobile-break {
  display: none;
}

.hk-search-hero {
  padding: 22px 0 18px;
  border-bottom: 1px solid #dce6ee;
  background: #ffffff;
}

.hk-search-inner {
  display: grid;
  gap: 12px;
}

.hk-breadcrumb-mini {
  color: #66758a;
  font-size: 13px;
  font-weight: 700;
}

.hk-search-inner h1 {
  margin: 0;
  color: #15243a;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
}

.hk-search-inner p {
  margin: 0;
  color: #5c6b80;
  font-weight: 700;
}

.hk-search-box {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 8px;
  max-width: 820px;
  padding: 8px;
  border: 1px solid #cfdce8;
  border-radius: 4px;
  background: #f8fbff;
}

.hk-search-box input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #17233a;
  font-size: 15px;
  font-weight: 700;
}

.hk-search-box input:focus {
  outline: none;
}

.hk-search-box button {
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: #20b7c9;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hk-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hk-filter-row a,
.hk-sort-links a,
.hk-sort-links button {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  background: #fff;
  color: #1769aa;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
}

.hk-sort-links button.is-active {
  border-color: #20b7c9;
  background: #e7f8fb;
  color: #0d5f96;
  box-shadow: inset 0 0 0 1px rgba(32, 183, 201, .2);
}

.hk-rank-summary {
  padding: 18px 0;
}

.hk-rank-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hk-rank-summary-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hk-rank-box,
.hk-side-panel,
.hk-company-card,
.hk-seo,
.hk-content-section {
  border: 1px solid #d7e2eb;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 48, 74, .05);
}

.hk-rank-box {
  padding: 14px;
}

.hk-rank-box h2 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #20b7c9;
  color: #17233a;
  font-size: 17px;
}

.hk-rank-box ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hk-rank-box a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #24344d;
  font-size: 13px;
  font-weight: 800;
}

.hk-rank-box span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #e7f8fb;
  color: #1769aa;
  font-weight: 900;
}

.hk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.hk-main,
.hk-sidebar {
  min-width: 0;
}

.hk-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.hk-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.hk-list-head p {
  margin: 0 0 4px;
  color: #20b7c9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hk-list-head h2 {
  margin: 0;
  color: #15243a;
  font-size: 28px;
}

.hk-sort-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hk-company-list {
  display: grid;
  gap: 14px;
}

.hk-tab-panel[hidden] {
  display: none;
}

.hk-company-card {
  overflow: hidden;
}

.hk-company-main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.hk-company-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px;
  border-right: 1px solid #e0e8ef;
  background: #f8fbff;
}

.hk-company-media img {
  max-width: 100%;
  max-height: 128px;
  object-fit: contain;
}

.hk-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid #20b7c9;
  background: #fff;
  color: #1769aa;
  font-weight: 900;
}

.hk-company-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.hk-company-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 14px;
  align-items: start;
}

.hk-company-title-row h3 {
  margin: 0 0 5px;
  color: #17233a;
  font-size: 22px;
}

.hk-company-title-row h3 a {
  color: inherit;
}

.hk-company-title-row p {
  margin: 0;
  color: #5d6b7f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.hk-score {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: 4px;
  background: #fff8e7;
  color: #b05f00;
}

.hk-score strong {
  font-size: 24px;
  line-height: 1;
}

.hk-score span {
  font-size: 11px;
  font-weight: 900;
}

.hk-company-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hk-company-metrics span {
  padding: 5px 10px;
  border: 1px solid #d8e3ec;
  border-radius: 999px;
  background: #fff;
  color: #43536a;
  font-size: 12px;
  font-weight: 900;
}

.hk-info-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dce6ee;
  border-radius: 4px;
  overflow: hidden;
}

.hk-info-table div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid #e6edf3;
}

.hk-info-table div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hk-info-table dt {
  padding: 9px 10px;
  background: #edf5f9;
  color: #43536a;
  font-size: 12px;
  font-weight: 900;
}

.hk-info-table dd {
  margin: 0;
  padding: 9px 10px;
  color: #17233a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.hk-official-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 4px;
  background: #eefbfc;
}

.hk-official-row span {
  padding: 9px 10px;
  color: #1769aa;
  font-size: 12px;
  font-weight: 900;
}

.hk-official-row em {
  min-width: 0;
  padding: 9px 10px;
  color: #0d5f96;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hk-company-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 14px;
  border-top: 1px solid #e1e8f0;
  background: #fbfdff;
}

.hk-company-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}

.hk-detail {
  border: 1px solid #cfdce8;
  background: #fff;
  color: #1769aa;
}

.hk-primary {
  background: #20b7c9;
  color: #fff;
}

.hk-side-panel {
  padding: 14px;
}

.hk-side-panel h3 {
  margin: 0 0 10px;
  color: #17233a;
  font-size: 17px;
}

.hk-side-blue {
  background: #1769aa;
  color: #fff;
}

.hk-side-blue h3 {
  color: #fff;
}

.hk-side-panel a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  color: inherit;
  font-weight: 900;
}

.hk-side-panel:not(.hk-side-blue) a {
  border-top-color: #e1e8f0;
  color: #1769aa;
}

.hk-side-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #536276;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.9;
}

.hk-column-link {
  font-size: 13px;
  line-height: 1.5;
}

.hk-seo {
  margin-top: 42px;
  margin-bottom: 30px;
  padding: 22px;
}

.hk-seo h2 {
  margin: 0 0 12px;
  color: #15243a;
  font-size: 26px;
}

.hk-seo p {
  margin: 10px 0 0;
  color: #536276;
  font-weight: 700;
  line-height: 1.9;
}

.hk-content-section {
  margin-bottom: 30px;
  padding: 22px;
}

.hk-content-section h2 {
  margin: 0 0 14px;
  color: #15243a;
  font-size: 24px;
}

.hk-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hk-content-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dce7ef;
  border-radius: 4px;
  background: #f8fbff;
}

.hk-content-grid h3 {
  margin: 0 0 8px;
  color: #17233a;
  font-size: 18px;
}

.hk-content-grid p,
.hk-faq-section p {
  margin: 0;
  color: #536276;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.hk-faq-section details {
  border-top: 1px solid #e1e8f0;
  padding: 14px 0;
}

.hk-faq-section details:first-of-type {
  border-top: 0;
}

.hk-faq-section summary {
  color: #17233a;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hk-rank-summary-grid,
  .hk-content-grid,
  .hk-layout {
    grid-template-columns: 1fr;
  }

  .hk-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .hk-page {
    overflow-x: hidden;
  }

  .hk-search-hero,
  .hk-search-inner,
  .hk-list-head,
  .hk-main {
    min-width: 0;
  }

  .hk-search-box,
  .hk-company-main,
  .hk-company-title-row,
  .hk-info-table,
  .hk-info-table div,
  .hk-official-row {
    grid-template-columns: 1fr;
  }

  .hk-search-inner h1 {
    max-width: 100%;
    font-size: 25px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hk-mobile-break {
    display: block;
  }

  .hk-search-inner p {
    overflow-wrap: anywhere;
  }

  .hk-filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .hk-filter-row a {
    flex: 0 0 auto;
  }

  .hk-company-media {
    border-right: 0;
    border-bottom: 1px solid #e0e8ef;
  }

  .hk-info-table div:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e6edf3;
  }

  .hk-info-table div:last-child {
    border-bottom: 0;
  }

  .hk-company-actions {
    flex-direction: column;
  }

  .hk-company-actions a {
    width: 100%;
  }
}

/* v1.7.0: rebuilt home page as a comparison finder dashboard. */
.ap-top {
  overflow: hidden;
  background: #f4f7fb;
  color: #122033;
}

.ap-top a {
  text-decoration: none;
}

.ap-top-hero {
  position: relative;
  padding: 42px 0 34px;
  background:
    linear-gradient(90deg, rgba(5, 15, 34, .92), rgba(5, 20, 46, .8)),
    url("assets/images/hero.png") center / cover no-repeat;
}

.ap-top-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, #20b7c9, #f6c445, #20b7c9);
}

.ap-top-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 28px;
  align-items: stretch;
}

.ap-top-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 460px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 19, 39, .9), rgba(11, 35, 69, .78));
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.ap-top-kicker {
  margin: 0 0 12px;
  color: #8ee8f2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.ap-top-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.08;
}

.ap-top-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.85;
}

.ap-top-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ap-top-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.ap-top-stats strong {
  color: #ffe081;
  font-size: 22px;
}

.ap-top-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ap-top-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #20b7c9, #f6a72f);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(32, 183, 201, .25);
}

.ap-top-hero-actions a + a {
  background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}

.ap-top-finder {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.ap-top-finder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ap-top-finder-head span {
  color: #071327;
  font-size: 20px;
  font-weight: 900;
}

.ap-top-finder-head a,
.ap-top-chip-row a,
.ap-top-rank-title a {
  color: #0d5f96;
  font-weight: 900;
}

.ap-top-search {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d6e1ec;
  border-radius: 8px;
  background: #f6f9fc;
}

.ap-top-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #122033;
  font-size: 15px;
  font-weight: 800;
}

.ap-top-search input:focus {
  outline: none;
}

.ap-top-search button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #20b7c9, #f6a72f);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.ap-top-condition-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-top-condition-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d9e4ee;
  border-radius: 999px;
  background: #fff;
  color: #15243a;
  font-size: 13px;
  font-weight: 900;
}

.ap-top-category-buttons {
  display: grid;
  gap: 10px;
}

.ap-top-category-buttons a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid #d8e2ee;
  border-left: 6px solid #20b7c9;
  border-radius: 8px;
  background: #fff;
  color: #122033;
}

.ap-top-category-buttons a:first-child {
  border-left-color: #1769aa;
}

.ap-top-category-buttons b {
  font-size: 20px;
}

.ap-top-category-buttons small {
  color: #5a687c;
  font-weight: 800;
}

.ap-top-media {
  overflow: hidden;
  min-height: 150px;
  border-radius: 8px;
  background: #071327;
}

.ap-top-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center;
}

.ap-top-strip {
  background: #fff;
  box-shadow: 0 12px 30px rgba(9,24,45,.08);
}

.ap-top-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.ap-top-strip-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 14px 18px;
  border-left: 1px solid #e4ebf3;
  color: #132238;
  font-weight: 900;
}

.ap-top-strip-grid a:last-child {
  border-right: 1px solid #e4ebf3;
}

.ap-top-strip-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #e7f8fb;
  color: #1769aa;
  font-size: 13px;
}

.ap-top-section-head {
  max-width: 860px;
  margin-bottom: 22px;
}

.ap-top-section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  max-width: none;
}

.ap-top-section-head h2 {
  margin: 0;
  color: #071327;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
}

.ap-top-section-head p:not(.ap-top-kicker) {
  margin: 12px 0 0;
  color: #536276;
  font-weight: 800;
  line-height: 1.8;
}

.ap-top-service-grid,
.ap-top-rank-grid,
.ap-top-seo-grid,
.ap-top-faq-grid {
  display: grid;
  gap: 18px;
}

.ap-top-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-top-service-grid article,
.ap-top-rank-grid section,
.ap-top-seo-main,
.ap-top-proof,
.ap-top-faq details {
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(9,24,45,.07);
}

.ap-top-service-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.ap-top-service-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #1769aa, #20b7c9, #f6c445);
}

.ap-top-service-grid span,
.ap-top-rank-title span {
  color: #20b7c9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.ap-top-service-grid h3 {
  margin: 10px 0;
  color: #071327;
  font-size: 30px;
}

.ap-top-service-grid p {
  color: #536276;
  font-weight: 800;
  line-height: 1.8;
}

.ap-top-service-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ap-top-service-grid dl div {
  padding: 12px;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  background: #f8fbff;
}

.ap-top-service-grid dt {
  color: #657187;
  font-size: 12px;
  font-weight: 900;
}

.ap-top-service-grid dd {
  margin: 4px 0 0;
  color: #071327;
  font-weight: 900;
}

.ap-top-service-grid article > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #20b7c9, #f6a72f);
  color: #fff;
  font-weight: 900;
}

.ap-top-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.ap-top-chip-row a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d6e1ec;
  border-radius: 999px;
  background: #fff;
}

.ap-top-rank-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-top-rank-grid section {
  min-width: 0;
  padding: 18px;
}

.ap-top-rank-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ap-top-rank-title h3 {
  margin: 0;
  color: #071327;
  font-size: 24px;
}

.ap-top-rank-grid .ap-company-list {
  gap: 12px;
}

.ap-top-rank-grid .ap-company-card {
  grid-template-columns: 108px minmax(0, 1fr);
  box-shadow: none;
}

.ap-top-rank-grid .ap-company-card-media {
  padding: 10px;
  background: #f4f7fb;
}

.ap-top-rank-grid .ap-company-card-media a {
  min-height: 92px;
}

.ap-top-rank-grid .ap-company-card-media img {
  max-height: 88px;
}

.ap-top-rank-grid .ap-company-card-body {
  gap: 8px;
  padding: 14px;
}

.ap-top-rank-grid .ap-company-card h3 {
  font-size: 18px;
}

.ap-top-rank-grid .ap-company-info-table,
.ap-top-rank-grid .ap-company-official,
.ap-top-rank-grid .ap-company-score {
  display: none;
}

.ap-top-rank-grid .ap-company-actions {
  justify-content: flex-start;
}

.ap-top-rank-grid .ap-company-detail {
  min-width: 126px;
}

.ap-top-seo-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
}

.ap-top-seo-main,
.ap-top-proof {
  padding: clamp(22px, 3vw, 34px);
}

.ap-top-seo-main h2,
.ap-top-faq h2 {
  margin: 0 0 14px;
  color: #071327;
  font-size: clamp(28px, 3vw, 42px);
}

.ap-top-seo-main p {
  margin: 12px 0 0;
  color: #46566c;
  font-weight: 800;
  line-height: 1.9;
}

.ap-top-proof {
  background: #08182d;
  color: #fff;
}

.ap-top-proof h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
}

.ap-top-proof ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

.ap-top-proof a {
  display: inline-flex;
  margin-top: 18px;
  color: #8ee8f2;
  font-weight: 900;
}

.ap-top-faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ap-top-faq details {
  padding: 18px;
}

.ap-top-faq summary {
  cursor: pointer;
  color: #071327;
  font-size: 17px;
  font-weight: 900;
}

.ap-top-faq p {
  margin: 12px 0 0;
  color: #526278;
  font-weight: 800;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .ap-top-hero-grid,
  .ap-top-service-grid,
  .ap-top-rank-grid,
  .ap-top-seo-grid,
  .ap-top-faq-grid {
    grid-template-columns: 1fr;
  }

  .ap-top-copy {
    min-height: 0;
  }

  .ap-top-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ap-site-header {
    position: relative;
  }

  .ap-header-inner {
    gap: 10px;
    padding: 10px 0;
  }

  .ap-logo span {
    font-size: 11px;
  }

  .ap-logo strong {
    font-size: 21px;
  }

  .ap-nav {
    gap: 8px;
  }

  .ap-nav a {
    font-size: 13px;
  }

  .ap-nav-cta {
    min-height: 38px;
    padding: 8px 16px;
  }

  .ap-top-hero {
    padding: 22px 0 26px;
  }

  .ap-top-copy,
  .ap-top-finder {
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px;
  }

  .ap-top-copy h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.4vw, 34px);
    line-height: 1.18;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .ap-top-lead {
    font-size: 15px;
    line-height: 1.7;
  }

  .ap-top-stats {
    gap: 8px;
  }

  .ap-top-stats span {
    min-height: 36px;
    font-size: 12px;
  }

  .ap-top-search {
    grid-template-columns: 1fr;
  }

  .ap-top-finder-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ap-top-finder-head a {
    font-size: 14px;
  }

  .ap-top-hero-actions a {
    flex: 1 1 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .ap-top-finder,
  .ap-top-finder-head,
  .ap-top-category-buttons a {
    min-width: 0;
  }

  .ap-top-category-buttons b,
  .ap-top-category-buttons small {
    overflow-wrap: anywhere;
  }

  .ap-top-search button {
    min-height: 44px;
  }

  .ap-top-strip-grid {
    grid-template-columns: 1fr;
  }

  .ap-top-service-grid dl {
    grid-template-columns: 1fr;
  }

  .ap-top-rank-grid section {
    padding: 12px;
  }

  .ap-top-rank-grid .ap-company-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .ap-top-rank-grid .ap-company-card p,
  .ap-top-rank-grid .ap-company-badges {
    display: none;
  }
}

.ap-home-hero {
  padding: 30px 0 22px;
  border-bottom: 1px solid #dfe5ec;
  background: #ffffff;
}

.ap-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .58fr);
  gap: 22px;
  align-items: stretch;
}

.ap-home-hero-copy,
.ap-home-choice-panel,
.ap-home-category-card,
.ap-home-recommend-column,
.ap-home-point-grid div {
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 51, .04);
}

.ap-home-hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 26px;
}

.ap-home-hero-copy h1 {
  margin: 0;
  color: #1b2738;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.24;
}

.ap-home-hero-copy p:not(.ap-kicker) {
  max-width: 760px;
  margin: 0;
  color: #566579;
  font-weight: 800;
}

.ap-home-search {
  max-width: 680px;
  margin-top: 4px;
}

.ap-home-choice-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.ap-home-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-content: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #f8fafc;
}

.ap-home-choice span {
  color: #1b2738;
  font-size: 20px;
  font-weight: 1000;
}

.ap-home-choice strong {
  align-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  color: #1769aa;
  background: #e7f8fb;
  font-size: 14px;
}

.ap-home-choice em {
  grid-column: 1 / -1;
  color: #566579;
  font-style: normal;
  font-weight: 800;
  line-height: 1.6;
}

.ap-home-choice-saki {
  border-left: 5px solid #1769aa;
}

.ap-home-choice-ato {
  border-left: 5px solid #20b7c9;
}

.ap-home-category-grid,
.ap-home-recommend-grid,
.ap-home-point-grid {
  display: grid;
  gap: 18px;
}

.ap-home-category-grid,
.ap-home-recommend-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-home-category-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.ap-home-category-card h3 {
  margin: 4px 0 8px;
  color: #1b2738;
  font-size: 26px;
}

.ap-home-category-card p {
  margin: 0;
  color: #566579;
  font-weight: 800;
  line-height: 1.75;
}

.ap-home-category-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.ap-home-category-card dl div {
  min-width: 0;
  padding: 11px;
  border: 1px solid #e1e7ee;
  border-radius: 8px;
  background: #f8fafc;
}

.ap-home-category-card dt {
  margin: 0 0 4px;
  color: #526174;
  font-size: 12px;
  font-weight: 900;
}

.ap-home-category-card dd {
  margin: 0;
  color: #1f2e43;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.ap-home-filter-chips {
  margin-top: 18px;
}

.ap-home-recommend-column {
  min-width: 0;
  padding: 18px;
}

.ap-home-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ap-home-column-head h3 {
  margin: 0;
  color: #1b2738;
  font-size: 22px;
}

.ap-home-column-head a {
  color: #1769aa;
  font-size: 13px;
  font-weight: 900;
}

.ap-home-recommend-column .ap-company-card {
  grid-template-columns: 132px minmax(0, 1fr);
}

.ap-home-recommend-column .ap-company-card-media {
  padding: 12px;
}

.ap-home-recommend-column .ap-company-card-media a {
  min-height: 108px;
}

.ap-home-recommend-column .ap-company-card-head {
  grid-template-columns: 1fr;
}

.ap-home-recommend-column .ap-company-score {
  display: none;
}

.ap-home-point-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ap-home-point-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.ap-home-point-grid strong {
  color: #1b2738;
  font-size: 17px;
}

.ap-home-point-grid span {
  color: #566579;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

@media (max-width: 1060px) {
  .ap-home-hero-grid,
  .ap-home-category-grid,
  .ap-home-recommend-grid,
  .ap-home-point-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ap-home-hero-copy,
  .ap-home-category-card,
  .ap-home-recommend-column {
    padding: 16px;
  }

  .ap-home-choice {
    grid-template-columns: 1fr;
  }

  .ap-home-category-card dl,
  .ap-home-recommend-column .ap-company-card {
    grid-template-columns: 1fr;
  }
}

/* v1.5.1 visibility fixes after public screenshot review. */
.ap-quick-panel strong {
  color: #ffffff;
}

.ap-quick-panel span {
  color: rgba(255, 255, 255, .76);
}

.ap-service-tile {
  grid-template-rows: 120px 1fr;
}

.ap-service-thumb {
  padding: 14px;
}

.ap-service-body {
  background: #ffffff;
}

.ap-service-facts div,
.ap-service-official {
  background: rgba(248, 251, 253, .96);
}

/* v1.6.0: company directory layout inspired by comparison listing pages. */
.ap-company-layout {
  background: #f4f6f8;
}

.ap-company-search-hero {
  padding: 26px 0 18px;
  background: #ffffff;
  border-bottom: 1px solid #dfe5ec;
}

.ap-company-search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr);
  gap: 22px;
  align-items: end;
  padding: 22px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
}

.ap-company-search-box h1 {
  margin: 4px 0 8px;
  color: #1b2738;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
}

.ap-company-search-box p {
  margin: 0;
  color: #566579;
  font-weight: 700;
}

.ap-company-search-form {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
  padding: 8px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #f7f9fb;
}

.ap-company-search-form input {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #1b2738;
  font: inherit;
  outline: 0;
}

.ap-company-search-form button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: #20b7c9;
  font: inherit;
  font-weight: 900;
}

.ap-company-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ap-company-filter-chips a,
.ap-company-side-card a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  color: #27364a;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.ap-company-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: start;
}

.ap-company-main {
  min-width: 0;
}

.ap-company-page-copy {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
}

.ap-company-page-copy h2 {
  margin: 0 0 10px;
  color: #1b2738;
  font-size: 28px;
  line-height: 1.35;
}

.ap-company-page-copy p {
  margin: 0;
  color: #566579;
  font-weight: 700;
}

.ap-company-list {
  display: grid;
  gap: 14px;
}

.ap-company-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.ap-company-side-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
}

.ap-company-side-card h3 {
  margin: 0 0 4px;
  color: #1b2738;
  font-size: 17px;
}

.ap-company-side-card ol {
  margin: 0;
  padding-left: 20px;
  color: #566579;
  font-size: 13px;
  font-weight: 700;
}

.ap-company-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 51, .05);
}

.ap-company-card-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 16px;
  border-right: 1px solid #e5ebf1;
  background: #f8fafc;
}

.ap-company-card-media a {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 132px;
}

.ap-company-card-media img {
  max-width: 100%;
  max-height: 132px;
  object-fit: contain;
}

.ap-company-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #20b7c9;
  border-radius: 50%;
  color: #1769aa;
  background: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.ap-company-card-body {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.ap-company-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 18px;
  align-items: start;
}

.ap-company-card h3 {
  margin: 0 0 6px;
  color: #1b2738;
  font-size: 23px;
  line-height: 1.35;
}

.ap-company-card p {
  margin: 0;
  color: #566579;
  font-size: 14px;
  line-height: 1.7;
}

.ap-company-score {
  display: grid;
  justify-items: center;
  padding: 8px;
  border: 1px solid #e5ebf1;
  border-radius: 8px;
  background: #fbfcfd;
}

.ap-company-score strong {
  color: #f5a400;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
}

.ap-company-score span {
  margin-top: 4px;
  color: #7a8796;
  font-size: 11px;
  font-weight: 900;
}

.ap-company-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-company-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  color: #344255;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.ap-company-info-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid #e1e7ee;
  border-radius: 8px;
  overflow: hidden;
}

.ap-company-info-table div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-width: 0;
  border-right: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
}

.ap-company-info-table div:nth-child(2n) {
  border-right: 0;
}

.ap-company-info-table div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.ap-company-info-table dt,
.ap-company-info-table dd {
  margin: 0;
  padding: 9px 10px;
  font-size: 12px;
  line-height: 1.55;
}

.ap-company-info-table dt {
  color: #526174;
  background: #f3f6f9;
  font-weight: 900;
}

.ap-company-info-table dd {
  color: #1f2e43;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ap-company-official {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-left: 4px solid #20b7c9;
  background: #f4f8fb;
}

.ap-company-official span {
  color: #526174;
  font-size: 12px;
  font-weight: 900;
}

.ap-company-official a,
.ap-company-official em {
  min-width: 0;
  color: #1769aa;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ap-company-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.ap-company-detail,
.ap-company-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.ap-company-detail {
  border: 1px solid #d8e0e8;
  color: #27364a;
  background: #ffffff;
}

.ap-company-cv {
  color: #ffffff;
  background: #20b7c9;
}

@media (max-width: 980px) {
  .ap-company-search-box,
  .ap-company-two-col {
    grid-template-columns: 1fr;
  }

  .ap-company-main,
  .ap-company-side,
  .ap-company-post-header,
  .ap-company-content-card {
    min-width: 0;
    max-width: 100%;
  }

  .ap-company-side {
    position: static;
  }

  .ap-company-card {
    grid-template-columns: 148px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .ap-company-search-box {
    padding: 16px;
  }

  .ap-company-search-form,
  .ap-company-card,
  .ap-company-card-head,
  .ap-company-info-table,
  .ap-company-official {
    grid-template-columns: 1fr;
  }

  .ap-company-card-media {
    border-right: 0;
    border-bottom: 1px solid #e5ebf1;
  }

  .ap-company-info-table div,
  .ap-company-info-table div:nth-child(2n),
  .ap-company-info-table div:nth-last-child(-n+2) {
    grid-template-columns: 104px minmax(0, 1fr);
    border-right: 0;
    border-bottom: 1px solid #e1e7ee;
  }

  .ap-company-info-table div:last-child {
    border-bottom: 0;
  }

  .ap-company-actions {
    justify-content: stretch;
  }

  .ap-company-detail,
  .ap-company-cv {
    width: 100%;
  }
}

/* v1.6.1: provider detail and article pages follow the company directory style. */
.ap-company-detail-page,
.ap-company-post-page {
  background: #f4f6f8;
}

.ap-company-detail-hero,
.ap-company-post-header,
.ap-company-content-card,
.ap-company-cv-panel,
.ap-company-detail-table {
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 51, .04);
}

.ap-company-detail-hero {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 112px;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
}

.ap-company-detail-media {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 14px;
  border: 1px solid #e5ebf1;
  border-radius: 8px;
  background: #f8fafc;
}

.ap-company-detail-media img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.ap-company-detail-copy h1,
.ap-company-post-header h1 {
  margin: 4px 0 8px;
  color: #1b2738;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ap-company-detail-copy p,
.ap-company-post-header p {
  margin: 0 0 12px;
  color: #566579;
  font-weight: 700;
}

.ap-company-detail-score {
  align-self: start;
}

.ap-company-detail-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin: 0 0 16px;
}

.ap-company-detail-table div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  min-width: 0;
  border-right: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
}

.ap-company-detail-table div:nth-child(2n) {
  border-right: 0;
}

.ap-company-detail-table dt,
.ap-company-detail-table dd {
  margin: 0;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.ap-company-detail-table dt {
  color: #526174;
  background: #f3f6f9;
  font-weight: 900;
}

.ap-company-detail-table dd {
  color: #1f2e43;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ap-company-detail-table .ap-text-url {
  color: #1769aa;
}

.ap-company-content-card {
  margin-bottom: 16px;
  padding: 22px;
}

.ap-company-content-card h2 {
  margin: 0 0 14px;
  color: #1b2738;
  font-size: 24px;
  line-height: 1.35;
}

.ap-company-content-card .ap-article-content {
  padding: 0;
}

.ap-company-content-card .ap-article-content h2,
.ap-company-content-card .ap-article-content h3 {
  color: #1b2738;
}

.ap-company-content-card .provider-info-table,
.ap-company-content-card .ap-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid #e1e7ee;
  border-radius: 8px;
  border-collapse: separate;
  border-spacing: 0;
}

.ap-company-content-card .provider-info-table th,
.ap-company-content-card .provider-info-table td,
.ap-company-content-card .ap-table th,
.ap-company-content-card .ap-table td {
  padding: 11px 12px;
  border-right: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
  color: #1f2e43;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.65;
}

.ap-company-content-card .provider-info-table th,
.ap-company-content-card .ap-table th {
  width: 28%;
  color: #526174;
  background: #f3f6f9;
  font-weight: 900;
}

.ap-company-content-card .provider-info-table tr:last-child th,
.ap-company-content-card .provider-info-table tr:last-child td,
.ap-company-content-card .ap-table tr:last-child th,
.ap-company-content-card .ap-table tr:last-child td {
  border-bottom: 0;
}

.ap-company-check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #344255;
  font-weight: 800;
}

.ap-company-cv-panel {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 20px;
  border-left: 5px solid #20b7c9;
}

.ap-company-cv-panel span {
  color: #1769aa;
  font-size: 12px;
  font-weight: 900;
}

.ap-company-cv-panel h2 {
  margin: 4px 0 0;
  color: #1b2738;
  font-size: 22px;
}

.ap-company-post-header {
  margin-bottom: 16px;
  padding: 24px;
}

.ap-company-post-image {
  overflow: hidden;
  margin: 0 0 16px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
}

.ap-company-post-image img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

.ap-company-note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 4px solid #20b7c9;
  background: #f4f8fb;
  color: #526174;
  font-weight: 800;
}

@media (max-width: 980px) {
  .ap-company-detail-hero {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .ap-company-detail-score {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ap-company-detail-table {
    grid-template-columns: 1fr;
  }

  .ap-company-detail-table div,
  .ap-company-detail-table div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .ap-company-detail-hero,
  .ap-company-detail-table div {
    grid-template-columns: 1fr;
  }

  .ap-company-post-header {
    padding: 20px;
  }

  .ap-company-post-header h1 {
    font-size: 24px;
    line-height: 1.35;
    word-break: break-all;
  }

  .ap-company-layout,
  .ap-company-two-col,
  .ap-company-main,
  .ap-company-post-header,
  .ap-company-content-card,
  .ap-company-post-image {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .ap-company-cv-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

/* v1.6.3: breadcrumbs and pagination match the company directory UI. */
.ap-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  color: #6b7788;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(18, 32, 51, .04);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.ap-breadcrumb a {
  color: #1769aa;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ap-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ap-breadcrumb a:focus-visible,
.navigation.pagination a.page-numbers:focus-visible {
  outline: 3px solid rgba(23, 162, 184, .28);
  outline-offset: 2px;
}

.ap-breadcrumb > span {
  color: #8994a3;
  overflow-wrap: anywhere;
}

.ap-breadcrumb > span:last-child {
  color: #344255;
}

.navigation.pagination {
  margin: 22px 0 0;
}

.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 32, 51, .04);
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  color: #27364a;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.navigation.pagination a.page-numbers:hover {
  border-color: #20b7c9;
  color: #1769aa;
  background: #f4f8fb;
}

.navigation.pagination .page-numbers.current {
  border-color: #20b7c9;
  color: #ffffff;
  background: #20b7c9;
}

.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  color: #8994a3;
  background: transparent;
}

.navigation.pagination .prev,
.navigation.pagination .next {
  min-width: 74px;
}

@media (max-width: 680px) {
  .ap-breadcrumb {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .navigation.pagination .nav-links {
    justify-content: flex-start;
    padding: 12px;
  }

  .navigation.pagination .page-numbers {
    min-width: 36px;
    min-height: 36px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.ap-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.ap-site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: var(--white);
  background: rgba(6, 18, 37, .94);
  border-bottom: 1px solid rgba(244, 200, 75, .45);
  backdrop-filter: blur(14px);
}

.ap-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.ap-text-logo {
  display: grid;
  gap: 2px;
  min-width: 250px;
}

.ap-text-logo span {
  color: #20b7c9;
  font-size: 12px;
  font-weight: 900;
}

.ap-text-logo strong {
  color: var(--white);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: 0;
}

.ap-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 900;
}

.ap-nav a:not(.ap-nav-cta) {
  color: rgba(255, 255, 255, .86);
}

.ap-nav-cta,
.ap-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(32, 183, 201, .54);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, #1887c7 0%, #0d4c86 100%);
  box-shadow: 0 12px 26px rgba(13, 76, 134, .22);
  font-weight: 1000;
  text-align: center;
}

.ap-button.ap-secondary {
  color: var(--deep);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(8, 23, 42, .08);
}

.ap-visual-hero {
  padding: 0;
  background: var(--deep);
}

.ap-dashboard-hero {
  padding: 34px 0 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(32, 183, 201, .16), transparent 30%),
    linear-gradient(180deg, #fff3f4 0%, #ffffff 100%);
}

.ap-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(8, 23, 42, .1);
}

.ap-dashboard-copy {
  display: grid;
  gap: 14px;
}

.ap-dashboard-copy h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}

.ap-dashboard-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.ap-hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.ap-hero-search input {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.ap-hero-search button {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: #1769aa;
  font: inherit;
  font-weight: 1000;
}

.ap-hero-creative {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #dfeaf3;
}

.ap-hero-creative::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.36), transparent 24%, rgba(255,255,255,.18));
  pointer-events: none;
}

.ap-hero-creative img {
  display: block;
  width: 100%;
  filter: saturate(.86) contrast(.96);
}

.ap-quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -24px;
  overflow: hidden;
  border: 1px solid rgba(32, 183, 201, .22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}

.ap-quick-panel div {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.ap-quick-panel div:last-child {
  border-right: 0;
}

.ap-quick-panel strong {
  display: block;
  color: var(--deep);
  font-size: 22px;
  font-weight: 1000;
  line-height: 1.25;
}

.ap-quick-panel span {
  display: block;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.ap-section {
  padding: 64px 0;
}

.ap-dark-band {
  color: var(--ink);
  background: #ffffff;
}

.ap-section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.ap-section-head h1,
.ap-section-head h2,
.ap-article h1,
.ap-article h2,
.ap-article h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

.ap-section-head h1,
.ap-section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.ap-section-head-invert h1,
.ap-section-head-invert .ap-lead {
  color: var(--ink);
}

.ap-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.ap-lead {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.ap-dark-band .ap-lead {
  color: var(--muted);
}

.ap-feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ap-feature-tiles article {
  min-height: 176px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.ap-feature-tiles span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.ap-feature-tiles h3 {
  margin: 14px 0 6px;
  color: var(--deep);
  font-size: 20px;
}

.ap-feature-tiles p {
  margin: 0;
  color: var(--muted);
}

.ap-search-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(32, 183, 201, .26);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(8, 23, 42, .08);
}

.ap-search-panel input,
.ap-search-panel select {
  min-height: 46px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(244, 200, 75, .58);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.ap-ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ap-provider-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ap-provider-list-head {
  display: none;
}

.ap-provider-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce7f2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 36px rgba(8, 23, 42, .1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ap-provider-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 183, 201, .55);
  box-shadow: 0 24px 48px rgba(8, 23, 42, .14);
}

.ap-provider-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #20b7c9, #1769aa);
}

.ap-provider-thumb {
  display: block;
  height: 154px;
  padding: 18px;
  border-bottom: 1px solid #e7edf5;
  background:
    linear-gradient(135deg, rgba(32, 183, 201, .16), transparent 48%),
    #eef6fb;
}

.ap-provider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-provider-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.ap-provider-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ap-provider-rank {
  display: inline-flex;
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(180deg, #1887c7, #0d4c86);
  font-size: 12px;
  font-weight: 1000;
}

.ap-provider-note {
  color: #526173;
  font-size: 11px;
  font-weight: 1000;
}

.ap-provider-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.35;
}

.ap-provider-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ap-provider-summary {
  min-height: 49px;
}

.ap-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ap-spec-list span {
  min-width: 0;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid #dce7f2;
  border-radius: 6px;
  background: #ffffff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
}

.ap-spec-list small {
  display: block;
  margin-bottom: 2px;
  color: #6b788b;
  font-size: 10px;
  font-weight: 1000;
}

.ap-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 2px;
}

.ap-card-actions .ap-button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

.ap-card-actions .ap-button:only-child {
  grid-column: 1 / -1;
}

.ap-column-band {
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.ap-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ap-column-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(5, 18, 37, .08);
}

.ap-column-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--deep);
}

.ap-column-thumb img,
.ap-column-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ap-column-body {
  padding: 18px;
}

.ap-column-body time {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 1000;
}

.ap-column-body h3 {
  margin: 8px 0;
  color: var(--deep);
}

.ap-column-body p {
  margin: 0;
  color: var(--muted);
}

.ap-page-hero,
.ap-provider-page,
.ap-column-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 200, 75, .2), transparent 32%),
    linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%);
}

.ap-page-hero {
  padding: 58px 0;
  color: var(--white);
}

.ap-page-hero h1,
.ap-page-hero p {
  color: var(--white);
}

.ap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
}

.ap-article {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ap-article-header {
  padding: 30px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(244, 200, 75, .18), transparent 44%),
    var(--deep);
  color: var(--white);
}

.ap-article-header h1 {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.ap-article-header .ap-lead,
.ap-article-header .ap-meta {
  color: rgba(255,255,255,.84);
}

.ap-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
}

.ap-provider-billboard {
  position: relative;
  margin: 22px;
  padding: 14px;
  border: 1px solid rgba(32, 183, 201, .35);
  border-radius: var(--radius);
  background: var(--deep);
}

.ap-provider-billboard img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
}

.ap-hero-cta {
  position: absolute;
  right: 24px;
  bottom: 24px;
}

.ap-alert-line,
.ap-notice {
  margin: 22px;
  padding: 14px 16px;
  border-left: 5px solid #20b7c9;
  border-radius: 6px;
  background: #eefbfc;
  color: var(--deep);
  font-weight: 800;
}

.ap-article section,
.ap-article-content {
  padding: 0 30px 30px;
}

.ap-article-content h2,
.ap-article section > h2 {
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 3px solid #20b7c9;
  color: var(--deep);
}

.ap-article-content h3 {
  margin-top: 22px;
  color: var(--deep);
}

.ap-article-content p,
.ap-article-content li {
  color: #26354d;
}

.ap-table,
.provider-info-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.ap-table th,
.ap-table td,
.provider-info-table th,
.provider-info-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ap-table th,
.provider-info-table th {
  width: 28%;
  color: var(--white);
  background: var(--deep);
}

.ap-table td,
.provider-info-table td {
  background: #fffdf3;
}

.ap-text-url {
  color: var(--deep);
  font-weight: 900;
  word-break: break-all;
}

.ap-cv-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin: 24px 30px;
  padding: 24px;
  border: 1px solid rgba(32, 183, 201, .35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0b1c31 0%, #12466b 60%, #0d5b66 100%);
  color: var(--white);
}

.ap-cv-panel h2,
.ap-cv-panel p {
  color: var(--white);
}

.ap-cv-badge {
  display: inline-flex;
  width: max-content;
  padding: 4px 10px;
  border-radius: 999px;
  color: #5c1018;
  background: #b7edf3;
  font-size: 12px;
  font-weight: 1000;
}

.ap-cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ap-cv-thumb {
  width: 180px;
  align-self: center;
}

.ap-cv-thumb img {
  border-radius: var(--radius);
}

.ap-related-list,
.ap-related {
  padding-top: 26px;
}

.ap-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.ap-confirm-panel {
  margin: 0 30px 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.ap-sidebar {
  display: grid;
  gap: 16px;
}

.ap-sidebar .widget,
.ap-sidebar section,
.ap-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(5, 18, 37, .08);
}

.ap-footer {
  padding: 42px 0;
  color: rgba(255,255,255,.82);
  background: var(--deep);
  border-top: 4px solid #20b7c9;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.ap-footer .ap-text-logo {
  margin-bottom: 14px;
}

.ap-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: start;
}

.ap-footer-links a {
  color: var(--white);
  font-weight: 800;
}

.ap-footer-note {
  color: rgba(255,255,255,.64);
}

.ap-slider-controls,
.ap-slider-button {
  display: none;
}

.ap-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ap-recommend-slider {
  position: relative;
  display: grid;
  gap: 12px;
}

.ap-recommend-slider .ap-slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ap-recommend-slider .ap-slider-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cfdce8;
  border-radius: 999px;
  color: #0d5f96;
  background: #fff;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.ap-recommend-slider .ap-slider-button:disabled {
  opacity: .38;
  cursor: default;
}

.ap-recommend-slider .ap-slider-track {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.ap-recommend-slider .ap-slider-track::-webkit-scrollbar {
  display: none;
}

.ap-recommend-slider .ap-company-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (max-width: 980px) {
  .ap-layout,
  .ap-search-panel,
  .ap-dashboard-shell,
  .ap-footer-grid {
    grid-template-columns: 1fr;
  }

  .ap-ranking-grid,
  .ap-provider-list,
  .ap-column-grid,
  .ap-feature-tiles,
  .ap-slider-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-recommend-slider .ap-company-card {
    flex-basis: 100%;
  }

  .ap-provider-list-head {
    display: none;
  }

  .ap-provider-row {
    grid-template-columns: 1fr;
  }

  .ap-provider-main,
  .ap-provider-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ap-provider-cell::before {
    content: attr(data-label);
    min-width: 96px;
    color: #7c8ca0;
    font-size: 11px;
    font-weight: 1000;
  }

  .ap-provider-actions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .ap-site-header {
    position: static;
    backdrop-filter: none;
  }

  .ap-header-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    gap: 8px;
    padding: 10px 0;
  }

  .ap-text-logo {
    min-width: 0;
  }

  .ap-text-logo span {
    display: none;
  }

  .ap-text-logo strong {
    font-size: 18px;
  }

  .ap-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 12px;
    scrollbar-width: none;
  }

  .ap-nav::-webkit-scrollbar {
    display: none;
  }

  .ap-nav a {
    flex: 0 0 auto;
  }

  .ap-nav-cta {
    display: none;
  }

  .ap-recommend-slider .ap-slider-controls {
    justify-content: flex-start;
  }

  .ap-recommend-slider .ap-company-card {
    flex-basis: 86%;
  }

  .ap-quick-panel,
  .ap-ranking-grid,
  .ap-provider-list,
  .ap-column-grid,
  .ap-feature-tiles,
  .ap-slider-track {
    grid-template-columns: 1fr;
  }

  .ap-quick-panel {
    margin: 0;
    border-radius: 0;
  }

  .ap-quick-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(90, 52, 0, .22);
  }

  .ap-section {
    padding: 42px 0;
  }

  .ap-dashboard-shell {
    padding: 16px;
  }

  .ap-hero-search {
    grid-template-columns: 1fr;
  }

  .ap-article-header,
  .ap-article section,
  .ap-article-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ap-provider-billboard,
  .ap-cv-panel,
  .ap-confirm-panel,
  .ap-alert-line,
  .ap-notice {
    margin-left: 18px;
    margin-right: 18px;
  }

  .ap-cv-panel {
    grid-template-columns: 1fr;
  }

  .ap-cv-thumb {
    width: 100%;
  }

  .ap-table th,
  .ap-table td,
  .provider-info-table th,
  .provider-info-table td {
    display: block;
    width: 100%;
  }
}

/* v1.5.0 final overrides: stable card layout, distinct from the old reference theme. */
.ap-dashboard-hero {
  padding: 28px 0 0;
  background: linear-gradient(180deg, #fff3f4 0%, #ffffff 54%, #f5f7fb 100%);
}

.ap-dashboard-shell {
  grid-template-columns: minmax(320px, .92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(9, 24, 45, .09);
}

.ap-dashboard-copy {
  align-content: center;
  padding: 18px 10px 18px 18px;
}

.ap-dashboard-copy h1 {
  max-width: 620px;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.22;
}

.ap-dashboard-copy p:not(.ap-kicker) {
  max-width: 620px;
  color: #516074;
  font-weight: 700;
}

.ap-hero-creative {
  display: block;
  min-height: 260px;
  border: 0;
  border-radius: 8px;
  background: #e7edf3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.ap-hero-creative::after {
  display: none;
}

.ap-hero-creative img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

.ap-quick-panel {
  margin-top: 12px;
  border-radius: 8px;
  background: #08192f;
  box-shadow: none;
}

.ap-quick-panel div {
  border-color: rgba(255,255,255,.16);
}

.ap-search-panel {
  border-color: #dbe6ef;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(9, 24, 45, .07);
}

.ap-search-panel input,
.ap-search-panel select {
  border-color: #d9e3ed;
  background: #f9fbfd;
}

.ap-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ap-service-grid-archive {
  margin-top: 18px;
}

.ap-service-tile {
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 24, 45, .08);
}

.ap-service-thumb {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 18px;
  border-bottom: 1px solid #e5edf4;
  background: linear-gradient(135deg, rgba(23, 105, 170, .12), rgba(32, 183, 201, .08)), #f4f8fb;
}

.ap-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-service-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.ap-service-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ap-service-number {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c8d7e5;
  border-radius: 8px;
  color: #1769aa;
  background: #f8fbff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 1000;
}

.ap-service-tile h3 {
  margin: 2px 0 0;
  color: #08192f;
  font-size: 19px;
  line-height: 1.35;
}

.ap-service-tile p {
  margin: 0;
  color: #5d6878;
  font-size: 13px;
  line-height: 1.65;
}

.ap-service-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
}

.ap-service-facts div {
  min-width: 0;
  padding: 9px;
  border: 1px solid #e1e9f1;
  border-radius: 8px;
  background: #f8fbff;
}

.ap-service-facts dt {
  margin: 0 0 3px;
  color: #748196;
  font-size: 11px;
  font-weight: 900;
}

.ap-service-facts dd {
  margin: 0;
  color: #182640;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ap-service-official {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border-left: 3px solid #20b7c9;
  background: #f3fafb;
}

.ap-service-official span {
  color: #748196;
  font-size: 11px;
  font-weight: 900;
}

.ap-service-official a {
  color: #0d5f96;
  font-size: 13px;
  font-weight: 1000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ap-service-official em {
  min-width: 0;
  color: #425068;
  font-size: 12px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.ap-service-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 2px;
}

.ap-service-actions .ap-button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13px;
}

.ap-service-actions .ap-button.ap-secondary {
  border-color: #d9e3ed;
  color: #08192f;
  background: #ffffff;
}

@media (max-width: 980px) {
  .ap-dashboard-shell {
    grid-template-columns: 1fr;
  }

  .ap-dashboard-copy {
    padding: 12px;
  }

  .ap-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ap-dashboard-shell {
    padding: 12px;
  }

  .ap-hero-search {
    grid-template-columns: 1fr;
  }

  .ap-quick-panel {
    grid-template-columns: 1fr 1fr;
  }

  .ap-service-grid {
    grid-template-columns: 1fr;
  }

  .ap-service-facts {
    grid-template-columns: 1fr;
  }
}




