/* =========================================================================
   design-system.css — 포크 공유 디자인 토큰 (단일 소스)

   이 파일은 회계사/변호사 등 여러 포크가 함께 <link> 하는 공유 색 토큰이다.
   이 한 파일을 고치면 이 파일을 링크한 모든 사이트의 색이 동시에 바뀐다.

   · 색은 포크 간 통일 권장(여기서 관리).
   · 글씨체·글씨크기·레이아웃 변수는 각 HTML 인라인 <style>에 두어 포크별로 자유.
   · --primary 한 줄이 브랜드 정체성. --success는 의도적으로 브랜드 블루.
   ========================================================================= */
:root {
    /* 표면·배경 */
    --bg: #F5F6F8;
    --surface: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --bg-muted: #F3F4F6;
    /* 잉크·텍스트 */
    --text: #111827;
    --text-2: #475569;
    /* A11Y_CONTRAST_20260829 — 종전 #8A94A3 은 흰 배경에서 명암비 3.07:1 로
       WCAG AA(본문 4.5:1)에 미달했다. PageSpeed 접근성 감사에서 이 토큰 하나가
       랜딩 본문·부제·체크 문구 등을 통째로 걸리게 하고 있었다. 색조(푸른 회색)는
       유지하고 명도만 낮춘다 → 흰 배경 5.02:1 · 페이지 배경(#F4F6FB) 4.64:1. */
    --text-3: #66707E;
    /* 테두리 */
    --border: #D6DCE3;
    --border-strong: #D1D5DB;
    /* 브랜드(primary) — 사이트별 정체성은 주로 여기서 결정 */
    --primary: #2451DF;
    --primary-dark: #1B3CB8;
    --primary-strong: #1E40AF;
    --primary-soft: #EEF4FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-border: #3157D7;
    /* 상태: 성공(정답 표시 = 초록. 파랑 브랜드와 조화+구분, 2026-07-15) */
    --success: #0B875A;
    --success-soft: #E8F6EF;
    --success-border: #A9DFC6;
    /* 상태: 위험 */
    --danger: #C2413F;
    --danger-soft: #FFF3F2;
    --danger-border: #F1B7B5;

    /* === 레이아웃 프리미티브 (모던 한국 스타일·PC 우선, 포크 공유) === */
    /* 라운드 스케일 */
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 22px;
    /* 그림자: 토스/네이버식 아주 옅고 부드럽게 (잉크색 기반) */
    --shadow-sm: 0 1px 2px rgba(17,24,39,.04), 0 1px 3px rgba(17,24,39,.05);
    --shadow: 0 2px 6px rgba(17,24,39,.05), 0 1px 2px rgba(17,24,39,.04);
    --shadow-md: 0 6px 18px rgba(17,24,39,.07), 0 2px 6px rgba(17,24,39,.05);
    --shadow-brand: 0 8px 18px rgba(36,81,223,.18);
    /* 카드 테두리(연한 중립) */
    --card-border: #EDF0F4;
}

