/* ===================================
   KCS 社内マニュアルポータル
   共通スタイルシート
=================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables (コーポレートカラー) --- */
:root {
  --primary:       #0057A8;   /* KCSブルー */
  --primary-dark:  #003F7A;
  --primary-light: #E8F1FB;
  --accent:        #00A0DC;   /* アクセントシアンブルー */
  --accent-light:  #E0F5FF;
  --success:       #28A745;
  --warning:       #FFC107;
  --danger:        #DC3545;
  --text-main:     #1A1A2E;
  --text-sub:      #555E6D;
  --text-muted:    #8A94A6;
  --bg-white:      #FFFFFF;
  --bg-light:      #F5F7FA;
  --bg-section:    #EEF3FA;
  --border:        #DDE3EE;
  --border-light:  #EEF1F7;
  --sidebar-width: 260px;
  --header-height: 64px;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.10);
  --transition:    0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

html.auth-checking .site-header,
html.auth-checking .site-sidebar,
html.auth-checking .site-main,
html.auth-checking .site-footer,
html.auth-checking .sidebar-overlay,
html.auth-required .site-header,
html.auth-required .site-sidebar,
html.auth-required .site-main,
html.auth-required .site-footer,
html.auth-required .sidebar-overlay {
  visibility: hidden;
}

html.auth-ready .auth-gate {
  display: none;
}

html.auth-restoring .auth-gate {
  display: none;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
ul, ol { padding-left: 1.5em; }

/* ===================================
   HEADER
=================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 16px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-logo-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.header-logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ヘッダー検索 */
.header-search {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.header-search input {
  width: 100%;
  padding: 9px 16px 9px 40px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-light);
  color: var(--text-main);
  transition: all var(--transition);
  outline: none;
}
.header-search input:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0,87,168,.1);
}
.header-search .search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 2000;
  display: none;
}
.search-results-dropdown.active { display: block; }
.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-light); }
.search-result-item .result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 3px;
}
.search-result-item .result-category {
  font-size: 11px;
  color: var(--text-muted);
}
.search-result-item .result-snippet {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 3px;
}
.search-result-item mark {
  background: var(--accent-light);
  color: var(--primary);
  padding: 0 2px;
  border-radius: 2px;
}
.search-no-result {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-light);
}

.language-toggle-button {
  border: none;
  background: transparent;
  color: var(--text-sub);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.language-toggle-button.active {
  background: var(--primary);
  color: var(--bg-white);
}

.language-toggle-button:hover {
  color: var(--primary);
}

.language-toggle-button.active:hover {
  color: var(--bg-white);
}

.translation-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.translation-status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: translationPulse 1.1s ease-in-out infinite;
}

.translation-status-badge[hidden] {
  display: none;
}

@keyframes translationPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}
.btn-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-main);
  font-size: 20px;
}

.auth-user-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
  border-left: 1px solid var(--border);
}

.auth-user-email {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text-sub);
}

.auth-logout-button {
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-main);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
}

.auth-logout-button:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ===================================
   SIDEBAR
=================================== */
.site-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height));
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 20px 0 40px;
  z-index: 900;
  transition: transform var(--transition);
}
.site-sidebar::-webkit-scrollbar { width: 4px; }
.site-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.nav-section {
  margin-bottom: 8px;
}
.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 20px 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.nav-item:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}
.nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 600;
}
.nav-item .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 50px;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.nav-sub-item:hover {
  color: var(--primary);
  background: var(--bg-light);
}
.nav-sub-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ===================================
   MAIN CONTENT
=================================== */
.site-main {
  margin-left: var(--sidebar-width);
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  padding: 40px;
  background: var(--bg-light);
}

/* ===================================
   PAGE HEADER (パンくず・タイトル)
=================================== */
.page-header {
  margin-bottom: 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }
.page-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-title .title-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.page-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===================================
   CARDS
