/* ============================================
   TSDMA — 台灣永續發展與管理協會
   全站共用樣式 v2  (SVG 圖示版)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');

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

:root {
  /* ── 品牌主色：深海軍藍 ─────────────────── */
  --primary:        #003E7E;   /* 深海軍藍，信任·專業·全球視野 */
  --primary-light:  #0077B6;   /* 中藍，hover 狀態 */
  --primary-dark:   #002654;   /* 深壓，pressed 狀態 */
  /* ── 強調色：翠綠 ─────────────────────── */
  --accent:         #2DAA66;   /* 翠綠，永續·成長·希望 */
  --accent-pale:    #D6F0E2;   /* 翠綠淺底 */
  /* ── 輔助藍（原 teal 角色）─────────────── */
  --teal:           #0077B6;   /* 中藍，填補 teal 輔色角色 */
  --teal-light:     #2B9FD8;   /* 中藍亮版 */
  --teal-pale:      #D0E8F7;   /* 中藍淺底 */
  /* ── 活力萊姆綠（新增）────────────────── */
  --lime:           #8CC63F;   /* 萊姆綠，活力·希望輔色 */
  --lime-pale:      #ECF5D8;   /* 萊姆綠淺底 */
  /* ── 語義色（不變）────────────────────── */
  --yellow:         #F0A500;
  --yellow-pale:    #FFF3CD;
  --blue:           #003E7E;   /* 對齊 primary，深藍語義色 */
  --blue-pale:      #D0E8F7;   /* 對齊 teal-pale */
  --purple:         #7C3AED;
  --purple-pale:    #EDE9FE;
  --red:            #DC2626;
  --red-pale:       #FFE5E5;
  /* ── 中性色：移除綠調，改為純灰藍調 ────── */
  --bg:             #FFFFFF;
  --bg2:            #F4F6F9;   /* 淺灰藍底（原偏綠，改中性） */
  --card:           #FFFFFF;
  --text:           #1A2338;   /* 深藍黑，對應藍色系 */
  --text-mid:       #4A5568;   /* 中性藍灰 */
  --text-light:     #8A96A8;   /* 淺藍灰 */
  --border:         #DDE3EE;   /* 淺藍灰邊框 */
  --border-strong:  #C5CFE0;
  /* ── 結構 ───────────────────────────── */
  --sidebar-w:      78px;
  --radius:         10px;
  --radius-lg:      14px;
  --shadow-xs:      0 1px 3px rgba(0,0,0,.07);
  --shadow:         0 2px 12px rgba(0,62,126,.08);
  --shadow-md:      0 4px 20px rgba(0,62,126,.12);
  --shadow-hover:   0 8px 28px rgba(0,62,126,.18);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Noto Sans TC', 'Microsoft JhengHei', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }

