/* 词博黄页网 (www.ci-bo.org) — 商务藏青与信用翡翠绿主题样式表 */
:root {
    --navy: #0f2942;
    --navy-dark: #091b2d;
    --emerald: #0b7a5c;
    --emerald-dark: #085f47;
    --emerald-soft: #e7f6f1;
    --gold: #c86d06;
    --gold-soft: #fef3e2;
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --paper: #f7f8fa;
    --white: #ffffff;
    --radius-s: 8px;
    --radius-m: 12px;
    --radius-l: 16px;
    --shadow-1: 0 1px 2px rgba(15, 41, 66, 0.05);
    --shadow-2: 0 10px 26px rgba(15, 41, 66, 0.08);
    --font-ui: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.72;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--emerald);
    text-decoration: none;
    transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

a:hover {
    color: var(--emerald-dark);
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-1);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link img {
    height: 46px;
    width: auto;
}

.desk-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desk-link {
    padding: 7px 11px;
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    white-space: nowrap;
}

.desk-link:hover,
.desk-link.active {
    background: var(--emerald-soft);
    color: var(--emerald-dark);
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--emerald);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
}

.cta-pill:hover,
.cta-pill.active {
    background: var(--emerald-dark);
    color: #fff;
}

.menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-s);
    border: 1px solid var(--border-strong);
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

.mob-panel {
    border-top: 1px solid var(--border);
    background: #fff;
}

.mob-panel-inner {
    padding: 16px 20px 20px;
}

.mob-search {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.mob-search input {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-s);
    font-size: 14px;
}

.mob-search button {
    border: 0;
    background: var(--emerald);
    color: #fff;
    border-radius: var(--radius-s);
    padding: 0 16px;
    font-weight: 600;
    cursor: pointer;
}

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

.mob-item {
    padding: 10px;
    border-radius: var(--radius-s);
    background: var(--paper);
    color: var(--ink-2);
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.mob-item.active {
    background: var(--emerald-soft);
    color: var(--emerald-dark);
    font-weight: 700;
}

/* Top Announcement Strip */
.notice-strip {
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 65%, #163b5e 100%);
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.notice-tag {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 4px;
    background: #d97706;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.notice-msg {
    margin: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: #f1f5f9;
    flex: 1;
    min-width: 0;
}

.notice-cta {
    font-size: 13px;
    font-weight: 600;
    color: #fcd34d;
    white-space: nowrap;
}

.notice-cta:hover {
    color: #ffffff;
}

/* Executive Search-First Hero */
.exec-hero {
    background: radial-gradient(circle at 85% 20%, rgba(11, 122, 92, 0.1) 0%, transparent 48%),
                linear-gradient(180deg, #ffffff 0%, #eef3f7 100%);
    border-bottom: 1px solid var(--border);
    padding: 44px 0 48px;
}

.exec-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: center;
}

.kicker-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--emerald-soft);
    color: var(--emerald-dark);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.hero-main h1 {
    margin: 0 0 14px;
    font-size: 35px;
    line-height: 1.26;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.hero-main h1 span {
    color: var(--emerald);
}

.hero-desc {
    margin: 0 0 22px;
    font-size: 15.5px;
    color: var(--ink-2);
    max-width: 640px;
}

.hero-search-bar {
    display: flex;
    gap: 8px;
    background: #fff;
    border: 2px solid var(--navy);
    border-radius: var(--radius-m);
    padding: 5px;
    box-shadow: var(--shadow-2);
    margin-bottom: 16px;
}

.hero-search-bar input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 10px 12px;
    font-size: 15px;
    color: var(--ink);
    font-family: inherit;
}

.hero-search-bar button {
    border: 0;
    background: var(--emerald);
    color: #fff;
    border-radius: 8px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.hero-search-bar button:hover {
    background: var(--emerald-dark);
}

.city-quick-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.city-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-strong);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
}

.city-pill:hover,
.city-pill.current {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.hero-utility-card {
    background: var(--navy);
    color: #f8fafc;
    border-radius: var(--radius-l);
    padding: 24px;
    box-shadow: var(--shadow-2);
}

.util-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.util-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
}

.util-head h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.util-sub {
    margin: 0 0 14px;
    font-size: 13px;
    color: #cbd5e1;
}

.util-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.util-list a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-m);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.util-list a:hover {
    background: rgba(11, 122, 92, 0.4);
    border-color: rgba(52, 211, 153, 0.6);
}

