/* TebSpark visual system: confident, bright, and medical without looking clinical. */
:root{--ink:#112e41;--ink-soft:#526d7d;--teal:#087f78;--teal-dark:#075f66;--teal-soft:#e2f6f1;--line:#dfe9ec;--paper:#f4f8fa;--violet:#5c64d9;--amber:#f0ae46;--li:#112e41;--lp:#f4f8fa;--ll:#dfe9ec;--lm:#087f78;--lf:#607985;--shadow:0 14px 42px rgba(23,59,78,.08)}
html{scroll-behavior:smooth}
body{background:var(--paper);color:var(--ink);font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",system-ui,sans-serif}
button,input,select,textarea{font:inherit}
.landing{background:radial-gradient(ellipse at 8% 12%,#c5f2e4 0,transparent 28%),radial-gradient(ellipse at 92% 15%,#dce5ff 0,transparent 30%),linear-gradient(145deg,#f8fcfb,#eff4fa 58%,#fff5e6);color:#112e41}
.landing-nav{height:84px;max-width:1340px}
.landing-brand{gap:13px}.landing-brand b{font-size:22px;letter-spacing:-.04em;color:#112e41}.landing-brand small{color:#718894}
.brand-mark{width:42px;height:42px;border-radius:15px;background:linear-gradient(145deg,#0a8478,#22b8a0);box-shadow:0 9px 18px #0a847833;transform:none;gap:4px}
.brand-mark span{width:8px;height:8px;background:#effcf6;border-radius:3px}.brand-mark span:first-child{height:17px;grid-row:span 2}.brand-mark span:nth-child(2){width:13px}.brand-mark span:nth-child(3){width:13px}
.landing-links a{color:#496273;font-weight:650}.landing-nav-cta{background:#112e41;border-radius:999px;color:white!important;padding:11px 18px;font-weight:700;box-shadow:0 8px 18px #112e4120}
.landing-hero{max-width:1340px;min-height:620px;padding:45px 55px 64px;grid-template-columns:1fr 1.02fr;gap:55px;overflow:visible}
.landing-hero:before{inset:4% 1% 12%;border-radius:38px;background:linear-gradient(130deg,#e4f5f0ba,#e9edffbb 56%,#fff1d7aa)}
.hero-copy{max-width:610px}.hero-eyebrow{color:#087f78;background:#e0f4ef;border-color:#c5e8df;border-radius:999px;padding:8px 13px;font-weight:700}.hero-copy h1{font-size:clamp(50px,5.2vw,76px);line-height:1.22;letter-spacing:-.045em;color:#112e41}.hero-copy h1 em{background:linear-gradient(100deg,#087f78,#5968d6 76%,#dc9350);background-clip:text}.hero-lead{max-width:535px;color:#5e7482;font-size:17px;line-height:2.05}.google-cta{border-radius:14px;box-shadow:0 12px 24px #0a847829}.text-cta{color:#087f78}.hero-trust{color:#617986}
.hero-art{min-height:510px}.art-glow{width:490px;height:440px;background:radial-gradient(circle,#bfeee0 0,#d9e1ff 48%,#ffe8c5 68%,transparent 74%)}.art-orbit{border-color:#ffffffb0}.study-window{width:375px;border-radius:25px;box-shadow:0 35px 85px #213e5229,0 0 0 9px #ffffff88}.window-top{background:#f4f8f7}.window-body{padding:27px 28px}.window-kicker{color:#087f78}.window-progress i{background:#dcece8}.window-progress i:after{background:#0a9982}.mini-card{border-radius:15px;background:linear-gradient(145deg,#effaf6,#eff1ff)}.floating-note{border-radius:17px}.note-top{right:0}.note-bottom{left:0}
.feature-section{max-width:1260px;padding:70px 40px 82px}.section-kicker{color:#087f78}.section-heading h2,.how-copy h2{color:#112e41;letter-spacing:-.03em}.section-heading>p{color:#728694}.feature-grid{gap:16px}.feature-card{border:1px solid #e0e9ec;border-radius:19px;box-shadow:0 9px 26px #193d5210;background:#fff;padding:23px;min-height:260px}.feature-card:nth-child(1){border-top-color:#0a9982}.feature-card:nth-child(2){border-top-color:#6670db}.feature-card:nth-child(3){border-top-color:#e3a342}.feature-card h3{color:#15364a}.feature-card p{color:#718590;line-height:1.9}.feature-illustration{border-radius:14px;background:linear-gradient(130deg,#effaf7,#f0f1ff)}
.how-section{max-width:1220px;border-radius:28px;background:linear-gradient(125deg,#102f43,#18556a 62%,#146e6c);box-shadow:0 28px 60px #133b4b20}.how-copy h2,.how-copy p{color:white}.how-copy p{opacity:.78}.step-item{border-color:#ffffff22}.step-number{background:#ffffff18;color:#99f0d9}
.privacy-section{max-width:1220px;border-radius:19px;border-color:#e0e9ec;background:#fff;box-shadow:0 12px 32px #193d520c}.privacy-mark{background:#e6f8f2;color:#087f78}.privacy-section h2{color:#112e41}.privacy-section p,.privacy-section small{color:#718590}
.bottom-cta{max-width:1220px;border-radius:24px;background:linear-gradient(110deg,#d9f5e8,#dce5ff 65%,#fff0d6);color:#112e41}.bottom-cta h2{color:#112e41}.bottom-cta .google-cta{background:#102f43;color:#fff}.cta-decoration{color:#102f4308}
.landing-footer{max-width:1260px;color:#6f8490;border-color:#dfe9ec}.landing-footer .landing-brand b{color:#112e41}

.app-shell{display:grid;min-height:100vh;min-height:100dvh;grid-template-columns:minmax(260px,22vw) minmax(0,1fr);background:#f2f6f8;transition:grid-template-columns .22s ease}
.sidebar{width:auto;position:sticky;top:0;height:100vh;height:100dvh;padding:23px 18px 16px;background:linear-gradient(180deg,#102f43 0%,#123e50 57%,#124b54 100%);color:#eff9f7;border:0;box-shadow:10px 0 38px #102f430b;scrollbar-color:#ffffff30 transparent}
.brand{gap:12px;padding:2px 8px 19px;border-bottom:1px solid #ffffff1b}.brand .brand-mark{background:#d6f8e9;box-shadow:none}.brand .brand-mark span{background:#087f78}.brand-copy strong{font:800 21px Manrope,"IBM Plex Sans Arabic",sans-serif;letter-spacing:-.04em;color:#fff}.brand-copy small{font-size:10px;color:#9ad4c9;letter-spacing:.01em}
.workspace-label{color:#85aea9;font-size:10px;letter-spacing:.1em;text-transform:uppercase;margin:18px 9px 9px}.main-nav{gap:5px}.nav-item{min-height:44px;border-radius:12px;color:#c3d8d8;font-size:12px;font-weight:600;transition:background .18s,color .18s,transform .18s}.nav-item:hover{background:#ffffff12;color:white;transform:translateX(-2px)}.nav-item.active{background:linear-gradient(90deg,#2dd4b4,#54d4c0);color:#083d47;box-shadow:0 8px 20px #21bca631;font-weight:800}.nav-icon{width:25px;height:25px;border-radius:8px;background:#ffffff12;color:#a9d9d0;font-size:15px}.nav-item.active .nav-icon{background:#ffffff42;color:#083d47}.nav-count{background:#ffffff22;color:#d8f9ef}
.sidebar-course-head{margin-top:23px;color:#aac5c6}.sidebar-course-head .icon-button{border-color:#ffffff20;background:#ffffff0e;color:#fff}.course-nav{gap:3px}.course-link{color:#bdd1d2;border-radius:9px}.course-link:hover,.course-link.selected{background:#ffffff14;color:#fff}.course-link small{color:#9cb8b9}
.plan-card{border:1px solid #ffffff1a;background:#ffffff0d;border-radius:16px;padding:15px;margin:18px 0}.plan-card strong{color:#fff}.plan-card p{color:#a9c3c2;line-height:1.8}.plan-card button{background:#d7f7eb;color:#075765;border-radius:9px;padding:9px 11px;font-weight:750}.profile-button{border-top:1px solid #ffffff1c;padding:13px 6px 2px;color:#fff}.profile-copy small{color:#a7c2c4}.avatar,.top-avatar{background:#d8f4e9;color:#0b665e}
.main-area{min-width:0;max-width:none;background:#f3f7f8}.topbar{height:77px;position:sticky;top:0;z-index:15;padding:0 clamp(20px,3.5vw,52px);background:#f7fafbeF;border-bottom:1px solid #e0e9eb;backdrop-filter:blur(16px)}.breadcrumb span{color:#7e929d}.breadcrumb strong{color:#16394d}.search-box{border-radius:13px;background:#fff;border-color:#dfe8eb}.search-box:focus-within{border-color:#62b6a4;box-shadow:0 0 0 3px #29b79b15}.icon-button{border-color:#dce7ea;color:#3b6072;background:#fff;border-radius:11px}.view-root{width:min(1500px,100%);padding:clamp(21px,3vw,44px) clamp(20px,3.5vw,52px)}.app-footer{max-width:1500px;color:#8396a0;border-color:#dce7ea}
.welcome-row{align-items:flex-end;margin-bottom:22px}.eyebrow{color:#087f78;font-weight:800;letter-spacing:.03em}.welcome-row h1{font-size:clamp(25px,2.6vw,36px);color:#102f43;letter-spacing:-.035em}.welcome-row p{font-size:12px;color:#718793}.date-pill{background:#fff;border-color:#e0e9eb;color:#4c6c7a;border-radius:11px;padding:10px 13px}
.hero-card{position:relative;overflow:hidden;border-radius:24px;padding:clamp(25px,4vw,46px);min-height:255px;background:linear-gradient(112deg,#10394b 0%,#0f8078 60%,#5570d2 100%);box-shadow:0 24px 50px #173e5422}.hero-copy{position:relative;z-index:1}.hero-kicker{color:#b7f5e5}.hero-card h2{font-size:clamp(25px,3vw,38px);line-height:1.45;letter-spacing:-.025em}.hero-card p{max-width:520px;color:#daf0ed;font-size:12px;line-height:1.9}.hero-art{opacity:.75}.art-ring{border-color:#ffffff24}.art-tile{border-radius:18px;box-shadow:0 14px 35px #062d413d}
.stat-grid{gap:13px;margin:18px 0}.stat-card{border:1px solid #e0e9eb;border-radius:16px;padding:17px;background:#fff;box-shadow:0 8px 24px #183d5110}.stat-icon{border-radius:12px}.stat-label{color:#77909c}.stat-number{color:#13374b;font-size:25px}.stat-change{color:#0b897b}
.content-grid,.bottom-grid{gap:15px}.panel{border:1px solid #e0e9eb;border-radius:17px;background:#fff;box-shadow:0 8px 24px #183d5109;padding:18px}.panel-head{border-color:#edf1f2}.panel-title{color:#17394c;font-size:14px}.panel-subtitle{color:#82949e}.course-row,.recent-card,.task-item{border-color:#edf1f2}.course-emblem,.file-icon{border-radius:11px}.button{border-radius:10px;font-size:11px;font-weight:700}.button.primary,.account-submit{background:linear-gradient(120deg,#078679,#20a58f);color:#fff;box-shadow:0 8px 18px #0d8b7824}.button.secondary{border-color:#dce7e8;background:#fff;color:#375c6a}.button.secondary:hover{border-color:#68bba9;background:#f2faf7}.text-link{color:#07867a}.exam-banner{border:1px solid #d8ece5;border-radius:15px;background:linear-gradient(105deg,#e4f8ef,#eef2ff);color:#173d4c}.exam-banner p{color:#6d8791}.streak-card{border-radius:15px;background:linear-gradient(110deg,#f2f0ff,#fff7e8)}
.library-toolbar{gap:8px}.filter-select{border-radius:10px;background:#fff;border-color:#e0e9eb}.library-grid{gap:14px}.library-card{border-radius:15px;border:1px solid #e1eaec;background:#fff;box-shadow:0 7px 22px #183d5108}.library-card:hover{border-color:#a9d8cf;box-shadow:0 14px 32px #183d5111}.library-card h3{color:#193c50}.library-description{color:#718792;font-size:10px}.library-card-foot{color:#8497a1}.file-icon{background:linear-gradient(140deg,#e7f7f2,#eaf0ff);color:#087f78}
.flash-stage{min-height:385px;border-radius:20px;background:radial-gradient(ellipse at top left,#def7ed,#f0f1ff 64%,#fff6e8);border-color:#e1eaec}.flashcard{border-radius:21px;border-color:#fff;box-shadow:0 24px 70px #193d5118}.flashcard h2{color:#173a4d}.quiz-layout{gap:16px}.question-card{border-radius:18px;padding:25px}.answer-option{border-radius:11px;border-color:#e0e9eb;padding:13px;color:#526d7a}.answer-option:hover{border-color:#8ccfbe;background:#f3faf7}.answer-option.correct{background:#e8f8f0;border-color:#6cc29f}.answer-option.incorrect{background:#fff0ed;border-color:#e59a8e}.question-progress span,.progress-line span{background:linear-gradient(90deg,#09a28d,#6173df)}
.schedule-grid{gap:16px}.week-item{border-color:#edf1f2}.week-day{background:#eef6f6;color:#50717e;border-radius:10px}.week-tag{background:#e2f6f0;color:#087f78}.settings-grid{gap:15px}.settings-item{border-color:#edf1f2}
.modal{border-radius:21px}.modal-form{padding:29px}.modal-form h2{color:#14384b}.modal-intro{color:#728792;line-height:1.9}.drop-zone{border-radius:15px;background:#f3faf8;border-color:#b9ded5}.upload-symbol{border-radius:11px;background:#dff5ed;color:#078679}.modal-note{background:#f0f4ff;color:#526389;border-radius:10px}.toast{border-radius:12px;background:#112f43;box-shadow:0 16px 44px #112f4344}
.progress-insights>.panel,.review-schedule-panel{border-radius:17px}.progress-topic{border-color:#edf1f2}.saved-study-card{border-radius:14px}.admin-library,.profile-panel{border-radius:17px}
.offline-banner{border-radius:13px;background:#fff4db;color:#74531c}
@media(max-width:980px){.app-shell{grid-template-columns:260px minmax(0,1fr)}.view-root{padding-inline:23px}.sidebar{padding-inline:14px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;z-index:40;right:0;top:0;width:min(310px,87vw);height:100dvh;transform:translateX(110%);transition:transform .25s ease;box-shadow:-20px 0 50px #102f4340}.sidebar.open{transform:translateX(0)}.main-area{width:100%;margin:0}.topbar{height:66px;padding-inline:13px}.view-root{padding:20px 14px 28px}.welcome-row{align-items:flex-start;gap:10px}.welcome-row h1{font-size:25px}.date-pill{font-size:9px;padding:8px}.hero-card{border-radius:18px;min-height:0;padding:23px}.hero-card h2{font-size:27px}.hero-card p{font-size:11px}.hero-art{display:none}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px}.stat-number{font-size:22px}.content-grid,.bottom-grid{grid-template-columns:1fr}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flash-layout,.quiz-layout,.schedule-grid{grid-template-columns:1fr}.landing-hero{padding:28px 18px 42px;gap:7px}.hero-copy h1{font-size:48px}.hero-lead{font-size:14px}.hero-art{display:block;min-height:345px;height:345px;transform:scale(.9);transform-origin:top center}.study-window{width:min(330px,82vw)}.feature-section{padding:45px 17px}.feature-grid{grid-template-columns:1fr}.feature-card{min-height:0}.how-section{margin:0 12px}.privacy-section{margin-inline:12px}.bottom-cta{margin-inline:12px}.landing-footer{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.breadcrumb{display:none}.topbar-actions{margin-inline-start:auto}.search-box{max-width:180px}.library-grid{grid-template-columns:1fr}.hero-copy h1{font-size:43px}.hero-art{margin-top:18px}.note-top{right:-8px}.note-bottom{left:-8px}.flash-stage{min-height:320px;padding:15px}.flashcard{min-height:230px;padding:20px}.modal-actions{flex-wrap:wrap}.modal-actions .button{flex:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}

/* High-energy motion layer for the TebSpark refresh. */
:root{--ink:#172448;--ink-soft:#586681;--teal:#05a88e;--teal-dark:#087b82;--teal-soft:#dcfff4;--violet:#7758f5;--amber:#ffb62e;--paper:#f4f6ff;--line:#e2e5f4;--shadow:0 18px 54px rgba(53,53,112,.13)}
body{background:radial-gradient(ellipse at 4% 3%,#e6dfff 0,transparent 25%),radial-gradient(ellipse at 96% 8%,#d7fff1 0,transparent 23%),#f4f6ff;color:var(--ink)}
.landing{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 0% 3%,#e4d9ff 0,transparent 32%),radial-gradient(ellipse at 98% 10%,#caffec 0,transparent 29%),radial-gradient(ellipse at 48% 48%,#fff0cf 0,transparent 33%),linear-gradient(150deg,#fcfbff,#eff2ff 55%,#fff8ed)}
.landing::before,.landing::after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(2px);opacity:.52}
.landing::before{width:390px;height:390px;left:-155px;top:690px;background:radial-gradient(circle,#fd8db7 0,transparent 70%);animation:ts-drift 17s ease-in-out infinite alternate}
.landing::after{width:470px;height:470px;right:-180px;top:1320px;background:radial-gradient(circle,#8de6ff 0,transparent 68%);animation:ts-drift 21s ease-in-out infinite alternate-reverse}
.landing-nav{position:relative;z-index:5}.landing-brand b{color:#172448}.landing-brand small{color:#746b98}.brand-mark{background:linear-gradient(140deg,#10c6a2,#7060f6 68%,#fd7caa);box-shadow:0 11px 28px #705af540}.landing-nav-cta{background:linear-gradient(110deg,#6d55ef,#ed5fa7);box-shadow:0 10px 24px #8754e544}
.landing-hero{position:relative;isolation:isolate}.landing-hero:before{z-index:-1;background:linear-gradient(125deg,#d9fff0d9,#e5ddffd9 47%,#ffe4d5d9);border:1px solid #ffffffc7;box-shadow:inset 0 1px #fff,0 30px 90px #6055ae16}.landing-hero:after{content:"";position:absolute;z-index:-1;inset:8% 10% 18% 35%;pointer-events:none;border-radius:50%;background:conic-gradient(from 20deg,#ff6fa61c,#705cf52e,#28d6be27,#ffbd3d38,#ff6fa61c);filter:blur(22px);animation:ts-spin 32s linear infinite}.hero-copy,.hero-art,.hero-scroll{position:relative;z-index:1}.hero-eyebrow{color:#6244cf;background:#efeaff;border-color:#d6ccff;box-shadow:0 6px 18px #7158e41b}.hero-eyebrow>span{background:#fa5b97;box-shadow:0 0 0 5px #fa5b9726;animation:ts-pulse 1.8s ease-in-out infinite}.hero-copy h1 em{background-image:linear-gradient(95deg,#7456f4 3%,#e64f9d 46%,#f0a725 76%,#00a88e);background-size:220% 100%;animation:ts-gradient 7s linear infinite}.hero-lead{color:#52607d}.hero-art{filter:saturate(1.18)}.art-glow{background:radial-gradient(circle,#b1ffe0 0,#cbc2ff 42%,#ffd0e5 61%,#ffe5a9 70%,transparent 76%);animation:ts-breathe 7s ease-in-out infinite}.art-orbit{border-color:#ffffffd1;box-shadow:0 0 34px #8766f522}.study-window{border:1px solid #fff;box-shadow:0 38px 100px #392f7440,0 0 0 9px #ffffffa3;animation:ts-float 7s ease-in-out infinite}.window-top{background:linear-gradient(100deg,#e8fff7,#f1eaff)}.window-kicker{color:#7c53ed}.window-progress b{color:#ed5c9b}.window-progress>i{background:#dbe8f4}.window-progress>i:after{background:linear-gradient(90deg,#00bd9d,#7b5ef4,#ef60a2)}.mini-card{background:linear-gradient(135deg,#e3fff5,#eee8ff 60%,#ffe9ef);border-color:#fff}.floating-note{border:1px solid #ffffff;background:linear-gradient(130deg,#fff,#fff8fd);box-shadow:0 17px 42px #58468c27}.note-icon{background:linear-gradient(135deg,#dcfff0,#e9e2ff);color:#7358eb}.note-check{color:#00a88e}.art-spark{color:#ff9c34}.pill-a{background:#ffdfeb;color:#b93678}.pill-b{background:#e5e0ff;color:#5d49bb}
.feature-section{position:relative}.section-kicker{color:#7655e9}.feature-card{border-color:#e4e4f4;box-shadow:0 12px 35px #302a7010}.feature-card:nth-child(1){border-top:3px solid #00b89b}.feature-card:nth-child(2){border-top:3px solid #805af4}.feature-card:nth-child(3){border-top:3px solid #ffad35}.feature-card:hover{transform:translateY(-8px) rotate(-.4deg);box-shadow:0 23px 52px #44388122}.feature-illustration{background:linear-gradient(130deg,#e5fff5,#efeaff 58%,#ffeaf0)}.books-illus i{animation:ts-book 5s ease-in-out infinite}.books-illus i:nth-child(2){animation-delay:-1.6s}.books-illus i:nth-child(3){animation-delay:-3.1s}.how-section{background:linear-gradient(125deg,#25265f 0%,#644fe0 48%,#e855a0 100%);box-shadow:0 27px 70px #6b55d433}.how-section:after{content:"✦";position:absolute;pointer-events:none;left:8%;top:12%;font-size:70px;color:#ffffff24;animation:ts-spin 22s linear infinite}.how-copy h2 em{color:#ffe09a}.steps-list article{border-color:#ffffff30}.steps-list article>span{background:linear-gradient(135deg,#c8fff0,#e9ddff);color:#5140bb}.steps-list article b,.steps-list article p,.steps-list article>i{color:#fff}.steps-list article p{opacity:.76}.privacy-section{border-color:#e3e0f4;box-shadow:0 15px 40px #44388112}.privacy-mark{background:linear-gradient(135deg,#d8fff0,#e7e0ff);color:#7353ec}.privacy-section h2{color:#27244e}.bottom-cta{background:linear-gradient(105deg,#d6fff0,#e3ddff 56%,#ffe0e9);box-shadow:0 20px 55px #5944a51b}.bottom-cta h2{color:#25234b}.bottom-cta>div>span{color:#7352df}.bottom-cta .google-cta{background:linear-gradient(105deg,#6d55ef,#e7559d);color:white}.cta-decoration{color:#805af51a}.landing-footer{border-color:#e4e1f2;color:#746f91}
.app-shell{background:linear-gradient(145deg,#f6f7ff,#eafff7 60%,#fff5f7)}.sidebar{background:radial-gradient(ellipse at 100% 0%,#8b6cf6 0,transparent 38%),linear-gradient(175deg,#28275f 0%,#403b94 43%,#087d83 100%);box-shadow:8px 0 45px #312c7020}.brand .brand-mark{background:linear-gradient(140deg,#adffdf,#e7ddff)}.brand .brand-mark span{background:#5350bc}.brand-copy small{color:#c8c1ff}.nav-item.active{background:linear-gradient(100deg,#c9ffe8,#e6ddff 68%,#ffd9e8);color:#332b73;box-shadow:0 10px 26px #100d3d37}.nav-item.active .nav-icon{background:#ffffffb8;color:#5a48cc}.nav-count{background:#ffffff2c;color:#fff}.plan-card{background:linear-gradient(140deg,#ffffff17,#f6c9ff12);border-color:#ffffff35}.plan-card button{background:linear-gradient(110deg,#c5ffe7,#e7dcff);color:#4437a1}.avatar,.top-avatar{background:linear-gradient(135deg,#d4fff0,#e2ddff);color:#5546ba}
.menu-toggle{display:inline-grid;place-items:center;flex:none}
.main-area{margin:0;min-width:0;width:100%}
@media(min-width:761px){.app-shell.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.app-shell.sidebar-collapsed>.sidebar{width:0;min-width:0;padding-inline:0;border:0;overflow:hidden;visibility:hidden;opacity:0}.app-shell:not(.sidebar-collapsed){grid-template-columns:minmax(260px,22vw) minmax(0,1fr)}.app-shell .main-area{margin:0;min-width:0;width:100%}.app-shell .view-root{width:100%;max-width:none;box-sizing:border-box;margin-inline:0}}
.main-area{background:radial-gradient(ellipse at 4% 5%,#e5dfff6e 0,transparent 28%),radial-gradient(ellipse at 96% 11%,#d5fff06e 0,transparent 25%),#f7f8ff}.topbar{background:#fcfcffdf;border-color:#e5e3f4}.view-root{max-width:1580px}.welcome-row h1{color:#25234e}.eyebrow{color:#7552e8}.hero-card{background:linear-gradient(112deg,#28275f 0%,#6650e5 45%,#dd4f9c 76%,#f39e37 120%);box-shadow:0 27px 64px #5948c139;isolation:isolate}.hero-card:before{content:"";position:absolute;z-index:-1;width:390px;height:390px;left:-40px;top:-210px;border-radius:50%;background:radial-gradient(circle,#e4ffb477 0,transparent 68%);animation:ts-drift 8s ease-in-out infinite alternate}.hero-card:after{content:"✦";position:absolute;z-index:0;left:40%;top:13%;font-size:48px;color:#fff7;animation:ts-twinkle 3s ease-in-out infinite}.hero-art{filter:saturate(1.35)}.stat-card,.panel,.library-card{border-color:#e4e3f3;box-shadow:0 12px 30px #44388110;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.stat-card:hover,.panel:hover{transform:translateY(-3px);box-shadow:0 18px 42px #4438811c;border-color:#c9c1ff}.stat-icon{background:linear-gradient(135deg,#d2fff0,#e4ddff 70%,#ffe1ec)!important;color:#6250dc!important}.stat-change{color:#00a489}.button.primary,.account-submit{background:linear-gradient(110deg,#7255ed,#db4fa1 70%,#ef9b36);box-shadow:0 10px 23px #7754df38;transition:transform .2s,box-shadow .2s,filter .2s}.button.primary:hover,.account-submit:hover,.google-cta:hover,.landing-nav-cta:hover{transform:translateY(-2px);filter:saturate(1.16);box-shadow:0 15px 30px #7650df48}.button.secondary:hover{border-color:#8a6cf1;background:#f2eeff}.exam-banner{background:linear-gradient(105deg,#d5fff0,#e5e0ff 57%,#ffe7eb);border-color:#d7cef9}.streak-card{background:linear-gradient(110deg,#ece5ff,#ffe6ef 60%,#fff1cf)}.flash-stage{background:radial-gradient(ellipse at 5% 0%,#d1fff0,#e4ddff 57%,#ffe5ec);border-color:#d9d4f5}.flashcard{box-shadow:0 25px 65px #4c429428}.answer-option:hover{border-color:#9c80f6;background:#f3efff}.answer-option.correct{background:#dff9eb;border-color:#57bf91}.answer-option.incorrect{background:#ffe6ed;border-color:#e878a5}.question-progress span,.progress-line span{background:linear-gradient(90deg,#02bd9c,#7258ef 56%,#e7539e)}.drop-zone{background:linear-gradient(135deg,#e2fff5,#eee9ff 65%,#fff0f3);border-color:#bbaaff}.upload-symbol{background:linear-gradient(135deg,#cffff0,#e4ddff);color:#6d50df}.toast{background:linear-gradient(105deg,#27245d,#5d4bc5 60%,#8b479c)}
.nav-item,.icon-button,.filter-select,.course-link,.week-item{transition:all .18s ease}.nav-item:hover{background:#ffffff24}.course-emblem,.file-icon{background:linear-gradient(140deg,#d5fff1,#e7ddff 60%,#ffe3ed);color:#6550df}.library-card:hover{transform:translateY(-5px);border-color:#b8a7ff;box-shadow:0 20px 42px #53408e22}.button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8b70f2;outline-offset:3px}
.how-section{position:relative;overflow:hidden}
.sidebar{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.sidebar-toggle{position:sticky;top:8px;z-index:8;align-self:flex-start;width:44px;height:44px;margin:-15px 0 4px;padding:0;border:2px solid #ffffffb8;background:linear-gradient(140deg,#d1ffef,#e4ddff 65%,#ffddec);color:#4335a0;box-shadow:0 7px 22px #17104f66;border-radius:13px;font-size:25px;font-weight:800;cursor:pointer}
.sidebar-toggle:hover{background:linear-gradient(140deg,#fff,#e3dcff);transform:translateY(1px)}
.brand{padding-top:2px}
.profile-button{background:#ffffff12;box-shadow:0 -8px 15px #332e7514;border-top-color:#ffffff32}
.profile-button:hover{background:#ffffff20}
.topbar .menu-toggle{display:none}
@media(min-width:761px){.app-shell.sidebar-collapsed .topbar .menu-toggle{display:inline-grid}.app-shell.sidebar-collapsed>.sidebar{scrollbar-width:none}}
@media(max-width:760px){.sidebar-toggle{display:none}.topbar .menu-toggle{display:inline-grid}}
/* The mobile overlay is a separate DOM child; keep it out of the desktop grid. */
@media(min-width:761px){.app-shell>.sidebar{grid-column:1;grid-row:1}.app-shell>.main-area{grid-column:2;grid-row:1}.app-shell>.mobile-overlay{display:none!important}}
@keyframes ts-drift{to{transform:translate3d(40px,-26px,0) scale(1.08)}}
@keyframes ts-spin{to{transform:rotate(360deg)}}
@keyframes ts-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}
@keyframes ts-pulse{0%,100%{box-shadow:0 0 0 5px #fa5b9726}50%{box-shadow:0 0 0 9px #fa5b9710}}
@keyframes ts-breathe{0%,100%{transform:scale(.94);opacity:.86}50%{transform:scale(1.06);opacity:1}}
@keyframes ts-gradient{to{background-position:220% 0}}
@keyframes ts-book{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes ts-twinkle{0%,100%{opacity:.3;transform:scale(.8) rotate(0)}50%{opacity:.9;transform:scale(1.15) rotate(18deg)}}
@media(max-width:760px){.hero-card:after{left:8%;top:8%;font-size:28px}.hero-art{filter:saturate(1.1)}.stat-card:hover,.panel:hover{transform:none}.landing-hero:after{inset:10% 0 14%}.landing::before{top:500px}}
.app-shell[hidden]{display:none!important}
.ai-provider-result{display:block;margin-top:5px;color:#8695a6;font-size:8px}