/* SIHUMLAB_PUBLIC_DESIGN */
/* Public pages: shared by the hub and all eight exam sites. */
:root {
    --radius-sm: 4px;
    --radius: 6px;
    --radius-lg: 8px;
    --radius-xl: 8px;
    --shadow-sm: none;
    --shadow: none;
    --shadow-brand: none;
}
body:has(#screen-landing.active), body.sl-hub, body.sl-document {
    background: #fff !important;
    color: #22262b;
}
body:has(#screen-landing.active) .app {
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#screen-landing, .sl-hub, .sl-document {
    --text: #22262b;
    --text-2: #454b52;
    --text-3: #606870;
    --border: #d9dcdf;
    --card-border: #d9dcdf;
    --bg: #f5f6f7;
    --primary: #2451bf;
    --lp-primary: #2451bf;
    --primary-soft: #f0f4fc;
    letter-spacing: 0;
}
#screen-landing *, .sl-hub *, .sl-document * { letter-spacing: 0 !important; }
#screen-landing .lp-wrap, .sl-hub .lp-wrap {
    width: 100%; max-width: 1040px !important; margin: 0 auto !important;
    padding: 0 32px 48px !important;
}
#screen-landing .lp-topbar, .sl-hub .lp-topbar {
    display: flex; align-items: center; justify-content: space-between !important;
    gap: 20px; min-height: 76px; padding: 16px 0 !important;
    border-bottom: 1px solid var(--border);
}
.sl-brand { display: inline-flex; align-items: center; gap: 9px; color: #22262b; font-size: 19px; font-weight: 750; text-decoration: none; flex: none; }
.sl-brand img { width: 24px; height: 24px; }
.sl-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.sl-nav a, #screen-landing .lp-login-link { color: #454b52 !important; font-size: 14px !important; font-weight: 500 !important; text-decoration: none !important; }
.sl-nav a:hover, #screen-landing .lp-login-link:hover { color: var(--primary) !important; text-decoration: underline !important; }
#screen-landing .lp-hero, .sl-hub .lp-hero { text-align: left !important; padding: 40px 0 28px !important; }
#screen-landing .lp-h1, .sl-hub .lp-h1 { font-size: 32px !important; font-weight: 750 !important; line-height: 1.35 !important; margin: 0 0 12px !important; color: #22262b !important; }
#screen-landing .lp-sub, .sl-hub .lp-sub { font-size: 16px !important; line-height: 1.75 !important; max-width: 740px; margin: 0 0 20px !important; color: #545d65 !important; }
.sl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#screen-landing .lp-cta, .sl-hub .lp-cta { border-radius: 4px !important; box-shadow: none !important; padding: 11px 20px !important; font-size: 15px !important; font-weight: 650 !important; line-height: 1.5; text-decoration: none; border: 1px solid var(--primary) !important; min-height: 46px; }
#screen-landing .sl-secondary { background: #fff !important; color: #343b43 !important; border: 1px solid #b9c0c8 !important; }
#screen-landing .lp-reassure { justify-content: flex-start !important; font-size: 12px !important; margin-top: 12px !important; gap: 14px !important; }
#screen-landing .lp-reassure svg { display: none; }
#screen-landing .lp-sec, .sl-hub .lp-sec { margin-top: 0 !important; padding: 30px 0; border-top: 1px solid var(--border); scroll-margin-top: 20px; }
#screen-landing .lp-sec-title, .sl-hub .lp-sec-title { font-size: 21px !important; line-height: 1.5; font-weight: 700 !important; margin: 0 0 18px !important; color: #22262b !important; }
.sl-section-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 8px; }
.sl-section-head a { font-size: 13px; color: #525d68; }
#screen-landing .sl-section-head .lp-sec-title { margin-bottom: 8px !important; }
.sl-subjects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
.sl-subject { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid #e7e9eb; padding: 12px 0; color: #2b333d; text-decoration: none; font-size: 15px; line-height: 1.6; }
.sl-subject:hover { color: var(--primary); background: #f8f9fb; }
.sl-subject span:last-child { color: #626d79; flex: none; }
#screen-landing .lp-feat-grid, .sl-hub .lp-feat-grid { gap: 0 32px !important; }
#screen-landing .lp-feat, .sl-hub .lp-feat { border: 0 !important; border-bottom: 1px solid #e7e9eb !important; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 16px 0 !important; min-width: 0; }
#screen-landing .lp-feat-h, .sl-hub .lp-feat-h { font-size: 15px !important; line-height: 1.6; font-weight: 650 !important; margin-bottom: 6px !important; }
#screen-landing .lp-feat-p, .sl-hub .lp-feat-p { font-size: 14px !important; line-height: 1.8 !important; color: #545d65 !important; }
#screen-landing .lp-show-big { border-radius: 4px !important; box-shadow: none !important; padding: 24px !important; border-color: #cbd1d7 !important; }
#screen-landing .lp-show-sub { color: #545d65 !important; font-size: 14px !important; }
#screen-landing .lp-show-badge { background: transparent !important; color: #22262b !important; padding: 0 !important; border-radius: 0 !important; }
#screen-landing .lp-show-mini { border-radius: 4px !important; padding: 10px 8px !important; min-height: 44px; }
#screen-landing .lp-show-minis { gap: 8px !important; }
#screen-landing .lp-show-geun { min-width: 0 !important; }
#screen-landing .lp-sc-big, #screen-landing .lp-loop-paper { border-radius: 4px !important; box-shadow: none !important; border-color: #cbd1d7 !important; }
#screen-landing .lp-sc-sub, #screen-landing .lp-grade-foot { color: #545d65 !important; font-size: 14px !important; line-height: 1.8 !important; }
#screen-landing .lp-grade-foot { max-width: none !important; text-align: left !important; }
#screen-landing .lp-sc-mini { border-radius: 4px !important; min-height: 44px; }
#screen-landing .lp-sc-badge { background: transparent !important; color: #22262b !important; border-radius: 0 !important; padding-left: 0 !important; }
#screen-landing .lp-plans { gap: 16px !important; }
#screen-landing .lp-plan { text-align: left !important; border-radius: 4px !important; padding: 20px !important; box-shadow: none !important; }
#screen-landing .lp-plan-price { color: #22262b !important; font-size: 23px !important; margin: 12px 0 8px !important; }
#screen-landing .lp-plan-d { font-size: 13px !important; line-height: 1.75 !important; }
#screen-landing .lp-faq-item { border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; margin: 0 !important; }
#screen-landing .lp-faq-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 17px 0 !important; font: inherit; font-size: 14px; cursor: pointer; }
#screen-landing .lp-faq-a { color: #545d65 !important; }
#screen-landing .lp-bottom-cta { text-align: left !important; margin: 8px 0 32px !important; }
#screen-landing .lp-foot, .sl-hub .lp-foot { text-align: left !important; margin-top: 20px !important; padding-top: 20px !important; line-height: 1.9 !important; font-size: 12px !important; }
.sl-details { margin-top: 18px; }
.sl-details summary { cursor: pointer; font-size: 14px; font-weight: 600; padding: 12px 0; color: #454b52; }
.sl-details[open] summary { margin-bottom: 8px; }
.sl-hub .hub-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.sl-hub .hub-card { min-width: 0; padding: 19px 0; border: 0; border-bottom: 1px solid #d9dcdf; border-radius: 0; box-shadow: none; background: none; transform: none !important; }
.sl-hub .hub-card:hover { background: #f8f9fb; box-shadow: none; }
.sl-hub .hub-body { min-width: 0; }
.sl-hub .hub-name { font-size: 17px; font-weight: 650; }
.sl-hub .hub-desc { color: #606870; font-size: 13px; line-height: 1.8; }
.sl-hub .hub-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sl-hub .hub-meta span { display: inline-block; padding: 2px 7px; border: 1px solid #d9dcdf; border-radius: 3px; color: #626d79; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.sl-hub .hub-card:hover .hub-meta span { border-color: #b9c3d1; color: #42536a; }
.sl-hub .hub-go { color: #5c6875; }
.sl-hub .qhub { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.sl-hub .qhub-row { display: grid; grid-template-columns: 100px 1fr; font-size: 13px; line-height: 2; padding: 12px 0; }
.sl-hub .qhub-row a { color: #525d68; }
.sl-document .wrap { max-width: 1040px; padding: 28px 32px 60px; }
.sl-document section { border: 0; border-top: 1px solid #d9dcdf; border-radius: 0; padding: 24px 0; background: transparent; }
.sl-document .plan, .sl-document .plan.featured { border-radius: 4px; box-shadow: none; }
.sl-document .plans { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.sl-document .plan { min-width: 0; }
.sl-document .wrap:has(> nav.tabs) { max-width: 900px; }
.sl-document .wrap:has(> nav.tabs) section :is(p, li) { font-size: 15px; }
.sl-document .wrap:has(> nav.tabs) :is(th, td) { overflow-wrap: anywhere; }
.sl-document .cta { border-radius: 4px; box-shadow: none; }
.sl-document .selected,
.sl-document .pay-box,
.sl-document .mchip,
.sl-document .cardpay-btn,
.sl-document .mstep,
.sl-document .mstep-input { border-radius: 4px; }
.sl-document .wrap > section > div[style*="border-radius:12px"] {
    border-radius: 4px !important;
    border-color: #d9dcdf !important;
    border-left: 3px solid #2451bf !important;
    background: #f5f7fa !important;
    color: #454b52 !important;
}
.sl-document .plan-badge { display: none; }
.sl-document .plan-tag { background: transparent; border-radius: 0; padding: 0; }
.sl-document .sl-page-back {
    display: inline-flex; align-items: center; gap: 4px;
    margin-bottom: 10px; color: #606870; font-size: 13px;
    text-decoration: none;
}
.sl-document .sl-page-back:hover { color: #2451bf; text-decoration: underline; }
.sl-document nav.tabs {
    top: 0; gap: 22px; padding: 10px 0 0;
    background: #fff; border-bottom: 1px solid #d9dcdf;
}
.sl-document nav.tabs a {
    padding: 8px 0 10px; border: 0; border-bottom: 2px solid transparent;
    border-radius: 0; background: transparent; color: #606870;
    font-size: 14px; font-weight: 600;
}
.sl-document nav.tabs a:hover,
.sl-document nav.tabs a:focus-visible {
    border-bottom-color: #2451bf; color: #2451bf;
}
.sl-document section[id] { scroll-margin-top: 74px; }
@media (max-width: 640px) {
    .sl-document .plans { grid-template-columns: minmax(0, 1fr); }
    .sl-document .wrap > nav.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
    .sl-document .wrap > nav.tabs a { min-width: 0; min-height: 44px; line-height: 1.5; }
    .sl-document .wrap:has(> nav.tabs) section[id] { scroll-margin-top: 132px; }
}
.sl-document p, .sl-document li { line-height: 1.85; }
.sl-document h1, .sl-document h2, .sl-document p, .sl-document li { word-break: keep-all; overflow-wrap: break-word; }
#screen-landing :focus-visible, .sl-hub :focus-visible, .sl-document :focus-visible { outline: 2px solid #2451bf; outline-offset: 4px; }
/* Course navigation and progressive disclosure share the existing paper styles. */
#screen-landing [hidden] { display: none !important; }
.sl-catalog-tabs { display: flex; gap: 24px; border-bottom: 1px solid #d9dcdf; margin-bottom: 20px; }
.sl-catalog-tabs [role="tab"] { padding: 10px 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: #626a72; font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; }
.sl-catalog-tabs [aria-selected="true"] { color: #22262b; font-weight: 700; border-bottom-color: #2451bf; }
.sl-course-group + .sl-course-group { margin-top: 24px; }
.sl-group-title { font-size: 14px; font-weight: 700; color: #626a72; margin: 0 0 6px; }
.sl-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.sl-course-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; border-bottom: 1px solid #e5e7e9; }
.sl-course-info { min-width: 0; }
.sl-course-name { font-size: 15px; font-weight: 650; color: #252b32; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
.sl-course-meta, .sl-unavailable { font-size: 12px; color: #626a72; line-height: 1.7; }
.sl-unavailable { margin-top: 16px; }
.sl-course-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.sl-course-actions a { font-size: 12px; color: #626a72; white-space: nowrap; }
.sl-study-action { min-height: 44px; padding: 7px 0; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: #2451bf; cursor: pointer; white-space: nowrap; }
.sl-study-action:hover { text-decoration: underline; }
.sl-stage-panel { min-height: 140px; }
#screen-landing .sl-stage-panel .sl-subject { font-weight: 650; }
#screen-landing .lp-sc-minis, #screen-landing .lp-show-minis { margin: 0 0 14px !important; }
.sl-example-label { font-family: 'Pretendard Variable', Pretendard, 'Noto Sans KR', sans-serif; font-size: 13px; font-weight: 600; color: #626a72; margin: 6px 0 12px; }
.sl-example-full { margin-top: 18px; border-top: 1px solid #d9dcdf; }
.sl-example-full summary { padding: 13px 0 0; font-size: 14px; font-weight: 600; cursor: pointer; color: #454b52; }
.sl-example-full[open] summary { padding-bottom: 18px; }
#screen-landing .sl-change-preview .lp-sc-ch { margin: 0 0 12px; }
#screen-landing .sl-change-preview .choice-row { padding-top: 8px; padding-bottom: 8px; }
#screen-landing .sl-loop-tabs { align-self: stretch; justify-content: center; margin-bottom: 16px; }
.sl-study-intent { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; margin-bottom: 16px; border-bottom: 1px solid #d9dcdf; font-size: 14px; color: #454b52; }
.sl-study-intent button { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 12px; color: #626a72; cursor: pointer; flex: none; }
#loginForm:has(.sl-login-close) { position: relative; }
.sl-login-close { display: none; position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: #454b52; font: 28px/1 sans-serif; cursor: pointer; }
body:has(#screen-landing.active) .sl-login-close { display: block; }
.sl-login-close:focus-visible { outline: 2px solid #2451bf; outline-offset: -4px; }
@media(max-width:640px) {
    #screen-landing .lp-wrap, .sl-hub .lp-wrap { padding: 0 20px 32px !important; }
    #screen-landing .lp-topbar, .sl-hub .lp-topbar { min-height: 64px; gap: 12px; }
    .sl-nav { gap: 14px; }
    .sl-nav a, #screen-landing .lp-login-link { font-size: 12px !important; }
    .sl-brand { font-size: 17px; }
    #screen-landing .lp-hero, .sl-hub .lp-hero { padding: 28px 0 24px !important; }
    #screen-landing .lp-h1, .sl-hub .lp-h1 { font-size: 28px !important; }
    #screen-landing .lp-sub, .sl-hub .lp-sub { font-size: 14px !important; }
    #screen-landing .lp-sec-title, .sl-hub .lp-sec-title { font-size: 19px !important; }
    .sl-subjects, .sl-hub .hub-cards { grid-template-columns: minmax(0,1fr); }
    #screen-landing .lp-show-big { padding: 16px !important; }
    #screen-landing .lp-show-minis { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
    #screen-landing .lp-plans { grid-template-columns: minmax(0,1fr) !important; }
    .sl-hub .qhub-row { grid-template-columns: minmax(0,1fr); gap: 3px; }
    .sl-document .wrap { padding: 20px 20px 48px; }
    .sl-course-grid { grid-template-columns: minmax(0,1fr); }
    .sl-course-row { gap: 12px; }
    .sl-course-actions { gap: 12px; }
    .sl-catalog-tabs { gap: 22px; }
    .sl-course-name { font-size: 14px; }
}
/* Keep the same back control on subject, study, and result screens. */
body .screen .back-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--text, #202830) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
    cursor: pointer;
}
body .screen .back-btn:hover { background: #edf0f2 !important; }
body .screen .back-btn:focus-visible { outline: 2px solid #17675b; outline-offset: 2px; }
body .screen .sl-review-budget { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-wrap: wrap; width: min(calc(100% - 32px), var(--study-paper-width, 760px)); min-height: 40px; margin: 0 auto 8px; font-size: 13px; color: #46535d; box-sizing: border-box; }
body .screen .sl-review-budget input { width: 58px; min-height: 36px; padding: 4px; border: 1px solid #bac3ca; border-radius: 4px; background: #fff; color: #202830; font-size: 13px; }
.sl-review-budget-dialog { max-width: min(420px, calc(100vw - 32px)); border: 1px solid #bac3ca; border-radius: 8px; padding: 24px; color: #202830; background: #fff; }
.sl-review-budget-dialog::backdrop { background: rgba(0, 0, 0, .35); }
.sl-review-budget-dialog h2 { margin: 0 0 20px; font-size: 18px; }
.sl-review-budget-dialog button { min-height: 40px; padding: 8px 12px; margin: 4px; border: 1px solid #bac3ca; border-radius: 4px; background: #fff; color: #202830; cursor: pointer; }
.sl-review-budget-dialog button:last-child { background: #17675b; border-color: #17675b; color: #fff; }


/* 2026-09-15 review budget dialog surface. */
.sl-review-budget-dialog { border-radius: 4px; box-shadow: none; }

/* 2026-09-22 public navigation/catalog. Sample exam-paper styles are preserved. */
@media screen {
    #screen-landing .lp-topbar { gap: 16px; }
    #screen-landing .sl-nav a, #screen-landing .lp-login-link {
        display: inline-flex; align-items: center; min-height: 44px;
        font-size: 14px !important;
    }
    #screen-landing .lp-hero { padding: 32px 0 24px !important; }
    #screen-landing .lp-h1 { font-size: clamp(28px, 3vw, 36px) !important; letter-spacing: -.025em !important; }
    #screen-landing .lp-sub { font-size: 16px !important; line-height: 1.8 !important; }
    #screen-landing .lp-sec-title { font-size: 22px !important; }
    #screen-landing .sl-course-row { min-height: 78px; gap: 12px; padding: 14px 0; }
    #screen-landing .sl-course-name { font-size: 16px; line-height: 1.6; }
    #screen-landing .sl-course-meta { font-size: 13px; }
    #screen-landing .sl-course-actions { gap: 12px; }
    #screen-landing .sl-course-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
    #screen-landing .sl-study-action { min-height: 44px; padding: 9px 12px; font-size: 14px; border: 1px solid #ced8e9; border-radius: 4px; background: #f5f8fd; }
    #screen-landing .sl-study-action:hover { background: #eaf0fb; border-color: #9bb2d8; text-decoration: none; }
    #screen-landing .sl-catalog-tabs { gap: 24px; overflow-x: auto; }
    #screen-landing .sl-catalog-tabs [role="tab"] { min-height: 48px; padding-inline: 4px; }
    #screen-landing .lp-faq-q { min-height: 56px; font-size: 16px !important; line-height: 1.6; }
    #screen-landing .lp-feat-p { font-size: 15px !important; }
    .sl-document .sl-page-back { min-height: 44px; font-size: 14px; }
    .sl-document :is(.cta, .cardpay-btn, .mchip, .mstep-input) { min-height: 46px; font-size: 16px; }
    .sl-document nav.tabs { flex-wrap: wrap; gap: 4px 20px; }
    .sl-document nav.tabs a { display: inline-flex; align-items: center; min-height: 44px; }
    @media (max-width: 640px) {
        #screen-landing .lp-wrap { padding-inline: 20px !important; }
        #screen-landing .lp-topbar { flex-wrap: wrap; gap: 0 16px; }
        #screen-landing .sl-nav { gap: 16px; }
        #screen-landing .lp-sec-title { font-size: 20px !important; }
        #screen-landing .sl-course-row { flex-wrap: wrap; gap: 4px 12px; }
        #screen-landing .sl-course-info { flex: 1 1 140px; }
        #screen-landing .sl-course-actions { margin-left: auto; }
        #screen-landing .sl-course-name { font-size: 16px; }
        #screen-landing .sl-actions .lp-cta { flex: 1 1 140px; text-align: center; }
    }
}
