/* Exact shared Korean UI CSS is preserved unchanged in styles.css. All science changes live here. */
:root{--blue:#287A45;--blue-focus:#287A45;--ink:#1D2C31;--sub:#62716C;--hair:#DFE8DE;--parchment:#F4F8F3;--pearl:#F4F8F3}
.pill:hover:not(:disabled).primary{background:#1D5D35}
.choice.selected,.step-tab.current{background:#edf7ee}
.ink-em{color:#287A45}.ink-warning{color:#9B5419}.ink-reason{color:#257C83}.ink-answer{color:#1D5D35}
.course-picker{background:linear-gradient(165deg,#eff8eb 0%,#e5f4e3 55%,#f9fcf6 100%)}
.course-picker:before{content:'OBSERVE · EXPLORE · LEARN';color:rgba(40,122,69,.045)}
.picker-kicker,.hero-highlight,.tiny-symbol,.nav-link.active,.stage-kicker,.lesson-meta,.chapter-number,.eyebrow,.section-num,.diagram-step-no,.visual-arthead>svg,.unit-index{color:#287A45!important}
.brand-book{background:#287A45!important}.picker-step{background:#287A45!important;color:white!important}
.grade-tab.active,.course-picker .grade-tab.active,.semester-tab.active,.course-picker .semester-tab.active{background:#287A45!important;border-color:#287A45!important;color:white!important;box-shadow:0 5px 14px rgba(40,122,69,.18)!important}
.grade-tab,.semester-tab{border-color:#c9dfc9!important}
.pill.primary,.course-picker .pill.primary{background:#287A45!important;border-color:#287A45!important;color:white!important;box-shadow:0 5px 0 #1D5D3519!important}
.pill.primary:hover:not(:disabled){background:#1D5D35!important}.pill.outline{border-color:#287A45!important;color:#287A45!important}.picker-start{background:#287A45!important;color:white!important}
.picker-bottom{background:#17392a!important}
.art-book{border-color:#4ca66b!important}.art-talk{border-color:#8ec6a3!important}.art-pencil{border-color:#287A45!important}.hero-spark{color:#287A45!important}
.step-tab.current,.unit-item.active{color:#287A45!important;border-color:#8dbf9e!important}.edition-header{background:#17392a!important}
.progressbar>div{background:#287A45!important}.nav-course-shortcut{color:#287A45!important;background:#f0faf2!important;border-color:#c9dfc9!important}
.science-figure .science-head{align-items:center;gap:14px}
.science-figure-icon{width:82px;height:90px;flex:none;display:grid;place-items:center;border-radius:13px;background:#e7f1e5;color:#287A45}
.science-figure-icon svg{width:80px;height:85px}
.science-figure-domain{display:block;font-size:12px;color:#5e7564;margin-top:6px}
.science-fact-flow{display:grid;gap:11px;margin:16px 0}.science-fact{padding:13px 15px;border-left:3px solid #7caf8b;background:white;display:grid;gap:4px}
.science-fact span{color:#597562;font-size:12px;font-weight:650}.science-fact strong{font-size:14px;font-weight:550;line-height:1.62;color:#20372b;word-break:keep-all}
.science-figure figcaption b{font-weight:500}
.science-lab{border-top:1px solid #d6e7d6;margin:25px 0 18px;padding:24px 3px 2px;break-inside:avoid}
.science-lab-head h4{font-size:21px;letter-spacing:-.03em;margin:5px 0 6px}.science-lab-head p{font-size:14px;color:#5c7062;line-height:1.65;margin:0 0 16px}
.science-lab-eyebrow{display:inline-block;font-size:12px;color:#257C83;font-weight:700;letter-spacing:.04em}
.science-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.science-option{border:1px solid #b9d3bb;background:white;color:#20432b;border-radius:11px;padding:11px 14px;min-height:44px;min-width:88px;font-size:14px;font-weight:650}.science-option.on{background:#287A45;color:white;border-color:#287A45}
.science-sim{display:block;width:100%;max-width:100%;height:auto;border-radius:12px;border:1px solid #dde8dc;background:#f9fcf9}
.science-observation{padding:16px 17px;border-radius:11px;background:#eff7f0;border-left:3px solid #287A45;margin-top:12px;display:grid;gap:5px;line-height:1.6;color:#233e2f}
.science-observation b{font-size:12px;color:#257C83}.science-observation strong{font-size:17px}.science-observation p{margin:2px 0;font-size:14px}.science-observation small{font-size:12px;color:#6a6259;line-height:1.55}
.science-classify{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0}.science-classify>div{border:1px solid #d6e5d5;border-radius:11px;padding:15px 10px;background:#f7faf7;display:grid;gap:8px;text-align:center}.science-classify b{color:#1D5D35}.science-classify span{font-size:13px;word-break:keep-all}
.science-two-choices{display:grid;gap:10px}.science-two-choices label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}
.science-lab-links{font-size:13px;margin:13px 0 0;color:#69766b;line-height:1.6}
@media(max-width:740px){.science-figure-icon{width:64px;height:67px}.science-figure-icon svg{width:59px;height:60px}.science-classify{grid-template-columns:1fr}.science-classify>div{text-align:left}.science-option{flex:1 1 auto}.science-lab{padding-top:20px}}
@media print{
 .science-lab{display:none!important}
 .science-fact{break-inside:avoid}
 .science-figure-icon,.science-fact-flow{background:white!important}
 .ink-em,.ink-key,.ink-question,.ink-answer{color:#287A45!important;text-decoration-color:#287A45!important}
 .ink-warning{color:#9B5419!important}.ink-reason{color:#257C83!important}
 .print-solution-intro{color:#344b38!important}.answer-title{border-bottom-color:#287A45!important}
}

/* Subject palette overrides for fixed-color accents in original Korean CSS, geometry unchanged. */
.hero.edition-header{background:#17392a!important}
.hero.edition-header:after{color:#70ce8f!important}
.edition-header .eyebrow,.edition-header .edition-progress-label,.edition-header .edition-overall{color:#cee8d1!important}
.edition-header .edition-subtitle,.edition-header .edition-stats strong{color:#7edc9a!important}
.edition-header .edition-stats strong small{color:#dcebdc!important}
.sidebar{background:#eff7ef!important;border-color:#daeadb!important}
.unit-item.active{border-color:#90c49a!important}
.stage-kicker{border-color:#7bbd8f!important}
.lesson-card .lesson-top{border-bottom-color:#dfecdf!important}
.step-navigation{border-bottom-color:#dee9dd!important}
.section-num,.chapter-number{color:#287A45!important}
@media print {.hero.edition-header{background:#17392a!important}.sidebar{display:none!important}}

@media screen {
 .sidebar .side-heading,.lesson-meta,.stage-kicker,.deep-subhead,.deep-subhead .section-num{color:#287A45!important}
 .sidebar .unit-index{background:#d9ecdb!important;color:#2a7043!important}
 .sidebar .unit-item.active .unit-index{background:#287A45!important;color:#fff!important}
 .sidebar .unit-item.active{color:#1D5D35!important}
 .lesson-top{border-bottom-color:#dbe7da!important}
 .lesson-title,.qprompt{color:#1D2C31!important}
 .deep-subhead{border-top-color:#dce9dc!important}
 .lesson-card .choice{border-color:#d9e8db!important}
 .lesson-card .choice.selected{border-color:#287A45!important;background:#eff9ef!important}
 .choice .number{background:#e3f2e5;color:#1D5D35;border-color:#b9d4bf}
 .choice.selected .number{background:#287A45!important;color:#fff!important}
 .build-intro{background:#287A45!important}.panel{border-top-color:#1D5D35!important}
 .panel h3{color:#1D5D35!important}
 .check-unit input,.check-option input{accent-color:#287A45}
 .preview-tools{background:#17392a!important}
 .passage{background:#f2f8f2!important;border-left-color:#76ad89!important}
 .passage-card{background:#f2f8f2!important;border-left-color:#76ad89!important}
 .solution-step-label,.model-answer span{color:#287A45!important}
 .selfcheck-list svg{color:#287A45}
 .feedback:not(.is-review){border-top-color:#287A45!important}
}
