    /* =============================================
       Finance Dashboard — Desktop Editorial
       ============================================= */

    /* Section labels — editorial style with rule */
    .hub-section-label {
      font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em;
      margin-bottom: 12px; padding: 0; display: flex; align-items: center; gap: 10px;
    }
    .hub-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

    /* =============================================
       Dashboard Edit Mode
       ============================================= */
    .edit-mode-btn {
      display: flex; align-items: center; gap: 6px; padding: 5px 10px;
      border-radius: 8px; background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08); color: var(--text-secondary);
      font-size: 12px; cursor: pointer; white-space: nowrap;
      font-family: var(--font-body); transition: all var(--transition-fast);
    }
    .edit-mode-btn:hover { background: rgba(212,165,116,0.1); color: var(--text-primary); }
    .edit-mode-btn.active { background: rgba(212,165,116,0.15); border-color: var(--accent); color: var(--accent); }

    /* Sortable sections container */
    #home-sections-sortable { display: flex; flex-direction: column; gap: 0; }

    /* Each dashboard section wrapper */
    .dash-section {
      position: relative;
      transition: opacity 0.2s, transform 0.15s;
    }

    /* Edit mode active state */
    body.edit-mode-active .dash-section {
      border: 1.5px dashed transparent;
      border-radius: var(--radius-md);
      padding: 4px;
      margin-bottom: 4px;
      border-color: rgba(212,165,116,0.25);
      cursor: grab;
    }
    body.edit-mode-active .dash-section:active { cursor: grabbing; }
    body.edit-mode-active .dash-section:hover {
      border-color: rgba(212,165,116,0.5);
      background: rgba(212,165,116,0.03);
    }

    /* Drag handle shown in edit mode */
    .dash-section-handle {
      display: none; position: absolute; top: 8px; left: 8px; z-index: 5;
      width: 28px; height: 28px; border-radius: 6px;
      background: rgba(212,165,116,0.15); border: 1px solid rgba(212,165,116,0.3);
      align-items: center; justify-content: center; cursor: grab;
      color: var(--accent); font-size: 14px;
    }
    body.edit-mode-active .dash-section-handle { display: flex; }
    .dash-section-handle:active { cursor: grabbing; }

    /* Remove section button */
    .dash-section-remove {
      display: none; position: absolute; top: 8px; right: 8px; z-index: 5;
      width: 26px; height: 26px; border-radius: 50%;
      background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.3);
      align-items: center; justify-content: center; cursor: pointer;
      color: var(--rose); font-size: 15px; font-weight: 700; line-height: 1;
      transition: all var(--transition-fast);
    }
    .dash-section-remove:hover { background: rgba(244,63,94,0.3); transform: scale(1.1); }
    body.edit-mode-active .dash-section-remove { display: flex; }

    /* SortableJS ghost/drag styling */
    .sortable-ghost { opacity: 0.3; }
    .sortable-drag {
      opacity: 0.85; transform: scale(1.01);
      box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 2px var(--accent);
      border-radius: var(--radius-md);
    }
    .sortable-chosen { z-index: 10; }

    /* Section picker modal */
    .section-picker-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      gap: 0.5rem; padding: 0.5rem 0;
    }
    .section-picker-item {
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      padding: 14px 10px; border-radius: var(--radius-sm);
      background: var(--bg-card); border: 1px solid var(--border-color);
      cursor: pointer; transition: all var(--transition-fast);
      text-align: center;
    }
    .section-picker-item:hover { border-color: var(--accent); background: var(--bg-card-hover); }
    .section-picker-item.already-added { opacity: 0.35; cursor: default; pointer-events: none; }
    .section-picker-item .sp-icon { font-size: 1.4rem; }
    .section-picker-item .sp-name { font-size: 0.72rem; font-weight: 600; color: var(--text-primary); }

    /* Edit mode floating toolbar */
    .edit-mode-toolbar {
      display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
      z-index: 200; padding: 10px 18px; border-radius: 16px;
      background: rgba(10,10,11,0.95); border: 1px solid var(--accent);
      backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212,165,116,0.15);
      gap: 12px; align-items: center; font-size: 0.75rem;
    }
    body.edit-mode-active .edit-mode-toolbar { display: flex; }
    .edit-toolbar-btn {
      padding: 6px 14px; border-radius: 8px; border: 1px solid var(--border-color);
      background: rgba(255,255,255,0.04); color: var(--text-secondary);
      cursor: pointer; font-size: 0.72rem; font-family: var(--font-body);
      transition: all var(--transition-fast); white-space: nowrap;
    }
    .edit-toolbar-btn:hover { background: rgba(212,165,116,0.1); color: var(--text-primary); }
    .edit-toolbar-btn.primary { background: rgba(212,165,116,0.15); border-color: var(--accent); color: var(--accent); }
    .edit-toolbar-label { color: var(--accent); font-weight: 600; font-family: var(--font-body); white-space: nowrap; }

    @media (max-width: 600px) {
      .edit-mode-toolbar { bottom: 16px; padding: 8px 12px; gap: 8px; }
      .edit-toolbar-btn { padding: 6px 10px; font-size: 0.68rem; }
      .section-picker-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    }

    /* App Dock — horizontal scrolling carousel */
    .hub-app-dock {
      display: flex; gap: 16px; padding: 16px 4px 20px;
      overflow-x: auto; -webkit-overflow-scrolling: touch;
      scrollbar-width: none; flex-shrink: 0;
    }
    .hub-app-dock::-webkit-scrollbar { display: none; }
    .hub-dock-item {
      display: flex; flex-direction: column; align-items: center; gap: 7px; flex-shrink: 0;
      cursor: pointer; -webkit-tap-highlight-color: transparent;
    }
    .hub-dock-item:hover .hub-dock-icon { border-color: var(--border-light); transform: translateY(-2px); }
    .hub-dock-icon {
      width: 62px; height: 62px; border-radius: 18px;
      background: linear-gradient(160deg, rgba(24,24,28,0.95), rgba(14,14,16,0.9));
      border: 1px solid var(--border-color);
      display: flex; align-items: center; justify-content: center;
      transition: transform 200ms ease, border-color 200ms ease;
      box-shadow: 0 4px 16px -4px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,245,225,0.06);
      position: relative; overflow: hidden; color: var(--accent);
    }
    .hub-dock-icon::before {
      content: ''; position: absolute; inset: 0; border-radius: inherit;
      background: radial-gradient(circle at 30% 20%, rgba(212,165,116,0.12), transparent 60%);
      pointer-events: none;
    }
    .hub-dock-icon svg { width: 28px; height: 28px; position: relative; z-index: 1; }
    .hub-dock-label {
      font-family: var(--font-body); font-size: 0.62rem; font-weight: 500;
      color: var(--text-secondary); text-align: center; max-width: 72px; line-height: 1.15;
      overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0.01em;
    }

    /* Finance Grid — desktop two-column hero layout */
    .finance-grid {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 10px;
      margin-bottom: 10px;
    }

    /* Net Worth Hero Card — editorial with corner marks */
    .hub-nw-card {
      position: relative; overflow: hidden;
      background:
        radial-gradient(ellipse 600px 300px at 50% 0%, rgba(212,165,116,0.1), transparent 70%),
        linear-gradient(180deg, rgba(19,19,22,0.95), rgba(14,14,16,0.95));
      border: 1px solid var(--border-light); border-radius: 18px;
      padding: 14px 20px 14px; text-align: left;
      box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,245,225,0.06);
      cursor: pointer; display: flex; flex-direction: column; justify-content: flex-start; min-height: 100%;
    }
    .hub-nw-card:hover { border-color: var(--border-glow); }
    .hub-nw-card::before, .hub-nw-card::after {
      content: ''; position: absolute; width: 18px; height: 18px;
      border: 1.5px solid var(--accent); opacity: 0.55;
    }
    .hub-nw-card::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
    .hub-nw-card::after { bottom: 12px; right: 12px; border-left: none; border-top: none; }
    .hub-nw-ornament {
      display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
      font-family: var(--font-mono); font-size: 0.52rem; font-weight: 500;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em;
    }
    .hub-nw-ornament .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-light), transparent); }
    .hub-nw-ornament .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
    .hub-nw-label {
      font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
      color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.16em;
      margin-bottom: 1px; display: flex; align-items: center; gap: 6px;
    }
    .hub-nw-label::after { content: ''; flex: 0 0 18px; height: 1px; background: var(--accent); opacity: 0.4; }
    .hub-nw-value {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      font-weight: 400; letter-spacing: -0.035em; line-height: 0.95;
      font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
      color: var(--text-primary); display: block;
    }
    .hub-nw-value .currency { font-size: 0.55em; vertical-align: 0.35em; margin-right: 0.05em; color: var(--accent); font-weight: 300; }
    .hub-nw-sub {
      font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
      color: var(--text-secondary); margin-top: 8px; letter-spacing: 0;
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    }
    .hub-nw-sub .sep { color: var(--text-muted); opacity: 0.5; }
    .hub-nw-controls {
      display: flex; align-items: center; gap: 6px; margin-top: 8px; position: relative; z-index: 2;
    }
    .hub-nw-range-pills {
      display: flex; gap: 2px; background: rgba(255,255,255,0.04); border-radius: 6px; padding: 2px;
    }
    .hub-nw-pill {
      background: none; border: none; color: var(--text-muted); font-family: var(--font-mono);
      font-size: 0.6rem; padding: 3px 8px; border-radius: 5px; cursor: pointer; font-weight: 600;
      letter-spacing: 0.03em; transition: all 0.15s;
    }
    .hub-nw-pill:hover { color: var(--text-secondary); }
    .hub-nw-pill.active { background: rgba(212,165,116,0.15); color: var(--accent); }
    .hub-nw-toggle-btn {
      background: rgba(255,255,255,0.04); border: none; color: var(--text-muted); font-family: var(--font-mono);
      font-size: 0.6rem; padding: 3px 9px; border-radius: 5px; cursor: pointer; font-weight: 700;
      letter-spacing: 0.03em; margin-left: 2px; transition: all 0.15s;
    }
    .hub-nw-toggle-btn:hover { color: var(--accent); background: rgba(212,165,116,0.12); }
    .hub-nw-spark {
      position: absolute; right: 0; bottom: 0; width: 55%; height: 60%;
      pointer-events: none; opacity: 0.22;
    }
    .hub-nw-spark svg { width: 100%; height: 100%; }

    /* Privacy eye toggle */
    .hub-fin-eye {
      position: absolute; top: 12px; right: 12px;
      width: 36px; height: 36px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
      color: var(--text-secondary); z-index: 2; cursor: pointer; border: none;
    }
    .hub-fin-eye:hover { background: rgba(255,255,255,0.12); }
    .hub-fin-eye svg { width: 18px; height: 18px; }
    .hub-fin-eye .eye-off { display: none; }
    .hub-finance-private .hub-fin-eye .eye-on { display: none; }
    .hub-finance-private .hub-fin-eye .eye-off { display: block; }
    .hub-finance-private .hub-nw-value,
    .hub-finance-private .hub-nw-sub,
    .hub-finance-private .hub-asset-tile-value,
    .hub-finance-private .hub-asset-tile-sub,
    .hub-finance-private .hub-asset-tile-change,
    .hub-finance-private .hub-asset-tile-usd,
    .hub-finance-private .hub-asset-tile-secondary,
    .hub-finance-private .hub-rental-stat-val,
    .hub-finance-private .hub-price-val,
    .hub-finance-private .hub-price-change,
    .hub-finance-private .hub-exp-total-val,
    .hub-finance-private .hub-exp-amount {
      filter: blur(10px); user-select: none; pointer-events: none;
    }

    /* 2026-04-14 — Expenses tile (small, red-toned, in asset grid) */
    .hub-asset-tile.exp-tile {
      background: linear-gradient(160deg, rgba(40,16,20,0.92), rgba(22,12,14,0.88));
      border-color: rgba(248,113,113,0.22);
    }
    .hub-asset-tile.exp-tile::before {
      background: linear-gradient(135deg, rgba(248,113,113,0.06), transparent 40%);
    }
    .hub-asset-tile.exp-tile:hover {
      border-color: rgba(248,113,113,0.5);
      transform: translateY(-2px);
    }
    .hub-asset-tile.exp-tile .hub-asset-tile-icon { color: #f87171; opacity: 0.9; }
    .hub-asset-tile.exp-tile .hub-asset-tile-label { color: rgba(248,113,113,0.75); }
    .hub-asset-tile.exp-tile .hub-asset-tile-value { color: #fecaca; }
    .hub-asset-tile.exp-tile .hub-asset-tile-value .sign { color: #f87171; font-weight: 500; margin-right: 2px; }

    /* 2026-04-14 — Expenses modal overlay (full list + add input) */
    .hub-exp-modal-backdrop {
      position: fixed; inset: 0; background: rgba(10,10,12,0.72);
      backdrop-filter: blur(6px); z-index: 2000;
      display: none; align-items: center; justify-content: center;
      padding: 20px;
    }
    .hub-exp-modal-backdrop.visible { display: flex; }
    .hub-exp-modal {
      background: linear-gradient(180deg, rgba(30,20,22,0.98), rgba(20,14,16,0.98));
      border: 1px solid rgba(248,113,113,0.28); border-radius: 18px;
      padding: 24px; max-width: 480px; width: 100%; max-height: 80vh; overflow-y: auto;
      box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(248,113,113,0.08);
    }
    .hub-exp-modal-header {
      display: flex; align-items: baseline; justify-content: space-between;
      margin-bottom: 4px;
    }
    .hub-exp-modal-title {
      font-family: var(--font-display); font-size: 1.3rem; color: #fecaca;
      letter-spacing: -0.01em;
    }
    .hub-exp-modal-close {
      background: none; border: none; color: var(--text-muted);
      font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px 8px;
    }
    .hub-exp-modal-close:hover { color: #f87171; }
    .hub-exp-modal-total {
      font-family: var(--font-display); font-size: 2rem; color: #f87171;
      margin: 8px 0 4px 0;
    }
    .hub-exp-modal-total .sign { font-size: 0.6em; vertical-align: 0.2em; margin-right: 0.08em; }
    .hub-exp-modal-total .cur { font-size: 0.55em; vertical-align: 0.35em; margin-right: 0.05em; opacity: 0.7; }
    .hub-exp-modal-sub {
      font-size: 0.75rem; color: var(--text-muted); margin-bottom: 16px;
      font-family: var(--font-mono); letter-spacing: 0.02em;
    }
    .hub-exp-modal-sub .accrued { color: #fecaca; font-weight: 500; }

    /* Asset Grid — 3 cols on desktop, 2 on smaller */
    .hub-asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hub-asset-tile {
      position: relative; overflow: hidden; cursor: pointer;
      background: linear-gradient(160deg, rgba(19,19,22,0.9), rgba(14,14,16,0.85));
      border: 1px solid var(--border-color); border-radius: 14px;
      padding: 14px 15px 12px;
      transition: border-color 200ms ease, transform 200ms ease;
    }
    .hub-asset-tile::before {
      content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
      background: linear-gradient(135deg, rgba(212,165,116,0.04), transparent 40%);
    }
    .hub-asset-tile:hover { transform: translateY(-2px); border-color: var(--border-light); }
    .hub-asset-tile-icon { width: 22px; height: 22px; margin-bottom: 7px; color: var(--accent); opacity: 0.85; }
    .hub-asset-tile-icon svg { width: 100%; height: 100%; }
    .hub-asset-tile-label {
      font-family: var(--font-body); font-size: 0.6rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 3px;
    }
    .hub-asset-tile-value {
      font-family: var(--font-display); font-size: 1.25rem; font-weight: 400;
      font-variation-settings: "opsz" 144, "SOFT" 40;
      letter-spacing: -0.02em; line-height: 1.1; color: var(--text-primary);
    }
    .hub-asset-tile-secondary {
      display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; margin-top: 3px;
    }
    .hub-asset-tile-usd { font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500; color: var(--text-secondary); }
    .hub-asset-tile-sub { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-muted); margin-top: 3px; display: block; }
    .hub-asset-tile-change {
      font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
      display: inline-flex; align-items: center; gap: 3px;
    }
    .hub-asset-tile-change::before {
      content: ''; width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent;
    }
    .hub-asset-tile-change.up { color: var(--accent); }
    .hub-asset-tile-change.up::before { border-bottom: 4px solid var(--accent); }
    .hub-asset-tile-change.down { color: var(--text-secondary); opacity: 0.7; }
    .hub-asset-tile-change.down::before { border-top: 4px solid var(--text-secondary); }
    /* Sparklines are rendered as background-image on the tile itself */

    .hub-asset-tile-stale {
      font-family: var(--font-mono); font-size: 0.55rem; font-weight: 500;
      color: var(--amber); letter-spacing: 0.08em; text-transform: uppercase;
      margin-top: 3px; display: flex; align-items: center; gap: 4px;
    }
    .hub-asset-tile-stale::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 6px var(--amber); }
    .hub-asset-tile-stale-db { color: var(--teal); }
    .hub-asset-tile-stale-db::before { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
    .hub-asset-tile-stale-off { color: var(--red); }
    .hub-asset-tile-stale-off::before { background: var(--red); box-shadow: 0 0 6px var(--red); }

    /* 2026-04-17 — Travel Planner v2. Sonnet skeleton + Haiku fan-out, SSE streaming,
       variant chips, budget bar, save to mindmap board + calendar. */
    .hub-travel-card {
      position: relative; overflow: hidden;
      background: linear-gradient(160deg, rgba(22,24,32,0.96), rgba(14,16,20,0.95));
      border: 1px solid var(--border-color); border-radius: 18px;
      padding: 14px 16px; margin-bottom: 16px;
    }
    .hub-travel-card::before {
      content:''; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
      background: radial-gradient(ellipse 600px 240px at 50% 0%, rgba(125,211,192,0.08), transparent 70%);
    }
    .hub-travel-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
    .hub-travel-titleblock { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
    .hub-travel-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-primary); letter-spacing: -0.01em; }
    .hub-travel-meta {
      font-family: var(--font-mono); font-size: 0.64rem; color: var(--text-muted);
      letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hub-travel-budget { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 140px; }
    .hub-travel-budget-nums { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-secondary); }
    .hub-travel-budget-nums .spent { color: var(--teal); font-weight: 600; }
    .hub-travel-budget-nums .sep { opacity: 0.4; padding: 0 4px; }
    .hub-travel-budget-bar { width: 140px; height: 4px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
    .hub-travel-budget-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--amber)); transition: width 300ms; }
    .hub-travel-budget-bar.over > i { background: linear-gradient(90deg, var(--red), var(--amber)); }
    .hub-travel-actions { display: flex; gap: 6px; }
    .hub-travel-save {
      background: linear-gradient(135deg, rgba(125,211,192,0.28), rgba(212,165,116,0.2));
      color: var(--text-primary); border: 1px solid rgba(125,211,192,0.4); border-radius: 10px;
      padding: 7px 12px; font-size: 0.72rem; font-weight: 600; cursor: pointer;
    }
    .hub-travel-save[disabled] { opacity: 0.45; cursor: not-allowed; }
    .hub-travel-save.saved { background: rgba(163,230,53,0.2); border-color: rgba(163,230,53,0.4); color: #a3e635; }
    .hub-travel-new {
      background: rgba(255,255,255,0.04); color: var(--text-secondary);
      border: 1px solid var(--border-color); border-radius: 10px;
      padding: 7px 10px; font-size: 0.72rem; cursor: pointer;
    }
    .hub-travel-input-row { display: flex; gap: 6px; margin-bottom: 10px; }
    .hub-travel-config-row { display: flex; gap: 6px; margin-bottom: 10px; }
    .hub-travel-origin { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 0.72rem; color: var(--text-primary); font-family: var(--font-body); }
    .hub-travel-origin::placeholder { color: var(--text-muted); opacity: 0.65; }
    .hub-travel-origin:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(125,211,192,0.15); }
    .hub-travel-budget-input { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; padding: 0 10px; font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }
    .hub-travel-budget-input span { font-weight: 600; opacity: 0.7; }
    .hub-travel-budget-input input { background: transparent; border: none; color: var(--text-primary); width: 80px; font-size: 0.75rem; font-family: var(--font-mono); outline: none; padding: 8px 0; }
    .hub-travel-budget-input input::-webkit-outer-spin-button, .hub-travel-budget-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
    .hub-travel-item-thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,0.04); cursor: pointer; transition: transform 120ms; }
    .hub-travel-item-thumb:hover { transform: scale(1.05); }
    .hub-travel-date-edit { display: inline-flex; gap: 4px; align-items: center; }
    .hub-travel-date-edit input { background: rgba(255,255,255,0.06); border: 1px solid rgba(125,211,192,0.35); border-radius: 5px; padding: 3px 5px; color: var(--text-primary); font-family: var(--font-mono); font-size: 0.72rem; }
    .hub-travel-date-edit button { background: var(--teal); color: #0a0d12; border: none; border-radius: 5px; padding: 3px 8px; font-weight: 600; font-size: 0.7rem; cursor: pointer; }
    .hub-travel-date-edit button.cancel { background: rgba(255,255,255,0.06); color: var(--text-secondary); }
    .hub-travel-meta .date-clickable { cursor: pointer; border-bottom: 1px dashed rgba(125,211,192,0.3); }
    .hub-travel-meta .date-clickable:hover { color: var(--teal); }
    .hub-gallery-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 10000; display: none; align-items: center; justify-content: center; flex-direction: column; backdrop-filter: blur(8px); }
    .hub-gallery-overlay.open { display: flex; }
    .hub-gallery-main { max-width: 90vw; max-height: 72vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
    .hub-gallery-title { color: #fff; font-size: 1.1rem; margin-top: 18px; font-family: var(--font-display); max-width: 80vw; text-align: center; }
    .hub-gallery-strip { display: flex; gap: 8px; margin-top: 16px; max-width: 80vw; overflow-x: auto; padding: 6px; }
    .hub-gallery-strip img { width: 72px; height: 54px; object-fit: cover; border-radius: 5px; cursor: pointer; opacity: 0.55; border: 2px solid transparent; transition: all 120ms; }
    .hub-gallery-strip img.active, .hub-gallery-strip img:hover { opacity: 1; border-color: var(--teal); }
    .hub-gallery-close, .hub-gallery-nav { position: absolute; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; }
    .hub-gallery-close { top: 20px; right: 20px; }
    .hub-gallery-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
    .hub-gallery-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
    .hub-gallery-link { color: var(--teal); text-decoration: none; font-size: 0.8rem; margin-top: 10px; font-family: var(--font-mono); }
    .hub-gallery-link:hover { text-decoration: underline; }
    .hub-travel-marker-v2 { overflow: visible; }
    .hub-travel-marker-v2 .tm-dot { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border: 2px solid #0a0d12; box-shadow: 0 0 10px rgba(0,0,0,0.6); cursor: pointer; }
    .hub-travel-marker-tooltip { background: rgba(10,13,18,0.96) !important; border: 1px solid rgba(255,255,255,0.18) !important; border-radius: 12px !important; padding: 0 !important; min-width: 220px; max-width: 300px; box-shadow: 0 10px 34px rgba(0,0,0,0.7) !important; color: #fff !important; overflow: hidden !important; transition: max-width 200ms ease; }
    .hub-travel-marker-tooltip:hover { max-width: 340px; }
    .hub-travel-marker-tooltip::before { border-top-color: rgba(10,13,18,0.95) !important; }
    .tm-tip-rich { display: flex; flex-direction: column; cursor: default; }
    .tm-tip-hero { width: 100%; height: 120px; object-fit: cover; display: block; background: rgba(255,255,255,0.04); }
    .tm-tip-body { padding: 8px 10px 10px; }
    .tm-tip-title { font-size: 0.84rem; color: #fff; font-weight: 600; display: block; line-height: 1.25; }
    .tm-tip-meta { font-family: var(--font-mono); font-size: 0.58rem; color: var(--teal); letter-spacing: 0.06em; margin-top: 3px; text-transform: uppercase; }
    .tm-tip-expand { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 260ms ease, opacity 200ms ease 60ms, margin-top 200ms ease; }
    .hub-travel-marker-tooltip:hover .tm-tip-expand { max-height: 420px; opacity: 1; margin-top: 8px; }
    .tm-tip-desc { font-size: 0.68rem; color: rgba(255,255,255,0.78); line-height: 1.45; }
    .tm-tip-reviews { font-family: var(--font-mono); font-size: 0.56rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; margin-top: 5px; text-transform: uppercase; }
    .tm-tip-gallery { display: flex; gap: 4px; margin-top: 7px; flex-wrap: wrap; }
    .tm-tip-gallery img { width: 68px; height: 52px; object-fit: cover; border-radius: 5px; }
    .tm-tip-link { display: inline-block; margin-top: 8px; padding: 4px 10px; background: rgba(125,211,192,0.12); border: 1px solid rgba(125,211,192,0.35); color: var(--teal); font-size: 0.64rem; text-decoration: none; border-radius: 5px; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
    .tm-tip-link:hover { background: rgba(125,211,192,0.22); }
    .hub-travel-item-thumbs { display: inline-flex; gap: 3px; flex-shrink: 0; }
    .hub-travel-item-thumbs .extra { width: 28px; height: 28px; border-radius: 5px; object-fit: cover; cursor: pointer; opacity: 0.85; transition: opacity 120ms; }
    .hub-travel-item-thumbs .extra:hover { opacity: 1; }
    .hub-travel-transit { display: flex; align-items: center; gap: 6px; margin: 2px 0 2px 20px; font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-muted); letter-spacing: 0.04em; padding: 2px 0; }
    .hub-travel-transit::before { content: ''; width: 1px; background: rgba(255,255,255,0.12); height: 14px; }
    .hub-travel-transit .icn { opacity: 0.8; }
    .hub-travel-transit.warn { color: #fca5a5; }
    .hub-travel-transit.warn::before { background: rgba(239,68,68,0.4); }
    .hub-travel-transit { flex-wrap: wrap; gap: 6px 8px; align-items: center; }
    .hub-travel-transit .leg-text { display: inline-flex; gap: 6px; align-items: center; }
    .hub-travel-transit .leg-modes { display: inline-flex; gap: 2px; margin-left: auto; padding-right: 4px; }
    .hub-travel-transit .leg-mode { width: 22px; height: 22px; border-radius: 5px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--text-secondary); cursor: pointer; font-size: 0.78rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; transition: all 100ms; line-height: 1; }
    .hub-travel-transit .leg-mode:hover { background: rgba(125,211,192,0.14); color: var(--text-primary); transform: translateY(-1px); }
    .hub-travel-transit .leg-mode.active { background: rgba(125,211,192,0.25); border-color: rgba(125,211,192,0.5); color: var(--teal); }
    .hub-travel-transit.mode-bus .icn { filter: hue-rotate(30deg); }
    .hub-travel-transit.mode-train .icn { filter: hue-rotate(-40deg); }
    .hub-travel-rain-banner { margin: 6px 0; padding: 6px 10px; border: 1px solid rgba(125,211,192,0.25); background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(125,211,192,0.06)); border-radius: 8px; display: flex; align-items: center; gap: 8px; font-size: 0.68rem; color: var(--text-primary); }
    .hub-travel-rain-banner .rain-icon { font-size: 1rem; }
    .hub-travel-rain-banner .rain-text { flex: 1; color: var(--text-secondary); }
    .hub-travel-rain-banner .rain-btn { font-size: 0.58rem; padding: 4px 10px; border-radius: 6px; border: 1px solid rgba(125,211,192,0.45); background: rgba(125,211,192,0.12); color: var(--teal); cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
    .hub-travel-rain-banner .rain-btn:hover { background: rgba(125,211,192,0.2); }
    .hub-travel-swap-modal { position: absolute; z-index: 500; background: rgba(10,13,18,0.98); border: 1px solid rgba(125,211,192,0.3); border-radius: 10px; padding: 10px; box-shadow: 0 12px 40px rgba(0,0,0,0.7); min-width: 320px; max-width: 400px; max-height: 400px; overflow-y: auto; }
    .hub-travel-swap-modal h4 { margin: 0 0 8px; font-size: 0.72rem; color: var(--text-primary); font-family: var(--font-display); }
    .hub-travel-swap-opt { display: flex; gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; align-items: center; border: 1px solid transparent; transition: all 120ms; margin-bottom: 4px; }
    .hub-travel-swap-opt:hover { background: rgba(125,211,192,0.1); border-color: rgba(125,211,192,0.35); }
    .hub-travel-swap-opt img { width: 44px; height: 44px; object-fit: cover; border-radius: 5px; flex-shrink: 0; background: rgba(255,255,255,0.04); }
    .hub-travel-swap-opt .t { font-size: 0.68rem; color: var(--text-primary); font-weight: 500; }
    .hub-travel-swap-opt .m { font-size: 0.56rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 2px; }
    .hub-travel-item-actions { display: inline-flex; gap: 3px; margin-left: auto; }
    .hub-travel-act { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; font-size: 0.72rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; transition: all 120ms; }
    .hub-travel-act:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
    .hub-travel-act.on { background: rgba(125,211,192,0.2); border-color: rgba(125,211,192,0.45); color: #7dd3c0; }
    .hub-travel-act.off { background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.4); color: #fca5a5; }
    .hub-travel-act.danger:hover { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); color: #fca5a5; }
    .hub-travel-item[data-status="skipping"] .hub-travel-item-title { text-decoration: line-through; opacity: 0.45; }
    .hub-travel-item[data-status="skipping"] .hub-travel-item-price { opacity: 0.45; }
    .hub-travel-item[data-status="skipping"] .hub-travel-item-thumb { filter: grayscale(1); opacity: 0.5; }
    .hub-travel-item[data-status="doing"] { border-left: 3px solid rgba(125,211,192,0.7); padding-left: 9px; }
    .hub-travel-item[data-kind="rest"] { background: rgba(196,181,253,0.08); border-left: 3px solid rgba(196,181,253,0.5); padding-left: 9px; }
    .hub-travel-add-rest { font-size: 0.58rem; padding: 3px 8px; border-radius: 6px; border: 1px dashed rgba(255,255,255,0.15); background: transparent; color: var(--text-muted); cursor: pointer; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
    .hub-travel-add-rest:hover { border-color: rgba(196,181,253,0.5); color: rgba(196,181,253,0.9); }
    /* v4 tile redesign: image hero on left, title+meta right, actions tuck away. */
    .hub-travel-item { padding: 0; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; background: rgba(255,255,255,0.02); margin-bottom: 6px; overflow: hidden; cursor: grab; position: relative; transition: all 120ms; }
    .hub-travel-item:hover { border-color: rgba(125,211,192,0.2); background: rgba(255,255,255,0.035); }
    .hub-travel-item.dragging { opacity: 0.5; cursor: grabbing; }
    .hub-travel-item.drop-above::before { content: ''; position: absolute; top: -3px; left: 0; right: 0; height: 3px; background: var(--teal); border-radius: 2px; box-shadow: 0 0 8px var(--teal); }
    .hub-travel-item[data-status="doing"] { border-left: 3px solid rgba(125,211,192,0.7); }
    .hub-travel-item[data-status="skipping"] { opacity: 0.4; }
    .hub-travel-item[data-kind="rest"] { background: linear-gradient(135deg, rgba(196,181,253,0.08), rgba(125,211,192,0.04)); border-left: 3px solid rgba(196,181,253,0.5); }
    .hub-travel-item[data-kind="rest"] .ti-thumb { background: rgba(196,181,253,0.2) !important; display:flex;align-items:center;justify-content:center;font-size:1.8rem; animation: restPulse 3s ease-in-out infinite; }
    @keyframes restPulse { 0%,100% { opacity: 0.6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
    .hub-travel-item.overtime { border-color: rgba(239,68,68,0.6); background: rgba(239,68,68,0.05); }
    .hub-travel-item.overtime .ti-time { color: #fca5a5; font-weight: 700; }
    .ti-grid { display: grid; grid-template-columns: 80px 1fr auto; gap: 10px; padding: 8px; align-items: center; }
    .ti-thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: rgba(255,255,255,0.04); cursor: pointer; grid-row: span 2; }
    .ti-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
    .ti-topline { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
    .ti-time { color: var(--teal); font-weight: 600; cursor: pointer; border-bottom: 1px dashed transparent; }
    .ti-time:hover { border-bottom-color: var(--teal); }
    .ti-slot { }
    .ti-duration { cursor: pointer; border-bottom: 1px dashed rgba(255,255,255,0.15); }
    .ti-duration:hover { color: var(--text-primary); border-bottom-color: var(--text-primary); }
    .ti-title { font-size: 0.82rem; color: var(--text-primary); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ti-title a { color: inherit; text-decoration: none; }
    .ti-title a:hover { color: var(--teal); }
    .ti-desc { font-size: 0.65rem; color: var(--text-secondary); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .ti-meta { display: flex; gap: 6px; align-items: center; font-size: 0.56rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.04em; margin-top: 2px; }
    .ti-meta .rating { color: var(--accent); }
    .ti-meta .pill { background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 4px; text-transform: uppercase; }
    .ti-price { font-family: var(--font-mono); font-weight: 700; font-size: 0.82rem; color: var(--teal); align-self: start; white-space: nowrap; }
    .ti-actions { display: flex; gap: 3px; align-self: end; grid-column: 3; }
    .ti-act { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--text-secondary); cursor: pointer; font-size: 0.72rem; padding: 0; }
    .ti-act:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }
    .ti-act.on { background: rgba(125,211,192,0.2); border-color: rgba(125,211,192,0.45); color: #7dd3c0; }
    .ti-act.off { background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.4); color: #fca5a5; }
    .ti-thumb-extra { display: flex; gap: 2px; margin-top: 2px; }
    .ti-thumb-extra img { width: 24px; height: 18px; object-fit: cover; border-radius: 3px; cursor: pointer; opacity: 0.7; }
    .ti-thumb-extra img:hover { opacity: 1; }
    .ti-regen { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.4); color: #fca5a5; font-size: 0.56rem; padding: 4px 8px; border-radius: 5px; cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; margin: 4px 8px; width: calc(100% - 16px); }
    .ti-regen:hover { background: rgba(239,68,68,0.25); }
    /* Replace picker (shown inline when user clicks 🗑) */
    .ti-replace { padding: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; background: rgba(125,211,192,0.05); }
    .ti-replace-opt { padding: 10px 6px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); cursor: pointer; text-align: center; transition: all 120ms; }
    .ti-replace-opt:hover { background: rgba(125,211,192,0.15); border-color: rgba(125,211,192,0.4); transform: translateY(-1px); }
    .ti-replace-opt .ico { font-size: 1.5rem; display: block; margin-bottom: 4px; }
    .ti-replace-opt .lbl { font-size: 0.62rem; font-weight: 600; color: var(--text-primary); }
    .ti-replace-cancel { grid-column: 1 / -1; font-size: 0.56rem; color: var(--text-muted); background: transparent; border: none; cursor: pointer; padding: 4px; }
    .ti-replace-cancel:hover { color: var(--red); }
    /* Edge-drag resize handle — tucked at the tile right edge, widens on hover */
    .hub-travel-item { padding-right: 10px; }
    .ti-resize-handle { position: absolute; top: 8px; bottom: 8px; right: 2px; width: 6px; border-radius: 3px; background: rgba(125,211,192,0.08); cursor: ew-resize; opacity: 0; transition: opacity 120ms, background 120ms, width 120ms; z-index: 2; }
    .hub-travel-item:hover .ti-resize-handle { opacity: 1; }
    .ti-resize-handle:hover { background: rgba(125,211,192,0.45); width: 8px; right: 1px; }
    .ti-resize-handle.dragging { background: var(--teal); opacity: 1; width: 10px; }
    body.hub-resizing { cursor: ew-resize !important; user-select: none; }
    .hub-resize-tooltip { position: fixed; z-index: 11000; background: rgba(10,13,18,0.96); border: 1px solid var(--teal); color: var(--teal); font-family: var(--font-mono); font-size: 0.72rem; padding: 6px 12px; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.6); pointer-events: none; font-weight: 700; }
    /* Cross-day drop target highlight */
    .hub-travel-day-items.drop-target { background: rgba(125,211,192,0.06); outline: 2px dashed rgba(125,211,192,0.3); outline-offset: -2px; border-radius: 8px; padding: 4px; transition: all 120ms; }
    .hub-travel-day-items.drop-target-empty::after { content: 'Drop here'; display: block; text-align: center; padding: 16px; font-family: var(--font-mono); font-size: 0.62rem; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; }
    /* Popover replace picker (replaces the inline one) */
    .hub-replace-popover { position: absolute; z-index: 10500; background: rgba(10,13,18,0.98); border: 1px solid rgba(125,211,192,0.35); border-radius: 12px; box-shadow: 0 16px 48px rgba(0,0,0,0.7); padding: 14px; width: 260px; backdrop-filter: blur(10px);   max-height: 70vh; overflow-y: auto;
}
    .hub-replace-popover::before { content: ''; position: absolute; top: -6px; left: 20px; width: 12px; height: 12px; background: rgba(10,13,18,0.98); border-top: 1px solid rgba(125,211,192,0.35); border-left: 1px solid rgba(125,211,192,0.35); transform: rotate(45deg); }
    .hub-replace-popover h5 { margin: 0 0 10px; font-size: 0.68rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
    .hub-replace-popover .opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .hub-replace-popover .opt { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: all 120ms; }
    .hub-replace-popover .opt:hover { background: rgba(125,211,192,0.15); border-color: var(--teal); transform: translateY(-1px); }
    .hub-replace-popover .opt .ico { font-size: 1.7rem; margin-bottom: 4px; }
    .hub-replace-popover .opt .lbl { font-size: 0.62rem; font-weight: 600; color: var(--text-primary); }
    .hub-replace-popover .foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.56rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
    .hub-replace-popover .foot button { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font: inherit; padding: 0; }
    .hub-replace-popover .foot button.delete:hover { color: var(--red); }
    .hub-replace-popover .foot button.cancel:hover { color: var(--text-primary); }
    .hub-replace-popover.step2 { width: 320px; }
    .hub-replace-popover .step2-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .hub-replace-popover .step2-head .back { background: transparent; border: none; color: var(--teal); cursor: pointer; font-size: 1.1rem; padding: 0; width: 20px; }
    .hub-replace-popover .step2-head strong { color: #fff; font-size: 0.78rem; flex: 1; }
    .hub-replace-popover .subcat-label { font-size: 0.58rem; color: var(--teal); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; margin-bottom: 4px; }
    .hub-replace-popover .cand-grid { display: flex; flex-direction: column; gap: 4px;   max-height: 240px; overflow-y: auto;
}
    .hub-replace-popover .cand-card { display: flex; gap: 8px; padding: 6px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); cursor: pointer; align-items: center; transition: all 100ms; }
    .hub-replace-popover .cand-card:hover { background: rgba(125,211,192,0.15); border-color: var(--teal); transform: translateY(-1px); }
    .hub-replace-popover .cand-card img { width: 44px; height: 44px; object-fit: cover; border-radius: 5px; flex-shrink: 0; background: rgba(255,255,255,0.04); }
    .hub-replace-popover .cand-card .info { flex: 1; min-width: 0; }
    .hub-replace-popover .cand-card .nm { font-size: 0.68rem; color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hub-replace-popover .cand-card .mt { font-size: 0.54rem; color: var(--text-muted); font-family: var(--font-mono); margin-top: 2px; display: flex; gap: 6px; }
    .hub-replace-popover .cand-card .mt .rt { color: var(--accent); }
    .hub-replace-popover .empty-sub { font-size: 0.62rem; color: var(--text-muted); padding: 16px 8px; text-align: center; }
    .hub-scope-wrap { padding: 6px 0; }
    .hub-scope-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .hub-scope-head .title { font-family: var(--font-display); color: var(--text-primary); font-size: 1rem; }
    .hub-scope-head .sub { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
    .hub-scope-head .back { background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); font-family: var(--font-mono); font-size: 0.58rem; padding: 4px 10px; border-radius: 6px; cursor: pointer; letter-spacing: 0.06em; text-transform: uppercase; }
    .hub-scope-head .back:hover { color: var(--teal); border-color: var(--teal); }
    .hub-scope-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; padding: 8px; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; background: rgba(255,255,255,0.02); margin-bottom: 6px; cursor: pointer; transition: all 120ms; align-items: center; }
    .hub-scope-item:hover { border-color: rgba(125,211,192,0.35); background: rgba(125,211,192,0.05); transform: translateX(2px); }
    .hub-scope-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,0.04); }
    .hub-scope-item .body { min-width: 0; }
    .hub-scope-item .name { font-size: 0.78rem; color: var(--text-primary); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hub-scope-item .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; font-family: var(--font-mono); font-size: 0.56rem; color: var(--text-muted); letter-spacing: 0.04em; }
    .hub-scope-item .meta .pill { background: rgba(255,255,255,0.04); padding: 1px 6px; border-radius: 4px; text-transform: uppercase; }
    .hub-scope-item .meta .rt { color: var(--accent); }
    .hub-scope-item .meta .tier { color: var(--teal); font-weight: 600; }
    .hub-scope-item .desc { font-size: 0.62rem; color: var(--text-secondary); line-height: 1.3; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .hub-scope-item .price { font-family: var(--font-mono); font-size: 0.92rem; color: var(--teal); font-weight: 700; text-align: right; }
    .hub-scope-item .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
    .hub-scope-item .add-btn { background: rgba(125,211,192,0.1); border: 1px solid rgba(125,211,192,0.35); color: var(--teal); font-size: 0.54rem; padding: 4px 9px; border-radius: 5px; cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
    .hub-scope-item .add-btn:hover { background: rgba(125,211,192,0.22); transform: translateY(-1px); }
    .hub-scope-item .add-btn.picker-open { background: rgba(125,211,192,0.28); }
    .hub-scope-daypick { position: absolute; z-index: 200; background: rgba(10,13,18,0.98); border: 1px solid rgba(125,211,192,0.35); border-radius: 8px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.6); min-width: 140px; }
    .hub-scope-daypick .dp-opt { display: block; width: 100%; text-align: left; background: transparent; border: none; color: var(--text-primary); font-family: var(--font-body); font-size: 0.65rem; padding: 6px 8px; border-radius: 4px; cursor: pointer; }
    .hub-scope-daypick .dp-opt:hover { background: rgba(125,211,192,0.15); color: var(--teal); }
    .hub-scope-item .price .unit { display: block; font-size: 0.52rem; color: var(--text-muted); font-weight: 400; }
    /* Tile body gets pointer cursor + subtle hover hint to signal "click to jump map" */
    .hub-travel-item .ti-body { cursor: pointer; }
    .hub-travel-item .ti-body:hover .ti-title { color: var(--teal); }
    /* Custom item add form (collapsed → expanded) */
    .hub-travel-add-item { display: flex; gap: 6px; margin-top: 6px; padding: 6px; border: 1px dashed rgba(255,255,255,0.15); border-radius: 8px; align-items: center; }
    .hub-travel-add-item select, .hub-travel-add-item input[type=text] { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; font-size: 0.65rem; color: var(--text-primary); font-family: var(--font-body); }
    .hub-travel-add-item input[type=text] { flex: 1; min-width: 0; }
    .hub-travel-add-item button { background: var(--teal); color: #0a0d12; border: none; border-radius: 6px; padding: 6px 10px; font-weight: 600; font-size: 0.65rem; cursor: pointer; }
    /* Day focus mode: clickable day header + active state */
    .hub-travel-day-head { cursor: pointer; transition: background 120ms; padding: 6px; border-radius: 6px; }
    .hub-travel-day-head:hover { background: rgba(125,211,192,0.06); }
    .hub-travel-day.focused .hub-travel-day-head { background: rgba(125,211,192,0.12); }
    .hub-travel-day.focused { border: 1px solid rgba(125,211,192,0.3); border-radius: 10px; padding: 4px; }
    .hub-travel-all-days { font-size: 0.58rem; padding: 3px 8px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.15); background: transparent; color: var(--text-muted); cursor: pointer; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; margin-left: 8px; }
    .hub-travel-all-days:hover { color: var(--teal); border-color: var(--teal); }
    .hub-travel-scope {
      background: rgba(16,16,20,0.6); border: 1px solid var(--border-color); border-radius: 10px;
      padding: 9px 28px 9px 12px; color: var(--text-primary); font-size: 0.72rem;
      font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em;
      appearance: none; -webkit-appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
      background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
      background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; cursor: pointer;
    }
    .hub-travel-input {
      flex: 1; background: rgba(16,16,20,0.6); border: 1px solid var(--border-color); border-radius: 10px;
      padding: 9px 14px; color: var(--text-primary); font-size: 0.85rem; font-family: var(--font-body);
    }
    .hub-travel-input::placeholder { color: var(--text-muted); opacity: 0.65; }
    .hub-travel-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(125,211,192,0.15); }
    .hub-travel-go {
      background: linear-gradient(135deg, rgba(125,211,192,0.3), rgba(212,165,116,0.22));
      color: var(--text-primary); border: 1px solid rgba(125,211,192,0.4); border-radius: 10px;
      padding: 9px 16px; font-weight: 600; cursor: pointer; font-size: 0.82rem;
    }
    .hub-travel-go:hover { background: linear-gradient(135deg, rgba(125,211,192,0.45), rgba(212,165,116,0.35)); }
    .hub-travel-voice {
      background: rgba(255,255,255,0.04); color: var(--text-secondary);
      border: 1px solid var(--border-color); border-radius: 10px; width: 38px; cursor: pointer; font-size: 0.9rem;
    }
    .hub-travel-voice.active { background: rgba(248,113,113,0.22); border-color: #f87171; color: #fecaca; animation: travel-mic-pulse 1s ease-in-out infinite; }
    @keyframes travel-mic-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(248,113,113,0.5);} 50% { box-shadow: 0 0 0 4px rgba(248,113,113,0.18);} }
    .hub-travel-body { display: grid; grid-template-columns: 1.1fr 1.3fr; gap: 14px; }
    @media (max-width: 900px) { .hub-travel-body { grid-template-columns: 1fr; } }
    .hub-travel-map-wrap {
      position: relative; height: 480px; border-radius: 14px; overflow: hidden;
      border: 1px solid var(--border-color); box-shadow: inset 0 0 24px rgba(0,0,0,0.4);
    }
    #hub-travel-map { width: 100%; height: 100%; background: #0a0d12; filter: hue-rotate(-4deg) brightness(0.88) contrast(1.05); }
    .hub-travel-route { stroke: #7dd3c0; stroke-width: 3; stroke-dasharray: 8 8; animation: travel-dash 60s linear infinite; filter: drop-shadow(0 0 4px rgba(125,211,192,0.6)); }
    @keyframes travel-dash { to { stroke-dashoffset: -1000; } }
    .hub-travel-itin { max-height: 480px; overflow-y: auto; padding-right: 4px; display: flex; flex-direction: column; gap: 10px; }
    .hub-travel-empty { padding: 32px 24px; text-align: center; color: var(--text-muted); font-size: 0.82rem; line-height: 1.55; }
    .hub-travel-span { display: flex; flex-direction: column; gap: 6px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,0.06); }
    .hub-travel-day {
      background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
      border-radius: 12px; padding: 10px 12px;
    }
    .hub-travel-day-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
    .hub-travel-day-idx {
      font-family: var(--font-display); font-size: 0.78rem; color: var(--teal); letter-spacing: -0.01em;
      background: rgba(125,211,192,0.1); border: 1px solid rgba(125,211,192,0.2);
      padding: 2px 8px; border-radius: 8px;
    }
    .hub-travel-day-date { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); }
    .hub-travel-day-intent { font-size: 0.7rem; color: var(--text-secondary); font-style: italic; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hub-travel-day-items { display: flex; flex-direction: column; gap: 4px; }
    .hub-travel-item {
      background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.05);
      border-left: 3px solid var(--border-color); border-radius: 10px;
      padding: 8px 10px; transition: all 140ms;
    }
    .hub-travel-item:hover { background: rgba(255,255,255,0.04); border-color: rgba(125,211,192,0.2); }
    .hub-travel-item[data-kind="stay"] { border-left-color: var(--teal); }
    .hub-travel-item[data-kind="flight"] { border-left-color: var(--amber); }
    .hub-travel-item[data-kind="activity"] { border-left-color: #86efac; }
    .hub-travel-item[data-kind="food"] { border-left-color: #f9a8d4; }
    .hub-travel-item[data-kind="transit"] { border-left-color: #c4b5fd; }
    .hub-travel-item[data-kind="note"] { border-left-color: rgba(255,255,255,0.3); }
    .hub-travel-item-head { display: flex; align-items: baseline; gap: 8px; }
    .hub-travel-item-slot {
      font-family: var(--font-mono); font-size: 0.5rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); min-width: 30px;
    }
    .hub-travel-item-time { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-secondary); min-width: 42px; }
    .hub-travel-item-title { flex: 1; font-size: 0.82rem; color: var(--text-primary); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hub-travel-item-title a { color: inherit; text-decoration: none; }
    .hub-travel-item-title a:hover { color: var(--teal); text-decoration: underline; }
    .hub-travel-item-price { font-family: var(--font-mono); font-size: 0.72rem; color: var(--teal); font-weight: 600; flex-shrink: 0; }
    .hub-travel-item-desc { font-size: 0.66rem; color: var(--text-muted); margin-top: 3px; padding-left: 80px; line-height: 1.45; }
    .hub-travel-item-tags { display: flex; gap: 4px; padding-left: 80px; margin-top: 4px; flex-wrap: wrap; }
    .hub-travel-item-tag {
      font-family: var(--font-mono); font-size: 0.5rem;
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
      color: var(--text-muted); padding: 1px 6px; border-radius: 6px;
      text-transform: uppercase; letter-spacing: 0.08em;
    }
    .hub-travel-variants { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 0 0 80px; margin-top: 4px; }
    .hub-travel-variant {
      display: inline-flex; align-items: baseline; gap: 5px;
      font-size: 0.62rem; padding: 4px 9px; border-radius: 8px;
      background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
      color: var(--text-secondary); cursor: pointer; transition: all 140ms; font-family: var(--font-body);
    }
    .hub-travel-variant:hover { border-color: rgba(125,211,192,0.3); color: var(--text-primary); }
    .hub-travel-variant.active { background: rgba(125,211,192,0.15); border-color: var(--teal); color: var(--teal); font-weight: 600; }
    .hub-travel-variant .price { font-family: var(--font-mono); font-weight: 600; }
    /* Stay/flight gallery — scrollable many-options list */
    .hub-travel-gallery-wrap { padding: 6px 0 8px 80px; margin-top: 4px; }
    .hub-travel-gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 8px; }
    .hub-travel-gallery-title { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
    .hub-travel-regen-btn { background: rgba(125,211,192,0.1); border: 1px solid rgba(125,211,192,0.3); color: var(--teal); padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; cursor: pointer; transition: all 140ms; display: inline-flex; align-items: center; gap: 4px; }
    .hub-travel-regen-btn:hover { background: rgba(125,211,192,0.2); border-color: var(--teal); }
    .hub-travel-regen-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .hub-travel-regen-btn.spinning { opacity: 0.7; pointer-events: none; }
    .hub-travel-regen-btn.spinning::before { content: '⟳'; animation: spin 1s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .hub-travel-tier-group { margin-bottom: 10px; }
    .hub-travel-tier-label { font-size: 0.65rem; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
    .hub-travel-stay-scroll { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px; scrollbar-width: thin; }
    .hub-travel-stay-scroll::-webkit-scrollbar { height: 6px; }
    .hub-travel-stay-scroll::-webkit-scrollbar-thumb { background: rgba(125,211,192,0.3); border-radius: 3px; }
    .hub-travel-stay-card { flex: 0 0 200px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 6px; cursor: pointer; transition: all 140ms; display: flex; flex-direction: column; gap: 3px; position: relative; }
    .hub-travel-stay-card .hts-review-count { font-size: 0.6rem; color: var(--text-muted); opacity: 0.8; }
    .hub-travel-stay-card .hts-amenities { font-size: 0.58rem; color: var(--text-muted); display: flex; gap: 3px; flex-wrap: wrap; line-height: 1.2; margin-top: 2px; }
    .hub-travel-stay-card .hts-amen-pill { background: rgba(125,211,192,0.08); border: 1px solid rgba(125,211,192,0.15); border-radius: 3px; padding: 1px 4px; color: var(--text-secondary); }
    .hub-travel-stay-card .hts-distance { font-size: 0.58rem; color: var(--text-muted); font-family: var(--font-mono); }
    .hub-travel-stay-card .hts-confidence-warning { position: absolute; top: 10px; right: 10px; background: rgba(245,158,11,0.9); color: #000; font-size: 0.52rem; padding: 1px 4px; border-radius: 3px; font-weight: 700; cursor: help; }
    .hub-travel-stay-group-header { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; padding: 4px 8px; background: rgba(125,211,192,0.08); border-left: 3px solid var(--teal); border-radius: 4px; }
    .hub-travel-stay-group-icon { font-size: 1.1rem; }
    .hub-travel-stay-group-title { font-size: 0.78rem; font-weight: 700; color: var(--text-primary); }
    .hub-travel-stay-group-count { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font-mono); }
    .hub-travel-stay-subtier { font-size: 0.6rem; color: var(--text-muted); margin: 4px 0 2px 4px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
    .hub-travel-stay-card:hover { border-color: rgba(125,211,192,0.4); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
    .hub-travel-stay-card.active { border-color: var(--teal); background: rgba(125,211,192,0.1); box-shadow: 0 0 0 2px rgba(125,211,192,0.2); }
    .hub-travel-stay-card img { width: 100%; height: 90px; object-fit: cover; border-radius: 5px; background: rgba(255,255,255,0.04); }
    .hub-travel-stay-card .hts-name { font-size: 0.72rem; font-weight: 600; line-height: 1.2; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 1.9em; text-decoration: none; cursor: pointer; }
    .hub-travel-stay-card .hts-name:hover { color: var(--teal); text-decoration: underline; }
    .hub-travel-stay-card .hts-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.65rem; color: var(--text-secondary); gap: 6px; }
    .hub-travel-stay-card .hts-price { font-family: var(--font-mono); font-weight: 700; color: var(--teal); }
    .hub-travel-stay-card .hts-rating { font-size: 0.62rem; color: #fbbf24; }
    .hub-travel-stay-card .hts-badge { position: absolute; top: 10px; left: 10px; font-size: 0.55rem; font-weight: 700; padding: 2px 6px; border-radius: 3px; backdrop-filter: blur(4px); background: rgba(10,13,18,0.75); color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }
    .hub-travel-stay-card .hts-badge.shared { background: rgba(239,68,68,0.85); }
    .hub-travel-stay-card .hts-badge.private { background: rgba(99,102,241,0.85); }
    .hub-travel-stay-card .hts-badge.entire { background: rgba(16,185,129,0.85); }
    /* Flight scrollable list */
    .hub-travel-flight-scroll { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow-y: auto; padding-right: 4px; }
    .hub-travel-flight-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 6px; cursor: pointer; font-size: 0.72rem; transition: all 140ms; }
    .hub-travel-flight-row:hover { border-color: rgba(125,211,192,0.4); background: rgba(255,255,255,0.05); }
    .hub-travel-flight-row.active { border-color: var(--teal); background: rgba(125,211,192,0.1); }
    .hub-travel-flight-row .hfr-left { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-primary); text-decoration: none; }
    .hub-travel-flight-row .hfr-left:hover { color: var(--teal); text-decoration: underline; }
    .hub-travel-flight-row .hfr-price { font-family: var(--font-mono); font-weight: 700; color: var(--teal); flex-shrink: 0; }
    .hub-travel-weather-strip {
      position: absolute; bottom: 10px; left: 10px; right: 10px;
      display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
      padding: 4px; background: rgba(10,13,18,0.85); backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; z-index: 400;
    }
    .hub-travel-weather-day { padding: 4px; text-align: center; font-size: 0.58rem; }
    .hub-travel-weather-day .dt { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.52rem; }
    .hub-travel-weather-day .ico { font-size: 1rem; margin: 2px 0; }
    .hub-travel-weather-day .tmp { font-family: var(--font-mono); font-weight: 600; color: var(--text-primary); }
    .hub-travel-status { margin-top: 8px; font-size: 0.65rem; font-family: var(--font-mono); color: var(--text-muted); min-height: 16px; }
    .hub-travel-status.busy { color: var(--teal); }
    .hub-travel-status.busy::before { content: '◉ '; animation: travel-pulse 1s ease-in-out infinite; }
    .hub-travel-status.error { color: var(--red); }
    .hub-travel-status.success { color: #a3e635; }
    @keyframes travel-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
    .hub-travel-budget-cut { opacity: 0.35; text-decoration: line-through; }
    .hub-travel-item[data-status='skipping-budget'] { opacity: 0.4; text-decoration: line-through; }
    .hub-travel-item[data-status='skipping-budget']::before { content: '💸 trimmed by budget · '; color: #f59e0b; font-weight: 600; font-size: 0.6rem; text-decoration: none; display: block; margin-bottom: 3px; }
    .hub-travel-budget-slider-row { margin: 8px 0 14px; padding: 10px 12px; background: linear-gradient(135deg, rgba(125,211,192,0.08), rgba(99,102,241,0.05)); border: 1px solid rgba(125,211,192,0.25); border-radius: 10px; }
    .hbs-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; font-size: 0.72rem; }
    .hbs-label { font-weight: 700; color: var(--teal); font-size: 0.8rem; }
    .hbs-value { color: var(--text-primary); }
    .hbs-value strong { color: var(--teal); font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; }
    .hbs-current { color: var(--text-muted); }
    .hbs-status { margin-left: auto; font-size: 0.65rem; color: var(--text-muted); font-style: italic; }
    .hbs-status.trimming { color: #f59e0b; font-style: normal; font-weight: 600; }
    .hbs-status.ok { color: #10b981; font-style: normal; }
    #hub-travel-budget-slider { width: 100%; height: 8px; appearance: none; -webkit-appearance: none; background: rgba(255,255,255,0.08); border-radius: 6px; outline: none; cursor: pointer; }
    #hub-travel-budget-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 3px solid rgba(125,211,192,0.3); cursor: grab; box-shadow: 0 0 12px rgba(125,211,192,0.6); transition: transform 120ms; }
    #hub-travel-budget-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
    #hub-travel-budget-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.25); }
    #hub-travel-budget-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); border: 3px solid rgba(125,211,192,0.3); cursor: grab; }
    .hbs-scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.55rem; color: var(--text-muted); font-family: var(--font-mono); opacity: 0.7; }
    .hub-travel-day-collapse { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.75rem; padding: 0 4px; transition: transform 160ms; line-height: 1; }
    .hub-travel-day-collapse.collapsed { transform: rotate(-90deg); }
    .hub-travel-day-lock { background: none; border: none; cursor: pointer; font-size: 0.8rem; padding: 0 3px; line-height: 1; }
    .hub-travel-day.drag-over { outline: 2px dashed rgba(125,211,192,0.5); outline-offset: 2px; }
    .hub-travel-timebar { position:relative; height:46px; background:rgba(255,255,255,0.03); border-radius:6px; margin:8px 0 10px; overflow:hidden; cursor:default; border:1px solid rgba(255,255,255,0.05) }
    .hub-travel-timebar-axis { position:absolute; left:0; right:0; bottom:0; height:12px; pointer-events:none; font-size:0.52rem; color:var(--text-muted); }
    .hub-travel-timebar-tick { position:absolute; bottom:0; width:1px; height:5px; background:rgba(255,255,255,0.18); }
    .hub-travel-timebar-hour { position:absolute; bottom:0; transform:translateX(-50%); line-height:12px; padding:0 2px; opacity:0.8; }
    .hub-travel-timebar-block { position:absolute; top:4px; height:28px; border-radius:5px; opacity:0.92; font-size:0.6rem; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:2px 5px; overflow:hidden; white-space:nowrap; color:#0a0d12; font-weight:600; box-shadow:0 1px 2px rgba(0,0,0,0.15); cursor:grab }
    .hub-travel-timebar-block:active { cursor:grabbing }
    .hub-travel-timebar-block .tb-dur { font-size:0.5rem; font-weight:500; opacity:0.75; line-height:1 }
    @keyframes travel-slide-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    .hub-travel-day.new, .hub-travel-item.new { animation: travel-slide-in 280ms ease-out both; }
    .hub-travel-board-cta { margin-top: 10px; display: flex; justify-content: flex-end; }
    .hub-travel-board-open {
      font-size: 0.62rem; color: var(--text-muted); background: transparent;
      border: 1px dashed rgba(255,255,255,0.12); padding: 5px 12px; border-radius: 8px; cursor: pointer;
      font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
    }
    .hub-travel-board-open:hover { color: var(--teal); border-color: rgba(125,211,192,0.3); }

    /* Lower finance row — 2-col grid (Live Markets + Hunts/Alerts side-by-side) */
    .finance-lower {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px;
    }
    /* 2026-04-14 — Compact variant of the alerts card for inline finance row.
       The original sits in its own dash-section at full width; when placed in
       finance-lower, tighten paddings + hide hunt-add row to fit the column. */
    .hub-alerts-card.compact {
      padding: 14px 16px;
    }
    .hub-alerts-card.compact .hub-alerts-head-label { font-size: 0.62rem; }
    .hub-alerts-card.compact .hub-alerts-status { font-size: 0.65rem; margin: 6px 0; }
    .hub-alerts-card.compact .hub-alert-add-row:nth-of-type(2) { display: none; }
    .hub-alerts-card.compact .hub-alert-list { max-height: 360px; overflow-y: auto; }
    .hub-alerts-card.compact #hub-perf-list { max-height: 280px; overflow-y: auto; }

    /* Rental Card */
    .hub-rental-card {
      position: relative; overflow: hidden;
      background: linear-gradient(160deg, rgba(19,19,22,0.9), rgba(14,14,16,0.85));
      border: 1px solid var(--border-color); border-radius: 14px;
      padding: 14px 16px 12px;
    }
    .hub-rental-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
      opacity: 0.35;
    }
    .hub-rental-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .hub-rental-icon-wrap {
      width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
      background: var(--accent-dim); border: 1px solid rgba(212,165,116,0.22);
      display: flex; align-items: center; justify-content: center; color: var(--accent);
    }
    .hub-rental-icon-wrap svg { width: 18px; height: 18px; }
    .hub-rental-title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; flex: 1; color: var(--text-primary); }
    .hub-rental-badge {
      font-family: var(--font-mono); font-size: 0.58rem; font-weight: 600;
      padding: 4px 9px; border-radius: 20px; letter-spacing: 0.06em;
      background: rgba(163,230,53,0.1); color: var(--green); border: 1px solid rgba(163,230,53,0.25);
    }
    .hub-rental-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-top: 1px solid var(--border-color); padding-top: 8px; }
    .hub-rental-stat { text-align: left; padding: 0 10px; position: relative; }
    .hub-rental-stat + .hub-rental-stat::before {
      content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--border-color);
    }
    .hub-rental-stat-val {
      font-family: var(--font-display); font-size: 1rem; font-weight: 400;
      letter-spacing: -0.02em; line-height: 1.1; color: var(--text-primary);
      font-variation-settings: "opsz" 144, "SOFT" 40;
    }
    .hub-rental-stat-label {
      font-family: var(--font-body); font-size: 0.58rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px;
    }

    /* Expenses Card */
    .hub-exp-card {
      position: relative; overflow: hidden;
      background: linear-gradient(160deg, rgba(22,17,17,0.92), rgba(14,12,12,0.88));
      border: 1px solid var(--border-color); border-radius: 14px;
      padding: 14px 16px 12px;
    }
    .hub-exp-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--red) 30%, var(--red) 70%, transparent);
      opacity: 0.4;
    }
    .hub-exp-card::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(ellipse 300px 160px at 100% 0%, rgba(248,113,113,0.07), transparent 60%);
    }
    .hub-exp-head { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
    .hub-exp-head-label {
      font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em;
      display: flex; align-items: center; gap: 8px;
    }
    .hub-exp-head-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
    .hub-exp-count { font-family: var(--font-mono); font-size: 0.58rem; color: var(--text-muted); letter-spacing: 0.08em; }
    .hub-exp-total {
      position: relative;
      font-family: var(--font-display); font-weight: 400;
      font-size: clamp(1.4rem, 2.5vw, 1.8rem); letter-spacing: -0.03em;
      color: var(--red); line-height: 1; margin: 6px 0 4px;
      font-variation-settings: "opsz" 144, "SOFT" 50;
    }
    .hub-exp-total .sign { font-size: 0.75em; margin-right: 0.05em; opacity: 0.85; font-weight: 300; }
    .hub-exp-total .cur { font-size: 0.5em; vertical-align: 0.38em; margin-right: 0.05em; opacity: 0.7; font-weight: 300; }
    .hub-exp-sub { position: relative; font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-secondary); margin-bottom: 8px; letter-spacing: 0.04em; }
    .hub-exp-input-row { position: relative; display: grid; grid-template-columns: 1fr 80px 36px; gap: 6px; margin-bottom: 10px; }
    .hub-exp-input {
      background: rgba(255,255,255,0.04); border: 1px solid var(--border-color);
      border-radius: 10px; padding: 8px 12px; color: var(--text-primary);
      font-family: var(--font-body); font-size: 0.8rem;
    }
    .hub-exp-input.amt { font-family: var(--font-mono); text-align: right; }
    .hub-exp-input:focus { border-color: rgba(248,113,113,0.35); outline: none; }
    .hub-exp-add-btn {
      border-radius: 10px; background: rgba(248,113,113,0.1);
      border: 1px solid rgba(248,113,113,0.3); color: var(--red);
      font-size: 1.2rem; font-weight: 300; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
    }
    .hub-exp-add-btn:hover { background: rgba(248,113,113,0.2); }
    .hub-exp-list { position: relative; display: flex; flex-direction: column; }
    .hub-exp-row {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 0; border-bottom: 1px solid var(--border-color);
    }
    .hub-exp-row:last-child { border-bottom: none; }
    .hub-exp-minus {
      width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
      background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.3);
      color: var(--red); display: flex; align-items: center; justify-content: center;
      font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700;
    }
    .hub-exp-name { flex: 1; font-family: var(--font-body); font-size: 0.84rem; color: var(--text-primary); }
    .hub-exp-amount { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--red); }
    .hub-exp-del {
      flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); opacity: 0; transition: opacity 180ms ease; cursor: pointer; border: none; background: none;
    }
    .hub-exp-row:hover .hub-exp-del { opacity: 1; }
    .hub-exp-del:hover { color: var(--red); background: rgba(248,113,113,0.1); }
    .hub-exp-empty {
      padding: 14px 4px; text-align: center;
      font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); font-style: italic;
    }

    /* Crypto Prices Card */
    .hub-prices-card {
      background: linear-gradient(160deg, rgba(19,19,22,0.9), rgba(14,14,16,0.85));
      border: 1px solid var(--border-color); border-radius: 14px;
      padding: 14px 16px 10px;
    }
    .hub-prices-header {
      font-family: var(--font-body); font-size: 0.58rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em;
      margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
    }
    .hub-prices-header::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--green); box-shadow: 0 0 8px var(--green);
      animation: hubPricePulse 2.4s ease-in-out infinite;
    }
    .hub-prices-header::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
    @keyframes hubPricePulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
    .hub-prices-list { display: flex; flex-direction: column; gap: 0; }
    .hub-price-row {
      display: flex; align-items: center; gap: 8px; padding: 6px 0;
      border-bottom: 1px solid var(--border-color);
      position: relative;
    }
    .hub-price-row:last-child { border-bottom: none; }
    .hub-price-symbol { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--accent); width: 38px; flex-shrink: 0; }
    .hub-price-name { font-family: var(--font-body); font-size: 0.65rem; color: var(--text-secondary); flex: 0 0 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* 2026-04-14 — per-row mini sparkline */
    .hub-price-spark {
      flex: 1; height: 20px; min-width: 30px; max-width: 70px;
      opacity: 0.85;
    }
    .hub-price-spark svg { width: 100%; height: 100%; display: block; }
    .hub-price-val { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; text-align: right; color: var(--text-primary); flex-shrink: 0; }
    .hub-price-change {
      font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; text-align: right; min-width: 52px; flex-shrink: 0;
    }
    .hub-price-change.up { color: var(--green); }
    .hub-price-change.down { color: var(--red); }
    .hub-price-remove {
      background: none; border: none; color: var(--text-muted); opacity: 0;
      cursor: pointer; font-size: 14px; line-height: 1; padding: 0 2px;
      transition: opacity 180ms;
    }
    .hub-price-row:hover .hub-price-remove { opacity: 0.7; }
    .hub-price-remove:hover { color: var(--red); opacity: 1; }

    /* 2026-04-14 — Add-symbol row (mirrors hunt-tracker input bar) */
    .hub-prices-add-row {
      display: flex; gap: 6px; margin: 6px 0 8px 0;
    }
    .hub-prices-add-input {
      flex: 1; background: rgba(16,16,20,0.6);
      border: 1px solid var(--border-color); border-radius: 8px;
      padding: 6px 10px; color: var(--text-primary);
      font-size: 0.72rem; font-family: var(--font-body);
    }
    .hub-prices-add-input::placeholder { color: var(--text-muted); opacity: 0.7; }
    .hub-prices-add-input:focus { outline: none; border-color: var(--accent); }
    .hub-prices-add-btn {
      width: 30px; height: 30px; border-radius: 8px;
      background: rgba(212,165,116,0.1); color: var(--accent);
      border: 1px solid rgba(212,165,116,0.3);
      font-size: 1rem; line-height: 1; cursor: pointer;
      flex-shrink: 0;
    }
    .hub-prices-add-btn:hover { background: rgba(212,165,116,0.2); }

    /* 2026-04-14 — autocomplete dropdown for Add-symbol */
    .hub-prices-ac-dropdown {
      position: absolute; top: 100%; left: 0; right: 40px; z-index: 100;
      background: rgba(16,16,20,0.98);
      border: 1px solid var(--border-color); border-radius: 10px;
      max-height: 200px; overflow-y: auto;
      margin-top: 4px; padding: 4px;
      display: none;
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    }
    .hub-prices-ac-dropdown.visible { display: block; }
    .hub-prices-ac-item {
      padding: 6px 10px; cursor: pointer; border-radius: 6px;
      font-size: 0.72rem; display: flex; justify-content: space-between; gap: 10px;
      color: var(--text-primary);
    }
    .hub-prices-ac-item:hover, .hub-prices-ac-item.active {
      background: rgba(212,165,116,0.12); color: var(--accent);
    }
    .hub-prices-ac-item .ac-sym { font-family: var(--font-mono); font-weight: 600; color: var(--accent); }
    .hub-prices-ac-item .ac-name { color: var(--text-muted); }
    .hub-prices-ac-item.custom { color: var(--text-muted); font-style: italic; }

    /* Todo Card */
    .hub-todo-card {
      position: relative; overflow: hidden;
      background: linear-gradient(160deg, rgba(19,19,22,0.9), rgba(14,14,16,0.85));
      border: 1px solid var(--border-color); border-radius: 18px;
      padding: 20px 20px 16px; margin-bottom: 16px;
    }
    .hub-todo-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
      opacity: 0.35;
    }
    .hub-todo-card-head {
      display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
      font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em;
    }
    .hub-todo-card-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); flex-shrink: 0; }
    .hub-todo-card-head .rule { flex: 1; height: 1px; background: var(--border-color); }
    .hub-todo-card-head .count {
      font-family: var(--font-mono); color: var(--accent); letter-spacing: 0.08em;
      padding: 3px 8px; border-radius: 20px; background: var(--accent-dim);
      border: 1px solid rgba(212,165,116,0.25); font-size: 0.58rem;
    }
    .hub-todo-input-row { display: flex; gap: 8px; margin-bottom: 8px; }
    .hub-todo-input {
      flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border-color);
      border-radius: 10px; padding: 10px 12px; color: var(--text-primary);
      font-family: var(--font-body); font-size: 0.82rem;
    }
    .hub-todo-input:focus { border-color: var(--border-glow); outline: none; }
    .hub-todo-input::placeholder { color: var(--text-muted); font-style: italic; }
    .hub-todo-add-btn {
      width: 40px; flex-shrink: 0; border-radius: 10px;
      background: var(--accent-dim); border: 1px solid rgba(212,165,116,0.3);
      color: var(--accent); display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; font-weight: 300; cursor: pointer;
    }
    .hub-todo-add-btn:hover { background: rgba(212,165,116,0.22); }
    .hub-todo-list { display: flex; flex-direction: column; }
    .hub-todo-section-label { font-size:0.58rem;font-weight:700;text-transform:uppercase;letter-spacing:0.15em;padding:10px 0 4px;display:flex;align-items:center;gap:8px; }
    .hub-todo-section-label::after { content:'';flex:1;height:1px;background:var(--border-color); }
    .hub-todo-section-label.projects { color:var(--accent); }
    .hub-todo-section-label.apps { color:#ef4444; }
    .hub-todo-section-label.apps::after { background:rgba(239,68,68,0.35); }
    .hub-todo-section-label.general { color:#b794f6; }
    .hub-todo-section-label.completed { color:#14532d; }
    .hub-todo-section-label.completed::after { background:rgba(20,83,45,0.45); }
    .hub-todo-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--border-color); cursor:grab; transition:background 150ms,opacity 150ms,transform 150ms; }
    .hub-todo-row:last-child { border-bottom: none; }
    .hub-todo-row.dragging { opacity:0.4;background:rgba(212,165,116,0.06); }
    .hub-todo-row.drag-over { border-top:2px solid var(--accent);padding-top:9px; }
    .hub-todo-row.general-row .hub-todo-checkbox { border-color:rgba(183,148,246,0.55); }
    .hub-todo-row.general-row .hub-todo-checkbox.done { background:#b794f6;border-color:#b794f6;box-shadow:0 0 12px rgba(183,148,246,0.45); }
    .hub-todo-row.general-row .hub-todo-label { color:#e4d4ff; }
    .hub-todo-row.general-row .hub-todo-label.done { text-decoration-color:rgba(183,148,246,0.55); }
    .hub-todo-row.apps-row .hub-todo-checkbox { border-color:rgba(239,68,68,0.6); }
    .hub-todo-row.apps-row .hub-todo-checkbox.done { background:#ef4444;border-color:#ef4444;box-shadow:0 0 12px rgba(239,68,68,0.45); }
    .hub-todo-row.apps-row .hub-todo-label { color:#ffb4b4; }
    .hub-todo-row.apps-row .hub-todo-label.done { text-decoration-color:rgba(239,68,68,0.6); }
    .hub-todo-row.completed-row .hub-todo-checkbox { border-color:#14532d;background:#14532d;box-shadow:0 0 8px rgba(20,83,45,0.35); }
    .hub-todo-row.completed-row .hub-todo-label { color:#1f6b3a; }
    .hub-todo-row.completed-row .hub-todo-label.done { text-decoration-color:rgba(20,83,45,0.75); }
    .hub-todo-label-edit { flex:1;background:rgba(255,255,255,0.06);border:1px solid var(--accent);border-radius:6px;padding:4px 8px;color:var(--text-primary);font-family:var(--font-body);font-size:0.86rem;outline:none; }
    .hub-todo-checkbox {
      width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
      border: 1.5px solid var(--border-light); display: flex; align-items: center; justify-content: center;
      margin-top: 1px; transition: all 180ms ease; cursor: pointer; background: rgba(255,255,255,0.02);
    }
    .hub-todo-checkbox.done {
      background: var(--accent); border-color: var(--accent);
      box-shadow: 0 0 12px rgba(212,165,116,0.4);
    }
    .hub-todo-checkbox.done::after {
      content: ''; width: 9px; height: 5px;
      border-left: 2px solid #0a0a0b; border-bottom: 2px solid #0a0a0b;
      transform: rotate(-45deg) translateY(-1px);
    }
    .hub-todo-label {
      flex: 1; font-family: var(--font-body); font-size: 0.86rem;
      color: var(--text-primary); line-height: 1.35; word-break: break-word;
    }
    .hub-todo-label.done {
      text-decoration: line-through; color: var(--text-muted);
      text-decoration-color: rgba(212,165,116,0.5);
    }
    .hub-todo-del {
      flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); opacity: 0; transition: opacity 180ms ease; cursor: pointer; border: none; background: none;
    }
    .hub-todo-row:hover .hub-todo-del { opacity: 1; }
    .hub-todo-del:hover { color: var(--red); background: rgba(248,113,113,0.1); }
    .hub-todo-empty {
      padding: 18px 4px; text-align: center;
      font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); font-style: italic;
    }

    /* Hunts & Alerts Widget */
    .hub-alerts-card {
      position: relative; overflow: hidden;
      background: linear-gradient(160deg, rgba(19,19,22,0.9), rgba(14,14,16,0.85));
      border: 1px solid var(--border-color); border-radius: 18px;
      padding: 20px 20px 16px; margin-bottom: 16px;
    }
    .hub-alerts-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
      background: linear-gradient(90deg, transparent, var(--teal) 30%, var(--teal) 70%, transparent);
      opacity: 0.4;
    }
    .hub-alerts-card::after {
      content: ''; position: absolute; inset: 0; pointer-events: none;
      background: radial-gradient(ellipse 300px 160px at 100% 0%, rgba(125,211,192,0.06), transparent 60%);
    }
    .hub-alerts-head {
      position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    }
    .hub-alerts-head-label {
      font-family: var(--font-body); font-size: 0.62rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em;
      display: flex; align-items: center; gap: 8px; flex: 1;
    }
    .hub-alerts-head-label::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--teal); box-shadow: 0 0 8px var(--teal);
    }
    .hub-alerts-count {
      font-family: var(--font-mono); font-size: 0.58rem; color: var(--teal);
      padding: 3px 8px; border-radius: 20px; background: rgba(125,211,192,0.1);
      border: 1px solid rgba(125,211,192,0.25);
    }
    .hub-alerts-status {
      font-family: var(--font-mono); font-size: 0.55rem; color: var(--text-muted);
      letter-spacing: 0.06em; margin-bottom: 12px; position: relative;
    }
    .hub-alert-add-row {
      position: relative; display: grid; grid-template-columns: 1fr 80px 90px 36px; gap: 6px; margin-bottom: 12px;
    }
    /* 2026-04-14 — the first add-row floats a "live price" tooltip at
       bottom:-20px (for alert price cross-check). The hunt-task row sits
       immediately below; push it down so the tooltip has clear space.
       Using adjacent-sibling (+) instead of :first-of-type because the
       card has other divs as earlier siblings (header/status) which break
       :first-of-type targeting. */
    .hub-alert-add-row + .hub-alert-add-row { margin-top: 32px; }
    .hub-alert-input, .hub-alert-select {
      background: rgba(255,255,255,0.04); border: 1px solid var(--border-color);
      border-radius: 10px; padding: 8px 10px; color: var(--text-primary);
      font-family: var(--font-body); font-size: 0.78rem; outline: none;
    }
    .hub-alert-select { appearance: none; cursor: pointer; }
    .hub-alert-input:focus, .hub-alert-select:focus { border-color: rgba(125,211,192,0.4); }
    .hub-alert-add-btn {
      border-radius: 10px; background: rgba(125,211,192,0.12);
      border: 1px solid rgba(125,211,192,0.3); color: var(--teal);
      font-size: 1.2rem; font-weight: 300; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
    }
    .hub-alert-add-btn:hover { background: rgba(125,211,192,0.22); }
    .hub-alert-list { position: relative; display: flex; flex-direction: column; }
    .hub-alert-row {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 0; border-bottom: 1px solid var(--border-color);
    }
    .hub-alert-row:last-child { border-bottom: none; }
    .hub-alert-icon {
      width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.7rem;
    }
    .hub-alert-icon.price { background: rgba(125,211,192,0.12); color: var(--teal); }
    .hub-alert-icon.nw { background: rgba(212,165,116,0.12); color: var(--accent); }
    .hub-alert-icon.hunt { background: rgba(163,230,53,0.12); color: var(--green); }
    .hub-alert-icon.triggered { background: rgba(248,113,113,0.12); color: var(--red); }
    .hub-alert-label {
      flex: 1; font-family: var(--font-body); font-size: 0.82rem; color: var(--text-primary);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hub-alert-value {
      font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--teal);
      white-space: nowrap;
    }
    .hub-alert-del {
      flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); opacity: 0; transition: opacity 180ms ease;
      cursor: pointer; border: none; background: none; font-size: 0.8rem;
    }
    .hub-alert-row:hover .hub-alert-del { opacity: 1; }
    .hub-alert-del:hover { color: var(--red); background: rgba(248,113,113,0.1); }
    .hub-alert-empty {
      padding: 14px 4px; text-align: center;
      font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); font-style: italic;
    }
    .hub-alert-history-label {
      font-family: var(--font-mono); font-size: 0.55rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em;
      margin-top: 10px; margin-bottom: 6px;
    }
    .hub-alert-hist-row {
      font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-secondary);
      padding: 4px 0; display: flex; gap: 8px;
    }
    .hub-alert-hist-time { color: var(--text-muted); flex-shrink: 0; }
    @media (max-width: 700px) {
      .hub-alert-add-row { grid-template-columns: 1fr 70px 80px 32px; }
      .hub-perf-add-row { grid-template-columns: 1fr 60px 80px 32px !important; }
      .hub-perf-add-row-2 { grid-template-columns: 1fr 1fr !important; }
    }

    /* Performance Tracker — 2026-04-16 */
    .hub-perf-section-label {
      font-family: var(--font-mono); font-size: 0.55rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em;
      margin-top: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
    }
    .hub-perf-section-label::before {
      content: ''; width: 5px; height: 5px; border-radius: 50%;
      background: var(--accent); box-shadow: 0 0 6px var(--accent);
    }
    .hub-perf-tick {
      margin-left: auto; font-family: var(--font-mono); font-size: 0.5rem;
      color: var(--text-muted); text-transform: none; letter-spacing: 0;
    }
    .hub-perf-add-row { grid-template-columns: 1fr 70px 90px 36px; }
    .hub-perf-add-row-2 { grid-template-columns: 1fr 1fr; margin-top: 6px !important; }
    .hub-alert-icon.perf-long { background: rgba(163,230,53,0.12); color: var(--green); }
    .hub-alert-icon.perf-short { background: rgba(248,113,113,0.12); color: var(--red); }
    .hub-perf-row {
      display: grid; grid-template-columns: 24px 1fr auto 24px; gap: 10px;
      align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border-color);
    }
    .hub-perf-row:last-child { border-bottom: none; }
    .hub-perf-meta {
      display: flex; flex-direction: column; gap: 2px; min-width: 0;
    }
    .hub-perf-title {
      font-family: var(--font-body); font-size: 0.82rem; color: var(--text-primary);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hub-perf-sub {
      font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-muted);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .hub-perf-pnl {
      display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
      font-family: var(--font-mono);
    }
    .hub-perf-pct { font-size: 0.84rem; font-weight: 700; }
    .hub-perf-usd { font-size: 0.6rem; color: var(--text-muted); }
    .hub-perf-pnl.up .hub-perf-pct { color: var(--green); }
    .hub-perf-pnl.down .hub-perf-pct { color: var(--red); }
    .hub-perf-pnl.flat .hub-perf-pct { color: var(--text-secondary); }
    .hub-perf-del {
      flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      color: var(--text-muted); opacity: 0; transition: opacity 180ms ease;
      cursor: pointer; border: none; background: none; font-size: 0.8rem;
    }
    .hub-perf-row:hover .hub-perf-del { opacity: 1; }
    .hub-perf-del:hover { color: var(--red); background: rgba(248,113,113,0.1); }

    /* Net Worth Graph Overlay */
    .hub-nwg-overlay {
      position: fixed; inset: 0; z-index: 200;
      background: rgba(8,8,11,0.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
      display: none; flex-direction: column;
      animation: hubNwgIn 280ms cubic-bezier(0.2,0.8,0.2,1);
    }
    .hub-nwg-overlay.open { display: flex; }
    @keyframes hubNwgIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
    .hub-nwg-panel {
      position: relative; flex: 1; margin: 16px; overflow: hidden;
      background:
        radial-gradient(ellipse 900px 500px at 50% 0%, rgba(212,165,116,0.08), transparent 70%),
        linear-gradient(180deg, rgba(19,19,22,0.98), rgba(14,14,16,0.98));
      border: 1px solid var(--border-light); border-radius: 24px;
      padding: 28px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,245,225,0.06);
      display: flex; flex-direction: column;
    }
    .hub-nwg-panel::before, .hub-nwg-panel::after {
      content: ''; position: absolute; width: 20px; height: 20px;
      border: 1.5px solid var(--accent); opacity: 0.55;
    }
    .hub-nwg-panel::before { top: 14px; left: 14px; border-right: none; border-bottom: none; }
    .hub-nwg-panel::after { bottom: 14px; right: 14px; border-left: none; border-top: none; }
    .hub-nwg-close {
      position: absolute; top: 18px; right: 18px; z-index: 3;
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(10,10,11,0.7); border: 1px solid var(--border-light);
      color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer;
    }
    .hub-nwg-close:hover { background: rgba(255,245,225,0.08); }
    .hub-nwg-close svg { width: 18px; height: 18px; }
    .hub-nwg-header { margin-top: 10px; margin-bottom: 16px; }
    .hub-nwg-ornament {
      display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
      font-family: var(--font-mono); font-size: 0.58rem; font-weight: 500;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.2em;
    }
    .hub-nwg-ornament .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-light), transparent); }
    .hub-nwg-ornament .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
    .hub-nwg-title {
      font-family: var(--font-body); font-size: 0.66rem; font-weight: 600;
      color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 6px;
    }
    .hub-nwg-value {
      font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem);
      font-weight: 400; letter-spacing: -0.035em; line-height: 0.95;
      font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--text-primary);
    }
    .hub-nwg-value .currency { font-size: 0.5em; vertical-align: 0.38em; color: var(--accent); margin-right: 0.05em; font-weight: 300; }
    .hub-nwg-sub {
      font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary);
      margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .hub-nwg-sub .sep { opacity: 0.4; color: var(--text-muted); }
    .hub-nwg-ranges { display: flex; gap: 6px; margin: 12px 0 10px; flex-wrap: wrap; }
    .hub-nwg-range-btn {
      font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
      padding: 6px 14px; border-radius: 8px; letter-spacing: 0.06em;
      background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer;
    }
    .hub-nwg-range-btn.active { background: var(--accent-dim); color: var(--accent); border-color: rgba(212,165,116,0.35); }
    .hub-nwg-range-btn:hover { border-color: var(--border-light); }
    .hub-nwg-amt-toggle {
      font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700;
      padding: 6px 12px; border-radius: 8px; letter-spacing: 0.06em; margin-left: 4px;
      background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary); cursor: pointer;
    }
    .hub-nwg-amt-toggle:hover { border-color: var(--border-light); color: var(--accent); }
    .hub-nwg-chart {
      flex: 1; min-height: 260px; position: relative; margin: 6px 0 16px;
      border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
      padding: 14px 0; touch-action: none;
    }
    .hub-nwg-chart svg { width: 100%; height: 100%; display: block; }
    .hub-nwg-empty {
      display: flex; align-items: center; justify-content: center; height: 100%;
      font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted);
      letter-spacing: 0.08em; text-align: center; padding: 0 20px;
    }
    .hub-nwg-stats {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding-top: 4px;
    }
    .hub-nwg-stat { position: relative; padding: 0 16px; }
    .hub-nwg-stat + .hub-nwg-stat::before {
      content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border-color);
    }
    .hub-nwg-stat-label {
      font-family: var(--font-body); font-size: 0.56rem; font-weight: 600;
      color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 4px;
    }
    .hub-nwg-stat-val {
      font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
      color: var(--text-primary); letter-spacing: -0.02em;
      font-variation-settings: "opsz" 144, "SOFT" 40;
    }
    .hub-nwg-stat-val.up { color: var(--accent); }
    .hub-nwg-stat-val.down { color: var(--accent); opacity: 0.7; }

    /* Rise-in animation for finance cards */
    @keyframes hubRiseIn {
      0% { opacity: 0; transform: translateY(12px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    .finance-grid { animation: hubRiseIn 500ms cubic-bezier(0.2,0.8,0.2,1) backwards; animation-delay: 40ms; }
    .finance-lower { animation: hubRiseIn 500ms cubic-bezier(0.2,0.8,0.2,1) backwards; animation-delay: 200ms; }
    .hub-todo-card { animation: hubRiseIn 500ms cubic-bezier(0.2,0.8,0.2,1) backwards; animation-delay: 300ms; }
    .hub-app-dock .hub-dock-item { animation: hubRiseIn 450ms cubic-bezier(0.2,0.8,0.2,1) backwards; }
    .hub-app-dock .hub-dock-item:nth-child(1) { animation-delay: 0ms; }
    .hub-app-dock .hub-dock-item:nth-child(2) { animation-delay: 30ms; }
    .hub-app-dock .hub-dock-item:nth-child(3) { animation-delay: 60ms; }
    .hub-app-dock .hub-dock-item:nth-child(4) { animation-delay: 90ms; }
    .hub-app-dock .hub-dock-item:nth-child(5) { animation-delay: 120ms; }
    .hub-app-dock .hub-dock-item:nth-child(6) { animation-delay: 150ms; }
    .hub-app-dock .hub-dock-item:nth-child(n+7) { animation-delay: 180ms; }

    /* Finance responsive */
    @media (max-width: 1100px) {
      .finance-grid { grid-template-columns: 1fr; }
      .hub-asset-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 900px) {
      .finance-lower { grid-template-columns: 1fr 1fr; }
      .hub-prices-card { grid-column: span 2; }
    }
    @media (max-width: 700px) {
      .hub-asset-grid { grid-template-columns: 1fr 1fr; }
      .finance-lower { grid-template-columns: 1fr; }
      .hub-prices-card { grid-column: span 1; }
    }

