/* v172 — complete category microsites and uncropped three-window layout. */
:root {
  --v172-navy: #10243a;
  --v172-green: #16784a;
  --v172-ink: #172536;
  --v172-muted: #607083;
  --v172-line: #dce4eb;
  --v172-soft: #f5f8fa;
}

html { scroll-padding-top: 78px; }
body.v172-industry-microsites {
  min-height: 100dvh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.v172-industry-microsites .station {
  display: block !important;
  height: auto !important;
  min-height: 100dvh !important;
  max-height: none !important;
  overflow: visible !important;
}

body.v172-industry-microsites .main-workspace {
  display: grid !important;
  grid-template-columns: clamp(176px, 12vw, 210px) minmax(0, 1fr) clamp(320px, 24vw, 410px) !important;
  align-items: start !important;
  min-height: 720px !important;
  height: auto !important;
  overflow: visible !important;
}

@media (min-width: 981px) {
  body.v172-industry-microsites .left-nav,
  body.v172-industry-microsites .preview-panel,
  body.v172-industry-microsites .ai-panel {
    height: min(860px, calc(100dvh - 104px)) !important;
    min-height: 620px !important;
    max-height: 860px !important;
    align-self: start !important;
  }

  body.v172-industry-microsites .left-nav,
  body.v172-industry-microsites .ai-panel {
    position: sticky !important;
    top: 88px !important;
  }

  body.v172-industry-microsites .left-nav {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
  }

  body.v172-industry-microsites .preview-panel {
    position: relative !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable both-edges;
    scroll-behavior: smooth;
    content-visibility: visible !important;
    contain: none !important;
  }

  body.v172-industry-microsites .ai-panel {
    overflow: hidden !important;
  }
}

body.v172-industry-microsites .left-nav::before,
body.v172-industry-microsites .ai-panel::before { content: none !important; }

body.v172-industry-microsites .nav-brand,
body.v172-industry-microsites .dialog-head {
  background: #fff !important;
}

body.v172-industry-microsites .preview-panel::-webkit-scrollbar,
body.v172-industry-microsites .left-nav::-webkit-scrollbar { width: 10px; }
body.v172-industry-microsites .preview-panel::-webkit-scrollbar-track,
body.v172-industry-microsites .left-nav::-webkit-scrollbar-track { background: #edf2f5; }
body.v172-industry-microsites .preview-panel::-webkit-scrollbar-thumb,
body.v172-industry-microsites .left-nav::-webkit-scrollbar-thumb {
  border: 2px solid #edf2f5;
  border-radius: 999px;
  background: #9aaabc;
}

.v172-scroll-note {
  position: sticky;
  top: 0;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -2px 0 10px;
  padding: 8px 11px;
  border: 1px solid #dce5ec;
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: #56677a;
  font-size: 11px;
  box-shadow: 0 7px 18px rgba(16,36,58,.06);
  backdrop-filter: blur(8px);
}
.v172-scroll-note b { color: var(--v172-navy); }

.v172-microsite {
  overflow: visible !important;
  border: 1px solid var(--v172-line) !important;
  background: #fff !important;
}

.v172-microsite-nav {
  position: sticky;
  top: 42px;
  z-index: 14;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 12px 0;
  padding: 8px;
  border: 1px solid var(--v172-line);
  border-radius: 12px;
  background: rgba(248,250,252,.96);
  box-shadow: 0 8px 20px rgba(16,36,58,.06);
  scrollbar-width: none;
}
.v172-microsite-nav::-webkit-scrollbar { display: none; }
.v172-microsite-nav button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d4dee7;
  border-radius: 8px;
  background: #fff;
  color: #30465d;
  font-size: 11px;
  font-weight: 800;
}
.v172-microsite-nav button:hover,
.v172-microsite-nav button:focus-visible { border-color: var(--v172-green); color: var(--v172-green); }

.v172-section {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--v172-line);
  border-radius: 14px;
  background: #fff;
  scroll-margin-top: 96px;
}
.v172-section-head { max-width: 720px; margin-bottom: 12px; }
.v172-section-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--v172-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v172-section-head h3 { margin: 0 0 5px; color: var(--v172-ink); font-size: clamp(18px, 1.8vw, 26px); }
.v172-section-head p { margin: 0; color: var(--v172-muted); font-size: 12px; line-height: 1.55; }

