.library-screen{min-width:0}.library-screen h1,.library-detail h1{overflow-wrap:anywhere}.library-owner-links{flex-wrap:wrap;gap:8px 20px;margin:-8px 0 24px;display:flex}.library-search{margin-bottom:12px;position:relative}.library-search>svg{color:var(--muted);pointer-events:none;position:absolute;top:15px;left:16px}.library-search input{width:100%;min-height:50px;padding-left:46px}.library-filter-panel{border-bottom:1px solid var(--line);margin-bottom:28px;padding-bottom:12px}.library-filter-panel>summary{cursor:pointer;align-items:center;gap:10px;min-height:48px;font-weight:500;display:flex}.library-filter-panel>summary:after{content:"+";margin-left:auto;font-size:22px}.library-filter-panel[open]>summary:after{content:"−"}.library-filter-count,.library-tags span{background:var(--tint);min-height:26px;color:var(--text);border-radius:8px;align-items:center;padding:4px 8px;font-size:12px;display:inline-flex}.library-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding-top:12px;display:grid}.library-filters select{width:100%}.library-catalog-section{margin:28px 0}.library-catalog-section>h2{margin:0 0 8px;font-size:24px}.library-catalog-section>p{margin:0 0 20px}.library-catalog-card{flex-direction:column;min-width:0;padding:24px;transition:border-color .15s,transform .15s;display:flex}.library-catalog-card:hover{border-color:var(--brand);transform:translateY(-2px)}.library-catalog-card h3{overflow-wrap:anywhere;margin:16px 0 10px;font-size:22px;line-height:1.25}.library-catalog-card h3 a{color:var(--text);text-decoration:none}.library-catalog-card>p{overflow-wrap:anywhere}.library-catalog-card>.button{width:100%;margin-top:auto}.library-card-symbol{color:var(--brand);justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.library-card-meta{color:var(--muted);padding:10px 0;font-size:13px}.library-tags{flex-wrap:wrap;gap:6px;display:flex}.library-installed{color:var(--brand-strong);align-items:center;gap:6px;font-size:13px;display:inline-flex}.library-detail{margin-top:24px}.library-detail-header{border-bottom:1px solid var(--line);padding-bottom:32px}.library-detail-header h1{margin:18px 0 16px;font-size:clamp(28px,4vw,40px);line-height:1.15}.library-description{white-space:pre-wrap;overflow-wrap:anywhere;max-width:65ch;font-size:18px;line-height:1.6}.library-facts{color:var(--muted);flex-wrap:wrap;gap:12px 20px;margin:24px 0;font-size:14px;display:flex}.library-facts>span{align-items:center;gap:7px;display:inline-flex}.library-detail-actions{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.library-install-message{color:var(--muted);flex-basis:100%;margin:0;font-size:14px}.library-about,.library-examples,.library-credits{border-bottom:1px solid var(--line);padding:28px 0}.library-detail h2{margin:0 0 20px;font-size:24px}.library-detail dl{margin:0}.library-detail dl>div{grid-template-columns:minmax(120px,1fr) minmax(0,3fr);gap:16px;margin:18px 0;display:grid}.library-detail dt{color:var(--muted)}.library-detail dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.library-detail a:not(.button){color:var(--brand-strong);text-underline-offset:3px}.library-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 16px;display:flex}.library-section-heading>span{margin-bottom:20px;font-size:13px}.library-example-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.library-example{border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-direction:column;min-width:0;padding:24px;display:flex}.library-example img{object-fit:contain;max-width:100%;height:160px;margin-bottom:16px}.library-example-question{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 24px;font-size:18px;line-height:1.6}.library-example .button{align-self:flex-start;margin-top:auto}.library-example-answer{border-top:1px solid var(--line);margin-top:auto;padding-top:18px}.library-example-answer p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.library-credits p{white-space:pre-wrap;overflow-wrap:anywhere}.library-credits li{overflow-wrap:anywhere;margin:16px 0}.library-editor-nav{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.library-editor-nav .button{flex:1}.library-editor-form{gap:24px;display:grid}.library-editor-group{border:1px solid var(--line);background:var(--surface);border-radius:20px;min-width:0;padding:24px}.library-editor-group>h2{margin:0 0 20px;font-size:22px}.library-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;display:grid}.library-field-grid .field{min-width:0}.library-field-grid .field:has(textarea){grid-column:1/-1}.library-editor-group textarea{resize:vertical;width:100%;min-height:92px}.library-editor-group input:not([type=checkbox]),.library-editor-group select{width:100%}.library-checkboxes{flex-wrap:wrap;gap:8px 16px;display:flex}.library-checkboxes label,.library-check{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.library-checkboxes input,.library-check input{width:18px;height:18px;accent-color:var(--brand);flex-shrink:0}.library-editor-toolbar{background:var(--tint);border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;padding:16px;display:flex}.library-editor-toolbar .field{flex:1;min-width:160px;margin:0}.library-editor-cards{gap:12px;display:grid}.library-edit-card{border:1px solid var(--line);border-radius:16px;min-width:0;padding:18px}.library-edit-card header{flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:12px;display:flex}.library-edit-card header strong{margin-right:auto}.library-edit-card textarea{min-height:80px}.library-editor-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px;display:flex}.library-editor-actions>p{margin:0}.library-draft-list{gap:12px;display:grid}.library-draft-row{border:1px solid var(--line);color:var(--text);border-radius:16px;align-items:center;gap:20px;padding:20px;text-decoration:none;display:flex}.library-draft-row>div{flex:1;min-width:0}.library-draft-row h2{overflow-wrap:anywhere;margin:0 0 8px;font-size:20px}.library-draft-row p{color:var(--muted);margin:0;font-size:13px}.library-status{background:var(--tint);color:var(--brand-strong);border-radius:6px;padding:5px 8px;font-size:12px;display:inline-block}.library-import-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0;display:grid}.library-import-summary>div{overflow-wrap:anywhere;background:var(--tint);border-radius:12px;min-width:0;padding:16px}.library-import-summary strong{margin-bottom:4px;font-size:24px;display:block}.library-import-summary span{color:var(--muted);font-size:12px}.library-table-wrap{border:1px solid var(--line);border-radius:14px;max-width:100%;overflow:auto}.library-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.library-table th,.library-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:12px 16px}.library-table th{background:var(--tint);white-space:nowrap;font-weight:500}.library-table td{overflow-wrap:anywhere;min-width:100px;max-width:320px}.library-table tr:last-child td{border-bottom:0}.library-table td>small{color:var(--muted);margin-top:5px;display:block}.library-report>article{border-bottom:1px solid var(--line);padding:24px 0}.library-report>article h2{margin:0 0 10px;font-size:22px}.library-funnel{border:1px solid var(--line);border-radius:16px;grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0;display:grid;overflow:hidden}.library-funnel>div{border-right:1px solid var(--line);padding:18px}.library-funnel>div:last-child{border-right:0}.library-funnel strong{margin:8px 0;font-size:26px;display:block}.library-funnel span,.library-funnel small{color:var(--muted);font-size:12px;display:block}.library-report-notes{color:var(--muted);font-size:13px;line-height:1.6}.library-report-notes summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.library-report-definitions{padding-left:18px}.library-report-definitions li{margin:10px 0}@media (width<=640px){.library-grid,.library-example-grid,.library-field-grid{grid-template-columns:1fr}.library-detail dl>div{grid-template-columns:1fr;gap:6px}.library-editor-group,.library-catalog-card{padding:20px}.library-detail-actions{flex-direction:column;align-items:flex-start}.library-detail-actions .button{width:100%}.library-editor-actions>.button{flex:1}.library-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.library-funnel>div{border-bottom:1px solid var(--line)}.library-funnel>div:nth-child(2){border-right:0}.library-funnel>div:nth-last-child(-n+2){border-bottom:0}.library-import-summary{grid-template-columns:1fr;gap:8px}.library-import-summary>div{align-items:baseline;gap:12px;display:flex}.library-import-summary strong{min-width:3ch;margin:0}.library-import-summary>div{padding:12px}}@media (width<=370px){.library-filters{grid-template-columns:1fr}.library-editor-nav .button{flex-basis:100%}.library-example{padding:20px}}@media (prefers-reduced-motion:reduce){.library-catalog-card{transition:none}.library-catalog-card:hover{transform:none}}.public-library-shell{max-width:1100px;margin:0 auto;padding:24px 32px 64px}.public-library-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;margin-bottom:36px;padding:0 0 32px;display:flex}.public-library-header .appearance-controls{flex-wrap:wrap;gap:12px;display:flex}.public-library-header .appearance-controls label{color:var(--muted);gap:6px;font-size:12px;display:grid}.public-library-header .appearance-controls select{max-width:150px;min-height:44px}.library-draft-list{margin-top:24px}.library-editor-form>fieldset{border:0;min-width:0;margin:0;padding:0}.library-editor-form+.library-editor-group{margin-top:28px}.library-editor-group>details>summary{cursor:pointer;min-height:48px;padding:10px 0}.library-editor-group details .library-edit-card{margin-bottom:16px}.library-edit-card .library-duplicate{color:var(--danger);margin:0 0 12px;font-size:12px}.library-report>article+article{padding-top:32px}.library-report+.library-editor-group{margin-top:28px}@media (width<=640px){.public-library-shell{padding:20px 20px 48px}.public-library-header{flex-wrap:wrap;gap:16px}.public-library-header .appearance-controls{width:100%}.public-library-header .appearance-controls label{flex:1}.public-library-header .appearance-controls select{width:100%;max-width:none}}.public-library-shell>main{max-width:none;margin:0;padding:0}.streak{background:var(--surface);border:1px solid var(--line);border-radius:24px;margin-bottom:24px;padding:22px 24px}.streak-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.streak h2{letter-spacing:0;align-items:center;gap:8px;margin:0 0 8px;font-size:15px;display:flex}.streak h2 svg{color:var(--brand-strong)}.streak-count{font-size:28px;font-weight:600}.streak-count span{color:var(--muted);font-size:14px;font-weight:400}.streak-best{color:var(--muted);text-align:right;margin:0;font-size:12px}.streak-best strong{color:var(--text);font-size:17px;font-weight:500;display:block}.streak-status{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 16px;font-size:14px;display:flex}.streak-status svg{color:var(--brand-strong)}.streak-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;max-width:430px;margin:0;padding:0;list-style:none;display:grid}.streak-week li{color:var(--muted);flex-direction:column;align-items:center;gap:6px;font-size:12px;display:flex}.streak-day{border:1px solid var(--line);border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.streak-practiced .streak-day{background:var(--brand-strong);border-color:var(--brand-strong);color:var(--surface)}.streak-rest .streak-day{border-style:dashed;border-color:var(--muted);color:var(--muted);background:var(--tint)}.streak-today .streak-day{outline:2px solid var(--brand-strong);outline-offset:3px}.streak-rule{color:var(--muted);margin:18px 0 0;font-size:12px;line-height:1.5}.streak-rule summary{cursor:pointer;width:fit-content;padding:4px 0}.streak-rule p{margin:4px 0 0}.streak-reminder-options{border:0;min-width:0;margin-top:12px;padding:0}.streak-reminder-options:disabled{opacity:.6}@media (width<=520px){.streak{border-radius:20px;padding:18px}.streak-week{gap:4px}.streak-count{font-size:26px}}.today-state-card{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:24px;padding:clamp(24px,4vw,36px)}.today-state-icon{width:48px;height:48px;color:var(--brand);background:var(--tint);border-radius:14px;place-items:center;margin-bottom:20px;display:grid}.today-state-card h2{letter-spacing:-.5px;text-wrap:balance;margin:0;font-size:clamp(23px,3vw,30px);line-height:1.2}.today-state-card p{max-width:54ch;color:var(--muted);margin:14px 0 24px;line-height:1.6}.today-state-card p:last-child{margin-bottom:0}.today-state-card>.button{white-space:normal;min-height:48px}.today-load-error{margin-bottom:20px}.today-load-error .notice{margin-bottom:8px}.today-decks-empty{color:var(--muted);margin:0}@media (width<=620px){.today-state-card>.button{width:100%}}.library-source{border-block:1px solid var(--border);overflow-wrap:anywhere;margin-block:16px;padding:14px 0}.library-source summary{cursor:pointer;align-content:center;min-height:44px;font-weight:600}.library-source dl{gap:12px;margin-block:16px;display:grid}.library-source dt{color:var(--muted);font-size:.875rem}.library-source dd{margin:4px 0 0}.library-source a{text-underline-offset:3px;text-decoration:underline}.library-source-text{white-space:pre-wrap}.chatgpt-setup{min-width:0;color:var(--text);gap:20px;display:grid}.chatgpt-setup-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.chatgpt-setup-steps button{border:0;border-bottom:2px solid var(--line);width:100%;min-height:48px;color:var(--muted);text-align:left;background:0 0;align-items:flex-start;gap:8px;padding:12px 4px;font-size:13px;line-height:1.4;display:flex}.chatgpt-setup-steps button span{font-weight:700}.chatgpt-setup-steps button[aria-current=step]{color:var(--brand-strong);border-bottom-color:var(--brand-strong);font-weight:600}.chatgpt-setup-content{gap:16px;min-width:0;display:grid}.chatgpt-setup-content h2{letter-spacing:-.5px;font-size:clamp(21px,3vw,27px);line-height:1.2}.chatgpt-setup-content h2,.chatgpt-setup-content p,.chatgpt-setup-content .field,.chatgpt-setup-content .notice{margin:0}.chatgpt-setup-content p,.chatgpt-setup-content li{font-size:15px;line-height:1.6}.chatgpt-setup-content form{gap:16px;display:grid}.chatgpt-setup-content .button{white-space:normal;text-align:center;min-height:48px}.chatgpt-setup-content .field input,.chatgpt-setup-content .field textarea{font-size:16px}.chatgpt-setup-return{background:var(--tint);border:1px solid var(--line);border-radius:16px;gap:12px;padding:18px;display:grid}.chatgpt-setup-return ol{margin:0;padding-left:20px}.chatgpt-setup-return li+li{margin-top:8px}.chatgpt-setup-prompt{resize:vertical;min-height:160px;line-height:1.6}.chatgpt-setup-connected{color:var(--brand-strong);align-items:center;gap:8px;font-weight:600;display:flex}.chatgpt-setup-help{border-top:1px solid var(--line);padding-top:8px}.chatgpt-setup-help summary{cursor:pointer;min-height:48px;padding:14px 0}.chatgpt-setup-help p{margin-bottom:12px}.chatgpt-setup-help-link{text-align:left;justify-self:start;align-items:center;gap:8px;min-height:44px;display:inline-flex}@media (width<=370px){.chatgpt-setup-steps button{flex-direction:column;gap:4px;font-size:12px}.chatgpt-setup-return{padding:14px}}.welcome-shell{width:min(100% - 48px,600px);padding:max(24px, env(safe-area-inset-top)) 0 max(28px, env(safe-area-inset-bottom));min-height:100dvh;margin:0 auto}.welcome-top{justify-content:space-between;align-items:center;gap:16px;padding:8px 0 24px;display:flex}.welcome-top>span:last-child{color:var(--muted);font-size:13px}.welcome-progress{border-bottom:1px solid var(--line);gap:24px;margin:0;padding:0 0 24px;list-style:none;display:flex}.welcome-progress li{color:var(--muted);align-items:center;gap:8px;font-size:14px;display:flex}.welcome-progress li>span{border:1px solid var(--line);border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.welcome-progress [aria-current]{color:var(--brand-strong);font-weight:600}.welcome-progress [aria-current]>span{background:var(--brand-strong);border-color:var(--brand-strong);color:var(--surface)}.welcome-content{padding:28px 0 16px}.welcome-intro{margin-bottom:24px}.welcome-symbol{width:48px;height:48px;color:var(--brand-strong);background:var(--tint);border-radius:16px;place-items:center;margin-bottom:16px;display:grid}.welcome-intro h1{margin:0 0 12px;font-size:clamp(26px,5vw,36px);line-height:1.15}.welcome-intro h1:focus{outline:none}.welcome-intro p{color:var(--muted);max-width:46ch;margin:0}.welcome-fields{border:0;gap:20px;min-width:0;margin:0 0 24px;padding:0;display:grid}.welcome-fields .field{min-width:0;margin:0}.welcome-locale{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:0 16px}.welcome-locale summary{cursor:pointer;align-items:center;gap:12px;min-height:78px;list-style:none;display:flex}.welcome-locale summary::-webkit-details-marker{display:none}.welcome-locale summary>svg{color:var(--brand-strong);flex:none}.welcome-locale summary>span:first-of-type{flex:1;min-width:0}.welcome-locale strong,.welcome-locale small{overflow-wrap:anywhere;display:block}.welcome-locale small{color:var(--muted);margin-top:3px;font-size:13px}.welcome-edit-label{color:var(--brand-strong);flex:none;font-size:13px}.welcome-locale[open]{padding-bottom:16px}.welcome-locale[open] .field+.field{margin-top:12px}.welcome-days{border:0;min-width:0;margin:0;padding:0}.welcome-days legend{margin-bottom:10px;font-weight:500}.welcome-days>div{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.welcome-days button{background:var(--surface);border:1px solid var(--line);min-height:46px;color:var(--text);border-radius:12px;padding:4px}.welcome-days button[aria-pressed=true]{background:var(--tint);color:var(--brand-strong);border-color:var(--brand-strong);font-weight:600}.welcome-days p,.welcome-footnote{color:var(--muted);margin:10px 0 0;font-size:13px}.welcome-form>.button{width:100%;min-height:50px}.welcome-footnote{text-align:center}.welcome-time-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.welcome-quiet summary{cursor:pointer;min-height:44px;color:var(--brand-strong);align-items:center;font-size:14px;display:flex}.welcome-quiet summary:before{content:"+";margin-right:10px;font-size:20px}.welcome-quiet[open] summary:before{content:"−"}.welcome-options{gap:12px;display:grid}.welcome-option{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:20px;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:16px;width:100%;padding:20px;transition:transform .16s,border-color .16s;display:grid}.welcome-option:hover{border-color:var(--brand-strong);transform:translateY(-2px)}.welcome-option:active{transform:translateY(0)}.welcome-option-icon{width:44px;height:44px;color:var(--brand-strong);background:var(--tint);border-radius:14px;place-items:center;display:grid}.welcome-option strong,.welcome-option small{display:block}.welcome-option strong{font-size:17px;font-weight:600}.welcome-option small{color:var(--muted);margin-top:6px;font-size:14px;line-height:1.5}.welcome-option>svg{color:var(--muted)}.welcome-back{align-items:center;gap:8px;min-height:44px;margin-top:16px;display:inline-flex}.welcome-content>.welcome-back{margin:0 0 20px}.welcome-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding-top:16px;display:flex}.welcome-footer .text-button{min-height:44px}.welcome-footer>span{color:var(--muted);text-align:right;font-size:12px}@media (width>=768px){.welcome-shell{padding-top:40px}.welcome-content{padding-top:36px}}@media (width<=359px){.welcome-shell{width:calc(100% - 32px)}.welcome-days>div{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-option{grid-template-columns:36px minmax(0,1fr) 16px;gap:10px;padding:16px}.welcome-option-icon{width:36px;height:36px}.welcome-edit-label{display:none}.welcome-progress{gap:16px}}@media (prefers-reduced-motion:reduce){.welcome-option{transition:none}.welcome-option:hover{transform:none}}.welcome-chatgpt-title{margin:0 0 24px;font-size:clamp(26px,5vw,36px)}.welcome-chatgpt-title:focus{outline:none}:root{color:#182a23;background:var(--bg);font-synthesis:none;--bg:#fafbf8;--surface:#fff;--text:#182a23;--muted:#606b62;--line:#e2e7dd;--brand:#28684e;--brand-strong:#20583f;--tint:#edf1e9;--accent:#dfeab7;--input:#fff;--danger:#a23e38;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:Golos Text,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=dark]{--bg:#17251e;--surface:#203129;--text:#f3f7ed;--muted:#b1c0b4;--line:#354a3c;--brand:#b9d99d;--brand-strong:#cce6b6;--tint:#2a3c30;--accent:#384d2d;--input:#1b2c23;--danger:#ffaea8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #77a78b}button{color:inherit}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-1.8px;margin-bottom:0;font-size:clamp(30px,3.6vw,46px);font-weight:600;line-height:1.16}h2{letter-spacing:-.5px;margin-bottom:18px;font-size:20px;font-weight:600}h3{margin-bottom:14px;font-size:16px;font-weight:600}p{line-height:1.65}small{color:var(--muted);font-size:12px;line-height:1.6}svg{flex-shrink:0}fieldset{border:0;min-width:0;margin:0;padding:0}.app-shell{max-width:1600px;min-height:100vh;margin:auto;display:flex}.sidebar{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;flex-shrink:0;width:240px;padding:42px 25px;display:flex;position:fixed;top:0;bottom:0}.wordmark{letter-spacing:-1px;align-items:center;gap:11px;font-size:27px;font-weight:700;display:flex}.wordmark small{letter-spacing:2px;margin-top:2px;font-size:8px;font-weight:500;display:block}.logo{background:var(--brand-strong);color:var(--surface);border-radius:13px;place-items:center;width:41px;height:43px;padding-bottom:5px;font-size:30px;display:grid}.sidebar nav{flex-direction:column;gap:8px;margin-top:64px;display:flex}.sidebar nav a{color:var(--muted);border-radius:11px;align-items:center;gap:13px;padding:15px;font-size:14px;font-weight:500;display:flex}.sidebar-note{border-top:1px solid var(--line);color:var(--muted);margin-top:auto;padding:22px 14px;font-size:13px;line-height:1.65}.sidebar-note small{margin-top:14px;font-size:10px;display:block}.workspace{flex:1;min-width:0;margin-left:240px}.topbar{border-bottom:1px solid var(--line);height:88px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 54px;font-size:12px;display:flex}.desktop-breadcrumb span{color:#b1c0b4;padding:0 13px}.topbar-status{align-items:center;gap:8px;display:flex}.status-dot{background:#427d5d;border-radius:50%;width:7px;height:7px;display:inline-block}.status-dot.inactive{background:#829c87}.mobile-wordmark{display:none}main{max-width:1100px;margin:auto;padding:45px 54px 40px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:32px;display:flex}.eyebrow{letter-spacing:2px;color:var(--muted);margin-bottom:15px;font-size:10px;font-weight:600}.brand-flower{color:#b9d99d;padding-right:30px;font-size:100px;line-height:1}.heading-icon{color:#b1c0b4;margin-right:8px}.study-hero{background:var(--tint);border:1px solid var(--line);border-radius:20px;margin-bottom:22px;padding:28px 32px 30px;position:relative;overflow:hidden}.hero-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px;font-size:11px;display:flex}.pill{border:1px solid var(--line);background:var(--surface);border-radius:30px;align-items:center;gap:7px;padding:6px 11px;font-size:11px;font-weight:500;display:inline-flex}.study-hero h2{letter-spacing:-.7px;font-size:23px}.hero-copy{color:var(--brand);font-size:15px}.progress-count{align-items:baseline;gap:10px;margin:24px 0 15px;display:flex}.progress-track{background:var(--surface);border-radius:10px;height:6px;margin-bottom:24px;overflow:hidden}.progress-track span{background:var(--brand);border-radius:10px;height:100%;transition:width .2s;display:block}.button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:12px 18px;font-size:13px;font-weight:550;line-height:1.3;display:inline-flex}.button.secondary{color:var(--text);background:var(--surface);border-color:var(--line)}.button.danger{background:var(--danger);color:var(--surface)}.button:hover:not(:disabled){filter:brightness(.95)}.text-button{min-height:40px;color:var(--brand);text-align:left;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:10px 0;font-size:13px;font-weight:500;display:inline-flex}.icon-button{background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:10px;display:inline-flex}.icon-button:hover{background:var(--tint)}.two-columns{grid-template-columns:1fr 1fr;gap:22px;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:16px;margin-bottom:22px;padding:25px}.section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-title h2{margin-bottom:0}.section-title svg{color:var(--muted)}.panel p{font-size:13px}.stats-list{margin:0 0 12px}.stats-list div{border-bottom:1px solid var(--line);justify-content:space-between;gap:20px;padding:11px 0;font-size:13px;display:flex}.stats-list div:last-child{border:0}.stats-list dt{color:var(--muted);flex-shrink:0}.stats-list dd{text-align:right;overflow-wrap:anywhere;margin:0}.history-list>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:13px 0;font-size:13px;display:flex}.history-list>div:last-child{border:0}.history-list>div>span:last-child{text-align:right}.history-list small{display:block}.muted{color:var(--muted)}.danger-text{color:var(--danger)}.accent{color:var(--brand)}.success-text{color:var(--brand);margin:15px 0 0;font-size:13px}.page-footer{text-align:center;color:var(--muted);letter-spacing:.3px;padding:0 20px 30px;font-size:10px}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;display:flex}.toolbar p{margin:0;font-size:13px}.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.deck-wrap{position:relative}.deck-card{border:1px solid var(--line);background:var(--surface);text-align:left;border-radius:16px;width:100%;height:100%;padding:25px;transition:transform .15s;display:block}.deck-icon{background:var(--tint);width:48px;height:48px;color:var(--brand);border-radius:12px;justify-content:center;align-items:center;margin-bottom:23px;display:inline-flex}.deck-icon.paused{color:var(--muted)}.deck-card h2{overflow-wrap:anywhere;margin-bottom:8px}.deck-card p{color:var(--muted);margin-bottom:20px;font-size:13px}.deck-card>small:last-child{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:14px;display:flex}.deck-parent{overflow-wrap:anywhere;margin-bottom:10px;display:block}.deck-menu{position:absolute;top:20px;right:14px}.catalog-links{flex-wrap:wrap;justify-content:space-between;margin-top:22px;display:flex}.filter-bar{gap:12px;margin:23px 0 18px;display:flex}.filter-bar>select{width:auto;max-width:45%}.search-field{background:var(--input);border:1px solid var(--line);min-width:0;color:var(--muted);border-radius:10px;flex:1;align-items:center;gap:8px;padding:0 12px;display:flex}.search-field input{border:0;padding-left:0}.cards-list{border-radius:14px;overflow:hidden}.card-row{text-align:left;background:var(--surface);border:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;width:100%;margin-top:-1px;padding:20px;display:flex}.card-row:first-child{margin-top:0}.card-row>span{min-width:0}.card-row strong{white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:15px;font-weight:500;display:-webkit-box;overflow:hidden}.card-row small{margin-top:9px;display:block}.card-row>svg{color:var(--muted)}.load-more{margin:22px auto;display:flex}.empty{text-align:center;color:var(--muted);padding:40px 20px}.empty-mark{color:var(--brand);border:1px dashed var(--line);border-radius:14px;place-items:center;width:56px;height:56px;margin:0 auto 20px;font-size:27px;display:grid}.empty h3{color:var(--text);margin-bottom:10px}.empty p{max-width:340px;margin:auto;font-size:13px}.loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;padding:30px;font-size:13px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.notice{color:var(--text);background:var(--tint);overflow-wrap:anywhere;border-radius:10px;margin-bottom:20px;padding:14px 16px;font-size:13px;line-height:1.6}.notice.error{background:color-mix(in srgb, var(--danger) 8%, var(--surface));color:var(--danger);align-items:flex-start;gap:10px;display:flex}.notice.error svg{margin-top:2px}.onboarding{justify-content:space-between;align-items:center;gap:15px;display:flex}.modal{overscroll-behavior:contain;border:1px solid var(--line);width:min(640px,100% - 28px);max-height:calc(100dvh - 40px);color:var(--text);background:var(--surface);border-radius:20px;padding:0;box-shadow:0 30px 100px #0003}.modal::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#12291d65}.modal-head{border-bottom:1px solid var(--line);background:var(--surface);z-index:1;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;display:flex;position:sticky;top:0}.modal-head h2{margin:0;font-size:19px}.modal-body{padding:25px}.modal-body>form>fieldset>p{font-size:13px}.field{flex-direction:column;gap:8px;min-width:0;margin-bottom:19px;display:flex}.field>label,.field-caption{margin:0;font-size:12px;font-weight:550}.field>small{font-weight:400}input,select,textarea{border:1px solid var(--line);background:var(--input);width:100%;min-width:0;color:var(--text);border-radius:9px;min-height:44px;padding:12px;font-size:14px}textarea{resize:vertical;line-height:1.6}input[type=checkbox]{min-height:0}input::placeholder,textarea::placeholder{color:var(--muted)}.form-section{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.form-section h3{align-items:center;gap:8px;display:flex}.form-section>p{font-size:13px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.form-footer{justify-content:flex-end;margin-top:22px;display:flex}.form-footer .button{min-width:180px}.toggle-row{cursor:pointer;justify-content:space-between;align-items:center;gap:18px;min-height:44px;margin:17px 0;display:flex;position:relative}.toggle-row>span:first-child{flex:1;min-width:0}.toggle-row strong{font-size:13px;font-weight:500;line-height:1.5;display:block}.toggle-row small{margin-top:4px;display:block}.toggle-row input{opacity:0;cursor:pointer;width:42px;height:24px;position:absolute;right:0}.switch{background:var(--line);pointer-events:none;border-radius:15px;flex-shrink:0;width:40px;height:24px;position:relative}.switch:after{content:"";background:var(--surface);border-radius:50%;width:18px;height:18px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002}.toggle-row input:checked+.switch{background:var(--brand)}.toggle-row input:checked+.switch:after{transform:translate(16px)}.toggle-row input:focus-visible+.switch{outline-offset:3px;outline:3px solid #77a78b}.weekdays{justify-content:space-between;gap:6px;margin:12px 0;display:flex}.weekdays button{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex:1;padding:12px 0;font-size:13px}.weekdays button[aria-pressed=true]{background:var(--brand-strong);color:var(--surface);border-color:#0000}.window-row{grid-template-columns:1fr 1fr auto;align-items:center;gap:10px;display:grid}.window-row .text-button{font-size:11px}.preview{background:var(--tint);border:1px dashed var(--line);border-radius:12px;margin-top:22px;padding:22px}.preview>div+div{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.preview p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:14px;font-size:14px}.preview .eyebrow{white-space:normal;font-size:9px}.preview-question{margin-top:12px;font-weight:550}.preview details{font-size:13px}.preview summary{cursor:pointer;color:var(--brand);padding:6px 0}.preview details p{margin-top:14px}.card-controls{border-bottom:1px solid var(--line);padding:14px 0}.card-controls .button{margin-top:14px}.import-banner{background:var(--tint);border-radius:16px;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:24px;padding:25px;display:flex}.import-banner .deck-icon{background:var(--surface);margin:0}.import-banner h2{margin:0 0 6px}.import-banner p{color:var(--muted);margin:0;font-size:13px}.import-banner .button{flex-wrap:wrap;margin-left:auto}.badge{background:var(--tint);white-space:nowrap;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:500}.token-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:20px 0;display:flex}.token-row:last-child{border-bottom:0;padding-bottom:0}.token-row>div{min-width:0}.token-row strong{overflow-wrap:anywhere;font-size:14px}.token-row small{margin-top:5px;display:block}.secret{overflow-wrap:anywhere;font-family:monospace;font-size:14px}.gate{text-align:center;flex-direction:column;justify-content:center;align-items:center;max-width:540px;min-height:100dvh;margin:auto;padding:30px;display:flex}.gate .wordmark{margin-bottom:44px}.gate h1{margin-bottom:22px;font-size:38px}.gate>p{color:var(--muted);font-size:14px}.gate>small{margin-top:22px}.gate .notice{text-align:left}.gate .button{margin-top:10px}@media (width>=1600px){.sidebar{left:calc(50vw - 800px)}}@media (width<=1100px){.sidebar{width:200px;padding:35px 16px}.workspace{margin-left:200px}.topbar{padding:0 30px}main{padding:35px 30px}.two-columns{gap:16px}.panel{padding:21px}.import-banner{gap:14px}.brand-flower{padding:0}.sidebar-note{font-size:12px}}@media (width<=760px){.app-shell{display:block}.sidebar{z-index:5;width:100%;height:auto;padding:0 8px max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom,0px));border-right:0;border-top:1px solid var(--line);position:fixed;top:auto;bottom:0;left:0}.sidebar>.wordmark,.sidebar-note{display:none}.sidebar nav{flex-direction:row;justify-content:space-around;gap:0;margin:0}.sidebar nav a{border-radius:0;flex-direction:column;flex:1;gap:5px;padding:13px 2px 11px;font-size:10px}.sidebar nav a[aria-current=page]{color:var(--brand-strong);background:0 0;position:relative}.sidebar nav a[aria-current=page]:before{content:"";background:var(--brand);border-radius:0 0 4px 4px;width:30px;height:3px;position:absolute;top:0}.workspace{padding:var(--tg-content-safe-area-inset-top,0px) max(env(safe-area-inset-right), var(--tg-content-safe-area-inset-right,0px)) calc(85px + max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom,0px))) max(env(safe-area-inset-left), var(--tg-content-safe-area-inset-left,0px));margin:0}.topbar{height:70px;padding:0 24px}.mobile-wordmark{letter-spacing:-1px;color:var(--text);font-size:23px;font-weight:700;display:block}.desktop-breadcrumb{display:none}.topbar-status{font-size:10px}main{padding:28px 22px 20px}.page-heading{margin-bottom:26px}.eyebrow{letter-spacing:1.6px;margin-bottom:12px;font-size:8px}h1{letter-spacing:-1.3px;font-size:34px}.brand-flower{font-size:77px}.heading-icon{width:31px;height:31px}.study-hero{border-radius:17px;padding:22px}.study-hero h2{font-size:21px}.hero-top{margin-bottom:22px}.hero-top>.muted{font-size:9px}.study-hero .button{width:100%}.two-columns{grid-template-columns:1fr;gap:0}.panel{margin-bottom:18px;padding:22px}.two-columns .panel:first-child{order:1}.page-footer{padding-bottom:10px;font-size:9px}.deck-grid{gap:12px}.deck-card{padding:19px 16px}.deck-card h2{font-size:17px;line-height:1.3}.deck-icon{width:40px;height:40px;margin-bottom:20px}.deck-menu{top:10px;right:7px}.deck-card p{margin-bottom:15px;font-size:11px}.deck-card>small:last-child{font-size:10px}.toolbar{gap:9px}.toolbar .button{padding:12px 14px;font-size:12px}.filter-bar{gap:8px}.filter-bar>select{padding:10px 6px;font-size:11px}.search-field input{font-size:13px}.card-row{padding:18px 15px}.import-banner{padding:22px}.import-banner h2{font-size:18px}.import-banner .button{width:100%;margin:0}.import-banner>div{flex:1}.token-row{align-items:flex-start}.notice{font-size:12px}.onboarding{flex-direction:column;align-items:stretch}.modal{width:calc(100% - 20px);max-height:calc(100dvh - 24px - var(--tg-content-safe-area-inset-top,0px));margin-top:max(12px, var(--tg-content-safe-area-inset-top,12px));border-radius:17px}.modal-head{padding:14px 16px}.modal-head h2{font-size:17px}.modal-body{padding:20px 17px}.form-grid{gap:10px}.field>label{font-size:11px}input,select,textarea{font-size:16px}.form-footer .button{width:100%}.window-row{gap:7px}.window-row input{padding:10px 7px}.preview{padding:17px}.gate h1{font-size:31px}}@media (width<=370px){main{padding-left:16px;padding-right:16px}.deck-grid{grid-template-columns:1fr}.window-row{grid-template-columns:1fr 1fr}.window-row>.text-button{grid-column:1/-1;justify-self:end;margin-top:-20px}.hero-top{gap:6px}.brand-flower{font-size:60px}h1{font-size:30px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.study-card{margin-top:24px}.study-answer{white-space:pre-wrap;border-top:1px solid;padding:16px 0}.card-photo{object-fit:contain;border-radius:12px;max-width:100%;max-height:420px;margin:16px auto;display:block}.study-card .preview-question{white-space:pre-wrap}.study-hero>.button+.button{margin-top:10px}.voice-panel{background:var(--surface);border:1px solid var(--line);text-align:center;border-radius:24px;flex-direction:column;align-items:center;gap:16px;padding:28px 16px;display:flex}.voice-orb{background:var(--tint);width:90px;height:90px;color:var(--brand);border-radius:50%;place-items:center;display:grid}.voice-orb.active{box-shadow:0 0 0 10px var(--bg)}.voice-panel .actions{justify-content:center}.voice-panel .button{justify-content:center;align-items:center;gap:8px;min-height:48px;display:inline-flex}.voice-time{font-variant-numeric:tabular-nums;color:var(--muted)}.voice-draft{border:1px solid var(--line);background:var(--surface);overflow-wrap:anywhere;border-radius:18px;padding:20px}.voice-answer{white-space:pre-wrap}.voice-panel .actions{flex-wrap:wrap;gap:12px;display:flex}.delete-cards-option{cursor:pointer;align-items:flex-start;gap:12px;min-height:44px;padding:14px 0;line-height:1.5;display:flex}.delete-cards-option input{width:20px;height:20px;accent-color:var(--brand);flex-shrink:0;margin:2px 0 0}.email-login{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:16px;max-width:540px;margin:24px auto;padding:28px}.email-login input{border:1px solid var(--line);background:var(--input);width:100%;min-height:48px;color:var(--text);border-radius:8px;padding:12px}.email-login p,.email-login small{line-height:1.65}.email-login a{text-decoration:underline}.email-login{width:100%;max-width:520px}.email-login label{gap:8px;display:grid}.email-login input{width:100%;min-width:0}.email-login h2{margin-bottom:0}:is(.browser-app:has(.study-focused) .brand-flower,.browser-app:has(.study-focused) .two-columns){display:none}.browser-app .study-focused{background:0 0;border:0;padding:0}.browser-app .study-focused>h2{display:none}.browser-app .study-focused>.progress-count{font-size:16px}.browser-app .study-focused>.progress-count strong{font-size:22px}.browser-app .study-card{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:36px}.browser-app .study-card .preview-question{font-size:25px;font-weight:500;line-height:1.6}.browser-app .study-answer{background:var(--tint);border-top:1px solid var(--line);border-radius:8px;padding:24px;font-size:25px;line-height:1.6}.browser-app .study-ratings{grid-template-columns:repeat(4,minmax(0,1fr))}.browser-app .study-ratings .button{padding:16px 8px}.browser-app .study-ratings .button:last-child{color:#fff;background:#28684e}.browser-app .study-focused .hero-top{margin-bottom:10px}@media (width<=650px){.browser-app .study-card{padding:20px}.browser-app .study-card .preview-question,.browser-app .study-answer{font-size:20px}.browser-app .study-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}.browser-app .sidebar nav{grid-template-columns:repeat(4,1fr)}}.appearance-controls{flex-wrap:wrap;gap:12px;display:flex}.appearance-controls label{align-items:center;gap:6px;font-size:13px;display:flex}.appearance-controls select{width:auto;min-height:40px;padding:8px}.topbar{flex-wrap:wrap;gap:12px}.library-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;display:grid}.library-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:24px}.library-card>svg{color:var(--brand)}.library-card p,.library-explanation{line-height:1.65}.library-explanation{color:var(--muted);max-width:750px;margin-top:28px}@media (width<=650px){.topbar .desktop-breadcrumb,.topbar .topbar-status{display:none}.appearance-controls{gap:6px}.appearance-controls label>span{display:none}.sidebar nav{overflow-x:auto}}.conversation{max-width:920px;margin-inline:auto}.chat-toolbar,.chat-buttons{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.chat-welcome{padding:32px 0}.chat-suggestions{flex-wrap:wrap;gap:10px;display:flex}.chat-messages{flex-direction:column;gap:24px;display:flex}.chat-turn{flex-direction:column;gap:16px;display:flex}.chat-user{background:var(--tint);border-radius:18px 18px 4px;align-self:flex-end;max-width:90%;padding:14px 18px}.chat-assistant{padding:12px 0}.chat-messages p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.chat-messages small{font-weight:700}.chat-receipts{border-left:3px solid var(--accent);padding-left:24px}.chat-composer{border-top:1px solid var(--line);flex-direction:column;gap:12px;margin-top:24px;padding-top:20px;display:flex}.chat-composer textarea{resize:vertical;width:100%;min-height:90px}.chat-composer>button{align-self:flex-end}.chat-consent{font-size:13px;line-height:1.6;display:block}.chat-consent input{vertical-align:middle;width:18px;height:18px;margin-right:8px}.chat-footnote{font-size:12px}@media (width<=600px){.chat-toolbar{align-items:flex-start}.chat-suggestions .button{text-align:left;white-space:normal}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@font-face{font-family:Golos Text;src:url(/assets/golos-text-Ca6L06xr.ttf)format("truetype");font-weight:400 900;font-style:normal;font-display:swap}:root{color:var(--text);--radius:24px;font-size:16px}body{background:var(--bg);line-height:1.5}html{scroll-padding-block:24px 100px}.app-skip-link{z-index:20;background:var(--surface);color:var(--text);border:2px solid var(--brand-strong);border-radius:12px;padding:12px 20px;position:fixed;inset:12px auto auto 12px;transform:translateY(-200%)}.app-skip-link:focus{transform:translateY(0)}.workspace>main{min-width:0}.workspace>main:focus{outline:none}.today-plan+.streak,.today-state-card+.streak{margin-top:20px}.modal-head h2{overflow-wrap:anywhere}.modal-head .icon-button{flex:none}.settings-section summary{min-height:48px}.settings-section-content .appearance-controls{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.settings-section-content .appearance-controls label{gap:6px;min-width:0;display:grid}.settings-section-content .appearance-controls label>span{display:block}.settings-section-content .appearance-controls select{width:100%;min-height:44px}.settings-section-content>.email-login{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;max-width:none;margin:8px 0;padding:20px 0}.email-login>.button{margin-top:16px}@media (width<=370px){.settings-section-content .appearance-controls{grid-template-columns:1fr}}.brand-logo{border-radius:10px;flex:none;display:block}h1,h2,h3{letter-spacing:-.035em;font-weight:500}.app-shell{max-width:1600px}.sidebar{background:var(--surface);width:240px;padding:32px 20px}.wordmark{letter-spacing:-1.3px;font-weight:600}.wordmark small{letter-spacing:1px;font-size:10px}.sidebar nav{gap:8px;margin-top:48px}.sidebar nav a{border-radius:14px;min-height:48px;padding:12px 16px;font-size:15px;font-weight:500}.sidebar nav a[aria-current=page]{background:var(--tint);color:var(--brand-strong)}.sidebar-note{color:var(--muted);font-size:15px;line-height:1.6}.sidebar-note small{font-size:12px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;height:88px;padding:0 48px}.topbar-status,.desktop-breadcrumb{font-size:13px}.workspace>main{max-width:1100px;padding:40px 48px}.today-title{margin:0 0 28px;font-size:36px}.panel,.deck-card,.library-card{border:1px solid var(--line);box-shadow:none;background:var(--surface);border-radius:24px}.panel{padding:28px}.panel h2{font-size:22px}.button{border-radius:14px;min-height:48px;padding:12px 20px;font-size:15px;font-weight:500;transition:transform .18s,background .18s}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translateY(1px)}.button.primary{background:var(--brand);color:var(--bg)}input,select,textarea{border-radius:12px;min-height:46px;font-size:16px!important}.field>label,.eyebrow{letter-spacing:.04em;font-size:12px}.muted,.notice,.deck-card p,.card-row p{font-size:14px}.study-hero{color:#fafbf8;background:#28684e;border-radius:24px;margin-bottom:28px;padding:32px}.study-hero>.hero-top .muted,.study-hero>.muted{color:#d5e4d4}.study-hero>.hero-top .pill{color:#fafbf8;background:#ffffff15;border-color:#0000;font-size:13px}.study-hero h2{font-size:26px;font-weight:500}.study-hero .hero-copy{color:#e0ebdc;font-size:16px}.study-hero>.button.primary{color:#183121;background:#dfeab7}.study-hero>.button.secondary{color:#fafbf8;background:0 0;border:1px solid #c2d4c6}.study-hero>.success-text{color:#e0ebdc}.progress-count{gap:12px;margin:20px 0}.progress-count strong{letter-spacing:-.06em;font-size:72px;font-weight:500}.progress-count span{color:#d5e4d4;font-size:16px}.progress-track{background:#ffffff25;height:6px;margin-bottom:28px}.progress-track>span{background:#dfeab7}.study-hero .study-card{color:var(--text);background:var(--surface);margin:28px 0 0;padding:32px}.study-card .preview-question{overflow-wrap:anywhere;font-size:clamp(26px,4vw,42px);font-weight:500;line-height:1.3}.study-card .study-answer{color:var(--brand-strong);overflow-wrap:anywhere;font-size:22px}.study-card>.eyebrow{color:var(--muted);font-size:13px}.study-ratings{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.study-ratings .button,.browser-app .study-ratings .button:last-child{background:var(--tint);color:var(--text);border:1px solid var(--line);min-width:0}.study-ratings .button:nth-child(3){background:var(--accent);color:var(--text)}.history-list>div{min-height:64px;font-size:15px}.history-list small{font-size:12px}.deck-card{padding:24px;transition:transform .18s,border-color .18s}.deck-card:hover{border-color:var(--brand);transform:translateY(-2px)}.deck-card h2{font-size:22px}.deck-icon{background:var(--tint);color:var(--brand);border-radius:14px}.deck-grid,.library-grid{gap:20px}.library-card h2{font-size:22px}.page-footer{color:var(--muted);font-size:12px}.appearance-panel .appearance-controls{flex-wrap:wrap;justify-content:flex-start;gap:24px}.appearance-panel .appearance-controls label{flex:1;min-width:120px}.appearance-panel select{width:100%}.icon-button,.deck-menu,.text-button{min-width:44px;min-height:44px}.modal{border-radius:24px}.chat-composer{background:var(--surface);border-radius:20px}.chat-message{border-radius:20px;line-height:1.6}.gate{max-width:560px;padding:48px 24px}.gate>.wordmark{margin-bottom:24px}:root[data-theme=dark] .study-hero{background:#294b38}:root[data-theme=dark] .study-ratings .button:nth-child(3){color:#f3f7ed}@media (width<=1000px) and (width>=761px){.workspace>main{padding:32px}.topbar{padding:0 32px}}@media (width<=760px){.sidebar{width:100%;padding:0 8px max(env(safe-area-inset-bottom), var(--tg-safe-area-inset-bottom,0px));background:var(--surface)}.sidebar nav,.browser-app .sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;display:grid}.sidebar nav a{letter-spacing:0;border-radius:0;gap:5px;min-height:68px;padding:12px 0 8px;font-size:10px}.sidebar nav a[aria-current=page]{background:0 0}.sidebar nav a[aria-current=page]:before{display:none}.sidebar nav a[aria-current=page] svg{background:var(--tint);box-shadow:0 0 0 7px var(--tint);border-radius:5px}.topbar{border:0;height:64px;padding:0 20px}.topbar-status{font-size:12px}.mobile-wordmark{font-size:26px;font-weight:600}.workspace>main{padding:16px 20px 24px}.today-title{margin-bottom:24px;font-size:30px}h1{font-size:32px}.study-hero{border-radius:24px;margin-bottom:24px;padding:24px}.study-hero h2{font-size:23px}.hero-top{gap:12px;margin-bottom:24px}.hero-top>.muted{font-size:11px}.progress-count strong{font-size:64px}.progress-count span{font-size:14px}.study-hero .button{margin-left:0}.study-hero>.button+.button{margin-top:10px}.panel{padding:24px 20px}.study-hero.study-focused{color:var(--text);background:0 0;padding:0}.study-focused>.hero-top,.study-focused>.progress-count,.study-focused>.progress-track,.study-focused>h2{display:none}.study-hero.study-focused>.study-card{flex-direction:column;min-height:380px;margin-top:0;padding:28px 20px;display:flex}.study-card .preview-question{text-align:center;margin:auto 0;padding:24px 0}.study-card .study-answer{text-align:center;font-size:20px}.study-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}.study-ratings .button{width:100%;margin:0;padding:12px 8px;font-size:14px}.deck-grid,.library-grid{grid-template-columns:1fr;gap:14px}.deck-card{padding:22px}.deck-card p,.deck-card>small:last-child{font-size:13px}.toolbar{flex-wrap:wrap}.toolbar .button{padding:12px 16px;font-size:14px}.filter-bar{flex-wrap:wrap}.search-field{flex:180px;min-width:0}.modal{max-width:calc(100% - 24px)}.page-footer{padding:8px 20px 24px;font-size:11px}.gate{padding:32px 20px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.study-hero.study-focused{color:var(--text);background:0 0}.study-focused>.hero-top .muted,.study-focused>.progress-count span{color:var(--muted)}.study-focused>.hero-top .pill{background:var(--tint);color:var(--text)}.study-focused>.progress-track{background:var(--line)}.study-focused>.progress-track>span{background:var(--brand)}input[type=checkbox],input[type=radio]{min-height:0}.browser-app .study-card{border-radius:24px}.browser-app .study-card .preview-question{font-size:clamp(26px,4vw,42px);line-height:1.3}.browser-app .study-answer{background:0 0;border:0;padding:12px 0;font-size:22px}.appearance-panel .appearance-controls label>span{font-size:13px;display:inline}.app-shell:has(.study-session){height:100dvh;overflow:hidden}.study-session{z-index:6;background:var(--surface);border:1px solid var(--line);border-radius:24px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;inset:24px 24px 24px 264px;overflow:hidden}.study-session-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.study-session-header>div{min-width:0}.study-session-header h1{text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px;font-size:18px;overflow:hidden}.study-session-header span{color:var(--muted);font-size:13px}:root{--card-text-size:1.25rem}:root[data-card-text-size=small]{--card-text-size:1rem}:root[data-card-text-size=large]{--card-text-size:1.625rem}.card-text-size-control{margin-bottom:24px}.card-text-size-control>label{font-weight:600}.card-text-size-control input[type=range]{width:100%;min-height:44px;accent-color:var(--brand-strong);cursor:pointer;margin:4px 0 0;padding:0;display:block}.card-text-size-labels{color:var(--muted);justify-content:space-between;gap:8px;font-size:12px;display:flex}.card-text-size-labels [data-selected=true]{color:var(--text);font-weight:700}.app-shell .card-text-size-preview{font-size:var(--card-text-size);margin:16px 0 0;line-height:1.5}.study-content{overscroll-behavior:contain;overflow-wrap:anywhere;min-height:0;padding:24px;overflow-y:auto}.study-content p{white-space:pre-wrap}.study-content .study-question{font-size:var(--card-text-size);margin:0 0 24px;line-height:1.5}.app-shell .study-content .study-answer{font-size:var(--card-text-size);border-top:1px solid var(--line);margin:0;padding:24px 0;line-height:1.5}.study-content img{max-width:100%;height:auto}.study-session-footer{border-top:1px solid var(--line);padding:0 24px 20px}.study-feedback{height:48px;overflow:auto}.study-feedback .notice{margin:4px 0;padding:6px}.study-controls{align-items:stretch;height:52px;display:flex}.study-controls>*{width:100%;margin:0}.study-controls .study-ratings{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.study-controls button{min-width:0;min-height:48px}.settings-list,.integration-list{gap:12px;display:grid}.settings-section{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden}.settings-section>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;list-style:none;display:flex}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary strong,.settings-section>summary small{display:block}.settings-section>summary strong{font-size:17px}.settings-section>summary small{color:var(--muted);margin-top:4px;font-size:13px}.settings-section>summary svg{flex-shrink:0;transition:transform .16s}.settings-section[open]>summary svg{transform:rotate(180deg)}.settings-section-content{gap:16px;padding:0 20px 20px;display:grid}.settings-section-content>.panel{box-shadow:none;background:0 0;border:0;margin:0;padding:0}@media (width<=760px){.study-session{inset:calc(12px + env(safe-area-inset-top)) 12px calc(80px + env(safe-area-inset-bottom)) 12px;border-radius:18px}.study-session-header{padding:12px 16px}.study-content{padding:16px}.study-session-footer{padding:0 12px 12px}.study-controls{height:106px}.study-controls .study-ratings{grid-template-columns:repeat(2,minmax(0,1fr))}.study-controls .study-reveal{align-self:end;height:48px}.settings-section>summary{padding:16px}.settings-section-content{padding:0 16px 16px}}.today-plan{color:#fff;background:#28684e;border-radius:28px;padding:clamp(24px,4vw,36px)}.today-plan h2{color:#d4e3db;margin:0 0 24px;font-size:18px;font-weight:500}.today-plan-numbers{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.today-plan-numbers>div:first-child{gap:8px;display:grid}.today-plan-numbers strong{letter-spacing:-3px;font-size:clamp(56px,8vw,80px);font-weight:500;line-height:1}.today-plan-numbers>div>span{color:#e2eee7}.today-ring{flex:0 0 110px;place-items:center;width:110px;height:110px;display:grid;position:relative}.today-ring svg{position:absolute;inset:0;transform:rotate(-90deg)}.today-ring circle{fill:none;stroke:#ffffff20;stroke-width:8px}.today-ring .today-ring-value{stroke:#dfeab7}.today-ring span{font-size:24px}.today-plan .button.primary{color:#194d38;background:#dfeab7;border-color:#0000;width:100%;min-height:52px}.today-state{margin:0 0 16px}.study-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:28px 0 36px;padding:0;list-style:none;display:grid}.study-calendar li{color:var(--muted);justify-items:center;gap:10px;font-size:13px;display:grid}.calendar-day{background:var(--tint);border-radius:50%;place-items:center;width:40px;height:40px;font-size:15px;display:grid}.is-complete .calendar-day{color:#24583e;background:#dfeab7}.is-missed .calendar-day{color:#9b3c34;background:#f6deda}.is-today .calendar-day{color:#fff;outline:2px solid var(--brand);outline-offset:3px;background:#28684e}.today-deck{text-align:left;background:var(--surface);width:100%;color:var(--text);border:1px solid var(--line);border-radius:16px;gap:16px;margin-bottom:12px;padding:20px;display:grid}.deck-learning{width:100%;color:var(--muted);gap:7px;margin:12px 0;font-size:13px;display:grid}.deck-learning>span{justify-content:space-between;gap:12px;display:flex}.deck-learning progress{appearance:none;background:var(--tint);border:0;border-radius:5px;width:100%;height:5px;overflow:hidden}.deck-learning progress::-webkit-progress-bar{background:var(--tint)}.deck-learning progress::-webkit-progress-value{background:var(--brand);border-radius:5px}.deck-learning progress::-moz-progress-bar{background:var(--brand)}.app-shell:has(.chat-shell){height:100dvh;overflow:hidden}.chat-shell{z-index:6;background:var(--surface);border:1px solid var(--line);border-radius:20px;grid-template-columns:220px minmax(0,1fr);display:grid;position:fixed;inset:24px 24px 24px 264px;overflow:hidden}.chat-sidebar{background:var(--bg);border-right:1px solid var(--line);flex-direction:column;gap:16px;min-height:0;padding:16px 10px;display:flex}.chat-sidebar-heading{justify-content:space-between;align-items:center;padding:0 10px;display:flex}.chat-list{min-height:0;overflow-y:auto}.chat-list-row{border-radius:10px;align-items:center;margin-bottom:4px;display:flex}.chat-list-row.selected{background:var(--tint)}.chat-select{min-width:0;color:var(--text);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;flex:1;min-height:44px;padding:12px 8px;overflow:hidden}.chat-main{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-header{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:10px;min-height:60px;padding:12px 20px;display:flex}.chat-header h1{white-space:nowrap;text-overflow:ellipsis;flex:1;margin:0;font-size:17px;overflow:hidden}.chat-scroll{overscroll-behavior:contain;overflow-wrap:anywhere;flex:1;min-height:0;padding:24px;overflow-y:auto}.chat-empty{text-align:center;place-items:center;height:100%;min-height:90px;display:grid}.chat-empty h2{font-size:clamp(22px,3vw,30px)}.chat-shell .chat-user{background:var(--tint);border-radius:18px;width:fit-content;max-width:85%;margin:0 0 20px auto;padding:10px 16px}.chat-shell .chat-assistant{background:0 0;border:0;margin-bottom:32px;padding:0}.chat-shell .chat-turn p{white-space:pre-wrap;margin:0;line-height:1.6}.chat-input-area{border-top:1px solid var(--line);flex-shrink:0;max-height:55%;padding:12px 20px;overflow-y:auto}.chat-input-row{border:1px solid var(--line);background:var(--input);border-radius:18px;align-items:end;gap:8px;padding:8px;display:flex}.chat-input-row textarea{resize:none;background:0 0;border:0;flex:1;min-width:0;min-height:60px;max-height:120px;padding:8px}.chat-send{border-radius:12px;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0}.chat-input-meta{color:var(--muted);justify-content:space-between;align-items:start;gap:16px;margin-top:8px;font-size:12px;display:flex}.chat-input-meta>small{white-space:nowrap}.chat-privacy{max-width:620px}.chat-privacy summary{cursor:pointer}.chat-shell .chat-consent{margin:8px 0 0;font-size:12px}.chat-mobile-toggle{display:none}@media (width<=1100px) and (width>=761px){.chat-shell{grid-template-columns:180px minmax(0,1fr)}}@media (width<=760px){.chat-shell{inset:calc(8px + env(safe-area-inset-top)) 8px calc(80px + env(safe-area-inset-bottom)) 8px;border-radius:16px;grid-template-columns:minmax(0,1fr)}.chat-mobile-toggle{display:inline-flex}.chat-sidebar{display:none}.chat-sidebar.is-open{z-index:2;width:min(300px,90%);display:flex;position:absolute;inset:0 auto 0 0;box-shadow:12px 0 28px #0002}.chat-header{padding:8px 12px}.chat-scroll{padding:16px}.chat-input-area{padding:8px}.calendar-day{width:34px;height:34px}}.billing-panel{gap:16px;margin-block:20px;display:grid}.billing-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.billing-heading h2{margin:0}.billing-test-label{border:1px solid;border-radius:999px;padding:4px 10px;font-size:12px}.billing-plans{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;display:grid}.billing-plans legend{margin-bottom:12px;font-weight:600}.billing-plans label{border:1px solid var(--line);cursor:pointer;border-radius:12px;align-items:flex-start;gap:10px;padding:16px;display:flex}.billing-plans label.selected{outline:2px solid var(--accent);outline-offset:-2px}.billing-plans label:focus-within{outline-offset:3px;outline:2px solid}.billing-plans label>span{gap:8px;min-width:0;display:grid}.billing-plans input{flex-shrink:0;margin-top:4px}.billing-summary{gap:8px;margin:0;display:grid}.billing-summary>div{justify-content:space-between;gap:16px;display:flex}.billing-summary dd{margin:0;font-weight:600}.billing-receipt{border:1px solid var(--line);border-radius:12px;padding:16px}.billing-note,.billing-panel small{line-height:1.5}.billing-panel .button{min-height:44px}@media (width<=600px){.billing-plans{grid-template-columns:1fr}}.billing-plans input[type=radio]{flex:0 0 18px;width:18px;min-width:18px;height:18px;min-height:18px;padding:0}.billing-plans label>span{overflow-wrap:anywhere}.billing-consent{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.billing-consent input{flex:0 0 18px;width:18px;height:18px}.billing-panel a,.chat-privacy a{color:var(--brand-strong);text-underline-offset:3px;text-decoration:underline}.billing-consent{flex-wrap:nowrap;min-height:44px}.billing-consent input,.billing-plans input{accent-color:var(--brand)}:root{--app-height:var(--tg-viewport-stable-height,100dvh);--app-safe-top:max(env(safe-area-inset-top,0px), var(--tg-content-safe-area-inset-top,0px));--app-safe-bottom:max(env(safe-area-inset-bottom,0px), var(--tg-safe-area-inset-bottom,0px), var(--tg-content-safe-area-inset-bottom,0px))}html:has(.app-shell){scrollbar-gutter:stable}.app-shell{min-height:var(--app-height)}.app-shell:has(.study-session){height:var(--app-height)}.study-session{height:calc(var(--app-height) - 48px);bottom:auto}.study-photo-frame{aspect-ratio:4/3;width:100%;max-height:min(420px, calc(var(--app-height) * .4));background:var(--tint);border-radius:12px;margin-bottom:20px;position:relative;overflow:hidden}.study-content .study-photo-frame .card-photo{object-fit:contain;width:100%;height:100%;max-height:none;margin:0;display:block}.study-photo-frame .photo-placeholder,.study-photo-frame .photo-status{color:var(--muted);align-content:center;justify-items:center;padding:16px;display:grid;position:absolute;inset:0;overflow:auto}@media (width<=760px){.app-shell .sidebar{top:calc(var(--app-height) - 69px - var(--app-safe-bottom));padding-bottom:var(--app-safe-bottom);bottom:auto}.study-session{top:calc(12px + var(--app-safe-top));height:calc(var(--app-height) - 92px - var(--app-safe-top) - var(--app-safe-bottom));bottom:auto}.modal{max-height:calc(var(--app-height) - 24px - var(--app-safe-top) - var(--app-safe-bottom))}}.card-demo-complete{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex}
