:root{--bg:#f5f6f8;--surface:#fff;--surface2:#f0f2f5;--text:#111827;--muted:#6b7280;--border:#e4e7ec;--accent:#4f46e5;--accent-fg:#fff;--shadow:0 1px 2px rgba(16,24,40,.06),0 12px 32px rgba(16,24,40,.09);--r:12px;color-scheme:light}
[data-theme=dark]{--bg:#0b0f17;--surface:#121926;--surface2:#1a2333;--text:#e6e9ef;--muted:#94a3b8;--border:#233047;--accent:#818cf8;--accent-fg:#0b0f17;--shadow:0 1px 2px rgba(0,0,0,.5),0 12px 32px rgba(0,0,0,.45);color-scheme:dark}
[data-theme=ocean]{--bg:#06141f;--surface:#0b2233;--surface2:#0f2d44;--text:#e6f4ff;--muted:#8fb3cc;--border:#17405f;--accent:#22d3ee;--accent-fg:#06141f;--shadow:0 1px 2px rgba(0,0,0,.5),0 12px 32px rgba(0,0,0,.45);color-scheme:dark}
[data-theme=forest]{--bg:#f2f6f0;--surface:#fff;--surface2:#e9f0e5;--text:#14201a;--muted:#5d6e62;--border:#d9e4d4;--accent:#15803d;--accent-fg:#fff;--shadow:0 1px 2px rgba(16,40,24,.07),0 12px 32px rgba(16,40,24,.1);color-scheme:light}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
[hidden]{display:none!important}
body{font:14px/1.5 Inter,system-ui,"Segoe UI",Roboto,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}
input,select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:9px 12px;outline:none;transition:border-color .15s,box-shadow .15s;min-width:0}
input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.btn,.pkb button{font:inherit;font-weight:600;color:var(--text);background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:8px 14px;cursor:pointer;transition:filter .15s,transform .05s}
.btn:hover,.pkb button:hover{filter:brightness(.95)}.btn:active{transform:translateY(1px)}
.btn.primary{background:var(--accent);color:var(--accent-fg);border-color:transparent}

[data-theme=bilingku]{--bg:#06122a;--surface:#0b1a33;--surface2:#10223f;--text:#eef3ff;--muted:#9db0cf;--border:#1a3157;--accent:#3b82f6;--accent-fg:#fff;--shadow:0 1px 2px rgba(0,0,0,.5),0 12px 32px rgba(0,0,0,.5);color-scheme:dark}
