/* Стили дашборда руководителя. Вынесены из шаблонов в отдельный файл, чтобы
   строгая CSP (default-src 'none'; style-src 'self') не блокировала оформление
   и не требовался инлайн-CSS/nonce. Раздаётся с /static/app.css. */

body { font-family:-apple-system, Segoe UI, Roboto, sans-serif; background:#f4f5f7;
       margin:0; color:#1a1a2e; }

/* --- дашборд --- */
header { background:#1a1a2e; color:#fff; padding:.9rem 1.4rem; display:flex;
         justify-content:space-between; align-items:center; }
header h1 { font-size:1.1rem; margin:0; }
header .header-actions { display:flex; align-items:center; gap:.8rem; }
header .tg-link { display:inline-block; background:#229ed9; color:#fff; text-decoration:none;
         font-size:.8rem; padding:.3rem .7rem; border-radius:5px; white-space:nowrap; }
header .tg-link:hover { background:#1b8ec2; }
header .logout { display:inline; margin:0; }
header .logout button { background:none; border:1px solid #9fb4ff; color:#9fb4ff;
         font-size:.8rem; padding:.25rem .6rem; border-radius:5px; cursor:pointer; }
main { padding:1.2rem 1.4rem; max-width:1200px; margin:0 auto; }
section { background:#fff; border-radius:10px; padding:1rem 1.2rem; margin-bottom:1.4rem;
          box-shadow:0 1px 6px rgba(0,0,0,.06); }
section > h2 { font-size:1rem; margin:0 0 .8rem; border-bottom:2px solid #eef; padding-bottom:.4rem; }
.note { color:#a06a00; background:#fff7e6; border:1px solid #ffe2a8; padding:.4rem .6rem;
        border-radius:6px; font-size:.82rem; margin:.4rem 0; }
.empty { color:#888; font-size:.9rem; padding:.4rem 0; }
.subtitle { color:#666; font-size:.85rem; margin:.2rem 0 .6rem; }
.tablewrap { overflow-x:auto; }
table { border-collapse:collapse; width:100%; font-size:.82rem; }
th, td { border:1px solid #e3e3ec; padding:.4rem .5rem; text-align:left; vertical-align:top; }
th { background:#f0f2fa; position:sticky; top:0; }
table.pool td:nth-child(4) { font-weight:600; }
.reg { margin-bottom:1.4rem; }
.reg h3 { font-size:.92rem; margin:0 0 .3rem; }

/* --- страница входа --- */
body.login { display:flex; min-height:100vh; align-items:center; justify-content:center; }
.card { background:#fff; padding:2rem 2.5rem; border-radius:10px;
        box-shadow:0 2px 12px rgba(0,0,0,.08); width:320px; }
.card h1 { font-size:1.15rem; margin:0 0 1rem; color:#1a1a2e; }
.card label { display:block; font-size:.85rem; color:#555; margin-bottom:.35rem; }
.card input[type=password] { width:100%; padding:.55rem .6rem; border:1px solid #ccc;
        border-radius:6px; box-sizing:border-box; font-size:1rem; }
.card button { margin-top:1rem; width:100%; padding:.6rem; border:0; border-radius:6px;
        background:#2d5be3; color:#fff; font-size:1rem; cursor:pointer; }
.err { color:#c0244a; font-size:.85rem; margin:.6rem 0 0; }
.muted { color:#888; font-size:.78rem; margin-top:1rem; }
