.theory-page{--tp-muted:#516071;--tp-warm:#f5f1eb;--tp-red:#a8192b;background:#fff;color:#172331}.theory-page .site-header{border:0}.theory-page :focus-visible{outline:3px solid #176a9b;outline-offset:4px}.tp-wrap{max-width:1240px;margin:auto;padding-inline:32px}.tp-hero{background:var(--tp-warm)}.tp-hero-inner{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr);gap:80px;padding-block:40px 60px}.tp-back{display:inline-block;font-size:.85rem;color:var(--tp-muted);margin-bottom:36px;text-decoration:none}.tp-back:hover{text-decoration:underline}.tp-kicker{font-size:.7rem;letter-spacing:.11em;font-weight:700;color:var(--tp-red);margin:0 0 12px}.tp-hero h1{font:clamp(2.8rem,4.5vw,4.6rem)/1.04 Georgia,serif;letter-spacing:-.045em;margin:0 0 22px}.tp-lead{font-size:1.1rem;max-width:550px;color:#45515b;margin-bottom:22px}.tp-hero-points{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:.8rem;font-weight:700;margin-bottom:28px}.tp-hero-points span:before{content:'✓';color:var(--tp-red);margin-right:7px}.tp-hero-note{align-self:center;padding-top:50px}.tp-note-symbol{display:grid;place-items:center;width:66px;height:74px;background:#fff;color:#b32134;font:bold 3.3rem/1 Arial;transform:rotate(5deg);box-shadow:5px 6px 16px #4d312914;margin-bottom:26px}.tp-hero-note>p:first-of-type{font-size:.75rem;font-weight:700;color:var(--tp-muted);text-transform:uppercase;letter-spacing:.12em}.tp-hero-note h2{font:2.25rem/1.13 Georgia,serif;letter-spacing:-.025em;margin:12px 0 18px}.tp-hero-note h2 em{color:var(--tp-red)}.tp-hero-note>p:last-child{max-width:270px;font-size:.9rem;color:var(--tp-muted)}.tp-disclosure{max-width:1000px;font-size:.8rem;line-height:1.6;color:var(--tp-muted);margin:25px 0 38px}.tp-disclosure a,.tp-guide a,.tp-content-note a,.tp-prose-link{color:#8a1426;text-underline-offset:3px}#theory-app{scroll-margin-top:24px;min-height:350px}.tp-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:52px}.tp-main-column,.tp-dashboard>*{min-width:0}.tp-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.tp-section-title h2{font:2rem/1.2 Georgia,serif;letter-spacing:-.025em;margin:0}.tp-section-title h3{margin:0}.tp-section-title>span{font-size:.8rem;color:var(--tp-muted)}.tp-free{white-space:nowrap;font-weight:700;color:#245a47!important;background:#e9f2ed;padding:6px 12px;border-radius:30px}.theory-page h3{font:1.55rem/1.25 Georgia,serif;letter-spacing:-.015em}.tp-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 19px;font:700 .86rem/1.35 Arial,sans-serif;text-decoration:none;border:1px solid transparent;border-radius:7px;cursor:pointer;transition:background .15s,color .15s}.tp-btn.primary{background:var(--tp-red);color:#fff}.tp-btn.primary:hover{background:#811020}.tp-btn.secondary{background:#fff;border-color:#9da8b0;color:#243443}.tp-btn.secondary:hover{background:#f0f3f5}.tp-btn.text{background:transparent;padding-inline:0;color:#85182a;font-size:.83rem;text-align:left}.tp-btn.text:hover{text-decoration:underline}.tp-btn:disabled{opacity:.48;cursor:not-allowed}.tp-feature{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:20px;padding:30px 32px;background:#f7f0ec;border-radius:12px;margin-bottom:32px;overflow:hidden}.tp-feature h3{font-size:2rem;margin:8px 0 12px}.tp-feature p:not(.tp-kicker){max-width:390px;color:var(--tp-muted);font-size:.9rem;margin-bottom:22px}.tp-daily-art{position:relative;align-self:stretch;min-height:190px;overflow:hidden}.tp-road-line{position:absolute;left:45px;top:0;width:90px;height:125%;background:#e6dfd8;border-radius:80px 0 0;transform:rotate(13deg)}.tp-road-line:after{content:'';position:absolute;left:43px;top:0;width:0;height:100%;border-left:3px dashed #fff}.tp-sign{position:absolute;left:15px;top:18px;width:84px;height:84px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:7px solid #ad2032;border-radius:50%;background:#fff;color:#172331;font:bold 2.1rem/1 Arial;box-shadow:0 7px 15px #5026260e}.tp-sign span{font-size:.58rem;margin-top:3px}.tp-road-car{position:absolute;bottom:10px;right:18px;width:32px;height:58px;border-radius:10px;background:#a8192b;transform:rotate(13deg);box-shadow:-4px 5px 0 #663b3b16}.tp-road-car:before,.tp-road-car:after{content:'';position:absolute;background:#e8d9d9;left:5px;width:22px;height:13px;border-radius:4px;top:10px}.tp-road-car:after{top:auto;bottom:9px;height:8px}.tp-mode-row{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-bottom:42px}.tp-mode-symbol{display:block;font:2rem Georgia,serif;color:#9d2332}.tp-mode-row h3{margin:12px 0}.tp-mode-row p{color:var(--tp-muted);font-size:.9rem;min-height:70px}.tp-mode-row small{display:block;color:var(--tp-muted);font-size:.73rem;margin-top:12px}.tp-mode-row article{min-width:0}.tp-practice{background:#f3f5f5;border-radius:12px;padding:28px;margin-bottom:44px}.tp-practice h3{margin:4px 0 10px}.tp-practice>p:not(.tp-kicker){font-size:.88rem;color:var(--tp-muted)}.tp-practice form{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;align-items:end;margin-top:22px}.tp-practice form>.tp-btn{grid-column:1/-1;justify-self:start}.theory-page select{font-size:.88rem;background:#fff;border:1px solid #8a969f;border-radius:6px;min-height:46px;padding:10px;width:100%;margin-top:6px}.tp-practice label{font-size:.8rem}.tp-small{font-size:.78rem!important;color:var(--tp-muted);line-height:1.6}.tp-topic-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:28px;row-gap:12px}.tp-topic{display:flex;gap:14px;align-items:start;padding:14px 0;border:0;background:none;text-align:left;cursor:pointer;color:inherit;min-width:0;font:inherit}.tp-topic:hover strong{color:var(--tp-red)}.tp-topic-number{font:1.2rem Georgia,serif;color:#9d2332}.tp-topic>span:nth-child(2){flex:1;min-width:0}.tp-topic strong{display:block;font-size:.9rem;font-weight:600}.tp-topic small{display:block;color:var(--tp-muted);font-size:.7rem;margin:5px 0 8px}.tp-topic>span:last-child{color:#8b2431}.theory-page progress{width:100%;height:5px;display:block;appearance:none;border:0;border-radius:20px;background:#e2e7e8;overflow:hidden;accent-color:#a8192b}.theory-page progress::-webkit-progress-bar{background:#e2e7e8}.theory-page progress::-webkit-progress-value{background:#a8192b;border-radius:20px}.theory-page progress::-moz-progress-bar{background:#a8192b}.tp-progress{align-self:start;background:#f5f4ef;border-radius:12px;padding:27px 24px}.tp-progress h3{font-size:1.5rem;margin:12px 0 26px}.tp-big-stat{font:3.5rem/1 Georgia,serif;letter-spacing:-.04em}.tp-big-stat span{font:1.1rem Arial,sans-serif;color:var(--tp-muted);letter-spacing:0}.tp-big-stat+p{font-size:.8rem;color:var(--tp-muted);margin:7px 0 15px}.tp-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}.tp-stat-pair strong{font:1.6rem Georgia,serif;display:block}.tp-stat-pair small{font-size:.7rem;color:var(--tp-muted);display:block;margin-top:5px}.tp-next{margin:30px 0}.tp-progress h4{font-size:.9rem;margin:0 0 9px}.tp-next p:not(.tp-kicker){font-size:.8rem;color:var(--tp-muted)}.tp-history{list-style:none;padding:0}.tp-history li{display:grid;grid-template-columns:1fr auto;gap:3px;font-size:.8rem;margin:0 0 12px}.tp-history li span:last-child{grid-column:1/-1;font-size:.7rem;color:var(--tp-muted)}.tp-resume{padding:22px;background:#edf3f6;border-radius:10px;margin:0 0 24px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.tp-resume>div{flex-basis:100%}.tp-resume p{font-size:.83rem;margin:5px 0;color:var(--tp-muted)}.tp-guide{display:grid;grid-template-columns:1fr 1.15fr;gap:70px;margin:80px 0 50px;padding-top:36px}.tp-guide h2{font:2.8rem/1.07 Georgia,serif;letter-spacing:-.035em;margin:10px 0 25px}.tp-guide>div>p:not(.tp-kicker){font-size:.93rem;color:var(--tp-muted);max-width:440px}.tp-faq details{padding:16px 0}.tp-faq summary{cursor:pointer;font-weight:700;font-size:.92rem}.tp-faq details p{color:var(--tp-muted);font-size:.85rem}.tp-content-note{font-size:.75rem;color:var(--tp-muted);margin-bottom:50px}.tp-quiz-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.tp-quiz-head>span{font-size:.85rem;font-weight:700}.tp-timer{font:700 1.3rem/1.3 monospace;background:#edf2f3;padding:9px 16px;border-radius:6px;white-space:nowrap}.tp-timer.urgent{color:#9a1a25;background:#fae9e6}.tp-quiz-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:48px;align-items:start}.tp-question{background:#f6f5f1;padding:32px;border-radius:12px}.tp-question-meta{display:flex;justify-content:space-between;gap:14px;align-items:center}.tp-question-meta .tp-kicker{margin:0}.tp-question-meta>span{font-size:.75rem;color:var(--tp-muted)}.tp-question>progress{margin-top:16px}.tp-question h2{font:1.9rem/1.25 Georgia,serif;letter-spacing:-.02em;margin:30px 0 14px}.tp-options{padding:0;margin:22px 0;border:0;min-width:0}.tp-option{position:relative;display:flex;align-items:center;gap:14px;padding:16px;margin:0 0 12px;background:#fff;border:1px solid #afb9c0;border-radius:8px;cursor:pointer;font:400 .94rem/1.5 Arial,sans-serif;min-height:65px}.tp-option:hover{border-color:#a8192b}.tp-option.selected{border:2px solid #a8192b;padding:15px;background:#fff9f6}.tp-option input{position:absolute;width:1px;height:1px;opacity:0}.tp-option:focus-within{outline:3px solid #176a9b;outline-offset:3px}.tp-letter{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#f0f2f3;font-size:.8rem;font-weight:700}.tp-option.selected .tp-letter{background:#a8192b;color:#fff}.tp-option.correct{background:#edf6f0;border-color:#317653}.tp-option.correct .tp-letter{background:#317653;color:#fff}.tp-option.incorrect{border-color:#a32d2d;background:#fff0ec}.tp-answer-label{display:block;font-size:.75rem;margin-top:4px}.tp-explanation{background:#f9e7de;border-radius:8px;padding:20px;margin-top:24px;font-size:.88rem}.tp-explanation.is-correct{background:#e5f0e8}.tp-explanation p{margin:9px 0}.tp-explanation a{font-size:.8rem;text-underline-offset:3px}.tp-question-tools{display:flex;flex-wrap:wrap;gap:16px;margin-block:14px}.tp-controls{display:flex;justify-content:space-between;gap:16px;margin-top:15px}.tp-question-nav h3{margin:0 0 12px;font-size:1.4rem}.tp-question-map{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:18px 0}.tp-question-map button{position:relative;min-width:0;min-height:39px;border:1px solid #a7b2ba;background:#fff;color:#172331;cursor:pointer;border-radius:5px;font:700 .8rem Arial}.tp-question-map button.answered{background:#e5ecef;border-color:#e5ecef}.tp-question-map button[aria-current]{outline:2px solid #a8192b;outline-offset:1px}.tp-question-map button span{position:absolute;right:1px;top:-5px;color:#8c1b2a;background:#fff;border-radius:50%;font-size:.68rem}.tp-question-nav>.tp-btn{width:100%;margin-top:8px}.tp-results{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px}.tp-result-intro{padding:30px;background:#f5f1eb;border-radius:12px}.tp-result-intro h2{font:2.3rem/1.15 Georgia,serif;margin:10px 0 24px;letter-spacing:-.03em}.tp-score{font:5rem/1 Georgia,serif;color:#8d1828;letter-spacing:-.05em}.tp-score span{font:1.8rem Georgia,serif;letter-spacing:0;color:var(--tp-muted)}.tp-inline-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.tp-result-summary h3{margin-top:0}.tp-topic-score{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:.78rem;margin-bottom:12px}.tp-topic-score progress{grid-column:1/-1}.tp-result-summary>p{font-size:.83rem;color:var(--tp-muted)}.tp-review{grid-column:1/-1;margin-top:12px}.tp-review .tp-section-title select{max-width:260px}.tp-review-item{padding:15px 0}.tp-review-item summary{display:list-item;cursor:pointer;font-size:.9rem}.tp-review-item summary strong{font-weight:500}.tp-review-status{display:inline-block;font-size:.65rem;font-weight:700;background:#f7e9e2;color:#852e1d;border-radius:4px;padding:4px 6px;margin:0 12px 6px 0;vertical-align:middle}.tp-review-status.ok{background:#e5f1e9;color:#286145}.tp-review-item>div{padding:10px 15px;font-size:.86rem;max-width:820px}.tp-review-item a{color:#8a1426;text-underline-offset:3px}.tp-course-nudge{grid-column:1/-1;background:#f4eee7;border-radius:12px;padding:32px;margin-top:25px}.tp-course-nudge h3{font-size:1.9rem;margin:10px 0}.tp-course-nudge p:not(.tp-kicker){max-width:700px;font-size:.9rem;color:var(--tp-muted)}.tp-prose-link{display:inline-block;margin:15px 20px;font-size:.85rem}.tp-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#tp-dialog{border:0;border-radius:12px;padding:30px;max-width:calc(100% - 36px);width:480px;box-shadow:0 10px 50px #101b2e33;color:#172331}#tp-dialog::backdrop{background:#111b2e88}#tp-dialog h2{font:1.8rem Georgia,serif;margin-top:0}#tp-dialog p{font-size:.95rem}#tp-dialog .tp-inline-actions{justify-content:flex-end}
@media(max-width:1050px){.tp-dashboard{grid-template-columns:minmax(0,1fr) 240px;gap:28px}.tp-hero-inner{gap:45px}.tp-feature{padding:26px;grid-template-columns:minmax(0,1fr) 100px}.tp-quiz-layout{gap:26px;grid-template-columns:minmax(0,1fr) 210px}.tp-question{padding:26px}.tp-guide{gap:35px}.tp-topic-grid{grid-template-columns:1fr}.tp-mode-row{gap:22px}.tp-mode-row .tp-btn{font-size:.8rem;padding-inline:12px}.tp-mode-row .tp-btn.text{padding-inline:0}}
@media(max-width:760px){.tp-wrap{padding-inline:20px}.tp-hero-inner{grid-template-columns:1fr;gap:0;padding-block:24px 38px}.tp-back{margin-bottom:28px}.tp-hero h1{font-size:3.1rem}.tp-hero-note{display:none}.tp-lead{font-size:1rem}.tp-hero-points{gap:10px 17px;font-size:.72rem}.tp-disclosure{margin-block:22px 30px}.tp-dashboard{grid-template-columns:1fr;gap:32px}.tp-section-title h2{font-size:1.8rem}.tp-free{font-size:.7rem!important}.tp-feature{grid-template-columns:minmax(0,1fr) 85px;padding:24px;gap:12px}.tp-feature h3{font-size:1.8rem}.tp-feature .tp-kicker{font-size:.61rem}.tp-sign{left:0;width:72px;height:72px;font-size:1.7rem;border-width:6px}.tp-road-line{left:23px}.tp-road-car{right:3px}.tp-mode-row{gap:24px}.tp-mode-row h3{font-size:1.35rem}.tp-mode-row p{font-size:.83rem;min-height:100px}.tp-mode-row small{font-size:.7rem}.tp-mode-row .tp-btn{font-size:.75rem;min-height:46px;padding:10px}.tp-practice{padding:23px}.tp-topic-grid{grid-template-columns:1fr 1fr;gap:10px 18px}.tp-topic{gap:9px}.tp-topic strong{font-size:.8rem}.tp-topic small{font-size:.65rem}.tp-topic-number{font-size:1rem}.tp-topic>span:last-child{display:none}.tp-progress{padding:26px}.tp-progress h3{margin-bottom:20px}.tp-stat-pair{margin-top:22px}.tp-guide{grid-template-columns:1fr;gap:20px;margin-top:50px}.tp-guide h2{font-size:2.4rem}.tp-guide>div>p{max-width:none}.tp-quiz-head{flex-wrap:wrap;gap:12px}.tp-quiz-head>.tp-btn{order:0}.tp-quiz-head>span:first-of-type{order:2;flex-basis:100%}.tp-quiz-head>.tp-small,.tp-timer{order:1;margin-left:auto}.tp-quiz-layout{grid-template-columns:1fr;gap:30px}.tp-question{padding:23px 20px}.tp-question h2{font-size:1.65rem}.tp-question-meta{align-items:start}.tp-question-meta>span{text-align:right;max-width:140px;font-size:.7rem}.tp-question-meta .tp-kicker{font-size:.63rem}.tp-option{padding:14px 12px;gap:12px;font-size:.88rem}.tp-option.selected{padding:13px 11px}.tp-controls .tp-btn{font-size:.8rem;padding-inline:12px}.tp-question-map{grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}.tp-results{grid-template-columns:1fr;gap:28px}.tp-result-intro{padding:26px}.tp-result-intro h2{font-size:2rem}.tp-review .tp-section-title{align-items:start;flex-direction:column}.tp-review .tp-section-title select{max-width:none}.tp-review-item summary{font-size:.85rem}.tp-course-nudge{padding:25px}.tp-course-nudge h3{font-size:1.7rem}}
@media(max-width:370px){.tp-wrap{padding-inline:16px}.tp-hero h1{font-size:2.65rem}.tp-feature{grid-template-columns:1fr;padding:23px}.tp-daily-art{display:none}.tp-mode-row{grid-template-columns:1fr;gap:26px}.tp-mode-row p{min-height:0}.tp-topic-grid{grid-template-columns:1fr}.tp-practice form{grid-template-columns:1fr}.tp-section-title{gap:10px}.tp-section-title h2{font-size:1.65rem}.tp-question-map{grid-template-columns:repeat(6,minmax(0,1fr))}.tp-controls{gap:10px}.tp-controls .tp-btn{font-size:.73rem;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.tp-btn{transition:none}}