/* ═══ Icon Box System ═══════════════════════ */
.icon-box {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box.sm { width: 34px; height: 34px; border-radius: 9px; }
.icon-box.lg { width: 54px; height: 54px; border-radius: 14px; }
.icon-box.xl { width: 64px; height: 64px; border-radius: 16px; }

.ib-green  { background: var(--accent-pale);  color: var(--accent); }   /* 翠綠 */
.ib-teal   { background: var(--teal-pale);    color: var(--teal); }     /* 中藍 */
.ib-yellow { background: var(--yellow-pale);  color: var(--yellow); }
.ib-blue   { background: var(--teal-pale);    color: var(--primary); }  /* 深藍 */
.ib-purple { background: var(--purple-pale);  color: var(--purple); }
.ib-red    { background: var(--red-pale);     color: var(--red); }
.ib-lime   { background: var(--lime-pale);    color: var(--lime); }     /* 萊姆綠（新增）*/
.ib-dark   { background: var(--primary);      color: #fff; }
.ib-teal-s { background: var(--teal);         color: #fff; }

/* ═══ Sidebar ═══════════════════════════════ */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--card);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  z-index: 300;
  overflow: hidden;
  transition: width .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 2px 0 16px rgba(0,0,0,.06);
}
.sidebar:hover { width: 210px; }

.sidebar-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  min-height: 68px;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,62,126,.2);
  overflow: hidden;
}
.logo-mark img { width: 38px; height: 38px; object-fit: contain; display: block; }
.logo-text {
  opacity: 0; transition: opacity .2s;
  white-space: nowrap; line-height: 1.3;
}
.logo-text strong { display: block; font-size: 12px; font-weight: 800; color: var(--primary); }
.logo-text span   { font-size: 10px; color: var(--text-light); }
.sidebar:hover .logo-text { opacity: 1; }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 0; }
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all .18s;
  white-space: nowrap;
  color: var(--text-mid);
}
.nav-item:hover { background: var(--accent-pale); color: var(--primary); border-left-color: var(--accent); }
.nav-item.active { background: var(--accent-pale); color: var(--primary); border-left-color: var(--primary); font-weight: 700; }
.nav-item .nav-icon { width: 22px; height: 22px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-item span { font-size: 13px; opacity: 0; transition: opacity .18s; }
.sidebar:hover .nav-item span { opacity: 1; }

.sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.btn-sidebar-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 9px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s;
  width: 100%;
}
.btn-sidebar-cta:hover { background: var(--primary-light); }
.btn-sidebar-cta svg { flex-shrink: 0; }
.btn-sidebar-cta span { opacity: 0; transition: opacity .2s; }
.sidebar:hover .btn-sidebar-cta span { opacity: 1; }

/* ═══ Layout ════════════════════════════════ */
.main { margin-left: var(--sidebar-w); min-height: 100vh; }

/* ═══ Tab Bar (X軸) ════════════════════════ */
.tab-bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  overflow-x: auto; height: 46px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.tab-bar::-webkit-scrollbar { display: none; }

/* ── Panel switching (shared across all pages) ── */
.main-panel { display: none; }
.main-panel.active { display: block; }

.tab-item {
  padding: 0 18px; height: 100%;
  display: flex; align-items: center;
  font-size: 13px; white-space: nowrap;
  cursor: pointer; color: var(--text-mid);
  border-bottom: 2px solid transparent;
  transition: all .18s; flex-shrink: 0;
  gap: 6px;
}
.tab-item:hover { color: var(--primary); background: var(--bg); }
.tab-item.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }
.tab-item svg { width: 14px; height: 14px; }

/* ═══ Page Hero ════════════════════════════ */
.page-hero {
  padding: 36px 32px 28px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 12px; color: var(--text-light); margin-bottom: 8px; display:flex; align-items:center; gap:6px; }
.breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 { font-size: 26px; font-weight: 800; margin-bottom: 7px; letter-spacing: -.3px; }
.page-hero .desc { font-size: 13.5px; color: var(--text-mid); max-width: 600px; line-height: 1.65; }

/* ═══ Content ═══════════════════════════════ */
.content { padding: 28px 32px; max-width: 1200px; }