.v172-feature-grid,
.v172-spec-grid,
.v172-policy-grid,
.v172-process-grid { display: grid; gap: 10px; }
.v172-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v172-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v172-policy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v172-process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.v172-feature-grid article,
.v172-spec-grid article,
.v172-policy-grid a,
.v172-process-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e1e8ee;
  border-radius: 11px;
  background: var(--v172-soft);
}
.v172-feature-grid b,
.v172-spec-grid b,
.v172-policy-grid b,
.v172-process-grid b { display: block; margin-bottom: 5px; color: var(--v172-ink); font-size: 12px; }
.v172-feature-grid p,
.v172-spec-grid p,
.v172-policy-grid span,
.v172-process-grid p { margin: 0; color: var(--v172-muted); font-size: 11px; line-height: 1.5; }
.v172-process-grid i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--v172-navy);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.v172-faq details { border-top: 1px solid #e1e8ee; }
.v172-faq details:first-of-type { border-top: 0; }
.v172-faq summary { padding: 11px 0; color: var(--v172-ink); font-size: 12px; font-weight: 800; cursor: pointer; }
.v172-faq p { margin: 0 0 12px; color: var(--v172-muted); font-size: 11px; line-height: 1.55; }

.v172-micro-footer {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: var(--v172-navy);
  color: #fff;
}
.v172-micro-footer h3 { margin: 0 0 6px; font-size: 18px; }
.v172-micro-footer p { margin: 0 0 12px; color: #d9e3ec; font-size: 11px; line-height: 1.55; }
.v172-micro-actions,
.v172-micro-legal { display: flex; flex-wrap: wrap; gap: 8px; }
.v172-micro-actions { margin-bottom: 12px; }
.v172-micro-actions a,
.v172-micro-actions button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: #fff;
  color: var(--v172-navy);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}
.v172-micro-actions a:first-child { background: #1d9b5f; color: #fff; border-color: #1d9b5f; }
.v172-micro-legal a { color: #d9e3ec; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }

body.v172-industry-microsites .seo-footer {
  position: relative !important;
  min-height: 104px !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

@media (max-width: 1180px) and (min-width: 981px) {
  body.v172-industry-microsites .main-workspace {
    grid-template-columns: 170px minmax(0,1fr) 310px !important;
  }
  .v172-policy-grid,
  .v172-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px) {
  html,
  body.v172-industry-microsites {
    width: 100%;
    max-width: 100%;
    overflow-x: clip !important;
  }
  body.v172-industry-microsites .station {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.v172-industry-microsites .main-workspace {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  body.v172-industry-microsites .preview-panel,
  body.v172-industry-microsites .ai-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }
  body.v172-industry-microsites .ai-panel { min-height: 540px !important; }
  body.v172-industry-microsites .panel-route-bar,
  body.v172-industry-microsites .mobile-category-toggle,
  body.v172-industry-microsites .panel-loaded-page,
  body.v172-industry-microsites .panel-loaded-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.v172-industry-microsites strong,
  body.v172-industry-microsites b,
  body.v172-industry-microsites a,
  body.v172-industry-microsites p { overflow-wrap: anywhere; }
  .v172-scroll-note { position: static; }
  .v172-microsite-nav { top: 70px; }
}

@media (max-width: 680px) {
  .v172-feature-grid,
  .v172-spec-grid,
  .v172-policy-grid,
  .v172-process-grid { grid-template-columns: 1fr; }
  .v172-section { padding: 12px; }
  .v172-microsite-nav { margin-inline: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  body.v172-industry-microsites .preview-panel { scroll-behavior: auto; }
}
