:root {
      /* ════════════════════════════════════════
         色彩計畫 (Ink System)
      ════════════════════════════════════════ */
      --ink-950: #060D1A;
      --ink-900: #0F172A;
      --ink-800: #1E293B;
      --ink-700: #334155;
      --ink-600: #475569;
      --ink-500: #64748B;
      --ink-400: #94A3B8;
      --ink-300: #CBD5E1;
      --ink-200: #E2E8F0;
      --ink-100: #F1F5F9;
      --ink-50:  #F8FAFC;

      --blue-700: #1D4ED8;
      --blue-600: #2563EB;
      --blue-50:  #EFF6FF;

      --amber:    #F59E0B;
      --amber-dark: #D97706;
      --white:    #FFFFFF;

      /* ════════════════════════════════════════
         佈局尺寸 (Layout Variables) - 已微調 Navbar 高度
      ════════════════════════════════════════ */
      --navbar-h: 68px; /* 原為 60px，加高以適應更大的 Logo */
      --sidebar-w: 256px;
      --sidebar-collapsed-w: 64px;

      /* ════════════════════════════════════════
         設計系統元件 (UI Elements)
      ════════════════════════════════════════ */
      --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
      --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.08), 0 2px 4px -1px rgba(15,23,42,0.05);
      --r-sm: 6px;
      --r-md: 8px;
      --r-lg: 12px;
      --r-xl: 16px;

      --font: 'Inter', "Microsoft JhengHei", "微軟正黑體", sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    a { text-decoration: none; color: inherit; }

    body {
      font-family: var(--font);
      background-color: var(--ink-50);
      color: var(--ink-900);
      -webkit-font-smoothing: antialiased;
      display: flex; flex-direction: column;
      height: 100vh; overflow: hidden;
    }

    /* ════════════════════════════════════════
       NAVBAR - 已優化 Logo 佈局
    ════════════════════════════════════════ */
    .navbar {
      height: var(--navbar-h);
      background: var(--white);
      border-bottom: 1px solid var(--ink-200);
      display: flex; align-items: center;
      padding: 0 24px;
      flex-shrink: 0; z-index: 100;
      box-shadow: var(--shadow-sm);
    }

    /* Logo 連結區域 */
    .nav-logo { display: flex; align-items: center; gap: 12px; } /* gap 從 10px 微調至 12px，更開闊 */

    /* Logo 圖片本身的尺寸 - 根據裁剪後無留白的圖優化 */
    .nav-logo-mark {
      height: 54px; /* 根據裁剪後的圖微調至 54px，在 68px Navbar 中展現金字塔氣勢 */
      width: auto; /* 保持原圖比例 */
      display: block; flex-shrink: 0;
      /* 若圖片上方仍有極小留白，可偷偷使用負 margin 來視覺補償，例如：margin-top: -2px; */
    }

    /* 文字組 */
    .nav-title-group { display: flex; flex-direction: column; }
    .nav-title-main { font-size: 14px; font-weight: 800; color: var(--ink-900); line-height: 1.2; letter-spacing: 0.02em; } /* 加重磅數(800)並微調字距，匹配 Logo 氣勢 */
    .nav-title-sub  { font-size: 11px; color: var(--ink-500); line-height: 1.2; }

    /* 分隔線 */
    .nav-sep { width: 1px; height: 28px; background: var(--ink-200); margin: 0 28px; flex-shrink: 0; } /* 稍微加長分隔線匹配加高的 Navbar */

    /* 其他 Navbar 元件保持原樣 ... */
    .nav-links { display: flex; gap: 4px; }
    .nav-links a {
      padding: 6px 12px; font-size: 14px; font-weight: 500;
      color: var(--ink-600); border-radius: var(--r-md); transition: all 0.15s;
    }
    .nav-links a:hover { color: var(--ink-900); background: var(--ink-100); }
    .nav-links a.active { color: var(--blue-600); font-weight: 600; background: var(--blue-50); }

    /* 下拉選單 */
    .nav-dropdown { position: relative; display: flex; align-items: center; }
    .nav-dropdown > a { cursor: pointer; user-select: none;
      padding: 6px 12px; font-size: 14px; font-weight: 500;
      color: var(--ink-600); border-radius: var(--r-md); transition: all 0.15s; }
    .nav-dropdown:hover > a { color: var(--ink-900); background: var(--ink-100); }
    .nav-dropdown-menu {
      display: none; position: absolute; top: 100%; left: 0;
      background: #fff; border: 1px solid var(--ink-200); border-radius: var(--r-md);
      box-shadow: 0 4px 16px rgba(0,0,0,.10); min-width: 200px; z-index: 999;
      padding: 4px 0; padding-top: 8px; margin-top: 0;
    }
    .nav-dropdown-menu::before {
      content: ''; display: block; height: 4px; margin-top: -4px;
    }
    .nav-dropdown:hover .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a {
      display: block; padding: 8px 16px; font-size: 14px;
      color: var(--ink-700); white-space: nowrap; border-radius: 0;
    }
    .nav-dropdown-menu a:hover { background: var(--ink-50); color: var(--ink-900); }

    .nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
    .nav-user { font-size: 13px; font-weight: 500; color: var(--ink-600); display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; }
    .nav-user::before { content: '\F4DA'; font-family: 'bootstrap-icons'; font-size: 16px; color: var(--ink-400); }

    .btn-outline {
      padding: 6px 16px; font-size: 13px; font-weight: 600;
      color: var(--ink-700); border: 1px solid var(--ink-300);
      border-radius: var(--r-md); background: transparent; cursor: pointer; transition: all 0.15s;
    }
    .btn-outline:hover { background: var(--ink-50); border-color: var(--ink-400); }

    .btn-solid {
      padding: 6px 20px; font-size: 13px; font-weight: 600;
      color: var(--white); background: var(--amber);
      border: 1px solid var(--amber); border-radius: var(--r-md);
      cursor: pointer; transition: all 0.15s; box-shadow: var(--shadow-sm);
      display: flex; align-items: center; gap: 6px;
    }
    .btn-solid:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

    /* ════════════════════════════════════════
       PAGE WRAPPER & 其他樣式 - 保持原樣 (省略以節省空間) ...
    ════════════════════════════════════════ */
    .page-wrapper { display: flex; flex: 1; overflow: hidden; }

    /* SIDEBAR */
    .sidebar {
      width: var(--sidebar-w);
      background: var(--white);
      border-right: 1px solid var(--ink-200);
      display: flex; flex-direction: column; flex-shrink: 0;
      transition: width 0.28s cubic-bezier(0.4,0,0.2,1);
      overflow: hidden;
    }
    .sidebar-toggle-row {
      display: flex; justify-content: flex-end;
      padding: 10px 12px; border-bottom: 1px solid var(--ink-100); flex-shrink: 0;
    }
    .sidebar-toggle {
      width: 28px; height: 28px;
      display: flex; align-items: center; justify-content: center;
      background: transparent; border: 1px solid var(--ink-200);
      border-radius: var(--r-sm); cursor: pointer; color: var(--ink-500); transition: all 0.15s;
    }
    .sidebar-toggle:hover { background: var(--ink-50); color: var(--ink-900); border-color: var(--ink-300); }
    .sidebar-toggle i { font-size: 12px; transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); }
    .sidebar-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 12px 10px; }
    .sidebar-nav::-webkit-scrollbar { width: 4px; }
    .sidebar-nav::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 4px; }
    .sidebar-section-title {
      font-size: 10.5px; font-weight: 700; color: var(--ink-400);
      letter-spacing: 0.07em; text-transform: uppercase;
      padding: 8px 10px 6px; white-space: nowrap; transition: opacity 0.15s;
    }
    .nav-item {
      display: flex; align-items: center; gap: 10px; padding: 9px 10px;
      border-radius: var(--r-md); color: var(--ink-600); font-weight: 500; font-size: 14px;
      margin-bottom: 2px; cursor: pointer; transition: all 0.15s;
      white-space: nowrap; position: relative;
    }
    .nav-item:hover { background: var(--ink-50); color: var(--ink-900); }
    .nav-item.active { background: #FFF9EC; color: var(--amber-dark); font-weight: 600; }
    .nav-item.active::before {
      content: ''; position: absolute; left: 0; top: 18%; bottom: 18%;
      width: 3px; background: var(--amber); border-radius: 0 3px 3px 0;
    }
    .nav-item i { font-size: 15px; flex-shrink: 0; }
    .nav-label { transition: opacity 0.15s; }
    .nav-divider { height: 1px; background: var(--ink-100); margin: 8px 0; border: none; }

    /* 側欄 accordion */
    .sidebar-group { }
    .sidebar-group-header { cursor: pointer; justify-content: space-between; }
    .sidebar-chevron { font-size: 11px !important; margin-left: auto; transition: transform 0.2s; flex-shrink: 0; }
    .sidebar-group.open > .sidebar-group-header .sidebar-chevron { transform: rotate(90deg); }
    .sidebar-sub { display: none; padding-left: 12px; }
    .sidebar-group.open > .sidebar-sub { display: block; }
    .sidebar-sub-item {
      display: block; padding: 5px 10px 5px 24px; font-size: 13.5px;
      color: var(--ink-500); border-radius: var(--r-md); cursor: pointer;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      transition: all 0.15s; border-left: 2px solid var(--ink-200); margin: 1px 0;
    }
    .sidebar-sub-item:hover { color: var(--ink-900); background: var(--ink-50); border-left-color: var(--amber); }
    .sidebar-sub-item.active { color: var(--amber-dark); font-weight: 600; border-left-color: var(--amber); background: #FFF9EC; }
    /* 章節標題列（無 URL，視覺上分組底下的葉子項；不可點） */
    .sidebar-section-label {
      display: block; padding: 8px 10px 4px 14px;
      font-size: 11.5px; font-weight: 600; color: var(--ink-500);
      text-transform: none; letter-spacing: 0.02em;
      cursor: default; user-select: none;
      margin-top: 4px;
      border-top: 1px dashed var(--ink-200);
    }
    .sidebar-section-label:first-child { border-top: none; margin-top: 0; }
    body.sidebar-collapsed .sidebar-sub { display: none !important; }
    body.sidebar-collapsed .sidebar-chevron { display: none; }

    .sidebar-footer { padding: 16px 18px; border-top: 1px solid var(--ink-100); }
    .sidebar-footer-info { font-size: 11px; color: var(--ink-400); line-height: 1.65; }

    /* 收合狀態 */
    body.sidebar-collapsed .sidebar { width: var(--sidebar-collapsed-w); }
    body.sidebar-collapsed .sidebar-toggle-row { justify-content: center; }
    body.sidebar-collapsed .sidebar-toggle i { transform: rotate(180deg); }
    body.sidebar-collapsed .sidebar-section-title { opacity: 0; height: 0; padding: 0; margin: 0; overflow: hidden; }
    body.sidebar-collapsed .nav-label { opacity: 0; width: 0; overflow: hidden; }
    body.sidebar-collapsed .nav-item { padding: 10px 0; justify-content: center; gap: 0; }
    body.sidebar-collapsed .nav-divider { margin: 4px 0; }
    body.sidebar-collapsed .sidebar-footer { opacity: 0; pointer-events: none; }
    body.sidebar-collapsed .nav-item[data-tip]:hover::after {
      content: attr(data-tip);
      position: absolute; left: calc(var(--sidebar-collapsed-w) - 2px);
      top: 50%; transform: translateY(-50%);
      background: var(--ink-900); color: var(--white);
      font-size: 13px; font-weight: 500; padding: 5px 12px;
      border-radius: 0 var(--r-md) var(--r-md) 0;
      white-space: nowrap; z-index: 200; box-shadow: var(--shadow-md); pointer-events: none;
    }

    /* ── 白色 Tooltip（JS 控制，掛在 body，繞開 overflow:hidden）── */
    #js-tooltip {
      position: fixed; z-index: 9999; pointer-events: none;
      background: #fff; color: #111;
      font-size: 12px; font-weight: 500; padding: 5px 12px;
      border-radius: 6px; border: 1px solid #e5e7eb;
      box-shadow: 0 4px 16px rgba(0,0,0,.12);
      white-space: nowrap;
      opacity: 0; transition: opacity .1s;
    }

    /* MAIN CONTENT & HERO ... 省略 ... */
    .main-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; background: var(--ink-50); }
    .main-content::-webkit-scrollbar { width: 8px; }
    .main-content::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 4px; }
    .hero { position: relative; min-height: calc(100vh - var(--navbar-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; flex-shrink: 0; }
    .hero-bg { position: absolute; inset: 0; background-image: url('/images/school.jpg'); background-size: cover; background-position: center 45%; transform: scale(1.03); transition: transform 10s ease; }
    .hero:hover .hero-bg { transform: scale(1.0); }
    .hero-scrim { position: absolute; inset: 0; background: linear-gradient(108deg, rgba(6, 13, 26, 0.86) 0%, rgba(10, 22, 50, 0.68) 45%, rgba(6, 13, 26, 0.38) 100%); }
    .hero-scrim-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(to top, rgba(6,13,26,0.55), transparent); }
    .hero-content { position: relative; z-index: 2; padding: 80px 60px 160px; width: 100%; max-width: 1000px; }
    .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.07); backdrop-filter: blur(12px); margin-bottom: 24px; }
    .hero-eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; animation: pulse 2s ease-in-out infinite; }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
    .hero-eyebrow span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.82); letter-spacing: 0.02em; }
    .hero-title { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; color: var(--white); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 12px; }
    .hero-title .accent { color: transparent; background: linear-gradient(90deg, #FBD38D, var(--amber)); -webkit-background-clip: text; background-clip: text; }
    .hero-sub { font-size: 16px; color: rgba(255,255,255,0.60); letter-spacing: 0.04em; margin-bottom: 20px; }
    .hero-desc { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 480px; margin-bottom: 40px; }
    .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .btn-hero-primary { padding: 12px 28px; background: var(--amber); color: var(--ink-950); font-size: 15px; font-weight: 700; border-radius: 100px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; box-shadow: 0 4px 16px rgba(245,158,11,0.40); }
    .btn-hero-primary:hover { transform: translateY(-2px); background: #FAC030; box-shadow: 0 6px 24px rgba(245,158,11,0.50); }
    .btn-hero-ghost { padding: 11px 24px; background: rgba(255,255,255,0.08); color: var(--white); font-size: 15px; font-weight: 500; border-radius: 100px; border: 1px solid rgba(255,255,255,0.22); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; backdrop-filter: blur(8px); }
    .btn-hero-ghost:hover { background: rgba(255,255,255,0.16); }
    .hero-stats { position: absolute; bottom: 40px; left: 60px; right: 60px; display: flex; gap: 1px; z-index: 2; max-width: 880px; }
    .hero-stat-pill { flex: 1; background: rgba(255,255,255,0.08); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.12); padding: 20px 24px; transition: background 0.2s; }
    .hero-stat-pill:first-child { border-radius: var(--r-xl) 0 0 var(--r-xl); }
    .hero-stat-pill:last-child { border-radius: 0 var(--r-xl) var(--r-xl) 0; }
    .hero-stat-pill:hover { background: rgba(255,255,255,0.13); }
    .hero-stat-pill .num { font-size: 24px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
    .hero-stat-pill .lab { font-size: 12px; color: rgba(255,255,255,0.60); }

    /* ════════════════════════════════════════
       校務資訊整合架構 banner + lightbox
    ════════════════════════════════════════ */
    .arch-section { padding: 40px 60px 0; flex-shrink: 0; }
    .arch-card {
      display: flex; align-items: stretch; gap: 24px;
      background: var(--white); border: 1px solid var(--ink-200);
      border-radius: var(--r-lg); padding: 20px;
      box-shadow: var(--shadow-sm);
      cursor: pointer; transition: all 0.2s;
      outline: none;
    }
    .arch-card:hover,
    .arch-card:focus-visible {
      border-color: var(--amber);
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }
    .arch-thumb {
      position: relative;
      flex: 0 0 320px;
      aspect-ratio: 16 / 10;
      border-radius: var(--r-md); overflow: hidden;
      background: var(--ink-100);
      display: flex; align-items: center; justify-content: center;
    }
    .arch-thumb img {
      display: block; width: 100%; height: 100%;
      object-fit: contain; padding: 6px;
    }
    .arch-thumb-overlay {
      position: absolute; inset: 0;
      background: rgba(15,23,42,0.62); color: var(--white);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 8px; opacity: 0; transition: opacity 0.2s;
      font-size: 13px; font-weight: 600;
    }
    .arch-thumb-overlay i { font-size: 28px; }
    .arch-card:hover .arch-thumb-overlay,
    .arch-card:focus-visible .arch-thumb-overlay { opacity: 1; }
    .arch-info {
      flex: 1; display: flex; flex-direction: column;
      justify-content: center; gap: 10px; min-width: 0;
    }
    .arch-eyebrow {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 700; color: var(--amber-dark);
      text-transform: uppercase; letter-spacing: 0.08em;
    }
    .arch-title { font-size: 20px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; }
    .arch-desc { font-size: 15px; color: var(--ink-600); line-height: 1.75; }

    /* Lightbox */
    .arch-modal {
      position: fixed; inset: 0; z-index: 9998;
      background: rgba(6,13,26,0.86);
      backdrop-filter: blur(4px);
      display: flex; align-items: center; justify-content: center;
      padding: 40px; cursor: zoom-out;
      animation: archFadeIn 0.18s ease-out;
    }
    .arch-modal[hidden] { display: none; }
    .arch-modal-img {
      max-width: 100%; max-height: 100%;
      border-radius: var(--r-md);
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
      cursor: default;
    }
    .arch-modal-close {
      position: fixed; top: 20px; right: 24px;
      width: 44px; height: 44px; border-radius: 50%;
      background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
      color: var(--white); font-size: 16px;
      cursor: pointer; display: flex; align-items: center; justify-content: center;
      transition: background 0.15s;
    }
    .arch-modal-close:hover { background: rgba(255,255,255,0.22); }
    @keyframes archFadeIn { from { opacity: 0; } to { opacity: 1; } }

    /* DASHBOARD AREA ... 省略 ... */
    .dashboard-area { padding: 48px 60px 80px; flex: 1; }
    .dash-header { margin-bottom: 22px; }
    .breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-500); margin-bottom: 6px; }
    .breadcrumb .current { color: var(--amber-dark); font-weight: 600; }
    .breadcrumb i { font-size: 10px; color: var(--ink-300); }
    .page-title { font-size: 24px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.02em; }
    .tab-strip-wrap { position: relative; display: flex; align-items: center; gap: 4px; margin-bottom: 24px; }
    .tab-strip-arrow { flex-shrink: 0; width: 28px; height: 28px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); color: var(--ink-500); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.15s; }
    .tab-strip-arrow:hover { background: var(--ink-50); color: var(--ink-900); }
    .tab-strip-arrow:disabled { opacity: 0.3; cursor: default; }
    .tab-strip { display: flex; gap: 4px; padding: 4px; background: var(--ink-100); border-radius: var(--r-lg); overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
    .tab-strip::-webkit-scrollbar { display: none; }
    .tab-btn { position: relative; padding: 5px 14px; font-size: 14px; font-weight: 500; color: var(--ink-600); border: none; border-radius: var(--r-md); background: transparent; cursor: pointer; transition: all 0.15s; white-space: nowrap; flex-shrink: 0; }
    .tab-btn.active { background: var(--white); color: var(--ink-900); font-weight: 600; box-shadow: var(--shadow-sm); }
    .tab-btn:not(.active):hover { color: var(--ink-900); background: var(--ink-200); }
    /* 章節標籤：嵌在 tab strip 葉子項之間的小標籤，視覺極簡，不可點 */
    .tab-section-label {
      display: inline-flex; align-items: center;
      padding: 0 4px; gap: 6px;
      font-size: 11px; font-weight: 500;
      color: var(--ink-400); white-space: nowrap;
      cursor: default; user-select: none; flex-shrink: 0;
      opacity: 0.8;
    }
    /* 標籤前面用一個小直線當分隔，比 border 還輕 */
    .tab-section-label::before {
      content: ''; display: inline-block;
      width: 1px; height: 11px; background: var(--ink-300);
    }
    /* Tab tooltip 由 JS 統一處理（#js-tooltip） */
    .dash-chrome { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--ink-200); box-shadow: var(--shadow-md); overflow: hidden; min-height: 580px; display: flex; flex-direction: column; }
    .dash-chrome-bar { height: 42px; background: var(--ink-50); border-bottom: 1px solid var(--ink-200); display: flex; align-items: center; padding: 0 16px; gap: 12px; flex-shrink: 0; }
    .chrome-dots { display: flex; gap: 6px; }
    .chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
    .chrome-dot:nth-child(1) { background: #FCA5A5; }
    .chrome-dot:nth-child(2) { background: #FDE047; }
    .chrome-dot:nth-child(3) { background: #86EFAC; }
    .chrome-url { flex: 1; max-width: 380px; height: 26px; background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-500); font-family: monospace; overflow: hidden; padding: 0 10px; white-space: nowrap; text-overflow: ellipsis; }
    .iframe-content { flex: 1; position: relative; background: var(--white); }
    .iframe-content iframe { width: 100%; height: 100%; border: none; }
    .iframe-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-400); gap: 12px; }
    .iframe-placeholder i { font-size: 44px; color: var(--ink-200); }
    .iframe-placeholder h3 { font-size: 17px; font-weight: 600; color: var(--ink-600); }
    .iframe-placeholder p { font-size: 13px; color: var(--ink-400); }
    .dash-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--ink-400); }

    /* SITE FOOTER - 已優化 Logo 佈局 */
    .site-footer {
      background: var(--white);
      border-top: 1px solid var(--ink-200);
      padding: 36px 60px;
      display: flex; flex-wrap: wrap; gap: 40px;
      justify-content: space-between;
    }
    .footer-brand { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
    .footer-logo-mark {
      height: 60px; /* 頁尾 Logo 可以稍微大一點 */
      width: auto;
      display: block; flex-shrink: 0;
    }
    .footer-brand-name { font-size: 15px; font-weight: 700; color: var(--ink-800); }
    .footer-copy { font-size: 12px; color: var(--ink-500); line-height: 1.9; }
    .footer-copy a { color: var(--amber-dark); }
    .footer-copy a:hover { text-decoration: underline; }
    .footer-about { font-size: 11px; color: var(--ink-400); line-height: 1.7; margin-top: 10px; max-width: 220px; }

    .footer-col-title { font-size: 10.5px; font-weight: 700; color: var(--ink-400); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
    .footer-links { display: flex; flex-direction: column; gap: 6px; }
    .footer-link { font-size: 13px; color: var(--ink-600); transition: color 0.15s; }
    .footer-link:hover { color: var(--amber-dark); }

    .footer-bottom { border-top: 1px solid var(--ink-100); padding: 14px 60px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--ink-400); background: var(--white); }

    /* RWD */
    @media (max-width: 1024px) {
      .hero-content { padding: 60px 40px 160px; }
      .hero-stats { left: 40px; right: 40px; bottom: 30px; flex-wrap: wrap; }
      .hero-stat-pill { flex: 1 0 40%; }
      .hero-stat-pill:first-child { border-radius: var(--r-lg) 0 0 0; }
      .hero-stat-pill:last-child { border-radius: 0 0 var(--r-lg) 0; }
      .dashboard-area { padding: 32px 40px; }
      .arch-section { padding: 32px 40px 0; }
      .site-footer { padding: 28px 40px; gap: 28px; }
      .footer-bottom { padding: 12px 40px; }
    }
    @media (max-width: 768px) {
      .sidebar { position: absolute; z-index: 50; transform: translateX(-100%); transition: transform 0.28s ease; }
      body.sidebar-open .sidebar { transform: translateX(0); }
      .hero-title { font-size: 36px; }
      .hero-stats { display: none; }
      .arch-section { padding: 24px; }
      .arch-card { flex-direction: column; gap: 14px; padding: 16px; }
      .arch-thumb { flex: none; width: 100%; }
      .arch-title { font-size: 17px; }
      .arch-modal { padding: 16px; }
      .arch-modal-close { top: 12px; right: 12px; width: 38px; height: 38px; }
      .dashboard-area { padding: 24px; }
      .site-footer { padding: 24px; flex-direction: column; gap: 20px; }
      .footer-bottom { padding: 12px 24px; }
      .nav-sep { margin: 0 16px; } /* 手機版縮小間距 */
      .nav-links { display: none; } /* 手機版隱藏連結 */
      .nav-user { display: none; }  /* 手機版隱藏使用者名稱（空間不夠） */
    }