/* LUMINA • SIM — compact header/nav (same face), bubble text only, CTA below bubble */

body {
    background: #ffffff;
}

.sks-page {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 28px 40px 40px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
}

.sks-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

.sks-top {
    flex-shrink: 0;
}

/* Title + nav: smaller, one type family */
.sks-brand {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #000000;
    text-transform: uppercase;
}

.sks-brand-sep {
    margin: 0 0.1em;
    font-weight: 800;
}

.sks-nav {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.sks-nav::-webkit-scrollbar {
    display: none;
}

/* Same size for every step including Results */
.sks-step {
    font-size: 14px;
    line-height: 1.3;
    color: #c8c8c8;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.sks-step-active {
    color: #000000;
    font-weight: 700;
}

/* Active tab underline (workspace view, design match) */
.sks-page--workspace .sks-step-active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* Wireframe 10 — organize thoughts: Assignment Brief active + underline */
.sks-page--brief-organize .sks-step-active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.sks-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 40px 0 20px;
}

.sks-scene {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 28px;
    width: 100%;
    max-width: 1000px;
}

.sks-person {
    flex: 0 0 auto;
    width: min(360px, 34vw);
    align-self: flex-end;
}

.sks-person img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right column: bubble + button outside bubble */
.sks-dialog-col {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    justify-content: flex-end;
}

.sks-bubble {
    background: #f5f5f5;
    border-radius: 36px;
    padding: 40px 44px 36px;
    box-sizing: border-box;
}

.sks-bubble-copy {
    display: flex;
    flex-direction: column;
    gap: 1.35em;
}

.sks-line-lead {
    margin: 0;
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.42;
    font-weight: 600;
    color: #000000;
}

.sks-line-body {
    margin: 0;
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.42;
    font-weight: 400;
    color: #000000;
}

/* Button sits below bubble, right-aligned to bubble column (not inside gray box) */
.sks-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.sks-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 38px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
}

.sks-btn:hover,
.sks-btn:focus {
    color: #ffffff;
    text-decoration: none;
    background: #1a1a1a;
}

a.sks-btn {
    cursor: pointer;
}

button.sks-btn {
    cursor: pointer;
    font-family: inherit;
}

/* Brief-organize step (after 3–2–1 countdown) — blue emphasis in copy */
.sks-highlight {
    color: #017aff;
    font-weight: 700;
}

.sks-bubble--organize {
    border-radius: 16px;
    padding: 36px 40px 32px;
    overflow: visible;
}

.sks-organize-copy {
    font-weight: 400;
}

.sks-btn--caps {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 14px;
}

/*
 * Lumina dialog scenes (sim intro + brief-organize): 同一套居中布局；CTA 在灰框内，避免缝里的“第二条灰”。
 */
.sks-page--lumina-dialog .sks-main {
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vh, 48px) 0 clamp(28px, 5vh, 56px);
    min-height: min(78vh, calc(100vh - 140px));
}

.sks-page--lumina-dialog .sks-scene {
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 36px);
    max-width: 960px;
    isolation: isolate;
}

/* Person below bubble so grey box isn’t covered by a white stacking layer (fixes “broken tail”) */
.sks-page--lumina-dialog .sks-person {
    position: relative;
    z-index: 0;
    align-self: center;
    width: min(330px, 38vw);
    background: transparent;
}

.sks-page--lumina-dialog .sks-dialog-col {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    align-self: center;
    justify-content: flex-start;
    max-width: min(540px, 54vw);
    width: 100%;
}

