@import url('/assets/public-boss-classic-stage3.css');
:root[data-theme-preset="public-boss-classic"],
body[data-theme-preset="public-boss-classic"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --bg-soft: #eef5f1;
  --bg-blue: #eef4ff;
  --panel: #ffffff;
  --panel-soft: #f9fbff;
  --text: #11203a;
  --muted: #5f6d84;
  --line: rgba(17, 32, 58, 0.10);
  --line-strong: rgba(17, 32, 58, 0.14);
  --brand: #25b267;
  --brand-strong: #149255;
  --accent: #2f6fff;
  --accent-soft: rgba(47, 111, 255, 0.12);
  --shadow: 0 18px 48px rgba(17, 32, 58, 0.08);
  --shadow-soft: 0 10px 28px rgba(17, 32, 58, 0.05);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1220px;
}

body[data-theme-preset="public-boss-classic"] {
  background: linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  color: var(--text);
}

html[data-theme-preset="public-boss-classic"] .container,
body[data-theme-preset="public-boss-classic"] .container {
  width: min(var(--max), calc(100% - 48px));
}

body[data-theme-preset="public-boss-classic"] .site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 32, 58, 0.06);
  box-shadow: 0 12px 32px rgba(17, 32, 58, 0.04);
}

body[data-theme-preset="public-boss-classic"] .site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
}

body[data-theme-preset="public-boss-classic"] .brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

body[data-theme-preset="public-boss-classic"] .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #7ce0ae);
  box-shadow: 0 16px 32px rgba(37,178,103,.22);
  position: relative;
  flex: 0 0 auto;
}
body[data-theme-preset="public-boss-classic"] .brand-mark::before,
body[data-theme-preset="public-boss-classic"] .brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255,255,255,.96);
  border-radius: 8px;
}
body[data-theme-preset="public-boss-classic"] .brand-mark::before { inset: 9px 15px 9px 9px; }
body[data-theme-preset="public-boss-classic"] .brand-mark::after { inset: 9px 9px 9px 15px; }
body[data-theme-preset="public-boss-classic"] .brand-copy { display: grid; gap: 3px; min-width: 0; }
body[data-theme-preset="public-boss-classic"] .brand-copy strong { font-size: 1.06rem; line-height: 1; }
body[data-theme-preset="public-boss-classic"] .brand-copy em { font-style: normal; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 280px; }

body[data-theme-preset="public-boss-classic"] .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
body[data-theme-preset="public-boss-classic"] .main-nav a,
body[data-theme-preset="public-boss-classic"] .header-actions .lang-pill,
body[data-theme-preset="public-boss-classic"] .header-actions .btn {
  min-height: 46px;
  border-radius: 999px;
}
body[data-theme-preset="public-boss-classic"] .main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 650;
  font-size: .95rem;
  transition: all .18s ease;
}
body[data-theme-preset="public-boss-classic"] .main-nav a:hover {
  color: var(--text);
  background: #eef4f0;
  border-color: rgba(17,32,58,.08);
}

body[data-theme-preset="public-boss-classic"] .header-actions { display: flex; align-items: center; gap: 10px; }
body[data-theme-preset="public-boss-classic"] .lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-weight: 650;
  font-size: .92rem;
}
body[data-theme-preset="public-boss-classic"] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease;
}
body[data-theme-preset="public-boss-classic"] .btn:hover { transform: translateY(-1px); }
body[data-theme-preset="public-boss-classic"] .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(37,178,103,.20);
}
body[data-theme-preset="public-boss-classic"] .btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text);
}

