:root{color-scheme:light;--bg: #efeae2;--ink: #1c1917;--muted: #6f675f;--paper: #fffcf8;--accent: #0e6b62;--accent-ink: #f3fffc;--warn: #8a4b12;--line: rgba(28, 25, 23, .08);--shadow: 0 1px 1px rgba(28, 25, 23, .05), 0 10px 28px rgba(28, 25, 23, .07);--radius: 20px;--inner: 12px;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:var(--bg);color:var(--ink)}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3{text-wrap:balance;margin:0}p{text-wrap:pretty;margin:0}.num{font-variant-numeric:tabular-nums}.screen{width:min(100%,40rem);margin:0 auto;padding:calc(16px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}.top,.title-row,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-weight:650;letter-spacing:-.02em}h1{font-size:1.7rem;letter-spacing:-.03em}h2{font-size:1.05rem}h3{font-size:.95rem;color:var(--muted);font-weight:600}.muted{color:var(--muted)}.error{color:var(--warn)}.panel,.card,.hint,.dock{background:var(--paper);border-radius:var(--radius);box-shadow:var(--shadow)}.panel,.hint{padding:16px}.panel{display:flex;flex-direction:column;gap:12px}.stack,.sub{display:flex;flex-direction:column;gap:10px}.competence{display:flex;flex-direction:column;gap:14px}label{display:flex;flex-direction:column;gap:6px;font-size:.92rem}input,textarea{width:100%;border:0;border-radius:var(--inner);background:#f3efe8;padding:14px 12px;box-shadow:inset 0 0 0 1px var(--line)}textarea{resize:vertical}.press{transition-property:transform;transition-duration:.16s;transition-timing-function:cubic-bezier(.2,0,0,1)}.press:active{transform:scale(.96)}.primary,.ghost,.answer,.lang,.back{min-height:48px;border:0;border-radius:var(--inner)}.primary{background:var(--accent);color:var(--accent-ink);padding:0 16px;font-weight:650}.ghost,.back{background:transparent;box-shadow:inset 0 0 0 1px var(--line);padding:0 14px}.primary:disabled,.answer:disabled{opacity:.45}.text-button{min-height:44px;border:0;background:transparent;color:var(--accent);padding:0 4px}.langs{display:flex;gap:4px;padding:4px;border-radius:16px;background:#1c19170d}.lang{min-width:44px;min-height:44px;background:transparent;text-transform:uppercase;font-size:.78rem;letter-spacing:.04em}.lang[aria-pressed=true]{background:var(--paper);box-shadow:var(--shadow)}.cards{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.card{width:100%;text-align:left;padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.card-title{font-size:1.15rem;font-weight:650;letter-spacing:-.02em}.tag{margin-top:6px;border-radius:999px;padding:4px 10px;background:#f3efe8;color:var(--muted);font-size:.82rem}.tag.pending{color:var(--warn);background:#f8ecdf}.tag.sent{color:#1f7a4d;background:#e5f5ec}.sync{display:flex;align-items:center;justify-content:space-between;min-height:44px}.sync-saved{color:#1f7a4d}.sync-pending{color:var(--warn)}.hint{display:flex;flex-direction:column;gap:10px}.hint .row{justify-content:flex-start}.lesson{display:flex;flex-direction:column;gap:6px}.statement{content-visibility:auto;contain-intrinsic-size:auto 340px;display:flex;flex-direction:column;gap:12px}.statement-text{font-weight:650}.answers{display:flex;flex-direction:column;gap:6px}.answer{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 12px;background:#fff;border:2px solid #b7aea4;font-size:1rem;font-weight:650;text-align:left;line-height:1.25}.answer:before{content:"";flex:0 0 22px;width:22px;height:22px;border:2px solid #5c564f;border-radius:6px;background:#fff center / 14px 14px no-repeat}.answer[aria-pressed=true]{background:#e5f3f1;border-color:var(--accent);color:var(--ink)}.answer[aria-pressed=true]:before{border-color:var(--accent);background-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3fffc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.2 16.7 19 7.5'/%3E%3C/svg%3E")}.form-screen{padding-right:12px;padding-left:12px;padding-bottom:calc(128px + env(safe-area-inset-bottom))}.dock{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(100%,40rem);margin:0;border-radius:20px 20px 0 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:8px}.dock .primary{width:100%}.confirm{display:flex;flex-direction:column;gap:8px}.logout{align-self:flex-start}.rise{animation:rise .42s cubic-bezier(.2,0,0,1) both}.rise:nth-child(2){animation-delay:70ms}.rise:nth-child(3){animation-delay:.14s}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.rise{animation:none}.press{transition:none}}