.sks-page--lumina-dialog .sks-bubble--organize {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Brief-organize: OK inside grey card, bottom-right (wireframe) */
.sks-page--lumina-dialog .sks-actions--organize-inbubble {
    margin-top: 28px;
    padding-top: 4px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* CTA below grey box (sim intro only — not brief-organize) */
.sks-page--lumina-dialog .sks-actions--below-bubble {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* ---------- Research (post gap analysis — The Stakeholder Kickoff Call) ---------- */
.sks-shell--research {
    position: relative;
    max-width: 1120px;
}

.sks-bubble--research {
    padding-bottom: 28px;
}

/* Fixed gray bubble size — does not grow/shrink with dialogue line length */
.sks-page--research .sks-bubble--research {
    box-sizing: border-box;
    width: 100%;
    max-width: min(540px, 100%);
    min-height: 400px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 40px 28px;
}

.sks-page--research .sks-research-copy {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sks-page--research .sks-research-bottom {
    flex-shrink: 0;
    margin-top: 16px;
    padding-top: 0;
}

.sks-research-lead {
    font-size: clamp(18px, 1.65vw, 24px);
    line-height: 1.42;
    font-weight: 400;
    margin: 0;
}

.sks-research-bottom {
    margin-top: 28px;
    padding-top: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* [hidden] must win over display:flex (otherwise CTA shows on every step) */
.sks-research-fabs[hidden],
.sks-research-start-wrap[hidden] {
    display: none !important;
}

.sks-research-fabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.sks-research-start-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.sks-research-start-btn {
    text-decoration: none;
}

.sks-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    color: #ffffff;
    line-height: 1;
}

.sks-fab--next {
    background: #017aff;
}

@media (max-width: 900px) {
    .sks-page {
        padding: 20px 18px 28px;
    }

    .sks-brand {
        font-size: 22px;
    }

    .sks-nav {
        gap: 16px;
    }

    .sks-step {
        font-size: 13px;
    }

    .sks-main {
        padding: 24px 0 12px;
    }

    .sks-scene {
        flex-direction: column;
        align-items: center;
    }

    .sks-person {
        width: min(300px, 78vw);
    }

    .sks-dialog-col {
        width: 100%;
    }

    .sks-bubble {
        padding: 28px 22px 24px;
        border-radius: 28px;
    }

    .sks-actions {
        justify-content: center;
    }

    .sks-page--lumina-dialog .sks-main {
        min-height: 0;
        padding: 20px 0 32px;
    }

    .sks-page--lumina-dialog .sks-person {
        width: min(280px, 72vw);
    }

    .sks-page--lumina-dialog .sks-dialog-col {
        max-width: 100%;
    }

    .sks-page--lumina-dialog .sks-actions--below-bubble {
        justify-content: flex-end;
    }

    .sks-page--lumina-dialog .sks-bubble--organize {
        border-radius: 16px;
        overflow: visible;
    }

    .sks-page--lumina-dialog .sks-actions--organize-inbubble {
        margin-top: 22px;
    }

    .sks-page--research .sks-bubble--research {
        min-height: 340px;
        height: 340px;
        padding: 28px 22px 22px;
        max-width: 100%;
    }

    .sks-ws-body {
        flex-direction: column;
    }

    .sks-ws-rail {
        flex-direction: row !important;
        width: 100%;
        min-height: 48px;
        padding: 8px 12px;
    }

    .sks-ws-sidebar {
        width: 100% !important;
        max-height: 200px;
        overflow: auto;
    }

    .sks-ws-hint-card {
        margin: 16px;
    }
}

/* ---------- Workspace (Slack-style) after Sure thing! ---------- */

.sks-page--workspace .sks-shell {
    max-width: 1240px;
}

.sks-workspace {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 24px;
    position: relative;
}

.sks-ws-window {
    position: relative;
    flex: 1;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e2e2;
}

.sks-ws-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #350d36;
    color: #fff;
    font-size: 13px;
}

.sks-ws-titlebar-nav {
    display: flex;
    gap: 10px;
    opacity: 0.85;
}

.sks-ws-ico {
    cursor: default;
    opacity: 0.9;
}

.sks-ws-search-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.sks-ws-search {
    width: 100%;
    max-width: 420px;
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #e8e8e8;
    font-size: 13px;
    font-family: inherit;
}

.sks-ws-search::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.sks-ws-titlebar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0.85;
}

.sks-ws-win {
    font-size: 12px;
    opacity: 0.8;
}

.sks-ws-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    min-height: 0;
    background: #fff;
}

/* Left purple rail */
.sks-ws-rail {
    width: 56px;
    flex: 0 0 56px;
    background: #350d36;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 12px;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
}

.sks-ws-rail-logo {
    width: 32px;
    height: 32px;
    background: #fff;
    color: #350d36;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.sks-ws-rail-icons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    font-size: 16px;
}

.sks-ws-rail-ic {
    opacity: 0.85;
    cursor: default;
}

.sks-ws-rail-plus {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: default;
}

.sks-ws-rail-avatar {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sks-ws-rail-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sks-ws-rail-status {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 8px;
    height: 8px;
    background: #2eb886;
    border-radius: 50%;
    border: 1px solid #350d36;
}

/* Sidebar list */
.sks-ws-sidebar {
    width: 240px;
    flex: 0 0 240px;
    background: #f5f3f5;
    border-right: 1px solid #e8e8e8;
    padding: 10px 10px 16px;
    overflow-y: auto;
    font-size: 13px;
    color: #1d1c1d;
}

.sks-ws-sb-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    padding: 6px 4px 12px;
    border-bottom: 1px solid #e0dde0;
    margin-bottom: 10px;
}

.sks-ws-sb-wsname {
    flex: 1;
}

.sks-ws-sb-chev {
    opacity: 0.6;
    font-size: 10px;
}

.sks-ws-sb-compose {
    opacity: 0.7;
}

.sks-ws-sb-section .sks-ws-sb-item {
    padding: 5px 8px;
    border-radius: 4px;
    cursor: default;
}

.sks-ws-sb-label {
    margin-top: 12px;
    margin-bottom: 6px;
    padding-left: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #616061;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sks-ws-sb-item {
    padding: 5px 8px;
    border-radius: 4px;
    color: #1d1c1d;
    cursor: default;
}

.sks-ws-sb-ch {
    color: #454245;
}

.sks-ws-sb-ch-active {
    background: #d6d6d8;
    font-weight: 600;
    color: #1d1c1d;
}

.sks-ws-sb-dm {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sks-ws-sb-dm-active {
    background: #d6d6d8;
    font-weight: 600;
}

.sks-ws-sb-ava {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.sks-ws-sb-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sks-ws-sb-dm-name {
    flex: 1;
    min-width: 0;
}

.sks-ws-badge {
    background: #e01e5a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Chat area */
.sks-ws-chat {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-height: 0;
}

.sks-ws-panel {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* HTML [hidden] must win over display:flex — otherwise Maya DM leaks under #general */
.sks-ws-panel[hidden] {
    display: none !important;
}

.sks-ws-chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid #e8e8e8;
    font-weight: 700;
    font-size: 15px;
}

.sks-ws-chat-ava {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
}

.sks-ws-chat-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.sks-ws-chat-name-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.sks-ws-chat-name {
    font-weight: 700;
}

.sks-ws-chat-status {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #007a5a;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #fff;
}

.sks-ws-chat-head-channel {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-weight: 400;
}

.sks-ws-chat-channel-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1c1d;
}

.sks-ws-chat-channel-sub {
    font-size: 12px;
    font-weight: 400;
    color: #616061;
    line-height: 1.35;
    max-width: 100%;
}

.sks-ws-feed-general {
    flex: 1 1 auto;
    color: #616061;
    font-size: 14px;
    line-height: 1.5;
}

.sks-ws-feed-placeholder {
    margin: 0;
    max-width: 420px;
}

.sks-ws-day-pill {
    display: table;
    margin: 0 auto 20px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #f0f0f0;
    font-size: 12px;
    font-weight: 700;
    color: #616061;
}

.sks-ws-chat-tools {
    display: flex;
    gap: 12px;
    opacity: 0.5;
    font-size: 14px;
}

.sks-ws-feed {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px 24px 16px;
    min-height: 200px;
}

.sks-ws-msg-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.sks-ws-msg-who {
    font-weight: 700;
    font-size: 15px;
}

.sks-ws-msg-time {
    font-size: 12px;
    color: #616061;
}

.sks-ws-msg-body {
    font-size: 15px;
    line-height: 1.55;
    color: #1d1c1d;
}

.sks-ws-msg-body p {
    margin: 0;
}

.sks-ws-msg-react {
    margin-top: 8px;
    font-size: 18px;
    opacity: 0.7;
}

/* Incoming DM — avatar left + content (Slack-style) */
.sks-ws-msg-in {
    align-self: flex-start;
    width: 100%;
}

.sks-ws-msg-in-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.sks-ws-msg-in-ava {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 4px;
}

.sks-ws-msg-in-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    display: block;
}

.sks-ws-msg-in-ava-status {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007a5a;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.sks-ws-msg-in-main {
    flex: 1;
    min-width: 0;
}

.sks-ws-compose {
    flex-shrink: 0;
    border-top: 1px solid #e8e8e8;
    padding: 8px 12px 10px;
    background: #f8f8f8;
}

.sks-ws-compose-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #616061;
    padding: 4px 8px 6px;
    border-bottom: 1px solid #e8e8e8;
}

.sks-ws-compose-bar span {
    cursor: default;
}

.sks-ws-compose-sep {
    width: 1px;
    height: 14px;
    margin: 0 2px;
    background: #ccc;
    align-self: center;
}

.sks-ws-compose-input-wrap {
    min-height: 72px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 8px;
}

.sks-ws-compose-placeholder {
    color: #b0b0b0;
    font-size: 15px;
}

.sks-ws-compose-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    font-size: 14px;
    color: #616061;
}

.sks-ws-compose-send {
    margin-left: auto;
    padding: 0;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    color: #1264a3;
    font-weight: 600;
    line-height: 1;
}

.sks-ws-compose-send:disabled {
    color: #868686;
    opacity: 0.55;
    cursor: default;
}

.sks-ws-compose-textarea {
    display: block;
    width: 100%;
    min-height: 88px;
    margin: 0;
    padding: 0;
    border: 0;
    resize: vertical;
    font: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: #1d1c1d;
    background: transparent;
    outline: none;
}

.sks-ws-compose-textarea[hidden] {
    display: none !important;
}

.sks-ws-compose--reply-mode .sks-ws-compose-input-wrap {
    border: 2px dashed #e01e5a;
    box-shadow: 0 0 0 1px rgba(224, 30, 90, 0.15);
}

.sks-ws-compose--reply-mode .sks-ws-compose-send:not(:disabled) {
    color: #fff;
    opacity: 1;
    cursor: pointer;
    background: #007a5a;
    border-radius: 8px;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.sks-ws-compose--reply-mode .sks-ws-compose-send:not(:disabled):hover {
    background: #00664a;
}

/* Reply tutorial: tooltip over chat column; layer is pointer-events none so compose stays clickable */
.sks-ws-reply-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.sks-ws-reply-layer[hidden] {
    display: none !important;
}

/* Above the full compose stack (~220–250px); old 118px sat on top of the textarea */
.sks-ws-reply-tooltip {
    position: absolute;
    left: 50%;
    bottom: 270px;
    transform: translateX(-50%);
    max-width: min(420px, calc(100% - 32px));
    padding: 12px 18px;
    border-radius: 8px;
    background: #1f1f1f;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.sks-ws-reply-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1f1f1f;
}

.sks-ws-msg-out {
    align-self: flex-end;
    margin-top: 14px;
    max-width: 100%;
}

.sks-ws-msg-out-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
}

.sks-ws-msg-out-main {
    max-width: min(520px, calc(100% - 52px));
    padding: 10px 14px 12px;
    border-radius: 8px;
    background: #e8f5fa;
    border: 1px solid #cce8f4;
}

.sks-ws-msg-out .sks-ws-msg-meta {
    justify-content: flex-end;
}

.sks-ws-msg-out .sks-ws-msg-body {
    text-align: left;
}

.sks-ws-msg-out-ava {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
}

.sks-ws-msg-out-ava-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #5b1f69 0%, #350d36 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* Hint overlay — fixed so it always sits above workspace + receives clicks */
.sks-ws-hint {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    pointer-events: auto;
}

.sks-ws-hint[hidden] {
    display: none !important;
}

.sks-ws-hint-card {
    position: relative;
    z-index: 1;
    max-width: 520px;
    background: #1f1f1f;
    color: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
}

.sks-ws-hint-text {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
}

.sks-ws-hint-name {
    color: #36c5f0;
    font-weight: 600;
}

.sks-ws-hint-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    background: #fff;
    color: #1f1f1f;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.sks-ws-hint-btn:hover {
    background: #e8e8e8;
}

