/* Reference: one action per step, using the established Syllabloom palette. */
.flow-path { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; font-size:13px; }
.flow-path span { padding:8px 12px; border:1px solid var(--ink); border-radius:30px; background:var(--paper); }
.flow-path span:first-child { background:#cbe8ba; }
/* Keep each destination focused: upload, processing, or the current lecture. */
#source[data-flow-mode="upload"] #sourceStudyOutput,
#source[data-flow-mode="processing"] #sourceStudyOutput,
#source[data-flow-mode="processing"] .source-import,
#source[data-flow-mode="processing"] > .upload-options,
#source[data-flow-mode="ready"] .source-import,
#source[data-flow-mode="ready"] #sourceQueue,
#source[data-flow-mode="ready"] #sourceBatchFeedback { display:none !important; }
#source[data-flow-mode="ready"] .flow-path span:first-child { background:var(--paper); }
#source[data-flow-mode="ready"] .flow-path span:last-child { background:#cbe8ba; }
#source[data-flow-mode="processing"] .flow-path span:nth-child(2) { background:#f5e46b; }
#source .source-import h2 { display:none; }
#source .source-import > div > p:first-of-type { padding-right:0; }
#source .materials-mascot { width:80px; top:5px; }
#source .source-study-output > header { padding:28px; background:#cbe8ba; }
#source .source-study-output > header h2 { font-size:clamp(22px,3vw,32px); overflow-wrap:anywhere; }
#source .source-study-output > header span { display:none; }
#source .source-study-output > .flow-actions { margin:20px 24px; }
.focused-card-source summary { cursor:pointer; padding:6px 0; }
.focused-card-source strong { display:block; margin-top:12px; }
#sourceQueue .source-queue-kind summary { cursor:pointer; font-size:12px; padding:8px 0; }
#sourceQueue .source-batch-heading p { display:none; }
#sourceQueue .source-queue-row { grid-template-columns:minmax(0,1fr) auto auto; }
.source-details-menu { margin-top:10px; font-size:12px; }
.source-details-menu summary { cursor:pointer; }
.source-details-menu span { margin-top:8px; }
#materials .file-row { align-items:center; }
#materials .file-row > div:first-child { min-width:0; }
#materials > .upload-options { margin-top:28px; }
.sidebar-bottom [data-view="cards"],.sidebar-bottom [data-view="knowledge"],.sidebar-bottom #addClass,.sidebar-bottom .sidebar-section-label { display:none !important; }
#sourceAdvancedTools > .button { margin:16px 0; }
#sourceAdvancedTools > details { margin:16px 0; }
.nav-button[data-view="materials"] { --nav-accent:var(--sun); }
@media(max-width:760px) {
 .mobile-bottom-nav { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
 #source .source-study-output>header { flex-direction:column; align-items:stretch; gap:20px; padding:24px; }
 #source .source-study-output>header .primary { width:100%; }
 #sourceQueue .source-queue-row { grid-template-columns:minmax(0,1fr) auto; }
 #sourceQueue .source-queue-state { grid-column:1/-1; }
}
#source .materials-story-panel { padding:32px !important; }
#source .page-head h1 { font-size:clamp(34px,4vw,52px) !important; max-width:none; line-height:1.12; }
#source .page-head { margin-bottom:24px; }
#source .materials-mascot { width:110px; left:auto; right:24px; top:8px; bottom:auto; }
#source .source-import h2 { padding-right:110px; }
#source .source-import > div > p:first-of-type { padding-right:110px; }
#source .source-import h2 { font-size:clamp(26px,4vw,36px); }
.source-dropzone { border:2px dashed #809775; border-radius:20px; padding:30px; margin:24px 0 16px; text-align:center; background:#fffdf6; }
.source-dropzone.is-dragging { background:#e2efcb; border-style:solid; }
.source-dropzone p { margin:0 0 14px !important; }
#source .source-dropzone .source-import-controls { justify-content:center; margin:12px 0; }
.source-extra-actions { display:flex; gap:16px; flex-wrap:wrap; margin:16px 0; }
.source-privacy > summary { cursor:pointer; font-size:13px; }
#source .source-kind-hint { max-width:660px; }
.review-tools { display:grid; grid-template-columns:1fr 160px 1fr; gap:12px; margin:24px; }
.review-tools label { display:grid; gap:6px; font-size:13px; }
.review-tools select,.review-tools input { width:100%; min-width:0; padding:12px; border:1px solid var(--ink); border-radius:12px; background:var(--paper); color:var(--ink); font:inherit; }
#lectureDraftQueue { display:block; width:calc(100% - 48px); max-width:760px; margin:auto; padding-bottom:24px; }
.review-position { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:0 0 16px; }
.review-position .actions { display:flex; gap:8px; }
#lectureDraftQueue .lecture-draft-card { display:block; padding:24px; border-radius:24px; background:var(--paper) !important; border:2px solid var(--ink) !important; box-shadow:5px 5px 0 #cbe8ba !important; }
.focused-card-prompt { font-size:clamp(21px,3vw,28px); line-height:1.5; text-align:center; padding:28px 8px; overflow-wrap:anywhere; }
.focused-card-answer { padding:18px; margin-top:16px; background:#e3efce; border-radius:16px; overflow-wrap:anywhere; }
.focused-card-answer[hidden],.focused-card-edit[hidden] { display:none !important; }
.focused-card-source { border-top:1px solid #d8dacd; margin-top:24px; padding-top:18px; font-size:13px; }
.focused-card-source blockquote { border-left:3px solid #91ac70; margin:12px 0; padding-left:14px; line-height:1.65; }
.focused-card-edit { margin:24px 0; }
#lectureDraftQueue .lecture-draft-actions { display:grid !important; grid-template-columns:1fr 1fr; grid-template-rows:auto !important; gap:10px; margin-top:24px; }
#lectureDraftQueue .lecture-draft-actions .button { width:100% !important; min-width:0; margin:0; }
#lectureDraftQueue .lecture-draft-actions [data-lecture-action="approve"] { grid-column:1/-1; order:3; }
#lectureDraftQueue .lecture-card-delete { margin-top:18px; padding:0; border:0 !important; background:transparent !important; box-shadow:none !important; text-decoration:underline; font-size:12px; color:var(--ink); }
#lectureDraftQueue .lecture-draft-actions .lecture-card-delete { margin-left:auto; font-size:12px; }
#lectureDraftQueue .lecture-draft-actions .primary { margin-left:auto; }
.review-empty-filter { padding:32px; text-align:center; }
#sourceLibrary .file-row { box-shadow:none; padding:18px 22px; border-radius:16px; }
#sourceLibrary .file-row strong { font-size:16px; overflow-wrap:anywhere; }
#sourceLibrary .file-row .actions { flex-shrink:0; }
#sourceLibrary .file-row .actions [data-remove-source] { font-size:12px; }
.materials-library-heading { display:flex; justify-content:space-between; align-items:center; margin:36px 0 16px; }
.materials-library-heading h2 { margin:0; }
#sourceLibrary [hidden] { display:none !important; }
.workflow-loop { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); }
@media(min-width:761px) and (max-width:1120px) { .workflow-loop { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .workflow-loop { grid-template-columns:1fr; } }
.material-search { width:100%; max-width:260px; padding:12px; border:1px solid var(--ink); border-radius:12px; background:var(--paper); font:inherit; }
.card-preferences { display:grid; gap:16px; margin:16px 0 24px; }
.card-preferences label { display:grid; gap:8px; font-weight:650; }
.card-preferences select,.card-preferences textarea { width:100%; min-width:0; font:inherit; padding:12px; border:1px solid var(--ink); border-radius:12px; background:var(--paper); color:var(--ink); }
.card-preferences small { font-size:13px; line-height:1.5; }
#source .source-study-output>header { align-items:center; }
#source .source-study-output>header .primary { flex-shrink:0; }
@media(max-width:760px) {
 .review-tools { grid-template-columns:1fr 1fr; }
 .review-tools { margin:20px 14px; }
 #lectureDraftQueue { width:calc(100% - 28px); }
 .review-tools label:last-child { grid-column:1/-1; }
 #lectureDraftQueue .lecture-draft-card { padding:20px; }
 #source .materials-story-panel { padding:22px !important; }
 #source .materials-mascot { width:80px; right:10px; }
 #source .source-import h2 { padding-right:72px; max-width:none; }
 #source .source-import > div > p:first-of-type { padding-right:0; }
 .source-dropzone { padding:24px 16px; }
 .materials-library-heading { align-items:stretch; flex-direction:column; gap:12px; }
 .material-search { max-width:none; }
 #sourceLibrary .file-row { display:block; }
 #sourceLibrary .file-row .actions { margin-top:14px; flex-wrap:wrap; }
 .flow-path { gap:6px; }
 .flow-path span { padding:7px 9px; font-size:12px; }
 .focused-card-prompt { padding:20px 0; }
}

    /* Simple first-use flow: existing brand, readable work surfaces. */
    .marketing-hero h1 { font-size: clamp(42px, 5vw, 72px); max-width: 16ch; }
    .marketing-hero-copy > p:not(.marketing-beta-kicker) { font-size: 20px; line-height: 1.55; max-width: 42ch; }
    .marketing-primary-cta, .marketing-get-started { min-height: 56px; font-size: 19px; padding: 16px 28px; }
    #source .button, #cards .button { min-height: 48px; font-size: 17px; }
    #source .page-description, #cards .page-description, #sourceStudyOutput p { font-size: 18px; line-height: 1.55; }
    .source-card-previews { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .source-card-preview { padding: 24px; }
    .source-card-preview h3, .source-card-answer, .focused-card-prompt, .focused-card-answer { font-size: 20px; line-height: 1.55; overflow-wrap: anywhere; }
    .source-card-answer { margin: 18px 0; padding-top: 16px; border-top: 1px solid currentColor; }
    .source-card-answer > strong { display: block; font-size: 14px; margin-bottom: 8px; }
    #lectureDraftQueue { display: grid; gap: 24px; }
    .lecture-draft-card { padding: 24px; }
    .flow-path { font-size: 17px; }
    @media(max-width:600px) { .marketing-hero h1 { font-size: 42px; } .source-card-preview,.lecture-draft-card { padding: 18px; } .flow-path { flex-wrap: wrap; } }


.marketing-nav nav a[href="#anki-first"], .marketing-nav nav a[href="#made-for-class"] { display:none; }
#lectureDraftQueue .focused-card-prompt, #lectureDraftQueue .focused-card-answer { font-size:20px !important; line-height:1.55; }

/* Oversized editorial direction requested by Ethan. */
:root { --paper:#faf9f6; --ink:#171715; --sun:#efeee8; }
body, button, input, select, textarea { font-family:"Times New Roman",Times,serif !important; }
body { background:#faf9f6 !important; font-size:22px; }
.marketing-home { background:#faf9f6 !important; }
.marketing-nav { background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; padding:24px 0 !important; }
.marketing-logo { font-size:30px !important; }
.marketing-nav nav { font-size:20px; }
.marketing-hero { display:block !important; background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; padding:64px 24px 80px !important; }
.marketing-hero-copy { max-width:1100px; margin:auto; }
.marketing-hero h1 { font-family:"Times New Roman",Times,serif !important; font-size:clamp(60px,8vw,112px) !important; font-weight:400 !important; line-height:1.02 !important; letter-spacing:-.045em !important; max-width:17ch !important; }
.marketing-hero-copy > p:not(.marketing-beta-kicker) { font-size:clamp(24px,2.4vw,30px) !important; line-height:1.4; max-width:38ch; }
.marketing-beta-kicker, .marketing-hero-visual, .marketing-scroll-progress, .marketing-trust-line, .marketing-final-companion { display:none !important; }
.marketing-hero-actions { margin-top:36px; gap:24px; }
.button, .marketing-primary-cta { background:#faf9f6 !important; color:#171715 !important; box-shadow:none !important; border:1px solid #171715 !important; border-radius:4px !important; min-height:60px !important; font-size:22px !important; padding:16px 28px !important; }
.button.primary { background:#171715 !important; color:#faf9f6 !important; }
.marketing-section, .marketing-statement, .marketing-final-cta, .marketing-pricing { background:transparent !important; border-radius:0 !important; box-shadow:none !important; }
.marketing-home h2 { font-family:"Times New Roman",Times,serif !important; font-size:clamp(38px,4vw,64px) !important; font-weight:400; line-height:1.1; }
.marketing-home p { font-size:22px; line-height:1.5; }
#mainApp .page-head h1, #source .page-head h1 { font-size:clamp(48px,6vw,80px) !important; font-weight:400 !important; line-height:1.08 !important; }
#source .materials-mascot, #mainApp .character-cutout { display:none !important; }
#source .source-import > div > p:first-of-type { padding-right:0 !important; font-size:24px; }
.source-dropzone { background:transparent; border:1px dashed #171715; border-radius:4px; padding:44px 24px; }
#source .source-study-output > header { background:transparent !important; padding:32px; }
#sourceStudyOutput, #lectureDraftQueue .lecture-draft-card, .source-card-preview { background:#faf9f6 !important; box-shadow:none !important; border:1px solid #cccac2 !important; border-radius:4px !important; }
#lectureDraftQueue .focused-card-prompt, #lectureDraftQueue .focused-card-answer, .source-card-preview h3, .source-card-answer { font-size:26px !important; line-height:1.45; font-weight:400; }
#lectureDraftQueue .lecture-draft-card { content-visibility:auto; contain-intrinsic-size:auto 420px; }
.flow-path span { background:transparent !important; border-radius:0; font-size:19px; }
@media(max-width:600px) {
 .marketing-hero { padding:32px 16px 48px !important; }
 .marketing-hero h1 { font-size:60px !important; }
 .marketing-nav { padding:16px !important; flex-wrap:wrap; gap:16px; }
 .marketing-nav nav { display:none; }
 .marketing-hero-actions { align-items:stretch; flex-direction:column; }
 .marketing-hero-copy > p:not(.marketing-beta-kicker) { font-size:24px !important; }
 #lectureDraftQueue .focused-card-prompt, #lectureDraftQueue .focused-card-answer, .source-card-preview h3, .source-card-answer { font-size:22px !important; }
 .button { padding:14px 20px !important; }
}

.marketing-hero::before,.marketing-hero::after,.marketing-hero-copy::before,.marketing-hero-copy::after,.button::before,.button::after { display:none !important; }
.marketing-hero-actions .button { background:#171715 !important; color:#faf9f6 !important; }

/* Radish companion: decorative feedback on the primary actions. */
.marketing-hero { display:grid !important; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:48px; }
.marketing-hero-copy { min-width:0; }
.marketing-hero-visual { display:block !important; min-width:0; background:transparent !important; border:0 !important; box-shadow:none !important; }
.marketing-hero-visual img { display:block; width:100%; height:auto; object-fit:contain; border-radius:8px; }
.marketing-hero h1 { font-size:clamp(60px,6.8vw,100px) !important; }
.button.primary, #sourceUploadLabel, #reviewSourceCards, #exportSourceAnki { position:relative; overflow:visible !important; --radish-pose:url("assets/rounds-mascot-celebrate.webp"); }
#sourceUploadLabel, #sourceQueueAdd { --radish-pose:url("assets/syllabloom-mascot-materials.webp"); }
#startSourceStudy, #studyAccepted, #continueSourceStudy { --radish-pose:url("assets/syllabloom-mascot-study-coach.webp"); }
#reviewSourceCards { --radish-pose:url("assets/syllabloom-mascot-detective.webp"); }
#exportSourceAnki, #exportAnki { --radish-pose:url("assets/rounds-mascot-anki.webp"); }
.button.primary::after, #sourceUploadLabel::after, #reviewSourceCards::after, #exportSourceAnki::after { content:"" !important; display:block !important; position:absolute !important; width:76px !important; height:76px !important; right:-20px !important; top:-59px !important; inset-inline-start:auto !important; background:var(--radish-pose) center/contain no-repeat !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; pointer-events:none; opacity:0; transform:translateY(16px) rotate(-8deg) scale(.8); transition:opacity .18s ease,transform .24s ease; z-index:5; }
.button.primary:not(:disabled):hover::after, .button.primary:focus-visible::after, #sourceUploadLabel:hover::after, #sourceUploadLabel:focus-visible::after, #reviewSourceCards:hover::after, #exportSourceAnki:hover::after { opacity:1; transform:translateY(0) rotate(0) scale(1); }
@media(max-width:760px) { .marketing-hero { grid-template-columns:1fr; gap:32px; } .marketing-hero-visual { max-width:480px; margin:auto; } }
@media(prefers-reduced-motion:reduce) { .button::after,#sourceUploadLabel::after { transition:none !important; transform:none !important; } }

/* Keep the companion inside each action, with readable text above it. */
.button.primary, #sourceUploadLabel, #reviewSourceCards, #exportSourceAnki { isolation:isolate; overflow:hidden !important; background:#f9dc54 !important; color:#171715 !important; --radish-pose:url("assets/rounds-mascot-listening.webp"); }
.button.primary::after, #sourceUploadLabel::after, #reviewSourceCards::after, #exportSourceAnki::after { width:112px !important; height:112px !important; left:50% !important; right:auto !important; top:50% !important; opacity:.16; transform:translate(-50%,-45%) rotate(-5deg) !important; z-index:-1; background-size:contain !important; }
.button.primary:not(:disabled):hover::after, .button.primary:focus-visible::after, #sourceUploadLabel:hover::after, #sourceUploadLabel:focus-visible::after, #reviewSourceCards:hover::after, #reviewSourceCards:focus-visible::after, #exportSourceAnki:hover::after, #exportSourceAnki:focus-visible::after { opacity:.26; transform:translate(-50%,-50%) rotate(3deg) !important; }
.marketing-hero-actions .button:not(.primary) { background:#efb0cb !important; color:#171715 !important; }
.marketing-statement { background:#dcebd9 !important; border:1px solid #bed6b9 !important; }
.workflow-section { background:#fff5cf !important; }
.class-section { background:#f9e2ec !important; }
.marketing-final-cta { background:#dcebd9 !important; }
.source-dropzone { background:#fff5cf !important; border-color:#8c986c !important; }
#sourceStudyOutput > header { background:#dcebd9 !important; }
.source-card-preview:nth-child(3n+1), #lectureDraftQueue .lecture-draft-card:nth-child(3n+1) { background:#fff8dc !important; }
.source-card-preview:nth-child(3n+2), #lectureDraftQueue .lecture-draft-card:nth-child(3n+2) { background:#fbeaf1 !important; }
.source-card-preview:nth-child(3n), #lectureDraftQueue .lecture-draft-card:nth-child(3n) { background:#edf5e9 !important; }
@media(prefers-reduced-motion:reduce) { .button.primary::after,#sourceUploadLabel::after,#reviewSourceCards::after,#exportSourceAnki::after { transition:none !important; transform:translate(-50%,-50%) !important; } }

/* Bright full-width sections, solid navigation, and an inset hover companion. */
:root { --ink:#080808; --paper:#fff5cf; }
body, .marketing-home { background:#fff0b8 !important; color:#080808 !important; }
.marketing-home { width:100% !important; max-width:none !important; padding:0 !important; overflow-x:clip; }
.marketing-home > main { max-width:none !important; width:100% !important; margin:0 !important; }
.marketing-nav { display:grid !important; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px; position:sticky; top:0 !important; margin:0 !important; padding:20px 4.5vw !important; background:#f9dc54 !important; border-bottom:2px solid #080808 !important; z-index:30; }
.marketing-nav nav { display:flex !important; justify-content:center; align-items:center; gap:28px; font-size:22px; font-weight:700; }
.marketing-nav nav a[href="#anki-first"], .marketing-nav nav a[href="#made-for-class"] { display:inline !important; }
.marketing-nav-actions { justify-self:end; }
.marketing-nav .marketing-text-button { background:#fff5cf !important; color:#080808 !important; }
.marketing-hero, .marketing-section, .marketing-statement, .marketing-final-cta, .marketing-pricing, #anki-first { width:100% !important; max-width:none !important; margin:0 !important; box-sizing:border-box; padding:72px max(24px,4.5vw) !important; }
.marketing-hero { background:#fff0b8 !important; }
.marketing-statement { background:#a9d69b !important; border:0 !important; }
.workflow-section { background:#ffe76b !important; }
#anki-first { background:#afdaf4 !important; }
.class-section { background:#f2a5c8 !important; }
.marketing-pricing, #pricing { background:#fff0b8 !important; }
.marketing-final-cta { background:#a9d69b !important; }
.marketing-home h1, .marketing-home h2, .marketing-home h3, .marketing-home p, .marketing-home a { color:#080808 !important; }
.button.primary::after, #sourceUploadLabel::after, #reviewSourceCards::after, #exportSourceAnki::after { left:auto !important; right:-18px !important; top:50% !important; opacity:0 !important; transform:translate(100%,-50%) rotate(-10deg) !important; transition:opacity .18s ease, transform .3s ease !important; }
.button.primary:not(:disabled):hover::after, .button.primary:not(:disabled):focus-visible::after, #sourceUploadLabel:hover::after, #sourceUploadLabel:focus-visible::after, #reviewSourceCards:hover::after, #reviewSourceCards:focus-visible::after, #exportSourceAnki:hover::after, #exportSourceAnki:focus-visible::after { opacity:.3 !important; transform:translate(0,-50%) rotate(0) !important; }
#mainApp { background:#ffe76b !important; color:#080808 !important; font-size:24px; }
#mainApp .main, #mainApp .page { background:#ffe76b !important; }
#mainApp .sidebar { background:#a9d69b !important; border-right:2px solid #080808; }
#mainApp .page-head h1 { font-size:clamp(56px,6vw,88px) !important; color:#080808 !important; }
#mainApp h2 { font-size:36px !important; color:#080808 !important; }
#mainApp h3 { font-size:28px !important; color:#080808 !important; }
#mainApp p, #mainApp label, #mainApp .page-description, #mainApp .nav-button, #mainApp .sidebar-action, #mainApp input, #mainApp select, #mainApp textarea { font-size:24px !important; color:#080808 !important; line-height:1.45; }
#mainApp .source-card-answer, #mainApp .focused-card-answer, #mainApp .focused-card-prompt { font-size:28px !important; color:#080808 !important; }
#mainApp .source-dropzone { background:#afdaf4 !important; border-color:#080808 !important; }
#sourceStudyOutput > header { background:#a9d69b !important; }
@media(max-width:1100px) { .marketing-nav { grid-template-columns:auto 1fr; gap:16px; } .marketing-nav nav { grid-column:1/-1; grid-row:2; flex-wrap:wrap; gap:14px 24px; } .marketing-nav-actions { grid-column:2; grid-row:1; } }
@media(max-width:600px) { .marketing-nav { padding:16px !important; } .marketing-nav nav { font-size:20px; } .marketing-logo { font-size:26px !important; } .marketing-nav-actions { gap:8px; } .marketing-nav-actions .button { font-size:18px !important; padding:12px !important; } .marketing-hero,.marketing-section,.marketing-statement,.marketing-final-cta,.marketing-pricing,#anki-first { padding:40px 20px !important; } #mainApp p,#mainApp label,#mainApp input,#mainApp select,#mainApp textarea { font-size:22px !important; } }
@media(prefers-reduced-motion:reduce) { .button.primary::after,#sourceUploadLabel::after,#reviewSourceCards::after,#exportSourceAnki::after { transition:none !important; } }
.marketing-nav { width:100% !important; max-width:none !important; box-sizing:border-box; }
#mainApp h1 { color:#080808 !important; font-family:"Times New Roman",Times,serif !important; font-size:clamp(48px,5vw,72px) !important; line-height:1.08 !important; }
#mainApp .button { font-size:24px !important; }

/* Muted study palette and a warm, expressive sans serif. */
:root { --paper:#f5f3ee; --ink:#171d22; --sun:#e9dca8; --pink:#ead1db; --sky:#d0e2eb; --green:#d6e1cd; }
body, button, input, select, textarea, .marketing-home h1, .marketing-home h2, .marketing-home h3, #mainApp h1, #mainApp h2, #mainApp h3, .marketing-logo, .brand { font-family:"Bricolage Grotesque","Segoe UI",sans-serif !important; }
body,.marketing-home { background:#f5f3ee !important; color:#171d22 !important; }
.marketing-nav { background:#d6e1cd !important; border-bottom:1px solid #69766a !important; }
.marketing-hero { background:#f5f3ee !important; }
.marketing-statement, .marketing-final-cta { background:#d6e1cd !important; }
.workflow-section { background:#ead1db !important; }
#anki-first { background:#d0e2eb !important; }
.class-section { background:#e2dced !important; }
.marketing-pricing, #pricing { background:#eee7d6 !important; }
.marketing-home h1 { font-weight:600 !important; letter-spacing:-.045em !important; line-height:1.06 !important; }
.marketing-home h2 { font-weight:600 !important; letter-spacing:-.035em; }
.marketing-home p { font-size:22px !important; line-height:1.55 !important; }
.marketing-hero-copy > p:not(.marketing-beta-kicker) { font-size:clamp(22px,2vw,27px) !important; }
.marketing-home h1,.marketing-home h2,.marketing-home h3,.marketing-home p,.marketing-home a { color:#171d22 !important; }
.button.primary,#sourceUploadLabel,#reviewSourceCards,#exportSourceAnki { background:#e9dca8 !important; color:#171d22 !important; }
.marketing-hero-actions .button:not(.primary) { background:#ead1db !important; }
.marketing-nav .marketing-text-button { background:#f5f3ee !important; }
.marketing-home section, .marketing-home .marketing-nav, .marketing-home .button, .marketing-home .marketing-text-button, .marketing-home [class*="card"], .marketing-home [class*="panel"], .marketing-home [class*="visual"], #mainApp .sidebar, #mainApp .surface, #mainApp [class*="panel"], #mainApp [class*="card"], #mainApp .button, #mainApp input, #mainApp select, #mainApp textarea, #mainApp .source-dropzone { border-radius:4px !important; }
#mainApp,#mainApp .main,#mainApp .page { background:#eef0f0 !important; color:#171d22 !important; }
#mainApp .sidebar { background:#d6e1cd !important; border-color:#a6b59d !important; }
#mainApp .surface, #mainApp #returnStudyPanel { background:#f8f7f3 !important; }
#mainApp .source-dropzone { background:#d0e2eb !important; }
#sourceStudyOutput > header { background:#d6e1cd !important; }
.source-card-preview:nth-child(3n+1),#lectureDraftQueue .lecture-draft-card:nth-child(3n+1) { background:#eee7d6 !important; }
.source-card-preview:nth-child(3n+2),#lectureDraftQueue .lecture-draft-card:nth-child(3n+2) { background:#ead1db !important; }
.source-card-preview:nth-child(3n),#lectureDraftQueue .lecture-draft-card:nth-child(3n) { background:#d0e2eb !important; }
.marketing-home .marketing-hero::before,.marketing-home .marketing-hero::after,.marketing-home #anki-first::before,.marketing-home #anki-first::after,.marketing-home .marketing-section::before,.marketing-home .marketing-section::after { display:none !important; }
#landing .marketing-hero h1 { font-size:clamp(48px,5vw,76px) !important; }
#landing .marketing-hero-copy > p { font-weight:400 !important; }
#landing .button.primary { background:#e9dca8 !important; }
#landing .button:not(.primary) { background:#ead1db !important; }
#landing .button, #landing .marketing-text-button, #landing #anki-first, #landing .marketing-section, #landing .marketing-statement, #landing .marketing-final-cta { border-radius:4px !important; }
#landing #anki-first h2, #landing #anki-first p, #landing #anki-first li { color:#171d22 !important; }

/* A separate pointing companion, never painted beneath the label. */
.button.primary, #sourceUploadLabel, #reviewSourceCards, #exportSourceAnki { overflow:visible !important; margin-inline-end:80px; --radish-pose:url("assets/syllabloom-mascot-point-right.png"); text-align:center !important; }
.button.primary::after, #sourceUploadLabel::after, #reviewSourceCards::after, #exportSourceAnki::after { width:72px !important; height:80px !important; left:calc(100% + 8px) !important; right:auto !important; top:50% !important; opacity:0 !important; transform:translate(-14px,-50%) scale(.9) !important; z-index:3 !important; }
.button.primary:not(:disabled):hover::after, .button.primary:not(:disabled):focus-visible::after, #sourceUploadLabel:hover::after, #sourceUploadLabel:focus-visible::after, #reviewSourceCards:hover::after, #reviewSourceCards:focus-visible::after, #exportSourceAnki:hover::after, #exportSourceAnki:focus-visible::after { opacity:1 !important; transform:translate(0,-50%) scale(1) !important; }
#landing .marketing-section-heading { text-align:center !important; max-width:900px; margin-inline:auto !important; }
#landing .marketing-section-heading p { max-width:65ch; margin-inline:auto !important; }
#landing .marketing-statement, #landing .marketing-final-cta, #landing #pricing > div:first-child { text-align:center !important; }
#landing .marketing-statement p, #landing .marketing-final-cta p { max-width:65ch; margin-inline:auto !important; }
#landing .marketing-final-cta .button { margin-inline:0 80px; }
#mainApp .page-head { text-align:center; }
#mainApp .page-head p { max-width:65ch; margin-inline:auto; }
#mainApp .button { font-size:24px !important; line-height:1.3; }
#mainApp .focused-card-answer,#mainApp .focused-card-prompt,.source-card-answer,.source-card-preview h3 { text-align:left !important; }
@media(max-width:600px) { .marketing-hero-actions { padding-right:80px; } .marketing-hero-actions .button.primary { margin-inline-end:0; } .marketing-nav-actions .button.primary { margin-inline-end:56px; } .marketing-nav-actions .button.primary::after { width:48px !important; height:64px !important; } }
@media(prefers-reduced-motion:reduce) { .button.primary::after,#sourceUploadLabel::after,#reviewSourceCards::after,#exportSourceAnki::after { transition:none !important; } }

/* The radish peeks around the edge rather than standing next to it. */
.button.primary, #sourceUploadLabel, #reviewSourceCards, #exportSourceAnki { --radish-pose:url("assets/syllabloom-mascot-peek.png"); }
.button.primary::after, #sourceUploadLabel::after, #reviewSourceCards::after, #exportSourceAnki::after { width:80px !important; height:80px !important; left:calc(100% - 14px) !important; transform:translate(-18px,-50%) rotate(-8deg) !important; }
.button.primary:not(:disabled):hover::after, .button.primary:not(:disabled):focus-visible::after, #sourceUploadLabel:hover::after, #sourceUploadLabel:focus-visible::after, #reviewSourceCards:hover::after, #reviewSourceCards:focus-visible::after, #exportSourceAnki:hover::after, #exportSourceAnki:focus-visible::after { transform:translate(0,-50%) rotate(0) !important; }
@media(max-width:600px) { .marketing-nav-actions .button.primary::after { left:calc(100% - 9px) !important; } }

/* Refinement pass: reliable content visibility, contrast, and calmer panels. */
.button.primary,#sourceUploadLabel,#reviewSourceCards,#exportSourceAnki { --radish-pose:url("assets/syllabloom-mascot-peek-point-v2.png"); }
#landing .motion-item { opacity:1 !important; transform:none !important; }
#landing .marketing-section-heading { display:block !important; }
#landing .marketing-section-heading h2 { max-width:24ch; margin:0 auto 24px !important; }
#landing .anki-first-copy h2 { max-width:18ch !important; }
#landing .anki-first-copy strong,#landing .anki-first-copy small { color:#171d22 !important; }
#landing .anki-first-copy small { font-size:18px !important; line-height:1.5; }
#landing .loop-step { background:#f8f7f3 !important; border-radius:4px !important; padding:28px !important; }
#landing .loop-step:nth-of-type(2) { background:#d0e2eb !important; }
#landing .loop-step:nth-of-type(3) { background:#eee7d6 !important; }
#landing .loop-return { background:#d6e1cd !important; border-radius:4px !important; }
#landing .loop-return strong,#landing .loop-return small { color:#171d22 !important; font-size:20px !important; line-height:1.5; }
#landing .class-section article { background:#f8f7f3 !important; border-radius:4px !important; }
#landing .class-section article:nth-child(2) { background:#eee7d6 !important; }
#landing .class-section article:nth-child(3) { background:#d6e1cd !important; }
#landing .marketing-final-cta { display:flex !important; flex-direction:column; gap:28px; align-items:center; }
#landing .marketing-final-cta::before,#landing .marketing-final-cta::after,#landing #pricing::before,#landing #pricing::after { display:none !important; }
#landing .cta-companion { display:none !important; }
#mainApp #sourceLibrary { overflow-wrap:anywhere; }
#mainApp .page-head { gap:24px; flex-wrap:wrap; }
#mainApp .button:disabled { opacity:.5; cursor:not-allowed; }
@media(max-width:600px) { #landing .marketing-section-heading h2 { font-size:38px !important; } #landing .anki-first-copy h2 { max-width:none !important; } #mainApp .page-head h1 { font-size:44px !important; } }
.brand-mark { background:transparent !important; border:0 !important; box-shadow:none !important; border-radius:0 !important; }
.brand-mark img { object-fit:contain !important; width:100%; height:100%; }
.brand-mark::before,.brand-mark::after { display:none !important; }
