/* Shared article styles migrated from stock-insight. */
:root {
  color-scheme: light;
  --bg: #f4f6f2;
  --paper: #ffffff;
  --ink: #142033;
  --muted: #647084;
  --line: #d9dfd6;
  --accent: #0d6b57;
  --accent-2: #1f4f8f;
  --gold: #b9852c;
  --soft: #e6f1ec;
  --warm: #fff5dc;
  --navy: #101b2f;
  --shadow: 0 24px 70px rgba(20, 32, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 27, 47, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f9faf7 0, var(--bg) 42rem);
  background-size: 44px 44px, auto;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  overflow-x: hidden;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 223, 214, 0.9);
  background: rgba(255, 255, 255, 0.96);
  overflow: visible;
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-links,
.nav-menu-cluster,
.header-quick-links,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  order: 1;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: none;
  gap: 8px;
}

.nav-actions {
  order: 2;
  min-width: 0;
  flex: 1;
  justify-content: flex-end;
  gap: 18px;
}

.nav-menu-cluster {
  order: 3;
  gap: 8px;
}

.header-quick-links {
  gap: 6px;
}

.header-quick-links a {
  padding: 8px 10px;
  border: 1px solid rgba(217, 223, 214, 0.95);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-quick-links a:hover {
  background: var(--soft);
  color: var(--accent);
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: #edf2ed;
  color: var(--ink);
}

.mobile-nav-drawer {
  order: 3;
  display: block;
  position: relative;
  z-index: 23;
}

.mobile-nav-toggle {
  display: flex;
  position: relative;
  z-index: 23;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  box-shadow: 0 10px 28px rgba(20, 32, 51, 0.08);
}

.mobile-nav-toggle::marker {
  content: "";
}

.mobile-nav-toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav-toggle span {
  display: block;
  width: 21px;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobile-nav-drawer[open] .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-nav-drawer[open] .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-drawer[open] .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav-drawer[open]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 21;
  background: rgba(16, 27, 47, 0.22);
}

.mobile-nav-panel {
  position: fixed;
  top: 66px;
  right: 12px;
  z-index: 22;
  width: min(320px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid rgba(217, 223, 214, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.mobile-nav-panel a:hover {
  background: var(--soft);
  color: var(--accent);
}

.site-search {
  width: min(300px, 28vw);
  min-width: 190px;
  position: relative;
  overflow: visible;
}

.site-search-group {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-search-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d3dce8;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.site-search-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-search .gsc-control-cse {
  padding: 0;
  border: 0;
  background: transparent;
}

.site-search table.gsc-search-box {
  margin: 0;
}

.gsc-results-wrapper-visible,
.gsc-resultsbox-visible,
.gsc-resultsRoot,
.gsc-results,
.gsc-expansionArea {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.search-results-page {
  width: min(980px, calc(100% - 32px));
  margin: 4px auto 4px;
}

.search-results-body {
  min-height: 520px;
}

.search-page-form {
  margin-bottom: 20px;
}

.search-page-form .gsc-control-cse {
  padding: 0;
  border: 0;
  background: transparent;
}

.search-page-form table.gsc-search-box {
  margin: 0;
}

.search-page-divider {
  margin: 0 0 24px;
  border: 0;
  border-top: 1px solid var(--line);
}

.search-results-body .gsc-control-cse {
  padding: 0;
  border: 0;
}

.search-page .gsc-modal-background-image,
.search-page .gsc-results-close-btn {
  display: none !important;
}

.search-results-body .gsc-results-wrapper-overlay,
.search-results-body .gsc-results-wrapper-visible,
.search-results-body .gsc-resultsbox-visible {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
  z-index: auto !important;
}

.home-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 34px auto 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 500px);
  gap: 54px;
  align-items: center;
  padding: 36px 0 24px;
}

.hero-copy h1,
.article-hero h1 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p,
.article-hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4c586b;
  font-size: 19px;
  line-height: 1.9;
}

.eyebrow,
.section-label,
.card-kicker,
.ad-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}

.category-pagination-link,
.category-pagination-current {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.category-pagination-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.category-pagination-current {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.category-pagination-ellipsis {
  padding: 0 4px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #b7d4c7;
  border-radius: 999px;
  background: var(--soft);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(16, 27, 47, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics {
  max-width: 760px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metrics div {
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(217, 223, 214, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--navy);
  font-size: 14px;
}

.hero-metrics span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.market-visual {
  position: relative;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 22% 18%, rgba(185, 133, 44, 0.24), transparent 17rem),
    linear-gradient(145deg, #101b2f, #163d35 58%, #102016);
  box-shadow: var(--shadow);
}

.home-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 4px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 8px;
  align-items: start;
}

.home-main {
  grid-column: 1;
  min-width: 0;
}

.home-shell > .sidebar {
  grid-column: 2;
  grid-row: 1;
}

.home-shell .strategy-band,
.home-shell .article-list-section,
.home-shell .learn-blog-section,
.home-shell .home-hero {
  width: auto;
}

.home-shell .strategy-band {
  margin: 28px 0 30px;
}

.home-shell .article-list-section {
  padding-top: 10px;
  padding-bottom: 24px;
}

.home-shell .learn-blog-section {
  margin-bottom: 4px;
}

.home-shell .home-latest-section {
  padding-top: 10px;
  padding-bottom: 24px;
}

.home-shell .home-hero {
  margin: 0 0 18px;
}

.news-list-hero {
  margin: 0 0 24px;
}

.news-list-hero h1 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.news-list-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #4c586b;
  font-size: 17px;
  line-height: 1.8;
}

.top-message-hero {
  min-height: 0;
  grid-template-columns: 1fr;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 245, 242, 0.82), rgba(255, 244, 216, 0.54)),
    #fff;
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.08);
}

.top-message-hero .hero-copy h1 {
  max-width: 720px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.12;
}

.top-message-hero .hero-copy p {
  max-width: 720px;
  color: #1f2e43;
  font-size: 17px;
  font-weight: 720;
  margin-top: 12px;
}

.top-message-hero .hero-actions {
  margin-top: 18px;
}

.home-sidebar {
  margin-top: 0;
}

.home-sidebar .ad-card strong {
  display: block;
  color: var(--navy);
  font-size: 20px;
}

.home-sidebar .ad-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.market-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.market-panel-head strong {
  color: #fff;
  font-size: 14px;
}

.ticker-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, auto 1fr);
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ticker-row strong {
  color: #d7f5e7;
  font-size: 14px;
}

.chart-grid {
  position: absolute;
  inset: 118px 30px 74px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: end;
}

.chart-grid span {
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #d7b266, #1fa37f);
  opacity: 0.92;
}

.chart-line {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 48%;
  height: 3px;
  border-radius: 999px;
  background: #f0c46a;
  transform: rotate(-10deg);
  box-shadow: 0 12px 28px rgba(240, 196, 106, 0.28);
}

.market-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.market-note strong {
  color: #fff;
}

.strategy-band,
.article-list-section,
.learn-blog-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.strategy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(13, 107, 87, 0.08), transparent 55%),
    #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 51, 0.07);
}

.strategy-band h2,
.section-heading h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.18;
  letter-spacing: 0;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.strategy-grid div,
.article-card,
.side-note,
.ad-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.strategy-grid div {
  min-height: 92px;
  padding: 16px;
}

.strategy-grid strong {
  display: block;
  color: var(--gold);
  font-size: 13px;
}

.strategy-grid span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 850;
}

.article-list-section {
  padding: 46px 0 64px;
}

.learn-blog-section {
  padding: 0 0 34px;
}

.learn-blog-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 32, 51, 0.07);
}

.learn-blog-item + .learn-blog-item {
  border-top: 1px solid var(--line);
}

.learn-blog-item a {
  min-height: 92px;
  display: grid;
  grid-template-columns: 104px minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  text-decoration: none;
  transition: background 160ms ease;
}

.learn-blog-item a:hover {
  background: #f7faf6;
}