/* After send: dim workspace + tooltip + FAB bottom-right; Continue → Zoom (countdown is on Zoom page only) */
.sks-ws-notes-prompt {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 55;
    pointer-events: auto;
}

.sks-ws-notes-prompt[hidden] {
    display: none !important;
}

.sks-ws-notes-prompt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.sks-ws-notes-prompt-stack {
    position: absolute;
    right: clamp(12px, 3vw, 24px);
    bottom: clamp(12px, 3vw, 24px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    max-width: min(360px, calc(100% - 32px));
}

.sks-ws-notes-prompt-bubble {
    position: relative;
    background: #000;
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.sks-ws-notes-prompt-bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 28px;
    border: 8px solid transparent;
    border-top-color: #000;
}

.sks-ws-notes-prompt-bubble-text {
    margin: 0;
    font: 400 14px/1.45 Inter, system-ui, sans-serif;
}

.sks-ws-notes-prompt-fab-row {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sks-ws-notes-prompt-fab {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #f4d03f;
    background: #fff center / 36px 36px no-repeat url("/img/lumina-notes-fab.png");
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sks-ws-notes-prompt-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font: 700 11px/20px Inter, system-ui, sans-serif;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.sks-ws-notes-prompt-continue {
    display: inline-block;
    padding: 10px 28px;
    border: none;
    border-radius: 8px;
    background: #017aff;
    color: #fff;
    font: 600 15px Inter, system-ui, sans-serif;
    cursor: pointer;
}

.sks-ws-notes-prompt-continue:hover {
    background: #0066d4;
}

/* ---------- Gap Analysis (drag / drop / submit) — P1 UI ---------- */

.sks-page--gap-analysis {
    min-height: 100vh;
    box-sizing: border-box;
    padding: 28px 40px 48px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1d1c1d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Full-bleed sim: avoid theme #content padding squeezing layout */
#content > .sks-page--gap-analysis {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

/* P1 nav: grey steps, active = black + thick underline (design tabs) */
.sks-page--gap-analysis .sks-step {
    color: #c4c4c4;
    font-weight: 500;
}

.sks-page--gap-analysis .sks-step-active {
    color: #000000;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    text-decoration-color: #000000;
}

.sks-shell--gap {
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

/* Breathing room below brand + step tabs (esp. “Spot on!” success hero) */
.sks-page--gap-analysis .sks-top {
    margin-bottom: 28px;
}

.sks-gap-body {
    padding-top: 8px;
}

.sks-page--gap-analysis .sks-gap-body {
    padding-top: 12px;
}

/* Maya + bubble + Pro-Tip / Next Step (after Submit when partial or retry) */
.sks-gap-coach-top {
    margin-bottom: 24px;
}

.sks-gap-maya-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

/* Coach (CC02/CC03): use same hero-sized Maya layout as the success state */
.sks-gap-maya-row--coach-hero {
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.sks-gap-maya-avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 1px solid #e4e4e4;
    background: #f5f5f5;
}

/* Success hero: 3× default avatar (72 → 216) */
.sks-gap-maya-avatar--hero {
    width: 216px;
    height: 216px;
    border-radius: 54px;
}

.sks-gap-maya-bubble-wrap {
    flex: 1;
    min-width: 0;
}

.sks-gap-maya-bubble {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 22px 24px 44px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sks-gap-maya-row--coach-hero .sks-gap-maya-bubble {
    min-height: 132px;
}

.sks-gap-maya-bubble-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sks-gap-maya-bubble-ico {
    flex-shrink: 0;
    font-size: 24px;
    line-height: 1.2;
    filter: saturate(1.15);
}

.sks-gap-maya-bubble-txt {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
    font-weight: 400;
}

.sks-gap-maya-bubble-arrow {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
}

.sks-gap-maya-bubble-arrow-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1264a3;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

/* Pro-Tip + Next Step: single rounded panel, two columns (design mock) */
.sks-gap-p1-dualbox {
    margin-top: 6px;
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.sks-gap-p1-dualbox-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sks-gap-p1-col {
    padding: 22px 24px 24px;
    box-sizing: border-box;
}

.sks-gap-p1-col--next {
    border-left: 1px solid #ececec;
}

.sks-gap-p1-col-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sks-gap-p1-ico {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
}

.sks-gap-p1-title {
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0.01em;
}

.sks-gap-p1-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #1d1c1d;
}

/* CC03 — cream rounded “Next Step” (no hard box edge; soft round) */
.sks-gap-p1-nextonly {
    margin-top: 6px;
    border: none;
    border-radius: 20px;
    background: #fff9e6;
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sks-gap-p1-nextonly--retry {
    border: 1px solid #d93025;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: none;
}

.sks-gap-p1-nextonly--retry .sks-gap-p1-nextonly-inner {
    align-items: center;
}

.sks-gap-p1-nextonly--retry .sks-gap-p1-nextonly-txt strong {
    display: block;
    margin: 0 0 6px 0;
    font-weight: 700;
    color: #000000;
}

.sks-gap-p1-nextonly-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sks-gap-p1-nextonly-txt {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #1d1c1d;
}

.sks-gap-p1-nextonly-txt strong {
    font-weight: 700;
    color: #000000;
}

/* ---------- All-correct success (P1 reference) ---------- */
.sks-gap-success-panel {
    margin-bottom: 28px;
}

.sks-gap-maya-row--success {
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.sks-gap-success-bubble-wrap {
    flex: 1;
    min-width: 0;
    padding-left: 2px;
}

.sks-gap-success-bubble {
    position: relative;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 36px;
    padding: 28px 32px 48px;
    min-height: 132px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Speech-bubble tail toward avatar (left), vertically centered with tall hero avatar */
.sks-gap-success-bubble::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    margin-top: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 11px 10px 0;
    border-color: transparent #e0e0e0 transparent transparent;
    z-index: 0;
}

.sks-gap-success-bubble::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    margin-top: -9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 10px 9px 0;
    border-color: transparent #fff transparent transparent;
    z-index: 1;
}

.sks-gap-success-bubble-main {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 88px;
}

.sks-gap-success-clap {
    flex-shrink: 0;
    font-size: 22px;
    line-height: 1.2;
}

.sks-gap-success-bubble-txt {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
}

.sks-gap-success-bubble-txt strong {
    font-weight: 700;
}

.sks-gap-success-continue {
    display: flex;
    justify-content: center;
    margin: 24px 0 0;
}

.sks-gap-continue-btn {
    text-decoration: none;
}

.sks-gap-results-summary {
    margin-top: 4px;
    margin-bottom: 28px;
    padding: 22px 26px 26px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #b8d4b9;
    box-shadow: none;
}

.sks-gap-results-summary-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px 24px;
    align-items: start;
}

.sks-gap-results-h {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #000000;
}

.sks-gap-results-ico {
    font-size: 18px;
    line-height: 1;
}

.sks-gap-results-ico--doc {
    opacity: 0.75;
}

.sks-gap-results-ul {
    margin: 0;
    padding-left: 1.15em;
    font-size: 12px;
    line-height: 1.5;
    color: #737373;
}

.sks-gap-results-ul li {
    margin-bottom: 6px;
}

.sks-gap-instruct {
    background: #e6f0ff;
    border: 1px solid #cfe0f5;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    color: #1d1c1d;
    box-shadow: none;
}

.sks-gap-instruct-lead {
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.45;
}

.sks-gap-instruct-lead strong {
    color: #1264a3;
}

.sks-gap-instruct-list {
    margin: 0;
    padding-left: 1.25em;
    font-size: 15px;
    line-height: 1.55;
}

.sks-gap-instruct-list li {
    margin-bottom: 6px;
}

.sks-gap-mid-label {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #616061;
}

/* 2×4 fixed slots — row height fixed so gray cells do not resize with card text */
.sks-gap-mid-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 112px);
    gap: 12px;
    margin-bottom: 28px;
}

.sks-gap-slot {
    border: 1px dashed #d0d0d0;
    border-radius: 16px;
    background: #f5f5f5;
    padding: 8px;
    box-sizing: border-box;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sks-gap-slot:has(.sks-gap-card) {
    background: #f7f7f7;
    border-color: #d4d4d4;
}

.sks-gap-slot .sks-gap-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex: 1 1 auto;
}

/* Default card (bank / slots / zones before submit): P1 dashed gold, centered copy */
.sks-gap-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    background: #fff;
    border: 1px dashed #c9a227;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #1d1c1d;
    text-align: center;
    cursor: grab;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.sks-gap-card:active {
    cursor: grabbing;
}

.sks-gap-card--dragging {
    opacity: 0.85;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sks-gap-zones-shell {
    margin: 0;
    padding: 0;
}

/* All-correct: one dashed outer frame around three columns (screenshot) */
.sks-gap-zones-shell--success {
    border: 1px dashed #d0d0d0;
    border-radius: 14px;
    padding: 14px 12px 16px;
    background: #ffffff;
    box-sizing: border-box;
}

.sks-gap-zones-shell--success .sks-gap-zones {
    gap: 14px;
}

.sks-gap-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: stretch;
}

.sks-gap-zone {
    border-radius: 16px;
    padding: 12px 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    border: 1px solid #e0e0e0;
    background: #ffffff;
}

.sks-gap-zone--known {
    border-color: #e0e0e0;
    background: #ffffff;
}

.sks-gap-zone--stakeholder {
    border-color: #e0e0e0;
    background: #ffffff;
}

.sks-gap-zone--research {
    border-color: #e0e0e0;
    background: #ffffff;
}

.sks-gap-zone-title {
    pointer-events: none;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
}

.sks-gap-zone--known .sks-gap-zone-title {
    color: #2d8a44;
}

.sks-gap-zone--stakeholder .sks-gap-zone-title {
    color: #1a66d4;
}

.sks-gap-zone--research .sks-gap-zone-title {
    color: #b8860b;
}

.sks-gap-zone .sks-gap-card {
    flex-shrink: 0;
}

/* After submit — P1: thin dashed green / solid red, left-aligned copy */
.sks-gap-card--correct {
    border: 1px dashed #2d8a44;
    color: #14532a;
    background: #fff;
    text-align: left;
}

.sks-gap-card--incorrect {
    border: 1px solid #d93025;
    color: #1d1c1d;
    background: #fff;
    text-align: left;
}

.sks-gap-card-feedback {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fce8e6;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.45;
    color: #c5221f;
}

.sks-gap-card-feedback-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d93025;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.sks-gap-card-feedback-txt {
    flex: 1;
    min-width: 0;
}

.sks-gap-card--unplaced {
    border: 1px dashed #e37400;
    background: #fffdf7;
    text-align: left;
}

.sks-gap-zones-shell--success .sks-gap-zone {
    border: none;
    background: #ffffff;
    box-shadow: none;
}

.sks-gap-zones-shell--success .sks-gap-zone--known .sks-gap-zone-title {
    color: #5a9a5e;
}

.sks-gap-zones-shell--success .sks-gap-zone--stakeholder .sks-gap-zone-title {
    color: #4a90e2;
}

.sks-gap-zones-shell--success .sks-gap-zone--research .sks-gap-zone-title {
    color: #e6a23c;
}

/* Correct cards: thin light-green border + green body copy */
.sks-gap-body--success-all .sks-gap-card--correct {
    border: 1px solid #a5d6a7;
    color: #4a7c59;
    font-size: 13px;
    border-radius: 8px;
    background: #fff;
    padding: 12px 14px;
}

.sks-gap-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* Single primary control: SUBMIT → RETRY (same element) — P1 */
.sks-page--gap-analysis .sks-gap-action {
    min-width: 112px;
    height: 40px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.sks-gap-action--retry {
    background: #000000;
}

@media (max-width: 900px) {
    .sks-page--gap-analysis {
        padding: 20px 16px 36px;
    }

    .sks-gap-mid-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 112px);
    }

    .sks-gap-zones {
        grid-template-columns: 1fr;
    }

    .sks-gap-p1-dualbox-inner {
        grid-template-columns: 1fr;
    }

    .sks-gap-p1-col--next {
        border-left: none;
        border-top: 1px solid #ececec;
    }

    .sks-gap-results-summary-inner {
        grid-template-columns: 1fr;
    }

    .sks-gap-success-bubble::before,
    .sks-gap-success-bubble::after {
        display: none;
    }

    .sks-gap-maya-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sks-gap-maya-row--success {
        text-align: left;
        align-items: flex-start;
    }

    .sks-gap-maya-row--coach-hero {
        text-align: left;
        align-items: flex-start;
    }

    .sks-gap-maya-bubble-wrap {
        width: 100%;
    }

    .sks-gap-success-bubble-wrap {
        width: 100%;
    }

    .sks-gap-maya-avatar--hero {
        width: min(216px, calc(100vw - 48px));
        height: min(216px, calc(100vw - 48px));
        border-radius: 25%;
    }
}

/* ---------- Zoom meeting (wireframe: video + transcript + toggle) ---------- */

.sks-page--zoom-meeting {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #ffffff;
    padding: 0 0 48px;
}

/* Theme wrappers may keep a gray/dark fill behind the section */
body:has(.sks-page--zoom-meeting) #all,
body:has(.sks-page--zoom-meeting) #content {
    background-color: #ffffff !important;
}

.sks-zm-canvas {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sks-zm-shell {
    position: relative;
    min-height: 100%;
}

.sks-zm-header {
    padding-top: 40px;
    padding-left: 61px;
    padding-right: 24px;
}

@media (min-width: 900px) {
    .sks-zm-header {
        padding-left: 85px;
    }
}

.sks-zm-brand {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #000000;
}

.sks-zm-nav {
    margin-top: 56px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 28px;
    row-gap: 8px;
}

.sks-zm-step {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.sks-zm-step--dim {
    opacity: 0.25;
}

.sks-zm-step--active {
    font-weight: 400;
    opacity: 1;
}

/* Centered stage: white card + Zoom image + transcript */
.sks-zm-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 28px;
    gap: 0;
}

.sks-zm-card {
    position: relative;
    width: 100%;
    max-width: min(920px, 96vw);
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px 28px;
    box-sizing: border-box;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.sks-zm-window {
    position: relative;
    width: 100%;
    max-width: min(880px, 92vw);
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    line-height: 0;
    background: #ffffff;
}

/* Countdown inside the Zoom window (before narration) */
.sks-zm-start-countdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.78);
    pointer-events: none;
}

.sks-zm-start-countdown[hidden] {
    display: none !important;
}

.sks-zm-start-countdown-inner {
    text-align: center;
    color: #fff;
}

.sks-zm-start-countdown-label {
    margin: 0 0 12px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
}

.sks-zm-start-countdown-num {
    margin: 0;
    font-size: clamp(56px, 14vw, 120px);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

/* ---------- Zoom page: Notes onboarding overlay (Frame 117) ---------- */
/* Full-viewport dim backdrop + dashed ring around the FAB + dark tooltip + cursor arrow.
   The FAB itself is rendered by the Notes partial and sits on top of this overlay. */
.sks-zm-notes-intro {
    position: fixed;
    inset: 0;
    z-index: 2147482999; /* just below the notes root (2147483000) so the real FAB stays clickable */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.sks-zm-notes-intro[hidden] {
    display: none !important;
}

.sks-zm-notes-intro.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.sks-zm-notes-intro-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(33, 33, 33, 0.8);
}

/* Dashed ring around the real FAB (bottom: 24px; right: 24px; size 56px) */
.sks-zm-notes-intro-ring {
    position: absolute;
    width: 110px;
    height: 110px;
    right: -3px;           /* center on FAB: 24 - (110-56)/2 */
    bottom: -3px;
    border-radius: 50%;
    border: 2.5px dashed #ED655A;
    box-sizing: border-box;
    pointer-events: none;
}

.sks-zm-notes-intro-bubble {
    position: absolute;
    width: min(320px, calc(100vw - 40px));
    right: 120px;
    bottom: 140px;
    padding: 22px 24px;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 24px rgba(255, 255, 255, 0.15);
    font: 400 17px/1.45 'Lato', Inter, system-ui, sans-serif;
    pointer-events: auto;
}

.sks-zm-notes-intro-bubble-text {
    margin: 0;
    color: #fff;
}

.sks-zm-notes-intro-bubble-text strong {
    color: #fff;
    font-weight: 700;
}

/* White cursor arrow pointing down-right toward the FAB */
.sks-zm-notes-intro-cursor {
    position: absolute;
    width: 34px;
    height: 34px;
    right: 100px;
    bottom: 115px;
    background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff' stroke='%233d3d3d' stroke-width='0.6'%3E%3Cpath d='M5 3 L5 18 L9.2 14.2 L12 20.5 L14.2 19.5 L11.4 13.2 L17 13 Z'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: rotate(8deg);
    pointer-events: none;
}

@media (max-width: 640px) {
    .sks-zm-notes-intro-bubble {
        right: 16px;
        bottom: 110px;
    }
    .sks-zm-notes-intro-cursor {
        right: 80px;
        bottom: 95px;
    }
}

/* Kill legacy workspace notes prompt (component removed) */
.sks-ws-notes-prompt { display: none !important; }

/* ---------------------------------------------------------------------------
 * Research Workspace — "+ Add a Question for the Kick-off Call" modal
 * ------------------------------------------------------------------------- */

.sks-rw-qmodal {
    position: fixed;
    inset: 0;
    z-index: 2147483100; /* above notes FAB/panel */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.sks-rw-qmodal[hidden] { display: none !important; }

.sks-rw-qmodal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 24, 0.55);
}

.sks-rw-qmodal-card {
    position: relative;
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    padding: 32px 36px 36px;
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    color: #1a1a1a;
    max-height: calc(100vh - 48px);
    overflow: auto;
}

.sks-rw-qmodal-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.sks-rw-qmodal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sks-rw-qmodal-label {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

/* Custom dropdown */
.sks-rw-qmodal-dd {
    position: relative;
}

.sks-rw-qmodal-dd-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    color: #1a1a1a;
    text-align: left;
    transition: border-color 0.15s ease;
}

.sks-rw-qmodal-dd-btn:hover,
.sks-rw-qmodal-dd-btn[aria-expanded="true"] {
    border-color: #017aff;
}

.sks-rw-qmodal-dd-avatar {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e0e0e0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.sks-rw-qmodal-dd-avatar--jordan {
    background-image: url("/img/stakeholder-jordan-kim.png");
}

.sks-rw-qmodal-dd-avatar--priya {
    background-image: url("/img/stakeholder-priya-nair.png");
}

.sks-rw-qmodal-dd-avatar--team {
    background-image: url("/img/stakeholder-whole-team.png");
    background-color: #ffffff;
}

.sks-rw-qmodal-dd-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    line-height: 1.25;
}

.sks-rw-qmodal-dd-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sks-rw-qmodal-dd-role {
    font-size: 12px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sks-rw-qmodal-dd-chev {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform 0.15s ease;
}
.sks-rw-qmodal-dd-btn[aria-expanded="true"] .sks-rw-qmodal-dd-chev {
    transform: rotate(225deg);
}

.sks-rw-qmodal-dd-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    z-index: 2;
}
.sks-rw-qmodal-dd-list[hidden] { display: none; }

.sks-rw-qmodal-dd-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
}
.sks-rw-qmodal-dd-opt:hover,
.sks-rw-qmodal-dd-opt[aria-selected="true"] {
    background: rgba(1, 122, 255, 0.08);
}

/* Textareas */
.sks-rw-qmodal-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font: 400 14px/1.5 Inter, system-ui, sans-serif;
    color: #1a1a1a;
    background: #fff;
    resize: vertical;
    min-height: 72px;
}
.sks-rw-qmodal-textarea::placeholder {
    color: #9a9a9a;
}
.sks-rw-qmodal-textarea:focus {
    outline: none;
    border-color: #017aff;
    box-shadow: 0 0 0 3px rgba(1, 122, 255, 0.15);
}
.sks-rw-qmodal-textarea--err {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

/* Submit */
.sks-rw-qmodal-submit {
    margin-top: 8px;
    padding: 14px 24px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    font: 600 15px/1 Inter, system-ui, sans-serif;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}
.sks-rw-qmodal-submit:hover {
    background: #000;
}
.sks-rw-qmodal-submit:active {
    transform: translateY(1px);
}

body.sks-rw-qmodal-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .sks-rw-qmodal-card {
        padding: 24px 20px;
    }
}

