    * { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --qq-blue-1: #5C7EC9;
      --qq-blue-2: #6D8FD6;
      --active-blue: #4A72D0;
      --white-95: rgba(255,255,255,0.95);
      --white-85: rgba(255,255,255,0.85);
      --white-70: rgba(255,255,255,0.70);
      --white-55: rgba(255,255,255,0.55);
      --hover-white: rgba(255,255,255,0.14);
      --divider: #F0F1F4;
      --border: #E3E6EB;
      --text-1: #1F2329;
      --text-2: #51565F;
      --text-3: #8F959E;
      --green: #23B26D;
      --red: #E5484D;
      --gold: #F7BA1E;
    }

    /* ===== Ò³ÃæÕûÌå¹ö¶¯£¨²àÀ¸ËæÒ³Ãæ¹ö¶¯£© ===== */
    html { scroll-behavior: smooth; scrollbar-gutter: stable; } /* gutter reserved: no layout shift when scrollbar appears/disappears (2026-10-27) */
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
      background: #E9EDF4;
      color: var(--text-1);
      font-size: 14px;
      min-height: 100vh;
      overflow-y: auto;
    }

    .app-shell {
      max-width: 1366px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      background: var(--qq-blue-1);
      box-shadow: 0 0 48px rgba(30, 55, 120, 0.20);
      position: relative;
      min-height: 100vh;
    }

    /* ===== ¶¥²¿µ¼º½ ===== */
    .header {
      height: 56px; flex-shrink: 0;
      background: linear-gradient(90deg, var(--qq-blue-1) 240px, var(--qq-blue-2) 100%); /* gradient to right: solid over 240px nav zone, right end = .main right color (2026-10-27) */
      display: flex; align-items: center;
      padding: 0 16px;
      position: sticky; top: 0; z-index: 260; /* sticky: keep top bar fixed while scrolling (2026-10-27) */
      color: #fff;
    }

    .menu-toggle {
      display: none;
      background: transparent; border: none; cursor: pointer;
      width: 36px; height: 36px;
      align-items: center; justify-content: center;
      border-radius: 8px; color: #fff;
      transition: background 0.15s;
    }
    .menu-toggle:hover { background: var(--hover-white); }

    .logo {
      position: absolute; left: 120px; transform: translateX(-50%);
      display: flex; align-items: center; gap: 8px;
      cursor: pointer; user-select: none; white-space: nowrap;
    }
    .logo-mark {
      font-family: Arial, Helvetica, sans-serif;
      font-size: 24px; font-weight: 800;
      letter-spacing: -1px; line-height: 1;
    }
    .logo-mark i { font-style: normal; }
    .c-red  { color: #FF7A5C; }
    .c-gold { color: #FFC53D; }
    .c-green{ color: #5CDB8A; }
    .c-sep  { color: var(--white-55); font-weight: 400; }
    .c-white{ color: #fff; }
    .logo-text { font-size: 17px; font-weight: 700; color: #fff; }

    .user-wrap { position: relative; width: 220px; margin-left: auto; }

    .user-info {
      width: 100%;
      display: flex; align-items: center; gap: 8px;
      cursor: pointer; padding: 3px 9px;
      border-radius: 18px;
      border: 1px solid rgba(255,255,255,0.40);
      background: rgba(255,255,255,0.08);
      transition: background 0.15s, border-color 0.15s;
      user-select: none; color: #fff;
    }
    .user-info:hover, .user-info.open {
      background: rgba(255,255,255,0.16);
      border-color: rgba(255,255,255,0.65);
    }
    .user-avatar {
      width: 30px; height: 30px; border-radius: 50%;
      background: #4A72D0;
      color: #fff; font-size: 13px; font-weight: 600;
      display: flex; align-items: center; justify-content: center;
    }
    .user-name { font-weight: 600; color: #fff; }
    .vip-badge {
      margin-left: auto;
      font-size: 11px; line-height: 1;
      padding: 3px 7px; border-radius: 9px;
      color: #fff; background: linear-gradient(90deg, #FFA23E, #FF7A1A);
    }
    .caret { color: var(--white-85); transition: transform 0.2s; }
    .user-info.open .caret { transform: rotate(180deg); }

    .user-menu {
      position: absolute; top: calc(100% + 8px); right: 0;
      width: 222px;
      background: #fff; border-radius: 12px;
      box-shadow: 0 10px 32px rgba(31,50,88,0.16), 0 2px 8px rgba(31,50,88,0.08);
      padding: 6px; display: none; z-index: 300;
    }
    .user-menu.open { display: block; animation: umIn 0.16s ease; }
    @keyframes umIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

    .um-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 12px; }

    .um-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: #4A72D0;
      color: #fff; font-size: 16px; font-weight: 600;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .um-info { min-width: 0; flex: 1; }
    .um-name-row { display: flex; align-items: center; gap: 8px; justify-content: flex-end; width: 100%; }
    
        .um-name { font-size: 15px; font-weight: 700; color: #1F2329; }
    .um-vip {
      font-size: 11px; line-height: 1; color: #fff;
      background: linear-gradient(90deg, #FFA23E, #FF7A1A);
      padding: 3px 7px; border-radius: 9px;
      white-space: nowrap;
    }
    .um-mail-row { display: flex; align-items: center; gap: 5px; margin-top: 4px; min-width: 0; justify-content: flex-end; width: 100%; }       
    .um-mail { font-size: 12.5px; color: #7A8290; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .um-copy {
      display: flex; align-items: center;
      background: transparent; border: none; cursor: pointer;
      color: #9AA0AB; padding: 2px; border-radius: 4px;
    }
    .um-copy:hover { color: var(--active-blue); background: #F2F5FB; }

    .um-divider { height: 1px; background: var(--divider); margin: 4px 8px; }

    .um-item {
      display: flex; align-items: center; gap: 10px;
      height: 36px; padding: 0 12px;
      border-radius: 8px; cursor: pointer;
      font-size: 14px; color: #23272F;
      transition: background 0.12s;
      user-select: none;
    }
    .um-item:hover { background: #F4F6F9; }
    .um-item svg { color: #7A8290; }

    .um-footer { display: flex; align-items: center; justify-content: flex-end; padding-top: 2px; }

    /* ===== ÕËºÅÇÐ»»£¨²Ëµ¥ÄÚÇ¶Õ¹¿ªÊ½£© ===== */
    .um-switch { padding: 2px 0; }
    .usw-head {
      display: flex; align-items: center; gap: 10px;
      height: 36px; padding: 0 12px;
      border-radius: 8px; cursor: pointer; user-select: none;
      font-size: 14px; color: #23272F;
      transition: background 0.12s;
    }
    .usw-head:hover { background: #F4F6F9; }
    .usw-head svg { color: #7A8290; }
    .usw-head .chev { margin-left: auto; transition: transform 0.2s; }
    .usw-head.open .chev { transform: rotate(180deg); }

    .usw-list { display: none; padding: 2px 0 2px 12px; }
    .usw-list.open { display: block; }
    .usw-it {
      display: flex; align-items: center; gap: 9px;
      height: 34px; padding: 0 10px;
      border-radius: 8px; cursor: pointer; user-select: none;
      font-size: 14px; color: #23272F;
      transition: background 0.12s;
    }
    .usw-it:hover { background: #F4F6F9; }
    .usw-it.cur { background: #F0F5FF; font-weight: 600; }
    .acc-dot {
      width: 8px; height: 8px; border-radius: 50%;
      border: 1.5px solid #B9C0CB; flex-shrink: 0;
    }
    .usw-it.cur .acc-dot { background: var(--green); border-color: var(--green); }
    .acc-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .usw-x {
      width: 20px; height: 20px; flex-shrink: 0;
      border: none; background: transparent; border-radius: 5px;
      color: #B9C0CB; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; line-height: 1;
      transition: all 0.12s;
    }
    .usw-x:hover { color: #C63B40; background: #FBE9E9; }

    .usw-add {
      display: flex; align-items: center; gap: 10px;
      height: 36px; padding: 0 12px; margin-top: 2px;
      border-radius: 8px; cursor: pointer; user-select: none;
      font-size: 14px; color: #23272F;
      transition: background 0.12s;
    }
    .usw-add:hover { background: #F4F6F9; }
    .usw-add svg { color: #7A8290; }

    /* ===== Ö÷Ìå£º²àÀ¸ËæÒ³Ãæ¹ö¶¯ ===== */
    .main {
      flex: 1;
      display: flex;
      align-items: stretch;
      background: linear-gradient(90deg, var(--qq-blue-1) 0%, var(--qq-blue-2) 100%);
    }

    /* ===== ²à±ßÀ¸ ===== */
    .sidebar {
      width: 240px; flex-shrink: 0;
      background: var(--qq-blue-1); /* solid: no gradient on left nav, exact match with header left zone (2026-10-27) */
      display: flex; flex-direction: column;
      color: #fff;
      padding-bottom: 20px;
    }

    .backdrop {
      display: none;
      position: fixed; top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(15, 30, 60, 0.4);
      z-index: 240;
    }

    .compose-btn {
      margin: 0 12px 10px; height: 38px; flex-shrink: 0;
      background: #fff; color: var(--active-blue);
      border: none; border-radius: 10px;
      font-size: 14px; font-weight: 500; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 1px 3px rgba(30, 55, 120, 0.18);
    }

    .sidebar-menu {
      flex: 1;
      padding: 2px 0 12px;
    }

    .menu-item {
      display: flex; align-items: center; gap: 10px;
      height: 38px; margin: 2px 12px; padding: 0 12px;
      border-radius: 8px; cursor: pointer; user-select: none;
      color: var(--white-95); font-size: 15px; font-weight: 600;
      transition: background 0.15s;
    }
    .menu-item:hover { background: var(--hover-white); }
    .menu-item.active {
      background: #fff; color: var(--active-blue); font-weight: 700;
      box-shadow: 0 1px 4px rgba(30, 55, 120, 0.14);
    }
    .menu-item .mi-icon { color: var(--white-85); }
    .menu-item.active .mi-icon { color: var(--active-blue); }
    .mi-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mi-arrow { color: var(--white-70); transition: transform 0.2s; }
    .menu-item.active .mi-arrow { color: var(--active-blue); }
    .menu-item.expanded .mi-arrow { transform: rotate(90deg); }

    .menu-sub { display: none; padding: 1px 0 5px; }
    .menu-sub.open { display: block; }

    .menu-sub-item {
      display: flex; align-items: center; gap: 9px;
      height: 34px; margin: 1px 12px; padding: 0 12px 0 38px;
      border-radius: 8px; cursor: pointer; user-select: none;
      font-size: 15px; color: var(--white-85);
      transition: background 0.15s;
    }
    .menu-sub-item:hover { background: var(--hover-white); color: #fff; }
    .menu-sub-item.active {
      background: #fff; color: var(--active-blue); font-weight: 500;
      box-shadow: 0 1px 4px rgba(30, 55, 120, 0.14);
    }
    .menu-sub-item .si-icon { color: var(--white-70); }
    .menu-sub-item.active .si-icon { color: var(--active-blue); }
    .si-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .si-badge { font-size: 12px; color: var(--white-70); }
    .menu-sub-item.active .si-badge { color: var(--active-blue); }
    .si-arrow { color: var(--white-70); transition: transform 0.2s; }
    .menu-sub-item.active .si-arrow { color: var(--active-blue); }
    .menu-sub-item.expanded .si-arrow { transform: rotate(90deg); }

    .menu-sub3 { display: none; padding: 1px 0 5px; }
    .menu-sub3.open { display: block; }

    .menu-sub3-item {
      display: flex; align-items: center; gap: 9px;
      height: 32px; margin: 1px 12px; padding: 0 12px 0 52px;
      border-radius: 8px; cursor: pointer; user-select: none;
      font-size: 14px; color: var(--white-85);
      transition: background 0.15s;
    }
    .menu-sub3-item:hover { background: var(--hover-white); color: #fff; }
    .menu-sub3-item.active {
      background: #fff; color: var(--active-blue); font-weight: 500;
      box-shadow: 0 1px 4px rgba(30, 55, 120, 0.14);
    }
    .menu-sub3-item .si-icon { color: var(--white-70); }
    .menu-sub3-item.active .si-icon { color: var(--active-blue); }
    .si-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

    .section-title {
      padding: 16px 24px 6px;
      font-size: 13px; font-weight: 600;
      color: var(--white-55); letter-spacing: 0.5px;
    }

    /* ===== ÓÒ²àÄÚÈÝ ===== */
    .content-wrap { flex: 1; min-width: 0; display: flex; }

    .panel-left {
      flex: 1; min-width: 0;
      background: #fff;
      border-radius: 12px 12px 0 0;
      box-shadow: -2px 0 10px rgba(30, 55, 120, 0.10);
      display: flex; flex-direction: column;
      overflow: visible;
    }

    .edge-strip { width: 14px; flex-shrink: 0; }

    .content-toolbar {
      min-height: 54px; flex-shrink: 0;
      display: flex; align-items: center; gap: 14px;
      padding: 0 20px;
      border-bottom: 1px solid var(--divider);
      flex-wrap: wrap;
    }
    .tt-text { font-size: 17px; font-weight: 600; color: var(--text-1); white-space: nowrap; margin-right: 6px; }

    .toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .toolbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

    .btn-ghost {
      height: 32px; padding: 0 13px;
      background: #fff; border: 1px solid var(--border); border-radius: 6px;
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: var(--text-2); cursor: pointer;
      transition: all 0.15s;
    }
    .btn-ghost:hover { color: var(--text-1); border-color: #C6CDD6; background: #FAFBFC; }

    .btn-primary {
      height: 32px; padding: 0 14px;
      background: var(--active-blue); border: none; border-radius: 6px;
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: #fff; cursor: pointer;
      transition: background 0.15s;
      white-space: nowrap;
    }
    .btn-primary:hover { background: #3D63BF; }

    .filter-select, .filter-input {
      height: 32px;
      border: 1px solid var(--border); border-radius: 6px;
      background: #fff; color: var(--text-2);
      font-size: 13px; font-family: inherit;
      padding: 0 8px; outline: none; cursor: pointer;
      transition: border-color 0.15s;
    }
    .filter-input { cursor: text; width: 220px; }
    .filter-select:hover, .filter-input:hover { border-color: #C6CDD6; }
    .filter-select:focus, .filter-input:focus { border-color: var(--active-blue); color: var(--text-1); }

    /* ===== ÊÓÍ¼ÈÝÆ÷ ===== */
    .content-body {
      flex: 1;
      padding: 24px;
      background: #F9FAFB;
      display: flex;
    }

    .view { display: none; width: 100%; }
    .view.active { display: block; animation: vIn 0.2s ease; }
    @keyframes vIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

    /* ===== Í³¼Æ¿¨Æ¬ ===== */
    .stat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 16px;
    }
    .stat-card {
      background: #fff; border: 1px dashed #D1D5DB; border-radius: 10px;
      padding: 18px 20px;
    }
    .stat-card .sc-label { font-size: 13px; color: var(--text-3); }
    .stat-card .sc-value { font-size: 26px; font-weight: 700; margin-top: 8px; line-height: 1; }
    .stat-card .sc-value small { font-size: 14px; font-weight: 400; color: var(--text-3); margin-left: 4px; }
    .stat-card .sc-foot { font-size: 12px; color: var(--text-3); margin-top: 10px; }
    .stat-card .sc-foot b { font-weight: 600; }
    .stat-card.link { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
    .stat-card.link:hover { border-color: var(--active-blue); box-shadow: 0 4px 14px rgba(58,107,224,0.10); }

    /* ===== ¶¯Ì¬/ÁÐ±í¿¨ ===== */
    .alert-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-bottom: 16px;
    }
    @media (max-width: 900px) { .alert-grid { grid-template-columns: 1fr; } }

    .alert-card {
      background: #fff; border: 1px dashed #D1D5DB; border-radius: 10px;
      padding: 18px 20px;
      display: flex; flex-direction: column; min-width: 0; /* equal 1fr columns: track must not follow min-content (2026-10-27) */
    }
    .alert-card .ac-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; }
    .alert-card .ac-title { font-size: 15px; font-weight: 600; color: var(--text-1); display: flex; align-items: center; gap: 8px; }
    .alert-card .ac-count {
      font-size: 12px; line-height: 1;
      padding: 4px 9px; border-radius: 10px;
      color: #B27208; background: #FBF3DF;
    }
    .ac-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

    .more-link {
      background: transparent; border: none; cursor: pointer;
      font-size: 13px; color: var(--active-blue);
      padding: 2px 6px; border-radius: 4px;
      transition: background 0.12s;
    }
    .more-link:hover { background: #EDF3FE; }

    .alert-list { display: flex; flex-direction: column; flex: 1; }
    .alert-item {
      display: flex; align-items: center; gap: 10px;
      height: 40px;
      border-bottom: 1px solid var(--divider);
      cursor: pointer;
      transition: background 0.12s;
      border-radius: 6px;
      padding: 0 6px; margin: 0 -6px;
    }
    .alert-item:last-child { border-bottom: none; }
    .alert-item:hover { background: #F7F9FC; }
    .alert-item .ai-name {
      flex: 1; min-width: 0;
      font-size: 14px; color: var(--text-1); font-weight: 500;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .alert-item .ai-date { font-size: 13px; color: var(--text-3); flex-shrink: 0; }
    .alert-item .ai-days {
      flex-shrink: 0;
      font-size: 12px; font-weight: 600;
      padding: 3px 8px; border-radius: 9px; line-height: 1;
    }
    .ai-days.soon { color: #B27208; background: #FBF3DF; }

    .feed-item {
      display: flex; align-items: center; gap: 10px;
      height: 40px;
      border-bottom: 1px solid var(--divider);
      padding: 0 2px;
      font-size: 14px;
    }
    .feed-item:last-child { border-bottom: none; }
    .feed-item .ai-name {
      flex: 1; min-width: 0;
      font-size: 14px; color: var(--text-1); font-weight: 500;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .feed-item .ai-date { font-size: 13px; color: var(--text-3); flex-shrink: 0; }
    .oni-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--active-blue); flex-shrink: 0; }

    .st-badge { display: inline-block; font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: 10px; flex-shrink: 0; }
    .st-badge.ok   { color: #157A4C; background: #E4F6EC; }
    .st-badge.warn { color: #B27208; background: #FBF3DF; }
    .st-badge.err  { color: #C63B40; background: #FBE9E9; }
    .st-badge.off  { color: #6B7280; background: #F2F3F5; }
    .st-badge.info { color: #2C5CC5; background: #EAF0FC; }

    .card {
      width: 100%;
      background: #fff; border: 1px dashed #D1D5DB; border-radius: 10px;
      overflow: hidden;
    }

    /* ===== ÏîÄ¿ÁÐ±íÍ¨ÓÃ ===== */
    .ledger-head {
      display: flex; align-items: center; gap: 14px;
      padding: 16px 20px 12px;
      flex-wrap: wrap;
    }
    .lh-title { font-size: 16px; font-weight: 700; color: var(--text-1); white-space: nowrap; }
    .ledger-head .spacer { flex: 1; }

    .filter-row {
      display: flex; align-items: center; gap: 10px;
      padding: 0 20px 12px;
      border-bottom: 1px solid var(--divider);
      flex-wrap: wrap;
    }
    .filter-row .spacer { flex: 1; }

    .filter-group {
      display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
    }
    .fg-btn {
      height: 32px; padding: 0 14px;
      background: #fff; border: none; border-right: 1px solid var(--border);
      font-size: 13px; font-family: inherit; color: var(--text-2);
      cursor: pointer; transition: background 0.12s, color 0.12s;
      white-space: nowrap;
    }
    .fg-btn:last-child { border-right: none; }
    .fg-btn:hover { background: #F4F6F9; }
    .fg-btn.on { background: var(--active-blue); color: #fff; font-weight: 600; }
    .fg-btn .cnt { opacity: .75; font-size: 12px; margin-left: 3px; }

    .tscroll { overflow-x: auto; }
    .tscroll::-webkit-scrollbar { height: 8px; }
    .tscroll::-webkit-scrollbar-track { background: #F5F6F8; border-radius: 4px; }
    .tscroll::-webkit-scrollbar-thumb { background: #D0D5DC; border-radius: 4px; }
    table.tlist { width: 100%; border-collapse: collapse; min-width: 900px; }
    .tlist th {
      text-align: left; font-size: 13px; font-weight: 600; color: var(--text-3);
      padding: 11px 14px; border-bottom: 1px solid var(--divider);
      background: #FAFBFC; white-space: nowrap;
    }
    .tlist td {
      padding: 10px 14px; border-bottom: 1px solid var(--divider);
      font-size: 14px; color: var(--text-1);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .tlist tbody tr:last-child td { border-bottom: none; }
    .tlist tbody tr { cursor: pointer; transition: background 0.12s; }
    .tlist tbody tr:hover { background: #F7F9FC; }
    .tlist tbody tr.dragging { opacity: 0.45; background: #EDF3FE; }
    .tlist tbody tr.drag-over td { border-top: 2px solid var(--active-blue); }
    .tlist tbody tr.row-drop td { color: var(--text-3); }
    .tlist tbody tr.row-drop .tn { color: var(--text-2); }
    .tn { font-weight: 600; }
    .tsub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
    .stale {
      font-size: 11px; color: #C63B40; background: #FBE9E9;
      border-radius: 8px; padding: 2px 6px; margin-left: 6px;
    }

    .stale.s2 { color: #C05621; background: #FBEADF; }   /* ³¬°ëÄê¡¤³È */
    .stale.s3 { color: #C63B40; background: #FBE9E9; }   /* ³¬1Äê¡¤ºì */



    .pin-badge {
      font-size: 11px; color: #B27208; background: #FBF3DF;
      border-radius: 8px; padding: 2px 6px; margin-left: 6px;
    }
    .btn-mini {
      height: 26px; padding: 0 10px;
      background: #F5F6F8; border: 1px solid var(--border); border-radius: 4px;
      font-size: 12.5px; color: var(--text-2); cursor: pointer;
      transition: all 0.12s; margin-right: 6px;
    }
    .btn-mini:last-child { margin-right: 0; }
    .btn-mini:hover { background: #EEEFF2; color: var(--text-1); }
    .btn-mini.pri { color: var(--active-blue); border-color: #C9D7F5; background: #F3F7FE; }
    .btn-mini.pri:hover { background: #E8F0FD; }
    .btn-mini.dgr { color: #C63B40; border-color: #F0CBCB; background: #FDF4F4; }
    .btn-mini.dgr:hover { background: #FBE9E9; }
    .btn-mini.icon {
      width: 28px; padding: 0;
      display: inline-flex; align-items: center; justify-content: center;
      vertical-align: middle;
    }
    .btn-mini.icon svg { display: block; }
    .btn-mini.icon.pinned {
      color: #B27208; border-color: #E8D8AC; background: #FBF6E8;
    }
    .btn-mini.icon.pinned:hover { background: #F8F0DB; }
    .empty-cell { text-align: center; color: #A6ADB8; padding: 40px 0 !important; font-size: 13px; cursor: default !important; }
    .empty-cell:hover { background: transparent !important; }

    /* ===== ·ÖÒ³ ===== */
    .pager {
      display: flex; align-items: center; justify-content: flex-end; gap: 6px;
      padding: 12px 20px; border-top: 1px solid var(--divider);
      flex-wrap: wrap;
    }
    .pg-info { font-size: 12.5px; color: var(--text-3); margin-right: 8px; }
    .pg-btn {
      min-width: 30px; height: 28px; padding: 0 10px;
      background: #F5F6F8; border: 1px solid var(--border); border-radius: 4px;
      font-size: 13px; font-family: inherit; color: var(--text-2);
      cursor: pointer; transition: all 0.12s;
    }
    .pg-btn:hover:not(:disabled) { background: #EEEFF2; color: var(--text-1); }
    .pg-btn.on { background: var(--active-blue); color: #fff; border-color: var(--active-blue); font-weight: 600; }
    .pg-btn:disabled { opacity: 0.4; cursor: not-allowed; }

    /* ===== ÏêÇéÒ³Í¨ÓÃ ===== */
    .detail-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
    .d-title { font-size: 20px; font-weight: 700; color: var(--text-1); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .d-sub { font-size: 12.5px; color: var(--text-3); margin-top: 5px; font-family: SFMono-Regular, Consolas, monospace; }
    .d-ops { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
    .dcard {
      background: #fff; border: 1px dashed #D1D5DB; border-radius: 10px;
      padding: 18px 20px; margin-bottom: 14px;
    }
    .dc-title {
      font-size: 15px; font-weight: 600; color: var(--text-1);
      display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .dc-title .spacer { flex: 1; }
    .dc-text { font-size: 13.5px; line-height: 1.9; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
    .dc-text .rd-line, .dc-text p { text-indent: 2em; }

        .kv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 20px; }
    @media (max-width: 1000px) { .kv-grid { grid-template-columns: repeat(2, 1fr); } }
    .kv-grid .k { font-size: 12px; color: var(--text-3); }
    .kv-grid .v { font-size: 13.5px; color: var(--text-1); margin-top: 3px; }
    .kv-label { font-size: 12px; color: var(--text-3); }
    .kv-val { font-size: 13.5px; color: var(--text-1); margin-top: 3px; }

    .tl {
      border: 1px solid var(--divider); border-radius: 8px;
      padding: 2px 14px;
    }
    .tl-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--divider); }
    .tl-item:last-child { border-bottom: none; }
    .tl-date {
      /* Task55：64→78px 容纳年-月-日 10 位等宽字符不折行 */
      width: 78px; flex-shrink: 0; padding-top: 2px;
      /* Task83：white-space:nowrap 兜底——部分手机等宽字体偏宽，日期在连字符处被折成两行 */
      white-space: nowrap;
      font-family: SFMono-Regular, Consolas, monospace; font-size: 12px; color: var(--text-3);
    }
    .tl-text { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-1); line-height: 1.65; }
    .tl-by { font-size: 12px; color: var(--text-3); margin-top: 3px; }
    .tl-ops { display: flex; gap: 6px; flex-shrink: 0; align-items: flex-start; padding-top: 2px; }

    /* Task82：进展主体列（原内联 style="flex:1;min-width:0" 等价迁移为类，
       桌面端渲染不变；移动端三行重排见 @media 768px 的 Task82 段 */
    .tl-main { flex: 1; min-width: 0; }

    .fund-row { display: flex; align-items: center; gap: 18px; padding: 2px 0 14px; flex-wrap: wrap; }
    .fund-nums { display: flex; gap: 22px; font-size: 13px; color: var(--text-2); }
    .fund-nums b { font-size: 17px; color: var(--text-1); font-family: SFMono-Regular, Consolas, monospace; }
    .fund-bar { flex: 1; min-width: 160px; height: 8px; background: #F0F1F4; border-radius: 4px; overflow: hidden; }
    .fund-bar i { display: block; height: 100%; background: var(--active-blue); border-radius: 4px; }
    .fund-pct { font-size: 13px; color: var(--text-3); font-family: SFMono-Regular, Consolas, monospace; }

    /* ===== ¸½¼þ / ÉÏ´« ===== */
    .f-list { display: flex; flex-direction: column; gap: 6px; }
    .f-it {
      display: flex; align-items: center; gap: 8px;
      padding: 7px 10px; background: #F9FAFB;
      border: 1px solid var(--divider); border-radius: 6px;
      font-size: 13px;
    }
    .f-ico {
      flex-shrink: 0; font-size: 10.5px; line-height: 1;
      padding: 3px 6px; border-radius: 4px;
      background: #F2F3F5; color: #6B7280; font-weight: 700;
    }
    .f-ico.pdf { background: #FBE9E9; color: #C63B40; }
    .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-1); }
    .f-size { flex-shrink: 0; color: var(--text-3); font-size: 11.5px; font-family: SFMono-Regular, Consolas, monospace; }
    .up-zone {
      border: 1.5px dashed #C6CDD6; border-radius: 8px;
      padding: 14px; text-align: center;
      color: var(--text-2); cursor: pointer;
      transition: all 0.15s; background: #FAFBFC;
    }
    .up-zone:hover, .up-zone.drag { border-color: var(--active-blue); background: #F3F7FE; }
    .up-zone .up-main { font-size: 13.5px; color: var(--active-blue); font-weight: 600; }
    .up-hint { font-size: 11.5px; color: #A6ADB8; margin-top: 4px; }
    #upList_files { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }


    .f-it { transition: background 0.12s; }
    .f-it.dragging { opacity: 0.45; background: #EDF3FE; }
    .f-it.drag-over { box-shadow: inset 0 2px 0 var(--active-blue); }
    .f-it .drag-handle { cursor: grab; color: #C4CBD6; flex-shrink: 0; user-select: none; }



    /* ===== ¶ÀÁ¢Ô¤ÀÀ²ã ===== */
    .pv-mask {
      position: fixed; inset: 0;
      background: rgba(15, 25, 50, 0.62);
      z-index: 620;
      display: none;
    }
    .pv-mask.open { display: flex; align-items: center; justify-content: center; padding: 3vh 20px; }
    .pv-box {
      width: 1000px; max-width: 97vw; height: 92vh;
      background: #fff; border-radius: 12px;
      display: flex; flex-direction: column; overflow: hidden;
      box-shadow: 0 24px 70px rgba(0,0,0,0.35);
    }
    .pv-head {
      display: flex; align-items: center; gap: 10px;
      padding: 12px 18px; border-bottom: 1px solid var(--divider);
      flex-shrink: 0;
    }
    .pv-title { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pv-bar { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }
    .pv-body { flex: 1; overflow: auto; background: #E8EAEE; padding: 18px; }

    .pv-flex { display: flex; gap: 14px; height: 100%; min-height: 0; }
    .pv-side {
      width: 230px; flex-shrink: 0;
      background: #fff; border-radius: 8px;
      border: 1px solid var(--divider);
      padding: 8px; overflow-y: auto;
    }
    .pv-side-title { font-size: 12px; color: var(--text-3); padding: 6px 8px; }
    .pv-side-item {
      display: flex; align-items: center; gap: 7px;
      padding: 8px 10px; border-radius: 6px;
      font-size: 13px; color: var(--text-1);
      cursor: pointer; transition: background 0.12s;
    }
    .pv-side-item:hover { background: #F4F6F9; }
    .pv-side-item.on { background: #EDF3FE; color: var(--active-blue); font-weight: 600; }
    .pv-side-item .f-ico { flex-shrink: 0; }
    .pv-side-item .ps-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pv-main {
      flex: 1; min-width: 0;
      background: #fff; border-radius: 8px;
      border: 1px solid var(--divider);
      overflow: auto; position: relative;
    }
    .pv-main > iframe { width: 100%; height: 100%; border: none; display: block; }
    .pv-main-inner { padding: 24px; }

    /* ===== ÔÂ±¨¹«ÎÄÑùÊ½ ===== */
    .rep-doc {
      background: #fff; border: 1px solid var(--divider); border-radius: 10px;
      padding: 48px 64px 56px;
      font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", "NSimSun", "Songti SC", "Noto Serif SC", serif;
      font-size: 16px; line-height: 2.1; color: #1a1a1a;
    }
    .rep-doc .rd-title {
      text-align: center; font-size: 26px; font-weight: 700;
      font-family: "SimHei", "STHeiti", "Microsoft YaHei", sans-serif;
      letter-spacing: 4px; margin-bottom: 6px;
    }
    .rep-doc .rd-month { text-align: center; font-size: 16px; color: #333; margin-bottom: 30px; }
    .rep-doc .rd-sec {
      font-weight: 700; margin: 24px 0 8px; font-size: 17px;
      font-family: "SimHei", "STHeiti", "Microsoft YaHei", sans-serif;
    }
    .rep-doc .rd-item { font-weight: 600; margin: 14px 0 2px; }
    .rep-doc .rd-line { text-indent: 2em; }
    .rep-doc .rd-line b { font-weight: 700; }
    .rep-doc .rd-blank { height: 14px; }

    /* ===== Õþ²ßÎÄ¼þ¹«ÎÄÒ³£¨ÎÞ¸½¼þ»ØÍË£© ===== */
    .pdf-doc {
      background: #fff; width: 100%; max-width: 720px; margin: 0 auto;
      padding: 56px 64px 64px; min-height: 700px;
      font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", "NSimSun", "Songti SC", "Noto Serif SC", serif;
      font-size: 16px; line-height: 2.1; color: #1a1a1a;
      box-shadow: 0 2px 14px rgba(0,0,0,0.14);
      border-radius: 2px;
    }
    .pdf-doc .pd-title {
      text-align: center; font-size: 22px; font-weight: 700; line-height: 1.7;
      font-family: "SimHei", "STHeiti", "Microsoft YaHei", sans-serif;
      margin-bottom: 12px;
    }
    .pdf-doc .pd-no { text-align: center; font-size: 14px; color: #333; margin-bottom: 6px; }
    .pdf-doc .pd-rule { height: 2px; background: #C9302C; margin: 8px 0 26px; }
    .pdf-doc .pd-line { text-indent: 2em; margin: 2px 0; }
    .pdf-doc .pd-sign { margin-top: 44px; text-align: right; line-height: 2; }

    /* ===== Í¨Öª¹«¸æ ===== */
    .notice-item {
      display: flex; align-items: center; gap: 12px;
      min-height: 56px; padding: 8px 20px;
      border-bottom: 1px solid var(--divider);
      cursor: pointer; transition: background 0.12s;
    }
    .notice-item:hover { background: #F7F9FC; }
    .notice-item.retracted { opacity: 0.55; }
    .notice-item .n-main { flex: 1; min-width: 0; }
    .notice-item .n-title {
      font-size: 14px; font-weight: 500; color: var(--text-1);
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    }
    .notice-item .n-sub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
    .notice-item .n-ops { display: flex; gap: 6px; flex-shrink: 0; align-items: center; }

    /* ===== ÓÃ»§¹ÜÀí ===== */
    .u-ava {
      width: 34px; height: 34px; border-radius: 50%;
      color: #fff; font-size: 13.5px; font-weight: 600;
      display: inline-flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .u-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
    .u-cell .un { font-weight: 600; color: var(--text-1); }
    .u-cell .um { font-size: 12px; color: var(--text-3); margin-top: 1px; }
    .u-off td { color: var(--text-3); }
    .u-off .un { color: var(--text-2); }

    /* ===== ÏµÍ³ÉèÖÃ£º·Ö×éÊ÷ / È¨ÏÞ¾ØÕó / µÚÈý·½µÇÂ¼ÅäÖÃ ===== */
    .grp-row {
      display: flex; align-items: center; gap: 12px;
      padding: 12px 0; border-bottom: 1px dashed var(--divider);
      font-size: 14px; flex-wrap: wrap;
    }
    .grp-row:last-child { border-bottom: none; }
    .grp-row.sub { padding-left: 30px; }
    .grp-name { font-weight: 600; color: var(--text-1); }
    .grp-meta { color: var(--text-3); font-size: 12.5px; }
    .grp-ops { margin-left: auto; display: flex; gap: 8px; align-items: center; }

        .grp-row.sub.dragging { opacity: .45; background: #EDF3FE; }
    .grp-row.sub.drag-over { box-shadow: inset 0 2px 0 var(--active-blue); }

    .perm-t { width: 100%; border-collapse: collapse; min-width: 620px; }
    .perm-t th, .perm-t td {
      border: 1px solid var(--divider);
      padding: 10px 12px; font-size: 13.5px; text-align: center;
    }
    .perm-t th { background: #FAFBFC; font-weight: 600; color: var(--text-2); }
    .perm-t td.pi { text-align: left; font-weight: 600; color: var(--text-1); background: #FCFCFD; }
    .perm-check { display: flex; gap: 16px; justify-content: center; align-items: center; }
    .perm-check label { display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--text-2); }
    .perm-check input { accent-color: var(--active-blue); }

    .opl-item { padding: 14px 0; border-bottom: 1px solid var(--divider); }
    .opl-item:last-child { border-bottom: none; }
    .opl-head { display: flex; align-items: center; gap: 12px; }
    .opl-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
    .opl-desc { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
    .opl-fields { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
    .opl-field label { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
    .opl-field input { width: 100%; height: 34px; border: 1px solid var(--border); border-radius: 6px; padding: 0 10px; font-size: 13px; outline: none; font-family: inherit; }
    .opl-field input:focus { border-color: var(--active-blue); }
    @media (max-width: 700px) { .opl-fields { grid-template-columns: 1fr; } }

    /* ===== ÉèÖÃ¾ÛºÏÒ³ ===== */
    .settings-section { margin-bottom: 20px; }
    .settings-section .ss-title {
      font-size: 15px; font-weight: 600; color: var(--text-1);
      margin-bottom: 10px;
      display: flex; align-items: center; gap: 8px;
    }

    .form-card {
      background: #fff; border: 1px dashed #D1D5DB; border-radius: 10px;
      padding: 24px;
    }
    .form-row { display: flex; align-items: center; gap: 16px; padding: 5px 0; }
    .form-row + .form-row { border-top: 1px solid var(--divider); }
    .form-label { width: 140px; flex-shrink: 0; font-size: 14px; color: var(--text-2); }
    .form-input, .form-select, textarea.form-input {
      flex: 1; height: 36px;
      border: 1px solid var(--border); border-radius: 6px;
      background: #fff; color: var(--text-1);
      font-size: 14px; font-family: inherit;
      padding: 0 10px; outline: none;
      transition: border-color 0.15s;
    }
    textarea.form-input { height: auto; min-height: 96px; padding: 10px; resize: vertical; line-height: 1.6; }
    .form-input:focus, .form-select:focus, textarea.form-input:focus { border-color: var(--active-blue); }
    .form-hint { font-size: 12px; color: #A6ADB8; margin-top: 6px; line-height: 1.6; }
    .form-actions { padding-top: 20px; display: flex; gap: 10px; }

    /* ===== Í·ÏñÑ¡ÔñÆ÷ ===== */
    .avatar-picker { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }
    .avatar-dot {
      width: 34px; height: 34px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 14px; font-weight: 600;
      cursor: pointer; border: 2px solid transparent;
      transition: border-color 0.12s, transform 0.12s;
    }
    .avatar-dot:hover { transform: scale(1.08); }
    .avatar-dot.selected { border-color: var(--text-1); }
    .avatar-text-input { width: 70px !important; flex: none !important; text-align: center; }

    /* ===== ¿ª¹Ø ===== */
    .toggle {
      position: relative;
      width: 40px; height: 22px;
      border-radius: 11px;
      background: #C9CDD4;
      cursor: pointer;
      transition: background 0.18s;
      flex-shrink: 0;
      display: inline-block;
      vertical-align: middle;
    }
    .toggle::after {
      content: '';
      position: absolute; top: 2px; left: 2px;
      width: 18px; height: 18px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.2);
      transition: transform 0.18s;
    }
    .toggle.on { background: var(--active-blue); }
    .toggle.on::after { transform: translateX(18px); }

    /* ===== µÚÈý·½°ó¶¨ ===== */
    .oauth-item { display: flex; align-items: center; gap: 14px; padding: 16px 20px; flex-wrap: wrap; }
    .oauth-item + .oauth-item { border-top: 1px solid var(--divider); }
    .oauth-logo {
      width: 38px; height: 38px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 16px; font-weight: 700; flex-shrink: 0;
    }
    .oauth-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
    .oauth-desc { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

    /* ===== Õ¼Î»×´Ì¬¿é ===== */
    .state-block {
      padding: 60px 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      color: var(--text-3); text-align: center; width: 100%;
    }
    .state-block .sb-icon { margin-bottom: 12px; opacity: 0.45; color: #9AA3B2; }
    .state-block .sb-text { font-size: 14px; }
    .state-block .sb-sub { font-size: 12.5px; margin-top: 6px; color: #B0B6BF; max-width: 420px; line-height: 1.8; }

    /* ===== µ¯´° ===== */
    .modal-mask {
      position: fixed; inset: 0;
      background: rgba(20, 35, 70, 0.45);
      z-index: 500;
      display: none;
      align-items: flex-start; justify-content: center;
      padding: 5vh 16px 16px;
      overflow-y: auto;
    }
    .modal-mask.open { display: flex; animation: maskIn 0.15s ease; }
    @keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }

    .modal {
      width: 680px; max-width: 100%;
      background: #fff; border-radius: 14px;
      box-shadow: 0 20px 60px rgba(20,40,90,0.30);
      animation: modalIn 0.18s ease;
    }
    .modal.modal-wide { width: 880px; }
    @keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

    .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 0; }
    .modal-title { font-size: 16px; font-weight: 700; color: var(--text-1); }
    .modal-close {
      background: transparent; border: none; cursor: pointer;
      width: 30px; height: 30px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-3);
      transition: background 0.12s;
    }
    .modal-close:hover { background: #F2F3F5; color: var(--text-1); }
    .modal-body { padding: 16px 22px 4px; font-size: 14px; color: var(--text-2); line-height: 1.8; max-height: 72vh; overflow-y: auto; }
    .modal-body .form-row { padding: 10px 0; }
    .modal-body .form-label { width: 80px; }
    .modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; flex-wrap: wrap; }
    .modal-foot .spacer { flex: 1; }

    /* ===== Toast ===== */
    #toast {
      position: fixed; top: 72px; left: 50%;
      transform: translateX(-50%) translateY(-12px);
      background: rgba(31,35,41,0.92); color: #fff;
      font-size: 13.5px; padding: 10px 20px; border-radius: 8px;
      opacity: 0; pointer-events: none;
      transition: opacity 0.2s, transform 0.2s;
      z-index: 999;
      max-width: 70vw;
    }
    #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
    #toast.ok { background: rgba(21,122,76,0.94); }
    #toast.err { background: rgba(198,59,64,0.94); }

    .day { color: var(--text-3); font-size: 13px; }

    /* ===== ´òÓ¡ ===== */
    @media print {
      body { background: #fff; }
      body * { visibility: hidden; }
      .rep-doc, .rep-doc *, .pdf-doc, .pdf-doc *, .pv-main, .pv-main * { visibility: visible; }
      .pv-mask.open, .pv-mask.open * { visibility: visible; }
      .pv-mask.open { position: absolute; inset: 0; background: #fff; z-index: 9999; padding: 0; }
      .pv-mask.open .pv-head { display: none; }
      .pv-mask.open .pv-side { display: none; }
      .pv-mask.open .pv-body { overflow: visible; padding: 0; background: #fff; }
      .rep-doc, .pdf-doc {
        position: absolute; top: 0; left: 0; width: 100%;
        border: none; border-radius: 0; box-shadow: none;
        padding: 12mm 0; max-width: none; min-height: auto;
      }
      .pv-mask.open .pv-main { border: none; overflow: visible; }
      .pv-mask.open .pv-main-inner { padding: 12mm 0; }
    }

    /* ===== ÒÆ¶¯¶Ë ===== */
    @media (max-width: 768px) {
      .menu-toggle { display: flex; }
      .header { padding: 0 12px; gap: 8px; }
      .logo { position: static; transform: none; margin-left: 4px; }
      .user-wrap { width: 190px; }

      .sidebar {
        width: min(76vw, 280px);
        position: fixed;
        top: 0; left: 0; bottom: 0;
        z-index: 250;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 24px rgba(20, 40, 90, 0.28);
        overflow-y: auto;
      }
      .sidebar.open { transform: translateX(0); }
      .backdrop.show { display: block; }

      .content-body { padding: 12px; }
      .edge-strip { width: 8px; }
      .toolbar-right { margin-left: 0; }
      .form-label { width: 96px; }
      .kv-grid { grid-template-columns: 1fr 1fr; }
      .rep-doc { padding: 28px 20px; }
      .pdf-doc { padding: 28px 20px; }
      .pv-flex { flex-direction: column; }
      .pv-side { width: 100%; max-height: 130px; }

      /* ===== Task82：手机端跟踪进展一条分三行 =====
         第一行 日期（左）+ 编辑/删除（右）；第二行 进展详情（附件紧随）；
         第三行 记录人。桌面端（>768px）保持原一行三栏时间线不变 */
      .tl-item { flex-wrap: wrap; row-gap: 4px; }
      .tl-date { order: 1; padding-top: 0; }
      /* Task83：宽度改 auto 紧贴内容，配合 nowrap 任何字体下都不折行、不溢出 */
      .tl-date { width: auto; }
      .tl-ops { order: 2; margin-left: auto; padding-top: 0; }
      .tl-main { order: 3; flex-basis: 100%; }
    }

    @media (max-width: 480px) {
      .logo-mark { font-size: 18px; }
      .logo-text { display: none; }
      .user-wrap { width: 160px; }
      .user-name { display: none; }
      .vip-badge { padding: 3px 6px; font-size: 10px; }
    }

/* ===== ¸ÅÀÀÐüÍ£½øÕ¹ÏêÇé ===== */
.hover-tip {
  position: fixed; z-index: 900;
  max-width: 380px;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 8px 28px rgba(20,40,90,0.18);
  padding: 10px 14px;
  font-size: 12.5px; line-height: 1.7; color: var(--text-2);
  pointer-events: none; display: none;
}
.hover-tip .ht-date { color: var(--text-3); font-family: SFMono-Regular, Consolas, monospace; font-size: 11.5px; margin-bottom: 4px; }
.hover-tip .ht-text { color: var(--text-1); white-space: pre-wrap; word-break: break-word; }


    /* ÔÂ±¨±à¼­Æ÷ÄÚµÄ¹«ÎÄÑùÊ½£¨Óë rep-doc Õ¹Ê¾Ì¬Ò»ÖÂ£© */
    #repEditor .rep-doc { font-family: "·ÂËÎ","FangSong","ËÎÌå",serif; font-size: 15px; line-height: 2; color: #1a1a1a; padding: 24px 40px; }
    #repEditor .rd-title { font-family: "ºÚÌå","SimHei"; font-size: 26px; font-weight: 700; text-align: center; letter-spacing: 4px; margin-bottom: 6px; }
    #repEditor .rd-month { text-align: center; font-size: 15px; color: #333; margin-bottom: 24px; }
    #repEditor .rd-sec { font-family: "ºÚÌå","SimHei"; font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
    #repEditor p { margin: 6px 0; }
    #repEditor [style*="text-indent"] { text-indent: 2em; }


/* Åú¸´ÊÂÏî£º±êÌâ×Ô¶¯»»ÐÐ£¬ÆäËûÁÐ²»±ä */
.tlist td.approval-title-cell {
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
  max-width: 360px;
  line-height: 1.6;
}