body[data-theme-preset="public-boss-classic"] .mega-menu-wrap { padding: 0 0 18px; }
body[data-theme-preset="public-boss-classic"] .menu-card,
body[data-theme-preset="public-boss-classic"] .support-link-card,
body[data-theme-preset="public-boss-classic"] .menu-meta-grid a {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border: 1px solid rgba(17,32,58,.08);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .menu-meta-grid span,
body[data-theme-preset="public-boss-classic"] .menu-card .muted,
body[data-theme-preset="public-boss-classic"] .menu-support-links .muted,
body[data-theme-preset="public-boss-classic"] .status-chip--planned { color: var(--muted); }
body[data-theme-preset="public-boss-classic"] .status-chip--live { background: rgba(37,178,103,.12); color: var(--brand-strong); }
body[data-theme-preset="public-boss-classic"] .status-chip--planned { background: rgba(47,111,255,.10); color: var(--accent); }

body[data-theme-preset="public-boss-classic"] .surface { color: var(--text); }
body[data-theme-preset="public-boss-classic"] .hero {
  padding: 0;
  background: transparent;
}
body[data-theme-preset="public-boss-classic"] .hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  padding: 62px;
  background: linear-gradient(135deg, #eef7f1 0%, #f3f8ff 52%, #fbfdff 100%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}
body[data-theme-preset="public-boss-classic"] .hero-shell::before {
  content: "";
  position: absolute;
  inset: auto -120px -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,111,255,.12) 0%, rgba(47,111,255,0) 70%);
  pointer-events: none;
}
body[data-theme-preset="public-boss-classic"] .hero-split { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: 38px; align-items: center; }
body[data-theme-preset="public-boss-classic"] .hero-center { text-align: center; }
body[data-theme-preset="public-boss-classic"] .hero-copy { max-width: 720px; position: relative; z-index: 1; }
body[data-theme-preset="public-boss-classic"] .hero-copy-center { margin: 0 auto; }
body[data-theme-preset="public-boss-classic"] .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,32,58,.08);
  font-size: .82rem;
  font-weight: 750;
  color: var(--brand-strong);
  letter-spacing: .02em;
}
body[data-theme-preset="public-boss-classic"] .hero h1,
body[data-theme-preset="public-boss-classic"] .hero-shell h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.65rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .hero-copy-center h1 { margin-inline: auto; max-width: 13ch; }
body[data-theme-preset="public-boss-classic"] .hero-text,
body[data-theme-preset="public-boss-classic"] .hero-shell p {
  margin: 0;
  max-width: 640px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--muted);
}
body[data-theme-preset="public-boss-classic"] .hero-copy-center .hero-text { margin-inline: auto; }
body[data-theme-preset="public-boss-classic"] .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
body[data-theme-preset="public-boss-classic"] .hero-actions-center { justify-content: center; }
body[data-theme-preset="public-boss-classic"] .hero-chip-row,
body[data-theme-preset="public-boss-classic"] .chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
body[data-theme-preset="public-boss-classic"] .soft-chip,
body[data-theme-preset="public-boss-classic"] .pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(17,32,58,.08);
  color: var(--accent);
}
body[data-theme-preset="public-boss-classic"] .hero-visual {
  position: relative;
  z-index: 1;
  border-radius: 30px;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.94));
  border: 1px solid rgba(17,32,58,.08);
  box-shadow: 0 24px 52px rgba(17,32,58,.09);
}