.util-list strong {
    display: block;
    font-size: 14.5px;
    color: #fff;
    margin-bottom: 2px;
}

.util-list span {
    display: block;
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.45;
}

/* Bands */
.band {
    padding: 44px 0;
}

.band-alt {
    background: #eff3f7;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.band-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.band-head h2 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
}

.band-head p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.more-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--emerald);
    white-space: nowrap;
}

/* City Directory Cards */
.city-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.city-cards-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.city-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--emerald);
    border-radius: var(--radius-m);
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-1);
}

.city-card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.city-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.city-card h2,
.city-card h3 {
    margin: 0;
    font-size: 17px;
}

.city-card h2 a,
.city-card h3 a {
    color: var(--navy);
}

.city-card h2 a:hover,
.city-card h3 a:hover {
    color: var(--emerald);
}

.region-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--gold-soft);
    color: var(--gold);
    white-space: nowrap;
}

.city-meta-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}

.city-meta-codes span {
    background: var(--paper);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.city-desc,
.city-pillars,
.city-parks {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.55;
}

.city-parks {
    flex: 1;
}

.city-go {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--emerald);
}

/* Channels */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.channel-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 18px;
    box-shadow: var(--shadow-1);
}

.channel-card:hover {
    border-color: var(--ch-color, var(--emerald));
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.channel-ic {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--paper);
    color: var(--ch-color, var(--emerald));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-ic svg {
    width: 24px;
    height: 24px;
}

.channel-info {
    flex: 1;
    min-width: 0;
}

.channel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.channel-row h3 {
    margin: 0;
    font-size: 16px;
    color: var(--navy);
}

.channel-row span {
    font-size: 12px;
    color: var(--muted);
    background: var(--paper);
    padding: 2px 8px;
    border-radius: 999px;
}

.channel-info p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

/* Featured & Guides */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-1);
}

.badge-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: var(--muted);
}

.pill-chan {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--emerald-soft);
    color: var(--ch-color, var(--emerald-dark));
}

.pill-gold {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
}

.pill-soft {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: #edf2f7;
    color: var(--ink-2);
}

.feat-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.feat-card h3 a {
    color: var(--navy);
}

.feat-card h3 a:hover {
    color: var(--emerald);
}

.feat-card p {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--ink-2);
    flex: 1;
}

.feat-foot {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.guide-stream {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.guide-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-1);
}

.guide-item:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-2);
}

.guide-item h2,
.guide-item h3 {
    margin: 0 0 8px;
    font-size: 18.5px;
    line-height: 1.4;
}

.guide-item h2 a,
.guide-item h3 a {
    color: var(--navy);
}

.guide-item h2 a:hover,
.guide-item h3 a:hover {
    color: var(--emerald);
}

.guide-item p {
    margin: 0 0 14px;
    font-size: 14.5px;
    color: var(--ink-2);
    flex: 1;
}

.guide-item-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.tag-list {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tag-btn {
    display: inline-block;
    font-size: 12px;
    color: var(--ink-2);
    background: var(--paper);
    border: 1px solid var(--border);
    padding: 2px 9px;
    border-radius: 999px;
}

.tag-btn:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.read-go {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--emerald);
    white-space: nowrap;
}

.muted {
    font-size: 12.5px;
    color: var(--muted);
}

/* Sidebar */
.split-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 20px;
    box-shadow: var(--shadow-1);
}

.side-emerald {
    background: linear-gradient(160deg, #ffffff 0%, #e9f7f2 100%);
    border-color: #b7e4d5;
}

.side-emerald h3 {
    margin: 8px 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.side-emerald p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.side-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.hot-rank {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-rank li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.r-idx {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--paper);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.r-idx.top {
    background: var(--navy);
    color: #fff;
}

.hot-rank a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
}

.hot-rank a:hover {
    color: var(--emerald);
}

.hot-rank small {
    font-size: 12px;
    color: var(--muted);
}

.official-notes {
    margin: 0 0 12px;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--ink-2);
}

.official-notes li {
    margin-bottom: 6px;
}

.side-city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* Sub Hero & Detail */
.sub-hero {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 28px 0 32px;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.crumbs a {
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--emerald);
}

.sub-hero h1 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.3;
    color: var(--navy);
    overflow-wrap: break-word;
}

.sub-hero p {
    margin: 0;
    font-size: 15px;
    color: var(--ink-2);
    max-width: 840px;
}

