/* Exact shared Korean UI CSS is preserved unchanged in styles.css. All social changes live here. */
:root{--blue:#AC512F;--blue-focus:#AC512F;--ink:#2C302F;--sub:#65706C;--hair:#E9E0D9;--parchment:#FCF7F3;--pearl:#FCF7F3}
.pill:hover:not(:disabled).primary{background:#81381E}
.choice.selected,.step-tab.current{background:#FFF3EC}
.ink-em{color:#AC512F}.ink-warning{color:#895A1B}.ink-reason{color:#315B78}.ink-answer{color:#81381E}
.course-picker{background:linear-gradient(165deg,#FCF7F3 0%,#F9ECE1 55%,#FFF9F5 100%)}
.course-picker:before{content:'READ · QUESTION · DISCOVER';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:#AC512F!important}
.brand-book{background:#AC512F!important}.picker-step{background:#AC512F!important;color:white!important}
.grade-tab.active,.course-picker .grade-tab.active,.semester-tab.active,.course-picker .semester-tab.active{background:#AC512F!important;border-color:#AC512F!important;color:white!important;box-shadow:0 5px 14px rgba(40,122,69,.18)!important}
.grade-tab,.semester-tab{border-color:#DBB7A5!important}
.pill.primary,.course-picker .pill.primary{background:#AC512F!important;border-color:#AC512F!important;color:white!important;box-shadow:0 5px 0 #81381E19!important}
.pill.primary:hover:not(:disabled){background:#81381E!important}.pill.outline{border-color:#AC512F!important;color:#AC512F!important}.picker-start{background:#AC512F!important;color:white!important}
.picker-bottom{background:#33231F!important}
.art-book{border-color:#C37D59!important}.art-talk{border-color:#DBAC8D!important}.art-pencil{border-color:#AC512F!important}.hero-spark{color:#AC512F!important}
.step-tab.current,.unit-item.active{color:#AC512F!important;border-color:#8dbf9e!important}.edition-header{background:#33231F!important}
.progressbar>div{background:#AC512F!important}.nav-course-shortcut{color:#AC512F!important;background:#FCF2EC!important;border-color:#DBB7A5!important}
.social-figure .social-head{align-items:center;gap:14px}
.social-figure-icon{width:82px;height:90px;flex:none;display:grid;place-items:center;border-radius:13px;background:#F7E8DE;color:#AC512F}
.social-figure-icon svg{width:80px;height:85px}
.social-figure-domain{display:block;font-size:12px;color:#5e7564;margin-top:6px}
.social-fact-flow{display:grid;gap:11px;margin:16px 0}.social-fact{padding:13px 15px;border-left:3px solid #7caf8b;background:white;display:grid;gap:4px}
.social-fact span{color:#597562;font-size:12px;font-weight:650}.social-fact strong{font-size:14px;font-weight:550;line-height:1.62;color:#20372b;word-break:keep-all}
.social-figure figcaption b{font-weight:500}
.social-lab{border-top:1px solid #E9E0D9;margin:25px 0 18px;padding:24px 3px 2px;break-inside:avoid}
.social-lab-head h4{font-size:21px;letter-spacing:-.03em;margin:5px 0 6px}.social-lab-head p{font-size:14px;color:#5c7062;line-height:1.65;margin:0 0 16px}
.social-lab-eyebrow{display:inline-block;font-size:12px;color:#315B78;font-weight:700;letter-spacing:.04em}
.social-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.social-option{border:1px solid #D5B9A7;background:white;color:#522F24;border-radius:11px;padding:11px 14px;min-height:44px;min-width:88px;font-size:14px;font-weight:650}.social-option.on{background:#AC512F;color:white;border-color:#AC512F}
.social-sim{display:block;width:100%;max-width:100%;height:auto;border-radius:12px;border:1px solid #dde8dc;background:#FFFCF8}
.social-observation{padding:16px 17px;border-radius:11px;background:#eff7f0;border-left:3px solid #AC512F;margin-top:12px;display:grid;gap:5px;line-height:1.6;color:#233e2f}
.social-observation b{font-size:12px;color:#315B78}.social-observation strong{font-size:17px}.social-observation p{margin:2px 0;font-size:14px}.social-observation small{font-size:12px;color:#6a6259;line-height:1.55}
.social-classify{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0}.social-classify>div{border:1px solid #E9E0D9;border-radius:11px;padding:15px 10px;background:#f7faf7;display:grid;gap:8px;text-align:center}.social-classify b{color:#81381E}.social-classify span{font-size:13px;word-break:keep-all}
.social-two-choices{display:grid;gap:10px}.social-two-choices label{font-size:13px;font-weight:700;display:block;margin-bottom:8px}
.social-lab-links{font-size:13px;margin:13px 0 0;color:#69766b;line-height:1.6}
@media(max-width:740px){.social-figure-icon{width:64px;height:67px}.social-figure-icon svg{width:59px;height:60px}.social-classify{grid-template-columns:1fr}.social-classify>div{text-align:left}.social-option{flex:1 1 auto}.social-lab{padding-top:20px}}
@media print{
 .social-lab{display:none!important}
 .social-fact{break-inside:avoid}
 .social-figure-icon,.social-fact-flow{background:white!important}
 .ink-em,.ink-key,.ink-question,.ink-answer{color:#AC512F!important;text-decoration-color:#AC512F!important}
 .ink-warning{color:#895A1B!important}.ink-reason{color:#315B78!important}
 .print-solution-intro{color:#344b38!important}.answer-title{border-bottom-color:#AC512F!important}
}

/* Subject palette overrides for fixed-color accents in original Korean CSS, geometry unchanged. */
.hero.edition-header{background:#33231F!important}
.hero.edition-header:after{color:#E5AE90!important}
.edition-header .eyebrow,.edition-header .edition-progress-label,.edition-header .edition-overall{color:#F0DAD0!important}
.edition-header .edition-subtitle,.edition-header .edition-stats strong{color:#F4C4A8!important}
.edition-header .edition-stats strong small{color:#F2E8E2!important}
.sidebar{background:#FCF7F3!important;border-color:#E9E0D9!important}
.unit-item.active{border-color:#D6A98F!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:#AC512F!important}
@media print {.hero.edition-header{background:#33231F!important}.sidebar{display:none!important}}

@media screen {
 .sidebar .side-heading,.lesson-meta,.stage-kicker,.deep-subhead,.deep-subhead .section-num{color:#AC512F!important}
 .sidebar .unit-index{background:#F1E0D4!important;color:#81381E!important}
 .sidebar .unit-item.active .unit-index{background:#AC512F!important;color:#fff!important}
 .sidebar .unit-item.active{color:#81381E!important}
 .lesson-top{border-bottom-color:#dbe7da!important}
 .lesson-title,.qprompt{color:#2C302F!important}
 .deep-subhead{border-top-color:#dce9dc!important}
 .lesson-card .choice{border-color:#d9e8db!important}
 .lesson-card .choice.selected{border-color:#AC512F!important;background:#FCF1EA!important}
 .choice .number{background:#F3E4DB;color:#81381E;border-color:#DEC0AF}
 .choice.selected .number{background:#AC512F!important;color:#fff!important}
 .build-intro{background:#AC512F!important}.panel{border-top-color:#81381E!important}
 .panel h3{color:#81381E!important}
 .check-unit input,.check-option input{accent-color:#AC512F}
 .preview-tools{background:#33231F!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:#AC512F!important}
 .selfcheck-list svg{color:#AC512F}
 .feedback:not(.is-review){border-top-color:#AC512F!important}
}

.social-figure .social-head{align-items:center}.social-figure-icon{font-size:44px!important;display:grid;place-items:center}.social-question-figure{max-width:620px;margin:10px 0 14px;break-inside:avoid}.social-question-figure .social-sim{max-width:100%}.social-map-legend{font-size:12px;color:#555;line-height:1.6}.social-figure .social-sim{width:100%;max-width:100%;max-height:260px;margin:14px 0 7px}.social-figure .social-fact-flow{margin-top:18px}.social-lab .social-sim{max-height:330px}.social-figure figcaption b{font-weight:600}.social-observation{background:#FCF7F3!important}.social-lab-links{color:#65706C!important}@media print{.social-question-figure{break-inside:avoid}.social-question-figure .social-sim{max-height:200px;background:#fff!important}.social-sim text{fill:#000!important}.social-figure .social-sim{max-height:180px}.social-lab{display:none!important}}