=================================== */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title .icon { color: var(--primary); }

/* ===================================
   SECTION & CONTENT
=================================== */
.section { margin-bottom: 32px; }
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ポイントボックス */
.point-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 16px 0;
}
.point-box .point-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.point-box p, .point-box li {
  font-size: 14px;
  color: var(--text-main);
}

/* 警告ボックス */
.alert-box {
  background: #FFF8E1;
  border-left: 4px solid var(--warning);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  color: #5D4037;
}
.alert-box .alert-label {
  font-weight: 700;
  margin-bottom: 4px;
  color: #E65100;
}

/* 成功ボックス */
.success-box {
  background: #E8F5E9;
  border-left: 4px solid var(--success);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  color: #1B5E20;
}

/* ステップリスト */
.step-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.step-list li:last-child { border-bottom: none; }
.step-num {
  width: 28px; height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content { flex: 1; }
.step-content strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-sub); }

/* チェックリスト */
.check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* タイミングカード */
.timing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.timing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  border-top: 3px solid var(--primary);
  transition: all var(--transition);
}
.timing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.timing-card .timing-icon {
  font-size: 24px;
  margin-bottom: 8px;
}
.timing-card .timing-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.timing-card .timing-desc {
  font-size: 12px;
  color: var(--text-sub);
}

/* ===================================
   BADGE & TAG
=================================== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent  { background: var(--accent-light);  color: #0069A3; }
.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-warning { background: #FFF8E1; color: #F57F17; }
.badge-danger  { background: #FFEBEE; color: #C62828; }

/* ===================================
   TABLE
=================================== */
.table-wrap { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-light); }

/* ===================================
   BUTTON
=================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,87,168,.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.btn-sm { padding: 7px 14px; font-size: 13px; }

.tool-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
}
.tool-link-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================
   QUICK ACCESS (ホームページ用)
=================================== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.quick-grid.tool-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 12px 0 20px;
}
.quick-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-main);
  display: block;
  box-shadow: var(--shadow-sm);
}
.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: var(--text-main);
}
.quick-card .qc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}
.quick-card .qc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.quick-card .qc-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.quick-card .qc-meta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 600;
}

.quick-card-featured {
  text-align: left;
  position: relative;
  overflow: hidden;
}

.quick-card-featured::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0,160,220,.14) 0%, rgba(0,160,220,0) 72%);
  pointer-events: none;
}

.quick-card-featured .qc-icon,
.quick-card-featured .qc-title,
.quick-card-featured .qc-desc,
.quick-card-featured .qc-meta {
  margin-left: 0;
}

.favorites-grid:empty::before {
  content: "まだ履歴がありません。よく使うページを開くと、ここに自動で表示されます。";
  display: block;
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 13px;
}

.notification-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  border: 1px solid rgba(0, 87, 168, 0.12);
}

.notification-panel-inline {
  background: linear-gradient(135deg, rgba(0, 87, 168, 0.08), rgba(0, 160, 220, 0.08));
}

.notification-panel-copy {
  min-width: 240px;
  flex: 1;
}

.notification-panel-copy strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.notification-panel-copy p {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
}

.notification-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.update-feed {
  display: grid;
  gap: 14px;
}

.update-note-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.update-note-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.update-note-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.update-note-body {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 14px;
}

.notification-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2500;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(26, 26, 46, 0.96);
  box-shadow: var(--shadow-lg);
  color: var(--bg-white);
}

.notification-toast-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.notification-toast-body {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 12px;
}

.notification-toast-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notification-toast-button.btn-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--bg-white);
  background: transparent;
}

.notification-toast-button.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--bg-white);
}

.notification-modal[hidden] {
  display: none;
}

.notification-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
}

.notification-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 34, 0.5);
  backdrop-filter: blur(2px);
}

.notification-modal-dialog {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  margin: min(14vh, 120px) auto 0;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px 24px 20px;
  border: 1px solid rgba(0, 87, 168, 0.12);
}

.notification-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.notification-modal-close:hover {
  color: var(--primary);
}

.notification-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.notification-modal-title {
  font-size: 24px;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 12px;
}

.notification-modal-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 18px;
}

.notification-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ===================================
   HERO SEARCH (ホーム)
=================================== */
.hero-search {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.hero-search::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.hero-search::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 5%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.hero-search h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.hero-search p {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.hero-search-box {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  z-index: 1;
}
.hero-search-box input {
  width: 100%;
  padding: 16px 60px 16px 24px;
  border: none;
  border-radius: 32px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--text-main);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.hero-search-box input::placeholder { color: var(--text-muted); }
.hero-search-box .search-btn {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.hero-search-box .search-btn:hover { background: var(--primary-dark); }

/* ===================================
   TEMPLATE CARDS
=================================== */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.template-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.template-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.template-card .tc-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.template-card .tc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.template-card .tc-desc {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.6;
}
.template-card .tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.template-card .tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid var(--border-light);
  width: 100%;
  margin-top: 4px;
  transition: color var(--transition);
}
.template-card .tc-btn:hover { color: var(--accent); }
.template-card .tc-btn-primary {
  color: var(--primary-dark);
}
.template-card .tc-btn-primary:hover {
  color: var(--primary);
}
.template-card .tc-btn-disabled {
  color: var(--text-muted);
  cursor: default;
  pointer-events: none;
}
.tc-status-note {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-sub);
}

.tc-ai-summary {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 0;
  margin-bottom: 12px;
}

.tc-ai-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--text-sub);
}

