@font-face{font-family:Inter;src:url(/build/assets/Inter-Regular-B1FTlNV_.ttf) format("truetype");font-style:normal;font-weight:100 500;font-display:swap}@font-face{font-family:Inter;src:url(/build/assets/Inter-Bold-CkpfKRbu.ttf) format("truetype");font-style:normal;font-weight:600 900;font-display:swap}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172b22;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--primary:#168449;--primary-hover:#106a39;--primary-soft:#e9f5ec;--background:#f5f7fa;--surface:#fff;--text:#172b22;--muted:#65736b;--border:#e3e9e5;--shadow:0 12px 40px #20392a08;--danger:#ba3434;--warm:#f5f5ed}:root[data-theme=dark]{color-scheme:dark;--primary:#48d276;--primary-hover:#65df8d;--primary-soft:#183326;--background:#101713;--surface:#19231d;--text:#eaf1ec;--muted:#a2b2a7;--border:#2f3e34;--shadow:0 12px 40px #0002;--danger:#ff9292;--warm:#202b22;color:var(--text);background:var(--background)}*{box-sizing:border-box}html,body{width:100%;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%}body{margin:0}#portal-root,.portal-shell{width:100%;max-width:100%;min-width:0;overflow-x:clip}h1,h2,h3,h4,h5,h6,p,span,a,label{overflow-wrap:anywhere}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:var(--primary);text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3vw,38px);letter-spacing:-1.2px;line-height:1.2;margin-bottom:12px}h2{font-size:21px;line-height:1.35;letter-spacing:-.5px;margin-bottom:12px}h3{font-size:16px;line-height:1.5;margin-bottom:5px}p{line-height:1.65}img{max-width:100%}svg{flex-shrink:0}input,textarea,select{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:15px 16px;outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}:focus-visible{outline:3px solid var(--primary);outline-offset:4px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--primary);margin:0}input[type=file]{font-size:13px}input[type=file]::file-selector-button{border:0;border-radius:6px;padding:6px 10px;margin-right:10px;background:var(--primary-soft);color:var(--primary);cursor:pointer}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.65px;color:var(--primary);margin-bottom:15px;display:flex;align-items:center;gap:8px}.live-dot{display:inline-block;width:7px;height:7px;background:var(--primary);border-radius:50%;flex-shrink:0}.brand{display:inline-flex;align-items:center;gap:10px;color:var(--text);font-size:28px;font-weight:800;letter-spacing:-1.5px}.brand-dot{color:var(--primary)}.brand-mark{display:grid;place-items:center;width:42px;height:42px;color:#fff;background:transparent;border-radius:13px;overflow:hidden;flex-shrink:0}.brand-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit;display:block}.brand-mark .brand-logo-dark,[data-theme=dark] .brand-mark .brand-logo-light{display:none}[data-theme=dark] .brand-mark .brand-logo-dark{display:block}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 21px;border-radius:12px;background:var(--primary);border:1px solid transparent;color:#fff;font-size:14px;font-weight:600;transition:background .15s,transform .15s}.button:hover:not(:disabled){background:var(--primary-hover);transform:translateY(-1px)}[data-theme=dark] .button{color:#0d2114}.button.secondary{background:var(--surface);border-color:var(--border);color:var(--text)}.button.secondary:hover:not(:disabled){background:var(--primary-soft)}.icon-button{display:inline-flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--muted)}.icon-button:hover:not(:disabled){color:var(--primary);background:var(--primary-soft)}.full-width{width:100%}.mini-badge{display:inline-block;font-size:10px;font-weight:700;letter-spacing:1.1px;padding:7px 10px;color:var(--primary);background:var(--primary-soft);border-radius:7px;text-transform:uppercase}.error-message,.success-message{padding:13px 16px;border-radius:10px;font-size:14px;line-height:1.6;margin:0 0 15px}.error-message{color:var(--danger);background:color-mix(in srgb,var(--danger) 9%,var(--surface))}.success-message{color:var(--primary);background:var(--primary-soft)}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-page{min-height:100svh;display:flex;flex-direction:column;background:var(--surface)}.auth-header{max-width:1280px;width:100%;margin:auto;padding:32px 58px;display:flex;align-items:center;justify-content:space-between}.auth-layout{width:100%;max-width:1180px;margin:auto;display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center;padding:35px 40px 60px}.auth-story h1{font-size:clamp(42px,4.5vw,62px);line-height:1.08;letter-spacing:-2.8px;font-weight:650;margin:20px 0}.auth-story h1>span{color:var(--primary)}.story-description{font-size:15px;color:var(--muted);margin:25px 0 30px}.demo-stack{position:relative;padding:0 5px 20px;margin-top:34px;max-width:415px}.stack-underlay{position:absolute;inset:10px 6px 4px;border-radius:20px;background:#e3edda;border:1px solid #d4e4c9;transform:rotate(-5deg)}[data-theme=dark] .stack-underlay{background:#2a3b28;border-color:var(--border)}.demo-card{position:relative;display:block;text-align:left;width:100%;min-height:255px;border:1px solid var(--border);border-radius:20px;background:var(--warm);color:var(--text);padding:25px 28px;box-shadow:0 15px 30px #1833200b;transition:transform .2s}.demo-card:hover{transform:translateY(-3px)}.demo-card.answered{background:var(--primary-soft)}.demo-card-top{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);font-weight:600;letter-spacing:1px;margin-bottom:28px}.demo-card-top>span:first-child{display:flex;align-items:center;gap:6px}.demo-card>.eyebrow{font-size:9px;margin-bottom:12px}.demo-card h2{font-size:23px;font-weight:550;letter-spacing:-.7px;max-width:320px;line-height:1.4;min-height:65px}.demo-card>p:not(.eyebrow){font-size:13px}.demo-card-bottom{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:11px;font-weight:600;margin-top:25px}.demo-card-bottom>svg:last-child{margin-left:auto}.floating-note{position:absolute;bottom:4px;right:-22px;display:flex;gap:7px;align-items:center;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);padding:12px 16px;border-radius:10px;font-size:11px;font-weight:600;color:var(--primary);transform:rotate(3deg)}.story-features{display:flex;gap:20px;flex-wrap:wrap;margin-top:25px;color:var(--muted);font-size:11px}.story-features>span{display:flex;align-items:center;gap:5px}.story-features svg{color:var(--primary)}.auth-form-panel{padding:36px 0 20px;max-width:400px;width:100%;justify-self:end}.auth-form-heading h2{font-size:34px;letter-spacing:-1.2px;margin:20px 0 10px}.auth-form-heading>p{font-size:14px;margin-bottom:32px}.form-stack{display:flex;flex-direction:column;gap:20px}.form-stack>label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600}.form-stack input{font-size:14px;min-height:50px}.form-stack input::placeholder{color:var(--muted);opacity:.8}.password-field{position:relative}.password-field input{padding-right:48px}.password-field>.icon-button{position:absolute;top:3px;right:5px}.form-stack>.checkbox-label{flex-direction:row;align-items:center;gap:9px;font-weight:400;color:var(--muted);font-size:12px}.form-stack>.checkbox-label input{min-height:17px}.form-stack .button{margin-top:3px;min-height:53px}.auth-switch{text-align:center;font-size:13px;color:var(--muted);margin:27px 0}.auth-switch a{font-weight:600;margin-left:4px}.auth-reassurance{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:var(--muted);padding-top:20px;border-top:1px solid var(--border)}.auth-footer{display:flex;justify-content:space-between;max-width:1280px;width:100%;margin:auto;padding:25px 58px;border-top:1px solid var(--border);font-size:10px;color:var(--muted)}.auth-footer>a{display:flex;align-items:center;gap:5px;color:var(--muted)}.portal-shell{min-height:100svh;background:var(--background);color:var(--text)}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--border);padding:32px 22px 24px;display:flex;flex-direction:column;z-index:20}.sidebar>.brand,.sidebar>a{margin:0 8px 30px}.nav-caption{font-size:9px;letter-spacing:1.6px;color:var(--muted);margin:20px 12px 15px;font-weight:600}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav>a{display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:12px;color:var(--muted);font-size:13px;font-weight:500}.sidebar nav>a.active{color:var(--primary);background:var(--primary-soft);font-weight:650}.sidebar nav>a:hover{background:var(--background)}.sidebar-note{display:flex;gap:10px;margin-top:auto;padding:40px 12px 25px;align-items:flex-start}.sidebar-note .live-dot{margin-top:6px}.sidebar-note p{font-size:12px;color:var(--muted);margin:0}.sidebar-note strong{color:var(--text);font-weight:500}.sidebar-user{border-top:1px solid var(--border);padding-top:20px;display:flex;align-items:center;gap:10px;font-size:11px}.sidebar-user>div{min-width:0}.sidebar-user strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.sidebar-user span:not(.avatar){display:block;color:var(--muted);margin-top:5px;text-transform:capitalize}.avatar{width:37px;height:37px;border-radius:50%;background:var(--primary-soft);color:var(--primary);display:inline-grid;place-items:center;font-weight:650;object-fit:cover;flex-shrink:0}.avatar.large{width:65px;height:65px;font-size:25px}.workspace{margin-left:242px}.workspace-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:16px 42px;border-bottom:1px solid var(--border);background:var(--surface)}.workspace-header>.muted{font-size:12px}.header-actions{display:flex;align-items:center;gap:5px}.mobile-brand,.bottom-nav{display:none}.main-content{max-width:1250px;margin:0 auto;padding:42px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}.page-heading p:last-child{margin-bottom:0;font-size:14px}.page-heading .eyebrow{font-size:10px;margin-bottom:12px}.back-link{display:flex;align-items:center;gap:6px;margin-bottom:24px;font-size:12px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:var(--shadow)}.state-panel{padding:55px 25px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;border:1px dashed var(--border);border-radius:20px;color:var(--muted);min-height:220px;margin:20px 0}.state-panel p,.state-panel h2{margin:0}.boot-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:30px;color:var(--text);background:var(--background)}.boot-screen .state-panel{border:0}.search-field{display:flex;gap:10px;align-items:center;border:1px solid var(--border);border-radius:12px;background:var(--surface);max-width:420px;margin-bottom:27px;padding-left:16px;color:var(--muted)}.search-field input{border:0;background:transparent;padding:13px 10px;font-size:13px}.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.collection-tile{display:block;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px;color:var(--text);transition:transform .2s,box-shadow .2s}.collection-tile:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--primary)}.tile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.category-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex-shrink:0;background:var(--background);border-radius:15px}.category-icon img{width:31px;height:31px;object-fit:contain}.collection-tile h2{font-size:18px;margin-bottom:8px}.collection-tile p{font-size:11px}.tile-footer{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-top:12px;color:var(--muted)}.tile-footer>span+span{color:var(--primary)}.progress-track{height:6px;background:var(--border);border-radius:20px;overflow:hidden}.progress-track>div{height:100%;border-radius:inherit;background:var(--category,var(--primary));transition:width .25s}.chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chapter-tile{display:flex;align-items:center;gap:17px;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:21px;color:var(--text)}.chapter-tile:hover{border-color:var(--primary);box-shadow:var(--shadow)}.chapter-tile>div{flex:1;min-width:0}.chapter-tile h3{font-size:14px;overflow-wrap:anywhere}.chapter-tile p{font-size:11px;margin:4px 0}.chapter-tile .progress-track{margin-top:10px}.chapter-tile>svg:last-child{color:var(--muted)}.chapter-number{display:grid;place-items:center;background:var(--primary-soft);color:var(--primary);font-size:13px;font-weight:600;border-radius:12px;width:44px;height:44px;flex-shrink:0}.section{margin-top:34px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-title h2{margin:0;font-size:18px}.section-title>a{display:flex;align-items:center;gap:5px;font-size:11px}.dashboard-top{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.progress-panel{display:grid;grid-template-columns:1fr 150px;gap:24px;align-items:center}.progress-panel .eyebrow{font-size:10px}.progress-panel p{font-size:12px}.progress-ring{border-radius:50%;width:150px;height:150px;display:grid;place-items:center;background:conic-gradient(var(--primary) var(--progress),var(--primary-soft) 0deg);transform:rotate(-0deg)}.progress-ring>div{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;width:128px;height:128px;background:var(--surface)}.progress-ring strong{font-size:30px;letter-spacing:-1.1px}.progress-ring span{font-size:10px;color:var(--muted);margin-top:4px}.stats-row{grid-column:1/-1;display:flex;justify-content:space-between;padding-top:22px;border-top:1px solid var(--border)}.stats-row>div{display:flex;flex-direction:column;gap:6px}.stats-row strong{font-size:23px}.stats-row span{font-size:10px;color:var(--muted)}.streak-panel{background:var(--warm)}.streak-icon{color:#b47722;display:inline-flex;margin-bottom:12px}.streak-panel .eyebrow{font-size:9px;color:var(--muted);margin-bottom:8px}.streak-panel h2{font-size:38px;margin-bottom:4px}.streak-panel h2>span{font-size:18px;font-weight:400;color:var(--muted);letter-spacing:0}.streak-panel p:not(.eyebrow){font-size:12px;color:var(--muted);margin-bottom:20px}.streak-actions{display:flex;flex-direction:column;gap:8px;width:100%}.streak-panel .button{width:100%;font-size:12px}.tutor-banner{display:flex;align-items:center;gap:20px;padding:25px 28px;background:var(--primary-soft);border:1px solid color-mix(in srgb,var(--primary) 15%,var(--border));border-radius:20px;margin-top:28px;color:var(--text)}.tutor-icon{width:54px;height:54px;border-radius:16px;background:var(--surface);color:var(--primary);display:inline-grid;place-items:center;flex-shrink:0}.tutor-banner .eyebrow{font-size:9px;margin-bottom:7px}.tutor-banner h2{font-size:18px;margin-bottom:5px}.tutor-banner p:last-child{font-size:12px;margin:0;color:var(--muted)}.tutor-banner>svg:last-child{margin-left:auto;color:var(--primary)}.study-page{max-width:880px;margin:auto}.study-page>.progress-track{margin-bottom:27px}.study-count{font-size:11px;color:var(--muted)}.study-card{position:relative;display:flex;flex-direction:column;align-items:stretch;background:var(--surface);border:2px solid var(--category);border-radius:26px;padding:30px 38px;min-height:400px;box-shadow:var(--shadow);animation:card-in .2s ease-out}.study-card.flipped{background:color-mix(in srgb,var(--category) 5%,var(--surface))}.study-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:35px}.study-card .mini-badge{color:var(--category);background:color-mix(in srgb,var(--category) 9%,var(--surface))}.stars{color:#b88315;letter-spacing:4px;font-size:15px}.study-card>.rich-content{flex:1;display:flex;flex-direction:column;justify-content:center;font-size:22px;font-weight:500;line-height:1.65;padding:10px 0 30px;overflow-wrap:anywhere}.study-card.flipped>.rich-content{font-size:18px;font-weight:400}.study-card .reveal-button{align-self:center;color:var(--category);background:transparent;border:0;font-size:12px}.study-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 18px}.study-tools{display:flex;gap:12px}.study-tools .icon-button{background:var(--surface);border:1px solid var(--border);width:48px;height:48px;border-radius:50%}.study-tools .saved{color:#be4b46;background:#be4b4610;border-color:#be4b4630}.study-hint{font-size:11px;text-align:center;color:var(--muted)}.rich-content{line-height:1.8;overflow-wrap:anywhere}.rich-content p{margin-bottom:15px;line-height:inherit}.rich-content img{height:auto;max-width:100%;border-radius:10px;cursor:zoom-in}.rich-content table{display:block;overflow:auto;max-width:100%;border-collapse:collapse;margin:18px 0}.rich-content th,.rich-content td{border:1px solid var(--border);padding:8px 12px}.rich-content .ql-align-center{text-align:center}.rich-content .ql-align-right{text-align:right}.rich-content .ql-align-justify{text-align:justify}.rich-content .ql-size-small{font-size:.75em}.rich-content .ql-size-large{font-size:1.5em}.rich-content .ql-size-huge{font-size:2em}.rich-content .ql-font-serif{font-family:Georgia,serif}.rich-content .ql-font-monospace{font-family:monospace}.rich-content blockquote{border-left:3px solid var(--primary);margin:15px 0;padding:5px 20px;background:var(--primary-soft)}.rich-content pre{overflow:auto;padding:15px;background:var(--background);border-radius:10px}.rich-content [class*=ql-indent-]{padding-left:2em}.rich-content .ql-indent-2{padding-left:4em}.rich-content .ql-indent-3{padding-left:6em}.rich-content .ql-indent-4{padding-left:8em}.guideline-article{max-width:880px;padding:36px}.modal{width:min(90vw,850px);max-height:85svh;border:1px solid var(--border);border-radius:22px;background:var(--surface);color:var(--text);padding:28px;box-shadow:0 25px 100px #0003}.modal::backdrop{background:#10221abd;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.modal-heading h2{margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.expanded-image{display:block;max-height:65svh;object-fit:contain;margin:auto}@keyframes card-in{0%{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.profile-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:start}.profile-summary{display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--border);padding-bottom:25px;margin-bottom:25px}.profile-summary h2{font-size:19px;margin-bottom:3px}.profile-summary p{font-size:12px;margin-bottom:7px;overflow-wrap:anywhere}.profile-signout{margin-top:24px}.profile-grid .panel>p{font-size:13px}.profile-grid .panel>.form-stack{margin-top:20px}.field-help{font-size:11px;color:var(--muted);font-weight:400}.payment-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;padding:20px;font-size:13px}.payment-row p{font-size:11px;margin:4px 0 0}.tutor-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px}.conversation-list{padding:15px;max-height:650px;overflow:auto}.conversation-list>.button{width:100%;font-size:12px;margin-bottom:15px}.conversation-list .state-panel{padding:20px 5px;font-size:12px;min-height:120px}.conversation-row{display:flex;align-items:center;border-radius:10px;padding:2px 5px;margin:4px 0}.conversation-row.active{background:var(--primary-soft)}.conversation-row>button:first-child{text-align:left;flex:1;min-width:0;border:0;background:transparent;color:var(--text);font-size:11px;padding:10px 5px;line-height:1.6;overflow-wrap:anywhere}.chat-panel{display:flex;flex-direction:column;padding:22px;min-height:600px}.chat-messages{height:430px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px}.chat-message{font-size:14px;border-radius:15px;background:var(--background);padding:18px 20px;margin-bottom:15px;overflow-wrap:anywhere}.chat-message .eyebrow{font-size:9px;margin-bottom:7px}.chat-message p:last-child{margin-bottom:0}.chat-message.user{background:var(--primary-soft);margin-left:25px}.chat-message pre{overflow:auto}.chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:45px 15px}.chat-welcome h2{margin:22px 0 10px}.chat-welcome p{font-size:13px}.suggestion{display:flex;align-items:center;gap:10px;background:var(--surface);color:var(--primary);border:1px solid var(--border);padding:12px 15px;border-radius:12px;font-size:12px;margin-top:15px}.chat-compose{display:flex;align-items:flex-end;gap:10px;border-top:1px solid var(--border);padding-top:18px;margin-top:auto}.chat-compose textarea{resize:vertical;min-height:60px;max-height:140px;font-size:13px}.chat-note{font-size:10px;text-align:center;color:var(--muted);margin:14px 0 0}.skip-link{position:fixed;top:-100px;left:15px;background:var(--primary);padding:12px;color:#fff;z-index:100;border-radius:8px}.skip-link:focus{top:15px}@media(min-width:1450px){.auth-layout{max-width:1250px;gap:150px}.auth-header,.auth-footer{max-width:1400px}.auth-story h1{font-size:68px}.demo-stack{max-width:455px}}@media(max-width:1180px){.auth-layout{gap:55px;padding:30px 45px 55px}.auth-header,.auth-footer{padding-left:45px;padding-right:45px}.sidebar{width:210px;padding:28px 16px}.workspace{margin-left:210px}.workspace-header{padding:16px 28px}.main-content{padding:32px 28px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-top{grid-template-columns:1.4fr 1fr;gap:18px}.progress-panel{grid-template-columns:1fr 120px;gap:15px;padding:23px}.progress-ring{width:120px;height:120px}.progress-ring>div{width:102px;height:102px}.tutor-layout{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:900px){.auth-layout{gap:35px}.auth-story h1{font-size:45px;letter-spacing:-2px}.auth-story .eyebrow{font-size:9px;letter-spacing:1px}.floating-note{right:-5px}.demo-card{padding:22px}.story-features{gap:12px;font-size:10px}.auth-form-heading h2{font-size:30px}.sidebar{width:190px}.workspace{margin-left:190px}.main-content{padding:28px 22px}.dashboard-top{grid-template-columns:1fr}.streak-panel{display:grid;grid-template-columns:auto 1fr auto;gap:6px 20px;align-items:center}.streak-panel .streak-icon{grid-row:1/3;margin:0}.streak-panel .eyebrow{grid-column:2}.streak-panel h2{grid-column:2;font-size:29px;margin:0}.streak-panel p:not(.eyebrow){grid-column:1/-1;font-size:12px;margin:8px 0}.streak-panel .button,.streak-panel .streak-actions{grid-column:3;grid-row:1/3;width:auto}.streak-panel .streak-actions .button{width:auto}.chapter-grid,.profile-grid{grid-template-columns:1fr}.profile-grid>div{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-signout{margin:0}.tutor-layout{grid-template-columns:1fr}.conversation-list{max-height:200px;display:flex;align-items:start;flex-wrap:wrap;gap:8px}.conversation-list>.button{width:auto;margin-bottom:0}.conversation-list .conversation-row{max-width:200px}.conversation-list .state-panel{min-height:70px;margin:0}}@media(max-width:700px){.desktop-only{display:none!important}.auth-header{padding:24px}.auth-header .brand{font-size:25px}.auth-layout{display:flex;flex-direction:column-reverse;gap:35px;padding:20px 24px 36px;max-width:500px}.auth-form-panel{padding:10px 0 0;max-width:none}.auth-form-heading h2{font-size:34px}.auth-form-heading>p{margin-bottom:25px}.auth-reassurance{padding-top:18px}.auth-story{border-top:1px solid var(--border);padding-top:30px;width:100%}.auth-story h1{font-size:35px;letter-spacing:-1.5px}.auth-story h1 br{display:none}.auth-story h1>span{display:block}.story-description{font-size:13px;margin:17px 0}.demo-stack{max-width:100%;margin-top:25px;overflow:hidden}.floating-note{right:0!important;transform:none!important}.demo-card{min-height:220px}.demo-card h2{font-size:22px;min-height:50px}.story-features{font-size:10px}.auth-footer{padding:20px 24px;gap:15px;font-size:9px}.sidebar{display:none}.workspace{margin-left:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:clip!important}.workspace-header{padding:12px 20px;padding-top:max(12px,env(safe-area-inset-top));min-height:70px;position:sticky;top:0;z-index:10;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.mobile-brand{display:block}.mobile-brand .brand{font-size:23px;gap:8px}.mobile-brand .brand-mark{width:35px;height:35px;border-radius:11px}.header-actions{gap:1px}.header-actions>.icon-button{min-width:38px;padding:8px}.main-content{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:clip!important;padding:28px 20px calc(100px + env(safe-area-inset-bottom))}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;align-items:center;justify-content:space-around;background:var(--surface);border-top:1px solid var(--border);z-index:20;padding:9px 5px max(10px,env(safe-area-inset-bottom));width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:clip!important}.bottom-nav>a{display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--muted);font-size:9px;font-weight:500;padding:6px 4px!important;border-radius:10px;min-width:0!important;flex:1 1 0!important;text-align:center}.bottom-nav>a.active{color:var(--primary);background:var(--primary-soft)}.page-heading{flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin-bottom:24px;width:100%!important;max-width:100%!important;min-width:0!important}.page-heading>div:first-child{width:100%!important;min-width:0!important}.page-heading .eyebrow{font-size:9px;letter-spacing:1.2px}.page-heading h1{font-size:29px;letter-spacing:-1px}.page-heading p:last-child{font-size:12px}.my-cards-toolbar,.my-cards-tools{width:100%!important;max-width:100%!important;flex-wrap:wrap!important}.my-cards-search{width:100%!important;flex:1 1 100%!important;max-width:none!important;min-width:0!important}.my-cards-toolbar .button{width:100%!important;justify-content:center!important}.chapter-search-row{width:100%!important;max-width:100%!important;flex-wrap:wrap!important;gap:8px!important}.chapter-search-row .search-field{width:100%!important;flex:1 1 100%!important;max-width:none!important;min-width:0!important}.chapter-search-add{width:100%!important;justify-content:center!important}.chapter-management-actions{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}.chapter-management-actions .button{flex:1 1 auto!important;justify-content:center!important}.panel{padding:23px;border-radius:18px}.progress-panel{grid-template-columns:1fr 125px}.progress-ring{width:125px;height:125px}.progress-ring>div{width:105px;height:105px}.progress-panel h2{font-size:19px}.progress-panel p{font-size:11px}.stats-row{flex-wrap:wrap!important;gap:12px!important}.stats-row strong{font-size:22px}.stats-row span{font-size:10px}.streak-panel{gap:6px 13px}.streak-panel .button{padding:10px 12px;font-size:11px}.streak-panel .eyebrow{font-size:8px;letter-spacing:1px}.tutor-banner{padding:20px;gap:14px;border-radius:18px}.tutor-icon{width:43px;height:43px;border-radius:13px}.tutor-banner h2{font-size:16px}.tutor-banner p:last-child{font-size:11px}.tutor-banner>svg:last-child{width:17px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collection-tile{padding:17px;border-radius:16px}.collection-tile h2{font-size:16px}.collection-tile p{font-size:10px;margin-bottom:18px}.tile-top{margin-bottom:18px}.category-icon{width:44px;height:44px;border-radius:12px}.tile-footer{font-size:9px;flex-wrap:wrap}.tile-footer>span+span{display:none}.chapter-tile{padding:18px;gap:13px}.chapter-tile h3{font-size:14px}.section-title h2{font-size:16px}.section-title>a{font-size:10px;white-space:nowrap}.search-field{max-width:none}.study-page,.study-stack{width:100%!important;max-width:100%!important;min-width:0!important;margin:0 auto!important;overflow-x:clip!important;box-sizing:border-box!important}.study-page .page-heading{gap:8px}.study-count{font-size:10px;text-align:right;max-width:65px;margin-top:8px}.study-card{padding:24px;border-radius:22px;min-height:380px;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.study-card>.rich-content{font-size:20px}.study-card.flipped>.rich-content{font-size:17px}.study-card-top{margin-bottom:22px}.study-tools{gap:8px}.study-tools .icon-button{width:43px;height:43px;min-width:43px}.study-controls{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}.study-controls>.button{padding:12px 15px}.study-hint{font-size:10px}.guideline-article{padding:23px;font-size:15px}.modal{padding:21px;max-height:85svh}.modal-heading h2{font-size:18px}.profile-grid>div{display:block}.profile-signout{margin-top:20px}.payment-row{flex-wrap:wrap}.chat-panel{padding:18px;min-height:550px}.chat-messages{height:380px}.chat-message{font-size:13px;padding:15px}.chat-message.user{margin-left:15px}.chat-welcome{padding:30px 5px}.chat-welcome h2{font-size:19px}.chat-note{font-size:9px}.auth-page{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}@media(max-width:600px){.streak-panel{display:flex;flex-direction:column;align-items:stretch}.streak-panel .streak-icon{margin-bottom:8px}.streak-panel .streak-actions{width:100%;grid-column:auto;grid-row:auto}.streak-panel .streak-actions .button{width:100%}}@media(max-width:480px){.workspace-header{padding:10px 12px!important}.main-content{padding-left:12px!important;padding-right:12px!important}.bottom-nav>a{padding:6px 2px!important;min-width:0!important;font-size:8.5px!important}.community-chapter-row:has(.chapter-pin) .chapter-tile{padding-right:76px!important;padding-left:12px!important}.community-chapter-row .chapter-pin{right:8px!important;top:12px!important;padding:6px 9px!important;font-size:11px!important}.study-card{padding:18px 14px!important}}@media(max-width:370px){.collection-grid{grid-template-columns:1fr}.main-content{padding-left:10px!important;padding-right:10px!important}.progress-panel{grid-template-columns:1fr 100px;padding:18px}.progress-ring{width:100px;height:100px}.progress-ring>div{width:84px;height:84px}.progress-ring strong{font-size:25px}.streak-panel{display:block}.streak-panel .streak-icon{margin-bottom:10px}.streak-panel .button{margin-top:10px}.bottom-nav>a{padding:5px 1px!important;min-width:0!important;font-size:8px!important}.study-tools{gap:5px}.study-controls{gap:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.library-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.library-filters{display:flex;align-items:center;gap:20px}.library-filters .search-field{flex:1;margin-bottom:0}.library-select{display:flex;align-items:center;gap:10px;color:var(--muted)}.library-select select{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.library-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px}.plain-card,.card-preview p{white-space:pre-wrap;overflow-wrap:anywhere}.card-preview{padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.card-preview p{margin-top:16px;line-height:1.7}.visibility-line{display:flex;gap:8px;align-items:center;color:var(--muted);margin-top:20px}.chapter-tile h3{overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.form-stack textarea{resize:vertical;min-height:90px;line-height:1.6}.modal{max-height:90dvh;overflow:auto}@media(max-width:650px){.library-filters{flex-direction:column;align-items:stretch}.library-select{justify-content:space-between}.library-actions .button{flex:1;padding:12px;font-size:13px}.page-heading .library-actions{width:100%}.library-pagination{gap:10px;font-size:13px}}@media(max-width:650px){.page-heading:has(.library-actions){flex-direction:column;align-items:stretch}.library-filters .search-field{width:100%}}.study-card{touch-action:pan-y pinch-zoom;cursor:pointer}.study-card .rich-content{-webkit-user-select:text;user-select:text}.study-controls{flex-wrap:wrap}.study-card{display:grid;grid-template-rows:minmax(44px,auto) 1fr minmax(44px,auto)}.study-card-top{margin-bottom:0;align-self:start;min-height:44px}.study-card>.rich-content{justify-content:center;padding:24px 0;text-align:center!important;min-width:0}.study-card>.rich-content>:last-child{margin-bottom:0}.study-card>.reveal-button{justify-self:center;align-self:end;min-height:44px}.draft-card-editor{display:flex;flex-direction:column;gap:16px;border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}.draft-card-editor legend{font-size:13px;font-weight:700;color:var(--primary);padding:0 8px}.card-preview+.card-preview{margin-top:16px}.community-chapter-row{position:relative;min-width:0}.community-chapter-row .chapter-tile{height:100%}.community-chapter-row:has(.chapter-pin) .chapter-tile{padding-right:100px}.chapter-pin{position:absolute;right:14px;top:16px;padding:9px 12px;font-size:12px}.personal-summary{padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.personal-summary p{margin:12px 0}.community-chapter-row h3 svg{vertical-align:middle;color:var(--primary)}.impersonation-banner{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:12px 20px;background:#fff2c6;color:#533b0a;font-size:13px;border-bottom:1px solid #dfbf64}.impersonation-banner .button{padding:8px 14px}.impersonation-banner p{margin:0}.category-card-tile{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;border:2.5px solid var(--cat-color,var(--primary))!important;border-radius:28px!important;padding:30px 22px 24px!important;background:var(--surface);box-shadow:0 4px 18px #0000000a;transition:transform .2s ease,box-shadow .2s ease;text-decoration:none;position:relative;overflow:hidden}.category-card-tile:hover{transform:translateY(-3px);box-shadow:0 10px 28px color-mix(in srgb,var(--cat-color) 20%,transparent)}.category-card-circle{width:94px;height:94px;border-radius:50%;background:color-mix(in srgb,var(--cat-color) 12%,var(--surface));display:flex;align-items:center;justify-content:center;margin-bottom:16px;flex-shrink:0}.category-card-img{width:58px;height:58px;object-fit:contain}.category-card-title{font-size:23px;font-weight:700;color:var(--text);margin:0 0 5px;letter-spacing:-.3px}.category-card-desc{font-size:13.5px;color:var(--muted);margin:0 0 10px;font-weight:500;line-height:1.4;max-width:280px}.category-pill-desc{font-size:13px;color:var(--muted);margin:-4px 0 16px;font-weight:500}.category-card-subtitle{font-size:14px;color:var(--muted);margin:0 0 16px;font-weight:500}.category-card-progress-wrap{width:100%;max-width:270px;display:flex;flex-direction:column;align-items:center;gap:8px}.category-card-progress-track{width:100%;height:8px;background:color-mix(in srgb,var(--cat-color) 14%,#e5e7eb);border-radius:999px;overflow:hidden}.category-card-progress-track>div{height:100%;border-radius:inherit;background:var(--cat-color);transition:width .3s ease}.category-card-progress-text{font-size:13.5px;font-weight:600;color:var(--cat-color)}.chapters-page{max-width:680px;margin:0 auto;padding-top:4px}.chapters-back-link{margin-bottom:16px;font-size:13px}.category-pill-badge{display:inline-flex;align-items:center;gap:8px;padding:7px 18px;border-radius:999px;background:color-mix(in srgb,var(--cat-color) 12%,var(--surface));color:var(--cat-color);font-weight:700;font-size:15px;margin-bottom:22px;box-shadow:0 2px 8px #00000005}.category-pill-badge .pill-icon{width:22px;height:22px;object-fit:contain;display:inline-flex;align-items:center;justify-content:center}.category-pill-badge .pill-title{letter-spacing:-.2px}.chapters-styled-list{display:flex;flex-direction:column;gap:15px}.chapter-card-styled{display:flex;align-items:center;gap:16px;padding:18px 22px;background:var(--surface);border-radius:20px;border:1.5px solid var(--border);border-left:5px solid var(--cat-color);box-shadow:0 4px 16px #0000000a;text-decoration:none;color:var(--text);transition:transform .15s ease,box-shadow .15s ease}.chapter-card-styled:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000014}.chapter-card-badge{width:50px;height:50px;min-width:50px;border-radius:14px;background:color-mix(in srgb,var(--cat-color) 12%,var(--surface));color:var(--cat-color);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}.chapter-card-info{flex:1;min-width:0}.chapter-card-info h3{font-size:17.5px;font-weight:700;color:var(--text);margin:0 0 3px}.chapter-card-author{font-size:13px;color:var(--cat-color,var(--primary));font-weight:600;margin:0 0 3px}.chapter-card-cards{font-size:13.5px;color:var(--muted);margin:0 0 3px;font-weight:500}.chapter-card-progress{font-size:13px;color:var(--cat-color);font-weight:600;margin:0}.chapter-card-arrow{color:var(--cat-color);flex-shrink:0}.study-top-breadcrumb{display:flex;align-items:center;gap:7px;font-size:14px;font-weight:600;margin-bottom:14px;flex-wrap:wrap}.page-heading .study-top-breadcrumb{margin-bottom:10px}.study-breadcrumb-cat{display:inline-flex;align-items:center;gap:6px;color:var(--category,var(--cat-color,var(--primary)));text-decoration:none;font-weight:700}.study-breadcrumb-cat:hover{text-decoration:underline}.study-breadcrumb-icon{width:20px;height:20px;object-fit:contain;display:inline-block}.study-breadcrumb-sep{color:var(--muted);font-size:15px;-webkit-user-select:none;user-select:none;display:inline-flex;align-items:center}.study-breadcrumb-chapter{color:var(--muted);font-weight:500;display:inline-flex;align-items:center;gap:6px}.study-header-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:12px;width:100%}.study-chapter-title{font-size:26px;font-weight:700;color:var(--text);margin:0;letter-spacing:-.4px}.study-card-counter{font-size:15px;font-weight:600;color:var(--muted);white-space:nowrap}.study-page{display:flex;flex-direction:column;min-height:calc(100svh - 130px);width:100%;max-width:680px;margin:0 auto}.study-page>.progress-track{width:100%;height:8px;background:color-mix(in srgb,var(--category,var(--primary)) 14%,var(--border));border-radius:999px;margin-bottom:24px}.study-page>.progress-track>div{background:var(--category,var(--primary));border-radius:999px}.study-page .study-count{color:var(--category,var(--primary));font-weight:600;font-size:13px}.study-card{width:100%!important;max-width:100%!important;min-width:0!important;align-self:stretch!important;box-sizing:border-box!important;position:relative;display:flex!important;flex-direction:column!important;justify-content:space-between!important;align-items:stretch!important;background:var(--surface);border:2.5px solid var(--category,var(--primary))!important;border-radius:28px!important;padding:32px 28px 24px!important;flex:1;min-height:440px;box-shadow:0 10px 32px color-mix(in srgb,var(--category,var(--primary)) 12%,transparent);animation:card-in .2s ease-out}.study-card.flipped{background:color-mix(in srgb,var(--category,var(--primary)) 4%,var(--surface))}.study-card>.rich-content{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;flex:1 1 0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;text-align:center!important;font-size:24px;font-weight:600;line-height:1.5;color:var(--text);padding:20px 0;overflow-y:auto;word-break:break-word}.study-card>.rich-content>*{min-width:0;max-width:100%;box-sizing:border-box}.study-card>.rich-content p{width:100%}.study-card .reveal-button{align-self:center!important;color:var(--category,var(--primary))!important;background:transparent!important;border:0!important;font-size:14px!important;font-weight:600!important;padding:12px 20px!important;margin-top:auto!important;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:opacity .15s ease}.study-card .reveal-button:hover{opacity:.8}.study-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 12px;width:100%}.study-controls .button{border-radius:14px;padding:12px 20px}.study-controls .button:not(.secondary){background:var(--category,var(--primary));color:#fff;border-color:var(--category,var(--primary))}.study-controls .button.secondary{border-color:color-mix(in srgb,var(--category,var(--primary)) 30%,var(--border));color:var(--text)}.study-tools .icon-button{background:var(--surface);border:1.5px solid color-mix(in srgb,var(--category,var(--primary)) 30%,var(--border));color:var(--category,var(--primary))}.study-tools .icon-button:hover{background:color-mix(in srgb,var(--category,var(--primary)) 8%,var(--surface))}.study-tools .icon-button.saved{color:#e74c3c;background:#e74c3c12;border-color:#e74c3c40}.portal-shell:has(.study-page) .bottom-nav a.active{color:var(--category,var(--primary))!important;background:color-mix(in srgb,var(--category,var(--primary)) 12%,var(--surface))!important}.portal-shell:has(.study-page) .bottom-nav a.active svg{color:var(--category,var(--primary))!important}@media(max-width:700px){.main-content:has(.study-page){padding:14px 16px calc(75px + env(safe-area-inset-bottom));display:flex;flex-direction:column;flex:1;min-height:0}.study-page{flex:1;min-height:calc(100svh - 143px - env(safe-area-inset-top) - env(safe-area-inset-bottom));display:flex;flex-direction:column}.study-card{flex:1;min-height:0;padding:22px 18px;border-radius:24px;width:100%!important}.study-card>.rich-content{font-size:21px;padding:14px 0}.study-controls{margin:12px 0 6px}.study-hint{margin-bottom:2px}.study-chapter-title{font-size:22px}.study-card-counter{font-size:14px}.collection-grid .category-card-tile{grid-column:1 / -1!important;width:100%!important}.category-card-tile{padding:26px 18px 22px!important;border-radius:24px!important}.category-card-circle{width:82px;height:82px;margin-bottom:12px}.category-card-img{width:50px;height:50px}.category-card-title{font-size:20px}.chapter-card-styled{padding:14px 16px;border-radius:16px;gap:13px}.chapter-card-badge{width:44px;height:44px;min-width:44px;border-radius:12px;font-size:16px}}.chapter-questions-page{max-width:920px;margin:0 auto}.chapter-questions-hero{background:var(--surface);border:1.5px solid var(--border);border-radius:22px;padding:26px 30px;margin-bottom:28px;box-shadow:0 4px 20px #00000008;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.chapter-questions-hero-content{flex:1;min-width:280px}.chapter-questions-title{font-size:28px;font-weight:700;letter-spacing:-.6px;color:var(--text);margin:0 0 6px}.chapter-questions-subtitle{font-size:14px;margin:0 0 14px}.chapter-questions-hero .progress-track{max-width:420px}.chapter-questions-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.chapter-questions-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.chapter-questions-header h2{font-size:20px;font-weight:700;margin:0}.chapter-questions-search{margin-bottom:0;max-width:320px}.chapter-questions-list{display:flex;flex-direction:column;gap:10px}.chapter-question-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px;background:var(--surface);border:1.5px solid var(--border);border-radius:16px;text-decoration:none;color:var(--text);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.chapter-question-item:hover{transform:translateY(-1px);border-color:var(--cat-color,var(--primary));box-shadow:0 6px 18px #0000000a}.chapter-question-item.completed{border-left:4.5px solid var(--cat-color,var(--primary))}.question-item-left{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.question-number-badge{width:38px;height:38px;min-width:38px;border-radius:12px;background:color-mix(in srgb,var(--cat-color,var(--primary)) 12%,var(--surface));color:var(--cat-color,var(--primary));font-weight:700;font-size:15px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.question-item-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.question-item-text{font-size:15px;font-weight:600;line-height:1.45;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.question-bookmarked-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#e74c3c;font-weight:600}.question-item-right{display:flex;align-items:center;gap:12px;flex-shrink:0}.question-progress-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;font-size:12px;font-weight:600}.question-progress-badge.completed{background:color-mix(in srgb,var(--cat-color,var(--primary)) 14%,var(--surface));color:var(--cat-color,var(--primary))}.question-progress-badge.ready{background:var(--background);color:var(--muted);border:1px solid var(--border)}.question-item-arrow{color:var(--muted);transition:transform .15s ease,color .15s ease}.chapter-question-item:hover .question-item-arrow{color:var(--cat-color,var(--primary));transform:translate(2px)}.study-questions-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:6px 12px;border-radius:8px;background:color-mix(in srgb,var(--category,var(--primary)) 12%,var(--surface));color:var(--category,var(--primary));text-decoration:none;transition:background .15s ease}.study-questions-link:hover{background:color-mix(in srgb,var(--category,var(--primary)) 20%,var(--surface))}@media(max-width:650px){.chapter-questions-hero{padding:20px;flex-direction:column;align-items:stretch}.chapter-questions-hero-actions{width:100%}.chapter-questions-hero-actions .button{flex:1}.chapter-question-item{padding:14px 16px}.question-item-text{font-size:14px}.question-progress-badge{padding:4px 8px;font-size:11px}}.search-results-section{margin-top:10px}.search-results-list{display:flex;flex-direction:column;gap:16px}.search-result-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 2px 8px #0000000a;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.search-result-card:hover{border-color:color-mix(in srgb,var(--primary) 40%,var(--border));box-shadow:0 4px 14px #0000000f}.search-result-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.search-result-header-actions{display:flex;align-items:center;gap:8px}.card-inline-edit{min-width:32px;min-height:32px;padding:6px;border-radius:8px;color:var(--muted);background:transparent}.card-inline-edit:hover{color:var(--primary);background:var(--primary-soft)}.search-result-chapter-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:6px;background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary);font-size:12px;font-weight:700}.search-result-body{display:flex;flex-direction:column;gap:8px}.search-result-question{font-size:15px;font-weight:600;color:var(--text);line-height:1.45;margin:0}.search-result-answer{font-size:14px;color:var(--text-muted,var(--muted));line-height:1.5;background:color-mix(in srgb,var(--background) 70%,var(--surface));padding:10px 14px;border-radius:8px;border-left:3px solid var(--primary);white-space:pre-wrap}.search-result-label{font-weight:700;color:var(--primary);margin-right:4px}.search-result-footer{display:flex;align-items:center;justify-content:flex-end;margin-top:4px}.search-result-view-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:8px;font-size:13px;font-weight:600;text-decoration:none}.portal-shell:has(.study-page){height:100dvh;min-height:0}.portal-shell:has(.study-page) .workspace{height:100%;display:flex;flex-direction:column;min-height:0}.portal-shell:has(.study-page) .workspace-header{flex-shrink:0}.portal-shell:has(.study-page) .main-content{flex:1;min-height:0;min-width:0;width:100%;max-width:none;display:flex;flex-direction:column;padding:20px 24px 12px;overflow:hidden}.study-page{height:100%;min-height:0;max-width:880px;flex:1;gap:0}.study-page>.study-top-breadcrumb,.study-page>.study-header-row,.study-page>.page-heading,.study-page>.progress-track,.study-page>.study-controls,.study-page>.study-hint,.study-page>.error-message,.study-page>.field-help{flex-shrink:0}.study-page>.progress-track{margin-bottom:18px}.study-page .page-heading{margin-bottom:14px}.study-page .page-heading h1{font-size:26px;margin-bottom:6px}.study-page .page-heading p{margin-bottom:0}.study-page .study-top-breadcrumb{margin-bottom:12px}.study-card{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) 44px;justify-content:stretch!important;align-items:stretch!important;min-height:0;padding:24px!important;border-width:3px!important;border-radius:30px!important;overflow:hidden}.study-card:not(:has(.study-card-top)):before{content:"";grid-row:1}.study-card>.study-card-top{grid-row:1;min-height:44px;margin:0}.study-card>.rich-content{grid-row:2;min-height:0;justify-content:safe center!important;align-items:stretch!important;padding:16px 0;overflow-y:auto;overflow-x:hidden}.study-card>.reveal-button{grid-row:3;justify-self:center;align-self:end!important;margin:0!important;min-height:44px}.study-controls{flex-wrap:nowrap;margin:12px 0 6px;gap:8px}.study-hint{margin:4px 0 0}.study-page>.field-help{font-size:10px;margin:3px 0 0}.study-page .study-controls .button.secondary{color:var(--category,var(--primary))}.study-page .study-tools .icon-button.saved{color:var(--category,var(--primary));border-color:var(--category,var(--primary));background:color-mix(in srgb,var(--category,var(--primary)) 12%,var(--surface))}@media(max-width:700px){.portal-shell:has(.study-page) .workspace{height:calc(100dvh - 76px - env(safe-area-inset-bottom))}.portal-shell:has(.study-page) .main-content{width:100%;align-items:stretch;padding:12px 16px 8px}.study-page{width:100%;min-width:0;max-width:none;align-self:stretch;flex:1 1 auto;min-height:0}.study-card{width:100%!important;min-width:0!important;max-width:none!important;align-self:stretch!important;padding:18px!important;border-radius:26px!important}.study-page .study-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;margin:10px 0 4px}.study-controls>.button:first-child{grid-column:1;grid-row:1}.study-controls>.button:last-child{grid-column:3;grid-row:1}.study-controls>.study-tools{grid-column:2;grid-row:1;justify-content:center}.study-controls>a.button{grid-column:1 / -1;grid-row:2;justify-self:center;padding:5px 12px;min-height:30px;font-size:11px}.study-controls>button.button{width:44px;height:44px;padding:0;justify-content:center}.study-page .page-heading h1,.study-chapter-title{font-size:21px}.study-page .page-heading .eyebrow{display:none}.study-page .page-heading p:last-child{font-size:11px}.study-page>.progress-track{margin-bottom:12px}.study-header-row{gap:6px;flex-wrap:wrap;margin-bottom:10px}.study-card-counter{font-size:12px}}.community-chapter-row:has(.chapter-pin) .chapter-card-styled{padding-right:100px}.community-chapter-row .chapter-pin{color:var(--cat-color,var(--primary));border-color:var(--cat-color,var(--primary));top:50%;transform:translateY(-50%)}.portal-shell:has(.study-page) .bottom-nav a.active{color:var(--study-accent,var(--primary))!important;background:color-mix(in srgb,var(--study-accent,var(--primary)) 12%,var(--surface))!important}.portal-shell:has(.study-page) .bottom-nav a.active svg{color:var(--study-accent,var(--primary))!important}.category-chapter-search{margin-top:20px}.chapter-search-empty{padding:16px 0}.study-card>.rich-content{justify-content:center!important;align-items:center!important;text-align:center!important}.study-card>.rich-content *{text-align:center!important}.study-card>.rich-content>:not(p){align-self:center;margin-inline:auto}.study-card>.rich-content p{width:100%;text-align:center!important}.study-stack{position:relative;isolation:isolate;flex:1 1 0;min-height:0;width:100%;margin-bottom:16px}.study-stack>.study-card{position:absolute;inset:0;height:100%;z-index:3;margin:0;animation:none;transform:translate3d(var(--swipe-x,0px),var(--swipe-y,0px),0) rotate(var(--swipe-rotation,0deg));transform-origin:50% 85%;transition:transform .18s ease-out;will-change:transform}.study-stack>.study-card[data-swipe=dragging]{transition:none;cursor:grabbing;-webkit-user-select:none;user-select:none}.study-stack>.study-card[data-swipe=dragging] .rich-content{-webkit-user-select:none;user-select:none}.study-stack>.study-card[data-swipe=exiting]{transition:transform .18s ease-in;pointer-events:none}.study-stack,.study-stack *{-webkit-tap-highlight-color:transparent}.study-stack>.study-card:focus:not(:focus-visible){outline:none}.study-stack-back{position:absolute;inset:0;border:2px solid color-mix(in srgb,var(--category,var(--primary)) 55%,var(--surface));border-radius:30px;background:color-mix(in srgb,var(--category,var(--primary)) 5%,var(--surface));pointer-events:none;box-shadow:0 6px 14px #00000008}.study-stack-back-near{z-index:2;transform:translateY(8px) scaleX(.97)}.study-stack-back-far{z-index:1;transform:translateY(16px) scaleX(.94);background:color-mix(in srgb,var(--category,var(--primary)) 9%,var(--surface))}.study-stack[data-depth="0"] .study-stack-back,.study-stack[data-depth="1"] .study-stack-back-far{display:none}@media(min-width:701px)and (max-width:1399px){.portal-shell:has(.study-page) .main-content{align-items:stretch;padding-inline:clamp(22px,4vw,56px)}.study-page{width:100%;max-width:1100px;align-self:center}.study-stack,.study-stack>.study-card{width:100%}.study-card{padding:clamp(22px,3vw,36px)!important;border-radius:26px!important}.study-page .study-controls{width:min(100%,760px);margin-inline:auto}}@media(min-width:701px)and (max-width:1399px)and (orientation:landscape){.study-page{width:90%}}@media(max-width:700px){.study-stack-back{border-radius:26px}.study-stack{margin-bottom:12px}.study-stack-back-near{transform:translateY(6px) scaleX(.97)}.study-stack-back-far{transform:translateY(12px) scaleX(.94)}}@media(prefers-reduced-motion:reduce){.study-stack>.study-card{transition:none!important}}.chapter-questions-search{max-width:420px;margin-bottom:18px}.auth-alternative{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:18px 0}.auth-alternative:before,.auth-alternative:after{content:"";height:1px;background:var(--border);flex:1}.auth-extra-actions{display:grid;gap:10px}.auth-extra-actions .button{width:100%;justify-content:center}.google-g{font-size:19px;font-weight:800;font-family:Arial,sans-serif;background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 25% 50%,#fbbc05 50% 75%,#ea4335 75%);color:transparent;background-clip:text;-webkit-background-clip:text}.profile-biometric,.profile-delete{margin-top:20px}.profile-delete{border-color:color-mix(in srgb,#c2413b 35%,var(--border))}.button.danger{background:#b42318;color:#fff;border-color:#b42318}.button.danger:hover{background:#912018}.category-search-section-title{font-size:18px;margin:20px 0 14px}.category-search-card-results{margin-top:22px}.category-search-result-card{color:var(--text);text-decoration:none;cursor:pointer}.category-search-result-card:focus-visible{outline:3px solid color-mix(in srgb,var(--cat-color,var(--primary)) 45%,transparent);outline-offset:3px}.community-search-row{width:min(50%,720px);margin:0}.community-search-row .search-field{width:100%;max-width:none;margin:0}@media(max-width:650px){.community-search-row{width:100%}}.page-heading.community-cards-heading{flex-direction:column;align-items:stretch;gap:0;margin-bottom:14px}.community-cards-heading>div:first-child{width:100%}.community-search-row{width:100%;margin:0 0 18px}.community-search-row .search-field{width:min(50%,760px)}.community-chapters-section{margin-top:20px}.community-chapters-section>h2{font-size:22px;margin-bottom:18px}@media(min-width:1000px){.community-chapters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.community-chapters-grid .community-chapter-row .chapter-card-styled{height:100%;min-height:148px;padding:24px;border-radius:20px;box-shadow:0 5px 20px #143c280f}.community-chapters-grid .community-chapter-row:has(.chapter-pin) .chapter-card-styled{padding-right:112px}.community-chapters-grid .community-chapter-row .chapter-card-info h3{font-size:19px;line-height:1.35}.community-chapters-grid .community-chapter-row .chapter-card-author{font-size:13px;margin-top:2px;margin-bottom:3px}.community-chapters-grid .community-chapter-row .chapter-card-cards{font-size:13px;margin-top:5px}.community-chapters-grid .community-chapter-row .chapter-card-progress{font-size:13px;margin-top:7px}.community-chapters-grid .community-chapter-row .chapter-pin{right:18px}}@media(min-width:1700px){.community-chapters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){.community-search-row .search-field{width:100%}}.biometric-lock-overlay{position:fixed;inset:0;z-index:9999;background:#0f172ab3;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);display:flex;align-items:center;justify-content:center;padding:24px;text-align:center}.biometric-lock-card{max-width:390px;width:100%;display:flex;flex-direction:column;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--border);border-radius:28px;padding:36px 28px;box-shadow:0 24px 60px #00000059}.biometric-lock-icon{width:76px;height:76px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--primary) 14%,var(--surface));color:var(--primary);margin-top:6px;box-shadow:0 0 24px color-mix(in srgb,var(--primary) 25%,transparent)}.biometric-lock-card h2{font-size:24px;margin:4px 0 0;font-weight:700;color:var(--text)}.biometric-lock-card p{margin:0;font-size:14px;color:var(--muted);line-height:1.5}.biometric-lock-actions{width:100%;display:flex;flex-direction:column;gap:10px;margin-top:14px}.biometric-lock-actions .button{width:100%;justify-content:center}.main-content:has(>.study-collections){padding-top:20px}.study-collections{margin-top:0}@media(max-width:700px){.main-content:has(>.study-collections){padding-top:16px}}@media(min-width:1450px){.main-content{max-width:none;width:100%}}.my-cards-toolbar{width:min(100%,720px);flex:1;flex-wrap:nowrap}.my-cards-tools{width:min(100%,720px);flex:1;display:flex;flex-direction:column;gap:9px}.my-cards-progress-label{display:flex;justify-content:space-between;gap:10px;margin-bottom:5px;color:var(--muted);font-size:11px}.my-cards-progress .progress-track{height:4px}.chapter-heading-tools{width:min(100%,720px);flex:1;display:flex;flex-direction:column;gap:9px}.chapter-heading-progress .progress-track{height:4px}.chapter-shared-by{font-size:13px;color:var(--muted);margin-bottom:6px}.chapter-shared-by strong{color:var(--primary);font-weight:600}.chapter-flashcard-link{color:var(--text);text-align:left;cursor:pointer}.chapter-search-row .search-field{margin-bottom:0}.chapter-search-add{flex:0 0 auto;min-height:44px}.page-heading.my-cards-heading,.page-heading.chapter-view-heading{flex-direction:column;align-items:stretch;gap:12px}.my-cards-heading>div:first-child,.chapter-view-heading>div:first-child{width:100%}.chapter-view-tools{width:100%;display:flex;flex-direction:column;gap:12px}.chapter-search-row{width:100%;max-width:none;flex-wrap:nowrap}.chapter-management-actions{flex:0 0 auto;flex-wrap:nowrap;gap:8px}.chapter-management-actions .button{min-height:42px;padding:8px 12px;font-size:12px}@media(min-width:1450px){.chapter-search-row .search-field{flex:0 1 50vw;width:50vw;max-width:50vw}}@media(max-width:700px){.my-cards-toolbar{width:100%;flex-wrap:wrap;gap:8px}.my-cards-toolbar .button{width:100%;justify-content:center}.library-filters.chapter-search-row{flex-direction:row;align-items:center;flex-wrap:wrap;width:100%}.chapter-search-row{flex-wrap:wrap;gap:8px;width:100%}.chapter-search-row .search-field{min-width:0;width:100%;flex:1 1 100%}.chapter-search-add{width:100%;justify-content:center}.chapter-management-actions{width:100%;flex:1 0 100%;justify-content:stretch;flex-wrap:wrap;gap:8px}.chapter-management-actions .button{flex:1 1 auto;justify-content:center}}.my-cards-search{flex:1;max-width:none;min-width:0;margin:0}.my-cards-search input{min-width:0}.my-cards-toolbar .button{flex:0 0 auto;min-height:40px;padding:8px 13px;font-size:12px}@media(min-width:1450px){.my-cards-tools,.my-cards-toolbar{width:100%}.my-cards-search{flex:0 1 50vw;width:50vw;max-width:50vw}}.main-content:has(>.chapters-page){padding-top:16px}.chapters-page{width:100%;max-width:none;margin:0;padding-top:0}.chapters-page>.study-top-breadcrumb{margin-bottom:8px}.chapters-page .category-pill-badge{margin-bottom:10px}.chapters-page .category-chapter-search{width:100%;max-width:none;margin:0 0 14px}.chapters-page .chapters-styled-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}@media(max-width:700px){.main-content:has(>.chapters-page){padding-top:16px}.chapters-page .chapters-styled-list{grid-template-columns:minmax(0,1fr)}}@media(min-width:1000px){.scace-chapter-page{width:100%;max-width:1600px;margin-inline:auto}.scace-chapter-page .chapter-questions-hero{align-items:center;padding:clamp(28px,3vw,48px);border-color:color-mix(in srgb,var(--cat-color, #168449) 20%,var(--border));background:linear-gradient(120deg,color-mix(in srgb,var(--cat-color, #168449) 7%,var(--surface)),var(--surface) 58%)}.scace-chapter-page .chapter-questions-hero-content{min-width:0}.scace-chapter-page .chapter-questions-title{font-size:clamp(30px,2.5vw,42px)}.scace-chapter-page .chapter-questions-hero .progress-track{max-width:none;height:7px}.scace-chapter-page .chapter-questions-hero-actions{justify-content:flex-end}.scace-chapter-page .chapter-questions-header{margin:34px 0 14px}.scace-chapter-page .chapter-questions-header h2{font-size:22px}.scace-chapter-page .chapter-questions-search{width:min(50%,760px);max-width:none}.scace-chapter-page .chapter-questions-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.scace-chapter-page .chapter-question-item{min-width:0;padding:20px 22px}}@media(min-width:1800px){.scace-chapter-page .chapter-questions-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(orientation:landscape)and (max-height:500px)and (max-width:1100px){.portal-shell:has(.study-page) .workspace-header{min-height:48px;padding-block:2px}.portal-shell:has(.study-page) .main-content{padding-block:6px}.study-page{width:90%;align-self:center}.study-page>.study-top-breadcrumb,.study-page .page-heading .study-top-breadcrumb{margin-bottom:4px}.study-page .page-heading,.study-header-row{margin-bottom:4px}.study-page .page-heading h1,.study-chapter-title{font-size:20px;margin-bottom:0}.study-page .page-heading .eyebrow{display:none}.study-page>.progress-track{height:5px;margin-bottom:8px}.study-stack{margin-bottom:8px}.study-card{grid-template-rows:auto minmax(0,1fr) 44px;padding:10px 16px!important;border-radius:20px!important}.study-card:not(:has(.study-card-top)):before{display:none}.study-card>.study-card-top{min-height:0}.study-card>.rich-content{font-size:20px;padding:6px 0;justify-content:safe center!important}.study-card.flipped>.rich-content{font-size:16px}.study-card .reveal-button{padding:8px 14px!important}.study-page .study-controls{margin-block:4px 0}.study-page .study-controls .button{min-height:44px;padding-block:8px}.study-tools .icon-button{width:44px;height:44px}.study-stack-back{border-radius:20px}.study-stack-back-near{transform:translateY(4px) scaleX(.97)}.study-stack-back-far{transform:translateY(8px) scaleX(.94)}}.dashboard-greeting h1[tabindex="-1"]:focus{outline:none}.bookmarks-search{width:50%;max-width:none}@media(max-width:700px){.bookmarks-search{width:100%}}.page-heading.bookmarks-heading{margin-bottom:12px}.bookmarks-heading .study-top-breadcrumb{margin-bottom:0}.page-heading.profile-heading{margin-bottom:12px}.profile-heading .study-top-breadcrumb{margin-bottom:0}.ai-usage{border:1px solid var(--border);background:var(--surface);border-radius:14px;padding:14px 16px;margin-bottom:20px;font-size:13px}.ai-usage-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}.ai-usage-row>span{color:var(--primary)}.ai-usage p{font-size:11px;margin:8px 0 0}.ai-usage button{border:0;background:transparent;color:var(--primary);padding:0;text-decoration:underline}.page-heading.tutor-heading{margin-bottom:12px}.tutor-heading .study-top-breadcrumb{margin-bottom:0}.tutor-heading+.ai-usage{margin-bottom:12px}.tutor-layout{gap:12px}.tutor-layout .chat-panel{padding:18px;min-height:480px}.tutor-layout .chat-messages{height:320px}.tutor-layout .chat-welcome{padding:24px 10px}.tutor-layout .chat-welcome h2{margin:14px 0 8px}.tutor-layout .suggestion{margin-top:8px}.tutor-layout .chat-compose{padding-top:12px}.tutor-layout .chat-note{margin-top:8px}@media(max-width:700px){.tutor-layout .chat-panel{padding:16px;min-height:440px}.tutor-layout .chat-messages{height:280px}.tutor-layout .chat-welcome{padding:18px 5px}}.tutor-page,.tutor-layout>*{min-width:0}.conversation-items{display:contents}.chat-message img{max-width:100%;height:auto}.chat-message table{display:block;max-width:100%;overflow-x:auto}.chat-compose textarea{flex:1;min-width:0}@media(max-width:1199px){.main-content:has(.tutor-page){max-width:none;padding-top:18px}.tutor-layout{grid-template-columns:minmax(0,1fr)}.tutor-layout .conversation-list{display:flex;flex-direction:column;align-items:stretch;gap:10px;max-height:none;overflow:visible;padding:12px}.conversation-list>.button{align-self:flex-start;width:auto;margin:0;min-height:44px}.conversation-items{display:flex;gap:8px;overflow-x:auto;min-width:0;max-width:100%;padding-bottom:2px;overscroll-behavior-x:contain}.conversation-items:empty{display:none}.conversation-items .conversation-row{flex:0 0 auto;width:220px;max-width:220px;margin:0;border:1px solid var(--border);border-radius:12px}.conversation-row>button:first-child{font-size:12px;line-height:1.4;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-row .icon-button{flex-shrink:0}.conversation-items .state-panel{min-height:0;padding:10px;margin:0;width:100%}.tutor-layout .chat-panel{min-height:0;padding:20px}.tutor-layout .chat-messages{height:clamp(260px,45dvh,560px);padding-right:4px}.tutor-layout .chat-compose{flex-shrink:0;margin-top:12px}.chat-compose textarea{font-size:16px;resize:none;min-height:60px;padding:12px}.chat-compose>.button{width:48px;height:48px;min-width:48px;padding:0}.chat-message{font-size:15px;line-height:1.65}}@media(max-width:700px){.main-content:has(.tutor-page){padding:16px 12px calc(92px + env(safe-area-inset-bottom))}.tutor-page .ai-usage{padding:12px;border-radius:14px}.tutor-page .ai-usage-row{font-size:12px;gap:6px}.tutor-layout .conversation-list{border-radius:14px;padding:10px;gap:8px}.conversation-items .conversation-row{width:190px;max-width:190px}.tutor-layout .chat-panel{padding:14px;border-radius:16px}.tutor-layout .chat-messages{height:clamp(240px,40dvh,420px);padding-right:0}.tutor-layout .chat-message{font-size:14px;padding:12px;margin-bottom:10px}.tutor-layout .chat-message.user{margin-left:12px}.tutor-layout .chat-welcome{padding:18px 4px}.chat-welcome .suggestion{max-width:100%;text-align:left}.tutor-layout .chat-compose{gap:8px}.tutor-layout .chat-note{font-size:10px;line-height:1.5}}body[data-portal-mode=native] .cookie-consent-banner,body[data-mobile-app=true] .cookie-consent-banner,body[data-portal-mode=native] .pwa-install-banner,body[data-mobile-app=true] .pwa-install-banner{display:none!important}.cookie-consent-banner{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);width:min(760px,calc(100% - 32px));z-index:9999;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:18px;box-shadow:0 16px 40px #0000001f;padding:20px 24px;animation:cookieSlideUp .25s cubic-bezier(.16,1,.3,1)}@keyframes cookieSlideUp{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.cookie-consent-content{display:flex;flex-direction:column;gap:16px}.cookie-consent-header{display:flex;gap:16px;align-items:flex-start}.cookie-consent-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--primary-soft);color:var(--primary);flex-shrink:0}.cookie-consent-text-wrap{flex:1;min-width:0}.cookie-consent-title{font-size:16px;font-weight:700;margin:0 0 6px;letter-spacing:-.3px;color:var(--text)}.cookie-consent-desc{font-size:13px;line-height:1.5;color:var(--muted);margin:0}.cookie-consent-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.cookie-consent-btn{min-height:40px;padding:8px 18px;font-size:13px;border-radius:10px}@media(max-width:900px){body:has(.bottom-nav) .cookie-consent-banner{bottom:calc(85px + env(safe-area-inset-bottom,0px))}}@media(max-width:540px){.cookie-consent-banner{padding:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}.cookie-consent-icon{display:none}.cookie-consent-actions{flex-direction:column-reverse;width:100%}.cookie-consent-actions .cookie-consent-btn{width:100%}}.pwa-install-banner{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);width:min(560px,calc(100% - 32px));z-index:9998;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:18px;box-shadow:0 16px 40px #00000029;padding:18px 20px;animation:pwaSlideUp .3s cubic-bezier(.16,1,.3,1)}@keyframes pwaSlideUp{0%{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%)}}.pwa-install-content{display:flex;flex-direction:column;gap:14px}.pwa-install-header{display:flex;align-items:flex-start;gap:14px;position:relative}.pwa-install-icon{width:48px;height:48px;border-radius:12px;object-fit:cover;flex-shrink:0;box-shadow:0 4px 12px #00000014}.pwa-install-text-wrap{flex:1;min-width:0;padding-right:28px}.pwa-install-title-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.pwa-install-title{font-size:16px;font-weight:700;color:var(--text)}.pwa-install-badge{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:2px 7px;border-radius:6px;background:var(--primary-soft);color:var(--primary)}.pwa-install-desc{font-size:13px;line-height:1.45;color:var(--muted);margin:0}.pwa-install-close{position:absolute;top:-4px;right:-4px;color:var(--muted);padding:6px;border-radius:8px}.pwa-install-close:hover{color:var(--text);background:var(--surface-soft, rgba(0, 0, 0, .05))}.pwa-install-ios-instructions{padding:12px 14px;background:var(--surface-soft, rgba(0, 0, 0, .03));border:1px dashed var(--border);border-radius:12px;font-size:13px;line-height:1.5;color:var(--text)}.pwa-install-ios-instructions p{margin:0 0 6px;font-weight:600}.pwa-install-ios-instructions ol{margin:0;padding-left:20px}.pwa-install-ios-instructions li{margin-bottom:4px}.pwa-install-actions{display:flex;justify-content:flex-end;gap:10px}.pwa-install-btn{min-height:38px;padding:6px 16px;font-size:13px;font-weight:600;border-radius:10px}@media(max-width:900px){body:has(.bottom-nav) .pwa-install-banner{bottom:calc(85px + env(safe-area-inset-bottom,0px))}}@media(max-width:540px){.pwa-install-banner{width:calc(100% - 24px);padding:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}.pwa-install-actions{flex-direction:column-reverse;width:100%}.pwa-install-actions .pwa-install-btn{width:100%;justify-content:center}}.privacy-container{display:flex;flex-direction:column;gap:24px}.privacy-hero-panel{padding:32px}.privacy-title{margin:12px 0 8px;font-size:clamp(26px,3.2vw,36px)}.privacy-intro{margin-top:16px;font-size:15px;line-height:1.65}.privacy-toc{padding:24px 28px;background:color-mix(in srgb,var(--surface) 92%,var(--primary-soft))}.privacy-toc h3{font-size:13px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.privacy-toc-list{padding-left:20px;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px 16px;font-size:13.5px}.privacy-toc-list a{color:var(--text);text-decoration:none}.privacy-toc-list a:hover{color:var(--primary);text-decoration:underline}.privacy-body{padding:36px 32px}.privacy-section{margin-bottom:34px}.privacy-section:last-child{margin-bottom:0}.privacy-section h2{font-size:20px;border-bottom:1px solid var(--border);padding-bottom:8px;margin-bottom:14px}.privacy-list{padding-left:22px;margin:14px 0;line-height:1.7}.privacy-list li{margin-bottom:8px}.privacy-callout{display:flex;align-items:flex-start;gap:14px;padding:16px 20px;background:var(--primary-soft);border-left:4px solid var(--primary);border-radius:12px;margin:18px 0;font-size:14px;line-height:1.6}.privacy-callout.danger{background:color-mix(in srgb,var(--danger) 10%,var(--surface));border-left-color:var(--danger);color:var(--text)}.privacy-callout-icon{flex-shrink:0;margin-top:3px;color:var(--primary)}.privacy-callout.danger .privacy-callout-icon{color:var(--danger)}.privacy-standalone-page .auth-header{padding:24px 32px}
