.book-showcase{width:100%;max-width:none;margin:0}.book3d{position:relative;width:100%;padding:2px 2px 0;touch-action:none;cursor:pointer;user-select:none;-webkit-user-select:none;outline:none;perspective:1200px}.book3d:focus-visible{border-radius:12px;box-shadow:0 0 0 2px #ffe81f80}.book3d.is-refreshing{opacity:.9}.book3d-scene{position:relative;z-index:1;width:100%;aspect-ratio:16 / 10;min-height:190px;max-height:300px;transform:rotateX(6deg);transform-style:preserve-3d;transform-origin:center bottom}.book3d-cover-board{position:absolute;top:5%;right:2.5%;bottom:6%;left:2.5%;border-radius:4px 4px 8px 8px;background:transparent;box-shadow:none;z-index:0}.book3d-spread{position:absolute;top:3%;right:3.5%;bottom:5%;left:3.5%;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);transform-style:preserve-3d}.book3d-page{position:relative;min-width:0;min-height:0;background:#f8fafc;overflow:hidden}.book3d-page--left{border-radius:2px 0 0 6px;transform:perspective(900px) rotateY(11deg);transform-origin:right center;background:linear-gradient(90deg,transparent 70%,rgba(15,23,42,.1)),linear-gradient(180deg,#fff,#f1f5f9);box-shadow:inset -10px 0 16px #0f172a1f,2px 4px 10px #0000001f}.book3d-page--right{border-radius:0 2px 6px 0;transform:perspective(900px) rotateY(-11deg);transform-origin:left center;background:linear-gradient(270deg,transparent 70%,rgba(15,23,42,.1)),linear-gradient(180deg,#fff,#f1f5f9);box-shadow:inset 10px 0 16px #0f172a1f,-2px 4px 10px #0000001f}.book3d-gutter{position:relative;z-index:3;background:linear-gradient(90deg,#334155,#64748b 20%,#e2e8f0,#64748b 80%,#334155);box-shadow:inset 0 0 10px #00000073,0 0 0 1px #0f172a33}.book3d-sheet{position:absolute;top:7%;right:8%;bottom:9%;left:8%;display:flex}.book3d-plate{position:relative;width:100%;height:100%;overflow:hidden;border-radius:2px;box-shadow:0 1px #ffffff80 inset,0 3px 10px #0f172a2e}.book3d-plate--cover{background:#0b1220}.book3d-plate--preview{position:relative;display:flex;flex-direction:column;background:#000}.book3d-plate--preview.is-text-only .book3d-copy{flex:1 1 auto;background:linear-gradient(180deg,#0003,#0000008c)}.book3d-plate--preview.is-text-only .book3d-excerpt{font-size:.7rem;line-height:1.35}.book3d-cover-img,.book3d-preview-img,.book3d-cover-fallback{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;transform:translateZ(0);backface-visibility:hidden;pointer-events:none}.book3d-cover-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;text-align:center;color:#fff;font-size:.72rem;font-weight:800}.book3d-cover-fallback span{font-size:1.8rem;line-height:1}.book3d-crawl-stars{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;background:radial-gradient(1px 1px at 12% 18%,#fff,transparent),radial-gradient(1px 1px at 28% 62%,rgba(255,255,255,.85),transparent),radial-gradient(1.5px 1.5px at 46% 12%,#fff,transparent),radial-gradient(1px 1px at 64% 44%,rgba(255,255,255,.75),transparent),radial-gradient(1px 1px at 78% 76%,#fff,transparent),radial-gradient(1px 1px at 88% 28%,rgba(255,255,255,.9),transparent),radial-gradient(1.5px 1.5px at 18% 84%,#fff,transparent),#000}.book3d-preview-art{position:relative;z-index:1;flex:0 0 46%;min-height:0;overflow:hidden;border-bottom:1px solid rgba(148,163,184,.25)}.book3d-copy{--book3d-excerpt-lines: 6;position:relative;z-index:1;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:3px;padding:8px 9px;overflow:hidden;background:linear-gradient(180deg,#00000059,#000000b8)}.book3d-kicker{margin:0;flex-shrink:0;font-size:.62rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#e2e8f0e0}.book3d-heading{margin:0;flex-shrink:0;font-size:.94rem;font-weight:800;line-height:1.25;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}.book3d-excerpt-slot{flex:1 1 0;min-height:0;overflow:hidden;container-type:size}.book3d-excerpt{margin:0;font-size:.76rem;line-height:1.4;color:#f1f5f9f2;display:-webkit-box;-webkit-line-clamp:var(--book3d-excerpt-lines, 4);-webkit-box-orient:vertical;overflow:hidden;max-height:100%}@supports (max-height: round(down,1cqh,1lh)){.book3d-excerpt{max-height:min(calc(var(--book3d-excerpt-lines, 4) * 1lh),round(down,100cqh,1lh))}}.book3d-hint{margin:auto 0 0;flex-shrink:0;font-size:.5rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#93c5fd}.book3d-edge{position:absolute;z-index:1;pointer-events:none;background-image:repeating-linear-gradient(to bottom,rgba(148,163,184,.35) 0 1px,transparent 1px 2px);box-shadow:none}.book3d-edge--left{left:2.2%;top:8%;bottom:7%;width:1.4%;border-radius:2px 0 0 2px;transform:skewY(-2deg)}.book3d-edge--right{right:2.2%;top:8%;bottom:7%;width:1.4%;border-radius:0 2px 2px 0;transform:skewY(2deg)}.book3d-edge--bottom{left:8%;right:8%;bottom:1.5%;height:3.5%;border-radius:0 0 8px 8px;background:transparent;background-image:none;opacity:1;box-shadow:none}.book3d-shadow{position:absolute;left:12%;right:12%;bottom:0;height:10px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(0,0,0,.28) 0%,transparent 72%);z-index:0;pointer-events:none}.book3d--loading .book3d-page{animation:book3d-pulse 1.2s ease-in-out infinite}@keyframes book3d-pulse{0%,to{opacity:.55}50%{opacity:.95}}.book-showcase-error{border:1px dashed rgba(248,113,113,.45);color:#fecaca;border-radius:12px;padding:12px;font-size:.82rem}.page-home-showcase .home-hero:not(.collapsed),.page-home-test .home-hero:not(.collapsed){padding:8px 12px 4px!important;margin-bottom:4px}.page-home-showcase .home-hero-expanded-layout,.page-home-test .home-hero-expanded-layout{display:grid;gap:4px;align-items:stretch;margin-bottom:0;padding-bottom:0}.page-home-showcase .home-hero:not(.collapsed) .home-hero-copy,.page-home-test .home-hero:not(.collapsed) .home-hero-copy{max-width:none}.page-home-showcase .home-hero:not(.collapsed) .home-hero-title,.page-home-test .home-hero:not(.collapsed) .home-hero-title{margin-bottom:0}.page-home-showcase .book-showcase,.page-home-test .book-showcase{width:100%;max-width:none;margin:0;padding:0}@media (min-width: 900px){.page-home-showcase .home-hero:not(.collapsed) .home-hero-expanded-layout,.page-home-test .home-hero:not(.collapsed) .home-hero-expanded-layout{grid-template-columns:minmax(0,.8fr) minmax(380px,600px);gap:16px;align-items:center}.page-home-showcase .book-showcase,.page-home-test .book-showcase{max-width:600px}.book3d-scene{max-height:280px;min-height:210px}.book3d-heading{font-size:1.04rem}.book3d-copy{--book3d-excerpt-lines: 7}.book3d-excerpt{font-size:.84rem}}.library-top-bar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 12px;border-bottom:1px solid rgba(244,201,74,.26);background:#0f0c29f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.library-top-bar-brand,.library-top-bar-link{color:var(--magic-ink, #f5efd6);text-decoration:none}.library-top-bar-brand{display:inline-flex;align-items:center;gap:7px;min-width:0;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:700;white-space:nowrap}.library-top-bar-mark{color:var(--magic-gold-bright, #ffe27a)}.library-top-bar-nav{display:flex;align-items:center;gap:4px}.library-top-bar-link{padding:6px 8px;border:0;border-radius:7px;background:transparent;color:var(--magic-muted, #a9c3bd);cursor:pointer;font:inherit;font-size:.76rem;font-weight:700;white-space:nowrap}.library-top-bar-link:hover,.library-top-bar-link:focus-visible,.library-top-bar-link.active{background:#f4c94a24;color:var(--magic-gold-bright, #ffe27a);outline:none}.page-search-showcase{min-height:100vh}.search-page-content{padding:28px 2px 72px}.search-page-heading{margin-bottom:18px}.search-page-kicker{margin:0 0 4px;color:var(--magic-gold-bright);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.search-page-heading h1{margin:0;color:var(--magic-ink);font-family:Georgia,Times New Roman,serif;font-size:1.65rem}.search-page-field{position:relative;display:block;margin-bottom:26px}.search-page-field input{width:100%;padding:13px 14px 13px 40px;border:1px solid rgba(129,207,194,.35);border-radius:8px;outline:none;background:#ffffff1a;color:var(--magic-ink);font:inherit}.search-page-field input:focus{border-color:var(--magic-gold);box-shadow:0 0 0 3px #f4c94a21}.search-page-icon{position:absolute;top:50%;left:14px;color:var(--magic-gold-bright);font-size:1.35rem;transform:translateY(-50%)}.app-shell:has(.page-home-showcase) .app-header{padding:max(8px,env(safe-area-inset-top)) 10px 8px;border-bottom:0;background:linear-gradient(180deg,#041d24fa,#082f35f0);box-shadow:0 5px 18px #00000038}.app-shell:has(.page-home-showcase) .app-header-inner{position:relative;width:100%;justify-content:center}.app-shell:has(.page-home-showcase) .app-brand{position:absolute;right:0;left:0;justify-content:center;gap:8px;color:#f5efd6;font-family:Georgia,Times New Roman,serif;text-shadow:0 0 12px rgba(255,226,122,.58)}.app-shell:has(.page-home-showcase) .app-logo{width:30px;height:30px;border:1px solid rgba(244,201,74,.65);border-radius:50%;background:#f4c94a1a;color:#ffe27a}.app-shell:has(.page-home-showcase) .nav-link{color:#c8ddd7;background:#ffffff14}.app-shell:has(.page-home-showcase) .nav-link.active,.app-shell:has(.page-home-showcase) .nav-link:hover{background:#f4c94a33;color:#ffe27a}.page-home-showcase{--magic-ink: #f5efd6;--magic-muted: #a9c3bd;--magic-teal: #302b63;--magic-deep: #0f0c29;--magic-gold: #f4c94a;--magic-gold-bright: #ffe27a;max-width:760px;margin:0 auto;padding:14px 0 72px;background:linear-gradient(180deg,#0f0c29,#302b63,#24243e);color:var(--magic-ink)}.app-main:has(.page-home-showcase){padding:0 0 calc(12px + env(safe-area-inset-bottom,0px))}.page-home-showcase .home-hero,.page-home-showcase .home-categories{border:0;border-radius:0;background:transparent!important;box-shadow:none}.page-home-showcase .home-hero{position:relative;padding:0 0 12px!important;margin:0;border:0!important;border-radius:0;background:transparent!important}.page-home-showcase .home-hero:before{content:"✦  MAGIC LIBRARY  ✦";display:block;padding:12px 12px 6px;border:1px solid rgba(244,201,74,.55);border-radius:12px;background:linear-gradient(135deg,#082f35f5,#0f4e4eb8);color:var(--magic-gold-bright);font-size:.78rem;letter-spacing:.55em;text-align:center;text-shadow:0 0 14px rgba(255,226,122,.82)}.page-home-showcase .home-hero-expanded-layout{position:relative;display:block;margin-top:-34px;padding:0 12px}.page-home-showcase .home-hero-copy{position:relative;z-index:2;text-align:center}.page-home-showcase .home-eyebrow{display:none}.page-home-showcase .home-hero-title{margin:0;color:var(--magic-ink)!important;font-family:Georgia,Times New Roman,serif!important;font-size:clamp(1.65rem,5vw,2.35rem);line-height:1.05;letter-spacing:.01em;text-shadow:0 0 12px rgba(255,226,122,.46),0 2px 0 rgba(0,0,0,.3)}.page-home-showcase .book-showcase{position:relative;margin:10px auto 0;max-width:680px;padding:0 18px;border:0;border-radius:0;background:#02191f6b;box-shadow:none}.page-home-showcase .home-cover-carousel{border:0;box-shadow:none}.page-home-showcase .book-showcase:before,.page-home-showcase .book-showcase:after{position:absolute;top:50%;z-index:4;display:grid;width:26px;height:26px;place-items:center;border:1px solid rgba(244,201,74,.55);border-radius:50%;color:var(--magic-gold-bright);background:#041d24c7;font-size:1.1rem;pointer-events:none}.page-home-showcase .book-showcase:before{content:"‹";left:-4px}.page-home-showcase .book-showcase:after{content:"›";right:-4px}.page-home-showcase .book3d-scene{min-height:174px;max-height:270px}.page-home-showcase .home-tabs--hero{position:relative;z-index:3;margin:0;padding:0;gap:3px;background:transparent;box-shadow:none;border:0}.page-home-showcase .home-tabs--hero .home-tab-button{display:grid;min-height:46px;place-items:center;gap:1px;padding:5px 4px;border:1px solid rgba(255,239,156,.72);border-radius:10px;background:linear-gradient(180deg,#f6d34f,#dcae2f);color:#152b2b;box-shadow:0 4px 10px #0003,inset 0 1px #ffffff75;font-size:.75rem;font-weight:800}.page-home-showcase .home-tabs--hero .home-tab-button span{font-size:1.1rem;line-height:1}.page-home-showcase .home-tabs--hero .home-tab-button.active,.page-home-showcase .home-tabs--hero .home-tab-button:hover{background:linear-gradient(180deg,#ffe27a,#edbd3a);transform:translateY(-2px)}.page-home-showcase .home-categories{position:relative;padding:0}.page-home-showcase .home-categories>.container{padding:0}.page-home-showcase .home-selection-search{position:relative;margin:0 0 4px}.page-home-showcase .home-selection-search-input{max-width:none;padding:11px 14px 11px 38px;border:1px solid rgba(129,207,194,.35);border-radius:999px;outline:none;background:#ffffff1a;color:var(--magic-ink);box-shadow:inset 0 1px 8px #00000029}.page-home-showcase .home-selection-search-input::placeholder{color:#d5ede585}.page-home-showcase .home-selection-search-input:focus{border-color:var(--magic-gold);box-shadow:0 0 0 3px #f4c94a21}.page-home-showcase .home-selection-search-icon{position:absolute;top:50%;left:14px;z-index:1;color:var(--magic-gold-bright);font-size:1.4rem;line-height:1;transform:translateY(-50%)}.page-home-showcase .home-selection-search-meta{color:var(--magic-muted);font-size:.75rem}.page-home-showcase .home-category-crumb{display:block;margin:0 8px 4px;color:var(--magic-ink);font-size:.82rem;font-weight:800;transform:translateY(-12px)}.page-home-showcase .home-category-crumb button{padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.page-home-showcase .home-category-crumb button:hover,.page-home-showcase .home-category-crumb button:focus-visible{color:var(--magic-gold-bright);outline:none}.home-featured-banner{display:none}.page-home-showcase .home-featured-banner{display:none;align-items:center;gap:10px;margin:0 0 18px;padding:8px 10px;border:1px solid rgba(244,201,74,.42);border-radius:9px;background:#f4c94a1a;color:var(--magic-ink);font-size:.78rem}.home-featured-banner-mark{color:var(--magic-gold-bright);font-size:1.25rem}.home-featured-banner div{min-width:0;display:grid;gap:2px}.home-featured-banner strong{color:var(--magic-gold-bright)}.home-featured-banner span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--magic-muted)}.home-featured-banner-close{margin-left:auto;border:0;background:transparent;color:var(--magic-muted);font-size:1.2rem;cursor:pointer}.page-home-showcase .home-shelf-stack{gap:24px}.page-home-showcase .home-shelf-title{display:block;margin:0;padding:4px 10px;border:1px solid rgba(196,201,214,.55);border-radius:0 0 5px 5px;background:linear-gradient(180deg,#d8dbe2,#8e929e);color:#202331;font-family:Georgia,Times New Roman,serif;font-size:.94rem;line-height:1.1;text-shadow:0 1px 0 rgba(255,255,255,.45)}.page-home-showcase .bookshelf-container--horizontal .shelf{scrollbar-width:none}.page-home-showcase .bookshelf-container--horizontal .shelf::-webkit-scrollbar{display:none}.page-home-showcase .bookshelf-container--horizontal .books{gap:14px;padding:0 8px 1px;scroll-snap-type:x mandatory}.page-home-showcase .bookshelf-container--horizontal .shelf{padding-top:1px}.page-home-showcase .bookshelf-container--horizontal .course-book-card{scroll-snap-align:start}.page-home-showcase .course-book-card{width:clamp(104px,29vw,142px);min-height:226px;border:1px solid rgba(129,207,194,.25);border-radius:9px;box-shadow:0 8px 18px #00000059;transition:transform .18s ease,box-shadow .18s ease}.page-home-showcase .course-book-card:hover{transform:perspective(700px) rotateY(-4deg) translateY(-7px);box-shadow:0 14px 24px #00000070,0 0 12px #f4c94a33}@media (max-width: 560px){.page-home-showcase{padding-inline:9px}.page-home-showcase .home-hero:before{padding-top:9px}.page-home-showcase .home-hero-expanded-layout{margin-top:-29px;padding-inline:8px}.page-home-showcase .book-showcase{padding-inline:11px}.page-home-showcase .book3d-scene{min-height:150px}.home-featured-banner span:last-child{max-width:190px}}.book3d-plate--preview.is-text-only{--book3d-excerpt-lines: 16}.book3d-plate--preview.is-text-only .book3d-excerpt{font-size:.78rem}@media (max-width: 899px){.page-home-showcase .home-hero:not(.collapsed),.page-home-test .home-hero:not(.collapsed){padding:6px 8px 2px!important;margin-bottom:4px}.page-home-showcase .home-hero:not(.collapsed) .home-hero-title,.page-home-test .home-hero:not(.collapsed) .home-hero-title{font-size:1rem;line-height:1.2}.page-home-showcase .home-eyebrow,.page-home-test .home-eyebrow{font-size:.58rem}.book3d{padding:0}.book3d-scene{aspect-ratio:15 / 10;min-height:180px;max-height:240px;transform:rotateX(5deg)}.book3d-spread{grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr);top:3%;right:3%;bottom:4%;left:3%}.book3d-page--left{transform:perspective(700px) rotateY(8deg)}.book3d-page--right{transform:perspective(700px) rotateY(-8deg)}.book3d-sheet{top:6%;right:7%;bottom:8%;left:7%}.book3d-preview-art{flex-basis:34%}.book3d-copy{--book3d-excerpt-lines: 8;padding:6px 7px 7px}.book3d-heading{font-size:.82rem;line-height:1.3}.book3d-excerpt{font-size:.68rem}.book3d-plate--preview.is-text-only{--book3d-excerpt-lines: 12}.book3d-plate--preview.is-text-only .book3d-excerpt{font-size:.66rem;line-height:1.35}}@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait){.app-shell:has(.page-home-showcase) .app-header-inner{width:100%}.page-home-showcase .home-hero:not(.collapsed) .home-hero-expanded-layout,.page-home-test .home-hero:not(.collapsed) .home-hero-expanded-layout{display:block;grid-template-columns:none;gap:0}.page-home-showcase .book-showcase,.page-home-test .book-showcase{max-width:none}.page-home-showcase .home-hero:not(.collapsed) .home-hero-title,.page-home-test .home-hero:not(.collapsed) .home-hero-title{font-size:1.15rem;line-height:1.25}.book3d-scene{max-height:220px;min-height:168px}.book3d-page--left .book3d-sheet{top:5%;right:6%;bottom:6%;left:6%}.book3d-page--left .book3d-plate--cover{display:flex;align-items:center;justify-content:center}.book3d-page--left .book3d-cover-img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;object-position:center center}}@media (prefers-reduced-motion: reduce){.book3d-scene,.book3d-page--left,.book3d-page--right{transform:none}.book3d--loading .book3d-page{animation:none}}@media (max-width: 899px){.page-home-showcase .home-hero:not(.collapsed){padding:0 0 12px!important;margin-bottom:0}.page-home-showcase .home-hero:not(.collapsed) .home-hero-title{font-size:clamp(1.65rem,5vw,2.35rem);line-height:1.05}.page-home-showcase .home-hero-expanded-layout{display:block;margin-top:-29px;padding-inline:8px}.page-home-showcase .book-showcase{margin:10px auto 0;padding-inline:11px}.page-home-showcase .book3d-scene{min-height:150px;max-height:270px}}body[data-bookshelf-theme] .page-home-showcase{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important}body[data-bookshelf-theme] .page-home-showcase .home-hero,body[data-bookshelf-theme] .page-home-showcase .home-categories{background:transparent!important}.page-home-showcase .home-hero-toggle{display:none}.page-home-showcase .home-hero-expanded-layout{margin-top:0}.page-home-showcase .home-hero:before{content:"✦  MAGIC LIBRARY  ✦";min-height:44px;padding:9px 12px;color:var(--magic-gold-bright);font-family:Georgia,Times New Roman,serif;font-size:.75rem;letter-spacing:.2em;text-align:center;text-shadow:0 0 12px rgba(255,226,122,.72)}.page-home-showcase .home-hero-expanded-layout{padding:0 8px}.page-home-showcase .home-hero-copy{margin:0 0 8px}.page-home-showcase .home-hero-title{display:none}.home-cover-carousel{position:relative;height:166px;margin:0 auto 8px;padding:8px 22px 17px;overflow:hidden;border:1px solid rgba(244,201,74,.72);border-radius:10px;background:#02191f6b;box-shadow:0 0 18px #f4c94a24,inset 0 0 14px #39b4a41a}.home-cover-carousel-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;justify-content:center;gap:8px;height:100%}.home-cover-tile{position:relative;min-width:0;overflow:hidden;padding:0;border:1px solid rgba(196,231,220,.28);border-radius:5px;background:#153f46;box-shadow:0 7px 13px #00000061;cursor:pointer;transform:translateZ(0);transition:transform .18s ease,border-color .18s ease}.home-cover-tile:hover,.home-cover-tile:focus-visible{z-index:1;border-color:var(--magic-gold-bright);outline:none;transform:translateY(-4px) scale(1.03)}.home-cover-tile img{display:block;width:100%;height:100%;object-fit:cover}.home-cover-tile span{position:absolute;right:3px;bottom:3px;left:3px;padding:3px 4px;overflow:hidden;background:linear-gradient(180deg,transparent,rgba(0,0,0,.8));color:#fff;font-size:.56rem;font-weight:700;line-height:1.1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.home-cover-carousel-arrow{position:absolute;top:50%;z-index:2;width:24px;height:24px;border:1px solid rgba(244,201,74,.7);border-radius:50%;background:#041d24d1;color:var(--magic-gold-bright);font-size:1.2rem;line-height:17px;cursor:pointer;transform:translateY(-50%)}.home-cover-carousel-arrow--left{left:4px}.home-cover-carousel-arrow--right{right:4px}.home-cover-carousel-arrow:hover{background:#f4c94a38}.home-cover-carousel-dots{position:absolute;bottom:4px;left:0;right:0;display:flex;justify-content:center;gap:4px}.home-cover-carousel-dots span{width:5px;height:5px;border-radius:50%;background:#d5ede573}.home-cover-carousel-dots span.active{background:var(--magic-gold-bright)}.page-home-showcase .home-tabs--hero{margin:0 0 2px}.page-home-showcase .home-categories>.container{padding:0 2px}.page-home-showcase .home-selection-search{margin-bottom:2px;transform:translateY(-14px)}.page-home-showcase .home-selection-search-meta{display:none}.page-home-showcase .home-featured-banner{min-height:29px;margin-bottom:9px;padding:4px 7px;border-radius:6px;font-size:.62rem}.page-home-showcase .home-featured-banner-mark{font-size:.85rem}.page-home-showcase .home-featured-banner span:last-child{font-size:.58rem}.page-home-showcase .home-shelf-stack{gap:18px}.page-home-showcase .home-shelf-title{margin-bottom:5px;font-size:.94rem}.page-home-showcase .bookshelf-container--horizontal .books{gap:4px;padding:0}.page-home-showcase .bookshelf-container--horizontal .shelf{position:relative;margin:0;padding:0;overflow:visible!important;border:0;border-top:0;border-radius:0;background:transparent;box-shadow:none}.page-home-showcase .bookshelf-container--horizontal .shelf-track--horizontal{position:relative;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0;scrollbar-width:none}.page-home-showcase .bookshelf-container--horizontal .shelf--fixed-row .shelf-track--horizontal{width:100%;min-width:100%;overflow-x:auto;overflow-y:hidden}.page-home-showcase .bookshelf-container--horizontal .shelf--fixed-row .shelf-track-content{width:max-content;min-width:100%}.page-home-showcase .bookshelf-container--horizontal .shelf-track--horizontal::-webkit-scrollbar{display:none}.page-home-showcase .shelf-carousel-arrow{position:absolute;top:50%;z-index:3;display:grid;width:22px;height:32px;place-items:center;padding:0;border:0;border-radius:6px;background:transparent;color:var(--magic-gold-bright);font-size:1.2rem;line-height:1;transform:translateY(-50%)}.page-home-showcase .shelf-carousel-arrow:hover,.page-home-showcase .shelf-carousel-arrow:focus-visible{background:#ffe27a1f;outline:none}.page-home-showcase .shelf-carousel-arrow--left{left:3px}.page-home-showcase .shelf-carousel-arrow--right{right:3px}.page-home-showcase .course-book-card{width:clamp(116px,33vw,155px);min-height:190px;border:0;border-radius:4px}.page-home-showcase .home-cover-carousel{height:34px;margin-top:6px;padding:3px 22px;border-radius:6px}.page-home-showcase .home-cover-carousel-track{gap:4px}.page-home-showcase .home-cover-tile{border-radius:3px}.page-home-showcase .home-cover-tile span{font-size:.38rem}.page-home-showcase .home-cover-carousel-arrow{width:18px;height:18px;font-size:.9rem;line-height:12px}.page-home-showcase .home-cover-carousel-dots{display:none}@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait){.app-shell:has(.page-home-showcase) .app-header-inner{width:100vw;max-width:none;margin-left:calc(50% - 50vw)}.app-shell:has(.page-home-showcase) .app-brand{position:fixed;top:max(8px,env(safe-area-inset-top));right:auto;left:50vw;width:max-content;transform:translate(-50%);z-index:22}.page-home-showcase .home-cover-carousel{height:280px;padding:10px 22px 20px;border:0}.page-home-showcase .home-cover-carousel-track{gap:0}.page-home-showcase .home-cover-tile{border:0;border-radius:0;background:transparent}.page-home-showcase .home-cover-tile img{object-fit:cover;background:transparent}}@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape){.app-shell:has(.page-home-showcase) .app-header-inner{width:100vw;max-width:none;margin-left:calc(50% - 50vw)}.app-shell:has(.page-home-showcase) .app-brand{position:fixed;top:max(8px,env(safe-area-inset-top));right:auto;left:50vw;width:max-content;transform:translate(-50%);z-index:22}.page-home-showcase .home-cover-carousel{height:230px;padding:10px 22px 20px;border:0}.page-home-showcase .home-cover-carousel-track{gap:0}.page-home-showcase .home-cover-tile{border:0;border-radius:0;background:transparent}.page-home-showcase .home-cover-tile img{object-fit:cover;background:transparent}}.exchange-rate-panel{position:fixed;right:0;bottom:0;left:0;z-index:9999;min-height:44px;padding:5px max(10px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#071c23f7;border-top:1px solid rgba(244,201,74,.55);color:#f5efd6;font-size:.68rem;box-shadow:0 -5px 18px #00000040}.exchange-rate-panel-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(980px,100%);margin:0 auto}.exchange-rate-heading{display:grid;flex:0 1 auto;gap:1px;color:var(--magic-muted);white-space:nowrap}.exchange-rate-heading strong{color:var(--magic-ink);font-size:.7rem}.exchange-rate-heading span{font-size:.58rem;opacity:.7}.exchange-rate-values{display:flex;align-items:center;justify-content:flex-end;gap:clamp(8px,2.5vw,18px);white-space:nowrap}.exchange-rate-values span{margin-right:2px}.exchange-rate-values strong{color:var(--magic-gold-bright)}.exchange-rate-error{color:#ffb4b4}@media (max-width: 560px){.page-home-showcase .home-cover-carousel{height:154px}.page-home-showcase .home-cover-carousel-track{gap:6px}.page-home-showcase .home-cover-tile--1{transform:translateY(-2px)}.page-home-showcase .course-book-card{min-height:180px}.exchange-rate-panel-inner{align-items:flex-start}.exchange-rate-values{gap:7px;font-size:.62rem}}body[data-bookshelf-theme] .page-home-showcase .home-hero:before{content:none}body[data-bookshelf-theme] .page-home-showcase .home-categories{border:0!important;box-shadow:none!important}body[data-bookshelf-theme] .page-home-showcase .home-hero-title{display:block;margin:0 0 5px;color:var(--magic-ink)!important;font-family:Palatino Linotype,Book Antiqua,Georgia,serif!important;font-size:1rem;font-weight:700;letter-spacing:.04em;line-height:1.1;text-align:center;text-shadow:0 0 10px rgba(255,226,122,.58)}body[data-bookshelf-theme] .page-home-showcase .home-hero:not(.collapsed) .home-hero-title{font-family:Palatino Linotype,Book Antiqua,Georgia,serif!important;font-size:1rem!important;letter-spacing:.04em}.page-home-showcase .home-tabs--hero{border:0;box-shadow:none;background:transparent;margin-inline:6px;gap:4px}.page-home-showcase .home-tabs--hero .home-tab-button{min-height:40px;padding:3px;border-radius:8px;font-size:.66rem}.page-home-showcase .home-tabs--hero .home-tab-button span{font-size:.92rem}.page-home-showcase .home-featured-banner{margin-bottom:1px}body[data-bookshelf-theme] .page-home-showcase .home-shelf-title{margin:2px 16px 0;color:#24133f!important;padding:2px 8px;min-height:16px;border-radius:0 0 5px 5px;font-size:.82rem;line-height:1.1}body[data-bookshelf-theme] .page-home-showcase .bookshelf-container--horizontal .book{width:clamp(116px,33vw,155px)!important;min-width:clamp(116px,33vw,155px)!important;border:0!important}body[data-bookshelf-theme] .page-home-showcase .bookshelf-container--horizontal .books{gap:4px!important;padding-inline:0;margin-inline:-8px}body[data-bookshelf-theme] .page-home-showcase .bookshelf-container--horizontal .book{margin-bottom:0}.page-home-showcase .home-cover-carousel,.page-home-showcase .home-tabs--hero,.page-home-showcase .home-selection-search,.page-home-showcase .bookshelf-container--horizontal .shelf-track--horizontal{width:auto;margin-right:0;margin-left:0}.page-home-showcase .home-cover-carousel{margin-right:0;margin-left:0}.page-home-showcase .bookshelf-container--horizontal .shelf{padding-right:0;padding-left:0}@media (max-width: 899px){.page-home-showcase,.page-home-showcase .home-hero-expanded-layout{padding-right:0;padding-left:0}.page-home-showcase .home-categories>.container{padding-right:0;padding-left:0}.page-home-showcase .home-cover-carousel,.page-home-showcase .home-tabs--hero,.page-home-showcase .home-selection-search,.page-home-showcase .bookshelf-container--horizontal .shelf-track--horizontal{margin-right:0;margin-left:0}body[data-bookshelf-theme] .page-home-showcase .home-shelf-title{margin-right:1px;margin-left:1px}}:root{color-scheme:normal;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background-color:#f8fafc;color:#0f172a;font-size:16px}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;min-height:100vh;background:#f8fafc;padding:0}.app-header{padding-top:calc(6px + env(safe-area-inset-top,0px));padding-bottom:6px}.app-main{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}.app-main:has(.course-wizard-page){padding:0;height:100vh;overflow:hidden}.app-shell:has(.course-wizard-page){min-height:100vh;height:100vh;overflow:hidden}button,input,textarea{font:inherit}button{border:none;background:none}textarea{min-height:120px}.practice-error-message{padding:20px;border-radius:16px;background:#111827;color:#f8fafc;border:1px solid #374151;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;white-space:pre-wrap;word-break:break-word;margin:16px 0}.practice-error-message strong{display:block;margin-bottom:10px;font-size:.95rem}.practice-error-message pre{margin:0;font-size:.9rem;line-height:1.5}.concepts-flashcard{padding:24px;background:#f8fafc;line-height:1.8}.concepts-section{margin-bottom:32px}.concepts-section h2{font-size:1.25rem;font-weight:700;color:#0f172a;margin:0 0 16px;padding-bottom:8px;border-bottom:2px solid #7c3aed}.concepts-section p{margin:12px 0;color:#334155;font-size:.95rem}.concepts-section ul{margin:12px 0;padding-left:24px;list-style:disc}.concepts-section li{margin:8px 0;color:#334155;font-size:.95rem}.concepts-table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.9rem}.concepts-table thead{background:#e2e8f0}.concepts-table th{padding:10px 12px;text-align:left;font-weight:600;color:#0f172a;border:1px solid #cbd5e1}.concepts-table td{padding:10px 12px;border:1px solid #cbd5e1;color:#334155}.concepts-table tbody tr:nth-child(odd){background:#f1f5f9}.concepts-table strong{color:#0f172a}::selection{background:#334155;color:#f8fafc}.app-shell{min-height:100vh;background:#f8fafc;color:#0f172a}.page-header{border-bottom:1px solid #e2e8f0;background:#fffffff0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.page-header-content{margin:0 auto;max-width:1120px;padding:24px 16px;display:flex;flex-direction:column;gap:24px}.page-tag{margin:0;font-size:.65rem;letter-spacing:.12em;font-weight:700;color:#475569}.page-title{margin:8px 0 0;font-size:clamp(2rem,2.25vw,3rem);line-height:1.05;font-weight:700;color:#0f172a}.hero-card{border-radius:32px;background:#0f172a;color:#f8fafc;padding:20px 24px;box-shadow:0 16px 40px #0f172a14}.hero-card-title{margin:0;font-weight:700}.hero-card-subtitle{margin:8px 0 0;color:#cbd5e1;line-height:1.6}.page-body{margin:0 auto;max-width:1120px;padding:24px 16px 48px}.practice-section{display:grid;gap:24px}.category-row{display:flex;flex-wrap:wrap;gap:12px}.category-tab{min-width:88px;border-radius:9999px;padding:10px 18px;font-size:.9rem;font-weight:700;color:#334155;background:#e2e8f0;cursor:pointer;transition:background .2s ease,color .2s ease}.category-tab:hover,.category-tab.active{background:#0f172a;color:#fff}.practice-grid{display:grid;gap:24px}@media (min-width: 1024px){.practice-grid{grid-template-columns:320px minmax(0,1fr)}}.sidebar-panel,.task-panel{display:flex;flex-direction:column;gap:24px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:32px;padding:24px;box-shadow:0 10px 32px #0f172a0d}.panel.hero-banner{padding:0}.panel-heading{margin:0 0 12px;font-size:.95rem;font-weight:700;color:#0f172a}.panel-body{display:flex;flex-direction:column;gap:12px;color:#475569;line-height:1.75}.task-list{display:grid;gap:16px}.task-card{width:100%;text-align:left;border-radius:32px;border:1px solid #e2e8f0;padding:18px 20px;background:#fff;transition:border .2s ease,background .2s ease;cursor:pointer}.task-card:hover,.task-card.active{border-color:#0f172a;background:#f8fafc}.task-card-title{font-weight:700;color:#0f172a;margin-bottom:10px}.task-card-description{margin:0;font-size:.95rem;line-height:1.7;color:#475569}.checklist{display:grid;gap:14px}.checklist-item{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid #e2e8f0;border-radius:24px;background:#f8fafc;font-size:.95rem;color:#334155}.checklist-item input{margin-top:4px;width:18px;height:18px}.notes-textarea,.code-textarea{width:100%;border-radius:24px;border:1px solid #cbd5e1;padding:18px;font-size:.95rem;line-height:1.65;color:#0f172a;background:#f8fafc;min-height:220px;resize:vertical}.code-panel{background:#0f172a;border-color:#1f2937;color:#f8fafc}.code-panel .panel-heading{color:#f8fafc}.code-textarea{background:#111827;color:#f8fafc;border:1px solid #374151}.task-meta{display:flex;flex-direction:column;gap:18px}@media (min-width: 640px){.task-meta{flex-direction:row;align-items:center;justify-content:space-between}}.task-tag{margin:0;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:#475569;font-weight:700}.task-title{margin:8px 0 0;font-size:1.8rem;font-weight:700;color:#0f172a}.task-description{margin:18px 0 0;color:#475569;line-height:1.75}.task-badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:9999px;background:#e2e8f0;color:#334155;font-size:.9rem;font-weight:700}.grid-panel{display:grid;gap:24px}@media (min-width: 1280px){.grid-panel{grid-template-columns:320px minmax(0,1fr)}}@media (min-width: 768px){.page-header-content{flex-direction:row;justify-content:space-between;align-items:center}.page-header-content>div{flex:1}}@media (max-width: 768px){.page-body{padding:20px 12px 36px}}.app-header{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:calc(6px + env(safe-area-inset-top)) 12px 6px;background:#fffffff5;border-bottom:1px solid #e2e8f0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .22s ease,opacity .22s ease}.app-header.hidden-on-scroll{transform:translateY(-110%);opacity:0;pointer-events:none}.app-brand{display:flex;align-items:center;gap:10px;min-width:0}.app-logo{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#0f172a;color:#fff;font-weight:800;font-size:.65rem}.nav-links{display:flex;flex-wrap:wrap;gap:6px}.nav-link{display:inline-flex;align-items:center;justify-content:center;min-width:75px;padding:6px 12px;border-radius:9999px;color:#334155;background:#f8fafc;text-decoration:none;font-weight:700;font-size:.85rem}.nav-link.active,.nav-link:hover{background:#0f172a;color:#fff}.app-main{margin:0 auto;width:100%;padding:20px 16px 32px;overflow-x:hidden}.app-main:has(.page-home),.app-main:has(.practice-page),.app-main:has(.course-wizard-page){padding:0}.page-content.practice-page,.page-content.course-wizard-page{margin:0;padding:0;width:100%;gap:0}.page-content,.practice-page{display:grid;gap:24px}.course-wizard-page{height:100vh;display:flex;flex-direction:column;overflow:hidden}.course-wizard-page .practice-workspace{height:100%;display:flex;flex-direction:column;border-radius:0;border:none;box-shadow:none;overflow:hidden}.course-wizard-page .practice-workspace-top-bar,.course-wizard-page .practice-workspace-step-header{flex-shrink:0}.course-wizard-page .practice-workspace-body{flex:1;min-height:0;overflow:hidden;background:#fff!important;max-height:none!important}.course-wizard-page.course-wizard-page--about,.course-wizard-page.course-wizard-page--about .book-about-page{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important}.course-wizard-page .practice-workspace-editor-shell{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.course-wizard-page .practice-pdf-iframe{width:100%;height:100%;min-height:0;flex:1 1 auto;display:block;border:none;border-radius:0;background:#fff;color-scheme:light;box-shadow:none;margin:0;padding:0;overflow:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}.course-wizard-page .practice-pdf-iframe.practice-pdf-iframe--dictionary{touch-action:auto}.course-wizard-page .practice-right,.course-wizard-page .practice-code-page .practice-right{background:#fff!important;color:#0f172a!important;border-radius:0!important;overflow:visible!important;min-height:auto!important;height:100%;display:flex;flex-direction:column}.course-wizard-page .practice-answer-html{background:#fff!important;color:#0f172a!important;min-height:auto!important;overflow:visible!important;flex:1}.course-wizard-page .practice-answer-html h2{color:#0f172a!important}.course-wizard-page .practice-codearea,.course-wizard-page .practice-textarea{background:#f8fafc!important;color:#0f172a!important;border:1px solid #e2e8f0!important;border-radius:16px!important}.practice-html-iframe{width:100%;min-height:760px;height:100%;border:none;border-radius:20px;background:#fff;box-shadow:0 10px 24px #0f172a14}.course-wizard-page .practice-html-iframe{flex:1 1 auto;min-height:0!important;height:100%;border-radius:0;box-shadow:none}@media (max-width: 900px){.practice-html-iframe{min-height:620px;border-radius:16px}.course-wizard-page .practice-html-iframe{border-radius:0}}@media (max-width: 600px){.practice-html-iframe{min-height:520px;border-radius:12px}.course-wizard-page .practice-html-iframe{border-radius:0}}.practice-page{gap:16px}.hero-banner,.home-intro,.practice-top-panel,.practice-left,.practice-right{background:#fff;border:1px solid #e2e8f0;border-radius:32px;box-shadow:0 10px 32px #0f172a0d}.hero-banner{padding:0;overflow:hidden}.hero-banner.collapsed .hero-banner-header{padding:4px 8px;min-height:0}.hero-banner.collapsed .hero-title{font-size:clamp(.85rem,2.6vw,1.05rem)}.hero-banner.collapsed .hero-chevron{width:26px;height:26px;font-size:.85rem}.page-home .hero-banner.collapsed{box-shadow:0 4px 14px #0f172a0a}.hero-banner-header{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:6px 12px 4px;text-align:left;cursor:pointer;background:transparent;border:none;color:inherit}.hero-banner-actions,.hero-banner-controls{display:flex;align-items:center;gap:8px}.hero-banner-summary{flex:1;min-width:0}.hero-banner-title-row{display:flex;align-items:center;gap:12px;min-width:0}.hero-title{white-space:normal}.hero-page-index{flex-shrink:0;font-size:.85rem;color:#64748b;font-weight:600;letter-spacing:.02em}.hero-category-tag{flex-shrink:0;font-size:.65rem;letter-spacing:.1em;font-weight:700;color:#64748b;text-transform:uppercase}.hero-task-id{flex-shrink:1;min-width:0;font-size:.75rem;color:#64748b;font-weight:600;letter-spacing:.02em;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.hero-meta-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}.hero-type-tag{flex-shrink:0;font-size:.65rem;letter-spacing:.08em;font-weight:700;text-transform:uppercase;color:#475569;padding:3px 8px;border-radius:999px;background:#f1f5f9}.hero-banner-body{padding:0 12px 6px;border-top:1px solid #e2e8f0}.hero-banner-body .hero-description,.hero-banner-body .practice-description{margin:4px 0 0;font-size:.85rem}.admin-actions .footer-button{width:auto!important;min-width:110px!important;padding:8px 12px!important;border-radius:10px!important}.hero-title{margin:0;flex:0 0 auto;min-width:0;font-size:1rem;line-height:1.2;font-weight:700;color:#0f172a;white-space:nowrap}.hero-subtitle{flex:1;min-width:0;font-size:.85rem;line-height:1.4;font-weight:600;color:#64748b;white-space:normal;overflow:hidden;text-overflow:ellipsis}.hero-chevron{flex-shrink:0;width:32px;height:32px;border-radius:10px;background:#f1f5f9;color:#334155;font-size:1rem;font-weight:700;display:grid;place-items:center}.hero-banner-header:hover .hero-chevron{background:#0f172a;color:#fff}.hero-description{margin:0;color:#475569;line-height:1.6;font-size:.9rem}.hero-details{padding:20px 0 0;color:#334155;line-height:1.8}.primary-button{display:inline-flex;align-items:center;justify-content:center;margin-top:22px;padding:14px 26px;border-radius:9999px;background:#0f172a;color:#fff;font-weight:700;text-decoration:none}.home-category-grid{display:grid;gap:16px}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:100%;overflow:hidden}@media (max-width: 768px){.home-category-grid{grid-template-columns:minmax(0,1fr)}}.category-card{display:grid;gap:10px;padding:20px;border-radius:24px;background:#f8fafc;border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;transition:transform .2s ease,border-color .2s ease,background .2s ease}.category-card:hover{transform:translateY(-2px);border-color:#0f172a;background:#fff}.category-card-title{font-size:1.1rem;font-weight:700}.category-card-subtitle{margin:0;color:#475569;line-height:1.6}.task-select{display:grid;gap:10px;margin-top:18px;color:#475569;font-weight:700}.task-select select{width:100%;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;padding:12px 14px;color:#0f172a}.practice-title{margin:0;flex:1;min-width:0;font-size:.95rem;font-weight:700;color:#0f172a;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.practice-description{margin:0;font-size:.92rem;color:#475569;line-height:1.5}.task-type-badge{font-size:.75rem;letter-spacing:.08em;font-weight:700;color:#64748b}.practice-layout{display:grid;gap:0;grid-template-columns:1fr;flex:1;min-height:calc(100vh - 150px);position:relative}.practice-layout.full-code{grid-template-columns:1fr;position:relative}.practice-action-panel{padding:10px 14px;border-radius:24px}.action-panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.panel-heading{font-size:.85rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:#64748b;margin:0}.practice-right .panel-heading{color:#f8fafc}.action-panel-title,.hero-banner-header .panel-heading{color:#64748b}.action-panel-header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.action-panel-collapsed-controls{display:flex;gap:10px;align-items:center;justify-content:flex-end}.action-panel-title{white-space:nowrap;font-weight:800}.action-panel-actions{display:grid;gap:10px;grid-template-columns:repeat(6,minmax(100px,1fr));min-width:0}.action-panel-actions .action-button{width:100%;min-height:38px}@media (max-width: 1200px){.action-panel-actions{grid-template-columns:repeat(5,minmax(100px,1fr))}}@media (max-width: 1024px){.action-panel-actions{grid-template-columns:repeat(4,minmax(100px,1fr))}}@media (max-width: 720px){.action-panel-actions{grid-template-columns:repeat(2,minmax(100px,1fr))}}.action-button{padding:4px 8px;border-radius:9999px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;cursor:pointer;font-size:.78rem;font-weight:700;min-height:32px}.practice-action-panel,.action-panel-actions,.action-panel-header,.action-panel-collapsed-controls{display:none!important}@media (max-width: 720px){.action-panel-body{grid-template-columns:repeat(2,minmax(100px,1fr))}}.action-button:hover{background:#f1f5f9}.practice-preview{position:absolute;top:60px;right:18px;width:58%;max-width:680px;min-height:60vh;max-height:calc(100vh - 180px);display:flex;flex-direction:column;border-radius:24px;padding:18px;background:#f8fafc;color:#0f172a;box-shadow:0 16px 40px #0f172a1f;z-index:20}@media (max-width: 720px){.practice-layout{position:relative}.practice-preview{position:absolute;top:200px;left:16px;right:16px;width:auto;max-width:none;margin:0;z-index:30;max-height:calc(100vh - 240px);display:flex}.practice-preview pre{max-height:calc(100vh - 280px);font-size:.78rem;white-space:pre;word-break:normal;overflow-x:auto;overflow-y:auto}.practice-right .practice-codearea,.practice-right .practice-textarea{font-size:.78rem}.action-collapse-toggle{display:inline-flex;align-items:center;padding:6px 10px;border-radius:9999px;background:transparent;border:1px solid #e2e8f0;cursor:pointer;font-weight:700;font-size:.8rem}.compact-action-panel{display:flex;gap:10px;padding:12px 0 0;justify-content:space-between}.practice-action-panel.collapsed .action-panel-title{opacity:.9}.practice-right .code-line-numbers,.practice-preview .code-line-numbers{display:none!important;width:0!important;min-width:0!important;padding:0!important;margin:0!important}.practice-code-editor{min-width:100%}}.practice-preview-header{font-size:.95rem;font-weight:700;margin-bottom:12px}.practice-preview pre{margin:0;background:#fff;color:#0f172a;padding:16px;border-radius:16px;font-size:.82rem;line-height:1.6;overflow:auto;white-space:pre-wrap;word-break:break-word;border:1px solid #e2e8f0;flex:1}.practice-right .practice-left-toggle,.practice-left .practice-left-toggle{display:none!important}.practice-layout.full-code .practice-right,.practice-layout.full-code.code-peek-hidden .practice-right{grid-column:1;min-height:calc(100vh - 150px)}@media (max-width: 1023px){.practice-layout.full-code{grid-template-columns:1fr}}.practice-left,.practice-right{padding:16px;display:flex;flex-direction:column}.practice-left-header{display:grid;gap:18px}.practice-right-header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.practice-right-header .panel-heading{margin:0}.practice-header-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}@media (max-width: 768px){.practice-header-actions{flex-wrap:nowrap;overflow-x:auto;width:100%;justify-content:flex-start;padding-bottom:6px}.practice-header-actions::-webkit-scrollbar{height:6px}.practice-header-actions::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}}.practice-header-button{padding:6px 10px;font-size:.75rem;min-height:32px}.practice-right-header .panel-toggle{white-space:nowrap}.practice-left{position:absolute;top:12px;left:12px;z-index:10;width:48px;transition:width .2s ease,padding .2s ease;overflow:hidden;background:#fff;color:#0f172a;border-radius:16px;box-shadow:0 4px 12px #0f172a1a;max-height:calc(100vh - 180px);display:flex;flex-direction:column}.practice-left.collapsed{width:48px;padding:6px 0}.practice-layout.full-code.split .practice-left.collapsed{display:none!important}.practice-layout.full-code.split .practice-left{left:auto!important;right:12px!important}.practice-left.expanded{width:320px;padding:0}.practice-left-toggle{width:100%;background:transparent;border:none;color:#0f172a;border-radius:6px;padding:10px 8px;cursor:pointer;font-weight:700;font-size:1.2rem;transition:background .2s ease;flex-shrink:0}.practice-left-toggle:hover{background:#0f172a14}.practice-left-content{display:flex;flex-direction:column;gap:8px;overflow:hidden;flex:1;padding:12px}.practice-left-header{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.practice-left-insert{padding:8px 12px;font-size:.8rem}.practice-left pre{margin:0;background:#f8fafc;color:#0f172a;padding:12px;border-radius:12px;font-size:.85rem;line-height:1.5;overflow:auto;flex:1;white-space:pre-wrap;word-break:break-word;border:1px solid #e2e8f0}.practice-left.collapsed .practice-left-content{display:none}.panel-toggle{justify-self:flex-end;border:1px solid #0f172a;background:transparent;border-radius:9999px;padding:10px 18px;font-weight:700;color:#0f172a;cursor:pointer}.practice-action-panel .panel-toggle,.hero-banner .panel-toggle{border-radius:0;border:none;padding:8px 12px;min-width:auto}.practice-right{background:#0f172a;color:#f8fafc;display:flex;flex-direction:column;position:relative;min-width:0}.practice-right .panel-heading{color:#f8fafc;margin:0}.practice-hint-toggle{display:flex;gap:12px}.practice-code-button{padding:10px 16px;border-radius:9999px;background:#f8fafc;color:#0f172a;font-weight:700;font-size:.875rem;cursor:pointer;transition:all .2s ease;white-space:nowrap;border:none}.practice-code-button:hover{background:#e2e8f0;transform:scale(1.02)}.practice-code-button:active{transform:scale(.98)}.practice-code-panel{background:#020617;border:1px solid rgba(148,163,184,.16);border-radius:20px;padding:18px;margin-bottom:18px}.practice-code-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.practice-code-panel h3{margin:0;font-size:.95rem;color:#f8fafc}.practice-code-panel pre{margin:0;background:#020617;color:#e2e8f0;padding:16px;border-radius:16px;font-size:.9rem;line-height:1.6;overflow:auto;max-height:40vh;white-space:pre-wrap;word-break:break-word}.practice-textarea,.practice-codearea{width:100%;border-radius:0;border:none;padding:16px;color:#f8fafc;background:#020617;flex:1;resize:none;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.6}.practice-code-editor{display:flex;width:100%;min-height:calc(100vh - 220px);overflow:hidden;border-radius:0}.code-line-numbers{display:flex;flex-direction:column;align-items:flex-end;padding:16px 10px;background:#111827;color:#94a3b8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.85rem;line-height:1.6;-webkit-user-select:none;user-select:none}.code-line-numbers span{display:block;min-width:2rem}.practice-codearea-with-lines{flex:1;min-width:0;border-left:1px solid rgba(148,163,184,.12)}.practice-answer-html{width:100%;padding:12px;color:#f8fafc;background:#020617;border-radius:0;min-height:calc(100vh - 220px);overflow:auto;font-size:.92rem;line-height:1.6;position:relative;min-width:0}@media (max-width: 768px){.practice-answer-html{overflow-x:visible;-webkit-overflow-scrolling:touch;word-break:break-word;min-height:auto;padding:10px}.practice-answer-html pre,.practice-answer-html code{min-width:100%;white-space:pre-wrap;word-break:break-word}}@media (max-width: 640px){.practice-wizard .hero-banner-header{flex-direction:column;align-items:stretch;gap:10px;padding:10px 12px}.practice-wizard .hero-banner-title-row{flex-direction:column;align-items:flex-start;gap:8px;width:100%}.practice-wizard .hero-banner-controls{width:100%;justify-content:space-between;gap:10px}.practice-wizard .hero-banner-actions{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:8px}.practice-wizard .hero-banner-actions .practice-header-button{min-height:44px;font-size:.85rem;padding:10px 12px}.practice-wizard .hero-task-id{display:none}.practice-text-page .practice-layout{min-height:auto}.practice-text-page .practice-right{min-height:auto!important;padding:12px}.practice-text-page .practice-answer-html{min-height:50vh;border-radius:16px}.practice-answer-html table{min-width:0;display:block;width:100%}.practice-answer-html thead{display:none}.practice-answer-html tbody{display:grid;gap:10px}.practice-answer-html tr{display:grid;gap:6px;padding:12px;border:1px solid rgba(148,163,184,.24);border-radius:14px;background:#f8fafc0a}.practice-answer-html td{display:block;border:none;padding:0;text-align:left}.practice-answer-html tr td:first-child{font-weight:700;color:#e2e8f0;font-size:.95rem;line-height:1.4}.practice-answer-html tr td:nth-child(2){color:#f8fafc;line-height:1.55}.practice-answer-html tr td:nth-child(n+3){color:#94a3b8;font-size:.85rem;line-height:1.45;padding-top:4px;border-top:1px solid rgba(148,163,184,.14)}}.practice-answer-html table{width:100%;border-collapse:collapse;margin-top:10px}.practice-answer-html th,.practice-answer-html td{border:1px solid rgba(148,163,184,.2);padding:10px 12px;text-align:left}.practice-answer-html th{background:#f8fafc14;color:#cbd5e1}.practice-answer-html h2{margin-top:24px;color:#f8fafc}.practice-answer-html .solid-banner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:16px}.practice-answer-html .solid-header{font-size:1.1rem;font-weight:700}.practice-answer-html .solid-meta{display:flex;gap:12px;flex-wrap:wrap;color:#94a3b8}@media (max-width: 640px){.practice-left{display:none}.practice-layout{grid-template-columns:1fr}.hero-banner-header{padding:8px 12px}.hero-banner-body{padding:0 12px 8px}.page-home .hero-banner.collapsed .hero-banner-header{padding:4px 10px}.page-home .hero-banner.collapsed .hero-title{font-size:.78rem;line-height:1.1}.page-home .hero-banner.collapsed .hero-chevron{width:22px;height:22px;font-size:.75rem}.page-home .hero-banner.collapsed{border-radius:14px}}.practice-code-hero{padding:0;border-radius:24px;overflow:hidden;background:#1e293b}.practice-code-hero .hero-banner-header{padding:16px 18px}.practice-code-hero .hero-banner-summary{align-items:center}.practice-code-title{margin:0;font-size:.95rem;font-weight:700;color:#f8fafc}.practice-code-hero-body{padding:18px;border-top:1px solid rgba(148,163,184,.16)}.app-main:has(.practice-code-page){display:flex;flex-direction:column;padding:8px 8px 12px;min-height:calc(100dvh - 52px);box-sizing:border-box}.practice-code-page.practice-page{display:flex;flex-direction:column;flex:1;min-height:0;gap:8px}.practice-code-page .practice-layout.full-code .practice-right,.practice-code-page .practice-layout.full-code.code-peek-hidden .practice-right{min-height:0!important}.practice-code-page .practice-right .practice-codearea,.practice-code-page .practice-right .practice-textarea{min-height:0}.practice-code-page .hero-banner{flex-shrink:0}.practice-wizard .practice-nav-button{border:none!important;background:transparent;box-shadow:none;border-radius:6px;min-width:30px;min-height:30px;padding:2px 8px;font-size:1.05rem;line-height:1;color:#334155}.practice-wizard .practice-nav-button:hover:not(:disabled){background:#f1f5f9}.practice-wizard .practice-nav-button:disabled{opacity:.35}.practice-wizard .hero-banner-body .hero-meta-chips{margin-bottom:8px}.practice-code-page .hero-banner-header{padding:6px 10px}.practice-code-page .hero-banner-title-row{flex-direction:row;align-items:center;gap:10px}.practice-code-page .hero-title{font-size:.92rem}.practice-code-page .hero-page-index{font-size:.78rem}.practice-code-page .hero-banner-body{padding:0 10px 8px}.practice-code-page .hero-banner-body .practice-description{margin-top:6px;font-size:.8rem;line-height:1.45}.practice-code-page .practice-layout.full-code{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.practice-code-page .practice-layout.full-code.code-peek-open .practice-right{padding-right:8px}.practice-code-page .practice-right{padding:8px 8px 10px;border-radius:18px;flex:1;min-height:0!important;display:grid;grid-template-rows:auto 1fr;grid-template-columns:1fr;row-gap:0;overflow:hidden;position:relative}.practice-code-page .practice-answer-toolbar{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;width:100%;grid-row:1;margin-bottom:0}.practice-code-page .practice-answer-toolbar .panel-heading{font-size:.72rem;flex-shrink:0;margin:0}.practice-code-page .practice-header-actions{justify-content:flex-end;justify-self:end;margin-left:0;flex-shrink:0;gap:6px;width:auto!important;flex-wrap:nowrap!important;overflow:visible;padding-bottom:0}.practice-code-page .practice-editor-area{position:relative;grid-row:2;grid-column:1;min-height:0;display:flex;overflow:hidden}.practice-code-page .practice-editor-shell{position:relative;flex:1;width:100%;min-width:0;min-height:0;display:flex;flex-direction:column;background:#020617;border-radius:12px;overflow:hidden}.practice-code-page .practice-peek-desktop{position:absolute;top:0;right:0;bottom:0;width:50%;max-width:600px;min-height:0;max-height:none;display:flex;flex-direction:column;margin:0;padding:16px;background:#1e293b;color:#f8fafc;box-shadow:-8px 0 32px #00000026;border:none;border-left:1px solid #374151;border-radius:0;z-index:10;pointer-events:auto}.practice-code-page .practice-peek-desktop .practice-preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:.78rem;font-weight:700;color:#f8fafc}.practice-code-page .practice-peek-desktop pre{flex:1;min-height:0;margin:0;overflow:auto;background:#111827;color:#f8fafc;padding:16px;border-radius:8px;font-size:.78rem;line-height:1.5;white-space:pre;border:1px solid #374151}.practice-peek-mobile-modal{display:none}.practice-code-page .practice-peek-close{border:none;background:transparent;color:#94a3b8;cursor:pointer;font-size:.9rem;line-height:1;padding:2px 4px}.practice-code-page .practice-text-label{flex:1;min-height:0;width:100%;display:flex;margin:0}.practice-code-page .practice-codearea,.practice-code-page .practice-textarea{flex:1;min-height:0;width:100%;box-sizing:border-box;padding:8px 10px;font-size:.78rem;line-height:1.45;border-radius:0}.practice-code-page .practice-tool-button{border:none;background:#f8fafc14;color:#e2e8f0;font-size:.72rem;padding:4px 10px;min-height:28px}.practice-code-page .practice-tool-button:hover{background:#f8fafc24}.practice-peek-modal{max-width:min(96vw,720px);width:96vw;padding:8px 10px}.practice-peek-modal .modal-header{padding-bottom:4px}.practice-peek-modal .modal-header h3{font-size:.9rem;margin:0}.practice-peek-modal .modal-body{padding:4px 0 0}.practice-peek-modal .modal-body pre{padding:8px;font-size:.72rem;line-height:1.4;max-height:72vh;border-radius:6px}@media (max-width: 720px){.practice-code-page .practice-peek-desktop{display:none!important}.practice-peek-mobile-modal{display:grid}}@media (min-width: 721px){.practice-peek-mobile-modal{display:none!important}.practice-code-page .practice-answer-toolbar{grid-template-columns:1fr auto}.practice-code-page .practice-header-actions{justify-self:end}}@media (max-width: 640px){.practice-code-page .hero-banner-header{flex-direction:row;align-items:center;gap:8px;padding:6px 8px}.practice-code-page .hero-banner-title-row{flex-direction:row;align-items:center;gap:8px}.practice-code-page .hero-banner-controls{width:auto;flex-shrink:0}.practice-code-page .hero-banner-actions{display:flex;flex:0;grid-template-columns:none;gap:4px}.practice-code-page .hero-banner-actions .practice-nav-button{min-height:30px;min-width:28px;padding:2px 6px}.practice-code-page .practice-right{padding:6px 6px 8px;min-height:0}.practice-code-page .practice-layout.full-code{min-height:0}.practice-code-page .practice-codearea,.practice-code-page .practice-textarea{font-size:.74rem;padding:6px 8px}.practice-code-page .practice-answer-toolbar{display:flex;flex-wrap:nowrap;justify-content:space-between}.practice-code-page .practice-header-actions{width:auto!important;justify-content:flex-end!important;flex-wrap:nowrap!important;overflow:visible;padding-bottom:0}.practice-code-page .practice-tool-button{flex-shrink:0}}.admin-task-grid-panel{display:grid;gap:0;border-radius:24px;overflow:hidden}.admin-task-grid-header,.admin-task-grid-item{display:grid;grid-template-columns:60px 180px 180px 240px 120px 200px;gap:10px;align-items:center;padding:12px 16px}.admin-task-grid-header{background:#f8fafc;color:#475569;font-weight:700;border-bottom:1px solid #e2e8f0}.admin-task-grid-item{background:#fff;border-bottom:1px solid #e2e8f0}.admin-task-grid-body{display:block;gap:0;max-height:56vh;overflow:auto}.admin-task-grid-item:nth-child(odd){background:#f8fafc}.admin-grid-input,.admin-grid-select,.admin-task-grid-details textarea,.admin-task-grid-details input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:8px 10px;font-size:.9rem;background:#fff}.admin-grid-select{min-height:40px}.admin-task-grid-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.admin-task-grid-actions .footer-button,.admin-grid-toolbar .footer-button,.admin-grid-pager .footer-button{width:auto!important;min-width:90px;padding:8px 12px!important;border-radius:8px!important}.admin-task-grid-header>div,.admin-task-grid-item>*{min-width:0}.admin-task-grid-header{position:sticky;top:0;z-index:5;background:#f8fafc}.admin-grid-index{text-align:center}.admin-grid-input,.admin-grid-select{padding:6px 8px;height:36px}.admin-task-grid-details{grid-column:1 / -1;display:grid;gap:12px;padding:12px 16px 18px;background:#eef2ff}.admin-task-grid-details label{display:grid;gap:6px}.admin-task-grid-details textarea{min-height:80px}@media (max-width: 1100px){.admin-task-grid-header,.admin-task-grid-item{grid-template-columns:60px 140px 140px 1fr 120px 200px}}@media (max-width: 860px){.admin-task-grid-header,.admin-task-grid-item{grid-template-columns:1fr 120px 120px}.admin-task-grid-item{grid-template-areas:"index category actions" "title title title" "type type type";grid-template-columns:60px 1fr 180px}.admin-task-grid-item>input:nth-child(1),.admin-task-grid-item>input:nth-child(2),.admin-task-grid-item>input:nth-child(3),.admin-task-grid-item>select:nth-child(4){width:100%}}.admin-grid-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.admin-grid-search{display:grid;gap:6px;flex:1;min-width:260px}.admin-single-editor{max-width:1200px;margin:12px auto;padding:12px}.admin-search-layout{display:grid;gap:18px}.admin-search-layout.side-by-side{grid-template-columns:minmax(260px,1fr) minmax(420px,1.4fr);align-items:start}.admin-search-panel{display:grid;gap:14px}.admin-single-editor{max-width:1200px;margin:12px auto;padding:16px}.admin-search-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;margin-top:16px;background:#fff}.admin-search-toolbar.panel-bordered{border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 1px 4px #0f172a0f}.admin-search-toolbar .admin-search-actions>div,.admin-search-toolbar .admin-search-actions-end{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-search-toolbar .footer-button{width:auto!important;padding:10px 18px!important}.admin-search-toolbar .admin-search-actions{width:100%;justify-content:space-between}.admin-search-toolbar .admin-search-actions-end{justify-content:flex-end}.admin-search-toolbar-top{gap:18px}.admin-search-row{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(180px,1fr));width:100%}.admin-search-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-single-editor .admin-single-editor-body{padding:16px 0 0}.admin-single-action-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.admin-single-action-row .footer-button{flex:0 0 auto!important;width:auto!important;min-width:120px}@media (max-width: 900px){.admin-search-row{grid-template-columns:1fr}}.admin-search-toolbar .footer-button,.admin-single-action-row:not(.admin-editor-actions) .footer-button,.admin-search-actions .footer-button{width:auto!important;min-width:120px;padding:10px 18px!important}.admin-single-action-row:not(.admin-editor-actions) .footer-button.secondary,.admin-search-actions .footer-button.secondary{background:transparent!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.12)!important}.admin-search-row input.admin-search-input{min-width:0}.admin-task-editor input.admin-grid-input,.admin-task-editor select.admin-grid-select,.admin-task-editor textarea.admin-grid-input{width:100%}.admin-task-editor textarea.admin-grid-input{min-height:120px}.admin-task-editor{display:flex;flex-direction:column;gap:18px}.admin-task-editor-inline{display:grid;gap:6px;width:100%;grid-template-columns:1fr}.admin-task-editor-field,.admin-task-editor-full{display:flex;flex-direction:column;gap:6px;width:100%}.admin-task-editor-label{margin-bottom:6px;font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:#475569}.admin-single-action-row{display:flex;flex-direction:column;gap:12px;width:100%}.admin-editor-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:center}.admin-editor-actions .footer-button{width:auto!important;min-width:120px!important;flex:0 0 auto;padding:10px 20px!important}.admin-single-action-row:not(.admin-editor-actions) .footer-button{width:100%!important}.admin-search-toolbar .footer-button,.admin-search-actions .footer-button,.admin-editor-actions .footer-button{width:auto!important;min-width:120px!important}.admin-task-editor-label{font-size:.8rem;color:#475569;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.admin-task-editor input.admin-grid-input,.admin-task-editor select.admin-grid-select,.admin-task-editor textarea.admin-grid-input{width:100%;min-width:0;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;font-size:.95rem;background:#fff;color:#0f172a}.admin-task-editor textarea.admin-grid-input{min-height:140px;resize:vertical}.admin-task-editor textarea[rows="3"]{min-height:100px}.admin-single-editor .footer-row{display:flex;gap:18px;margin-top:18px;flex-wrap:wrap}.admin-single-editor .footer-row .footer-button{flex:1;width:auto!important;padding:14px 28px!important;border-radius:9999px!important;font-weight:700}.admin-single-editor .footer-row .footer-button.secondary{background:transparent!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.12)!important}@media (max-width: 900px){.admin-task-editor input.admin-grid-input,.admin-task-editor textarea,.admin-task-editor select.admin-grid-select{width:100%;min-width:0}.admin-single-editor{padding:8px}}.admin-search-input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 14px;font-size:.95rem}.admin-search-settings{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-search-position-controls{display:flex;gap:10px}.admin-search-position-controls .footer-button{min-width:auto;padding:8px 12px!important}.admin-search-position-controls .footer-button.active{background:#0f172a!important;color:#fff!important}.panel-bordered{border:1px solid rgba(148,163,184,.5);border-radius:18px;padding:18px;background:#fff;box-shadow:0 1px 3px #0f172a14}.admin-search-results-panel{width:100%}.admin-search-results-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.admin-search-result-item{display:grid;gap:10px;width:100%;padding:20px;border:1px solid rgba(148,163,184,.25);border-radius:20px;background:#fff;color:inherit;text-align:left;min-height:140px;align-items:start;box-shadow:0 4px 20px #0f172a0d;transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}.admin-search-result-item:hover{background:#f4f8ff;transform:translateY(-2px);box-shadow:0 14px 32px #0f172a1f}.admin-search-result-index{min-width:32px;padding:6px 10px;border-radius:9999px;background:#0f172a;color:#fff;font-weight:700;text-align:center}.admin-search-result-item.selected{background:#eef2ff;border-color:#c7d2fe}.admin-search-result-item:hover{background:#f8fafc}.admin-search-toolbar{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between}.admin-search-toolbar .admin-search-row{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(220px,1fr));width:100%}@media (max-width: 1180px){.admin-search-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.admin-search-row{grid-template-columns:1fr}.admin-search-actions{width:100%;justify-content:space-between}}.admin-search-toolbar .admin-search-actions{width:auto;justify-content:space-between}.admin-search-toolbar .footer-button{width:auto!important;min-width:120px!important}.admin-task-editor{display:grid;gap:18px}.admin-task-editor-field,.admin-task-editor-full{display:grid;gap:8px;width:100%}.admin-task-editor-label{margin-bottom:0}.admin-task-editor input.admin-grid-input,.admin-task-editor select.admin-grid-select,.admin-task-editor textarea.admin-grid-input{width:100%;min-width:0}.admin-search-results-panel,.admin-single-editor-body,.admin-search-toolbar.panel-bordered{margin-top:16px}.admin-search-results-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.admin-search-result-item{border-radius:20px;padding:20px;box-shadow:0 8px 24px #0f172a14}.admin-search-result-item:hover{transform:translateY(-1px);background:#f8fbff;box-shadow:0 14px 32px #0f172a1f}.admin-single-action-row{display:flex;flex-wrap:wrap;gap:12px;width:100%}.admin-single-action-row .footer-button{width:auto!important}.admin-search-result-index{min-width:48px;padding:10px 12px;border-radius:14px;background:#0f172a;color:#fff;font-weight:700;text-align:center}.admin-search-result-meta{display:grid;gap:4px}.admin-search-result-title{font-weight:700}.admin-search-result-subtitle{color:#64748b;font-size:.9rem}.admin-search-layout.side-by-side{display:grid;grid-template-columns:1fr 1.1fr;gap:18px;align-items:start}@media (max-width: 900px){.admin-search-layout.side-by-side{grid-template-columns:1fr}}.admin-grid-pager{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.admin-grid-pager .admin-pagination-controls{flex-wrap:nowrap}.admin-pagination-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.admin-pagination-label{font-size:.92rem;color:#475569}.admin-grid-index{font-size:.92rem;color:#64748b}.practice-code-panel-header{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px}.practice-code-hero pre{margin:0;background:#020617;color:#e2e8f0;padding:18px;border-radius:20px;font-size:.9rem;line-height:1.6;overflow:auto;max-height:40vh;white-space:pre-wrap;word-break:break-word}.page-home{display:flex;flex-direction:column;min-height:calc(100svh - 44px - env(safe-area-inset-bottom,0px));overflow-x:clip;max-width:100%;gap:10px;padding-bottom:calc(52px + env(safe-area-inset-bottom,0px));box-sizing:border-box}.app-main:has(.page-home){padding:8px 8px calc(12px + env(safe-area-inset-bottom,0px));overflow-x:clip}.home-hero{position:relative;padding:16px 14px;border-radius:18px;background:linear-gradient(135deg,#0f172a,#1e293b 45%,#0f172a);color:#f8fafc;margin-bottom:8px;overflow:hidden}.home-hero.collapsed{padding:10px 14px}.home-hero-copy{max-width:760px;display:grid;gap:10px}.home-eyebrow{text-transform:uppercase;letter-spacing:.16em;color:#cbd5e1;font-size:.68rem;font-weight:700}.home-hero-title{font-size:clamp(1.15rem,4vw,2rem);line-height:1.15;max-width:45ch;margin:0}.home-hero.collapsed .home-hero-title{font-size:1rem}.home-hero-description{color:#cbd5e1;font-size:.88rem;line-height:1.55;max-width:720px}.home-hero-features{color:#e2e8f0;font-size:.82rem;line-height:1.55}.home-hero-features ul{list-style:disc inside;margin:0;padding-left:1rem}.home-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.home-hero-toggle{position:absolute!important;top:16px!important;right:14px!important;left:auto!important;background:none;border:none;color:#fff;font-size:.85rem;font-weight:700;cursor:pointer;padding:2px 6px;line-height:1;z-index:100!important;min-width:24px;min-height:24px;pointer-events:auto!important}.home-hero.collapsed .home-hero-description,.home-hero.collapsed .home-hero-features,.home-hero.collapsed .home-hero-actions{display:none}.hero-cta,.hero-secondary{display:inline-flex;align-items:center;justify-content:center;min-width:140px;padding:10px 16px;border-radius:9999px;font-size:.82rem;font-weight:700;text-decoration:none}.hero-cta{background:#2563eb;color:#fff}.hero-secondary{background:#ffffff14;color:#e2e8f0;border:1px solid rgba(226,232,240,.2)}.home-categories{flex:1 1 auto;display:flex;flex-direction:column;padding:10px 10px 12px;overflow-x:clip;overflow-y:visible;max-width:100%;border-radius:18px;min-height:0}.home-categories .container{flex:1 1 auto;display:flex;flex-direction:column;min-height:100%}.home-categories.panel{box-shadow:0 6px 20px #0f172a0a}.category-group{margin-bottom:14px}.category-group:last-child{margin-bottom:0}.category-group-header{font-size:.82rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#0f172a;margin-bottom:10px;padding-left:2px}.home-shelf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px}.category-card-netflix{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;border-left:4px solid;background:#fff;border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;transition:transform .2s ease,box-shadow .2s ease,background .2s ease;cursor:pointer}.home-course-shelves{display:flex;flex-direction:column;gap:24px}.course-shelf-row{display:flex;flex-direction:column;gap:14px;position:relative;padding-bottom:24px}.container{max-width:900px;margin:0 auto;background:linear-gradient(180deg,#f2dce0,#e8d0d5);border-radius:20px;padding:20px 30px 40px;box-shadow:0 20px 60px #0000001a,inset 0 1px #ffffff80}.tabs{display:flex;gap:0;margin-bottom:30px}.tab{padding:12px 24px;border:none;background:transparent;font-size:16px;font-weight:500;color:#666;cursor:pointer;transition:all .3s ease;position:relative}.tab:hover{color:#333}.tab.active{background:#8b8b7a;color:#fff;border-radius:4px}.bookshelf-container{display:flex;flex-direction:column;gap:clamp(16px,3vw,24px);width:100%}.shelf{position:relative;width:100%}.books{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-end;justify-content:space-between;gap:clamp(12px,4vw,32px);padding:0 clamp(4px,1.5vw,12px);min-height:clamp(150px,28vw,200px);padding-bottom:0;width:100%;box-sizing:border-box}@media (min-width: 600px){.books{gap:clamp(16px,4.5vw,40px);padding:0 clamp(6px,2vw,16px);min-height:clamp(170px,22vw,210px)}}@media (min-width: 1024px){.books{gap:clamp(20px,5vw,48px);padding:0 clamp(8px,2.5vw,20px)}}.book{position:relative;flex:0 0 auto;transition:transform .3s ease;cursor:pointer;max-width:220px;width:auto;align-self:flex-end}.book:hover{transform:translateY(-6px) rotate(-1.5deg)}html{scroll-behavior:smooth}.author-card-button,.author-profile-button{position:relative;flex:0 0 auto;width:auto;min-width:0!important;min-height:0!important;transition:transform .3s ease;cursor:pointer;align-self:flex-end;background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}.author-profile-button:hover,.author-card-button:hover .author-profile-content{transform:translateY(-6px)}.author-profile-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:0!important;box-sizing:border-box;border-radius:0!important;background:transparent!important;box-shadow:none!important}.author-browse-row .author-profile-content,.author-browse-row .author-card-button,.author-profile-button{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;margin:0!important}.author-profile-avatar{width:210px;height:210px;border-radius:999px;border:3px solid rgba(255,255,255,.92);background:#ffffff1a;display:flex;align-items:center;justify-content:center;overflow:visible;box-shadow:0 0 0 2px #0f172a14;position:relative}.author-profile-avatar img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%;box-shadow:inset 0 0 #0000000f}.author-profile-icon{font-size:128px;line-height:1}.author-profile-title{font-size:14px;font-weight:700;color:#fff;text-align:center;line-height:1.2;white-space:normal;word-break:break-word;text-shadow:0 1px 2px rgba(0,0,0,.45);max-width:180px}.author-profile-title--on-avatar{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:12px;padding:0 6px;box-sizing:border-box;white-space:normal;width:calc(100% - 12px);max-width:100%;text-align:center;pointer-events:none}.author-profile-title--above{position:absolute;left:50%;top:-42px;transform:translate(-50%);font-size:18px;padding:6px 12px;background:transparent;border-radius:12px;color:#fff;white-space:nowrap;z-index:60;pointer-events:none;box-shadow:none}.author-browse-row{gap:clamp(16px,4vw,32px);justify-content:center;flex-wrap:wrap}.author-browse-row .author-profile-content{width:140px;margin:0 auto;text-align:center}@media (max-width: 640px){.author-browse-row{gap:14px;justify-content:center}.author-browse-row .author-profile-content{width:140px}.author-profile-avatar{width:168px;height:168px}.author-profile-icon{font-size:108px}.author-profile-title--above{top:-30px;font-size:13px;padding:4px 10px}}body[data-bookshelf-theme=space] .author-profile-button,body[data-bookshelf-theme=space] .author-profile-button:hover,body[data-bookshelf-theme=space] .author-profile-button:active{background:transparent!important;color:inherit!important;box-shadow:none!important;border:none!important;text-transform:none!important;padding:0!important}body[data-bookshelf-theme=space] .author-profile-content{background:transparent!important;box-shadow:none!important}.author-browse-row .author-card,.author-browse-row .author-card-button{align-self:flex-start}.author-shelf-board{height:16px;background:linear-gradient(180deg,#d5d7e8,#b7b9cc 52%,#9b9dc0);box-shadow:0 4px 8px #00000014,inset 0 2px 4px #ffffffa6,inset 0 -2px 4px #0000000f}.author-card.placeholder{opacity:.5;cursor:default}.book-spine{position:absolute;left:0;top:0;width:10px;height:100%;background:linear-gradient(90deg,#1a1a1a,#555 55%,#333);border-radius:3px 0 0 3px;z-index:3;box-shadow:inset -1px 0 #ffffff1f}.book.empty-space{visibility:hidden;background:transparent;pointer-events:none;min-width:0}.book-cover-title{position:absolute;z-index:2;color:#fff;line-height:1.25;text-shadow:0 1px 3px rgba(0,0,0,.85),0 0 8px rgba(0,0,0,.5);pointer-events:none}.book-title{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translate(-50%) translateY(6px);width:max-content;max-width:160px;padding:6px 12px;background:#8b8b7a;color:#fff;font-size:12px;font-weight:500;line-height:1.3;text-align:center;border-radius:4px;white-space:normal;opacity:0;pointer-events:none;transition:opacity .25s ease,transform .25s ease;z-index:5;box-shadow:0 4px 10px #0003}.book-title:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-top-color:#8b8b7a}.book:hover .book-title{opacity:1;transform:translate(-50%) translateY(0)}.book-cover-title--on-image{max-width:calc(100% - 8px)}.book-cover-overlay-title,.book-cover-caption{display:none}.shelf-board{height:20px;background:linear-gradient(180deg,#ececec,#d8d8d8 52%,#c4c4c4);border-radius:0 0 4px 4px;box-shadow:0 4px 8px #00000026,inset 0 2px 4px #fffffff2,inset 0 -2px 4px #0000001a;position:relative;opacity:1}.shelf-board:before{content:"";position:absolute;bottom:-8px;left:0;right:0;height:8px;background:linear-gradient(180deg,rgba(0,0,0,.1) 0%,transparent 100%)}@media (max-width: 768px){.container{padding:15px}.books{flex-wrap:nowrap;justify-content:space-between;gap:clamp(10px,3.5vw,24px);padding:0 clamp(4px,1.5vw,10px)}.book{--book-icon-font: calc(var(--book-icon-font, 72px) * .7);--book-title-font: calc(var(--book-title-font, 24px) * .7);max-width:none;width:auto;flex:0 0 auto}.tab{padding:10px 16px;font-size:14px}.book-title{font-size:11px;max-width:120px;padding:5px 9px}.book-cover-title{font-size:9px}}.book.orange .book-cover{filter:hue-rotate(-30deg) saturate(1.2)}.book.blue .book-cover{filter:hue-rotate(180deg) saturate(1.1)}.book.red .book-cover{filter:hue-rotate(-60deg) saturate(1.3)}.book.teal .book-cover{filter:hue-rotate(150deg) saturate(1.2)}.course-book-card{display:block;text-decoration:none;color:inherit;width:130px;min-height:260px;border-radius:14px;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;position:relative;box-shadow:2px 5px 15px #0003}.course-book-card:hover{transform:translateY(-10px);box-shadow:4px 10px 20px #00000040}.course-book-card-placeholder,.course-book-card-empty{opacity:.6;background:#f0f2f599;border:1px dashed rgba(148,163,184,.6)}.course-book-card-empty-small{width:120px!important;min-height:200px!important;border-radius:12px}.course-book-cover{width:100%;min-height:280px;background:#fff;position:relative;display:flex;flex-direction:column}.course-book-cover-art{position:relative;min-height:180px;display:grid;place-items:center;background:linear-gradient(180deg,#ffffff2e,#ffffff0f 40%),var(--book-color, #8b92a1);border-top-left-radius:14px;border-top-right-radius:14px;overflow:hidden;box-shadow:none}.course-book-cover-icon{width:80px;height:80px;display:grid;place-items:center;font-size:2.5rem;color:#fff;background:#ffffff2e;border-radius:18px;box-shadow:none}.course-book-cover-details{width:100%;padding:12px 14px 16px;background:#fff;color:#0f172a}.course-book-title{font-size:.95rem;font-weight:800;color:#0f172a;line-height:1.2;margin-bottom:6px}.course-book-description{margin:0;color:#475569;font-size:.78rem;line-height:1.4;min-height:48px}.course-book-meta{margin-top:6px;font-size:.78rem;font-weight:700;color:#475569}.home-tabs{display:flex;gap:6px;margin-bottom:clamp(12px,3vw,20px);padding:5px;background:#fdf7f2;border-radius:12px;box-shadow:inset 0 0 0 1px #94a3b81f;flex-wrap:nowrap;max-width:100%;box-sizing:border-box}.home-tabs .home-tab-button{flex:1;min-width:0;background:#fb923c;border:1px solid rgba(255,255,255,.35);color:#fff;font-size:12px;font-weight:700;cursor:pointer;padding:7px 10px;border-radius:8px;transition:transform .15s ease,background .15s ease,box-shadow .15s ease;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 3px 6px #fb923c29}.home-tabs .home-tab-button.active{background:#f97316;box-shadow:0 5px 10px #f9731633}.home-tabs .home-tab-button:hover:not(.active){transform:translateY(-1px);background:#fb923c}.home-selection-search{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.home-selection-search-input{border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;font-size:16px;width:100%;max-width:420px;box-sizing:border-box}.home-selection-search-meta{color:#64748b;font-size:14px}.home-login-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px;align-items:start;flex:1 1 auto;min-height:100%}.home-login-section,.home-announcements{padding:16px;border-radius:16px;background:#ffffffeb;border:1px solid rgba(148,163,184,.25)}.home-login-section-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.home-login-section-title{margin:0;font-size:1.05rem}.home-login-mode-tabs{display:inline-flex;gap:6px;padding:4px;border-radius:999px;background:#94a3b824}.home-login-mode-tab{border:none;background:transparent;color:#475569;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer}.home-login-mode-tab.active{background:#0f172a;color:#fff}.home-login-form{display:grid;gap:12px}.home-login-field{display:grid;gap:6px;font-size:13px;color:#475569}.home-login-field input{border:1px solid #cbd5e1;border-radius:8px;padding:10px 12px;font-size:14px;width:100%;box-sizing:border-box}.home-login-message{margin:0;padding:10px 12px;border-radius:8px;background:#fbbf2429;color:#92400e;font-size:14px;font-weight:600}.home-login-submit{border:none;border-radius:10px;padding:11px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:14px;font-weight:700;cursor:pointer}.home-login-google,.home-login-secondary{border-radius:10px;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer}.home-login-divider{margin:2px 0 0;text-align:center;font-size:12px;opacity:.7}.home-login-google{border:1px solid rgba(148,163,184,.45);background:#fff;color:#0f172a}.home-login-secondary{border:1px solid rgba(148,163,184,.35);background:transparent;color:inherit}.home-login-signed-in{margin:0;font-size:14px;line-height:1.4}.home-login-backend-hint{margin:0;font-size:12px;line-height:1.35;opacity:.78}.home-login-submit:disabled,.home-login-google:disabled,.home-login-secondary:disabled{opacity:.65;cursor:not-allowed}.home-announcements-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.home-announcement-card{padding:12px 14px;border-radius:12px;background:#f8fafcf2;border:1px solid rgba(148,163,184,.2)}.home-announcement-card-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}.home-announcement-title{margin:0;font-size:.98rem}.home-announcement-date{font-size:12px;color:#64748b;white-space:nowrap}.home-announcement-body{margin:0;font-size:14px;line-height:1.55;color:#334155;white-space:pre-wrap}.home-announcements-empty{margin:0;color:#64748b;font-size:14px}@media (max-width: 768px){.home-login-panel{grid-template-columns:1fr}}.course-book-card .course-book-cover{position:relative}.course-book-card-placeholder .course-book-cover{border-style:dashed}.course-book-topline{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:#475569;margin-bottom:12px}.course-book-title{font-size:1rem;font-weight:700;line-height:1.2;color:#0f172a;margin-bottom:10px}.course-book-description{margin:0;color:#475569;font-size:.85rem;line-height:1.5}.course-book-footer{margin-top:16px;font-size:.78rem;font-weight:700;color:#334155}.category-card-netflix:hover{transform:translateY(-1px);box-shadow:0 8px 20px #0f172a1a;background:#f8fafc}.category-netflix-subtitle{margin:0;font-size:.78rem;color:#64748b;line-height:1.4}.category-card-cta{font-size:.72rem;font-weight:700;color:#2563eb;text-transform:uppercase}@media (max-width: 1100px){.home-shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.home-hero{padding:12px}.home-hero.collapsed{padding:8px 12px}.home-hero-actions{flex-direction:column;align-items:stretch}.home-shelf-grid{grid-template-columns:1fr;gap:8px}.home-hero-toggle{font-size:.9rem;padding:3px 6px;min-width:20px;min-height:20px}}.practice-status{display:flex;flex-wrap:wrap;gap:12px;color:#475569;font-weight:700}.practice-footer{padding:12px}.practice-footer-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.footer-button{width:100%;padding:14px 16px;border-radius:9999px;background:#0f172a;color:#fff;font-weight:700;cursor:pointer}.admin-search-toolbar .footer-button,.admin-search-actions .footer-button,.admin-editor-actions .footer-button{width:auto!important;min-width:120px}.footer-button.secondary{background:transparent;color:#0f172a;border:1px solid #0f172a}.admin-search-toolbar .admin-search-actions{width:auto!important}.admin-search-actions>div,.admin-search-actions-end{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-search-toolbar .footer-button,.admin-search-actions .footer-button,.admin-editor-actions .footer-button{width:auto!important;min-width:120px!important;padding:10px 18px!important}.admin-search-toolbar .footer-button.secondary,.admin-search-actions .footer-button.secondary{background:transparent!important;color:#0f172a!important;border:1px solid rgba(15,23,42,.12)!important}.practice-left.hidden{display:none}@media (max-width: 900px){.practice-layout{grid-template-columns:1fr}.practice-footer-row{grid-template-columns:1fr 1fr}}.practice-left{max-height:calc(100vh - 160px);overflow:auto}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#02061799;display:grid;place-items:center;z-index:60}.practice-left pre{max-height:calc(100vh - 220px)}.modal{background:#fff;border-radius:12px;max-width:520px;width:90%;padding:16px;box-shadow:0 12px 40px #02061733}.modal-header{display:flex;align-items:center;justify-content:space-between}.modal-body{padding:12px 0}.modal-body ul{list-style:none;padding:0;margin:0}.compile-error-box{margin-bottom:12px;padding:10px 12px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca}.compile-error-title{margin:0 0 6px;font-size:.85rem;font-weight:700;color:#991b1b}.compile-error-list{margin:0;padding-left:16px;color:#b91c1c;font-size:.82rem;line-height:1.45}.modal-body li{padding:8px 0;border-bottom:1px solid #eef2ff}.modal-body li.verified{color:#166534}.modal-body li.not-verified{color:#991b1b}.modal-close{background:transparent;border:none;font-size:1.1rem;cursor:pointer}.modal-body pre{background:#020617;color:#e2e8f0;padding:16px;border-radius:8px;font-size:.875rem;line-height:1.6;overflow:auto;max-height:60vh;margin:0;font-family:Courier New,Courier,monospace;word-wrap:break-word;white-space:pre-wrap}.modal-footer{margin-top:16px;display:flex;gap:12px;justify-content:flex-end}.modal-footer .footer-button{width:auto;min-width:100px}.category-card-netflix{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px;border-radius:14px;border-left:4px solid;background:#fff;border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;transition:box-shadow .2s ease,background .2s ease;cursor:pointer;min-width:0;max-width:100%;overflow:hidden}.category-card-netflix:hover{box-shadow:0 8px 24px #0f172a1a;background:#f9fafc}.category-netflix-icon{font-size:1.35rem;line-height:1;display:grid;place-items:center;flex-shrink:0}.category-netflix-content{display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}.category-netflix-title{font-size:.92rem;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-netflix-subtitle{margin:0;font-size:.78rem;color:#64748b;line-height:1.4;overflow-wrap:anywhere}.clamped{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.category-card-netflix .card-expand{width:32px;height:32px;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc;font-size:.9rem;padding:0;margin:0;cursor:pointer;color:#64748b;flex-shrink:0;display:grid;place-items:center}.category-card-netflix .card-expand:hover{background:#0f172a;color:#fff;border-color:#0f172a}.instructions-section{display:grid;gap:24px}.detailed-instructions{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:16px;padding:20px}.instructions-title{font-weight:700;font-size:.95rem;color:#0f172a;margin-bottom:12px}.instructions-list{margin:0;padding-left:20px;list-style:decimal;color:#475569;line-height:1.8}.instruction-item{margin-bottom:10px;font-size:.9rem}.checklist-title{font-weight:700;font-size:.95rem;color:#0f172a;margin-bottom:12px}.checklist{display:grid;gap:12px;margin-bottom:16px}.checklist-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;font-size:.9rem;color:#334155;transition:all .2s ease;cursor:pointer}.checklist-item:hover{background:#f8fafc;border-color:#cbd5e1}.checklist-item.checked{background:#f0fdf4;border-color:#22c55e}.checklist-item input{width:18px;height:18px;cursor:pointer;accent-color:#22c55e}.checklist-text{flex:1}.verified-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:12px;background:#dcfce7;color:#166534;font-size:.8rem;font-weight:600;white-space:nowrap}.verify-button{width:100%;padding:14px 16px;border-radius:12px;border:2px solid #0f172a;background:#0f172a;color:#fff;font-weight:700;font-size:.95rem;cursor:pointer;transition:all .2s ease}.verify-button:hover{background:#1e293b;border-color:#1e293b;transform:scale(1.02)}.verify-button:active{transform:scale(.98)}.status-badge{display:inline-flex;align-items:center;padding:8px 14px;border-radius:12px;font-size:.85rem;font-weight:600;white-space:nowrap}.status-badge.complete{background:#dcfce7;color:#166534}.practice-status{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.task-count{flex-shrink:0;padding:2px 8px;background:#f1f5f9;border-radius:8px;font-size:.75rem;font-weight:600;color:#334155}.hero-banner-title-row .task-type-badge{flex-shrink:0;font-size:.65rem}.hero-banner-title-row .status-badge{flex-shrink:0;padding:2px 6px;font-size:.7rem}.category-group-courses{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e2e8f0}.category-group-subtitle{margin:-6px 0 10px;color:#64748b;font-size:.78rem}.course-card-meta{margin:0;color:#64748b;font-size:.72rem}.home-course-loading{color:#64748b;font-size:.85rem;padding:8px 4px}.course-wizard-page{gap:10px;display:flex;flex-direction:column;min-height:calc(100dvh - 52px)}.app-main:has(.course-wizard-page){padding:8px 8px 12px}.course-wizard-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:0;border-radius:18px;overflow:hidden}.course-step-html-body,.course-step-code,.course-step-quiz{flex:1;min-height:0;display:flex;flex-direction:column}.course-step-html-body .practice-layout.full-code,.course-step-code .practice-layout.full-code,.course-step-quiz .practice-layout.full-code{flex:1;min-height:0}.course-step-html-body .practice-right,.course-step-code .practice-right{display:grid;grid-template-rows:auto 1fr;min-height:0;overflow:hidden}.course-step-quiz .practice-right{display:grid;grid-template-rows:auto 1fr;min-height:0;overflow:visible}.course-step-html-body .practice-editor-area,.course-step-code .practice-editor-area,.course-step-quiz .practice-editor-area{min-height:0;display:flex;flex:1}.course-step-html-body .practice-editor-shell,.course-step-code .practice-editor-shell,.course-step-quiz .practice-editor-shell{min-height:0;display:flex;flex-direction:column;flex:1}.course-step-html-body .practice-codearea,.course-step-html-body .practice-textarea,.course-step-code .practice-codearea,.course-step-code .practice-textarea,.course-step-quiz .practice-codearea,.course-step-quiz .practice-textarea{min-height:0;height:100%}.course-step-html-body .practice-answer-html{min-height:0;height:100%;padding:24px}.course-step-html-body .practice-answer-html h2{margin-top:0;color:#f8fafc}.course-step-html-body .practice-answer-html ul,.course-step-html-body .practice-answer-html ol{margin:16px 0;padding-left:20px;color:#cbd5e1}.course-step-html-body .practice-answer-html li{margin:8px 0}.course-wizard-header{padding:12px 14px;border-radius:18px}.course-wizard-header-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.course-wizard-eyebrow{font-size:.78rem;color:#64748b;font-weight:700}.course-wizard-step-title{margin:4px 0;font-size:clamp(1rem,3vw,1.35rem)}.course-wizard-meta{display:flex;flex-wrap:wrap;gap:6px;color:#64748b;font-size:.78rem}.course-wizard-nav{display:flex;gap:4px}.course-wizard-progress{margin-top:10px;height:6px;border-radius:999px;background:#e2e8f0;overflow:hidden}.course-wizard-progress-bar{height:100%;background:#2563eb;border-radius:999px}.course-wizard-description{margin:10px 0 0;color:#475569;font-size:.82rem;line-height:1.45}.course-wizard-body{padding:0;border-radius:18px;overflow:hidden;min-height:50vh}.course-wizard-footer{display:flex;justify-content:flex-start}.course-step-html-body{min-height:50vh;border-radius:0}.course-step-html-body .course-lesson h2{margin-top:0;color:#f8fafc}.course-step-html-body .course-lesson p,.course-step-html-body .course-lesson li{color:#e2e8f0}.course-step-code{background:#0f172a;color:#f8fafc;min-height:50vh;display:flex;flex-direction:column}.course-step-code-toolbar{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-bottom:1px solid rgba(148,163,184,.16)}.course-step-code-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;font-weight:700}.course-step-code-actions{display:flex;gap:6px}.course-step-code-layout{position:relative;flex:1;min-height:calc(50vh - 44px)}.course-step-editor-shell{height:100%;min-height:calc(50vh - 44px)}.course-step-editor-shell .practice-codearea{min-height:calc(50vh - 44px);height:100%}.course-step-code-layout .practice-peek-desktop{top:8px;right:8px;width:50%;min-height:calc(100% - 16px);max-height:calc(100% - 16px)}.course-step-quiz{padding:14px;display:grid;gap:14px;min-height:0}.course-step-quiz-body{display:grid;gap:16px;min-height:0;padding-top:80px}.course-quiz-intro{margin:0;color:#475569;line-height:1.65}.course-quiz-question{border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin:0;background:#fff;color:#0f172a}.course-step-quiz .practice-right-header{position:relative;z-index:0}.course-step-quiz-body{position:relative;z-index:1}.course-quiz-question{margin-top:12px}.course-quiz-question legend{position:relative;z-index:2;background:#fff;padding:0 8px;display:inline-block;margin-top:-12px}.course-quiz-question legend{font-weight:700;font-size:.92rem;padding:0 4px;color:#0f172a}.course-quiz-options{display:grid;gap:8px;margin-top:8px}.course-quiz-option{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;cursor:pointer;color:#0f172a;background:#f8fafc}.course-quiz-option span{color:inherit}.course-quiz-option input[type=radio]{accent-color:#2563eb}.course-quiz-option.selected{border-color:#2563eb;background:#eff6ff}.course-quiz-option.correct{border-color:#16a34a;background:#f0fdf4}.course-quiz-option.incorrect{border-color:#dc2626;background:#fef2f2}.course-quiz-explanation{margin:8px 0 0;color:#475569;font-size:1.125rem;line-height:1.5}.course-quiz-submit{width:auto;min-width:140px;font-size:1.05rem}.course-quiz-summary{font-weight:700;color:#0f172a;font-size:1.125rem;line-height:1.5}:root{--app-content-max: 900px;--app-content-gutter: 16px;--app-radius: 14px;--app-radius-sm: 10px;--app-section-gap: 12px;--practice-editor-height: clamp(360px, calc(100dvh - 168px) , 620px);--app-header-height: 70px;--shelf-blush-start: #f2dce0;--shelf-blush-end: #e8d0d5;--shelf-sage: #8b8b7a;--shelf-sage-dark: #6f6f62;--shelf-sage-light: #a8a896;--shelf-ink: #333333;--shelf-ink-muted: #666666;--shelf-ink-subtle: #555555;--shelf-border: #ddd6cf;--shelf-border-strong: #c9bfb5;--shelf-cream: #faf7f4;--shelf-card: #ffffff;--shelf-board: #e8e4df;--shelf-editor-bg: #faf6f1;--shelf-editor-surface: #fffdf9;--shelf-editor-text: #3d3832;--shelf-editor-muted: #8a8278;--shelf-editor-border: #e5ddd3;--shelf-shadow: rgba(74, 60, 55, .12);--shelf-shadow-strong: rgba(74, 60, 55, .2);--tab-active: var(--shelf-sage)}body[data-bookshelf-theme=space]{background:#f8fafc!important}body[data-bookshelf-theme=space] .page-home{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)}body[data-bookshelf-theme=space] .home-categories{--shelf-blush-start: #0f0c29;--shelf-blush-end: #24243e;--shelf-sage: #667eea;--shelf-sage-dark: #764ba2;--shelf-sage-light: #a78bfa;--shelf-ink: #e0e7ff;--shelf-ink-muted: #c4b5fd;--shelf-ink-subtle: #a78bfa;--shelf-border: rgba(255,255,255,.1);--shelf-border-strong: rgba(255,255,255,.2);--shelf-cream: rgba(255,255,255,.05);--shelf-card: rgba(255,255,255,.1);--shelf-board: #d8d8d8;--shelf-editor-bg: rgba(255,255,255,.03);--shelf-editor-surface: rgba(255,255,255,.05);--shelf-editor-text: #e0e7ff;--shelf-editor-muted: #a78bfa;--shelf-editor-border: rgba(255,255,255,.1);--shelf-shadow: rgba(0,0,0,.3);--shelf-shadow-strong: rgba(0,0,0,.5);--tab-active: #667eea;background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important;position:relative;overflow-x:clip;overflow-y:visible}body[data-bookshelf-theme=space] .home-categories:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(2px 2px at 20px 30px,#fff,transparent),radial-gradient(2px 2px at 40px 70px,#fff,transparent),radial-gradient(1px 1px at 90px 40px,#fff,transparent),radial-gradient(2px 2px at 130px 80px,#fff,transparent),radial-gradient(1px 1px at 160px 120px,#fff,transparent),radial-gradient(2px 2px at 200px 50px,#fff,transparent),radial-gradient(1px 1px at 250px 160px,#fff,transparent),radial-gradient(2px 2px at 300px 90px,#fff,transparent),radial-gradient(1px 1px at 350px 130px,#fff,transparent),radial-gradient(2px 2px at 400px 60px,#fff,transparent),radial-gradient(1px 1px at 450px 180px,#fff,transparent),radial-gradient(2px 2px at 500px 100px,#fff,transparent),radial-gradient(1px 1px at 550px 140px,#fff,transparent),radial-gradient(2px 2px at 600px 70px,#fff,transparent),radial-gradient(1px 1px at 650px 190px,#fff,transparent),radial-gradient(2px 2px at 700px 110px,#fff,transparent),radial-gradient(1px 1px at 750px 150px,#fff,transparent),radial-gradient(2px 2px at 800px 80px,#fff,transparent),radial-gradient(1px 1px at 850px 170px,#fff,transparent);background-size:900px 200px;animation:twinkle 4s ease-in-out infinite,moveStars 90s linear infinite;z-index:0}body[data-bookshelf-theme=space] .home-categories .home-space-decor{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:hidden}.home-space-decor .space-float{display:none;position:absolute;font-size:var(--size, 2rem);line-height:1;opacity:.88;pointer-events:none;left:var(--sx);top:var(--sy);transform:var(--sr);animation:spaceDrift var(--dur, 35s) linear infinite;animation-delay:var(--delay, 0s);will-change:left,top,transform}body[data-bookshelf-theme=space] .home-categories .home-space-decor .space-float{display:block}.home-space-decor .space-float-rocket{filter:drop-shadow(0 0 10px rgba(255,200,100,.8))}.home-space-decor .space-float-planet{filter:drop-shadow(0 0 10px rgba(100,200,255,.8));opacity:.92}@keyframes spaceDrift{0%{left:var(--sx);top:var(--sy);transform:var(--sr)}45%{left:var(--mx);top:var(--my)}to{left:var(--ex);top:var(--ey);transform:var(--er)}}body[data-bookshelf-theme=space] .home-categories:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(1px 1px at 50px 100px,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 150px 200px,rgba(255,255,255,.5),transparent),radial-gradient(2px 2px at 250px 50px,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 350px 150px,rgba(255,255,255,.5),transparent),radial-gradient(2px 2px at 450px 250px,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 550px 100px,rgba(255,255,255,.5),transparent),radial-gradient(2px 2px at 650px 200px,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 750px 50px,rgba(255,255,255,.5),transparent),radial-gradient(2px 2px at 850px 150px,rgba(255,255,255,.5),transparent),radial-gradient(1px 1px at 950px 250px,rgba(255,255,255,.5),transparent);background-size:1000px 300px;animation:twinkle 3s ease-in-out infinite reverse,moveStars 120s linear infinite reverse;z-index:0}@keyframes twinkle{0%,to{opacity:.3}50%{opacity:.8}}@keyframes moveStars{0%{transform:translateY(0)}to{transform:translateY(-200px)}}body[data-bookshelf-theme=space] .home-categories>*{position:relative;z-index:1}body[data-bookshelf-theme=space] .hero-banner{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important;border:2px solid rgba(102,126,234,.5)!important;box-shadow:0 0 30px #667eea66,0 8px 32px #00000080,inset 0 1px #ffffff26!important;border-radius:24px!important;position:relative;overflow:hidden}body[data-bookshelf-theme=space] .hero-banner:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(2px 2px at 20px 30px,#fff,transparent),radial-gradient(2px 2px at 40px 70px,#fff,transparent),radial-gradient(1px 1px at 90px 40px,#fff,transparent),radial-gradient(2px 2px at 130px 80px,#fff,transparent),radial-gradient(1px 1px at 160px 120px,#fff,transparent),radial-gradient(2px 2px at 200px 50px,#fff,transparent),radial-gradient(1px 1px at 250px 160px,#fff,transparent),radial-gradient(2px 2px at 300px 90px,#fff,transparent),radial-gradient(1px 1px at 350px 130px,#fff,transparent),radial-gradient(2px 2px at 400px 60px,#fff,transparent),radial-gradient(1px 1px at 450px 180px,#fff,transparent),radial-gradient(2px 2px at 500px 100px,#fff,transparent),radial-gradient(1px 1px at 550px 140px,#fff,transparent),radial-gradient(2px 2px at 600px 70px,#fff,transparent),radial-gradient(1px 1px at 650px 190px,#fff,transparent),radial-gradient(2px 2px at 700px 110px,#fff,transparent),radial-gradient(1px 1px at 750px 150px,#fff,transparent),radial-gradient(2px 2px at 800px 80px,#fff,transparent),radial-gradient(1px 1px at 850px 170px,#fff,transparent);background-size:900px 200px;animation:twinkle 4s ease-in-out infinite;z-index:0}body[data-bookshelf-theme=space] .hero-banner:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(118,75,162,.8),rgba(167,139,250,.8),rgba(118,75,162,.8),transparent);z-index:1}body[data-bookshelf-theme=space] .hero-banner>*{position:relative;z-index:2}body[data-bookshelf-theme=space] .hero-banner .hero-title{color:#fff!important;text-shadow:0 2px 8px rgba(0,0,0,.5),0 0 20px rgba(102,126,234,.5);font-weight:800;letter-spacing:.5px}body[data-bookshelf-theme=space] .hero-banner .hero-subtitle{color:#c4b5fd!important;text-shadow:0 1px 4px rgba(0,0,0,.4);font-weight:600}body[data-bookshelf-theme=space] .hero-banner .hero-description{color:#e0e7ff!important;text-shadow:0 1px 3px rgba(0,0,0,.4)}body[data-bookshelf-theme=space] .hero-banner .hero-category-tag,body[data-bookshelf-theme=space] .hero-banner .hero-type-tag{color:#a78bfa!important;background:#667eea4d!important;border:1px solid rgba(167,139,250,.4);text-shadow:0 1px 2px rgba(0,0,0,.3)}body[data-bookshelf-theme=space] .hero-banner .hero-task-id{color:#c4b5fd!important;text-shadow:0 1px 2px rgba(0,0,0,.3)}body[data-bookshelf-theme=space] .home-categories.panel,body[data-bookshelf-theme=space] .practice-workspace.panel{background:#ffffff0d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(102,126,234,.3);box-shadow:0 0 20px #667eea33,0 8px 32px #0000004d,inset 0 1px #ffffff1a;border-radius:24px}body[data-bookshelf-theme=space] .course-wizard-page .practice-workspace.panel,body[data-bookshelf-theme=space] .practice-page .practice-workspace.panel{border-radius:0!important;border:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:transparent!important}body[data-bookshelf-theme=space] .tab{background:linear-gradient(135deg,#667eea4d,#764ba24d);color:#e0e7ff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(102,126,234,.4);box-shadow:0 4px 8px #0000004d,inset 0 1px #fff3;text-shadow:0 1px 2px rgba(0,0,0,.3);font-weight:700;letter-spacing:.5px;transition:all .3s ease}body[data-bookshelf-theme=space] .tab:hover{transform:translateY(-2px);box-shadow:0 6px 12px #667eea66,inset 0 1px #ffffff4d;border-color:#a78bfa99}body[data-bookshelf-theme=space] .tab.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 8px 16px #667eea80,inset 0 1px #ffffff4d,0 0 20px #667eea66;border-color:#a78bfacc;text-shadow:0 1px 3px rgba(0,0,0,.4)}body[data-bookshelf-theme=space] .category-card{background:linear-gradient(135deg,#1a1a2e,#16213e,#0f3460)!important;border:3px solid rgba(102,126,234,.5)!important;box-shadow:0 8px 16px #0006,0 0 30px #667eea4d,inset 0 2px #ffffff1a,inset 0 -2px #0000004d!important;border-radius:12px!important;transform-style:preserve-3d;transition:all .4s cubic-bezier(.175,.885,.32,1.275);color:#fff!important;position:relative;overflow:hidden}body[data-bookshelf-theme=space] .category-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:linear-gradient(90deg,rgba(0,0,0,.4),rgba(102,126,234,.2),transparent);border-right:1px solid rgba(102,126,234,.3)}body[data-bookshelf-theme=space] .category-card:after{content:"";position:absolute;top:0;left:0;right:0;height:50%;background:linear-gradient(180deg,rgba(255,255,255,.1) 0%,transparent 100%);pointer-events:none}body[data-bookshelf-theme=space] .category-card:hover{transform:translateY(-8px) rotateX(5deg) rotateY(-2deg);box-shadow:0 16px 32px #00000080,0 0 40px #667eea80,inset 0 2px #ffffff26,inset 0 -2px #0006;border-color:#a78bfacc}body[data-bookshelf-theme=space] .category-card-title{color:#fff!important;text-shadow:0 3px 6px rgba(0,0,0,.6),0 0 15px rgba(102,126,234,.4);font-weight:900;letter-spacing:.5px;font-size:1.2rem;position:relative;z-index:1}body[data-bookshelf-theme=space] .category-card-subtitle{color:#c4b5fd!important;text-shadow:0 2px 4px rgba(0,0,0,.5);font-weight:600;font-size:.9rem;position:relative;z-index:1}body[data-bookshelf-theme=space] .category-card{background-image:linear-gradient(135deg,rgba(102,126,234,.1) 0%,transparent 50%,rgba(118,75,162,.1) 100%),repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,255,255,.02) 2px,rgba(255,255,255,.02) 4px)!important}body[data-bookshelf-theme=space] .action-button,body[data-bookshelf-theme=space] .panel-toggle,body[data-bookshelf-theme=space] .practice-code-button,body[data-bookshelf-theme=space] .primary-button,body[data-bookshelf-theme=space] .footer-button,body[data-bookshelf-theme=space] .admin-btn{background:linear-gradient(135deg,#667eea,#764ba2)!important;color:#fff!important;border:2px solid rgba(167,139,250,.5)!important;box-shadow:0 4px 8px #0000004d,0 0 15px #667eea66,inset 0 1px #ffffff4d!important;border-radius:12px!important;font-weight:700!important;letter-spacing:.5px;text-shadow:0 1px 2px rgba(0,0,0,.3);transition:all .2s ease;text-transform:uppercase;font-size:.85rem}body[data-bookshelf-theme=space] .action-button:hover,body[data-bookshelf-theme=space] .panel-toggle:hover,body[data-bookshelf-theme=space] .practice-code-button:hover,body[data-bookshelf-theme=space] .primary-button:hover,body[data-bookshelf-theme=space] .footer-button:hover,body[data-bookshelf-theme=space] .admin-btn:hover{transform:translateY(-2px);box-shadow:0 6px 12px #667eea80,0 0 25px #667eea80,inset 0 1px #fff6;border-color:#a78bfacc}body[data-bookshelf-theme=space] .action-button:active,body[data-bookshelf-theme=space] .panel-toggle:active,body[data-bookshelf-theme=space] .practice-code-button:active,body[data-bookshelf-theme=space] .primary-button:active,body[data-bookshelf-theme=space] .footer-button:active,body[data-bookshelf-theme=space] .admin-btn:active{transform:translateY(0);box-shadow:0 2px 4px #0000004d,inset 0 1px #fff3}body[data-hero-theme=space] .home-hero{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(102,126,234,.3);box-shadow:0 0 20px #667eea33,0 8px 32px #0000004d,inset 0 1px #ffffff1a;border-radius:20px;position:relative;overflow:hidden}body[data-hero-theme=space] .home-hero:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(2px 2px at 20px 30px,#fff,transparent),radial-gradient(2px 2px at 40px 70px,#fff,transparent),radial-gradient(1px 1px at 90px 40px,#fff,transparent),radial-gradient(2px 2px at 130px 80px,#fff,transparent),radial-gradient(1px 1px at 160px 120px,#fff,transparent),radial-gradient(2px 2px at 200px 50px,#fff,transparent),radial-gradient(1px 1px at 250px 160px,#fff,transparent),radial-gradient(2px 2px at 300px 90px,#fff,transparent),radial-gradient(1px 1px at 350px 130px,#fff,transparent),radial-gradient(2px 2px at 400px 60px,#fff,transparent),radial-gradient(1px 1px at 450px 180px,#fff,transparent),radial-gradient(2px 2px at 500px 100px,#fff,transparent),radial-gradient(1px 1px at 550px 140px,#fff,transparent),radial-gradient(2px 2px at 600px 70px,#fff,transparent),radial-gradient(1px 1px at 650px 190px,#fff,transparent),radial-gradient(2px 2px at 700px 110px,#fff,transparent),radial-gradient(1px 1px at 750px 150px,#fff,transparent),radial-gradient(2px 2px at 800px 80px,#fff,transparent),radial-gradient(1px 1px at 850px 170px,#fff,transparent);background-size:900px 200px;animation:twinkle 4s ease-in-out infinite;z-index:0}body[data-hero-theme=space] .home-hero:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(118,75,162,.8),rgba(167,139,250,.8),rgba(118,75,162,.8),transparent);z-index:1}body[data-hero-theme=space] .home-hero>*{position:relative;z-index:2}body[data-hero-theme=dinosaur] .home-hero{background:linear-gradient(180deg,#2d2416,#4a3c2e,#3d3228)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(139,90,43,.3);box-shadow:0 8px 32px #0000004d;border-radius:20px;position:relative;overflow:hidden}body[data-hero-theme=ocean] .home-hero{background:linear-gradient(180deg,#0a192f,#112240,#0d1b2a)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(100,200,255,.2);box-shadow:0 8px 32px #0000004d;border-radius:20px;position:relative;overflow:hidden}body[data-bookshelf-theme=space] .home-hero,body[data-bookshelf-theme=space] .practice-workspace-top{background:linear-gradient(180deg,#0f0c29,#302b63,#24243e)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(102,126,234,.3);box-shadow:0 0 20px #667eea33,0 8px 32px #0000004d,inset 0 1px #ffffff1a;border-radius:20px;position:relative;overflow:hidden}body[data-bookshelf-theme=space] .home-hero:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;background-image:radial-gradient(2px 2px at 20px 30px,#fff,transparent),radial-gradient(2px 2px at 40px 70px,#fff,transparent),radial-gradient(1px 1px at 90px 40px,#fff,transparent),radial-gradient(2px 2px at 130px 80px,#fff,transparent),radial-gradient(1px 1px at 160px 120px,#fff,transparent),radial-gradient(2px 2px at 200px 50px,#fff,transparent),radial-gradient(1px 1px at 250px 160px,#fff,transparent),radial-gradient(2px 2px at 300px 90px,#fff,transparent),radial-gradient(1px 1px at 350px 130px,#fff,transparent),radial-gradient(2px 2px at 400px 60px,#fff,transparent),radial-gradient(1px 1px at 450px 180px,#fff,transparent),radial-gradient(2px 2px at 500px 100px,#fff,transparent),radial-gradient(1px 1px at 550px 140px,#fff,transparent),radial-gradient(2px 2px at 600px 70px,#fff,transparent),radial-gradient(1px 1px at 650px 190px,#fff,transparent),radial-gradient(2px 2px at 700px 110px,#fff,transparent),radial-gradient(1px 1px at 750px 150px,#fff,transparent),radial-gradient(2px 2px at 800px 80px,#fff,transparent),radial-gradient(1px 1px at 850px 170px,#fff,transparent);background-size:900px 200px;animation:twinkle 4s ease-in-out infinite;z-index:0}body[data-bookshelf-theme=space] .home-hero:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,rgba(118,75,162,.8),rgba(167,139,250,.8),rgba(118,75,162,.8),transparent);z-index:1}body[data-bookshelf-theme=space] .home-hero>*{position:relative;z-index:2}body[data-bookshelf-theme=dinosaur]{background:#f8fafc!important}body[data-bookshelf-theme=dinosaur] .home-categories{--shelf-blush-start: #2d2416;--shelf-blush-end: #3d3228;--shelf-sage: #8b5a2b;--shelf-sage-dark: #a0522d;--shelf-sage-light: #d4a574;--shelf-ink: #e8d4b8;--shelf-ink-muted: #c9a86c;--shelf-ink-subtle: #d4a574;--shelf-border: rgba(139,90,43,.3);--shelf-border-strong: rgba(139,90,43,.5);--shelf-cream: rgba(139,90,43,.1);--shelf-card: rgba(139,90,43,.15);--shelf-board: rgba(139,90,43,.12);--shelf-editor-bg: rgba(139,90,43,.08);--shelf-editor-surface: rgba(139,90,43,.1);--shelf-editor-text: #e8d4b8;--shelf-editor-muted: #c9a86c;--shelf-editor-border: rgba(139,90,43,.2);--shelf-shadow: rgba(139,90,43,.2);--shelf-shadow-strong: rgba(139,90,43,.4);--tab-active: #8b5a2b;background:linear-gradient(180deg,#2d2416,#4a3c2e,#3d3228)!important}body[data-bookshelf-theme=dinosaur] .home-categories.panel,body[data-bookshelf-theme=dinosaur] .practice-workspace.panel{background:#8b5a2b1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(139,90,43,.3)}body[data-bookshelf-theme=dinosaur] .tab{background:#8b5a2b33;color:#e8d4b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(139,90,43,.3)}body[data-bookshelf-theme=dinosaur] .tab.active{background:linear-gradient(135deg,#8b5a2b,sienna);color:#fff8e7;box-shadow:0 4px 12px #8b5a2b66}body[data-bookshelf-theme=dinosaur] .home-hero,body[data-bookshelf-theme=dinosaur] .practice-workspace-top{background:linear-gradient(180deg,#2d2416,#4a3c2e,#3d3228)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(139,90,43,.3);box-shadow:0 8px 32px #0000004d;border-radius:20px;position:relative;overflow:hidden}body[data-bookshelf-theme=ocean]{background:#f8fafc!important}body[data-bookshelf-theme=ocean] .home-categories{--shelf-blush-start: #0a192f;--shelf-blush-end: #0d1b2a;--shelf-sage: #00b4d8;--shelf-sage-dark: #0096c7;--shelf-sage-light: #48cae4;--shelf-ink: #b8d4e8;--shelf-ink-muted: #ade8f4;--shelf-ink-subtle: #48cae4;--shelf-border: rgba(100,200,255,.2);--shelf-border-strong: rgba(100,200,255,.4);--shelf-cream: rgba(0,180,216,.08);--shelf-card: rgba(0,180,216,.1);--shelf-board: rgba(0,180,216,.08);--shelf-editor-bg: rgba(0,180,216,.05);--shelf-editor-surface: rgba(0,180,216,.08);--shelf-editor-text: #b8d4e8;--shelf-editor-muted: #48cae4;--shelf-editor-border: rgba(100,200,255,.15);--shelf-shadow: rgba(0,180,216,.15);--shelf-shadow-strong: rgba(0,180,216,.3);--tab-active: #00b4d8;background:linear-gradient(180deg,#0a192f,#112240,#0d1b2a)!important}body[data-bookshelf-theme=ocean] .home-categories.panel,body[data-bookshelf-theme=ocean] .practice-workspace.panel{background:#00b4d814;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(100,200,255,.2)}body[data-bookshelf-theme=ocean] .tab{background:#64c8ff1a;color:#b8d4e8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid rgba(100,200,255,.2)}body[data-bookshelf-theme=ocean] .tab.active{background:linear-gradient(135deg,#00b4d8,#0096c7);color:#fff;box-shadow:0 4px 12px #00b4d866}body[data-bookshelf-theme=ocean] .home-hero,body[data-bookshelf-theme=ocean] .practice-workspace-top{background:linear-gradient(180deg,#0a192f,#112240,#0d1b2a)!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(100,200,255,.2);box-shadow:0 8px 32px #0000004d;border-radius:20px;position:relative;overflow:hidden}.app-shell:has(.page-home) .app-header-inner,.app-main:has(.page-home){width:100%;max-width:none;margin:0;padding-left:0;padding-right:0;box-sizing:border-box}.app-shell:has(.practice-page) .app-header-inner,.app-main:has(.practice-page),.app-shell:has(.course-wizard-page) .app-header-inner,.app-main:has(.course-wizard-page){width:100%;max-width:none;margin:0;padding-left:0;padding-right:0;box-sizing:border-box}.app-shell:has(.page-home) .app-header,.app-shell:has(.practice-page) .app-header,.app-shell:has(.course-wizard-page) .app-header{display:block;padding:calc(6px + env(safe-area-inset-top,0px)) 0 4px}.app-shell:has(.practice-page) .app-header,.app-shell:has(.course-wizard-page) .app-header{padding:0}.app-shell:has(.page-home) .app-header-inner,.app-shell:has(.practice-page) .app-header-inner,.app-shell:has(.course-wizard-page) .app-header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.app-header-inner.has-stage-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px}.app-header-inner.has-stage-nav .app-brand,.app-header-inner.has-stage-nav .nav-links{flex:0 0 auto}.app-stage-nav{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:3px 8px;border-radius:999px;background:#ffffffd1;border:1px solid var(--shelf-border);box-shadow:0 2px 8px var(--shelf-shadow);flex:1 1 auto;min-width:0;margin:0 auto}.app-stage-nav-button{min-width:24px;min-height:24px;padding:1px 6px;border:none;border-radius:6px;background:transparent;color:var(--shelf-sage-dark);font-size:.95rem;font-weight:700;cursor:pointer;line-height:1}.app-stage-nav-button:hover:not(:disabled){background:#8b8b7a1f}.app-stage-nav-button:disabled{opacity:.35;cursor:not-allowed}.app-stage-nav-label{min-width:0;text-align:center;font-size:.8rem;font-weight:700;color:var(--shelf-ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-shell:has(.page-home),.app-shell:has(.practice-page),.app-shell:has(.course-wizard-page){color:var(--shelf-ink)}.app-main:has(.page-home),.app-main:has(.practice-page),.app-main:has(.practice-code-page),.app-main:has(.course-wizard-page){display:block;min-height:auto;padding-top:0;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));overflow-x:clip}.page-home,.practice-page,.course-wizard-page{gap:var(--app-section-gap)}.page-home .home-hero{background:transparent;color:var(--shelf-ink);border:none;border-radius:0;box-shadow:none;margin-bottom:0;overflow:hidden}.page-home .home-hero.collapsed{padding:10px 14px}.page-home .home-eyebrow{color:var(--shelf-sage-dark);letter-spacing:.14em}.page-home .home-hero-title{color:var(--shelf-ink)}.page-home .home-hero-description,.page-home .home-hero-features{color:var(--shelf-ink-muted)}.page-home .home-hero-toggle{color:var(--shelf-sage-dark);background:none;border-radius:0;position:absolute!important;right:16px!important;top:16px!important;left:auto!important;z-index:100!important;min-width:24px;min-height:24px;pointer-events:auto!important}.page-home .hero-cta{background:var(--shelf-sage);color:#fff}.page-home .hero-cta:hover{background:var(--shelf-sage-dark)}.page-home .hero-secondary{background:#8b8b7a14;color:var(--shelf-ink);border-color:var(--shelf-border-strong)}.page-home .hero-secondary:hover{background:#8b8b7a29}.page-home .home-categories.panel{border:none;box-shadow:none;padding:0;border-radius:0;overflow:hidden;flex:1 1 auto;display:flex;flex-direction:column;min-height:0}.page-home .home-categories .container{width:100%;max-width:none;margin:0;padding:0;border-radius:0;background:transparent;border:none;box-shadow:none;flex:1 1 auto;display:flex;flex-direction:column;min-height:100%}.page-home .tabs{margin-bottom:12px;border-bottom-color:transparent}.page-home .tab{color:var(--shelf-ink-muted);padding:10px 18px;font-size:15px}.page-home .tab:hover{color:var(--shelf-ink)}.page-home .tab.active{background:var(--shelf-sage);color:#fff}.page-home .home-course-loading{color:var(--shelf-ink-muted)}.home-return-loader{position:fixed;top:50%;left:50%;z-index:40;display:flex;align-items:center;gap:8px;transform:translate(-50%,-50%);padding:12px 16px;border:1px solid rgba(255,255,255,.35);border-radius:12px;background:#0f0c29eb;color:#fff;font-weight:700;box-shadow:0 8px 28px #0f0c2947;pointer-events:none}.home-return-loader-emoji{display:inline-block;font-size:1.45rem;animation:home-return-book-bounce .9s ease-in-out infinite}.home-return-loader-dots{width:20px;overflow:hidden;animation:home-return-dots 1.1s steps(4,end) infinite}@keyframes home-return-book-bounce{0%,to{transform:translateY(0) rotate(-6deg)}50%{transform:translateY(-5px) rotate(6deg)}}@keyframes home-return-dots{0%{opacity:.25}50%{opacity:1}to{opacity:.25}}.page-home .bookshelf-container,.page-home .shelf,.page-home .shelf-track{width:100%}.page-home .home-shelf-stack{display:grid;gap:28px}.page-home .home-shelf-title{margin:0 0 12px;color:var(--shelf-ink, #0f172a);font-size:1.15rem;line-height:1.2}.page-home .bookshelf-container--horizontal{min-width:0}.page-home .bookshelf-container--horizontal .shelf{width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;touch-action:pan-x pan-y}.page-home-showcase .bookshelf-container--horizontal .shelf{overflow-x:auto!important;overflow-y:hidden!important}.page-home .bookshelf-container--horizontal .shelf-board{-webkit-user-select:none;user-select:none;pointer-events:none;cursor:default}.page-home .bookshelf-container--horizontal .shelf-track--horizontal{position:relative}.page-home .shelf-page-button{position:absolute;top:50%;z-index:3;width:30px;height:48px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:6px;background:#0f172ac7;color:#fff;cursor:pointer;font-size:30px;line-height:1;transform:translateY(-50%)}.page-home .shelf-page-button:hover:not(:disabled),.page-home .shelf-page-button:focus-visible:not(:disabled){background:#0f172af2;outline:2px solid rgba(255,226,122,.8);outline-offset:2px}.page-home .shelf-page-button:disabled{cursor:default;opacity:.28}.page-home .shelf-page-button--left{left:2px}.page-home .shelf-page-button--right{right:2px}.page-home .bookshelf-container--horizontal .books{display:flex;align-items:flex-end;justify-content:flex-start;width:max-content;min-width:100%;gap:clamp(10px,2.4vw,22px);padding:0 clamp(4px,1.5vw,12px)}.page-home .shelf-track--horizontal{width:max-content;min-width:100%}.page-home .shelf-track--horizontal .shelf-board{width:100%;min-width:100%}.page-home .books{display:grid;grid-template-columns:repeat(var(--shelf-cols, 2),minmax(0,1fr));align-items:end;justify-items:center;gap:clamp(16px,3vw,28px) clamp(10px,2.4vw,22px);padding:0 clamp(4px,1.5vw,12px);width:100%;box-sizing:border-box}@media (min-width: 600px){.page-home .books{gap:clamp(18px,3.2vw,36px) clamp(14px,2.8vw,28px);padding:0 clamp(6px,2vw,16px)}}.page-home .book{flex:0 0 auto;width:100%!important;max-width:280px!important;display:flex;flex-direction:column;align-items:stretch}.page-home .bookshelf-container .book,.page-home .bookshelf-container .book:hover,.page-home .bookshelf-container .book:active,.page-home .bookshelf-container .book:focus-visible{transition:none;transform:none}.page-home .book,.page-home .book *{-webkit-user-select:none;user-select:none}.page-home .bookshelf-container--horizontal .book{width:clamp(132px,18vw,190px)!important;min-width:clamp(132px,18vw,190px);margin-bottom:4px;scroll-snap-align:start}body[data-bookshelf-theme=space] .page-home .book--category,body[data-bookshelf-theme=space] .page-home .book--category:hover,body[data-bookshelf-theme=space] .page-home .book--category:active,body[data-bookshelf-theme=space] .page-home .author-shelf-button,body[data-bookshelf-theme=space] .page-home .author-shelf-button:hover,body[data-bookshelf-theme=space] .page-home .author-shelf-button:active{background:transparent!important;color:inherit!important;box-shadow:none!important;border:none!important;text-transform:none!important;letter-spacing:normal!important;text-shadow:none!important;padding:0!important;font-size:inherit!important;border-radius:0!important}.page-home .book-caption{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;min-height:3.6em;text-align:center}.page-home .book:not(.book--category)>.book-caption{display:none}.page-home .book-cover-ribbon{position:absolute;left:10px;right:0;bottom:0;z-index:6;display:flex;align-items:center;justify-content:flex-start;min-height:2.75em;padding:7px 8px;box-sizing:border-box;background:#0000008c;-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none}.page-home .book-cover-ribbon-title{width:100%;margin:0;color:#fff;font-size:clamp(.78rem,2.9vw,.98rem);font-weight:800;line-height:1.18;text-align:left;text-shadow:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.page-home .book-caption-author{font-size:1.2rem;font-weight:700;line-height:1.25;color:#0f172ac7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-home .book-caption-title{font-size:1.42rem;font-weight:800;line-height:1.25;color:#0f172a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.page-home .book--folder-3d{max-width:168px!important;overflow:visible!important;align-self:end;margin-bottom:0!important}.page-home .book.book--folder-3d .book-cover,.page-home .book--folder-3d .book-cover,.page-home .book-cover--folder-3d{position:relative!important;background:transparent!important;box-shadow:none!important;border:none!important;overflow:visible!important;aspect-ratio:auto!important;width:100%!important;height:auto!important;margin-bottom:0!important;display:flex!important;align-items:flex-end!important}.book-folder-3d{position:relative;width:100%;height:auto;overflow:visible;display:block;margin-bottom:-12px}.book-folder-3d-photo{width:100%;height:auto;display:block;pointer-events:none;filter:none;object-fit:contain;object-position:bottom center;vertical-align:bottom}.book-folder-3d-ribbon{position:absolute;top:7%;left:5%;width:70%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:.2em .26em .24em;box-sizing:border-box;background:linear-gradient(180deg,#ffe38a,#f5b942 52%,#d97706);border:1px solid #fff3c4;border-radius:4px;box-shadow:0 1px #fff6d5,0 3px #92400e,0 6px 10px #00000059;transform:perspective(240px) rotateX(18deg);pointer-events:none}.book-folder-3d-ribbon-line{display:block;color:#fff8dc;font-weight:800;font-size:clamp(1.2rem,4.4vw,1.55rem);line-height:1.12;text-align:center;letter-spacing:.01em;text-shadow:0 1px 0 #b45309,0 2px 0 #78350f,0 3px 4px rgba(0,0,0,.4);word-break:break-word}.book-folder-3d-ribbon--two .book-folder-3d-ribbon-line{font-size:clamp(.88rem,3.1vw,1.12rem)}.book-folder-3d-ribbon--mm .book-folder-3d-ribbon-line{font-family:Noto Sans Myanmar,Myanmar Text,Padauk,sans-serif;font-size:clamp(1.32rem,4.8vw,1.7rem);font-weight:700;line-height:1.28;letter-spacing:0}.page-home .book--category .book-cover,.page-home .book-cover--emoji{background:transparent!important;box-shadow:none!important;border:none!important;aspect-ratio:auto!important;height:auto!important;min-height:0!important;overflow:visible!important;display:flex;align-items:flex-end;justify-content:center;padding:0}.page-home .book-category-emoji{font-size:clamp(5.6rem,18vw,9.2rem);line-height:1;filter:drop-shadow(0 8px 16px rgba(0,0,0,.35))}.page-home img.book-category-flag{width:clamp(4.8rem,22vw,8.4rem);height:auto;max-width:100%;display:block;object-fit:contain;font-size:0}.page-home .book-cover,.page-home .book .book-cover{width:100%!important;height:auto!important;aspect-ratio:2 / 3}.page-home .book-cover-image{object-fit:cover!important;object-position:center center;background:#0b1220;left:10px!important;width:calc(100% - 10px)!important}.page-home .book-spine{width:10px!important;z-index:3}.page-home .book--category .book-caption{min-height:3.8em;overflow:visible}.page-home .book--category .book-caption-title{white-space:normal;overflow:visible;display:block;-webkit-line-clamp:unset;-webkit-box-orient:unset;word-break:break-word;line-height:1.2;min-height:2.4em;padding:0 2px}.page-home .author-shelf-item{width:100%;text-align:center}.page-home .author-shelf-label{display:block;margin-bottom:8px;color:#f8fafc;font-size:1.1rem;font-weight:800;white-space:normal;overflow:visible;text-overflow:unset;line-height:1.2;word-break:break-word}.page-home .author-shelf-emoji{font-size:clamp(5rem,16vw,8rem)}.page-home .author-shelf-photo{width:min(72%,160px);aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}.page-home .book--category .book-cover,.page-home .book.book--category .book-cover{aspect-ratio:auto!important;height:auto!important}.page-home .book-title{display:none}.home-category-crumb{display:flex;align-items:center;gap:10px;margin:0 0 14px;color:#334155;font-weight:700}.home-category-back{border:none;background:#0f172a14;color:inherit;border-radius:999px;padding:6px 12px;cursor:pointer;font-weight:700}.page-home .shelf-board{position:relative;width:100%;height:20px;border-radius:0 0 4px 4px;background:linear-gradient(180deg,#ececec,#d8d8d8 52%,#c4c4c4);box-shadow:0 4px 8px #00000026,inset 0 2px 4px #fffffff2,inset 0 -2px 4px #0000001a;opacity:1;margin-top:-1px}.page-home .shelf-board:before{content:"";position:absolute;bottom:-8px;left:0;right:0;height:8px;background:linear-gradient(180deg,rgba(0,0,0,.1) 0%,transparent 100%)}body[data-bookshelf-theme=space] .page-home .shelf-board{background:linear-gradient(180deg,#ececec,#d8d8d8 52%,#c4c4c4);box-shadow:0 4px 10px #00000059,inset 0 2px 4px #fffffff2,inset 0 -2px 4px #0000001f;opacity:1}body[data-bookshelf-theme=space] .page-home .book-caption-author{color:#f8fafce0}body[data-bookshelf-theme=space] .page-home .book-caption-title{color:#f8fafc}body[data-bookshelf-theme=space] .page-home .home-login-section,body[data-bookshelf-theme=space] .page-home .home-announcements{background:#0f0c29b8;border-color:#667eea59;color:#e2e8f0}body[data-bookshelf-theme=space] .page-home .home-login-section-title,body[data-bookshelf-theme=space] .page-home .home-announcement-title{color:#f8fafc}body[data-bookshelf-theme=space] .page-home .home-login-field,body[data-bookshelf-theme=space] .page-home .home-announcement-body,body[data-bookshelf-theme=space] .page-home .home-announcements-empty,body[data-bookshelf-theme=space] .page-home .home-selection-search-meta{color:#cbd5e1}body[data-bookshelf-theme=space] .page-home .home-login-field input,body[data-bookshelf-theme=space] .page-home .home-selection-search-input{background:#ffffff14;border-color:#94a3b859;color:#f8fafc}body[data-bookshelf-theme=space] .page-home .home-announcement-card{background:#ffffff0f;border-color:#667eea40}body[data-bookshelf-theme=space] .page-home .home-login-mode-tabs{background:#ffffff14}body[data-bookshelf-theme=space] .page-home .home-login-mode-tab.active{background:linear-gradient(135deg,#667eea,#764ba2)}.practice-workspace.panel{padding:0;overflow:hidden;background:transparent;border:none;border-radius:0;box-shadow:none}.page-content.practice-page,.page-content.course-wizard-page{margin:0;padding:0;width:100%;min-height:100vh;background:transparent}.practice-page .practice-workspace,.course-wizard-page .practice-workspace{width:100%;min-height:100vh;height:100vh;max-height:100vh;background:transparent;border:none;border-radius:0;box-shadow:none}.practice-page .practice-workspace-body,.course-wizard-page .practice-workspace-body{gap:0;padding:0;flex:1 1 auto}.course-wizard-page .practice-workspace.panel,.practice-page .practice-workspace.panel,.course-wizard-page .practice-workspace,.practice-page .practice-workspace{border-radius:0!important;overflow:hidden!important}.course-wizard-page .practice-workspace-top-bar,.practice-page .practice-workspace-top-bar,.practice-workspace--epub .practice-workspace-top-bar,.practice-workspace--pdf .practice-workspace-top-bar{border-radius:0!important;overflow:visible!important;--pmp-nav-side-pad: 16px;padding:12px 16px!important;box-sizing:border-box!important}body[data-bookshelf-theme=space] .course-wizard-page .practice-workspace.panel,body[data-bookshelf-theme=space] .practice-page .practice-workspace.panel,body[data-bookshelf-theme=dinosaur] .course-wizard-page .practice-workspace.panel,body[data-bookshelf-theme=ocean] .course-wizard-page .practice-workspace.panel{border-radius:0!important;overflow:hidden!important}.practice-workspace-top{display:grid;gap:10px;padding:14px 16px 12px;border-bottom:1px solid var(--shelf-border);background:linear-gradient(180deg,#ffffff 0%,var(--shelf-cream) 100%)}.practice-workspace-eyebrow{font-size:.78rem;font-weight:700;color:var(--shelf-sage-dark)}.practice-workspace-title{margin:0;font-size:clamp(1rem,2.4vw,1.25rem);line-height:1.25;color:var(--shelf-ink)}.practice-workspace-meta{font-size:.78rem;color:var(--shelf-ink-muted)}.practice-workspace-progress{height:5px;border-radius:999px;background:var(--shelf-editor-border);overflow:hidden}.practice-workspace-progress-bar{height:100%;background:var(--shelf-sage);border-radius:999px}.practice-workspace-desc{margin:0;font-size:.84rem;line-height:1.5;color:var(--shelf-ink-muted)}.practice-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.practice-workspace-toolbar .panel-heading{margin:0;color:var(--shelf-ink-muted);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase}.practice-workspace-toolbar .practice-header-actions{display:flex;gap:8px;flex-wrap:nowrap}.practice-workspace-step-header{padding:16px 24px;border-bottom:1px solid var(--shelf-border)}.practice-page .practice-workspace-step-header,.course-wizard-page .practice-workspace-step-header{padding:0;border-bottom:none}.practice-workspace-desc{margin:0;color:var(--shelf-ink-muted);font-size:1rem;line-height:1.6}.practice-workspace{display:flex;flex-direction:column;min-height:0;height:calc(100dvh - var(--app-header-height));max-height:calc(100dvh - var(--app-header-height))}.practice-workspace-body{display:flex;gap:16px;padding:24px;flex:1 1 auto;overflow:auto;position:relative;align-items:stretch}.practice-page .practice-workspace-body,.course-wizard-page .practice-workspace-body{gap:0;padding:0}.practice-workspace-editor-shell{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:auto;position:relative!important}.practice-peek-desktop{width:50%;max-width:600px;display:flex;flex-direction:column;height:100%}.practice-peek-desktop pre{flex:1 1 auto;margin:0;overflow:auto}.course-wizard-page .practice-workspace-body{max-height:none!important;overflow:hidden!important}.practice-workspace .practice-text-label{flex:1;min-height:0;width:100%;display:flex;margin:0}.practice-workspace .practice-codearea,.practice-workspace .practice-textarea{width:100%;height:100%;min-height:100%;flex:1;resize:none;border:none;border-radius:0;padding:14px 16px;background:var(--shelf-editor-surface);color:var(--shelf-editor-text);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.8125rem;line-height:1.55}.practice-workspace-content,.practice-workspace .practice-answer-html{width:100%;height:100%;min-height:0;overflow:auto;padding:14px 16px;background:var(--shelf-editor-surface);color:var(--shelf-editor-text);border:none;border-radius:0;font-size:.875rem;line-height:1.55}.practice-workspace .practice-tool-button{background:var(--shelf-card);color:var(--shelf-ink);border:1px solid var(--shelf-border-strong);border-radius:6px;min-height:30px;padding:4px 12px;font-size:.72rem;font-weight:700}.practice-workspace .practice-tool-button:hover{background:#8b8b7a1a}.practice-workspace .practice-peek-desktop{position:absolute;top:0;right:0;bottom:0;width:50%;max-width:600px;margin:0;padding:16px;background:#1e293b;color:#f8fafc;border-left:1px solid #374151;border-radius:0;box-shadow:-8px 0 32px #00000026;display:flex;flex-direction:column;z-index:10}.practice-workspace .practice-peek-desktop pre{flex:1;min-height:0;margin:0;overflow:auto;background:#111827;color:#f8fafc;padding:16px;border-radius:8px;border:1px solid #374151;font-size:.78rem;line-height:1.5}.practice-workspace .practice-peek-close{color:#94a3b8}.practice-workspace .practice-error-message{margin:12px;background:#fdf0ef;color:#7a3a3a;border:1px solid #e8c4c4}.practice-page .primary-button,.practice-page .footer-button{background:var(--shelf-sage);color:#fff}.practice-page .primary-button:hover,.practice-page .footer-button:hover{background:var(--shelf-sage-dark)}.practice-page .footer-button.secondary{background:transparent;color:var(--shelf-ink);border-color:var(--shelf-border-strong)}.practice-page .panel{background:var(--shelf-card);border-color:var(--shelf-border);box-shadow:0 6px 18px var(--shelf-shadow)}.practice-page .panel-heading,.practice-page .panel-body{color:var(--shelf-ink-muted)}.practice-page .modal-backdrop{background:#5a4e4673}.practice-page .modal{background:var(--shelf-cream);border:1px solid var(--shelf-border);max-width:min(92vw,var(--app-content-max))}.practice-page .modal-body pre{background:var(--shelf-editor-surface);color:var(--shelf-editor-text);border:1px solid var(--shelf-editor-border)}.practice-page .modal-body li{border-bottom-color:var(--shelf-border)}.course-wizard-page .course-step-quiz-body{padding-top:0}.course-wizard-page .course-quiz-question{background:var(--shelf-card);border-color:var(--shelf-border)}.course-wizard-page .course-quiz-option{background:var(--shelf-cream);border-color:var(--shelf-border);color:var(--shelf-ink)}@media (max-width: 720px){:root{--app-content-gutter: 12px;--practice-editor-height: clamp(300px, calc(100dvh - 190px) , 520px)}.page-home .home-categories .container{padding:14px 14px 20px}.app-header-inner.has-stage-nav{flex-wrap:nowrap;justify-content:space-between}.app-header-inner.has-stage-nav .app-stage-nav{flex:1 1 auto;min-width:0}.app-header-inner.has-stage-nav .nav-links,.nav-links{display:none}.practice-workspace-top{padding:12px 12px 10px}.practice-workspace .practice-codearea,.practice-workspace .practice-textarea{font-size:.78rem;padding:10px 12px}}.book.empty-space{display:flex;align-items:center;justify-content:center;visibility:visible}.book.empty-space .book-cover{border-radius:2px 6px 6px 2px;box-shadow:-4px 4px 8px #0000001a}.empty-book-text{font-size:10px;color:#000;text-align:center;font-weight:500}.book-cover{overflow:hidden}.book-icon{border:none!important;box-shadow:none!important;display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;width:80px!important;height:80px!important;min-width:80px!important;min-height:80px!important}.book-spine{display:block!important}.page-home .home-hero{background:linear-gradient(180deg,#ffffff 0%,var(--shelf-cream) 100%)}.page-home .tab{color:var(--shelf-sage-dark);padding:10px 18px;font-size:15px;border-radius:999px;background:#8b8b7a1a;transition:all .2s ease}.page-home .tab:hover{color:var(--shelf-sage-dark);background:#8b8b7a33}.page-home .tab.active{background:linear-gradient(135deg,var(--shelf-sage) 0%,#6b6b5a 100%);color:#fff;box-shadow:0 2px 8px #8b8b7a4d}.page-home .hero-cta{background:linear-gradient(135deg,var(--shelf-sage) 0%,#6b6b5a 100%);color:#fff;box-shadow:0 4px 12px #8b8b7a4d;transition:all .2s ease}.page-home .hero-cta:hover{background:linear-gradient(135deg,#6b6b5a,#5a5a4a);transform:translateY(-2px);box-shadow:0 6px 16px #8b8b7a66}.page-home .hero-secondary{background:linear-gradient(135deg,#8b8b7a1a,#8b8b7a33);color:var(--shelf-sage-dark);border:1px solid var(--shelf-sage);transition:all .2s ease}.page-home .hero-secondary:hover{background:linear-gradient(135deg,#8b8b7a33,#8b8b7a4d);transform:translateY(-2px)}.practice-workspace .practice-tool-button{background:linear-gradient(135deg,#ffffff 0%,var(--shelf-cream) 100%);color:var(--shelf-sage-dark);border:1px solid var(--shelf-sage);transition:all .2s ease}.practice-workspace .practice-tool-button:hover{background:linear-gradient(135deg,var(--shelf-cream) 0%,rgba(139,139,122,.2) 100%);transform:translateY(-1px);box-shadow:0 2px 6px #8b8b7a33}
