/* Local, lightweight book covers and responsive beginner reference pages. */
:root{--book-en:#407d7c;--book-es:#ae6546;--book-sk:#556eae;--book-fr:#8269a8;--book-ar:#9e7b30;--book-de:#59745c}
.library-hero h1,.book-intro h1,.book-about-heading h1{letter-spacing:-.045em}
.language-folder-grid .language-folder{padding:24px;min-height:176px;gap:22px;border:1px solid #ffffffdb;box-shadow:0 12px 35px #142d3a17;align-items:center}
.book-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;flex:none;width:88px;height:116px;padding:13px 12px 12px 17px;border-radius:3px 9px 9px 3px;color:white;background:linear-gradient(110deg,#ffffff10,#ffffff05 12%,#ffffff30 13%,#0000 17%),linear-gradient(150deg,color-mix(in srgb,var(--book-accent,#407d7c),#fff 14%),var(--book-accent,#407d7c));box-shadow:inset 2px 0 2px #ffffff70,inset -1px 0 #ffffff55,5px 6px 0 -2px #ecede2,6px 7px 0 -2px #a5ada8,9px 12px 18px #173a3b25;overflow:hidden;text-align:left}
.book-cover:after{content:'';position:absolute;width:95px;height:95px;border:1px solid #ffffff35;border-radius:50%;right:-30px;bottom:-25px;z-index:-1;box-shadow:0 0 0 12px #ffffff0b,0 0 0 25px #ffffff08}
.book-cover>span{font-size:6px;letter-spacing:.2em;font-weight:700;color:#ffffffe0}.book-cover>b{font-size:12px;font-weight:700;overflow-wrap:anywhere;line-height:1.3}.book-cover>i{font-size:8px;font-style:normal;font-weight:600;letter-spacing:.2em}
.folder-copy{min-width:0}.folder-copy strong{font-size:20px!important;letter-spacing:-.03em}.folder-copy em{line-height:1.5}.language-folder .folder-arrow{margin-left:auto}.language-folder{--book-accent:var(--book-en)}
.book-intro{display:flex;align-items:center;gap:34px;padding:36px;margin:8px 0 28px;background:linear-gradient(130deg,#fffffff4,#f1fafae8);border:1px solid #fff;border-radius:26px;box-shadow:0 12px 35px #18364318}
.book-cover.large{width:128px;height:168px;padding:20px 18px 18px 25px}.book-cover.large>span{font-size:9px}.book-cover.large>b{font-size:18px}.book-cover.large>i{font-size:11px}
.book-intro h1,.book-about-heading h1{font-size:clamp(28px,3vw,42px);line-height:1.2;margin:9px 0 12px}.book-intro p{font-size:15px;color:#607d85;margin:0 0 16px}.book-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#688087;font-size:12px}.book-meta i{width:4px;height:4px;border-radius:50%;background:#a0b5b8}
.book-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:26px}.book-choice{display:flex;align-items:flex-start;text-align:left;gap:18px;padding:30px;border:1px solid #ffffffed;border-radius:24px;background:linear-gradient(135deg,#fffffff7,#f0f8f7ed);box-shadow:0 12px 35px #163f451a;color:#274c57;transition:transform .2s,box-shadow .2s}.book-choice:hover{transform:translateY(-3px);box-shadow:0 16px 35px #15394228}.book-choice:active{transform:scale(.985)}.book-choice>span:nth-child(2){min-width:0}.book-choice small{display:block;font-size:9px;letter-spacing:.12em;color:#718d94;font-weight:700;line-height:1.6}.book-choice strong{display:block;font-size:22px;letter-spacing:-.025em;margin:10px 0}.book-choice p{font-size:13px;line-height:1.7;color:#68828a;margin:0}.book-choice>i{align-self:center;margin-left:auto}.book-choice>i .ui-icon{width:18px;height:18px}.book-choice-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;flex:none;background:#e2eeeb;color:#4d7776}.book-choice-icon .ui-icon{width:23px;height:23px}
.book-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 24px}.book-tabs button,.book-jump a,.book-number-filters button{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:1px solid #c5d9de90;border-radius:12px;background:#f8fcfbdc;color:#57737c;font-size:12px;font-weight:650;text-decoration:none;line-height:1.4}.book-tabs button.active,.book-number-filters button.active{background:#315d69;color:#fff;border-color:#315d69}.book-tabs .ui-icon{width:16px;height:16px}.book-tabs button:first-child{padding:10px}.book-tabs button:first-child span{font-size:11px}
.book-about-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:10px 0 26px}.book-about-heading p{font-size:18px;margin:0;color:#4d717a}.book-about-heading p>span{font-size:13px;color:#7b9298}.book-greeting{display:flex;flex-direction:column;align-items:flex-end;gap:4px;background:#f6fbf9dd;border:1px solid #fff;padding:18px 24px;border-radius:18px;min-width:140px}.book-greeting strong{font-size:25px;color:#315f68}.book-greeting>span{font-size:12px;color:#6c858d}.book-greeting small{font-size:10px;color:#8b9da1}.book-jump{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.book-jump a{background:#f9fcf5e6;padding:8px 13px;font-size:11px}
.book-section{background:linear-gradient(135deg,#fffffffa,#f6faf9f2);border:1px solid #fff;border-radius:23px;box-shadow:0 10px 30px #183c4412;padding:28px;margin-bottom:22px;scroll-margin-top:18px;min-width:0}.book-section-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px}.book-section h2{margin:0;font-size:19px;letter-spacing:-.025em;line-height:1.4;color:#2b515b}.book-section-heading p{font-size:12px;line-height:1.7;margin:6px 0 0;color:#71868b;max-width:850px}.book-section-icon{display:grid;place-items:center;background:#e8f1ec;color:#62817a;width:36px;height:36px;border-radius:11px;flex:none}.book-section-icon .ui-icon{width:18px;height:18px}.book-123{font-size:10px;font-weight:800}.book-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.book-story-number{font-size:11px;font-weight:700;color:#a3b6b4}.book-story-grid h3{font-size:15px;margin:9px 0 10px;color:#40636b}.book-story-grid p,.book-pronunciation p,.book-pronunciation li,.book-usage,.book-sources p{font-size:12px;line-height:1.85;color:#6a8188;margin:0}.book-pronunciation .book-section-heading{margin-bottom:12px}.book-pronunciation ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:20px 0 0;list-style:none}.book-pronunciation li{padding-left:12px;border-left:2px solid #c1d8d0}
.book-number-filters{display:flex;gap:7px;margin-bottom:18px;flex-wrap:wrap}.book-number-filters button{padding:7px 13px;font-size:11px}.book-number-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.book-number{display:flex;align-items:flex-start;gap:12px;padding:16px 13px;min-width:0;background:#f0f6f3b0;border:1px solid #dfebe59c;border-radius:13px}.number-digit{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:8px;color:#568579;background:#e2ede6;font-size:12px;line-height:1.2}.book-number>div{min-width:0}.book-number strong{display:block;color:#345c66;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.book-entry-hint{display:block;color:#8a7c69;font-size:10px;line-height:1.6;overflow-wrap:anywhere}.book-number small{display:block;font-size:10px;color:#87999c;line-height:1.7;overflow-wrap:anywhere}.book-calendar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.book-calendar-grid.weekdays{grid-template-columns:repeat(4,minmax(0,1fr))}.book-entry{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:17px;background:#f0f6f3b0;border:1px solid #dfebe59c;border-radius:13px;min-width:0}.book-entry-english{font-size:10px;letter-spacing:.02em;color:#91a29f}.book-entry strong{font-size:16px;color:#345c66;line-height:1.5;overflow-wrap:anywhere}.book-entry [lang=ar],.book-number [lang=ar]{font-size:21px;line-height:1.7}.book-usage{margin-top:20px;padding:15px;border-left:2px solid #b9d2c6;background:#edf5f033;border-radius:0 10px 10px 0}.book-sources{padding:10px 4px;color:#70878d;font-size:11px;margin-bottom:20px}.book-sources summary{cursor:pointer;font-weight:650}.book-sources p{margin:14px 0;max-width:800px}.book-sources a{display:flex;gap:9px;align-items:center;width:fit-content;max-width:100%;margin:10px 0;color:#547e80;text-decoration:underline}.book-sources .ui-icon{width:12px;height:12px;flex:none}.book-next{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0}.book-next>span{font-size:14px;font-weight:600;color:#365d65}
.book-choice:focus-visible,.language-folder:focus-visible,.book-tabs button:focus-visible,.book-jump a:focus-visible,.book-number-filters button:focus-visible{outline:3px solid #709e9a;outline-offset:4px}
@media(min-width:1600px){.book-number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.book-calendar-grid.weekdays{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1100px){.book-choices{gap:14px}.book-choice{padding:24px;gap:14px}.book-choice-icon{width:38px;height:38px}.book-choice strong{font-size:19px}.book-number-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-calendar-grid,.book-calendar-grid.weekdays{grid-template-columns:repeat(3,minmax(0,1fr))}.book-story-grid,.book-pronunciation ul{gap:20px}.language-folder-grid .language-folder{padding:20px;gap:20px}}
@media(max-width:720px){.book-intro{padding:24px;gap:24px;border-radius:21px}.book-cover.large{width:90px;height:122px;padding:14px 12px 13px 17px}.book-cover.large>span{font-size:6px}.book-cover.large>b{font-size:13px}.book-cover.large>i{font-size:8px}.book-intro h1{font-size:29px}.book-intro p{font-size:12px;line-height:1.7}.book-intro .eyebrow{font-size:8px}.book-meta{font-size:10px;gap:7px}.book-choices{grid-template-columns:1fr}.book-choice{align-items:center}.book-choice strong{margin:6px 0}.book-story-grid{grid-template-columns:1fr;gap:20px}.book-story-grid article{border-bottom:1px solid #d9e4e3;padding-bottom:18px}.book-story-grid article:last-child{border-bottom:0;padding-bottom:0}.book-pronunciation ul{grid-template-columns:1fr;gap:14px}.book-about-heading{align-items:flex-start;gap:12px}.book-greeting{min-width:100px;padding:15px}.book-greeting strong{font-size:22px}.book-section{padding:22px}.book-number-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-calendar-grid,.book-calendar-grid.weekdays{grid-template-columns:repeat(2,minmax(0,1fr))}.book-number{padding:13px 10px;gap:9px}.number-digit{width:23px;height:24px;font-size:10px}.book-number strong{font-size:13px}.book-tabs{gap:6px}.book-tabs button{padding:10px 12px;font-size:11px}.book-about-heading .eyebrow{font-size:8px}.book-about-heading h1{font-size:28px}.book-about-heading p{font-size:14px}.book-about-heading p span{font-size:11px}.book-next>span{font-size:12px}.book-next .btn{font-size:12px;padding:13px}}
@media(max-width:390px){.book-intro{padding:20px;gap:20px}.book-intro h1{font-size:25px}.book-cover.large{width:75px;height:105px}.book-cover.large>b{font-size:11px}.book-intro .book-meta i{display:none}.book-meta{display:block}.book-intro p{margin-bottom:10px}.book-section{padding:17px}.book-number{gap:7px;padding:12px 8px}.book-entry-hint{font-size:9px}.book-number strong{font-size:12px}.book-number [lang=ar]{font-size:18px}.book-greeting{min-width:83px;padding:12px}.book-greeting strong{font-size:19px}.book-choice{padding:22px 18px;gap:12px}.book-choice small{font-size:8px}.book-choice-icon{width:33px;height:36px}.book-tabs button:first-child span{display:none}.book-about-heading h1{font-size:25px}.language-folder-grid .language-folder{padding:19px}.folder-copy strong{font-size:19px!important}}
@media(max-width:720px){.book-number strong{font-size:14px}.book-entry-hint{font-size:11px}.book-number small{font-size:10px}.book-number .number-digit{font-size:11px}.book-entry [lang=ar],.book-number [lang=ar]{font-size:20px}}
.base-word-meaning{display:flex;flex-direction:column;gap:4px;border-left:2px solid #bfd6c9;padding:9px 12px;margin:12px 0;color:#71888a;font-size:12px;line-height:1.7}.base-word-meaning>b{color:#527879}.sense-reading{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:10px 0;color:#6f837f}.sense-reading>span{font-size:12px;color:#8d806f}.sense-reading>[lang=ar]{font-size:23px}.sense-credit{display:block;margin-top:10px;color:#8b9b9d;font-size:10px}.dictionary-sense p{overflow-wrap:anywhere}
.book-cover[data-cover=sk]>b{font-size:9.5px;white-space:nowrap;letter-spacing:-.03em}.book-cover.large[data-cover=sk]>b{font-size:15px}.book-about-heading{padding:24px;margin-bottom:20px;border:1px solid #fff;border-radius:23px;background:linear-gradient(135deg,#ffffffed,#f1f8f4ed);box-shadow:0 9px 25px #183b4212}.book-about-heading .eyebrow{color:#6b8b8f}.book-greeting{border-color:#d5e3dce0}
@media(max-width:720px){.book-about-heading{padding:20px}.book-cover.large[data-cover=sk]>b{font-size:10.5px}}
@media(max-width:390px){.book-about-heading{padding:17px}.book-cover.large[data-cover=sk]>b{font-size:8.5px}}
@media(prefers-reduced-motion:reduce){.book-choice{transition:none}.book-choice:hover{transform:none}}