/* Design mock: full PNG from static/img/lumina-zoom-ui.png (replace file to update art) */
.sks-zm-window-img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.sks-zm-transcript-panel {
    width: 100%;
    max-width: min(880px, 92vw);
    margin: 20px auto 0;
    padding: 16px 18px;
    border-radius: 8px;
    background: #3a3a3a;
    box-sizing: border-box;
}

.sks-zm-transcript-panel[hidden] {
    display: none !important;
}

.sks-zm-transcript-line {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.sks-zm-controls {
    width: 100%;
    max-width: min(880px, 92vw);
    margin: 14px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.sks-zm-toggle-btn {
    margin: 0;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #0a0a0a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sks-zm-toggle-btn:hover,
.sks-zm-toggle-btn:focus {
    color: #017aff;
    outline: none;
}

/* --- Outreach Email (wireframe 8 — Gmail mock, responsive) --- */
.sks-page--outreach-email {
    padding: clamp(16px, 3vw, 28px) clamp(10px, 4vw, 40px) clamp(20px, 4vw, 40px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.sks-page--outreach-email .sks-oemail-page-shell {
    max-width: min(1200px, 100%);
    width: 100%;
}

.sks-oemail-brand {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: normal;
    text-transform: none;
}

.sks-page--outreach-email .sks-nav {
    margin-top: clamp(20px, 6vw, 56px);
}

.sks-page--outreach-email .sks-step {
    font-family: 'Lexend', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    opacity: 0.2;
    font-weight: 400;
}

.sks-page--outreach-email .sks-step-active {
    opacity: 1;
    font-weight: 400;
    color: #000000;
}

.sks-oemail-stage {
    margin-top: clamp(20px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(12px, 2vw, 20px);
    padding-bottom: clamp(20px, 3vw, 32px);
    width: 100%;
    max-width: 100%;
}

.sks-oemail-frame {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: clamp(4px, 1vw, 6px);
    box-shadow: 0 clamp(12px, 4vw, 32px) clamp(32px, 8vw, 79px) rgba(24, 60, 119, 0.45);
    overflow: hidden;
    box-sizing: border-box;
}

.sks-oemail-browser {
    background: #202124;
    border-radius: 6px 6px 0 0;
}

.sks-oemail-browser-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 10px 8px 12px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #202124 0%, #35363a 100%);
    border-radius: 6px 6px 0 0;
}

.sks-oemail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sks-oemail-dot--r {
    background: #ed655a;
}

.sks-oemail-dot--y {
    background: #e1c14c;
}

.sks-oemail-dot--g {
    background: #72be47;
}

.sks-oemail-browser-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 4px;
}

.sks-oemail-ico {
    font-size: 14px;
    line-height: 1;
}

.sks-oemail-ico--on {
    color: #f1f3f4;
}

.sks-oemail-ico--dim {
    color: #86888a;
}

.sks-oemail-urlbar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    padding: 4px 10px 4px 12px;
    background: #202124;
    border-radius: 24px;
    box-sizing: border-box;
}

.sks-oemail-lock {
    width: 8px;
    height: 10px;
    background: #f1f3f4;
    border-radius: 1px;
    position: relative;
    flex-shrink: 0;
}

.sks-oemail-lock::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid #f1f3f4;
    border-radius: 50%;
    left: 50%;
    top: -4px;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.sks-oemail-url {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 13px;
    color: #ffffff;
}

/* Gmail mock app shell (below browser chrome) */
.sks-oemail-app {
    background: #ffffff;
    min-height: clamp(220px, 48vh, 640px);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.sks-oemail-app-header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    min-height: 50px;
    padding: 6px clamp(6px, 2vw, 10px);
    border-bottom: 1px solid #edeff1;
    box-sizing: border-box;
}

.sks-oemail-app-header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sks-oemail-menu-ico {
    width: 18px;
    height: 18px;
    background: linear-gradient(#5f6368 0 100%) center / 14px 2px no-repeat,
        linear-gradient(#5f6368 0 100%) center / 14px 2px no-repeat,
        linear-gradient(#5f6368 0 100%) center / 14px 2px no-repeat;
    background-position: center 4px, center 8px, center 12px;
    opacity: 0.75;
}

.sks-oemail-wordmark {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #5f6368;
    letter-spacing: -0.5px;
}

.sks-oemail-g-red {
    color: #ea4335;
    font-weight: 500;
}

.sks-oemail-search-wrap {
    flex: 1 1 160px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    min-width: 0;
    padding: 0 clamp(10px, 2vw, 14px);
    background: #f1f3f4;
    border-radius: 6px;
    box-sizing: border-box;
    max-width: min(720px, 100%);
}

.sks-oemail-search-ico {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.sks-oemail-search-ico::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background: rgba(0, 0, 0, 0.4);
    right: -4px;
    bottom: -2px;
    transform: rotate(40deg);
    border-radius: 1px;
}

.sks-oemail-search-ph {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.54);
    letter-spacing: -0.01em;
}

.sks-oemail-app-header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    padding-right: 4px;
}

.sks-oemail-hd-ico {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sks-oemail-hd-ico--help {
    border: 2px solid rgba(0, 0, 0, 0.45);
    background: transparent;
    box-sizing: border-box;
}

.sks-oemail-hd-ico--gear {
    border: 2px solid rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    background: transparent;
}

.sks-oemail-hd-ico--apps {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.5) 1.5px, transparent 1.6px);
    background-size: 7px 7px;
    background-position: 0 0, 7px 0, 0 7px, 7px 7px;
    background-repeat: space;
    opacity: 0.75;
}

.sks-oemail-hd-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(#f2be42 0deg 90deg, #58a55c 90deg 180deg, #5186ec 180deg 270deg, #d95140 270deg 360deg);
    flex-shrink: 0;
}

.sks-oemail-app-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex: 1;
    min-height: clamp(200px, 35vh, 480px);
    background: #ffffff;
    width: 100%;
    min-width: 0;
}

.sks-oemail-rail {
    width: clamp(140px, 28vw, 220px);
    flex-shrink: 0;
    border-right: 1px solid #edeff1;
    padding: 10px 0 16px;
    box-sizing: border-box;
    min-width: 0;
}

.sks-oemail-compose-wrap {
    padding: 0 12px 14px 12px;
}

.sks-oemail-compose {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 14px;
    background: #ffffff;
    border: none;
    border-radius: 32px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.15);
    cursor: default;
    font: inherit;
}

.sks-oemail-compose-plus {
    font-size: 18px;
    font-weight: 400;
    color: #3d4043;
    line-height: 1;
}

.sks-oemail-compose-txt {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 12px;
    letter-spacing: -0.01em;
    color: #3d4043;
}

.sks-oemail-navcount--muted {
    color: #767676;
    font-weight: 400;
}

.sks-oemail-navrow--more .sks-oemail-navlabel::after {
    content: " \203A";
    opacity: 0.6;
}

.sks-oemail-meet,
.sks-oemail-hangouts {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #edeff1;
    padding-left: 12px;
    padding-right: 8px;
}

.sks-oemail-meet-h {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #202124;
    padding: 4px 0 6px 6px;
}

.sks-oemail-signin {
    display: block;
    width: 100%;
    max-width: 158px;
    margin-top: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 2px;
    background: #4f81e5;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    cursor: default;
}

.sks-oemail-rightbar {
    width: clamp(36px, 5vw, 44px);
    flex-shrink: 0;
    border-left: 1px solid #edeff1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2vw, 22px);
    padding: 16px 0;
    box-sizing: border-box;
}

.sks-oemail-rb-ic {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.12);
}