/* ═══ Site Footer ════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 28px 32px 24px;
  margin-top: 16px;
}
.footer-inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1200px; flex-wrap: wrap;
}
.footer-brand {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 240px;
}
.footer-logo-mark {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,62,126,.15);
  overflow: hidden;
}
.footer-logo-mark img { width: 36px; height: 36px; object-fit: contain; display: block; }
.footer-brand-names {
  display: flex; flex-direction: column; gap: 1px;
}
.footer-abbr {
  font-family: 'Poppins', sans-serif;
  font-size: 18px; font-weight: 800; color: var(--primary);
  letter-spacing: .5px; line-height: 1;
}
.footer-en {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 500; color: var(--text-mid);
  line-height: 1.4;
}
.footer-zh {
  font-size: 11px; color: var(--text-light); line-height: 1.4;
}
.footer-tagline {
  flex: 1; text-align: center; min-width: 200px;
}
.footer-tagline-en {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary); opacity: .7;
}
.footer-tagline-zh {
  font-size: 11px; color: var(--text-light); margin-top: 3px;
  letter-spacing: .5px;
}
.footer-copy {
  font-size: 11px; color: var(--text-light); text-align: right;
  min-width: 120px; line-height: 1.6;
}

/* ═══ Section ═══════════════════════════════ */
.section { margin-bottom: 40px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 17px; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.section-title .title-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-pale); color: var(--primary);
}
.section-title .title-icon svg { width: 16px; height: 16px; }
.view-all {
  font-size: 12.5px; color: var(--primary); font-weight: 600;
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.view-all:hover { text-decoration: underline; }
.view-all svg { width: 14px; height: 14px; }

/* ═══ Cards ═════════════════════════════════ */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow .22s, transform .22s;
  cursor: pointer;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card-grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ═══ Hero ══════════════════════════════════ */
.hero {
  background: #FFFFFF;
  color: var(--text);
  padding: 52px 44px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,62,126,.06);
}
/* 右上角裝飾圓：改為半透明綠調 */
.hero-deco {
  position: absolute; pointer-events: none;
}
.hero-deco-1 {
  right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,.12) 0%, rgba(82,183,136,0) 70%);
}
.hero-deco-2 {
  right: 100px; bottom: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,156,138,.1) 0%, rgba(26,156,138,0) 70%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  background: var(--accent-pale); color: var(--primary);
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { font-size: 34px; font-weight: 900; line-height: 1.18; margin-bottom: 14px; letter-spacing: -.5px; color: var(--text); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 15px; color: var(--text-mid); max-width: 520px; margin-bottom: 28px; line-height: 1.7; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: 9px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all .18s; border: none; font-family: inherit;
}
/* 主按鈕：深綠 */
.btn-hero-white { background: var(--primary); color: #fff; }
.btn-hero-white:hover { background: var(--primary-light); box-shadow: 0 4px 16px rgba(0,62,126,.3); }
/* 次要按鈕：白底綠框 */
.btn-hero-outline { background: #fff; color: var(--primary); border: 1.5px solid var(--border-strong); }
.btn-hero-outline:hover { background: var(--accent-pale); border-color: var(--primary); }
.btn-hero svg { width: 16px; height: 16px; }

/* ═══ Stats Bar ═════════════════════════════ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 28px;
}
.stat-item {
  background: var(--card); padding: 20px;
  display: flex; align-items: center; gap: 14px;
}
.stat-item .stat-icon { width: 42px; height: 42px; border-radius: 10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.stat-num { font-size: 26px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-mid); margin-top: 3px; }

/* ═══ Tags ══════════════════════════════════ */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .2px;
}
.tag-green  { background: var(--accent-pale); color: var(--primary); }
.tag-teal   { background: var(--teal-pale);   color: var(--teal); }
.tag-yellow { background: var(--yellow-pale);  color: var(--yellow); }
.tag-blue   { background: var(--blue-pale);    color: var(--blue); }
.tag-purple { background: var(--purple-pale);  color: var(--purple); }
.tag-red    { background: var(--red-pale);     color: var(--red); }

/* ═══ Buttons ═══════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: all .18s;
  border: none; font-family: inherit;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); box-shadow: 0 4px 16px rgba(0,62,126,.3); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--accent-pale); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-light); }
.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; justify-content: center; }

/* ═══ CTA Strip ═════════════════════════════ */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg); padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; gap: 20px; margin-top: 36px;
}
.cta-strip h3 { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.cta-strip p  { font-size: 13px; opacity: .85; }
.cta-btns { display: flex; gap: 10px; flex-shrink: 0; }

/* ═══ Expert / People Card ══════════════════ */
.person-card { padding: 22px; }
.person-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border: 2px solid var(--border);
}
.person-name { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.person-title { font-size: 12px; color: var(--teal); font-weight: 600; margin-bottom: 3px; }
.person-org   { font-size: 12px; color: var(--text-light); margin-bottom: 12px; display:flex; align-items:center; gap:4px; }
.person-tags  { display: flex; gap: 5px; flex-wrap: wrap; }

/* ═══ Timeline ══════════════════════════════ */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 6px; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 26px; }
.timeline-dot {
  position: absolute; left: -23px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary); border: 2px solid var(--card);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 3px; }
