/* U-日本語 300 v0.2.13
 * Silence FM reading layout.
 * The site controls the base font size / line-height; this plugin controls only learning UI structure.
 */

.uj300-page {
    --uj300-ink: #202124;
    --uj300-subtle: #5f6368;
    --uj300-badge-border: #9B8A79;
    --uj300-badge-ink: #4B4038;
    --uj300-done: #444444;
    --uj300-focus: rgba(75, 64, 56, .25);

    width: 100%;
    max-width: none;
    margin: 0 auto;
    color: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}

.uj300-page *,
.uj300-page *::before,
.uj300-page *::after {
    box-sizing: border-box;
}

/* Inherit Silence FM typography except Japanese text and small control labels. */
.uj300-day-title,
.uj300-retrieval-title,
.uj300-guide,
.uj300-pronunciation,
.uj300-korean,
.uj300-recall-question,
.uj300-answer-pronunciation,
.uj300-nav,
.uj300-number {
    font-family: inherit;
    font-weight: inherit;
    color: inherit;
}

.uj300-day-title {
    margin: 0 0 1.15em;
}

.uj300-guide {
    margin: 0 0 3.1em;
}

.uj300-input-list,
.uj300-retrieval {
    width: 100%;
}

.uj300-expression,
.uj300-recall {
    margin: 0 0 2.65em;
}

/* Question / study rows: quiet, book-like two-column alignment. */
.uj300-expression,
.uj300-recall-question {
    display: grid;
    grid-template-columns: 1.55em minmax(0, 1fr);
    column-gap: .55em;
    align-items: start;
    width: 100%;
}

.uj300-expression-body,
.uj300-recall-body {
    min-width: 0;
}

.uj300-expression-body > *,
.uj300-recall-body > * {
    margin: 0;
}

.uj300-number {
    display: block;
    min-width: 0;
    white-space: nowrap;
}

.uj300-japanese,
.uj300-answer-jp {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.uj300-japanese-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .42em;
    margin: 0;
}

.uj300-pronunciation,
.uj300-korean {
    margin: 0;
}

/* Speaker: icon only; never turns into a browser-style button. */
.uj300-speak,
.uj300-speak:hover,
.uj300-speak:focus,
.uj300-speak:focus-visible,
.uj300-speak:active {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: #2093c3 !important;
}

.uj300-speak i,
.uj300-speak:hover i,
.uj300-speak:focus i,
.uj300-speak:focus-visible i,
.uj300-speak:active i {
    color: #2093c3 !important;
}

.uj300-speak {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 .12em;
    color: #2093c3 !important;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    vertical-align: baseline;
    -webkit-tap-highlight-color: transparent;
}

/* Decorative separator: match the Silence FM title ornament proportions. */
.uj300-major-divider {
    width: 100%;
    margin: 3.7em 0 3.35em;
    text-align: center;
}

.uj300-divider {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 30px;
    margin: 0 auto;
    background-image: url('https://silencecrew.com/wp-content/uploads/2026/09/line.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.uj300-divider img,
.uj300-divider-image {
    display: none !important;
}

.uj300-recall-question {
    margin: 0 0 .72em;
}

/*
 * Retrieval answer row
 * The first column is fixed. The Show/Hide control never re-centres when an answer appears,
 * so clicking it cannot make the button jump vertically.
 */
.uj300-answer-row {
    display: grid;
    grid-template-columns: 4.05em minmax(0, 1fr);
    column-gap: .72em;
    align-items: start;
    width: calc(100% - 2.10em);
    margin: 0 0 0 2.10em;
    min-height: 1.55em;
}

.uj300-answer-toggle,
.uj300-answer-toggle:hover,
.uj300-answer-toggle:focus,
.uj300-answer-toggle:focus-visible,
.uj300-answer-toggle:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: 1px solid var(--uj300-badge-border) !important;
    box-shadow: none !important;
    color: var(--uj300-badge-ink) !important;
    text-decoration: none !important;
}

.uj300-answer-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: start !important;

    width: 4.05em !important;
    min-width: 4.05em !important;
    height: 1.52em !important;
    min-height: 1.52em !important;

    margin: 0 !important;
    padding: 0 .34em .02em !important;
    border-radius: 5px !important;

    font-family: "Roboto", "Noto Sans KR", sans-serif !important;
    font-size: .88em !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;

    cursor: pointer !important;
    transform: none !important;
    vertical-align: top !important;
    -webkit-tap-highlight-color: transparent !important;
}

.uj300-answer-toggle:focus-visible {
    outline: 2px solid var(--uj300-focus) !important;
    outline-offset: 3px !important;
}

.uj300-answer-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .38em .46em;
    min-width: 0;
    min-height: 1.52em;
    margin: 0 !important;
    padding: 0 !important;
    line-height: inherit;
}

.uj300-answer-line[hidden] {
    display: flex !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.uj300-answer-pronunciation {
    opacity: .76;
}

/* Final completion control: one calm, dark button at the end of each block. */
.uj300-done-center {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: 3.35em 0 0;
    text-align: center;
}

.uj300-done-button,
.uj300-done-button:hover,
.uj300-done-button:focus,
.uj300-done-button:focus-visible,
.uj300-done-button:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: var(--uj300-done) !important;
    color: #fff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
}

.uj300-done-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 8.25em !important;
    min-width: 8.25em !important;
    min-height: 2.65em !important;
    margin: 0 !important;
    padding: .58em 1.5em !important;
    border-radius: 7px !important;

    font-family: "Roboto", "Noto Sans KR", sans-serif !important;
    font-size: .92em !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;

    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

.uj300-done-button:focus-visible {
    outline: 2px solid rgba(68, 68, 68, .22) !important;
    outline-offset: 3px !important;
}

.uj300-done-button[disabled] {
    opacity: .62;
    cursor: default !important;
}

.uj300-morning-review {
    margin-bottom: 0;
}

.uj300-empty {
    opacity: .7;
}

.uj300-nav {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    margin-top: 4em;
}

.uj300-nav a {
    color: inherit;
    text-decoration: none;
}

.uj300-nav a:focus-visible,
.uj300-speak:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .uj300-page {
        max-width: 100%;
    }

    .uj300-major-divider {
        margin-top: 3.25em;
        margin-bottom: 3em;
    }

    .uj300-divider {
        width: 100%;
        max-width: 600px;
        height: 30px;
    }

    .uj300-answer-row {
        grid-template-columns: 3.85em minmax(0, 1fr);
        column-gap: .62em;
    }

    .uj300-answer-toggle {
        width: 3.85em !important;
        min-width: 3.85em !important;
    }

    .uj300-done-button {
        width: 8em !important;
        min-width: 8em !important;
    }
}


/* v0.2.19: day navigation swaps only the learning region; no document-level page animation. */
.uj300-page[data-loading="1"] {
    pointer-events: none;
}

/* v0.2.16: keep study-line rhythm identical on desktop and mobile.
 * Silence FM desktop globally gives .entry-content p a large paragraph margin/line-height.
 * These learning lines are not prose paragraphs, so neutralize that rule only inside them.
 */
.entry-content .uj300-page .uj300-japanese-line,
.entry-content .uj300-page .uj300-pronunciation,
.entry-content .uj300-page .uj300-korean,
.entry-content .uj300-page .uj300-recall-body > p,
.entry-content .uj300-page .uj300-answer-line {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.65 !important;
}

/* =========================================================
 * v0.3.0 - Foreign Language Textbook front matter / TOC
 * ======================================================= */
.uj300-book-front {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    color: inherit;
    font-family: inherit;
    letter-spacing: inherit;
}

.uj300-book-front *,
.uj300-book-front *::before,
.uj300-book-front *::after {
    box-sizing: border-box;
}

.uj300-book-shell { width: 100%; }

.uj300-book-overview {
    display: grid;
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
    gap: 2.1em;
    align-items: start;
}

.uj300-book-cover {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 1px solid rgba(0,0,0,.28);
    border-radius: 5px;
}

.uj300-book-meta { min-width: 0; padding-top: .08em; }

.uj300-book-title {
    margin: 0;
    text-align: left;
    font-size: 1.55em;
    line-height: 1.35;
}

.uj300-book-subtitle {
    margin: .6em 0 1.25em;
    text-align: left;
    opacity: .78;
}

.uj300-biblio { margin: 1.35em 0 0; }
.uj300-biblio > div {
    display: grid;
    grid-template-columns: 4.5em minmax(0, 1fr);
    gap: .75em;
    padding: .34em 0;
}
.uj300-biblio dt { margin: 0; opacity: .58; font-weight: 400; }
.uj300-biblio dd { margin: 0; }

.uj300-front-section { margin-top: 3.25em; }
.uj300-front-section > h2 { margin: 0 0 1.05em; font-size: 1.12em; line-height: 1.4; }
.uj300-front-prose > :first-child { margin-top: 0 !important; }
.uj300-front-prose > :last-child { margin-bottom: 0 !important; }

.uj300-book-next {
    display: flex;
    justify-content: flex-end;
    margin: 3.1em 0 1em;
}
.uj300-next-page,
.uj300-next-page:hover,
.uj300-next-page:focus,
.uj300-next-page:active {
    color: inherit;
    text-decoration: none;
    opacity: .72;
}

.uj300-toc-section { margin-top: 0; }
.uj300-toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(0,0,0,.12); }
.uj300-toc li { margin: 0; padding: 0; border-bottom: 1px solid rgba(0,0,0,.10); }
.uj300-toc a {
    display: grid;
    grid-template-columns: 5.4em minmax(0, 1fr);
    gap: .75em;
    align-items: baseline;
    padding: .82em .08em;
    color: inherit;
    text-decoration: none;
}
.uj300-toc-day { white-space: nowrap; opacity: .72; }
.uj300-toc-title { min-width: 0; }