.sks-oemail-sidenav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sks-oemail-navrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px 6px 8px;
    margin: 0 8px 2px 0;
    border-radius: 0 25px 25px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 13px;
    color: #202124;
}

.sks-oemail-navrow--inbox {
    background: #f9e9e7;
}

.sks-oemail-navlabel--accent {
    font-weight: 700;
    color: #c84031;
}

.sks-oemail-navcount {
    font-weight: 700;
    font-size: 9px;
    color: #c84031;
}

.sks-oemail-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Inbox vs detail: same pixel area, full swap (no vertical split) */
.sks-oemail-main-swap {
    position: relative;
    flex: 1 1 0;
    min-height: clamp(180px, 32vh, 520px);
    align-self: stretch;
    min-width: 0;
}

.sks-oemail-view {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
}

.sks-oemail-view[hidden] {
    display: none !important;
}

.sks-oemail-rows--fill {
    flex: 1;
    min-height: 48px;
}

.sks-oemail-categories-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 6px 12px;
    border-bottom: 1px solid #edeff1;
    box-sizing: border-box;
}

.sks-oemail-action-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.sks-oemail-tb-check {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    flex-shrink: 0;
}

.sks-oemail-tb-ico {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
}

.sks-oemail-tb-dots {
    width: 4px;
    height: 14px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0 2px,
        transparent 2px 5px
    );
    border-radius: 1px;
}

