:root {
  --bg: #f3f0ea;
  --surface: #fbfaf7;
  --surface-2: #ebe7df;
  --paper: #252b2e;
  --paper-bright: #11171b;
  --muted: #667078;
  --line: #d7d4cd;
  --line-soft: #e6e2da;
  --accent: #a64f3d;
  --accent-strong: #7e382b;
  --accent-soft: #f2e3dc;
  --danger: #b42318;
  --warning: #9a5b14;
  --success: #2f6b4f;
  --shadow: 0 14px 34px rgba(25, 34, 40, .08);
  --radius: 8px;
  --container-max: 1840px;
  --page-gutter: clamp(16px, 1.5vw, 28px);
  --hero-copy-inset: clamp(24px, 2.5vw, 48px);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

body.business-page {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef3f8;
  --paper: #26364a;
  --paper-bright: #10243b;
  --muted: #617083;
  --line: #dbe3eb;
  --line-soft: #e9eef3;
  --accent: #245d8c;
  --accent-strong: #17466d;
  --accent-soft: #eaf2f8;
  --danger: #b42318;
  --warning: #9a5b14;
  --success: #28734b;
  --shadow: 0 12px 28px rgba(24, 53, 82, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
code { font-family: var(--mono); color: var(--accent-strong); }
.container { width: min(var(--container-max), calc(100% - var(--page-gutter) - var(--page-gutter))); margin-inline: auto; }
.muted-copy { color: var(--muted); }
.text-link { color: var(--accent-strong); text-decoration: none; font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Shared shell */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .97);
  border-bottom: 1px solid var(--line);
}
.business-page .site-header { background: rgba(255, 255, 255, .98); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--paper-bright); font-weight: 800; letter-spacing: -.02em; }
.brand-glyph { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); font-size: 0; flex: 0 0 auto; }
.brand small { color: var(--muted); font: 650 10px/1 var(--sans); letter-spacing: .08em; text-transform: none; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 22px 0 20px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 750; letter-spacing: .05em; border-bottom: 2px solid transparent; }
.nav a.active { color: var(--paper-bright); border-color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 42px 0 54px; color: var(--muted); font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.site-footer strong { color: var(--paper-bright); letter-spacing: .02em; }
.business-trial-notice { max-width: 920px; margin: 0 0 24px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.55); color: var(--muted); line-height: 1.8; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--paper-bright); }

.archive-kicker, .archive-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.archive-button, .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--paper-bright);
  color: #fff;
  background: var(--paper-bright);
  text-decoration: none;
  padding: 11px 19px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.archive-button:hover, .primary-btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-1px); }

/* Root portal: editorial/minimal, not dashboard-like */
.portal-hero {
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.portal-hero-grid {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: clamp(500px, 34vw, 640px);
  overflow: hidden;
}
.portal-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(68px, 8vw, 112px) clamp(24px, 3vw, 48px) clamp(68px, 8vw, 112px) var(--hero-copy-inset);
}
.portal-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}
.portal-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}
.portal-hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(243, 240, 234, .90) 0%,
    rgba(243, 240, 234, .84) 46%,
    rgba(243, 240, 234, .67) 74%,
    rgba(243, 240, 234, .55) 100%
  );
}
.portal-hero h1, .bridge-page h1 {
  margin: 18px 0 22px;
  color: var(--paper-bright);
  font-size: clamp(42px, 6.3vw, 76px);
  line-height: 1.16;
  letter-spacing: -.05em;
  font-weight: 760;
}
.portal-hero h1 span { color: var(--muted); font-weight: 560; }
.portal-lead { margin: 0; max-width: 720px; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); line-height: 1.9; }
.portal-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 34px; }

