._shell_1os4j_1 { min-height: 100vh; background: var(--theme-canvas); }
._library_1os4j_2 { max-width: 1460px; margin: auto; padding: 56px clamp(24px, 4vw, 64px) 88px; }
._intro_1os4j_3 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; margin-bottom: 42px; }
._intro_1os4j_3 h1 { font: 700 clamp(2.75rem, 4.6vw, 4.7rem)/.98 var(--font-display); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
._intro_1os4j_3 h1 span { color: var(--theme-muted); }
._intro_1os4j_3 p { color: var(--theme-muted); font-size: 1rem; line-height: 1.65; margin: 0; max-width: 42ch; }
._books_1os4j_7 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
._book_1os4j_7 { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--theme-border); background: var(--theme-surface); transition: border-color 180ms ease-out, transform 180ms ease-out; }
._book_1os4j_7:hover { border-color: var(--cobalt); transform: translateY(-5px); }
._book_1os4j_7:focus-visible { outline: 3px solid var(--theme-text); outline-offset: 5px; }
._cover_1os4j_11 { background: var(--cobalt); color: white; min-height: 276px; padding: 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
._bookLabel_1os4j_12 { font: 600 1.4rem/1 var(--font-display); }
._numeral_1os4j_13 { font: 6.75rem/1.35 var(--font-arabic); letter-spacing: 0; align-self: flex-end; color: var(--saffron); position: relative; z-index: 1; margin: 2px 4px 0 0; }
._cover_1os4j_11 h2 { font: 500 1.7rem/1.6 var(--font-arabic); letter-spacing: 0; align-self: flex-start; margin: auto 0 0; position: relative; z-index: 1; }
._signal_1os4j_15 { position: absolute; bottom: 30px; inset-inline: -6px; width: calc(100% + 12px); stroke: rgb(255 255 255 / 28%); stroke-width: 1; pointer-events: none; }
._signal_1os4j_15 path:last-child { stroke: var(--saffron); stroke-dasharray: 1 7; stroke-linecap: round; }
._book2_1os4j_17 ._cover_1os4j_11 { background: var(--ink); }
._book3_1os4j_18 ._cover_1os4j_11 { background: var(--cobalt-dark); }
._book4_1os4j_19 ._cover_1os4j_11 { background: #243546; }
._book3_1os4j_18 ._numeral_1os4j_13, ._book4_1os4j_19 ._numeral_1os4j_13 { color: white; }
._book3_1os4j_18 ._signal_1os4j_15 path:last-child, ._book4_1os4j_19 ._signal_1os4j_15 path:last-child { stroke: var(--ink-tint); }
._bookInfo_1os4j_22 { padding: 24px; display: flex; flex-direction: column; flex: 1; }
._bookInfo_1os4j_22 p { font-size: 1rem; line-height: 1.5; margin: 0 0 16px; min-height: 3em; }
._inventory_1os4j_24 { font-size: .82rem; color: var(--theme-muted); line-height: 1.6; }
._inventory_1os4j_24 span { margin: 0 3px; }
._bookInfo_1os4j_22 small { font-size: .8rem; color: var(--theme-muted); line-height: 1.6; margin: 6px 0 24px; }
._openBook_1os4j_27 { margin-top: auto; border-top: 1px solid var(--theme-border); padding-top: 18px; font-weight: 700; font-size: .9rem; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
._openBook_1os4j_27 svg, ._foundations_1os4j_28 svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }
._foundations_1os4j_28 { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px 0; margin-top: 36px; border-top: 1px solid var(--theme-border); }
._foundations_1os4j_28 > span { font: 2.8rem/1.4 var(--font-arabic); color: var(--theme-muted); }
._foundations_1os4j_28 h2 { font: 600 1.8rem/1 var(--font-display); margin: 0 0 8px; }
._foundations_1os4j_28 p { font-size: .9rem; line-height: 1.5; margin: 0; color: var(--theme-muted); }
._foundations_1os4j_28 a { min-height: 44px; display: flex; align-items: center; gap: 16px; font-size: .9rem; text-decoration: underline; text-underline-offset: 5px; }
._bookHeader_1os4j_34 { background: var(--cobalt); color: white; padding: 28px clamp(24px, 4vw, 64px) 38px; }
._back_1os4j_35 { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 5px; font-size: .9rem; }
._bookHeading_1os4j_36 { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; margin: 16px 0; }
._bookHeading_1os4j_36 h1 { font: 700 clamp(3.5rem, 6vw, 5.5rem)/1 var(--font-display); margin: 0; letter-spacing: -.02em; }
._bookHeading_1os4j_36 p { font: 2rem/1.5 var(--font-arabic); margin: 0; }
._bookHeader_1os4j_34 > p { max-width: 70ch; line-height: 1.6; color: #d6dfff; margin-bottom: 0; }
._unitsBody_1os4j_40 { max-width: 1320px; padding: 28px clamp(24px, 4vw, 64px) 80px; margin: auto; }
._bookTabs_1os4j_41 { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; }
._bookTabs_1os4j_41 a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid var(--theme-border); }
._bookTabs_1os4j_41 a[aria-current="page"] { background: var(--ink); color: white; border-color: var(--ink); }
._unitJump_1os4j_44 { border-block: 1px solid var(--theme-border); padding: 20px 0; margin-bottom: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
._unitJump_1os4j_44 span { margin-right: 12px; font-size: .9rem; }
._unitJump_1os4j_44 a { width: 44px; height: 44px; display: grid; place-items: center; background: var(--theme-surface); border: 1px solid var(--theme-border); font-variant-numeric: tabular-nums; }
._unitJump_1os4j_44 a:hover { background: var(--cobalt); color: white; }
._unitList_1os4j_48 { list-style: none; margin: 0; padding: 0; }
._unit_1os4j_40 { scroll-margin-top: 20px; display: grid; grid-template-columns: 68px 1fr auto; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--theme-border); align-items: center; }
._unitNumber_1os4j_50 { font: 600 2.5rem/1 var(--font-display); color: var(--theme-muted); }
._unit_1os4j_40 h2 { font: 600 1.85rem/1.1 var(--font-display); margin: 0 0 8px; }
._unit_1os4j_40 h2[lang="ar"] { font: 500 1.75rem/1.5 var(--font-arabic); text-align: start; letter-spacing: 0; }
._unit_1os4j_40 p { margin: 0 0 10px; color: var(--theme-muted); line-height: 1.6; font-size: .95rem; max-width: 65ch; }
._unit_1os4j_40 small { font-size: .82rem; color: var(--theme-muted); }
._unit_1os4j_40 > a { background: var(--cobalt); color: white; display: inline-flex; align-items: center; min-height: 48px; padding: 12px 20px; font-size: .9rem; font-weight: 700; }
._unit_1os4j_40 > a:hover { background: var(--cobalt-deep); }
._empty_1os4j_57 { padding: 44px 0; max-width: 64ch; }
._empty_1os4j_57 h2 { font: 600 2.6rem/1.1 var(--font-display); margin: 0 0 16px; }
._empty_1os4j_57 p { color: var(--theme-muted); line-height: 1.7; }
._empty_1os4j_57 a { display: inline-flex; min-height: 48px; align-items: center; background: var(--saffron); color: var(--ink); padding: 12px 22px; font-weight: 700; margin-top: 16px; }
@media (max-width: 1080px) { ._books_1os4j_7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } ._cover_1os4j_11 { min-height: 250px; } ._intro_1os4j_3 { gap: 30px; } }
@media (max-width: 600px) {
  ._library_1os4j_2 { padding: 32px 20px 70px; }
  ._intro_1os4j_3 { display: block; margin-bottom: 28px; }
  ._intro_1os4j_3 h1 { font-size: 2.75rem; }
  ._intro_1os4j_3 p { margin-top: 20px; }
  ._books_1os4j_7 { grid-template-columns: 1fr; gap: 24px; }
  ._cover_1os4j_11 { min-height: 220px; padding: 22px; }
  ._numeral_1os4j_13 { position: absolute; inset-inline-end: 25px; top: 18px; font-size: 7rem; }
  ._cover_1os4j_11 h2 { font-size: 2rem; }
  ._bookInfo_1os4j_22 { padding: 22px; }
  ._bookInfo_1os4j_22 p { min-height: auto; margin-bottom: 12px; }
  ._foundations_1os4j_28 { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  ._foundations_1os4j_28 > span { display: none; }
  ._bookHeader_1os4j_34 { padding: 16px 24px 28px; }
  ._bookHeading_1os4j_36 { gap: 12px; }
  ._bookHeading_1os4j_36 h1 { font-size: 3.5rem; }
  ._bookHeading_1os4j_36 p { font-size: 1.6rem; }
  ._unitsBody_1os4j_40 { padding: 24px 24px 80px; }
  ._bookTabs_1os4j_41 { gap: 6px; }
  ._bookTabs_1os4j_41 a { padding: 8px 13px; }
  ._unitJump_1os4j_44 span { flex-basis: 100%; margin-bottom: 4px; }
  ._unit_1os4j_40 { grid-template-columns: 40px 1fr; gap: 12px; padding: 24px 0; }
  ._unit_1os4j_40 > a { grid-column: 2; justify-self: start; }
  ._unitNumber_1os4j_50 { align-self: start; padding-top: 3px; font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { ._book_1os4j_7 { transition: none; } ._book_1os4j_7:hover { transform: none; } }

._bookQuickNav_1os4j_89 { display: none; }
._book_1os4j_7 { scroll-margin-top: 20px; }
@media (max-width: 600px) {
  ._bookQuickNav_1os4j_89 { display: flex; gap: 8px; justify-content: space-between; margin-bottom: 24px; }
  ._bookQuickNav_1os4j_89 a { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; border: 1px solid var(--theme-border); font-size: .875rem; }
}

/* Learning studio library. Active books lead; future books stay secondary. */
._library_1os4j_2 { max-width: 1256px; padding: 48px 28px 72px; }
._intro_1os4j_3 { display: block; margin-bottom: 32px; }
._intro_1os4j_3 h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; font-weight: 650; }
._intro_1os4j_3 p { margin-top: 14px; max-width: 58ch; font-size: .95rem; }
._books_1os4j_7 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
._book_1os4j_7 { border-radius: 14px; display: grid; grid-template-columns: 180px minmax(0, 1fr); overflow: hidden; }
._book_1os4j_7:hover { transform: none; border-color: var(--theme-link); }
._cover_1os4j_11 { background: var(--studio-blue); color: var(--theme-link); min-height: 270px; padding: 24px; }
._book2_1os4j_17 ._cover_1os4j_11 { background: var(--studio-mint); color: var(--studio-green); }
._bookLabel_1os4j_12 { font-size: .86rem; font-weight: 600; }
._numeral_1os4j_13 { color: inherit; font-size: 5rem; align-self: center; margin: auto 0; }
._cover_1os4j_11 h2 { font-size: 1.3rem; align-self: center; }
._signal_1os4j_15 { display: none; }
._bookInfo_1os4j_22 { padding: 28px; }
._bookInfo_1os4j_22 p { font-size: 1.16rem; font-weight: 600; line-height: 1.55; min-height: 0; }
._inventory_1os4j_24 { font-size: .78rem; }
._bookInfo_1os4j_22 small { font-size: .76rem; }
._openBook_1os4j_27 { color: var(--theme-link); font-size: .85rem; font-weight: 600; }
._upcoming_1os4j_115 { display: flex; align-items: center; gap: 30px; margin-top: 24px; padding: 18px 0; color: var(--theme-muted); }
._upcoming_1os4j_115 > span { font-size: .8rem; }
._upcoming_1os4j_115 a { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: .85rem; }
._upcoming_1os4j_115 a:hover { color: var(--theme-link); }
._upcoming_1os4j_115 small { font-size: .75rem; }
._upcoming_1os4j_115 svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
._foundations_1os4j_28 { background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 14px; padding: 26px 28px; margin-top: 20px; gap: 24px; }
._foundations_1os4j_28 h2 { font-size: 1.2rem; line-height: 1.4; }
._foundations_1os4j_28 > span { color: var(--studio-green); }
._foundations_1os4j_28 a { color: var(--theme-link); font-size: .82rem; text-decoration: none; }
._bookHeader_1os4j_34 { background: var(--theme-canvas); color: var(--theme-text); max-width: 1256px; margin: auto; padding: 24px 28px; }
._bookHeading_1os4j_36 h1 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; }
._bookHeading_1os4j_36 p { color: var(--theme-muted); font-size: 1.7rem; }
._bookHeader_1os4j_34 > p { color: var(--theme-muted); font-size: .9rem; }
._back_1os4j_35 { color: var(--theme-link); text-decoration: none; }
._unitsBody_1os4j_40 { max-width: 1256px; padding: 16px 28px 64px; }
._bookTabs_1os4j_41 a { border-radius: 8px; font-size: .85rem; padding: 8px 20px; }
._bookTabs_1os4j_41 a[aria-current="page"] { background: var(--cobalt); border-color: var(--cobalt); color: white; }
._unitJump_1os4j_44 { padding-block: 20px; gap: 8px; }
._unitJump_1os4j_44 a { border-radius: 8px; width: 38px; height: 44px; font-size: .8rem; }
._unit_1os4j_40 { gap: 20px; grid-template-columns: 48px 1fr auto; padding: 24px 0; }
._unitNumber_1os4j_50 { font-size: 1.2rem; }
._unit_1os4j_40 h2 { font-size: 1.2rem; line-height: 1.4; font-weight: 600; }
._unit_1os4j_40 p { font-size: .88rem; }
._unit_1os4j_40 > a { border-radius: 8px; font-size: .8rem; min-height: 48px; }
._empty_1os4j_57 h2 { font-size: 1.8rem; }
._empty_1os4j_57 a { border-radius: 9px; background: var(--cobalt); color: white; }
@media (max-width: 1080px) { ._book_1os4j_7 { grid-template-columns: 140px minmax(0, 1fr); } ._cover_1os4j_11 { padding: 20px; } ._bookInfo_1os4j_22 { padding: 22px; } }
@media (max-width: 820px) {
  ._books_1os4j_7 { grid-template-columns: 1fr; }
  ._book_1os4j_7 { grid-template-columns: 140px minmax(0, 1fr); }
  ._cover_1os4j_11 { min-height: 240px; }
  ._numeral_1os4j_13 { position: static; font-size: 4.5rem; }
  ._foundations_1os4j_28 { grid-template-columns: 1fr; }
  ._foundations_1os4j_28 > span { display: none; }
  ._upcoming_1os4j_115 { flex-wrap: wrap; gap: 8px 24px; }
  ._upcoming_1os4j_115 > span { flex-basis: 100%; }
}
@media (max-width: 520px) {
  ._library_1os4j_2 { padding: 32px 20px 48px; }
  ._book_1os4j_7 { grid-template-columns: 106px minmax(0, 1fr); }
  ._cover_1os4j_11 { padding: 18px 12px; min-height: 238px; }
  ._cover_1os4j_11 h2 { font-size: 1.08rem; }
  ._bookInfo_1os4j_22 { padding: 20px; }
  ._bookInfo_1os4j_22 p { font-size: 1rem; }
  ._foundations_1os4j_28 { padding: 24px; }
  ._bookHeader_1os4j_34 { padding-inline: 20px; }
  ._unitsBody_1os4j_40 { padding-inline: 20px; }
  ._unit_1os4j_40 { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  ._unit_1os4j_40 > a { grid-column: 2; }
}
