.ebooks-dashboard{--ebook-ink:#153640;--ebook-muted:#60777d;--ebook-card:var(--card,#fff);--ebook-line:color-mix(in srgb,var(--foreground,#153640) 12%,transparent);color:var(--foreground,var(--ebook-ink));display:grid;gap:1.4rem}.ebooks-dashboard .ebook-hero{position:relative;overflow:hidden;border:1px solid rgb(255 255 255/22%);border-radius:1.65rem;padding:clamp(1.4rem,3vw,2.5rem);color:white;background:radial-gradient(circle at 88% 5%,rgb(120 228 204/32%),transparent 26%),linear-gradient(125deg,#123e59,#087f83 60%,#158c69);box-shadow:0 18px 48px rgb(10 69 81/17%)}.ebooks-dashboard .ebook-hero h1{max-width:18ch;margin-top:.65rem;font-size:clamp(2rem,4vw,3.15rem);line-height:1.07;letter-spacing:-.04em}.ebooks-dashboard .ebook-hero>p{max-width:58ch;margin-top:.8rem;color:#d7f4ef;line-height:1.65}.ebooks-dashboard .ebook-hero .ebook-search{margin-top:1.35rem;border:1px solid rgb(11 66 77/12%);border-radius:1rem;padding:1rem;color:#183843;background:#fff;box-shadow:0 12px 32px rgb(5 45 60/16%)}.ebooks-dashboard .ebook-hero .ebook-search input,.ebooks-dashboard .ebook-hero .ebook-search select{min-width:0;border:1px solid #d9e6e7;border-radius:.7rem;background:#f8fbfb;color:#183843}.ebooks-dashboard .ebook-section{min-width:0;border:1px solid var(--ebook-line);border-radius:1.25rem;padding:clamp(1rem,2vw,1.4rem);background:var(--ebook-card);box-shadow:0 8px 25px rgb(16 67 72/5%)}.ebooks-dashboard .ebook-section-heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.7rem;margin-bottom:1rem}.ebooks-dashboard .ebook-section-heading h2{margin-top:.25rem;font-size:clamp(1.2rem,2vw,1.55rem);letter-spacing:-.02em}.ebooks-dashboard .ebook-kicker{font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#0a827b}.ebooks-dashboard .ebook-hero .ebook-kicker{color:#c1f5e6}.ebooks-dashboard .ebook-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.ebooks-dashboard .ebook-nav a{display:flex;align-items:center;gap:.7rem;min-width:0;border:1px solid var(--ebook-line);border-radius:.95rem;padding:.9rem 1rem;background:var(--ebook-card);color:inherit;font-weight:700;box-shadow:0 5px 15px rgb(14 61 67/4%);transition:transform .18s,border-color .18s}.ebooks-dashboard .ebook-nav a:hover{transform:translateY(-2px);border-color:#36aa9d}.ebooks-dashboard .ebook-book-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:1rem}.ebooks-dashboard .ebook-shelf{display:flex;gap:.55rem;overflow-x:auto;padding-bottom:.2rem}.ebooks-dashboard .ebook-shelf a{flex:0 0 auto;border:1px solid var(--ebook-line);border-radius:999px;padding:.55rem .85rem;background:var(--ebook-card);color:inherit;font-size:.82rem;font-weight:650}.ebooks-dashboard .ebook-shelf a:hover{border-color:#13a396;color:#07847b}.ebook-locked-chapter{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--ebook-line);border-radius:.9rem;padding:.9rem 1rem;background:var(--ebook-card);color:inherit;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,transform .15s}.ebook-locked-chapter:hover{transform:translateY(-1px);border-color:#17a797;background:color-mix(in srgb,#16a394 7%,var(--card,#fff))}.ebook-locked-chapter>span:first-child{display:flex;align-items:center;gap:.75rem;color:#0c9288}.ebook-locked-chapter small,.ebook-locked-chapter strong{display:block}.ebook-locked-chapter strong{color:var(--foreground,#153640);font-size:.9rem}.ebook-locked-chapter small{margin-top:.15rem;color:var(--muted-foreground,#60777d);font-size:.76rem}.ebook-unlock-label{border-radius:999px;padding:.4rem .7rem;background:#e7f7f3;color:#087f70;font-size:.72rem;font-weight:800}.ebook-modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;overflow-y:auto;padding:1rem;background:rgb(8 24 36/68%);backdrop-filter:blur(5px)}.ebook-subscription-modal{width:min(100%,34rem);max-height:min(90vh,54rem);overflow:auto;border:1px solid var(--ebook-line);border-radius:1.4rem;padding:1.25rem;background:var(--card,#fff);color:var(--foreground,#153640);box-shadow:0 26px 90px rgb(0 0 0/30%)}.ebook-subscription-modal>header{display:flex;justify-content:space-between;gap:1rem;padding:.25rem .15rem 1rem}.ebook-subscription-modal>header h2{margin-top:.25rem;font-size:1.5rem;font-weight:800;letter-spacing:-.03em}.ebook-subscription-modal>header p:last-child{margin-top:.4rem;color:var(--muted-foreground,#60777d);font-size:.84rem}.ebook-subscription-modal>header>button{display:grid;flex:0 0 2.35rem;height:2.35rem;place-items:center;border:1px solid var(--ebook-line);border-radius:.7rem;background:transparent;color:inherit}.ebook-plan-list{display:grid;gap:.75rem}.ebook-plan-card{border:1px solid var(--ebook-line);border-radius:1rem;padding:1rem;background:color-mix(in srgb,#0c9a88 3%,var(--card,#fff))}.ebook-plan-top{display:flex;justify-content:space-between;gap:1rem;align-items:start}.ebook-plan-top h3{font-size:1rem;font-weight:800}.ebook-plan-top p{margin-top:.3rem;color:var(--muted-foreground,#60777d);font-size:.8rem}.ebook-plan-top>strong{flex:0 0 auto;color:#078274;font-size:1.1rem}.ebook-plan-top>strong small{display:block;color:var(--muted-foreground,#60777d);font-size:.65rem;font-weight:500;text-align:right}.ebook-plan-facts{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.8rem}.ebook-plan-facts span{border-radius:999px;padding:.35rem .6rem;background:color-mix(in srgb,#078d80 10%,var(--card,#fff));color:var(--foreground,#153640);font-size:.7rem;font-weight:700}.ebook-plan-card ul{display:grid;gap:.3rem;margin:.8rem 0 0;padding:0;list-style:none;color:var(--muted-foreground,#60777d);font-size:.76rem}.ebook-plan-card li:before{content:"✓";margin-right:.45rem;color:#098d73;font-weight:900}.ebook-plan-card>button{width:100%;margin-top:.9rem}.ebook-no-plans,.ebook-payment-pending{border-radius:.85rem;padding:.85rem 1rem;color:#865d11;background:#fff6df;font-size:.86rem;font-weight:750}.ebook-no-plans{text-align:center}.theme-dark .ebook-locked-chapter:hover{background:#173a3c}.theme-dark .ebook-unlock-label{background:#183c3b;color:#78ded0}@media(max-width:680px){.ebooks-dashboard .ebook-nav{grid-template-columns:1fr}.ebooks-dashboard .ebook-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.ebook-subscription-modal{padding:1rem}}.ebook-book-card{position:relative;border:1px solid var(--ebook-line);border-radius:1rem;padding:.55rem;background:var(--ebook-card);box-shadow:0 7px 24px rgb(15 57 64/7%)}.ebook-book-card>a>div:first-child{max-width:none;aspect-ratio:2/2.75}.ebook-book-card>a>div:nth-child(2){margin-top:.55rem;max-width:none;border:0;padding:.2rem .25rem .45rem}.ebook-access-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.34rem .62rem;font-size:.64rem;font-weight:850;line-height:1;letter-spacing:.02em}.ebook-book-card .ebook-access-badge{position:absolute;z-index:2;top:.8rem;right:.8rem;box-shadow:0 2px 8px rgb(0 0 0/16%)}.ebook-access-free{background:#d9f8e8;color:#08733e}.ebook-access-subscribers-only{background:#d9f4f2;color:#076d70}.ebook-access-paid{background:#e1edff;color:#2459a5}.ebook-card-price{margin-top:.35rem;color:#087f72;font-size:.8rem;font-weight:850}.ebook-detail-hero{align-items:start}.ebook-detail-hero>section{position:sticky;top:1rem;border:1px solid var(--ebook-line);border-radius:1.35rem;padding:1rem;background:var(--ebook-card);box-shadow:0 12px 32px rgb(16 67 72/8%)}.ebook-detail-hero>section img{border-radius:.85rem}.ebook-detail-copy{min-width:0;border:1px solid var(--ebook-line);border-radius:1.35rem;padding:clamp(1rem,2.5vw,1.8rem);background:var(--ebook-card);box-shadow:0 12px 32px rgb(16 67 72/6%)}.ebook-detail-badges{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.9rem}.ebook-detail-badges>strong{color:#078274;font-size:1.15rem}.ebook-detail>section:last-child{border:1px solid var(--ebook-line);border-radius:1.3rem;padding:clamp(1rem,2.5vw,1.5rem);background:var(--ebook-card);box-shadow:0 9px 28px rgb(16 67 72/5%)}.ebook-chapter-row{border-bottom:1px solid var(--ebook-line);padding:.55rem}.ebook-chapter-row:last-child{border-bottom:0}.ebook-chapter-link{display:flex;align-items:center;gap:.75rem;width:100%;border:1px solid transparent;border-radius:.85rem;padding:.85rem .9rem;color:inherit;transition:background .15s,border-color .15s,transform .15s}.ebook-chapter-link>svg{flex:none;color:#098d80}.ebook-chapter-link>span{min-width:0}.ebook-chapter-link small,.ebook-chapter-link strong{display:block}.ebook-chapter-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}.ebook-chapter-link small{margin-top:.25rem;color:var(--muted-foreground,#60777d);font-size:.75rem}.ebook-chapter-link:hover{transform:translateX(2px);border-color:color-mix(in srgb,#10998a 28%,transparent);background:color-mix(in srgb,#13a394 7%,var(--card,#fff))}.ebook-chapter-locked{cursor:pointer}.ebook-detail-plan{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.8rem;margin-top:.7rem;border:1px solid var(--ebook-line);border-radius:.95rem;padding:.85rem;background:color-mix(in srgb,#0c9a88 3%,var(--card,#fff))}.ebook-detail-plan b{display:block}.ebook-detail-plan>span{min-width:0}.ebook-detail .ebook-no-plans{margin-top:.5rem}.theme-dark .ebook-detail-copy,.theme-dark .ebook-detail-hero>section,.theme-dark .ebook-detail>section:last-child{background:#172a31}.theme-dark .ebook-detail-plan,.theme-dark .ebook-plan-card{background:#1b3439}.theme-dark .ebook-access-free{background:#174832;color:#a4f1c2}.theme-dark .ebook-access-subscribers-only{background:#164749;color:#a1eee5}.theme-dark .ebook-access-paid{background:#203d65;color:#b4d0ff}@media(max-width:767px){.ebook-detail-hero>section{position:relative;top:auto;max-width:15rem;margin-inline:auto}.ebook-detail-plan{align-items:flex-start;flex-direction:column}}.ebooks-dashboard .ebook-access-badge{color:inherit}.ebooks-dashboard .ebook-access-free{background:#d9f8e8;color:#08733e}.ebooks-dashboard .ebook-access-subscribers-only{background:#d9f4f2;color:#076d70}.ebooks-dashboard .ebook-access-paid{background:#e1edff;color:#2459a5}.theme-dark .ebooks-dashboard .ebook-access-free{background:#174832;color:#a4f1c2}.theme-dark .ebooks-dashboard .ebook-access-subscribers-only{background:#164749;color:#a1eee5}.theme-dark .ebooks-dashboard .ebook-access-paid{background:#203d65;color:#b4d0ff}.ebook-author-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.ebook-subscribe-button{background:linear-gradient(110deg,#087e80,#078d69)!important;box-shadow:0 5px 14px rgb(6 119 111/18%)}.ebook-plan-card .ebook-subscribe-button{width:100%;margin-top:.9rem}.ebook-detail-plan .ebook-subscribe-button{flex:none}.ebook-detail-plan .ebook-plan-list{gap:.7rem}