:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--text:#1b1b1f;--muted:#6b6b75;--bg:#fff;--line:#e4e4ea;--accent:#2f5bd8;--danger:#c0392b;--done:#1e8449;--strip:#eef1fb;font-family:system-ui,-apple-system,sans-serif;font-size:17px;line-height:1.4}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--text:#ececf1;--muted:#9a9aa6;--bg:#131316;--line:#2a2a31;--accent:#7c9cff;--danger:#ff7b6b;--done:#5cc98a;--strip:#1d2233}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}main{max-width:40rem;padding:max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));margin:0 auto}h1{margin:0;font-size:1.3rem}p{margin:0}button,input,textarea{font:inherit;color:inherit}.muted{color:var(--muted)}.error{color:var(--danger)}button.link{color:var(--accent);background:0 0;border:none;padding:0}.login form{flex-direction:column;gap:10px;margin-top:24px;display:flex}.login input{border:1px solid var(--line);background:0 0;border-radius:8px;padding:10px 12px}.login button[type=submit]{background:var(--accent);color:var(--bg);border:none;border-radius:8px;padding:10px 12px}.login button:disabled{opacity:.5}.login .row{justify-content:space-between;display:flex}header{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 16px;padding-bottom:12px;display:flex}header button,header label{white-space:nowrap}header h1{flex:1}header label{color:var(--muted);align-items:center;gap:6px;display:flex}ol{margin:0;padding:0;list-style:none}li{border-bottom:1px solid var(--line);gap:12px;padding:12px 0;display:flex}li.dropped{opacity:.6}li time{color:var(--muted);font-size:.8rem}button.play{border:1px solid var(--line);width:44px;height:44px;color:var(--accent);background:0 0;border-radius:50%;flex:none}button.play:disabled{color:var(--muted)}li>div{flex:1;min-width:0}button.icon{width:36px;height:44px;color:var(--accent);background:0 0;border:none;flex:none;align-self:center;padding:0;font-size:1.4rem}button.icon:disabled{color:var(--muted)}.small{font-size:.85rem}button.primary{background:var(--accent);color:var(--bg);border:none;border-radius:8px;padding:8px 16px}button.primary:disabled{opacity:.4}.editor{flex-direction:column;gap:16px;display:flex}.editor .lines{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.editor .neighbour{color:var(--muted);flex-direction:column;align-items:flex-start;gap:2px;display:flex}.editor .text{font-size:1.3rem;line-height:1.9}button.tok{cursor:pointer;background:0 0;border:none;border-radius:4px;margin:0 -2px;padding:1px 2px}button.tok.on{background:var(--accent);color:var(--bg)}.editor .out{color:var(--muted)}.editor .fix{flex-direction:column;align-self:stretch;gap:8px;display:flex}.editor textarea,.editor input{border:1px solid var(--line);background:0 0;border-radius:8px;width:100%;padding:8px 10px}.editor textarea{resize:vertical;min-height:3.2em}.editor .row{align-items:center;gap:16px;display:flex}.editor .sound{flex-wrap:wrap;align-items:center;gap:10px 14px;display:flex}button.chip,.nudge button{border:1px solid var(--line);background:0 0;border-radius:18px;min-width:40px;height:36px;padding:0 10px}button.chip.on{border-color:var(--accent);color:var(--accent)}.nudge{color:var(--muted);align-items:center;gap:4px;display:inline-flex}.editor .fields{flex-direction:column;gap:12px;display:flex}.editor label,.editor .phrase{flex-direction:column;gap:4px;display:flex}.editor label,.editor .label{color:var(--muted);font-size:.85rem}.editor label input,.editor label textarea,.editor .phrase p{color:var(--text);font-size:1rem}.editor .pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.editor .hint{border:1px solid var(--accent);border-radius:8px;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;display:flex}.editor .note{color:var(--danger);font-size:.85rem}.editor .actions{border-top:1px solid var(--line);align-items:center;gap:16px;padding-top:12px;display:flex}.editor .status{flex-wrap:wrap;align-items:center;gap:8px 12px;min-height:2.3rem;display:flex}.badge{white-space:nowrap;border:1px solid #0000;border-radius:12px;padding:2px 10px;font-size:.85rem;line-height:1.4;animation:.12s ease-out appear}@keyframes appear{0%{opacity:0}}.badge.waiting{color:#1b1b1f;background:#f1c40f}.badge.new{color:#fff;background:#1f6fd1}.badge.learning{color:#1b1b1f;background:#e67e22}.badge.band{background:var(--line);color:var(--muted)}.badge.known{color:#fff;background:#1e8449;border-color:#1e8449}button.danger{background:var(--danger);color:var(--bg);border:none;border-radius:8px;padding:6px 14px}.cards{flex-direction:column;gap:16px;display:flex}.cards .card{border:1px solid var(--line);text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:16px;display:flex}.cards .phrase{font-size:1.15rem}.cards .mot{padding-bottom:6px;font-size:1.2rem}.cards .tag{background:var(--line);border-radius:4px;padding:1px 8px;font-size:.8rem}.cards .row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.ic{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px;height:18px}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}button.strip{background:var(--strip);white-space:nowrap;cursor:pointer;border:none;border-radius:10px;justify-content:space-evenly;align-items:center;gap:8px;width:100%;min-height:44px;margin:12px 0 4px;padding:10px 28px 10px 8px;font-size:.9rem;display:flex;position:relative}.strip .seg{align-items:center;gap:4px;display:inline-flex}.strip .seg .ic{color:var(--muted)}.strip .seg.done,.strip .seg.done .ic{color:var(--done)}.strip .chevron{color:var(--accent);font-size:1.2rem;line-height:1;position:absolute;right:12px}.cockpit nav.back{justify-content:space-between;align-items:center;min-height:44px;display:flex}.cockpit h1{margin-bottom:4px}.cockpit h2{align-items:center;gap:8px;margin:0;font-size:1rem;display:flex}.cockpit h2 .ic{width:20px;height:20px;color:var(--muted)}.cockpit .row{border-bottom:1px solid var(--line);flex-direction:column;gap:6px;padding:14px 0;display:flex}.cockpit .row-head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.cockpit .done{color:var(--done)}.cockpit .bar{background:var(--line);border-radius:3px;height:6px;overflow:hidden}.cockpit .bar>div{background:var(--accent);border-radius:3px;height:100%}.cockpit .bar>div.done{background:var(--done)}.cockpit .detail{color:var(--muted);font-size:.9rem}.cockpit input{border:1px solid var(--line);background:0 0;border-radius:8px;min-height:36px;padding:4px 8px}.cockpit input[type=number]{width:5em}.cockpit .ask{background:var(--strip);border-radius:10px;flex-direction:column;gap:10px;margin-top:4px;padding:12px;font-size:.95rem;display:flex}.cockpit .links{align-items:center;gap:20px;min-height:44px;font-size:.95rem;display:flex}.cockpit .form{flex-direction:column;align-items:flex-start;gap:10px;padding:8px 0;display:flex}.cockpit .form label{align-items:center;gap:8px;font-size:.95rem;display:flex}.cockpit .buttons,.cockpit .actions{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.cockpit .actions{margin-top:18px}.segmented{flex-wrap:wrap;display:flex}.segmented button{border:1px solid var(--line);min-height:40px;color:var(--muted);background:0 0;padding:0 14px;font-size:.9rem}.segmented button+button{margin-left:-1px}.segmented button:first-child{border-radius:8px 0 0 8px}.segmented button:last-child{border-radius:0 8px 8px 0}.segmented button.on{border-color:var(--accent);background:var(--strip);color:var(--text);position:relative}button.pill{border:1px solid var(--line);background:0 0;border-radius:10px;min-height:44px;padding:0 16px;font-size:.95rem}button.pill.primary{border-color:var(--accent);background:var(--accent);color:var(--bg)}button.pill:disabled{opacity:.4}button.pill.link-pill{color:var(--accent)}button.pill.danger{border-color:var(--danger);background:var(--danger);color:var(--bg)}button.link.warn{color:var(--danger)}.cockpit .book{flex-direction:column;gap:6px;padding-top:4px;display:flex}.cockpit .book-head{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.tag{background:var(--line);color:var(--muted);letter-spacing:.03em;vertical-align:2px;border-radius:6px;padding:0 6px;font-size:.7rem;font-weight:650;display:inline-block}.cockpit .mined{margin-top:14px;font-size:.95rem}.cockpit .mined b{color:var(--text)}.week .week-head,.week .week-day{grid-template-columns:4.5rem repeat(3,minmax(0,1fr));align-items:center;gap:8px;display:grid}.week .week-head{border-bottom:1px solid var(--line);margin-top:16px;padding-bottom:6px}.week .week-head span:not(:first-child){text-align:right}.week .week-day{border-bottom:1px solid var(--line);padding:8px 0}.week .week-day.now b{color:var(--accent)}.week .week-day input{text-align:right;width:100%}.week>p{margin-top:12px}.cockpit .tutoring{background:var(--strip);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:8px 12px;display:flex}.cockpit .tutoring .ic{color:var(--accent)}.week .week-day .session{grid-column:2/-1}.cockpit .numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.cockpit .numbers b{font-size:1.2rem}.cockpit b.big{font-size:1.4rem}.cockpit .bar.mine-bar{border-radius:6px;height:12px;display:flex}.cockpit .bar.mine-bar>div{border-radius:0}.cockpit .mine-bar .started,.cockpit .legend i.started{background:var(--done)}.cockpit .mine-bar .in-anki,.cockpit .legend i.in-anki{background:#1f6fd1}.cockpit .mine-bar .waiting,.cockpit .legend i.waiting{background:#f1c40f}.cockpit .legend{flex-wrap:wrap;gap:2px 12px;display:flex}.cockpit .legend span{white-space:nowrap}.cockpit .legend i{background:var(--line);vertical-align:-1px;border-radius:50%;width:10px;height:10px;display:inline-block}
