:root { --bg:#0b0b0c; --panel:#151517; --line:#2a2a2e; --text:#ececec; --dim:#9a9aa0; --orange:#ff7a1a; --green:#2bd46b; --red:#ff4a4a; --amber:#ffb020; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:15px/1.45 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.shell { max-width:1100px; margin:0 auto; min-height:100vh; display:flex; flex-direction:column; }
.bar { display:flex; align-items:center; gap:10px; padding:12px 18px; border-bottom:1px solid var(--line); }
.tag { font-size:12px; color:var(--bg); background:var(--orange); padding:1px 8px; border-radius:10px; }
.who { margin-left:auto; color:var(--dim); }
.banner { margin:12px 18px 0; padding:10px 14px; border:1px solid var(--amber); border-radius:8px; color:var(--amber); }
.banner.ok { border-color:var(--green); color:var(--green); }
main { padding:18px; flex:1; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:18px; }
#auth { max-width:420px; margin:30px auto; }
.tabs { display:flex; gap:6px; margin-bottom:14px; }
.tabs button[aria-selected="true"] { background:var(--orange); color:#111; }
label { display:block; margin:10px 0; color:var(--dim); }
input { display:block; width:100%; margin-top:4px; padding:10px; background:#0f0f11; color:var(--text); border:1px solid var(--line); border-radius:8px; font-size:15px; }
button { padding:9px 16px; border:1px solid var(--line); background:#222226; color:var(--text); border-radius:8px; cursor:pointer; font-size:15px; }
button:hover:not(:disabled) { border-color:var(--orange); }
button:disabled { opacity:.45; cursor:not-allowed; }
button.danger { border-color:var(--red); color:var(--red); }
button.ghost { background:transparent; }
button:focus-visible, input:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.msg { min-height:1.4em; color:var(--amber); }
.note { font-size:13px; color:var(--dim); }
.phone { display:grid; grid-template-columns:320px 1fr; gap:24px; }
.line { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.dot { width:10px; height:10px; border-radius:50%; background:var(--red); }
.dot.on { background:var(--green); }
.dial { font-size:22px; text-align:center; }
.pad { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:12px 0; }
.pad button { font-size:20px; padding:12px 0; }
.actions { display:flex; gap:8px; }
.actions button { flex:1; }
h2 { font-size:14px; color:var(--dim); margin:4px 0 6px; text-transform:uppercase; letter-spacing:.05em; }
.list { list-style:none; margin:0 0 16px; padding:0; max-height:200px; overflow:auto; border:1px solid var(--line); border-radius:8px; }
.list li { padding:7px 10px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:10px; }
.list li:last-child { border-bottom:0; }
@media (max-width: 760px) { .phone { grid-template-columns:1fr; } }