.sks-oemail-tb-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.54);
}

.sks-oemail-cats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #edeff1;
    padding: 0 4px;
}

.sks-oemail-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 12px 8px;
    margin: 0;
    border: none;
    background: transparent;
    cursor: default;
    font: inherit;
}

.sks-oemail-tab-t {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.54);
}

.sks-oemail-tab--on .sks-oemail-tab-t {
    color: #c84031;
}

.sks-oemail-tab-bar {
    height: 2px;
    width: 100%;
    border-radius: 4px 4px 0 0;
    background: transparent;
}

.sks-oemail-tab--on .sks-oemail-tab-bar {
    background: #c84031;
}

.sks-oemail-badge {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 2px;
    line-height: 1.2;
}

.sks-oemail-badge--social {
    background: #3474e0;
    color: #e9f0fd;
}

.sks-oemail-badge--promo {
    background: #3c7d40;
    color: #e9f4eb;
}

.sks-oemail-rows {
    flex: 1;
    overflow: auto;
}

.sks-oemail-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 10px 4px 6px;
    border-bottom: 1px solid #edeff1;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 13px;
}

.sks-oemail-row--clickable {
    width: 100%;
    margin: 0;
    border: none;
    border-bottom: 1px solid #edeff1;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    font: inherit;
    color: inherit;
}

