@font-face{font-family:Allianz;src:url('./assets/ESAllianzTRIAL-Regular.ttf')}@font-face{font-family:Allianz;src:url('./assets/ESAllianzTRIAL-Medium.ttf');font-weight:600}@font-face{font-family:Allianz;src:url('./assets/ESAllianzTRIAL-Bold.ttf');font-weight:700}
*{box-sizing:border-box}body{margin:0;font-family:Allianz,Arial,sans-serif;color:#202020}button,select,textarea,input{font:inherit}button,a,select,input{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.3;cursor:default}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #7b2ff2;outline-offset:4px}button svg{flex-shrink:0}button{border:0;background:transparent}p{line-height:1.6}svg{vertical-align:middle}h1,h2,h3,p{margin-top:0}.app{--white:#fff;--ink:#202020;--muted:#787b73;--line:#dedfd8;--cream:#f6f4ed;--soft:#f3f7e9;--lime:#ceff1a;--purple:#7b2ff2;--reader-scale:1;background:var(--white);color:var(--ink);min-height:100dvh}.app.dark{--white:#1a1c18;--ink:#eeeee7;--muted:#a7aa9e;--line:#363a30;--cream:#22251e;--soft:#2d351e;--purple:#bd98ff}.app.dark .brand img{filter:invert(1)}.workspace{height:100dvh;display:flex;flex-direction:column}.app-header{height:72px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 28px;gap:22px}.brand{display:flex;align-items:center}.brand img{width:139px;height:38px;object-fit:contain}.brand-divider{height:24px;width:1px;background:var(--line)}.mode-label{font-size:12px;letter-spacing:.17em;font-weight:600}.header-right{margin-left:auto;display:flex;align-items:center;gap:15px}.save-status{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-right:14px}.save-dot{width:5px;height:5px;background:#6f8453;border-radius:50%;display:inline-block;flex-shrink:0}.save-error{color:#b42318}.icon-button{width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.icon-button:hover,.icon-button.is-on{background:var(--cream)}.exit{display:flex;gap:7px;align-items:center;text-decoration:none;font-size:13px;border-left:1px solid var(--line);padding-left:20px;min-height:34px}.project-bar{height:86px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid var(--line);gap:20px}.project-name{display:flex;align-items:center;gap:14px;padding:0;text-align:left}.project-symbol{display:flex;align-items:center;justify-content:center;background:var(--cream);width:47px;height:47px;border-radius:12px;border:1px solid var(--line)}.project-name strong{font-size:18px;letter-spacing:-.035em;font-weight:600}.project-name small{display:block;font-size:9px;letter-spacing:.09em;margin-top:7px;color:var(--muted)}.project-name small span{margin:0 6px}.project-controls{display:flex;align-items:center;gap:22px;font-size:12px}.project-controls label{display:flex;align-items:center;gap:9px}.project-controls label>span{color:var(--muted)}select{border:0;background:var(--white);color:var(--ink);font-size:12px;min-height:40px;cursor:pointer;padding:0 19px 0 5px;max-width:230px}.control-divider{height:23px;width:1px;background:var(--line)}.mobile-section{display:none!important}.craft-layout{display:grid;grid-template-columns:235px minmax(0,1fr) 332px;flex:1;min-height:0}.step-sidebar{border-right:1px solid var(--line);display:flex;flex-direction:column;padding:31px 18px 20px;overflow-y:auto}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:600}.nav-top{display:flex;justify-content:space-between;align-items:center;margin:0 12px 17px}.small-count{font-size:10px;color:var(--muted)}.progress-track{height:3px;background:var(--cream);margin:0 12px}.progress-track span{height:100%;display:block;background:var(--ink);transition:width .2s}.progress-caption{font-size:10px;color:var(--muted);margin:10px 12px 28px}.step-link{display:flex;align-items:center;width:100%;gap:12px;text-align:left;font-size:12px;min-height:53px;padding:0 12px;border-radius:8px;margin:3px 0;position:relative}.step-link:hover{background:var(--cream)}.step-link.active{background:var(--cream);font-weight:600}.step-number{width:22px;height:22px;border:1px solid var(--line);border-radius:50%;display:flex;justify-content:center;align-items:center;font-size:9px;color:var(--muted);flex-shrink:0}.step-number.complete{border-color:transparent;background:var(--soft);color:#60713d}.active .step-number{background:var(--lime);color:#202020;border-color:var(--lime)}.current-dot{width:5px;height:5px;background:var(--ink);border-radius:50%;margin-left:auto}.nav-bottom{margin-top:auto;padding:45px 12px 0}.plain-link{padding:10px 0;min-height:39px;display:flex;align-items:center;gap:9px;font-size:11px;text-align:left}.plain-link:hover{text-decoration:underline}.sample-label{display:flex;gap:6px;align-items:center;font-size:8px;letter-spacing:.12em;color:var(--muted);margin-top:28px}.sample-label span{height:5px;width:5px;border:1px solid var(--muted);border-radius:50%}.nav-bottom p{font-size:10px;color:var(--muted);line-height:1.65;margin:9px 0 0}.reader-column{display:flex;flex-direction:column;min-width:0;min-height:0}.reader-scroll{overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#d8d9d0 transparent}.reading-width{max-width:800px;margin:auto;padding:40px 54px 26px}.section-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.section-meta .muted{font-weight:400;margin-left:5px}.reading-state{display:flex;gap:6px;align-items:center;font-size:10px;color:var(--muted)}.reading-state>span{height:5px;width:5px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 1px #b8d46a}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-title h1{font-size:52px;letter-spacing:-.055em;line-height:1.1;font-weight:600;margin:0 0 13px}.original-button{margin-top:-12px;color:var(--muted)}.section-intro{font-size:14px;color:var(--muted);margin-bottom:21px}.pattern-facts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:30px;padding-bottom:26px;border-bottom:1px solid var(--line);font-size:10px}.pattern-facts>span,.pattern-facts>button{display:flex;align-items:center;gap:6px;padding:6px 10px;background:var(--cream);border-radius:5px;line-height:1.2;font-size:10px}.pattern-facts>button{background:transparent;color:var(--muted);padding-left:2px}.pattern-facts strong{font-weight:600}.instruction{border:1px solid transparent;border-radius:9px;padding:20px 18px 22px;margin:0 -19px 9px;position:relative}.instruction.current{background:var(--soft);border-color:#dce6c6}.dark .instruction.current{border-color:#495634}.instruction-head{display:flex;align-items:center;gap:12px}.instruction-number{font-size:10px;color:var(--muted);width:22px;flex-shrink:0}.instruction-head h2{font-size:calc(17px * var(--reader-scale));letter-spacing:-.02em;margin:0;font-weight:600}.bookmark-button{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:-5px -6px -5px auto;color:#aaaea2;flex-shrink:0}.bookmark-button[aria-pressed=true]{color:#657346}.bookmark-button[aria-pressed=true] svg{fill:#ceff1a;stroke:#64793b}.instruction-body{padding-left:34px}.instruction-body>p{font-size:calc(15px * var(--reader-scale));line-height:1.85;white-space:pre-line;margin:11px 0 0}.inline-term{color:var(--purple);border-bottom:1px dotted var(--purple);padding:0;display:inline;font:inherit;line-height:1.3}.instruction-body .instruction-hint{font-size:calc(11px * var(--reader-scale));color:var(--muted);line-height:1.6;margin-top:15px}.place-marker{display:flex;align-items:center;gap:5px;font-size:8px;font-weight:600;color:#626f44;letter-spacing:.13em;margin:14px 0 -1px}.place-marker>span{width:4px;height:4px;border-radius:50%;background:#778a45}.dark .place-marker{color:#becc9a}.complete-button{display:flex;align-items:center;gap:9px;font-size:12px;margin-top:25px;padding:12px 0;min-height:44px}.checkbox{height:18px;width:18px;border:1px solid #acafa4;display:flex;align-items:center;justify-content:center;border-radius:4px}.completed .checkbox{background:var(--lime);border-color:var(--lime);color:#202020}.sample-caption{font-size:10px;color:var(--muted);line-height:1.7;margin:14px 0 0}.sample-caption button{text-decoration:underline;font-size:inherit;color:inherit;padding:0}.reader-footer{border-top:1px solid var(--line);height:86px;padding:16px 32px;display:flex;align-items:center;gap:16px;flex-shrink:0;background:var(--white)}.previous{border:1px solid var(--line);border-radius:50%;height:39px;width:39px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.next-label{display:flex;flex-direction:column;gap:5px}.next-label small{font-size:8px;color:var(--muted);letter-spacing:.12em}.next-label strong{font-size:12px;font-weight:400}.next-button{background:var(--lime);color:#151711;display:inline-flex;align-items:center;justify-content:center;gap:16px;border-radius:30px;min-height:43px;padding:10px 19px;font-weight:600;font-size:12px;white-space:nowrap}.reader-footer .next-button{margin-left:auto}.next-button:hover,.count-plus:hover{background:#bee917}.desktop-tools{background:var(--cream);border-left:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;min-height:0}.counter{padding:22px 25px 23px;background:var(--white);border-bottom:1px solid var(--line)}.counter-top{display:flex;align-items:center;justify-content:space-between}.counter-modes{display:flex;gap:18px}.counter-modes button{font-size:10px;color:var(--muted);padding:6px 0}.counter-modes button.selected{font-weight:600;color:var(--ink);border-bottom:1px solid var(--ink)}.undo{width:27px;min-height:27px}.count-controls{display:flex;align-items:center;justify-content:space-between;gap:17px;margin:15px 0}.count-minus,.count-plus{border-radius:50%;width:49px;height:49px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.count-minus{border:1px solid var(--line)}.count-plus{background:var(--lime);color:#202020}.count-number{text-align:center;display:flex;align-items:center;flex-direction:column;min-width:80px}.count-number strong{font-size:62px;line-height:1.02;letter-spacing:-.065em;font-weight:400;font-variant-numeric:tabular-nums}.count-number span{font-size:10px;color:var(--muted);margin-top:6px}.counter-caption{text-align:center;font-size:9px;color:var(--muted);margin:10px 0 0}.tool-tabs{display:flex;padding:0 18px;border-bottom:1px solid var(--line);background:var(--white)}.tool-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:18px 3px;font-size:11px;border-bottom:2px solid transparent;color:var(--muted)}.tool-tabs>button[aria-selected=true]{border-color:var(--ink);color:var(--ink)}.tool-content{padding:29px 23px 25px}.tool-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.tool-heading .eyebrow{font-size:8px;color:var(--muted)}.tool-heading h3{font-size:18px;font-weight:400;letter-spacing:-.035em;line-height:1.3;margin:10px 0 17px}.tool-heading>svg{color:#858a79;margin-top:8px}.note-switch{display:flex;gap:18px;margin:7px 0 17px}.note-switch button{font-size:10px;color:var(--muted);padding:7px 0;border-bottom:1px solid transparent;display:flex;gap:6px;align-items:center}.note-switch button[aria-pressed=true]{color:var(--ink);border-color:var(--ink)}.note-switch button span{background:#e7e9df;border-radius:50%;width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;color:#4c5440;font-size:9px}.notebook{border:1px solid #d4d3c8;border-radius:8px;overflow:hidden;background:var(--white);position:relative}.notebook-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;padding:15px 14px;border-bottom:1px solid var(--line)}.notebook-label>span:last-child{color:var(--muted)}.notebook textarea{width:100%;height:190px;resize:vertical;min-height:120px;max-height:440px;color:var(--ink);border:0;background:repeating-linear-gradient(transparent,transparent 30px,var(--line) 30px,var(--line) 31px);line-height:31px;font-size:12px;padding:5px 14px 10px;display:block}.notebook textarea::placeholder{color:#989c91;opacity:1}.notebook textarea:focus{outline:2px solid var(--purple);outline-offset:-2px}.notebook-foot{padding:12px 14px;display:flex;align-items:center;gap:5px;font-size:8px;color:var(--muted);border-top:1px solid var(--line)}.text-button{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:7px 0;min-height:34px}.capture{font-size:10px;margin-top:9px}.private-note{display:flex;align-items:flex-start;gap:7px;color:var(--muted);padding-top:24px}.private-note>svg{margin-top:3px;flex-shrink:0}.private-note p{font-size:10px;line-height:1.6;margin:0}.all-notes button{display:block;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:14px;margin-bottom:12px;width:100%}.all-notes button strong{display:flex;justify-content:space-between;gap:10px;font-weight:600;font-size:12px}.all-notes p{font-size:12px;white-space:pre-wrap;margin:12px 0 0;overflow-wrap:anywhere}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:10px}.chart-scroll{overflow:auto;margin:20px 0 12px;padding:4px 4px 6px 0;max-height:60vh}.chart-grid{max-width:none;min-width:200px;display:flex;flex-direction:column}.chart-row{display:grid;grid-template-columns:22px repeat(16,1fr);position:relative}.chart-row>span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid var(--line);border-right:0;border-bottom:0;font-size:12px;background:var(--white);color:var(--ink)}.chart-row>span:last-child{border-right:1px solid var(--line)}.chart-row:last-child>span{border-bottom:1px solid var(--line)}.chart-row .row-label{font-size:9px;border:0;background:none;color:var(--muted)}.chart-row .cable-cell{background:#edddca;color:#735c3d}.chart-row.guided>span:not(.row-label){background:#e6f6b3;border-top:1px solid #8fa74d;border-bottom:1px solid #8fa74d;color:#202020}.chart-row.guided .row-label{color:var(--ink);font-weight:600}.chart-legend{display:flex;gap:15px;font-size:9px;color:var(--muted);margin-bottom:25px}.guide-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:15px}.guide-label strong{font-weight:400}.chart-tool input{width:100%;accent-color:#68784a}.chart-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.zoom-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px;font-size:10px;gap:6px}.zoom-control button{display:flex;align-items:center;justify-content:center;width:31px;height:34px}.chart-tool>.tiny{margin-top:20px}.terms{margin:23px 0}.terms button{width:100%;display:flex;text-align:left;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.terms button>div{flex:1}.terms strong{font-size:12px;font-weight:600}.terms span{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}.definition{font-size:14px;line-height:1.8;padding:5px 0 25px}.definition .eyebrow{font-size:8px;color:var(--muted)}.ai-help{margin-top:24px;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:11px;background:var(--white)}.ai-help summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:11px}.ai-help summary>svg{margin-left:auto}.sparkle{font-size:20px;color:var(--purple)}.ai-help p{font-size:11px;margin:15px 0}.ai-help blockquote{margin:0;padding-left:12px;border-left:2px solid var(--line);font-size:10px;line-height:1.7;color:var(--muted)}.translation-note{font-size:11px;color:var(--muted);margin:0 0 20px}.translation-note button{color:var(--purple);text-decoration:underline;padding:0;font:inherit}.mobile-bottom{display:none}.focus-mode .craft-layout{grid-template-columns:minmax(0,1fr)}.focus-mode .step-sidebar,.focus-mode .desktop-tools{display:none}.focus-mode .reading-width{max-width:850px}.focus-mode .reader-footer{justify-content:center}.focus-mode .reader-footer .next-button{margin-left:30px}
.overlay{position:fixed;inset:0;z-index:50;background:#15180e66;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.dialog{background:var(--white);border:1px solid var(--line);border-radius:16px;width:480px;max-width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #0002}.dialog-top{display:flex;align-items:center;justify-content:space-between;padding:16px 21px;border-bottom:1px solid var(--line);gap:10px;position:sticky;top:0;background:var(--white);z-index:2}.dialog-top .eyebrow{font-size:9px;color:var(--muted)}.settings,.project-details{padding:27px}.settings h2,.project-details h2{font-size:27px;font-weight:400;letter-spacing:-.045em;margin:0 0 12px}.settings>p{font-size:13px}.setting-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:19px 0;gap:20px;font-size:13px}.setting-row>span{display:flex;align-items:center;gap:9px}.font-buttons{display:flex;align-items:center;gap:14px}.font-buttons button{width:39px;height:39px;border:1px solid var(--line);border-radius:50%}.font-buttons strong{font-size:12px;font-weight:400}.switch{height:27px;width:47px;border-radius:20px;background:var(--line);padding:4px}.switch span{width:19px;height:19px;border-radius:50%;display:block;background:var(--white);transition:transform .15s}.switch[aria-checked=true]{background:var(--lime)}.switch[aria-checked=true] span{background:#202020;transform:translateX(20px)}.settings>.small{font-size:11px;margin-top:19px}.settings-save{font-size:10px;display:flex;align-items:center;gap:6px;color:var(--muted);margin-top:30px}.chart-dialog{width:760px}.full-chart{padding:25px 38px}.full-chart .chart-grid{margin:auto}.original-dialog{width:700px}.original-content{padding:29px 38px}.original-content h2{font-size:35px;font-weight:400;letter-spacing:-.05em}.original-content h3{font-size:17px;font-weight:600;margin-top:28px}.original-content p{font-size:14px;line-height:1.8;white-space:pre-line}.original-content .sample-caption{font-size:11px}.large-project-icon{display:flex;align-items:center;justify-content:center;background:var(--cream);height:66px;width:66px;border-radius:17px;margin-bottom:23px}.project-details p{font-size:13px}.project-details dl{margin:25px 0}.project-details dl>div{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:12px}.project-details dt{color:var(--muted)}.project-details dd{margin:0}.project-details .small{font-size:11px}.project-details .next-button{margin-top:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#202020;color:white;z-index:80;display:flex;align-items:center;gap:9px;border-radius:30px;padding:13px 20px;font-size:12px;box-shadow:0 4px 20px #0002;white-space:nowrap;pointer-events:none}.toast svg{color:var(--lime)}
@media(min-width:1600px){.craft-layout{grid-template-columns:260px minmax(0,1fr) 360px}.reading-width{padding-top:48px}.instruction-body>p{font-size:calc(17px * var(--reader-scale))}.instruction-head h2{font-size:calc(19px * var(--reader-scale))}.step-link{font-size:13px}.counter{padding:27px 32px}.count-number strong{font-size:72px}.tool-content{padding:32px}.notebook textarea{height:230px}.tool-heading h3{font-size:21px}}
@media(min-width:1050px) and (max-width:1220px){.craft-layout{grid-template-columns:200px minmax(0,1fr) 294px}.reading-width{padding:30px 32px}.step-sidebar{padding:29px 12px}.step-link{gap:8px;font-size:11px}.tool-content{padding:23px 18px}.counter{padding:20px}.instruction-body>p{font-size:calc(14px * var(--reader-scale))}}
@media(max-width:1049px){.app-header{height:60px;padding:0 21px;gap:15px}.brand img{width:116px;height:32px}.brand-divider{height:20px}.mode-label{font-size:10px;letter-spacing:.12em}.header-right{gap:6px}.save-status{display:none}.focus-button{display:none}.exit{padding-left:10px;margin-left:2px}.project-bar{height:auto;min-height:81px;padding:16px 21px;gap:14px;flex-wrap:wrap}.project-controls{gap:12px}.project-name strong{font-size:17px}.project-name small{font-size:8px}.project-symbol{width:41px;height:41px}.project-controls .language{display:none}.control-divider{display:none}.mobile-section{display:inline-flex!important;margin-left:5px}.craft-layout{display:flex;min-height:0}.step-sidebar,.desktop-tools{display:none}.reader-column{flex:1}.reading-width{max-width:760px;padding:32px 35px 20px}.reader-footer{height:78px;padding:14px 30px}.mobile-bottom{display:block;background:var(--white);border-top:1px solid var(--line);flex-shrink:0;padding-bottom:env(safe-area-inset-bottom)}.compact-counter{display:flex;align-items:center;padding:9px 30px;gap:20px;border-bottom:1px solid var(--line)}.compact-counter .counter-top{flex:1;justify-content:flex-start;gap:20px}.compact-counter .counter-modes{gap:14px}.compact-counter .count-controls{margin:0;gap:18px}.compact-counter .count-number strong{font-size:31px;letter-spacing:-.05em}.compact-counter .count-number span{font-size:8px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.compact-counter .count-minus,.compact-counter .count-plus{width:40px;height:40px}.compact-counter .count-plus svg{width:22px;height:22px}.mobile-bottom nav{display:flex;justify-content:space-around;padding:3px 16px}.mobile-bottom nav button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;min-width:60px;font-size:10px}.overlay{padding:0;align-items:flex-end}.dialog{width:600px;border-radius:18px 18px 0 0;max-height:88dvh;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 50px #0002}.mobile-drawer{width:600px}.mobile-drawer .tool-content{padding:24px}.drawer-nav{padding:24px 20px}.drawer-nav .nav-top{display:none}.drawer-nav .nav-bottom{padding-top:30px}.drawer-nav .step-link{font-size:14px}.drawer-nav .progress-caption{margin-bottom:15px}.notebook textarea{height:210px}.tool-tabs{padding:0 20px}.tool-tabs>button{min-height:52px;font-size:13px}.mobile-drawer .chart-grid{margin:auto}.mobile-drawer .chart-scroll{max-height:40dvh}.tool-heading h3{font-size:23px}.notebook-label{font-size:12px}.notebook textarea{font-size:14px}.chart-dialog{width:100%}.toast{bottom:150px;font-size:11px}.focus-mode .reader-footer .next-button{margin-left:auto}.focus-mode .reading-width{max-width:760px}}
@media(max-width:600px){.app-header{height:54px;padding:0 16px;gap:11px}.brand img{width:104px;height:28px}.mode-label{font-size:9px;letter-spacing:.07em}.header-right{gap:1px}.header-right .icon-button{width:34px;min-height:38px}.brand-divider{height:17px}.exit{border-left:0;padding-left:4px;margin-left:0;min-height:40px}.exit span{display:none}.project-bar{padding:14px 17px 10px;gap:7px}.project-name{gap:11px}.project-name strong{font-size:17px}.project-symbol{height:37px;width:37px;border-radius:10px}.project-name small{margin-top:5px;font-size:7px}.project-controls{width:100%;justify-content:flex-end;gap:6px;margin-top:0;height:31px}.project-controls select{min-height:31px;font-size:11px;padding-left:0}.project-controls label>span{font-size:10px}.mobile-section{font-size:10px;min-height:33px;margin-left:14px;gap:6px}.reading-width{padding:26px 23px 24px}.section-meta{margin-bottom:18px}.section-title h1{font-size:43px;margin-bottom:12px}.section-intro{font-size:12px;margin-bottom:18px;max-width:90%;line-height:1.7}.pattern-facts{padding-bottom:20px;margin-bottom:19px;gap:7px}.pattern-facts>span,.pattern-facts>button{font-size:9px;padding:6px 8px}.pattern-facts>button{padding-left:0}.instruction{padding:17px 13px 19px;margin:0 -13px 10px;border-radius:8px}.instruction-head{gap:7px}.instruction-number{width:20px;font-size:9px}.instruction-head h2{font-size:calc(16px * var(--reader-scale))}.instruction-body{padding-left:27px}.instruction-body>p{font-size:calc(14px * var(--reader-scale));line-height:1.85}.instruction-body .instruction-hint{font-size:calc(10px * var(--reader-scale))}.bookmark-button{width:36px;height:38px}.place-marker{font-size:7px}.reader-footer{height:72px;padding:12px 18px;gap:10px}.previous{width:33px;height:33px}.next-label small{font-size:7px}.next-label strong{font-size:10px}.next-button{font-size:11px;padding:9px 15px;min-height:41px;gap:12px}.compact-counter{padding:10px 18px;gap:8px}.compact-counter .counter-top{gap:7px;align-items:flex-start;flex-direction:column;position:relative;min-width:115px}.compact-counter .counter-modes{gap:11px}.compact-counter .counter-modes button{font-size:9px;padding:4px 0}.compact-counter .undo{position:absolute;top:21px;left:0;width:28px;min-height:25px}.compact-counter .counter-modes{margin-top:-13px}.compact-counter .count-controls{gap:11px}.compact-counter .count-number{min-width:63px}.compact-counter .count-number strong{font-size:30px}.compact-counter .count-minus,.compact-counter .count-plus{width:40px;height:40px}.compact-counter .count-minus svg{width:16px}.mobile-bottom nav{padding:2px 10px}.mobile-bottom nav button{flex-direction:column;gap:4px;min-height:48px;font-size:8px}.mobile-bottom nav svg{width:18px;height:18px}.complete-button{font-size:11px}.sample-caption{font-size:9px}.original-content{padding:24px}.original-content h2{font-size:28px}.original-content p{font-size:14px}.full-chart{padding:20px}.settings,.project-details{padding:24px}.dialog-top{padding:10px 17px}.dialog-top .eyebrow{font-size:8px}.settings h2,.project-details h2{font-size:25px}.setting-row{font-size:12px}.notebook-foot{font-size:9px}.terms strong{font-size:14px}.terms span{font-size:12px}.ai-help summary{font-size:12px}.definition{font-size:15px}.sample-label{font-size:9px}.nav-bottom p{font-size:11px}}
@media(max-width:359px){.mode-label{font-size:8px}.brand img{width:94px}.app-header{gap:8px;padding:0 12px}.header-right .icon-button{width:30px}.project-name strong{font-size:16px}.reading-width{padding:25px 20px 20px}.compact-counter{padding:10px 14px}.compact-counter .counter-top{min-width:98px}.compact-counter .count-controls{gap:6px}.compact-counter .count-number{min-width:54px}.next-label{display:none}.reader-footer .next-button{margin-left:auto}.pattern-facts{gap:5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:600px){.compact-counter .counter-top{position:static;gap:1px}.compact-counter .counter-modes{margin-top:0}.compact-counter .undo{position:static;height:22px;min-height:22px;width:30px;justify-content:flex-start}.compact-counter .count-minus,.compact-counter .count-plus{width:44px;height:44px}.bookmark-button{width:42px;height:44px}.setting-row select{max-width:170px}.mobile-bottom nav{padding-top:0}}