.uj300-book-start { display: flex; justify-content: center; margin: 3.1em 0 1em; }
.uj300-start-button,
.uj300-start-button:hover,
.uj300-start-button:focus,
.uj300-start-button:active {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 9.2em;
    padding: .72em 1.4em;
    border: 0;
    border-radius: 7px;
    background: #444;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

@media (max-width: 600px) {
    .uj300-book-front { max-width: 100%; }
    .uj300-book-overview { grid-template-columns: minmax(105px, 36%) minmax(0, 1fr); gap: 1.15em; }
    .uj300-book-title { font-size: 1.32em; }
    .uj300-book-subtitle { margin-bottom: .85em; }
    .uj300-biblio { margin-top: .8em; font-size: .92em; }
    .uj300-biblio > div { grid-template-columns: 3.9em minmax(0, 1fr); gap: .55em; padding: .2em 0; }
    .uj300-toc a { grid-template-columns: 4.8em minmax(0, 1fr); gap: .6em; }
}


/* =========================================================
 * v0.5.2 - cover-only opening page
 * This applies only before Contents. Contents and study layout remain v0.5.1.
 * ======================================================= */
.uj300-cover-stage {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    padding: clamp(20px, 4vw, 44px);
    overflow: hidden;
    background: inherit;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.uj300-cover-stage .uj300-cover-only {
    display: block;
    width: auto;
    height: auto;
    max-width: min(72vw, 430px);
    max-height: calc(100dvh - clamp(40px, 8vw, 88px));
    margin: 0 !important;
    border: 1px solid rgba(0,0,0,.28);
    border-radius: 5px;
    object-fit: contain;
}

/* v0.6.1: Notice-style prose. Respect the site/GeneratePress reading typography. */
.uj300-general-chapter {
    width:100%; max-width:none; margin:0; padding:0;
    font:inherit; color:inherit; letter-spacing:inherit;
}
/* Preserve the existing chapter title appearance. */
.uj300-general-chapter > header > h1 {
    font-size:1.5rem; font-weight:600; line-height:1.5; margin:0 0 1.8em;
}
/* v1.1.22: Center regular chapter titles with measured space below; leave exam headings unchanged. */
.uj300-general-chapter:not(.uj300-test-chapter) > header > h1 {
    text-align:center;
    margin-bottom:1.2em;
}
.uj300-general-body { font:inherit; color:inherit; width:100%; max-width:none; }
.uj300-general-body p { font:inherit; margin:0 0 1.25em; overflow-wrap:break-word; }
/* Heading sizes come from the site's existing styles, rather than the theme's
   oversized default heading scale inside this plugin. */
.uj300-general-body :is(h2,h3,h4,h5,h6) {
    font-family:inherit; font-size:1.12em; font-weight:600;
    line-height:1.5; color:inherit; letter-spacing:inherit;
    margin:1.9em 0 .8em;
}
.uj300-general-body :is(h4,h5,h6) { font-size:1em; }
.uj300-general-body img { max-width:100%; height:auto; }
.uj300-general-contents { text-align:center; margin-top:24px; }
.uj300-toc-day:empty { display:none; }


/* v0.6.2: general chapters use the title column, not the DAY-number column. */
.uj300-toc li.uj300-toc-general > a { display: block; }
.uj300-toc li.uj300-toc-general .uj300-toc-day { display: none; }
.uj300-toc li.uj300-toc-general .uj300-toc-title { display: block; min-width: 0; overflow-wrap: anywhere; }

/* v1.0 additions: deliberately preserve the v0.6.2 frameless, spacious layout */
.uj300-added-section{margin:2.8em 0 3.2em;padding:0;border:0;background:transparent;}
.uj300-added-section h3{font-size:1.04em;margin:0 0 1.1em;font-weight:600;}
.uj300-soft-icon{color:#88b9e2;margin-right:.45em;font-size:.9em;}
.uj300-situation-image{display:block;width:100%;max-width:720px;height:auto;margin:1.1em 0 0;border:0;}
.uj300-word-row{display:flex;flex-wrap:wrap;align-items:center;gap:.35em .75em;padding:.75em 0;border-bottom:1px solid rgba(0,0,0,.055);}
.uj300-word-source{font-weight:600}.uj300-word-pronunciation,.uj300-word-korean{color:#666;font-size:.9em;}
.uj300-word-image{max-width:74px;height:auto;margin-left:auto;}
.uj300-speak-all{background:none;border:1px solid #a9cce8;color:#548cbf;border-radius:5px;padding:.4em .75em;cursor:pointer;margin-top:1em;font:inherit;font-size:.84em;}
.uj300-speak-all i{color:#88b9e2;margin-right:.35em}
.uj300-toc a{grid-template-columns:5.4em minmax(0,1fr) 1em;}
.uj300-progress-dot{display:inline-block;width:.5em;height:.5em;border-radius:50%;background:#29B6F6;justify-self:end;align-self:center;animation:none;opacity:1;}
@keyframes uj300-dot-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.uj300-progress-dot{animation:none;opacity:1;}}
@media(max-width:600px){.uj300-toc a{grid-template-columns:4.8em minmax(0,1fr) 1em;}}

/* v1.0.1: separate application section without cards; retain original page rhythm. */
.uj300-application-heading{margin:2.2em 0 1em;font-size:1.02em;font-weight:600;color:#689ed2;}
.uj300-application-heading .uj300-soft-icon{margin-right:.45em;color:#83b4e0;}

/* v1.0.3: Hide WordPress/GeneratePress page chrome on textbook landing pages only. */
body.uj300-textbook-landing .entry-header,
body.uj300-textbook-landing .page-header,
body.uj300-textbook-landing .entry-title,
body.uj300-textbook-landing .comments-area { display: none !important; }
body.uj300-textbook-landing .inside-article > .entry-content { margin-top: 0 !important; }
body.uj300-textbook-landing .inside-article,
body.uj300-textbook-landing .site-main { padding-top: 0 !important; }
body.uj300-textbook-landing .entry-content > .wp-block-shortcode { margin-top: 0 !important; }

/* v1.0.4: independent virtual reader, sized like the original Japanese book. */
body.uj300-virtual-reader { margin: 0; background: #fff; }
.uj300-virtual-content { box-sizing: border-box; width: min(100% - 32px, 760px); margin: 0 auto; padding: 24px 0 48px; }
body.uj300-virtual-reader .uj300-cover-stage { background: #fff; }
body.uj300-virtual-reader .uj300-cover-stage .uj300-cover-only { max-width: min(72vw, 430px); }
@media (max-width: 600px) { .uj300-virtual-content { width: calc(100% - 28px); padding-top: 16px; } }

/* v1.0.9: match Lantern Viewer Contents typography. */
.uj300-toc-section > h2 {font-family:'RidiBatang','KoPubWorld Batang',serif;font-size:1.6em;font-weight:400;text-align:center;letter-spacing:-.02em;line-height:1.4;margin:.3em 0 1.5em;}

/* v1.0.10: quiet headings, consistent listening control, and test-only sound switch. */
.uj300-word-row { border-bottom: 0 !important; }
.uj300-speak-all, .uj300-speak-all:hover, .uj300-speak-all:focus, .uj300-speak-all:active { color:#444 !important; border:1px solid #444 !important; background:transparent !important; box-shadow:none !important; }
.uj300-speak-all i, .uj300-speak-all:hover i, .uj300-speak-all:focus i, .uj300-speak-all:active i { color:#444 !important; }
.uj300-test-controls { display:flex; justify-content:flex-end; margin:.2em 0 .6em; }
.uj300-sound-toggle, .uj300-sound-toggle:hover, .uj300-sound-toggle:focus { border:0 !important; background:transparent !important; box-shadow:none !important; color:#555 !important; font:inherit; font-size:.78em; display:inline-flex; gap:.45em; align-items:center; cursor:pointer; padding:.3em; }
.uj300-sound-toggle i { color:inherit !important; }

/* v1.0.11 — standalone lesson, contents review/new actions */
.uj300-lesson-header{text-align:center;margin:1.8em 0 2.8em;}
.uj300-lesson-day{font-size:.82em;letter-spacing:.06em;color:#77736B;margin-bottom:.5em;}
.uj300-lesson-title{font-family:inherit;font-weight:500;font-size:1.55em;line-height:1.45;margin:0;color:inherit;}
.uj300-ornament{font-family:serif;font-size:1.5em;color:#77736B;margin:1.2em auto 0;line-height:1;}
.uj300-retrieval-heading{font-size:1.15em;font-weight:500;margin:0 0 1.1em;}
.uj300-toc .uj300-toc-line{display:grid;grid-template-columns:5.4em minmax(0,1fr) auto 2.1em 2.1em;gap:.55em;align-items:center;padding:.75em .08em;}
.uj300-toc-line .uj300-toc-day{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6d0c6;border-radius:6px;padding:.38em .15em;font-size:.78em;opacity:1;}
.uj300-toc-line .uj300-toc-title{overflow-wrap:anywhere;}
.uj300-toc .uj300-toc-action,.uj300-toc .uj300-toc-action:hover,.uj300-toc .uj300-toc-action:focus{display:inline-flex!important;align-items:center;justify-content:center;width:2.1em;height:2.1em;padding:0!important;border:0;border-radius:6px;color:#fff!important;font-size:.88em;font-weight:600;text-decoration:none!important;box-shadow:none;}
.uj300-toc .uj300-action-review,.uj300-toc .uj300-action-review:hover,.uj300-toc .uj300-action-review:focus{background:#4F6B5A!important;}
.uj300-toc .uj300-action-new,.uj300-toc .uj300-action-new:hover,.uj300-toc .uj300-action-new:focus{background:#7356A8!important;}
.uj300-toc-line .uj300-progress-dot{background:#4F6B5A;}
.uj300-feedback[hidden]{display:none!important;}
.uj300-feedback-visible{text-align:center;padding:1.1em;margin:1.2em auto;background:#f4f1e8;border-radius:8px;color:#4F6B5A;font-weight:600;}
#uj300-review{scroll-margin-top:1.5em;}
@media(max-width:600px){.uj300-toc .uj300-toc-line{grid-template-columns:4.7em minmax(0,1fr) auto 1.9em 1.9em;gap:.35em;}.uj300-toc .uj300-toc-action{width:1.9em;height:1.9em;}}

/* v1.0.12 — original contents list, independent review pencil, Lantern heading */
.uj300-toc li.uj300-toc-study{display:flex;align-items:center;position:relative;gap:.25em}
.uj300-toc li.uj300-toc-study > a:first-child{flex:1;min-width:0;grid-template-columns:5.4em minmax(0,1fr) 1.2em}
.uj300-toc-pencil{flex:0 0 auto!important;display:inline-flex!important;align-items:center;justify-content:center;width:2.4em;padding:.7em .25em!important;color:#4F6B5A!important;text-decoration:none!important}
.uj300-toc-pencil i{font-size:.85em}
.uj300-toc-check{justify-self:end;align-self:center;color:#4F6B5A;font-size:.9em}
.uj300-lesson-header{margin:0 0 1.7em;text-align:center}
.uj300-lesson-title{font-family:'RidiBatang','KoPubWorld Batang',serif!important;font-size:1.75em!important;font-weight:400!important;line-height:1.4!important;letter-spacing:-.02em!important;text-align:center!important;margin:0!important}
.uj300-lesson-title::after{content:"";display:block;width:100%;max-width:11em;height:1.4em;margin:.44em auto .77em;background-image:url('https://silencecrew.com/wp-content/uploads/2026/09/line.png');background-repeat:no-repeat;background-position:center;background-size:contain}
@media(max-width:600px){.uj300-toc li.uj300-toc-study > a:first-child{grid-template-columns:4.8em minmax(0,1fr) 1.2em}}

/* v1.0.13: memorization-friendly, larger type and sentence-end audio */
.uj300-page { font-size: 18px; line-height: 1.7; }
.uj300-page .uj300-japanese, .uj300-page .uj300-answer-jp { font-size: 1.22em; line-height: 1.6; }
.uj300-page .uj300-word-source { font-size: 1.2em; }
.uj300-page .uj300-korean, .uj300-page .uj300-word-korean,
.uj300-page .uj300-recall-body, .uj300-page .uj300-added-section > p { font-size: 1.05em; line-height: 1.7; }
.uj300-page .uj300-word-pronunciation, .uj300-page .uj300-pronunciation { font-size: .92em; }
.uj300-page .uj300-expression-body .uj300-korean .uj300-speak { display: inline-flex; vertical-align: middle; margin-left: .55em; }
.uj300-page .uj300-word-row .uj300-speak { margin-left: .15em; }
.uj300-page .uj300-word-row { gap: .3em .65em; }
.uj300-page .uj300-feedback-error { color: #a12d3a; background: #fff0f0; }
@media (max-width: 600px) { .uj300-page { font-size: 18px; } }

/* v1.0.14: lesson typography aligned to Lantern Viewer, with a study-oriented rhythm */
.uj300-page .uj300-lesson-header{margin:0 0 2.2em!important;padding:0!important;text-align:center!important}
.uj300-page .uj300-lesson-title{font-family:'RidiBatang','KoPubWorld Batang',serif!important;font-size:1.75em!important;font-weight:400!important;line-height:1.4!important;margin:0!important;padding:0!important}
.uj300-page .uj300-lesson-title::after{content:"";display:block;width:100%;max-width:11em;height:1.4em;margin:.44em auto .77em;background:url('https://silencecrew.com/wp-content/uploads/2026/09/line.png') center/contain no-repeat}
.uj300-page .uj300-major-divider{display:none!important}
.uj300-page .uj300-review-start{height:1px;scroll-margin-top:6em}
.uj300-page .uj300-core-heading{font-size:1.15em;font-weight:600;margin:2.2em 0 1.2em}
.uj300-page .uj300-added-section h3,.uj300-page .uj300-application-heading,.uj300-page .uj300-retrieval-heading{font-size:1.15em;font-weight:600}
.uj300-toc-pencil{color:#8A9EE8!important}
.uj300-toc-check{color:#59BFA5!important}
/* Reserve the rightmost position for the completion mark. */
.uj300-toc-study{position:relative;padding-right:2em!important}
.uj300-toc-study .uj300-toc-check{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
.uj300-cover-stage{transition:none!important;animation:none!important;align-items:center!important}
.uj300-cover-stage .uj300-cover-only{transition:none!important;animation:none!important;transform:none!important}

.uj300-toc li.uj300-toc-study > a:first-child{grid-template-columns:5.4em minmax(0,1fr)!important}
@media(max-width:600px){.uj300-toc li.uj300-toc-study > a:first-child{grid-template-columns:4.8em minmax(0,1fr)!important}}

/* v1.0.16: finger-following page preview (lesson pages only). */
.uj300-page.uj300-dragging { position:relative; z-index:2; touch-action:pan-y; }
.uj300-drag-preview { position:absolute; left:0; width:100%; overflow:hidden; z-index:1; pointer-events:none; background:#F4F1E8; color:#2A2926; opacity:.98; padding:0 12px; box-sizing:border-box; }
.uj300-drag-preview:not(.uj300-preview-ready)::after { content:'페이지 불러오는 중…'; display:block; text-align:center; padding:3rem 1rem; color:#888; font-size:.85em; }
@media (prefers-reduced-motion:reduce) { .uj300-page.uj300-dragging, .uj300-drag-preview { transition:none !important; } }

/* v1.0.17 — tap-to-reveal learning navigation. No swipe or page-turn animation. */
.uj300-page, .uj300-general-chapter { touch-action:pan-y; }
.uj300-nav.uj300-tap-nav {
    position:fixed !important; left:50% !important; top:50%; transform:translate(-50%,-50%) !important;
    z-index:2147483000; display:none !important; align-items:center; justify-content:space-around;
    gap:0; width:210px; max-width:calc(100vw - 32px); margin:0 !important;
    padding:5px 9px; border-radius:999px; box-sizing:border-box;
    background:#2A2926; box-shadow:0 6px 24px rgba(0,0,0,.25);
}
.uj300-nav.uj300-tap-nav.is-open {display:flex !important;}
.uj300-tap-nav a, .uj300-tap-nav .uj300-nav-disabled {
    display:flex; align-items:center; justify-content:center; flex:1 1 0;
    height:45px; min-width:45px; text-decoration:none !important;
    color:#fff !important; font-size:19px; border-radius:25px;
}
.uj300-tap-nav .uj300-nav-disabled {opacity:.25;}
.uj300-tap-nav a:focus-visible {outline:2px solid #fff;outline-offset:-4px;}
.uj300-cover-open {display:flex;flex-direction:column;align-items:center;max-width:100%;text-decoration:none;color:inherit;gap:12px;}
.uj300-cover-open-label {font-size:12px;letter-spacing:.08em;color:#6b655b;}
.uj300-drag-preview {display:none !important;}

/* v1.0.19 — Lantern-matched four-icon toolbar */
.uj300-nav.uj300-tap-nav {width: min(310px,calc(100vw - 40px)); padding:7px 9px; border-radius:18px; background:#666; border:1px solid rgba(255,255,255,.18); box-shadow:0 10px 32px rgba(0,0,0,.28);}
.uj300-tap-nav a,.uj300-tap-nav .uj300-nav-disabled {height:44px;min-width:0;border-radius:12px;font-size:20px;}
.uj300-tap-nav a:hover,.uj300-tap-nav a:focus-visible {background:rgba(255,255,255,.14);}
.uj300-tap-nav a svg {width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:560px){.uj300-nav.uj300-tap-nav {width:min(292px,calc(100vw - 40px));}}

/* v1.0.20 — Reserve the cover's centered layout before the image loads.
   A stable full-height link and explicit aspect ratio prevent apparent upward movement. */
.uj300-cover-stage .uj300-cover-open {
    width:100%; height:100%; min-height:0;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:12px;
}
.uj300-cover-stage .uj300-cover-only {
    flex:0 0 auto; box-sizing:border-box;
    aspect-ratio:var(--uj300-cover-ratio, 0.666667);
    width:min(72vw,430px,calc((100dvh - 150px) * var(--uj300-cover-ratio, 0.666667)));
    height:auto; max-width:100%; max-height:calc(100dvh - 150px);
    object-fit:contain;
}
.uj300-cover-stage .uj300-cover-open-label {flex:0 0 auto;}
@media(max-height:420px){
    .uj300-cover-stage .uj300-cover-only{width:min(72vw,430px,calc((100dvh - 85px) * var(--uj300-cover-ratio, 0.666667)));max-height:calc(100dvh - 85px);}
}

/* v1.0.21 — Compact editorial lesson masthead, without ornament. */
.uj300-page .uj300-lesson-header {
    display:flex !important;
    align-items:center !important;
    gap: .8em !important;
    text-align:left !important;
    background:#084742 !important;
    border-radius: 5px;
    padding: .8em 1em !important;
    margin: 0 0 1.85em !important;
    min-height: 3.4em;
}
.uj300-page .uj300-lesson-day {
    display:block;
    flex: 0 0 auto;
    margin:0 !important;
    font-family:Roboto,Arial,sans-serif !important;
    font-size:.86em !important;
    font-weight:600 !important;
    line-height:1.3 !important;
    letter-spacing:.045em !important;
    color:#92C9C2 !important;
    white-space:nowrap;
}
.uj300-page .uj300-lesson-title {
    display:block;
    flex:1 1 auto;
    min-width:0;
    text-align:left !important;
    font-family:Roboto,'Noto Sans KR','Noto Sans JP',Arial,sans-serif !important;
    font-size:1.03em !important;
    font-weight:500 !important;
    letter-spacing:0 !important;
    line-height:1.48 !important;
    color:#FFFFFF !important;
    margin:0 !important;
    padding:0 !important;
    overflow-wrap:break-word;
}
.uj300-page .uj300-lesson-title::after,
.uj300-page .uj300-ornament { content:none !important; display:none !important; background:none !important; }
/* Show/Hide remains above its answer, never side by side. */
.uj300-page .uj300-answer-row {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:.55em !important;
}
.uj300-page .uj300-answer-line {
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    min-width:0;
    width:100%;
}
.uj300-page .uj300-answer-line[hidden] {
    display:none !important;
    visibility:hidden !important;
}
@media (max-width:480px) {
    .uj300-page .uj300-lesson-header {gap:.6em !important;padding:.75em .7em !important;}
    .uj300-page .uj300-lesson-title {font-size:.98em !important;}
    .uj300-page .uj300-lesson-day {font-size:.81em !important;}
}

/* v1.0.22 — full-bleed, larger lesson masthead */
.uj300-page .uj300-lesson-header {
    background:#1E293B !important;
    border-radius:0 !important;
    width:100vw !important;
    width:100dvw !important;
    max-width:none !important;
    margin:0 0 1.85em calc(50% - 50vw) !important;
    margin-left:calc(50% - 50dvw) !important;
    padding:2.08em max(16px,calc((100dvw - 760px) / 2)) !important;
    gap:1em !important;
    min-height:0 !important;
}
.uj300-page .uj300-lesson-day {
    font-family:'Sofia Sans Extra Condensed','Arial Narrow',Roboto,Arial,sans-serif !important;
    font-size:1.462em !important;
    font-weight:400 !important;
    letter-spacing:.015em !important;
    color:#B8C6D8 !important;
}
.uj300-page .uj300-lesson-title {
    font-family:Roboto,'Noto Sans KR','Noto Sans JP',Arial,sans-serif !important;
    font-size:1.751em !important;
    line-height:1.28 !important;
    color:#FFFFFF !important;
}
/* Remove the virtual reader's reserved gap above the lesson masthead. */
.uj300-virtual-content:has(> .uj300-page) { padding-top:0 !important; }
body.uj300-virtual-reader:has(.uj300-page) .site-main { padding-top:0 !important; }
@media (max-width:600px) {
    .uj300-page .uj300-lesson-header {
        padding:1.95em 16px !important;
        gap:.65em !important;
    }
    .uj300-page .uj300-lesson-day {font-size:1.377em !important;}
    .uj300-page .uj300-lesson-title {font-size:1.666em !important;}
}


/* v1.0.23 — Orange ribbon section headings; CSS-only, no image assets. */
.uj300-page .uj300-added-section h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading,
.uj300-page .uj300-retrieval-heading {
    display:table !important; position:relative; overflow:visible;
    max-width:100%; background:#F28C00 !important; color:#fff !important;
    padding:.40em .9em !important; margin:2.15em 0 1.35em !important;
    border-radius:4px !important; box-shadow:none !important;
    font-family:Roboto,'Noto Sans KR',Arial,sans-serif !important;
    font-size:1em !important; font-weight:700 !important;
    line-height:1.45 !important; letter-spacing:0 !important;
}
.uj300-page .uj300-added-section h3::after,
.uj300-page .uj300-core-heading::after,
.uj300-page .uj300-application-heading::after,
.uj300-page .uj300-retrieval-heading::after {
    content:''; position:absolute; left:32px; bottom:-9px;
    border-style:solid; border-width:9px 9px 0 0;
    border-color:#D67700 transparent transparent transparent;
}
/* Thick centered dot, rather than numbered expression labels. */
.uj300-page .uj300-expression {grid-template-columns:1em minmax(0,1fr) !important;column-gap:.6em !important;}
.uj300-page .uj300-expression-bullet {font-family:Arial,sans-serif!important;font-size:.72em!important;font-weight:900!important;line-height:2.5!important;color:#1E293B!important;text-align:center;}
/* Show to the right of each Korean question; revealed answer below. */
.uj300-page .uj300-recall-question {grid-template-columns:1.55em minmax(0,1fr) auto !important;align-items:start;column-gap:.55em !important;}
.uj300-page .uj300-recall-question .uj300-answer-toggle {white-space:nowrap;align-self:start;margin:0 0 0 .4em!important;}
.uj300-page .uj300-answer-row {display:block!important;width:calc(100% - 2.1em)!important;margin-left:2.1em!important;min-height:0!important;}
.uj300-page .uj300-answer-jp {color:#047857!important;}
.uj300-page .uj300-answer-pronunciation {color:#059669!important;}
@media (max-width:480px) {
  .uj300-page .uj300-recall-question {grid-template-columns:1.35em minmax(0,1fr) auto !important;gap:.35em !important;}
  .uj300-page .uj300-recall-question .uj300-answer-toggle {margin-left:.15em!important;}
}

/* v1.0.25: reduce vertical whitespace between New Words rows to 60% of v1.0.24. */
.uj300-page .uj300-word-section .uj300-word-row {
    padding-top: .45em;
    padding-bottom: .45em;
}

/* v1.0.26 — Word and expression list markers share the same blue. */
.uj300-page .uj300-word-section .uj300-word-bullet {
    display:inline-block; flex:0 0 .9em; color:#4292c6 !important;
    font-family:Arial,sans-serif !important; font-size:.72em; font-weight:900;
    line-height:1.4; text-align:center; align-self:center;
}
.uj300-page .uj300-expression-bullet { color:#4292c6 !important; }
/* Use Orbit for the unit title only; preserve DAY's Roboto Condensed styling.
   Orbit is distributed in Regular (400) only. */
.uj300-page .uj300-lesson-title {
    font-family:'Orbit','Noto Sans KR',Roboto,sans-serif !important;
    font-weight:400 !important;
}

/* v1.0.27 — Preserve line breaks in guest login guidance. */
.uj300-feedback { white-space: pre-line; }

/* v1.0.29 — Cover fills the READER CONTAINER, not the full viewport.
   The existing overlay remains, but its contents align to the same reading width. */
.uj300-cover-stage {
    padding:0 !important;
}
.uj300-cover-stage .uj300-cover-open {
    box-sizing:border-box !important;
    width:min(calc(100vw - 32px),760px) !important;
    max-width:760px !important;
    margin-inline:auto !important;
    gap:0 !important;
}
.uj300-cover-stage .uj300-cover-only,
body.uj300-virtual-reader .uj300-cover-stage .uj300-cover-only {
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    max-height:calc(100dvh - 32px) !important;
    object-fit:contain !important;
}
.uj300-cover-stage .uj300-cover-open-label {display:none !important;}
@media (max-width:600px) {
    .uj300-cover-stage .uj300-cover-open {width:calc(100vw - 28px) !important;}
}

/* v1.0.29 — Uniform lesson heading: 001. + title, both at the title size. */
.uj300-page .uj300-lesson-day {
    font-family:'Roboto Condensed','Arial Narrow',sans-serif !important;
    font-weight:400 !important;
    font-size:1.751em !important;
    letter-spacing:0 !important;
    line-height:1.28 !important;
}
.uj300-page .uj300-lesson-title {
    font-family:Roboto,'Noto Sans KR','Noto Sans JP',Arial,sans-serif !important;
    font-weight:400 !important;
    font-size:1.751em !important;
    line-height:1.28 !important;
}
@media (max-width:600px) {
    .uj300-page .uj300-lesson-day,
    .uj300-page .uj300-lesson-title {font-size:1.666em !important;}
}

/* v1.0.30 — Center the combined lesson number and title in the masthead. */
.uj300-page .uj300-lesson-header {
    justify-content:center !important;
    text-align:center !important;
}
.uj300-page .uj300-lesson-title {
    flex:0 1 auto !important;
    text-align:center !important;
}


/* v1.0.33 — Minimal textbook: neutral background, centered editorial headings. */
.uj300-page .uj300-lesson-header {
    display:flex !important; flex-direction:column !important;
    align-items:center !important; justify-content:center !important;
    box-sizing:border-box !important; width:100% !important; max-width:100% !important;
    background:transparent !important; border:0 !important; border-radius:0 !important;
    box-shadow:none !important; text-align:center !important;
    margin:0 0 2.2em !important; margin-left:0 !important;
    padding:1.8em 0 .3em !important; min-height:0 !important; gap:.75em !important;
}
.uj300-page .uj300-lesson-day {
    display:block !important; flex:none !important;
    font-family:Roboto,Arial,sans-serif !important; font-size:.83rem !important;
    font-weight:400 !important; letter-spacing:0 !important;
    color:#55585C !important; line-height:1.5 !important;
    text-align:center !important; margin:0 !important; padding:0 !important;
    white-space:normal !important;
}
.uj300-page .uj300-lesson-title {
    display:block !important; flex:none !important;
    font-family:'RidiBatang','리디바탕','KoPubWorld Batang','Noto Serif KR',serif !important;
    font-size:1.45rem !important; font-weight:500 !important; line-height:1.55 !important;
    color:inherit !important; letter-spacing:-.025em !important;
    text-align:center !important; margin:0 !important; padding:0 !important;
    overflow-wrap:break-word; max-width:100% !important;
}
.uj300-page .uj300-lesson-title::after,
.uj300-page .uj300-ornament {content:none !important;display:none !important;}
.uj300-page .uj300-added-section h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading,
.uj300-page .uj300-retrieval-heading {
    display:block !important; position:static !important; width:100% !important;
    max-width:100% !important; box-sizing:border-box !important;
    background:transparent !important; background-image:none !important;
    color:#00A699 !important; box-shadow:none !important; border:0 !important;
    border-radius:0 !important; padding:0 !important;
    margin:2.25em auto 1.25em !important;
    font-family:'RidiBatang','리디바탕','KoPubWorld Batang','Noto Serif KR',serif !important;
    font-size:1.25rem !important; font-weight:500 !important; line-height:1.5 !important;
    letter-spacing:-.02em !important; text-align:center !important;
}
.uj300-page .uj300-added-section h3::after,
.uj300-page .uj300-core-heading::after,
.uj300-page .uj300-application-heading::after,
.uj300-page .uj300-retrieval-heading::after {content:none !important;display:none !important;}
@media(max-width:600px) {
    .uj300-page .uj300-lesson-header {padding:1.5em 0 .2em !important;gap:.65em !important;}
    .uj300-page .uj300-lesson-day {font-size:.82rem !important;}
    .uj300-page .uj300-lesson-title {font-size:1.35rem !important;}
}

/* v1.0.35 — additions to the USER-SUPPLIED v1.0.33 source only. */
.uj300-page .uj300-lesson-header { gap:1.45em !important; margin-bottom:1.45em !important; }
.uj300-page .uj300-lesson-title { font-size:2.175rem !important; font-weight:500 !important; }
@media (max-width:600px) {
 .uj300-page .uj300-lesson-header { gap:1.25em !important; margin-bottom:1.25em !important; }
 .uj300-page .uj300-lesson-title { font-size:2.025rem !important; }
}
/* Keep the spacing above a new section similar to heading-to-content spacing. */
.uj300-page .uj300-added-section { margin-top:0 !important; margin-bottom:0 !important; }
.uj300-page .uj300-added-section h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading,
.uj300-page .uj300-retrieval-heading {
  margin-top:1.25em !important; margin-bottom:1.25em !important;
  font-weight:450 !important;
}
.uj300-page .uj300-heading-icon { font-size:.82em; margin-right:.45em; vertical-align:.04em; color:inherit; }
/* Speaker buttons stay dark at rest; only live browser TTS gets blue. */
.uj300-page .uj300-speak, .uj300-page .uj300-speak i,
.uj300-page .uj300-speak-all, .uj300-page .uj300-speak-all i { color:#BDB7AB !important; }
.uj300-page .uj300-speak.uj300-is-speaking,
.uj300-page .uj300-speak.uj300-is-speaking i,
.uj300-page .uj300-speak-all.uj300-is-speaking,
.uj300-page .uj300-speak-all.uj300-is-speaking i { color:#BDB7AB !important; }

/* v1.0.36 — focused typography / non-animated speaker controls. */
.uj300-page .uj300-lesson-title::after {
    content:"" !important;
    display:block !important;
    width:min(8.5rem, 48%) !important;
    height:0 !important;
    margin:.7em auto 0 !important;
    background:none !important;
    border:0 !important;
    border-bottom:1px dashed #A5A5A5 !important;
}
.uj300-page .uj300-added-section h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading,
.uj300-page .uj300-retrieval-heading {
    font-family:Roboto,'Noto Sans KR','Malgun Gothic',Arial,sans-serif !important;
    font-weight:450 !important;
}
/* Keep a single calm speaker colour across normal, hover, focus and playback. */
.uj300-page .uj300-speak,
.uj300-page .uj300-speak i,
.uj300-page .uj300-speak-all,
.uj300-page .uj300-speak-all i,
.uj300-page .uj300-speak:hover,
.uj300-page .uj300-speak:hover i,
.uj300-page .uj300-speak:focus,
.uj300-page .uj300-speak:focus i,
.uj300-page .uj300-speak-all:hover,
.uj300-page .uj300-speak-all:hover i,
.uj300-page .uj300-speak-all:focus,
.uj300-page .uj300-speak-all:focus i { color:#BDB7AB !important; }
/* Reduce only Japanese source/answer text by five percent. */
.uj300-page .uj300-japanese,
.uj300-page .uj300-answer-jp,
.uj300-page .uj300-word-source { font-size:1.159em !important; }

/* v1.0.38: independently authored exercise answer meanings */
.uj300-answer-meaning { display:block; margin-top:.3em; color:#047857; }

/* v1.0.39: Korean-question audio control for each exercise. */
.uj300-page .uj300-recall-body .uj300-question-speak { display:inline-flex; margin:.12em 0 .3em 0; padding:.25em .2em; min-width:1.5em; min-height:1.5em; vertical-align:middle; }
.uj300-page .uj300-recall-body .uj300-question-speak,
.uj300-page .uj300-recall-body .uj300-question-speak i { color:#BDB7AB !important; }

/* v1.0.40: question speaker vertically above Show in the right action column. */
.uj300-page .uj300-recall-question { grid-template-columns:1.55em minmax(0,1fr) auto !important; align-items:start; }
.uj300-page .uj300-recall-actions { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:.35em; min-width:4.05em; }
.uj300-page .uj300-recall-actions .uj300-question-speak { display:inline-flex; margin:0 !important; padding:.2em !important; min-height:1.75em; justify-content:center; }
.uj300-page .uj300-recall-actions .uj300-answer-toggle { margin:0 !important; align-self:center !important; }
@media(max-width:480px){ .uj300-page .uj300-recall-question { grid-template-columns:1.35em minmax(0,1fr) auto !important; } }
/* Improve the 'listen all' label readability without changing speaker colour. */
.uj300-page .uj300-speak-all, .uj300-page .uj300-speak-all:hover, .uj300-page .uj300-speak-all:focus { color:#454B54 !important; }
.uj300-page .uj300-speak-all i, .uj300-page .uj300-speak-all:hover i, .uj300-page .uj300-speak-all:focus i { color:#BDB7AB !important; }

/* v1.1.8: test TOC items mirror the lesson columns without altering other chapters. */
.uj300-toc li.uj300-toc-test > a {
    display: grid;
    grid-template-columns: 5.4em minmax(0, 1fr) 2.1em;
    gap: .75em;
    align-items: flex-start;
}
.uj300-toc li.uj300-toc-test .uj300-toc-day {
    display: inline-block;
    text-align: left;
    opacity: 1;
    color: #8A9EE8;
}
.uj300-toc li.uj300-toc-test .uj300-toc-title { min-width:0; }
.uj300-toc li.uj300-toc-test .uj300-toc-best {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #59BFA5;
}
@media (max-width:600px) {
    .uj300-toc li.uj300-toc-test > a { grid-template-columns: 4.8em minmax(0,1fr) 2.1em; gap: .6em; }
}

/* v1.1.9: general chapter occupies the same day/title columns as lessons. */
.uj300-toc li.uj300-toc-general > a {
    display: grid;
    grid-template-columns: 5.4em minmax(0, 1fr);
    gap: .75em;
    align-items: flex-start;
}
.uj300-toc li.uj300-toc-general .uj300-toc-day {
    display: inline-block;
    opacity: 1;
    color: #777;
    text-align: left;
}
.uj300-toc li.uj300-toc-general .uj300-general-clip {
    display: inline-block;
    font-size: 1em;
    vertical-align: middle;
}
.uj300-toc li.uj300-toc-general .uj300-toc-title {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}
/* Trophy for high scores, award for lower scores, grey trophy before testing. */
.uj300-toc li.uj300-toc-test .uj300-toc-day { color: inherit; }
.uj300-toc li.uj300-toc-test .uj300-test-unattempted { color: #A0A0A0; }
.uj300-toc li.uj300-toc-test .uj300-test-high { color: #D7A33B; }
.uj300-toc li.uj300-toc-test .uj300-test-low { color: #8A9EE8; }
@media (max-width:600px) {
    .uj300-toc li.uj300-toc-general > a { grid-template-columns: 4.8em minmax(0, 1fr); gap: .75em; }
}

/* v1.1.11: completion indicator is a small solid orange dot, not a check icon. */
.uj300-toc-study .uj300-toc-check {
    display:block; width:9px; height:9px; padding:0; border-radius:50%;
    background-color:#E78A2F; color:transparent!important; font-size:0; line-height:0;
}

/* v1.1.12: centered TOC date, test icon, completion mark, and numeric score. */
.uj300-toc li.uj300-toc-study > a:first-child .uj300-toc-day,
.uj300-toc li.uj300-toc-test .uj300-toc-day,
.uj300-toc li.uj300-toc-general .uj300-toc-day {
    display:flex; align-items:center; justify-content:center; text-align:center;
    justify-self:stretch; width:100%; box-sizing:border-box;
}
.uj300-toc li.uj300-toc-test .uj300-toc-best {
    display:flex; align-items:center; justify-content:center; text-align:center;
    width:100%; min-width:0; font-variant-numeric:tabular-nums;
}
.uj300-toc li.uj300-toc-test .uj300-test-cap { color:#8A9EE8; font-size:1em; }
/* Completion column is reserved at the right edge of each lesson row. */
.uj300-toc li.uj300-toc-study .uj300-toc-check {
    right:0; width:9px; height:9px; margin-right:calc((2em - 9px)/2);
}


/* v1.1.13: compact, aligned TOC columns with an inset, 18px completion disc. */
.uj300-toc li.uj300-toc-study > a:first-child {
    grid-template-columns:4.2em minmax(0,1fr)!important;
}
.uj300-toc li.uj300-toc-test > a {
    grid-template-columns:4.2em minmax(0,1fr) 2.5em;
}
.uj300-toc li.uj300-toc-general > a {
    grid-template-columns:4.2em minmax(0,1fr);
}
/* The reserved end column stays INSIDE the row and gives the dot breathing room. */
.uj300-toc li.uj300-toc-study {
    padding-right:2.7em!important;
}
.uj300-toc li.uj300-toc-study .uj300-toc-check {
    position:absolute;
    box-sizing:border-box;
    width:18px;
    height:18px;
    min-width:18px;
    min-height:18px;
    border-radius:50%;
    right:calc((2.7em - 18px)/2 + .45em);
    margin:0;
    top:50%;
    transform:translateY(-50%);
    background-color:#E78A2F;
}
@media (max-width:600px) {
    .uj300-toc li.uj300-toc-study > a:first-child {
        grid-template-columns:3.85em minmax(0,1fr)!important;
    }
    .uj300-toc li.uj300-toc-test > a {
        grid-template-columns:3.85em minmax(0,1fr) 2.5em;
    }
    .uj300-toc li.uj300-toc-general > a {
        grid-template-columns:3.85em minmax(0,1fr);
    }
}


/* v1.1.14 — true three-column lesson rows; no absolute completion markers. */
.uj300-toc li.uj300-toc-study {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 2.6em 2.9em;
    column-gap:.2em;
    align-items:center;
    position:relative;
    padding:0 .55em 0 0 !important;
    box-sizing:border-box;
    max-width:100%;
    min-width:0;
}
.uj300-toc li.uj300-toc-study > a:first-child {
    grid-column:1;
    min-width:0;
    width:100%;
    box-sizing:border-box;
    grid-template-columns:4.2em minmax(0,1fr) !important;
}
.uj300-toc li.uj300-toc-study > .uj300-toc-pencil {
    grid-column:2;
    justify-self:center;
    width:2.4em;
    box-sizing:border-box;
}
.uj300-toc li.uj300-toc-study > .uj300-toc-check {
    grid-column:3;
    position:static !important;
    display:block;
    justify-self:center;
    align-self:center;
    width:18px;
    height:18px;
    min-width:18px;
    min-height:18px;
    border-radius:50%;
    padding:0;
    margin:0 !important;
    right:auto !important;
    top:auto !important;
    transform:none !important;
    background:#E78A2F;
}
@media(max-width:600px) {
    .uj300-toc li.uj300-toc-study {
        grid-template-columns:minmax(0,1fr) 2.3em 2.7em;
        column-gap:.1em;
        padding-right:.45em !important;
    }
    .uj300-toc li.uj300-toc-study > a:first-child {
        grid-template-columns:3.85em minmax(0,1fr) !important;
    }
}

/* v1.1.16: one shared four-column Contents layout: lesson | review | score | done.
   Test scores occupy the exact column between the review and completion slots. */
.uj300-toc li.uj300-toc-study,
.uj300-toc li.uj300-toc-test {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 2.6em 2.6em 2.9em;
    column-gap:.2em;
    align-items:center;
    padding:0 .55em 0 0 !important;
    box-sizing:border-box;
    min-width:0; max-width:100%;
}
.uj300-toc li.uj300-toc-study > a:first-child { grid-column:1; }
.uj300-toc li.uj300-toc-study > .uj300-toc-pencil { grid-column:2; }
.uj300-toc li.uj300-toc-study > .uj300-toc-check { grid-column:4; }
.uj300-toc li.uj300-toc-test > a:first-child {
    grid-column:1 / 4;
    display:grid;
    grid-template-columns:4.2em minmax(0,1fr) 2.6em;
    column-gap:.75em;
    width:100%; min-width:0; box-sizing:border-box;
}
.uj300-toc li.uj300-toc-test .uj300-toc-best {
    grid-column:3; justify-self:center;
    display:flex; justify-content:center; align-items:center;
    width:100%; min-width:0; text-align:center;
    font-variant-numeric:tabular-nums;
}
@media(max-width:600px) {
    .uj300-toc li.uj300-toc-study,
    .uj300-toc li.uj300-toc-test {
        grid-template-columns:minmax(0,1fr) 2.3em 2.4em 2.7em;
        column-gap:.1em;
        padding-right:.45em !important;
    }
    .uj300-toc li.uj300-toc-test > a:first-child {
        grid-template-columns:3.85em minmax(0,1fr) 2.4em;
        column-gap:.6em;
    }
}

/* v1.1.17: restore title width: do not reserve a score column on ordinary lessons. */
.uj300-toc li.uj300-toc-study,
.uj300-toc li.uj300-toc-test {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 2.3em 2.7em !important;
    column-gap:.12em !important;
    align-items:center;
    position:relative;
    padding:0 .6em 0 0 !important;
    min-width:0; max-width:100%; box-sizing:border-box;
}
.uj300-toc li.uj300-toc-study > a:first-child { grid-column:1 !important; min-width:0; }
.uj300-toc li.uj300-toc-study > .uj300-toc-pencil { grid-column:2 !important; justify-self:center; }
.uj300-toc li.uj300-toc-study > .uj300-toc-check {
    grid-column:3 !important; justify-self:center;
    background:#02ccfe !important;
}
/* The test uses the same width as a lesson; score floats in the action area,
   rather than reserving a fourth column and squeezing all lesson titles. */
.uj300-toc li.uj300-toc-test > a:first-child {
    grid-column:1 / -1 !important;
    display:grid;
    grid-template-columns:4.2em minmax(0,1fr) !important;
    column-gap:.75em !important;
    box-sizing:border-box;
    padding-right:5.2em !important;
    position:static;
    width:100%; min-width:0;
}
.uj300-toc li.uj300-toc-test .uj300-toc-best {
    position:absolute; right:2.6em; top:50%; transform:translateY(-50%);
    width:2.3em !important; min-width:0;
    text-align:center; justify-content:center;
    white-space:nowrap;
}
/* Compact navigation for ten Contents entries per page. */
.uj300-toc-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:.6em; margin:1.3em 0 1.7em; font-size:.88em; }
.uj300-toc-pagination a { display:inline-flex; align-items:center; justify-content:center; min-width:2.5em; min-height:2.5em; padding:.25em .7em; border:1px solid #d7d0c5; border-radius:5px; color:inherit; text-decoration:none; }
.uj300-toc-pagination .uj300-toc-page-current { font-variant-numeric:tabular-nums; color:#625d56; }
@media(max-width:600px) {
    .uj300-toc li.uj300-toc-study, .uj300-toc li.uj300-toc-test {
        grid-template-columns:minmax(0,1fr) 2.1em 2.5em !important;
        column-gap:.05em !important; padding-right:.55em !important;
    }
    .uj300-toc li.uj300-toc-test > a:first-child {
        grid-template-columns:3.85em minmax(0,1fr) !important;
        column-gap:.6em !important; padding-right:4.65em !important;
    }
    .uj300-toc li.uj300-toc-test .uj300-toc-best { right:2.35em; width:2.1em !important; }
}

/* v1.1.19 - discrete test chapter marker */
.uj300-toc .uj300-test-letter{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:22px;height:22px;border-radius:6px;background:#777f89;color:#fff;font:600 13px/1 Arial,sans-serif;}

/* v1.1.24: bulk playback is present only at the top of the shortcode vocabulary collection. */
.uj300-word-collection .uj300-word-section > .uj300-speak-all{display:inline-flex;align-items:center;gap:.25em;margin-top:.15em;margin-bottom:1em;}

/* Vocabulary collection playback controls; daily lesson controls are unchanged. */
.uj300-word-collection .uj300-word-collection-controls{display:flex;flex-wrap:wrap;gap:.6em;margin:.15em 0 1em;}
.uj300-word-collection .uj300-collection-speak{display:inline-flex;align-items:center;gap:.35em;border:1px solid #454B54;border-radius:5px;background:transparent;color:#454B54;padding:.4em .75em;cursor:pointer;font:inherit;font-size:.84em;}
.uj300-word-collection .uj300-collection-speak i{color:#BDB7AB;}

/* v1.1.27: requested alignment changes only. */
.uj300-book-front .uj300-book-start { margin: 3.35em 0 3.35em; }
.uj300-page .uj300-word-section > .uj300-speak-all { display: table !important; margin-left: auto !important; margin-right: auto !important; }
.uj300-word-collection .uj300-word-collection-controls { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: .55em; width: 100%; }
.uj300-word-collection .uj300-collection-speak { flex: 0 1 auto; white-space: nowrap; }
@media(max-width:420px) { .uj300-word-collection .uj300-collection-speak {font-size:.76em; padding:.4em .42em;} .uj300-word-collection .uj300-word-collection-controls {gap:.35em;} }

/* v1.1.29: remove the obsolete review-action column from lesson TOC rows.
   Reserve only the completion dot at right; give the reclaimed width to the title. */
.uj300-toc li.uj300-toc-study {
    grid-template-columns:minmax(0, 1fr) 2.7em !important;
    column-gap:.12em !important;
}
.uj300-toc li.uj300-toc-study > a:first-child {
    grid-column:1 !important;
    min-width:0;
    width:100%;
}
.uj300-toc li.uj300-toc-study > .uj300-toc-check {
    grid-column:2 !important;
    position:static !important;
    justify-self:center;
    align-self:center;
}
@media (max-width:600px) {
    .uj300-toc li.uj300-toc-study {
        grid-template-columns:minmax(0, 1fr) 2.5em !important;
        column-gap:.05em !important;
    }
}

/* v1.1.30: align test level with the lesson completion dot's exact right slot. */
.uj300-toc li.uj300-toc-test {
    grid-template-columns:minmax(0,1fr) 2.7em !important;
    column-gap:.12em !important;
}
.uj300-toc li.uj300-toc-test > a:first-child {
    grid-column:1 / -1 !important;
    padding-right:3.5em !important;
}
.uj300-toc li.uj300-toc-test .uj300-toc-best {
    right:.8em !important;
    width:2.3em !important;
    text-align:center !important;
}
@media(max-width:600px) {
    .uj300-toc li.uj300-toc-test {grid-template-columns:minmax(0,1fr) 2.5em !important;column-gap:.05em !important;}
    .uj300-toc li.uj300-toc-test > a:first-child {padding-right:3.1em !important;}
    .uj300-toc li.uj300-toc-test .uj300-toc-best {right:.75em !important;width:2.1em !important;}
}

/* v1.1.31: match Continue text-to-border spacing to Done; compact orange completion dot. */
.uj300-book-front .uj300-start-button,
.uj300-book-front .uj300-start-button:hover,
.uj300-book-front .uj300-start-button:focus,
.uj300-book-front .uj300-start-button:active {
    box-sizing: border-box;
    padding: .58em 1.5em !important;
    min-height: 2.65em !important;
    font-family: "Roboto", "Noto Sans KR", sans-serif !important;
    font-size: .92em !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}
.uj300-toc li.uj300-toc-study > .uj300-toc-check {
    box-sizing: border-box !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    border-radius: 50% !important;
    background: #E78A2F !important;
    background-color: #E78A2F !important;
    justify-self: center !important;
    align-self: center !important;
}

/* v1.1.35: keep the core-expression listen-all button below its list, centered. */
.uj300-page .uj300-speak-expressions-all { display: table !important; margin: 1em auto 0 !important; }

/* v1.1.36: daily vocabulary / core expressions only: paired listening controls. */
.uj300-page .uj300-lesson-listen-controls{display:flex;justify-content:center;align-items:center;gap:.55em;flex-wrap:nowrap;margin-top:1em;}
.uj300-page .uj300-lesson-listen-controls > .uj300-speak-all,
.uj300-page .uj300-lesson-listen-controls > .uj300-speak-unlimited{display:inline-flex !important;align-items:center;justify-content:center;gap:.2em;white-space:nowrap;margin:0 !important;width:auto;font:inherit;font-size:.84em;padding:.4em .75em;border:1px solid #454B54;border-radius:5px;background:transparent;color:#454B54;cursor:pointer;}
.uj300-page .uj300-speak-unlimited i{color:#BDB7AB;margin-right:.25em;}
@media(max-width:420px){.uj300-page .uj300-lesson-listen-controls{gap:.35em}.uj300-page .uj300-lesson-listen-controls > .uj300-speak-all,.uj300-page .uj300-lesson-listen-controls > .uj300-speak-unlimited{font-size:.76em;padding:.4em .45em;}}


/* v1.1.37 — day badge and Lantern-style lesson title */
.uj300-page .uj300-lesson-header{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:.72em !important;
}
.uj300-page .uj300-lesson-day{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    font-size:1rem !important;
    line-height:1 !important;
    color:inherit !important;
}
.uj300-page .uj300-lesson-day .uj300-day-count{
    display:inline-block !important;
    background:#F2D15C !important;
    color:#6B4A1F !important;
    border-radius:999px !important;
    padding:.34em .95em .38em !important;
    font-family:Roboto,'Noto Sans KR',Arial,sans-serif !important;
    font-size:1.16rem !important;
    font-weight:700 !important;
    letter-spacing:-.01em !important;
    line-height:1.1 !important;
    text-align:center !important;
    box-shadow:none !important;
}
.uj300-page .uj300-lesson-title{
    display:block !important;
    flex:none !important;
    font-family:'Noto Sans KR',Roboto,'Apple SD Gothic Neo','Malgun Gothic',sans-serif !important;
    font-size:1.3125rem !important;
    font-weight:600 !important;
    line-height:1.35 !important;
    letter-spacing:-.025em !important;
    color:#102E43 !important;
    text-align:center !important;
    margin:0 !important;
    padding:0 !important;
    white-space:normal !important;
    word-break:keep-all !important;
    overflow-wrap:break-word !important;
    max-width:100% !important;
}
.uj300-page .uj300-lesson-title::after{content:none !important;display:none !important;}
@media(max-width:600px){
    .uj300-page .uj300-lesson-day .uj300-day-count{font-size:1.12rem !important;padding:.33em .9em .36em !important;}
    .uj300-page .uj300-lesson-title{font-size:1.26rem !important;line-height:1.34 !important;}
}


/* v1.1.38 — exact Lantern chapter-title typography, intact ornamental line, spaced day badge. */
.uj300-page .uj300-lesson-header {
  gap:1.35em!important;
}
.uj300-page .uj300-lesson-day .uj300-day-count {
  font-family:Roboto,'Noto Sans KR',sans-serif!important;
  font-size:1.16rem!important; /* approx. 40% above original .83rem */
  font-weight:700!important;
  background:#F2D15C!important;
  color:#6B4A1F!important;
  text-align:center!important;
}
.uj300-page .uj300-lesson-title {
  font-family:'Roboto','Noto Sans KR',sans-serif!important;
  font-size:1.3125em!important;
  font-weight:600!important;
  line-height:1.35!important;
  letter-spacing:-.025em!important;
  color:#102e43!important;
  text-align:center!important;
  word-break:keep-all!important;
  overflow-wrap:break-word!important;
}
.uj300-page .uj300-lesson-title::after {
  content:""!important;
  display:block!important;
  width:100%!important;
  max-width:11em!important;
  height:1.4em!important;
  margin:.44em auto .77em!important;
  background-image:url('https://silencecrew.com/wp-content/uploads/2026/09/line.png')!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
}
@media (max-width:600px) {
 .uj300-page .uj300-lesson-header {gap:1.2em!important;}
 .uj300-page .uj300-lesson-day .uj300-day-count {font-size:1.16rem!important;}
 .uj300-page .uj300-lesson-title {font-size:1.3125em!important;line-height:1.35!important;}
}

/* v1.1.40: Full-stage part-introduction design. */
.uj300-part-introduction {
  padding: 0;
  background: transparent;
}
.uj300-part-introduction .uj300-part-stage {
  position: relative;
  min-height: calc(100vh - 110px);
  background: #1486c9;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 18vh 1.6rem 4.2rem;
  overflow: hidden;
}
.uj300-part-introduction .uj300-part-stage-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.uj300-part-introduction .uj300-part-number { display:none; }
.uj300-part-introduction .uj300-part-scene {
  margin: 0 0 .9rem;
  color: rgba(255,255,255,.88);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .18em;
}
.uj300-part-introduction h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.34;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.uj300-part-introduction .uj300-part-learning {
  max-width: 526px;
  margin: 1.2rem auto 0;
  color: rgba(13, 41, 64, .82);
  font-size: .98rem;
  line-height: 1.85;
  font-weight: 400;
}
.uj300-part-introduction .uj300-part-learning p {
  margin: 0;
  text-align: left;
}
.uj300-part-introduction .uj300-part-learning p + p {
  margin-top: .45rem;
}
@media (max-width: 640px) {
  .uj300-part-introduction .uj300-part-stage {
    min-height: calc(100vh - 88px);
    padding: 16vh 1.2rem 3.6rem;
  }
  .uj300-part-introduction .uj300-part-number {
    font-size: .95rem;
  }
  .uj300-part-introduction .uj300-part-scene {
    font-size: 1.22rem;
  }
  .uj300-part-introduction .uj300-part-learning {
    font-size: .95rem;
    line-height: 1.82;
  }
}
.uj300-toc li.uj300-toc-part { margin-top:1.25em !important; font-weight:700; }
.uj300-toc li.uj300-toc-part > a { display:grid !important; grid-template-columns:4.2em minmax(0,1fr); column-gap:.6em; align-items:center; min-width:0; text-decoration:none; }
.uj300-toc li.uj300-toc-part .uj300-toc-day { color:#00A699; font-weight:700; white-space:nowrap; }
.uj300-toc li.uj300-toc-part .uj300-toc-title { color:inherit; }
@media(max-width:600px) { .uj300-toc li.uj300-toc-part > a { grid-template-columns:3.85em minmax(0,1fr); } }

/* v1.1.43: typography-only refinements; keep v1.1.41 layout and spacing intact. */
.uj300-page .uj300-word-pronunciation, .uj300-page .uj300-pronunciation {
  color: #86898c !important; font-size: .84em !important; font-weight: 400 !important;
}
.uj300-page .uj300-pattern-main-jp { font-size: 1.22em; font-weight: 600; }
.uj300-page .uj300-pattern-main-reading { font-size: .84em; color: #86898c; }
.uj300-page .uj300-pattern-group { margin: 1.35em 0; }
.uj300-page .uj300-pattern-group h4 { font-size: .95em; margin: 0 0 .3em; font-weight: 600; }
.uj300-page .uj300-pattern-group p { margin: .2em 0; line-height: 1.7; }
.uj300-page .uj300-answer-meaning, .uj300-page .uj300-answer-reading { display: block; }
.uj300-page .uj300-answer-reading { font-size: .84em; color: #86898c; }

/* v1.1.44 — subtle reading hierarchy without altering the historical lesson layout. */
.uj300-page .uj300-expression-body > .uj300-pronunciation {
  display: block;
  color: #92969b !important;
  font-size: .82em !important;
  font-weight: 400 !important;
  line-height: 1.45;
}
.uj300-page .uj300-word-row > .uj300-word-pronunciation {
  color: #92969b !important;
  font-size: .82em !important;
  font-weight: 400 !important;
}
.uj300-page .uj300-pattern-main-reading,
.uj300-page .uj300-answer-reading {
  color: #92969b !important;
  font-size: .82em !important;
  font-weight: 400 !important;
}
.uj300-page .uj300-legacy-pattern .uj300-legacy-intro { margin-bottom: 1.3em; }
.uj300-page .uj300-legacy-pattern .uj300-legacy-group { margin: 1.2em 0; }

/* v1.1.45 — Daily lesson vocabulary: tab-stop-like, consistent columns.
   This does not affect the separate shortcode vocabulary collection. */
.uj300-page:not(.uj300-word-collection) .uj300-word-section .uj300-word-row {
  display: grid;
  grid-template-columns: .9em minmax(0, 1.3fr) minmax(0, 1.15fr) minmax(0, 1fr) 1.7em;
  column-gap: .5em;
  row-gap: .25em;
  align-items: center;
  flex-wrap: nowrap;
}
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-bullet { grid-column: 1; }
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-source { grid-column: 2; }
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-korean { grid-column: 3; }
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-pronunciation { grid-column: 4; }
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-speak {
  grid-column: 5;
  justify-self: center;
  margin-left: 0;
}
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-image {
  grid-column: 2 / 5;
  grid-row: 2;
  margin-left: 0;
}
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-source,
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-korean,
.uj300-page:not(.uj300-word-collection) .uj300-word-row > .uj300-word-pronunciation {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .uj300-page:not(.uj300-word-collection) .uj300-word-section .uj300-word-row {
    grid-template-columns: .8em minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 1fr) 1.35em;
    column-gap: .3em;
  }
}


/* v1.1.46 — spacing normalization, lantern launcher, yellow lesson bar, and part-page refinements. */
.uj300-page .uj300-word-section > h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading,
.uj300-page .uj300-retrieval-heading {
  margin-top: 2.7em !important;
  margin-bottom: 1.15em !important;
}
.uj300-page .uj300-word-section:first-of-type > h3 { margin-top: 2.7em !important; }
.uj300-page .uj300-lesson-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .24em !important;
  margin: 0 0 2.4em !important;
  padding: 1.02em 1em 1.08em !important;
  background: #EDC001 !important;
  border-radius: 22px !important;
}
.uj300-page .uj300-lesson-day {
  margin: 0 !important;
  color: #6B4A1F !important;
  font-family: 'Roboto Condensed', 'Arial Narrow', 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: .98rem !important;
  font-weight: 400 !important;
  letter-spacing: .015em !important;
  line-height: 1.1 !important;
}
.uj300-page .uj300-lesson-day .uj300-day-count {
  background: transparent !important;
  color: #6B4A1F !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-family: 'Roboto Condensed', 'Arial Narrow', 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}
.uj300-page .uj300-lesson-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #102E43 !important;
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: 1.42rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
}
.uj300-page .uj300-lesson-title::after,
.uj300-page .uj300-ornament { content:none !important; display:none !important; }
@media (max-width: 600px) {
  .uj300-page .uj300-lesson-header {
    margin-bottom: 2.15em !important;
    padding: .92em .95em .98em !important;
    border-radius: 19px !important;
  }
  .uj300-page .uj300-lesson-day { font-size: .9rem !important; }
  .uj300-page .uj300-lesson-title { font-size: 1.22rem !important; }
}
.uj300-part-introduction .uj300-part-learning {
  color: rgba(255,255,255,.84) !important;
}
.uj300-nav-launcher {
  position: absolute;
  right: 16px;
  bottom: 18px;
  z-index: 25;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 41, 38, .76);
  color: #F4F1E8;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.uj300-nav-launcher i { font-size: 19px; }
.uj300-general-chapter.uj300-test-chapter { position: relative; }
.uj300-cover-stage .uj300-nav.uj300-tap-nav,
.uj300-general-chapter.uj300-test-chapter .uj300-nav.uj300-tap-nav {
  position: fixed !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}


/* v1.1.47 — refreshed full-width lesson bar and exercise layout cleanup. */
.uj300-page .uj300-lesson-header {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  margin-top: 0 !important;
  margin-bottom: 2.05em !important;
  padding: 1.7em 1.25em 1.55em !important;
  background: #61C8E8 !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .58em !important;
  box-shadow: none !important;
}
.uj300-page .uj300-lesson-day {
  color: #17324D !important;
  font-family: 'Roboto Condensed', 'Arial Narrow', 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: 1.02rem !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  margin: 0 !important;
}
.uj300-page .uj300-lesson-day .uj300-day-count {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: inherit !important;
}
.uj300-page .uj300-lesson-title {
  color: #102E43 !important;
  font-family: 'RidiBatang','KoPubWorld Batang',serif !important;
  font-size: 1.95rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}
.uj300-page .uj300-lesson-title::after,
.uj300-page .uj300-ornament,
.uj300-page .uj300-major-divider { display:none !important; content:none !important; }
@media (max-width: 600px) {
  .uj300-page .uj300-lesson-header {
    padding: 1.55em 1em 1.42em !important;
    margin-bottom: 1.9em !important;
    gap: .52em !important;
  }
  .uj300-page .uj300-lesson-day { font-size: .96rem !important; }
  .uj300-page .uj300-lesson-title { font-size: 1.82rem !important; }
}

/* Section spacing consistency with tighter gap before retrieval. */
.uj300-page .uj300-word-section > h3,
.uj300-page .uj300-core-heading,
.uj300-page .uj300-application-heading { margin-top: 2.45em !important; }
.uj300-page .uj300-retrieval-heading { margin-top: 1.84em !important; margin-bottom: 1.05em !important; }

/* Exercise layout: full-width question, speaker at sentence end, toggle below. */
.uj300-page .uj300-recall-question {
  display: grid !important;
  grid-template-columns: 1.55em minmax(0,1fr) !important;
  column-gap: .62em !important;
  align-items: start !important;
}
.uj300-page .uj300-recall-body { min-width: 0 !important; }
.uj300-page .uj300-recall-body > p {
  margin: 0 !important;
  display: inline !important;
}
.uj300-page .uj300-question-speak {
  display: inline-flex !important;
  vertical-align: middle !important;
  margin-left: .45em !important;
}
.uj300-page .uj300-recall-actions {
  margin-top: .45em !important;
}
.uj300-page .uj300-recall-actions .uj300-answer-toggle {
  margin: 0 !important;
  align-self: flex-start !important;
}
.uj300-page .uj300-answer-row {
  display: block !important;
  width: calc(100% - 2.17em) !important;
  margin-left: 2.17em !important;
  min-height: 0 !important;
}
.uj300-page .uj300-answer-line {
  display: block !important;
}
.uj300-page .uj300-answer-line .uj300-speak {
  display: inline-flex !important;
  vertical-align: middle !important;
  margin-left: .4em !important;
}
.uj300-page .uj300-answer-meaning,
.uj300-page .uj300-answer-reading {
  display: block !important;
}
.uj300-page .uj300-answer-meaning {
  margin-top: .36em !important;
}
.uj300-page .uj300-answer-reading {
  margin-top: .15em !important;
}
@media (max-width: 600px) {
  .uj300-page .uj300-recall-question {
    grid-template-columns: 1.35em minmax(0,1fr) !important;
    column-gap: .45em !important;
  }
  .uj300-page .uj300-answer-row {
    width: calc(100% - 1.8em) !important;
    margin-left: 1.8em !important;
  }
}


/* v1.1.48: balanced full-bleed bright masthead and part illustrations. */
.uj300-page .uj300-lesson-header {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #BFEFFA !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}
.uj300-page .uj300-lesson-title {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-weight: 500 !important;
  font-size: 1.68rem !important;
  color: #172331 !important;
}
@media (max-width: 600px) {
  .uj300-page .uj300-lesson-title { font-size: 1.56rem !important; }
}
.uj300-part-introduction .uj300-part-learning-extra { margin-top: 1.15rem; }
.uj300-part-introduction .uj300-part-figure { width: min(100%, 526px); margin: 1.5rem auto 0; padding: 0; }
.uj300-part-introduction .uj300-part-figure img { display: block; max-width: 100%; width: 100%; height: auto; object-fit: contain; border-radius: 0; }
.uj300-part-introduction .uj300-part-figure figcaption { margin-top: .6rem; font-size: .86rem; font-weight: 400; line-height: 1.6; text-align: left; color: rgba(255,255,255,.84); }


/* v1.1.49 — only the daily chapter masthead: color and vertical proportions. */
.uj300-page .uj300-lesson-header {
  background: #FFD84D !important;
  min-height: 190px !important;
  padding: 2.15em 1.25em 2.1em !important;
  gap: .82em !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.uj300-page .uj300-lesson-day,
.uj300-page .uj300-lesson-title {
  margin: 0 !important;
}
@media (max-width: 600px) {
  .uj300-page .uj300-lesson-header {
    min-height: 164px !important;
    padding: 2.0em 1em 1.94em !important;
    gap: .72em !important;
  }
}


/* v1.1.50 — calm warm-grey lesson masthead; 7% more vertical room. */
.uj300-page .uj300-lesson-header {
  background: #E5E3D9 !important;
  min-height: 203px !important;
  padding-top: 2.30em !important;
  padding-bottom: 2.25em !important;
}
@media (max-width: 600px) {
  .uj300-page .uj300-lesson-header {
    min-height: 175px !important;
    padding-top: 2.14em !important;
    padding-bottom: 2.08em !important;
  }
}


/* v1.1.53: single vertically centred title (day number is part of authored title). */
.uj300-page .uj300-lesson-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
}
.uj300-page .uj300-lesson-title {
  margin: 0 !important;
  max-width: 100% !important;
  text-align: center !important;
}

/* v1.1.55 — standalone key-expression collection (other lessons unchanged). */
.uj300-key-collection .uj300-key-collection-controls { display:flex; justify-content:center; align-items:center; flex-wrap:nowrap; gap:.5em; margin:0 0 2em; }
.uj300-key-collection .uj300-key-collection-controls > button { display:inline-flex; align-items:center; justify-content:center; gap:.35em; white-space:nowrap; font:inherit; font-size:.8em; padding:.48em .68em; border:1px solid #454B54; border-radius:5px; background:transparent; color:#454B54; cursor:pointer; }
.uj300-key-collection .uj300-key-collection-item { margin:0 0 1.85em; }
.uj300-key-collection .uj300-key-collection-title { margin:0 0 .6em; font-family:'Noto Sans KR',sans-serif; font-size:1.05em; font-weight:500; }
.uj300-key-collection .uj300-key-collection-expression { display:flex; align-items:baseline; gap:.35em; }
.uj300-key-collection .uj300-key-collection-source { font-size:1.16em; line-height:1.6; }
.uj300-key-collection .uj300-key-collection-meaning { margin-top:.22em; line-height:1.65; }
.uj300-key-collection .uj300-key-collection-reading { margin-top:.12em; font-size:.83em; color:#85898c; line-height:1.65; }
@media(max-width:420px){.uj300-key-collection .uj300-key-collection-controls{gap:.3em}.uj300-key-collection .uj300-key-collection-controls>button{font-size:.69em;padding:.44em .38em}}


/* v1.1.56: non-test general chapters only; lesson and exam layouts unchanged. */
.uj300-general-chapter:not(.uj300-test-chapter) > header {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 calc(50% - 50vw) 2.1em !important;
  padding: 3.35em 1.25em 3.15em !important;
  min-height: 255px !important;
  border-radius: 0 !important;
  background: #E5E3D9 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) > header > h1 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 1.68rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  color: #172331 !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) > header > h1::after {
  content: "" !important;
  display: block !important;
  width: min(11em, 75vw) !important;
  height: 1.4em !important;
  margin: .8em auto 0 !important;
  background: url('https://silencecrew.com/wp-content/uploads/2026/09/line.png') center / contain no-repeat !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h2 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h3 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
}
@media (max-width: 600px) {
  .uj300-general-chapter:not(.uj300-test-chapter) > header {
    padding: 3em 1em 2.85em !important;
    min-height: 225px !important;
  }
  .uj300-general-chapter:not(.uj300-test-chapter) > header > h1 {
    font-size: 1.56rem !important;
  }
}


/* v1.1.57 — halve standard list indentation in regular general chapters only. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body :is(ul, ol) {
    padding-left: 20px !important;
    padding-inline-start: 20px !important;
}


/* v1.1.58 — regular general chapters only. Keep lesson and test chapter layouts unchanged. */
/* Correct the mistakenly inherited beige full-bleed title panel. */
.uj300-general-chapter:not(.uj300-test-chapter) > header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.8em !important;
  padding: 2.4em 0 2.15em !important;
  min-height: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
/* Preserve the existing H1 typeface and decorative ornament from v1.1.56. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h2 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h3 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
/* WP's content styles can add left margin in addition to left padding. Reset both. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ul,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ol,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ul.wp-block-list,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ol.wp-block-list {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  padding-left: 20px !important;
  padding-inline-start: 20px !important;
  list-style-position: outside !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ul li,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body ol li {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
}


/* v1.1.59 — regular general-chapter headings only; preserve H1 and body. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h2 {
  font-size: 1.30em !important;
  font-weight: 500 !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body h3 {
  font-size: 1.15em !important;
  font-weight: 500 !important;
}

/* v1.1.60 — Lantern reading typography ONLY for non-test general chapter body.
   Keep existing heading styles and day/test lessons intact. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -.065em !important;
  text-align: justify !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body p,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body .wp-block-paragraph {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: -.065em !important;
  text-align: justify !important;
  margin-top: 0 !important;
  margin-bottom: 1.35em !important;
}
@media (min-width: 769px) {
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body p,
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body .wp-block-paragraph {
    line-height: 2.05 !important;
    margin-bottom: 2em !important;
  }
}


/* v1.1.61 — general chapter only: distinguish H1 from H2/H3. */
.uj300-general-chapter:not(.uj300-test-chapter) > header > h1 {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
}
@media (max-width: 600px) {
  .uj300-general-chapter:not(.uj300-test-chapter) > header > h1 {
    font-size: 1.85rem !important;
  }
}
/* Lantern-style reading typography for ordinary general-chapter prose.
   Deliberately exclude heading elements, daily lessons, and test chapters. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -.065em !important;
  text-align: justify !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body p,
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body .wp-block-paragraph {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: -.065em !important;
  text-align: justify !important;
  margin-top: 0 !important;
  margin-bottom: 1.35em !important;
}
@media (min-width: 769px) {
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body p,
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body .wp-block-paragraph {
    line-height: 2.05 !important;
    margin-bottom: 2em !important;
  }
}

/* v1.1.62 — Lantern v1.6.40 default reading scale and reading-column width.
   Scope STRICTLY to ordinary general chapters (not daily lessons or tests).
   Lantern's --sfr-base:1.14em at the browser's standard 16px baseline = 18.24px.
   Use an explicit pixel base here so the WordPress theme cannot rescale it. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-size: 18.24px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: -.065em !important;
  text-align: justify !important;
  position: relative !important;
  left: 50% !important;
  width: min(42em, calc(100vw - 44px)) !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(-50%) !important;
}
@media (max-width: 560px) {
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body {
    width: calc(100vw - 36px) !important;
  }
}

/* v1.1.63 — match the user's actual custom body typography, not the
   older Lantern-only tracking value. Scope: general chapter prose ONLY.
   1.14em at a standard 16px base is the existing 18.24px set in v1.1.62.
   Keep H1–H3 sizes/weight and all other textbook pages unchanged. */
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: -0.04em !important;
  text-align: justify !important;
}
.uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body :is(p, .wp-block-paragraph, ul, ol, li) {
  letter-spacing: -0.04em !important;
  line-height: 1.65 !important;
}
@media (min-width: 769px) {
  .uj300-general-chapter:not(.uj300-test-chapter) .uj300-general-body :is(p, .wp-block-paragraph, ul, ol, li) {
    line-height: 2.05 !important;
  }
}


/* v1.1.64 — Cover centering, based on the Lantern viewer’s full-viewport stage.
   Only the foreign-language book COVER uses this stage; no lesson/chapter styling changes.
   A previous combined rule changed its position to relative, overriding the initial fixed viewport. */
.uj300-book-front .uj300-cover-stage {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}
.uj300-book-front .uj300-cover-stage > .uj300-cover-open {
    flex: 0 1 auto !important;
    align-self: center !important;
    height: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
.uj300-book-front .uj300-cover-stage .uj300-cover-only {
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


/* v1.1.65 — book-like Contents page, based on the supplied reference.
   Only the Contents view is affected. Preserve all links, test levels and done marks. */
.uj300-book-front .uj300-toc-section {
  margin: 0 auto !important;
  padding: 0 clamp(8px, 2vw, 24px) !important;
  max-width: 760px !important;
}
.uj300-book-front .uj300-toc-section > h2 {
  font-family: Georgia, 'Times New Roman', 'RidiBatang', serif !important;
  color: #292926 !important;
  font-size: clamp(2.15rem, 7vw, 3.1rem) !important;
  font-weight: 400 !important;
  letter-spacing: -.025em !important;
  text-align: center !important;
  line-height: 1.2 !important;
  margin: 1.55em 0 1.7em !important;
  padding: 0 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc {
  list-style: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  letter-spacing: -.04em !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li {
  border: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  min-width: 0 !important;
  font-size: 1.03rem !important;
  line-height: 1.56 !important;
}
/* One book-like line per entry; retain a compact right slot for completion/score. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 2.3em !important;
  gap: .22em !important;
  align-items: center !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li > a:first-child {
  display: grid !important;
  grid-template-columns: 3.7em minmax(0,1fr) !important;
  column-gap: .55em !important;
  align-items: baseline !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: .42em 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  grid-column: 1 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li:not(.uj300-toc-study):not(.uj300-toc-test) > a:first-child {
  grid-column: auto !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li .uj300-toc-day {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  justify-self: start !important;
  text-align: left !important;
  font-weight: 400 !important;
  color: #85827e !important;
  opacity: 1 !important;
  white-space: nowrap !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li .uj300-toc-title {
  display: block !important;
  min-width: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 400 !important;
  color: #85827e !important;
  overflow-wrap: break-word !important;
}
/* Lesson titles use the established #00A699 learning-section colour. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study .uj300-toc-title {
  color: #00A699 !important;
}
/* Part introductions mimic the reference's deep-red section headings. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part {
  margin: 1.9em 0 .45em !important;
  font-weight: 700 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part > a:first-child {
  font-weight: 700 !important;
  grid-template-columns: 3.7em minmax(0,1fr) !important;
  padding: .24em 0 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part .uj300-toc-day,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part .uj300-toc-title {
  color: #A52C46 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
/* Ordinary chapters keep the grey book-contents appearance. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-general .uj300-toc-day {
  display: none !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-general > a:first-child {
  grid-template-columns: minmax(0,1fr) !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test > a:first-child {
  grid-column: 1 / -1 !important;
  padding-right: 2.8em !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test .uj300-toc-best {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 2.3em !important;
  color: #A52C46 !important;
  font-weight: 600 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study > .uj300-toc-check {
  grid-column: 2 !important;
  justify-self: center !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  background: #E78A2F !important;
  border-radius: 50% !important;
  margin: 0 !important;
}
@media (max-width: 600px) {
  .uj300-book-front .uj300-toc-section { padding: 0 4px !important; }
  .uj300-book-front .uj300-toc-section > h2 { margin: 1.65em 0 1.5em !important; }
  .uj300-book-front .uj300-toc-section .uj300-toc > li { font-size: .99rem !important; }
  .uj300-book-front .uj300-toc-section .uj300-toc > li > a:first-child,
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part > a:first-child {
    grid-template-columns: 3.35em minmax(0,1fr) !important;
    column-gap: .35em !important;
  }
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-general > a:first-child {
    grid-template-columns: minmax(0,1fr) !important;
  }
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study,
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test {
    grid-template-columns: minmax(0,1fr) 1.6em !important;
  }
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test > a:first-child {
    padding-right: 2.15em !important;
  }
}


/* v1.1.66: calm neutral lesson titles in book contents and safe narrow-screen layout. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:hover .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:focus .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:visited .uj300-toc-title {
  color: #777570 !important;
}
.uj300-book-front:has(.uj300-toc-section),
.uj300-book-front .uj300-book-shell:has(.uj300-toc-section),
.uj300-book-front .uj300-toc-section,
.uj300-book-front .uj300-toc-section .uj300-toc {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li,
.uj300-book-front .uj300-toc-section .uj300-toc > li > a:first-child {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li .uj300-toc-title {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}


/* v1.1.67 — Contents refinements based on the Logbook v2.2.0 book-style TOC.
   Scope: foreign language viewer's Contents screen only. */
.uj300-book-front .uj300-toc-section {
  width: 100% !important;
  max-width: min(100%, 760px) !important;
  overflow-x: clip !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc {
  width: 100% !important;
  max-width: 100% !important;
  font-family: 'Roboto', 'Noto Sans KR', sans-serif !important;
  letter-spacing: -.04em !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li {
  line-height: 1.5 !important;
}
/* The logbook has discreet grey text, no dividers, and tighter book-like row rhythm. */
.uj300-book-front .uj300-toc-section .uj300-toc > li > a:first-child {
  padding-top: .39em !important;
  padding-bottom: .39em !important;
  border-bottom: 0 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:hover .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:focus .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study a:visited .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-general .uj300-toc-title,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test .uj300-toc-title {
  color: #777570 !important;
}
/* Section headings retain the reference's dark crimson. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part {
  margin-top: 1.6em !important;
  margin-bottom: .45em !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part .uj300-toc-day,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-part .uj300-toc-title {
  color: #A52C46 !important;
  font-weight: 700 !important;
}
@media(max-width:600px) {
  .uj300-book-front .uj300-toc-section { width: 100% !important; padding: 0 4px !important; }
  .uj300-book-front .uj300-toc-section .uj300-toc > li > a:first-child {
    grid-template-columns: 3.35em minmax(0,1fr) !important;
  }
  .uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-general > a:first-child {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

/* v1.1.71 — situation-understanding subsection inside basic expressions. */
.uj300-page .uj300-situation-block { width:100%; min-width:0; }
.uj300-page .uj300-situation-block .uj300-situation-image {
  display:block; width:100%; max-width:720px; height:auto;
  border:0; border-radius:0 !important; box-shadow:none;
  margin:0.9em 0 0; object-fit:contain;
}
.uj300-page .uj300-situation-block .uj300-situation-image-trigger {
  display:block; box-sizing:border-box; width:100%; max-width:720px; height:auto;
  margin:0; padding:0; border:0; border-radius:0; background:transparent;
  text-align:left; cursor:pointer; box-shadow:none; -webkit-appearance:none;
}
.uj300-page .uj300-situation-block .uj300-situation-image-trigger .uj300-situation-image { margin-top:0.9em; }
.uj300-page .uj300-situation-block .uj300-situation-image-trigger:focus-visible { outline:2px solid #00a699; outline-offset:3px; }
.uj300-page .uj300-situation-block .uj300-situation-guide {
  margin:0.75em 0 0; line-height:1.7; white-space:normal;
  overflow-wrap:break-word; text-align:left;
}

/* v1.1.72 — keep the situation picture visually immobile during TTS toggle.
   Override inherited theme button focus/active/hover effects only here. */
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:hover,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:focus,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:focus-visible,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:active,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger[aria-pressed="true"] {
    appearance:none !important;
    -webkit-appearance:none !important;
    position:static !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    background-image:none !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    outline:0 !important;
    filter:none !important;
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;
    -webkit-tap-highlight-color:transparent;
}
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger img,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:hover img,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:focus img,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger:active img,
.uj300-page .uj300-situation-block button.uj300-situation-image-trigger[aria-pressed="true"] img {
    display:block !important;
    width:100% !important;
    max-width:720px !important;
    height:auto !important;
    margin:0.9em 0 0 !important;
    border:0 !important;
    border-radius:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    filter:none !important;
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;
}

/* v1.1.73 — Day opening prose. Only appears when an intro has been authored. */
.uj300-page .uj300-lesson-intro {
    font:inherit; color:inherit; text-align:justify; white-space:normal;
    line-height:1.75; margin:0 0 1.9em; padding:0; overflow-wrap:break-word;
}
/* v1.1.73 — Keep the book cover stationary when the mobile browser chrome changes.
   100svh is stable during top/bottom browser toolbar expansion and contraction. */
.uj300-book-front .uj300-cover-stage { height:100vh !important; height:100svh !important; min-height:100svh !important; }
.uj300-book-front .uj300-cover-stage > .uj300-cover-open,
.uj300-book-front .uj300-cover-stage > .uj300-cover-open:hover,
.uj300-book-front .uj300-cover-stage > .uj300-cover-open:active,
.uj300-book-front .uj300-cover-stage > .uj300-cover-open:focus {
    transform:none !important; translate:none !important; scale:none !important;
    transition:none !important; animation:none !important; box-shadow:none !important;
    -webkit-tap-highlight-color:transparent !important;
}
.uj300-book-front .uj300-cover-stage .uj300-cover-only,
.uj300-book-front .uj300-cover-stage .uj300-cover-open:active .uj300-cover-only,
.uj300-book-front .uj300-cover-stage .uj300-cover-open:focus .uj300-cover-only {
    transform:none !important; translate:none !important; scale:none !important;
    transition:none !important; animation:none !important; box-shadow:none !important;
    max-height:calc(100svh - 32px) !important;
}

/* v1.1.75: Optional guidance directly below the existing application heading. */
.uj300-page .uj300-application-guide { margin: .25em 0 1.1em; white-space: normal; }


/* v1.1.77: Only the five authored prose areas treat one Enter as a paragraph. */
.uj300-page .uj300-prose-paragraphs > p {
    margin: 0;
    padding: 0;
}
.uj300-page .uj300-prose-paragraphs > p + p {
    margin-top: 0.75em;
}

/* v1.1.78 — follow-along highlight, no changes to text metrics or spacing. */
.uj300-page .uj300-word-row.uj300-playing-row,
.uj300-page .uj300-expression.uj300-playing-row,
.uj300-page .uj300-key-collection-item.uj300-playing-row { background-color: #E4F3EF !important; }
/* v1.1.79 — one real, full-width anchor per lesson/test row; no overlay. */
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study,
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test {
    display:block !important; width:100% !important; padding:0 !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li:is(.uj300-toc-study,.uj300-toc-test) > a:first-child {
    display:grid !important; grid-template-columns:3.7em minmax(0,1fr) 2.3em !important;
    width:100% !important; max-width:100% !important; padding:.39em 0 !important;
    column-gap:.55em !important; align-items:center !important; box-sizing:border-box !important;
    position:relative !important; cursor:pointer;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li:is(.uj300-toc-study,.uj300-toc-test) > a:first-child::after { content:none !important; }
.uj300-book-front .uj300-toc-section .uj300-toc > li:is(.uj300-toc-study,.uj300-toc-test) > a > .uj300-toc-day { grid-column:1 !important; }
.uj300-book-front .uj300-toc-section .uj300-toc > li:is(.uj300-toc-study,.uj300-toc-test) > a > .uj300-toc-title { grid-column:2 !important; }
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-study > a > .uj300-toc-check {
    display:block !important; grid-column:3 !important; grid-row:1 !important;
    position:static !important; transform:none !important; width:14px !important; height:14px !important;
    min-width:14px !important; min-height:14px !important; margin:0 !important; padding:0 !important;
    border-radius:50% !important; background:#E78A2F !important; justify-self:center !important; align-self:center !important;
}
.uj300-book-front .uj300-toc-section .uj300-toc > li.uj300-toc-test > a > .uj300-toc-best {
    display:flex !important; grid-column:3 !important; grid-row:1 !important;
    position:static !important; transform:none !important; width:100% !important; min-width:0 !important;
    margin:0 !important; padding:0 !important; justify-content:center !important; align-items:center !important;
    white-space:nowrap !important; color:#A52C46 !important; visibility:visible !important; opacity:1 !important;
}
.uj300-book-front .uj300-toc-section > .uj300-toc-pagination { display:flex !important; visibility:visible !important; position:relative; }
@media(max-width:600px) {
    .uj300-book-front .uj300-toc-section .uj300-toc > li:is(.uj300-toc-study,.uj300-toc-test) > a:first-child {
        grid-template-columns:3.35em minmax(0,1fr) 2.3em !important; column-gap:.35em !important;
    }
}
