:root { color-scheme: dark; --bg:#070d1a; --panel:#101a2e; --line:#263653; --text:#f4f7fb; --muted:#aab7cc; --accent:#38d6f5; --good:#34e39b; --bad:#ff8276; --paper:#fffdf8; --ink:#1b1912; font-family:system-ui,-apple-system,"Segoe UI","Noto Sans Hebrew",Arial,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; min-height:100dvh; color:var(--text); background:radial-gradient(circle at 80% 0,#142743 0,transparent 38%),var(--bg); }
button,input { font:inherit; }
a { color:var(--accent); }
.auth-shell { min-height:100dvh; display:grid; place-items:center; padding:24px; }
.auth-card { width:min(100%,460px); padding:28px; background:rgba(16,26,46,.96); border:1px solid var(--line); border-radius:20px; box-shadow:0 24px 70px rgba(0,0,0,.4); }
.auth-card.wide { width:min(100%,1050px); }
.brand { display:flex; align-items:center; gap:12px; margin-bottom:22px; }
.brand-mark { width:44px; height:44px; display:grid; place-items:center; color:#03141a; background:var(--accent); border-radius:13px; font-size:1.35rem; font-weight:900; }
h1,h2,p { margin-top:0; }
h1 { font-size:1.55rem; }
h2 { font-size:1.15rem; }
.subtitle,.hint { color:var(--muted); }
form { display:grid; gap:14px; }
label { display:grid; gap:6px; font-weight:700; }
input { width:100%; min-height:48px; padding:0 13px; color:var(--text); background:#0a1324; border:1px solid #3a4c6c; border-radius:11px; }
button,.button { min-height:44px; padding:0 15px; border:0; border-radius:10px; color:#03141a; background:var(--accent); font-weight:800; cursor:pointer; }
button.secondary,.button.secondary { color:var(--text); background:#233451; }
button.danger { color:#fff; background:#9c2f29; }
button:disabled { opacity:.55; cursor:wait; }
:focus-visible { outline:3px solid #7aa2ff; outline-offset:2px; }
.message { min-height:24px; margin:4px 0 0; color:var(--muted); }
.message.error { color:var(--bad); }
.message.success { color:var(--good); }
.links { display:flex; justify-content:space-between; gap:14px; margin-top:18px; }
.admin-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.panel { min-width:0; padding:16px; background:#0a1324; border:1px solid var(--line); border-radius:14px; }
.list { display:grid; gap:10px; }
.row { display:grid; gap:8px; padding:12px; background:#121f35; border:1px solid var(--line); border-radius:11px; overflow-wrap:anywhere; }
.row-head { display:flex; justify-content:space-between; gap:10px; align-items:start; }
.meta { color:var(--muted); font-size:.85rem; }
.actions { display:flex; flex-wrap:wrap; gap:8px; }
.actions button { min-height:38px; font-size:.85rem; }
.link-box { display:grid; gap:8px; margin-top:10px; padding:10px; color:var(--ink); background:var(--paper); border-radius:9px; direction:ltr; text-align:left; overflow-wrap:anywhere; }
.audit { grid-column:1/-1; }
.audit .row { font-size:.88rem; }
[hidden] { display:none!important; }
@media (max-width:760px) { .auth-card { padding:20px; } .admin-grid { grid-template-columns:1fr; } .audit { grid-column:auto; } .admin-head { align-items:start; flex-direction:column; } }
