/* ── view-home (auth/home.html) ── */
  /* NB: position:relative intentionally dropped so base.css .view>.home-header sticky wins;
     sticky still provides the positioning context the abstract glows anchor to. */
  #view-home .home-header { background: var(--navy-900); padding: 30px 16px 64px; overflow: hidden; }
  #view-home .home-header .abstract-glow-tr { position: absolute; top: -40px; right: -40px; width: 220px; height: 180px; background: radial-gradient(ellipse at top right, rgba(255,255,255,0.16), transparent 70%); pointer-events: none; }
  #view-home .home-header .abstract-glow-bl { position: absolute; bottom: -50px; left: -50px; width: 200px; height: 160px; background: radial-gradient(ellipse at bottom left, rgba(255,255,255,0.11), transparent 70%); pointer-events: none; }
  #view-home .home-top-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; position: relative; z-index: 1; }
  #view-home .home-logo-row { display: flex; align-items: center; gap: 8px; }
  #view-home .home-logo-row img { width: 28px; height: 28px; }
  #view-home .home-brand-name { font-size: 14px; font-weight: 700; color: var(--white); letter-spacing: -0.2px; }
  #view-home .bell-btn { position: relative; width: 38px; height: 38px; border-radius: 19px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: var(--white); }
  #view-home .notif-badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--cta); border: 1.5px solid var(--navy-900); display: flex; align-items: center; justify-content: center; padding: 0 3px; font-size: 10px; font-weight: 700; color: var(--white); line-height: 13px; }
  #view-home .greeting-row { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; }
  #view-home .greeting-text { font-size: 14px; color: rgba(255,255,255,0.65); }
  #view-home .greeting-name { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -0.5px; line-height: 28px; }
  #view-home .status-card-wrap { margin: -40px 16px 0; position: relative; z-index: 10; }
  #view-home .status-card { background: var(--white); border-radius: var(--r-16); border: 1.5px solid var(--ink-6); padding: 12px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--e2); }
  #view-home .status-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  #view-home .status-card-left { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  #view-home .status-card-left .badge { align-self: flex-start; }
  #view-home .status-card-company { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-home .progress-row { display: flex; flex-direction: column; gap: 6px; }
  #view-home .progress-label { font-size: 12px; font-weight: 500; color: var(--ink-4); }
  #view-home .ca-row { display: flex; align-items: center; gap: 5px; border-top: 1px solid var(--ink-7); padding-top: 10px; margin-top: 2px; font-size: 12px; color: var(--ink-4); }
  #view-home .ca-row b { font-weight: 700; color: var(--brand); }
  #view-home .cs-action-row { display: flex; gap: 10px; border-top: 1px solid var(--ink-7); margin-top: 4px; padding-top: 12px; }
  #view-home .cs-call-btn, #view-home .cs-chat-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--r-8); font-size: 14px; font-weight: 700; }
  #view-home .cs-call-btn { border: 1.5px solid var(--ok-bd); background: var(--ok-bg); color: var(--ok); }
  #view-home .cs-chat-btn { background: var(--cta); color: var(--white); }
  #view-home .home-section { padding: 24px 16px 0; }
  #view-home .home-section-title { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; margin-bottom: 12px; }
  #view-home .remarks-stack { display: flex; flex-direction: column; gap: 16px; }
  #view-home .remark-card { background: var(--white); border-radius: var(--r-12); border: 1.5px solid var(--ink-6); box-shadow: var(--e1); display: block; width: 100%; text-align: left; }
  #view-home .remark-content { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
  #view-home .remark-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
  #view-home .remark-cs-row { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
  #view-home .remark-cs-name { font-size: 14px; font-weight: 700; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-home .remark-time { font-size: 12px; color: var(--ink-4); flex-shrink: 0; }
  #view-home .remark-text { font-size: 12px; color: var(--ink-3); line-height: 18px; }
  #view-home .remark-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }

  /* ── view-track (auth/track.html) ── */
  #view-track .pg-header { background: var(--canvas-warm); padding: 22px 16px 14px; border-bottom: 1px solid var(--ink-7); }
  #view-track .pg-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
  #view-track .pg-sub { font-size: 14px; color: var(--ink-4); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-track .back-row { padding: 12px 16px 2px; background: var(--white); }
  #view-track .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; }
  #view-track .caf-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); padding: 16px; box-shadow: var(--e1); display: flex; flex-direction: column; gap: 2px; }
  #view-track .caf-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-5); }
  #view-track .caf-id { font-size: 14px; letter-spacing: 0.5px; color: var(--ink); margin-top: 2px; }
  #view-track .caf-name { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--ink); margin-top: 2px; }
  #view-track .caf-progress-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; margin-bottom: 6px; }
  #view-track .caf-progress-label { font-size: 12px; color: var(--ink-4); }
  #view-track .caf-progress-pct { font-size: 14px; font-weight: 800; color: var(--rust); }
  #view-track .acc-card { background: var(--white); border: 1.5px solid var(--ink-6); border-radius: var(--r-16); overflow: hidden; box-shadow: var(--e1); }
  #view-track .acc-header { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--ink-7); cursor: pointer; user-select: none; }
  #view-track .acc-header .ic { flex-shrink: 0; color: var(--ink-2); }
  #view-track .acc-header .t { flex: 1; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
  #view-track .acc-header .caret { color: var(--ink-4); display: flex; }
  #view-track .acc-header .caret svg { transition: transform 0.2s ease; }
  #view-track .acc-card.collapsed .acc-header { border-bottom: none; }
  #view-track .acc-card.collapsed .acc-header .caret svg { transform: rotate(-90deg); }
  #view-track .acc-card.collapsed .acc-body { display: none; }
  #view-track .acc-body { padding: 14px; }
  #view-track .info-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-7); }
  #view-track .info-row:last-child { border-bottom: none; }
  #view-track .info-row .lbl { font-size: 14px; color: var(--ink-4); }
  #view-track .info-row .val { font-size: 14px; font-weight: 700; color: var(--ink); text-align: right; }
  #view-track .appr-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--ink-7); }
  #view-track .appr-row:last-child { border-bottom: none; }
  #view-track .appr-center { flex: 1; min-width: 0; }
  #view-track .appr-name { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-track .appr-dept { font-size: 12px; color: var(--ink-4); margin-top: 1px; }
  #view-track .appr-chip { margin-top: 6px; }
  #view-track .view-cta { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 68px; padding: 6px 8px; border-radius: var(--r-8); border: 1.5px solid var(--ink-6); background: var(--white); font-size: 12px; font-weight: 700; color: var(--ink-3); flex-shrink: 0; }
  #view-track .tl-row { display: flex; gap: 14px; }
  #view-track .tl-line { display: flex; flex-direction: column; align-items: center; width: 24px; flex-shrink: 0; }
  #view-track .tl-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink-6); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink-4); flex-shrink: 0; }
  #view-track .tl-dot.done { background: var(--ok); border-color: var(--ok); color: var(--white); }
  #view-track .tl-dot.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
  #view-track .tl-connector { flex: 1; width: 2px; background: var(--ink-6); min-height: 24px; margin-top: 2px; }
  #view-track .tl-connector.done { background: var(--ok); }
  #view-track .tl-content { flex: 1; padding-bottom: 16px; }
  #view-track .tl-step { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-track .tl-step.active { color: var(--navy-900); }
  #view-track .tl-date { font-size: 12px; color: var(--ink-5); margin-top: 2px; }
  #view-track .tl-date.active { color: var(--navy-900); font-weight: 500; }
  #view-track .fee-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ink-7); }
  #view-track .fee-row:last-child { border-bottom: none; }
  #view-track .fee-row.total { border-top: 1.5px solid var(--ink-6); margin-top: 2px; padding-top: 14px; border-bottom: none; }
  #view-track .fee-label { font-size: 12px; font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-4); }
  #view-track .fee-label.bold { font-size: 14px; font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: 0; }
  #view-track .fee-value-wrap { text-align: right; }
  #view-track .fee-value { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-track .fee-value.bold { font-size: 16px; font-weight: 800; }
  #view-track .fee-usd { font-size: 12px; color: var(--ink-5); margin-top: 1px; }

  /* ── view-documents (auth/documents.html) ── */
  #view-documents .pg-header { background: var(--canvas-warm); padding: 22px 16px 14px; border-bottom: 1px solid var(--ink-7); }
  #view-documents .pg-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
  #view-documents .pg-sub { font-size: 14px; color: var(--ink-4); margin-top: 2px; }
  #view-documents .back-row { padding: 12px 16px 2px; background: var(--white); }
  #view-documents .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; }
  #view-documents .doc-tabs { display: flex; background: var(--white); padding: 0 8px; border-bottom: 1px solid var(--ink-7); }
  #view-documents .doc-tab { padding: 0 10px; height: 44px; display: flex; align-items: center; justify-content: center; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; color: var(--ink-4); }
  #view-documents .doc-tab.active { border-bottom-color: var(--rust); color: var(--rust); font-weight: 700; }
  #view-documents .doc-card { background: var(--white); border-radius: var(--r-12); border: 1.5px solid var(--ink-6); padding: 12px; display: flex; align-items: center; gap: 12px; box-shadow: var(--e1); }
  #view-documents .doc-chip { width: 40px; height: 40px; border-radius: var(--r-8); border: 1px solid var(--rust-bd); background: var(--rust-bg); color: var(--rust); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  #view-documents .doc-center { flex: 1; min-width: 0; }
  #view-documents .doc-name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 18px; }
  #view-documents .doc-file { font-size: 12px; letter-spacing: 0.3px; color: var(--ink-5); margin-top: 2px; text-transform: uppercase; }
  #view-documents .doc-chip-row { margin-top: 6px; }
  #view-documents .doc-right { flex-shrink: 0; }
  #view-documents .upload-cta { display: inline-flex; align-items: center; gap: 4px; min-width: 68px; padding: 6px 8px; border-radius: var(--r-8); background: var(--cta); color: var(--white); font-size: 12px; font-weight: 700; justify-content: center; }
  #view-documents .view-cta { display: inline-flex; align-items: center; gap: 4px; min-width: 68px; padding: 6px 8px; border-radius: var(--r-8); border: 1.5px solid var(--ink-6); background: var(--white); color: var(--ink-3); font-size: 12px; font-weight: 700; justify-content: center; }
  #view-documents .upload-sheet .drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px 16px; border-radius: var(--r-12); border: 1.5px solid var(--ok-bd); background: var(--ok-bg); margin-top: 4px; }
  #view-documents .upload-sheet .drop-file { font-size: 14px; font-weight: 700; color: var(--ok); }
  #view-documents .upload-sheet .drop-hint { font-size: 12px; color: var(--ink-4); }

  /* ── view-grievances (auth/grievances.html) ── */
  #view-grievances .pg-header { background: var(--canvas-warm); padding: 22px 16px 14px; border-bottom: 1px solid var(--ink-7); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  #view-grievances .pg-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
  #view-grievances .pg-sub { font-size: 14px; color: var(--ink-4); margin-top: 2px; }
  #view-grievances .back-row { padding: 12px 16px 2px; background: var(--white); }
  #view-grievances .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; }
  #view-grievances .file-new-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--cta); color: var(--white); padding: 8px 14px; border-radius: var(--r-8); font-size: 14px; font-weight: 700; flex-shrink: 0; }
  #view-grievances .filter-scroll { background: var(--white); border-bottom: 1px solid var(--ink-7); padding: 8px 16px; }
  #view-grievances .grv-card { background: var(--white); border-radius: var(--r-12); border: 1.5px solid var(--ink-6); padding: 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--e1); }
  #view-grievances .grv-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
  #view-grievances .grv-id { font-size: 12px; color: var(--ink-4); letter-spacing: 0.5px; }
  #view-grievances .grv-category { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.14px; line-height: 18px; }
  #view-grievances .grv-appref { font-size: 12px; color: var(--ink-4); }
  #view-grievances .grv-desc { font-size: 14px; color: var(--ink-3); line-height: 18px; margin-top: 2px; }
  #view-grievances .grv-update { display: flex; align-items: flex-start; gap: 7px; background: var(--canvas-warm); border-radius: var(--r-8); padding: 10px; margin-top: 4px; }
  #view-grievances .grv-update-text { flex: 1; font-size: 12px; font-weight: 500; line-height: 17px; }
  #view-grievances .grv-submitted { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-grievances .form-sheet .fld { display: flex; flex-direction: column; gap: 6px; }
  #view-grievances .form-sheet .fld-label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
  #view-grievances .form-sheet .fld-label .req { color: var(--cta); }
  #view-grievances .form-sheet .dropdown-btn { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--cta); border-radius: var(--r-8); padding: 11px 12px; font-size: 14px; color: var(--ink); cursor: pointer; user-select: none; }
  #view-grievances .form-sheet .category-options { margin-top: 6px; border: 1.5px solid var(--ink-6); border-radius: var(--r-8); overflow: hidden; background: var(--white); }
  #view-grievances .form-sheet .category-option { padding: 11px 12px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--ink-7); cursor: pointer; }
  #view-grievances .form-sheet .category-option:last-child { border-bottom: none; }
  #view-grievances .form-sheet .category-option:hover { background: var(--canvas-warm); }
  #view-grievances .form-sheet textarea { width: 100%; border: 1.5px solid var(--ink-6); border-radius: var(--r-8); padding: 12px; min-height: 100px; font-family: var(--font); font-size: 14px; color: var(--ink); resize: none; }
  #view-grievances .form-sheet textarea::placeholder { color: var(--ink-5); }

  /* ── view-profile (auth/profile.html) ── */
  #view-profile .pg-header { background: var(--canvas-warm); display: flex; align-items: center; padding: 20px 16px 18px; gap: 16px; border-bottom: 1px solid var(--ink-7); }
  #view-profile .pg-name { font-size: 18px; font-weight: 800; color: var(--ink); }
  #view-profile .pg-email { font-size: 14px; color: var(--ink-4); margin-top: 2px; }
  #view-profile .pg-badge-row { display: flex; gap: 8px; margin-top: 6px; }
  #view-profile .back-row { padding: 12px 16px 2px; background: var(--white); }
  #view-profile .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; }
  #view-profile .avatar-lg { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; }
  #view-profile .pf-section { padding: 16px 16px 0; }
  #view-profile .pf-section-label { font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-5); margin-bottom: 8px; padding: 0 4px; }
  #view-profile .switcher-card { background: var(--white); border-radius: var(--r-12); border: 1.5px solid var(--ink-6); padding: 12px; }
  #view-profile .switcher-card .sw-title { font-size: 14px; font-weight: 800; color: var(--ink); }
  #view-profile .switcher-card .sw-sub { font-size: 12px; color: var(--ink-4); margin: 2px 0 8px; }
  #view-profile .switcher-card .sw-row { display: flex; flex-wrap: wrap; gap: 8px; }
  #view-profile .sw-chip { padding: 8px 12px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-6); background: var(--canvas-warm); font-size: 12px; font-weight: 700; color: var(--ink-3); }
  #view-profile .sw-chip.active { background: var(--brand); border-color: var(--brand); color: var(--white); }
  #view-profile .menu-item { display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 52px; }
  #view-profile .menu-icon { width: 32px; height: 32px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  #view-profile .menu-icon.danger { background: var(--err-bg); border-color: var(--err-bd); color: var(--err); }
  #view-profile .menu-label { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink); }
  #view-profile .menu-label.danger { color: var(--err); }
  #view-profile .menu-value { font-size: 14px; color: var(--ink-4); text-align: right; }
  #view-profile .menu-divider { height: 1px; background: var(--ink-7); margin: 0 16px; }
  #view-profile .inv-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
  #view-profile .inv-center { flex: 1; min-width: 0; }
  #view-profile .inv-number { font-size: 14px; font-weight: 700; color: var(--ink); }
  #view-profile .inv-desc { font-size: 12px; color: var(--ink-4); }
  #view-profile .inv-meta { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
  #view-profile .inv-date { font-size: 12px; color: var(--ink-5); }
  #view-profile .inv-amount { font-size: 12px; font-weight: 700; color: var(--ok); }
  #view-profile .inv-dl { display: inline-flex; align-items: center; gap: 4px; min-width: 92px; justify-content: center; padding: 6px 8px; border-radius: var(--r-8); border: 1.5px solid var(--cta-bd); background: var(--cta-15); color: var(--cta); font-size: 12px; font-weight: 700; flex-shrink: 0; }
  #view-profile .pf-version { font-size: 12px; color: var(--ink-5); text-align: center; padding: 20px 0; }

  /* ── view-applications (auth/applications.html) ── */
  #view-applications .pg-header { background: var(--canvas-warm); padding: 22px 16px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink-7); }
  #view-applications .back-link-hdr { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; flex-shrink: 0; }
  #view-applications .pg-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
  #view-applications .pg-sub { font-size: 14px; color: var(--ink-4); margin-top: 2px; }
  #view-applications .filter-scroll { background: var(--white); border-bottom: 1px solid var(--ink-7); padding: 12px 16px; }
  #view-applications .app-card { background: var(--white); border-radius: var(--r-16); border: 1.5px solid var(--ink-6); padding: 12px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--e2); }
  #view-applications .app-top { display: flex; align-items: center; gap: 12px; }
  #view-applications .app-icon { width: 40px; height: 40px; border-radius: var(--r-8); background: var(--brand-08); border: 1px solid var(--brand-15); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  #view-applications .app-info { flex: 1; min-width: 0; }
  #view-applications .app-name { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #view-applications .app-meta { font-size: 12px; color: var(--ink-4); margin-top: 2px; }
  #view-applications .app-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  #view-applications .app-progress-wrap { flex: 1; display: flex; flex-direction: column; gap: 4px; }
  #view-applications .app-progress-text { font-size: 12px; color: var(--ink-4); }
  #view-applications .new-app-btn { margin: 0 16px 16px; background: var(--cta); color: var(--white); border-radius: var(--r-12); padding: 16px; text-align: center; font-size: 14px; font-weight: 700; display: block; }

  /* ── view-discover (auth/discover.html) ── */
  #view-discover .disc-header { background: var(--canvas-warm); display: flex; align-items: center; padding: 12px 16px; gap: 8px; border-bottom: 1px solid var(--ink-7); }
  #view-discover .disc-header-btn { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ink); }
  #view-discover .disc-header-center { flex: 1; text-align: center; }
  #view-discover .disc-title { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
  #view-discover .disc-sub { font-size: 12px; color: var(--ink-4); margin-top: 1px; }
  #view-discover .disc-progress-strip { height: 3px; background: var(--ink-7); }
  #view-discover .disc-progress-fill { height: 3px; background: var(--brand); border-radius: 2px; }
  #view-discover .chat-area { flex: 1; padding: 16px 0; display: flex; flex-direction: column; }
  #view-discover .chat-row { display: flex; padding: 0 16px; margin-bottom: 12px; }
  #view-discover .chat-row.bot { justify-content: flex-start; }
  #view-discover .chat-bubble { max-width: 85%; border-radius: var(--r-12); padding: 10px 14px; font-size: 14px; line-height: 21px; }
  #view-discover .chat-bubble.bot { background: var(--white); border: 1.5px solid var(--ink-6); border-top-left-radius: var(--r-4); color: var(--ink); }
  #view-discover .disc-options-panel { background: var(--white); border-top: 1px solid var(--ink-7); padding: 12px 16px 16px; box-shadow: var(--e3); }
  #view-discover .opt-btn { display: block; border-radius: var(--r-8); padding: 13px 14px; border: 1.5px solid var(--ink-6); background: var(--white); margin-bottom: 8px; min-height: 48px; }
  #view-discover .opt-btn .inner { display: flex; align-items: center; gap: 8px; }
  #view-discover .opt-btn .label { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 19px; }

  /* ── view-notifications (auth/notifications.html) ── */
  #view-notifications .pg-header { background: var(--canvas-warm); padding: 22px 16px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink-7); }
  #view-notifications .back-link-hdr { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 700; font-size: 14px; flex-shrink: 0; }
  #view-notifications .pg-title { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
  #view-notifications .pg-sub { font-size: 14px; color: var(--ink-4); margin-top: 2px; }
  #view-notifications .notif-row { display: flex; border-bottom: 1px solid var(--ink-7); background: var(--white); }
  #view-notifications .notif-row.unread { background: var(--canvas-warm); }
  #view-notifications .notif-strip { width: 3px; flex-shrink: 0; }
  #view-notifications .notif-body { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
  #view-notifications .notif-top { display: flex; align-items: center; gap: 12px; }
  #view-notifications .notif-icon { width: 40px; height: 40px; border-radius: var(--r-8); border: 1px solid; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  #view-notifications .notif-title-wrap { flex: 1; min-width: 0; }
  #view-notifications .notif-title { font-size: 14px; font-weight: 800; color: var(--ink); letter-spacing: -0.1px; }
  #view-notifications .notif-time { font-size: 12px; color: var(--ink-4); margin-top: 1px; }
  #view-notifications .notif-dot { width: 9px; height: 9px; border-radius: 5px; flex-shrink: 0; }
  #view-notifications .notif-text { font-size: 14px; color: var(--ink-3); line-height: 19px; }