body[data-theme-preset="public-boss-classic"] .section,
body[data-theme-preset="public-boss-classic"] .section-block,
body[data-theme-preset="public-boss-classic"] .surface-panel,
body[data-theme-preset="public-boss-classic"] .card,
body[data-theme-preset="public-boss-classic"] .cta-box,
body[data-theme-preset="public-boss-classic"] .ad-slot {
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  border: 1px solid rgba(17,32,58,.08);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .section-block { padding: 44px; border-radius: 34px; }
body[data-theme-preset="public-boss-classic"] .card,
body[data-theme-preset="public-boss-classic"] .surface-panel { padding: 28px; }
body[data-theme-preset="public-boss-classic"] .ad-slot { background: linear-gradient(135deg, #edf7f1, #eef4ff); border-style: solid; }
body[data-theme-preset="public-boss-classic"] .cta-box {
  background: linear-gradient(135deg, #edf7f1, #eef4ff);
}
body[data-theme-preset="public-boss-classic"] .section h2,
body[data-theme-preset="public-boss-classic"] .section-block h2,
body[data-theme-preset="public-boss-classic"] .section-head h2,
body[data-theme-preset="public-boss-classic"] .cta-box h2 {
  color: var(--text);
  letter-spacing: -0.045em;
}
body[data-theme-preset="public-boss-classic"] .section-kicker,
body[data-theme-preset="public-boss-classic"] .pill { color: var(--brand-strong); }
body[data-theme-preset="public-boss-classic"] .breadcrumbs {
  display: flex;
  gap: 8px;
  padding: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
}
body[data-theme-preset="public-boss-classic"] .link-list li,
body[data-theme-preset="public-boss-classic"] .meta-row { border-top-color: rgba(17,32,58,.08); }
body[data-theme-preset="public-boss-classic"] .step-card { background: #f7fbff; border: 1px solid rgba(17,32,58,.08); }

body[data-theme-preset="public-boss-classic"] .site-footer {
  background: transparent;
  border: 0;
  padding-bottom: 40px;
}
body[data-theme-preset="public-boss-classic"] .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px,1.2fr) repeat(3,minmax(160px,.8fr));
  gap: 22px;
  padding: 34px 0 0;
}
body[data-theme-preset="public-boss-classic"] .footer-branding,
body[data-theme-preset="public-boss-classic"] .footer-block {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  border: 1px solid rgba(17,32,58,.08);
  box-shadow: var(--shadow-soft);
}
body[data-theme-preset="public-boss-classic"] .footer-block h3 { margin: 0 0 12px; font-size: 1rem; }
body[data-theme-preset="public-boss-classic"] .footer-links { display: grid; gap: 10px; }
body[data-theme-preset="public-boss-classic"] .footer-links a { color: var(--muted); font-weight: 650; }
body[data-theme-preset="public-boss-classic"] .footer-links a:hover { color: var(--text); }

@media (max-width: 1100px) {
  body[data-theme-preset="public-boss-classic"] .site-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
    padding: 18px 0;
  }
  body[data-theme-preset="public-boss-classic"] .main-nav,
  body[data-theme-preset="public-boss-classic"] .header-actions { justify-content: flex-start; flex-wrap: wrap; }
  body[data-theme-preset="public-boss-classic"] .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body[data-theme-preset="public-boss-classic"] .hero-shell { padding: 44px 28px; }
  body[data-theme-preset="public-boss-classic"] .hero-split { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body[data-theme-preset="public-boss-classic"] .container { width: min(var(--max), calc(100% - 28px)); }
  body[data-theme-preset="public-boss-classic"] .footer-grid { grid-template-columns: 1fr; }
  body[data-theme-preset="public-boss-classic"] .section-block { padding: 28px 22px; }
}


/* stage2 sample page shell refinements live in deploy asset until full template rollout */


/* stageP visual unification: actual page-family rhythm */
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] {
  display: grid;
  gap: 26px;
  padding-bottom: 54px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .container {
  position: relative;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="home"] .hero-shell {
  padding-top: 70px;
  padding-bottom: 68px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="core-tool"] .hero-shell,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="tool"] .hero-shell,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="problem"] .hero-shell {
  padding-top: 56px;
  padding-bottom: 52px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="guide"] .hero-shell,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog"] .hero-shell {
  padding-top: 48px;
  padding-bottom: 44px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .hero-shell,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .hero-shell,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .hero-shell {
  padding-top: 52px;
  padding-bottom: 48px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="core-tool"] .section,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="tool"] .section,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="problem"] .section {
  margin-top: 22px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="guide"] .section,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog"] .section {
  margin-top: 18px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .section,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .section,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .section {
  margin-top: 20px;
}
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-section-shell-v2"] > .surface-panel,
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-action-panel-v2"],
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-cta-shell-v2"],
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-issue-shell-v2"] {
  border-radius: 28px;
  box-shadow: 0 20px 52px rgba(17,32,58,.07);
}
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-card-shell-v2"] {
  gap: 18px;
}
body[data-theme-preset="public-boss-classic"] [data-theme-shell="boss-compact-card-shell-v2"] {
  min-height: 100%;
  display: grid;
  gap: 14px;
  align-content: start;
}
body[data-theme-preset="public-boss-classic"] .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 24px;
  align-items: start;
}
body[data-theme-preset="public-boss-classic"] .article-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 112px;
}
body[data-theme-preset="public-boss-classic"] .article-prose {
  line-height: 1.88;
}
body[data-theme-preset="public-boss-classic"] .article-prose h2,
body[data-theme-preset="public-boss-classic"] .article-prose h3 {
  scroll-margin-top: 120px;
}
body[data-theme-preset="public-boss-classic"] .cta-box {
  padding: 34px 36px;
  display: grid;
  gap: 14px;
}
body[data-theme-preset="public-boss-classic"] .cta-box .nav-links {
  margin-top: 2px;
}
body[data-theme-preset="public-boss-classic"] .link-list li {
  padding-block: 16px;
}
body[data-theme-preset="public-boss-classic"] .link-list li:first-child {
  padding-top: 0;
}
body[data-theme-preset="public-boss-classic"] .surface-panel > h2,
body[data-theme-preset="public-boss-classic"] .cta-box > h2 {
  margin-bottom: 10px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .card-grid.wide-grid,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .card-grid.wide-grid,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .card-grid.wide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1080px) {
  body[data-theme-preset="public-boss-classic"] .article-layout {
    grid-template-columns: 1fr;
  }
  body[data-theme-preset="public-boss-classic"] .article-sidebar {
    position: static;
  }
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .card-grid.wide-grid,
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .card-grid.wide-grid,
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .card-grid.wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  body[data-theme-preset="public-boss-classic"] .hero-shell { padding-inline: 24px; }
  body[data-theme-preset="public-boss-classic"] .cta-box { padding: 24px 22px; }
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .card-grid.wide-grid,
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .card-grid.wide-grid,
  body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .card-grid.wide-grid {
    grid-template-columns: 1fr;
  }
}

