/* Портал участника «Бирюса 2026».
   Сдержанный брендовый минимализм в духе стоек. Точные шрифт/логотип/палитра
   дорабатываются отдельно — здесь функциональная база. */

:root {
  --brand: #00527a;
  --brand-dark: #013f5e;
  --brand-soft: #e6f0f5;
  --ink: #14202a;
  --muted: #5c6b76;
  --line: #dce4e9;
  --bg: #f4f8fb;
  --surface: #ffffff;
  --danger: #b3261e;
  --ok: #1f7a44;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(0, 82, 122, 0.10);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -200px, var(--brand-soft), transparent 60%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 18px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Бренд */
.brand { display: flex; align-items: center; gap: 14px; padding: 4px 6px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 22px; line-height: 1;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-weight: 700; font-size: 18px; color: var(--brand); letter-spacing: .2px; }
.brand__sub { font-size: 13px; color: var(--muted); }

/* Карточка */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}
.card__title { margin: 0 0 6px; font-size: 22px; }
.card__lead { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.card__alt { margin: 18px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.card__alt a, a { color: var(--brand); text-decoration: none; }
.card__alt a:hover, a:hover { text-decoration: underline; }

/* Форма */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); font-style: normal; }
.field__input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 14px;
  font-size: 16px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field__input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 82, 122, 0.15);
}
.field__hint { font-size: 12px; color: var(--muted); }

.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* Кнопки */
.btn {
  border: none; border-radius: 14px; padding: 13px 16px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .15s, opacity .15s; width: 100%;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn--ghost {
  background: transparent; color: var(--brand);
  border: 1px solid var(--line); width: auto; padding: 9px 14px; font-size: 14px;
}
.btn--ghost:hover { background: var(--brand-soft); }
.btn--small { width: auto; padding: 8px 14px; font-size: 14px; }

/* Сообщения */
.msg {
  border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px;
  background: var(--brand-soft); color: var(--brand-dark);
  border: 1px solid #cfe1ea;
}
.msg--error { background: #fbe9e7; color: var(--danger); border-color: #f3c9c4; }
.msg--ok { background: #e7f5ec; color: var(--ok); border-color: #c6e7d2; }

.ttl { display: inline-block; margin-left: 6px; font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 600; }

/* Кабинет */
.cab__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.person { margin: 8px 0 22px; }
.person__name { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.person__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.person__row .k { color: var(--muted); }
.person__row .v { font-weight: 600; text-align: right; }
.muted { color: var(--muted); }

.section__title { font-size: 15px; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin: 0 0 12px; }
.badges__list { display: flex; flex-direction: column; gap: 12px; }

.badge {
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
  background: #fff; display: flex; flex-direction: column; gap: 8px;
}
.badge--active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(0,82,122,.12); }
.badge__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge__role { font-weight: 700; }
.badge__tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); white-space: nowrap; }
.badge__tag--off { background: #eef1f3; color: var(--muted); }
.badge__tag--active { background: var(--brand); color: #fff; }
.badge__meta { font-size: 14px; color: var(--muted); line-height: 1.5; }
.badge__meta b { color: var(--ink); font-weight: 600; }

.foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: auto; }
