.writing{margin:12px 0 24px}.writing>p{margin:8px 0 16px}.writing-fields{gap:12px;display:grid}.writing-field{flex-direction:column;gap:8px;min-width:0;display:flex}.writing-field>:first-child,.writing-options{font-family:var(--font-ui)}.writing-field textarea,.writing-output{border:1px solid var(--border);background:var(--surface);width:100%;height:clamp(96px,50svh - 160px,220px);min-height:96px;color:var(--text);border-radius:10px;padding:12px}.writing-field textarea{font:1.1rem/1.6 var(--font-reading);resize:vertical}.writing-output{font-size:1.7rem;line-height:1.8;overflow:auto}.writing[data-script=mitrasperiani] .writing-output{font-size:1.1rem;line-height:1.6}.writing-line{white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;unicode-bidi:isolate;min-height:1.8em}.writing-unknown{font-family:var(--font-ui);color:var(--accent)}.writing-placeholder{font:1rem/1.6 var(--font-ui);color:var(--muted);margin:0}.writing-status,.writing-number-notice{overflow-wrap:anywhere;font-size:.95rem}.writing-status:empty{margin:0}.writing-options{border:1px solid var(--border);border-radius:10px;min-width:0;margin-top:12px}.writing-options summary{min-height:44px;color:var(--accent);cursor:pointer;padding:10px 14px}.writing-options-body{padding:0 14px 12px}.writing-checkbox{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.writing-checkbox input{appearance:none;border:1px solid var(--accent);background:var(--surfaceRaised);cursor:pointer;border-radius:3px;flex-shrink:0;width:20px;height:20px;margin:0}.writing-checkbox input:checked{background:var(--accent)}.writing-checkbox input:checked:after{content:"";border:solid var(--background);border-width:0 2px 2px 0;width:6px;height:11px;display:block;transform:translate(6px,1px)rotate(45deg)}.writing-toggle{border:0;min-width:0;margin:14px 0;padding:0}.writing-toggle legend{margin-bottom:6px;padding:0}.writing-segments{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;display:grid}.writing-segments button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--text);font:500 .85rem/1.3 var(--font-ui);cursor:pointer;border-radius:6px;padding:6px 4px}.writing-segments button[aria-pressed=true]{border-color:var(--accent);background:var(--accent);color:var(--background);font-weight:700}.writing-option-help{margin:4px 0 8px;font-size:.85rem}.writing :is(textarea,summary,button,input,[tabindex]):focus-visible{outline:2px solid var(--accent);outline-offset:3px}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-ext-wght-normal-Bg62sWL9.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-cyrillic-wght-normal-BWCqVJN0.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-vietnamese-wght-normal-CDLFB6hb.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-ext-wght-normal-ltf1AbuM.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/cormorant-garamond-latin-wght-normal-CUoBjw-S.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-cyrillic-ext-wght-normal-CN0-BfWD.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-cyrillic-wght-normal-CU5lb38f.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-greek-ext-wght-normal-C8PPRmwJ.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-greek-wght-normal-BPx8yWcZ.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-vietnamese-wght-normal-DOV9JYup.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-latin-ext-wght-normal-o8axeAGu.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Alegreya Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/alegreya-latin-wght-normal-BG9rTJo4.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/alegreya-sans-latin-400-normal-DtLlO8BS.woff2)format("woff2"),url(/assets/alegreya-sans-latin-400-normal-DmA8jeke.woff)format("woff")}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/alegreya-sans-latin-500-normal-DS713u5J.woff2)format("woff2"),url(/assets/alegreya-sans-latin-500-normal-vXxrTKJT.woff)format("woff")}@font-face{font-family:Alegreya Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/alegreya-sans-latin-700-normal-DEbcy2sF.woff2)format("woff2"),url(/assets/alegreya-sans-latin-700-normal-BnzUNlma.woff)format("woff")}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{color:#ece9dd;font-synthesis:none;background:#12221f;font-family:Arial,sans-serif;line-height:1.6}*{box-sizing:border-box}body{background:radial-gradient(at 80% 0,#293b30 0,#0000 50%);margin:0}a{color:inherit;text-decoration:none}a:focus-visible{outline-offset:5px;outline:3px solid #e1c58a}h1,h2,h3,.brand{font-family:Georgia,serif;font-weight:400}h1{margin:20px 0;font-size:clamp(2.6rem,6vw,4.6rem);line-height:1.12}h2{margin:12px 0;font-size:1.7rem}h3{margin:0;font-size:1.3rem}p{color:#b6c0b7}em{color:#d7b978;font-weight:400}.site-header,main,footer{max-width:1120px;margin:auto}.site-header{border-bottom:1px solid #ffffff16;justify-content:space-between;align-items:center;padding:27px 32px;display:flex}.brand{font-size:1.65rem}.brand span{color:#d7b978;margin-right:10px;font-size:2rem}.header-note{color:#9ba89e;font-size:.75rem}main{min-height:75vh;padding:0 32px}.eyebrow{letter-spacing:.2em;color:#cfb77e;font-size:.65rem;font-weight:700}.section-title{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.section-title span{color:#9ba89e;font-size:.75rem}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;display:grid}.script-card{background:linear-gradient(135deg,#263831,#1b2d27);border:1px solid #7e8c6740;border-radius:14px;padding:28px}.card-top{justify-content:space-between;align-items:center;display:flex}.badge{color:#d7cba4;border:1px solid #b9a37150;border-radius:20px;padding:3px 10px;font-size:.65rem}.glyph-preview{gap:15px;margin:22px 0 10px;display:flex}.glyph-preview img{background:#14241f80;border-radius:10px;width:80px;height:80px;padding:10px}.script-card>p{max-width:340px;font-size:.9rem}.progress-label{color:#aab8ab;justify-content:space-between;gap:10px;margin-top:28px;font-size:.7rem;display:flex}progress{accent-color:#d7b978;width:100%;height:5px;margin:10px 0 24px;display:block}progress::-webkit-progress-bar{background:#435148;border-radius:10px}progress::-webkit-progress-value{background:#d7b978;border-radius:10px}.button{color:#ebd49a;background:#a68a3910;border:1px solid #c7b47b70;border-radius:6px;justify-content:space-between;align-items:center;padding:11px 16px;font-size:.85rem;display:flex}.button:hover{background:#a68a3925}.notice{background:#ffffff04;border:1px solid #ffffff0c;border-radius:10px;gap:18px;margin:30px 0 50px;padding:20px 24px;display:flex}.notice>span{color:#d7b978;font-size:1.6rem}.notice p{margin:0;font-size:.8rem}.notice strong{color:#d6dccf;font-weight:500}footer{letter-spacing:.12em;color:#bca775;border-top:1px solid #ffffff16;justify-content:space-between;gap:20px;padding:24px 32px;font-size:.65rem;display:flex}footer span{color:#8d9e91;letter-spacing:normal}.back{color:#c2cca9;margin-top:30px;font-size:.85rem;display:inline-block}.tabs{border-bottom:1px solid #ffffff20;gap:28px;margin-bottom:30px;display:flex}.tabs a{color:#aab8ab;padding:12px 0}.tabs .active{color:#e1c58a;border-bottom:2px solid}.path{padding:0 0 0 12px;list-style:none}.path li{gap:24px;padding:15px 0 30px;display:flex;position:relative}.path li:not(:last-child):before{content:"";background:#4d5c48;width:2px;position:absolute;top:65px;bottom:-15px;left:25px}.node{color:#83917d;background:#1b2d27;border:1px solid #52614a;border-radius:50%;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.path p{margin:4px 0;font-size:.8rem}.path a,.lesson-panel a{color:#d7b978;font-size:.85rem}.lesson-panel{border:1px solid #ffffff20;border-radius:12px;margin-bottom:40px;padding:24px}.library{gap:20px;display:flex}.library>img{width:70px;height:80px}.library p{font-size:.8rem}.library figure{margin:15px 0}.library figure img{width:45px}.library figcaption{color:#aab8ab;font-size:.7rem}@media (width<=640px){.cards{grid-template-columns:1fr}.site-header,main,footer{padding-left:20px;padding-right:20px}.header-note{display:none}.hero{padding-top:42px}.script-card{padding:22px}.section-title h2{font-size:1.4rem}footer{flex-direction:column;gap:5px}.progress-label{font-size:.65rem}}.script-card.script-choice{text-align:center;flex-direction:column;align-items:center;padding:24px;display:flex}.script-enter{color:#ebd49a;background:#14241f80;border:1px solid #c7b47b50;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:120px;min-height:132px;padding:12px;font-size:.8rem;transition:background .15s,border-color .15s;display:flex}.script-enter img{object-fit:contain;border-radius:4px;width:80px;height:80px}.script-choice h2{margin:12px 0 0;font-size:1.5rem}.script-choice .progress-label{justify-content:center;margin-top:12px}.script-choice progress{width:min(100%,220px);margin:8px 0 0}.library-reference{margin-bottom:32px}.library-reference a{border-radius:8px;width:fit-content;max-width:100%;display:block;overflow:hidden}.library-reference img{background:#fff;max-width:100%;height:auto;display:block}.app-shell{min-height:100vh;color:var(--text);background:radial-gradient(ellipse at 80% 0%, var(--surfaceRaised), transparent 55%), var(--background)}.app-shell p,.header-note,.section-title span,footer span,.progress-label,.tabs a,.library figcaption{color:var(--muted)}.app-shell a:focus-visible{outline-color:var(--accent)}.site-header,footer,.tabs{border-color:var(--border)}.brand span,em,.eyebrow,.notice>span,footer,.back,.path a,.lesson-panel a,.tabs .active{color:var(--accent)}.script-card{color:var(--text);background:linear-gradient(135deg, var(--surfaceRaised), var(--surface));border-color:var(--border);box-shadow:0 0 28px var(--glow)}.script-enter,.node{background:var(--background);border-color:var(--border);color:var(--accent)}.script-enter:hover{background:var(--surfaceRaised);border-color:var(--accent)}.script-enter{box-shadow:0 0 20px var(--glow)}.badge{color:var(--accent);border-color:var(--border)}progress{accent-color:var(--accent);background:var(--border)}progress::-webkit-progress-bar{background:var(--border)}progress::-webkit-progress-value{background:var(--accent)}progress::-moz-progress-bar{background:var(--accent)}.path li:not(:last-child):before{background:var(--border)}.node{color:var(--muted)}.node.open{color:var(--accent);border-color:var(--accent);box-shadow:0 0 22px var(--glow)}.lesson-panel,.notice,.library-reference{background:var(--surface);border:1px solid var(--border);box-shadow:0 0 28px var(--glow)}.notice strong{color:var(--text)}.library-reference{border-radius:12px;padding:20px}.page-heading h1,.script-choice h2{text-shadow:0 0 22px var(--glow)}.profile-page{overflow-wrap:anywhere;max-width:48rem;margin-inline:auto}.profile-actions{flex-wrap:wrap;gap:.75rem;margin-block:1rem;display:flex}.profile-page button{cursor:pointer;border:1px solid var(--border);background:var(--surfaceRaised);min-height:44px;color:var(--text);border-radius:8px;padding:.65rem 1rem}.profile-page button:hover:not(:disabled){border-color:var(--accent)}.profile-page :is(button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.profile-page summary{cursor:pointer;min-height:44px;padding-block:.5rem}.profile-page button:disabled{cursor:default;opacity:.6}.profile-page pre{white-space:pre-wrap;max-width:100%;max-height:18rem;font-size:.8rem;overflow:auto}.profile-page fieldset{min-width:0;margin-block:1rem}.profile-page .google-sign-in{color:#1f1f1f;background:#fff;border:1px solid #747775;align-items:center;gap:10px;padding-inline:12px;font:500 14px/20px Google Sans,Arial,sans-serif;display:inline-flex}.google-sign-in img{flex:0 0 20px;width:20px;height:20px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@font-face{font-family:Morris Roman;src:url(/fonts/MorrisRoman-Black.ttf)format("truetype");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Cinzel;src:url(/fonts/Cinzel.ttf)format("truetype");font-weight:400 900;font-style:normal;font-display:swap}:root{--font-logo:"Morris Roman", Georgia, serif;--font-heading-standard:"Cinzel", Georgia, serif;--font-heading-lunar:"Cormorant Garamond Variable", Georgia, serif;--font-reading:"Alegreya Variable", Georgia, serif;--font-ui:"Alegreya Sans", Arial, sans-serif}.app-shell{font-family:var(--font-reading);font-size:1.0625rem}h1,h2,h3{font-family:var(--font-heading);font-weight:500}.brand{font-family:var(--font-logo);font-size:2rem;font-weight:900}.page-heading h1,.script-choice h2{font-weight:600}.header-note,.eyebrow,.section-title>span,.badge,.progress-label,.tabs,.back,.path a,.lesson-panel a,footer,button,input,select{font-family:var(--font-ui)}.script-choice .script-native-title{text-transform:none;letter-spacing:normal;font-size:1.35rem}:root{--app-max-width:480px;--app-gutter:16px;--touch-target:44px}body{background:#090f10}.app-shell{width:100%;max-width:var(--app-max-width);min-height:100dvh;margin-inline:auto;box-shadow:0 0 60px #00000040}.site-header,main,footer{max-width:100%;padding-inline:var(--app-gutter)}.site-header{padding-top:max(16px, env(safe-area-inset-top));padding-bottom:16px}.header-note{display:none}.brand{min-height:var(--touch-target);align-items:center;display:inline-flex}h1{overflow-wrap:anywhere;font-size:2.35rem}.hero p{font-size:1rem}.hero p br{display:none}.section-title{gap:12px}.section-title h2{font-size:1.3rem}.section-title>span{flex-shrink:0}.cards{grid-template-columns:minmax(0,1fr);gap:12px}.script-card.script-choice{min-width:0;padding:16px 10px}.script-enter{width:96px;min-height:96px;padding:8px}.script-enter img{width:76px;height:76px}.script-choice h2{overflow-wrap:anywhere;font-size:1.05rem;line-height:1.35}.script-choice .progress-label{font-size:.75rem}.notice{gap:12px;margin-bottom:32px;padding:16px}.tabs{gap:20px}.tabs a,.back,.path a,.lesson-panel a{min-height:var(--touch-target);align-items:center;display:inline-flex}.path{padding-left:0}.path li{gap:16px}.path li>div{min-width:0}.path h3{overflow-wrap:anywhere;line-height:1.3}.path a{align-items:flex-start;padding-top:2px;line-height:1.3}.path .node{z-index:1;font-family:var(--font-ui);font-size:1.15rem;position:relative}.path .node-complete{background:var(--accent);border-color:var(--accent);color:var(--background);box-shadow:none;font-weight:700}.path .node-next{background:var(--surfaceRaised);border:2px solid var(--accent);color:var(--accent);outline:2px solid var(--accent);outline-offset:4px;box-shadow:none;font-weight:700}.path .node-upcoming{background:var(--background);border:1px dashed var(--muted);color:var(--muted);box-shadow:none}.library-reference{padding:14px}.library-reference a{min-height:var(--touch-target)}.library,.lesson-panel{padding:20px}footer{padding-bottom:max(24px, env(safe-area-inset-bottom));flex-direction:column;gap:5px;display:flex}@media (width<=480px){.app-shell{box-shadow:none}}.script-symbol{background-color:var(--icon,var(--accent));width:76px;height:76px;transition:background-color .15s;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.script-enter:focus-visible .script-symbol{background-color:var(--iconActive,var(--accent))}.script-enter:focus-visible{box-shadow:0 0 18px var(--iconGlow,var(--glow))}@media (hover:hover){.script-enter:hover .script-symbol{background-color:var(--iconActive,var(--accent))}.script-enter:hover{box-shadow:0 0 18px var(--iconGlow,var(--glow))}}.script-enter:active{transform:scale(.96)}.script-enter:active .script-symbol{background-color:var(--iconActive,var(--accent))}@media (prefers-reduced-motion:reduce){.script-symbol,.script-enter{transition:none}.script-enter:active{transform:none}}.site-header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 10px;display:grid}.header-subtitle{grid-column:1/-1;margin:0;font-size:1rem;line-height:1.4}.overall-progress{font-family:var(--font-ui);text-align:right;flex-direction:column;align-items:flex-end;line-height:1.25;display:flex}.overall-label,.overall-count{color:var(--muted);font-size:.7rem}.overall-progress strong{color:var(--accent);font-size:1.25rem;font-weight:500}.overall-progress progress{width:90px;height:4px;margin:4px 0}@media (width<=350px){.site-header .brand{font-size:1.7rem}.site-header .brand span{margin-right:5px}}.script-unavailable{opacity:.65}.script-unavailable .script-enter{box-shadow:none;border-style:dashed}.script-unavailable .script-enter:hover{background:var(--background);border-color:var(--border)}.coming-soon-symbol{color:var(--muted);font-size:2rem}.script-choice .coming-soon{font-family:var(--font-ui);margin:12px 0 0;font-size:.85rem}.script-card-label{width:100%;margin-top:12px}.script-choice .script-card-label h2{font-family:var(--font-heading-standard);margin:0;font-size:1.05rem;font-weight:600}.script-card-label .script-card-subtitle{overflow-wrap:anywhere;color:var(--muted);margin:5px 0 0;font-size:.8rem;line-height:1.35}.script-card-label .script-native-subtitle{color:var(--accent);font-size:.9rem;font-weight:400}.script-choice .card-progress{flex-direction:column;align-items:center;width:100%;margin-top:auto;padding-top:16px;display:flex}.script-choice .card-progress .progress-label{margin-top:0}.script-choice .coming-soon{margin-top:auto;padding-top:16px}.profile-placeholder{color:var(--muted);font-family:var(--font-ui);flex-direction:column;align-items:center;gap:3px;font-size:.65rem;display:flex}.profile-button{width:var(--touch-target);height:var(--touch-target);border:1px solid var(--border);background:var(--surface);color:var(--muted);cursor:default;border-radius:50%;place-items:center;display:grid}.profile-button svg{width:28px;height:28px}.header-subtitle{font-size:.95rem}.site-header .overall-progress{text-align:left;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;width:100%;margin-top:6px;display:grid}.site-header .overall-progress strong{text-align:right;font-size:1rem}.site-header .overall-progress progress{width:100%;margin:0}.site-header .overall-count{text-align:right}.hero{padding:24px 0 16px}.hero h1{margin:0;font-size:1.9rem;line-height:1.2}.lesson-demo{font-family:var(--font-ui);font-size:.85rem}.lesson-progress{gap:3px;width:100%;margin:16px 0 24px;display:grid}.lesson-progress-segment{border:1px solid var(--border);background:var(--surfaceRaised);min-width:0;height:18px;font-family:var(--font-ui);border-radius:3px;place-items:center;font-size:12px;font-weight:700;line-height:1;display:grid}.lesson-progress-segment.correct{background:var(--accent);border-color:var(--accent);color:var(--background)}.lesson-progress-segment.incorrect{background:color-mix(in srgb, var(--accent) 25%, var(--surface));border-color:color-mix(in srgb, var(--accent) 45%, var(--border));color:var(--text)}.lesson-footer{border-top:1px solid var(--border);font-family:var(--font-ui);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin-top:24px;padding-top:12px;display:flex}.lesson-footer a,.lesson-footer-abort{min-height:var(--touch-target);font:inherit;align-items:center;font-size:.9rem;display:inline-flex}.lesson-footer-abort{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0}.lesson-footer-abort:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.lesson-footer-abort:disabled{opacity:.5;cursor:wait}.lesson-completion-actions{gap:12px;display:grid}.lesson-action.lesson-next{background:var(--accent);border-color:var(--accent);color:var(--background);font-family:var(--font-ui);justify-content:center;align-items:center;font-size:1rem;display:flex}.lesson-runner fieldset{border:0;min-width:0;margin:16px 0;padding:0}.lesson-runner legend{margin-bottom:12px}.lesson-heading{margin-bottom:20px;scroll-margin-top:16px}.lesson-heading .lesson-chapter,.lesson-heading .lesson-position{font-family:var(--font-ui);margin:0;font-size:.9rem;line-height:1.4}.lesson-heading .lesson-chapter{color:var(--accent)}.lesson-heading .lesson-position{margin-top:6px}.lesson-heading h2{margin:8px 0 0}.lesson-heading h2:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.exercise-glyph{width:100px;height:100px;margin:16px auto;display:block}.answer-choices{gap:10px;display:grid}.answer-choice{min-height:var(--touch-target);border:1px solid var(--border);background:var(--background);cursor:pointer;overflow-wrap:anywhere;border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.answer-choice:has(input:checked){border-color:var(--accent);background:var(--surfaceRaised)}.answer-choice input{accent-color:var(--accent);flex-shrink:0;width:18px;height:18px}.answer-choice input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.answer-hotkey{font-family:var(--font-ui);color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:0 5px;font-size:.85rem}.lesson-hotkeys{font-family:var(--font-ui);color:var(--muted);font-size:.85rem}.answer-choice img{width:48px;height:48px}.lesson-action,.lesson-secondary{width:100%;min-height:var(--touch-target);font-family:var(--font-ui);cursor:pointer;border:1px solid var(--accent);color:var(--text);background:var(--surfaceRaised);border-radius:8px;margin:12px 0;padding:10px 14px;display:block}.lesson-secondary{border-color:var(--border);color:var(--muted);background:0 0}.lesson-runner button:disabled{opacity:.5;cursor:default}.lesson-runner button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.tabs{flex-wrap:wrap;gap:16px}.tabs a{font-size:.85rem}.personal-statistics{margin-bottom:32px}.stats-caption{font-family:var(--font-ui);font-size:.85rem}.stats-switch{border:1px solid var(--border);background:var(--background);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:20px 0;padding:4px;display:grid}.stats-switch label{min-height:var(--touch-target);cursor:pointer;font-family:var(--font-ui);border-radius:6px;place-items:center;display:grid}.stats-switch label:has(input:checked){background:var(--surfaceRaised);color:var(--accent)}.stats-switch label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.stats-period{font-family:var(--font-ui);align-items:center;gap:12px;margin-bottom:16px;display:flex}.stats-period select{min-width:0;min-height:var(--touch-target);background:var(--background);border:1px solid var(--border);color:var(--text);border-radius:6px;flex:1;padding:8px}.stats-period select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.stats-panel{border:1px solid var(--border);background:var(--surface);box-shadow:0 0 20px var(--glow);border-radius:12px;padding:20px}.stats-value{color:var(--accent);overflow-wrap:anywhere;margin:12px 0;font-size:1.8rem;font-weight:500;line-height:1.2;display:block}.stats-ledger,.stats-glyphs{margin:16px 0 0;padding:0;list-style:none}.stats-ledger>li{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.stats-ledger>li>div{min-width:0}.stats-ledger strong,.stats-ledger span,.stats-ledger time{overflow-wrap:anywhere;display:block}.stats-ledger strong{font-size:.95rem;font-weight:500}.stats-ledger span,.stats-ledger time{color:var(--muted);font-size:.8rem}.stats-ledger b{font-family:var(--font-ui);color:var(--accent);flex-shrink:0;font-weight:500}.stats-glyphs>li{border-top:1px solid var(--border);padding:16px 0}.stats-glyph-heading{align-items:center;gap:12px;display:flex}.stats-glyph-heading img{width:44px;height:44px}.stats-glyph-heading h3{font-size:1.1rem}.stats-glyphs p{font-size:.9rem}.stats-glyphs summary{min-height:var(--touch-target);font-family:var(--font-ui);cursor:pointer;align-items:center;display:flex}.stats-glyphs summary:focus-visible{outline:2px solid var(--accent)}.stats-glyphs details ul{color:var(--muted);padding-left:16px;font-size:.8rem}.demo-profile-badge{font-family:var(--font-ui);color:var(--accent);margin:6px 0 0;font-size:.7rem}.demo-profile-notice{border:1px dashed var(--accent);border-radius:8px;padding:12px;font-size:.9rem}.lesson-description{white-space:pre-line}.lesson-plan-notice{font-family:var(--font-ui);color:var(--muted);font-size:.9rem}.learning-glyph{max-width:100%;color:var(--text);text-align:center;overflow-wrap:anywhere;font-weight:400;line-height:1.6;display:block}.learning-letter{font-size:48px}.learning-word{font-size:clamp(22px,6vw,32px)}.stats-glyph-heading .learning-word{flex-basis:100%}.stats-glyph-heading:has(.learning-word){flex-wrap:wrap}.stats-glyph-heading .learning-letter{font-size:32px}.lesson-introduction{border:1px solid var(--border);border-radius:8px;margin:16px 0;padding:12px}.lesson-introduction ul{grid-template-columns:minmax(0,1fr);gap:12px;padding:0;list-style:none;display:grid}.lesson-introduction li{text-align:center;overflow-wrap:anywhere}.lesson-introduction .introduction-characters{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.lesson-introduction h4,.answer-feedback h4{font-family:var(--font-ui);margin:12px 0 8px;font-size:1rem}.lesson-introduction .introduction-characters .learning-letter{font-size:40px}.answer-feedback{margin:16px 0}.feedback-success,.feedback-success-heading{text-align:center}.feedback-answer{color:var(--text);overflow-wrap:anywhere;font-size:1.2rem}.answer-feedback>p{overflow-wrap:anywhere}.feedback-associations{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px;display:grid}.feedback-associations>section{border:1px solid var(--border);background:var(--surface);border-radius:8px;min-width:0;padding:12px}.feedback-associations>.feedback-correct{border-color:var(--accent)}.feedback-associations p{color:var(--text);overflow-wrap:anywhere;margin:8px 0 0}.answer-choice>.learning-glyph{flex:1;min-width:0}.answer-choice:has(.learning-word){flex-wrap:wrap}.answer-choice:has(.learning-word)>.learning-glyph{flex-basis:75%}.character-library section{margin-bottom:28px}.character-group-subtitle{font-family:var(--font-ui);color:var(--muted);overflow-wrap:anywhere;margin:-8px 0 0}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.character-tile{border:1px solid var(--border);background:var(--surface);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-width:0;padding:12px 4px;display:flex}.character-symbol{color:var(--text);font-size:48px;font-weight:400;line-height:1.4;display:block}.character-label{font-family:var(--font-ui);text-align:center;overflow-wrap:anywhere;max-width:100%;font-size:1rem;line-height:1.3}.character-library--compact section{margin-bottom:20px}.character-library--compact h2{margin:0 0 4px;font-size:1.15rem;line-height:1.3}.character-library--compact .character-group-subtitle{margin:0;font-size:.9rem;line-height:1.3}.character-library--compact .character-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.character-library--compact .character-tile{background:0 0;border:0;border-radius:0;justify-content:flex-start;gap:4px;padding:0}.character-library--compact .character-symbol{aspect-ratio:1;border:1px solid var(--border);background:var(--surface);border-radius:8px;justify-content:center;align-items:center;width:100%;line-height:1;display:flex}.character-library--compact .character-label{font-size:.85rem;line-height:1.25}.character-examples{grid-template-columns:minmax(0,1fr);gap:8px;margin:16px 0 0;padding:0;list-style:none;display:grid}.character-example-symbol{max-width:100%;color:var(--text);overflow-wrap:anywhere;font-size:28px;font-weight:400;line-height:1.6;display:block}.character-example-punctuation{font-family:var(--font-ui)}.character-library--compact .character-examples{gap:10px;margin-top:10px}.character-library--compact .character-example-symbol{text-align:center;border:1px solid var(--border);background:var(--surface);border-radius:8px;width:100%;padding:12px 8px}.lesson-runner h2,.lesson-runner p,.lesson-runner legend{overflow-wrap:anywhere}.lesson-runner legend{max-width:100%}.answer-choice span{overflow-wrap:anywhere;min-width:0}.header-xp{min-height:var(--touch-target);border-top:1px solid var(--border);font-family:var(--font-ui);flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:4px 12px;padding-top:8px;font-size:.85rem;display:flex}.header-xp span{color:var(--muted)}.learning-history{font-family:var(--font-ui);padding-bottom:24px}.learning-history h1{margin:8px 0 20px;font-size:1.8rem}.history-general-link{min-height:var(--touch-target);align-items:center;margin-bottom:12px;display:inline-flex}.history-tabs{border-bottom:1px solid var(--border);gap:4px;margin-bottom:24px;display:flex}.history-tabs button{min-width:0;min-height:var(--touch-target);color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;flex:1;padding:10px 4px}.history-tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--accent);font-weight:700}.history-period-switch{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;margin-bottom:12px;padding:2px;display:inline-flex}.history-period-switch button{min-width:56px;min-height:var(--touch-target);color:var(--muted);font:500 .85rem var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:6px 12px}.history-period-switch button[aria-pressed=true]{color:var(--accent);background:var(--surfaceRaised)}.learning-summary{margin:16px 0}.learning-history h2{font:600 1.15rem/1.4 var(--font-ui);margin:24px 0 12px}.history-xp-summary{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-bottom:20px;display:grid}.history-xp-summary>div{text-align:center;min-width:0}.history-xp-summary .stats-value{font:700 1.6rem/1.3 var(--font-ui);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--text);margin:0 0 4px;display:block}.history-xp-summary .history-xp-recent .stats-value{color:var(--accent)}.history-xp-summary span{color:var(--muted);font-size:.85rem}.history-section-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin-bottom:12px;display:flex}.history-section-heading h2{margin:0}.history-section-heading>span{color:var(--muted);font-size:.8rem}.history-course{border:1px solid var(--border);border-inline-start:3px solid var(--accent);background:var(--surface);color:var(--text);border-radius:10px;margin:10px 0;padding:12px}.history-course-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-course-name{align-items:center;gap:10px;min-width:0;display:flex}.history-course-heading h3{font:600 .95rem/1.35 var(--font-heading);overflow-wrap:anywhere;margin:0}.history-course .script-symbol,.history-course-symbol{object-fit:contain;flex:0 0 28px;width:28px;height:28px}.history-course-count{text-align:right;flex-shrink:0}.history-course-count small{color:var(--muted);font-size:.75rem;display:block}.history-course-heading strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:1rem}.history-course progress{width:100%;height:8px;margin:12px 0 4px;display:block}.history-course .history-explanation{border-top:0;margin:0}.history-course .history-explanation summary{color:var(--accent);padding-bottom:0}.history-course h4{font:600 1rem var(--font-ui);margin:12px 0 4px}.history-course a{color:var(--accent)}.history-course .history-course-link{display:flex}.history-course-link,.history-explanation a{min-height:var(--touch-target);align-items:center;display:inline-flex}.history-explanation{border-top:1px solid var(--border);margin:12px 0;font-size:.9rem}.history-explanation summary{min-height:var(--touch-target);cursor:pointer;padding:10px 0}.history-explanation p{color:var(--muted);margin:8px 0 14px}.history-chart{margin:0;font-size:.85rem}.history-chart figcaption{color:var(--muted);margin-bottom:12px}.history-chart-body{grid-template-columns:42px minmax(0,1fr);height:180px;display:grid}.history-chart-axis{color:var(--muted);font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;align-items:flex-end;padding-right:8px;font-size:.8rem;line-height:1;display:flex}.history-chart-plot{cursor:crosshair;touch-action:pan-y;background:0 0;border:0;border-radius:0;width:100%;min-width:0;height:100%;padding:0;position:relative}.history-chart-grid,.history-chart-bars{position:absolute;inset:0}.history-chart-grid{border-block:1px solid var(--border);background:linear-gradient(transparent calc(50% - .5px), var(--border) calc(50% - .5px), var(--border) calc(50% + .5px), transparent calc(50% + .5px))}.history-chart-bars{align-items:stretch;gap:2px;display:flex}.history-chart-column{flex:1;justify-content:center;align-items:flex-end;min-width:0;display:flex;position:relative}.history-chart-column>span{background:color-mix(in srgb, var(--accent) 45%, var(--surface));width:100%;max-width:14px}.history-chart.no-comparison .history-chart-column>span,.history-chart-column.above-average>span{background:var(--accent)}.history-chart-column.selected:after{content:"";background:var(--text);border-radius:50%;width:4px;height:4px;position:absolute;bottom:-8px;left:calc(50% - 2px)}.history-chart-mean{border-top:1px dashed var(--muted);pointer-events:none;position:absolute;left:0;right:0}.history-chart-dates{color:var(--muted);justify-content:space-between;gap:6px;padding:12px 0 0 42px;font-size:.75rem;display:flex}.history-chart-dates span:last-child{text-align:right}.history-chart-legend{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:4px 12px;font-size:.8rem;display:flex}.history-chart-legend span:first-child{color:var(--accent)}.history-chart-tooltip{background:var(--surface);max-width:calc(100% - 16px);color:var(--text);font:500 .85rem var(--font-ui);font-variant-numeric:tabular-nums;pointer-events:none;border-radius:4px;padding:4px 8px;position:absolute;top:8px;right:8px}.history-timeline{margin:16px 0;padding:0;list-style:none}.history-timeline li{overflow-wrap:anywhere}.history-timeline .history-day-heading{font:500 .85rem/1.4 var(--font-ui);color:var(--muted);margin:24px 0 8px}.history-event{border:1px solid var(--border);border-inline-start:3px solid var(--accent);background:var(--surface);color:var(--text);border-radius:8px;margin:6px 0;padding:0 10px}.history-event summary{min-height:var(--touch-target);cursor:pointer;grid-template-columns:minmax(0,1fr) max-content auto;align-items:baseline;gap:12px;padding:12px 0;display:grid}.history-event summary>span{min-width:0}.history-event-outcome{text-align:right;flex-direction:column;align-items:flex-end;gap:4px;max-width:112px;display:flex}.history-event-status{color:var(--muted);font-size:.8rem}.history-event summary strong{font-size:1rem}.history-event summary b{color:var(--accent);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.9rem}.history-event summary:after{content:"⌄";color:var(--muted)}.history-event[open] summary:after{content:"⌃"}.history-event-meta{color:var(--muted);margin-top:4px;font-size:.85rem;display:block}.history-event p{margin:8px 0;font-size:.9rem}.history-event time{color:var(--muted);font-size:.8rem}.history-event a{min-height:var(--touch-target);color:var(--accent);align-items:center;display:inline-flex}.learning-history :is(select,summary,button,a):focus-visible,.header-xp:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.header-xp-value{flex-direction:column;gap:2px;display:flex}.header-xp-value>span{font-size:.75rem}.header-xp-value>strong{color:var(--accent);font-size:1.35rem;font-weight:600}.profile-placeholder{position:relative}.profile-button{cursor:pointer}.profile-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.profile-navigation{z-index:5;border:1px solid var(--border);background:var(--surface);width:min(260px,100vw - 32px);font-family:var(--font-ui);border-radius:10px;padding:8px 12px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #00000060}.profile-navigation a{min-height:var(--touch-target);color:var(--text);align-items:center;display:flex}.profile-navigation span{color:var(--muted);padding:8px 0;font-size:.8rem;display:block}.history-general-link{margin-top:0}.script-overview{border-bottom:1px solid var(--border);font-family:var(--font-ui);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 16px;margin-bottom:16px;padding:8px 0;font-size:.9rem;display:flex}.script-overview p{margin:0}.script-overview strong{color:var(--accent);font-weight:600}.script-overview a{min-height:var(--touch-target);color:var(--accent);align-items:center;display:inline-flex}.site-header{grid-template-columns:minmax(0,1fr) auto auto}.site-header .brand{white-space:nowrap;grid-area:1/1}.site-header .header-xp{border:1px solid var(--border);min-height:var(--touch-target);text-align:center;overflow-wrap:anywhere;border-radius:8px;grid-area:1/2;justify-content:center;max-width:80px;padding:4px 8px}.site-header .header-xp-value>strong{font-size:.95rem}.site-header .profile-placeholder{grid-area:1/3}@media (width<=380px){.site-header{column-gap:6px}.site-header .brand{font-size:1.45rem}.site-header .brand span{margin-right:4px;font-size:1.5rem}.site-header .header-xp{padding-inline:5px}}.page-heading{padding:16px 0 12px}.page-heading h1{margin:0;font-size:clamp(1.55rem,6vw,1.9rem);line-height:1.2}.tabs{gap:16px;margin-bottom:16px}.tabs a{padding:8px 0;font-size:.95rem}.script-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;margin-bottom:12px;padding:10px 0;font-size:.85rem;display:grid}.script-overview strong{font-size:1.15rem;line-height:1.25;display:block}.script-overview p span{font-size:.8rem;line-height:1.25;display:block}.script-overview a{font-size:.85rem}.chapter{padding:12px 0 20px}.chapter>h2{margin:6px 0;font-size:1.35rem;line-height:1.25}.chapter>p{margin:6px 0 12px;font-size:1rem;line-height:1.4}.chapter>.eyebrow{font-size:.75rem}.path{margin:8px 0 0}.path li{gap:14px;padding:10px 0 16px}.path li:not(:last-child):before{top:58px;bottom:-12px}.path h3{font-family:var(--font-ui);font-size:1.15rem;font-weight:600;line-height:1.3}.path a{align-items:center;padding-top:0;font-size:.95rem}.path p{font-family:var(--font-ui);font-size:.9rem}.path .node{font-size:1.65rem;font-weight:700;line-height:1}.path .node-complete{font-size:2rem}.app-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}.bottom-navigation{z-index:20;width:100%;max-width:var(--app-max-width);padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--border);background:var(--background);display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -4px 20px #00000030}.bottom-navigation a{min-height:60px;font-family:var(--font-ui);color:var(--muted);border-radius:8px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.9rem;line-height:1.2;display:flex}.bottom-navigation .navigation-icon{font-family:var(--font-ui);font-size:1.45rem;line-height:1}.bottom-navigation a[aria-current=page]{color:var(--accent);background:var(--surfaceRaised);font-weight:700}.bottom-navigation a:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}:root{scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}.overall-label,.overall-count{font-size:.8rem}.site-header .overall-progress strong{font-size:1.125rem}.site-header .header-xp{place-items:center;min-width:64px;height:44px;padding:0 8px;display:grid;position:relative}.header-xp-value{z-index:1;position:relative}.xp-activity{opacity:.28;pointer-events:none;grid-template-columns:repeat(30,minmax(0,1fr));align-items:end;gap:.5px;display:grid;position:absolute;inset:4px}.xp-activity>span{background:var(--accent);border-radius:1px 1px 0 0;display:block}.site-header{grid-template-columns:minmax(0,1fr) auto 44px;padding-block:12px}.site-header .header-subtitle{grid-area:2/1/auto/-1;margin:0}.site-header .header-script-title{font:600 1.05rem/1.4 var(--font-heading-standard);color:var(--accent);flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.header-native-title{text-align:right;margin-left:auto;font-size:.9rem;font-weight:400}.site-header .overall-progress{isolation:isolate;text-align:center;border-radius:50%;grid-area:1/3;grid-template-columns:1fr;place-items:center;width:44px;height:44px;margin:0;display:grid;position:relative}.site-header .overall-progress:before{content:"";z-index:-1;background:var(--background);border-radius:50%;position:absolute;inset:3px}.site-header .overall-progress strong,.site-header .overall-progress>span{font:600 .75rem/1 var(--font-ui);color:var(--accent);text-align:center}.site-header .overall-progress progress{opacity:0;width:100%;height:100%;margin:0;position:absolute;inset:0}.site-header .overall-progress:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.bottom-navigation>a,.bottom-navigation .profile-button{font-size:.8rem}.bottom-navigation{grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.bottom-navigation>.profile-placeholder{grid-column:1;align-items:stretch;min-width:0}.bottom-navigation .profile-button{width:100%;height:auto;min-height:60px;font-family:var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:8px;flex-direction:column;justify-content:center;gap:2px;line-height:1.2;display:flex}.bottom-navigation .profile-button svg{width:23px;height:23px}.bottom-navigation .profile-button[aria-expanded=true]{color:var(--accent);background:var(--surfaceRaised)}.bottom-navigation .profile-navigation{inset:auto auto calc(100% + 8px) 0}.home-intro{padding:24px 0 8px}.home-intro p{font-family:var(--font-reading);margin:0;font-size:1rem;line-height:1.5}.home-intro em{font-style:normal}.home-section-title h1{margin:0 0 20px;font-size:clamp(1.4rem,5.5vw,1.65rem);line-height:1.3}.cards.script-grid{grid-template-columns:minmax(0,1fr)}.script-card.script-choice{text-align:left;background:var(--surface);box-shadow:none;border-color:var(--border);grid-template-rows:minmax(52px,auto) auto;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:4px 14px;padding:14px;display:grid;position:relative}.script-choice .script-enter{width:80px;height:100%;min-height:80px;box-shadow:none;border-radius:10px;grid-area:1/1/3;align-self:start;padding:8px}.script-choice .script-enter img,.script-choice .script-symbol{object-fit:contain;width:100%;height:100%}.script-choice a.script-enter:after{content:"";border-radius:14px;position:absolute;inset:0}.script-choice:has(a.script-enter){cursor:pointer}.script-choice:has(a.script-enter:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.script-choice a.script-enter:focus-visible{outline:none}.script-choice .script-enter:active{transform:none}.script-choice .script-card-label{grid-area:1/2;align-self:start;min-width:0;margin:0}.script-choice .script-card-label h2{text-shadow:none;font-size:1.15rem;line-height:1.35}.script-choice .script-card-subtitle{font-family:var(--font-ui);margin-top:3px;font-size:.9rem;line-height:1.4}.script-choice .script-native-subtitle{color:color-mix(in srgb, var(--accent) 55%, var(--text));white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;overflow:hidden}.script-choice .card-progress{grid-area:2/2;grid-template-columns:minmax(0,1fr) auto;align-self:end;align-items:end;gap:10px;margin:0;padding:0;display:grid}.script-choice .card-progress .progress-label{font-family:var(--font-ui);font-variant-numeric:tabular-nums;grid-area:1/2;justify-content:flex-start;margin:0;font-size:.85rem;line-height:1.4}.script-choice progress{grid-area:1/1;width:100%;height:4px;margin:0}.script-choice .coming-soon{font-family:var(--font-ui);grid-area:2/2;margin:0;padding:0}.script-choice>[role=alert]{font-family:var(--font-ui);overflow-wrap:anywhere;grid-area:3/2;margin:0}@media (hover:hover){.script-choice:has(a.script-enter):hover{border-color:var(--accent)}}.script-choice .card-progress{flex-direction:column;align-items:stretch;gap:5px;display:flex}.script-choice .card-progress .progress-label{order:1;font-size:.75rem}.script-choice .card-xp{font-family:var(--font-ui);color:var(--accent);overflow-wrap:anywhere;grid-area:3/2;margin:2px 0 0;font-size:.75rem}.script-choice .demo-profile-badge{grid-area:4/2}.script-choice>[role=alert]{grid-row:5}