/* stageQ visual refinement: stronger family-level polish on real deploy surfaces */
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] {
  gap: 30px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .card,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .ad-slot,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .section-block {
  position: relative;
  overflow: hidden;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .surface-panel::before,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .cta-box::before,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .section-block::before,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .ad-slot::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37,178,103,.96), rgba(47,111,255,.86));
  opacity: .9;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .surface-panel > *,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .cta-box > *,
body[data-theme-preset="public-boss-classic"] main[data-theme-master-shell="public-master-shell-v1"] .section-block > * {
  position: relative;
  z-index: 1;
}
body[data-theme-preset="public-boss-classic"] .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
body[data-theme-preset="public-boss-classic"] .section-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}
body[data-theme-preset="public-boss-classic"] .section-copy > p,
body[data-theme-preset="public-boss-classic"] .section-copy > .muted,
body[data-theme-preset="public-boss-classic"] .section-head p,
body[data-theme-preset="public-boss-classic"] .section-head .muted {
  margin: 0;
  font-size: 1rem;
  line-height: 1.82;
}
body[data-theme-preset="public-boss-classic"] .surface-panel--structured,
body[data-theme-preset="public-boss-classic"] .surface-panel--faq,
body[data-theme-preset="public-boss-classic"] .surface-panel--related,
body[data-theme-preset="public-boss-classic"] .surface-panel--steps,
body[data-theme-preset="public-boss-classic"] .surface-panel--action {
  padding: 32px 34px;
}
body[data-theme-preset="public-boss-classic"] .section-grid {
  align-items: stretch;
}
body[data-theme-preset="public-boss-classic"] .compact-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}
body[data-theme-preset="public-boss-classic"] .compact-card .card-copy {
  display: grid;
  gap: 10px;
}
body[data-theme-preset="public-boss-classic"] .compact-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.35;
}
body[data-theme-preset="public-boss-classic"] .compact-card p {
  margin: 0;
  line-height: 1.74;
}
body[data-theme-preset="public-boss-classic"] .compact-card a,
body[data-theme-preset="public-boss-classic"] .issue-actions a,
body[data-theme-preset="public-boss-classic"] .link-list a {
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}
body[data-theme-preset="public-boss-classic"] .compact-card > a,
body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel a,
body[data-theme-preset="public-boss-classic"] .issue-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(17,32,58,.10);
  background: rgba(255,255,255,.86);
  font-weight: 700;
}
body[data-theme-preset="public-boss-classic"] .compact-card > a:hover,
body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel a:hover,
body[data-theme-preset="public-boss-classic"] .issue-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(47,111,255,.22);
  color: var(--accent);
}
body[data-theme-preset="public-boss-classic"] .link-list {
  display: grid;
  gap: 0;
}
body[data-theme-preset="public-boss-classic"] .link-list li {
  display: grid;
  gap: 8px;
}
body[data-theme-preset="public-boss-classic"] .link-list strong {
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
body[data-theme-preset="public-boss-classic"] .nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(17,32,58,.10);
  background: rgba(255,255,255,.92);
  color: var(--text);
  font-weight: 700;
}
body[data-theme-preset="public-boss-classic"] .nav-links a.pill,
body[data-theme-preset="public-boss-classic"] .cta-box .nav-links a:first-child,
body[data-theme-preset="public-boss-classic"] .surface-panel--action .nav-links a:first-child {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(37,178,103,.18);
}
body[data-theme-preset="public-boss-classic"] .nav-links a:hover {
  transform: translateY(-1px);
}
body[data-theme-preset="public-boss-classic"] .steps-list {
  display: grid;
  gap: 14px;
  counter-reset: boss-step;
}
body[data-theme-preset="public-boss-classic"] .step-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 20px 22px 18px 70px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}
body[data-theme-preset="public-boss-classic"] .step-card::before {
  counter-increment: boss-step;
  content: counter(boss-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent);
  background: rgba(47,111,255,.10);
  border: 1px solid rgba(47,111,255,.14);
}
body[data-theme-preset="public-boss-classic"] .issue-protocol-panel .card-grid {
  gap: 18px;
}
body[data-theme-preset="public-boss-classic"] .issue-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid rgba(17,32,58,.08);
}
body[data-theme-preset="public-boss-classic"] .issue-card p {
  margin: 0;
  line-height: 1.74;
  color: var(--muted);
}
body[data-theme-preset="public-boss-classic"] .issue-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body[data-theme-preset="public-boss-classic"] .article-layout {
  margin-top: 4px;
}
body[data-theme-preset="public-boss-classic"] .article-prose {
  padding: 34px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
body[data-theme-preset="public-boss-classic"] .article-prose h2,
body[data-theme-preset="public-boss-classic"] .article-prose h3,
body[data-theme-preset="public-boss-classic"] .article-prose h4 {
  color: var(--text);
  letter-spacing: -0.03em;
}
body[data-theme-preset="public-boss-classic"] .article-prose p,
body[data-theme-preset="public-boss-classic"] .article-prose li {
  color: var(--muted);
}
body[data-theme-preset="public-boss-classic"] .article-sidebar {
  gap: 20px;
}
body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel {
  padding: 26px 26px 24px;
}
body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel h2 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}
body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel .link-list {
  margin-top: 4px;
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="home"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="home"] .cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="core-tool"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="tool"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="problem"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="core-tool"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="tool"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="problem"] .cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="guide"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="guide"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog"] .cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .surface-panel,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .cta-box,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .cta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="hub"] .card-grid.wide-grid,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="blog-hub"] .card-grid.wide-grid,
body[data-theme-preset="public-boss-classic"] main[data-theme-page-type="category"] .card-grid.wide-grid {
  gap: 18px;
}
body[data-theme-preset="public-boss-classic"] .site-footer {
  padding-top: 6px;
}
body[data-theme-preset="public-boss-classic"] .footer-branding,
body[data-theme-preset="public-boss-classic"] .footer-block {
  position: relative;
  overflow: hidden;
}
body[data-theme-preset="public-boss-classic"] .footer-branding::before,
body[data-theme-preset="public-boss-classic"] .footer-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37,178,103,.92), rgba(47,111,255,.84));
}
@media (max-width: 960px) {
  body[data-theme-preset="public-boss-classic"] .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  body[data-theme-preset="public-boss-classic"] .surface-panel--structured,
  body[data-theme-preset="public-boss-classic"] .surface-panel--faq,
  body[data-theme-preset="public-boss-classic"] .surface-panel--related,
  body[data-theme-preset="public-boss-classic"] .surface-panel--steps,
  body[data-theme-preset="public-boss-classic"] .surface-panel--action,
  body[data-theme-preset="public-boss-classic"] .article-prose,
  body[data-theme-preset="public-boss-classic"] .article-sidebar .surface-panel {
    padding: 24px 22px;
  }
}
@media (max-width: 720px) {
  body[data-theme-preset="public-boss-classic"] .compact-card,
  body[data-theme-preset="public-boss-classic"] .issue-card {
    padding: 20px 18px;
  }
  body[data-theme-preset="public-boss-classic"] .step-card {
    padding: 18px 18px 16px 62px;
  }
}


