        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
            background: #0D2626;
            color: #E6EDF3;
            min-height: 100vh;
            padding: 2.5rem 1rem 4rem;
        }

        .card {
            background: #111E1E;
            border: none;
            border-radius: 12px;
            padding: 2rem 2.5rem;
            width: 100%;
            max-width: 860px;
            margin: 0 auto;
        }

        /* ── App bar ── */
        .app-bar {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-bottom: 1.25rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #21262D;
            flex-wrap: wrap;
        }

        .app-bar-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .app-bar-brand-text h1 { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
        .app-bar-brand-text #subtitle {
            color: #484F58; font-size: 0.7rem;
            margin: 0; padding: 0;
        }

        .logo {
            width: 36px; height: 36px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .toolbar-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

        /* ── Buttons ── */
        .btn {
            background: #21262D; color: #E6EDF3;
            border: 1px solid #30363D; border-radius: 6px;
            padding: 0.48rem 0.9rem; font-size: 0.8rem; font-weight: 500;
            cursor: pointer; transition: background 0.15s; white-space: nowrap;
        }
        .btn:hover { background: #30363D; }
        .hidden { display: none !important; }

        /* ── Google connect ── */
        .google-connect {
            display: flex; flex-direction: column; align-items: center;
            padding: 2.5rem 1rem 1.75rem; gap: 0.6rem;
        }
        .google-connect-label {
            font-size: 0.8rem; color: #8B949E; margin-bottom: 0.25rem;
        }
        .google-btn {
            display: inline-flex; align-items: center; gap: 0.6rem;
            background: #fff; color: #1f2328;
            border: 1px solid #d0d7de; border-radius: 8px;
            padding: 0.7rem 1.5rem; font-size: 0.9rem; font-weight: 600;
            cursor: pointer; transition: background 0.15s, box-shadow 0.15s;
            font-family: inherit;
        }
        .google-btn:hover { background: #f6f8fa; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
        .google-btn:disabled { opacity: 0.6; cursor: wait; }
        .google-error { color: #F85149; font-size: 0.78rem; text-align: center; max-width: 380px; }
        .upload-sep {
            display: flex; align-items: center; gap: 0.75rem;
            color: #484F58; font-size: 0.73rem; margin: 0 0 1rem;
        }
        .upload-sep::before, .upload-sep::after {
            content: ''; flex: 1; height: 1px; background: #21262D;
        }

        /* ── Drop zone ── */
        .drop-zone {
            display: flex; flex-direction: column; align-items: center;
            justify-content: center; gap: 0.5rem;
            border: 2px dashed #30363D; border-radius: 10px;
            padding: 3.5rem 2rem; cursor: pointer;
            transition: border-color 0.15s, background 0.15s;
            text-align: center; user-select: none;
        }
        .drop-zone:hover    { border-color: #484F58; background: rgba(255,255,255,0.02); }
        .drop-zone.drag-over { border-color: #0D9488; background: #051E1E; }
        .drop-icon  { font-size: 2.5rem; margin-bottom: 0.3rem; }
        .drop-title { font-size: 1rem; font-weight: 600; }
        .drop-sub   { font-size: 0.8rem; color: #8B949E; }

        /* ── State boxes ── */
        .state-box {
            display: flex; flex-direction: column; align-items: center;
            gap: 0.65rem; padding: 3.5rem 1rem;
            color: #8B949E; font-size: 0.875rem; text-align: center;
        }
        .state-box.error { color: #F85149; }

        .spinner {
            width: 22px; height: 22px;
            border: 2px solid #30363D; border-top-color: #2DD4BF;
            border-radius: 50%; animation: spin 0.75s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ── Tabs ── */
        .tab-row {
            display: flex;
            background: #0D1117;
            border: 1px solid #30363D;
            border-radius: 8px;
            padding: 3px; gap: 2px;
        }

        .tab-btn {
            display: flex; align-items: center; gap: 0.4rem;
            padding: 0.38rem 0.9rem;
            font-size: 0.82rem; font-weight: 500;
            background: transparent; border: none;
            border-radius: 5px; color: #8B949E;
            cursor: pointer; transition: all 0.15s;
            font-family: inherit;
        }
        .tab-btn:hover { color: #E6EDF3; background: rgba(255,255,255,0.04); }
        .tab-btn.active { background: #0D9488; color: #fff; }

        .badge {
            font-size: 0.68rem; font-weight: 600;
            background: #21262D; color: #8B949E;
            padding: 0.1rem 0.45rem;
            border-radius: 99px; min-width: 20px; text-align: center;
        }
        .tab-btn.active .badge { background: #30363D; color: #E6EDF3; }

        .window-label { font-size: 0.78rem; color: #484F58; }

        /* ── Search ── */
        .search-wrap { margin-bottom: 1.1rem; }

        .search-input {
            width: 100%;
            background: #0D1117;
            border: 1px solid #30363D;
            border-radius: 7px;
            color: #E6EDF3;
            padding: 0.6rem 1rem;
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.15s;
            font-family: inherit;
        }
        .search-input:focus { border-color: #0D9488; }
        .search-input::placeholder { color: #484F58; }

        /* ── Day sections ── */
        .day-section { margin-bottom: 2rem; }

        .day-label {
            font-size: 0.7rem; font-weight: 700; color: #8B949E;
            text-transform: uppercase; letter-spacing: 0.08em;
            display: flex; align-items: center; gap: 0.75rem;
            margin-bottom: 0.65rem;
        }
        .day-label::after { content: ''; flex: 1; height: 1px; background: #21262D; }

        /* ── Meeting cards ── */
        .meeting-card {
            background: #0D1117; border: 1px solid #21262D;
            border-radius: 8px; margin-bottom: 0.6rem; overflow: hidden;
        }

        .meeting-header {
            display: flex; align-items: flex-start; gap: 0.85rem;
            padding: 0.85rem 1rem; border-bottom: 1px solid #1A1F27;
        }

        .meeting-meta { flex: 1; min-width: 0; }

        .meeting-time {
            font-size: 0.7rem; color: #8B949E; margin-bottom: 0.2rem;
            font-variant-numeric: tabular-nums;
        }

        .meeting-title { font-size: 0.92rem; font-weight: 600; line-height: 1.3; }

        .meeting-count { font-size: 0.68rem; color: #484F58; margin-top: 0.2rem; }

        .join-btn {
            display: inline-flex; align-items: center; gap: 0.3rem;
            padding: 0.35rem 0.75rem; font-size: 0.75rem; font-weight: 500;
            background: #0A2E2D; border: 1px solid #0D9488; color: #2DD4BF;
            border-radius: 5px; text-decoration: none; white-space: nowrap;
            flex-shrink: 0; margin-top: 0.1rem;
            transition: background 0.15s, color 0.15s;
        }
        .join-btn:hover { background: #0D9488; color: #fff; }

        /* ── Meeting attendee rows ── */
        .attendee-list { padding: 0.25rem 0; }

        .attendee-row {
            display: flex; align-items: center; gap: 0.8rem;
            padding: 0.5rem 1rem; transition: background 0.1s;
        }
        .attendee-row:hover { background: rgba(255,255,255,0.02); }

        .avatar {
            width: 30px; height: 30px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.68rem; font-weight: 700; color: #E6EDF3; flex-shrink: 0;
        }

        .attendee-details {
            flex: 1; min-width: 0;
            display: flex; flex-direction: column; gap: 0.1rem;
        }

        .attendee-name {
            font-size: 0.82rem; font-weight: 500;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

        .organizer-badge {
            font-size: 0.62rem; color: #8B949E; font-weight: 400; margin-left: 0.3rem;
        }

        .attendee-email {
            font-size: 0.72rem; color: #8B949E;
            font-family: 'SF Mono', 'Fira Code', Menlo, monospace;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .attendee-email.solo { font-size: 0.8rem; color: #E6EDF3; }

        .attendee-company {
            font-size: 0.72rem; color: #484F58;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            min-width: 80px; max-width: 170px; text-align: right;
        }

        .response-chip {
            font-size: 0.63rem; font-weight: 600;
            padding: 0.18rem 0.5rem; border-radius: 99px;
            border: 1px solid; white-space: nowrap; flex-shrink: 0;
        }
        .chip-accepted  { background: #0D3321; color: #3FB950; border-color: #238636; }
        .chip-declined  { background: #3D0C0C; color: #F85149; border-color: #6E1C1C; }
        .chip-tentative { background: #2D1F00; color: #D29922; border-color: #9E6A03; }
        .chip-pending   { background: #21262D; color: #8B949E; border-color: #30363D; }

        .no-attendees {
            padding: 0.6rem 1rem 0.75rem;
            font-size: 0.78rem; color: #484F58; font-style: italic;
        }

        /* ── People list ── */
        .people-empty {
            padding: 2rem 0; text-align: center;
            font-size: 0.875rem; color: #484F58;
        }

        .person-row {
            display: flex; align-items: flex-start; gap: 0.85rem;
            padding: 0.8rem 0; border-bottom: 1px solid #1A1F27;
        }
        .person-row:last-child { border-bottom: none; }

        .person-avatar {
            width: 34px; height: 34px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.75rem; font-weight: 700; color: #E6EDF3; flex-shrink: 0;
            margin-top: 0.05rem;
        }

        .person-info {
            flex: 0 0 220px; min-width: 0;
            display: flex; flex-direction: column; gap: 0.15rem;
        }

        .person-name {
            font-size: 0.84rem; font-weight: 600;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }

        .person-email-line {
            display: flex; align-items: center; gap: 0.4rem;
        }

        .person-email {
            font-size: 0.72rem; color: #8B949E;
            font-family: 'SF Mono', 'Fira Code', Menlo, monospace;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            min-width: 0;
        }
        .person-email.solo { font-size: 0.8rem; color: #E6EDF3; }

        .copy-btn {
            flex-shrink: 0; background: transparent;
            border: 1px solid #30363D; border-radius: 4px;
            color: #484F58; font-size: 0.62rem;
            padding: 0.1rem 0.38rem; cursor: pointer;
            transition: all 0.15s; font-family: inherit; line-height: 1.4;
        }
        .copy-btn:hover { border-color: #484F58; color: #8B949E; }
        .copy-btn.copied { border-color: #238636; color: #3FB950; }

        .person-company {
            flex: 0 0 130px;
            font-size: 0.73rem; color: #484F58;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            padding-top: 0.2rem;
        }

        .person-meetings {
            flex: 1; display: flex; flex-wrap: wrap;
            gap: 0.3rem; align-content: flex-start;
        }

        /* Meeting chips — colored by RSVP */
        .mchip {
            display: inline-flex; align-items: center;
            padding: 0.2rem 0.55rem; border-radius: 5px;
            font-size: 0.68rem; font-weight: 500;
            border: 1px solid; white-space: nowrap;
            cursor: default; line-height: 1.4;
        }
        .mchip-accepted  { background: #0D3321; color: #3FB950; border-color: #238636; }
        .mchip-declined  { background: #3D0C0C; color: #F85149; border-color: #6E1C1C; }
        .mchip-tentative { background: #2D1F00; color: #D29922; border-color: #9E6A03; }
        .mchip-pending   { background: #21262D; color: #8B949E; border-color: #30363D; }

        .empty-window {
            text-align: center; padding: 2rem 1rem;
            font-size: 0.875rem; color: #8B949E;
        }

        /* ── Classification badges ── */
        .cls-badge {
            display: inline-flex; align-items: center;
            font-size: 0.62rem; font-weight: 600;
            padding: 0.15rem 0.45rem; border-radius: 99px;
            border: 1px solid; white-space: nowrap; flex-shrink: 0;
        }
        .badge-internal  { background: #0D2847; color: #2DD4BF; border-color: #1F4E8A; }
        .badge-external  { background: #1A1F27; color: #8B949E; border-color: #30363D; }
        .badge-new       { background: #2D1F00; color: #D29922; border-color: #9E6A03; }
        .badge-known     { background: #0F2D40; color: #39B4D6; border-color: #1A6080; }
        .badge-frequent  { background: #1A0D3A; color: #A371F7; border-color: #6E40C9; }

        /* ── Settings panel ── */
        .settings-panel {
            background: #0D1117;
            border: 1px solid #30363D;
            border-radius: 8px;
            padding: 0.85rem 1.1rem;
            margin-bottom: 1.25rem;
            display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-end;
        }
        .settings-group { display: flex; flex-direction: column; gap: 0.3rem; }
        .settings-label { font-size: 0.7rem; color: #8B949E; font-weight: 500; }
        .settings-input {
            background: #161B22; border: 1px solid #30363D; border-radius: 5px;
            color: #E6EDF3; padding: 0.38rem 0.6rem; font-size: 0.8rem;
            outline: none; font-family: inherit; transition: border-color 0.15s;
        }
        .settings-input:focus { border-color: #0D9488; }
        .settings-input[type=number] { width: 70px; }
        .settings-hint {
            font-size: 0.68rem; color: #484F58; align-self: flex-end;
            padding-bottom: 0.1rem; flex-basis: 100%;
        }

        /* ── New people panel ── */
        .new-panel {
            border: 1px solid #9E6A03;
            border-radius: 8px;
            background: #0D1117;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        .new-panel-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 0.65rem 1rem;
            background: #161008;
            border-bottom: 1px solid #9E6A03;
            cursor: pointer; user-select: none;
        }
        .new-panel-title {
            font-size: 0.82rem; font-weight: 600; color: #D29922;
            display: flex; align-items: center; gap: 0.5rem;
        }
        .new-panel-count {
            font-size: 0.68rem; font-weight: 600;
            background: #2D1F00; color: #D29922; border: 1px solid #9E6A03;
            padding: 0.1rem 0.45rem; border-radius: 99px;
        }
        .new-panel-chevron { font-size: 0.65rem; color: #484F58; transition: transform 0.2s; }
        .new-panel-chevron.open { transform: rotate(180deg); }
        .new-panel-body { }
        .new-panel-empty {
            padding: 1rem; font-size: 0.8rem; color: #484F58;
            text-align: center; font-style: italic;
        }
        .new-person-row {
            display: flex; align-items: center; gap: 0.75rem;
            padding: 0.55rem 1rem; border-bottom: 1px solid #1A1F27;
            transition: background 0.1s;
        }
        .new-person-row:last-child { border-bottom: none; }
        .new-person-row:hover { background: rgba(255,255,255,0.02); }
        .new-person-info { flex: 0 0 200px; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
        .new-person-name { font-size: 0.82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .new-person-email {
            font-size: 0.7rem; color: #8B949E;
            font-family: 'SF Mono', 'Fira Code', Menlo, monospace;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        }
        .new-person-company { flex: 0 0 120px; font-size: 0.72rem; color: #484F58; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .new-person-meetings { flex: 1; display: flex; flex-wrap: wrap; gap: 0.3rem; }
        .lookup-btn {
            flex-shrink: 0; font-size: 0.72rem; font-weight: 500;
            padding: 0.28rem 0.65rem; border-radius: 5px;
            background: #1A1F27; border: 1px solid #30363D; color: #484F58;
            cursor: not-allowed; font-family: inherit;
            transition: all 0.15s;
        }
        .lookup-btn.ready {
            background: #0A2E2D; border-color: #0D9488; color: #2DD4BF; cursor: pointer;
        }
        .lookup-btn.ready:hover { background: #0D9488; color: #fff; }
        .lookup-btn.loading { opacity: 0.6; cursor: wait; }

        /* ── Lookup result card ── */
        .lookup-result {
            display: flex; flex-direction: column; gap: 0.15rem;
            font-size: 0.72rem; padding: 0.1rem 0;
        }
        .lookup-result-name  { font-weight: 600; color: #E6EDF3; }
        .lookup-result-title { color: #8B949E; }
        .lookup-result-summary { color: #484F58; font-style: italic; line-height: 1.4; max-width: 280px; }
        .lookup-link {
            display: inline-flex; align-items: center; gap: 0.25rem;
            color: #2DD4BF; text-decoration: none; font-size: 0.7rem; font-weight: 500;
        }
        .lookup-link:hover { text-decoration: underline; }
        .lookup-error { color: #F85149; font-size: 0.7rem; max-width: 200px; }
        .lookup-none  { color: #484F58; font-size: 0.7rem; }

        /* ── Reconnects panel ── */
        .reconnect-panel {
            border: 1px solid #8B4513;
            border-radius: 8px;
            background: #0D1117;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        .reconnect-panel-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 0.65rem 1rem;
            background: #120A03;
            border-bottom: 1px solid #8B4513;
            cursor: pointer; user-select: none;
        }
        .reconnect-panel-title {
            font-size: 0.82rem; font-weight: 600; color: #E07B39;
            display: flex; align-items: center; gap: 0.5rem;
        }
        .reconnect-panel-count {
            font-size: 0.68rem; font-weight: 600;
            background: #1F0E03; color: #E07B39; border: 1px solid #8B4513;
            padding: 0.1rem 0.45rem; border-radius: 99px;
        }
        .badge-lapsed { background: #1F0E03; color: #E07B39; border-color: #8B4513; }

        /* ── Filter chips ── */
        .filter-row {
            display: flex; flex-wrap: wrap; gap: 0.4rem;
            margin-bottom: 0.75rem; align-items: center;
        }
        .filter-label { font-size: 0.68rem; color: #484F58; margin-right: 0.15rem; }
        .fchip {
            font-size: 0.7rem; font-weight: 500;
            padding: 0.22rem 0.65rem; border-radius: 99px;
            border: 1px solid #30363D; background: transparent;
            color: #8B949E; cursor: pointer; transition: all 0.15s;
            font-family: inherit;
        }
        .fchip:hover { border-color: #484F58; color: #E6EDF3; }
        .fchip.active { background: #21262D; color: #E6EDF3; border-color: #484F58; }
        .fchip-sep { width: 1px; height: 16px; background: #30363D; margin: 0 0.15rem; }

        /* ── Advanced search ── */
        .adv-btn {
            flex-shrink: 0; font-size: 0.72rem; font-weight: 500;
            padding: 0.28rem 0.65rem; border-radius: 5px;
            background: #1A1F27; border: 1px solid #30363D; color: #484F58;
            cursor: not-allowed; font-family: inherit;
            transition: all 0.15s;
        }
        .adv-btn.ready {
            background: #0D2D1A; border-color: #238636; color: #3FB950; cursor: pointer;
        }
        .adv-btn.ready:hover { background: #238636; color: #fff; }
        .adv-btn.loading { opacity: 0.6; cursor: wait; }

        .adv-result-area { margin-top: 0.2rem; }
        .adv-result { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; padding: 0.1rem 0; }
        .adv-summary { color: #8B949E; font-style: italic; line-height: 1.4; max-width: 300px; }
        .adv-articles { display: flex; flex-direction: column; gap: 0.25rem; }
        .adv-article { display: flex; flex-direction: column; gap: 0.05rem; }
        .adv-article-link {
            color: #2DD4BF; text-decoration: none; font-size: 0.7rem;
            font-weight: 500; line-height: 1.3;
        }
        .adv-article-link:hover { text-decoration: underline; }
        .adv-article-meta { font-size: 0.65rem; color: #484F58; }

        /* ── Workspace tab ── */
        .workspace-search {
            margin-bottom: 1rem;
        }
        .workspace-user-row {
            display: flex; align-items: center; gap: 0.85rem;
            padding: 0.65rem 0; border-bottom: 1px solid #1A1F27;
        }
        .workspace-user-row:last-child { border-bottom: none; }
        .ws-avatar {
            width: 36px; height: 36px; border-radius: 50%;
            object-fit: cover; flex-shrink: 0;
        }
        .ws-avatar-fallback {
            width: 36px; height: 36px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.72rem; font-weight: 700; color: #E6EDF3; flex-shrink: 0;
        }
        .ws-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.1rem; }
        .ws-name { font-size: 0.84rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ws-handle { font-size: 0.72rem; color: #8B949E; }
        .ws-email  { font-size: 0.72rem; color: #484F58; font-family: 'SF Mono','Fira Code',Menlo,monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .ws-title  { flex: 0 0 180px; font-size: 0.73rem; color: #484F58; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .schedule-btn {
            flex-shrink: 0; font-size: 0.72rem; font-weight: 500;
            padding: 0.28rem 0.65rem; border-radius: 5px;
            background: #1A1F27; border: 1px solid #30363D; color: #484F58;
            cursor: pointer; font-family: inherit; transition: all 0.15s;
        }
        .schedule-btn:hover { background: #0A2E2D; border-color: #0D9488; color: #2DD4BF; }

        /* ── Schedule modal ── */
        .modal-backdrop {
            position: fixed; inset: 0; background: rgba(0,0,0,0.6);
            display: flex; align-items: center; justify-content: center;
            z-index: 100;
        }
        .modal {
            background: #161B22; border: 1px solid #30363D; border-radius: 12px;
            padding: 1.75rem 2rem; width: 100%; max-width: 480px;
            display: flex; flex-direction: column; gap: 1rem;
        }
        .modal-title { font-size: 1rem; font-weight: 700; }
        .modal-body  { font-size: 0.85rem; color: #E6EDF3; line-height: 1.6; }
        .modal-footer { display: flex; justify-content: flex-end; gap: 0.5rem; }

        /* ── Schedule form ── */
        .sched-form   { display: flex; flex-direction: column; gap: 0.9rem; }
        .sched-field  { display: flex; flex-direction: column; gap: 0.3rem; }
        .sched-attendee {
            display: flex; align-items: center; gap: 0.4rem;
            background: #1C2128; border: 1px solid #30363D; border-radius: 20px;
            padding: 0.2rem 0.6rem 0.2rem 0.25rem;
        }
        .sched-time-display {
            font-size: 0.88rem; color: #E6EDF3; font-weight: 500;
            background: #1C2128; border: 1px solid #30363D; border-radius: 6px;
            padding: 0.45rem 0.7rem;
        }
        .sched-success {
            text-align: center; padding: 0.75rem 0;
            display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
        }
        .sched-success-icon  { font-size: 1.75rem; color: #3FB950; }
        .sched-success-title { font-weight: 600; font-size: 0.95rem; }
        .sched-result-link {
            font-size: 0.82rem; color: #2DD4BF; text-decoration: none;
            padding: 0.3rem 0.7rem; border: 1px solid #0D9488; border-radius: 6px;
        }
        .sched-result-link:hover { background: #0A2E2D; }
        .sched-meet-link { color: #3FB950; border-color: #238636; }
        .sched-meet-link:hover { background: #122d22; }

        /* ── Clickable availability slots ── */
        .ft-slot-pick { cursor: pointer; }
        .ft-slot-pick:hover { border-color: #0D9488; background: #0A2E2D; }
        .ft-slot-cta  { font-size: 0.72rem; color: #2DD4BF; margin-left: auto; }

        /* ── Debug panel ── */
        .debug-panel {
            margin-top: 1.5rem;
            background: #0D1117;
            border: 1px solid #30363D;
            border-radius: 8px;
            overflow: hidden;
        }
        .debug-header {
            display: flex; align-items: center; gap: 0.5rem;
            padding: 0.65rem 1rem;
            background: #161B22;
            border-bottom: 1px solid #30363D;
            font-size: 0.78rem; font-weight: 600; color: #8B949E;
        }
        .debug-body { padding: 1rem; }
        .debug-stat {
            display: flex; align-items: baseline; gap: 0.5rem;
            font-size: 0.78rem; margin-bottom: 0.5rem;
        }
        .debug-stat-label { color: #484F58; flex-shrink: 0; }
        .debug-stat-val { color: #E6EDF3; font-weight: 500; }
        .debug-stat-val.warn { color: #D29922; }
        .debug-stat-val.ok { color: #3FB950; }
        .debug-events-label {
            font-size: 0.7rem; font-weight: 700; color: #8B949E;
            text-transform: uppercase; letter-spacing: 0.08em;
            margin: 0.85rem 0 0.4rem;
        }
        .debug-event-row {
            font-size: 0.75rem; padding: 0.3rem 0.5rem;
            border-radius: 4px; display: flex; gap: 0.75rem;
            align-items: baseline;
        }
        .debug-event-row:nth-child(odd) { background: rgba(255,255,255,0.02); }
        .debug-event-date { color: #8B949E; font-family: monospace; flex-shrink: 0; }
        .debug-event-title { color: #E6EDF3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .debug-event-row.in-window .debug-event-date { color: #3FB950; }
        .debug-hint {
            margin-top: 0.85rem; padding: 0.6rem 0.75rem;
            background: #0A2E2D; border: 1px solid #0D9488;
            border-radius: 6px; font-size: 0.75rem; color: #2DD4BF; line-height: 1.5;
        }

        /* ── Find-time selection + availability ── */
        .workspace-user-row { cursor: pointer; user-select: none; transition: background 0.1s; }
        .workspace-user-row:hover { background: rgba(255,255,255,0.02); }
        .workspace-user-row.ft-selected { background: #051E1E; border-bottom-color: #0A2E2D; }
        .ws-check {
            accent-color: #0D9488; width: 15px; height: 15px;
            cursor: pointer; flex-shrink: 0;
        }

        .find-time-bar {
            display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
            background: #051E1E; border: 1px solid #0D9488; border-radius: 8px;
            padding: 0.55rem 0.85rem; margin-bottom: 0.75rem;
        }
        .find-time-bar-label { color: #2DD4BF; font-size: 0.8rem; font-weight: 600; flex: 1; min-width: 80px; }
        .find-time-dur {
            background: #161B22; color: #E6EDF3; border: 1px solid #30363D;
            border-radius: 5px; padding: 0.3rem 0.5rem; font-size: 0.78rem;
            font-family: inherit; cursor: pointer;
        }

        .availability-panel {
            border: 1px solid #21262D; border-radius: 8px;
            padding: 1rem 1.1rem; margin-top: 0.5rem; margin-bottom: 0.75rem;
        }
        .availability-header {
            font-size: 0.8rem; font-weight: 600; color: #8B949E;
            text-transform: uppercase; letter-spacing: 0.06em;
            margin-bottom: 0.65rem;
        }
        .ft-slot {
            display: flex; align-items: center; gap: 0.75rem;
            background: #161B22; border: 1px solid #21262D; border-radius: 7px;
            padding: 0.55rem 0.85rem; margin-bottom: 0.35rem;
            transition: border-color 0.15s;
        }
        .ft-slot:hover { border-color: #0D9488; }
        .ft-slot-time { font-size: 0.88rem; font-weight: 600; color: #E6EDF3; flex: 1; }
        .ft-slot-dur  { font-size: 0.72rem; color: #484F58; }
        .ft-no-slots  { color: #484F58; font-size: 0.85rem; padding: 0.5rem 0; }
        .ft-attendees {
            display: flex; gap: 0.35rem; flex-wrap: wrap; margin-top: 0.65rem;
        }
        .ft-chip {
            font-size: 0.7rem; padding: 0.18rem 0.5rem; border-radius: 20px;
            border: 1px solid #30363D; color: #8B949E;
        }
        .ft-chip.ok       { border-color: #238636; color: #3FB950; }
        .ft-chip.no-data  { border-color: #484F58; color: #6E7681; }
        .ft-chip.error    { border-color: #6E1C1C; color: #F85149; }

        /* ── Section header (People This Week) ── */
        .section-header {
            font-size: 0.72rem; font-weight: 600; color: #8B949E;
            text-transform: uppercase; letter-spacing: 0.06em;
            padding: 0.9rem 0 0.4rem;
        }

        /* ── Scheduler frequency badge ── */
        .sched-freq {
            display: inline-block;
            font-size: 0.65rem; font-weight: 500;
            color: #8B949E;
            background: #1C2128;
            border: 1px solid #30363D;
            border-radius: 10px;
            padding: 0.08rem 0.42rem;
            margin-left: 0.4rem;
            vertical-align: middle;
        }

        /* ── Compact meetings tab ── */
        .compact-day { margin-bottom: 1.25rem; }
        .compact-day-label {
            font-size: 0.72rem; font-weight: 600; color: #8B949E;
            text-transform: uppercase; letter-spacing: 0.06em;
            padding-bottom: 0.35rem; margin-bottom: 0.35rem;
            border-bottom: 1px solid #21262D;
        }
        .compact-meeting {
            display: grid;
            grid-template-columns: 130px 1fr auto;
            align-items: center;
            gap: 0.5rem;
            padding: 0.45rem 0.55rem;
            border-radius: 6px;
            transition: background 0.12s;
        }
        .compact-meeting:hover { background: #1C2128; }
        .compact-time  { font-size: 0.78rem; color: #8B949E; white-space: nowrap; }
        .compact-title { font-size: 0.85rem; color: #E6EDF3; font-weight: 500; }
        .compact-meta  { display: flex; gap: 0.5rem; align-items: center; }
        .compact-count { font-size: 0.72rem; color: #484F58; white-space: nowrap; }
        .compact-join  {
            font-size: 0.72rem; color: #2DD4BF;
            text-decoration: none; white-space: nowrap;
        }
        .compact-join:hover { text-decoration: underline; }