.sks-oemail-row--clickable:hover,
.sks-oemail-row--clickable:focus-visible {
    background: #f2f6fc;
    outline: none;
}

.sks-oemail-row-check,
.sks-oemail-row-star {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 2px;
}

.sks-oemail-row-star {
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: transparent;
}

.sks-oemail-row-flag {
    width: 12px;
    height: 14px;
    flex-shrink: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.16);
    box-sizing: border-box;
}

.sks-oemail-from {
    flex: 0 0 auto;
    width: min(88px, 22%);
    font-weight: 700;
    color: #202124;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sks-oemail-subj-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    overflow: hidden;
}

.sks-oemail-subj {
    font-weight: 700;
    color: #202124;
    flex-shrink: 0;
}

.sks-oemail-dash {
    color: rgba(0, 0, 0, 0.54);
    flex-shrink: 0;
}

.sks-oemail-prev {
    color: rgba(0, 0, 0, 0.54);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sks-oemail-time {
    flex: 0 0 auto;
    font-weight: 700;
    color: #202124;
    text-align: right;
    margin-left: auto;
}

/* --- Wireframe 9: opened message (detail) --- */
.sks-oemail-detail-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sks-oemail-detail-toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 38px;
    padding: 6px 10px;
    border-bottom: 1px solid #edeff1;
    box-sizing: border-box;
}

.sks-oemail-detail-back {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.65);
    cursor: pointer;
    border-radius: 50%;
    flex-shrink: 0;
}

.sks-oemail-detail-back:hover {
    background: rgba(0, 0, 0, 0.06);
}

.sks-oemail-detail-tb-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex: 1;
    margin-left: 4px;
}

.sks-oemail-dtb-ic {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 2px;
    flex-shrink: 0;
}

.sks-oemail-dtb-sep {
    width: 1px;
    height: 16px;
    background: #edeff1;
    margin: 0 4px;
}

.sks-oemail-detail-subject-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid #edeff1;
}

.sks-oemail-detail-subject {
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #202124;
    letter-spacing: -0.01em;
}

.sks-oemail-detail-important {
    width: 17px;
    height: 17px;
    border: 1px solid rgba(0, 0, 0, 0.45);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.sks-oemail-detail-badge-inbox {
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
}

.sks-oemail-detail-from-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #edeff1;
}

.sks-oemail-detail-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.sks-oemail-detail-from-text {
    flex: 1;
    min-width: 0;
}

.sks-oemail-detail-line1 {
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 1.35;
    color: #202124;
}

.sks-oemail-detail-line1 strong {
    font-weight: 700;
}

.sks-oemail-detail-email {
    color: rgba(0, 0, 0, 0.54);
    font-weight: 500;
}

.sks-oemail-detail-line2 {
    margin-top: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    color: rgba(0, 0, 0, 0.54);
}

.sks-oemail-detail-ts {
    text-align: right;
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 9px;
    color: rgba(0, 0, 0, 0.6);
}

.sks-oemail-detail-ts-sub {
    display: block;
    margin-top: 2px;
}

.sks-oemail-detail-body {
    padding: 14px 14px 14px 56px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.0075em;
    color: #000000;
}

.sks-oemail-detail-body p {
    margin: 0 0 10px;
}

.sks-oemail-detail-ul {
    margin: 0 0 12px 1.1em;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: #000000;
}

.sks-oemail-detail-ul li {
    margin-bottom: 4px;
}

.sks-oemail-detail-compose-zone {
    margin-top: auto;
    padding: 16px 14px 120px 56px;
    position: relative;
    flex-shrink: 0;
}

.sks-oemail-smart-reply {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #1a73e8;
    cursor: pointer;
    margin-bottom: 12px;
    outline: 2px dashed #7c4dff;
    outline-offset: 3px;
}

.sks-oemail-smart-reply:hover {
    background: #f8fbff;
}

.sks-oemail-detail-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 4px;
}

.sks-oemail-detail-act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 3px;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    color: rgba(0, 0, 0, 0.54);
}

.sks-oemail-detail-act-ic {
    width: 14px;
    height: 14px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 2px;
}

.sks-oemail-detail-prompt {
    position: absolute;
    left: clamp(8px, 3vw, 40px);
    right: clamp(8px, 2vw, 12px);
    bottom: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(8px, 2vw, 14px);
    padding: clamp(12px, 2.5vw, 18px) clamp(14px, 3vw, 22px);
    background: rgba(0, 0, 0, 0.95);
    border-radius: 6px;
    box-sizing: border-box;
}

.sks-oemail-detail-prompt[hidden] {
    display: none !important;
}

