/* ИС «Индивидуальный рейтинг» — фирменный стиль программы «РЕСУРС России» (брендбук: Montserrat, кобальт #0039A6, красный #DD083F) */
:root {
  --blue: #0039a6;
  --blue-d: #062a7a;
  --blue-2: #1570b8;
  --sky: #009fe3;
  --sky-2: #599ddf;
  --teal: #41b9b8;
  --red: #dd083f;
  --grey: #706f6f;
  --ink: #1b2440;
  --ink-2: #4a5470;
  --line: #e3e8f2;
  --bg: #f3f6fb;
  --card: #ffffff;
  --ok: #17845a;
  --ok-bg: #e6f5ee;
  --warn: #a86200;
  --warn-bg: #fff4e0;
  --err: #c2072f;
  --err-bg: #fde8ee;
  --radius: 10px;
  --shadow: 0 2px 6px rgba(16, 38, 92, .06), 0 8px 24px rgba(16, 38, 92, .06);
  --c-project: #0039a6;
  --c-research: #41b9b8;
  --c-initiative: #009fe3;
  --c-achievements: #dd083f;
  --c-study: #706f6f;
  --c-total: #062a7a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Montserrat", "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.5;
  color: var(--ink); background: var(--bg);
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.25; font-weight: 700; color: var(--ink); }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 0 0 .8em; }
small, .muted { color: var(--ink-2); }
.muted { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.center { text-align: center; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

/* ---------- каркас */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px;
  height: 64px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line);
}
.topbar .logo img { height: 34px; display: block; }
.topbar .app-name { font-weight: 700; color: var(--blue); font-size: 13px; line-height: 1.2; border-left: 1px solid var(--line); padding-left: 16px; }
.topbar .app-name span { display: block; font-weight: 500; color: var(--grey); font-size: 11px; }
.topbar .spacer { flex: 1; }
.topbar .who { text-align: right; font-size: 13px; line-height: 1.25; }
.topbar .who b { display: block; }
.topbar .who span { color: var(--ink-2); font-size: 12px; }
.btn-exit { color: var(--ink-2); font-size: 13px; padding: 8px 10px; border-radius: 8px; }
.btn-exit:hover { background: var(--bg); text-decoration: none; }
.menu-toggle { display: none; }

.layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.side {
  background: #fff;
  border-right: 1px solid var(--line); padding: 18px 12px 40px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
.side .nav-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); margin: 16px 10px 6px; font-weight: 600; }
.side a.nav {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 13.5px;
}
.side a.nav svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.side a.nav:hover { background: var(--bg); text-decoration: none; }
.side a.nav.on { background: var(--blue); color: #fff; }
.side a.nav.on svg { color: #fff; }
.side a.nav .badge { margin-left: auto; }
.main { padding: 24px 28px 48px; max-width: 1280px; width: 100%; min-width: 0; }

.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--ink-2); margin-top: 4px; }
.page-head .grow { flex: 1; }