.tc-ai-row + .tc-ai-row {
  margin-top: 8px;
}

.tc-ai-row span {
  flex-shrink: 0;
  color: var(--text-muted);
  font-weight: 700;
}

.tc-ai-row strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.doc-workflow-card {
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.72), transparent 28%),
    linear-gradient(135deg, #eef7ff 0%, #f8fbff 55%, #edf4ff 100%);
  border: 1px solid rgba(0,87,168,.08);
  box-shadow: var(--shadow-sm);
}

.doc-workflow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.doc-workflow-kicker {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.doc-workflow-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.doc-workflow-card p {
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.8;
}

.doc-workflow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.doc-workflow-steps span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--text-sub);
  font-size: 12px;
}

/* ===================================
   AGENDA AI
=================================== */
.agenda-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.agenda-ai-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.7), transparent 28%),
    linear-gradient(135deg, #eef7ff 0%, #f8fbff 60%, #edf3ff 100%);
  border: 1px solid rgba(0,87,168,.08);
}

.agenda-ai-kicker {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.agenda-ai-intro h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.agenda-ai-intro p,
.agenda-side-copy {
  font-size: 13px;
  color: var(--text-sub);
}

.agenda-save-card {
  overflow: hidden;
}

.agenda-save-card .card-title {
  margin-bottom: 0;
}

.agenda-save-card summary.card-title {
  list-style: none;
  cursor: pointer;
}

.agenda-save-card summary.card-title::-webkit-details-marker {
  display: none;
}

.agenda-save-card-body {
  padding-top: 18px;
}

.agenda-save-toggle {
  margin-left: auto;
  color: var(--text-sub);
  transition: transform var(--transition);
}

.agenda-save-card[open] .agenda-save-toggle {
  transform: rotate(180deg);
}

.agenda-ai-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.agenda-ai-intro-points span,
.agenda-folder-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--text-sub);
  font-size: 12px;
  font-family: inherit;
}

.agenda-ai-kickoff,
.agenda-chat-reply {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agenda-ai-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.agenda-ai-textarea,
.agenda-ai-input,
.agenda-ai-select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
  background: var(--bg-white);
  color: var(--text-main);
}

.agenda-ai-textarea {
  min-height: 110px;
  resize: vertical;
}