.sks-oemail-detail-cursor {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transform: rotate(-35deg);
    background: linear-gradient(135deg, #3d3d3d 50%, transparent 50%);
    border: 1px solid #ffffff;
    border-radius: 2px;
}

.sks-oemail-detail-prompt-txt {
    margin: 0;
    font-family: 'Lato', 'Inter', sans-serif;
    font-size: clamp(12px, 2.5vw, 15px);
    line-height: 1.35;
    color: #ffffff;
}

@media (max-width: 900px) {
    .sks-oemail-rightbar {
        display: none;
    }

    .sks-oemail-rail {
        width: clamp(120px, 24vw, 180px);
    }
}

@media (max-width: 640px) {
    .sks-oemail-rail {
        width: min(108px, 22vw);
    }

    .sks-oemail-compose-txt {
        display: none;
    }

    .sks-oemail-app-header-right {
        display: none;
    }

    .sks-oemail-search-wrap {
        min-height: 32px;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .sks-oemail-app-header {
        flex-direction: row;
    }

    .sks-oemail-app-header-left {
        flex-shrink: 0;
    }

    .sks-oemail-wordmark {
        font-size: 18px;
    }

    .sks-oemail-detail-body {
        padding-left: clamp(12px, 4vw, 56px);
    }

    .sks-oemail-detail-compose-zone {
        padding-left: clamp(12px, 4vw, 56px);
    }

    .sks-oemail-detail-prompt {
        flex-direction: column;
        align-items: flex-start;
    }

    .sks-oemail-row {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .sks-oemail-time {
        width: 100%;
        margin-left: 0;
        text-align: left;
        padding-left: calc(17px + 17px + 12px + 6px);
    }

    .sks-oemail-detail-from-row {
        flex-wrap: wrap;
    }

    .sks-oemail-detail-ts {
        width: 100%;
        text-align: left;
        margin-top: 6px;
    }
}

/* Hidden file-based narration (not visible UI chrome) */
.sks-zm-narration-audio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Research workspace (knowledge base — after Start Researching) ---------- */
/* Aligns with CodePen HeeRise_SimDemo_Knowledgebase: #F8F9FB canvas, area tints, stat/profile patterns */
.sks-page--research-ws {
    padding-bottom: 48px;
    background: #f8f9fb;
    min-height: 100vh;
}

.sks-shell--research-ws {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.sks-rw-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sks-nav--rw .sks-step-active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

/* Area cards — CodePen tab tints when active */
.sks-rw-card[data-category="product"].sks-rw-card--active {
    background: #eeedfe;
    border-color: #afa9ec;
    color: #3c3489;
    box-shadow: none;
}

.sks-rw-card[data-category="audience"].sks-rw-card--active {
    background: #e1f5ee;
    border-color: #5dcaa5;
    color: #085041;
    box-shadow: none;
}

.sks-rw-card[data-category="stakeholders"].sks-rw-card--active {
    background: #faeeda;
    border-color: #ef9f27;
    color: #633806;
    box-shadow: none;
}

.sks-rw-card[data-category="constraints"].sks-rw-card--active {
    background: #faece7;
    border-color: #f0997b;
    color: #712b13;
    box-shadow: none;
}

.sks-rw-card.sks-rw-card--active .sks-rw-card-title,
.sks-rw-card.sks-rw-card--active .sks-rw-card-desc,
.sks-rw-card.sks-rw-card--active .sks-rw-card-count {
    color: inherit;
}

.sks-rw-body {
    margin-top: 8px;
    padding-top: 8px;
}

.sks-rw-instruct {
    background: #e8f4ff;
    border: 1px solid #c5ddf5;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.sks-rw-instruct-k {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
}

.sks-rw-instruct-t {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    color: #1a1a1a;
}

.sks-rw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.sks-rw-card {
    text-align: left;
    cursor: pointer;
    border-radius: 14px;
    border: 2px solid #e4e4e4;
    background: #fafafa;
    padding: 16px 18px 18px;
    min-height: 168px;
    height: 168px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-family: inherit;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sks-rw-card:hover {
    border-color: #c8c8c8;
}

.sks-rw-card--active {
    border-color: #6b6b6b;
    background: #f3f3f3;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.sks-rw-card-ico {
    font-size: 26px;
    line-height: 1;
}

.sks-rw-card-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #000000;
}

.sks-rw-card-count {
    font-weight: 600;
    color: #444444;
    white-space: nowrap;
}

.sks-rw-card-desc {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #333333;
    margin: 0;
}

.sks-rw-panel-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sks-rw-panels {
    margin-top: 4px;
}

.sks-rw-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* [hidden] must win over display:flex — otherwise all four modules' questions render at once */
.sks-rw-panel[hidden] {
    display: none !important;
}

.sks-rw-q {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.sks-rw-q-sum {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    user-select: none;
}

.sks-rw-q-sum::-webkit-details-marker {
    display: none;
}

.sks-rw-q-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c4c4c4;
    background: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sks-rw-q--done .sks-rw-q-check {
    border-color: #000000;
    background: #000000;
}

.sks-rw-q--done .sks-rw-q-check::after {
    content: "\2713";
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.sks-rw-q-sum--stack {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.sks-rw-q-sum-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.sks-rw-q-add {
    margin-left: 34px;
    font-size: 13px;
    font-weight: 600;
    color: #017aff;
    text-decoration: none;
    align-self: flex-start;
}

.sks-rw-q-add:hover,
.sks-rw-q-add:focus {
    text-decoration: underline;
    color: #0060cc;
}

/* Per-question inline follow-up link — sits in the summary row next to the
   question title, between .sks-rw-q-text and the chevron. Every question
   opened gets its own; once a follow-up is submitted for that question the
   link flips to the green "Follow Up Question Added!" confirmation. */
.sks-rw-q-follow {
    flex: 0 0 auto;
    margin-left: auto;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: 500;
    color: #017aff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.sks-rw-q-follow strong {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sks-rw-q-follow:hover,
.sks-rw-q-follow:focus {
    color: #0060cc;
    text-decoration: none;
}

.sks-rw-q-follow--added {
    color: #0b8a3e;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

.sks-rw-q-follow--added:hover,
.sks-rw-q-follow--added:focus {
    color: #0b8a3e;
}

@media (max-width: 640px) {
    .sks-rw-q-follow {
        font-size: 13px;
        white-space: normal;
    }
}

.sks-rw-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 8px;
}

.sks-rw-continue {
    text-decoration: none;
    opacity: 0.42;
    pointer-events: none;
    cursor: not-allowed;
}

.sks-rw-continue.sks-rw-continue--ready {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.sks-rw-q-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.sks-rw-q-chev {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
}

.sks-rw-q[open] .sks-rw-q-chev {
    transform: rotate(225deg);
    margin-top: 4px;
}

.sks-rw-q-answer {
    padding: 0 16px 16px 50px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.sks-rw-q-answer--kb {
    font-size: 14px;
    line-height: 1.75;
    color: #1a1a2e;
}

.sks-rw-q-answer p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: #333333;
}

.sks-rw-q-answer--kb p {
    color: #1a1a2e;
    line-height: 1.75;
    margin-top: 0;
    margin-bottom: 10px;
}

.sks-rw-q-answer--kb p:first-child {
    margin-top: 12px;
}

.sks-rw-q-answer--kb p:last-child {
    margin-bottom: 0;
}

.sks-rw-kb-lead {
    margin-bottom: 4px !important;
}

.sks-rw-stat-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 14px;
}

.sks-rw-stat-box {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 140px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 0.5px solid #ebebeb;
}

.sks-rw-stat-val {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.2;
}

.sks-rw-stat-lbl {
    font-size: 11px;
    color: #888888;
    margin-top: 4px;
    line-height: 1.35;
}

.sks-rw-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

.sks-rw-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.sks-rw-chip--product {
    background: #eeedfe;
    color: #3c3489;
}

.sks-rw-chip--audience {
    background: #e1f5ee;
    color: #085041;
}

.sks-rw-chip--stake {
    background: #faeeda;
    color: #633806;
}

.sks-rw-chip--constraints {
    background: #faece7;
    color: #712b13;
}

.sks-rw-profile {
    border: 0.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 4px;
    background: #f8f8f8;
}

.sks-rw-profile-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.sks-rw-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    color: #ffffff;
}

.sks-rw-avatar--jk {
    background: #5c6bc0;
}

.sks-rw-avatar--pn {
    background: #00897b;
}

.sks-rw-profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.sks-rw-profile-role {
    font-size: 12px;
    color: #888888;
    margin-top: 2px;
}

.sks-rw-profile-body p {
    font-size: 13px;
    color: #333333;
    line-height: 1.65;
    margin-bottom: 8px;
}

.sks-rw-profile-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .sks-rw-grid {
        grid-template-columns: 1fr;
    }

    .sks-rw-card {
        height: auto;
        min-height: 140px;
    }

    .sks-rw-q-answer {
        padding-left: 16px;
    }

    .sks-rw-stat-box {
        flex: 1 1 100%;
        min-width: 0;
    }
}