/* ---------- карточки */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px;
}
.card.flush { padding: 0; overflow: hidden; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
/* Выделенный блок: синяя шапка с фирменным узором (как обложка презентации) */
.card.accent { padding-top: 0; overflow: hidden; }
.card.accent > .card-head:first-of-type,
.card.accent > h2:first-of-type,
.card.accent > h3:first-of-type {
  margin: 0 -20px 16px; padding: 16px 20px; min-height: 58px; color: #fff;
  background: linear-gradient(90deg, rgba(5, 34, 140, .97) 0%, rgba(5, 34, 140, .95) 50%, rgba(8, 44, 170, .35) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--blue);
}
.card.accent.red > .card-head:first-of-type,
.card.accent.red > h2:first-of-type,
.card.accent.red > h3:first-of-type {
  background: linear-gradient(90deg, rgba(178, 6, 50, .97) 0%, rgba(190, 7, 54, .94) 50%, rgba(221, 8, 63, .35) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--red);
}
.card.accent.teal > .card-head:first-of-type,
.card.accent.teal > h2:first-of-type,
.card.accent.teal > h3:first-of-type {
  background: linear-gradient(90deg, rgba(31, 128, 128, .97) 0%, rgba(40, 145, 144, .94) 50%, rgba(65, 185, 184, .35) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--teal);
}
.card.accent.sky > .card-head:first-of-type,
.card.accent.sky > h2:first-of-type,
.card.accent.sky > h3:first-of-type {
  background: linear-gradient(90deg, rgba(0, 110, 180, .97) 0%, rgba(0, 125, 200, .94) 50%, rgba(0, 159, 227, .35) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--sky);
}
.card.accent > .card-head:first-of-type { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card.accent > .card-head:first-of-type h2, .card.accent > .card-head:first-of-type h3 { color: #fff; margin: 0; }
.card.accent > .card-head:first-of-type .muted { color: rgba(255, 255, 255, .85); }
.card.accent > .card-head:first-of-type .badge { background: rgba(255, 255, 255, .18); color: #fff; }
.card.accent > .card-head:first-of-type .badge.ok, .card.accent > .card-head:first-of-type .badge.dark { background: #fff; color: var(--blue); }
.card.accent > .card-head:first-of-type .badge.err { background: #fff; color: var(--red); }
.card .card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card .card-head h2, .card .card-head h3 { margin: 0; }
.card .card-head .grow { flex: 1; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* hero итог */
.hero {
  position: relative; overflow: hidden; border-radius: 14px; color: #fff; padding: 26px 28px; margin-bottom: 16px;
  background: var(--blue) url("/static/img/hero.jpg") right center / cover no-repeat;
  box-shadow: var(--shadow);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 34, 140, .96) 0%, rgba(8, 44, 170, .85) 55%, rgba(8, 44, 170, .15) 100%); }
.hero > * { position: relative; }
.hero h1, .hero h2 { color: #fff; }
.hero .kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-weight: 600; }
.hero .big { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hero .big small { font-size: 20px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.hero .row { display: flex; gap: 36px; flex-wrap: wrap; align-items: flex-end; }
.hero .place { font-size: 15px; }
.hero .place b { font-size: 30px; font-weight: 800; display: block; line-height: 1.1; }
.hero .bar { height: 8px; background: rgba(255, 255, 255, .22); border-radius: 8px; margin-top: 16px; max-width: 520px; overflow: hidden; }
.hero .bar i { display: block; height: 100%; background: #fff; border-radius: 8px; }

/* плитки блоков */
.tile {
  display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 16px 14px;
  color: var(--ink); transition: transform .12s, box-shadow .12s; position: relative;
}
a.tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(16, 38, 92, .14); }
.tile .t-ico { width: 38px; height: 38px; border-radius: 9px; background: var(--tc, var(--blue)); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.tile .t-ico svg { width: 22px; height: 22px; }
.tile .t-name { font-weight: 600; font-size: 13px; color: var(--ink-2); min-height: 2.4em; }
.tile .t-val { font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.tile .t-val small { font-size: 14px; color: var(--grey); font-weight: 600; }
.tile .t-place { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.tile .t-bar { height: 5px; background: var(--bg); border-radius: 5px; margin-top: 10px; overflow: hidden; }
.tile .t-bar i { display: block; height: 100%; background: var(--tc, var(--blue)); }
.t-project { --tc: var(--c-project); }
.t-research { --tc: var(--c-research); }
.t-initiative { --tc: var(--c-initiative); }
.t-achievements { --tc: var(--c-achievements); }
.t-study { --tc: var(--c-study); }
.t-penalty { --tc: #8a1530; }

/* ---------- таблицы */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 600; font-size: 12px; color: var(--ink-2); background: #f7f9fd; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.me td { background: #eaf1ff; font-weight: 600; }

.tbl tr:hover td { background: #fafbfe; }
.tbl tr.me:hover td { background: #e2ebff; }
.tbl td.place { font-weight: 800; color: var(--blue); width: 56px; }
.tbl .sorted { color: var(--blue); }
.tbl.compact td, .tbl.compact th { padding: 6px 8px; }
.tbl input[type=text], .tbl input[type=number], .tbl select { min-width: 0; }

/* ---------- формы */
label.lbl { display: block; font-weight: 600; font-size: 12.5px; margin: 0 0 5px; color: var(--ink); }
label.lbl .req { color: var(--red); }
.field { margin-bottom: 14px; }
.hint { font-size: 12px; color: var(--ink-2); margin-top: 4px; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=datetime-local],
input[type=url], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid #cfd7e6; border-radius: 8px;
  padding: 9px 11px; outline: none; transition: border-color .12s, box-shadow .12s;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 57, 166, .14); }
input[type=file] { font: inherit; font-size: 13px; }
.inline { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline > .field { margin-bottom: 0; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.check input { width: 17px; height: 17px; accent-color: var(--blue); }
.w-sm { width: 90px !important; }
.w-md { width: 160px !important; }
.w-lg { width: 280px !important; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 14px; }
legend { font-weight: 700; padding: 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 13.5px;
  border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; cursor: pointer; background: var(--blue); color: #fff;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn:hover { background: var(--blue-d); text-decoration: none; }
.btn.red { background: var(--red); }
.btn.red:hover { background: #b5062f; }
.btn.ghost { background: #fff; color: var(--blue); border-color: #c5d2ea; }
.btn.ghost:hover { background: #f0f4fc; }
.btn.light { background: #eef3fc; color: var(--blue); }
.btn.light:hover { background: #e1eafa; }
.btn.ok { background: var(--ok); }
.btn.sm { padding: 6px 11px; font-size: 12.5px; }
.btn.xs { padding: 3px 8px; font-size: 12px; border-radius: 6px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); cursor: pointer; }
.linkbtn.red { color: var(--err); }

/* ---------- значки */
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: #eef2f9; color: var(--ink-2); white-space: nowrap; }
.badge.blue { background: #e3ecfd; color: var(--blue); }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--err-bg); color: var(--err); }
.badge.dark { background: var(--blue); color: #fff; }
.st-draft { background: #eef2f9; color: var(--ink-2); }
.st-submitted { background: #e3ecfd; color: var(--blue); }
.st-approved { background: var(--ok-bg); color: var(--ok); }
.st-rejected { background: var(--err-bg); color: var(--err); }
.st-returned { background: var(--warn-bg); color: var(--warn); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* сообщения */
.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 10px; font-size: 13.5px; border: 1px solid transparent; }
.flash.ok { background: var(--ok-bg); border-color: var(--ok); }
.flash.error { background: var(--err-bg); border-color: var(--err); }
.flash.warn { background: var(--warn-bg); border-color: var(--warn); }
.note { background: #eef3fc; border-radius: 8px; padding: 11px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.note.red { background: var(--err-bg); }
.note.ok { background: var(--ok-bg); }

/* вкладки */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 9px 14px; font-weight: 600; font-size: 13px; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--blue); border-bottom-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--blue); }
.seg { display: inline-flex; background: #e8eef9; border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: 6px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.seg a.on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.seg a:hover { text-decoration: none; }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }

/* списки-пункты (стиль слайдов: белая карточка с цветной полосой) */
.items { display: grid; gap: 10px; }
.item { background: #fff; border-radius: 9px; border: 1px solid var(--line); padding: 12px 14px; display: flex; gap: 14px; align-items: flex-start; }
.item .grow { flex: 1; min-width: 0; }
.item .ttl { font-weight: 600; }
.item .meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.item .pts { font-size: 20px; font-weight: 800; color: var(--ic, var(--blue)); white-space: nowrap; text-align: right; }
.item .pts small { display: block; font-size: 11px; font-weight: 600; color: var(--grey); }
.i-project { --ic: var(--c-project); }
.i-research { --ic: var(--c-research); }
.i-initiative { --ic: var(--c-initiative); }
.i-achievements, .i-red { --ic: var(--c-achievements); }
.i-grey { --ic: #b5bccb; }

/* чек-лист стипендии */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.checklist li:last-child { border-bottom: 0; }
.checklist .mk { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: #c3cad8; margin-top: 1px; }
.checklist .yes .mk { background: var(--ok); }
.checklist .no .mk { background: var(--red); }
.checklist .wait .mk { background: #c3c8d2; }
.checklist .val { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* вход */
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); background: #fff; }
.login-hero { position: relative; background: var(--blue) url("/static/img/hero.jpg") right center / cover no-repeat; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; }
.login-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 34, 140, .95) 10%, rgba(8, 44, 170, .55) 70%, rgba(8, 44, 170, .2)); }
.login-hero > * { position: relative; }
.login-hero img.logo { height: 58px; width: auto; }
.login-hero h1 { color: #fff; font-size: 38px; font-weight: 800; margin: auto 0 14px; max-width: 520px; line-height: 1.15; }
.login-hero p { font-size: 15px; max-width: 470px; opacity: .92; }
.login-hero .foot { margin-top: 28px; font-size: 12px; opacity: .8; }
.login-form { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; max-width: 520px; width: 100%; margin: 0 auto; }
.login-form h2 { font-size: 22px; margin-bottom: 4px; }
.course-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.course-pick label { cursor: pointer; }
.course-pick input { position: absolute; opacity: 0; pointer-events: none; }
.course-pick span { display: block; text-align: center; border: 1.5px solid #cfd7e6; border-radius: 10px; padding: 10px 4px 8px; font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.1; }
.course-pick span small { display: block; font-size: 10.5px; font-weight: 600; color: var(--grey); margin-top: 2px; }
.course-pick input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.course-pick input:checked + span small { color: rgba(255, 255, 255, .8); }
.course-pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 57, 166, .25); }
.code-input { letter-spacing: .5em; font-size: 22px !important; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.login-alt { margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.logos-row { display: flex; gap: 18px; align-items: center; margin-top: 28px; opacity: .9; }
.logos-row img { height: 30px; }

/* шкала 360 */
.r360 { display: flex; gap: 3px; flex-wrap: wrap; }
.r360 label { position: relative; }
.r360 input { position: absolute; opacity: 0; }
.r360 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 1px solid #cfd7e6; font-weight: 700; font-size: 13px; cursor: pointer; background: #fff; }
.r360 input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.r360 input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 57, 166, .25); }

.empty { text-align: center; color: var(--ink-2); padding: 28px 10px; }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
details.more summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: 13px; }
.files { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.files a { display: inline-flex; align-items: center; gap: 5px; background: #f0f4fb; border-radius: 6px; padding: 3px 8px; font-size: 12px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13.5px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding-left: 34px; position: relative; margin-bottom: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }

/* ---------- адаптивность */
@media (max-width: 1100px) {
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .side { position: fixed; top: 64px; left: 0; bottom: 0; width: 270px; height: auto; z-index: 30; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
  body.nav-open .side { transform: none; }
  .menu-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar .app-name { display: none; }
  .main { padding: 18px 16px 40px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-hero { padding: 28px 22px; min-height: 0; }
  .login-hero h1 { font-size: 26px; margin-top: 28px; }
  .login-form { padding: 28px 18px 40px; }
  .hero .big { font-size: 44px; }
}
@media (max-width: 520px) {
  .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .who { display: none; }
  .tile .t-val { font-size: 23px; }
  .hero { padding: 20px; }
}
/* ---- Календарь мероприятий (студент) ---- */
.cal { padding: 4px 20px 8px; }
.cal-mon { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin: 18px 0 4px; }
.cal-mon::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cal-mon small { font-weight: 600; letter-spacing: 0; text-transform: none; }
.cal-row { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cal-row:last-child { border-bottom: 0; }
.cal-d { --k: var(--blue); --kt: #eef3fc; width: 58px; flex: none; text-align: center; border-radius: 11px; padding: 7px 0 6px; background: var(--kt); color: var(--k); position: relative; overflow: hidden; }
.cal-d b { display: block; font-size: 23px; line-height: 1; font-weight: 800; position: relative; }
.cal-d i { font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; position: relative; }
.cal-d.k-trip { --k: var(--red); --kt: #fdecf1; }
.cal-d.k-sport { --k: #1f8a89; --kt: #e1f4f3; }
.cal-d.k-other { --k: #0083c0; --kt: #e2f3fc; }
.cal-d.done { background: var(--k); color: #fff; }
.cal-d.wait { background: #fff; box-shadow: inset 0 0 0 2px var(--k); }
.cal-d.no { background: #f1f2f5; color: var(--grey); }
.cal-t { flex: 1; min-width: 0; }
.cal-t > b { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; }
.cal-meta { color: var(--ink-2); font-size: 12px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.kchip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: #e3ecfd; color: var(--blue); }
.kchip.trip { background: #fdecf1; color: var(--red); }
.kchip.sport { background: #e1f4f3; color: #1f8080; }
.kchip.other { background: #e2f3fc; color: #0072a8; }
.kchip.own { background: var(--red); color: #fff; }
.cal-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cal-note { font-size: 11.5px; font-weight: 600; color: var(--warn); }
.stchip { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }
.stchip.ok { background: var(--ok-bg); color: var(--ok); }
.stchip.err { background: var(--err-bg); color: var(--err); }
.cal-d { overflow: visible; }
.cal-clock { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--k, var(--blue)), 0 1px 3px rgba(0,0,0,.15); z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5470' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat; }
.cal-role { font-size: 12px; font-weight: 700; color: #1f8080; background: #e1f4f3; padding: 3px 10px; border-radius: 20px; }
.cal-legend { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 12px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cl-d { --k: var(--blue); position: relative; width: 22px; height: 20px; border-radius: 6px; background: #eef3fc; display: inline-block; }
.cl-d.wait { margin-right: 4px; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.cl-d.done { background: var(--blue); }
.cl-d .cal-clock { width: 13px; height: 13px; top: -5px; right: -5px; background-size: 9px; box-shadow: 0 0 0 1.5px var(--blue); }
/* переключатель «был(а)» */
.tgl { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-2); user-select: none; }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tgl .sw { width: 44px; height: 24px; border-radius: 20px; background: #d5dbe7; position: relative; transition: background .15s; flex: none; }
.tgl .sw::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tgl input:checked + .sw { background: var(--blue); }
.tgl input:checked + .sw::after { left: 23px; }
.tgl input:checked ~ .tx { color: var(--blue); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--sky); outline-offset: 2px; }
.tgl input:disabled + .sw { opacity: .5; }
/* выбор роли в спорте */
.rseg { display: inline-flex; background: #eef1f6; border-radius: 10px; padding: 3px; gap: 2px; }
.rseg label { position: relative; cursor: pointer; }
.rseg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rseg span { display: block; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.rseg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.rseg input[value=participant]:checked + span { background: var(--teal); color: #fff; }
.rseg input[value=fan]:checked + span { background: #1f8080; color: #fff; }
.rseg input:focus-visible + span { outline: 2px solid var(--sky); }
.rseg input:disabled + span { opacity: .55; cursor: default; }
.cal-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); background: #fafbfe; border-radius: 0 0 var(--radius) var(--radius); }
.add-ev summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; }
.add-ev summary::-webkit-details-marker { display: none; }
.add-ev .plus { width: 58px; height: 52px; border-radius: 11px; border: 2px dashed #b9c8e6; color: var(--blue); display: grid; place-items: center; font-size: 26px; font-weight: 500; flex: none; }
.add-ev[open] .plus { background: var(--blue); border-color: var(--blue); color: #fff; }
.add-ev .kpick { display: flex; gap: 8px; flex-wrap: wrap; }
.add-ev .kpick label { position: relative; cursor: pointer; }
.add-ev .kpick input { position: absolute; opacity: 0; }
.add-ev .kpick span { display: block; padding: 8px 14px; border-radius: 9px; border: 1.5px solid #c5d2ea; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.add-ev .kpick input:checked + span { border-color: var(--blue); background: #eef3fc; color: var(--blue); }
.add-ev .sport-only { display: none; }
.add-ev.is-sport .sport-only { display: block; }
/* шапка календаря с паттерном и вкладки месяцев */
.ev-band { color: #fff; border-radius: var(--radius) var(--radius) 0 0; padding: 18px 20px 16px;
  background: linear-gradient(90deg, rgba(5, 34, 140, .98) 0%, rgba(5, 34, 140, .94) 45%, rgba(8, 44, 170, .25) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--blue); }
.ev-band-h { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-band-k { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .75; }
.ev-band-t { font-size: 24px; font-weight: 800; line-height: 1.15; }
.ev-legend { margin-left: auto; display: flex; gap: 12px; background: rgba(5, 34, 140, .72); padding: 6px 12px; border-radius: 20px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.ev-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; box-shadow: 0 0 0 1.5px rgba(255,255,255,.8); }
.lg.b { background: #4f7fff; } .lg.r { background: var(--red); } .lg.t { background: var(--teal); } .lg.s { background: var(--sky); }
.mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.mtab { flex: none; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); border-radius: 11px; padding: 8px 16px 7px; cursor: pointer; font: inherit; text-align: left; color: #fff; transition: background .12s, border-color .12s; backdrop-filter: blur(2px); }
.mtab b { display: block; font-size: 14px; font-weight: 700; }
.mtab small { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: rgba(255,255,255,.8); font-weight: 500; }
.mtab .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.mtab:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }
.mtab.on { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.mtab.on small { color: var(--ink-2); }
.mtab.on .dot { background: var(--red); }
.mtab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ev-band + .cal .cal-grp > .cal-mon { display: none; }
.ev-band + .cal { padding-top: 6px; }
/* плитки мероприятий: белые, цвет — в акцентах */
.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.ptile { --pc: var(--blue); --pt: #eef3fc; background: #fff; border-radius: var(--radius); padding: 16px 18px; min-height: 128px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.ptile.r { --pc: var(--red); --pt: #fdecf1; }
.ptile.t { --pc: #1f8a89; --pt: #e1f4f3; }
.ptile.s { --pc: #0083c0; --pt: #e2f3fc; }
.pt-name { font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.pt-name::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--pc); flex: none; }
.pt-val { font-size: 30px; font-weight: 800; line-height: 1.1; margin-top: 8px; color: var(--pc); }
.pt-val small { font-size: 14px; font-weight: 600; color: var(--grey); }
.pt-val.word { font-size: 20px; margin-top: 12px; }
.pt-val.word.off { color: var(--ink-2); }
.pt-bar { height: 6px; background: var(--pt); border-radius: 6px; margin-top: 10px; overflow: hidden; }
.pt-bar i { display: block; height: 100%; background: var(--pc); border-radius: 6px; }
.pt-note { font-size: 11.5px; margin-top: auto; padding-top: 8px; color: var(--ink-2); }
/* блок добавления — лёгкий паттерн справа */
.add-ev { background: url("/static/img/pattern-strip.jpg") right -10px top -40px / 150px auto no-repeat, #fff; }
.add-ev[open] { background-position: right -10px top -40px; }
@media (max-width: 900px) { .ptiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ev-legend { margin-left: 0; } .ev-band-t { font-size: 20px; } .add-ev { background: #fff; } }
@media (max-width: 640px) {
  .cal { padding: 4px 14px 8px; }
  .cal-row { flex-wrap: wrap; gap: 12px; }
  .cal-t { flex-basis: calc(100% - 74px); }
  .cal-side { width: 100%; align-items: flex-start; padding-left: 74px; }
}

/* достижения: вкладки направлений и плашки баллов */
.ach-band { border-radius: var(--radius); margin-bottom: 14px; min-width: 0; max-width: 100%; overflow: hidden; }
.ev-band .mtabs { max-width: 100%; }
.ach-band .mtab { text-decoration: none; }
.ach-band .mtab .dot { background: var(--dc, #fff); box-shadow: 0 0 0 1.5px rgba(255,255,255,.8); }
.ach-band .mtab.on .dot { background: var(--dc); box-shadow: none; }
.dt-project, .d-project { --dc: #4f7fff; --k: var(--blue); --kt: #eef3fc; }
.dt-science, .d-science { --dc: var(--teal); --k: #1f8a89; --kt: #e1f4f3; }
.dt-sport, .d-sport { --dc: var(--sky); --k: #0083c0; --kt: #e2f3fc; }
.dt-volunteer, .d-volunteer { --dc: var(--red); --k: var(--red); --kt: #fdecf1; }
.dt-culture, .d-culture { --dc: #f0a500; --k: #b37700; --kt: #fdf3dc; }
.ach-dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: var(--k); margin-right: 10px; vertical-align: 1px; }
.ach-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.ach-row .ttl { font-weight: 600; font-size: 14px; }
.ach-row .meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.ach-pts { position: relative; width: 66px; flex: none; text-align: center; border-radius: 11px; padding: 8px 0 7px; background: var(--kt); color: var(--k); }
.ach-pts b { display: block; font-size: 22px; line-height: 1; font-weight: 800; }
.ach-pts i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.ach-pts.done { background: var(--k); color: #fff; }
.ach-pts.wait { background: #fff; box-shadow: inset 0 0 0 2px var(--k); }
.ach-pts.back, .ach-pts.no { background: #fff; box-shadow: inset 0 0 0 2px var(--red); color: var(--red); }
.ach-pts.no b { text-decoration: line-through; }
.ach-st { font-size: 12px; font-weight: 600; color: var(--grey); margin-top: 6px; }
.ach-st.back, .ach-st.no { color: var(--red); }
.ach-body .cl-d { background: var(--kt); }
.ach-body .cl-d.wait { background: #fff; box-shadow: inset 0 0 0 2px var(--k); }
.ach-body .cl-d.done { background: var(--k); }
.ach-body .cl-d .cal-clock { box-shadow: 0 0 0 1.5px var(--k); }
.ach-body .cal-clock { box-shadow: 0 0 0 2px var(--k), 0 1px 3px rgba(0,0,0,.15); }
.ach-body .cal-legend { margin-left: 0; }
/* достижения: панель, плитки, диалог */
.ach-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fchips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip { border: 1.5px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 13px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.fchip span { color: var(--grey); font-weight: 500; margin-left: 2px; }
.fchip:hover { border-color: #b9c8e6; }
.fchip.on { background: var(--k, var(--blue)); border-color: var(--k, var(--blue)); color: #fff; }
.fchip.on span { color: rgba(255,255,255,.8); }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-bottom: 12px; }
.ach-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.ach-tile[hidden] { display: none; }
.ach-top { display: flex; gap: 12px; align-items: center; margin-bottom: 2px; }
.ach-kind { min-width: 0; }
.ach-kind b { display: block; font-size: 13px; color: var(--k); line-height: 1.3; }
.ach-kind span { font-size: 12px; color: var(--ink-2); }
.ach-tile .ttl { font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.ach-tile .desc { font-size: 12.5px; color: var(--ink-2); }
.ach-tile .files { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; }
.ach-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.ach-foot .ach-st { margin: 0; }
.ach-add { border: 2px dashed #c5d2ea; box-shadow: none; background: transparent; align-items: center; justify-content: center; text-align: center; cursor: pointer; font: inherit; color: var(--ink); }
.ach-add:hover { border-color: var(--k); background: #fff; }
.ach-add .plus, .ach-empty .plus { width: 46px; height: 46px; border-radius: 12px; background: var(--kt); color: var(--k); display: grid; place-items: center; font-size: 26px; font-weight: 500; }
.ach-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ach-empty > div:nth-child(2) { flex: 1; min-width: 220px; }
.ach-dlg { border: 0; padding: 0; border-radius: 14px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 20px 60px rgba(10, 25, 70, .35); }
.ach-dlg::backdrop { background: rgba(10, 25, 70, .45); }
.ach-dlg .ach-form { padding: 22px 24px 24px; }
.dlg-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; position: sticky; top: -22px; background: #fff; padding: 22px 0 10px; margin-top: -22px; z-index: 2; }
.dlg-head h2 { flex: 1; margin: 0; }
.dlg-head h2 small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin: 4px 0 0 22px; }
.dlg-x { border: 0; background: #eef1f6; width: 34px; height: 34px; border-radius: 9px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.dlg-x:hover { background: #e2e7f0; }
/* выбор файла на русском */
.fpick { position: relative; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; max-width: 100%; }
.fpick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.fpick .btn { pointer-events: none; }
.fpick-t { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.fpick.has .fpick-t { color: var(--ink); font-weight: 600; }
.fpick.bad .btn { box-shadow: 0 0 0 2px var(--red); }
.fpick.bad .fpick-t { color: var(--red); }
.fpick input:focus-visible ~ .btn { outline: 2px solid var(--sky); outline-offset: 2px; }
/* поле даты на русском */
.dp { position: relative; display: inline-flex; align-items: center; width: 170px; max-width: 100%; flex: none; vertical-align: middle; }
.dp .dp-in { padding-right: 40px; width: 100% !important; min-width: 0; letter-spacing: .02em; }
.dp .dp-in.w-md, .dp .dp-in.w-sm { width: 100%; }
.dp-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.dp-btn:hover { background: #eef3fc; color: var(--blue); }
.dp.bad .dp-in { border-color: var(--red); }
.dp-pop { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; width: 272px; background: #fff; border-radius: 12px; box-shadow: 0 12px 36px rgba(10, 25, 70, .22), 0 0 0 1px var(--line); padding: 12px; }
.dp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-head b { font-size: 14px; }
.dp-nav { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #eef1f6; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.dp-nav:hover { background: #e2e7f0; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-wd { font-size: 11px; font-weight: 700; color: var(--grey); text-align: center; padding: 4px 0; }
.dp-wd.we, .dp-d.we { color: var(--red); }
.dp-d { height: 34px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.dp-d:hover { background: #eef3fc; }
.dp-d.today { box-shadow: inset 0 0 0 1.5px var(--blue); }
.dp-d.on { background: var(--blue); color: #fff; }
.dp-d:disabled { color: #c3c8d2; cursor: default; background: transparent; }
.dp-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.dp-link { border: 0; background: none; color: var(--blue); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.dp-link:hover { background: #eef3fc; }
/* достижения: сводка, фильтр по направлениям, просмотр */
.ach-band .ev-band-h { margin-bottom: 12px; }
.ach-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.ach-stat { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.28); border-radius: 11px; padding: 8px 16px 9px; min-width: 110px; }
.ach-stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; }
.ach-stat b small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.78); }
.ach-stat span { font-size: 11.5px; opacity: .85; }
.ach-stat.wide { min-width: 240px; flex: 0 1 300px; }
.ach-bar { height: 6px; background: rgba(255,255,255,.25); border-radius: 6px; margin: 6px 0 4px; overflow: hidden; }
.ach-bar i { display: block; height: 100%; background: #fff; border-radius: 6px; }
.ach-filter { margin-bottom: 14px; }
.fdot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--k); margin-right: 7px; vertical-align: 0; }
.fchip.on .fdot { background: #fff; }
.ach-dir { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 1px; }
.ach-top { align-items: flex-start; }
.ach-kind { flex: 1; }
.ach-date { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #f1f4f9; border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.ach-date:empty { display: none; }
.ach-tile[data-open-view] { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.ach-tile[data-open-view]:hover { box-shadow: 0 4px 10px rgba(16,38,92,.08), 0 14px 32px rgba(16,38,92,.1); transform: translateY(-1px); }
.ach-tile[data-open-view]:focus-visible { outline: 2px solid var(--k); outline-offset: 2px; }
.ach-tile .ach-foot { border-top: 1px solid var(--line); }
.ach-pts i { text-transform: none; }
.ach-legend { margin: 4px 0 14px; --k: var(--blue); --kt: #eef3fc; }
.ach-legend .cl-d { background: #e3ebfa; }
.ach-legend .cl-d.wait { background: #fff; box-shadow: inset 0 0 0 2px var(--k); }
.ach-legend .cl-d.done { background: var(--k); }
.ach-empty-f { padding: 8px 2px 16px; }
.dirpick { display: flex; gap: 8px; flex-wrap: wrap; }
.dirpick label { position: relative; cursor: pointer; }
.dirpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dirpick span { display: inline-flex; align-items: center; padding: 8px 13px; border-radius: 9px; border: 1.5px solid #c5d2ea; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.dirpick input:checked + span { border-color: var(--k); background: var(--kt); color: var(--ink); }
.dirpick input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.ach-view .av-top { display: flex; gap: 14px; align-items: center; background: #f6f8fc; border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; }
.av-status { font-weight: 700; font-size: 15px; }
.av-status.done { color: var(--ok); } .av-status.back, .av-status.no { color: var(--red); }
.av-dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; margin: 0 0 18px; font-size: 14px; }
.av-dl dt { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.av-dl dd { margin: 0; overflow-wrap: anywhere; }
.ach-dlg .dlg-head h2 small { margin-left: 22px; }
@media (max-width: 640px) { .av-dl { grid-template-columns: 1fr; gap: 2px 0; } .av-dl dd { margin-bottom: 8px; } .ach-stat { min-width: 0; flex: 1 1 40%; } .ach-stat.wide { flex-basis: 100%; } }
.ach-nodoc { color: var(--red); font-weight: 600; font-size: 13px; }
.ach-nodoc.sm { font-size: 11.5px; background: var(--err-bg); padding: 2px 9px; border-radius: 20px; }
/* проекты студента: плитки */
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 12px; }
.pj-tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.pj-tile.off { opacity: .72; }
.pj-kind { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.pj-title { font-size: 17px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.pj-role { font-size: 13px; color: var(--ink-2); }
.pj-score { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.pj-score b { font-size: 34px; font-weight: 800; color: var(--blue); line-height: 1; }
.pj-score b.none { color: #c3c8d2; }
.pj-score span { font-size: 12.5px; color: var(--ink-2); }
.pj-parts { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.pj-parts b { color: var(--ink); }
.pj-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); min-height: 50px; margin-top: 14px; }
.pj-ok { font-size: 12.5px; font-weight: 700; color: var(--ok); }
.pj-brs { font-size: 12.5px; font-weight: 700; }
.pj-brs-on { font-size: 11.5px; font-weight: 700; color: var(--blue); background: #eef3fc; padding: 3px 9px; border-radius: 20px; }
.pj-brs-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: #fff; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; box-shadow: var(--shadow); }
.pj-brs-bar .muted { flex: 1; min-width: 260px; }
.pj-tile[data-open-view] { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.pj-tile[data-open-view]:hover { box-shadow: 0 4px 10px rgba(16,38,92,.08), 0 14px 32px rgba(16,38,92,.1); transform: translateY(-1px); }
.pj-tile[data-open-view]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.pj-more { font-size: 12.5px; font-weight: 600; color: var(--blue); }
.pj-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pj-team li span { color: var(--ink-2); font-size: 13px; }
.pj-team li.me b { color: var(--blue); }
.pj-team li.me::after { content: " — это вы"; font-size: 12px; color: var(--blue); }
#pjDlg .dlg-head h2 small { margin-left: 0; }
/* неопознанные участники реестров */
.unm-list { display: grid; gap: 10px; margin-bottom: 14px; }
.unm { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.1fr); gap: 18px; align-items: start; margin: 0; }
.unm-k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.unm-fio { font-size: 17px; font-weight: 800; margin: 2px 0 3px; }
.unm-act .lbl { margin-bottom: 6px; }
.unm-cands { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.unm-act .linkbtn { margin-top: 8px; font-size: 12.5px; }
@media (max-width: 760px) { .unm { grid-template-columns: 1fr; } }
/* исследования студента: этапы */
.rs-steps { list-style: none; margin: 12px 0 0; padding: 0; position: relative; }
.rs-steps li { position: relative; display: flex; align-items: baseline; gap: 8px; padding: 0 0 9px 22px; font-size: 13px; }
.rs-steps li::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 2px; background: var(--line); }
.rs-steps li:last-child::before { display: none; }
.rs-steps li i { position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #c7cfdd; }
.rs-steps li span { flex: 1; color: var(--ink); }
.rs-steps li time { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.rs-steps li b { font-size: 12px; min-width: 20px; text-align: center; border-radius: 6px; padding: 0 5px; background: #e1f4f3; color: #1f8080; }
.rs-steps li.past i { background: #c7cfdd; box-shadow: none; }
.rs-steps li.now i { box-shadow: inset 0 0 0 3px var(--teal); }
.rs-steps li.now span { font-weight: 700; }
.rs-steps li.s2 i, .rs-steps li.s1 i { background: var(--teal); box-shadow: none; }
.rs-steps li.s1 i { background: #8fd3d2; }
.rs-steps li.s0 i { background: var(--red); box-shadow: none; }
.rs-steps li.s0 b { background: var(--err-bg); color: var(--err); }
.rs-steps li.fin span { font-weight: 700; }
.rs-steps li.fin i { border-radius: 3px; }
.rs-steps li.empty { color: var(--ink-2); padding-left: 0; }
.rs-steps li.empty span { color: var(--ink-2); }
.rs-tile .pj-score b { color: #1f8a89; }
.rs-tile .pj-score b.none { color: #c3c8d2; }
.rs-next { flex-basis: 100%; }
.rs-tile .pj-foot .grow { display: none; }
.rs-next { font-size: 12px; font-weight: 600; color: #1f8080; }
.rs-band { background: linear-gradient(90deg, rgba(25, 110, 115, .98) 0%, rgba(31, 128, 128, .94) 45%, rgba(65, 185, 184, .3) 100%), url("/static/img/hero.jpg") right center / cover no-repeat, var(--teal); }
/* шапка раздела студента */
.phero { color: #fff; border-radius: 14px; padding: 22px 24px 20px; margin-bottom: 16px; box-shadow: var(--shadow);
  background: linear-gradient(90deg, rgba(5, 34, 140, .98) 0%, rgba(5, 34, 140, .94) 48%, rgba(8, 44, 170, .25) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--blue); }
.phero.t-teal { background: linear-gradient(90deg, rgba(25, 110, 115, .98) 0%, rgba(31, 128, 128, .94) 48%, rgba(65, 185, 184, .3) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--teal); }
.phero.t-sky { background: linear-gradient(90deg, rgba(0, 92, 160, .98) 0%, rgba(0, 110, 180, .94) 48%, rgba(0, 159, 227, .3) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, var(--sky); }
.phero.t-dark { background: linear-gradient(90deg, rgba(10, 22, 70, .98) 0%, rgba(16, 32, 92, .94) 48%, rgba(30, 50, 130, .3) 100%),
              url("/static/img/hero.jpg") right center / cover no-repeat, #0a1646; }
.phero-top { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.phero-h { flex: 1; min-width: 240px; }
.phero-k { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.phero h1 { color: #fff; font-size: 30px; font-weight: 800; line-height: 1.15; margin: 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phero-i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); color: #fff;
  font: italic 700 15px/1 Georgia, "Times New Roman", serif; cursor: pointer; display: inline-grid; place-items: center; flex: none; transition: background .12s; }
.phero-i:hover { background: #fff; color: var(--blue); }
.phero-i:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.phero-mod select { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.4); font-weight: 600;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; -webkit-appearance: none; appearance: none; }
.phero-mod select option { color: var(--ink); }
.phero-mod select.w-lg { width: auto !important; max-width: 340px; }
.phero-mod select:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.35); border-color: #fff; }
.phero-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.phero .ach-stat { backdrop-filter: blur(2px); }
.phero .ach-stat b small { color: rgba(255,255,255,.78); }
.phero-note { font-size: 12.5px; opacity: .9; margin-top: 10px; max-width: 680px; }
.info-lead { font-size: 14.5px; margin: 4px 0 12px; }
.info-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.info-list li { display: flex; gap: 12px; align-items: baseline; padding: 9px 12px; background: #f6f8fc; border-radius: 9px; font-size: 13.5px; line-height: 1.45; }
.info-list li span { flex: 1; }
.info-list li em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.info-dlg .dlg-head h2 small { margin-left: 0; }
@media (max-width: 640px) { .phero { padding: 18px 16px; } .phero h1 { font-size: 24px; } .phero-mod, .phero-mod form, .phero-mod select { width: 100% !important; } }
.ev-band.light { background: #eef3fc; color: var(--ink); }
.ev-band.light .ev-band-k { color: var(--grey); opacity: 1; }
.ev-band.light .ev-band-t { color: var(--blue); }
.ev-band.light .ev-legend { background: #fff; color: var(--ink-2); }
.ev-band.light .lg { box-shadow: none; }
.ev-band.light .mtab { background: #fff; border-color: #d5dff0; color: var(--ink); }
.ev-band.light .mtab small { color: var(--ink-2); }
.ev-band.light .mtab .dot { background: var(--blue); }
.ev-band.light .mtab:hover { border-color: #9fb5dd; background: #fff; }
.ev-band.light .mtab.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(0,57,166,.25); }
.ev-band.light .mtab.on small { color: rgba(255,255,255,.85); }
.ev-band.light .mtab.on .dot { background: #fff; }
/* динамика места */
.dl { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; vertical-align: middle; }
.dl.up { background: var(--ok-bg); color: var(--ok); }
.dl.down { background: var(--err-bg); color: var(--err); }
.dl.same { background: #eef1f6; color: var(--grey); }
.dl.new { background: #eef3fc; color: var(--blue); font-weight: 600; }
.phero .dl { font-size: 13px; margin-left: 6px; }
.phero .dl.same { background: rgba(255,255,255,.18); color: #fff; }
.phero .dl.new { background: rgba(255,255,255,.18); color: #fff; }
.phero .dl.up { background: #e6f5ee; } .phero .dl.down { background: #fde8ee; }
.ach-stat.hist span { display: block; margin-bottom: 4px; }
.hist-row { display: flex; align-items: center; gap: 8px; }
.hist-row div { text-align: center; opacity: .75; }
.hist-row div.cur { opacity: 1; }
.hist-row div b { display: block; font-size: 20px; line-height: 1.1; }
.hist-row div i { font-style: normal; font-size: 11px; }
.hist-row em { font-style: normal; opacity: .6; }
/* эффект «живой» шапки (как карточки Apple TV): блик за курсором, параллакс узора, наклон плиток */
.phero.fx { position: relative; overflow: hidden; isolation: isolate; --mx: .7; --my: .3; --px: 0; --py: 0;
  background: var(--fx-base, var(--blue)); }
.phero.fx.t-teal { --fx-base: var(--teal); --fx-grad: linear-gradient(90deg, rgba(25, 110, 115, .98) 0%, rgba(31, 128, 128, .94) 48%, rgba(65, 185, 184, .3) 100%); }
.phero.fx.t-sky { --fx-base: var(--sky); --fx-grad: linear-gradient(90deg, rgba(0, 92, 160, .98) 0%, rgba(0, 110, 180, .94) 48%, rgba(0, 159, 227, .3) 100%); }
.phero.fx.t-dark { --fx-base: #0a1646; --fx-grad: linear-gradient(90deg, rgba(10, 22, 70, .98) 0%, rgba(16, 32, 92, .94) 48%, rgba(30, 50, 130, .3) 100%); }
.phero.fx::before { content: ""; position: absolute; inset: -14px; z-index: -2; pointer-events: none;
  background: url("/static/img/hero.jpg") right center / cover no-repeat;
  transform: translate3d(calc(var(--px) * -12px), calc(var(--py) * -8px), 0) scale(1.03); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.phero.fx::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--fx-grad, linear-gradient(90deg, rgba(5, 34, 140, .98) 0%, rgba(5, 34, 140, .94) 48%, rgba(8, 44, 170, .25) 100%)); }
.phero.fx .fx-glare { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(255,255,255,.22), rgba(255,255,255,.06) 35%, transparent 60%); mix-blend-mode: soft-light; }
.phero.fx .fx-shine { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(255,255,255,.16), transparent 70%); }
.phero.fx.hot .fx-glare, .phero.fx.hot .fx-shine { opacity: 1; }
.phero.fx > .phero-top, .phero.fx > .phero-stats { position: relative; z-index: 1; }
.phero.fx .phero-stats { perspective: 700px; }
.phero.fx .ach-stat { position: relative; overflow: hidden; transform-style: preserve-3d; will-change: transform;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s; --tx: 0; --ty: 0; --sx: 50%; --sy: 50%; }
.phero.fx .ach-stat::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(180px circle at var(--sx) var(--sy), rgba(255,255,255,.32), transparent 65%); }
.phero.fx .ach-stat.tilt { transform: rotateX(calc(var(--ty) * -7deg)) rotateY(calc(var(--tx) * 9deg)) translateZ(6px);
  background: rgba(255,255,255,.16); box-shadow: 0 14px 30px rgba(0, 10, 50, .35); transition: transform .08s linear, box-shadow .35s, background .35s; }
.phero.fx .ach-stat.tilt::after { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .phero.fx::before { transform: none !important; }
  .phero.fx .fx-glare, .phero.fx .fx-shine { display: none; }
  .phero.fx .ach-stat.tilt { transform: none; }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .phero.fx .fx-shine { display: block; opacity: 1; animation: fxdrift 9s ease-in-out infinite alternate; }
  @keyframes fxdrift { from { --mx: .2; } to { --mx: .9; } }
}
/* «Как начислены баллы» */
.b-project { --k: var(--blue); --kt: #eef3fc; }
.b-research { --k: #1f8a89; --kt: #e1f4f3; }
.b-initiative { --k: #0083c0; --kt: #e2f3fc; }
.b-achievements { --k: var(--red); --kt: #fdecf1; }
.b-study { --k: #5b5f6b; --kt: #eef0f4; }
.phero .ach-stat.pick { color: #fff; text-decoration: none; cursor: pointer; min-width: 0; flex: 1 1 110px; max-width: 170px; }
.dt-stats-total { flex: 1 1 200px; }
.phero .ach-stat.pick:hover { background: rgba(255,255,255,.2); }
.phero .ach-stat.pick.on { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.phero .ach-stat.pick.on b small, .phero .ach-stat.pick.on span { color: var(--ink-2); opacity: 1; }
.phero.fx .ach-stat.pick.on.tilt { background: #fff; }
.dt-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 4px 0 12px; }
.dt-head h2 { margin: 0; font-size: 19px; }
.dt-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--k); align-self: center; }
.dt-grid { margin-bottom: 14px; }
.dt-tile { min-height: 0; cursor: default; }
.dt-tile.off { opacity: .7; }
.dt-parts { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.dt-parts b { color: var(--ink); }
.dt-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.dt-tile .rs-steps { margin-top: 4px; }
.dt-pen { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 16px; font-size: 13.5px; }
.dt-pen b { color: var(--err); }
.t-more { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--blue); }
/* Обзор: путь модуля, что сделать, минимум и стипендия */
.mpath { padding: 20px 22px; }
.mp-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.mp-head h2 { margin: 0; }
.mp-head form { margin: 0; }
.mp-chip { font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 20px; background: #eef1f6; color: var(--ink-2); }
.mp-steps { list-style: none; margin: 0; padding: 0; display: flex; }
.mp-steps li { flex: 1; text-align: center; position: relative; font-size: 12px; color: var(--ink-2); padding: 0 4px; }
.mp-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: #d5dbe7; }
.mp-steps li:first-child::before { display: none; }
.mp-steps li.done::before, .mp-steps li.cur::before { background: var(--blue); }
.mp-steps i { position: relative; z-index: 1; display: grid; place-items: center; margin: 0 auto 8px; width: 32px; height: 32px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 2px #c3c8d2; font-style: normal; font-weight: 800; color: var(--grey); font-size: 13px; }
.mp-steps li.done i { background: var(--blue); box-shadow: none; color: #fff; }
.mp-steps li.cur i { box-shadow: inset 0 0 0 3px var(--blue), 0 0 0 5px rgba(0,57,166,.12); color: var(--blue); }
.mp-steps b { display: block; font-size: 12.5px; color: var(--ink); font-weight: 600; line-height: 1.3; }
.mp-steps li.cur b { font-weight: 800; color: var(--blue); }
.mp-steps span { display: block; font-size: 11.5px; margin-top: 2px; }
.mp-todo { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.mp-todo-h { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.todo { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; background: #f6f8fc; margin-bottom: 7px; font-size: 13.5px; color: var(--ink); text-decoration: none; transition: background .12s; }
a.todo:hover { background: #eaf0fb; text-decoration: none; }
.todo .n { width: 24px; height: 24px; border-radius: 7px; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.todo.warn .n { background: var(--red); }
.todo.done .n { background: var(--ok); }
.todo .tx { flex: 1; }
.todo .go { font-weight: 700; color: var(--blue); font-size: 12.5px; white-space: nowrap; }
.ov-two { align-items: stretch; }
.ov-c { display: flex; flex-direction: column; margin: 0; }
.ov-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ov-h h2 { margin: 0; }
.conds { display: grid; gap: 6px; }
.conds.two { grid-template-columns: 1fr 1fr; }
.cond { display: flex; gap: 9px; align-items: center; font-size: 13px; padding: 8px 10px; background: #f6f8fc; border-radius: 9px; }
.cond em { font-style: normal; margin-left: auto; font-weight: 700; padding-left: 6px; }
.cond .mk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; flex: none; }
.cond .mk.ok { background: var(--ok); } .cond .mk.no { background: var(--red); } .cond .mk.wait { background: #c3c8d2; }
.ov-foot { margin: auto 0 0; padding-top: 12px; font-size: 12px; }
@media (max-width: 760px) {
  .mp-steps { flex-direction: column; gap: 0; }
  .mp-steps li { text-align: left; padding: 0 0 12px 44px; min-height: 40px; }
  .mp-steps li::before { left: 15px; top: -12px; width: 3px; height: 24px; }
  .mp-steps i { position: absolute; left: 0; top: 0; margin: 0; }
  .conds.two { grid-template-columns: 1fr; }
}
.mp-head .grow, .ov-h .grow { flex: 1; }
/* инициативы */
.k-own { --dc: #33b4ef; --k: #0083c0; --kt: #e2f3fc; }
.k-dir { --dc: #4f7fff; --k: var(--blue); --kt: #eef3fc; }
.k-fund { --dc: #f0a500; --k: #b37700; --kt: #fdf3dc; }
.k-ig { --dc: var(--teal); --k: #1f8a89; --kt: #e1f4f3; }
.k-star { --dc: #a46ad6; --k: #7a3fb0; --kt: #f1e9fa; }
.k-att { --dc: #9aa0ab; --k: #5b5f6b; --kt: #eef0f4; }
.ach-filter .fchip.on { background: var(--k, var(--blue)); border-color: var(--k, var(--blue)); }
.ig-conds { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.ig-conds .ok { color: var(--ok); font-weight: 600; } .ig-conds .no { color: var(--err); font-weight: 600; }
.ikind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ikind label { position: relative; cursor: pointer; }
.ikind input { position: absolute; opacity: 0; }
.ikind span { display: block; height: 100%; border: 1.5px solid #c5d2ea; border-radius: 11px; padding: 10px 12px; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.ikind span b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.ikind span em { display: block; font-style: normal; font-weight: 800; margin-top: 5px; color: var(--blue); }
.ikind input:checked + span { border-color: var(--blue); background: #eef3fc; box-shadow: 0 0 0 3px rgba(0,57,166,.1); }
.ikind input:disabled + span { opacity: .45; cursor: default; }
.ikind input:focus-visible + span { outline: 2px solid var(--sky); }
@media (max-width: 640px) { .ikind { grid-template-columns: 1fr; } }
@media print {
  .side, .topbar, .btn, form.noprint { display: none !important; }
  .layout { display: block; }
  .card, .tile { box-shadow: none; border: 1px solid var(--line); }
}
