@font-face{font-family:Geologica;src:url(/fonts/Geologica-Variable.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Geologica;src:url(/fonts/Geologica-IPA.woff2) format("woff2");font-style:normal;font-weight:100 900;font-display:swap;unicode-range:U+02BB,U+0259,U+0252,U+025C,U+0261,U+026A,U+0283,U+028A,U+028C,U+0292,U+02C8,U+02CC,U+02D0}@font-face{font-family:Pixelify Sans;src:url(/fonts/PixelifySans-Variable.woff2) format("woff2");font-style:normal;font-weight:400 700;font-display:swap}:root{--ink: #1D2424;--bg: #FAF4E8;--blue: #0D7A78;--sun: #D99B52;--green: #2F8B72;--coral: #FF2E7E;--purp: #6C63B5;--surface: #FFFDF8;--surface-raised: #FFFDF8;--surface-muted: #F2E8D5;--surface-card: var(--surface);--border: #DCCFB8;--border-strong: #C4B298;--text: #1D2424;--text-muted: #5F665F;--blue-deep: #085E5C;--sun-deep: #A96F2F;--green-deep: #1F6B57;--coral-deep: #C00058;--purp-deep: #4E478F;--focus-ring: #0D7A78;--micro-accent: #FF2E7E;--overlay: rgba(29, 36, 36, .42);--info-surface: #E5F0EE;--info-border: #B8DAD5;--warning-surface: #F7EAD7;--warning-border: #E3C79E;--success-surface: #E3F1EA;--success-border: #B7D8C7;--danger-surface: #FFE6EF;--danger-border: #F4B8CE;--iella-ink: #2B4A45;--iella-beak: #C97A3A;--iella-cream: #F5E6C8;--iella-brown: #8A5A32;--iella-eye: #17201E;--hero-text: #FAF4E8;--hero-muted: rgba(250, 244, 232, .84);--auth-panel: #0D7A78;--auth-panel-text: #FAF4E8;--auth-panel-muted: #CFE9E5;--auth-scrim: rgba(8, 48, 46, .48);--auth-illustration-opacity: .9;--bg-image: radial-gradient(rgba(29, 36, 36, .055) 1px, transparent 1px);--bg-size: 18px 18px;--font-family: "Geologica", "Avenir Next", "Segoe UI", sans-serif;--font-pixel: "Pixelify Sans", "Geologica", "Avenir Next", sans-serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--radius-sm: 10px;--radius-md: 14px;--radius-lg: 20px;--radius-xl: 24px;--tap: 44px;--ink-primary: var(--text);--accent-primary: var(--blue);--accent-text: var(--action-ghost-text);--action-primary-bg: #0D7A78;--action-primary-text: #FAF4E8;--action-danger-bg: #B00050;--action-danger-text: #FAF4E8;--action-ghost-text: #0A6C6A;color-scheme:light}:root[data-theme=dark]{--bg: #161210;--surface: #201A17;--surface-raised: #28211D;--surface-muted: #2E2621;--surface-card: var(--surface);--border: #45382E;--border-strong: #6A5644;--text: #EFE6D5;--text-muted: #C8B89F;--blue: #2B9AF3;--sun: #D99B52;--green: #4CC9A0;--coral: #FF7A9E;--purp: #8E7DFF;--blue-deep: #1E79C4;--sun-deep: #A96F2F;--green-deep: #2E9C7A;--coral-deep: #C34661;--purp-deep: #6252B5;--focus-ring: #4DB2FF;--micro-accent: #D99B52;--overlay: rgba(0, 0, 0, .66);--info-surface: #1B2C3B;--info-border: #2E526D;--warning-surface: #332717;--warning-border: #5D4622;--success-surface: #17332B;--success-border: #2D5D4D;--danger-surface: #351F25;--danger-border: #66343F;--iella-ink: #C9A87B;--iella-beak: #E0A35C;--iella-cream: #EFE6D5;--iella-brown: #A97A4B;--iella-eye: #161210;--hero-text: #EFE6D5;--hero-muted: rgba(239, 230, 213, .84);--auth-panel: #143141;--auth-panel-text: #EFE6D5;--auth-panel-muted: #C8D5D8;--auth-scrim: rgba(4, 17, 24, .6);--auth-illustration-opacity: .8;--bg-image: radial-gradient(rgba(239, 230, 213, .05) 1px, transparent 1px);--bg-size: 18px 18px;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #161210;--surface: #201A17;--surface-raised: #28211D;--surface-muted: #2E2621;--surface-card: var(--surface);--border: #45382E;--border-strong: #6A5644;--text: #EFE6D5;--text-muted: #C8B89F;--blue: #2B9AF3;--sun: #D99B52;--green: #4CC9A0;--coral: #FF7A9E;--purp: #8E7DFF;--blue-deep: #1E79C4;--sun-deep: #A96F2F;--green-deep: #2E9C7A;--coral-deep: #C34661;--purp-deep: #6252B5;--focus-ring: #4DB2FF;--micro-accent: #D99B52;--overlay: rgba(0, 0, 0, .66);--info-surface: #1B2C3B;--info-border: #2E526D;--warning-surface: #332717;--warning-border: #5D4622;--success-surface: #17332B;--success-border: #2D5D4D;--danger-surface: #351F25;--danger-border: #66343F;--iella-ink: #C9A87B;--iella-beak: #E0A35C;--iella-cream: #EFE6D5;--iella-brown: #A97A4B;--iella-eye: #161210;--hero-text: #EFE6D5;--hero-muted: rgba(239, 230, 213, .84);--auth-panel: #143141;--auth-panel-text: #EFE6D5;--auth-panel-muted: #C8D5D8;--auth-scrim: rgba(4, 17, 24, .6);--auth-illustration-opacity: .8;--bg-image: radial-gradient(rgba(239, 230, 213, .05) 1px, transparent 1px);--bg-size: 18px 18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:root[data-skin=neo-brutalism]{--bg: #f3e6cd;--surface: #fff9ed;--surface-raised: #fffdf8;--surface-muted: #eadbbd;--border: #183a2e;--border-strong: #183a2e;--text: #183a2e;--text-muted: #4F5F50;--blue: #1f5c48;--blue-deep: #113c2e;--sun: #e7a438;--sun-deep: #8f5a0a;--green: #2f7d5a;--green-deep: #1b5b3f;--coral: #c5543f;--coral-deep: #8a3025;--purp: #6f528c;--purp-deep: #4e3666;--focus-ring: #1f5c48;--overlay: rgba(18, 42, 32, .52);--info-surface: #e4f0e7;--info-border: #abc9b8;--warning-surface: #fbe8c9;--warning-border: #d8aa62;--success-surface: #dfeee3;--success-border: #a7c8b3;--danger-surface: #f8ddd7;--danger-border: #d39a8d;--iella-ink: #1c3a2f;--iella-beak: #c16a2c;--iella-cream: #f4e1b8;--iella-brown: #7a4a24;--iella-eye: #101a14;--auth-panel: #174636;--auth-panel-text: #fff4dc;--auth-panel-muted: #e5d6b6;--auth-scrim: rgba(10, 35, 26, .55);--auth-illustration-opacity: .76;--bg-image: linear-gradient(rgba(24, 58, 46, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 58, 46, .04) 1px, transparent 1px);--bg-size: 28px 28px;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 10px}:root[data-theme=dark][data-skin=neo-brutalism]{--bg: #142019;--surface: #1d2e24;--surface-raised: #243830;--surface-muted: #2b4035;--border: #cbb98f;--border-strong: #ead9ae;--text: #f5edd8;--text-muted: #b9b39f;--blue: #7ac9a4;--blue-deep: #3f916d;--sun: #f0b95b;--sun-deep: #c18a2e;--green: #5ac993;--green-deep: #2e9668;--coral: #f08a78;--coral-deep: #b95b4d;--purp: #b69bd8;--purp-deep: #8467ab;--focus-ring: #f0b95b;--overlay: rgba(2, 10, 7, .66);--info-surface: #1d3528;--info-border: #356b52;--warning-surface: #3a2c14;--warning-border: #75551f;--success-surface: #163327;--success-border: #2c664e;--danger-surface: #3a1d19;--danger-border: #783c33;--iella-ink: #8ab9a2;--iella-beak: #e09b62;--iella-cream: #f4e1b8;--iella-brown: #c28c52;--iella-eye: #0b120e;--auth-panel: #0d241b;--auth-panel-text: #f7edd5;--auth-panel-muted: #ccbf9f;--auth-scrim: rgba(2, 12, 8, .55);--bg-image: linear-gradient(rgba(203, 185, 143, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(203, 185, 143, .06) 1px, transparent 1px);--bg-size: 28px 28px}:root[data-skin=soft-bento]{--bg: #eef1f7;--surface: #ffffff;--surface-raised: #ffffff;--surface-muted: #e7ebf3;--border: #e1e5ee;--border-strong: #c9d0df;--text: #1d2635;--text-muted: #66708a;--blue: #4f63d2;--blue-deep: #384bb3;--sun: #e8a13b;--sun-deep: #b17117;--green: #2aa87c;--green-deep: #1c7b5a;--coral: #e06868;--coral-deep: #ab4444;--purp: #7a61d6;--purp-deep: #5941b5;--focus-ring: #4f63d2;--overlay: rgba(18, 25, 41, .45);--info-surface: #eef2ff;--info-border: #d9e1ff;--warning-surface: #fdf3e4;--warning-border: #f5ddba;--success-surface: #eaf8f1;--success-border: #c8eddd;--danger-surface: #fdf0f0;--danger-border: #f3d2d2;--iella-ink: #2b3760;--iella-beak: #df7c4a;--iella-cream: #f5e5c8;--iella-brown: #8f5f34;--iella-eye: #111526;--auth-panel: #26345c;--auth-panel-text: #ffffff;--auth-panel-muted: #dbe2ff;--auth-scrim: rgba(15, 22, 45, .45);--auth-illustration-opacity: .72;--bg-image: radial-gradient( circle at 12% 18%, rgba(79, 99, 210, .08), transparent 38% ), radial-gradient(circle at 88% 8%, rgba(232, 161, 59, .09), transparent 34%);--bg-size: 100% 100%, 100% 100%;--radius-sm: 16px;--radius-md: 20px;--radius-lg: 26px;--radius-xl: 32px}:root[data-theme=dark][data-skin=soft-bento]{--bg: #10151e;--surface: #19202c;--surface-raised: #202836;--surface-muted: #273040;--border: #2c3648;--border-strong: #3d4a60;--text: #eef2fa;--text-muted: #9ba7bb;--blue: #8fa4ff;--blue-deep: #687eec;--sun: #f1bb6b;--sun-deep: #c58d36;--green: #55d2a2;--green-deep: #2e9c74;--coral: #f08b8b;--coral-deep: #bd5b5b;--purp: #b19aff;--purp-deep: #8369df;--focus-ring: #8fa4ff;--overlay: rgba(2, 6, 14, .64);--info-surface: #1d2740;--info-border: #32456e;--warning-surface: #342815;--warning-border: #685120;--success-surface: #143126;--success-border: #285c46;--danger-surface: #361e22;--danger-border: #6e3941;--iella-ink: #9aabdf;--iella-beak: #eca171;--iella-cream: #f5e5c8;--iella-brown: #c79261;--iella-eye: #0b0e18;--auth-panel: #171f33;--auth-panel-text: #f3f6ff;--auth-panel-muted: #c3cee8;--auth-scrim: rgba(6, 10, 24, .55);--bg-image: radial-gradient( circle at 12% 18%, rgba(143, 164, 255, .12), transparent 38% ), radial-gradient(circle at 88% 8%, rgba(241, 187, 107, .08), transparent 34%);--bg-size: 100% 100%, 100% 100%}:root[data-skin=laboratory]{--bg: #e8efee;--surface: rgba(255, 255, 255, .66);--surface-raised: rgba(255, 255, 255, .82);--surface-muted: rgba(214, 230, 229, .72);--surface-card: #F4FAF9;--border: rgba(16, 78, 84, .24);--border-strong: rgba(16, 78, 84, .55);--text: #0b3438;--text-muted: #4d6d70;--blue: #0b7d82;--blue-deep: #065e63;--sun: #c99228;--sun-deep: #8a6411;--green: #198a68;--green-deep: #0f634a;--coral: #c05448;--coral-deep: #8d332c;--purp: #5868bd;--purp-deep: #3f4d96;--focus-ring: #0b7d82;--overlay: rgba(5, 32, 35, .5);--info-surface: rgba(227, 243, 242, .82);--info-border: rgba(116, 172, 172, .5);--warning-surface: rgba(250, 240, 217, .88);--warning-border: rgba(205, 169, 92, .55);--success-surface: rgba(224, 243, 235, .86);--success-border: rgba(120, 183, 156, .55);--danger-surface: rgba(249, 228, 223, .88);--danger-border: rgba(205, 139, 127, .55);--iella-ink: #17484c;--iella-beak: #cf7a3c;--iella-cream: #f3e4c4;--iella-brown: #87592e;--iella-eye: #062426;--auth-panel: #073c42;--auth-panel-text: #edfeff;--auth-panel-muted: #c4e4e5;--auth-scrim: rgba(3, 30, 34, .55);--auth-illustration-opacity: .7;--bg-image: linear-gradient( to right, rgba(16, 78, 84, .045) 1px, transparent 1px ), linear-gradient(to bottom, rgba(16, 78, 84, .045) 1px, transparent 1px), linear-gradient(to right, rgba(16, 78, 84, .085) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 78, 84, .085) 1px, transparent 1px);--bg-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;--radius-sm: 12px;--radius-md: 16px;--radius-lg: 20px;--radius-xl: 24px}:root[data-theme=dark][data-skin=laboratory]{--bg: #071315;--surface: rgba(20, 42, 45, .62);--surface-raised: rgba(28, 54, 57, .8);--surface-muted: rgba(35, 65, 68, .64);--surface-card: #142A2D;--border: rgba(138, 205, 206, .22);--border-strong: rgba(138, 205, 206, .45);--text: #e5f5f4;--text-muted: #91b4b5;--blue: #53c7c9;--blue-deep: #239294;--sun: #e0b35d;--sun-deep: #b4852f;--green: #4fd0a0;--green-deep: #299a74;--coral: #f08b7e;--coral-deep: #b95c51;--purp: #9aa4ff;--purp-deep: #6d78d2;--focus-ring: #53c7c9;--overlay: rgba(0, 9, 11, .66);--info-surface: rgba(23, 56, 59, .78);--info-border: rgba(93, 171, 173, .45);--warning-surface: rgba(53, 43, 20, .82);--warning-border: rgba(181, 141, 61, .5);--success-surface: rgba(18, 51, 42, .82);--success-border: rgba(74, 155, 125, .48);--danger-surface: rgba(53, 27, 24, .84);--danger-border: rgba(175, 91, 80, .5);--iella-ink: #7cbfc2;--iella-beak: #e7a16b;--iella-cream: #f3e4c4;--iella-brown: #c39260;--iella-eye: #04191b;--auth-panel: #042b30;--auth-panel-text: #e9ffff;--auth-panel-muted: #b9dcde;--auth-scrim: rgba(0, 16, 18, .55);--bg-image: linear-gradient( to right, rgba(138, 205, 206, .045) 1px, transparent 1px ), linear-gradient(to bottom, rgba(138, 205, 206, .045) 1px, transparent 1px), linear-gradient(to right, rgba(138, 205, 206, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(138, 205, 206, .09) 1px, transparent 1px);--bg-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px}@media(prefers-color-scheme:dark){:root[data-skin=neo-brutalism]:not([data-theme=light]){--bg: #142019;--surface: #1d2e24;--surface-raised: #243830;--surface-muted: #2b4035;--border: #cbb98f;--border-strong: #ead9ae;--text: #f5edd8;--text-muted: #b9b39f;--blue: #7ac9a4;--blue-deep: #3f916d;--sun: #f0b95b;--sun-deep: #c18a2e;--green: #5ac993;--green-deep: #2e9668;--coral: #f08a78;--coral-deep: #b95b4d;--purp: #b69bd8;--purp-deep: #8467ab;--focus-ring: #f0b95b;--overlay: rgba(2, 10, 7, .66);--info-surface: #1d3528;--info-border: #356b52;--warning-surface: #3a2c14;--warning-border: #75551f;--success-surface: #163327;--success-border: #2c664e;--danger-surface: #3a1d19;--danger-border: #783c33;--iella-ink: #8ab9a2;--iella-beak: #e09b62;--iella-cream: #f4e1b8;--iella-brown: #c28c52;--iella-eye: #0b120e;--auth-panel: #0d241b;--auth-panel-text: #f7edd5;--auth-panel-muted: #ccbf9f;--auth-scrim: rgba(2, 12, 8, .55);--bg-image: linear-gradient( rgba(203, 185, 143, .06) 1px, transparent 1px ), linear-gradient(90deg, rgba(203, 185, 143, .06) 1px, transparent 1px);--bg-size: 28px 28px}:root[data-skin=soft-bento]:not([data-theme=light]){--bg: #10151e;--surface: #19202c;--surface-raised: #202836;--surface-muted: #273040;--border: #2c3648;--border-strong: #3d4a60;--text: #eef2fa;--text-muted: #9ba7bb;--blue: #8fa4ff;--blue-deep: #687eec;--sun: #f1bb6b;--sun-deep: #c58d36;--green: #55d2a2;--green-deep: #2e9c74;--coral: #f08b8b;--coral-deep: #bd5b5b;--purp: #b19aff;--purp-deep: #8369df;--focus-ring: #8fa4ff;--overlay: rgba(2, 6, 14, .64);--info-surface: #1d2740;--info-border: #32456e;--warning-surface: #342815;--warning-border: #685120;--success-surface: #143126;--success-border: #285c46;--danger-surface: #361e22;--danger-border: #6e3941;--iella-ink: #9aabdf;--iella-beak: #eca171;--iella-cream: #f5e5c8;--iella-brown: #c79261;--iella-eye: #0b0e18;--auth-panel: #171f33;--auth-panel-text: #f3f6ff;--auth-panel-muted: #c3cee8;--auth-scrim: rgba(6, 10, 24, .55);--bg-image: radial-gradient( circle at 12% 18%, rgba(143, 164, 255, .12), transparent 38% ), radial-gradient( circle at 88% 8%, rgba(241, 187, 107, .08), transparent 34% );--bg-size: 100% 100%, 100% 100%}:root[data-skin=laboratory]:not([data-theme=light]){--bg: #071315;--surface: rgba(20, 42, 45, .62);--surface-raised: rgba(28, 54, 57, .8);--surface-muted: rgba(35, 65, 68, .64);--border: rgba(138, 205, 206, .22);--border-strong: rgba(138, 205, 206, .45);--text: #e5f5f4;--text-muted: #91b4b5;--blue: #53c7c9;--blue-deep: #239294;--sun: #e0b35d;--sun-deep: #b4852f;--green: #4fd0a0;--green-deep: #299a74;--coral: #f08b7e;--coral-deep: #b95c51;--purp: #9aa4ff;--purp-deep: #6d78d2;--focus-ring: #53c7c9;--overlay: rgba(0, 9, 11, .66);--info-surface: rgba(23, 56, 59, .78);--info-border: rgba(93, 171, 173, .45);--warning-surface: rgba(53, 43, 20, .82);--warning-border: rgba(181, 141, 61, .5);--success-surface: rgba(18, 51, 42, .82);--success-border: rgba(74, 155, 125, .48);--danger-surface: rgba(53, 27, 24, .84);--danger-border: rgba(175, 91, 80, .5);--iella-ink: #7cbfc2;--iella-beak: #e7a16b;--iella-cream: #f3e4c4;--iella-brown: #c39260;--iella-eye: #04191b;--auth-panel: #042b30;--auth-panel-text: #e9ffff;--auth-panel-muted: #b9dcde;--auth-scrim: rgba(0, 16, 18, .55);--bg-image: linear-gradient( to right, rgba(138, 205, 206, .045) 1px, transparent 1px ), linear-gradient( to bottom, rgba(138, 205, 206, .045) 1px, transparent 1px ), linear-gradient( to right, rgba(138, 205, 206, .09) 1px, transparent 1px ), linear-gradient( to bottom, rgba(138, 205, 206, .09) 1px, transparent 1px );--bg-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px}}.skin-swatch{display:block;width:44px;height:28px;flex:none;border:1px solid var(--border-strong);border-radius:8px}.skin-swatch-living-studio{background:linear-gradient(135deg,#faf4e8 0 32%,#0d7a78 32% 62%,#ff2e7e 62% 82%,#161210 82% 100%)}.skin-swatch-neo-brutalism{background:linear-gradient(135deg,#f3e6cd 0 50%,#1f5c48 50% 100%)}.skin-swatch-soft-bento{background:linear-gradient(135deg,#fff 0 50%,#4f63d2 50% 100%)}.skin-swatch-laboratory{background:linear-gradient(135deg,#e8efee 0 46%,#0b7d82 46% 72%,#073c42 72%)}.palette-swatch{display:block;width:22px;height:22px;flex:none;border:1px solid var(--border-strong);border-radius:50%}.palette-swatch-umber{background:linear-gradient(135deg,#161210 0 46%,#2b9af3 46% 76%,#d99b52 76%)}.palette-swatch-paper{background:linear-gradient(135deg,#faf4e8 0 44%,#0d7a78 44% 74%,#ff2e7e 74%)}.skin-preview-living-studio{--preview-bg: #faf4e8;--preview-surface: #fffdf8;--preview-accent: #0d7a78;--preview-border: #dccfb8}.skin-preview-neo-brutalism{--preview-bg: #f3e6cd;--preview-surface: #fff9ed;--preview-accent: #1f5c48;--preview-border: #183a2e}.skin-preview-soft-bento{--preview-bg: #eef1f7;--preview-surface: #ffffff;--preview-accent: #4f63d2;--preview-border: #d7dceb}.skin-preview-laboratory{--preview-bg: #e8efee;--preview-surface: #f4faf9;--preview-accent: #0b7d82;--preview-border: #9bbfbe}:root{--thermal-base: #180424;--thermal-violet: #3B0D6B;--thermal-magenta: #9D174D;--thermal-crimson: #D91E36;--thermal-orange: #EA580C;--thermal-gold: #FBC02D;--thermal-amber: #FBC02D;--thermal-hot: #FFF2C7;--thermal-deep: #0D0218;--thermal-shadow: #08010E;--felt-texture: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22240%22%20height%3D%22240%22%20viewBox%3D%220%200%20240%20240%22%3E%3Cfilter%20id%3D%22felt%22%20x%3D%22-10%25%22%20y%3D%22-10%25%22%20width%3D%22120%25%22%20height%3D%22120%25%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.012%22%20numOctaves%3D%224%22%20seed%3D%2223%22%20result%3D%22clump%22%2F%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.55%22%20numOctaves%3D%223%22%20seed%3D%227%22%20result%3D%22fiber%22%2F%3E%3CfeBlend%20in%3D%22clump%22%20in2%3D%22fiber%22%20mode%3D%22soft-light%22%20result%3D%22nap%22%2F%3E%3CfeDiffuseLighting%20in%3D%22nap%22%20lighting-color%3D%22%23ffffff%22%20surfaceScale%3D%221.7%22%20diffuseConstant%3D%221.08%22%20result%3D%22lit%22%3E%3CfeDistantLight%20azimuth%3D%2245%22%20elevation%3D%2242%22%2F%3E%3C%2FfeDiffuseLighting%3E%3CfeComposite%20in%3D%22lit%22%20in2%3D%22SourceGraphic%22%20operator%3D%22arithmetic%22%20k1%3D%221%22%20k2%3D%220%22%20k3%3D%220%22%20k4%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22240%22%20height%3D%22240%22%20fill%3D%22%23808080%22%20filter%3D%22url(%23felt)%22%20opacity%3D%220.94%22%2F%3E%3C%2Fsvg%3E");--felt-weave-opacity: .55;--felt-weave-contrast: 1.12;--felt-weave-brightness: 1.06;--palette-swatch-bg: #161210;--palette-swatch-surface: #201A17;--palette-swatch-accent: #2B9AF3;--palette-swatch-alt: #D99B52}:root[data-palette=deep-umber][data-theme]{--bg: #161210;--surface: #201A17;--surface-raised: #28211D;--surface-muted: #2E2621;--border: #45382E;--border-strong: #6A5644;--text: #EFE6D5;--text-muted: #C8B89F;--blue: #2B9AF3;--sun: #D99B52;--green: #4CC9A0;--coral: #FF7A9E;--purp: #8E7DFF;--blue-deep: #1E79C4;--sun-deep: #A96F2F;--green-deep: #2E9C7A;--coral-deep: #C34661;--purp-deep: #6252B5;--focus-ring: #4DB2FF;--micro-accent: #D99B52;--overlay: rgba(0, 0, 0, .66);--info-surface: #1B2C3B;--info-border: #2E526D;--warning-surface: #332717;--warning-border: #5D4622;--success-surface: #17332B;--success-border: #2D5D4D;--danger-surface: #351F25;--danger-border: #66343F;--iella-ink: #24346A;--iella-beak: #E0773C;--iella-cream: #F3E3C3;--iella-brown: #8B5A2B;--iella-eye: #0E1020;--hero-text: #FAF4E8;--hero-muted: rgba(250, 244, 232, .84);--auth-panel: #1A1512;--auth-panel-text: #EFE6D5;--auth-panel-muted: #CDBCA3;--action-primary-bg: #A9DDFF;--action-primary-text: #0B0A09;--action-danger-bg: #FFB3C4;--action-danger-text: #2A0710;--action-ghost-text: #9AD8FF;--auth-scrim: rgba(8, 5, 4, .64);--auth-illustration-opacity: .82;--palette-swatch-bg: #161210;--palette-swatch-surface: #201A17;--palette-swatch-accent: #2B9AF3;--palette-swatch-alt: #D99B52}:root[data-palette=burgundy][data-theme]{--bg: #5A1219;--surface: #410C11;--surface-raised: #68161E;--surface-muted: #4A1016;--surface-card: #38090E;--border: #5E1A22;--border-strong: #8E2430;--text: #FAF2E8;--text-muted: #E0B9BE;--blue: #E5A55A;--sun: #E5A55A;--green: #8FAE8B;--coral: #D91E36;--purp: #B0738A;--blue-deep: #B7803A;--sun-deep: #B7803A;--green-deep: #4F7A5E;--coral-deep: #A6122A;--purp-deep: #7A4A5E;--focus-ring: #F0C27A;--micro-accent: #E5A55A;--overlay: rgba(20, 3, 6, .68);--info-surface: #4E1319;--info-border: #7A2A34;--warning-surface: #4F2A10;--warning-border: #8E5A22;--success-surface: #2C3A2C;--success-border: #5E7A5E;--danger-surface: #4A1118;--danger-border: #8E2430;--iella-ink: #24346A;--iella-beak: #E0773C;--iella-cream: #F3E3C3;--iella-brown: #8B5A2B;--iella-eye: #0E1020;--hero-text: #FAF2E8;--hero-muted: rgba(250, 242, 232, .84);--auth-panel: #5A1219;--auth-panel-text: #FAF2E8;--auth-panel-muted: #E0B9BE;--action-primary-bg: #F2C98E;--action-primary-text: #2A070A;--action-danger-bg: #FFB0B8;--action-danger-text: #2A070A;--action-ghost-text: #F2C98E;--auth-scrim: rgba(50, 6, 12, .55);--auth-illustration-opacity: .82;--felt-weave-opacity: .72;--felt-weave-contrast: 1.28;--felt-weave-brightness: .98;--palette-swatch-bg: #5A1219;--palette-swatch-surface: #410C11;--palette-swatch-accent: #E5A55A;--palette-swatch-alt: #C29297}:root[data-palette=cream-paper][data-theme]{--bg: #FAF4E8;--surface: #FFFDF8;--surface-raised: #FFFDF8;--surface-muted: #F2E8D5;--border: #DCCFB8;--border-strong: #C4B298;--text: #1D2424;--text-muted: #5F665F;--blue: #0D7A78;--sun: #D99B52;--green: #2F8B72;--coral: #FF2E7E;--purp: #6C63B5;--blue-deep: #085E5C;--sun-deep: #A96F2F;--green-deep: #1F6B57;--coral-deep: #C00058;--purp-deep: #4E478F;--focus-ring: #0D7A78;--micro-accent: #FF2E7E;--overlay: rgba(29, 36, 36, .42);--info-surface: #E5F0EE;--info-border: #B8DAD5;--warning-surface: #F7EAD7;--warning-border: #E3C79E;--success-surface: #E3F1EA;--success-border: #B7D8C7;--danger-surface: #FFE6EF;--danger-border: #F4B8CE;--iella-ink: #24346A;--iella-beak: #E0773C;--iella-cream: #F3E3C3;--iella-brown: #8B5A2B;--iella-eye: #0E1020;--hero-text: #FAF4E8;--hero-muted: rgba(250, 244, 232, .84);--auth-panel: #EFE5D1;--auth-panel-text: #24342F;--auth-panel-muted: #5E6E63;--action-primary-bg: #0D7A78;--action-primary-text: #FAF4E8;--action-danger-bg: #B00050;--action-danger-text: #FAF4E8;--action-ghost-text: #0A6C6A;--auth-scrim: rgba(23, 39, 35, .48);--auth-illustration-opacity: .9;--palette-swatch-bg: #FAF4E8;--palette-swatch-surface: #FFFDF8;--palette-swatch-accent: #0D7A78;--palette-swatch-alt: #FF2E7E;--felt-weave-opacity: .78;--felt-weave-contrast: 1.3;--felt-weave-brightness: .92}:root[data-palette=sand-forest][data-theme]{--bg: #F3E6CD;--surface: #FFF9ED;--surface-raised: #FFFDF8;--surface-muted: #EADBBD;--border: #C9B58C;--border-strong: #183A2E;--text: #183A2E;--text-muted: #4F5F50;--blue: #1F5C48;--sun: #E7A438;--green: #2F7D5A;--coral: #C5543F;--purp: #6F528C;--blue-deep: #113C2E;--sun-deep: #8F5A0A;--green-deep: #1B5B3F;--coral-deep: #8A3025;--purp-deep: #4E3666;--focus-ring: #1F5C48;--micro-accent: #E7A438;--overlay: rgba(18, 42, 32, .52);--info-surface: #E4F0E7;--info-border: #ABC9B8;--warning-surface: #FBE8C9;--warning-border: #D8AA62;--success-surface: #DFEEE3;--success-border: #A7C8B3;--danger-surface: #F8DDD7;--danger-border: #D39A8D;--iella-ink: #24346A;--iella-beak: #E0773C;--iella-cream: #F3E3C3;--iella-brown: #8B5A2B;--iella-eye: #0E1020;--hero-text: #FAF4E8;--hero-muted: rgba(250, 244, 232, .84);--auth-panel: #EAD9B9;--auth-panel-text: #183A2E;--auth-panel-muted: #4F5D45;--action-primary-bg: #1F5C48;--action-primary-text: #F3E6CD;--action-danger-bg: #A23F2E;--action-danger-text: #F3E6CD;--action-ghost-text: #1F5C48;--auth-scrim: rgba(24, 58, 46, .52);--auth-illustration-opacity: .86;--palette-swatch-bg: #F3E6CD;--palette-swatch-surface: #FFF9ED;--palette-swatch-accent: #1F5C48;--palette-swatch-alt: #E7A438;--felt-weave-opacity: .78;--felt-weave-contrast: 1.3;--felt-weave-brightness: .92}:root[data-palette=midnight-cobalt][data-theme]{--bg: #0D1524;--surface: #141F33;--surface-raised: #1A2942;--surface-muted: #21324E;--border: #2A3E60;--border-strong: #405B87;--text: #E9EEF9;--text-muted: #B5C2D9;--blue: #3D6BFF;--sun: #E9B45E;--green: #50C9A4;--coral: #FF7F94;--purp: #9B87FF;--blue-deep: #2A4FD1;--sun-deep: #B07A28;--green-deep: #2D9C7C;--coral-deep: #C04D62;--purp-deep: #6D59C9;--focus-ring: #6E92FF;--micro-accent: #E9B45E;--overlay: rgba(0, 4, 12, .68);--info-surface: #162B47;--info-border: #2C4F7A;--warning-surface: #332714;--warning-border: #635024;--success-surface: #13352C;--success-border: #2A6454;--danger-surface: #371E29;--danger-border: #6C3546;--iella-ink: #24346A;--iella-beak: #E0773C;--iella-cream: #F3E3C3;--iella-brown: #8B5A2B;--iella-eye: #0E1020;--hero-text: #F4F7FF;--hero-muted: rgba(233, 238, 249, .84);--auth-panel: #111E35;--auth-panel-text: #E9EEF9;--auth-panel-muted: #B7C6E2;--action-primary-bg: #A8C4FF;--action-primary-text: #070C15;--action-danger-bg: #FFB3C1;--action-danger-text: #0A0710;--action-ghost-text: #A8C4FF;--auth-scrim: rgba(3, 8, 18, .64);--auth-illustration-opacity: .82;--palette-swatch-bg: #0D1524;--palette-swatch-surface: #141F33;--palette-swatch-accent: #3D6BFF;--palette-swatch-alt: #E9B45E}.palette-swatch-deep-umber,.palette-preview-deep-umber{--swatch-bg: #161210;--swatch-surface: #201A17;--swatch-accent: #2B9AF3;--swatch-alt: #D99B52}.palette-swatch-burgundy,.palette-preview-burgundy{--swatch-bg: #5A1219;--swatch-surface: #410C11;--swatch-accent: #E5A55A;--swatch-alt: #C29297}.palette-swatch-cream-paper,.palette-preview-cream-paper{--swatch-bg: #FAF4E8;--swatch-surface: #FFFDF8;--swatch-accent: #0D7A78;--swatch-alt: #FF2E7E}.palette-swatch-sand-forest,.palette-preview-sand-forest{--swatch-bg: #F3E6CD;--swatch-surface: #FFF9ED;--swatch-accent: #1F5C48;--swatch-alt: #E7A438}.palette-swatch-midnight-cobalt,.palette-preview-midnight-cobalt{--swatch-bg: #0D1524;--swatch-surface: #141F33;--swatch-accent: #3D6BFF;--swatch-alt: #E9B45E}.palette-swatch{position:relative;display:inline-block;width:22px;height:22px;flex:none;overflow:hidden;border:1px solid var(--border-strong);border-radius:50%;background:linear-gradient(135deg,var(--swatch-accent) 0 48%,transparent 48%),var(--swatch-bg)}.palette-swatch:after{position:absolute;right:3px;bottom:3px;width:6px;height:6px;border-radius:50%;background:var(--swatch-alt);content:""}.palette-dot{display:inline-block;width:11px;height:11px;flex:none;border:1px solid var(--border-strong);border-radius:50%;background:linear-gradient(135deg,var(--swatch-accent) 0 50%,var(--swatch-bg) 50%)}:root{--shadow-button: none;--shadow-primary: none;--shadow-card: none;--shadow-hero: none;--shadow-soft: none}:root[data-skin]:not([data-skin=neo-brutalism])[data-palette][data-theme]{--shadow-button: none;--shadow-primary: none;--shadow-card: none;--shadow-hero: none;--shadow-soft: none}:root[data-skin=neo-brutalism][data-palette][data-theme]{--shadow-button: 4px 4px 0 var(--text);--shadow-primary: 4px 4px 0 var(--text);--shadow-card: 6px 6px 0 var(--text);--shadow-hero: 8px 8px 0 var(--text);--shadow-soft: 8px 8px 0 var(--text)}:root{--sendo-fur: #9fb7cf;--sendo-belly: #e8eef6;--sendo-inner-ear: #d7a9b8;--sendo-frame: #3c4b5a;--sendo-glass: #f7fbff;--sendo-eye: #25313d;--sendo-lantern: #f0c86a;--sendo-glow: #ffe6a1}:root[data-theme=dark]{--sendo-fur: #7f9bb8;--sendo-belly: #b9c9dc;--sendo-inner-ear: #9d7484;--sendo-frame: #cfdbe8;--sendo-glass: #2a3542;--sendo-eye: #f5f8fb;--sendo-lantern: #ffd982;--sendo-glow: #5a4a20}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;overflow-x:hidden;background-color:var(--bg);background-image:var(--bg-image);background-size:var(--bg-size);background-attachment:fixed;color:var(--text);font-family:var(--font-family);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--blue)}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em}.eyebrow{margin:0 0 6px;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.inline-alert{margin:0 0 14px;padding:12px 14px;border:1px solid var(--warning-border);border-radius:var(--radius-md);background:var(--warning-surface);font-size:14px}.inline-alert.danger{border-color:var(--danger-border);background:var(--danger-surface)}.empty-note{color:var(--text-muted);font-size:14px}.ui-button{display:inline-flex;min-height:var(--tap);align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--radius-md);padding:0 18px;font-size:14px;font-weight:700}.ui-button:focus-visible,.choice-option:focus-visible,.sentence-token:focus-visible,.nav-item:focus-visible,.mobile-nav-item:focus-visible,.iella-sprite-button:focus-visible,.hint-toggle:focus-visible,.ui-disclosure-toggle:focus-visible,.ui-icon-button:focus-visible,input:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.ui-button:active{transform:translateY(2px);box-shadow:none}.ui-button-primary{box-shadow:var(--shadow-primary)}.ui-button-secondary{background:var(--surface);box-shadow:var(--shadow-button);color:var(--text)}.ui-button-ghost{background:transparent;box-shadow:none}.ui-button-sm{padding:0 14px;font-size:13px}.ui-button-lg{min-height:52px;padding:0 24px;font-size:16px}.ui-button-block{width:100%}.ui-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card)}.ui-card-raised{box-shadow:var(--shadow-hero)}.ui-card-tinted{background:var(--info-surface);border-color:var(--info-border);box-shadow:var(--shadow-button)}.ui-card-hero{box-shadow:var(--shadow-hero)}.ui-card-quiet{background:var(--surface-muted);box-shadow:none}.empty-card{padding:14px 18px}.ui-progress{position:relative;height:10px;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.ui-progress-fill{display:block;height:100%;border-radius:inherit;background:var(--blue);transition:width .45s cubic-bezier(.2,.8,.2,1)}.ui-progress-sun .ui-progress-fill{background:var(--sun)}.ui-progress-green .ui-progress-fill{background:var(--green)}.ui-progress-purp .ui-progress-fill{background:var(--purp)}.ui-progress-coral .ui-progress-fill{background:var(--coral)}.ui-disclosure{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}.ui-disclosure-toggle{display:flex;width:100%;min-height:var(--tap);align-items:center;justify-content:space-between;gap:10px;border:0;padding:0;background:transparent;font-size:13px;font-weight:700;text-align:left}.ui-disclosure-mark{display:grid;width:24px;height:24px;place-items:center;border:1px solid var(--info-border);border-radius:8px;background:var(--info-surface);font-size:16px}.ui-disclosure-body{color:var(--text-muted);font-size:14px}.ui-disclosure-body p{margin:0}.ui-modal-backdrop{position:fixed;z-index:70;inset:0;display:grid;padding:20px;place-items:center;background:var(--overlay)}.ui-modal{width:min(520px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-hero);padding:22px}.ui-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ui-modal-head h2{margin:0;font-size:24px}.ui-icon-button{display:grid;width:var(--tap);height:var(--tap);flex:none;place-items:center;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);font-size:24px}.ui-card-hero{background:var(--auth-panel);border-color:var(--auth-panel);color:var(--hero-text)}.ui-button-primary{background:var(--action-primary-bg);color:var(--action-primary-text)}.ui-button-danger{background:var(--action-danger-bg);color:var(--action-danger-text)}.ui-button-ghost,.ui-disclosure-toggle{color:var(--action-ghost-text)}.inline-alert,.inline-alert.danger{color:var(--text)}.ui-disclosure-body{display:grid;grid-template-rows:0fr;padding:0;opacity:0}.ui-button{transition:transform 70ms ease,background-color 70ms ease,border-color 70ms ease,color 70ms ease,box-shadow 70ms ease}.ui-disclosure-body{transition:grid-template-rows .14s ease,opacity .12s ease}.ui-button,.ui-progress-fill{transition-duration:.14s}.ui-button-secondary{border:1px solid var(--border)}.ui-button-danger{box-shadow:var(--shadow-button)}.studio-shell{display:flex;min-height:100vh}.studio-sidebar{position:sticky;top:0;display:flex;width:248px;height:100vh;flex:none;flex-direction:column;gap:6px;border-right:1px solid var(--border);background:var(--surface);padding:24px 16px}.brand-lockup,.mobile-brand{display:flex;align-items:center;gap:7px}.brand-lockup{padding:0 8px 24px}.brand-name{font-size:22px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;min-height:var(--tap);align-items:center;gap:12px;border:0;border-radius:var(--radius-md);padding:0 14px;background:transparent;color:var(--text-muted);font-size:15px;font-weight:600;text-align:left}.nav-item.active{background:var(--blue);box-shadow:var(--shadow-primary);color:var(--bg)}.sidebar-spacer{flex:1}.iella-card span{display:block}.iella-card span{color:var(--text-muted);font-size:12px}.learner-avatar{display:grid;width:36px;height:36px;flex:none;place-items:center;border-radius:50%;background:var(--sun);color:var(--bg);font-weight:800;text-transform:uppercase}.learner-copy strong,.learner-copy span{display:block}.learner-copy span{color:var(--text-muted);font-size:12px}.studio-main{min-width:0;flex:1}.studio-topbar{display:flex;align-items:center;gap:16px;padding:18px 40px 0}.mobile-brand{display:none}.topbar-actions{display:flex;align-items:center}.studio-content{width:min(1112px,100%);margin:0 auto;padding:22px 40px 56px}.mobile-nav{display:none}@media(max-width:820px){.studio-sidebar{display:none}}@media(max-width:820px){.studio-topbar{flex-wrap:wrap;padding:16px 16px 0}}@media(max-width:820px){.mobile-brand{display:flex}}@media(max-width:820px){.studio-content{padding:18px 16px 96px}}@media(max-width:820px){.mobile-nav{position:fixed;z-index:40;right:12px;bottom:12px;left:12px;display:flex;min-height:68px;align-items:center;border-radius:var(--radius-xl)}}.studio-shell{background:transparent}@media(min-width:1180px){.studio-content{width:min(1260px,100%)}}.studio-topbar,.mobile-brand{position:relative}.studio-shell[data-nav-position=bottom] .mobile-nav{position:fixed;z-index:60;right:auto;bottom:16px;left:50%;display:flex;width:min(660px,calc(100vw - 32px));min-height:68px;align-items:center;border-radius:var(--radius-xl);padding:6px;transform:translate(-50%)}.mobile-nav-item{display:flex;min-height:56px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--text-muted);font-weight:700}.mobile-nav-item.active{background:var(--info-surface);color:var(--blue-deep)}@media(max-width:430px){.studio-topbar{flex-wrap:nowrap}}@media(max-width:430px){.topbar-actions{flex:0 0 auto}}.language-current{display:inline-flex;min-height:36px;align-items:center;gap:6px;border:0;border-radius:999px;background:transparent;color:var(--text);padding:0 10px;font-size:11px;font-weight:800;letter-spacing:.03em}.language-option{display:flex;min-height:40px;align-items:center;justify-content:flex-start;border:0;border-radius:calc(var(--radius-md) - 4px);background:transparent;color:var(--text-muted);padding:0 11px;font-size:11px;font-weight:800;letter-spacing:.03em}.studio-shell[data-nav-position=bottom] .studio-content{padding-bottom:96px}.mobile-nav{border:1px solid color-mix(in srgb,var(--border-strong) 48%,transparent);background:color-mix(in srgb,var(--surface) 58%,transparent);box-shadow:inset 0 1px color-mix(in srgb,var(--surface) 92%,transparent),0 16px 42px color-mix(in srgb,var(--text) 18%,transparent);backdrop-filter:blur(18px) saturate(165%)}.studio-shell[data-nav-position=bottom] .mobile-nav{border:1px solid color-mix(in srgb,var(--border-strong) 48%,transparent);background:color-mix(in srgb,var(--surface) 58%,transparent);box-shadow:inset 0 1px color-mix(in srgb,var(--surface) 92%,transparent),0 16px 42px color-mix(in srgb,var(--text) 18%,transparent);backdrop-filter:blur(18px) saturate(165%);-webkit-backdrop-filter:blur(18px) saturate(165%)}.mobile-nav{-webkit-backdrop-filter:blur(18px) saturate(165%)}.mobile-nav{padding-right:8px;padding-left:8px}.studio-shell[data-nav-position=bottom] .mobile-nav{justify-content:space-between;padding-right:8px;padding-left:8px}.brand-name{font-family:var(--font-family);font-weight:600;letter-spacing:-.02em;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.language-option:hover,.language-option.active{background:transparent;color:var(--text-muted)}.language-current:hover{background:transparent}.nav-item,.mobile-nav-item,.language-option{transition:transform 70ms ease,background-color 70ms ease,border-color 70ms ease,color 70ms ease,box-shadow 70ms ease}.learner-profile-button.active{border-color:var(--blue);background:var(--info-surface);box-shadow:inset 3px 0 0 var(--action-primary-bg)}.studio-main{animation:studio-enter .14s ease-out both}.nav-item,.mobile-nav-item,.language-option{transition-duration:.14s}.studio-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:0 40px 24px;color:var(--text-muted);font-size:13px}@media(max-width:900px){.studio-footer{padding:0 16px 16px}}.studio-topbar{justify-content:space-between}.mobile-brand{margin-right:auto}.topbar-actions{width:auto;margin-left:auto;flex-wrap:nowrap;justify-content:flex-end;gap:8px}@media(max-width:430px){.topbar-actions{gap:6px}}@media(max-width:430px){.language-current{padding:0 8px}}.mobile-nav{gap:2px;justify-content:stretch;padding:6px}.mobile-nav-item{min-width:0;flex:1 1 0;padding:0 2px;font-size:11px;letter-spacing:0;line-height:1.15;white-space:nowrap}@media(max-width:400px){.mobile-nav{right:8px;left:8px;padding:5px 4px}}@media(max-width:400px){.studio-shell[data-nav-position=bottom] .mobile-nav{width:calc(100vw - 16px)}}@media(max-width:820px){.studio-content{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}@media(max-width:820px){.studio-shell[data-nav-position=bottom] .studio-content{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}@media(max-width:820px){.studio-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.page-heading h1{margin:0;font-size:clamp(28px,4vw,38px);font-weight:800;line-height:1.05}.section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading h2{margin:0;font-size:21px}.status-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}.status-pill,.status-note,.update-banner{display:inline-flex;min-height:30px;align-items:center;gap:7px;border:1px solid var(--border);border-radius:999px;padding:0 11px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:700}.status-pill.online{border-color:var(--success-border);background:var(--success-surface);color:var(--green-deep)}.status-pill.offline,.status-note.warning{border-color:var(--warning-border);background:var(--warning-surface);color:var(--sun-deep)}.status-note.success{border-color:var(--success-border);background:var(--success-surface);color:var(--green-deep)}.status-note.danger{border-color:var(--danger-border);background:var(--danger-surface);color:var(--coral-deep)}.status-dot{width:8px;height:8px;border-radius:50%;background:currentColor}.update-banner{justify-content:space-between;border-color:var(--info-border)}.status-meta{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;line-height:1.35;white-space:nowrap}.status-meta-dot:before{width:6px;height:6px;flex:none;border-radius:50%;content:""}.status-meta-neutral{color:var(--text-muted)}.status-meta-accent{color:var(--blue-deep)}.status-meta-success{color:var(--green-deep)}.status-meta-warning{color:var(--sun-deep)}.status-meta-danger{color:var(--coral-deep)}.update-banner{display:flex;min-height:0;flex-wrap:wrap;align-items:flex-start;gap:6px 10px;border:0;border-left:3px solid var(--sun);border-radius:0;background:var(--warning-surface);color:var(--text);padding:10px 12px}.status-meta{color:var(--text-muted)}.status-meta-neutral{--status-dot: var(--text-muted)}.status-meta-accent{--status-dot: var(--blue)}.status-meta-success{--status-dot: var(--green)}.status-meta-warning{--status-dot: var(--sun)}.status-meta-danger{--status-dot: var(--coral)}.status-meta-dot:before{background:var(--status-dot, currentColor)}.hero-picture{position:absolute;inset:0}.hero-illustration{position:absolute;inset:0;width:100%;height:100%}.today-hero-copy{position:relative;z-index:2;padding:28px}.today-hero-copy .eyebrow{color:var(--bg);opacity:.78}.today-hero-copy p:not(.eyebrow){max-width:530px;margin:14px 0 0;opacity:.9}.today-hero-actions{margin-top:24px}.kc-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--border);padding-top:12px}.kc-row-progress{display:flex;min-width:180px;flex:1;align-items:center;gap:10px;color:var(--text-muted);font-size:12px;font-weight:700}@media(max-width:820px){.kc-row{align-items:flex-start;flex-direction:column;gap:8px}}@media(max-width:820px){.kc-row-progress{width:100%;min-width:0}}@media(max-width:460px){.today-hero-copy{padding:20px}}@media(max-width:460px){.today-hero-actions{flex-direction:column}}.today-masthead{justify-content:space-between}.today-identity{display:flex;align-items:center;gap:12px}.today-masthead h1{margin:0;font-weight:800;line-height:1.08}.articles-count{letter-spacing:.04em}@media(max-width:820px){.today-masthead{flex-direction:column}}.today-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}.today-identity{min-width:0}.today-masthead h1{font-size:clamp(25px,3.3vw,36px)}@media(max-width:820px){.today-masthead{grid-template-columns:1fr;align-items:start}}.today-masthead-side{flex-wrap:wrap;justify-content:flex-end}.activity-best{display:inline-flex;align-items:center;font-family:var(--font-mono);font-size:10px;font-weight:700;white-space:nowrap}.activity-heatmap{grid-auto-columns:10px;align-content:center;overflow-x:auto}.activity-cell{background:var(--surface-muted)}@media(max-width:820px){.activity-heatmap{justify-content:flex-start}}.activity-heatmap{display:grid;width:100%;min-width:0;flex:1;grid-auto-flow:column;grid-template-columns:repeat(16,minmax(0,1fr));grid-template-rows:repeat(7,auto);gap:4px;overflow:visible;padding:0}.activity-cell{display:block;width:100%;height:auto;aspect-ratio:1;border-radius:3px}@media(max-width:620px){.activity-cell{border-radius:2px}}.today-bento{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:stretch}.bento-kicker{display:block;font-family:var(--font-mono);font-weight:800;letter-spacing:.1em;text-transform:uppercase}.bento-note{margin:auto 0 0;line-height:1.45}.duration-pill{border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text-muted);padding:0 13px;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.articles-count{color:var(--text-muted);font-family:var(--font-mono);font-size:10px;font-weight:700;white-space:nowrap}.mastery-row-heading{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.error-notebook-mark{display:grid;width:24px;height:24px;flex:none;place-items:center;border:1px solid var(--danger-border);border-radius:7px;background:var(--danger-surface);font-size:16px;font-weight:800;line-height:1}.error-notebook-count{flex:none;font-family:var(--font-mono);font-size:10px;font-weight:800}@media(max-width:640px){.today-masthead{grid-template-columns:1fr;align-items:flex-start}}@media(max-width:640px){.today-masthead-side{justify-content:flex-start}}.today-masthead-side{display:flex;min-width:0;flex-direction:column;align-items:flex-end;gap:8px}.today-status{display:flex;min-width:0;max-width:100%;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px}@media(max-width:820px){.today-masthead-side{align-items:flex-start}}@media(max-width:820px){.today-status{justify-content:flex-start}}.today-hero-level{color:var(--hero-muted);font-family:var(--font-mono);font-size:10px;font-weight:700;letter-spacing:.04em}.today-hero-copy{max-width:58ch}.today-hero-copy h2{max-width:17ch;margin:3px 0 0;color:var(--hero-text);font-size:clamp(30px,4.8vw,58px);font-weight:800;letter-spacing:-.05em;line-height:.98;text-wrap:balance;text-shadow:0 2px 22px color-mix(in srgb,var(--auth-scrim) 60%,transparent)}.today-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}@media(max-width:900px){.today-bento{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:700px){.today-bento{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.today-hero-copy h2{font-size:31px}}@media(max-width:700px){.today-hero-actions{align-items:flex-start}}.activity-best{min-height:0;border:0;border-radius:0;background:transparent;color:var(--text-muted);padding:0}.error-notebook-mark{color:var(--text)}.error-notebook-count{color:var(--text-muted)}.today-hero-level{--status-dot: currentColor}.mastery-row-heading{width:100%;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.mastery-detail{display:grid;grid-template-rows:0fr;opacity:0}.duration-pill{min-height:44px}.duration-pill{transition:transform 70ms ease,background-color 70ms ease,border-color 70ms ease,color 70ms ease,box-shadow 70ms ease}.mastery-detail{transition:grid-template-rows .14s ease,opacity .12s ease}.duration-pill{transition-duration:.14s}.mastery-row-bar .ui-progress-fill{animation:none;clip-path:none;opacity:1}.bento-kicker,.bento-note{color:var(--text-muted);font-size:.82rem}.today-masthead h1{overflow-wrap:break-word}.iella-card{border-radius:var(--radius-lg);background:var(--info-surface);padding:12px;font-size:13px}.iella-sprite .iella-ink{fill:var(--iella-ink)}.iella-sprite .iella-beak{fill:var(--iella-beak)}.iella-sprite .iella-cream{fill:var(--iella-cream)}.iella-sprite .iella-brown{fill:var(--iella-brown)}.iella-sprite .iella-eye{fill:var(--iella-eye)}@keyframes iella-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}.iella-sprite{display:block;flex:none;pointer-events:none}.iella-sprite-button{display:inline-grid;border:0;place-items:center;background:transparent;cursor:pointer;pointer-events:auto}.iella-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px}.iella-card strong{display:block;overflow:hidden;color:var(--text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.iella-sprite{overflow:hidden;image-rendering:pixelated;transform-origin:center bottom;will-change:transform;animation:iella-calm-breathe 5.6s steps(2,end) infinite}.iella-sprite-button{padding:0}.iella-sprite-button .iella-sprite{transition:none}.iella-sprite-button:hover .iella-sprite{transform:none}.iella-tour{position:fixed;z-index:80;inset:0}.iella-tour-blocker{position:fixed;z-index:80;inset:0;background:var(--overlay);animation:iella-tour-fade .16s ease-out both}.iella-tour-mask{position:fixed;z-index:80;inset:0;width:100%;height:100%;pointer-events:auto;animation:iella-tour-fade .16s ease-out both}.iella-tour-highlight-svg{fill:none;stroke:var(--sun);stroke-width:2;pointer-events:none}@keyframes iella-tour-fade{0%{opacity:0}to{opacity:1}}.iella-tour-card{position:fixed;z-index:82;width:min(320px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-hero);padding:16px;animation:iella-tour-card-in .18s cubic-bezier(.22,1,.36,1) both}@keyframes iella-tour-card-in{0%{opacity:0}to{opacity:1}}.iella-tour-card-centered{top:50%;left:50%;transform:translate(-50%,-50%)}.iella-tour-sprite{width:48px;margin-bottom:6px}.iella-tour-kicker{margin:0 0 4px;color:var(--sun-deep);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.iella-tour-card h2{margin:0;font-size:17px;line-height:1.3}.iella-tour-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.iella-tour-try{margin-top:12px}.iella-tour-try-question{margin:0 0 8px;font-weight:700}.iella-tour-try-options{display:flex;gap:8px}.iella-tour-try-option{min-width:72px;min-height:44px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);color:var(--text);font:inherit;font-weight:700}.iella-tour-try-option:hover:not(:disabled){border-color:var(--border-strong);background:var(--surface-muted)}.iella-tour-try-option.selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}.iella-tour-try-feedback{margin:8px 0 0;font-size:13px}.iella-tour-try-feedback.correct{color:var(--green-deep)}.iella-tour-try-feedback.wrong{color:var(--coral-deep)}.auth-card-head{display:flex;gap:12px}.auth-card-head .eyebrow{margin-bottom:2px}.invite-banner,.dev-code{border:1px solid var(--info-border);border-radius:var(--radius-md);background:var(--info-surface);color:var(--blue-deep);font-size:13px}.invite-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;padding:10px 12px}.invite-banner code,.invite-result code,.rejected-row code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;overflow-wrap:anywhere}.auth-form{display:flex;flex-direction:column;gap:10px}.auth-form label{color:var(--text-muted);font-size:13px;font-weight:700}.auth-form input,.admin-create input{width:100%;min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);padding:0 13px}.auth-form input::placeholder,.admin-create input::placeholder,.answer-input::placeholder{color:var(--text-muted)}.code-input{font-size:22px;font-weight:800;letter-spacing:.25em;text-align:center}.dev-code{margin:0;padding:10px 12px}.auth-divider{display:flex;align-items:center;gap:10px;margin:18px 0;color:var(--text-muted);font-size:12px}.auth-divider:before,.auth-divider:after{height:1px;flex:1;background:var(--border);content:""}.auth-note,.auth-legal{margin:10px 0 0;color:var(--text-muted);font-size:12px;text-align:center}.access-screen,.startup-screen{display:grid;min-height:100vh;padding:24px;place-items:center;background:var(--bg)}.access-card,.startup-card{width:min(520px,100%);padding:34px;text-align:center}.access-emblem{display:grid;width:120px;height:120px;margin:0 auto 20px;place-items:center;border-radius:36px;background:var(--info-surface)}.access-emblem-sun{background:var(--warning-surface)}.access-emblem-coral{background:var(--danger-surface)}.access-card h1,.startup-card h1{margin:0 0 12px;font-size:32px}.access-body,.startup-card p{color:var(--text-muted);font-size:15px}.access-actions{display:flex;flex-direction:column;gap:10px;margin-top:24px}.access-note{margin:16px 0 0;color:var(--text-muted);font-size:12px}.invite-result code{display:block;margin:8px 0;font-size:18px;font-weight:800;overflow-wrap:anywhere}.auth-screen{display:grid;min-height:100vh;background:var(--bg)}.auth-visual{position:relative;display:flex;flex-direction:column;overflow:hidden}.auth-studio-grain{position:absolute;inset:0;mix-blend-mode:soft-light;pointer-events:none}.auth-visual-copy p:not(.eyebrow){margin:18px 0 0}.auth-iella-scene{position:absolute;animation:iella-perch-sway 6.4s ease-in-out infinite;filter:drop-shadow(0 6px 0 color-mix(in srgb,var(--auth-scrim) 65%,transparent))}.auth-panel:before{background:radial-gradient(circle at 50% 45%,transparent 0 24%,color-mix(in srgb,var(--bg) 82%,transparent) 72%)}.auth-card-head{align-items:flex-start;margin-bottom:22px}.auth-card-head h2{margin:0;color:var(--text);font-size:25px;letter-spacing:-.035em}.auth-code-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.auth-code-slot{width:100%;color:var(--text);padding:0;font-weight:800;text-align:center}@media(max-width:620px){.auth-iella-scene{display:none}}.auth-visual:before{position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,color-mix(in srgb,var(--auth-panel) 62%,transparent) 0%,transparent 28%,color-mix(in srgb,var(--auth-panel) 18%,transparent) 52%,color-mix(in srgb,var(--auth-panel) 82%,transparent) 100%);content:"";pointer-events:none}.auth-screen{grid-template-columns:minmax(360px,42%) minmax(0,58%)}.auth-panel{position:relative;display:flex;overflow:hidden;flex-direction:column;justify-content:center;padding:116px clamp(28px,5.8vw,86px) 52px;place-items:initial}.auth-panel-topbar{position:absolute;top:26px;display:flex;align-items:center}.auth-brand{display:flex;align-items:center}.auth-form-region{width:min(432px,100%);margin:0 auto}.auth-form input:not(.auth-code-slot){min-height:54px;border-color:var(--border-strong);border-radius:14px;background:var(--surface-card);font-size:16px}.auth-code-slots{gap:8px}.auth-code-slot{min-height:66px;border-radius:15px;background:var(--surface-card);font-family:var(--font-mono);font-size:28px;font-variant-numeric:tabular-nums}.auth-code-slot:focus-visible{outline-offset:2px}.auth-code-slot:focus{outline-offset:2px}.auth-visual{min-height:100vh;justify-content:flex-end;padding:46px clamp(34px,4.8vw,74px)}.auth-visual-copy{margin-top:0;padding-top:0}.auth-iella-scene{right:clamp(24px,4.8vw,72px);bottom:32px}.auth-studio-grain{background-image:radial-gradient(color-mix(in srgb,var(--auth-panel-text) 16%,transparent) .7px,transparent .7px);background-size:6px 6px}@media(max-width:1080px){.auth-panel{min-height:620px;padding:96px 28px 46px}}@media(max-width:1080px){.auth-visual{min-height:500px}}@media(max-width:1080px){.auth-panel-topbar{top:22px}}@media(max-width:620px){.auth-panel{min-height:0;padding:88px 18px 38px}}@media(max-width:620px){.auth-panel-topbar{top:18px}}@media(max-width:620px){.auth-code-slot{min-height:56px;font-size:23px}}@media(max-width:1080px){.auth-screen{grid-template-columns:1fr}}.auth-panel{isolation:isolate;color:var(--auth-panel-text)}.auth-panel-topbar{z-index:4}@media(max-width:430px){.auth-panel-topbar{align-items:flex-start}}.auth-panel{background-color:var(--auth-panel);background-image:radial-gradient(ellipse at 16% 8%,color-mix(in srgb,var(--sun) 11%,transparent),transparent 38%),radial-gradient(ellipse at 88% 92%,color-mix(in srgb,var(--blue) 10%,transparent),transparent 42%),var(--felt-texture);background-size:100% 100%,100% 100%,240px 240px;background-blend-mode:soft-light,soft-light,soft-light}.auth-panel:before{position:absolute;z-index:0;display:block;inset:0;background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--auth-panel-text) 9%,transparent) 0 .6px,transparent .9px),var(--felt-texture),var(--felt-texture);background-position:0 0,0 0,43px 67px;background-size:3px 3px,173px 173px,97px 97px;content:"";filter:contrast(var(--felt-weave-contrast, 1.12)) brightness(var(--felt-weave-brightness, 1.06));mix-blend-mode:overlay;opacity:var(--felt-weave-opacity, .55);pointer-events:none}.auth-panel:after{position:absolute;z-index:0;inset:0;width:auto;height:auto;aspect-ratio:auto;filter:none;opacity:1;transform:none;will-change:auto;animation:none;background:radial-gradient(ellipse at 50% -10%,color-mix(in srgb,var(--auth-panel-text) 13%,transparent),transparent 52%),linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--auth-panel) 18%,transparent) 72%,color-mix(in srgb,var(--auth-panel) 64%,transparent) 100%);content:"";pointer-events:none}.auth-visual{background:var(--thermal-base);color:var(--hero-text)}.auth-visual:after{position:absolute;z-index:1;inset:0;background:radial-gradient(ellipse 86% 66% at 6% 98%,color-mix(in srgb,var(--thermal-deep) 88%,transparent) 0%,color-mix(in srgb,var(--thermal-deep) 54%,transparent) 36%,transparent 72%),linear-gradient(180deg,color-mix(in srgb,var(--thermal-base) 8%,transparent) 0%,transparent 30%,color-mix(in srgb,var(--thermal-deep) 80%,transparent) 100%);content:"";pointer-events:none}.auth-studio-grain{z-index:2;opacity:.2}.auth-visual-copy{position:relative;z-index:3;width:min(760px,92%);max-width:none;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0 0 16px;backdrop-filter:none}.auth-visual-copy .eyebrow{color:var(--hero-muted);opacity:1}.auth-visual-copy h1{margin:0;color:var(--hero-text);font-weight:800}.auth-visual-copy p:not(.eyebrow){max-width:46ch;margin-top:22px;color:var(--hero-muted);font-size:clamp(15px,1.35vw,18px);line-height:1.55;opacity:1}.auth-iella-scene{z-index:4}@media(max-width:620px){.auth-visual-copy{width:100%;padding:0 0 8px}}.auth-visual-copy h1{max-width:14ch;font-size:clamp(2.1rem,3.3vw,3.1rem);letter-spacing:-.03em;line-height:1.06;text-wrap:balance}@media(min-width:1280px){.auth-screen{grid-template-columns:minmax(400px,31%) 1fr}}@media(min-width:1280px){.auth-panel{padding:116px clamp(24px,2.4vw,54px) 52px}}.auth-panel-topbar{right:clamp(16px,2.2vw,44px);left:clamp(16px,2.2vw,44px);gap:10px}.auth-brand{gap:7px}.auth-brand .brand-name{font-size:18px}.auth-form input:not(.auth-code-slot):focus-visible{outline-offset:2px}@media(max-width:620px){.auth-brand .brand-name{font-size:17px}}@media(max-width:620px){.auth-panel-topbar{gap:8px}}@media(min-width:901px)and (max-width:1279px){.auth-screen{grid-template-columns:minmax(360px,42%) minmax(0,58%)}}@media(max-width:380px){.auth-brand .brand-name{font-size:16px}}@media(max-width:380px){.auth-panel-topbar{gap:6px}}.auth-panel:after{display:none}.auth-visual-copy h1{text-shadow:0 2px 7px color-mix(in srgb,var(--thermal-shadow) 72%,transparent),0 4px 34px color-mix(in srgb,var(--thermal-shadow) 82%,transparent)}.auth-visual-copy p:not(.eyebrow){text-shadow:0 2px 9px color-mix(in srgb,var(--thermal-shadow) 64%,transparent)}.auth-submit-label{display:inline-block}.auth-visual:after{display:none}.auth-visual:before{display:none}.invite-result code{color:var(--text)}.auth-form-region{overflow:hidden}.auth-form input:not(.auth-code-slot){border:1px solid var(--border-strong);transition:border-color .14s ease,box-shadow .14s ease}.auth-form input:not(.auth-code-slot):focus-visible{border-color:var(--focus-ring);outline:none;box-shadow:inset 0 0 0 1px var(--focus-ring)}.auth-code-slot{border:1px solid var(--border-strong);box-shadow:none;transition:border-color .14s ease,box-shadow .14s ease}.auth-code-slot:focus-visible{border-color:var(--focus-ring);outline:none;box-shadow:inset 0 0 0 1px var(--focus-ring);transform:none}.auth-code-slot:focus{border-color:var(--focus-ring);outline:none;box-shadow:inset 0 0 0 1px var(--focus-ring);transform:none}.auth-form-region .ui-button{transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease,color .14s ease}.auth-form-region .ui-button:hover:not(:disabled){transform:none}.auth-form-region .ui-button:active:not(:disabled){transform:scale(.985);transition-duration:.12s}.auth-submit-label{transition:none}.auth-form-region .ui-button:hover:not(:disabled) .auth-submit-label{letter-spacing:0;transform:none}.auth-form-region .ui-button[aria-busy=true],.auth-form-region .ui-button[aria-busy=true] .auth-submit-label{animation:none}.auth-form-code,.auth-stage-code .auth-card-head{animation:auth-form-in .14s ease-out both}.auth-form-region{transition:height .14s ease}.auth-form input:not(.auth-code-slot){box-shadow:none}.auth-form-region .ui-button-primary:focus-visible{box-shadow:var(--shadow-primary)}.auth-form-region .ui-button-secondary:focus-visible{box-shadow:none}.auth-panel-topbar{justify-content:space-between}.auth-brand{margin-right:auto}.auth-header-controls{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto;position:relative;z-index:12}@media(max-width:430px){.auth-header-controls{gap:6px}}.answer-input{width:100%;min-height:var(--tap);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text);padding:0 13px}.lesson-screen{max-width:820px;margin:0 auto}.lesson-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.lesson-head h1{margin:0;font-size:clamp(28px,4vw,38px)}.lesson-progress{display:flex;align-items:center;gap:12px;margin-bottom:22px;color:var(--text-muted);font-size:12px;font-weight:700;white-space:nowrap}.lesson-progress .ui-progress{flex:1}.item-card,.explanation-card,.feedback-card{padding:24px}.item-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;color:var(--text-muted);font-size:13px;font-weight:600}.hint-toggle{min-height:var(--tap);border:0;padding:0 4px;background:transparent;font-size:13px;font-weight:700}.item-stimulus{margin:22px 0;font-size:clamp(22px,3.4vw,30px);font-weight:700;letter-spacing:-.02em;line-height:1.35}.item-hint{border-left:4px solid var(--sun);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--warning-surface);padding:10px 12px;font-size:14px}.choice-list{display:grid;gap:10px;margin-bottom:18px}.choice-option{display:flex;min-height:54px;align-items:center;gap:12px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-button);color:var(--text);padding:8px 14px;font-size:16px;font-weight:600;text-align:left}.choice-option.selected{border-color:var(--blue);background:var(--info-surface)}.choice-letter{display:grid;width:28px;height:28px;flex:none;place-items:center;border-radius:9px;background:var(--surface-muted);color:var(--text-muted);font-size:12px}.token-sentence{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:18px;font-size:clamp(20px,3vw,28px);line-height:1.7}.sentence-token{min-height:var(--tap);border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);padding:0 4px;font-size:inherit}.sentence-token:hover:not(:disabled),.sentence-token.selected{border-color:var(--blue);background:var(--info-surface);color:var(--blue-deep)}.answer-input{margin-bottom:18px;font-size:18px}.item-kcs{margin:14px 0 0;color:var(--text-muted);font-size:12px;text-align:center}.explanation-body{font-size:18px;line-height:1.6}.explanation-contrast{border-left:4px solid var(--purp);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--surface);color:var(--text);padding:12px 14px;font-size:15px}.example-list{display:flex;flex-direction:column;gap:8px;margin:18px 0}.example-list span{border-radius:var(--radius-md);background:var(--surface);padding:10px 12px;font-size:15px}.pretest-note{color:var(--text-muted);font-size:13px}.feedback-card{border-width:2px}.feedback-correct{border-color:var(--success-border);background:var(--success-surface)}.feedback-wrong{border-color:var(--warning-border);background:var(--warning-surface)}.feedback-verdict{margin:0 0 8px;font-size:24px;font-weight:800}.feedback-why,.feedback-misconception,.feedback-answer{font-size:16px}.feedback-misconception{border-left:4px solid var(--coral);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--surface);padding:10px 12px}.feedback-answer{color:var(--text-muted)}@media(max-width:460px){.lesson-head{align-items:flex-start;flex-direction:column}}.lesson-head{position:relative}.hint-toggle{color:var(--action-ghost-text)}.choice-option.selected{color:var(--text)}.choice-option.selected .choice-letter{background:var(--action-primary-bg);color:var(--action-primary-text)}.sentence-token:hover:not(:disabled){color:var(--text)}.sentence-token.selected,.item-hint,.feedback-correct .feedback-verdict,.feedback-wrong .feedback-verdict{color:var(--text)}.crossfade-icon-state{display:grid;grid-area:1 / 1;place-items:center;will-change:opacity,transform,filter}.feedback-card{position:relative;overflow:hidden}.choice-option{touch-action:pan-y}.choice-option,.sentence-token{transition:transform 70ms ease,background-color 70ms ease,border-color 70ms ease,color 70ms ease,box-shadow 70ms ease}.explanation-card{position:relative;overflow:hidden}.crossfade-icon-state{transition:opacity .14s ease,transform .14s ease}.crossfade-icon-state-from{opacity:1;transform:scale(1);filter:none}.crossfade-icon-state-to{opacity:0;transform:scale(.94);filter:none}.crossfade-icon[data-active=true] .crossfade-icon-state-from{opacity:0;transform:scale(1.04);filter:none}.crossfade-icon[data-active=true] .crossfade-icon-state-to{opacity:1;transform:scale(1);filter:none}.choice-option.snapping{transition:transform .14s ease-out}.choice-option,.sentence-token{transition-duration:.14s}.feedback-verdict{display:flex;align-items:center;gap:8px}.rt-en{color:var(--blue-deep);font-style:normal;font-weight:600}.rt-key{background:var(--warning-surface);color:inherit;border-radius:4px;padding:0 2px}.rt-wrong{color:var(--text-muted);font-weight:500;text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:var(--coral-deep);text-decoration-thickness:1.5px;text-underline-offset:3px}.rt-wrong .rt-key{background:var(--danger-surface)}.summary-screen{max-width:900px;margin:0 auto}.summary-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px}.summary-copy h1{margin:0;font-size:clamp(32px,5vw,50px);line-height:1.02}.summary-copy p:not(.eyebrow){max-width:530px;margin:14px 0 0}.summary-sprite{flex:none}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.metric-card{padding:18px}.metric-label{margin:0;color:var(--text-muted);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.metric-value{display:block;margin:10px 0;font-size:34px;font-weight:800;letter-spacing:-.04em;line-height:1}.metric-note{margin:10px 0 0;color:var(--text-muted);font-size:13px}.summary-kcs{display:flex;flex-direction:column;gap:14px;margin-bottom:18px;padding:20px}.summary-kcs h2{margin:0;font-size:22px}.summary-kc-list{flex-wrap:wrap;gap:8px}.summary-kc-list span{font-size:13px;font-weight:600}.summary-note{margin:0;color:var(--text-muted);font-size:14px}@media(max-width:820px){.summary-grid{grid-template-columns:1fr}}@media(max-width:820px){.summary-hero{align-items:flex-start;flex-direction:column}}.summary-hero{background:var(--auth-panel);border-color:var(--auth-panel);color:var(--hero-text)}.summary-copy .eyebrow{color:var(--hero-muted);opacity:1}.summary-copy p:not(.eyebrow){color:var(--hero-text);opacity:.92}.summary-kc-list{display:block;color:var(--text);font-size:13px;font-weight:600;line-height:1.7}.summary-kc-list span{border:0;border-radius:0;background:transparent;padding:0;font:inherit}.stats-screen{max-width:1000px;margin:0 auto}.kc-table{margin-top:18px;padding:20px}.kc-table-list{display:flex;flex-direction:column;gap:12px}.kc-row:first-child{border-top:0;padding-top:0}.kc-row-title{min-width:210px;flex:1}.kc-row-title strong,.kc-row-title span{display:block}.kc-row-title span{color:var(--text-muted);font-size:12px}.kc-row-progress .ui-progress{flex:1}.chart-area{fill:color-mix(in srgb,var(--blue) 13%,transparent)}.chart-curve{fill:none;stroke:var(--blue);stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}.curve-control{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:8px}@media(max-width:620px){.curve-control{align-items:stretch;flex-direction:column}}.curve-control{position:relative;z-index:1}.iso-tier{cursor:pointer;outline:none;transform-box:fill-box;transform-origin:center bottom}.iso-body{transform-box:fill-box;transform-origin:center bottom}.chart-curve{animation-delay:70ms}.curve-range.snapping{transition:transform .14s ease-out}.iso-tier{transition:transform .14s ease}.iso-tier:hover{transform:translateY(-2px)}.iso-tier:focus-visible{transform:translateY(-2px)}.iso-tier.hovered{transform:translateY(-2px)}.chart-area,.chart-curve,.iso-body{animation:none;clip-path:none;opacity:1}.admin-create label{color:var(--text-muted);font-size:13px;font-weight:700}.profile-screen{max-width:1000px;margin:0 auto}.profile-avatar{display:grid;width:96px;height:96px;flex:none;place-items:center;border-radius:28px}.settings-card{padding:20px}.settings-card h2{margin:0 0 12px;font-size:20px}.settings-options{display:flex;flex-wrap:wrap;gap:8px}.settings-note{color:var(--text-muted);font-size:14px}.rejected-list{margin-top:16px}.rejected-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-top:1px solid var(--border);padding:10px 0;color:var(--text-muted);font-size:12px}.rejected-row span{text-align:right}.admin-section{margin-top:14px;padding:20px}.admin-intro{color:var(--text-muted);font-size:14px}.admin-create{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;align-items:end;border-top:1px solid var(--border);padding-top:14px}.admin-create label{display:flex;flex-direction:column;gap:6px}.admin-create .ui-button{grid-column:1 / -1}.invite-result{margin-top:14px;border:1px solid var(--success-border);border-radius:var(--radius-md);background:var(--success-surface);padding:14px}.invite-result p{margin:8px 0 0;color:var(--text-muted);font-size:12px;overflow-wrap:anywhere}.pending-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px}.pending-head h3{margin:0;font-size:18px}.pending-list{margin-top:8px}.pending-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--border);padding:12px 0}.pending-row strong,.pending-row span{display:block}.pending-row span{color:var(--text-muted);font-size:12px}.pending-actions{display:flex;gap:8px}@media(max-width:820px){.admin-create{grid-template-columns:1fr}}@media(max-width:460px){.pending-row{align-items:flex-start;flex-direction:column}}@media(max-width:460px){.pending-actions{width:100%}}.storage-granted{border-color:var(--success-border);background:var(--success-surface)}.storage-denied,.storage-unsupported{border-color:var(--warning-border);background:var(--warning-surface)}.profile-avatar{background:color-mix(in srgb,var(--hero-text) 14%,transparent)}.settings-panel{display:grid;gap:14px}.settings-identity{margin-top:0}.profile-avatar-large{width:84px;border:1px solid var(--border-strong);height:84px;border-radius:26px;box-shadow:var(--shadow-button);font-size:34px;font-weight:800;text-transform:uppercase}.profile-heading-copy h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1}.profile-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}@media(max-width:820px){.profile-heading-actions{justify-content:flex-start}}@media(max-width:620px){.profile-heading-copy h1{font-size:31px}}.settings-identity{display:block;max-width:100%;overflow:hidden;margin:8px 0 12px;color:var(--text-muted);font-family:var(--font-mono);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.settings-identity-row{display:flex;align-items:center;gap:10px;margin:8px 0 12px}.profile-visibility-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;border:1px solid var(--border);background:var(--surface-muted);padding:3px}.profile-visibility-option{min-height:32px;border:0;background:transparent;color:var(--text-muted);padding:0 5px;font-size:10px;font-weight:800}.profile-error-mark{display:grid;width:26px;height:26px;flex:none;place-items:center;border:1px solid var(--danger-border);border-radius:8px;background:var(--danger-surface);font-size:17px;font-weight:800;line-height:1}@media(max-width:560px){.profile-visibility-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.profile-heading-actions{justify-content:flex-start}}.profile-avatar-large{background:var(--blue-deep);color:var(--hero-text)}.profile-visibility-options{border-radius:8px}.profile-visibility-option{border-radius:6px}.storage-granted,.storage-denied,.storage-unsupported,.profile-error-mark{color:var(--text)}.rejected-row span{color:var(--text-muted)}.profile-heading-copy{min-width:0}.profile-heading-copy h1{overflow-wrap:break-word}.settings-panel,.settings-identity-row{min-width:0}@media(max-width:460px){.pending-actions .ui-button{flex:1}}@media(prefers-reduced-motion:reduce){.ui-button,.ui-progress-fill{animation:none!important;transition:none!important}.ui-button:active{transform:none}}.iella-body{transform-box:fill-box;transform-origin:center bottom;animation:iella-breathe 3.8s ease-in-out infinite}.iella-head{transform-box:fill-box;transform-origin:center;animation:iella-look 7.2s ease-in-out infinite}.iella-eye{animation:iella-blink 5.4s steps(1,end) infinite}.iella-tail{transform-box:fill-box;transform-origin:left center;animation:iella-tail 5.2s ease-in-out infinite}@keyframes iella-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-2.5px)}}@keyframes iella-breathe{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.025)}}@keyframes iella-look{0%,24%,to{transform:translate(0)}34%,48%{transform:translate(.45px)}58%,72%{transform:translate(-.35px)}}@keyframes iella-blink{0%,91%,to{opacity:1}92%,96%{opacity:.15}}@keyframes iella-tail{0%,to{transform:rotate(0)}50%{transform:rotate(-4deg)}}@keyframes iella-perch-sway{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}@keyframes iella-dock-hop{0%,to{transform:translate(-50%) translateY(0)}50%{transform:translate(-50%) translateY(-3px)}}.lesson-head-actions{display:flex;align-items:center;gap:8px}@keyframes hero-drift{0%{transform:translate(-7px)}to{transform:translate(9px)}}@keyframes hero-route-flow{to{stroke-dashoffset:-32}}@keyframes hero-node{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.06);opacity:.86}}@keyframes hero-twinkle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.42;transform:scale(.75)}}@keyframes hero-glow{0%,to{opacity:.3;transform:scale(1)}50%{opacity:.52;transform:scale(1.08)}}@keyframes iella-arrival{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-4px) rotate(1deg)}}.today-screen{display:flex;flex-direction:column;gap:18px}.today-avatar{display:grid;width:42px;height:42px;flex:none;place-items:center;border:1px solid var(--border);border-radius:14px;background:var(--sun);box-shadow:var(--shadow-button);color:var(--bg);font-weight:800;text-transform:uppercase}.skin-option-copy{min-width:0}.skin-option-copy strong,.skin-option-copy span{display:block}.skin-option-copy strong{font-size:14px}.skin-option-copy span{margin-top:2px;color:var(--text-muted);font-size:11px;line-height:1.35}.storage-status{margin:14px 0 0;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:9px 11px;color:var(--text-muted);font-size:13px}[data-skin=neo-brutalism] .ui-card,[data-skin=neo-brutalism] .kc-card,[data-skin=neo-brutalism] .today-route,[data-skin=neo-brutalism] .skin-option,[data-skin=neo-brutalism] .ui-modal{border-width:2px}[data-skin=neo-brutalism] .ui-button,[data-skin=neo-brutalism] .theme-toggle,[data-skin=neo-brutalism] .skin-select,[data-skin=neo-brutalism] .segment,[data-skin=neo-brutalism] .brand-mark,[data-skin=neo-brutalism] .today-avatar{border:2px solid var(--border)}[data-skin=soft-bento] .ui-card,[data-skin=soft-bento] .kc-card,[data-skin=soft-bento] .skin-option{border-color:transparent}[data-skin=soft-bento] .ui-button,[data-skin=soft-bento] .theme-toggle,[data-skin=soft-bento] .skin-select{border-radius:999px}[data-skin=soft-bento] .studio-sidebar{border-right-color:transparent;background:transparent}[data-skin=soft-bento] .side-nav{gap:7px}[data-skin=soft-bento] .nav-item{border-radius:999px}[data-skin=soft-bento] .ui-card{box-shadow:var(--shadow-card)}[data-skin=laboratory] .studio-shell{background:transparent}[data-skin=laboratory] .studio-sidebar{border-right:1px solid var(--border);background:var(--surface);backdrop-filter:blur(20px)}[data-skin=laboratory] .side-nav{border:1px solid var(--border);border-radius:16px;background:var(--surface-raised);padding:6px}[data-skin=laboratory] .nav-item{border-radius:10px}[data-skin=laboratory] .nav-item.active{box-shadow:0 0 0 1px var(--border-strong),0 0 20px color-mix(in srgb,var(--blue) 30%,transparent)}[data-skin=laboratory] .ui-card,[data-skin=laboratory] .kc-card,[data-skin=laboratory] .skin-option,[data-skin=laboratory] .ui-modal,[data-skin=laboratory] .mobile-nav{backdrop-filter:blur(18px)}[data-skin=laboratory] .ui-card,[data-skin=laboratory] .kc-card,[data-skin=laboratory] .skin-option{border:1px solid var(--border)}[data-skin=laboratory] .kc-percent,[data-skin=laboratory] .route-level strong,[data-skin=laboratory] .articles-count,[data-skin=laboratory] .metric-value,[data-skin=laboratory] .stat-value{font-family:var(--font-mono);letter-spacing:-.03em}[data-skin=laboratory] .today-route{border:1px solid var(--border)}[data-skin=laboratory] .mobile-nav{border-radius:20px;background:var(--surface);backdrop-filter:blur(22px)}@media(max-width:460px){.today-avatar{width:38px;height:38px}.lesson-head-actions{width:100%;justify-content:space-between}}.studio-icon{flex:none;vertical-align:middle}@keyframes appearance-in{0%{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.appearance-check{margin-left:auto;color:var(--blue)}@keyframes auth-card-lift{0%{transform:translateY(6px)}to{transform:translateY(0)}}.auth-card-subtitle{margin:3px 0 0;color:var(--text-muted);font-size:13px}@keyframes auth-form-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.auth-form .auth-note{text-align:left}.auth-form .ui-button{justify-content:center}.lesson-screen .ui-button .studio-icon{margin-right:1px}.iella-companion{position:fixed;z-index:55;top:0;left:0;pointer-events:none;will-change:transform}.iella-companion .iella-sprite-button{pointer-events:auto}.iella-companion [data-mood=perched] .iella-feet{opacity:1}.iella-companion [data-mood=flying] .iella-feet{opacity:0;transform:translateY(-2px)}.iella-wing{transform-box:fill-box;transform-origin:center}.iella-wing-left{transform-origin:right center}.iella-sprite[data-mood=flying] .iella-wing-left{animation:iella-flap-left .43s ease-in-out infinite alternate}.iella-sprite[data-mood=curious] .iella-head{animation:iella-curious-head 3.4s ease-in-out infinite}.iella-sprite[data-mood=proud] .iella-wing-left{animation:iella-flap-left .52s ease-in-out infinite alternate}.iella-sprite .iella-eye-fill{fill:var(--iella-eye)}.iella-sprite .iella-wing .iella-ink{fill:var(--iella-ink)}@keyframes iella-flap-left{0%{transform:rotate(2deg) translateY(0)}to{transform:rotate(-22deg) translateY(-2px)}}@keyframes iella-flap-right{0%{transform:rotate(-2deg) translateY(0)}to{transform:rotate(22deg) translateY(-2px)}}@keyframes iella-flight-bob{0%,to{transform:translateY(-1px)}50%{transform:translateY(2px)}}@keyframes iella-curious-head{0%,to{transform:rotate(0) translate(0)}40%,65%{transform:rotate(4deg) translate(.5px)}}@keyframes iella-proud-hop{0%,to{transform:translateY(0) scaleY(1)}28%{transform:translateY(-6px) scaleY(1.02)}48%{transform:translateY(0) scaleY(.98)}66%{transform:translateY(-3px) scaleY(1.01)}}@keyframes iella-perched-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes hero-celestial-breathe{0%,to{opacity:.45;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}@keyframes hero-hill-drift{0%{transform:scaleY(1)}to{transform:scaleY(1.025)}}@keyframes hero-halo{0%,to{opacity:.1;transform:scale(.82)}50%{opacity:.24;transform:scale(1.16)}}.nav-item .studio-icon,.mobile-nav-item .studio-icon{width:20px;height:20px;flex:none}.iella-card-copy{min-width:0}.iella-card .iella-card-kicker{display:block;color:var(--text-muted);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.iella-card-action{display:grid;width:34px;height:34px;flex:none;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface);color:var(--blue)}.iella-card-action:hover{background:var(--info-surface)}.iella-card .iella-card-kicker{font-size:11px;letter-spacing:0;text-transform:none}.iella-companion{visibility:hidden}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}.auth-form-region .auth-card-head{margin-bottom:24px}.auth-form-region .auth-card-head h2{font-size:clamp(29px,3.2vw,36px)}.auth-form-region .auth-card-subtitle{margin-top:5px;font-size:14px}.auth-form label:not(.visually-hidden){color:var(--text);font-size:13px;font-weight:700}.auth-form-region .ui-button-primary{min-height:52px;border-radius:14px}.auth-form-region .ui-button-secondary{min-height:50px;border:1px solid var(--border-strong);border-radius:14px;box-shadow:none}@keyframes auth-success-in{0%{opacity:0}to{opacity:1}}@keyframes auth-success-ring{to{stroke-dashoffset:0}}@keyframes auth-success-check{to{stroke-dashoffset:0}}@keyframes iella-landing{0%{transform:translateY(-3px) scale(1.02,.98)}55%{transform:translateY(1px) scale(.99,1.01)}to{transform:translateY(0) scale(1)}}.settings-tabs{display:flex;gap:4px;overflow-x:auto;margin-bottom:16px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:4px}.settings-tab{display:inline-flex;min-height:42px;align-items:center;gap:7px;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);padding:0 12px;font-size:12px;font-weight:700;white-space:nowrap}.settings-tab.active{background:var(--text);color:var(--surface)}.settings-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:2px 2px 0}.settings-panel-heading h2{margin:0 0 4px;font-size:22px}.settings-panel-heading p{margin:0;color:var(--text-muted);font-size:13px}.settings-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.method-list{display:flex;flex-direction:column;gap:0;margin:4px 0 12px}.method-row{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);font-size:14px;font-weight:600}.method-row:last-child{border-bottom:0}.settings-split-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.settings-split-card h2{margin-bottom:5px}.settings-panel .admin-section{margin-top:0}@media(max-width:1080px){.settings-two-column{grid-template-columns:1fr}}@media(max-width:620px){.auth-form-region .auth-card-head h2{font-size:29px}.settings-tabs{border-radius:var(--radius-sm)}.settings-tab{padding:0 10px}.settings-split-card{align-items:flex-start;flex-direction:column}}@keyframes hero-celestial-glow{0%,to{opacity:.45;transform:scale(1)}50%{opacity:.72;transform:scale(1.045)}}@keyframes hero-contour-drift{to{stroke-dashoffset:-120}}@keyframes hero-ribbon-drift{0%{transform:translate(-8px) translateY(0)}to{transform:translate(10px) translateY(-4px)}}@keyframes hero-route-dash{to{stroke-dashoffset:-34}}@keyframes hero-step-breathe{0%,to{opacity:.12;transform:scale(.82)}50%{opacity:.3;transform:scale(1.12)}}@keyframes hero-cloud-drift{0%{transform:translate(-7px)}to{transform:translate(10px)}}@keyframes auth-success-settle{0%{transform:scale(.92)}68%{transform:scale(1.025)}to{transform:scale(1)}}.iella-sprite[data-mood=flying] .iella-feet{opacity:0}.iella-sprite[data-mood=perched] .iella-wing-left{animation:iella-wing-rustle 7.5s ease-in-out infinite}@keyframes iella-wing-rustle{0%,92%,to{transform:rotate(0)}94%{transform:rotate(-5deg)}97%{transform:rotate(2deg)}}@keyframes iella-wing-rustle-right{0%,92%,to{transform:rotate(0)}94%{transform:rotate(5deg)}97%{transform:rotate(-2deg)}}.palette-swatch{width:24px;height:24px}.palette-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.palette-option{display:flex;min-height:76px;align-items:center;gap:12px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);color:var(--text);padding:10px 12px;text-align:left}.palette-option:hover{border-color:var(--border-strong);background:var(--surface-raised)}.palette-option.selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue),var(--shadow-card)}.palette-preview{position:relative;width:76px;height:50px;flex:none;overflow:hidden;border:1px solid var(--border-strong);border-radius:10px;background:var(--swatch-bg)}.palette-preview:before{position:absolute;inset:7px;border-radius:6px;background:var(--swatch-surface);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--swatch-accent) 36%,transparent);content:""}.palette-preview span:first-child{position:absolute;top:14px;left:14px;width:27px;height:4px;border-radius:999px;background:var(--swatch-accent)}.palette-preview span:last-child{position:absolute;top:22px;left:14px;width:17px;height:4px;border-radius:999px;background:var(--swatch-alt)}.navigation-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.navigation-option{display:inline-flex;min-height:42px;align-items:center;gap:7px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--text-muted);padding:0 13px;font-size:13px;font-weight:700}.navigation-option.selected{border-color:var(--blue);background:var(--info-surface);color:var(--blue-deep)}.settings-panel-heading-spaced{margin-top:10px}.auth-panel>:not(.auth-panel-topbar){position:relative;z-index:2}.auth-panel .auth-card-head h2,.auth-panel .auth-card-head p,.auth-panel .auth-form label:not(.visually-hidden),.auth-panel .auth-legal,.auth-panel .auth-note{color:var(--auth-panel-text)}.auth-panel .auth-card-subtitle,.auth-panel .auth-note,.auth-panel .auth-legal{color:var(--auth-panel-muted)}.auth-panel .auth-divider:before,.auth-panel .auth-divider:after{background:color-mix(in srgb,var(--auth-panel-text) 18%,transparent)}.auth-panel .auth-divider span{color:var(--auth-panel-muted)}@keyframes thermal-drift{0%{transform:translate3d(-2%,1%,0) scale(.96) rotate(-3deg)}48%{transform:translate3d(4%,-3%,0) scale(1.08) rotate(4deg)}to{transform:translate3d(-1%,4%,0) scale(1.02) rotate(-2deg)}}@keyframes thermal-contour{0%{transform:translate3d(-2%,0,0) rotate(-16deg) scale(.98)}to{transform:translate3d(3%,-2%,0) rotate(-9deg) scale(1.05)}}@keyframes studio-enter{0%{opacity:1;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.studio-shell[data-nav-position=right]{flex-direction:row-reverse}.studio-shell[data-nav-position=right] .studio-sidebar{border-right:0;border-left:1px solid var(--border)}.studio-shell[data-nav-position=bottom] .studio-sidebar{display:none}.studio-shell[data-nav-position=bottom] .studio-topbar{justify-content:space-between}.studio-shell[data-nav-position=bottom] .mobile-brand{display:flex}.learner-dock{display:flex;align-items:center;gap:6px;border-top:1px solid var(--border);padding-top:10px}.learner-profile-button{display:flex;min-width:0;min-height:52px;flex:1;align-items:center;gap:10px;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--text);padding:5px 7px;text-align:left}.learner-profile-button:hover{border-color:var(--border);background:var(--info-surface)}.iella-card-sprite{width:36px;height:33px}.profile-personal{max-width:1060px}.profile-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border:1px solid var(--border);border-radius:var(--radius-xl);background:var(--surface-card);box-shadow:var(--shadow-card);padding:24px}.profile-heading-main{display:flex;min-width:0;align-items:center;gap:18px}.profile-heading-copy .eyebrow{margin-bottom:2px}.profile-heading-copy code{display:block;max-width:100%;overflow:hidden;margin-top:7px;color:var(--text-muted);font-family:var(--font-mono);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profile-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.profile-stat-card{display:flex;min-height:186px;flex-direction:column;gap:8px;padding:18px}.profile-stat-label{color:var(--text-muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.profile-stat-value{font-size:40px;font-variant-numeric:tabular-nums;letter-spacing:-.06em;line-height:1}.profile-stat-value small{color:var(--text-muted);font-size:18px;letter-spacing:-.03em}.profile-stat-note{min-height:38px;color:var(--text-muted);font-size:12px;line-height:1.45}.profile-section{margin-top:22px}.profile-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.profile-section-heading h2{margin:0;font-size:21px}.profile-section-heading p{margin:4px 0 0;color:var(--text-muted);font-size:13px}.profile-section h3{margin:0 0 8px;font-size:15px}.milestone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.milestone-badge{display:flex;min-height:128px;flex-direction:column;gap:6px;padding:14px}.milestone-badge strong{font-size:13px}.milestone-badge>span:last-child{color:var(--text-muted);font-size:11px;line-height:1.4}.milestone-badge.earned{border-color:color-mix(in srgb,var(--green) 50%,var(--border))}.milestone-icon{display:grid;width:32px;height:32px;place-items:center;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--text-muted)}.milestone-badge.earned .milestone-icon{border-color:var(--success-border);background:var(--success-surface);color:var(--green-deep)}.profile-section .settings-split-card .ui-button{white-space:nowrap}@keyframes widget-wiggle{0%{transform:rotate(-.16deg)}to{transform:rotate(.16deg)}}.focus-list{display:flex;flex-direction:column;gap:11px}.focus-row{display:flex;flex-direction:column;gap:5px}.focus-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:12px;font-weight:700}.focus-label span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.focus-label span:last-child{flex:none;color:var(--text-muted);font-family:var(--font-mono);font-size:10px}.activity-level-1{background:color-mix(in srgb,var(--green) 28%,var(--surface-muted))}.activity-level-2{background:color-mix(in srgb,var(--green) 52%,var(--surface-muted))}.activity-level-3{background:color-mix(in srgb,var(--green) 74%,var(--surface-muted))}.activity-level-4{background:var(--green)}.activity-note{margin:auto 0 0;color:var(--text-muted);font-size:11px}.iella-sprite[data-mood] .iella-body,.iella-sprite[data-mood] .iella-head,.iella-sprite[data-mood] .iella-tail,.iella-sprite[data-mood] .iella-wing-left{animation:none}.iella-sprite[data-mood] .iella-feet{opacity:1;transform:none}.iella-sprite[data-mood] .iella-eye{animation:iella-calm-blink 6.4s steps(1,end) infinite}@keyframes iella-calm-breathe{0%,50%{transform:translateY(0)}50.01%,to{transform:translateY(-1px)}}@keyframes iella-calm-blink{0%,92%,to{opacity:1}93%,97%{opacity:0}}@media(max-width:1080px){.palette-options,.profile-overview{grid-template-columns:1fr}.profile-stat-card{min-height:0}}@media(max-width:820px){.profile-heading{flex-direction:column}}@media(max-width:620px){.profile-heading-main{align-items:flex-start;flex-direction:column}.milestone-grid{grid-template-columns:1fr 1fr}.milestone-badge{min-height:116px}.settings-tab span{font-size:11px}}@media(max-width:430px){.milestone-grid{grid-template-columns:1fr}}.auth-thermal-canvas{position:absolute;z-index:0;inset:0;display:block;width:100%;height:100%}.language-menu{position:relative;z-index:12;display:flex;min-height:44px;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface);padding:3px}.language-options{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:flex;min-width:124px;flex-direction:column;gap:2px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:var(--shadow-card);opacity:0;padding:5px;pointer-events:none;transform:translateY(-4px);transition:opacity .12s ease,transform .12s ease;visibility:hidden}.language-menu[data-open=true] .language-options{opacity:1;pointer-events:auto;transform:translateY(0);visibility:visible}.studio-shell[data-nav-position=bottom] .mobile-nav:before{position:absolute;top:0;right:18%;left:18%;height:1px;background:color-mix(in srgb,var(--surface) 95%,transparent);content:"";pointer-events:none}.progress-screen{max-width:1112px}.progress-dashboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;gap:14px;align-items:stretch}.progress-card{display:flex;min-width:0;flex-direction:column;gap:10px;padding:18px}.progress-fsrs-card{grid-column:span 7}.progress-mastery-card{grid-column:span 5}.progress-skills-card,.progress-misconceptions-card,.progress-calibration-card{grid-column:span 4}.progress-kc-card{grid-column:1 / -1}.progress-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.progress-card-heading h2{margin:2px 0 0;font-size:19px}.progress-card-heading .eyebrow{margin-bottom:0}.progress-note{margin:0;color:var(--text-muted);font-size:12px;line-height:1.45}.fsrs-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.fsrs-metrics>div{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:8px}.fsrs-metrics span{display:block;overflow:hidden;color:var(--text-muted);font-size:9px;font-weight:800;letter-spacing:.03em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.fsrs-metrics strong{display:block;margin-top:3px;font-size:21px;font-variant-numeric:tabular-nums;letter-spacing:-.05em;line-height:1}.fsrs-metrics small{margin-left:2px;color:var(--text-muted);font-size:10px;letter-spacing:0}.progress-chart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:3px}.progress-chart-heading h3{margin:0;font-size:13px}.progress-chart-heading span{color:var(--text-muted);font-family:var(--font-mono);font-size:9px}.forgetting-curve svg,.mastery-chart,.calibration-chart{display:block;width:100%;height:auto;overflow:visible}.chart-grid line{stroke:color-mix(in srgb,var(--border) 78%,transparent);stroke-width:1}.chart-target{stroke:var(--coral);stroke-dasharray:5 5;stroke-width:1.2}.chart-marker{fill:var(--coral);stroke:var(--surface-card);stroke-width:2}.chart-labels text,.chart-axis-title{fill:var(--text-muted);font-family:var(--font-mono);font-size:8px}.chart-axis-title{font-size:7px;letter-spacing:.06em;text-transform:uppercase}.curve-control label{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px;color:var(--text-muted);font-size:10px;font-weight:700}.curve-control input{width:100%;accent-color:var(--blue)}.curve-control strong{color:var(--blue-deep);font-family:var(--font-mono);font-size:10px;white-space:nowrap}.chart-empty{margin:auto 0;color:var(--text-muted);font-size:12px;line-height:1.5}.skill-list,.misconception-list{display:flex;flex-direction:column;gap:10px}.skill-row{display:flex;flex-direction:column;gap:5px}.skill-row>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px}.skill-row>div strong{min-width:0;flex:1;overflow-wrap:break-word}.skill-row>div span{flex:none;color:var(--text-muted);font-family:var(--font-mono);font-size:9px}.misconception-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;color:var(--text-muted);font-size:10px;font-weight:700}.misconception-summary strong{color:var(--blue-deep);font-family:var(--font-mono);font-size:9px}.misconception-row{display:flex;flex-direction:column;gap:5px}.misconception-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.misconception-topline strong{min-width:0;flex:1;overflow-wrap:break-word}.misconception-row>span{color:var(--text-muted);font-family:var(--font-mono);font-size:8px}.calibration-chart-wrap{display:flex;min-height:190px;flex-direction:column;justify-content:center}.calibration-chart{max-height:230px}.calibration-target{stroke:var(--blue)}.progress-kc-card{margin-top:0}@media(max-width:1080px){.progress-fsrs-card,.progress-mastery-card,.progress-skills-card,.progress-misconceptions-card,.progress-calibration-card{grid-column:span 6}}@media(max-width:820px){.progress-dashboard{grid-template-columns:1fr}.progress-fsrs-card,.progress-mastery-card,.progress-skills-card,.progress-misconceptions-card,.progress-calibration-card,.progress-kc-card{grid-column:1 / -1}.fsrs-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.progress-card{padding:14px}.curve-control strong{text-align:right}}.brand-logo{display:block;flex:none;overflow:visible;filter:drop-shadow(0 2px 1.5px color-mix(in srgb,var(--thermal-shadow) 46%,transparent))}@keyframes ring-particle-drift{0%{transform:translate3d(-3px,2px,0) scale(.98)}to{transform:translate3d(5px,-4px,0) scale(1.04)}}@keyframes ring-liquid-morph{0%{transform:translate3d(-3%,4%,0) scale(.92)}to{transform:translate3d(3%,-2%,0) scale(1.08)}}.forgetting-curve{position:relative;overflow:hidden}.curve-particles{position:absolute;z-index:0;top:0;right:0;left:0;height:72%;background-image:radial-gradient(circle at 18% 66%,color-mix(in srgb,var(--blue) 34%,transparent) 0 1.5px,transparent 2px),radial-gradient(circle at 72% 34%,color-mix(in srgb,var(--purp) 26%,transparent) 0 1px,transparent 2px),radial-gradient(circle at 48% 78%,color-mix(in srgb,var(--coral) 24%,transparent) 0 1.2px,transparent 2px);background-size:38px 38px,46px 46px,30px 30px;opacity:.7;pointer-events:none;animation:curve-particle-drift 14s ease-in-out infinite alternate}.curve-particles:after{position:absolute;right:-15%;bottom:0;left:-15%;height:34%;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--blue) 10%,transparent));content:"";animation:curve-liquid 9s ease-in-out infinite alternate}.forgetting-curve>svg{position:relative;z-index:1}@keyframes curve-particle-drift{0%{transform:translate3d(-8px,3px,0);opacity:.5}to{transform:translate3d(8px,-3px,0);opacity:.85}}@keyframes curve-liquid{0%{transform:translate3d(-2%,5%,0) scaleY(.92)}to{transform:translate3d(2%,-2%,0) scaleY(1.08)}}.iso-chart-wrap{position:relative;min-height:250px}.iso-mastery-chart{overflow:visible}.iso-ground{stroke:color-mix(in srgb,var(--border) 72%,transparent);stroke-width:1}.iso-left{fill:color-mix(in srgb,var(--blue) 48%,var(--surface))}.iso-right{fill:color-mix(in srgb,var(--blue) 72%,var(--surface))}.iso-top{fill:color-mix(in srgb,var(--green) 58%,var(--surface))}.iso-tier:nth-child(3n) .iso-top{fill:color-mix(in srgb,var(--sun) 58%,var(--surface))}.iso-tier:nth-child(3n+1) .iso-left{fill:color-mix(in srgb,var(--purp) 48%,var(--surface))}.iso-tier:nth-child(3n+1) .iso-right{fill:color-mix(in srgb,var(--purp) 72%,var(--surface))}.iso-seam{fill:none;stroke:color-mix(in srgb,var(--surface) 38%,transparent);stroke-width:1}.iso-value{fill:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-weight:700;opacity:0;transition:opacity .16s ease}.iso-tier:hover .iso-value,.iso-tier:focus-visible .iso-value,.iso-tier.hovered .iso-value{opacity:1}.iso-level{fill:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-weight:700}.iso-tooltip{position:absolute;top:5px;left:50%;display:flex;max-width:300px;flex-direction:column;gap:2px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-card);box-shadow:var(--shadow-card);padding:6px 9px;transform:translate(-50%);pointer-events:none}.iso-tooltip strong{color:var(--blue-deep);font-family:var(--font-mono);font-size:10px}.iso-tooltip span{color:var(--text-muted);font-size:10px;line-height:1.35}@media(prefers-reduced-motion:reduce){.curve-particles,.curve-particles:after,.iso-tier{animation:none;transition:none}}@keyframes iso-rise{0%{opacity:.72;transform:translateY(6px) scaleY(.94)}to{opacity:1;transform:translateY(0) scaleY(1)}}.activity-calendar{display:flex;width:100%;min-width:0;flex:1;align-items:stretch;gap:5px}.activity-weekday-labels{display:grid;width:18px;flex:none;grid-template-rows:repeat(7,1fr);gap:4px;align-items:center;color:var(--text-muted);font-family:var(--font-mono);font-size:8px;font-weight:700;text-align:right}.activity-weekday-labels span{display:flex;align-items:center;justify-content:flex-end}.activity-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.activity-footer .activity-note{min-width:0;margin:0}.activity-legend{display:inline-flex;flex:none;align-items:center;gap:3px;color:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-weight:700;white-space:nowrap}.activity-legend i.activity-cell{width:10px;height:10px;flex:none;aspect-ratio:auto;border-radius:2px;border:1px solid color-mix(in srgb,var(--border) 45%,transparent)}@media(max-width:620px){.activity-legend i.activity-cell{width:8px;height:8px}}:lang(uz) .auth-visual-copy h1{letter-spacing:-.08em}.auth-form-region .auth-form-header{margin-bottom:28px}.auth-form-region .auth-form-header h2{color:var(--text);font-size:clamp(1.85rem,2.2vw,2.35rem);font-weight:700;letter-spacing:-.03em;line-height:1.03}.auth-form-region .auth-form-header .auth-card-subtitle{max-width:38ch;margin-top:8px;font-size:14px;line-height:1.5}.auth-form-region .ui-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}:root[data-palette=cream-paper] .auth-panel,:root[data-palette=sand-forest] .auth-panel{background-blend-mode:soft-light,soft-light,overlay}:root[data-palette=cream-paper] .auth-panel:before,:root[data-palette=sand-forest] .auth-panel:before{background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--auth-panel-text) 14%,transparent) 0 .9px,transparent 1.3px),radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--auth-panel-text) 9%,transparent) 0 .7px,transparent 1.1px),var(--felt-texture),var(--felt-texture);background-position:0 0,2px 2px,0 0,43px 67px;background-size:4px 4px,5px 5px,173px 173px,97px 97px;filter:contrast(var(--felt-weave-contrast, 1.3)) brightness(var(--felt-weave-brightness, .92));opacity:var(--felt-weave-opacity, .78)}@media(max-width:380px){.auth-brand .brand-logo{width:34px;height:34px}}:root[data-palette=cream-paper] .auth-panel,:root[data-palette=sand-forest] .auth-panel,:root[data-palette=burgundy] .auth-panel{background-blend-mode:soft-light,soft-light,overlay}:root[data-palette=cream-paper] .auth-panel:before,:root[data-palette=sand-forest] .auth-panel:before,:root[data-palette=burgundy] .auth-panel:before{background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--auth-panel-text) 14%,transparent) 0 .9px,transparent 1.3px),radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--auth-panel-text) 9%,transparent) 0 .7px,transparent 1.1px),var(--felt-texture),var(--felt-texture);background-position:0 0,2px 2px,0 0,43px 67px;background-size:4px 4px,5px 5px,173px 173px,97px 97px;filter:contrast(var(--felt-weave-contrast, 1.3)) brightness(var(--felt-weave-brightness, .92));opacity:var(--felt-weave-opacity, .78)}@keyframes auth-button-spring{0%{transform:scale(1)}24%{transform:scale(.955)}52%{transform:scale(1.035)}76%{transform:scale(.992)}to{transform:scale(1)}}@keyframes auth-label-morph{0%{filter:blur(0);letter-spacing:0}28%{filter:blur(.35px);letter-spacing:.05em}64%{filter:blur(0);letter-spacing:-.02em}to{filter:blur(0);letter-spacing:0}}@media(prefers-reduced-motion:reduce){.auth-form-region .ui-button,.auth-submit-label{animation:none;transition:none}.auth-form-region .ui-button:hover:not(:disabled),.auth-form-region .ui-button:active:not(:disabled),.auth-form-region .ui-button:hover:not(:disabled) .auth-submit-label{transform:none;letter-spacing:0}}.bento-card{display:flex;min-width:0;flex-direction:column;gap:10px;overflow:hidden;padding:18px}.bento-card h2{margin:0;font-size:clamp(19px,2vw,25px);letter-spacing:-.025em;line-height:1.08}.bento-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.bento-card-heading>.studio-icon{color:var(--text-muted)}.bento-empty{margin:12px 0;color:var(--text-muted);font-size:13px;line-height:1.5}.duration-pills{position:relative;z-index:1;display:flex;gap:6px;margin-top:auto;padding-top:4px}.duration-pill:hover{border-color:var(--border-strong);color:var(--text)}.duration-pill.active{border-color:var(--text);background:var(--text);color:var(--surface)}.route-start{align-self:flex-start}.bento-level,.bento-due{grid-column:span 3}.bento-mastery{grid-column:span 5}.bento-activity{grid-column:span 7;min-height:286px}.bento-errors,.bento-notes{grid-column:span 6}.due-metric{display:flex;align-items:baseline;gap:6px}.due-value{font-size:clamp(42px,4.4vw,58px);font-variant-numeric:tabular-nums;letter-spacing:-.08em;line-height:.9}.due-metric>span{color:var(--text-muted);font-family:var(--font-mono);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.mastery-list{display:flex;flex-direction:column;gap:9px;margin-top:2px}.mastery-row{display:flex;min-width:0;flex-direction:column;gap:4px}.mastery-row-heading strong{min-width:0;flex:1;font-size:12px;overflow-wrap:break-word}.mastery-row-bar{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:8px}.mastery-row-bar .ui-progress{height:7px}.mastery-row-bar>span{color:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-variant-numeric:tabular-nums;text-align:right}.bento-activity .activity-calendar{margin-top:2px}.bento-activity .activity-heatmap{gap:5px}.bento-activity .activity-cell{border-radius:3px}.bento-activity .activity-footer{margin-top:auto}.error-notebook-list{display:flex;flex-direction:column;gap:7px;margin-top:2px}.error-notebook-row{display:flex;min-width:0;align-items:center;gap:9px;border:1px solid var(--border);border-radius:var(--radius-md);background:color-mix(in srgb,var(--surface-muted) 58%,var(--surface));padding:8px 9px}.error-notebook-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.error-notebook-copy strong{font-size:12px;overflow-wrap:break-word}.error-notebook-copy span{color:var(--text-muted);font-size:10px}.note-row{display:flex;min-width:0;flex-direction:column;gap:2px;border:1px solid var(--border);border-left:3px solid var(--blue);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--surface-muted) 48%,var(--surface));padding:8px 10px}.note-row-watch{border-left-color:var(--coral)}.note-row-label{color:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.note-row strong{font-size:12px;overflow-wrap:break-word}.note-row>span:last-child{color:var(--text-muted);font-size:10px}@media(max-width:1180px){.bento-level,.bento-due,.bento-mastery,.bento-activity,.bento-errors,.bento-notes{grid-column:span 6}}@media(max-width:900px){.bento-level,.bento-due{grid-column:span 3}}@media(max-width:640px){.bento-level,.bento-due,.bento-mastery,.bento-activity,.bento-errors,.bento-notes{grid-column:span 1}.bento-card{padding:16px}.duration-pills{flex-wrap:wrap}}.settings-screen-embedded{max-width:none;margin-top:18px}.settings-embedded-heading{align-items:flex-end;margin-bottom:14px}.settings-embedded-heading h1{margin:0;font-size:clamp(24px,2.6vw,32px)}.settings-embedded-heading p:not(.eyebrow){max-width:54ch;margin:5px 0 0;color:var(--text-muted);font-size:13px;line-height:1.5}.settings-identity-row .settings-identity{min-width:0;flex:1;margin:0}.settings-identity-row .ui-button{flex:none}.settings-sync-status{display:flex;flex-wrap:wrap;align-items:center;gap:7px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted);padding:9px 11px;font-size:12px}.settings-sync-status strong{font-size:12px}.settings-sync-status>span:last-child{color:var(--text-muted)}.profile-preview-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;border:1px solid var(--info-border);border-radius:var(--radius-md);background:var(--info-surface);color:var(--blue-deep);padding:9px 12px;font-size:12px;font-weight:700}.profile-preview-banner>span{min-width:0;flex:1}.profile-public-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr);gap:12px;margin-top:14px}.profile-banner-card{display:flex;flex-direction:column;gap:15px;padding:18px}.profile-banner-iella{display:flex;align-items:center;gap:12px}.profile-banner-iella .iella-sprite{flex:none}.profile-banner-iella>div{display:flex;min-width:0;flex-direction:column;gap:2px}.profile-banner-iella span{color:var(--text-muted);font-family:var(--font-mono);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.profile-banner-iella strong{font-size:15px}.profile-level-block{display:flex;flex-direction:column;gap:7px}.profile-level-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--text-muted);font-size:11px;font-weight:700}.profile-level-heading strong{display:inline-flex;align-items:center;gap:4px;color:var(--text);font-family:var(--font-mono);font-size:12px}.profile-level-block p{margin:0;color:var(--text-muted);font-size:11px;line-height:1.45}.profile-visibility-card{display:flex;flex-direction:column;gap:12px;padding:18px}.profile-visibility-card .profile-section-heading{margin-bottom:0}.profile-visibility-card .profile-section-heading>.studio-icon{flex:none;color:var(--text-muted)}.profile-visibility-option:hover{color:var(--text)}.profile-visibility-option.active{background:var(--text);color:var(--surface)}.profile-visibility-warning{margin:0;color:var(--coral-deep);font-size:11px;font-weight:700;line-height:1.4}.profile-private-card{display:flex;align-items:flex-start;gap:12px;margin-top:14px;padding:16px}.profile-private-card>.studio-icon{flex:none;color:var(--text-muted)}.profile-private-card strong{display:block;font-size:13px}.profile-private-card p{margin:3px 0 0;color:var(--text-muted);font-size:12px;line-height:1.45}.profile-error-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-error-row{display:flex;min-width:0;align-items:center;gap:9px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:9px 10px}.profile-error-row>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.profile-error-row strong{font-size:12px;overflow-wrap:break-word}.profile-error-row>div span{color:var(--text-muted);font-size:10px}.profile-note-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-note-row{display:flex;min-width:0;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:10px}.profile-note-row>div{display:flex;flex-direction:column;gap:2px}.profile-note-row strong{font-size:12px;overflow-wrap:break-word}.profile-note-row>div span{color:var(--text-muted);font-size:10px}.profile-private-note{margin:9px 0 0;color:var(--text-muted);font-size:10px}@media(max-width:960px){.profile-public-grid,.profile-error-list,.profile-note-list{grid-template-columns:1fr}}.language-option.is-highlight{background:var(--blue);color:var(--bg)}.language-option:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.meta-separator{color:var(--text-muted);opacity:.55}.profile-meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px}.streak-meta{display:inline-flex;align-items:center;gap:6px;color:var(--text-muted);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.streak-meta .studio-icon{color:var(--micro-accent)}.today-status .status-meta{max-width:100%;font-size:11px;overflow-wrap:break-word;white-space:normal}.profile-review-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:auto;color:var(--text-muted);font-size:11px}.profile-review-meta strong{color:var(--text);font-size:15px;font-variant-numeric:tabular-nums}.today-hero-banner{position:relative;display:flex;min-height:280px;grid-column:1 / -1;flex-direction:column;justify-content:flex-end;overflow:hidden;border:1px solid color-mix(in srgb,var(--hero-text) 16%,var(--border));border-radius:var(--radius-xl);background:var(--auth-panel);box-shadow:var(--shadow-hero);color:var(--hero-text);isolation:isolate;padding:clamp(20px,3vw,34px)}.today-hero-banner .hero-illustration{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;filter:saturate(1.04) contrast(1.04)}.today-hero-scrim{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,color-mix(in srgb,var(--auth-scrim) 92%,transparent) 0%,color-mix(in srgb,var(--auth-scrim) 56%,transparent) 48%,transparent 82%),linear-gradient(0deg,color-mix(in srgb,var(--auth-scrim) 88%,transparent) 0%,transparent 66%);pointer-events:none}.today-hero-content{position:relative;z-index:2;display:flex;min-width:0;flex-direction:column;gap:16px}.today-hero-topline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.today-hero-companion{display:inline-flex;align-items:center;gap:7px;color:var(--hero-muted);font-size:11px;font-weight:700;letter-spacing:.03em}.today-hero-iella{filter:drop-shadow(0 3px 6px color-mix(in srgb,var(--auth-scrim) 80%,transparent))}.today-hero-level.status-meta-dot:before{background:currentColor}.today-hero-copy .bento-kicker{color:var(--hero-muted)}.today-hero-copy p{max-width:48ch;margin:9px 0 0;color:var(--hero-muted);font-size:13px;line-height:1.5;text-shadow:0 1px 12px color-mix(in srgb,var(--auth-scrim) 60%,transparent)}.today-hero-actions .duration-pills{margin-top:0;padding-top:0}.today-hero-actions .duration-pill{border-color:color-mix(in srgb,var(--hero-text) 30%,transparent);background:color-mix(in srgb,var(--surface) 88%,transparent);color:var(--text);backdrop-filter:blur(6px)}.today-hero-actions .duration-pill.active{border-color:var(--hero-text);background:var(--hero-text);color:var(--text)}.today-hero-actions .route-start{margin-left:2px}.today-bento .bento-level,.today-bento .bento-due,.today-bento .bento-activity,.today-bento .bento-mastery,.today-bento .bento-errors,.today-bento .bento-notes{grid-column:span 4}.level-figure{display:flex;align-items:baseline;margin-top:auto}.level-figure strong{font-size:clamp(36px,3.8vw,48px);font-variant-numeric:tabular-nums;letter-spacing:-.07em;line-height:.9}.bento-level .ui-progress{margin-top:2px}.bento-mastery .articles-count{white-space:normal;text-align:right}@media(max-width:1180px){.today-bento .bento-level,.today-bento .bento-due,.today-bento .bento-activity,.today-bento .bento-mastery,.today-bento .bento-errors,.today-bento .bento-notes{grid-column:span 4}}@media(max-width:900px){.today-bento .bento-level,.today-bento .bento-due,.today-bento .bento-activity,.today-bento .bento-mastery,.today-bento .bento-errors,.today-bento .bento-notes{grid-column:span 2}}@media(max-width:700px){.today-hero-banner,.today-bento .bento-level,.today-bento .bento-due,.today-bento .bento-activity,.today-bento .bento-mastery,.today-bento .bento-errors,.today-bento .bento-notes{grid-column:span 1}.today-hero-banner{padding:18px}}.auth-form-region .auth-form-header h2.auth-form-title{background:none;color:var(--ink-primary);font-weight:700;letter-spacing:-.03em;-webkit-text-fill-color:currentColor}.today-hero-scrim{background:linear-gradient(90deg,color-mix(in srgb,var(--auth-scrim) 95%,transparent) 0%,color-mix(in srgb,var(--auth-scrim) 68%,transparent) 48%,transparent 82%),linear-gradient(0deg,color-mix(in srgb,var(--auth-scrim) 92%,transparent) 0%,transparent 64%)}.today-hero-topline{justify-content:flex-start}.today-hero-copy p{color:var(--hero-text);opacity:.9}.today-hero-actions .today-hero-level{margin-left:auto;color:var(--hero-text);text-shadow:0 1px 10px color-mix(in srgb,var(--auth-scrim) 70%,transparent)}.today-hero-actions .duration-pill.active{color:var(--ink)}.bento-mastery .articles-count{white-space:nowrap;text-align:right}.mastery-open{align-self:flex-start;margin-top:auto;padding-left:0}@media(max-width:700px){.today-hero-actions .today-hero-level{margin-left:0}}.summary-kc-list span+span:before{color:var(--text-muted);content:" · "}.profile-error-count{color:var(--text-muted)}.crossfade-icon{position:relative;display:inline-grid;flex:none;place-items:center}.sync-action{margin-top:10px}.sync-status-icon{color:var(--text-muted)}.ui-disclosure-body.open{grid-template-rows:1fr;opacity:1}.ui-disclosure-inner{min-height:0;overflow:hidden;padding:8px 0 2px}.mastery-row-heading:focus-visible{border-radius:6px;outline:2px solid var(--focus-ring);outline-offset:3px}.mastery-row-state{display:inline-flex;flex:none;align-items:center;gap:6px}.mastery-detail.open{grid-template-rows:1fr;opacity:1}.mastery-detail-inner{min-height:0;overflow:hidden;color:var(--text-muted);font-size:10px;line-height:1.5}.auth-form-inner{display:flow-root}.auth-form-region:not(.auth-form-region-sized){transition:none}.curve-range{touch-action:pan-y;transition:none}.mastery-row:nth-child(2) .ui-progress-fill{animation-delay:50ms}.mastery-row:nth-child(3) .ui-progress-fill{animation-delay:.1s}.mastery-row:nth-child(4) .ui-progress-fill{animation-delay:.15s}.mastery-row:nth-child(5) .ui-progress-fill{animation-delay:.2s}@keyframes reveal-wipe{0%{clip-path:inset(0 100% 0 0);opacity:.35}to{clip-path:inset(0 0 0 0);opacity:1}}@keyframes reveal-wipe-vertical{0%{clip-path:inset(100% 0 0 0);opacity:.2}to{clip-path:inset(0 0 0 0);opacity:1}}.settings-split-card .ui-button,.settings-card .ui-button-danger{min-height:38px;padding-inline:12px}.ui-button:active:not(:disabled),.duration-pill:active,.choice-option:active:not(:disabled),.sentence-token:active:not(:disabled),.nav-item:active:not(:disabled),.mobile-nav-item:active:not(:disabled),.language-option:active{transform:scale(.97)}@media(prefers-reduced-motion:reduce){.crossfade-icon-state,.ui-disclosure-body,.mastery-detail,.auth-form-region,.choice-option.snapping,.curve-range.snapping,.ui-button,.duration-pill,.choice-option,.sentence-token,.nav-item,.mobile-nav-item,.language-option{transition:none}.chart-area,.chart-curve,.iso-body,.mastery-row-bar .ui-progress-fill,.iella-tour-card,.iella-tour-mask,.iella-tour-blocker{animation:none;clip-path:none;opacity:1}.ui-button:active:not(:disabled),.duration-pill:active,.choice-option:active:not(:disabled),.sentence-token:active:not(:disabled),.nav-item:active:not(:disabled),.mobile-nav-item:active:not(:disabled),.language-option:active{transform:none}}.learner-profile-button.active .learner-avatar{box-shadow:0 0 0 2px var(--action-primary-bg)}@media(prefers-reduced-motion:reduce){.auth-form-region .ui-button,.auth-form-region .ui-button:hover:not(:disabled),.auth-form-region .ui-button:active:not(:disabled),.auth-submit-label{animation:none;transition:none;transform:none}}.auth-form input:not(.auth-code-slot):focus{border-color:var(--focus-ring);outline:none;box-shadow:inset 0 0 0 1px var(--focus-ring)}@keyframes auth-form-in{0%{opacity:0;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@keyframes studio-enter{0%{transform:translateY(2px)}to{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.auth-form input:not(.auth-code-slot),.auth-code-slot,.auth-form-region .ui-button,.crossfade-icon-state,.ui-disclosure-body,.mastery-detail,.choice-option.snapping,.curve-range.snapping,.studio-main{animation:none;transition:none}.auth-form-code,.auth-stage-code .auth-card-head{animation:none}}.studio-shell[data-nav-position] .mobile-nav,[data-skin=laboratory] .nav-item.active{box-shadow:none}[data-skin=soft-bento] .ui-card,[data-skin=soft-bento] .kc-card,[data-skin=soft-bento] .skin-option{border-color:var(--border)}.iella-tour-highlight{box-shadow:none}[data-skin=laboratory] .studio-content{padding:28px 48px 64px}[data-skin=laboratory] .today-bento{gap:18px}[data-skin=laboratory] .ui-card,[data-skin=laboratory] .kc-card{padding:24px}[data-skin=laboratory] .bento-card{gap:14px}[data-skin=laboratory] .item-card,[data-skin=laboratory] .explanation-card,[data-skin=laboratory] .feedback-card{padding:30px}[data-skin=laboratory] .choice-option{min-height:60px;gap:14px;padding:12px 18px}[data-skin=laboratory] .sentence-token{min-height:48px;padding:0 10px}[data-skin=laboratory] .ui-button{min-height:46px;padding-inline:20px}[data-skin=laboratory] .duration-pill{min-height:46px;padding-inline:16px}[data-skin=laboratory] .settings-tabs{gap:6px;padding:6px}[data-skin=laboratory] .settings-tab{min-height:46px;padding:0 16px}[data-skin=laboratory] .nav-item{min-height:48px}@media(max-width:700px){[data-skin=laboratory] .studio-content{padding:22px 20px 100px}[data-skin=laboratory] .ui-card,[data-skin=laboratory] .kc-card{padding:20px}[data-skin=laboratory] .item-card,[data-skin=laboratory] .explanation-card,[data-skin=laboratory] .feedback-card{padding:22px}[data-skin=laboratory] .today-bento{gap:14px}}.auth-form-inner-confirmed{display:grid;height:100%;min-height:320px;place-items:center}.auth-confirm-state{display:grid;justify-items:center;gap:16px;padding:24px;text-align:center}.auth-confirm-state p{margin:0;color:var(--text);font-size:16px;font-weight:700}.auth-confirm-mark{display:grid;width:68px;height:68px;place-items:center;border:2px solid var(--accent-primary);border-radius:50%;color:var(--accent-primary)}.auth-confirm-mark .confirmation-check-path{stroke-dasharray:1;stroke-dashoffset:1;animation:auth-confirm-draw .28s cubic-bezier(.22,1,.36,1) forwards}@keyframes auth-confirm-draw{to{stroke-dashoffset:0}}.feedback-verdict .studio-icon{flex:none;stroke-width:2.2}@media(prefers-reduced-motion:reduce){.auth-confirm-mark .confirmation-check-path{animation:none;stroke-dashoffset:0}}.settings-source-link{display:inline-flex;align-items:center;min-height:var(--tap);color:var(--accent-primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}.studio-footer a{color:var(--accent-primary);font-weight:700;text-decoration:underline;text-underline-offset:3px}.theme-menu{position:relative;z-index:12;display:flex;flex:none;align-items:center}.theme-menu-trigger{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;gap:4px;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);padding:0 8px}.theme-menu-trigger:hover{border-color:var(--border-strong);background:var(--surface-muted)}.theme-menu-trigger:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.theme-menu-trigger .palette-swatch{width:20px;height:20px}.theme-menu-options{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:grid;grid-template-columns:repeat(5,34px);gap:4px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);box-shadow:var(--shadow-card);opacity:0;padding:6px;pointer-events:none;transform:translateY(-4px);transition:opacity .12s ease,transform .12s ease;visibility:hidden}.theme-menu[data-open=true] .theme-menu-options{opacity:1;pointer-events:auto;transform:translateY(0);visibility:visible}.theme-menu-option{position:relative;display:grid;width:34px;height:40px;place-items:center;border:1px solid transparent;border-radius:10px;background:transparent;padding:0}.theme-menu-option:hover,.theme-menu-option.active{border-color:var(--border-strong);background:var(--surface-muted)}.theme-menu-option:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}.theme-menu-check{position:absolute;right:1px;bottom:1px;color:var(--text)}@media(max-width:430px){.theme-menu-options{grid-template-columns:repeat(5,32px)}.theme-menu-option{width:32px}}.telegram-login-widget{display:flex;min-height:48px;align-items:center;justify-content:center}.telegram-login-widget iframe{max-width:100%}.iella-tip{position:fixed;z-index:70;right:16px;bottom:16px;display:flex;width:min(340px,calc(100vw - 32px));align-items:flex-start;gap:10px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);padding:12px 12px 12px 10px;animation:iella-tour-card-in .16s ease-out both}.iella-tip-sprite{flex:none}.iella-tip p{margin:2px 0 0;color:var(--text);font-size:13px;line-height:1.45}.iella-tip-close{display:grid;width:44px;height:44px;flex:none;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--text-muted);margin-left:auto;padding:0}.iella-tip-close:hover{background:var(--surface-muted);color:var(--text)}.iella-tip-close:focus-visible{outline:2px solid var(--focus-ring);outline-offset:1px}@media(max-width:820px){.iella-tip{bottom:86px}}@media(prefers-reduced-motion:reduce){.iella-tip{animation:none}}.screen{display:flex;flex-direction:column;gap:20px;max-width:1120px}.screen-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.screen-head h1{margin:2px 0 4px;font-size:clamp(26px,4vw,36px);line-height:1.05}.screen-note{max-width:62ch;margin:0;color:var(--text-muted)}.field{display:flex;flex-direction:column;gap:6px;color:var(--text-muted);font-size:.86rem}.field .answer-input{color:var(--text);font-size:1rem}.vocab-tools{display:flex;flex-wrap:wrap}.vocab-filters,.vocab-form-row,.vocab-card-actions,.vocab-review-actions,.note-actions,.note-form-actions,.graph-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.vocab-filter,.library-tab,.graph-mode-button{min-height:var(--tap);border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);padding:0 14px;font:inherit;cursor:pointer}.vocab-filter.active,.library-tab.active,.graph-mode-button.active{border-color:var(--blue);background:var(--blue);color:var(--bg)}.vocab-list,.library-tabs,.reference-list,.book-grid,.notes-panel{display:flex;flex-direction:column;gap:12px}.vocab-card,.reference-card,.notes-panel{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:18px}.vocab-card-head,.reference-card header,.graph-drawer-head,.vocab-form-head,.notes-panel-head,.library-screen .book-card h2{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.vocab-card h2,.reference-card h2,.book-card h2,.graph-drawer h2{margin:0;font-size:1.25rem}.vocab-meta,.vocab-collocations,.book-source,.reference-l1{color:var(--text-muted);font-size:.86rem}.vocab-ipa{margin-left:8px;font-family:var(--font-ipa, var(--font-family))}.vocab-definition,.vocab-gloss{margin:8px 0 0}.vocab-gloss{color:var(--text-muted)}.vocab-examples{margin:8px 0;padding-left:18px;color:var(--text-muted)}.vocab-form-card{padding:18px}.vocab-form,.vocab-review-card,.notes-panel{display:flex;flex-direction:column;gap:12px}.vocab-form-row>.field{flex:1 1 180px}.vocab-review-card h2{margin:0;font-size:1.4rem}.library-tabs{flex-direction:row;flex-wrap:wrap}.book-card{display:flex;flex-direction:column;gap:10px}.explanation-depths details{border-top:1px solid var(--border);padding:8px 0}.explanation-depths summary{cursor:pointer;font-weight:600}.reader-token.selected{background:var(--info-surface);outline:2px solid var(--blue)}.note-item{display:flex;flex-direction:column;gap:6px;border-top:1px solid var(--border);padding-top:8px}.note-input{min-height:96px;resize:vertical}.note-count{align-self:flex-end;color:var(--text-muted);font-size:.76rem}.note-count.over{color:var(--danger, var(--coral))}.today-private-notes summary{min-height:var(--tap);cursor:pointer;font-weight:600}.graph-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.graph-facts>div{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:10px}.graph-facts span{color:var(--text-muted);font-size:.78rem}.graph-facts strong{font-size:1.15rem}.graph-why{border-top:1px solid var(--border);padding-top:10px}.graph-why summary{min-height:var(--tap);cursor:pointer;font-weight:600}.graph-drawer{display:flex;flex-direction:column;gap:16px;margin-top:4px;padding:20px 22px}.graph-drawer-head>div{min-width:0}.graph-drawer-head .eyebrow{margin:0 0 6px}.graph-drawer-head .status-meta,.graph-drawer-head>:last-child{flex-shrink:0}.graph-drawer h2{line-height:1.25;overflow-wrap:anywhere}.graph-facts>div{min-width:0;gap:4px}.graph-facts strong{overflow-wrap:anywhere}.graph-why p{margin:8px 0 0;color:var(--text-muted);line-height:1.5}.graph-actions{padding-top:2px}@media(max-width:520px){.graph-drawer{gap:14px;padding:16px}.graph-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.graph-actions>*{flex:1 1 auto}}.companion-picker{display:flex;flex-direction:column;gap:12px}.companion-picker-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px}.companion-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.companion-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);padding:16px}.companion-card.selected{border-color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}.companion-art{display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--surface-muted);padding:12px}.companion-copy h3{margin:2px 0 4px;font-size:1.2rem}.companion-copy p{margin:0 0 8px;color:var(--text-muted)}.sendo-sprite{image-rendering:pixelated;overflow:visible}.sendo-fur{fill:var(--sendo-fur)}.sendo-belly{fill:var(--sendo-belly)}.sendo-inner-ear{fill:var(--sendo-inner-ear)}.sendo-frame{fill:var(--sendo-frame)}.sendo-glass{fill:var(--sendo-glass)}.sendo-eye{fill:var(--sendo-eye)}.sendo-nose{fill:var(--sendo-inner-ear)}.sendo-thread{fill:var(--sendo-frame)}.sendo-lantern-glow{fill:var(--sendo-lantern)}.sendo-lantern-core{fill:var(--sendo-glow)}.sendo-breathe{transform-origin:8px 14px;animation:sendo-breathe 3.2s ease-in-out infinite}.sendo-sprite[data-mood=sleep] .sendo-breathe{animation-duration:5s}.sendo-sprite[data-mood=sleep] .sendo-eyes{opacity:.2}.sendo-sprite[data-mood=happy] .sendo-breathe,.sendo-sprite[data-mood=celebrate] .sendo-breathe{animation:sendo-hop .8s ease-in-out infinite}.sendo-sprite[data-mood=thinking] .sendo-lantern{animation:sendo-lantern 2.4s ease-in-out infinite}.sendo-sprite[data-mood=surprised] .sendo-ears{transform:translateY(-1px)}.sendo-sprite-button{display:inline-flex;min-width:var(--tap);min-height:var(--tap);align-items:center;justify-content:center;border:0;background:transparent;padding:0;cursor:pointer}@keyframes sendo-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(1px)}}@keyframes sendo-hop{0%,to{transform:translateY(0)}40%{transform:translateY(-2px)}}@keyframes sendo-lantern{0%,to{opacity:.8}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.sendo-breathe,.sendo-sprite[data-mood] .sendo-breathe,.sendo-sprite[data-mood=thinking] .sendo-lantern{animation:none}}@media(max-width:820px){.screen-head{flex-direction:column}}.reference-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.book-card>.ui-button{align-self:flex-start;width:auto}.vocab-form-head{align-items:flex-start;margin-bottom:12px}.vocab-form-heading{display:flex;flex-direction:column;gap:4px}.vocab-form-heading h2{margin:0;font-size:1.35rem;line-height:1.15}.vocab-form-heading .bento-note{max-width:52ch;margin:0}.vocab-form-head>.ui-button{flex:0 0 auto}.vocab-io{display:flex;flex-wrap:wrap;justify-content:space-between;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.vocab-io-label{color:var(--text-muted);font-size:.82rem;font-weight:600}.vocab-format{min-height:var(--tap);width:auto;padding:0 8px}.vocab-check{display:inline-flex;min-height:var(--tap);align-items:center;gap:6px;color:var(--text-muted);font-size:.82rem}.vocab-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.vocab-import-preview{padding:18px}.vocab-import-actions{display:flex;flex-wrap:wrap;gap:8px}.vocab-import-warnings{margin:0;color:var(--sun-deep);font-size:.82rem}.vocab-import-rows{display:flex;flex-direction:column;gap:4px;margin:10px 0 0;padding:0;list-style:none;max-height:340px;overflow-y:auto}.vocab-import-row{display:grid;grid-template-columns:auto minmax(100px,1fr) auto;gap:8px;align-items:baseline;border-top:1px solid var(--border);padding:6px 0;font-size:.82rem}.vocab-import-row small{grid-column:1 / -1;color:var(--text-muted)}.vocab-import-row.status-duplicate,.vocab-import-row.status-invalid{color:var(--text-muted)}.vocab-import-row.status-too_large{color:var(--danger, var(--coral))}.vocab-tools{flex-direction:column;align-items:stretch;gap:10px}.vocab-search{width:100%;min-width:0;flex:0 0 auto}.vocab-filters{flex-wrap:nowrap;width:100%;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.vocab-filter{flex:0 0 auto;white-space:nowrap}.vocab-io{flex-direction:column;align-items:stretch;gap:8px;padding:14px 16px}.book-card{min-height:100%;padding:16px 18px}.book-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,220px));justify-content:start;gap:22px 20px;align-items:stretch}.library-screen .book-card h2{display:-webkit-box;overflow:hidden;margin:0;font-size:.98rem;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}@media(max-width:640px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}}@media(max-width:560px){.vocab-form-head{flex-direction:column;align-items:stretch}}@media(max-width:560px){.vocab-form-head>.ui-button{align-self:flex-start}}.vocab-io-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.vocab-io-field,.vocab-io-scope,.vocab-io-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.vocab-io-actions{margin-left:auto}.vocab-io-help{margin:0;color:var(--text-muted);font-size:.8rem}@media(max-width:640px){.vocab-io-actions{width:100%;margin-left:0}.vocab-io-actions .ui-button{flex:1 1 0}}.book-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 8px}.book-level-badge{display:inline-flex;min-height:28px;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);color:var(--text);padding:0 10px;font-size:.76rem;font-weight:700}.book-card-footer{margin-top:auto;padding-top:8px}.book-card .ui-button{align-self:flex-start;width:auto}.studio-shell[data-nav-position=bottom] .studio-footer{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.library-shelf-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.library-shelf-head .bento-note{margin:0}.library-screen .book-card{display:flex;min-width:0;min-height:0;flex-direction:column;gap:8px;border:0;background:transparent;padding:0;box-shadow:none}.book-cover{position:relative;width:100%;aspect-ratio:2 / 3;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted);box-shadow:var(--shadow-card)}.book-cover:after{position:absolute;top:0;bottom:0;left:10px;width:1px;background:#ffffff29;content:"";pointer-events:none}.book-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.book-card:hover .book-cover img{transform:scale(1.015)}.book-cover-fallback{display:flex;height:100%;flex-direction:column;justify-content:space-between;gap:10px;background:linear-gradient(155deg,#224b44,#0d2624);color:#f7ead2;padding:18px 16px 16px 24px}.book-cover-a1 .book-cover-fallback{background:linear-gradient(155deg,#6f4a22,#2b1a0d)}.book-cover-a2 .book-cover-fallback{background:linear-gradient(155deg,#315f86,#102a40)}.book-cover-b1 .book-cover-fallback{background:linear-gradient(155deg,#5c1f2a,#2a0d13)}.book-cover-kicker{font-size:.62rem;font-weight:700;letter-spacing:.13em;opacity:.66;text-transform:uppercase}.book-cover-fallback strong{font-family:Georgia,Times New Roman,serif;font-size:1.06rem;line-height:1.2;text-align:left}.book-cover-fallback>span:last-child{align-self:flex-start;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:2px 9px;font-size:.7rem;font-weight:700}.book-cover-edit{position:absolute;top:8px;right:8px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:999px;background:#0c12119e;color:#fff;cursor:pointer}.book-cover-edit:hover,.book-cover-edit:focus-visible{background:#0c1211db}.book-card .book-source{display:-webkit-box;overflow:hidden;margin:0;font-size:.78rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.book-card .book-card-head{gap:4px 8px}.book-card .book-level-badge{min-height:24px;padding:0 9px;font-size:.7rem}.book-card .status-meta{font-size:.72rem}.book-card-footer{display:flex;margin-top:auto;align-items:center;gap:6px;padding-top:4px}.book-card-footer .ui-button{width:100%;min-height:42px;padding:0 12px;font-size:13px}.book-card-footer .book-remove-button{width:auto;flex:0 0 auto;min-height:42px;padding:0 10px}@media(max-width:640px){.book-cover-fallback{padding:12px 10px 12px 18px}.book-cover-fallback strong{font-size:.86rem}.book-cover-kicker{font-size:.54rem}.book-card-footer .ui-button{min-height:40px;font-size:12px}}.book-upload-modal{width:min(820px,calc(100vw - 24px))}.book-upload-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:start}.book-upload-preview{width:100%;aspect-ratio:2 / 3;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted)}.book-upload-preview img{width:100%;height:100%;object-fit:cover}.book-upload-placeholder{height:100%}.book-upload-fields{display:flex;flex-direction:column;gap:10px}.book-upload-fields>.bento-note{margin:0}.book-upload-row{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:10px}.book-upload-cover-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.book-upload-file{margin:0;color:var(--text-muted);font-size:.8rem;overflow-wrap:anywhere}.book-upload-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--border);padding-top:12px}@media(max-width:640px){.book-upload-body{grid-template-columns:1fr}.book-upload-preview{width:132px;justify-self:center}.book-upload-row{grid-template-columns:1fr}}.reader-selection-bar{position:fixed;z-index:75;display:flex;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;background:var(--surface-card);box-shadow:var(--shadow-hero);padding:5px 6px;max-width:calc(100vw - 16px)}.reader-selection-bar .ui-button{min-height:36px;border-radius:999px;padding:0 12px;font-size:13px}@media(max-width:640px){.reader-selection-bar{right:8px;left:8px!important;justify-content:center;top:auto!important;bottom:calc(86px + env(safe-area-inset-bottom));border-radius:var(--radius-md)}}.notes-panel-head-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.note-heading-anchor{display:block;scroll-margin-top:16px}.note-markdown h2{margin:1.2em 0 .45em;line-height:1.25}.note-markdown h2:first-child,.note-markdown h3:first-child,.note-markdown h4:first-child{margin-top:0}.note-markdown ol,.note-markdown pre{margin:0 0 .8em}.note-markdown ol{padding-left:1.35em}.note-code-block{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:10px;font-size:.82rem}.note-inline-code{border-radius:4px;background:var(--surface-muted);padding:1px 4px;font-size:.88em}.note-external-link{color:var(--accent-primary);text-decoration:underline;text-underline-offset:2px}.wiki-link{display:inline;border:0;border-radius:3px;background:var(--info-surface);color:var(--blue-deep);padding:0 2px;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.note-callout{margin:0 0 10px;border:1px solid var(--info-border, var(--border));border-radius:var(--radius-sm);background:var(--info-surface);padding:8px 12px}.note-callout>summary{cursor:pointer;font-size:.82rem;font-weight:700}.note-callout-body>:last-child{margin-bottom:0}.note-callout-highlight{border-color:var(--sun);background:var(--warning-surface)}@media(prefers-reduced-motion:reduce){.book-cover img{transition:none}}.reader-paper{border-radius:var(--radius-md)}.reader-sentence{position:relative}.reader-token:focus-visible{background:var(--surface-muted)}.reader-paper h2{margin:0 0 1.3em;font-size:clamp(1.3rem,3vw,1.65rem)}.reader-token:hover{box-shadow:inset 0 -1px 0 var(--border-strong)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}body.reader-focus{overflow:hidden}body.reader-focus .studio-sidebar,body.reader-focus .studio-topbar,body.reader-focus .mobile-nav,body.reader-focus .studio-footer{display:none!important}body.reader-focus .studio-shell{display:block;min-height:100vh}body.reader-focus .studio-main{animation:none}body.reader-focus .studio-content{width:100%;max-width:none;margin:0;padding:0}.reader-full{--reader-bg: #fbf7ee;--reader-panel: #f3ede1;--reader-panel-2: #e9e1d1;--reader-text: #202624;--reader-muted: #666d67;--reader-border: rgba(32, 38, 36, .14);--reader-accent: #a9542f;--reader-highlight: rgba(190, 124, 52, .2);--reader-hint-surface: rgba(32, 38, 36, .045);position:fixed;z-index:200;inset:0;display:flex;min-height:100dvh;flex-direction:column;background:var(--reader-bg);color:var(--reader-text);font-family:var(--font-family)}.reader-full[data-reader-theme=sepia]{--reader-bg: #f2e4c9;--reader-panel: #ead9b7;--reader-panel-2: #dfcca8;--reader-text: #3a2b1d;--reader-muted: #756047;--reader-border: rgba(58, 43, 29, .17);--reader-accent: #9a572d;--reader-highlight: rgba(192, 140, 57, .24);--reader-hint-surface: rgba(58, 43, 29, .05)}.reader-full[data-reader-theme=dusk]{--reader-bg: #26302e;--reader-panel: #303c39;--reader-panel-2: #3a4743;--reader-text: #f2eee4;--reader-muted: #b7beb6;--reader-border: rgba(242, 238, 228, .15);--reader-accent: #e0a56d;--reader-highlight: rgba(224, 165, 109, .18);--reader-hint-surface: rgba(242, 238, 228, .06)}.reader-full[data-reader-theme=midnight]{--reader-bg: #11171c;--reader-panel: #1a232a;--reader-panel-2: #223039;--reader-text: #dce4ea;--reader-muted: #93a4b0;--reader-border: rgba(220, 228, 234, .15);--reader-accent: #d7a66f;--reader-highlight: rgba(215, 166, 111, .18);--reader-hint-surface: rgba(220, 228, 234, .06)}.reader-topbar{display:flex;min-height:62px;align-items:center;gap:12px;border-bottom:1px solid var(--reader-border);background:color-mix(in srgb,var(--reader-bg) 92%,transparent);padding:calc(8px + env(safe-area-inset-top)) clamp(12px,3vw,26px) 8px;backdrop-filter:blur(14px)}.reader-back{display:inline-flex;min-height:40px;flex:none;align-items:center;gap:6px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--reader-text);padding:0 10px;font:inherit;font-size:.82rem;font-weight:650;cursor:pointer}.reader-back:hover,.reader-back:focus-visible{background:var(--reader-panel-2)}.reader-topbar-title{display:flex;min-width:0;flex:1;align-items:center;gap:9px}.reader-topbar-title h1{overflow:hidden;margin:0;font-size:clamp(15px,2vw,19px);font-weight:700;letter-spacing:-.01em;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.reader-topbar-level,.reader-chapter-index{display:inline-flex;flex:none;align-items:center;border:1px solid var(--reader-border);border-radius:999px;color:var(--reader-muted);padding:2px 8px;font-size:.66rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.reader-topbar-actions{display:flex;flex:none;align-items:center;gap:6px}.reader-icon-button{position:relative;display:inline-grid;width:38px;height:38px;flex:none;place-items:center;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--reader-text);cursor:pointer}.reader-icon-button:hover,.reader-icon-button:focus-visible{background:var(--reader-panel-2)}.reader-count{position:absolute;top:-2px;right:-2px;display:grid;min-width:16px;height:16px;place-items:center;border-radius:999px;background:var(--reader-accent);color:#fff;padding:0 4px;font-size:.58rem;font-weight:800;line-height:1}.reader-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth}.reader-reading{width:100%;max-width:calc(var(--reader-measure, 65ch) + clamp(32px,8vw,96px));margin:0 auto;padding:clamp(24px,5vh,58px) clamp(16px,5vw,48px) clamp(48px,9vh,96px)}.reader-chapter-head{max-width:var(--reader-measure, 65ch);margin:0 auto 22px}.reader-chapter-head h2{margin:10px 0 8px;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.55rem,3.4vw,2.35rem);line-height:1.14;letter-spacing:-.02em}.reader-hint{max-width:52ch;margin:0;color:var(--reader-muted);font-size:.8rem;line-height:1.45}.reader-paper{max-width:var(--reader-measure, 65ch);margin:0 auto;border:0;background:transparent;box-shadow:none;padding:0;font-family:Georgia,Times New Roman,serif;font-size:var(--reader-font-size, 18px);line-height:var(--reader-line-height, 1.7);color:var(--reader-text)}.reader-paper h2{display:none}.reader-paragraph{margin:0 0 1.15em}.reader-paragraph:last-child{margin-bottom:0}.reader-sentence,.reader-punct{white-space:pre-wrap}.reader-token{display:inline;min-height:0;margin:0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;line-height:inherit;padding:0;cursor:pointer}.reader-token:hover{background:var(--reader-highlight)}.reader-token:focus-visible{outline:2px solid var(--reader-accent);outline-offset:1px}.reader-token.highlighted{background:var(--reader-highlight);box-shadow:inset 0 -2px 0 var(--reader-accent)}.reader-error{max-width:var(--reader-measure, 65ch);margin:12px auto;border-left:3px solid var(--reader-accent);color:var(--reader-accent);padding-left:10px;font-size:.84rem}.reader-footer{display:flex;min-height:42px;align-items:center;border-top:1px solid var(--reader-border);background:color-mix(in srgb,var(--reader-bg) 92%,transparent);color:var(--reader-muted);padding:8px clamp(14px,3vw,26px);font-size:.72rem;font-weight:650;backdrop-filter:blur(14px)}.reader-progress-line{position:relative;height:2px;flex:1;overflow:hidden;border-radius:999px;background:var(--reader-border)}.reader-progress-line span{display:block;height:100%;border-radius:inherit;background:var(--reader-accent);transition:width .14s ease-out}.reader-scrim{position:fixed;z-index:210;inset:0;border:0;background:transparent;cursor:default}.reader-settings-popover{position:fixed;z-index:220;top:72px;right:clamp(12px,3vw,26px);display:flex;width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 96px);flex-direction:column;gap:15px;overflow-y:auto;border:1px solid var(--reader-border);border-radius:18px;background:var(--reader-panel);box-shadow:0 24px 70px #00000047;color:var(--reader-text);padding:16px}.reader-settings-popover>header,.reader-annotations>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reader-settings-popover h2,.reader-annotations h2{margin:0;font-size:1rem;line-height:1.25}.reader-settings-popover fieldset{display:flex;flex-direction:column;gap:8px;margin:0;border:0;padding:0}.reader-settings-popover legend{color:var(--reader-muted);font-size:.7rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase}.reader-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.reader-theme-choice{display:flex;min-height:44px;align-items:center;gap:8px;border:1px solid var(--reader-border);border-radius:10px;background:var(--reader-bg);color:var(--reader-text);padding:0 9px;font:inherit;font-size:.74rem;font-weight:650;text-align:left;cursor:pointer}.reader-theme-choice.active{border-color:var(--reader-accent);box-shadow:inset 0 0 0 1px var(--reader-accent)}.reader-theme-swatch{width:22px;height:28px;flex:none;border:1px solid rgba(0,0,0,.2);border-radius:4px}.reader-theme-swatch[data-swatch=paper]{background:#fbf7ee}.reader-theme-swatch[data-swatch=sepia]{background:#f2e4c9}.reader-theme-swatch[data-swatch=dusk]{background:#26302e}.reader-theme-swatch[data-swatch=midnight]{background:#11171c}.reader-segment{display:flex;flex-wrap:wrap;gap:5px}.reader-segment button{min-width:44px;min-height:36px;border:1px solid var(--reader-border);border-radius:8px;background:var(--reader-bg);color:var(--reader-text);padding:0 10px;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}.reader-segment button.active{border-color:var(--reader-accent);background:var(--reader-accent);color:#fff}.reader-annotations{position:fixed;z-index:220;top:0;right:0;bottom:0;width:min(410px,100vw);overflow-y:auto;border-left:1px solid var(--reader-border);background:var(--reader-panel);box-shadow:-20px 0 70px #0000003d;color:var(--reader-text);padding:18px}.reader-annotations h2{margin-top:3px}.reader-annotations-empty{color:var(--reader-muted);font-size:.84rem;line-height:1.5}.reader-annotations ul{display:flex;flex-direction:column;gap:10px;margin:16px 0 0;padding:0;list-style:none}.reader-annotations li{display:flex;flex-direction:column;gap:5px;border:1px solid var(--reader-border);border-radius:10px;background:var(--reader-bg);padding:10px}.reader-annotation-main{display:flex;flex-direction:column;gap:5px;border:0;background:transparent;color:var(--reader-text);padding:0;font:inherit;text-align:left;cursor:pointer}.reader-annotation-meta{display:flex;flex-wrap:wrap;gap:5px 10px;color:var(--reader-muted);font-size:.66rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.reader-annotation-quote{font-family:Georgia,Times New Roman,serif;font-size:.9rem;line-height:1.45}.reader-annotation-jump{color:var(--reader-accent);font-size:.7rem;font-weight:700}.reader-annotation-note{display:flex;flex-direction:column;gap:2px;border:1px solid var(--reader-border);border-radius:7px;background:var(--reader-panel-2);color:var(--reader-text);padding:6px 8px;font:inherit;font-size:.76rem;text-align:left;cursor:pointer}.reader-annotation-note span{color:var(--reader-muted);font-size:.62rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase}.reader-annotation-remove{align-self:flex-start;border:0;background:transparent;color:var(--reader-muted);padding:0;font:inherit;font-size:.68rem;text-decoration:underline;cursor:pointer}.reader-full .reader-selection-bar{border-color:var(--reader-border);background:var(--reader-panel);color:var(--reader-text)}.reader-full .notes-panel{position:fixed;z-index:230;right:16px;bottom:56px;width:min(380px,calc(100vw - 24px));max-height:min(70vh,540px);overflow-y:auto;border:1px solid var(--reader-border);background:var(--reader-panel);color:var(--reader-text);box-shadow:0 24px 70px #00000047}.reader-full .ui-button-secondary{border-color:var(--reader-border);background:var(--reader-panel-2);color:var(--reader-text)}.reader-full .ui-button-ghost{color:var(--reader-text)}.reader-full .ui-button-primary{background:var(--reader-accent);color:#fff}.reader-full .vocab-gloss,.reader-full .bento-note,.reader-full .notes-empty,.reader-full .note-count{color:var(--reader-muted)}.reader-full .notes-panel .answer-input{border-color:var(--reader-border);background:var(--reader-bg);color:var(--reader-text)}.reader-full .notes-panel .note-markdown{color:var(--reader-text)}@media(max-width:760px){.reader-topbar{flex-wrap:wrap;gap:7px;padding:calc(7px + env(safe-area-inset-top)) 12px 9px}.reader-back span{display:none}.reader-back{padding:0;width:38px;justify-content:center}.reader-topbar-title{order:1}.reader-topbar-actions{order:2;width:100%;justify-content:flex-end}.reader-reading{padding:22px 18px 64px}.reader-chapter-head h2{font-size:clamp(1.45rem,7vw,1.85rem)}.reader-footer{padding-bottom:calc(8px + env(safe-area-inset-bottom))}.reader-settings-popover{top:116px;right:12px}.reader-full .notes-panel{right:12px;bottom:10px}}@media(max-width:420px){.reader-topbar-title h1{max-width:54vw}.reader-theme-grid{grid-template-columns:1fr}}.boot-screen{display:flex;min-height:100dvh;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:transparent;color:var(--text);padding:32px 24px;text-align:center}.boot-orbit{position:relative;display:grid;width:138px;height:116px;place-items:center}.boot-glow{position:absolute;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--accent-primary) 24%,transparent),transparent 68%);animation:boot-glow 3.2s ease-in-out infinite}.boot-brand{position:relative;z-index:1;display:grid;width:88px;height:88px;place-items:center;border-radius:28px;background:var(--surface);box-shadow:var(--shadow-card);color:var(--text);animation:boot-float 3.2s ease-in-out infinite}.boot-companion{position:absolute;z-index:2;right:-2px;bottom:0;animation:boot-bob 2.6s ease-in-out infinite}.boot-screen h1{margin:6px 0 0;font-size:clamp(24px,4vw,34px);letter-spacing:-.025em}.boot-screen p{max-width:36ch;margin:0;color:var(--text-muted);font-size:.94rem}.boot-progress{position:relative;width:min(260px,68vw);height:2px;overflow:hidden;border-radius:999px;background:var(--border)}.boot-progress span{position:absolute;top:0;bottom:0;width:42%;border-radius:inherit;background:linear-gradient(90deg,transparent,var(--accent-primary),transparent);animation:boot-scan 1.35s ease-in-out infinite}@keyframes boot-float{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes boot-bob{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-3px) rotate(1deg)}}@keyframes boot-glow{0%,to{opacity:.55;transform:scale(.92)}50%{opacity:1;transform:scale(1.06)}}@keyframes boot-scan{0%{transform:translate(-120%)}to{transform:translate(300%)}}@media(prefers-reduced-motion:reduce){.boot-glow,.boot-brand,.boot-companion,.boot-progress span{animation:none}.boot-glow{opacity:.8}.boot-progress span{width:100%;opacity:.7}}@media(max-width:640px){.reader-paper{border-radius:var(--radius-md)}}.reader-footer{gap:10px}.reader-reading{font-family:Georgia,Times New Roman,serif;font-size:var(--reader-font-size, 18px)}.reader-chapter-head{font-family:var(--font-family)}.graph-mode{display:inline-flex;flex-wrap:wrap;gap:6px}.graph-canvas{display:flex;flex-direction:column;gap:10px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);padding:12px}.graph-viewport{position:relative;width:100%;overflow:hidden;border-radius:var(--radius-md);background:var(--surface-muted);cursor:grab;touch-action:pan-y;user-select:none}.graph-viewport:active{cursor:grabbing}.graph-world{position:absolute;top:0;left:0;transform-origin:0 0;will-change:transform}.graph-svg{position:absolute;inset:0;overflow:visible;pointer-events:none}.graph-edge{fill:none;stroke:var(--border-strong);stroke-width:2;stroke-linecap:round}.graph-edge-supports{stroke-dasharray:8 6}.graph-edge-contrasts{stroke-dasharray:1 6;stroke-width:2.5}.graph-arrow-head{fill:var(--border-strong)}.graph-edge-label{fill:var(--text-muted);font-family:var(--font-family);font-size:11px;font-weight:600;paint-order:stroke;stroke:var(--surface-muted);stroke-width:4px;stroke-linejoin:round}.graph-edge-group{transition:opacity .16s ease}.graph-edge-group.dim{opacity:.16}.graph-node{position:absolute;z-index:1;display:flex;box-sizing:border-box;flex-direction:column;align-items:stretch;justify-content:center;gap:var(--graph-row-gap);overflow:hidden;margin:0;transform:translate(-50%,-50%);border:var(--graph-border) solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);padding:var(--graph-pad);font:inherit;text-align:left;cursor:pointer;transition:opacity .16s ease,box-shadow .16s ease}.graph-node-head{display:flex;width:100%;min-width:0;align-items:flex-start;gap:var(--graph-dot-gap)}.graph-node-title{min-width:0;flex:1 1 auto;font-size:var(--graph-title-size);font-weight:var(--graph-title-weight);line-height:var(--graph-title-line);white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}.graph-node-dot{width:var(--graph-dot);height:var(--graph-dot);flex:0 0 var(--graph-dot);margin-top:calc((var(--graph-title-size) * var(--graph-title-line) - var(--graph-dot)) / 2);border-radius:50%;background:var(--border-strong)}.graph-node-status{color:var(--text-muted);font-size:var(--graph-status-size);font-weight:var(--graph-status-weight);line-height:var(--graph-status-line);white-space:normal;word-break:normal;overflow-wrap:normal}.graph-node-learning{border-color:var(--blue);background:var(--info-surface)}.graph-node-learning .graph-node-dot{background:var(--blue)}.graph-node-mastered{border-color:var(--green);background:var(--success-surface)}.graph-node-mastered .graph-node-dot{background:var(--green)}.graph-node-fading{border-color:var(--sun);background:var(--warning-surface)}.graph-node-fading .graph-node-dot{background:var(--sun)}.graph-node-blocked{border-style:dashed}.graph-node.dim{opacity:.32}.graph-node.selected{z-index:2;box-shadow:0 0 0 3px var(--focus-ring)}.graph-node:focus-visible{z-index:2;outline:3px solid var(--focus-ring);outline-offset:2px}.graph-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0}.graph-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}.graph-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;color:var(--text-muted);font-size:.78rem;list-style:none}.graph-legend li{display:inline-flex;align-items:center;gap:6px}.graph-legend svg{overflow:visible}.graph-zoom{display:inline-flex;gap:4px}.graph-zoom-button{display:inline-grid;min-width:var(--tap);min-height:var(--tap);place-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);padding:0 12px;font:inherit;font-size:.82rem;font-weight:650;cursor:pointer}.graph-zoom-button:hover{background:var(--surface-muted)}.graph-gesture-hint,.graph-note{margin:0;color:var(--text-muted);font-size:.78rem}.graph-back{display:inline-flex;min-height:var(--tap);align-self:flex-start;align-items:center;gap:6px;border:0;background:transparent;color:var(--blue-deep);padding:0;font:inherit;font-size:.86rem;font-weight:650;cursor:pointer}@media(max-width:540px){.graph-canvas{padding:8px}}@media(prefers-reduced-motion:reduce){.graph-node,.graph-edge-group{transition:none}}.reader-layout-toggle{display:inline-flex;flex:none;border:1px solid var(--reader-border);border-radius:999px;background:var(--reader-panel);padding:2px}.reader-layout-toggle button{min-height:34px;border:0;border-radius:999px;background:transparent;color:var(--reader-muted);padding:0 12px;font:inherit;font-size:.76rem;font-weight:700;white-space:nowrap;cursor:pointer}.reader-layout-toggle button.active{background:var(--reader-bg);color:var(--reader-text);box-shadow:inset 0 0 0 1px var(--reader-border)}.reader-paged{position:relative;display:flex;min-height:0;flex:1;align-items:flex-start;justify-content:center;overflow:hidden;padding:clamp(18px,4vh,44px) clamp(18px,5vw,56px) clamp(14px,3vh,28px);touch-action:pinch-zoom}.reader-measure-probe{position:absolute;top:0;left:0;width:var(--reader-measure, 65ch);height:0;visibility:hidden;font-family:Georgia,Times New Roman,serif;font-size:var(--reader-font-size, 18px);pointer-events:none}.reader-pages{width:100%;height:100%;flex:none;overflow:hidden;scroll-behavior:smooth}.reader-columns{column-fill:auto}.reader-columns .reader-chapter-head,.reader-columns .reader-paper,.reader-columns .reader-error{max-width:none;margin-right:0;margin-left:0}.reader-columns .reader-chapter-head{break-inside:avoid}.reader-columns .reader-paragraph{orphans:2;widows:2}.reader-turn{display:inline-grid;width:44px;height:44px;flex:none;place-items:center;border:1px solid var(--reader-border);border-radius:999px;background:var(--reader-panel);color:var(--reader-text);cursor:pointer}.reader-turn:hover:not(:disabled),.reader-turn:focus-visible{border-color:var(--reader-accent)}.reader-turn:disabled{opacity:.35;cursor:default}.reader-page-status{display:inline-flex;flex:none;flex-direction:column;align-items:flex-end;gap:1px;line-height:1.2;text-align:right}.reader-page-status strong{color:var(--reader-text);font-size:.78rem}.reader-page-status span{font-size:.68rem}.reader-next-chapter{display:flex;width:100%;max-width:var(--reader-measure, 65ch);flex-direction:column;align-items:flex-start;gap:4px;margin:48px auto 0;border:1px solid var(--reader-border);border-radius:14px;background:var(--reader-panel);color:var(--reader-text);padding:14px 16px;font:inherit;text-align:left;cursor:pointer}.reader-next-chapter span{color:var(--reader-muted);font-size:.7rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase}.reader-next-chapter strong{font-family:Georgia,Times New Roman,serif;font-size:1.1rem}.reader-toc{position:fixed;z-index:220;top:0;bottom:0;left:0;display:flex;width:min(380px,100vw);flex-direction:column;gap:14px;overflow-y:auto;border-right:1px solid var(--reader-border);background:var(--reader-panel);box-shadow:20px 0 70px #0000003d;color:var(--reader-text);padding:calc(18px + env(safe-area-inset-top)) 18px 18px;animation:reader-toc-in .18s ease-out}.reader-toc>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.reader-toc h2{margin:3px 0 0;font-size:1rem;line-height:1.25}.reader-toc ol{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.reader-toc-list>li+li{border-top:1px solid var(--reader-border);padding-top:4px}.reader-toc button:not(.reader-icon-button){display:flex;width:100%;min-height:44px;align-items:baseline;gap:10px;border:0;border-radius:10px;background:transparent;color:var(--reader-text);padding:10px;font:inherit;text-align:left;cursor:pointer}.reader-toc button:not(.reader-icon-button):hover,.reader-toc button:not(.reader-icon-button):focus-visible{background:var(--reader-panel-2)}.reader-toc-chapter{font-weight:700}.reader-toc-chapter.active{box-shadow:inset 3px 0 0 var(--reader-accent)}.reader-toc-number{min-width:2.2em;flex:none;color:var(--reader-muted);font-size:.74rem;font-variant-numeric:tabular-nums;font-weight:700}.reader-toc-title{min-width:0;overflow-wrap:break-word}.reader-toc-sections button{font-family:Georgia,Times New Roman,serif;font-size:.9rem;line-height:1.4}.reader-toc-sections .reader-toc-number{font-family:var(--font-family)}@keyframes reader-toc-in{0%{transform:translate(-24px);opacity:0}}@media(max-width:760px){.reader-layout-toggle{margin-right:auto}.reader-paged{padding:18px 20px 12px}}@media(prefers-reduced-motion:reduce){.reader-pages{scroll-behavior:auto}.reader-toc{animation:none}}.reader-reading>.reader-chapter-head,.reader-reading>.reader-paper,.reader-reading>.reader-error,.reader-reading>.reader-next-chapter{max-width:none;margin-right:0;margin-left:0}.reader-next-chapter>span{font-family:var(--font-family)}.mobile-nav-item>span:last-child{max-width:none;overflow:visible;text-overflow:clip}.more-scrim{position:fixed;z-index:59;inset:0;background:color-mix(in srgb,var(--auth-scrim) 26%,transparent);animation:more-scrim-in .16s ease-out}.mobile-more-sheet{position:fixed;z-index:70;right:12px;bottom:calc(92px + env(safe-area-inset-bottom));left:12px;display:flex;width:auto;max-height:min(60dvh,420px);flex-direction:column;gap:2px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);padding:8px;transform-origin:bottom center;animation:mobile-more-in .16s ease-out}.mobile-more-sheet>nav{display:flex;flex-direction:column;gap:2px}.mobile-more-title{margin:4px 10px 6px;color:var(--text-muted);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.mobile-more-item{display:flex;min-height:var(--tap);align-items:center;gap:12px;border:0;border-radius:var(--radius-md);background:transparent;color:var(--text);padding:0 12px;font:inherit;font-size:.95rem;font-weight:600;text-align:left;cursor:pointer}.mobile-more-item:hover:not(:disabled){background:var(--surface-muted)}.mobile-more-item.active{background:var(--info-surface);color:var(--blue-deep)}.mobile-more-item:disabled{opacity:.45;cursor:default}body.reader-focus .mobile-dock{display:none}@keyframes mobile-more-in{0%{transform:translateY(8px);opacity:0}}@keyframes more-scrim-in{0%{opacity:0}}@media(max-width:820px){.more-scrim{display:none}}@media(prefers-reduced-motion:reduce){.more-scrim{animation:none}}@media(prefers-reduced-motion:reduce){.mobile-more-sheet{animation:none}}.notes-list{margin-top:2px}.notes-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.note-markdown h3,.note-markdown h4{margin:1.2em 0 .45em;line-height:1.25}.note-markdown p,.note-markdown ul,.note-markdown blockquote{margin:0 0 .8em}.note-markdown ul{padding-left:1.35em}.note-markdown blockquote{border-left:3px solid var(--border-strong);color:var(--text-muted);padding-left:12px}.notes-workspace{max-width:none;gap:14px}.notes-workspace-head{display:flex;align-items:center;gap:12px}.notes-workspace-head h1{margin:2px 0 0;font-size:clamp(1.6rem,3.4vw,2.15rem);line-height:1.05}.notes-workspace-grid{display:grid;height:clamp(560px,calc(100dvh - 210px),1100px);grid-template-columns:264px minmax(0,1fr) 304px;gap:14px}.notes-explorer,.notes-editor-pane,.notes-inspector{display:flex;min-width:0;min-height:0;flex-direction:column;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.notes-explorer,.notes-inspector{gap:10px;overflow-y:auto;padding:12px}.notes-pane-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.notes-explorer-title{display:flex;align-items:baseline;gap:8px}.notes-explorer-title h2{margin:0;font-size:1rem}.notes-explorer-title span{color:var(--text-muted);font-size:.76rem}.notes-icon-button{display:inline-grid;width:36px;height:36px;flex:none;place-items:center;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text-muted);cursor:pointer}.notes-icon-button:hover,.notes-icon-button:focus-visible{border-color:var(--border);background:var(--surface-muted);color:var(--text)}.notes-drawer-close,.notes-explorer-toggle,.notes-inspector-toggle{display:none}.notes-new{justify-content:center;gap:6px}.notes-search{display:flex;min-height:40px;align-items:center;gap:8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);color:var(--text-muted);padding:0 10px}.notes-search:focus-within{border-color:var(--focus-ring)}.notes-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:.88rem;outline:none}.notes-filters{display:flex;flex-wrap:wrap;gap:4px}.notes-filter{display:inline-flex;min-height:32px;align-items:center;gap:6px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text-muted);padding:0 10px;font:inherit;font-size:.76rem;font-weight:650;white-space:nowrap;cursor:pointer}.notes-filter.active{border-color:var(--blue);background:var(--info-surface);color:var(--blue-deep)}.notes-filter-count{color:inherit;font-size:.7rem;font-variant-numeric:tabular-nums;opacity:.75}.notes-explorer-list{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}.notes-explorer-row{display:flex;width:100%;flex-direction:column;gap:4px;border:1px solid transparent;border-radius:var(--radius-sm);background:transparent;color:var(--text);padding:9px 10px;font:inherit;text-align:left;cursor:pointer}.notes-explorer-row:hover{background:var(--surface-muted)}.notes-explorer-row.active{border-color:var(--blue);background:var(--info-surface)}.notes-explorer-row strong{font-size:.9rem;line-height:1.3;overflow-wrap:break-word}.notes-row-snippet{color:var(--text-muted);font-size:.78rem;line-height:1.4}.notes-row-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;color:var(--text-muted);font-size:.7rem}.notes-kind{display:inline-flex;width:fit-content;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);color:var(--text-muted);padding:1px 8px;font-size:.68rem;font-weight:700;white-space:nowrap}.notes-kind-note{border-color:var(--blue);color:var(--blue-deep)}.notes-kind-kc,.notes-kind-misconception,.notes-kind-item{border-color:var(--green);color:var(--text)}.notes-kind-lexeme{border-color:var(--sun);color:var(--text)}.notes-kind-book,.notes-kind-book_mark,.notes-kind-highlight{border-color:var(--coral, var(--sun));color:var(--text)}.notes-editor-pane{overflow:hidden}.notes-tabbar{display:flex;min-height:46px;flex:none;align-items:flex-end;gap:4px;border-bottom:1px solid var(--border);background:var(--surface-muted);padding:6px 6px 0}.notes-tabbar>.notes-icon-button{align-self:center;margin-bottom:6px}.notes-tabs{display:flex;min-width:0;flex:1;align-items:flex-end;gap:2px;overflow-x:auto;scrollbar-width:thin}.notes-tab{display:flex;max-width:220px;flex:none;align-items:center;border:1px solid transparent;border-bottom:0;border-radius:var(--radius-sm) var(--radius-sm) 0 0;color:var(--text-muted)}.notes-tab.active{border-color:var(--border);background:var(--surface);color:var(--text);margin-bottom:-1px;padding-bottom:1px}.notes-tab-main{display:flex;min-width:0;min-height:38px;align-items:center;gap:6px;border:0;background:transparent;color:inherit;padding:0 4px 0 12px;font:inherit;font-size:.82rem;font-weight:650;cursor:pointer}.notes-tab-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-tab-dirty{width:7px;height:7px;flex:none;border-radius:50%;background:var(--sun)}.notes-tab-close,.notes-tab-new{display:inline-grid;width:28px;height:28px;flex:none;place-items:center;margin-right:4px;border:0;border-radius:6px;background:transparent;color:var(--text-muted);cursor:pointer}.notes-tab-new{align-self:center;margin:0 0 4px 2px}.notes-tab-close:hover,.notes-tab-new:hover{background:var(--surface-muted);color:var(--text)}.notes-doc-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 22px 0}.notes-doc-head h2{min-width:0;flex:1 1 240px;margin:0;font-size:clamp(1.35rem,2.6vw,1.8rem);line-height:1.15;overflow-wrap:break-word}.notes-doc-actions{display:flex;align-items:center;gap:4px}.notes-mode-toggle{display:inline-flex;border:1px solid var(--border);border-radius:999px;background:var(--surface-muted);padding:2px}.notes-mode-toggle button{display:inline-flex;min-height:34px;align-items:center;gap:6px;border:0;border-radius:999px;background:transparent;color:var(--text-muted);padding:0 12px;font:inherit;font-size:.8rem;font-weight:700;cursor:pointer}.notes-mode-toggle button.active{background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 1px var(--border)}.notes-confirm{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 22px 0;border:1px solid var(--danger, var(--coral));border-radius:var(--radius-sm);padding:8px 12px}.notes-confirm p{margin:0;font-size:.86rem}.notes-confirm div{display:flex;gap:6px}.notes-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 22px 0}.notes-chip{display:inline-flex;align-items:center;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);padding:1px 9px;font-size:.72rem;font-weight:600}.notes-toolbar{display:flex;flex-wrap:wrap;gap:2px;margin:12px 22px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:4px 0}.notes-tool{display:inline-grid;width:36px;height:36px;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--text);cursor:pointer}.notes-tool.group-start{margin-left:8px}.notes-tool:hover:not(:disabled){background:var(--surface-muted)}.notes-tool:disabled{color:var(--text-muted);opacity:.45;cursor:default}.notes-editor-pane>.inline-alert{margin:10px 22px 0}.notes-editor,.notes-preview{position:relative;display:flex;min-height:0;flex:1;flex-direction:column;overflow-y:auto;padding:14px 22px 18px}.notes-textarea{width:100%;min-height:300px;flex:1;border:0;background:transparent;color:var(--text);padding:0;font-family:var(--font-family);font-size:1rem;line-height:1.65;outline:none;resize:none}.notes-editor-actions{display:flex;justify-content:flex-end;padding-top:10px}.notes-wiki-suggestions{position:absolute;z-index:5;right:22px;bottom:62px;left:22px;display:flex;max-height:230px;flex-direction:column;gap:2px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow-card);padding:5px}.notes-wiki-suggestions button{display:flex;min-height:38px;align-items:center;gap:8px;border:0;border-radius:6px;background:transparent;color:var(--text);padding:0 8px;font:inherit;font-size:.86rem;text-align:left;cursor:pointer}.notes-wiki-suggestions button:hover{background:var(--surface-muted)}.notes-reader{max-width:72ch;font-size:1rem;line-height:1.7}.notes-block{max-width:72ch;margin-top:18px;border:1px solid var(--border);border-radius:var(--radius-sm);padding:4px 12px}.notes-block>summary{display:flex;min-height:40px;align-items:center;gap:8px;font-size:.84rem;font-weight:700;cursor:pointer}.notes-block blockquote{margin:0 0 10px;border-left:3px solid var(--sun);padding-left:10px;font-family:Georgia,Times New Roman,serif}.notes-block cite{display:block;margin-top:2px;color:var(--text-muted);font-family:var(--font-family);font-size:.78rem;font-style:normal}.notes-block ul{display:flex;flex-direction:column;gap:2px;margin:0 0 8px;padding:0;list-style:none}.notes-block li button{display:flex;width:100%;min-height:40px;flex-wrap:wrap;align-items:baseline;gap:4px 10px;border:0;border-radius:6px;background:transparent;color:var(--text);padding:6px 8px;font:inherit;text-align:left;cursor:pointer}.notes-block li button:hover{background:var(--surface-muted)}.notes-block li button span{color:var(--text-muted);font-size:.76rem}.notes-statusbar{display:flex;min-height:34px;flex:none;flex-wrap:wrap;align-items:center;gap:4px 16px;border-top:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);padding:6px 14px;font-size:.74rem;font-variant-numeric:tabular-nums}.notes-save-state{font-weight:700}.notes-save-state.dirty{color:var(--text)}.notes-statusbar .over{color:var(--danger, var(--coral));font-weight:700}.notes-shortcut{margin-left:auto}.notes-empty-state{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--text-muted);padding:32px 20px;text-align:center}.notes-empty-state p{max-width:36ch;margin:0}.notes-empty-state div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.notes-inspector-tabs{display:flex;flex-wrap:wrap;gap:4px}.notes-inspector-tab{min-height:34px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--text-muted);padding:0 10px;font:inherit;font-size:.74rem;font-weight:700;cursor:pointer}.notes-inspector-tab.active{border-color:var(--blue);background:var(--info-surface);color:var(--blue-deep)}.notes-inspector-body{display:flex;flex-direction:column;gap:12px}.notes-outline ul{margin:0;padding:0;list-style:none}.notes-outline ul ul{margin-left:10px;border-left:1px solid var(--border);padding-left:6px}.notes-outline-item{display:flex;width:100%;min-height:34px;align-items:baseline;gap:8px;border:0;border-radius:6px;background:transparent;color:var(--text);padding:7px 8px;font:inherit;font-size:.85rem;line-height:1.35;text-align:left;cursor:pointer}.notes-outline-item:hover{background:var(--surface-muted)}.notes-outline-mark{flex:none;color:var(--text-muted);font-size:.7rem;font-weight:700}.notes-outline-1{font-weight:700}.notes-outline-3{color:var(--text-muted)}.notes-backlinks{display:flex;flex-direction:column;gap:14px}.notes-backlinks h4{margin:0 0 6px;color:var(--text-muted);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}.notes-backlinks ul{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;list-style:none}.notes-backlinks li button{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px;border:1px solid var(--border);border-radius:var(--radius-sm);background:transparent;color:var(--text);padding:8px 10px;font:inherit;font-size:.82rem;line-height:1.35;text-align:left;cursor:pointer}.notes-backlinks li button:hover{border-color:var(--blue)}.notes-properties{width:100%;border-collapse:collapse;font-size:.8rem}.notes-properties th,.notes-properties td{border-bottom:1px solid var(--border);padding:7px 4px;text-align:left;vertical-align:top}.notes-properties th{width:44%;color:var(--text-muted);font-weight:600}.notes-properties td{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.notes-detail{display:flex;flex-direction:column;gap:8px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-muted);padding:10px}.notes-detail header{display:flex;align-items:center;justify-content:space-between;gap:6px}.notes-detail strong{font-size:.88rem;line-height:1.4}.notes-detail p{margin:0;font-size:.82rem}.notes-local-graph-wrap{display:flex;flex-direction:column;gap:8px}.notes-local-graph{position:relative;width:100%;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-muted)}.notes-local-graph>svg{position:absolute;inset:0;overflow:visible}.notes-local-graph line{stroke:var(--border-strong);stroke-width:1.5}.notes-graph-node{position:absolute;display:flex;box-sizing:border-box;align-items:flex-start;gap:6px;margin:0;transform:translate(-50%,-50%);border:1px solid var(--border-strong);border-radius:14px;background:var(--surface);color:var(--text);font:inherit;font-size:12px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer}.notes-graph-node .studio-icon{flex:none;margin-top:1px}.notes-graph-node>span{display:flex;min-width:0;flex-direction:column}.notes-graph-line{white-space:nowrap}.notes-graph-node:hover:not(:disabled){border-color:var(--blue)}.notes-graph-node.center{border-color:var(--blue);background:var(--info-surface);color:var(--blue-deep);cursor:default}.notes-graph-node.center:disabled{opacity:1}.notes-graph-kc{border-color:var(--green)}.notes-graph-lexeme{border-color:var(--sun)}.notes-scrim{display:none}@media(max-width:1180px){.notes-workspace-grid{grid-template-columns:248px minmax(0,1fr)}.notes-inspector{position:fixed;z-index:90;top:0;right:0;bottom:0;width:min(360px,92vw);border-radius:var(--radius-lg) 0 0 var(--radius-lg);box-shadow:var(--shadow-card);transform:translate(104%);transition:transform .18s ease}.notes-inspector.open{transform:translate(0)}.notes-inspector .notes-drawer-close,.notes-inspector-toggle{display:inline-grid}.notes-scrim{position:fixed;z-index:85;inset:0;display:block;border:0;background:color-mix(in srgb,var(--text) 28%,transparent)}}@media(max-width:760px){.notes-workspace-grid{height:auto;min-height:calc(100dvh - 260px);grid-template-columns:minmax(0,1fr)}.notes-explorer{position:fixed;z-index:90;top:0;bottom:0;left:0;width:min(340px,90vw);border-radius:0 var(--radius-lg) var(--radius-lg) 0;box-shadow:var(--shadow-card);transform:translate(-104%);transition:transform .18s ease}.notes-explorer.open{transform:translate(0)}.notes-explorer .notes-drawer-close,.notes-explorer-toggle{display:inline-grid}.notes-empty-state .notes-explorer-toggle{display:inline-flex}.notes-editor-pane{overflow:visible}.notes-doc-head,.notes-chips{padding-right:14px;padding-left:14px}.notes-toolbar,.notes-confirm,.notes-editor-pane>.inline-alert{margin-right:14px;margin-left:14px}.notes-editor,.notes-preview{overflow:visible;padding:12px 14px 16px}.notes-tool{width:40px;height:40px}.notes-tool.group-start{margin-left:0}.notes-shortcut{display:none}.notes-textarea{min-height:52vh}}@media(prefers-reduced-motion:reduce){.notes-explorer,.notes-inspector{transition:none}}.route-loading{min-height:60vh}@media(max-width:820px){.studio-shell:not([data-nav-position=bottom]) .studio-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom))}}.reader-word-popover{position:fixed;z-index:240;width:min(320px,calc(100vw - 16px));border:1px solid var(--reader-border);border-radius:var(--radius-md);background:var(--reader-panel);box-shadow:0 18px 48px #00000038;color:var(--reader-text);padding:16px}.reader-word-body{display:flex;max-height:min(calc(60vh - 32px),420px);flex-direction:column;gap:12px;overflow-y:auto}.reader-word-popover p,.reader-word-popover .bento-note,.reader-word-example{margin:0}.reader-word-hint{color:var(--reader-muted);font-size:.86rem;line-height:1.45}.reader-word-example{border-left:3px solid var(--reader-accent);border-radius:0 var(--radius-sm) var(--radius-sm) 0;background:var(--reader-hint-surface);padding:8px 12px}.reader-word-example figcaption{margin-bottom:4px;color:var(--reader-muted);font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.reader-word-example blockquote{margin:0;color:var(--reader-text);font-size:.92rem;font-style:italic;line-height:1.5}.reader-word-field{gap:8px;margin-top:2px}.reader-word-field>span{color:var(--reader-muted);font-weight:700}.reader-word-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.reader-word-popover h3{margin:0;font-size:1.2rem}.reader-word-close{display:grid;width:44px;height:44px;flex:none;place-items:center;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--reader-text);margin:-8px -8px 0 0;padding:0}.reader-word-close:hover,.reader-word-close:focus-visible{background:var(--reader-panel-2)}.reader-word-arrow{position:absolute;width:12px;height:12px;border-top:1px solid var(--reader-border);border-left:1px solid var(--reader-border);background:var(--reader-panel);transform:rotate(45deg)}.reader-word-popover[data-placement=below] .reader-word-arrow{top:-6px}.reader-word-popover[data-placement=above] .reader-word-arrow{bottom:-6px;border-top:0;border-left:0;border-right:1px solid var(--reader-border);border-bottom:1px solid var(--reader-border)}.reader-word-popover .field,.reader-word-popover .bento-note{color:var(--reader-muted)}.reader-word-input{width:100%;min-height:var(--tap);border:1px solid var(--reader-border);border-radius:var(--radius-md);background:var(--reader-bg);color:var(--reader-text);padding:10px 12px;font:inherit;font-size:1rem;resize:vertical}.reader-word-input::placeholder{color:var(--reader-muted)}.today-identity>div{min-width:0}.companion-card .status-meta{max-width:100%;overflow-wrap:break-word;white-space:normal}.settings-panel>*{min-width:0}