.agenda-ai-textarea-sm {
  min-height: 88px;
}

.agenda-ai-textarea:focus,
.agenda-ai-input:focus,
.agenda-ai-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,168,.12);
}

.agenda-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 18px;
  max-height: 560px;
  overflow-y: auto;
}

.agenda-chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.agenda-chat-message-user {
  flex-direction: row-reverse;
}

.agenda-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
}

.agenda-chat-message-user .agenda-chat-avatar {
  background: var(--primary);
  color: #fff;
}

.agenda-chat-bubble {
  max-width: min(100%, 720px);
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bg-light);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.75;
  box-shadow: var(--shadow-sm);
}

.agenda-chat-message-user .agenda-chat-bubble {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
}

.agenda-chat-actions,
.agenda-draft-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.agenda-draft-actions .btn {
  flex-shrink: 0;
}

.agenda-chat-status {
  font-size: 12px;
  color: var(--text-muted);
}

.agenda-chat-status.is-error {
  color: var(--danger);
}

.agenda-draft-output {
  min-height: 320px;
  margin: 16px 0 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: #f7fbff;
  color: #0f4ea1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.agenda-context-summary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.agenda-context-summary div {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-light);
}

.agenda-context-summary dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.agenda-context-summary dd {
  font-size: 14px;
  color: var(--text-main);
}

.agenda-save-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.agenda-picker-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.agenda-folder-chip {
  cursor: pointer;
}

.agenda-folder-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.agenda-folder-chip[disabled] {
  cursor: default;
  opacity: .75;
}

.agenda-folder-modal[hidden] {
  display: none;
}

.agenda-folder-modal {
  position: fixed;
  inset: 0;
  z-index: 4200;
}

.agenda-folder-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(3px);
}

.agenda-folder-modal-card {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.agenda-folder-modal-header,
.agenda-folder-toolbar,
.agenda-folder-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.agenda-folder-toolbar input {
  flex: 1;
}

.agenda-folder-source-toggle {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.agenda-folder-source-toggle .btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.agenda-folder-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-folder-breadcrumb button {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-section);
  color: var(--text-sub);
  font-size: 12px;
  cursor: pointer;
}

.agenda-folder-list {
  min-height: 240px;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: var(--bg-white);
}

.agenda-folder-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.agenda-folder-item:last-child {
  border-bottom: none;
}

.agenda-folder-item:hover {
  background: var(--bg-section);
}

.agenda-folder-item-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.agenda-folder-item-main strong {
  display: block;
  color: var(--text-main);
}

.agenda-folder-item-main span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}

.agenda-folder-empty {
  padding: 22px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===================================
   FLOW CHART
=================================== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
}
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
  position: relative;
  transition: all var(--transition);
}
.flow-step:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.flow-step::after {
  content: '↓';
  position: absolute;
  bottom: -18px; left: 30px;
  color: var(--text-muted);
  font-size: 14px;
  z-index: 1;
}
.flow-step:last-child::after { display: none; }
.flow-step .flow-num {
  width: 32px; height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.flow-step .flow-body { flex: 1; }
.flow-step .flow-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}
.flow-step .flow-desc {
  font-size: 13px;
  color: var(--text-sub);
}

/* ===================================
   SIDEBAR TOC (ページ内目次)
=================================== */
.toc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  font-size: 13px;
}
.toc-sidebar .toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.toc-sidebar a {
  display: block;
  padding: 5px 0;
  color: var(--text-sub);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all var(--transition);
  font-size: 13px;
}
.toc-sidebar a:hover,
.toc-sidebar a.active {
  color: var(--primary);
  border-left-color: var(--primary);
}

/* ===================================
   CONTENT LAYOUT (2カラム)
=================================== */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: start;
}

/* ===================================
   FOOTER
=================================== */
.site-footer {
  margin-left: var(--sidebar-width);
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-page-toolbar {
  padding: 22px 24px;
}

.search-page-toolbar-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-page-input-wrap {
  position: relative;
  flex: 1;
}

.search-page-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-page-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--transition);
}

