/* Elami Reviewer Platform, sky palette. Veluceon Inc. Confidential. */
:root{
  --ground:#EAF4FC; --ink:#0B2545; --muted:#3E5570; --sky:#1F6FB2; --sky-deep:#1A5E99;
  --red:#B3122E; --red-dark:#8E0E24; --gold:#F2B33D; --line:#C9DDF0; --tint:#DCEBF8; --white:#FFFFFF;
  --ok:#1E7A4A; --box:#6F8BA8; --rose:#FBE9EE;
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--ground);color:var(--ink);font-family:'Noto Sans',system-ui,sans-serif;font-size:16px;line-height:1.5}
h1,h2,h3{font-family:'Sora','Noto Sans',system-ui,sans-serif;margin:0;line-height:1.2}
a{color:var(--red)} a:hover{color:var(--red-dark)}
button,input,select,textarea{font:inherit;color:inherit}
.app{max-width:440px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column;background:var(--ground)}
.pilot{background:var(--ink);color:var(--white);font-size:13px;padding:8px 16px;text-align:center}
.pilot b{color:var(--white)}
.top{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px}
.brand{display:flex;align-items:center;gap:8px;font-family:'Sora',sans-serif;font-weight:700;font-size:20px;color:var(--ink);text-decoration:none}
.main{flex:1;padding:8px 20px 24px;display:flex;flex-direction:column;gap:16px}
.hero{background:var(--sky);color:var(--white);padding:22px 20px 26px;display:flex;flex-direction:column;gap:14px}
.hero h1{font-size:30px}
.hero p{margin:0;color:var(--white)}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:var(--white);cursor:pointer}
.chip[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--ink);font-weight:700}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 20px;border-radius:14px;border:0;background:var(--red);color:var(--white);font-weight:600;font-size:17px;cursor:pointer;text-decoration:none;width:100%}
.btn:hover{background:var(--red-dark);color:var(--white)}
.btn[disabled]{background:var(--line);color:var(--muted);cursor:not-allowed}
.btn.ghost{background:var(--white);color:var(--ink);border:1px solid var(--line)}
.btn.ghost:hover{background:var(--tint);color:var(--ink)}
.btn.small{min-height:44px;font-size:15px;width:auto}
.card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:16px}
.card h2{font-size:18px;margin-bottom:6px}
.muted{color:var(--muted)} .small{font-size:14px} .tiny{font-size:13px}
.taskcard{display:flex;gap:14px;align-items:center;padding:16px;border-radius:18px;background:var(--white);border:1px solid var(--line);color:var(--ink);text-decoration:none}
.taskcard.need{border:2px solid var(--red)}
.icon{width:48px;height:48px;border-radius:14px;background:var(--tint);color:var(--sky-deep);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.taskcard.need .icon{background:var(--rose);color:var(--red)}
.tag{font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--red);color:var(--white)}
.badge{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;background:var(--gold);color:var(--ink)}
label.field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.input,select.input,textarea.input{min-height:48px;padding:10px 14px;border-radius:12px;border:1px solid var(--box);background:var(--white);font-weight:400}
textarea.input{min-height:120px;resize:vertical}
.input:focus,.btn:focus-visible,.chip:focus-visible,.opt:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.opts{display:flex;flex-wrap:wrap;gap:8px}
.opt{min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--box);background:var(--white);color:var(--ink);cursor:pointer}
.opt[aria-pressed="true"]{background:var(--sky);border-color:var(--sky);color:var(--white);font-weight:600}
.check{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:12px;background:var(--white);border:1px solid var(--line);cursor:pointer}
.check input{width:24px;height:24px;margin:2px 0 0;accent-color:var(--sky);flex-shrink:0}
.steps{font-size:13px;font-weight:600;color:var(--sky-deep)}
.bar{height:8px;border-radius:999px;background:var(--tint);overflow:hidden}
.bar>span{display:block;height:100%;background:var(--sky)}
.quote{background:var(--sky);color:var(--white);border-radius:18px;padding:18px}
.quote .big{font-size:20px;line-height:1.4;font-family:'Sora',sans-serif}
.nav{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);background:var(--white);padding:6px 8px 14px;position:sticky;bottom:0}
.nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;color:var(--muted);text-decoration:none;font-size:12px}
.nav a[aria-current="page"]{color:var(--sky-deep);font-weight:700}
.stat{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.stat .card{text-align:center} .stat .num{font-family:'Sora',sans-serif;font-size:30px;font-weight:700;color:var(--sky-deep)}
.err{background:var(--rose);color:var(--red-dark);border-radius:12px;padding:10px 14px;font-size:14px}
.okmsg{background:#E3F3EA;color:var(--ok);border-radius:12px;padding:10px 14px;font-size:14px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.switch{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.switch:last-child{border-bottom:0}
.switch input{width:48px;height:28px;accent-color:var(--sky)}
.langswitch{display:inline-flex;border:1px solid var(--line);border-radius:999px;background:var(--white);padding:3px}
.langswitch button{border:0;background:transparent;border-radius:999px;min-height:36px;padding:0 12px;cursor:pointer}
.langswitch button[aria-pressed="true"]{background:var(--sky);color:var(--white)}
.rec{width:88px;height:88px;border-radius:999px;border:0;background:var(--red);color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 auto}
.rec.on{background:var(--red-dark);box-shadow:0 0 0 8px rgba(179,18,46,.18)}
.foot{font-size:13px;color:var(--muted);text-align:center;padding:12px 20px 20px}
[dir="rtl"] .hero{text-align:right}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* Admin (desktop) */
.admin{max-width:1280px;margin:0 auto;padding:20px}
.admin .tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.admin .tabs button{min-height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--line);background:var(--white);cursor:pointer}
.admin .tabs button[aria-pressed="true"]{background:var(--sky);color:var(--white);border-color:var(--sky)}
.tablebox{overflow-x:auto;background:var(--white);border:1px solid var(--line);border-radius:14px}
table{border-collapse:collapse;width:100%;font-size:14px}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
th{background:var(--tint);font-weight:600;white-space:nowrap}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.formgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;align-items:end}