.learn-blog-item time {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.learn-blog-item .home-latest-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.learn-blog-item .home-article-kind {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #cfe3d9;
  border-radius: 999px;
  background: #f2faf6;
  color: #176c57;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.learn-blog-item span {
  color: var(--navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.5;
}

.learn-blog-item .home-article-title {
  color: var(--navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.5;
}

.learn-blog-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tag-archive {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 54px;
}

.tag-archive .section-heading {
  display: block;
}

.tag-archive h1 {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.16;
}

.tag-archive p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.archive-heading {
  margin-top: 44px;
  padding-top: 8px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.article-card {
  min-height: 360px;
  display: grid;
  grid-template-rows: 190px 1fr;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(20, 32, 51, 0.07);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.article-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: #a8cbbb;
  box-shadow: var(--shadow);
}

.article-card-image,
.article-cover {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--navy);
}

.article-card-image {
  height: 190px;
}

.article-card-copy {
  min-width: 0;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
}

.article-card h3 {
  margin: 18px 0 14px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.article-card p {
  margin: 0;
  color: #596579;
  line-height: 1.85;
}

.read-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 850;
  padding-top: 22px;
}

.article-layout {
  width: min(1180px, calc(100% - 32px));
  margin: 4px auto 4px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 8px;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
}

.kabuyutai-layout {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr);
}

.kabuyutai-layout--with-sidebar {
  width: min(1240px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) 248px;
}

.kabuyutai-hub-layout {
  width: min(1320px, calc(100% - 32px));
}

.kabuyutai-body .learn-blog-list {
  width: 100%;
}

.kabuyutai-hub-body {
  padding-top: 26px;
}

.kabuyutai-hub-hero {
  padding: 20px 30px 22px;
  background:
    linear-gradient(135deg, rgba(231, 245, 242, 0.22), rgba(255, 244, 216, 0.08)),
    #fff;
}

.kabuyutai-hub-hero h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.14;
}

.kabuyutai-hub-hero p {
  max-width: 820px;
  margin-top: 8px;
  color: #4c586b;
  font-size: 15px;
  line-height: 1.6;
}

.kabuyutai-hub-count {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.kabuyutai-hub-count strong {
  color: var(--accent);
  font-size: 15px;
}

.kabuyutai-hub-count span {
  color: #607086;
  font-size: 12px;
}

.kabuyutai-hub-entry-grid a,
.kabuyutai-hub-category-grid a,
.kabuyutai-hub-month-card a,
.kabuyutai-hub-article-list a {
  min-width: 0;
  border: 1px solid rgba(217, 223, 214, 0.96);
  border-radius: 8px;
  background: #fff;
}

.kabuyutai-hub-entry-grid span,
.kabuyutai-hub-category-grid span,
.kabuyutai-hub-article-list span,
.kabuyutai-hub-month-card dt {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.kabuyutai-hub-entry-grid strong,
.kabuyutai-hub-category-grid strong,
.kabuyutai-hub-article-list strong {
  display: block;
  color: var(--navy);
  font-weight: 850;
  line-height: 1.42;
}

.kabuyutai-hub-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.kabuyutai-hub-entry-grid a,
.kabuyutai-hub-category-grid a,
.kabuyutai-hub-article-list a {
  position: relative;
  display: block;
  padding: 14px 34px 14px 14px;
  text-decoration: none;
}

.kabuyutai-hub-entry-grid a {
  min-height: 94px;
  padding: 18px 42px 16px 18px;
}

.kabuyutai-hub-entry-grid strong {
  font-size: 18px;
}

.kabuyutai-hub-entry-grid span {
  margin-top: 8px;
}

.kabuyutai-hub-entry-grid a::after,
.kabuyutai-hub-category-grid a::after,
.kabuyutai-hub-article-list a::after {
  content: "→";
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.kabuyutai-hub-entry-grid a:hover,
.kabuyutai-hub-category-grid a:hover,
.kabuyutai-hub-month-card a:hover,
.kabuyutai-hub-article-list a:hover {
  border-color: rgba(13, 107, 87, 0.34);
  background: #f7faf6;
}

.kabuyutai-hub-section {
  margin-top: 22px;
}

.kabuyutai-hub-section:first-child {
  margin-top: 0;
}

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

.kabuyutai-hub-section-head h2 {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  font-size: 24px;
  line-height: 1.3;
}

.kabuyutai-hub-category-grid,
.kabuyutai-hub-month-grid,
.kabuyutai-hub-article-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kabuyutai-hub-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kabuyutai-hub-category-grid a {
  min-height: 74px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.kabuyutai-hub-category-grid em {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff5dc;
  color: #7a4d10;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.kabuyutai-hub-category-grid strong {
  font-size: 16px;
}

.kabuyutai-hub-category-grid span {
  margin-top: 4px;
}

.kabuyutai-hub-month-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.kabuyutai-hub-month-card a {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.kabuyutai-hub-month-card time {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.kabuyutai-hub-month-card > a > strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 900;
  line-height: 1.18;
}

.kabuyutai-hub-month-card > a > strong span {
  color: #101828;
  font-size: 32px;
  line-height: 0.98;
}

.kabuyutai-hub-month-card > a > strong small {
  margin-top: 0;
  padding-top: 0;
  color: #243047;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.kabuyutai-hub-month-card dl {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
}

.kabuyutai-hub-month-card dl div {
  min-width: 0;
}

.kabuyutai-hub-month-card dd {
  margin: 2px 0 0;
  color: #243047;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.kabuyutai-hub-month-card p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
}

.kabuyutai-hub-month-card p b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.kabuyutai-hub-month-card p span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #eff6f3;
  color: #0f4f49;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}

.kabuyutai-hub-month-card > a > small {
  margin-top: auto;
  padding-top: 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 900;
}

.kabuyutai-hub-article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kabuyutai-hub-article-list strong {
  font-size: 15px;
}

.kabuyutai-hub-article-list span {
  margin-top: 6px;
}

.kabuyutai-month-hero {
  padding: 24px 30px 22px;
  background:
    linear-gradient(135deg, rgba(231, 245, 242, 0.32), rgba(255, 244, 216, 0.16)),
    #fff;
}

.kabuyutai-month-hero h1 {
  max-width: 860px;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.16;
}

.kabuyutai-month-hero p {
  max-width: 860px;
  margin-top: 12px;
  color: #4c586b;
  font-size: 15px;
  line-height: 1.7;
}

.kabuyutai-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
  font-size: 13px;
}

.kabuyutai-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 6px;
  margin: 0 -6px;
  border-radius: 6px;
  color: var(--accent-2);
  text-decoration: none;
}

.kabuyutai-breadcrumb a:hover,
.kabuyutai-breadcrumb a:focus-visible {
  background: var(--soft);
  text-decoration: underline;
}

.kabuyutai-month-summary {
  display: grid;
  grid-template-columns: 140px 160px minmax(0, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.kabuyutai-month-summary div,
.kabuyutai-date-card {
  min-width: 0;
  border: 1px solid rgba(217, 223, 214, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.kabuyutai-month-summary div {
  padding: 10px 12px;
}

.kabuyutai-month-summary span,
.kabuyutai-date-card span,
.kabuyutai-search-field span,
.kabuyutai-filter-panel legend {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.kabuyutai-month-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 850;
  line-height: 1.45;
}

.kabuyutai-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.kabuyutai-date-card {
  padding: 12px 14px;
}

.kabuyutai-date-card strong {
  display: block;
  margin-top: 4px;
  color: #101828;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.kabuyutai-date-card small {
  display: block;
  margin-top: 5px;
  color: #5f6f84;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.kabuyutai-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.kabuyutai-quick-links a,
.kabuyutai-month-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(217, 223, 214, 0.98);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-decoration: none;
}

.kabuyutai-quick-links a:hover,
.kabuyutai-month-nav__link:hover {
  border-color: rgba(13, 107, 87, 0.32);
  background: #f7faf6;
  color: var(--accent);
}

.kabuyutai-month-discovery {
  scroll-margin-top: 92px;
}

.kabuyutai-filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(150px, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.kabuyutai-search-field,
.kabuyutai-filter-panel fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.kabuyutai-search-field input {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.kabuyutai-filter-panel fieldset {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.kabuyutai-filter-panel legend {
  width: 100%;
  margin-bottom: 8px;
}

.kabuyutai-filter-panel label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 8px;
  border: 1px solid rgba(217, 223, 214, 0.98);
  border-radius: 8px;
  background: #fff;
  color: #263449;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.kabuyutai-filter-panel input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--accent);
}

.kabuyutai-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}

.kabuyutai-list-heading h2 {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  font-size: 24px;
}

.kabuyutai-list-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.kabuyutai-filter-empty {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.kabuyutai-month-security-item[hidden] {
  display: none;
}

.kabuyutai-month-security-list .learn-blog-item a {
  grid-template-columns: 92px minmax(0, 0.7fr) minmax(0, 1fr);
}

@media (max-width: 1040px) {
  .kabuyutai-hub-entry-grid,
  .kabuyutai-hub-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kabuyutai-hub-month-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kabuyutai-month-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kabuyutai-month-summary div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .kabuyutai-filter-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .kabuyutai-hub-hero {
    padding: 18px 16px 16px;
  }

  .kabuyutai-hub-hero h1 {
    font-size: 30px;
  }

  .kabuyutai-hub-hero p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.65;
  }

  .kabuyutai-hub-count {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .kabuyutai-hub-entry-grid a {
    min-height: 78px;
    padding: 14px 38px 14px 14px;
  }

  .kabuyutai-hub-body {
    padding-top: 20px;
  }

  .kabuyutai-hub-entry-grid,
  .kabuyutai-hub-article-list {
    grid-template-columns: 1fr;
  }

  .kabuyutai-hub-category-grid,
  .kabuyutai-hub-month-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kabuyutai-hub-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .kabuyutai-hub-month-card a {
    min-height: 164px;
    padding: 11px;
  }

  .kabuyutai-hub-month-card > a > strong span {
    font-size: 28px;
  }

  .kabuyutai-hub-category-grid a {
    min-height: 70px;
  }

  .kabuyutai-month-hero {
    padding: 20px 18px 18px;
  }

  .kabuyutai-month-summary,
  .kabuyutai-date-grid,
  .kabuyutai-filter-panel {
    grid-template-columns: 1fr;
  }

  .kabuyutai-month-summary div:nth-child(3) {
    grid-column: auto;
  }

  .kabuyutai-date-card strong {
    font-size: 20px;
  }

  .kabuyutai-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .kabuyutai-filter-panel fieldset {
    gap: 7px;
  }

  .kabuyutai-month-security-list .learn-blog-item a {
    grid-template-columns: 1fr;
  }
}

.article-shell {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.article-hero {
  padding: 42px 48px 36px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(231, 245, 242, 0.84), rgba(255, 244, 216, 0.58)),
    #fff;
}

.article-hero h1 {
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.18;
}

.article-date {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: right;
}

.article-hero-summary {
  margin-top: 1px;
  padding: 4px;
  border: 1px solid rgba(15, 79, 73, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.article-hero-summary h2,
.article-hero-summary h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.5;
}

.article-hero-summary p,
.article-hero-summary ul,
.article-hero-summary ol {
  max-width: none;
  margin: 10px 0 0;
  color: #324154;
  font-size: 15px;
  line-height: 1.85;
}

.article-hero-summary > :first-child {
  margin-top: 0;
}

.article-hero-summary .inline-svg-block {
  max-width: 100%;
  margin: 28px 0;
}

.article-hero-summary .inline-svg-block svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.kabuyutai-news-related {
  margin-top: 32px;
  padding: 20px;
  border: 1px solid rgba(217, 223, 214, 0.96);
  border-radius: 8px;
  background: #fbfcfd;
}

.kabuyutai-news-related h2 {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.45;
}

.kabuyutai-news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kabuyutai-news-related-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  min-height: 186px;
  padding: 14px;
  border: 1px solid rgba(13, 107, 87, 0.12);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.kabuyutai-news-related-card span,
.kabuyutai-news-related-card em {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.25;
}

.kabuyutai-news-related-card span {
  background: #eff6f3;
  color: #0f4f49;
}

.kabuyutai-news-related-card em {
  background: #fff5dc;
  color: #7a4d10;
}

.kabuyutai-news-related-card strong {
  color: #101828;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.42;
}

.kabuyutai-news-related-card small {
  color: #4c586b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.kabuyutai-news-related-card p {
  margin: 0;
  color: #324154;
  font-size: 13px;
  line-height: 1.6;
}

.kabuyutai-news-related-card:hover {
  border-color: rgba(13, 107, 87, 0.28);
  background: #f7faf6;
}

.article-hero-links {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  max-width: 440px;
}

.article-hero-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 14px 11px 16px;
  border: 1px solid rgba(13, 107, 87, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px rgba(7, 27, 58, 0.05);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.article-hero-link__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.article-hero-link__eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-hero-link__title {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.article-hero-link__meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-hero-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(13, 107, 87, 0.07);
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}

.article-hero-link:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 107, 87, 0.24);
  background: rgba(247, 250, 248, 0.96);
  box-shadow: 0 12px 26px rgba(7, 27, 58, 0.08);
}

.article-hero-link--kabuyutai {
  border-color: rgba(21, 128, 61, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 248, 0.98));
}

.article-hero-link--kabuyutai .article-hero-link__eyebrow,
.article-hero-link--kabuyutai .article-hero-link__icon {
  color: #166534;
}

.article-hero-link--kabuyutai .article-hero-link__icon {
  background: rgba(34, 197, 94, 0.08);
}

.article-hero-link--security {
  border-color: rgba(29, 78, 216, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.98));
}

.article-hero-link--security .article-hero-link__eyebrow,
.article-hero-link--security .article-hero-link__icon {
  color: #1d4ed8;
}

.article-hero-link--security .article-hero-link__icon {
  background: rgba(59, 130, 246, 0.08);
}

@media (max-width: 640px) {
  .article-hero-links {
    max-width: none;
  }

  .kabuyutai-news-related {
    padding: 16px;
  }

  .kabuyutai-news-related-grid {
    grid-template-columns: 1fr;
  }

  .kabuyutai-news-related-card {
    min-height: 0;
  }

  .article-hero-link {
    min-height: 54px;
    padding: 10px 12px 10px 14px;
  }

  .article-hero-link__title {
    font-size: 14px;
  }

  .article-hero-link__meta {
    font-size: 12px;
  }
}

.article-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(15, 79, 73, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #0f4f49;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.article-tag:hover {
  border-color: rgba(15, 79, 73, 0.42);
  background: #fff;
}

.article-tag[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 107, 87, 0.22);
}

.article-cover {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-body {
  min-width: 0;
  padding: 42px 48px 52px;
}

.article-body h1 {
  margin: 42px 0 16px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.32;
  letter-spacing: 0;
}

.article-body h2 {
  margin: 40px 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #101828;
  font-size: 24px;
  line-height: 1.38;
  letter-spacing: 0;
}

.article-body h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.article-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body a:hover {
  color: var(--accent);
}

.article-body .inline-tag-link,
.article-body .inline-security-link {
  display: inline-flex;
  align-items: baseline;
  padding: 0 0.35em;
  border-radius: 999px;
  background: rgba(13, 107, 87, 0.08);
  color: #0f4f49;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.article-body .inline-security-link {
  background: rgba(31, 79, 143, 0.09);
  color: #1f4f8f;
}

.article-body .inline-tag-link:hover,
.article-body .inline-security-link:hover {
  background: rgba(13, 107, 87, 0.14);
  color: var(--accent);
}

.article-body h3 {
  margin: 26px 0 10px;
  color: #243047;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body blockquote {
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #f4f8f7;
  color: #4f5d6f;
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote p + p {
  margin-top: 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.article-body li {
  margin: 8px 0;
  padding-left: 4px;
}

.kabuyutai-daily-card-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.article-body .kabuyutai-daily-card {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.kabuyutai-daily-card-title {
  margin-bottom: 8px;
  font-weight: 850;
}

.article-body .kabuyutai-daily-card-facts {
  margin: 0 0 8px;
  padding-left: 0;
  list-style: none;
}

.article-body .kabuyutai-daily-card-facts li {
  margin: 3px 0;
  padding-left: 0;
}

.kabuyutai-daily-card-facts li::before {
  content: "・";
}

.kabuyutai-daily-card-link {
  margin-top: 6px;
  font-weight: 800;
}

.article-body strong {
  color: #0f4f49;
  font-weight: 850;
}

.article-body hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-body pre {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #1f2a3d;
  border-radius: 8px;
  background: #101827;
  color: #e8eef8;
}

.article-body code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
  color: #111827;
  background: #eef2f7;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  padding: 0.12em 0.36em;
}

.article-body pre code {
  display: block;
  min-width: max-content;
  padding: 18px 20px;
  line-height: 1.7;
  white-space: pre;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.article-body .table-scroll {
  overflow-x: auto;
  margin: 24px 0;
}

.article-body table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: #f3f7f6;
  color: var(--navy);
  font-weight: 800;
}

.article-body tr:nth-child(even) td {
  background: #fbfcfa;
}

.ipo-layout {
  width: min(1440px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) 248px;
}

.ipo-hero {
  padding-bottom: 30px;
}

.ipo-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ipo-page-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(15, 79, 73, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.ipo-body {
  padding-top: 28px;
}

.ipo-summary-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ipo-summary-strip div {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.ipo-summary-strip div:last-child {
  border-right: 0;
}

.ipo-summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.ipo-summary-strip strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.article-body .ipo-table-scroll {
  margin-top: 0;
}

.article-body .ipo-score-table {
  min-width: 980px;
  border-color: rgba(15, 79, 73, 0.28);
  font-size: 14px;
}

.ipo-score-table th {
  border-color: rgba(15, 79, 73, 0.3);
  white-space: nowrap;
}

.ipo-score-table td {
  border-color: rgba(15, 79, 73, 0.24);
  vertical-align: middle;
}

.ipo-score-table .ipo-company-main-row td {
  background: #fff;
  border-bottom: 0;
}

.ipo-score-table .ipo-company-sub-row td {
  padding-top: 0;
  background: #fbfcfa;
  border-top: 0;
}

.ipo-score-table .ipo-company-market-row td {
  border-bottom: 0;
}

.ipo-score-table .ipo-company-industry-row td {
  border-bottom: 2px solid rgba(15, 79, 73, 0.3);
}

.ipo-score-table .ipo-company-main-row:nth-child(6n + 4) td {
  background: #f4faf8;
}

.ipo-score-table .ipo-company-sub-row:nth-child(6n + 5) td,
.ipo-score-table .ipo-company-sub-row:nth-child(6n + 6) td {
  background: #f0f7f4;
}

.ipo-score-table .ipo-company-sub-row:nth-child(6n + 5) .ipo-detail-grid,
.ipo-score-table .ipo-company-sub-row:nth-child(6n + 6) .ipo-detail-grid {
  background: #fbfffd;
}

.ipo-score-table .ipo-company-upcoming td {
  background: #fff7df;
}

.ipo-score-table .ipo-company-upcoming.ipo-company-sub-row td {
  background: #fff3cf;
}

.ipo-score-table .ipo-company-upcoming .ipo-detail-grid {
  border-color: rgba(180, 118, 18, 0.36);
  background: #fffaf0;
}

.ipo-name-cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 850;
}

.ipo-company-upcoming .ipo-name-cell {
  color: #7a4f00;
}

.ipo-upcoming-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border: 1px solid rgba(180, 118, 18, 0.38);
  border-radius: 8px;
  background: #fff0bc;
  color: #7a4f00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.ipo-year-index-body {
  padding-bottom: 34px;
}

.ipo-year-grid {
  display: grid;
  gap: 12px;
}

.ipo-year-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ipo-year-link {
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 79, 73, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}

.ipo-year-link:hover {
  border-color: rgba(15, 79, 73, 0.52);
  background: #f4faf8;
}

.ipo-year-link strong {
  font-size: 20px;
  line-height: 1.1;
}

.ipo-year-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.ipo-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid rgba(15, 79, 73, 0.24);
  border-radius: 8px;
  background: #fff;
}

.ipo-detail-grid div {
  min-width: 0;
  padding: 10px 12px;
  border-right: 1px solid rgba(15, 79, 73, 0.22);
  border-bottom: 1px solid rgba(15, 79, 73, 0.22);
}

.ipo-detail-grid div:nth-child(5n) {
  border-right: 0;
}

.ipo-detail-grid div:nth-last-child(-n + 5) {
  border-bottom: 0;
}

.ipo-detail-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.ipo-detail-grid dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-weight: 850;
}

.ipo-sidebar {
  gap: 14px;
}

.ipo-side-panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
}

.ipo-side-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 15px;
}

.ipo-side-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.ipo-side-panel dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.ipo-side-panel dl div:first-child {
  border-top: 0;
}

.ipo-side-panel dt,
.ipo-side-panel li {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.6;
}

.ipo-side-panel dd {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.ipo-side-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.ipo-score-table td small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.ipo-code-cell a {
  font-weight: 850;
  text-decoration: none;
}

.ipo-market-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 26px;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ipo-market-badge--growth {
  background: #e6f1ec;
  color: #0d6b57;
}

.ipo-market-badge--standard {
  background: #eef2f7;
  color: #1f4f8f;
}

.ipo-score {
  display: grid;
  grid-template-columns: 34px 92px;
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.ipo-score strong {
  color: var(--navy);
  text-align: right;
}

.ipo-score span {
  display: block;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
}

.ipo-score i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #b9852c;
}

.ipo-score--high i {
  background: #0d6b57;
}

.ipo-score--low i {
  background: #9f1239;
}

.ipo-score-missing {
  display: inline-block;
  min-width: 34px;
  color: var(--muted);
  font-weight: 900;
  text-align: right;
}

.math-block {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.5;
}

.math-frac {
  display: inline-grid;
  grid-template-rows: auto auto;
  align-items: center;
  min-width: 2.4em;
  margin: 0 0.2em;
  text-align: center;
  vertical-align: middle;
}

.math-frac span:first-child {
  padding: 0 0.35em 0.12em;
  border-bottom: 1px solid currentColor;
}

.math-frac span:last-child {
  padding: 0.12em 0.35em 0;
}

.article-body img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-body .inline-svg-block {
  max-width: 100%;
  margin: 28px 0;
  overflow-x: auto;
}

.article-body .inline-svg-block svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-history {
  margin: 30px 0 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf8;
}

.article-history h2 {
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--navy);
  font-size: 18px;
}

.article-history ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.article-history li {
  margin: 0;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.article-history li:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-history a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.article-history a:hover {
  text-decoration: underline;
}

.article-history span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.sidebar {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pr-sidebar {
  align-self: start;
}

.ad-card {
  min-height: 286px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
}

.ad-label {
  display: block;
  margin-bottom: 12px;
  color: #7a8496;
}

.rakuten-ad-link {
  display: block;
}

.ad-link-block + .ad-link-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ad-link-block img {
  border: 0;
}

.rakuten-ad-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.adsbygoogle {
  min-height: 250px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(135deg, #f4f7fb 0, #f4f7fb 10px, #edf2f7 10px, #edf2f7 20px);
}

.side-note {
  padding: 18px;
}

.side-note strong {
  display: block;
  margin-top: 8px;
  color: #101828;
}

.side-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.side-note-links {
  display: grid;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.side-note-links li + li {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.side-note-links a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}

.side-note-links a:hover {
  text-decoration: underline;
}

.security-layout .article-shell {
  overflow: visible;
}

.security-directory-layout .article-body {
  display: block;
}

.security-directory-heading {
  align-items: center;
}

.security-sector-grid,
.security-directory-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.security-sector-grid a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(22, 32, 51, 0.05);
  transition: transform 160ms ease, border-color 160ms ease;
}

.security-sector-grid a:hover {
  transform: translateY(-2px);
  border-color: #a8cbbb;
}

.security-sector-grid span,
.security-directory-count,
.security-directory-item small {
  color: var(--muted);
  font-size: 13px;
}

.security-directory-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.security-directory-tools h2 {
  margin: 6px 0 0;
  color: var(--navy);
}

.security-directory-tools label {
  width: min(320px, 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.security-directory-tools input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
}

.security-directory-count {
  margin: 14px 0 10px;
}

.security-directory-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.security-directory-item a {
  min-height: 66px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
}

.security-directory-item a:hover {
  border-color: #a8cbbb;
  background: #f7faf6;
}

.security-directory-item strong {
  grid-row: 1 / 3;
  color: var(--accent);
}

.security-directory-item span,
.security-directory-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-comparison-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.06);
}

.security-comparison-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.security-comparison-heading h2 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.4;
}

.security-comparison-heading > a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.security-comparison-section > p {
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.security-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.security-comparison-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
}

.security-comparison-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.security-comparison-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.security-comparison-card h3 a:hover {
  color: var(--accent);
}

.security-comparison-card nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.security-comparison-card nav a {
  padding: 5px 8px;
  border: 1px solid #cfe3d9;
  border-radius: 999px;
  background: #f2faf6;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.security-data-card,
.security-link-list,
.security-related-sidebar,
.security-body-section,
.category-nav {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.security-data-card {
  padding: 18px;
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
  min-width: 0;
}

.stock-market-data-card {
  border-color: #b9d9cf;
  background: linear-gradient(135deg, #ffffff 0%, #f3faf7 100%);
}

.stock-market-data-note,
.stock-market-data-status {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.stock-market-data-status {
  margin: 10px 0 0;
}

.security-benefit-overview + .security-data-card {
  margin-top: 18px;
}

.security-data-card h2,
.security-link-list h2,
.security-related-sidebar h2,
.security-body-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.category-nav {
  margin: 0 0 22px;
  padding: 16px 18px;
}

.category-nav p {
  margin: 0 0 8px;
}

.category-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-nav__list li {
  margin: 0;
}

.category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #d3dce8;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none !important;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.category-nav__link:hover,
.category-nav__link:focus-visible {
  border-color: var(--accent);
  background: #f1f7ff;
  color: var(--accent-2);
  text-decoration: none !important;
}

.category-nav__link.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none !important;
}

.category-nav__icon {
  font-size: 15px;
  line-height: 1;
}

.kabuyutai-ranking-cards {
  display: grid;
  gap: 14px;
}

.kabuyutai-ranking-article-intro {
  margin: 0 0 22px;
}

.kabuyutai-ranking-article-intro h2 {
  margin-top: 0;
}

.kabuyutai-ranking-article-intro__date {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.kabuyutai-ranking-card {
  display: grid;
  grid-template-columns: minmax(180px, 30%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgb(16 24 40 / 5%);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.kabuyutai-ranking-card:hover,
.kabuyutai-ranking-card:focus-visible {
  transform: translateY(-2px);
  border-color: #a9c7ee;
  box-shadow: 0 8px 22px rgb(16 24 40 / 10%);
}

.kabuyutai-ranking-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  background: #eef3f8;
}

.kabuyutai-ranking-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
}

.kabuyutai-ranking-card__date {
  color: var(--muted);
  font-size: 12px;
}

.kabuyutai-ranking-card__copy strong {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
}

.kabuyutai-ranking-card__copy > span:not(.kabuyutai-ranking-card__more) {
  color: #4c586b;
  line-height: 1.7;
}

.kabuyutai-ranking-card__more {
  margin-top: auto;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
}

.kabuyutai-ranking-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 26px;
  padding: 10px 18px;
  border: 1px solid #cbd7e5;
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.kabuyutai-ranking-back:hover,
.kabuyutai-ranking-back:focus-visible {
  border-color: var(--accent);
  background: #edf5ff;
  color: var(--accent-2);
}

.kabuyutai-genre-list li {
  margin: 0 0 16px;
  line-height: 1.7;
}

.security-body-section h2 {
  margin: 26px 0 10px;
  padding-top: 0;
  border-top: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.45;
}

.security-body-section h2:first-child {
  margin-top: 0;
}

.security-body-section h3 {
  color: #101828;
}

.stock-index-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.stock-index-summary-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(15, 79, 73, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.stock-index-summary-grid span,
.stock-index-card__provider,
.stock-index-card__meta,
.stock-index-card__source,
.stock-index-sector-group header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.stock-index-summary-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.stock-index-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.stock-index-card a {
  display: grid;
  gap: 8px;
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(15, 79, 73, 0.16);
  border-radius: 8px;
  background: #fbfdfc;
  color: inherit;
  text-decoration: none;
}

.stock-index-card a:hover {
  border-color: rgba(15, 79, 73, 0.34);
  background: #f5fbf8;
  text-decoration: none;
}

.stock-index-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.stock-index-card__description {
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

.stock-index-card__source {
  color: var(--accent);
}

.delisting-overview p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.delisting-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

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

.delisting-filter button {
  padding: 8px 11px;
  border: 1px solid rgba(15, 79, 73, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.delisting-filter button.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.delisting-filter button span {
  opacity: 0.75;
}

.delisting-tools label {
  width: min(300px, 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.delisting-tools input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font: inherit;
}

.delisting-result-count {
  margin: 14px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.delisting-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 79, 73, 0.17);
  border-radius: 9px;
  background: #fff;
}

.delisting-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.delisting-table th,
.delisting-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
  font-size: 12px;
  line-height: 1.55;
}

.delisting-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef5f2;
  color: var(--navy);
  font-weight: 850;
  white-space: nowrap;
}

.delisting-table tbody tr:last-child td {
  border-bottom: 0;
}

.delisting-table tbody tr:nth-child(even) {
  background: #f8fbfa;
}

.delisting-table tr[hidden] {
  display: none;
}

.delisting-table td:nth-child(-n + 5) {
  white-space: nowrap;
}

.delisting-table__name {
  min-width: 180px;
  font-weight: 800;
}

.delisting-table__name a {
  color: var(--navy);
  text-decoration: none;
}

.delisting-table__name a:hover {
  color: var(--accent);
}

.delisting-table__reason {
  min-width: 300px;
  color: #334155;
}

.delisting-card-grid {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.delisting-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(15, 79, 73, 0.17);
  border-radius: 9px;
  background: #fbfdfc;
}

.delisting-card[hidden] {
  display: none;
}

.delisting-card > header,
.delisting-card > header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.delisting-card > header {
  align-items: flex-start;
}

.delisting-card__date {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.delisting-status {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e9f5ef;
  color: #176b4d;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.delisting-status.is-scheduled {
  background: #fff0bc;
  color: #7a4f00;
}

.delisting-card__exchange {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.delisting-card h2 {
  margin: 12px 0;
  font-size: 17px;
  line-height: 1.45;
}

.delisting-card h2 a {
  color: var(--navy);
  text-decoration: none;
}

.delisting-card h2 a:hover {
  color: var(--accent);
}

.delisting-card dl,
.delisting-card dl div {
  margin: 0;
}

.delisting-card dl {
  display: grid;
  gap: 8px;
}

.delisting-card dl div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.delisting-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.delisting-card dd {
  min-width: 0;
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .delisting-table-wrap {
    display: none;
  }

  .delisting-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .delisting-tools label,
  .delisting-card-grid {
    width: 100%;
  }

  .delisting-card-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .delisting-card {
    padding: 14px;
  }

  .delisting-card > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .delisting-card__exchange {
    text-align: left;
  }

  .stock-index-summary-grid {
    grid-template-columns: 1fr;
  }

  .stock-index-card-grid {
    grid-template-columns: 1fr;
  }
}

.stock-index-sector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.stock-index-sector-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(15, 79, 73, 0.18);
  border-radius: 999px;
  background: #f8fbfa;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.stock-index-sector-nav a:hover {
  border-color: rgba(15, 79, 73, 0.36);
  background: #eef8f4;
  text-decoration: none;
}

.stock-index-sector-nav span {
  color: var(--muted);
  font-size: 12px;
}

.stock-index-sector-list {
  display: grid;
  gap: 16px;
}

.stock-index-sector-group {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stock-index-sector-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.stock-index-sector-group header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.stock-index-sector-group h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.4;
}

.earnings-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.earnings-highlight-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.earnings-highlight-card span,
.earnings-sub,
.earnings-change {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.earnings-highlight-card strong,
.earnings-main {
  display: block;
  color: #101828;
  font-weight: 800;
  line-height: 1.45;
}

.earnings-highlight-card strong {
  margin-top: 4px;
  font-size: 18px;
}

.earnings-highlight-change,
.earnings-change {
  margin-top: 2px;
  color: #0d6b57;
  font-weight: 800;
}

.earnings-plan-row td {
  background: #eff6ff !important;
}

.earnings-period-main {
  display: block;
  color: #101828;
  font-weight: 800;
}

.earnings-plan-badge {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.earnings-unit-note {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.dividend-page-body {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.dividend-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  min-width: 0;
}

.dividend-summary-card {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
}

.dividend-summary-card--forecast {
  border-color: rgba(245, 158, 11, 0.3);
  background: #fff8eb;
}

.dividend-summary-card--up {
  border-color: rgba(22, 163, 74, 0.28);
  background: #f0fdf4;
}

.dividend-summary-card--down {
  border-color: rgba(220, 38, 38, 0.25);
  background: #fef2f2;
}

.dividend-summary-card span,
.dividend-summary-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.dividend-summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 850;
}

.dividend-summary-card small {
  margin-top: 6px;
}

.dividend-key-points-section p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.dividend-key-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.dividend-key-points div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.dividend-key-points dt {
  color: var(--muted);
  font-size: 16px;
  font-weight: 850;
}

.dividend-key-points dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: keep-all;
}

.dividend-estimate-note {
  margin: 14px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.8;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.dividend-faq-list {
  display: grid;
  gap: 10px;
}

.dividend-faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dividend-faq-list summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.dividend-faq-list p {
  margin: 0;
  padding: 0 14px 14px;
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
}

.dividend-graph-card svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.dividend-table-card--forecast h2 {
  color: #b45309;
}

.dividend-table-desktop {
  display: block !important;
}

.dividend-year-table {
  min-width: 100%;
}

.dividend-year-table td:last-child {
  width: 104px;
}

.dividend-change-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.dividend-change-badge--up {
  border-color: rgba(22, 163, 74, 0.28);
  background: #ecfdf3;
  color: #166534;
}

.dividend-change-badge--flat,
.dividend-change-badge--neutral {
  border-color: rgba(100, 112, 132, 0.2);
  background: #f4f6f8;
  color: #475467;
}

.dividend-change-badge--down {
  border-color: rgba(220, 38, 38, 0.22);
  background: #fef2f2;
  color: #b42318;
}

.dividend-table-mobile {
  display: none !important;
}

.dividend-row-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.dividend-row-card + .dividend-row-card {
  margin-top: 12px;
}

.dividend-row-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dividend-row-card header strong {
  color: var(--navy);
  font-size: 18px;
}

.dividend-row-card dl {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.dividend-row-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.dividend-row-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dividend-row-card dd {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.dividend-history-list {
  display: grid;
  gap: 14px;
}

.dividend-history-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.dividend-history-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dividend-history-meta time {
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.dividend-history-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.dividend-history-item ul {
  margin: 0;
  padding-left: 18px;
}

.dividend-history-item li + li {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .dividend-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .earnings-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dividend-summary-grid {
    grid-template-columns: 1fr;
  }

  .dividend-table-desktop {
    display: none !important;
  }

  .dividend-table-mobile {
    display: block !important;
  }

  .dividend-graph-card svg {
    min-height: 260px;
  }
}

@media (prefers-color-scheme: dark) {
  .dividend-summary-card,
  .dividend-row-card,
  .dividend-history-item,
  .dividend-table-card {
    background: #101827;
  }

  .dividend-summary-card strong,
  .dividend-row-card header strong,
  .dividend-row-card dd,
  .dividend-history-meta time {
    color: #f8fafc;
  }

  .dividend-summary-card span,
  .dividend-summary-card small,
  .dividend-row-card dt {
    color: #cbd5e1;
  }

  .dividend-history-meta span {
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
  }
}

.security-layout .article-body > h2 {
  margin: 26px 0 10px;
  padding-top: 0;
  border-top: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.45;
}

.security-layout .article-body > h3 {
  color: #101828;
}

.security-layout .article-body {
  display: grid;
  gap: 18px;
  background: #f6f8f7;
}

.security-analysis-prelude,
.security-analysis-section {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(15, 79, 73, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(22, 32, 51, 0.06);
}

.security-analysis-section:first-of-type {
  border-color: rgba(13, 107, 87, 0.24);
  background: #f9fcfb;
}

.security-analysis-section > h2 {
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-top: 0;
  border-bottom: 1px solid rgba(15, 79, 73, 0.14);
  color: #101828;
  font-size: 20px;
  line-height: 1.42;
}

.security-analysis-section > p:last-child,
.security-analysis-section > ul:last-child,
.security-analysis-section > ol:last-child,
.security-analysis-section > .table-scroll:last-child,
.security-analysis-section > .inline-svg-block:last-child {
  margin-bottom: 0;
}

.shareholder-section .ai-summary {
  margin: 0 0 12px;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.shareholder-section h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
}

.shareholder-section .table-responsive {
  margin-top: 6px;
  overflow-x: auto;
}

.shareholder-section .stock-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.shareholder-section .stock-table th,
.shareholder-section .stock-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}

.shareholder-section .stock-table th {
  background: #f3f7f6;
  color: #334155;
  font-weight: 800;
}

.shareholder-section .stock-table tbody tr:nth-child(odd) {
  background: #fbfcfd;
}

.shareholder-section .stock-table td:first-child {
  min-width: 220px;
  white-space: normal;
}

.stock-index-membership-section .table-responsive {
  overflow-x: auto;
}

.stock-index-membership-section .stock-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.stock-index-membership-section .stock-table th,
.stock-index-membership-section .stock-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  vertical-align: top;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
}

.stock-index-membership-section .stock-table th {
  background: #f3f7f6;
  color: #334155;
  font-weight: 800;
  white-space: nowrap;
}

.stock-index-membership-section .stock-table tbody tr:nth-child(odd) {
  background: #fbfcfd;
}

.stock-index-membership-section .stock-table td:first-child {
  min-width: 220px;
  font-weight: 800;
}

.stock-index-membership-section .stock-table a {
  color: var(--accent-2);
  text-decoration: none;
}

.stock-index-membership-section .stock-table a:hover {
  text-decoration: underline;
}

.shareholder-section .chg {
  margin-left: 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.shareholder-section .chg.up {
  color: #0d6b57;
}

.shareholder-section .chg.down {
  color: #b42318;
}

.shareholder-section .accordion-wrap {
  margin-top: 12px;
}

.shareholder-section .accordion-toggle {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.shareholder-section .accordion-body {
  margin-top: 10px;
}

.shareholder-section .connected-tab-panels {
  display: block;
  margin: 0;
}

.shareholder-section .connected-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 8px 0 12px;
  background: #eef3f2;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shareholder-section .connected-tab {
  border: 1px solid var(--line);
  border: 0;
  border-right: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  flex: 1 1 auto;
  min-width: 72px;
  text-align: center;
}

.shareholder-section .connected-tab:last-child {
  border-right: 0;
}

.shareholder-section .connected-tab.is-active {
  background: #0f4f49;
  color: #fff;
}

.shareholder-section .connected-tab:focus-visible {
  outline: 2px solid #0f4f49;
  outline-offset: 2px;
}

.shareholder-section .connected-tab-panel[hidden] {
  display: none;
}

.security-analysis-section .table-scroll {
  margin: 16px 0;
}

.security-analysis-section table {
  min-width: 560px;
}

.security-data-row {
  display: grid;
  grid-template-columns: minmax(84px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.security-data-row:first-of-type {
  border-top: 0;
}

.security-data-row span {
  color: var(--muted);
  font-size: 13px;
}

.security-data-row strong {
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.stock-market-data-card [data-stock-market-change].is-up {
  color: #0d6b57;
}

.stock-market-data-card [data-stock-market-change].is-down {
  color: #b42318;
}

.profile-business-overview {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.8;
}

.profile-section-updated {
  margin: -6px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.profile-business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.profile-business-item {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.profile-business-item h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
}

.profile-business-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.profile-segment-note {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.profile-segment-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.profile-segment-list li {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.profile-segment-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.profile-segment-label strong {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.profile-segment-label span {
  color: #0d6b57;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.profile-segment-bar {
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef4;
}

.profile-segment-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1665a8, #0d6b57);
}

.profile-segment-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.profile-segment-table--with-total tbody tr:last-child td {
  border-top-width: 2px;
  background: #f3f7f6;
  color: var(--navy);
  font-weight: 800;
}

.profile-segment-profit-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .profile-segment-table-wrap {
    overflow-x: visible;
  }

  .profile-segment-table-wrap .profile-segment-table,
  .profile-segment-table-wrap .profile-segment-table tbody,
  .profile-segment-table-wrap .profile-segment-table tr,
  .profile-segment-table-wrap .profile-segment-table td {
    display: block;
    width: 100%;
  }

  .profile-segment-table-wrap .profile-segment-table {
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    border: 0;
    background: transparent;
  }

  .profile-segment-table-wrap .profile-segment-table thead {
    display: none;
  }

  .profile-segment-table-wrap .profile-segment-table tr {
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .profile-segment-table-wrap .profile-segment-table--with-total tbody tr:last-child {
    border-width: 2px;
    border-color: rgba(13, 107, 87, 0.3);
  }

  .profile-segment-table-wrap .profile-segment-table td {
    max-width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .profile-segment-table-wrap .profile-segment-table td + td {
    border-top: 1px solid var(--line);
  }

  .profile-segment-table-wrap .profile-segment-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
  }

  .profile-segment-table-wrap .profile-segment-table td::before {
    content: attr(data-label);
  }
}

.security-benefit-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #c43f2f;
  background: #fff7f4;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.kabuyutai-visual-summary {
  margin: 0 0 22px;
}

.kabuyutai-visual-summary svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(23, 33, 47, 0.08);
}

.security-benefit-overview-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.security-benefit-overview-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.security-benefit-overview-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
}

.security-benefit-overview-item ul,
.security-benefit-notes ul {
  margin: 0;
  padding-left: 20px;
}

.security-benefit-overview-item li,
.security-benefit-notes li {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.security-benefit-event-summary {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin: 18px 0 10px;
  padding: 12px 14px;
  border-top: 1px solid #ead8d2;
  border-bottom: 1px solid #ead8d2;
  border-left: 4px solid #c43f2f;
  background: #fffaf7;
  align-items: center;
}

.security-benefit-event-title {
  margin: 20px 0 8px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.4;
}

.security-data-card h2 + .security-benefit-event-title {
  margin-top: 0;
}

.security-benefit-event-summary span {
  color: #5f6f84;
  font-size: 14px;
  font-weight: 700;
}

.security-benefit-event-summary strong {
  color: #a92720;
  font-size: 16px;
  font-weight: 800;
}

.security-benefit-table-wrap {
  margin-top: 10px;
  overflow-x: auto;
}

.security-benefit-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
}

.security-benefit-table thead {
  background: #f3f7f6;
}

.security-benefit-table th,
.security-benefit-table td {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.4;
}

.security-benefit-table th {
  color: #52677c;
  font-weight: 800;
}

.security-benefit-table tbody tr:nth-child(even) {
  background: #fbfcfd;
}

.security-benefit-table td:last-child {
  white-space: pre-line;
}

@media (max-width: 640px) {
  .ipo-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ipo-summary-strip div:nth-child(2) {
    border-right: 0;
  }

  .ipo-summary-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .ipo-summary-strip strong {
    font-size: 20px;
  }

  .security-benefit-table-wrap--mobile-cards {
    overflow-x: visible;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table,
  .security-benefit-table-wrap--mobile-cards .security-benefit-table tbody,
  .security-benefit-table-wrap--mobile-cards .security-benefit-table tr,
  .security-benefit-table-wrap--mobile-cards .security-benefit-table td {
    display: block;
    width: 100%;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table {
    min-width: 0;
    max-width: 100%;
    table-layout: fixed;
    border: 0;
    background: transparent;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table thead {
    display: none;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table tr {
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table td {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-line;
    border: 0;
    padding: 12px 14px;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table td + td {
    border-top: 1px solid var(--line);
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table td:nth-child(1)::before {
    content: "条件";
  }

  .security-benefit-table-wrap--mobile-cards .security-benefit-table td:nth-child(2)::before {
    content: "優待内容";
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table {
    min-width: 0;
    table-layout: auto;
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row {
    margin-bottom: 0;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-detail-row {
    margin-top: -1px;
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row td:nth-child(1)::before {
    content: "優待詳細";
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row td:nth-child(2)::before {
    content: "権利確定";
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row td:nth-child(3)::before {
    content: "必要株数";
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row td:nth-child(4)::before {
    content: "年間価値";
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-detail-row td::before {
    content: "優待内容";
  }
}

.kabuyutai-month-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.kabuyutai-month-nav__link {
  min-height: 36px;
}

.kabuyutai-month-nav__current {
  font-weight: 700;
  color: var(--navy);
}

.kabuyutai-table {
  min-width: 780px;
  table-layout: fixed;
}

.kabuyutai-table thead th:nth-child(1),
.kabuyutai-table .kabuyutai-summary-row td:nth-child(1) {
  width: 58%;
}

.kabuyutai-table thead th:nth-child(2),
.kabuyutai-table .kabuyutai-summary-row td:nth-child(2),
.kabuyutai-table thead th:nth-child(3),
.kabuyutai-table .kabuyutai-summary-row td:nth-child(3),
.kabuyutai-table thead th:nth-child(4),
.kabuyutai-table .kabuyutai-summary-row td:nth-child(4) {
  width: 14%;
}

.kabuyutai-table .kabuyutai-summary-row td {
  background: #fff;
}

.kabuyutai-table .kabuyutai-security-name {
  white-space: normal;
  overflow-wrap: anywhere;
}

.kabuyutai-table .kabuyutai-detail-row td {
  background: #fbfcfd;
}

.kabuyutai-table .kabuyutai-detail-content {
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .security-benefit-table-wrap--mobile-cards .kabuyutai-table {
    min-width: 0;
    table-layout: auto;
  }

  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-summary-row td,
  .security-benefit-table-wrap--mobile-cards .kabuyutai-table .kabuyutai-detail-row td {
    width: 100%;
  }
}

.security-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.security-link-list,
.security-body-section {
  margin-top: 30px;
  padding: 22px;
}

.security-related-sidebar {
  margin: 0;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(22, 32, 51, 0.06);
}

.security-related-sidebar h2 {
  margin-bottom: 10px;
  font-size: 15px;
}

.security-related-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-related-sidebar li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.security-related-sidebar li:first-child {
  border-top: 0;
}

.security-related-sidebar a {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.security-related-sidebar a:hover {
  text-decoration: underline;
}

.security-related-sidebar span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.security-link-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-link-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.security-link-list li:first-child {
  border-top: 0;
}

.security-link-list a {
  color: var(--accent-2);
  font-weight: 800;
  text-decoration: none;
}

.security-link-list a:hover {
  text-decoration: underline;
}

.security-link-list span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.security-meta-block {
  margin-top: 10px;
}

.security-meta-block ul {
  margin: 0 0 10px;
  padding-left: 20px;
}

.security-meta-block li {
  margin: 0 0 6px;
  line-height: 1.45;
  color: var(--muted);
}

.security-last-updated {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.security-note-body {
  padding: 0;
  font-size: 15px;
}

.social-share {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 32, 51, 0.08);
}

.social-share-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 8px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.social-button.facebook {
  background: #1877f2;
}

.social-button.x {
  background: #111827;
}

.social-button.line {
  background: #06c755;
}

.social-button.threads {
  background: #3b3441;
}

.disclaimer {
  margin-top: 38px;
  border-left: 4px solid #d49425;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--warm);
  color: #5f4217;
  font-size: 13px;
  line-height: 1.7;
}

.disclaimer p {
  margin: 0;
}

.disclaimer p + p {
  margin-top: 8px;
}

.contact-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.contact-form-link:hover {
  background: rgba(0, 0, 0, 0.2);
}

.form-wrap {
  margin-top: 18px;
}

.form-wrap iframe {
  width: 100%;
  min-height: 900px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.contact-form-frame {
  width: 100%;
  min-height: 760px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
}

.site-footer-notice {
  max-width: 920px;
  color: #5f4217;
  line-height: 1.7;
}

.site-footer-notice strong {
  display: block;
  margin-bottom: 4px;
  color: #3b2a10;
}

.site-footer-notice p {
  margin: 0;
}

.site-footer-notice p + p {
  margin-top: 6px;
}

.site-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 8px 0;
  }

  .nav-actions {
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .nav-links {
    display: none;
  }

  .site-search-toggle {
    display: inline-flex;
  }

  .site-search-group {
    position: static;
  }

  .site-search {
    display: none;
  }

  .site-header.search-open .site-search {
    display: block;
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    padding: 10px;
    border: 1px solid #d3dce8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(16 24 40 / 16%);
  }

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

  .home-main,
  .home-shell > .sidebar {
    grid-column: auto;
    grid-row: auto;
  }

  .home-hero,
  .strategy-band,
  .learn-blog-item a,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .stock-index-summary-grid {
    grid-template-columns: 1fr;
  }

  .stock-index-sector-group header {
    display: grid;
    gap: 4px;
  }

  .home-shell,
  .nav,
  .home-hero,
  .strategy-band,
  .article-list-section,
  .learn-blog-section,
  .article-layout,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .home-shell {
    margin-top: 4px;
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .brand span {
    display: none;
  }

  .nav-menu-cluster {
    order: 3;
    margin-left: auto;
    gap: 6px;
  }

  .nav-actions {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-search-group {
    position: static;
  }

  .site-search-toggle {
    display: inline-flex;
  }

  .site-header .site-search {
    display: none;
  }

  .site-header.search-open .site-search {
    display: block;
    position: absolute;
    z-index: 30;
    top: calc(100% + 4px);
    right: 12px;
    left: 12px;
    width: auto;
    min-width: 0;
    padding: 10px;
    border: 1px solid #d3dce8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(16 24 40 / 16%);
  }

  .kabuyutai-ranking-card {
    grid-template-columns: 1fr;
  }

  .kabuyutai-ranking-card__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 8;
  }

  .kabuyutai-ranking-card__copy {
    padding: 16px;
  }

  .kabuyutai-ranking-card__copy strong {
    font-size: 17px;
  }

  .category-nav {
    padding: 14px;
  }

  .category-nav__list {
    gap: 7px;
  }

  .category-nav__link {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .header-quick-links a {
    padding: 8px 9px;
    font-size: 12px;
  }

  .mobile-nav-drawer {
    margin-left: 0;
  }

  .search-results-page {
    width: min(100% - 24px, 980px);
    margin-top: 4px;
  }

  .home-hero {
    min-height: 0;
    margin-top: 4px;
    gap: 26px;
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: 50px;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-metrics div {
    min-height: 0;
  }

  .market-visual {
    min-height: 330px;
  }

  .strategy-band,
  .article-hero,
  .article-body {
    padding: 24px;
  }

  .strategy-grid,
  .article-grid,
  .security-sector-grid,
  .security-directory-list {
    grid-template-columns: 1fr;
  }

  .security-directory-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .security-comparison-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-comparison-grid {
    grid-template-columns: 1fr;
  }

  .learn-blog-item a {
    gap: 6px;
    padding: 16px;
  }

  .article-card {
    min-height: 0;
    grid-template-rows: 170px 1fr;
  }

  .article-card-image {
    height: 170px;
  }

  .article-body {
    font-size: 15px;
  }

  .security-layout .article-body {
    gap: 14px;
    padding: 16px;
  }

  .security-analysis-prelude,
  .security-analysis-section {
    padding: 16px;
    box-shadow: 0 8px 18px rgba(22, 32, 51, 0.05);
  }

  .security-analysis-section > h2 {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .security-analysis-section .table-scroll {
    margin: 12px 0;
  }

  .security-analysis-section table {
    min-width: 520px;
    font-size: 13px;
  }

  .security-analysis-section th,
  .security-analysis-section td {
    padding: 10px 11px;
  }

  .ticker-row {
    grid-template-columns: repeat(2, auto 1fr);
  }

  .market-panel-head,
  .market-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}



/* ourGlocal: nationwide rewards discovery, shared by home and local search. */
.portal-nav { gap: 16px; }
.portal-nav .brand { order: 0; }
.portal-nav .brand span { display: inline; }
.portal-nav .portal-nav-links { margin-left: auto; }
.portal-nav .mobile-nav-drawer { flex: 0 0 auto; }
.portal-nav .mobile-nav-panel {
  top: calc(100% + 8px);
  right: 0;
  position: absolute;
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
}
.portal-nav .mobile-nav-toggle:focus-visible,
.portal-nav .mobile-nav-panel a:focus-visible { outline: 3px solid #24967e; outline-offset: 3px; }
body.site-menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-toggle span { transition: none; }
}
.skip-link { position: fixed; top: 0; left: 12px; z-index: 100; transform: translateY(-150%); padding: 8px 14px; background: #fff; color: #173f32; border: 2px solid #0d6b57; border-radius: 0 0 6px 6px; }
.skip-link:focus { transform: translateY(0); }
.portal-nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.portal-nav-links a { text-decoration: none; color: var(--muted); padding: 10px 0; white-space: nowrap; }
.portal-nav-links a:hover { color: var(--accent); }
body.discovery-page { background: #f7faf8; }
.discovery-page [hidden] { display: none !important; }
.discovery-page button, .discovery-page input, .discovery-page select { font: inherit; }
.discovery-page button { cursor: pointer; }
.discovery-page :is(a, button, input, select):focus-visible { outline: 3px solid #24967e; outline-offset: 4px; }
.discovery-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 64px; }
.discovery-eyebrow { display: block; font-size: 11px; letter-spacing: .15em; font-weight: 800; color: var(--accent); }
.discovery-hero h1 { margin: 14px 0 16px; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.35; letter-spacing: -.035em; color: #193d34; font-weight: 800; }
.discovery-intro { margin: 0 0 28px; color: #56685f; font-size: 15px; }
.discovery-form { border: 1px solid #d9e5dd; border-radius: 18px; padding: 28px; background: #fff; box-shadow: 0 6px 24px #173f2c06; }
.discovery-search-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.discovery-search-row { display: flex; gap: 10px; }
.discovery-input-wrap { display: flex; align-items: center; flex: 1; min-width: 0; border: 1px solid #b8ccc0; border-radius: 9px; background: #fcfefd; }
.discovery-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px #0d6b5720; }
.discovery-input-wrap svg { width: 21px; height: 21px; margin-left: 16px; flex: 0 0 auto; fill: none; stroke: #6c8274; stroke-width: 1.7; }
.discovery-input-wrap input { flex: 1; width: 100%; min-width: 0; background: none; border: 0; padding: 14px 12px; color: var(--ink); outline: none; appearance: none; }
.discovery-input-wrap input::-webkit-search-cancel-button { appearance: none; }
.discovery-clear { flex: 0 0 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 25px !important; }
.discovery-submit { border: 0; border-radius: 9px; padding: 12px 28px; background: var(--accent); color: #fff; font-weight: 700 !important; }
.discovery-submit:hover { background: #085441; }
.discovery-filters { display: flex; gap: 28px; align-items: flex-end; margin-top: 22px; }
.discovery-region-label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; flex: 0 0 240px; }
.discovery-page select { border: 1px solid #d3dfd7; border-radius: 8px; background: #fff; padding: 10px 34px 10px 12px; color: #263d31; min-width: 0; max-width: 100%; }
.discovery-page fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.discovery-page legend { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.discovery-audience { display: flex; flex-wrap: wrap; gap: 6px; }
.discovery-audience label { position: relative; display: flex; }
.discovery-audience input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.discovery-audience span { display: block; padding: 10px 15px; background: #f3f6f3; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 700; }
.discovery-audience input:checked + span { border-color: var(--accent); background: #e9f4ed; color: #0d614e; }
.discovery-audience input:focus-visible + span { outline: 3px solid #24967e; outline-offset: 3px; }
.discovery-page .discovery-categories { margin-top: 20px; }
.discovery-categories > div { display: flex; flex-wrap: wrap; gap: 8px; }
.discovery-chip { padding: 8px 13px; border: 1px solid #d8e2db; background: #fff; border-radius: 7px; font-size: 13px !important; line-height: 1.5; color: #53655b; }
.discovery-chip:hover { background: #f3f8f4; }
.discovery-chip[aria-pressed="true"] { background: #173f32; border-color: #173f32; color: #fff; }
.discovery-filter-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #edf1ed; font-size: 12px; color: #5e7065; }
.discovery-filter-footer label { display: flex; align-items: center; gap: 6px; }
.discovery-filter-footer input { accent-color: var(--accent); }
.discovery-reset { background: none; padding: 0; border: 0; text-decoration: underline; color: #536b5c; }
.discovery-conditions-note { margin: 13px 0 36px; color: #677a6c; font-size: 12px; }
.discovery-section { margin-top: 40px; scroll-margin-top: 94px; }
.discovery-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.discovery-section h2 { margin: 4px 0 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.5; }
.discovery-section-note { font-size: 12px; color: #728276; }
.discovery-sort { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #637366; }
.discovery-sort select { font-size: 13px; padding-top: 7px; padding-bottom: 7px; }
.discovery-status { margin: 8px 0 14px; font-size: 13px; color: #617467; }
.discovery-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #dee7df; border-radius: 13px; overflow: hidden; }
.discovery-item + .discovery-item { border-top: 1px solid #e7ede7; }
.discovery-item a { display: block; padding: 22px 26px; text-decoration: none; }
.discovery-item a:hover { background: #f7fbf8; }
.discovery-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; color: #63776a; font-size: 12px; }
.discovery-kind { padding: 2px 8px; border-radius: 4px; background: #edf4ef; color: #30634d; }
.discovery-lottery { padding: 2px 8px; border-radius: 4px; background: #fff4e3; color: #88551b; }
.discovery-item h3 { margin: 8px 0 6px; font-size: 18px; line-height: 1.65; color: #223d30; font-weight: 750; overflow-wrap: anywhere; }
.discovery-item p { margin: 0; font-size: 13px; line-height: 1.8; color: #637168; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.discovery-item-footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 18px; margin-top: 12px; font-size: 11px; color: #78877c; }
.discovery-deadline { color: #946229; overflow-wrap: anywhere; }
.discovery-arrow { margin-left: auto; font-size: 17px; color: #5e7a69; }
.discovery-deadlines .discovery-item a { padding-top: 17px; padding-bottom: 17px; }
.discovery-deadlines .discovery-item h3 { font-size: 16px; }
.discovery-deadlines .discovery-item p { display: none; }
.discovery-empty { padding: 24px; border: 1px dashed #cfded2; border-radius: 10px; background: #fff; color: #667869; font-size: 14px; }
.discovery-more { display: block; width: min(320px, 100%); margin: 24px auto 0; padding: 13px 22px; border: 1px solid #b5c9bb; border-radius: 8px; background: #fff; color: #24563f; font-size: 14px !important; font-weight: 700 !important; }
.discovery-more:hover { background: #eef6f0; }
.discovery-all-link { text-align: center; font-size: 13px; margin: 24px 0 0; color: #476a54; }
.discovery-stock-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #d8e3da; margin-top: 52px; padding-top: 30px; }
.discovery-stock-link h2 { font-size: 16px; margin: 4px 0; }
.discovery-stock-link p { font-size: 12px; margin: 0; color: #6e7d72; }
.discovery-stock-link > a { flex-shrink: 0; font-size: 13px; color: #325c45; }
@media (max-width: 680px) {
  .portal-nav { min-height: 64px; }
  .portal-nav-links { gap: 15px; font-size: 12px; }
  .portal-nav .brand { font-size: 16px; gap: 7px; }
  .portal-nav .brand-mark { width: 30px; height: 30px; }
  .discovery-shell { width: calc(100% - 32px); padding-top: 30px; padding-bottom: 38px; }
  .discovery-hero h1 { font-size: 33px; margin-top: 12px; }
  .discovery-intro { font-size: 13px; margin-bottom: 22px; }
  .discovery-desktop-break { display: none; }
  .discovery-form { padding: 18px; border-radius: 13px; }
  .discovery-submit { padding-left: 19px; padding-right: 19px; font-size: 14px !important; }
  .discovery-input-wrap input { padding: 13px 8px; font-size: 16px; }
  .discovery-input-wrap svg { margin-left: 11px; width: 18px; height: 18px; }
  .discovery-filters { display: grid; gap: 16px; margin-top: 17px; }
  .discovery-region-label { font-size: 12px; }
  .discovery-audience { gap: 5px; }
  .discovery-audience span { padding: 9px 10px; font-size: 12px; }
  .discovery-categories > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .discovery-chip { padding: 9px 6px; font-size: 11px !important; }
  .discovery-filter-footer { font-size: 11px; flex-wrap: wrap; }
  .discovery-conditions-note { font-size: 11px; margin-bottom: 28px; }
  .discovery-section { margin-top: 28px; scroll-margin-top: 78px; }
  .discovery-section h2 { font-size: 21px; }
  .discovery-section-heading { gap: 12px; }
  .discovery-section-note { max-width: 100px; text-align: right; font-size: 10px; }
  .discovery-sort { font-size: 0; }
  .discovery-sort select { font-size: 12px; padding-right: 24px; }
  .discovery-item a { padding: 18px; }
  .discovery-item h3 { font-size: 16px; }
  .discovery-meta { font-size: 10px; gap: 5px 9px; }
  .discovery-item p { font-size: 12px; }
  .discovery-item-footer { font-size: 10px; gap: 5px 12px; }
  .discovery-stock-link { align-items: flex-start; flex-direction: column; gap: 14px; }
}
/* Shared right sidebar: home, search, articles, archives and policy pages. */
.discovery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  align-items: start;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.discovery-layout > .discovery-shell { min-width: 0; width: 100%; padding-top: 40px; }
.discovery-layout > .sidebar { margin-top: 40px; }
.discovery-layout .discovery-filters { flex-wrap: wrap; }
.sidebar { top: 88px; gap: 16px; }
.sidebar [hidden] { display: none !important; }
.sidebar-navigation { display: grid; padding: 18px; }
.sidebar-navigation h2 { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.sidebar-navigation a { padding: 10px 0; color: var(--accent); font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.sidebar-navigation a + a { border-top: 1px solid #edf1ed; }
.sidebar-navigation a:hover { text-decoration: underline; }
.sidebar a:focus-visible { outline: 3px solid #24967e; outline-offset: 3px; }
.sidebar-share h2 { margin: 0; font-size: 12px; }
.sidebar-share .social-button { min-height: 44px; }
.sidebar-share .social-button:hover { filter: brightness(.92); }
.sidebar-pr-card { min-height: 0; overflow-wrap: anywhere; }
.sidebar-pr-card .ad-label { margin: 0 0 16px; font-size: 12px; font-weight: 700; }
.sidebar-ad-kind { margin-right: 4px; }
.sidebar-pr-card a { font-size: 14px; line-height: 1.8; }
.sidebar-pr-card img { display: block; max-width: 100%; height: auto; margin-top: 12px; }
@media (max-width: 1000px) {
  .discovery-layout, .home-shell, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .home-main, .home-shell > .sidebar { grid-column: auto; grid-row: auto; }
  .sidebar { position: static; }
  .discovery-layout { gap: 0; }
  .discovery-layout > .discovery-shell { padding-top: 30px; padding-bottom: 32px; }
  .discovery-layout > .sidebar { margin-top: 0; margin-bottom: 40px; }
}
@media (max-width: 400px) {
  .portal-nav { gap: 8px; }
  .portal-nav .brand { font-size: 14px; gap: 6px; }
  .portal-nav-links { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
