@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{--bg:#f5f4ef;--paper:#fffefa;--ink:#21372e;--green:#285847;--muted:#7b8278;--line:#dedfd4;--soft:#e9eee4;--red:#aa473a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans KR',Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:12px 18px;background:var(--paper);color:var(--ink);font-weight:600}button:hover{border-color:var(--green);background:var(--soft)}button:focus-visible,a:focus-visible{outline:3px solid #c5a759;outline-offset:4px}button:disabled{opacity:.45;cursor:default}.primary{background:var(--green);border-color:var(--green);color:white}.primary:hover{background:#173d30}.plain{background:transparent;border:0}.small{padding:8px 12px;font-size:12px}header{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 5.5%}header a{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-size:18px;letter-spacing:-.8px}.seal{background:var(--green);color:#f7f2db;font-family:serif;font-size:22px;width:36px;height:38px;display:grid;place-items:center;border-radius:4px}.header-note{color:var(--muted);font-size:12px;flex:1}.header-note b{font-weight:500;color:var(--ink);border-left:1px solid #ccc;margin-left:12px;padding-left:12px}main{max-width:1160px;margin:auto;padding:48px 24px 70px}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);font-weight:700}.hero{display:grid;grid-template-columns:1.45fr 1fr;gap:50px;margin-bottom:34px}.hero h1{font-size:46px;letter-spacing:-2.5px;line-height:1.35;margin:14px 0 16px;font-weight:500}.hero h1 strong{font-weight:800}.hero p{color:#747d70;line-height:1.9}.range{display:inline-flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:100px;padding:7px 12px;font-size:11px}.range i{width:6px;height:6px;background:#6f8a4b;border-radius:100%}.summary{background:#e9ede3;border-radius:12px;padding:28px 30px;align-self:center;position:relative;overflow:hidden}.summary:after{content:'史';position:absolute;right:-10px;bottom:-45px;font-family:serif;font-size:170px;opacity:.035}.summary-top{display:flex;justify-content:space-between}.summary .number{font-size:52px;font-weight:500;letter-spacing:-2px;margin:14px 0 8px}.number small{font-size:16px;letter-spacing:0;color:var(--muted)}.bar{height:5px;background:#d7dfd0;border-radius:9px;overflow:hidden}.bar span{display:block;height:100%;background:var(--green)}.summary-bottom{display:flex;justify-content:space-between;margin-top:16px;font-size:12px;color:#687565}.actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:43px}.action{display:block;text-align:left;border-radius:10px;padding:22px}.action .label{display:flex;justify-content:space-between;font-size:16px;margin-bottom:7px}.action p{font-size:12px;font-weight:400;color:var(--muted);margin:0}.action.primary p{color:#cbd8ce}.action .arrow{font-size:20px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:0 0 18px}.section-head h2{font-size:21px;margin:0;letter-spacing:-.7px}.section-head span{font-size:12px;color:var(--muted)}.units{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.unit{background:var(--paper);border:1px solid var(--line);border-radius:9px;padding:21px;text-align:left;min-height:156px;display:flex;flex-direction:column;gap:13px}.unit:hover{transform:translateY(-2px)}.unit-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.unit-no{font-size:12px;letter-spacing:1px;color:#4b6954}.unit h3{font-size:16px;line-height:1.5;margin:0;font-weight:600;flex:1;letter-spacing:-.5px}.unit-bottom{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px}.unit-bottom .bar{flex:1;height:3px}.source{margin-top:28px;padding:18px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.9}.source a{color:var(--green)}footer{border-top:1px solid var(--line);padding:25px 5.5%;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.study-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.study-title h1{font-size:28px;letter-spacing:-1px;margin:8px 0}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:24px}.sheet{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:34px}.q-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;margin-bottom:22px}.q-meta strong{color:var(--green);font-size:14px}.sentence{font-size:20px;line-height:2.2;letter-spacing:-.5px;word-break:keep-all;min-height:125px}.blank{display:inline-block;background:#edf0e7;padding:0 12px;border-radius:5px;color:var(--green);font-size:15px;line-height:1.8;margin:0 3px;border-bottom:2px solid #789273;font-weight:700}.answer-fields{display:grid;gap:14px;margin:28px 0}.answer-row label{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.answer-row input{border:1px solid #ced5c7;background:#fff;width:100%;border-radius:6px;padding:14px;color:var(--ink);outline:none}.answer-row input:focus{border-color:var(--green);box-shadow:0 0 0 3px #e6ecd9}.answer-row input.good{border-color:#588365;background:#f0f6ec}.answer-row input.bad{border-color:#b45f4d;background:#fcf1ed}.feedback{font-size:12px;margin:7px 0;color:var(--red);line-height:1.7}.feedback.good{color:var(--green)}.sheet-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px}.sheet-actions>div{display:flex;gap:8px}.side{background:#eeeee6;padding:22px;border-radius:10px;align-self:start}.side h3{font-size:14px;margin:0 0 12px}.side p{font-size:12px;line-height:1.8;color:var(--muted)}.q-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;max-height:360px;overflow:auto}.q-grid button{padding:7px 0;font-size:11px;border-radius:4px;background:var(--paper)}.q-grid button.current{border:2px solid var(--green)}.q-grid button.done{background:#dbe6d4;color:#315d3b}.q-grid button.wrong{background:#f2ddd5;color:#9b4637}.q-grid button.filled{background:#dddace}.result-title{text-align:center;padding:12px}.result-score{font-size:76px;letter-spacing:-4px;color:var(--green)}.result-score small{font-size:20px;letter-spacing:0;color:var(--muted)}.result-stats{display:flex;justify-content:center;gap:35px;margin:16px 0 28px}.result-stats b{font-size:22px;display:block}.result-stats span{font-size:12px;color:var(--muted)}.result-actions{display:flex;justify-content:center;gap:10px;margin-bottom:36px}.review{background:var(--paper);border:1px solid var(--line);padding:20px;border-radius:8px;margin-bottom:10px}.review p{line-height:1.9}.review .correct{color:var(--green);font-size:13px}.review .incorrect{color:var(--red);font-size:13px}.help{font-size:11px;color:var(--muted);line-height:1.9;margin-top:20px}.resume{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border:1px solid #b9c7ad;background:#eef2e8;border-radius:8px;margin-bottom:24px;font-size:13px}.tag{font-size:11px;padding:5px 8px;border-radius:4px;background:#e8ede0}.empty{text-align:center;padding:40px;color:var(--muted)}#toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%);background:var(--ink);color:white;padding:13px 22px;border-radius:8px;display:none;z-index:20}.settings{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:18px}select{padding:8px;border:1px solid var(--line);background:var(--paper);border-radius:6px;color:var(--ink)}@media(max-width:850px){.hero{gap:25px}.hero h1{font-size:37px}.units{grid-template-columns:repeat(2,1fr)}.study-layout{grid-template-columns:minmax(0,1fr)}.side{order:2}.q-grid{grid-template-columns:repeat(10,1fr)}.summary{padding:24px}.header-note{display:none}header{justify-content:space-between}.sheet{padding:25px}}@media(max-width:560px){header{height:70px;padding:0 20px}main{padding:28px 18px 45px}.hero{grid-template-columns:1fr;gap:15px}.hero h1{font-size:37px;margin:12px 0}.hero p{font-size:12px}.summary{padding:20px}.summary .number{font-size:38px;margin:5px 0}.actions{gap:8px;margin-bottom:30px}.action{padding:16px 11px}.action .label{font-size:13px}.action p{font-size:10px;line-height:1.7}.action .arrow{display:none}.units{gap:9px}.unit{padding:16px;min-height:155px}.unit h3{font-size:14px}.unit-top{font-size:10px}.section-head span{font-size:10px}.section-head h2{font-size:19px}.sentence{font-size:18px}.sheet{padding:21px 18px}.study-title h1{font-size:23px}.study-top{align-items:flex-start}.q-grid{grid-template-columns:repeat(7,1fr)}footer{gap:12px;flex-direction:column}.sheet-actions button{padding:11px}.result-actions{flex-wrap:wrap}.resume{gap:10px}.settings{flex-wrap:wrap}}
.upgrade-tools{margin:-15px 0 38px}.recommend{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 25px;background:#e9ede3;border-radius:10px}.recommend h2{font-size:22px;letter-spacing:-.8px;margin:8px 0}.recommend p{font-size:12px;color:#697464;margin:0;line-height:1.8}.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.tool-grid button{text-align:left;padding:18px}.tool-grid b{display:block;font-size:13px;margin-bottom:8px}.tool-grid span{font-size:11px;font-weight:400;color:var(--muted)}em{font-style:normal;color:#8c9653}.updates{border-top:1px solid var(--line);padding:22px 0;margin-top:24px;font-size:13px}.updates summary{cursor:pointer;font-weight:600}.updates summary span{float:right;font-size:11px;color:var(--muted)}.updates li{color:#6d7768;line-height:2.1;font-size:12px}.record-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.file-label{position:relative;background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:8px 12px;color:var(--ink);cursor:pointer}.file-label input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.setup-card{max-width:620px;margin:10px auto;padding:34px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.setup-card h1{font-size:34px;letter-spacing:-1px}.setup-card p{line-height:1.9;color:var(--muted)}.setup-card label{display:block;margin:22px 0 8px;font-weight:600}.setup-card select{width:100%;padding:14px}.flash{max-width:800px;margin:0 auto}.card-cover{padding:40px 10px;text-align:center;font-size:13px;color:var(--muted)}.card-answer{padding:20px;background:var(--soft);border-radius:8px;margin:20px 0}.card-answer div{display:flex;gap:20px;line-height:2.2}.card-answer span{font-size:12px;color:var(--muted);flex-shrink:0}.card-answer strong{font-size:16px}.flash .sheet-actions{margin-bottom:20px}.diagnosis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.diagnosis-grid .review{margin:0}.diag-number{font-size:34px;margin:20px 0 12px}.diag-number small{font-size:11px;color:var(--muted)}.bookmark{margin-left:8px}.bookmark[aria-pressed=true]{background:var(--soft)}input[readonly]:not(.good):not(.bad){background:#eff2e8;color:#78856a}.resume{gap:12px;flex-wrap:wrap}.review[hidden]{display:none!important}@media(max-width:750px){.tool-grid{grid-template-columns:repeat(2,1fr)}.diagnosis-grid{grid-template-columns:repeat(2,1fr)}.recommend{align-items:flex-start;flex-direction:column;gap:16px}.recommend button{width:100%}.q-meta{gap:12px;flex-wrap:wrap}}@media(max-width:460px){.diagnosis-grid{grid-template-columns:1fr}.setup-card{padding:22px}.tool-grid button{padding:15px 12px}.updates summary span{float:none;display:block;margin-top:8px}}@media print{body{background:white;color:black}header,footer,.result-actions,.settings,.sheet-actions,#toast{display:none!important}main{padding:0;max-width:none}.review{break-inside:avoid;border:1px solid #bbb}.result-title{padding:0}.result-title h1{font-size:24px}.result-score{font-size:36px}.result-stats{margin:6px}.blank{border:1px solid #bbb;background:white}.review .incorrect,.review .correct{color:black}}
.new-questions{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px;border:1px solid #b8c6ac;border-radius:10px;background:#fffefa;margin:-14px 0 30px}.new-questions h2{font-size:24px;letter-spacing:-1px;margin:8px 0}.new-questions p{font-size:12px;color:#697464;line-height:1.8;margin:0}@media(max-width:650px){.new-questions{flex-direction:column;align-items:flex-start}.new-questions button{width:100%}.new-questions h2{font-size:21px}}
.actions{grid-template-columns:repeat(4,1fr)}.concept-intro{display:grid;grid-template-columns:1.4fr 1fr;gap:50px;margin-bottom:38px;align-items:center}.concept-intro h1{font-size:44px;line-height:1.4;letter-spacing:-2px;margin:15px 0}.concept-intro p{color:#6d7869;line-height:1.9}.reading-progress{padding:28px;border-radius:12px;background:var(--soft);display:grid;gap:15px}.reading-progress strong{font-size:45px;font-weight:500}.reading-progress small{font-size:18px;color:var(--muted)}.reading-progress>span,.reading-progress p{font-size:12px;margin:0}.concept-search{display:flex;align-items:center;gap:15px;padding-bottom:22px}.concept-search label{font-weight:600;white-space:nowrap}.concept-search input{flex:1;min-width:0;border:1px solid var(--line);padding:13px;border-radius:7px;background:var(--paper);color:var(--ink)}.concept-search>span{font-size:12px;color:var(--muted);white-space:nowrap}.concept-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.concept-tile{text-align:left;padding:24px;display:flex;flex-direction:column;gap:12px;min-height:210px}.concept-tile h2{font-size:19px;line-height:1.5;margin:0;letter-spacing:-.6px}.concept-tile p{font-size:13px;font-weight:400;line-height:1.8;color:var(--muted);margin:0;flex:1}.concept-tile-bottom{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding-top:15px;border-top:1px solid var(--line)}.concept-tile-bottom span{color:var(--muted)}.concept-tile-bottom b{font-size:12px;white-space:nowrap}.reader-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.reader-top span{font-size:12px;color:var(--muted)}.reader-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px}.reader-nav{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:22px}.reader-nav>.eyebrow{padding:12px}.reader-nav button{display:flex;align-items:baseline;gap:10px;text-align:left;border-color:transparent;background:transparent;font-size:12px;font-weight:500;padding:12px 10px;line-height:1.6}.reader-nav button span{color:var(--muted);font-size:10px}.reader-nav button.active{background:#e2eadc;color:#224a35;font-weight:700}.lesson{padding:38px 40px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.lesson-heading{padding-bottom:25px;border-bottom:1px solid var(--line)}.lesson-heading h1{font-size:31px;line-height:1.5;letter-spacing:-1.3px;margin:12px 0}.lesson-heading p{font-size:14px;line-height:1.9;color:var(--muted);margin:0}.reading-guide{display:grid;gap:7px;font-size:12px;line-height:1.8;padding:18px;background:#f0f2e9;border-radius:7px;margin:25px 0}.reading-guide span{color:#76816f}.lesson-section{display:flex;gap:20px;margin:32px 0}.section-number{font-size:12px;color:#8b9c7a;font-weight:700;padding-top:4px}.lesson-section h2,.lesson-block h2{font-size:20px;line-height:1.6;letter-spacing:-.5px;margin:0 0 12px}.lesson-section p{font-size:16px;line-height:2.05;word-break:keep-all;margin:0;color:#354438}.lesson-block{margin:35px 0}.table-scroll{overflow-x:auto;max-width:100%}.concept-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.8;text-align:left}.concept-table th,.concept-table td{border-bottom:1px solid var(--line);padding:13px 14px;vertical-align:top;min-width:90px}.concept-table thead{background:#e9eee2}.concept-table tbody th{font-weight:600;background:#f5f6f0}.concept-timeline{list-style:none;margin:20px 0;padding:0}.concept-timeline li{display:grid;grid-template-columns:120px 1fr;gap:18px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.8}.concept-timeline strong{color:var(--green);font-size:13px}.concept-trap{background:#f5f0df;border-left:3px solid #b7a05e;padding:22px;border-radius:0 7px 7px 0}.concept-trap .eyebrow{color:#8c7436;letter-spacing:1px}.concept-trap p{margin:12px 0 0;line-height:1.95;font-size:14px}.muted{font-size:12px;color:var(--muted);line-height:1.8}.concept-check{border:1px solid var(--line);border-radius:7px;padding:17px 18px;margin:10px 0}.concept-check summary{cursor:pointer;font-size:14px;line-height:1.9;font-weight:600}.concept-check summary span{color:#859571;font-size:11px;margin-right:8px}.concept-check p{background:var(--soft);border-radius:5px;padding:15px;margin:14px 0 0;line-height:1.9;font-size:14px}.lesson-finish{display:flex;flex-direction:column;gap:14px;margin-top:35px;padding-top:25px;border-top:1px solid var(--line)}.lesson-finish>div{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.lesson-finish span{font-size:11px;color:var(--muted)}.lesson-pagination{display:flex;justify-content:space-between;margin-top:20px}.lesson .source{font-size:11px;margin-bottom:0}.new-questions{margin-top:0}@media(max-width:950px){.reader-layout{grid-template-columns:1fr}.reader-nav{position:static;display:none}.concept-grid{grid-template-columns:repeat(2,1fr)}.lesson{padding:30px}.actions{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){#conceptNav{padding:8px;font-size:12px}header{gap:8px}header a{font-size:15px;gap:7px}#homeBtn{font-size:11px;padding:8px}.concept-intro{grid-template-columns:1fr;gap:15px}.concept-intro h1{font-size:34px}.reading-progress{padding:20px}.reading-progress strong{font-size:32px}.concept-search{flex-wrap:wrap;gap:9px}.concept-search label{width:100%;font-size:12px}.concept-grid{grid-template-columns:1fr}.concept-tile{min-height:185px;padding:22px}.lesson{padding:23px 19px}.lesson-heading h1{font-size:25px}.lesson-section{gap:10px}.lesson-section p{font-size:15px;line-height:2}.lesson-section h2,.lesson-block h2{font-size:18px}.concept-timeline li{grid-template-columns:90px 1fr;gap:12px;font-size:13px}.concept-table{font-size:12px}.concept-table td,.concept-table th{padding:12px 9px}.lesson-finish button{width:100%}.lesson-pagination button{font-size:12px}}