.detail-h1 {
    font-size: 30px !important;
    margin-bottom: 10px !important;
}

.detail-lead {
    margin-bottom: 16px !important;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
}

.city-profile-box,
.prose-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 28px 30px;
    box-shadow: var(--shadow-1);
    min-width: 0;
}

.city-profile-box h2 {
    margin: 0 0 16px;
    font-size: 21px;
    color: var(--navy);
}

.kv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.kv-item {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    padding: 12px 14px;
}

.kv-item span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 3px;
}

.kv-item strong {
    font-size: 15px;
    color: var(--navy);
}

.city-detail-block {
    margin-bottom: 18px;
}

.city-detail-block h3 {
    margin: 0 0 6px;
    font-size: 16.5px;
    color: var(--navy);
}

.city-detail-block p,
.city-detail-block ol {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

.city-detail-block ol {
    padding-left: 20px;
}

.city-detail-block li {
    margin-bottom: 6px;
}

/* Prose */
.summary-callout {
    background: var(--emerald-soft);
    border: 1px solid #b7e4d5;
    border-left: 4px solid var(--emerald);
    border-radius: var(--radius-s);
    padding: 16px 18px;
    margin-bottom: 24px;
}

.callout-hd {
    font-size: 14px;
    font-weight: 700;
    color: var(--emerald-dark);
    margin-bottom: 4px;
}

.summary-callout p {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink);
}

.prose-body h2 {
    margin: 28px 0 12px;
    font-size: 21px;
    color: var(--navy);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 86px;
}

.prose-body h3 {
    margin: 20px 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.prose-body p {
    margin: 0 0 15px;
    font-size: 15.5px;
    color: var(--ink-2);
    line-height: 1.82;
    overflow-wrap: break-word;
}

.prose-body ul,
.prose-body ol {
    margin: 0 0 16px;
    padding-left: 22px;
    font-size: 15px;
    color: var(--ink-2);
    line-height: 1.8;
}

.prose-body li {
    margin-bottom: 6px;
    overflow-wrap: break-word;
}

.prose-body code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--paper);
    border: 1px solid var(--border);
    color: var(--navy);
    padding: 1px 6px;
    border-radius: 4px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.prose-body .tbl-scroll {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
}

.prose-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}

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

.prose-body th {
    background: var(--paper);
    color: var(--navy);
    font-weight: 700;
    white-space: nowrap;
}

.prose-body tr:last-child td {
    border-bottom: 0;
}

.prose-body .warn-box {
    background: var(--gold-soft);
    border: 1px solid #f7cf92;
    border-left: 4px solid #d97706;
    border-radius: var(--radius-s);
    padding: 14px 16px;
    margin: 18px 0;
    font-size: 14.5px;
    color: var(--ink-2);
}

.detail-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

.compliance-note {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    font-size: 13px;
    color: var(--muted);
}

.toc-sticky {
    position: sticky;
    top: 86px;
}

.toc-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-nav a {
    display: block;
    font-size: 13.5px;
    color: var(--ink-2);
    padding: 3px 0 3px 10px;
    border-left: 2px solid var(--border);
}

.toc-nav a:hover {
    color: var(--emerald);
    border-left-color: var(--emerald);
}

.rel-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rel-links a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
}

.rel-links a:hover {
    color: var(--emerald);
}

.rel-links small {
    font-size: 12px;
    color: var(--muted);
}

/* Tools */
.tools-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tool-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 26px 28px;
    box-shadow: var(--shadow-1);
}

.tool-hd h2 {
    margin: 8px 0 6px;
    font-size: 22px;
    color: var(--navy);
}

.tool-hd p {
    margin: 0 0 18px;
    font-size: 14.5px;
    color: var(--muted);
}

.uscc-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.uscc-input-row input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-s);
    font-size: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.uscc-input-row input:focus {
    outline: none;
    border-color: var(--emerald);
}

.sample-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--muted);
}

.sample-chip {
    border: 1px solid var(--border-strong);
    background: var(--paper);
    color: var(--navy);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.sample-chip:hover {
    border-color: var(--emerald);
    color: var(--emerald-dark);
    background: var(--emerald-soft);
}

.tool-output {
    background: var(--emerald-soft);
    border: 1px solid #b7e4d5;
    border-radius: var(--radius-m);
    padding: 18px 20px;
}

.tool-output.is-error {
    background: #fef2f2;
    border-color: #fecaca;
}

.tool-output h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--navy);
}

