:root{color-scheme:light;--ink:#302422;--deep:#241415;--paper:#fffaf2;--muted:#74645c;--gold:#e6c68c;--line:#e7dbca;--red:#ab1828;--vh:100dvh;font-family:Inter,"Segoe UI",sans-serif;font-size:16px;color:var(--ink);background:var(--deep)}
*{box-sizing:border-box}body{margin:0;height:var(--vh);overflow:hidden;display:grid;grid-template-rows:64px minmax(0,1fr) auto;background:radial-gradient(ellipse at 18% 5%,#23443d 0,transparent 65%),var(--deep)}button,select,input{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:11px 14px;min-height:44px;color:var(--ink);background:#fffefa;font-weight:600;touch-action:manipulation}button:hover{background:#f0f1e7}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c59f43;outline-offset:3px}button.primary{color:#fff;background:var(--red);border-color:var(--red);padding-inline:24px}button.primary:hover{background:#851d30}[hidden]{display:none!important}.app-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 28px;color:var(--paper);border-bottom:1px solid #ffffff17}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{object-fit:contain;width:34px;height:34px;border-radius:9px}.brand strong{font-family:Georgia,serif;font-size:21px;font-weight:500}.brand span{display:block;font-size:9px;letter-spacing:2px;text-transform:uppercase;margin-top:3px;color:var(--gold)}.quiet{border-color:#ffffff30;color:var(--paper);background:transparent;font-size:13px}.quiet:hover{background:#ffffff12}.quiet span{font-size:11px;color:var(--gold);margin-left:8px}.workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:28px;padding:24px 32px;min-height:0;max-width:1540px;width:100%;margin:0 auto}.position-panel{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--paper)}.position-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,calc(var(--vh) - 300px));font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#b39048;text-transform:uppercase}.position-panel .eyebrow{color:var(--gold)}.side{font-size:12px;border:1px solid #ffffff25;border-radius:20px;padding:6px 10px;white-space:nowrap}.board-frame{padding:16px 17px 21px;flex:none}.board-frame #board{width:min(43vw,calc(var(--vh) - 320px),650px);height:min(43vw,calc(var(--vh) - 320px),650px);border-radius:6px;box-shadow:0 20px 50px #0003;--theme-accent:#d4af37;--silicio-board-light:#eee4d1;--silicio-board-dark:#2f9e8e}.board-frame .silicio-board-host{position:relative}.board-frame .silicio-board-native coords{font-family:Inter,"Segoe UI",sans-serif;color:#d9d0ac!important;font-size:10px}.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:660px}.board-toolbar button{padding:8px 12px;background:transparent;border-color:#ffffff30;color:var(--paper);font-size:12px;white-space:nowrap}.board-toolbar button:hover{background:#ffffff10}#board-status{color:#cfdbd2;font-size:12px;text-align:center;line-height:1.4}.replay-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;width:min(100%,450px);align-items:center;text-align:center}.replay-toolbar button{background:#ffffff10;color:var(--paper);border-color:#ffffff30}.replay-toolbar span{font-size:14px;font-variant-numeric:tabular-nums}.lesson-panel{min-height:0;min-width:0;display:flex;flex-direction:column;border:1px solid #fff8;border-radius:20px;background:var(--paper);box-shadow:0 12px 50px #0002;overflow:hidden}.steps{display:grid;grid-template-columns:repeat(3,1fr);padding:14px 16px 0;gap:8px;flex:none;background:var(--paper)}.steps button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px;min-height:42px;padding:8px 2px;color:#67766a}.steps button[aria-current=step]{border-color:var(--red);color:var(--red);font-weight:750}.steps button:disabled{opacity:.4}.reading{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:24px 28px 28px;scrollbar-width:thin;scrollbar-color:#bcc7ba transparent;scroll-padding-block:14px}.reading h1{font-family:Georgia,serif;font-size:clamp(26px,2.8vw,42px);font-weight:500;line-height:1.1;letter-spacing:-.7px;margin:0 0 18px}.reading h2{font-family:Georgia,serif;font-weight:500;font-size:27px;margin:0 0 12px;line-height:1.15}.question{font-size:17px;line-height:1.55;margin:0 0 20px}.choices{display:grid;gap:10px}.choice{display:flex;align-items:flex-start;gap:12px;text-align:left;font-size:14px;line-height:1.5;padding:14px;background:#fffdfa;font-weight:450;border-color:#d5dcd2}.choice .choice-letter{flex:none;display:grid;place-items:center;border:1px solid #c9d2c4;border-radius:50%;width:25px;height:25px;font-size:11px;font-weight:700;margin-top:1px}.choice[aria-pressed=true]{border-color:#235a4e;background:#edf3ea;box-shadow:inset 3px 0 #235a4e}.choice.good{border-color:#2a6a52}.feedback{margin-top:18px;padding:16px 18px;border:1px solid #c5d7c7;border-radius:12px;background:#eef4e9;line-height:1.6;font-size:14px}.feedback strong{display:block;margin-bottom:5px}.feedback.consider{background:#fff6e7;border-color:#e8d2ab}.feedback button{margin-top:10px;margin-right:8px;font-size:12px}.hint{padding:14px 16px;margin-top:16px;border-left:3px solid #bd9c54;background:#f1ead8;line-height:1.6;font-size:14px}.hint summary{cursor:pointer;font-weight:650}.hint p{margin:9px 0 0}.play-instruction{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fffdfa;line-height:1.6;font-size:16px}.play-instruction small{display:block;color:var(--muted);font-size:12px;margin-top:12px}.keyboard{margin-top:18px;font-size:13px;color:var(--muted)}.keyboard summary{cursor:pointer;padding:10px 0}.keyboard select{padding:12px;border:1px solid var(--line);background:white;border-radius:8px;max-width:100%;width:100%;min-height:44px}.keyboard button{width:100%;margin-top:8px}.explanation{font-size:16px;line-height:1.75}.explanation p{margin:0 0 16px}.takeaway{padding:18px 20px;margin-top:20px;border-radius:12px;background:#173e35;color:#fff8e5;line-height:1.6;font-size:15px}.takeaway strong{display:block;color:#e2c982;letter-spacing:1px;text-transform:uppercase;font-size:10px;margin-bottom:7px}.line-label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 10px;font-size:12px;font-weight:700}.line-label button{font-size:11px;padding:6px 9px;min-height:34px}.moves{display:flex;flex-wrap:wrap;gap:7px;border-block:1px solid var(--line);padding:12px 0}.move-group{display:inline-flex;gap:2px;align-items:center}.moves button{font-size:14px;padding:8px;min-height:40px;font-weight:500;background:#fffefa}.moves button.active{background:#1e5a4d;border-color:#1e5a4d;color:white}.source{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);line-height:1.6}.source a{color:#255e4d;font-weight:650}.source .source-title{display:block;margin-bottom:6px}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 32px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #ffffff18;background:#0d2523;color:#c9d7ca;min-height:66px;z-index:3}#footer-context{font-size:12px;line-height:1.45}.app-footer button{flex:none}.loading{padding:30px;line-height:1.8}dialog{border:1px solid #bec7b8;border-radius:20px;padding:0;width:min(680px,calc(100vw - 24px));max-height:calc(var(--vh) - 30px);color:var(--ink);background:var(--paper);box-shadow:0 30px 100px #0008}dialog::backdrop{background:#061b1bcc;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 12px}.dialog-heading h2{margin:5px 0;font-family:Georgia,serif;font-weight:500;font-size:29px}.dialog-heading button{font-size:26px;line-height:1}.library-intro{padding:0 24px 16px;font-size:14px;line-height:1.6;color:var(--muted)}.filter-label{display:block;padding:0 24px 16px;font-size:12px;font-weight:650}.filter-label select{margin-top:6px;display:block;width:100%;padding:10px;background:white;border:1px solid var(--line);border-radius:8px;min-height:44px}.exercise-list{display:grid;gap:9px;padding:0 24px 24px}.exercise-button{text-align:left;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;font-size:14px;font-weight:550}.exercise-button small{display:block;margin-top:4px;font-weight:400;color:var(--muted);font-size:11px}.exercise-button.selected{border-color:#245b4b;background:#eaf1e6}.exercise-number{font-size:11px;font-weight:650;color:#637664}.exercise-done{color:#246b4d;font-size:18px}.library-footer{padding:18px 24px;border-top:1px solid var(--line);display:flex;gap:10px;flex-wrap:wrap;font-size:12px}.library-footer button{font-size:12px}.import-label{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;padding:10px 14px;cursor:pointer;background:white}.import-label input{position:absolute;width:1px;height:1px;clip-path:inset(50%)}#library-status{width:100%;margin:0;line-height:1.5}.toast{position:fixed;bottom:86px;left:50%;transform:translateX(-50%);padding:12px 18px;background:#fff9e7;color:#193e32;border:1px solid #dcc791;border-radius:12px;box-shadow:0 6px 28px #0003;max-width:calc(100vw - 28px);font-size:13px;z-index:10}
.board-frame coords{position:absolute;display:flex;pointer-events:none;color:#d9d0ac!important;font-size:10px}.board-frame coords coord{display:flex;align-items:center;justify-content:center;flex:1;line-height:1}.board-frame coords.ranks{top:0;left:-16px;height:100%;width:12px;flex-direction:column}.board-frame coords.files{left:0;bottom:-17px;width:100%;height:13px;flex-direction:row}.branch-label{display:block;font-size:12px;margin-block:12px}.branch-label select{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid var(--line);border-radius:8px;background:white}.hint-button{font-size:12px;margin-top:16px;background:transparent}.promotion-choices{display:flex;gap:10px;flex-wrap:wrap;padding:12px 24px 24px}.explanation-context{font-size:11px;color:var(--muted);padding:10px 12px;border:1px solid var(--line);border-radius:10px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.explanation-context button{padding:5px 8px;font-size:10px;min-height:32px;white-space:nowrap}
.board-toolbar .replay-toolbar{width:auto;min-width:0;flex:1;max-width:270px}.board-toolbar .replay-toolbar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(min-width:1600px){.workspace{grid-template-columns:1fr 1fr}.board-frame #board{width:min(40vw,calc(var(--vh) - 320px),700px);height:min(40vw,calc(var(--vh) - 320px),700px)}}
@media(max-width:1000px) and (min-height:701px){.workspace{gap:14px;padding:18px}.reading{padding:22px}.board-frame #board{width:min(42vw,calc(var(--vh) - 320px));height:min(42vw,calc(var(--vh) - 320px))}.position-heading{flex-wrap:wrap}.board-toolbar{flex-wrap:wrap;justify-content:center}#board-status{order:3;flex-basis:100%;min-height:18px}}
@media(max-width:1000px) and (orientation:portrait){body{grid-template-rows:50px minmax(0,1fr) auto}.app-header{padding:6px 14px}.brand{gap:8px}.brand strong{font-size:18px}.brand img{width:25px;height:30px}.brand span{font-size:8px;letter-spacing:1.4px}.quiet{font-size:11px;padding:8px 10px;min-height:36px}.workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px;padding:8px 12px}.position-panel{gap:3px;justify-content:flex-start}.position-heading{width:100%;flex-wrap:nowrap;padding:0 7px}.position-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.side{font-size:10px;padding:4px 8px}.board-frame{padding:6px 16px 16px}.board-frame #board{width:min(calc(100vw - 64px),40dvh,440px);height:min(calc(100vw - 64px),40dvh,440px)}.board-toolbar{max-width:460px;flex-wrap:nowrap;justify-content:space-between;gap:6px}.board-toolbar button{min-height:31px;padding:5px 8px;font-size:10px}#board-status{font-size:10px;order:0;flex-basis:auto;min-height:0;max-width:180px}.replay-toolbar{grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;max-width:380px}.replay-toolbar button{min-height:30px;padding:3px 8px}.replay-toolbar span{font-size:12px}.lesson-panel{border-radius:13px}.steps{padding:0 10px;gap:5px}.steps button{min-height:34px;font-size:11px;gap:5px;padding:5px 2px}.reading{padding:14px 16px 20px}.reading h1{font-size:25px;margin-bottom:12px}.reading h2{font-size:23px}.question{font-size:14px;line-height:1.5;margin-bottom:14px}.choices{gap:7px}.choice{padding:11px;gap:8px;font-size:13px;line-height:1.5}.choice .choice-letter{width:22px;height:22px;font-size:10px}.feedback{margin-top:12px;padding:12px;font-size:13px}.play-instruction{padding:13px;font-size:14px}.explanation{font-size:14px;line-height:1.7}.takeaway{padding:14px;font-size:13px}.moves button{font-size:13px;min-height:38px}.app-footer{padding:8px 14px calc(8px + env(safe-area-inset-bottom));gap:12px;min-height:58px}#footer-context{font-size:10px;max-width:46%}.app-footer button.primary{font-size:12px;padding:10px 14px;min-height:40px}.source{font-size:11px}.hint{font-size:13px}}
@media(max-height:650px) and (orientation:portrait){.board-frame #board{width:min(calc(100vw - 64px),36dvh);height:min(calc(100vw - 64px),36dvh)}.brand span{display:none}.workspace{padding-block:5px;gap:5px}.reading h1{font-size:23px}.reading{padding:12px}.position-heading{padding:0 3px}.board-toolbar button span{display:none}.board-toolbar button{width:35px}.steps button{min-height:31px}.app-footer{min-height:54px;padding-block:6px}}
@media(orientation:landscape) and (max-height:700px){body{grid-template-rows:44px minmax(0,1fr) auto}.app-header{padding:5px 18px}.brand strong{font-size:18px}.brand span{display:none}.brand img{width:25px;height:29px}.workspace{padding:8px 16px;gap:16px;grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr)}.position-panel{gap:3px}.position-heading{width:100%}.position-heading .eyebrow{font-size:8px}.side{font-size:9px;padding:3px 6px}.board-frame{padding:7px 15px 15px}.board-frame #board{width:min(40vw,calc(var(--vh) - 222px));height:min(40vw,calc(var(--vh) - 222px))}.board-toolbar button{padding:4px 8px;min-height:30px;font-size:10px}.board-toolbar button span{display:none}#board-status{font-size:9px}.replay-toolbar{grid-template-columns:30px 1fr 30px;max-width:270px}.replay-toolbar button{min-height:28px;padding:3px}.replay-toolbar span{font-size:10px}.reading{padding:14px 18px}.reading h1{font-size:25px}.question,.explanation{font-size:14px}.choice{font-size:13px;padding:10px}.steps{padding:0 12px}.steps button{min-height:34px}.app-footer{min-height:48px;padding:5px 18px calc(5px + env(safe-area-inset-bottom))}.app-footer button.primary{min-height:36px;padding:7px 14px;font-size:12px}#footer-context{font-size:10px}}
#board,button,a{-webkit-tap-highlight-color:transparent}
@media(max-height:650px) and (orientation:portrait){body{grid-template-rows:40px minmax(0,1fr) auto}.app-header{padding:3px 10px}.brand strong{font-size:16px}.brand img{width:22px;height:26px}.quiet{min-height:30px;padding:6px 8px}.position-panel{gap:1px}.position-heading .eyebrow{font-size:8px}.side{font-size:8px;padding:3px 6px}.board-frame{padding:4px 14px 13px}.board-toolbar button{min-height:28px}.reading{padding:10px 12px}.reading>.eyebrow{display:none}.reading h1{font-size:19px;line-height:1.1;margin-bottom:8px}.question{font-size:12px;line-height:1.45;margin-bottom:10px}.choice{font-size:12px;padding:9px}.app-footer{min-height:48px}.app-footer button.primary{min-height:36px;padding:7px 10px}.steps button{min-height:30px}}
.header-actions{display:flex;align-items:center;gap:10px;flex:none}.rating-pill{background:#ffffff09;color:#f7e1a9;border-color:#c4a55d66;font-size:13px;padding:8px 12px}.rating-pill span{font-size:9px;letter-spacing:1px;margin-right:5px}.rating-pill strong{font-variant-numeric:tabular-nums;font-weight:650}.rating-pill:hover{background:#ffffff14}.choice:disabled{opacity:1}.choice:disabled:not([aria-pressed=true]){opacity:.55}.result-card{border:1px solid #b9984f;background:#f4edd7;border-radius:12px;margin-top:20px;padding:18px;font-size:14px;line-height:1.6}.result-card strong{font-family:Georgia,serif;font-size:23px;display:block}.result-card p{margin:8px 0}.result-card span{font-weight:650;font-variant-numeric:tabular-nums}.dialog-heading{position:sticky;top:0;background:var(--paper);z-index:2}.resume-training{margin:0 24px 20px;width:calc(100% - 48px)}.theme-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 24px 24px}.theme-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:14px;background:#fffefa}.theme-card.selected{background:#e9f0e5;border-color:#2b6554}.theme-number{font-size:10px;color:#96752f;letter-spacing:1px}.theme-card strong{font-size:14px;font-weight:650}.theme-card small{font-size:11px;color:var(--muted);margin-top:auto}.theme-card progress{appearance:none;width:100%;height:4px;border:0;border-radius:4px;overflow:hidden;background:#e0e5d9}.theme-card progress::-webkit-progress-bar{background:#e0e5d9}.theme-card progress::-webkit-progress-value{background:#2d715c}.theme-card progress::-moz-progress-bar{background:#2d715c}.positions-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 14px}.positions-heading h3{font-size:15px;margin:0}.positions-heading button{font-size:11px;min-height:36px;padding:7px}.rating-body{padding:4px 26px 24px;font-size:14px;line-height:1.65}.rating-big{display:block;font-family:Georgia,serif;font-weight:500;font-size:58px;color:#872466;font-variant-numeric:tabular-nums}#rating-summary>span{display:block;font-size:12px;color:var(--muted)}.rating-body ol{padding-left:22px}.rating-body li{margin-block:12px}.welcome-body{padding:30px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.welcome-body img{object-fit:contain;background:#241415;border-radius:12px;padding:6px}.welcome-body h2{font-family:Georgia,serif;font-size:clamp(27px,4vw,37px);font-weight:500;line-height:1.15;margin:0}.welcome-body p{font-size:15px;line-height:1.65;margin:0}.welcome-steps{padding:0;list-style:none;display:grid;gap:12px;margin:4px 0;counter-reset:steps}.welcome-steps li{display:grid;grid-template-columns:30px 1fr;gap:3px 10px;counter-increment:steps}.welcome-steps li:before{content:counter(steps);display:grid;place-items:center;grid-row:span 2;border:1px solid #d0afd8;width:28px;height:28px;border-radius:50%;font-size:12px}.welcome-steps strong{font-size:14px}.welcome-steps span{font-size:13px;color:var(--muted)}.welcome-body .audience{font-size:12px;color:var(--muted)}.welcome-body .primary{width:100%;margin-top:6px}
@media(max-width:600px){.header-actions{gap:6px}.rating-pill{min-height:34px;padding:6px 8px;font-size:12px}.rating-pill span{font-size:8px;margin-right:2px}.brand strong{font-size:16px}.brand span{font-size:7px}.quiet span{margin-left:3px;font-size:9px}.theme-index{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:18px}.theme-card{padding:12px}.dialog-heading{padding:18px 18px 12px}.dialog-heading h2{font-size:25px}.library-intro{padding-inline:18px;font-size:13px}.resume-training{margin-inline:18px;width:calc(100% - 36px)}.positions-heading,.exercise-list{padding-inline:18px}.welcome-body{padding:24px;gap:13px}.welcome-body h2{font-size:28px}.welcome-body p{font-size:14px}.welcome-body img{width:48px;height:48px}.reading h1{font-size:23px}.question{font-size:14px}.result-card{padding:13px;font-size:13px}#footer-context{max-width:45%;font-size:10px}}
@media(max-width:350px){.brand strong{font-size:14px}.brand img{width:20px}.brand span{display:none}.app-header{padding-inline:9px}.quiet{padding:6px 7px}.rating-pill{font-size:11px}.rating-pill span{display:none}.question{font-size:12px}.reading h1{font-size:20px}.app-footer button.primary{font-size:11px;padding-inline:9px}.theme-index{padding-inline:14px;gap:8px}.theme-card strong{font-size:12px}.welcome-body{padding:20px}.welcome-body h2{font-size:25px}}
html.native-shell .app-footer{padding-bottom:10px}
.lesson-panel .eyebrow,.dialog-heading .eyebrow,.welcome-body .eyebrow{color:#8a5b25}
@media(max-width:1000px) and (orientation:portrait){.reading>.eyebrow{display:none}.reading h1{font-size:21px;margin-bottom:10px}.board-frame #board{width:min(calc(100vw - 64px),35dvh,440px);height:min(calc(100vw - 64px),35dvh,440px)}html.native-shell .app-footer{padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.brand img{border-radius:9px;width:36px;height:36px}.user-pill{display:flex;align-items:center;gap:5px;max-width:160px}.user-pill #user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--paper);font-size:12px;margin:0}.found-plan{padding:10px 12px;background:#e9f1e6;border:1px solid #c3d3bf;border-radius:9px;font-size:13px;line-height:1.5;margin-bottom:12px}.footer-info{display:flex;align-items:center;gap:14px;min-width:0}.timer{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:13px;color:#edd9a5}.footer-info #footer-context{max-width:none}.review-entry{margin:0 24px 18px;padding:16px;border:1px solid #d6c58e;border-radius:12px;background:#f4eedc;display:flex;align-items:center;gap:16px;justify-content:space-between}.review-entry p{font-size:12px;line-height:1.5;margin:6px 0 0;color:var(--muted)}.review-entry button{flex:none;font-size:12px}.training-times{padding:0 24px 20px;font-size:12px;line-height:1.6;color:var(--muted)}.users-body{padding:20px 26px 26px;font-size:14px;line-height:1.6}.users-body h2{font:30px Georgia,serif}.user-row{display:flex;gap:8px;margin-bottom:10px}.user-row>button:first-child{text-align:left;flex:1;min-width:0;overflow-wrap:anywhere}.user-row strong,.user-row small{display:block}.user-row small{font-size:11px;font-weight:400;color:var(--muted);margin-top:3px}.user-row [aria-current=true]{background:#e8f0e5;border-color:#467661}.user-row>button:last-child{font-size:12px}.users-body>p:first-child{margin-top:0}.users-body form{margin-top:18px;border-top:1px solid var(--line);padding-top:8px}.users-body label{display:flex;flex-direction:column;gap:5px;margin-bottom:14px;font-size:13px;font-weight:650}.users-body input{width:100%;min-height:46px;padding:11px;border:1px solid #b9c6bb;border-radius:9px;font-size:16px;background:white;color:var(--ink)}.users-body input:disabled{background:#f0eaf3;color:#77677c}.users-body #elo-help{font-size:12px;color:var(--muted)}#user-status{color:#91263b;font-size:13px}.form-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.danger-text{color:#92253a;font-size:12px;margin-top:22px;background:transparent}#users-dialog{max-width:540px}.welcome-body img{padding:0;border-radius:12px}.footer-info{max-width:65%}
@media(max-width:600px){.brand strong{font-size:15px}.brand span{display:none}.brand{gap:6px}.brand img{width:27px;height:27px}.header-actions{gap:5px}.user-pill{max-width:76px;min-height:34px;padding:6px}.user-pill #user-name{font-size:10px}.rating-pill{padding:6px}.rating-pill span{display:none}.quiet{padding-inline:7px}.quiet #course-progress{display:none}.app-header{padding-inline:10px;gap:8px}.footer-info{gap:5px;flex-direction:column;align-items:flex-start;max-width:43%}.footer-info #footer-context{font-size:9px;line-height:1.3}.timer{font-size:11px}.review-entry{margin-inline:18px;flex-direction:column;align-items:stretch;gap:12px}.review-entry button{width:100%}.training-times{padding-inline:18px}.users-body{padding:16px 20px 22px}.users-body .primary{padding-inline:14px}.user-row small{line-height:1.5}.user-pill>span:last-child{display:none}}
@media(max-width:350px){.brand strong{font-size:12px}.brand img{width:23px;height:23px}.header-actions{gap:3px}.user-pill{max-width:59px}.user-pill #user-name{font-size:9px}.quiet{font-size:10px}.app-header{gap:4px;padding-inline:7px}.rating-pill{font-size:10px}.app-footer{gap:8px}.footer-info #footer-context{font-size:8px}}
.editing-user #users-list,.editing-user #add-user,.editing-user .users-body>p:first-child,.editing-user #user-form-title,.editing-user #delete-user{display:none}.editing-user .users-body form{border:0;padding:0;margin:0}.editing-user .form-actions{position:sticky;bottom:0;background:var(--paper);padding-block:8px;margin-bottom:-8px}.editing-user .users-body{padding-top:6px}
.question-focus{padding-bottom:18px;border-bottom:1px solid #d4ddd3;margin-bottom:18px}.question-step{display:block;font-size:12px;line-height:1.5;color:#436054;margin-bottom:13px;font-weight:650}.reading .theory-question{font-family:Inter,"Segoe UI",sans-serif;font-size:24px;line-height:1.45;letter-spacing:-.2px;margin:0 0 12px;font-weight:700}.answer-instruction{font-size:13px;color:#5b6f65;line-height:1.5;margin:0}.workspace[data-stage="0"] .choice{border-radius:12px;padding:16px;min-height:56px}.workspace[data-stage="0"] .choice[aria-pressed="true"]{outline:2px solid #327862;outline-offset:0}.workspace[data-stage="0"] .choice-letter{margin-top:2px}.replay-guide{margin-bottom:18px}.replay-guide h1{font-size:28px;line-height:1.15;margin:8px 0 10px}.replay-guide p{font-size:14px;line-height:1.6;margin:0 0 12px}.replay-progress{display:flex;align-items:center;gap:12px;font-variant-numeric:tabular-nums;font-size:12px;color:#52665b}.replay-progress progress{appearance:none;border:0;background:#dee4d8;flex:1;height:5px;border-radius:6px;overflow:hidden}.replay-progress progress::-webkit-progress-bar{background:#dee4d8}.replay-progress progress::-webkit-progress-value{background:#337e66}.move-note{border:1px solid #cbd8cb;background:#edf3e8;padding:16px;border-radius:12px;line-height:1.65;font-size:15px}.move-note>span{font-weight:750;font-size:17px}.move-note p{margin:8px 0 0}.board-toolbar #next-move{background:#e6d095;color:#193e35;border-color:#e6d095;font-weight:800}.board-toolbar #next-move:disabled{opacity:.4}.moves button:disabled{opacity:.35}.other-lines{margin-top:18px;display:flex;gap:8px;flex-wrap:wrap}.other-lines>span{flex-basis:100%;font-size:12px;font-weight:650}.other-lines button{font-size:12px}
@media(max-width:1000px) and (orientation:portrait){.question-focus{padding-bottom:12px;margin-bottom:12px}.question-step{font-size:11px;margin-bottom:8px}.reading .theory-question{font-size:17px;line-height:1.5;margin-bottom:9px}.answer-instruction{font-size:12px}.workspace[data-stage="0"] .choice{padding:12px;min-height:48px}.replay-guide h1{font-size:22px}.replay-guide p{font-size:13px}.move-note{font-size:14px;padding:12px}.replay-guide>.eyebrow{display:none}.replay-guide{margin-bottom:12px}}
@media(max-height:650px) and (orientation:portrait){.reading .theory-question{font-size:15px;line-height:1.4}.question-step{font-size:10px;margin-bottom:6px}.question-focus{padding-bottom:9px;margin-bottom:10px}.answer-instruction{font-size:11px}.replay-guide h1{font-size:19px}.replay-guide p{font-size:12px}.replay-guide{margin-bottom:10px}}
@media(orientation:landscape) and (max-height:420px){.app-header{padding-block:3px}.app-header button{min-height:30px;padding-block:5px}}
@media(orientation:landscape) and (max-height:420px){body{grid-template-rows:38px minmax(0,1fr) auto}.workspace{padding:4px 10px;gap:12px}.app-footer{min-height:40px;padding-block:3px}.app-footer button.primary{min-height:34px;padding-block:5px}.board-frame{padding:3px 12px 13px}.position-heading .side{padding:0 5px;line-height:13px}.position-heading{line-height:13px}.board-toolbar button{min-height:28px}.position-panel{gap:2px}.brand img{height:26px;width:26px}.reading{padding:10px 14px}.reading h1{font-size:22px}.play-instruction{font-size:14px;padding:12px}.play-instruction small{font-size:11px}}
/* Identidad propia: carmesí y oro cálido; el tablero conserva sus colores originales. */
body{background:radial-gradient(ellipse at 18% 5%,#5b1d23 0,transparent 65%),var(--deep)}
button{background:#fff}button:hover{background:#f6efe4}button.primary:hover{background:#861321}button:focus-visible,summary:focus-visible{outline-color:#b58239}.steps button[aria-current="step"]{color:#9b1726;border-bottom-color:#ab1828}.question-step,.answer-instruction{color:#67534a}.question-focus{border-bottom-color:#e4d7c5}.workspace[data-stage="0"] .choice[aria-pressed="true"]{outline-color:#ab1828;background:#fff0e8}.replay-progress{color:#74604f}.replay-progress progress::-webkit-progress-value{background:#ab1828}.move-note{background:#f6efe3;border-color:#dfcdb5}.board-toolbar #next-move{background:#e9c88d;color:#432619;border-color:#e9c88d}.scenario-intro{padding:12px 15px;margin:0 0 16px;border-left:3px solid #ab1828;background:#f6efe3;font-size:14px;line-height:1.6}.game-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:0 0 16px;background:#fff}.game-heading{padding:20px}.game-heading h3{font-family:Georgia,serif;font-size:24px;line-height:1.2;margin:9px 0}.game-heading p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 15px}.game-start{width:100%;font-size:14px}.game-card details{border-top:1px solid var(--line)}.game-card summary{padding:14px 20px;cursor:pointer;font-size:13px;font-weight:650}.game-card .exercise-button{border-radius:0;border-width:1px 0 0;margin:0;width:100%}.game-card .exercise-button.selected{background:#fff0e8}.footer-info #footer-context{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.game-heading .eyebrow{color:#9b1726}.question-focus .theory-question{color:var(--ink)}
@media(max-width:600px){.game-heading{padding:16px}.game-heading h3{font-size:21px}.game-card summary{padding:13px 16px}.scenario-intro{font-size:12px;padding:10px 12px}}
.sequence-end{margin:12px 0;padding:14px 16px;border:1px solid #dcc9ad;border-radius:14px;background:#f5eddf;color:#442a20}.sequence-end p{margin:6px 0 0;line-height:1.6}
.app-footer{background:#1e1213;color:#e9dfcd}.rating-pill{color:#f6e6c6;border-color:#d9b36c80}.timer{color:#dfcdae}.takeaway{background:#502027;color:#fffaf2}.takeaway strong{color:#efd39d}.feedback{background:#f7f0e5;border-color:#dfcdb1}.feedback.consider{background:#fff3e2;border-color:#e2c293}.choice.good{border-color:#8c6432}.result-card,.review-entry{background:#f6ecdb;border-color:#dbc39f}.theme-card.selected,.user-row [aria-current=true]{background:#fbefdd;border-color:#a56c33}.theme-card progress::-webkit-progress-value,.replay-progress progress::-webkit-progress-value{background:#ab1828}.theme-card progress::-moz-progress-bar,.replay-progress progress::-moz-progress-bar{background:#ab1828}.eyebrow{color:#8a5b25}.play-instruction{background:#fff}.steps button{color:#7c6c60}
input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b58239;outline-offset:3px}dialog::backdrop{background:#1d1012cc}dialog,.choice,.choice .choice-letter{border-color:#e3d4bf}.choice[aria-pressed=true]{border-color:#ab1828;box-shadow:inset 3px 0 #ab1828}.hint{border-left-color:#b58b4d;background:#f9eed8}.moves button.active{background:#9b1726;border-color:#9b1726}.exercise-button.selected{border-color:#a56c33}.exercise-done{color:#9b1726}.reading{scrollbar-color:#c8ae87 transparent}.theme-number{color:#936830}.source a{color:#9b1726}.review-entry strong{color:#70472b}
@media(max-height:650px) and (orientation:portrait){.workspace[data-stage="0"] .board-frame #board{width:min(52vw,27dvh);height:min(52vw,27dvh)}.workspace[data-stage="0"] .board-frame{padding-block:4px 15px}.workspace[data-stage="0"] .position-panel{gap:3px}.workspace[data-stage="0"] .question-step{display:none}.workspace[data-stage="0"] .answer-instruction{margin-bottom:0}.workspace[data-stage="0"] .question-focus{padding-bottom:7px;margin-bottom:7px}}