.search-page-input-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,168,.1);
}

.search-page-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.search-page-item {
  display: block;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.search-page-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.search-page-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-page-category,
.search-page-score {
  font-size: 12px;
  color: var(--text-muted);
}

.search-page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.search-page-title mark,
.search-page-snippet mark {
  background: var(--accent-light);
  color: var(--primary);
  padding: 0 2px;
  border-radius: 4px;
}

.search-page-url {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 10px;
}

.search-page-snippet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-sub);
}

.search-page-snippet span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-section);
}

.search-empty-state p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ===================================
   OVERLAY (モバイル)
=================================== */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 850;
}
.sidebar-overlay.active { display: block; }

/* ===================================
   AUTH GATE
=================================== */
.auth-gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(0, 160, 220, 0.18), transparent 35%),
    linear-gradient(135deg, #eef4fb 0%, #f8fbff 55%, #e5eef9 100%);
  z-index: 5000;
}

.auth-card {
  width: min(100%, 520px);
  padding: 40px 36px;
  border: 1px solid rgba(0, 87, 168, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(0, 63, 122, 0.14);
  backdrop-filter: blur(10px);
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.auth-card h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-main);
}

.auth-description {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.auth-status {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-light);
  color: var(--text-sub);
  font-size: 13px;
}

.auth-status[data-type="success"] {
  background: #e8f5e9;
  color: #1b5e20;
}

.auth-status[data-type="error"] {
  background: #fdecec;
  color: #b42318;
}

.auth-status[data-type="loading"] {
  background: var(--bg-light);
  color: var(--text-sub);
}

.auth-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(0, 87, 168, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.auth-login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(0, 87, 168, 0.28);
}

.auth-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1100px) {
  .content-layout { grid-template-columns: 1fr; }
  .toc-sidebar { position: static; }
  .agenda-ai-layout { grid-template-columns: 1fr; }
  .agenda-folder-modal-card { width: min(100vw - 20px, 760px); margin: 10px auto; padding: 18px; }
  .agenda-folder-modal-header,
  .agenda-folder-toolbar,
  .agenda-folder-modal-actions { flex-direction: column; align-items: stretch; }
}

@media (max-width: 900px) {
  .site-sidebar {
    transform: translateX(-100%);
    z-index: 950;
  }
  .site-sidebar.open { transform: translateX(0); }
  .site-main { margin-left: 0; padding: 24px 20px; }
  .site-footer { margin-left: 0; padding: 16px 20px; }
  .btn-hamburger { display: flex; }
  .hero-search { padding: 32px 20px; }
  .hero-search h1 { font-size: 20px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-user-info {
    max-width: 220px;
  }
  .search-page-toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .quick-grid { grid-template-columns: 1fr; }
  .timing-grid { grid-template-columns: 1fr; }
  .template-grid { grid-template-columns: 1fr; }
  .doc-workflow-head { flex-direction: column; }
  .doc-workflow-steps { justify-content: flex-start; }
  .site-main { padding: 16px 14px; }
  .page-title { font-size: 20px; }
  .auth-card {
    padding: 32px 22px;
  }
  .auth-card h1 {
    font-size: 24px;
  }
  .auth-user-info {
    display: none;
  }
  .search-page-item {
    padding: 18px 16px;
  }
  .search-page-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================================
   UTILITIES
=================================== */
.text-primary { color: var(--primary); }
.text-muted    { color: var(--text-muted); }
.text-sub      { color: var(--text-sub); }
.fw-bold       { font-weight: 700; }
.fw-semibold   { font-weight: 600; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ===================================
   PRINT
=================================== */
@media print {
  .site-header, .site-sidebar, .site-footer, .btn-hamburger { display: none; }
  .site-main { margin: 0; padding: 20px; }
}