.tool-output p {
    margin: 0 0 8px;
    font-size: 14.5px;
    color: var(--ink-2);
}

.tool-output p:last-child {
    margin-bottom: 0;
}

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

.uscc-meta-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #cce8de;
    border-radius: var(--radius-s);
    padding: 10px 12px;
    font-size: 13.5px;
}

.uscc-meta-item span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.uscc-meta-item strong {
    color: var(--navy);
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.risk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    font-size: 13.5px;
    color: var(--ink-2);
    cursor: pointer;
}

.risk-item input {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.score-bar-box {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    padding: 14px 16px;
}

.score-track {
    height: 10px;
    background: #dbe3ec;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #d97706 0%, #0b7a5c 100%);
    transition: width 0.25s ease;
}

.score-bar-box p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-2);
}

.select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.f-col label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.f-col select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-s);
    background: #fff;
    font-size: 14px;
    font-family: inherit;
}

/* Buttons & Misc */
.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-s);
    border: 0;
    background: var(--emerald);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.btn-solid:hover {
    background: var(--emerald-dark);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-s);
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--navy);
    font-size: 14.5px;
    font-weight: 600;
}

.btn-outline:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.btn-full {
    width: 100%;
}

.search-inline {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-top: 14px;
}

.search-inline input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-s);
    font-size: 15px;
}

.search-sub-hd {
    margin: 0 0 14px;
    font-size: 18px;
    color: var(--navy);
}

.empty-card,
.notfound-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 36px 24px;
    text-align: center;
}

.notfound-box {
    max-width: 720px;
    margin: 20px auto;
}

.nf-code {
    display: inline-block;
    font-size: 48px;
    font-weight: 900;
    color: var(--emerald);
    line-height: 1;
    margin-bottom: 8px;
}

.nf-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.nf-list {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: left;
}

.nf-list h2 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--navy);
}

.nf-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nf-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
}

.nf-list span {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}

.pager-btn {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-s);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.pager-info {
    font-size: 14px;
    color: var(--muted);
}

/* Footer */
.site-foot {
    background: var(--navy-dark);
    color: #cbd5e1;
    margin-top: 24px;
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.foot-logo-box {
    display: inline-flex;
    background: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.foot-text {
    margin: 0;
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 420px;
}

.foot-col h3 {
    margin: 0 0 12px;
    font-size: 15px;
    color: #fff;
}

.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foot-col a {
    font-size: 13.5px;
    color: #cbd5e1;
}

.foot-col a:hover {
    color: #fff;
}

.foot-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
}

.foot-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}

.foot-bar-inner p {
    margin: 0;
}

.foot-icp a {
    color: #e2e8f0;
}

.foot-icp a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1080px) {
    .desk-nav {
        display: none;
    }
    .menu-btn {
        display: inline-flex;
    }
    .exec-hero-inner,
    .split-layout {
        grid-template-columns: 1fr;
    }
    .city-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .channel-grid,
    .feat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .toc-sticky {
        position: static;
    }
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 14px;
    }
    .topbar-inner {
        min-height: 60px;
    }
    .logo-link img {
        height: 36px;
    }
    .cta-pill {
        display: none;
    }
    .notice-inner {
        gap: 8px;
    }
    .notice-msg {
        font-size: 13px;
    }
    .notice-cta {
        width: 100%;
    }
    .exec-hero {
        padding: 28px 0 32px;
    }
    .hero-main h1 {
        font-size: 24px;
    }
    .hero-search-bar {
        flex-direction: column;
        padding: 6px;
    }
    .hero-search-bar button {
        padding: 10px 16px;
    }
    .city-cards-grid,
    .city-cards-wide,
    .channel-grid,
    .feat-grid,
    .two-col-grid,
    .kv-grid,
    .uscc-meta-grid,
    .risk-grid,
    .select-grid,
    .foot-grid {
        grid-template-columns: 1fr;
    }
    .uscc-input-row,
    .search-inline {
        flex-direction: column;
    }
    .band {
        padding: 32px 0;
    }
    .band-head h2 {
        font-size: 20px;
    }
    .detail-h1 {
        font-size: 23px !important;
    }
    .prose-card,
    .city-profile-box,
    .tool-panel {
        padding: 20px 16px;
    }
    .foot-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
