/* Isbot CEFR 0.2 learning spaces. */
.sidebar nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:4px;padding:0 3px 4px 0;scrollbar-width:thin;scrollbar-color:#658578 transparent}
.sidebar .nav-item{padding:10px 12px;font-size:12px;flex-shrink:0;min-height:40px}
.sidebar .nav-item .icon{width:19px;height:19px}
.sidebar .side-caption{margin-bottom:21px}
.sidebar .side-bottom{flex-shrink:0;padding-top:20px}
.sidebar .side-bottom .leaf{font-size:37px}
.sidebar .side-bottom strong{font-size:21px}
.sidebar .side-bottom p{margin-bottom:17px}
.learning-grid,.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.learning-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:24px;min-width:0;min-height:190px;transition:transform .18s,border-color .18s,box-shadow .18s;text-decoration:none}
.learning-card:hover{transform:translateY(-3px);border-color:#a5ba95;box-shadow:var(--shadow)}
.learning-card .icon{color:#5c7d57;width:25px;height:25px;margin-bottom:20px}
.learning-card h3{font-size:17px;margin:0 0 8px;letter-spacing:-.3px}
.learning-card p{font-size:12px;color:#637560;line-height:1.7;margin:0 0 19px}
.learning-card .btn,.learning-card .text-btn,.learning-card .tag{margin-top:auto}
.learning-number{position:absolute;top:23px;right:24px;color:#7b8d73;font-size:11px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.learning-card .learning-number .icon{width:17px;height:17px;margin:0}
.hub-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;border-radius:15px;background:#e8eedc;border:1px solid #d9e3c9;margin:23px 0}
.hub-banner h2,.hub-banner h3{margin-bottom:5px}
.hub-banner p{margin:0;color:#5e7256;font-size:12px;max-width:650px}
.hub-banner .btn{flex-shrink:0}
.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:21px 0}
.section-toolbar h2,.section-toolbar p{margin-bottom:0}
.filter-row{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.filter-row .tab{margin:0;min-height:36px}
.book-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:16px;min-width:0;display:flex;flex-direction:column;transition:box-shadow .18s,border-color .18s}
.book-card:hover{border-color:#b0c09d;box-shadow:var(--shadow)}
.book-cover{--cover:#1e5547;--cover-ink:#f3f2de;--cover-line:#b2cb99;position:relative;isolation:isolate;min-height:237px;overflow:hidden;border-radius:9px 13px 13px 9px;background:var(--cover);color:var(--cover-ink);padding:28px 27px 28px 33px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 6px 0 0 #00000012}
.book-cover:before{content:'';position:absolute;z-index:-1;width:145px;height:145px;border:1px solid var(--cover-line);opacity:.4;border-radius:100%;right:-32px;bottom:-31px;box-shadow:0 0 0 20px #ffffff06,0 0 0 40px #ffffff05}
.book-cover:after{content:'';position:absolute;left:14px;top:0;bottom:0;width:1px;background:#ffffff24}
.book-cover h3{font-family:Georgia,'Times New Roman',serif;font-size:27px;line-height:1.25;letter-spacing:-.5px;font-weight:400;color:inherit;max-width:220px;margin:24px 0 30px;position:relative}
.book-cover .eyebrow,.book-cover .small,.book-cover .tag{position:relative;color:inherit}
.book-cover .tag{background:#ffffff1c;align-self:flex-start;border:1px solid #ffffff24;font-size:10px}
.book-cover .book-spine{position:absolute;right:20px;bottom:20px;font-size:35px;font-family:Georgia,serif;font-style:italic;opacity:.3}
.book-card[data-tone="1"] .book-cover,.book-cover[data-tone="1"]{--cover:#526b87;--cover-line:#dae5e6;--cover-ink:#f7f3e8}
.book-card[data-tone="2"] .book-cover,.book-cover[data-tone="2"]{--cover:#b18751;--cover-line:#faf1cb;--cover-ink:#fff9e9}
.book-card[data-tone="3"] .book-cover,.book-cover[data-tone="3"]{--cover:#77705d;--cover-line:#e4e2c0;--cover-ink:#fff9e5}
.book-card[data-tone="4"] .book-cover,.book-cover[data-tone="4"]{--cover:#756582;--cover-line:#e3d8ec;--cover-ink:#fff7ed}
.book-card[data-tone="5"] .book-cover,.book-cover[data-tone="5"]{--cover:#46685c;--cover-line:#d9e6bf;--cover-ink:#fff9de}
.book-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;font-size:10px;color:#63745c;margin:15px 3px 7px}
.book-meta .icon{width:14px;height:14px;margin-right:4px}
.book-card>h3{font-size:16px;margin:9px 3px 6px}
.book-card>p{font-size:12px;color:#667460;margin:8px 3px 15px;line-height:1.75;flex:1}
.book-card>.row,.book-card>.btn{margin:6px 3px 3px}
.book-card>.btn{align-self:flex-start}
.lesson-rule{background:#fff;border:1px solid var(--line);border-radius:13px;padding:21px 23px;margin-bottom:15px}
.lesson-rule h3{font-size:15px;margin-bottom:9px}
.lesson-rule p,.lesson-rule li{font-size:13px;color:#52664d;line-height:1.85}
.lesson-rule p:last-child{margin-bottom:0}
.lesson-rule ul{padding-left:19px;margin-bottom:0}
.lesson-rule [lang="en"]{color:var(--ink)}
.lesson-rule li[lang="en"],.lesson-rule .example{font-family:Georgia,serif;font-size:16px;line-height:1.8}
.grammar-error{background:#f4eee2;border:1px solid #e6dbc7;border-radius:12px;padding:18px 20px;margin:17px 0;color:#665b45;font-size:13px;line-height:1.8}
.grammar-error p{margin:6px 0}
.grammar-error .wrong,.grammar-error del{color:#9a4a3e;text-decoration-color:#c2988a}
.grammar-error .correct,.grammar-error ins{color:#416a3e;text-decoration:none}
.phrase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.phrase-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:23px;min-width:0;display:flex;flex-direction:column}
.phrase-top{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin-bottom:12px}
.phrase-top .tag{align-self:center}
.phrase-english{font-family:Georgia,'Times New Roman',serif;font-size:23px;line-height:1.45;font-weight:400;letter-spacing:-.3px;margin:9px 0 10px;overflow-wrap:anywhere}
.phrase-card>p{font-size:12px;color:#596d54;line-height:1.75;margin-bottom:14px}
.phrase-example{font-family:Georgia,serif;font-size:16px;font-style:italic;line-height:1.7;background:#f3f5ec;border-left:2px solid #b1c699;border-radius:0 7px 7px 0;padding:12px 15px;color:#4e6349;margin:13px 0}
.phrase-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:15px}
.phrase-actions button{display:inline-flex;align-items:center;gap:6px;min-height:30px}
.phrase-actions .icon{width:16px;height:16px}
.star-button{height:34px;min-width:34px;padding:4px 8px;background:#f3f5ed;border:1px solid #e3e8d8;border-radius:9px;color:#7a8b6e;font-size:19px;line-height:1.2;flex-shrink:0}
.star-button.active{background:#e9f2d4;border-color:#b8cf8e;color:#537636}
.star-button .icon{width:18px;height:18px}
.mistake-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px 22px;margin-bottom:12px}
.mistake-row h3{font-size:14px;line-height:1.6;margin:4px 0 6px}
.mistake-row p{font-size:12px;color:#61725a;margin:5px 0;line-height:1.75}
.mistake-row .row{justify-content:flex-end}
.mistake-row .source-badge{margin-bottom:5px}
.review-card{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px}
.review-card>h3{font-size:19px;line-height:1.6}
.review-card .passage{font-size:16px;margin:15px 0}
.review-card .answer-input{margin-top:18px}
.reader-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:25px}
.reader-layout>article,.reader-layout>.reader-main{min-width:0}
.reader-text{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.95;color:#30483e;white-space:pre-line;overflow-wrap:break-word;padding:8px 4px}
.reader-text p{margin:0 0 1.3em}
.reader-text h3{font-family:inherit;font-size:26px;font-weight:400;line-height:1.4}
.reader-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 21px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.reader-tools button{min-height:34px;min-width:34px}
.reader-tools .text-btn{padding:6px 8px;border:1px solid var(--line);border-radius:7px;background:white}
.reader-tools .note{margin:0 5px 0 0}
.reader-layout aside{min-width:0}
.reader-layout aside .panel{padding:21px}
.reader-layout aside h3{font-size:15px}
.glossary-list{margin:14px 0 0;font-size:12px}
.glossary-list dl{margin:0}
.glossary-list dt{font-weight:650;color:#355c47;margin-top:13px;line-height:1.5}
.glossary-list dd{margin:3px 0 0;color:#63745c;font-size:12px;line-height:1.65;padding-bottom:11px;border-bottom:1px solid #edf0e6}
.glossary-list dd:last-child{border-bottom:0;padding-bottom:0}
.reading-note,.reading-note textarea{display:block;width:100%;background:white;border:1px solid #d6dfcc;border-radius:10px;min-height:140px;padding:13px 15px;resize:vertical;color:var(--ink);font-size:13px;line-height:1.85}
label.reading-note{padding:0;background:none;border:0}
label.reading-note textarea{margin-top:9px}
.exam-hero{background:#e5edd8;border:1px solid #d3dfc1;border-radius:18px;padding:29px 31px;margin:22px 0;color:#244d3b}
.exam-hero h2{font-family:Georgia,serif;font-size:29px;line-height:1.3;font-weight:400;margin:10px 0 12px;letter-spacing:-.4px}
.exam-hero p{font-size:13px;color:#526e46;max-width:680px;line-height:1.8;margin-bottom:18px}
.exam-hero .eyebrow{color:#587446}
.exam-components{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:19px 0 24px}
.exam-components>div,.exam-components>article{border:1px solid #cfdcbd;background:#f7f9f0;border-radius:10px;padding:15px 17px;min-width:0}
.exam-components strong{display:block;font-weight:600;font-size:13px;margin-bottom:4px}
.exam-components p,.exam-components span{font-size:11px;color:#5b7150;margin:0}
.source-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 8px;border:1px solid #dde5d4;border-radius:5px;background:#f3f6eb;color:#566e48;font-size:10px;line-height:1.5}
.answer-input{margin:10px 0 13px}
.answer-input input,input.answer-input{width:100%;padding:12px 14px;border:1px solid #cbd8bd;border-radius:9px;background:#fff;color:var(--ink);font-size:14px;line-height:1.6;min-height:46px}
.answer-input input::placeholder,input.answer-input::placeholder{color:#8c9983}
.answer-input input:focus,input.answer-input:focus{border-color:#749958}
.answer-input.correct input,.answer-input input.correct{background:#f1f8e7;border-color:#9fbe7b}
.answer-input.wrong input,.answer-input input.wrong{background:#fff1eb;border-color:#d3a092}
.match-options{list-style:none;padding:0;margin:17px 0}
.match-options li{padding:13px 15px;border:1px solid var(--line);background:#fff;border-radius:9px;margin:8px 0;font-size:13px;line-height:1.75}
.match-options b,.match-options strong{color:#5c7a45;margin-right:7px}
.match-options select{width:100%;max-width:100%;font-size:13px;padding:10px 12px;margin-top:9px;min-height:43px;white-space:normal}
.question select{width:100%;padding:11px 13px;min-height:43px;font-size:13px;border-color:#cfdbc1}
.new-count{font-variant-numeric:tabular-nums;color:#557640}
@media(max-height:900px) and (min-width:681px){.sidebar .side-bottom{display:none}.sidebar{padding-top:28px}.sidebar .side-caption{margin-top:21px;margin-bottom:19px}}
@media(min-width:1600px){.learning-card{min-height:211px;padding:27px}.book-cover{min-height:275px}.book-cover h3{font-size:31px;max-width:260px}}
@media(max-width:1200px){.learning-grid,.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reader-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.book-cover{min-height:234px}.phrase-grid{gap:14px}.phrase-card{padding:20px}.learning-card{padding:22px}.learning-number{right:22px}.sidebar .nav-item{padding:9px 11px;font-size:11px;gap:10px}}
@media(max-width:900px){.reader-layout{grid-template-columns:1fr}.reader-layout aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reader-layout aside>.panel{margin:0}.reader-layout aside>details{margin-top:0}.reader-text{max-width:760px;margin:0 auto}.reader-tools{gap:8px}.phrase-grid{grid-template-columns:1fr}.exam-components{gap:9px}.exam-components>div,.exam-components>article{padding:14px}.hub-banner{align-items:flex-start}.hub-banner .btn{margin-top:3px}}
@media(max-width:680px){.learning-grid,.library-grid{grid-template-columns:1fr;gap:14px}.learning-card{min-height:168px;padding:21px}.learning-card .icon{margin-bottom:15px}.learning-card h3{font-size:17px}.learning-card p{font-size:12px;margin-bottom:16px}.learning-number{top:21px;right:21px}.hub-banner{padding:20px;display:block;margin:19px 0}.hub-banner .btn{margin-top:16px}.section-toolbar{margin:19px 0;gap:14px}.filter-row{gap:6px}.filter-row .tab{font-size:11px;padding:8px 11px;min-height:35px}.book-card{padding:14px}.book-cover{min-height:235px;padding:25px 29px 25px 35px}.book-cover h3{font-size:30px;max-width:240px;margin:22px 0 28px}.book-meta{font-size:10px;margin-top:14px}.book-card>p{margin-bottom:15px}.phrase-card{padding:21px 19px;border-radius:13px}.phrase-english{font-size:23px}.phrase-example{font-size:16px;padding:12px 14px}.phrase-actions{gap:14px}.star-button{height:36px;min-width:36px}.lesson-rule{padding:18px;margin-bottom:13px}.lesson-rule p,.lesson-rule li{font-size:13px}.grammar-error{padding:16px 17px;font-size:12px}.mistake-row{grid-template-columns:1fr;padding:18px;gap:11px}.mistake-row .row{justify-content:flex-start}.mistake-row .btn{padding:9px 13px}.review-card{padding:20px 17px;border-radius:13px}.review-card>h3{font-size:17px}.reader-layout{gap:20px}.reader-layout aside{display:block}.reader-layout aside>.panel+*,.reader-layout aside>details+*{margin-top:15px}.reader-text{font-size:18px;line-height:1.95;padding:0}.reader-tools{margin-bottom:17px;padding-bottom:14px;gap:7px}.reader-tools .note{font-size:10px}.reader-tools .btn{font-size:11px;padding:8px 11px}.reader-layout aside .panel{padding:19px}.reading-note,.reading-note textarea{min-height:128px}.exam-hero{padding:22px 20px;margin:19px 0}.exam-hero h2{font-size:27px}.exam-hero p{font-size:12px}.exam-components{grid-template-columns:1fr;gap:9px;margin:17px 0 20px}.exam-components>div,.exam-components>article{padding:13px 15px}.exam-components strong{font-size:12px}.source-badge{font-size:9px}.answer-input input,input.answer-input{font-size:15px;padding:12px;min-height:47px}.match-options li{padding:12px 13px;font-size:12px}.question select{font-size:13px;max-width:100%}.mobile-nav a{min-width:48px}.mobile-nav a span{line-height:1.35}}

.filter-row{margin:20px 0}.phrase-card .phrase-example{font-size:16px}.book-cover .book-spine{font:8px Inter,sans-serif;letter-spacing:1.3px;opacity:.7;left:33px;right:auto;bottom:19px}.book-cover-art{font-size:57px;line-height:1;color:var(--cover-line);align-self:flex-end;margin-right:8px;opacity:.8}.hub-symbol{font-family:Georgia,serif;font-size:72px;color:#7a9c62;white-space:nowrap;padding:0 20px}.hub-symbol span{font:40px sans-serif;margin-left:8px}.wrong-text{color:#a04d3d}.match-options>div{padding:13px 15px;border:1px solid var(--line);border-radius:9px;margin:8px 0;background:white}.match-options p{margin:4px 0 0;font-size:13px;line-height:1.7}.exam-components h3{margin-top:12px}.learning-card .row{width:100%}@media(max-width:680px){.hub-symbol{display:none}.book-cover .book-spine{font-size:8px}}