.timeline-title { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.timeline-desc  { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ═══ Data Table ════════════════════════════ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 11px 16px;
  font-size: 11px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border); background: var(--bg);
}
.data-table td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }

/* ═══ Form ══════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: var(--text-mid); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 13.5px; font-family: inherit; color: var(--text);
  background: var(--card); transition: border-color .18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,62,126,.1);
}
.form-textarea { min-height: 110px; resize: vertical; }

/* ═══ Flywheel / Cycle Visual ═══════════════ */
.flywheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 32px;
}
.flywheel::before {
  content: '';
  position: absolute;
  top: 50%; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  z-index: 0;
  transform: translateY(-50%);
}
.fw-node {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 10px;
}
.fw-node-inner {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  width: 100%;
  transition: all .22s;
  position: relative;
}
.fw-node-inner:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fw-node-icon { margin: 0 auto 12px; }
.fw-node-title { font-size: 14px; font-weight: 800; margin-bottom: 5px; color: var(--text); }
.fw-node-desc  { font-size: 11.5px; color: var(--text-mid); line-height: 1.55; }
.fw-arrow {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--accent);
  background: var(--card);
  border-radius: 50%;
  padding: 2px;
}
.fw-arrow svg { width: 18px; height: 18px; }

/* ═══ Filter ════════════════════════════════ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.filter-select {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 13px; background: var(--card); color: var(--text);
  cursor: pointer; font-family: inherit; height: 38px;
}
.filter-select:focus { outline: none; border-color: var(--primary); }
.filter-chip {
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  cursor: pointer; background: var(--card); border: 1.5px solid var(--border);
  color: var(--text-mid); transition: all .15s; display:flex; align-items:center; gap:5px;
}
.filter-chip.active, .filter-chip:hover { background: var(--accent-pale); border-color: var(--primary); color: var(--primary); }
.filter-chip svg { width: 12px; height: 12px; }

/* ═══ Misc ══════════════════════════════════ */
.divider { height: 1px; background: var(--border); margin: 28px 0; }
.divider-text {
  display: flex; align-items: center; gap: 14px;
  font-size: 12.5px; color: var(--text-light); margin: 28px 0;
}
.divider-text::before, .divider-text::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.scroll-x { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.scroll-x::-webkit-scrollbar { height: 4px; }
.scroll-x::-webkit-scrollbar-track { background: transparent; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .2px;
}
.badge svg { width: 12px; height: 12px; }
.badge-green  { background: var(--accent-pale); color: var(--primary); }
.badge-teal   { background: var(--teal-pale);   color: var(--teal); }
.badge-yellow { background: var(--yellow-pale);  color: var(--yellow); }

/* ═══ Doc / Report Row ══════════════════════ */
.doc-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: var(--card); cursor: pointer; transition: background .14s;
}
.doc-row:last-child { border-bottom: none; }
.doc-row:hover { background: var(--bg); }
.doc-icon { width: 42px; height: 48px; border-radius: 7px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); flex-shrink: 0; }
.doc-name { font-size: 13.5px; font-weight: 600; margin-bottom: 2px; }
.doc-meta { font-size: 11.5px; color: var(--text-light); }
.doc-dl { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--primary); font-weight: 600; white-space: nowrap; }
.doc-dl svg { width: 14px; height: 14px; }

/* ═══ Mobile ════════════════════════════════ */
@media (max-width: 960px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 32px 24px; }
  .hero h1 { font-size: 26px; }
  .content { padding: 20px 16px; }
  .flywheel { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { flex-direction: column; }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .flywheel { grid-template-columns: 1fr; }
}
