/* Shared dashboard styles — extracted from jobseeker-dashboard/applications/index.html.
   Do not hand-edit copies of this in HTML; modify here instead. */
/* Route-driven panel visibility (no FOUC) */
    [data-app-panel]{display:none}
    html[data-active-panel="tracker"] [data-app-panel="tracker"],
    html[data-active-panel="auto-fill"] [data-app-panel="auto-fill"],
    html[data-active-panel="saved-answers"] [data-app-panel="saved-answers"],
    html[data-active-panel="documents"] [data-app-panel="documents"],
    html[data-active-panel="analytics"] [data-app-panel="analytics"]{display:block}

/* ── Spreadsheet-style table ── */
                .sheet-toolbar { display:flex; align-items:center; gap:8px; padding:8px 12px; border-bottom:1px solid var(--line-soft); background:#fafbfa; flex-wrap:wrap; }
                .sheet-toolbar__group { display:inline-flex; align-items:center; gap:2px; }
                .sheet-toolbar__group + .sheet-toolbar__group { margin-left:4px; padding-left:8px; border-left:1px solid var(--line); }
                .sheet-toolbar__btn { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:6px; border:none; background:transparent; color:var(--ink-soft); cursor:pointer; font-size:0.8125rem; }
                .sheet-toolbar__btn:hover { background:rgba(5,150,105,0.08); color:var(--ink); }
                .sheet-toolbar__btn.is-active { background:rgba(5,150,105,0.12); color:var(--accent); }
                .sheet-toolbar__btn svg { width:16px; height:16px; }
                .sheet-toolbar__sep { width:1px; height:20px; background:var(--line); margin:0 6px; flex-shrink:0; }

                .sheet-cell-ref { display:inline-flex; align-items:center; gap:6px; font-size:0.75rem; font-weight:600; color:var(--ink-faint); min-width:48px; }
                .sheet-formula-bar { flex:1; min-width:140px; display:flex; align-items:center; gap:6px; padding:0 10px; height:30px; border:1px solid var(--line); border-radius:6px; background:#fff; font-size:0.8125rem; color:var(--ink); }
                .sheet-formula-bar__icon { flex-shrink:0; color:var(--ink-faint); }
                .sheet-formula-bar__input { border:none; outline:none; background:transparent; font:inherit; color:inherit; width:100%; }

                .sheet-wrap { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; min-width:0; max-width:100%; }
                .tracker-view[data-tracker-view="table"] { min-width:0; max-width:100%; }

                .tracker-table--sheet { width:100%; border-collapse:collapse; min-width:1180px; table-layout:fixed; }
                .tracker-table--sheet col.col-check { width:40px; }
                .tracker-table--sheet col.col-row-num { width:36px; }
                .tracker-table--sheet col.col-role { width:190px; }
                .tracker-table--sheet col.col-company { width:150px; }
                .tracker-table--sheet col.col-location { width:130px; }
                .tracker-table--sheet col.col-status { width:110px; }
                .tracker-table--sheet col.col-salary { width:120px; }
                .tracker-table--sheet col.col-next { width:140px; }
                .tracker-table--sheet col.col-notes { width:auto; }
                .tracker-table--sheet col.col-updated { width:90px; }
                .tracker-table--sheet col.col-open { width:72px; }
                .tracker-table--sheet col.col-action { width:120px; }

                .tracker-table--sheet th { position:sticky; top:0; z-index:2; background:#f7f8f7; font-size:0.6875rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-faint); padding:10px 10px; border-bottom:2px solid var(--line); border-right:1px solid rgba(1,56,44,0.05); text-align:left; white-space:nowrap; user-select:none; cursor:default; position:relative; }
                .tracker-table--sheet th:last-child { border-right:none; }
                .tracker-table--sheet th:hover { border-right-color:rgba(1,56,44,0.12); }
                .tracker-table--sheet th.sortable { cursor:pointer; }
                .tracker-table--sheet th.sortable:hover { color:var(--ink); background:#f0f1f0; }
                .tracker-table--sheet th .sort-icon { display:inline-block; margin-left:4px; opacity:0.4; font-size:0.625rem; }
                .tracker-table--sheet th.sort-asc .sort-icon,
                .tracker-table--sheet th.sort-desc .sort-icon { opacity:1; color:var(--accent); }

                /* Column resize handle */
                .tracker-table--sheet th .col-resize { position:absolute; right:0; top:0; bottom:0; width:6px; cursor:col-resize; z-index:4; }
                .tracker-table--sheet th .col-resize::after { content:''; position:absolute; right:1px; top:25%; bottom:25%; width:2px; border-left:1px solid transparent; border-right:1px solid transparent; transition:border-color 0.15s; }
                .tracker-table--sheet th .col-resize:hover::after,
                .tracker-table--sheet th .col-resize.is-dragging::after { border-left-color:var(--accent); border-right-color:var(--accent); }
                .tracker-table--sheet th .col-resize:hover,
                .tracker-table--sheet th .col-resize.is-dragging { background:rgba(5,150,105,0.08); }

                /* Column drag grip */
                .tracker-table--sheet th .drag-grip { display:inline-flex; align-items:center; margin-right:5px; opacity:0; transition:opacity 0.15s; cursor:grab; vertical-align:middle; color:var(--ink-faint); }
                .tracker-table--sheet th:hover .drag-grip { opacity:0.5; }
                .tracker-table--sheet th:hover .drag-grip:hover { opacity:1; color:var(--ink-soft); }
                .tracker-table--sheet th.is-dragging-col { opacity:0.5; background:#e0f2ed; }
                .tracker-table--sheet th.drag-over { box-shadow:inset 3px 0 0 var(--accent); }

                .tracker-table--sheet td { padding:0; border-bottom:1px solid rgba(1,56,44,0.06); border-right:1px solid rgba(1,56,44,0.04); font-size:0.8125rem; color:var(--ink); vertical-align:middle; position:relative; }
                .tracker-table--sheet td:last-child { border-right:none; }
                .tracker-table--sheet tbody tr:hover td { border-right-color:rgba(1,56,44,0.08); }
                .tracker-table--sheet td .cell-wrap { position:relative; display:flex; align-items:center; }
                .tracker-table--sheet td .cell { display:block; flex:1; padding:10px 10px; min-height:40px; line-height:1.4; cursor:cell; border:2px solid transparent; border-radius:0; transition:border-color 0.1s; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
                .tracker-table--sheet td .cell:hover { background:rgba(5,150,105,0.03); }
                .tracker-table--sheet td .cell:focus { outline:none; border-color:var(--accent); background:#fff; box-shadow:0 0 0 1px var(--accent); white-space:normal; overflow:visible; z-index:1; position:relative; }
                .tracker-table--sheet td .cell[data-modified="true"] { background:rgba(245,158,11,0.06); }
                .tracker-table--sheet td .cell.cell--readonly { cursor:default; color:var(--ink-faint); }

                /* Restore button */
                .cell-restore { display:none; position:absolute; right:4px; top:50%; transform:translateY(-50%); width:22px; height:22px; border-radius:5px; border:1px solid var(--line); background:#fff; color:var(--ink-faint); cursor:pointer; place-items:center; z-index:3; flex-shrink:0; }
                .cell-restore:hover { background:rgba(245,158,11,0.12); border-color:rgba(245,158,11,0.4); color:#b45309; }
                .cell-restore svg { width:13px; height:13px; }
                .cell-wrap:hover .cell-restore.is-visible { display:inline-grid; }

                /* Original value tooltip */
                .cell-restore[data-tooltip]::before { content:attr(data-tooltip); position:absolute; bottom:calc(100% + 6px); right:0; padding:4px 10px; border-radius:6px; background:#1e293b; color:#fff; font-size:0.6875rem; font-weight:500; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity 0.15s; z-index:10; max-width:220px; overflow:hidden; text-overflow:ellipsis; }
                .cell-restore[data-tooltip]:hover::before { opacity:1; }

                /* Action column */
                .cell-action { display:flex; gap:3px; padding:4px 4px; align-items:center; }
                .cell-action__btn { display:inline-flex; align-items:center; justify-content:center; padding:0 7px; height:22px; border-radius:999px; font-size:0.625rem; font-weight:700; cursor:pointer; border:1px solid var(--line); background:#fff; color:var(--ink); white-space:nowrap; letter-spacing:0.02em; }
                .cell-action__btn:hover { border-color:rgba(5,150,105,0.25); background:#fcfefb; }
                .cell-action__btn--open { background:#01382c; color:#fff; border-color:#01382c; padding:0 10px; }
                .cell-action__btn--open:hover { background:#005c47; border-color:#005c47; }
                .cell-action__btn--accept { background:var(--accent); color:#fff; border-color:var(--accent); }
                .cell-action__btn--accept:hover { background:#047857; border-color:#047857; }
                .cell-action__btn--decline { color:#dc2626; border-color:rgba(220,38,38,0.2); }
                .cell-action__btn--decline:hover { background:#fef2f2; border-color:rgba(220,38,38,0.35); }

                .tracker-table--sheet td .cell-select { display:block; width:100%; padding:8px 10px; border:2px solid transparent; border-radius:0; background:transparent; font:inherit; font-size:0.8125rem; color:var(--ink); cursor:pointer; appearance:none; -webkit-appearance:none; }
                .tracker-table--sheet td .cell-select:focus { outline:none; border-color:var(--accent); background:#fff; }
                .tracker-table--sheet td .cell-select option { font-size:0.8125rem; }

                .tracker-table--sheet tbody tr:hover td { background:rgba(5,150,105,0.025); }
                .tracker-table--sheet tbody tr.is-active td { background:rgba(131,230,189,0.1); }

                .tracker-table--sheet .row-num { text-align:center; font-size:0.6875rem; color:var(--ink-faint); font-weight:600; padding:10px 4px; }
                .tracker-table--sheet .row-check { text-align:center; padding:10px 4px; }
                .tracker-table--sheet .row-check input[type="checkbox"] { width:16px; height:16px; accent-color:var(--accent); cursor:pointer; }

                .tracker-table--sheet .status-pill { display:inline-flex; padding:3px 10px; border-radius:999px; font-size:0.6875rem; font-weight:700; text-transform:uppercase; letter-spacing:0.04em; }
                .status-pill--saved { background:#f3f4f6; color:#6b7280; }
                .status-pill--applied { background:#dbeafe; color:#2563eb; }
                .status-pill--reviewing { background:#fef3c7; color:#b45309; }
                .status-pill--interview { background:#ede9fe; color:#7c3aed; }
                .status-pill--offer { background:#ecfdf5; color:#059669; }
                .status-pill--archived { background:#f3f4f6; color:#9ca3af; }

                .sheet-footer { display:flex; align-items:center; justify-content:space-between; padding:8px 12px; border-top:1px solid var(--line-soft); background:#fafbfa; font-size:0.75rem; color:var(--ink-faint); }
                .sheet-footer__tabs { display:flex; gap:2px; }
                .sheet-footer__tab { padding:4px 14px; border-radius:6px 6px 0 0; border:1px solid var(--line); border-bottom:none; background:#fff; font-size:0.6875rem; font-weight:600; color:var(--ink-soft); cursor:pointer; }
                .sheet-footer__tab.is-active { background:var(--accent); color:#fff; border-color:var(--accent); }
                .sheet-footer__tab:hover:not(.is-active) { background:rgba(5,150,105,0.06); }
                .sheet-add-tab { width:26px; height:26px; display:inline-grid; place-items:center; border-radius:6px; border:1px dashed var(--line); background:transparent; cursor:pointer; font-size:0.875rem; color:var(--ink-faint); }
                .sheet-add-tab:hover { border-color:var(--accent); color:var(--accent); background:rgba(5,150,105,0.04); }

/* Offer accept/decline */
    .offer-actions { display:flex;gap:8px;margin-top:10px; }
    .offer-actions .button--primary { background:#059669;color:#fff;border:none;padding:6px 14px;border-radius:6px;font-size:0.8125rem;font-weight:600;font-family:inherit;cursor:pointer; }
    .offer-actions .button--primary:hover { background:#047857; }
    .offer-actions .button--ghost { background:transparent;color:#374151;border:1px solid #d1d5db;padding:6px 14px;border-radius:6px;font-size:0.8125rem;font-weight:600;font-family:inherit;cursor:pointer; }
    .offer-actions .button--ghost:hover { background:#f3f4f6; }

    /* Tracker card inline actions */
    .tracker-card-actions { display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap; }
    .tracker-inline-action { display:inline-flex;align-items:center;gap:4px;font-size:0.6875rem;font-weight:500;color:#059669;background:rgba(5,150,105,0.06);border:1px solid rgba(5,150,105,0.15);border-radius:4px;padding:2px 8px;text-decoration:none;cursor:pointer;font-family:inherit;transition:background 0.15s;user-select:none; }
    .tracker-inline-action:hover { background:rgba(5,150,105,0.12); }
    .tracker-withdraw-btn { color:#DC2626;background:rgba(220,38,38,0.04);border-color:rgba(220,38,38,0.15); }
    .tracker-withdraw-btn:hover { background:rgba(220,38,38,0.1); }
    .tracker-inline-action--cal { color:#2563EB;background:rgba(37,99,235,0.05);border-color:rgba(37,99,235,0.15); }
    .tracker-inline-action--cal:hover { background:rgba(37,99,235,0.1); }

    /* Urgency pills */
    .urgency-pill { font-size:0.6875rem;font-weight:600;padding:2px 8px;border-radius:10px;display:inline-flex;align-items:center; }
    .urgency-pill--ok { color:#059669;background:rgba(5,150,105,0.08); }
    .urgency-pill--warning { color:#D97706;background:rgba(217,119,6,0.1); }
    .urgency-pill--danger { color:#DC2626;background:rgba(220,38,38,0.08); }

    /* Detail modal: withdraw, email, calendar, reminder buttons */
    .ctx-panel__withdraw-btn { color:#DC2626!important;border-color:rgba(220,38,38,0.2)!important; }
    .ctx-panel__withdraw-btn:hover { background:rgba(220,38,38,0.06)!important; }
    .ctx-panel__email-btn,.ctx-panel__cal-btn { text-decoration:none; }
    .ctx-panel__cal-btn { color:#2563EB!important; }

    /* Reminder */
    .ctx-panel__reminder-btn { display:inline-flex;align-items:center;gap:6px;font-size:0.8125rem;font-weight:500;color:#059669;background:rgba(5,150,105,0.06);border:1px solid rgba(5,150,105,0.15);border-radius:6px;padding:6px 12px;cursor:pointer;font-family:inherit;width:100%; }
    .ctx-panel__reminder-btn:hover { background:rgba(5,150,105,0.12); }
    .ctx-panel__reminder-options { display:flex;flex-wrap:wrap;gap:6px;margin-top:8px; }
    .ctx-panel__reminder-opt { font-size:0.75rem;font-weight:500;color:#374151;background:#f9fafb;border:1px solid #e5e7eb;border-radius:5px;padding:4px 10px;cursor:pointer;font-family:inherit; }
    .ctx-panel__reminder-opt:hover { background:#f3f4f6;border-color:#d1d5db; }

    /* Add Application Modal */
    .gap-modal-overlay[hidden] { display:none!important; }
    .gap-modal-overlay { position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center; }
    .gap-modal-backdrop { position:absolute;inset:0;background:rgba(0,0,0,0.4); }
    .gap-modal { position:relative;background:#fff;border-radius:16px;max-width:540px;width:calc(100% - 32px);max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px rgba(0,0,0,0.15); }
    .gap-modal__head { display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px 0; }
    .gap-modal__title { font-size:1.125rem;font-weight:700;color:#01382C;margin:0; }
    .gap-modal__close { font-size:1.5rem;background:none;border:none;color:#6b7280;cursor:pointer;line-height:1;padding:0;margin-top:-2px; }
    .gap-modal__body { padding:12px 24px 16px; }
    .gap-modal__desc { font-size:0.8125rem;color:#6b7280;margin:0 0 20px;line-height:1.5; }
    .gap-modal__form { display:flex;flex-direction:column;gap:12px; }
    .gap-modal__field { display:flex;flex-direction:column;gap:4px; }
    .gap-modal__field>span { font-size:0.8125rem;font-weight:500;color:#374151; }
    .gap-modal__field input,.gap-modal__field select,.gap-modal__field textarea { font-size:0.875rem;font-family:inherit;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;outline:none;background:#fff; }
    .gap-modal__field input:focus,.gap-modal__field select:focus,.gap-modal__field textarea:focus { border-color:#059669;box-shadow:0 0 0 2px rgba(5,150,105,0.15); }
    .gap-modal__row { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
    .gap-modal__footer { display:flex;justify-content:space-between;align-items:center;gap:8px;padding:16px 24px;border-top:1px solid rgba(1,56,44,0.06); }

    /* Step visibility */
    .add-app-step[hidden] { display:none!important; }

    /* Drop zone */
    .add-app-dropzone { border:2px dashed rgba(5,150,105,0.25);border-radius:14px;padding:28px 24px;text-align:center;background:rgba(5,150,105,0.02);transition:border-color 0.2s,background 0.2s; }
    .add-app-dropzone.is-drag-over { border-color:#059669;background:rgba(5,150,105,0.06); }
    .add-app-dropzone__icon { color:#059669;margin-bottom:8px; }
    .add-app-dropzone__title { font-size:0.9375rem;font-weight:700;color:#01382C;margin:0 0 4px; }
    .add-app-dropzone__hint { font-size:0.75rem;color:#6b7280;margin:0 0 16px;line-height:1.4; }
    .add-app-dropzone__input-row { display:flex;gap:8px;max-width:420px;margin:0 auto; }
    .add-app-dropzone__url { flex:1;font-size:0.8125rem;font-family:inherit;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;outline:none;min-width:0; }
    .add-app-dropzone__url:focus { border-color:#059669;box-shadow:0 0 0 2px rgba(5,150,105,0.15); }
    .add-app-dropzone__extension-status { margin-top:14px;font-size:0.6875rem;color:#059669;display:flex;align-items:center;justify-content:center;gap:5px; }
    .add-app-ext-dot { width:6px;height:6px;border-radius:50%;flex-shrink:0; }
    .add-app-ext-dot--connected { background:#059669;box-shadow:0 0 0 2px rgba(5,150,105,0.2); }
    .add-app-ext-dot--disconnected { background:#d1d5db; }

    /* Divider */
    .add-app-divider { display:flex;align-items:center;gap:16px;margin:20px 0; }
    .add-app-divider::before,.add-app-divider::after { content:'';flex:1;height:1px;background:rgba(1,56,44,0.08); }
    .add-app-divider span { font-size:0.75rem;font-weight:500;color:#9CA3AF;text-transform:uppercase;letter-spacing:0.08em; }

    /* Manual entry button */
    .add-app-manual-btn { display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid rgba(1,56,44,0.08);border-radius:12px;background:#fff;cursor:pointer;font-family:inherit;text-align:left;transition:border-color 0.15s,background 0.15s; }
    .add-app-manual-btn:hover { border-color:rgba(5,150,105,0.25);background:rgba(5,150,105,0.02); }
    .add-app-manual-btn__icon { width:40px;height:40px;border-radius:10px;background:rgba(5,150,105,0.06);display:grid;place-items:center;color:#059669;flex-shrink:0; }
    .add-app-manual-btn__text { flex:1;display:flex;flex-direction:column;gap:2px; }
    .add-app-manual-btn__text strong { font-size:0.875rem;font-weight:600;color:#01382C; }
    .add-app-manual-btn__text span { font-size:0.75rem;color:#6b7280; }
    .add-app-manual-btn>svg { color:#9CA3AF;flex-shrink:0; }

    /* Loading state */
    .add-app-loader { margin-bottom:16px; }
    .add-app-loader__spinner { width:40px;height:40px;border:3px solid rgba(5,150,105,0.15);border-top-color:#059669;border-radius:50%;animation:add-app-spin 0.8s linear infinite;margin:0 auto; }
    @keyframes add-app-spin { to { transform:rotate(360deg); } }
    .add-app-loader__url { font-size:0.75rem;color:#6b7280;margin:12px 0 4px;word-break:break-all; }
    .add-app-loader__status { font-size:0.875rem;font-weight:500;color:#01382C;margin:0 0 20px; }
    .add-app-loader__steps { display:flex;flex-direction:column;gap:10px;text-align:left;max-width:260px;margin:0 auto; }
    .add-app-loader__step { display:flex;align-items:center;gap:8px;font-size:0.8125rem;color:#9CA3AF; }
    .add-app-loader__step.is-done { color:#059669; }
    .add-app-loader__step.is-active { color:#01382C;font-weight:500; }
    .add-app-loader__dot { width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0; }
    .add-app-loader__step.is-active .add-app-loader__dot { background:#059669;box-shadow:0 0 0 3px rgba(5,150,105,0.15);animation:add-app-pulse 1.2s ease infinite; }
    @keyframes add-app-pulse { 0%,100% { box-shadow:0 0 0 3px rgba(5,150,105,0.15); } 50% { box-shadow:0 0 0 6px rgba(5,150,105,0.08); } }

    /* Form source badge */
    .add-app-form-source[hidden] { display:none!important; }
    .add-app-form-source { display:inline-flex;align-items:center;gap:4px;font-size:0.6875rem;font-weight:500;color:#059669;margin:4px 0 0; }

    /* Mobile responsive */
    @media (max-width:600px) {
      .gap-modal { max-width:100%;width:100%;max-height:100vh;border-radius:0;height:100vh; }
      .gap-modal-overlay { align-items:flex-end; }
      .gap-modal { border-radius:20px 20px 0 0;max-height:92vh;height:auto; }
      .gap-modal__row { grid-template-columns:1fr; }
      .add-app-dropzone { padding:20px 16px; }
      .add-app-dropzone__input-row { flex-direction:column; }
      .add-app-dropzone__url { width:100%; }
    }

    /* Analytics: Funnel */
    .analytics-funnel { display:flex;flex-direction:column;gap:10px; }
    .funnel-row { display:flex;align-items:center;gap:12px; }
    .funnel-label { font-size:0.8125rem;font-weight:500;color:#374151;min-width:140px;text-align:right; }
    .funnel-bar-wrap { flex:1;height:24px;background:#f3f4f6;border-radius:4px;overflow:hidden; }
    .funnel-bar { height:100%;border-radius:4px;transition:width 0.6s ease; }
    .funnel-count { font-size:0.8125rem;font-weight:700;color:#01382C;min-width:28px; }

    /* Analytics: Weekly chart */
    .weekly-chart { display:flex;align-items:flex-end;gap:8px;height:120px;padding:0 4px; }
    .weekly-col { flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;position:relative;outline:none; }
    .weekly-col span { font-size:0.6875rem;font-weight:500;color:#6b7280; }
    .weekly-bar { width:100%;max-width:36px;background:#059669;border-radius:4px 4px 0 0;transition:height 0.5s ease; }
    .weekly-col.is-current .weekly-bar { background:#01382C; }
    .weekly-col.is-current span { font-weight:700;color:#01382C; }
    .weekly-col[data-tooltip]::after {
      content: attr(data-tooltip);
      position: absolute;
      left: 50%;
      bottom: calc(100% + 10px);
      transform: translateX(-50%) translateY(4px);
      width: max-content;
      max-width: 220px;
      padding: 8px 10px;
      border-radius: 8px;
      background: #01382C;
      color: #ECFDF5;
      box-shadow: 0 12px 28px rgba(1, 56, 44, 0.18);
      font-size: 0.72rem;
      font-weight: 600;
      line-height: 1.35;
      text-align: left;
      white-space: normal;
      opacity: 0;
      pointer-events: none;
      transition: opacity 120ms ease, transform 120ms ease;
      z-index: 8;
    }
    .weekly-col[data-tooltip]:hover::after,
    .weekly-col[data-tooltip]:focus-visible::after {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ════════════════════════════════════════════════════════════════
       Settings-section header: when a CTA button sits next to the
       title block, lay them out side-by-side with the button on the
       right (desktop). Stacks on mobile. The shared dashboard rule
       didn't set display:flex, so the button was dropping below.
       (Tickets: t1778229997212, t1778235362096, t1778235275353)
       ──────────────────────────────────────────────────────────────── */
    .app-tab-panel .settings-section__head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
    }
    .app-tab-panel .settings-section__head > div { min-width: 0; flex: 1 1 auto; }
    .app-tab-panel .settings-section__head > .button { flex: 0 0 auto; align-self: center; }
    @media (max-width: 640px) {
      .app-tab-panel .settings-section__head > .button { width: 100%; }
    }

    /* ════════════════════════════════════════════════════════════════
       Analytics paywall preview redesign — replaces the flat "Plus
       preview" notice with a feature-list teaser. (Ticket: t1778235303591)
       ──────────────────────────────────────────────────────────────── */
    .paywall-preview__locked {
      margin-top: 16px;
      padding: 18px 18px 14px;
      border: 1px dashed rgba(5, 150, 105, 0.28);
      border-radius: 12px;
      background: linear-gradient(180deg, rgba(236, 253, 245, 0.55) 0%, rgba(236, 253, 245, 0.18) 100%);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .paywall-preview__locked-head { display: flex; flex-direction: column; gap: 4px; }
    .paywall-preview__locked-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      align-self: flex-start;
      padding: 3px 8px;
      border-radius: 99px;
      background: rgba(5, 150, 105, 0.12);
      color: #047857;
      font: 700 0.65rem/1 inherit;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .paywall-preview__locked-head strong {
      font: 700 0.95rem/1.3 inherit;
      color: #01382C;
      margin-top: 2px;
    }
    .paywall-preview__locked-head p {
      margin: 0;
      color: rgba(1, 56, 44, 0.65);
      font-size: 0.8125rem;
      line-height: 1.45;
    }
    .paywall-preview__feature-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 10px;
      grid-template-columns: 1fr 1fr;
    }
    .paywall-preview__feature-list li {
      display: flex;
      gap: 10px;
      padding: 10px 12px;
      background: #fff;
      border: 1px solid rgba(5, 150, 105, 0.14);
      border-radius: 10px;
    }
    .paywall-preview__feature-list li > div {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
    }
    .paywall-preview__feature-list li > div strong {
      font: 700 0.8125rem/1.3 inherit;
      color: #01382C;
    }
    .paywall-preview__feature-list li > div span {
      font-size: 0.75rem;
      line-height: 1.4;
      color: rgba(1, 56, 44, 0.65);
    }
    .paywall-preview__feature-icon {
      flex: 0 0 28px;
      width: 28px;
      height: 28px;
      border-radius: 7px;
      background: rgba(5, 150, 105, 0.12);
      color: #047857;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    @media (max-width: 720px) {
      .paywall-preview__feature-list { grid-template-columns: 1fr; }
    }

    /* ════════════════════════════════════════════════════════════════
       Tracker filter-bar: let the status pills wrap to a second row
       when there isn't horizontal room, instead of forcing a hidden
       horizontal scroll. (Ticket: t1778233270967)
       ──────────────────────────────────────────────────────────────── */
    .app-tab-panel[data-app-panel="tracker"] > .filter-bar > .filter-bar-inner {
      flex-wrap: wrap;
      overflow-x: visible;
      row-gap: 8px;
    }
    /* The view-mode + add cluster on the right keeps its hugging behaviour
       even when the row wraps. */
    .app-tab-panel[data-app-panel="tracker"] > .filter-bar > .filter-bar-inner > span:last-child {
      margin-left: auto;
    }

    /* ════════════════════════════════════════════════════════════════
       Tracker kanban: stack columns vertically instead of horizontal
       scroll. Each status column reads top-to-bottom, with cards
       stacking under their status pill — no more sideways scrolling
       to find Offer / Archived. (Ticket: t1778233248197)
       ──────────────────────────────────────────────────────────────── */
    .app-tab-panel[data-app-panel="tracker"] .kanban-board {
      display: flex;
      flex-direction: column;
      grid-template-columns: none;
      gap: 14px;
      overflow-x: visible;
      padding-bottom: 0;
    }
    .app-tab-panel[data-app-panel="tracker"] .kanban-column {
      width: 100%;
      min-width: 0;
    }
    .app-tab-panel[data-app-panel="tracker"] .kanban-column__top {
      position: sticky;
      top: 0;
      z-index: 2;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 8px 12px;
      border-radius: 8px;
    }
    .app-tab-panel[data-app-panel="tracker"] .kanban-column__stack {
      display: grid;
      gap: 10px;
      margin-top: 8px;
    }
    /* On wider screens we can pack 2 cards per row inside each column
       without losing the vertical-by-status grouping. */
    @media (min-width: 980px) {
      .app-tab-panel[data-app-panel="tracker"] .kanban-column__stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }
    @media (min-width: 1280px) {
      .app-tab-panel[data-app-panel="tracker"] .kanban-column__stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    /* ════════════════════════════════════════════════════════════════
       Auto-fill feed-hero card polish:
       1) Remove the head's border-bottom + bottom padding (the eyebrow +
          title + description is already visually grouped with the
          rows below; the rule was double-marking that boundary).
          (Ticket: t1778242643168)
       2) Convert the two info rows into a 2-column card grid on
          desktop (≥720px) and stack on mobile. (Ticket: t1778242670084)
       ──────────────────────────────────────────────────────────────── */
    .surface-card--feed-hero .settings-section__head {
      padding-bottom: 0;
      border-bottom: 0;
      margin-bottom: 0;
    }
    .surface-card--feed-hero .settings-rows {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 18px;
      border-top: 0;
      padding-top: 0;
    }
    .surface-card--feed-hero .settings-rows .settings-row {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: flex-start;
      padding: 14px 16px;
      border: 1px solid rgba(5, 150, 105, 0.16);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.6);
    }
    .surface-card--feed-hero .settings-rows .settings-row__label {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .surface-card--feed-hero .settings-rows .settings-row__label strong {
      font-size: 0.875rem;
      color: #01382C;
    }
    .surface-card--feed-hero .settings-rows .settings-row__label span {
      font-size: 0.78rem;
      line-height: 1.45;
      color: rgba(1, 56, 44, 0.65);
    }
    .surface-card--feed-hero .settings-rows .status-pill,
    .surface-card--feed-hero .settings-rows .settings-row__value {
      align-self: flex-start;
    }
    @media (min-width: 720px) {
      .surface-card--feed-hero .settings-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    /* Monthly plan usage relocated inside feed-hero card.
       (Ticket: t1778253202019) */
    .autofill-feed-hero-usage {
      margin-top: 16px;
      padding: 18px 20px;
      border-radius: 14px;
      border: 1px solid rgba(5, 150, 105, 0.16);
      background: linear-gradient(180deg,
        rgba(236, 253, 245, 0.55),
        rgba(255, 255, 255, 0.6));
    }
    .autofill-feed-hero-usage__head {
      display: flex; align-items: flex-start; justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
      flex-wrap: wrap;
    }
    .autofill-feed-hero-usage__head > div { flex: 1 1 auto; min-width: 0; }
    .autofill-feed-hero-usage__title {
      margin: 0 0 4px;
      font: 700 0.95rem/1.25 inherit;
      color: #01382C;
    }
    .autofill-feed-hero-usage__desc {
      margin: 0;
      font: 400 0.8125rem/1.45 inherit;
      color: rgba(1, 56, 44, 0.65);
    }
    .autofill-feed-hero-usage .usage-meter { margin-top: 0; }

    /* ════════════════════════════════════════════════════════════════
       Auto-Fill onboarding carousel — refined editorial layout.
       (Tickets: t1778246792674 · redesigned for t1778252747662)

       Aesthetic intent:
         · Generous negative space, asymmetric two-column slide
         · Display numeral as the visual anchor (no all-caps eyebrow chips)
         · True single-panel carousel: display:none on inactive slides,
           soft fade+lift in for the active one
         · Thin progress rail + counter, not busy dot navigation
       ──────────────────────────────────────────────────────────────── */
    .autofill-cta-cluster { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }

    .autofill-learn-modal[hidden],
    .autofill-learn-scrim[hidden] { display: none !important; }

    .autofill-learn-scrim {
      position: fixed; inset: 0;
      background: rgba(1, 36, 28, 0.55);
      backdrop-filter: blur(8px) saturate(120%);
      -webkit-backdrop-filter: blur(8px) saturate(120%);
      z-index: 1000;
      animation: afLmFadeIn .2s ease;
    }
    .autofill-learn-modal {
      position: fixed; inset: 0;
      display: flex; align-items: center; justify-content: center;
      z-index: 1001;
      padding: 32px 24px;
      pointer-events: none;
    }
    .autofill-learn-modal__panel {
      pointer-events: auto;
      width: min(960px, 100%);
      max-height: calc(100vh - 64px);
      overflow-y: auto;
      background:
        radial-gradient(120% 80% at 100% 0%, rgba(5,150,105,0.07) 0%, transparent 55%),
        #ffffff;
      border-radius: 20px;
      box-shadow:
        0 40px 100px rgba(1, 36, 28, 0.28),
        0 8px 22px rgba(1, 36, 28, 0.08),
        inset 0 0 0 1px rgba(1, 56, 44, 0.06);
      padding: 32px 36px 26px;
      position: relative;
      animation: afLmRise .28s cubic-bezier(.22,.8,.36,1);
    }
    @media (max-width: 640px) {
      .autofill-learn-modal__panel { padding: 24px 22px 20px; border-radius: 16px; }
    }
    .autofill-learn-modal__close {
      position: absolute; top: 16px; right: 16px;
      width: 30px; height: 30px;
      border-radius: 50%; border: 1px solid rgba(1, 56, 44, 0.10);
      background: rgba(255,255,255,0.6); color: rgba(1,56,44,0.55);
      cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center;
      transition: background .15s, color .15s, border-color .15s;
      z-index: 2;
    }
    .autofill-learn-modal__close:hover {
      background: rgba(1,56,44,0.06); color: #01382C;
      border-color: rgba(1,56,44,0.18);
    }

    /* Header — sentence-case lede, no eyebrow chip, refined hierarchy */
    .autofill-learn-modal__head { margin-bottom: 22px; }
    .autofill-learn-modal__brand {
      display: inline-flex; align-items: center; gap: 8px;
      font: 500 0.75rem/1 inherit;
      color: rgba(1, 56, 44, 0.62);
      letter-spacing: 0.005em;
    }
    .autofill-learn-modal__brand-mark {
      width: 18px; height: 18px;
      display: inline-flex; align-items: center; justify-content: center;
      border-radius: 6px;
      background: linear-gradient(135deg, #047857, #10b981);
      color: #fff;
    }
    .autofill-learn-modal__title {
      margin: 12px 0 0;
      font: 700 1.65rem/1.18 inherit;
      color: #01382C;
      letter-spacing: -0.02em;
      max-width: 28ch;
    }
    @media (max-width: 640px) {
      .autofill-learn-modal__title { font-size: 1.35rem; }
    }

    /* Stage = single-panel carousel viewport. Slides crossfade. */
    .autofill-learn-stage {
      position: relative;
      min-height: 320px;
    }
    .autofill-learn-slide {
      display: none;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      align-items: center;
      gap: 32px;
      padding: 18px 0 8px;
      animation: afLmSlideIn .35s cubic-bezier(.22,.8,.36,1);
    }
    .autofill-learn-slide.is-active { display: grid; }
    @media (max-width: 720px) {
      .autofill-learn-slide,
      .autofill-learn-slide.is-active { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    }

    .autofill-learn-slide__copy { min-width: 0; }
    .autofill-learn-slide__numeral {
      display: block;
      font: 600 4.25rem/0.95 "Figtree", inherit;
      color: rgba(5, 150, 105, 0.16);
      letter-spacing: -0.04em;
      margin-bottom: 6px;
      font-feature-settings: "tnum" 1, "lnum" 1;
    }
    .autofill-learn-slide__headline {
      margin: 0 0 12px;
      font: 700 1.35rem/1.25 inherit;
      color: #01382C;
      letter-spacing: -0.015em;
      max-width: 22ch;
    }
    .autofill-learn-slide__lede {
      margin: 0 0 16px;
      font: 400 0.9375rem/1.55 inherit;
      color: rgba(1, 56, 44, 0.72);
      max-width: 38ch;
    }
    .autofill-learn-slide__lede a {
      color: #047857; text-decoration: underline; text-decoration-thickness: 1px;
      text-underline-offset: 2px;
    }
    .autofill-learn-slide__lede strong { color: #01382C; font-weight: 600; }

    .autofill-learn-slide__points {
      list-style: none; padding: 0; margin: 0;
      display: flex; flex-direction: column; gap: 10px;
    }
    .autofill-learn-slide__points li {
      display: flex; gap: 10px; align-items: flex-start;
      padding-left: 0;
      font-size: 0.8125rem; line-height: 1.5;
      color: rgba(1, 56, 44, 0.78);
    }
    .autofill-learn-slide__points li::before {
      content: "";
      flex: 0 0 6px;
      width: 6px; height: 6px;
      border-radius: 50%;
      background: #10b981;
      margin-top: 8px;
    }
    .autofill-learn-slide__points li strong {
      color: #01382C; font-weight: 600;
      margin-right: 6px;
    }
    .autofill-learn-slide__points li span {
      flex: 1 1 auto; min-width: 0;
    }

    /* Visual half — subtle inset card */
    .autofill-learn-slide__visual {
      margin: 0;
      min-width: 0;
      padding: 22px;
      border-radius: 16px;
      background:
        radial-gradient(140% 100% at 0% 0%, rgba(5,150,105,0.08), transparent 55%),
        #f7faf9;
      border: 1px solid rgba(5, 150, 105, 0.12);
      position: relative;
    }

    /* ── Slide 01: Saved → Auto-Fill → Applied flow ──────────── */
    .autofill-learn-flow {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
      min-height: 220px;
    }
    .autofill-learn-flow__col {
      display: flex; flex-direction: column; align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .autofill-learn-flow__col-label {
      font: 600 0.7rem/1 inherit;
      color: rgba(1, 56, 44, 0.65);
      letter-spacing: 0;
    }
    .autofill-learn-flow__col-rail {
      width: 1px;
      flex: 1;
      background: linear-gradient(180deg,
        rgba(5,150,105,0.05),
        rgba(5,150,105,0.18) 50%,
        rgba(5,150,105,0.05));
      min-height: 150px;
    }
    .autofill-learn-flow__job {
      position: absolute;
      top: 38px;
      width: 28%;
      max-width: 140px;
      padding: 9px 11px;
      background: #ffffff;
      border: 1px solid rgba(5, 150, 105, 0.18);
      border-radius: 10px;
      font: 600 0.72rem/1.25 inherit;
      color: #01382C;
      box-shadow: 0 4px 12px rgba(1, 36, 28, 0.07);
      display: flex; flex-direction: column; gap: 2px;
      pointer-events: none;
    }
    .autofill-learn-flow__job small {
      font: 400 0.65rem/1.2 inherit;
      color: rgba(1, 56, 44, 0.55);
    }
    .autofill-learn-flow__job--a { animation: afFlow 7.5s cubic-bezier(.55,.05,.25,.95) 0s infinite; }
    .autofill-learn-flow__job--b { animation: afFlow 7.5s cubic-bezier(.55,.05,.25,.95) 1.85s infinite; opacity: 0; }
    .autofill-learn-flow__job--c { animation: afFlow 7.5s cubic-bezier(.55,.05,.25,.95) 3.7s infinite; opacity: 0; top: 88px; }
    @keyframes afFlow {
      0%   { left: 3%; opacity: 0; transform: translateY(8px); }
      8%   { opacity: 1; transform: translateY(0); }
      28%  { left: 3%; opacity: 1; }
      42%  { left: 36%; opacity: 1;
             background: #fffbeb; border-color: rgba(217,119,6,0.32); }
      60%  { left: 36%; opacity: 1;
             background: #fffbeb; border-color: rgba(217,119,6,0.32); }
      76%  { left: 69%; opacity: 1;
             background: #ecfdf5; border-color: rgba(5,150,105,0.36);
             box-shadow: 0 6px 16px rgba(5,150,105,0.18); }
      92%  { left: 69%; opacity: 1; }
      100% { left: 69%; opacity: 0; transform: translateY(-4px); }
    }

    /* ── Slide 02: Saved Answer card stack ─────────────────── */
    .autofill-learn-slide__visual--saved {
      display: flex; flex-direction: column; gap: 12px;
      background:
        radial-gradient(140% 100% at 100% 100%, rgba(5,150,105,0.06), transparent 60%),
        #f7faf9;
    }
    .autofill-learn-saved {
      padding: 14px 16px;
      background: #ffffff;
      border: 1px solid rgba(1, 56, 44, 0.08);
      border-radius: 12px;
      display: flex; flex-direction: column; gap: 6px;
      box-shadow: 0 1px 3px rgba(1, 36, 28, 0.04);
    }
    .autofill-learn-saved--soft {
      background: rgba(255,255,255,0.6);
      border-style: dashed;
      border-color: rgba(1, 56, 44, 0.14);
      box-shadow: none;
    }
    .autofill-learn-saved__topic {
      align-self: flex-start;
      font: 500 0.7rem/1 inherit;
      color: #047857;
    }
    .autofill-learn-saved__q {
      margin: 0;
      font: 600 0.85rem/1.4 inherit;
      color: #01382C;
    }
    .autofill-learn-saved__a {
      margin: 0;
      font: 400 0.8rem/1.5 inherit;
      color: rgba(1, 56, 44, 0.7);
    }
    .autofill-learn-saved__use {
      align-self: flex-start;
      font: 500 0.68rem/1 inherit;
      color: rgba(1, 56, 44, 0.45);
      margin-top: 4px;
    }

    /* ── Slide 03: Supports list ───────────────────────────── */
    .autofill-learn-slide__visual--supports {
      display: flex; align-items: center; justify-content: center;
    }
    .autofill-learn-supports {
      display: flex; flex-direction: column; gap: 10px;
      width: 100%;
    }
    .autofill-learn-supports__row {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 14px;
      background: #ffffff;
      border: 1px solid rgba(1, 56, 44, 0.08);
      border-radius: 10px;
      font: 500 0.85rem/1.3 inherit;
      color: #01382C;
    }
    .autofill-learn-supports__check {
      flex: 0 0 22px;
      width: 22px; height: 22px;
      border-radius: 50%;
      background: rgba(5, 150, 105, 0.12);
      color: #047857;
      display: inline-flex; align-items: center; justify-content: center;
    }

    /* Footer — counter + thin progress rail + nav arrows */
    .autofill-learn-modal__foot {
      margin-top: 4px;
      padding-top: 18px;
      border-top: 1px solid rgba(1, 56, 44, 0.08);
      display: flex; align-items: center; justify-content: space-between;
      gap: 18px;
    }
    .autofill-learn-modal__progress {
      display: flex; align-items: center; gap: 14px;
      flex: 1 1 auto;
      min-width: 0;
    }
    .autofill-learn-modal__counter {
      font: 500 0.78rem/1 inherit;
      color: rgba(1, 56, 44, 0.55);
      letter-spacing: 0.04em;
      font-feature-settings: "tnum" 1;
      flex: 0 0 auto;
    }
    .autofill-learn-modal__rail {
      flex: 1 1 auto;
      max-width: 260px;
      height: 2px;
      background: rgba(1, 56, 44, 0.08);
      border-radius: 99px;
      overflow: hidden;
      position: relative;
    }
    .autofill-learn-modal__rail-fill {
      display: block;
      height: 100%;
      width: calc(var(--p, 0.333) * 100%);
      background: linear-gradient(90deg, #047857, #10b981);
      border-radius: 99px;
      transition: width .35s cubic-bezier(.22,.8,.36,1);
    }
    .autofill-learn-modal__nav {
      display: inline-flex; align-items: center; gap: 8px;
      flex: 0 0 auto;
    }
    .autofill-learn-modal__nav-btn {
      width: 36px; height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(1, 56, 44, 0.12);
      background: #ffffff;
      color: #01382C;
      cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center;
      transition: background .15s, border-color .15s, transform .15s;
    }
    .autofill-learn-modal__nav-btn:hover:not(:disabled) {
      background: rgba(5,150,105,0.06);
      border-color: rgba(5,150,105,0.32);
    }
    .autofill-learn-modal__nav-btn:disabled {
      opacity: 0.32; cursor: not-allowed;
    }
    .autofill-learn-modal__nav-btn--primary {
      background: #01382C;
      color: #ffffff;
      border-color: #01382C;
    }
    .autofill-learn-modal__nav-btn--primary:hover:not(:disabled) {
      background: #064e3b; border-color: #064e3b;
    }

    .autofill-learn-modal__actions {
      margin-top: 18px;
      display: flex; justify-content: flex-end; align-items: center; gap: 10px;
    }

    @keyframes afLmFadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes afLmRise {
      from { opacity: 0; transform: translateY(14px) scale(0.98); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes afLmSlideIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

/* ════════════════════════════════════════════════════════════════
   Analytics weekly chart — richer hover tooltip with structured stats.
   The existing data-tooltip ::after pattern stays as fallback; this
   layer adds a polished card-style popover. (Ticket: t1778261161949)
   ──────────────────────────────────────────────────────────────── */
.weekly-col {
  cursor: pointer;
}
.weekly-col .weekly-bar {
  transition: height 0.5s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.weekly-col:hover .weekly-bar,
.weekly-col:focus-visible .weekly-bar {
  background: #047857;
  transform: scaleY(1.02);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.28);
}
.weekly-col.is-current:hover .weekly-bar {
  background: #064e3b;
}

/* Hide the base text-only tooltip when the structured card is present —
   they'd otherwise overlap. */
.weekly-col:has(.weekly-tooltip)[data-tooltip]::after {
  display: none;
}

.weekly-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 240px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #01382C, #064E3B);
  color: #ECFDF5;
  box-shadow: 0 16px 36px rgba(1, 56, 44, 0.28), 0 2px 6px rgba(1, 56, 44, 0.14);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 500 0.78rem/1.4 inherit;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
  z-index: 30;
}
.weekly-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #064E3B;
}
.weekly-col:hover .weekly-tooltip,
.weekly-col:focus-visible .weekly-tooltip,
.weekly-col:focus-within .weekly-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.weekly-tooltip__title {
  font: 700 0.82rem/1 inherit;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  display: block;
}
.weekly-tooltip__row {
  display: block;
  position: relative;
  padding-left: 14px;
  color: rgba(236, 253, 245, 0.85);
  font-weight: 500;
}
.weekly-tooltip__row::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.85);
}

/* A subtle dot above each bar that pulses on hover suggests the bar
   is interactive. */
.weekly-col::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.weekly-col:hover::before,
.weekly-col:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
