/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid}::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{--background-brightness:1;--background-opacity:1;--font-scale:1;--bg:#eaf3f1;--bg-deep:#dbeae7;--surface:#ffffffc7;--surface-solid:#f8fbfa;--surface-2:#e4efed;--text:#173b38;--muted:#6d8580;--primary:#286f65;--primary-strong:#15544c;--accent:#9fd5c8;--border:#255e5521;--danger:#b44747;--shadow:0 16px 50px #1f4b451a}:root[data-theme=light]{--bg:#f3f5f4;--bg-deep:#e7ebe9;--surface:#ffffffe0;--surface-solid:#fff;--surface-2:#edf1ef;--text:#1d2926;--muted:#68736f;--primary:#376e63;--primary-strong:#204e45;--accent:#b8d8d1;--border:#1e342f1f}:root[data-theme=dark]{--bg:#111615;--bg-deep:#080b0a;--surface:#232a28e6;--surface-solid:#222a28;--surface-2:#2d3734;--text:#f0f5f3;--muted:#a4b2ae;--primary:#7fc9b8;--primary-strong:#a9e2d5;--accent:#38675d;--border:#e0f4ee1f;--shadow:0 16px 50px #00000047}:root[data-theme=navy]{--bg:#102a43;--bg-deep:#071b2e;--surface:#223d52e6;--surface-solid:#203b51;--surface-2:#29485f;--text:#f0f7fb;--muted:#a9bfce;--primary:#8fc4e6;--primary-strong:#c2e3f7;--accent:#365f78;--border:#dceffa1f;--shadow:0 16px 50px #0003}:root[data-theme=mint]{--bg:#dff4ef;--bg-deep:#cce7e0;--surface:#ffffffc2;--surface-solid:#f7fcfa;--surface-2:#d8ebe7;--text:#16413b;--muted:#68857f;--primary:#287b6d;--primary-strong:#14564c;--accent:#9fd9cc;--border:#1f5b5021}:root[data-theme=pink]{--bg:#f8e9ee;--bg-deep:#efd8e0;--surface:#ffffffc4;--surface-solid:#fff9fb;--surface-2:#f4e0e6;--text:#4f2734;--muted:#8d6d78;--primary:#a44767;--primary-strong:#7d2e4b;--accent:#e5abc0;--border:#722d4621}:root[data-theme=lightBlue]{--bg:#e4f3fb;--bg-deep:#cfe7f3;--surface:#ffffffc9;--surface-solid:#f8fcff;--surface-2:#dbeaf2;--text:#17384c;--muted:#6b8493;--primary:#347da5;--primary-strong:#205e82;--accent:#a9d6ed;--border:#22577521}:root[data-theme=teal]{--bg:#dff4ef;--bg-deep:#cce7e0;--surface:#ffffffc2;--surface-solid:#f7fcfa;--surface-2:#d8ebe7;--text:#16413b;--muted:#68857f;--primary:#287b6d;--primary-strong:#14564c;--accent:#9fd9cc;--border:#1f5b5021}:root[data-theme=green]{--bg:#e8f2df;--bg-deep:#d5e5ca;--surface:#ffffffc4;--surface-solid:#fbfef8;--surface-2:#e1ecd9;--text:#294426;--muted:#71816d;--primary:#4e8146;--primary-strong:#315f2b;--accent:#b9d9ad;--border:#385f3021}:root[data-theme=red]{--bg:#f8e9e7;--bg-deep:#edd6d2;--surface:#ffffffc7;--surface-solid:snow;--surface-2:#f3dfdc;--text:#512c2a;--muted:#8e706d;--primary:#a84e49;--primary-strong:#7e332f;--accent:#e7b4af;--border:#78332f21}:root[data-theme=purple]{--bg:#efeafb;--bg-deep:#ded5f2;--surface:#ffffffc7;--surface-solid:#fcfaff;--surface-2:#e8e0f4;--text:#3d2e55;--muted:#7d708d;--primary:#7052a0;--primary-strong:#533681;--accent:#c9b6e6;--border:#52367e21}:root[data-theme=orange]{--bg:#fbefdf;--bg-deep:#f0dfca;--surface:#ffffffc7;--surface-solid:#fffaf3;--surface-2:#f4e6d4;--text:#523820;--muted:#8d7865;--primary:#a8652d;--primary-strong:#7d481d;--accent:#e9c296;--border:#78481d21}*{box-sizing:border-box}html{background:var(--bg);min-height:100%;font-size:calc(16px * var(--font-scale))}body{min-height:100dvh;color:var(--text);background:var(--bg-deep);font-family:var(--app-font,Inter, ui-rounded, "SF Pro Rounded", "PingFang TC", "Noto Sans TC", system-ui, sans-serif);-webkit-font-smoothing:antialiased;isolation:isolate;margin:0}body:before{content:"";z-index:-1;pointer-events:none;opacity:var(--background-opacity);filter:brightness(var(--background-brightness));background:radial-gradient(circle at 90% 0%,var(--accent),transparent 34%),linear-gradient(155deg,var(--bg),var(--bg-deep));position:fixed;inset:0}@supports (color:color-mix(in lab, red, red)){body:before{background:radial-gradient(circle at 90% 0%,color-mix(in srgb,var(--accent) 32%,transparent),transparent 34%),linear-gradient(155deg,var(--bg),var(--bg-deep))}}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.42;cursor:default}h1,h2,h3,p{margin-top:0}.loading{place-items:center;min-height:100dvh;display:grid}.spinner{border:3px solid var(--primary);width:22px;height:22px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.spinner{border:3px solid color-mix(in srgb, var(--primary) 25%, transparent)}}.spinner{border-top-color:var(--primary);border-radius:50%;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{width:min(100%,920px);min-height:100dvh;padding:env(safe-area-inset-top) clamp(18px,4vw,34px) calc(92px + env(safe-area-inset-bottom));margin:auto}.topbar{justify-content:space-between;align-items:center;height:48px;min-height:48px;padding:0;display:flex}.topbar h1{letter-spacing:0;margin:0;font-size:1.1rem;font-weight:800}.eyebrow{color:var(--primary);letter-spacing:.16em;margin-bottom:4px;font-size:.69rem;font-weight:800}.header-actions{gap:8px;display:flex}.icon-button{width:42px;height:42px;color:var(--muted);background:0 0;border-radius:50%;place-items:center;padding:0;display:grid}.icon-button.ai-icon{color:var(--primary)}.round-button{background:var(--surface);border:1px solid var(--border);border-radius:50%;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 6px 16px #0000000d}.round-button.filled{background:var(--primary);color:var(--bg);font-size:1.4rem}.icon{place-items:center;font-size:1.25rem;line-height:1;display:inline-grid}.page{animation:.28s ease-out page-in}@keyframes page-in{0%{opacity:0;transform:translate(10px)}}.hero-card{background:var(--accent);box-shadow:none;border:0;border-radius:20px;flex-direction:column;gap:9px;padding:16px;display:flex;position:relative;overflow:hidden}.hero-card:after{display:none}.hero-card h2{margin:0;font-size:1.05rem}.hero-card h3{margin:0;font-size:1.3rem}.hero-card p{margin:0;font-size:.78rem}.hero-heading{justify-content:space-between;align-items:center;display:flex}.hero-heading strong{font-size:.78rem}.muted{color:var(--muted);margin-bottom:5px}.progress-ring{--progress:0deg;background:conic-gradient(var(--primary) var(--progress), var(--surface-2) 0);border-radius:50%;place-items:center;width:72px;height:72px;display:grid;position:relative}.progress-ring:before{content:"";background:var(--surface-solid);border-radius:50%;width:56px;height:56px;position:absolute}.progress-ring span{font-size:.74rem;font-weight:800;position:relative}.progress-track,.mini-progress{background:var(--surface-2);border-radius:99px;height:7px;overflow:hidden}.progress-track{grid-column:1/-1}.progress-track span,.mini-progress span{background:var(--primary);border-radius:inherit;min-width:0;height:100%;display:block}.primary,.secondary,.danger-button{border-radius:14px;min-height:44px;padding:0 18px;font-weight:750}.primary{background:var(--primary);color:var(--bg)}:root[data-theme=dark] .primary,:root[data-theme=navy] .primary{color:#102a2a}.secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}.primary.wide,.secondary.wide,.danger-button.wide{width:100%}.hero-card>.primary{z-index:1;grid-column:1/-1}.home-start{border-radius:20px;width:100%;height:54px;margin-top:12px;font-size:1rem}.quick-tools{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.quick-tools button{text-align:left;background:var(--primary);border-radius:18px;min-height:52px;padding:12px 14px}@supports (color:color-mix(in lab, red, red)){.quick-tools button{background:color-mix(in srgb,var(--primary) 12%,var(--surface))}}.quick-tools button{color:var(--primary)}.quick-tools button:nth-child(2){background:var(--primary-strong)}@supports (color:color-mix(in lab, red, red)){.quick-tools button:nth-child(2){background:color-mix(in srgb,var(--primary-strong) 12%,var(--surface))}}.quick-tools button:nth-child(2){color:var(--primary-strong)}.quick-tools .wide{color:var(--text);background:var(--surface);grid-column:1/-1}.stats-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 28px;display:grid}.stats-grid article{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;align-items:center;gap:3px;padding:17px 8px;display:flex}.stats-grid strong{font-size:1.25rem}.stats-grid small{color:var(--muted);font-size:.72rem}.stat-icon{color:var(--primary);margin-bottom:3px}.section-heading{justify-content:space-between;align-items:end;margin:24px 0 12px;display:flex}.section-heading h2{margin:0;font-size:1.25rem}.text-button{color:var(--primary);background:0 0;font-size:.86rem;font-weight:700}.action-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.action-grid>button{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:20px;align-items:center;gap:13px;min-height:82px;padding:16px;display:flex}.action-grid .icon{background:var(--surface-2);width:42px;height:42px;color:var(--primary);border-radius:14px;flex:none}.action-grid span:last-child{flex-direction:column;gap:4px;min-width:0;display:flex}.action-grid small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:.7rem;overflow:hidden}.library-heading{margin-top:18px}.home-course-chips{margin-bottom:6px}.deck-strip{scrollbar-width:none;gap:12px;padding-bottom:4px;display:flex;overflow-x:auto}.deck-strip article,.all-cards-card{background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:16px;flex-direction:column;flex:0 0 180px;justify-content:space-between;align-items:flex-start;width:180px;height:95px;padding:12px;display:flex}.all-cards-card{background:var(--accent);color:var(--primary-strong)}.deck-strip small{color:var(--muted)}.deck-strip article span,.all-cards-card small{color:var(--muted);font-size:.72rem}.statistics-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;margin-top:12px;padding:16px}.statistics-summary{text-align:center;grid-template-columns:repeat(3,1fr);display:grid}.statistics-summary>div{flex-direction:column;gap:4px;display:flex}.statistics-summary small{color:var(--muted)}.weekly-chart{grid-template-columns:repeat(7,1fr);align-items:end;gap:8px;height:92px;margin-top:14px;display:grid}.weekly-chart>div{flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;height:100%;display:flex}.weekly-chart span{background:var(--primary);border-radius:6px 6px 2px 2px;width:min(22px,75%);min-height:2px}.weekly-chart small{color:var(--muted);font-size:.68rem}.deck-dot{border-radius:50%;flex:none;width:14px;height:14px}.bottom-nav{z-index:20;width:min(100%,920px);padding:9px max(15px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));background:var(--surface-solid);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}@supports (color:color-mix(in lab, red, red)){.bottom-nav{background:color-mix(in srgb, var(--surface-solid) 90%, transparent)}}.bottom-nav{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.bottom-nav button{color:var(--muted);background:0 0;flex-direction:column;align-items:center;gap:4px;font-size:.7rem;display:flex}.bottom-nav button .icon{border-radius:16px;width:42px;height:32px}.bottom-nav button.active{color:var(--primary-strong);font-weight:800}.bottom-nav button.active .icon{color:var(--primary-strong);background:var(--accent)}.chips{scrollbar-width:none;gap:8px;margin:3px -18px 12px;padding:4px 18px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips button{background:var(--surface);border:1px solid var(--border);color:var(--muted);border-radius:99px;flex:none;padding:9px 16px}.chips button.selected{color:var(--primary-strong);background:var(--accent);font-weight:800}.deck-list,.hub-list{gap:12px;display:grid}.deck-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:18px;box-shadow:0 8px 25px #0000000a}.deck-title{align-items:center;gap:10px;display:flex}.deck-title>div{flex-direction:column;gap:3px;min-width:0;display:flex}.deck-title small,.deck-meta{color:var(--muted)}.deck-order{margin-left:auto;display:flex}.deck-order button{width:36px;height:36px;color:var(--muted);background:0 0;border-radius:50%}.deck-order .danger-icon{color:var(--danger)}.deck-metrics{text-align:center;background:var(--surface-2);border-radius:12px;grid-template-columns:repeat(3,1fr);margin-top:12px;padding:9px 12px;display:grid}.deck-metrics>div{flex-direction:column;gap:2px;display:flex}.deck-metrics small{color:var(--muted);font-size:.68rem}.pill{background:var(--surface-2);border-radius:99px;margin-left:auto;padding:6px 10px;font-size:.75rem}.deck-card .mini-progress{margin:16px 0 8px}.deck-meta{justify-content:space-between;font-size:.72rem;display:flex}.deck-actions{gap:7px;margin-top:14px;display:flex}.deck-actions>button,.deck-actions summary{background:var(--surface-2);border-radius:12px;place-items:center;min-height:38px;padding:0 12px;font-size:.78rem;font-weight:700;display:grid}.deck-actions>button{flex:1}.deck-actions>button.primary{background:var(--primary);color:var(--bg)}.deck-actions details{margin-left:auto;position:relative}.deck-actions summary{cursor:pointer;list-style:none}.deck-actions details>div{z-index:3;background:var(--surface-solid);width:130px;box-shadow:var(--shadow);border:1px solid var(--border);border-radius:14px;padding:6px;position:absolute;bottom:44px;right:0}.deck-actions details button{text-align:left;background:0 0;width:100%;padding:10px}.danger{color:var(--danger)!important}.hub-list article{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:18px}.hub-list article>div:first-child{grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;display:grid}.hub-list article small{color:var(--muted);grid-column:2}.hub-list article>div:last-child{gap:8px;margin-top:14px;display:flex}.hub-list article>div:last-child button{flex:1}.hub-deck-card .deck-title,.hub-deck-card .deck-title>div{display:flex!important}.hub-progress-label{color:var(--muted);justify-content:space-between;margin-top:12px!important;display:flex!important}.hub-deck-card .mini-progress{margin-top:4px}.hub-actions{grid-template-columns:repeat(3,1fr);display:grid!important}.fab{right:max(20px,50vw - 438px);bottom:calc(82px + env(safe-area-inset-bottom));z-index:19;background:var(--primary);width:56px;height:56px;color:var(--bg);box-shadow:var(--shadow);border-radius:18px;place-items:center;display:grid;position:fixed}.scope-all-button{background:var(--accent);width:100%;min-height:48px;color:var(--primary-strong);border-radius:15px;justify-content:space-between;align-items:center;margin:2px 0 13px;padding:0 16px;font-weight:850;display:flex}.scope-all-button span{background:var(--surface);border-radius:99px;padding:5px 9px;font-size:.72rem}.empty{text-align:center;background:var(--surface);border:1px dashed var(--primary);flex-direction:column;justify-content:center;align-items:center;min-height:250px;padding:36px 20px;display:flex}@supports (color:color-mix(in lab, red, red)){.empty{border:1px dashed color-mix(in srgb, var(--primary) 35%, transparent)}}.empty{border-radius:24px}.empty>span{color:var(--primary);font-size:2rem}.empty h3{margin:14px 0 6px}.empty p{max-width:310px;color:var(--muted);line-height:1.65}.sheet-backdrop{z-index:50;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);padding-top:env(safe-area-inset-top);background:#030e1473;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop:not(.page-backdrop){align-items:center;padding:18px}.sheet-backdrop.page-backdrop{background:var(--bg-deep);-webkit-backdrop-filter:none;backdrop-filter:none;padding-top:0}.sheet{background:var(--surface-solid);border-radius:24px;width:min(100%,620px);max-height:92dvh;animation:.28s cubic-bezier(.2,.8,.2,1) sheet-up;overflow:hidden;box-shadow:0 -20px 70px #0003}.sheet-wide{border-radius:0;width:min(100%,920px);height:100dvh;max-height:100dvh;animation:.24s ease-out page-slide-in}.sheet-wide>header{padding-top:max(12px,env(safe-area-inset-top));min-height:calc(66px + env(safe-area-inset-top))}.sheet-wide>.sheet-body{max-height:calc(100dvh - 66px - env(safe-area-inset-top))}@keyframes page-slide-in{0%{opacity:.75;transform:translate(24px)}}@keyframes sheet-up{0%{opacity:0;transform:translateY(30px)}}.sheet>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:78px;padding:18px 20px 12px;display:flex}.sheet-title{flex:1;min-width:0}.sheet>header h2{margin:0;font-size:1.25rem}.sheet>header p{color:var(--muted);margin:3px 0 0;font-size:.75rem}.sheet-body{padding:20px max(20px,env(safe-area-inset-left)) calc(22px + env(safe-area-inset-bottom));max-height:calc(92dvh - 78px);overflow:auto}.form{gap:15px;display:grid}.form label,.select-label{gap:6px;display:grid}.form label>span,.select-label>span,.segmented legend{color:var(--muted);font-size:.73rem;font-weight:750}.form input,.form textarea,.form select,.select-label select,.settings-content input,.settings-content select{border:1.5px solid var(--border);background:var(--surface-2);border-radius:14px;outline:none;width:100%;min-height:50px;padding:12px 14px}.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary)}@supports (color:color-mix(in lab, red, red)){.form input:focus,.form textarea:focus,.form select:focus{box-shadow:0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent)}}.ai-fill-button{justify-content:center;align-items:center;gap:7px;display:flex}.form textarea{resize:vertical;min-height:84px}.folder-form fieldset{border:0;gap:9px;margin:0;padding:0;display:grid}.folder-form legend{color:var(--primary);margin-bottom:6px;font-size:.78rem;font-weight:800}.course-choice-list{gap:6px;max-height:190px;display:grid;overflow:auto}.course-choice-list button{text-align:left;background:var(--surface-2);border-radius:12px;min-height:42px;padding:8px 12px}.course-choice-list button.selected{background:var(--accent);color:var(--primary-strong);font-weight:800}.folder-colors{flex-wrap:wrap;gap:10px;display:flex}.folder-colors button{border:3px solid #0000;border-radius:50%;width:34px;height:34px}.folder-colors button.selected{border-color:var(--text);box-shadow:0 0 0 2px var(--surface-solid)}.course-filter-label{color:var(--primary);margin:0 0 5px;font-size:.78rem;font-weight:800}.course-order-hint{color:var(--muted);margin:-4px 0 12px;font-size:.76rem}.rename-course-button{justify-content:center;align-items:center;gap:6px;margin:-4px 0 13px;display:flex}.topbar-ai-action{background:var(--accent);min-height:40px;color:var(--primary-strong);border-radius:12px;align-items:center;gap:5px;padding:0 11px;font-size:.76rem;font-weight:800;display:flex}.topbar-ai-action .spinner,.card-ai-icon .spinner{border-width:2px;width:17px;height:17px}.save-location-card{background:var(--surface-2);border-radius:18px;gap:8px;padding:13px;display:grid}@supports (color:color-mix(in lab, red, red)){.save-location-card{background:color-mix(in srgb,var(--surface-2) 75%,transparent)}}.save-location-card{border:1px solid var(--border)}.save-location-card>div:first-child strong{color:var(--primary);font-size:.84rem}.save-location-card>div:first-child small{color:var(--muted);font-size:.7rem}.location-chip-row{scrollbar-width:none;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.location-chip-row::-webkit-scrollbar{display:none}.location-chip-row button{background:var(--surface);border:1px solid var(--border);border-radius:10px;flex:none;min-height:34px;padding:6px 11px;font-size:.75rem;font-weight:750}.location-chip-row button.selected{color:var(--primary-strong);background:var(--accent);border-color:#0000}.manual-card-editor{background:var(--surface-2);border-radius:17px;gap:8px;padding:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.manual-card-editor{background:color-mix(in srgb,var(--surface-2) 62%,transparent)}}.manual-card-editor{border:1px solid var(--border)}.manual-card-head{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:5px;display:grid}.manual-card-head>span{color:var(--bg);background:var(--primary);border-radius:99px;padding:5px 8px;font-size:.7rem;font-weight:850}.manual-card-head label{min-width:0}.manual-card-editor input,.manual-card-editor textarea{min-height:46px}.manual-card-editor textarea{min-height:70px}.card-ai-icon{color:var(--primary)}.delete-draft-icon{color:var(--danger)}.manual-card-group{gap:7px;display:grid}.insert-card-divider{width:100%;min-height:36px;color:var(--primary);border:1px dashed var(--primary);background:0 0;justify-content:center;align-items:center;gap:5px;display:flex}@supports (color:color-mix(in lab, red, red)){.insert-card-divider{border:1px dashed color-mix(in srgb,var(--primary) 42%,transparent)}}.insert-card-divider{border-radius:11px;font-size:.73rem;font-weight:800}.dialog-form-actions{grid-template-columns:1fr 1fr;gap:9px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.segmented{border:0;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:0;display:grid}.segmented legend{grid-column:1/-1;margin-bottom:5px}.segmented button{background:var(--surface-2);border:1px solid var(--border);border-radius:14px;min-height:50px}.segmented button.selected{background:var(--accent);color:var(--primary-strong);font-weight:800}.study-stage{gap:18px;display:grid}.flashcard{text-align:center;background:linear-gradient(145deg,var(--surface),var(--surface-2));border:1px solid var(--border);min-height:min(54dvh,470px);box-shadow:var(--shadow);cursor:pointer;transform-style:preserve-3d;border-radius:28px;place-items:center;padding:30px;transition:transform .25s;display:grid}.flashcard>div{flex-direction:column;align-items:center;width:100%;display:flex}.flashcard h2{letter-spacing:-.05em;overflow-wrap:anywhere;margin:8px 0;font-size:clamp(2.3rem,10vw,4rem)}.flashcard h3{max-width:650px;font-size:clamp(1.5rem,6vw,2.4rem)}.flashcard blockquote{margin:22px 0;line-height:1.65}.flashcard blockquote small{color:var(--muted);margin-top:8px;display:block}.flashcard small{color:var(--muted)}.speak{background:var(--accent);width:44px;height:44px;color:var(--primary-strong);border-radius:50%;margin:12px}.rate-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.rate-actions button{border-radius:16px;justify-content:center;align-items:center;gap:6px;min-height:52px;font-weight:800;display:flex}.study-order-backdrop{z-index:5;background:var(--bg-deep);place-items:center;padding:20px;display:grid;position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.study-order-backdrop{background:color-mix(in srgb,var(--bg-deep) 58%,transparent)}}.study-order-dialog{background:var(--surface-solid);border:1px solid var(--border);width:min(100%,430px);box-shadow:var(--shadow);border-radius:23px;gap:15px;padding:22px;display:grid}.study-order-dialog h3,.study-order-dialog p{margin:0}.study-order-dialog p{color:var(--muted);line-height:1.55}.study-order-dialog>div{grid-template-columns:1fr 1fr;gap:9px;display:grid}.android-study{grid-template-rows:auto minmax(0,1fr) auto;min-height:calc(100dvh - 112px)}.study-progress{gap:6px;display:grid}.study-progress>div:first-child{color:var(--muted);justify-content:space-between;font-size:.72rem;display:flex}.study-progress strong{color:var(--primary)}.swipe-card-wrap{touch-action:pan-y;-webkit-user-select:none;user-select:none;align-items:center;transition:transform .12s;display:grid;position:relative}.android-flashcard{background:var(--surface-2);border:1px solid var(--border);width:100%;min-height:min(58dvh,440px);box-shadow:0 5px 18px var(--bg-deep);border-radius:24px;flex-direction:column;padding:24px;display:flex;position:relative}@supports (color:color-mix(in lab, red, red)){.android-flashcard{box-shadow:0 5px 18px color-mix(in srgb,var(--bg-deep) 25%,transparent)}}.android-flashcard{overflow:hidden}.android-flashcard>header{border:0;justify-content:space-between;align-items:center;min-height:auto;padding:0;display:flex}.android-flashcard>header>span:first-child{background:var(--primary);border-radius:12px;padding:6px 12px}@supports (color:color-mix(in lab, red, red)){.android-flashcard>header>span:first-child{background:color-mix(in srgb,var(--primary) 15%,transparent)}}.android-flashcard>header>span:first-child{color:var(--primary);font-size:.78rem}.android-flashcard>header button{width:42px;height:42px;color:var(--primary);background:0 0;border-radius:50%;place-items:center;display:grid}.card-center{text-align:center;flex-direction:column;align-items:center;margin:auto;display:flex}.card-center h2{overflow-wrap:anywhere;margin:0;font-size:clamp(2.25rem,10vw,3.3rem)}.card-center p{color:var(--primary)}.speak-pill{background:var(--accent);color:var(--primary-strong);border-radius:99px;align-items:center;gap:7px;padding:10px 16px;font-weight:800;display:flex}.android-flashcard>small{text-align:center;color:var(--primary);margin-top:auto;font-weight:700}.card-back-content{gap:16px;padding-top:12px;display:grid}.card-back-content h3{margin:0;font-size:clamp(1.35rem,5vw,2rem)}.card-back-content section{border-top:1px solid var(--border);gap:5px;padding-top:15px;display:grid}.card-back-content section b{color:var(--primary);font-size:.77rem}.card-back-content section p{margin:0;line-height:1.55}.card-back-content section small{color:var(--muted)}.card-notes{color:var(--muted);font-size:.8rem}.swipe-badge{z-index:3;color:#fff;border-radius:14px;padding:8px 16px;font-weight:850;position:absolute;top:16px}.swipe-badge.remembered{background:var(--primary);left:16px}.swipe-badge.unfamiliar{background:var(--danger);right:16px}.study-icon-actions{justify-content:space-between;align-items:center;display:flex}.study-icon-actions button{color:var(--primary)}.study-completion{max-width:520px;margin:auto}.again{background:#d66b6b}@supports (color:color-mix(in lab, red, red)){.again{background:color-mix(in srgb,#d66b6b 18%,var(--surface))}}.again{color:#b44343}.remember{background:var(--primary);color:var(--bg)}.completion{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:420px;display:flex}.completion>span{background:var(--accent);width:68px;height:68px;color:var(--primary-strong);border-radius:50%;place-items:center;font-size:2rem;display:grid}.completion h2{margin:8px 0 0}.completion p{color:var(--muted)}.completion button{max-width:390px}.quiz-type{background:var(--surface-2);border-radius:16px;align-items:center;gap:12px;padding:16px;display:flex}.quiz-type>span{background:var(--accent);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;place-items:center;display:grid}.quiz-type div{flex-direction:column;gap:4px;display:flex}.quiz-type small{color:var(--muted)}.quiz-stage{gap:16px;display:grid}.question{text-align:left;background:var(--surface-2);border-radius:20px;flex-direction:column;justify-content:center;align-items:flex-start;min-height:170px;padding:18px;display:flex}.question h2{margin:8px 0;font-size:clamp(1.5rem,6vw,2.3rem)}.question>p:last-child{color:var(--muted);line-height:1.6}.options{grid-template-columns:1fr;gap:9px;display:grid}.options button{text-align:left;background:var(--surface);border:1.5px solid var(--border);overflow-wrap:anywhere;border-radius:14px;min-height:52px;padding:11px 15px;font-weight:750}.options button.selected{border-color:var(--primary);background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.options button.selected{background:color-mix(in srgb,var(--accent) 40%,var(--surface))}}.options button.correct{background:#69c895;border-color:#3e9a70}@supports (color:color-mix(in lab, red, red)){.options button.correct{background:color-mix(in srgb,#69c895 24%,var(--surface))}}.options button.wrong{background:#d66b6b;border-color:#c85c5c}@supports (color:color-mix(in lab, red, red)){.options button.wrong{background:color-mix(in srgb,#d66b6b 22%,var(--surface))}}.options button.wrong{animation:.3s shake}@keyframes shake{25%{transform:translate(-5px)}50%{transform:translate(5px)}75%{transform:translate(-3px)}}.feedback{border-radius:14px;justify-content:space-between;gap:10px;padding:12px 15px;display:flex}.feedback.good{background:#69c895}@supports (color:color-mix(in lab, red, red)){.feedback.good{background:color-mix(in srgb,#69c895 20%,var(--surface))}}.feedback.bad{background:#d66b6b}@supports (color:color-mix(in lab, red, red)){.feedback.bad{background:color-mix(in srgb,#d66b6b 18%,var(--surface))}}.feedback.waiting{background:var(--surface-2)}.answer-panel{align-items:center;min-height:58px}.answer-panel strong{flex:1}.answer-panel button{min-width:88px;min-height:40px}.settings-list{gap:10px;display:grid}.settings-list details{background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden}.settings-list summary{cursor:pointer;flex-direction:column;justify-content:center;gap:3px;min-height:68px;padding:14px 17px;list-style:none;display:flex;position:relative}.settings-list summary:after{content:"⌄";color:var(--muted);position:absolute;right:18px}.settings-list details[open] summary:after{transform:rotate(180deg)}.settings-list summary small{color:var(--muted)}.settings-content{gap:14px;padding:5px 17px 18px;display:grid}.prompt-settings textarea{resize:vertical;border:1px solid var(--border);background:var(--surface-2);border-radius:14px;width:100%;min-height:220px;padding:13px;line-height:1.55}.prompt-settings>div{justify-content:flex-end;display:flex}.prompt-settings button{align-items:center;gap:6px;display:flex}.settings-content>label:not(.toggle){grid-template-columns:minmax(95px,.4fr) 1fr;align-items:center;gap:12px;display:grid}.settings-content label>span{font-size:.82rem}.toggle{justify-content:space-between;align-items:center;gap:20px;display:flex}.toggle span{flex-direction:column;gap:3px;display:flex}.toggle small,.hint{color:var(--muted)}.toggle input{accent-color:var(--primary);width:22px!important;min-height:22px!important}.hint{font-size:.72rem;line-height:1.6}.button-stack{grid-template-columns:1fr 1fr}.button-stack .danger-button{grid-column:1/-1}.button-stack>button{justify-content:center;align-items:center;gap:7px;display:flex}.restore-status{border-radius:12px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:.78rem}.restore-status.error{color:var(--danger);background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.restore-status.error{background:color-mix(in srgb,var(--danger) 12%,var(--surface))}}.restore-status.success{color:var(--primary-strong);background:var(--accent)}.restore-dialog>p{color:var(--muted);line-height:1.55}.restore-summary{grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0 18px;display:grid}.restore-summary>div{background:var(--surface-2);border-radius:13px;flex-direction:column;align-items:center;gap:4px;padding:12px 5px;display:flex}.restore-summary small{color:var(--muted);font-size:.68rem}.danger-button{background:var(--danger)}@supports (color:color-mix(in lab, red, red)){.danger-button{background:color-mix(in srgb,var(--danger) 15%,var(--surface))}}.danger-button{color:var(--danger)}.chat{grid-template-rows:1fr auto;gap:12px;min-height:min(640px,72dvh);display:grid}.chat-messages{flex-direction:column;gap:10px;padding:3px;display:flex;overflow:auto}.message{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:18px;max-width:86%;padding:13px 15px;line-height:1.6}.message p{margin:0}.message.user{background:var(--accent);color:var(--primary-strong);border-bottom-right-radius:5px;align-self:flex-end}.message.assistant{background:var(--surface-2);border-bottom-left-radius:5px;align-self:flex-start}.message.assistant button{color:var(--primary);background:0 0;margin-top:8px;padding:0;font-size:.73rem;display:block}.message.working{color:var(--muted);align-items:center;gap:9px;display:flex}.composer{padding-bottom:max(0px,env(safe-area-inset-bottom));grid-template-columns:1fr auto;align-items:end;gap:8px;display:grid}.composer textarea{resize:none;border:1.5px solid var(--border);background:var(--surface-2);border-radius:19px;outline:none;min-height:54px;max-height:140px;padding:14px 16px}.composer textarea:focus{border-color:var(--primary)}.send{background:var(--primary);width:52px;height:52px;color:var(--bg);border-radius:18px}.assistant-scope{background:var(--surface-2);border-radius:15px;grid-template-columns:auto 1fr;align-items:center;gap:6px 10px;padding:10px 12px;display:grid}.assistant-scope>span{color:var(--muted);font-size:.72rem;font-weight:750}.assistant-scope select{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0;padding:7px 9px}.assistant-scope small{color:var(--muted);grid-column:1/-1;font-size:.65rem}.assistant-action-card{border:1.5px solid var(--primary);background:var(--accent);border-radius:18px;align-self:stretch;gap:10px;padding:14px;display:grid}@supports (color:color-mix(in lab, red, red)){.assistant-action-card{background:color-mix(in srgb,var(--accent) 18%,var(--surface))}}.assistant-action-card p{color:var(--muted);margin:5px 0 0}.assistant-action-card>div:last-child{grid-template-columns:1fr 1fr;gap:8px;display:grid}.import-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.import-text{min-height:180px!important}.import-source-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.import-source-grid button{flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:74px;padding:8px;display:flex}.import-mode-chips{margin:0 -20px;padding-inline:20px}.import-panel{background:var(--surface);border:1px solid var(--border);border-radius:18px;gap:13px;padding:14px;display:grid}.import-panel>.primary{justify-content:center;align-items:center;gap:7px;display:flex}.source-search-grid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.scan-source-list{gap:9px;display:grid}.scan-source-list>button{text-align:left;background:var(--surface);border:1px solid var(--border);min-height:72px;color:var(--primary);border-radius:17px;align-items:center;gap:14px;padding:12px 15px;display:flex}.scan-source-list>button span{color:var(--text);flex-direction:column;gap:4px;display:flex}.scan-source-list small{color:var(--muted);font-size:.72rem}.import-source-grid small{color:var(--muted);font-size:.65rem}.import-status{background:var(--surface-2);color:var(--muted);border-radius:14px;align-items:center;gap:9px;margin:0;padding:12px;font-size:.78rem;line-height:1.5;display:flex}.import-preview{background:var(--surface-2);border-radius:18px;gap:7px;padding:13px;display:grid}.import-preview>div{justify-content:space-between;display:flex}.import-preview article{background:var(--surface);border-radius:11px;grid-template-columns:24px 1fr;align-items:center;gap:8px;padding:8px;display:grid}.import-preview article>span{color:var(--muted);font-size:.7rem}.import-preview article div{flex-direction:column;gap:2px;min-width:0;display:flex}.import-preview article small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.toast{z-index:100;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));background:var(--text);max-width:calc(100% - 32px);color:var(--bg);box-shadow:var(--shadow);border-radius:99px;padding:12px 18px;font-size:.83rem;animation:.2s toast-in;position:fixed;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.onboarding{width:min(100%,600px);min-height:100dvh;padding:calc(50px + env(safe-area-inset-top)) 24px calc(30px + env(safe-area-inset-bottom));text-align:center;flex-direction:column;justify-content:center;align-items:center;margin:auto;display:flex}.brand-mark{background:linear-gradient(145deg,var(--primary),var(--primary-strong));width:84px;height:84px;color:var(--bg);box-shadow:var(--shadow);border-radius:27px;place-items:center;margin-bottom:24px;font-size:2.5rem;font-weight:900;display:grid}.onboarding h1{letter-spacing:-.06em;margin:8px 0 12px;font-size:clamp(2rem,8vw,3.4rem)}.onboarding>p:not(.eyebrow){color:var(--muted);max-width:420px;line-height:1.7}.goal-options{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;margin:24px 0;display:grid}.goal-options button{background:var(--surface);border:2px solid #0000;border-radius:18px;flex-direction:column;justify-content:center;gap:4px;min-height:82px;display:flex}.goal-options button.selected{border-color:var(--primary);background:var(--accent);color:var(--primary-strong)}.goal-options strong{font-size:1.3rem}.goal-options span{font-size:.7rem}.onboarding>.primary{max-width:420px}@media (min-width:700px){.page{padding-bottom:20px}.deck-list{grid-template-columns:1fr 1fr}.sheet:not(.sheet-wide){border-radius:30px;margin-bottom:20px}.sheet-backdrop{align-items:center;padding:20px}}@media (max-width:520px){.topbar-ai-action span:not(.spinner){display:none}.topbar-ai-action{justify-content:center;width:40px;padding:0}.deck-order button{width:32px;height:34px}.app-shell{padding-left:18px;padding-right:18px}.topbar{height:48px;min-height:48px;padding-top:0}.topbar h1{max-width:230px}.hero-card{border-radius:24px;padding:21px}.action-grid{grid-template-columns:1fr}.action-grid>button{min-height:70px}.form-grid{grid-template-columns:1fr}.goal-options{grid-template-columns:repeat(2,1fr)}.options{grid-template-columns:1fr}.flashcard{min-height:50dvh;padding:20px}.settings-content>label:not(.toggle){grid-template-columns:1fr;gap:6px}.button-stack{grid-template-columns:1fr}.button-stack .danger-button{grid-column:auto}}@media (display-mode:standalone){.app-shell{min-height:100dvh}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.manage-body{min-height:0;height:calc(100dvh - 66px - env(safe-area-inset-top));overscroll-behavior:contain;flex-direction:column;gap:10px;scroll-padding-bottom:130px;display:flex;position:relative;overflow-y:auto}.manage-title{flex:1;min-width:0}.manage-toolbar{z-index:2;flex:none;grid-template-columns:1fr;gap:10px;display:grid;position:relative}.search-box{background:var(--surface-2);border:1px solid var(--border);border-radius:15px;align-items:center;gap:9px;min-height:48px;padding:0 12px;display:flex}.search-box input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.86rem}.search-box button{color:var(--muted);background:0 0}.compact-chips{flex:none;align-items:center;min-height:46px;margin:0 -20px 2px;padding:4px 20px 6px}.compact-chips button{min-height:36px;line-height:1.15}.multi-bar{background:var(--accent);min-height:50px;color:var(--primary-strong);border-radius:15px;align-items:center;gap:7px;padding:8px 10px;display:flex}.multi-bar strong{margin-right:auto;font-size:.82rem}.multi-bar button{background:var(--surface);border-radius:10px;align-items:center;gap:4px;padding:8px 10px;font-size:.75rem;font-weight:750;display:flex}.manage-fab{width:50px;height:50px;right:max(24px,50vw - 436px);bottom:calc(82px + env(safe-area-inset-bottom));z-index:14;border-radius:16px;position:fixed}.manage-card-list{gap:8px;padding-bottom:104px;display:grid}.manage-card-list article{background:var(--surface);border:1.5px solid var(--border);border-radius:18px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:102px;padding:11px;display:grid}.manage-card-list article.selected{border-color:var(--primary);background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.manage-card-list article.selected{background:color-mix(in srgb,var(--accent) 18%,var(--surface))}}.select-card{border:1.5px solid var(--primary);width:25px;height:25px;color:var(--primary-strong);background:0 0;border-radius:8px}.manage-card-list article.selected .select-card{background:var(--accent)}.card-content{text-align:left;background:0 0;gap:5px;min-width:0;padding:0;display:grid}.card-content>span{align-items:baseline;gap:8px;min-width:0;display:flex}.card-content strong{font-size:1.05rem}.card-content em{color:var(--primary);font-size:.73rem;font-style:normal;font-weight:800}.card-content small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-row-actions{flex-direction:column;gap:3px;display:flex}.card-row-actions button{width:30px;height:27px;color:var(--muted);background:0 0;border-radius:8px}.card-row-actions button.favorite{color:#dfa900}.manage-bottom-actions{z-index:12;bottom:calc(-22px - env(safe-area-inset-bottom));margin:0 -20px calc(-22px - env(safe-area-inset-bottom));padding:14px 20px calc(8px + env(safe-area-inset-bottom));background:var(--surface-solid);border-top:1px solid var(--border);box-shadow:0 -10px 24px var(--bg-deep);flex:none;grid-template-columns:1fr 1fr;gap:9px;display:grid;position:sticky}@supports (color:color-mix(in lab, red, red)){.manage-bottom-actions{box-shadow:0 -10px 24px color-mix(in srgb,var(--bg-deep) 18%,transparent)}}.small-empty{min-height:320px}.nested-dialog-backdrop{z-index:80;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#050f1480;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.nested-dialog{background:var(--surface-solid);width:min(100%,650px);max-height:88%;box-shadow:var(--shadow);border-radius:24px;padding:18px;overflow:auto}.nested-dialog>header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.nested-dialog h3{margin:0}.dialog-actions{grid-template-columns:auto 1fr;gap:9px;display:grid}.move-list{gap:8px;display:grid}.move-list>button{text-align:left;background:var(--surface-2);border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:64px;padding:11px 13px;display:grid}.move-list>button>span:nth-child(2){flex-direction:column;gap:3px;display:flex}.move-list small{color:var(--muted)}.add-mode-list{gap:9px;display:grid}.add-mode-list button{text-align:left;background:var(--surface-2);border-radius:15px;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;min-height:72px;padding:13px;display:flex}.add-mode-list small{color:var(--muted)}.quiz-picker{gap:15px;display:grid}.mode-grid{grid-template-columns:1fr;gap:8px;display:grid}.mode-grid>button{text-align:left;background:var(--surface);border:1.5px solid var(--border);border-radius:14px;flex-direction:column;justify-content:center;gap:3px;min-height:54px;padding:9px 14px;display:flex}.mode-grid>button>small{color:var(--muted);font-size:.68rem}.mode-grid>button.selected{border-color:var(--primary);background:var(--accent)}@supports (color:color-mix(in lab, red, red)){.mode-grid>button.selected{background:color-mix(in srgb,var(--accent) 22%,var(--surface))}}.quiz-frame-title{flex:1;min-width:0}.advanced-quiz{align-content:start;min-height:min(690px,73dvh)}.cloze-sentence{line-height:1.5;font-size:clamp(1.25rem,5vw,1.9rem)!important}.listen-button{background:var(--accent);width:72px;height:72px;color:var(--primary-strong);border-radius:50%;margin:10px;font-size:1.35rem}.typing-answer{gap:8px;display:grid}.typing-answer input{border:1.5px solid var(--border);background:var(--surface-2);border-radius:16px;outline:0;min-height:54px;padding:12px 15px;font-size:1.05rem}.typing-answer input:focus{border-color:var(--primary)}.typing-answer small{color:var(--muted)}.sentence-answer{border:1.5px solid var(--primary);background:var(--surface);border-radius:18px;flex-wrap:wrap;align-content:flex-start;gap:7px;min-height:116px;padding:14px;display:flex}.sentence-answer>span{color:var(--muted);margin:auto;font-size:.8rem}.sentence-answer button,.word-bank button{background:var(--accent);min-height:38px;color:var(--primary-strong);border-radius:11px;padding:7px 11px;font-weight:750}.word-bank{background:var(--surface-2);border-radius:18px;flex-wrap:wrap;align-content:flex-start;gap:7px;min-height:126px;padding:14px;display:flex}.wrong-summary{color:var(--danger)!important}.matching-stage{align-content:start;gap:13px;min-height:min(650px,73dvh);display:grid}@keyframes screen-shake{20%{transform:translate(-7px)}40%{transform:translate(7px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.match-progress{background:var(--surface-2);border-radius:99px;height:7px;overflow:hidden}.match-progress span{border-radius:inherit;background:var(--primary);height:100%;transition:width .25s;display:block}.matching-stage>p{text-align:center;color:var(--muted)}.match-columns{grid-template-columns:1fr 1fr;gap:10px;display:grid}.match-columns>div{grid-template-rows:repeat(4,minmax(82px,1fr));gap:10px;display:grid}.match-columns button{overflow-wrap:anywhere;border:2px solid var(--border);background:var(--surface);border-radius:16px;min-height:82px;padding:8px;font-weight:750;transition:background .15s,border-color .15s}.match-columns button.selected{border-color:var(--primary);background:var(--accent);color:var(--primary-strong)}.match-columns button.wrong{background:#d96363;border-color:#ca5353}@supports (color:color-mix(in lab, red, red)){.match-columns button.wrong{background:color-mix(in srgb,#d96363 25%,var(--surface))}}.match-columns button.wrong{color:#8d2f2f;animation:.36s screen-shake}@media (max-width:520px){.mode-grid{grid-template-columns:1fr}.mode-grid>button{min-height:78px}.manage-card-list article{grid-template-columns:auto minmax(0,1fr)}.card-row-actions{flex-direction:row;grid-column:2}.match-columns>div{grid-template-rows:repeat(4,minmax(72px,1fr))}.match-columns button{min-height:72px;font-size:clamp(.65rem,3.3vw,.9rem)}.import-source-grid{grid-template-columns:repeat(2,1fr)}}:root,:root[data-theme=light]{--bg:#f6f7f9;--bg-deep:#f6f7f9;--surface:#fff;--surface-solid:#fff;--surface-2:#edf0f4;--text:#15171b;--muted:#5d6470;--primary:#245fe5;--primary-strong:#163974;--accent:#e5edff;--border:#d8dce3;--danger:#ba1a1a;--shadow:none}:root[data-theme=dark]{--bg:#0f1115;--bg-deep:#0f1115;--surface:#191c22;--surface-solid:#191c22;--surface-2:#262a32;--text:#f2f4f7;--muted:#c4cad4;--primary:#82aaff;--primary-strong:#dce6ff;--accent:#253554;--border:#3a3f48;--danger:#ffb4ab;--shadow:none}body{-webkit-text-size-adjust:100%}body:before{background:var(--bg)}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}:is(button:focus-visible,a:focus-visible){outline:3px solid var(--primary);outline-offset:3px}.app-shell{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.primary,.secondary,.danger-button{border-radius:16px;min-height:48px}:root[data-theme=dark] .primary{color:#092c6f}.hero-card,.stats-grid article,.statistics-card,.deck-card,.hub-list article,.action-grid>button{box-shadow:none;border:0;border-radius:20px}.deck-card{padding:16px}.form input,.form textarea,.form select,.settings-content input,.settings-content select{border-radius:16px}.sheet{box-shadow:none;border-radius:28px}.sheet-wide{height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);border-radius:0;flex-direction:column;display:flex}.sheet-wide>header{padding:12px max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));padding-top:calc(12px + env(safe-area-inset-top));min-height:calc(64px + env(safe-area-inset-top));flex:none}.sheet-wide>.sheet-body{flex:1;min-height:0;max-height:none}.sheet-body{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom));width:min(calc(100% - max(32px,env(safe-area-inset-left) + env(safe-area-inset-right))),640px);border:1px solid var(--border);background:var(--surface-solid);border-radius:32px;min-height:64px;padding:8px 10px}@supports (color:color-mix(in lab, red, red)){.bottom-nav{background:color-mix(in srgb,var(--surface-solid) 72%,transparent)}}.bottom-nav{-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.bottom-nav button{min-height:44px}.android-flashcard{box-shadow:none;border-radius:20px}.install-entry{text-align:left}.pwa-status{z-index:110;left:50%;bottom:calc(86px + env(safe-area-inset-bottom));background:var(--surface-solid);border:1px solid var(--border);border-radius:20px;width:min(100% - 32px,560px);padding:12px 16px;font-size:14px;position:fixed;transform:translate(-50%)}.pwa-status p{align-items:center;gap:8px;margin:0;line-height:1.5;display:flex}.pwa-status>div{gap:8px;display:grid}.pwa-status button.secondary{justify-content:center;align-items:center;gap:8px;display:flex}:is(body:has(.android-onboarding) .pwa-status,body:has(.sheet-backdrop) .pwa-status,body:has(.browser-entry) .pwa-status){display:none}.install-backdrop{z-index:120;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.install-dialog{width:min(100%,560px);max-height:calc(var(--visible-height,100dvh) - 32px);background:var(--surface-solid);border-radius:28px;padding:20px;overflow:auto}.install-dialog header{justify-content:space-between;align-items:center;gap:8px;display:flex}.install-dialog h2{margin:0;font-size:21px}.install-dialog>img{border-radius:14px;margin:12px 0}.install-dialog p,.install-dialog li{line-height:1.6}.install-dialog ol{padding-left:24px}.install-dialog li{margin-bottom:10px}.install-dialog li svg{vertical-align:middle;margin-right:6px}.install-dialog>.wide{margin-top:10px}.storage-error{border:1px solid var(--danger);background:var(--surface-solid);border-radius:20px;max-width:560px;margin:12px 0;padding:16px}.storage-error p{line-height:1.5}html[data-keyboard=true] .bottom-nav,html[data-keyboard=true] .fab{visibility:hidden}html[data-keyboard=true] .pwa-status{display:none}@media (pointer:coarse){input:not([type=range]):not([type=checkbox]):not([type=color]),textarea,select{font-size:max(16px,1rem)}.icon-button{min-width:44px;min-height:44px}}@media (orientation:landscape) and (max-height:500px){.bottom-nav{min-height:48px;bottom:calc(4px + env(safe-area-inset-bottom));padding:4px 12px}.bottom-nav button{flex-direction:row;justify-content:center}.app-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.install-backdrop{align-items:center}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}:root{--secondary:#586174;--on-primary:#fff;--on-secondary-container:#202632;--secondary-container:#e1e5ee}:root[data-theme=dark]{--secondary:#bcc4d6;--on-primary:#092c6f;--on-secondary-container:#e0e5f0;--secondary-container:#343b49}body{font-family:var(--app-font,system-ui, sans-serif);font-size:1rem;line-height:1.5}.app-shell{padding:0}.topbar{z-index:20;height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(4px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:var(--bg);position:sticky;top:0}.topbar h1{font-size:1.3125rem;font-weight:600;line-height:1.75rem}.header-actions{gap:0}.header-actions .icon-button{width:48px;height:48px}.page{padding:12px max(16px,env(safe-area-inset-right)) calc(120px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));animation:none}.page-home{padding:16px max(18px,env(safe-area-inset-right)) calc(120px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));gap:14px;display:grid}.page-home h2,.page-home p{margin:0}.dashboard-intro h2{font-size:1.5rem;font-weight:600;line-height:1.9375rem}.dashboard-intro p{color:var(--muted);font-size:.875rem;line-height:1.3125rem}.dashboard-progress{background:var(--surface);border-radius:24px;gap:12px;padding:20px;display:grid}.dashboard-progress>header{justify-content:space-between;align-items:center;display:flex}.dashboard-progress h2,.modern-section h2{font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.dashboard-progress header small{color:var(--muted);font-size:.75rem;line-height:1.125rem}.dashboard-total{font-size:2rem;font-weight:400;line-height:2.5rem}.dashboard-progress .progress-track{height:5px}.dashboard-progress p{color:var(--muted)}.dashboard-progress .primary{width:100%;height:50px}.primary,.secondary,.danger-button,.tonal{border-radius:16px;min-height:48px;padding:0 24px;font-size:.875rem;font-weight:500;line-height:1.1875rem}.primary{color:var(--on-primary)}.tonal{background:var(--secondary-container);color:var(--on-secondary-container);justify-content:center;align-items:center;gap:6px;display:flex}.dashboard-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dashboard-actions .tonal{height:50px;padding:0 10px}.modern-section{justify-content:space-between;align-items:center;display:flex}.modern-section .icon-button{width:48px;height:48px;color:var(--text)}.modern-list-row{background:var(--surface);text-align:left;border-radius:18px;align-items:center;gap:12px;width:100%;padding:16px;display:flex}.modern-list-row>svg{color:var(--muted);flex:none}.modern-list-row>span{flex:1;min-width:0}.modern-list-row strong{font-size:1.0625rem;font-weight:600;line-height:1.4375rem;display:block}.modern-list-row small{color:var(--muted);font-size:.75rem;line-height:1.125rem;display:block}.modern-collection-row{background:var(--surface);border-radius:20px;align-items:center;gap:10px;padding:12px 14px;display:flex;position:relative}.collection-main{text-align:left;background:0 0;flex:1;align-items:center;gap:10px;min-width:0;padding:0;display:flex}.collection-main:disabled{opacity:1}.collection-icon{background:var(--surface-2);width:38px;height:38px;color:var(--muted);border-radius:12px;flex:none;place-items:center;display:grid}.collection-copy{gap:2px;min-width:0;display:grid}.collection-copy strong{font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.collection-copy small{color:var(--muted);font-size:.75rem;line-height:1.125rem}.collection-copy>span{color:var(--muted);font-size:.6875rem;font-weight:500;line-height:.9375rem}.collection-copy>*{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.collection-progress{width:34px;color:var(--muted);flex:none;gap:5px;font-size:.6875rem;line-height:.9375rem;display:grid}.collection-progress>div{background:var(--surface-2);height:3px;overflow:hidden}.collection-progress i{background:var(--primary);height:100%;display:block}.collection-more{background:0 0;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid}.collection-drag{width:28px;height:28px;color:var(--muted);touch-action:none;background:0 0;flex:none;place-items:center;padding:3px;display:grid}.collection-menu{z-index:25;background:var(--surface-solid);border:1px solid var(--border);border-radius:4px;min-width:112px;padding:8px 0;position:absolute;top:56px;right:14px;box-shadow:0 3px 8px #0002}.collection-menu button{text-align:left;background:0 0;width:100%;height:48px;padding:0 12px;font-size:.875rem;display:block}.collection-menu button:focus{background:var(--surface-2)}.danger-text{color:var(--danger)}.empty{background:var(--surface);text-align:center;border:0;border-radius:22px;flex-direction:column;align-items:center;min-height:0;margin:0;padding:28px 24px;display:flex}.empty>.icon{box-sizing:content-box;background:var(--accent);width:28px;height:28px;color:var(--primary-strong);border-radius:50%;padding:12px}.empty h3{margin:14px 0 0;font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.empty p{color:var(--muted);margin:5px 0 0;font-size:.875rem;line-height:1.3125rem}.empty>.primary{margin-top:16px}.modern-stack{gap:10px;display:grid}.modern-filter{margin-bottom:10px}.modern-filter>p{color:var(--primary);margin:0 0 6px;font-size:.75rem;font-weight:700;line-height:1.0625rem}.modern-filter .chips{gap:8px;margin:0;padding:0}.modern-filter .chips button{background:var(--surface-2);color:var(--muted);border:0;border-radius:20px;min-height:35px;padding:8px 14px;font-size:.875rem;font-weight:700;line-height:1.1875rem}.modern-filter .chips button.selected{background:var(--accent);color:var(--primary-strong)}.home-filter.chips{gap:8px;margin:0;padding:0}.home-filter.chips button{border:1px solid var(--border);background:0 0;border-radius:8px;min-height:32px;padding:6px 16px;font-size:.875rem;font-weight:500;line-height:1.1875rem}.home-filter.chips button.selected{background:var(--accent);color:var(--primary-strong);border-color:#0000}.modern-filter>.primary{justify-content:center;align-items:center;gap:8px;width:100%;margin-top:0;display:flex}.bottom-nav{width:min(100% - 28px,892px);height:70px;min-height:70px;bottom:calc(8px + env(safe-area-inset-bottom));border-color:color-mix(in srgb,var(--text) 16%,transparent);background:color-mix(in srgb,var(--surface) 72%,transparent);-webkit-backdrop-filter:blur(24px);border-radius:34px;padding:5px;box-shadow:0 8px 20px #0002}.bottom-nav button{height:60px;min-height:60px;color:var(--muted);border-radius:28px;gap:2px;padding:0}.bottom-nav button.active{background:color-mix(in srgb,var(--text) 12%,transparent);color:var(--text)}.bottom-nav button .icon{background:0 0;border-radius:0;width:24px;height:24px;padding:0}.bottom-nav button span{font-size:.6875rem;font-weight:500;line-height:.9375rem}.bottom-nav button.active span{font-weight:700}.fab{width:56px;height:56px;bottom:calc(114px + env(safe-area-inset-bottom));background:var(--primary);color:var(--on-primary);box-shadow:none;border-radius:50%;right:max(16px,50vw - 444px)}.statistics-card.parity-statistics{border-radius:20px;margin:0;padding:20px}.parity-statistics h2{margin:0 0 16px;font-size:1.0625rem;font-weight:700;line-height:1.4375rem}.parity-statistics .statistics-summary{gap:8px}.parity-statistics .statistics-summary>div{background:color-mix(in srgb,var(--secondary) 12%,transparent);color:var(--secondary);border-radius:14px;padding:12px}.parity-statistics .statistics-summary>div:nth-child(2){background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary)}.parity-statistics .statistics-summary>div:nth-child(3){background:color-mix(in srgb,var(--danger) 12%,transparent);color:var(--danger)}.parity-statistics .statistics-summary strong{font-size:1.5rem;font-weight:700;line-height:1.9375rem}.parity-statistics .statistics-summary small{color:inherit;font-size:.75rem;line-height:1.0625rem}.parity-statistics .statistics-caption{color:var(--muted);margin-top:20px;font-size:.75rem;font-weight:700;line-height:1.125rem}.parity-statistics .mastery-track{background:var(--surface);height:14px;margin-top:6px}.parity-statistics .weekly-chart{height:112px;margin-top:12px;padding:0}.parity-statistics .weekly-chart>div{justify-content:end;gap:0;height:100%}.parity-statistics .weekly-chart b{color:var(--primary);margin-bottom:4px;font-size:.625rem;font-weight:500;line-height:.9375rem}.parity-statistics .weekly-chart span{border-radius:6px 6px 0 0;width:14px;min-height:5px}.parity-statistics .weekly-chart small{margin-top:6px;font-size:.6875rem;line-height:.9375rem}.parity-statistics .weekly-chart .zero{background:color-mix(in srgb,var(--border) 40%,transparent)}@media (max-width:359px),(orientation:landscape){.bottom-nav button span{display:none}}html[data-large-text=true] .bottom-nav button span{display:none}@media (orientation:landscape) and (max-height:500px){.bottom-nav{height:70px;min-height:70px;padding:5px}.bottom-nav button{flex-direction:column}}.android-onboarding{background:var(--bg);justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.onboarding-card{background:var(--surface);border-radius:20px;flex-direction:column;align-items:center;gap:18px;width:100%;max-width:880px;max-height:calc(100dvh - 40px);padding:24px;display:flex;overflow:auto}.onboarding-card h1{text-align:center;margin:0;font-size:1.5rem;font-weight:700;line-height:1.9375rem}.onboarding-card>p{text-align:center;color:var(--muted);margin:0;font-size:.875rem;line-height:1.3125rem}.onboarding-flame{background:var(--accent);width:68px;height:68px;color:var(--primary);border-radius:50%;flex:none;place-items:center;display:grid}.android-goal-options{grid-template-columns:repeat(4,1fr);justify-items:center;gap:6px;width:100%;display:grid}.android-filter-chip{border:1px solid var(--border);background:0 0;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:32px;padding:0 16px;font-size:.875rem;font-weight:500;line-height:1.1875rem;display:flex}.android-filter-chip.selected{background:var(--secondary-container);color:var(--on-secondary-container);border-color:#0000}.onboarding-reminder{background:color-mix(in srgb,var(--surface-2) 55%,transparent);border-radius:20px;align-items:center;width:100%;padding:14px;display:flex}.onboarding-reminder>div{flex:1;padding:0 10px}.onboarding-reminder strong{font-size:1rem;line-height:1.5rem;display:block}.onboarding-reminder small{font-size:.6875rem;font-weight:500;line-height:.9375rem;display:block}.onboarding-xp{align-items:center;gap:8px;font-size:1rem;line-height:1.5rem;display:flex}.onboarding-xp svg{color:var(--primary);flex:none}.onboarding-card>.primary{min-height:48px;margin-top:2px;font-weight:700}.android-switch{background:var(--surface-2);border:2px solid #858c98;border-radius:16px;flex:none;align-items:center;width:52px;height:32px;padding:0 6px;transition:background .15s;display:flex}.android-switch>span{background:#858c98;border-radius:50%;place-items:center;width:16px;height:16px;display:grid}.android-switch[aria-checked=true]{border-color:var(--primary);background:var(--primary);justify-content:flex-end;padding:0 2px}.android-switch[aria-checked=true]>span{background:var(--on-primary);width:24px;height:24px;color:var(--primary)}:is(.android-switch:focus-visible,.android-filter-chip:focus-visible){outline:2px solid var(--primary);outline-offset:3px}.android-settings>header{justify-content:flex-start;gap:0}.sheet-wide>header{min-height:calc(48px + env(safe-area-inset-top));height:calc(48px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(4px,env(safe-area-inset-right)) 0 max(4px,env(safe-area-inset-left));background:var(--bg);border-bottom:0}.sheet-wide>header .icon-button{flex:none;width:48px;height:48px}.sheet-wide>header h2{font-size:1.3125rem;font-weight:700;line-height:1.75rem}.sheet-wide>header p{display:none}.sheet-wide>.sheet-body{padding:12px max(16px,env(safe-area-inset-left)) calc(20px + env(safe-area-inset-bottom))}.android-settings{background:var(--bg)}.android-settings-body{overscroll-behavior:contain;min-height:0;padding:6px max(16px,env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));flex-direction:column;flex:1;gap:12px;display:flex;overflow:auto}.android-settings-entry{background:var(--surface);text-align:left;border-radius:18px;flex:none;align-items:center;width:100%;padding:18px;display:flex}.android-settings-entry>span:first-child{flex:1;gap:4px;min-width:0;display:grid}.android-settings-entry strong{font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.android-settings-entry small{color:var(--muted);font-size:.875rem;line-height:1.3125rem}.android-settings-entry>span:last-child{color:var(--muted);font-size:1.5rem;line-height:1.9375rem}.android-settings-section{background:var(--surface);border-radius:20px;flex-direction:column;flex:none;gap:9px;padding:15px;display:flex}.android-settings-section h3{margin:0;font-size:1.0625rem;font-weight:700;line-height:1.4375rem}.android-settings-section p{color:var(--muted);margin:0;font-size:.75rem;line-height:1.125rem}.android-settings-section>.android-body-text{color:var(--text);font-size:1rem;line-height:1.5rem}.android-setting-row{align-items:center;gap:8px;width:100%;min-height:48px;font-size:.875rem;line-height:1.3125rem;display:flex}.android-setting-row>span:first-child{flex:1;min-width:0}.android-number-setting{flex:none;align-items:center;font-size:1rem;line-height:1.5rem;display:flex}.android-number-setting .icon-button{width:48px;height:48px;color:var(--text)}.android-number-setting strong{text-align:center;min-width:20px}.android-theme-options{gap:8px;padding:8px 0;display:flex}.android-theme-options button{flex:1}.android-outlined-field{background:var(--surface-2);border:1px solid #0000;border-radius:16px;flex-direction:column;width:100%;padding:7px 16px 8px;display:flex;position:relative}.android-outlined-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.android-outlined-field>span{color:var(--muted);font-size:.75rem;line-height:1.125rem}.android-outlined-field input,.android-outlined-field select,.android-outlined-field textarea{width:100%;min-width:0;min-height:24px;box-shadow:none;background:0 0;border:0;border-radius:0;outline:none;padding:0;font-size:1rem;line-height:1.5rem}.android-outlined-field select{min-height:30px}.android-outlined-field textarea{resize:vertical}.android-settings-section>.primary,.android-settings-section>.secondary,.android-settings-section>.danger-button{justify-content:center;align-items:center;gap:8px;width:100%;display:flex}.android-button-link{justify-content:center;align-items:center;gap:8px;text-decoration:none;display:flex}.android-text-button{color:var(--primary);background:0 0;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 12px;font-size:.875rem;font-weight:500;line-height:1.1875rem;display:flex}.android-prompt-actions{align-items:center;gap:8px;display:flex}.android-prompt-actions>.primary{flex:1}.android-key-card{border-radius:20px;gap:8px;padding:12px;display:grid}.android-key-card .android-setting-row>div{flex:1}.android-reminder-time{background:var(--surface-2);border-radius:12px;align-items:center;padding:4px 4px 4px 14px;display:flex}.android-reminder-time strong{flex:1;font-size:1.0625rem;line-height:1.4375rem}.android-reminder-time .icon-button{width:48px;height:48px}.android-speed{gap:9px;font-size:1rem;line-height:1.5rem;display:grid}.android-speed input{width:100%;accent-color:var(--primary)}.android-settings-status{color:var(--primary);font-size:.875rem;line-height:1.3125rem}.android-settings .danger-button{color:#410002;background:#ffdad6}.nested-dialog-backdrop{padding:12px max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-bottom));align-items:flex-end}.nested-dialog{background:var(--surface);border-radius:28px;width:min(100%,560px);max-height:min(640px,100dvh - 24px);padding:22px}.android-alert{flex-direction:column;gap:16px;display:flex;overflow:auto}.android-alert:before{content:"";background:var(--border);border-radius:2px;flex:none;align-self:center;width:36px;height:4px;display:block}.android-alert h3{margin:0;font-size:1.3125rem;font-weight:600;line-height:1.75rem}.android-alert p{color:var(--muted);margin:0;font-size:.875rem;line-height:1.3125rem}.android-dialog-actions{justify-content:flex-end;gap:8px;display:flex}@media (max-width:359px){.android-onboarding{padding:12px}.onboarding-card{max-height:calc(100dvh - 24px);padding:16px}.android-goal-options{grid-template-columns:repeat(2,1fr)}}@media (max-height:640px),(orientation:landscape){.onboarding-card{padding:16px}}html[data-large-text=true] .android-goal-options{grid-template-columns:repeat(2,1fr)}.sheet-backdrop:not(.page-backdrop){padding:12px max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-bottom));-webkit-backdrop-filter:none;backdrop-filter:none;background:#0005;align-items:flex-end}.sheet:not(.sheet-wide){width:min(100%,560px);max-height:min(640px,100dvh - 24px);box-shadow:none;background:var(--surface);border-radius:28px;flex-direction:column;margin-bottom:0;padding:22px;display:flex}.android-dialog-handle{background:var(--border);border-radius:2px;flex:none;align-self:center;width:36px;height:4px;margin-bottom:16px}.sheet:not(.sheet-wide)>header{border:0;flex:none;min-height:0;margin-bottom:16px;padding:0}.sheet:not(.sheet-wide)>header p{display:none}.sheet:not(.sheet-wide)>header h2{font-size:1.3125rem;font-weight:600;line-height:1.75rem}.sheet:not(.sheet-wide):has(.folder-form)>header h2{font-size:1.0625rem;font-weight:700;line-height:1.4375rem}.sheet:not(.sheet-wide)>.sheet-body{min-height:0;max-height:none;padding:0}.folder-form{gap:12px}.folder-form fieldset{border:0;gap:12px;padding:0;display:grid}.folder-form legend{color:var(--primary);margin-bottom:12px;padding:0;font-size:.75rem;font-weight:700;line-height:1.0625rem}.folder-form .android-outlined-field{border-radius:12px}.folder-form .android-outlined-field>input{min-height:24px}.android-destination{grid-template-columns:1fr 1fr;gap:8px;display:grid}.android-destination>label{border:1px solid #858c98;border-radius:16px;flex-direction:column;justify-content:center;gap:0;min-width:0;min-height:64px;padding:8px 14px;display:flex}.android-destination>label>span{color:var(--primary);font-size:.6875rem;line-height:.9375rem}.android-destination select{background:0 0;border:0;border-radius:0;width:100%;min-height:24px;padding:0;font-size:1rem;line-height:1.5rem}.scan-page{grid-template-rows:auto;align-content:start;gap:16px;min-height:calc(100dvh - 98px);margin:6px 4px 0}.scan-source-list{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.scan-source-list>button{background:var(--secondary-container);height:48px;min-height:48px;color:var(--on-secondary-container);border:0;border-radius:14px;justify-content:center;padding:0}.scan-warning{color:#410002;background:#ffdad6;border-radius:20px;margin:0;padding:14px;font-size:1rem;line-height:1.5rem}.scan-empty{margin-top:24px}.scan-empty>svg{color:var(--primary)}.manual-card-editor{background:var(--surface);border:0;border-radius:20px;gap:12px;padding:16px}.manual-card-head{grid-template-columns:1fr auto auto;gap:0;display:grid}.manual-card-head>strong{font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.manual-card-head .icon-button{width:48px;height:48px}.manual-card-head .delete-draft-icon{color:var(--danger)}.manual-card-editor .compact-fields{grid-template-columns:1fr 1.5fr;gap:12px}.manual-card-editor label{background:var(--surface-2);border:1px solid #0000;border-radius:16px;flex-direction:column;gap:0;min-width:0;padding:8px 16px;display:flex}.manual-card-editor label:focus-within{border-color:var(--primary)}.manual-card-editor label>span{color:var(--muted);font-size:.75rem;line-height:1.125rem}.manual-card-editor input,.manual-card-editor textarea{background:0 0;border:0;border-radius:0;outline:none;width:100%;min-height:24px;padding:0;font-size:1rem;line-height:1.5rem}.manual-card-editor textarea{resize:vertical;min-height:48px}.save-location-card{background:var(--surface);border-radius:20px;padding:14px}.android-flashcard{height:440px;min-height:440px;box-shadow:none;background:var(--surface);border:0;border-radius:24px;padding:24px}.android-flashcard>header button{width:48px;height:48px}.android-flashcard>header>span:first-child{font-size:.75rem;font-weight:500;line-height:1.0625rem}.card-center h2{color:var(--muted);font-size:2.25rem;font-weight:700;line-height:2.5rem}.card-center p{margin:8px 0 0;font-size:1.0625rem;font-weight:600;line-height:1.4375rem}.card-center .speak-pill{margin-top:20px;font-size:1rem;font-weight:500}.android-flashcard>small{font-size:.75rem;font-weight:400;line-height:1.125rem}.android-flashcard.back>header>span:first-child{background:0 0;padding:0;font-size:1.0625rem;line-height:1.4375rem}.card-back-content h3{font-size:1.5rem;font-weight:700;line-height:1.9375rem}.card-back-content{min-height:0;overflow:auto}@media (max-width:359px),(max-height:640px){.android-flashcard{padding:16px}.card-center h2{font-size:1.75rem}}@media (max-height:639px){.android-flashcard{height:350px;min-height:350px}}@media (orientation:landscape){.android-flashcard{height:280px;min-height:280px;padding:16px}.card-center h2{font-size:1.75rem}}html[data-large-text=true] .android-flashcard{height:420px;min-height:420px;padding:16px}.app-shell:has(>.sheet-backdrop.page-backdrop){height:100dvh;overflow:hidden}.sheet-wide:not(.android-settings)>header h2{font-size:1.0625rem;font-weight:700;line-height:1.4375rem}.android-setting-row:has(.android-number-setting){font-size:1rem;line-height:1.5rem}:root{--error-container:#ffdad6;--on-error-container:#410002;--outline:#858c98}:root[data-theme=dark]{--error-container:#93000a;--on-error-container:#ffdad6;--outline:#8e959f}.scan-warning,.android-settings .danger-button{background:var(--error-container);color:var(--on-error-container)}.bottom-nav{background:color-mix(in srgb,var(--surface-solid) 55%,transparent);grid-template-rows:minmax(0,1fr);height:70px;min-height:70px;padding:5px}.bottom-nav button{justify-content:center;height:58px;min-height:0}.bottom-nav button.active .icon,.bottom-nav button .icon{width:24px;height:24px;min-height:0;color:inherit;background:0 0;border-radius:0}.modern-collection-row{transition:box-shadow .15s,transform .15s}.modern-collection-row.collection-lifted{background:var(--surface-solid);will-change:transform;transition:box-shadow .15s;box-shadow:0 12px 28px #0004}.collection-drag{cursor:grab}.collection-lifted .collection-drag{cursor:grabbing}.flip-perspective{perspective:1400px}.flip-rotor{height:440px;transform-style:preserve-3d;outline:none;transition:transform .5s cubic-bezier(.4,0,.2,1);position:relative}.flip-rotor.is-flipped{transform:rotateY(180deg)}.flip-rotor:focus-visible{outline:2px solid var(--primary);border-radius:24px}.flip-face{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute;inset:0}.flip-face.back{transform:rotateY(180deg)}.swipe-card-wrap{transition:none}.swipe-card-wrap:not(:active){transition:transform .15s}@media (max-height:639px){.flip-rotor{height:350px}}@media (orientation:landscape){.flip-rotor{height:280px}}html[data-large-text=true] .flip-rotor{height:420px}.ai-sheet>.sheet-body{padding:6px 12px max(8px,env(safe-area-inset-bottom));display:flex;overflow:hidden}.ai-sheet .chat{flex:1;grid-template-rows:minmax(0,1fr) auto auto;gap:8px;width:100%;min-width:0;height:100%;min-height:0;display:grid}.ai-sheet .chat-messages{overscroll-behavior:contain;min-width:0;min-height:0;padding:12px 0}.ai-sheet .message{flex:none;max-width:92%;padding:13px;font-size:1rem}.ai-sheet .composer{grid-template-columns:minmax(0,1fr) 48px;align-items:end;min-width:0;padding-bottom:0}.ai-sheet .composer textarea{border:0;border-radius:20px;width:100%;min-width:0;height:56px;min-height:56px;padding:12px 14px}.ai-sheet .send{width:48px;height:48px;color:var(--on-primary);border-radius:50%}.ai-sheet .assistant-scope{gap:4px 8px;padding:6px 10px}.ai-sheet .assistant-scope small{display:none}.add-card-sheet>.sheet-body{padding:6px 14px max(14px,env(safe-area-inset-bottom))}.add-card-sheet .card-form{gap:8px;padding-bottom:80px}.add-card-sheet .save-location-card{border-radius:18px;gap:8px;margin-top:4px;padding:14px;display:grid}.save-location-card>div:first-child{flex-direction:column;gap:2px;display:flex}.save-location-card strong{color:var(--primary);font-size:.875rem}.save-location-card small{color:var(--muted);font-size:.6875rem}.add-card-sheet .insert-card-divider{min-height:32px;margin:2px 0;font-size:.75rem}.card-save-footer{background:var(--bg);z-index:4;padding:8px 0;position:sticky;bottom:0}.add-card-fab,.manage-fab{width:56px;height:56px;bottom:calc(20px + env(safe-area-inset-bottom));border-radius:50%}.manage-body{height:auto;padding:6px 16px max(16px,env(safe-area-inset-bottom));gap:8px}.manage-title p{display:none}.manage-toolbar .search-box{background:var(--surface-2);border:0;border-radius:28px;min-height:50px}.manage-card-list{gap:10px;padding-bottom:80px}.manage-card-list article{border:0;border-radius:20px;flex-direction:column;align-items:stretch;gap:8px;min-height:0;padding:16px;display:flex}.manage-card-top{align-items:center;gap:4px;min-width:0;display:flex}.manage-card-top .card-content{flex:1;min-width:0}.manage-card-top .card-content strong{font-size:1.375rem;font-weight:400;line-height:1.75rem}.manage-card-top .card-content small{color:var(--muted);font-size:.75rem;line-height:1.125rem}.manage-card-list article>p{margin:0;font-size:1rem}.manage-card-list article>small{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.875rem;display:-webkit-box;overflow:hidden}.manage-top-actions{margin-left:auto;display:flex}.manage-top-actions .icon-button{width:48px;height:48px}.manage-selectors{grid-template-columns:1fr 1fr;gap:8px;padding:4px 0 8px;display:grid}.manage-selectors select{background:var(--surface-2);border:0;border-radius:12px;width:100%;min-width:0;height:44px;padding:0 12px;font-size:.8125rem;font-weight:600}.manage-start-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.compact-chips{flex-shrink:0;overflow-x:auto}.compact-chips button{white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;min-width:96px}.compact-chips button.selected{border-color:var(--primary);background:0 0}.lookup-screen>header{gap:0;height:auto;min-height:64px;padding-left:0}.lookup-search{background:var(--surface-2);border-radius:28px;flex:1;align-items:center;min-width:0;height:56px;margin:4px 12px 4px 0;display:flex}.lookup-search input{background:0 0;border:0;outline:0;flex:1;width:100%;min-width:0;padding:0 12px;font-size:1rem}.lookup-search button{flex:none}.lookup-body{flex-direction:column;gap:10px;padding:6px 16px 20px;display:flex}.lookup-body h3{margin:0;font-size:1.0625rem;font-weight:600}.lookup-history-heading,.lookup-history,.lookup-result>div:first-child{justify-content:space-between;align-items:center;gap:8px;display:flex}.lookup-history-heading button{color:var(--primary);background:0 0}.lookup-history>button:not(.icon-button){text-align:left;background:0 0;flex:1;padding:12px}.lookup-local{background:var(--surface);text-align:left;border-radius:20px;flex-direction:column;gap:4px;padding:14px;display:flex}.lookup-local strong{font-size:1.375rem}.lookup-local span,.lookup-local small{color:var(--muted)}.lookup-local p{margin:0}.lookup-result{background:var(--surface);border-radius:20px;flex-direction:column;gap:8px;padding:18px;display:flex}.lookup-result h2,.lookup-result p{margin:0}.lookup-result h2{font-size:1.5rem}.lookup-result small,.lookup-external{color:var(--muted);font-size:.75rem}.lookup-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.lookup-actions button{justify-content:center;align-items:center;gap:6px;padding:0 12px;display:flex}.lookup-external{padding-top:8px}.lookup-external a{color:var(--primary);margin:0 16px 8px 0;display:inline-block}.edit-card-dialog .form-grid{grid-template-columns:1fr 1.5fr;gap:12px}.edit-card-dialog .form>label:not(.toggle),.edit-card-dialog .form-grid>label{background:var(--surface-2);border-radius:16px;gap:0;padding:8px 16px}.edit-card-dialog label>span{color:var(--muted);font-size:.75rem}.edit-card-dialog input:not([type=checkbox]),.edit-card-dialog textarea{background:0 0;border:0;border-radius:0;outline:0;width:100%;min-height:24px;padding:0}.edit-card-dialog textarea{min-height:48px}.sheet-wide{background:var(--bg)}.ai-sheet>header,.add-card-sheet>header,.manage-sheet>header{background:var(--surface)}.topbar-ai-action{color:var(--primary);background:0 0}.ai-sheet .send{place-items:center;padding:0;display:grid}.assistant-scope select,.manage-selectors select,.android-destination select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23858C98' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");background-position:right 6px center;background-repeat:no-repeat;padding-right:24px}.add-card-sheet .save-location-card{border:0}.save-location-card .android-destination select{height:24px;min-height:24px;box-shadow:none;background-color:#0000;border:0;border-radius:0;padding:0 24px 0 0}.save-location-card .android-destination label>span{font-weight:400}.manual-card-editor input:focus,.manual-card-editor textarea:focus,.edit-card-dialog input:focus,.edit-card-dialog textarea:focus{box-shadow:none;border:0}.manual-card-editor label>span{font-weight:400}.card-save-footer{min-height:72px;padding-right:72px}.card-save-footer button{padding:0 12px}.compact-chips button.selected{color:var(--primary)}.ai-sheet>header{height:calc(64px + env(safe-area-inset-top));min-height:calc(64px + env(safe-area-inset-top))}.ai-sheet>header h2{font-size:1.375rem;line-height:1.75rem}.ai-sheet>header p{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.6875rem;line-height:1rem;display:block;overflow:hidden}.ai-sheet .composer{grid-template-columns:minmax(0,1fr) 52px}.ai-sheet .send{border-radius:16px;width:52px;height:52px}.assistant-welcome{flex-direction:column;gap:14px;padding:24px 0;display:flex}.assistant-welcome>svg{color:var(--primary)}.assistant-welcome h2{margin:0;font-size:1.5rem;font-weight:400;line-height:1.9375rem}.assistant-welcome p{color:var(--muted);margin:0}.assistant-welcome>.primary{align-self:flex-start}.lookup-source-selector{flex-direction:column;gap:4px;margin:4px 0 8px;display:flex}.lookup-source-selector>span{color:var(--muted);font-size:.75rem}.lookup-source-selector select{background:var(--surface-2);border:0;border-radius:12px;width:100%;min-height:48px;padding:8px 12px}.card-action-menu{z-index:100;background:var(--surface-solid);border:1px solid var(--border);border-radius:12px;width:220px;padding:8px 0;position:fixed;box-shadow:0 5px 20px #0003}.card-action-menu button{text-align:left;background:0 0;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 16px;font-size:1rem;display:flex}:is(.card-action-menu button:hover,.card-action-menu button:focus-visible){background:var(--surface-2);outline:none}.card-action-menu .danger-text{color:var(--danger)}.manual-card-group{scroll-margin-top:12px}.manual-card-group.editor-target .manual-card-editor{outline:2px solid var(--primary);outline-offset:-2px}.android-destination>label,.android-switch{border-color:var(--outline)}.android-switch>span{background:var(--outline)}.android-switch[aria-checked=true]{border-color:var(--primary)}.android-switch[aria-checked=true]>span{background:var(--on-primary)}.document-scan-overlay{z-index:140;background:var(--bg,#f5f6f8);height:100dvh;color:var(--text,#171b23);flex-direction:column;display:flex;position:fixed;inset:0}.document-scan-overlay>header{background:var(--surface,#fff);flex-shrink:0;align-items:center;gap:12px;padding:8px 16px;display:flex}.document-scan-overlay h2{margin:0;font-size:22px}.document-scan-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.document-corner-host{background:#161b25;border-radius:16px;width:100%;height:min(52dvh,480px);min-height:230px;position:relative;overflow:hidden}.document-scan-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.document-scan-actions>button{flex:1;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:10px;display:flex}.document-pages h3{font-size:16px}.document-pages article{background:var(--surface,#fff);border-radius:12px;align-items:center;gap:12px;margin:8px 0;padding:8px;display:flex}.document-pages article img{object-fit:contain;background:#e9ecf1;width:70px;height:90px}.document-pages article span{flex:1}.document-scan-overlay>footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--surface,#fff);flex-shrink:0;gap:8px;display:grid}.document-scan-overlay>footer small{text-align:center;font-size:11px}.live-camera-viewport{background:#101620;border-radius:16px;height:min(48dvh,440px);min-height:200px;position:relative;overflow:hidden}.live-camera-viewport video,.live-camera-outline{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.live-camera-outline{pointer-events:none}.live-document-camera .live-shutter{justify-content:center;align-items:center;gap:10px;width:100%;min-height:52px;margin:12px 0;display:flex}.add-card-sheet .topbar-ai-action{white-space:nowrap;flex-shrink:0;width:auto;padding:0 8px}.add-card-sheet .topbar-ai-action span:not(.spinner){display:inline}@media (max-width:360px){.add-card-sheet .topbar-ai-action{padding:0 6px;font-size:12px}.add-card-sheet .sheet-title h2{font-size:20px}}.browser-entry{background:var(--bg);min-height:100dvh;padding:20px 16px max(20px,env(safe-area-inset-bottom));color:var(--text);place-items:center;display:grid}.browser-entry-card{background:var(--surface-solid);width:min(100%,440px);box-shadow:var(--shadow);border-radius:24px;gap:14px;padding:24px;display:grid}.browser-entry-card h1{margin:0;font-size:24px}.browser-entry-card p{margin:0;line-height:1.6}.browser-entry-card small{color:var(--muted);font-size:12px;line-height:1.6}.entry-brand{color:var(--primary);font-size:18px;font-weight:900}.entry-platform-icon{color:var(--primary)}.browser-entry-card a.primary{text-align:center;justify-content:center;min-height:48px;padding:12px}.browser-entry-card>button{min-height:48px}.fullscreen-launch{z-index:150;left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom));background:var(--surface-solid);border:1px solid var(--border);max-width:420px;box-shadow:var(--shadow);border-radius:20px;gap:10px;margin:auto;padding:16px;display:grid;position:fixed}.fullscreen-launch p{margin:0}.fullscreen-launch button{justify-content:center;align-items:center;gap:6px;min-height:44px;display:flex}.browser-notice{z-index:160;left:12px;right:12px;top:max(12px,env(safe-area-inset-top));background:var(--surface-solid);border:1px solid var(--border);max-width:500px;box-shadow:var(--shadow);border-radius:14px;align-items:center;gap:8px;margin:auto;padding:10px 12px;font-size:13px;display:flex;position:fixed}.browser-notice span{flex:1}.safari-animation{justify-items:center;gap:10px;display:grid}.install-demo-phone{color:#17202b;background:#eff3fa;border:6px solid #17202b;border-radius:28px;width:186px;height:290px;position:relative;overflow:hidden;box-shadow:0 8px 20px #10203026}.demo-island{z-index:4;background:#17202b;border-radius:16px;width:57px;height:13px;position:absolute;top:5px;left:58px}.demo-app strong{font-size:20px}.demo-app>div{background:#fff;border:1px solid #dfe6ef;border-radius:10px;height:31px;margin-top:12px}.demo-browserbar{background:#dce4ef;justify-content:space-between;align-items:center;gap:6px;height:34px;padding:0 9px;font-size:11px;display:flex;position:absolute;bottom:0;left:0;right:0}.demo-more-sheet,.demo-share-sheet{background:#fff;border-radius:20px 20px 0 0;height:123px;padding:14px 10px;animation:10s infinite demo-more;position:absolute;bottom:0;left:0;right:0;transform:translateY(105%)}.demo-more-sheet>strong,.demo-share-sheet>strong{font-size:13px}.demo-more-sheet>div,.demo-share-sheet>div{background:#eef2f8;border-radius:10px;align-items:center;gap:8px;margin-top:16px;padding:10px 5px;font-size:12px;display:flex}.demo-share-sheet{height:155px;animation-name:demo-share}.demo-success{opacity:0;background:#fff;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:12px;animation:10s infinite demo-success;display:flex;position:absolute;inset:40px 9px 30px}.demo-success span{font-size:10px}.demo-success b{color:#fff;background:#245dea;border-radius:12px;padding:5px 28px}.demo-hand{z-index:8;filter:drop-shadow(0 2px 2px #0003);width:42px;height:54px;animation:10s infinite demo-hand;position:absolute;top:250px;left:142px}.demo-tap-ring{opacity:0;z-index:7;border:3px solid #245dea;border-radius:50%;width:21px;height:21px;animation:10s infinite demo-ring;position:absolute;top:245px;left:140px}.install-steps{justify-self:start;margin:0;padding-left:22px;font-size:13px;line-height:1.8}.safari-animation .hint{font-size:11px}.safari-animation .android-text-button{min-height:36px;font-size:12px}@keyframes demo-more{0%,18%{opacity:0;transform:translateY(12px)}22%,39%{opacity:1;transform:translateY(0)}43%,to{opacity:0;transform:translateY(12px)}}@keyframes demo-share{0%,39%{transform:translateY(105%)}46%,64%{transform:translateY(0)}70%,to{transform:translateY(105%)}}@keyframes demo-success{0%,66%{opacity:0;transform:translateY(105%)}73%,93%{opacity:1;transform:translateY(0)}98%,to{opacity:0;transform:translateY(105%)}}@keyframes demo-hand{0%,6%{opacity:0;top:458px;left:192px}10%,17%{opacity:1;top:458px;left:192px}28%,37%{opacity:1;top:273px;left:124px}53%,63%{opacity:1;top:347px;left:114px}72%,77%{opacity:0;top:215px;left:184px}81%,90%{opacity:1;top:59px;left:187px}95%,to{opacity:0;top:59px;left:187px}}@keyframes demo-ring{0%,10%,18%,29%,39%,55%,65%,83%,93%,to{opacity:0;transform:scale(.7)}14%{opacity:.8;top:442px;left:198px;transform:scale(1.3)}34%{opacity:.8;top:268px;left:130px;transform:scale(1.3)}60%{opacity:.8;top:342px;left:120px;transform:scale(1.3)}88%{opacity:.8;top:54px;left:193px;transform:scale(1.3)}}.animation-paused *{animation-play-state:paused!important}@media (prefers-reduced-motion:reduce){.safari-animation *{animation:none!important}.demo-hand,.demo-tap-ring{display:none}.demo-share-sheet{transform:translateY(0)}}.install-demo-phone{color:#111;background:#fff;border:6px solid #252524;border-radius:38px;flex-shrink:0;width:240px;height:500px;font-family:Arial,sans-serif;box-shadow:0 0 0 2px #baa491,0 10px 24px #10203026}.demo-island{z-index:6;width:107px;height:20px;top:9px;left:58px}.demo-statusbar{z-index:5;justify-content:space-between;align-items:center;height:36px;padding:0 17px;font-size:9px;display:flex;position:relative}.demo-statusbar>span{gap:3px;font-size:13px;display:flex}.demo-app{padding:0 10px}.demo-app header{justify-content:space-between;align-items:center;height:32px;font-size:13px;display:flex}.demo-app header strong{color:#ff4056;font-size:17px}.demo-app>.demo-hero{color:#244672;background:linear-gradient(135deg,#f2e0cf,#b8d4fa);border:0;border-radius:0;height:115px;margin:0;padding:26px 12px;font-size:16px;font-weight:700}.demo-hero span{letter-spacing:1px;margin-top:10px;font-size:7px;display:block}.demo-app>b{margin:12px 0 17px;font-size:10px;line-height:1.5;display:block}.demo-app>.demo-article{background:0 0;border:0;border-bottom:1px solid #ddd;border-radius:0;gap:10px;height:63px;margin:0;padding:9px 0;display:flex}.demo-article i{background:linear-gradient(140deg,#cbd9cf,#8ba2bc);border-radius:3px;flex-shrink:0;width:61px}.demo-article span{font-size:9px;line-height:1.4}.demo-article small{margin-top:3px;font-size:8px;display:block}.demo-browserbar{background:0 0;gap:5px;height:32px;padding:0;font-size:9px;bottom:8px;left:9px;right:9px}.demo-back,.demo-more-target{background:#f7f7f3db;border-radius:50%;place-items:center;width:27px;height:27px;font-size:17px;display:grid;box-shadow:0 1px 7px #0001}.demo-address{background:#f7f7f3dc;border-radius:20px;flex:1;justify-content:space-between;align-items:center;padding:8px;font-size:9px;display:flex}.demo-address svg{font-size:12px}.demo-more-target{animation:16s infinite demo-more-highlight;position:relative}.demo-more-sheet{-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);opacity:0;background:#f9f9f9ec;border-radius:16px;width:148px;height:186px;padding:5px 7px;font-size:9px;animation:16s infinite demo-more;bottom:39px;left:auto;right:7px;transform:translateY(12px);box-shadow:0 4px 20px #0002}.demo-more-sheet>.demo-menu-row{background:0 0;border-radius:0;align-items:center;gap:7px;height:26px;margin:0;padding:0 4px;font-size:9px;display:flex}.demo-menu-row svg{flex-shrink:0;font-size:12px}.demo-menu-divider{border-top:1px solid #ddd;height:30px!important;margin-top:5px!important;padding-top:4px!important}.demo-more-sheet footer{border-top:1px solid #ddd;justify-content:space-around;padding-top:8px;font-size:7px;display:flex}.demo-more-sheet footer span{justify-items:center;gap:3px;display:grid}.demo-more-sheet footer svg{font-size:12px}.demo-share-target{outline-offset:-1px;outline:2px solid #ff4a55}.demo-share-sheet{opacity:1;background:#fff;border-radius:20px 20px 0 0;height:449px;padding:12px 10px;animation:16s infinite demo-share;bottom:0;left:0;right:0;transform:translateY(105%);box-shadow:0 -15px #0002}.demo-share-sheet>.demo-share-header{background:0 0;border-radius:0;align-items:flex-start;gap:8px;height:63px;margin:0;padding:0 5px 11px;font-size:9px;display:flex}.demo-site-icon{color:#245dea;background:#fff;border:1px solid #eee;border-radius:9px;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:22px;font-weight:800;display:grid;box-shadow:0 1px 4px #0001}.demo-share-header>div{flex:1;line-height:1.5}.demo-share-header small{color:#888;font-size:8px;display:block}.demo-share-header>div>span{margin-top:6px;font-size:8px;display:block}.demo-sheet-close{background:#f8f8fa;border-radius:50%;width:23px;height:23px;padding:3px;box-shadow:0 1px 10px #0001}.demo-share-sheet>.demo-share-apps,.demo-share-sheet>.demo-shortcuts{background:0 0;border-top:1px solid #eee;border-radius:0;justify-content:space-around;gap:9px;margin:0;padding:9px 0;font-size:9px;display:flex}.demo-share-apps>div,.demo-shortcuts>div{text-align:center;align-content:start;justify-items:center;gap:5px;width:43px;display:grid}.demo-share-apps small,.demo-shortcuts small{font-size:7px;line-height:1.25}.demo-app-icon{color:#fff;background:linear-gradient(#53aaff,#007bff);border-radius:9px;place-items:center;width:36px;height:36px;font-size:27px;font-style:normal;display:grid}.demo-app-icon-1{background:radial-gradient(circle at 25% 100%,#ffd550,#f72b70 55%,#a600ec 80%)}.demo-app-icon-2{background:linear-gradient(#00e861,#00c748)}.demo-app-icon-3{background:linear-gradient(#66d5f5,#008cff)}.demo-shortcuts i{background:#ededee;border-radius:50%;place-items:center;width:35px;height:35px;font-size:20px;font-style:normal;display:grid}.demo-share-sheet>.demo-share-actions{background:#eee;border-radius:14px;margin:7px 0 0;padding:0 7px;font-size:10px;display:block}.demo-share-actions>div{border-bottom:1px solid #d8d8d8;align-items:center;gap:7px;height:27px;display:flex}.demo-share-actions>div:last-child{border:0}.demo-share-actions svg{flex-shrink:0;font-size:15px}.demo-home-target{outline-offset:1px;outline:3px solid #ff4a55}.demo-extra-actions{margin-top:11px!important}.demo-success{opacity:0;background:#f2f2f7;border-radius:20px 20px 0 0;height:449px;animation:16s infinite demo-success;display:block;inset:auto 0 0;box-shadow:0 -15px #0002}.demo-success header{border-bottom:1px solid #ddd;justify-content:space-between;align-items:center;height:46px;padding:0 9px;font-size:10px;display:flex}.demo-success header>svg{background:#fff;border-radius:50%;width:25px;height:25px;padding:4px}.demo-success header>b{color:#fff;background:#008bff;border-radius:20px;padding:7px;font-size:9px}.demo-name-row{background:#fff;align-items:center;gap:10px;height:52px;margin-top:9px;padding:6px 10px;display:flex}.demo-name-row>div{flex:1;align-self:stretch}.demo-name-row b{border-bottom:1px solid #eee;height:24px;font-size:10px;font-weight:400;display:block}.demo-name-row small{color:#c2c2c6;font-size:8px}.demo-caret{vertical-align:middle;border-left:1px solid #008bff;height:11px;margin-left:2px;display:inline-block}.demo-webapp-target{background:#fff;outline:3px solid #ff4a55;justify-content:space-between;align-items:center;margin:25px 7px 0;padding:7px;font-size:10px;display:flex}.demo-webapp-target i{background:#00c955;border-radius:15px;width:33px;height:18px;position:relative}.demo-webapp-target i:after{content:"";background:#fff;border-radius:50%;width:14px;height:14px;position:absolute;top:2px;right:2px}.demo-success .demo-webapp-target span{font-size:10px}.demo-success>p{color:#999;margin:6px 8px!important;font-size:7px!important}.demo-keyboard{background:#dfe0e5;border-radius:12px 12px 0 0;height:184px;padding:0 4px;position:absolute;bottom:0;left:0;right:0}.demo-suggestions{place-items:center;height:27px;font-size:11px;display:grid}.demo-key-row{gap:3px;height:23px;margin-bottom:4px;display:flex}.demo-key-row span{text-align:center;background:#fff;border-radius:4px;flex:1;font-size:12px;line-height:23px;box-shadow:0 1px #bbb}.demo-key-bottom{gap:4px;height:24px;display:flex}.demo-key-bottom span{background:#fff;border-radius:4px;padding:5px;font-size:9px}.demo-key-bottom span:nth-child(3){text-align:center;flex:1}.demo-key-bottom b{text-align:center;color:#fff;width:49px;background:#008bff!important;border-radius:5px!important;padding:3px!important}.demo-keyboard footer{justify-content:space-between;padding:8px 9px;font-size:16px;display:flex}.demo-keyboard footer span{font-size:16px}.demo-hand{z-index:8;width:37px;height:47px;animation:16s infinite demo-hand;top:450px;left:192px}.demo-tap-ring{z-index:7;width:23px;height:23px;animation:16s infinite demo-ring;top:450px;left:198px}.install-steps{padding-left:22px;list-style:decimal}@keyframes demo-more-highlight{0%,7%,18%,to{outline:0 solid #0000}10%,16%{outline:3px solid #ff4a55}}@media (prefers-reduced-motion:reduce){.demo-more-sheet,.demo-success{display:none}.demo-share-sheet{transform:translateY(0)}.demo-more-target{outline:none}}.demo-success .demo-name-row b{color:#111;background:0 0;border-radius:0;padding:0}