/* Wide desktop: one shared site grid, with the hero copy and media as peer fields. */
@media (min-width: 1100px) {
  .portal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    align-items: stretch;
  }
  .portal-hero-copy {
    grid-column: 1;
  }
  .portal-hero-media {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 100%;
  }
  .portal-hero-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    width: clamp(56px, 6vw, 104px);
    pointer-events: none;
    background: linear-gradient(
      90deg,
      var(--bg) 0%,
      rgba(243, 240, 234, .72) 24%,
      rgba(243, 240, 234, .24) 65%,
      rgba(243, 240, 234, 0) 100%
    );
  }
  .portal-hero-grid::before { display: none; }
  .portal-hero-media img { object-position: 66% 50%; }
  .portal-hero h1 {
    font-size: clamp(48px, 4.25vw, 76px);
    white-space: nowrap;
  }
  .portal-hero .portal-lead { max-width: 650px; }
}
.archive-status { border-top: 1px solid var(--line); }
.archive-status > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.archive-status span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.archive-status strong { color: var(--paper-bright); font-size: 12px; font-weight: 720; letter-spacing: .02em; }
.archive-section { padding: 72px 0 82px; border-bottom: 1px solid var(--line); }
.archive-section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.archive-section-head p { margin: 0 0 7px; color: var(--accent-strong); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.archive-section-head h2, .archive-section-head h1 { margin: 0; color: var(--paper-bright); font-size: clamp(27px, 3.5vw, 38px); line-height: 1.28; letter-spacing: -.035em; }
.archive-section-head > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.section-copy { display: block; max-width: 720px; color: var(--muted); margin-top: 10px; font-size: 14px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.archive-card { position: relative; min-width: 0; display: grid; grid-template-columns: 92px 1fr auto; align-items: stretch; border: 1px solid var(--line); background: rgba(255,255,255,.08); transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.archive-card.is-active { cursor: pointer; }
.archive-card.is-active:hover { background: rgba(255,255,255,.46); border-color: #c9c4bb; transform: translateY(-1px); }
.archive-card-hitarea { position: absolute; inset: 0; z-index: 1; text-decoration: none; }
.archive-card.is-planned { opacity: .48; }
.archive-card-top { display: flex; flex-direction: column; justify-content: space-between; padding: 22px 16px 20px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.archive-card-body { padding: 22px 22px; border-left: 1px solid var(--line); }
.archive-card h2 { margin: 7px 0 9px; color: var(--paper-bright); font-size: 28px; letter-spacing: -.035em; }
.archive-card-body > p:last-child { color: var(--muted); font-size: 14px; margin: 0; }
.archive-card-foot { display: flex; align-items: center; padding: 22px 30px 22px 18px; }
.archive-card-foot a { position: relative; z-index: 2; text-decoration: none; color: var(--accent-strong); font-size: 12px; font-weight: 800; }
.archive-card-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.archive-note-section { background: var(--surface); }
.archive-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 7vw, 94px); align-items: start; }
.archive-note p:first-child { color: var(--accent-strong); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.archive-note h2 { color: var(--paper-bright); margin: 10px 0 0; font-size: 30px; letter-spacing: -.03em; }
.archive-note > p { color: var(--muted); margin: 0; }
.bridge-page { min-height: calc(100vh - 180px); padding: clamp(74px, 12vw, 142px) 0; }
.bridge-page .container { max-width: 860px; }
.bridge-page p { max-width: 720px; color: var(--muted); }
.bridge-page .archive-button { margin-top: 24px; }

/* Business: editorial utility */
.business-subnav { position: sticky; top: 68px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.business-subnav .container { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.business-subnav a { white-space: nowrap; padding: 13px 0 12px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 750; border-bottom: 2px solid transparent; }

.business-hero { padding: 54px 0 48px; border-bottom: 1px solid var(--line); background: #fff; }
.business-hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.trial-scope-badge { display: inline-flex; align-items: stretch; border: 1px solid #c6d5e2; background: #f7fafc; color: var(--accent-strong); font-size: 11px; font-weight: 800; line-height: 1; }
.trial-scope-badge span, .trial-scope-badge strong { display: inline-flex; align-items: center; padding: 8px 10px; }
.trial-scope-badge span { background: var(--accent); color: #fff; letter-spacing: .08em; }
.trial-scope-badge strong { font-weight: 800; }
.business-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .45fr); gap: clamp(30px, 4vw, 64px); align-items: end; }
.business-hero h1 { margin: 0 0 18px; color: var(--paper-bright); font-size: clamp(32px, 2.9vw, 50px); line-height: 1.22; letter-spacing: -.045em; white-space: nowrap; }
.business-hero .portal-lead { color: var(--muted); max-width: 980px; font-size: 15px; line-height: 1.9; }
.business-status { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--surface); }
.business-status > div { display: block; padding: 17px 18px; border: 0; border-bottom: 1px solid var(--line); }
.business-status > div:nth-child(odd) { border-right: 1px solid var(--line); }
.business-status > div:nth-last-child(-n+2) { border-bottom: 0; }
.business-status span { display: block; margin-bottom: 4px; }
.business-status strong { color: var(--paper-bright); font-size: 24px; font-weight: 780; }
.search-shell { display: flex; margin-top: 26px; max-width: 820px; border: 1px solid #cbd6e1; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 18px rgba(24, 53, 82, .05); }
.search-shell input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 14px 16px; background: transparent; color: var(--paper-bright); font-size: 15px; }
.search-shell input::placeholder { color: #8a97a5; }
.search-shell .primary-btn { min-width: 112px; border: 0; border-left: 1px solid #cbd6e1; border-radius: 0; background: var(--accent); }
.search-shell .primary-btn:hover { background: var(--accent-strong); }
.demo-banner { margin-top: 16px; border-left: 3px solid var(--warning); background: #fff8ea; color: #7c4d12; padding: 11px 13px; font-size: 12px; }
.section { padding: 56px 0 80px; }
.business-page .archive-section-head p { color: var(--accent); }
.filters { margin-bottom: 18px; padding: 16px 18px 13px; border: 1px solid var(--line); background: #fff; border-radius: 5px; }
.filter-grid { display: grid; grid-template-columns: minmax(190px, 1.45fr) repeat(6, minmax(112px, 1fr)); gap: 12px; align-items: start; }
.control { display: grid; grid-template-rows: auto 44px; gap: 7px; min-width: 0; align-content: start; }
.control > label:first-child { color: #526274; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.control input, .control select { width: 100%; min-width: 0; height: 44px; min-height: 44px; border: 1px solid #cfd9e3; background: #fff; color: var(--paper-bright); border-radius: 4px; padding: 9px 10px; outline: none; font-size: 13px; }
.control input:focus, .control select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 93, 140, .11); }
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.filter-memory { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.preference-option { display: inline-flex; align-items: center; gap: 7px; color: #66778a; font-size: 11px; font-weight: 650; cursor: pointer; }
.preference-option input { width: 15px; height: 15px; margin: 0; padding: 0; accent-color: var(--accent); }
.filter-reset { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d9b6aa; background: #fbf0ec; color: #874230; border-radius: 3px; padding: 8px 11px; font-size: 11px; font-weight: 800; }
.filter-reset:hover { border-color: #bd7c68; background: #f6e2da; color: #6f3024; }
.utility-btn { border: 1px solid #d0d9e2; background: #fff; color: #526274; border-radius: 3px; padding: 7px 10px; font-size: 11px; font-weight: 750; }
.utility-btn:hover:not(:disabled) { color: var(--accent-strong); border-color: #91abc2; background: #f7fafc; }
.utility-btn:disabled { opacity: .45; cursor: default; }
.result-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 18px 0 12px; color: var(--muted); font-size: 13px; }
.result-meta strong { color: var(--paper-bright); font-size: 15px; }
.result-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.quick-chip { border: 1px solid #d3dce5; background: #fff; color: #4d5d70; padding: 7px 10px; border-radius: 3px; font-size: 12px; font-weight: 700; }
.quick-chip:hover { color: var(--accent-strong); border-color: #8eb0ce; background: #f7fafc; }
.quick-chip.active { color: #fff; border-color: var(--accent); background: var(--accent); }
.personal-tools { min-height: 0; display: flex; justify-content: flex-end; margin: 0 0 12px; }
.personal-tools:has([hidden]) { margin-bottom: 0; }
.hidden-manager { margin: 0 0 20px; border: 1px solid #d7e0e8; background: #fff; }
.hidden-manager-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); color: var(--paper-bright); font-size: 12px; }
.hidden-list { display: grid; }
.hidden-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); color: #536477; font-size: 12px; }
.hidden-item:last-child { border-bottom: 0; }
.hidden-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 3px; background: #fff; display: flex; flex-direction: column; overflow: hidden; cursor: default; transition: border-color .14s ease, background .14s ease; }
.business-page .opportunity-card { --kind-color: #526b81; }
.business-page .opportunity-card.kind-subsidy { --kind-color: #24678f; }
.business-page .opportunity-card.kind-grant { --kind-color: #725f91; }
.business-page .opportunity-card.kind-contest { --kind-color: #985239; }
.business-page .opportunity-card.kind-accelerator { --kind-color: #2f765e; }
.business-page .opportunity-card.kind-support { --kind-color: #76643c; }
.card-hitarea { position: absolute; inset: 0; z-index: 1; text-decoration: none; }
.card a:not(.card-hitarea), .card button { position: relative; z-index: 2; }
.card:hover { border-color: #b6c4d0; background: #fff; }
.card-fileline { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: 10px; font-weight: 700; }
.card-body { padding: 0; flex: 1; display: flex; flex-direction: column; }
.card-identity { padding: 18px 20px 15px; background: #faf9f6; border-bottom: 1px solid #ebe7df; display: flex; flex-direction: column; }
.card-details { padding: 16px 20px 17px; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 14px; }
.card-taxonomy { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.kind-marker { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border: 0; color: var(--kind-color); background: #f0f4f7; font-size: 10px; line-height: 1; font-weight: 840; letter-spacing: .02em; }
.business-page .opportunity-card.kind-subsidy .kind-marker { background: #edf5fa; }
.business-page .opportunity-card.kind-grant .kind-marker { background: #f3f0f7; }
.business-page .opportunity-card.kind-contest .kind-marker { background: #faf0ec; }
.business-page .opportunity-card.kind-accelerator .kind-marker { background: #edf6f2; }
.business-page .opportunity-card.kind-support .kind-marker { background: #f7f4ea; }
.region-marker { display: inline-flex; align-items: center; min-height: 23px; padding: 2px 0 1px; border: 0; border-bottom: 1px solid currentColor; color: #5f7081; background: transparent; font-size: 10px; line-height: 1.2; font-weight: 800; }
.region-marker.is-national { color: #315d7d; }
.region-marker.is-tokyo { color: #7a4937; }
.region-marker.is-local { color: #3e684d; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; border: 1px solid #d9e1e8; color: #556477; padding: 4px 7px; border-radius: 3px; font-size: 11px; font-weight: 750; }
.badge.kind { color: var(--accent-strong); border-color: #bed1e2; background: var(--accent-soft); }
.badge.soon { color: #8a4d07; border-color: #ead3aa; background: #fff8ea; }
.badge.demo { color: #6c737c; background: #f4f5f6; }
.card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.45; color: var(--paper-bright); letter-spacing: -.02em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent-strong); }
.provider-line { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; align-items: baseline; margin-top: auto; margin-bottom: 0; color: var(--muted); font-size: 11px; }
.provider-line > span { color: #7a8794; font-weight: 700; }
.provider-line strong { min-width: 0; color: #516478; font-weight: 680; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #c2ced9; text-underline-offset: 4px; }
.summary { color: #4f6072; font-size: 12.5px; line-height: 1.72; margin: 0 0 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.amount-box { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 11px; align-items: start; margin-top: 2px; padding: 12px 13px; border: 1px solid #dfe7ee; background: #f6f9fb; }
.amount-box span { color: #627386; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.amount-box strong { color: var(--paper-bright); font-size: 12.5px; line-height: 1.6; font-weight: 820; }
.target-fact { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 2px 0; }
.target-fact > span { color: #7a8794; font-size: 10px; font-weight: 800; }
.target-links { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 6px; color: #44586d; font-size: 11px; line-height: 1.55; }
.target-link { appearance: none; border: 0; border-bottom: 1px solid #c7d2dc; border-radius: 0; background: transparent; color: #3e556c; padding: 0 0 1px; font: inherit; text-decoration: none; cursor: pointer; }
.target-link:hover { color: var(--accent-strong); border-bottom-color: var(--accent); }
.target-sep { color: #a4afb9; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.tag { border: 0; text-decoration: none; padding: 4px 6px; border-radius: 2px; background: #f1f4f7; color: #647587; font-size: 10px; cursor: pointer; }
.tag:hover { color: var(--accent-strong); background: var(--accent-soft); }
.card-footer { border-top: 1px solid var(--line-soft); padding: 9px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; }
.card-personal-actions, .card-secondary-actions, .metrics { display: flex; align-items: center; gap: 11px; }
.card-secondary-actions { gap: 14px; }
.card-action, .metric-btn { border: 0; background: transparent; color: #748496; padding: 4px 0; font-size: 10px; font-weight: 760; }
.card-action:hover, .metric-btn:hover { color: var(--accent-strong); }
.card-action.active { color: #8a5b12; }
.metric-btn.liked { color: #9e3156; }
.static-card-footer > span { color: var(--muted); font-size: 10px; }
.detail-link { text-decoration: none; color: var(--accent-strong); font-size: 11px; font-weight: 800; white-space: nowrap; }
.deadline { flex: 0 0 auto; font-size: 11px; font-weight: 780; color: #536477; }
.deadline.urgent { color: var(--danger); }
.icon-btn { border: 1px solid #d6dee7; background: #fff; color: #556477; border-radius: 4px; padding: 7px 9px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; text-decoration: none; }
.icon-btn:hover { border-color: #9eb4c8; color: var(--accent-strong); }
.icon-btn.liked { color: #9e3156; border-color: #e3b8c7; background: #fff6f9; }
.empty { padding: 48px 20px; border: 1px dashed #c9d3dd; background: #fff; text-align: center; color: var(--muted); grid-column: 1 / -1; border-radius: 4px; }
.listing-page .archive-section-head { align-items: start; }

@media (min-width: 761px) {
  .business-page .opportunity-card .card-identity { min-height: 184px; }
  .business-page .opportunity-card .summary { min-height: calc(1.72em * 2); }
}

@media (min-width: 1400px) {
  .business-page .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Business article */
.article-shell { padding: 40px 0 78px; }
.breadcrumb { color: var(--muted); margin-bottom: 18px; font-size: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-strong); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.article-main, .article-aside { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.article-main { padding: clamp(26px, 5vw, 50px); }
.article-aside { padding: 20px; position: sticky; top: 124px; }
.article-main h1 { color: var(--paper-bright); font-size: clamp(28px, 4vw, 44px); line-height: 1.34; margin: 14px 0 12px; letter-spacing: -.035em; }
.article-lead { color: #4e6073; font-size: 16px; line-height: 1.85; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 26px; color: var(--muted); font-size: 12px; }
.notice { background: #f5f8fb; color: #536477; border-left: 3px solid #9eb7cf; padding: 12px 14px; font-size: 12px; }
.article-section { margin-top: 36px; }
.article-section h2 { color: var(--paper-bright); font-size: 20px; margin: 0 0 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.article-section ul { padding-left: 20px; }
.definition-list { display: grid; grid-template-columns: 150px 1fr; margin: 0; border-top: 1px solid var(--line); }
.definition-list dt, .definition-list dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.definition-list dt { color: var(--muted); font-size: 13px; }
.definition-list dd { color: var(--paper-bright); font-weight: 680; }
.cta { display: grid; gap: 9px; margin-top: 17px; }
.cta a { display: block; text-align: center; text-decoration: none; padding: 12px; font-weight: 800; border-radius: 5px; }
.cta .official { background: var(--accent); color: #fff; }
.cta .official:hover { background: var(--accent-strong); }
.cta .apply { color: var(--accent-strong); border: 1px solid #aac2d8; background: var(--accent-soft); }
.aside-block { padding: 13px 0; border-bottom: 1px solid var(--line); }
.aside-label { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.aside-value { margin-top: 5px; color: var(--paper-bright); font-weight: 740; }
.article-actions { display: flex; gap: 8px; margin-top: 15px; }
.article-actions .icon-btn { flex: 1; }
.source-list { font-size: 13px; }
.source-list a { word-break: break-all; color: var(--accent-strong); }

/* Static pages */
.static-page { width: min(860px, calc(100% - var(--page-gutter) - var(--page-gutter))); margin: 0 auto; padding: 68px 0 90px; }
.static-page h1 { color: var(--paper-bright); font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; margin: 12px 0 20px; }
.static-page h2 { color: var(--paper-bright); font-size: 22px; margin: 40px 0 11px; padding-top: 19px; border-top: 1px solid var(--line); }
.static-page p, .static-page li { color: var(--muted); }
.portal-static { min-height: calc(100vh - 180px); }

.policy-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 34px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.policy-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 760; background: #fff; }
.policy-tabs a:hover { color: var(--paper-bright); border-color: #b7b1a8; }
.policy-tabs a[aria-current="page"] { color: #fff; background: var(--paper-bright); border-color: var(--paper-bright); }
.policy-date { margin: -18px 0 24px; color: var(--muted); font-size: 12px; }
.policy-contact { margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.policy-contact a { color: var(--accent-strong); }


/* Hover decoration is mouse-only so browser back/bfcache on touch devices does not leave two active underlines. */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--paper-bright); border-color: var(--accent); }
  .business-subnav a:hover { color: var(--accent-strong); border-color: var(--accent); }
}

@media (max-width: 1000px) {
  .portal-hero-grid, .business-hero-grid, .archive-note, .article-layout { grid-template-columns: 1fr; }
  .archive-status { max-width: 680px; }
  .filter-grid { grid-template-columns: repeat(4, 1fr); }
  .business-hero h1 { white-space: normal; text-wrap: balance; max-width: 19ch; }
  .article-aside { position: static; }
}

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; padding: 13px 0 9px; min-height: 0; }
  .brand small { display: none; }
  .nav { max-width: 62%; gap: 12px; }
  .nav a { font-size: 10px; padding: 7px 0 10px; }
  .business-subnav { top: 57px; }
  .business-subnav .container { gap: 20px; }
  .business-hero { padding-top: 38px; }
  .portal-hero { padding-top: 0; }
  .portal-hero-grid { min-height: 565px; }
  .portal-hero-copy { padding: 52px clamp(22px, 5vw, 30px) 66px; }
  .portal-hero-grid::before {
    background: linear-gradient(
      180deg,
      rgba(243, 240, 234, .76) 0%,
      rgba(243, 240, 234, .68) 58%,
      rgba(243, 240, 234, .57) 100%
    );
  }
  .portal-hero-media img { object-position: 74% 50%; }
  .archive-grid, .card-grid { grid-template-columns: 1fr; }
  .archive-card { grid-template-columns: 72px 1fr; }
  .archive-card-foot { grid-column: 2; padding: 0 28px 20px 22px; }
  .archive-section-head, .result-meta, .footer-grid { display: block; }
  .archive-section-head > span { display: block; margin-top: 10px; }
  .quick-links { justify-content: flex-start; }
  .result-tools { justify-content: flex-start; margin-top: 12px; }
  .filters { padding: 14px; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-foot { align-items: flex-start; }
  .filter-memory { display: grid; gap: 8px; }
  .business-hero-topline { align-items: flex-start; }
  .trial-scope-badge { max-width: 240px; line-height: 1.35; }
  .card-footer { align-items: flex-start; flex-wrap: wrap; }
  .business-status { max-width: 100%; }
  .definition-list { grid-template-columns: 1fr; }
  .definition-list dt { padding-bottom: 2px; border-bottom: 0; }
  .definition-list dd { padding-top: 2px; }
  .footer-links { margin-top: 20px; }
}

@media (max-width: 500px) {
  .filter-grid { grid-template-columns: 1fr; }
  .filter-foot { display: grid; }
  .filter-reset { width: 100%; justify-content: center; }
  .trial-scope-badge { display: grid; grid-template-columns: auto 1fr; width: 100%; max-width: none; }
  .business-hero-topline { display: grid; }
  .portal-hero h1, .bridge-page h1 { font-size: 39px; }
  .business-hero h1 { font-size: 36px; }
  .search-shell { display: grid; }
  .search-shell .primary-btn { border-left: 0; border-top: 1px solid #cbd6e1; }
  .business-status { grid-template-columns: 1fr 1fr; }
  .business-status strong { font-size: 21px; }
  .card-identity { padding: 18px 16px 14px; }
  .card-details { padding: 15px 16px; }
}