/* stageR: unify first-screen hero rails across home, core tool, problem, guide, blog, and category */
body[data-theme-preset="public-boss-classic"] .hero-shell {
  display: block;
}
body[data-theme-preset="public-boss-classic"] .theme-hero-rail {
  display: grid;
  gap: 16px;
}
body[data-theme-preset="public-boss-classic"] .theme-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,250,255,.95));
  border: 1px solid rgba(17,32,58,.08);
  box-shadow: 0 18px 42px rgba(17,32,58,.08);
}
body[data-theme-preset="public-boss-classic"] .theme-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(37,178,103,.94), rgba(47,111,255,.94));
}
body[data-theme-preset="public-boss-classic"] .theme-hero-card-head {
  display: grid;
  gap: 10px;
}
body[data-theme-preset="public-boss-classic"] .theme-hero-card-head strong {
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list {
  display: grid;
  gap: 12px;
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list-item {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(17,32,58,.08);
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list-item h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list-item p {
  margin: 6px 0 0;
  font-size: .95rem;
  line-height: 1.7;
  color: var(--muted);
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47,111,255,.10);
  border: 1px solid rgba(47,111,255,.14);
  color: var(--accent);
  font-weight: 700;
}
body[data-theme-preset="public-boss-classic"] .theme-hero-list-item a:hover {
  background: rgba(47,111,255,.14);
}
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="home"] .hero-shell,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="core-tool"] .hero-shell,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="problem"] .hero-shell,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="guide"] .hero-shell,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="blog"] .hero-shell,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="category"] .hero-shell {
  border-radius: 40px;
  padding: 64px;
}
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="home"] .hero-copy h1,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="core-tool"] .hero-copy h1 {
  max-width: 11ch;
}
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="blog"] .article-layout,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="guide"] .article-layout,
body[data-theme-preset="public-boss-classic"] [data-theme-page-type="category"] .article-layout {
  align-items: start;
}
@media (max-width: 1100px) {
  body[data-theme-preset="public-boss-classic"] .hero-shell {
    padding: 28px;
  }
  body[data-theme-preset="public-boss-classic"] .hero-split {
    grid-template-columns: 1fr;
  }
}
