/* Кабинет Инвестиционной карты ДНР — то же светлое оформление, что у карты. */
@font-face { font-family: "Kekur"; src: url("/vendor/fonts/kekur-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "PT Root UI"; src: url("/vendor/fonts/ptroot-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PT Root UI"; src: url("/vendor/fonts/ptroot-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "PT Root UI"; src: url("/vendor/fonts/ptroot-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* золото айдентики Республики; --brand-2 темнее для ссылок на светлом, --brand-ink — заголовки */
  --brand: #b88c46; --brand-ink: #55391a; --brand-2: #8a6229; --brand-soft: #f6efe2; --brand-line: #e0cba4;
  --text: #1b2026; --muted: #6d7681; --line: #e6dccb; --bg: #f6f2ea; --chip: #faf6ee;
  --red: #b42318; --warn-bg: #fff6e5; --warn: #8a4b00; --ok-bg: #e7f6ee; --ok: #11683f;
  --shadow: 0 4px 18px rgba(85,57,26,.08), 0 1px 2px rgba(85,57,26,.06);
  --display: "Kekur", "PT Root UI", sans-serif; --ui: "PT Root UI", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 var(--ui); color: var(--text); background: var(--bg); }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font: 700 22px/1.2 var(--display); margin: 4px 0 4px; text-transform: uppercase; letter-spacing: .03em; color: var(--brand-ink); }
h2 { font-size: 16px; margin: 0 0 12px; }
h2 small { color: var(--muted); font-weight: 400; font-size: 13px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; } .red { color: var(--red); }
input, select, textarea, button { font: inherit; color: inherit; }

/* шапка */
.cab-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 0 20px; height: 58px; background: #fff; color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 2px 14px rgba(85,57,26,.07); }
.cab-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("/vendor/pattern.png") right center / auto 100% repeat-x; opacity: .07; }
.cab-top > * { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; flex: none; }
.brand-mark { width: 26px; height: 37px; display: block; }
.brand-mark.big { width: 40px; height: 57px; margin-bottom: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 700 17px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--brand-ink); }
.brand-text small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cab-nav { display: flex; gap: 2px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.cab-nav a { color: var(--brand-2); padding: 7px 10px; border-radius: 16px; white-space: nowrap; font-weight: 700; font-size: 13.5px; text-decoration: none; }
.cab-nav a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.cab-nav a.on { background: var(--brand); color: #1b2026; }
.cab-user { display: flex; align-items: center; gap: 8px; flex: none; }
.pill-btn { color: var(--brand-2); border: 1px solid var(--line); padding: 7px 14px; border-radius: 16px; font-weight: 700; text-decoration: none !important; }
.pill-btn:hover { border-color: var(--brand); color: var(--brand-ink); }
.who { position: relative; }
.who summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; line-height: 1.15; padding: 4px 10px; border-radius: 12px; }
.who summary::-webkit-details-marker { display: none; }
.who summary:hover { background: var(--brand-soft); }
.who summary small { color: var(--muted); font-size: 11.5px; }
.who-pop { position: absolute; right: 0; top: 44px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 180px; }
.who-pop a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); }
.who-pop a:hover { background: var(--brand-soft); text-decoration: none; }

.cab-main { max-width: 1320px; margin: 0 auto; padding: 22px 20px 60px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 0; max-width: 820px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumb { font-size: 13px; }

.card { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.card.narrow { max-width: 520px; margin: 40px auto; }
.card.narrow-l { max-width: 860px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card-head.pad { padding: 16px 20px 6px; margin: 0; }
.card-head h2 { margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid2 > .card { margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 19px; border: 1px solid var(--brand-line); background: #fff; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { background: var(--brand-soft); }
.btn.primary { background: var(--brand); color: #1b2026; border-color: var(--brand); }
.btn.primary:hover { background: #a4762f; }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.danger { color: var(--red); border-color: #f4c7c3; }
.btn.danger:hover { background: #fdeeee; }
.btn.small { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 15px; }
.btn.wide { width: 100%; }

.flash { padding: 11px 16px; border-radius: 12px; margin-bottom: 14px; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.err { background: #fdeeee; color: var(--red); }
.flash.info { background: var(--brand-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* плитки */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tiles.small { margin: 8px 0; }
.tile { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none !important; }
.tiles.small .tile { box-shadow: none; background: var(--chip); padding: 12px 14px; }
a.tile:hover { box-shadow: 0 0 0 2px var(--brand-line), var(--shadow); }
.tile b { font: 700 28px/1 var(--display); color: var(--brand); }
.tile span { font-weight: 700; font-size: 13px; }
.tile.warn b { color: #b54708; }

.dl-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--chip); }
.dl-bar.big { height: 18px; border-radius: 9px; margin: 6px 0 12px; }
.dl-bar a { display: block; }
.dl-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.dl-legend a { display: flex; align-items: center; gap: 8px; color: var(--text); }
.dl-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dl-legend b { margin-left: auto; }
.sub { font-size: 13px; margin: 18px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.urgent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.urgent li { display: grid; grid-template-columns: 82px 1fr; gap: 0 10px; align-items: start; }
.urgent .days { grid-row: span 2; color: #fff; font-size: 12px; font-weight: 700; text-align: center; padding: 4px 6px; border-radius: 10px; }
.urgent small { color: var(--muted); }
.log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.log time { color: var(--muted); font-size: 12px; }
.log.small { font-size: 12.5px; max-height: 360px; overflow: auto; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.quick a { background: var(--chip); padding: 6px 12px; border-radius: 14px; color: var(--text); }

/* поля */
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld > span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.fld em { font-style: normal; color: #98a2b3; font-weight: 400; }
.fld em.svc { color: #a15c00; }
.fld input:not([type=checkbox]):not([type=color]):not([type=file]), .fld select, .fld textarea,
.inline input, .inline select, .tbl.dict input:not([type=color]), .tbl.dict select, .coords-row input {
  height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 11px; background: #fff; width: 100%;
}
.fld textarea { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.4; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .coords-row input:focus { outline: 0; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(36,87,214,.12); }
.fld.check { flex-direction: row; align-items: center; gap: 8px; padding-top: 18px; }
.fld.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.fld.check span { color: var(--text); font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.fld-btns { display: flex; gap: 8px; align-items: end; }
.inline { display: inline-flex; gap: 6px; align-items: center; margin: 2px 0; }
.w-fio { width: 230px !important; } .w-pw { width: 140px !important; } .w-title { min-width: 260px; }

/* фильтры */
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 10px 12px; align-items: end; }
.filters .grow { grid-column: span 2; }

/* таблицы */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfd; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tbody tr:hover td { background: #fafcff; }
.tbl small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .n { width: 48px; color: var(--muted); }
.tbl .t-name { font-weight: 700; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tbl .empty { text-align: center; color: var(--muted); padding: 30px; }
.tbl .detail { font-size: 12.5px; color: #3b4556; }
.tbl .detail s { color: var(--muted); }
.nowrap { white-space: nowrap; }
.muted-row td { opacity: .55; }
.badge { display: inline-block; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; white-space: nowrap; }
.gap { display: inline-block; font-size: 11.5px; background: var(--warn-bg); color: var(--warn); padding: 1px 7px; border-radius: 8px; margin: 0 4px 3px 0; }
.tag { display: inline-block; background: var(--chip); padding: 3px 10px; border-radius: 10px; margin: 0 4px 6px 0; }
.band-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.band-tabs a { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 16px; color: var(--text); }
.band-tabs a.on { border-color: var(--brand); background: var(--brand-soft); }
.band-tabs i { width: 10px; height: 10px; border-radius: 50%; }

/* карточка проекта */
.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.edit-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup { padding: 4px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup h2 small { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 6px; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.fgrid .full { grid-column: 1 / -1; }
.coords-row { display: grid; grid-template-columns: 150px 150px 1fr auto; gap: 8px; margin-bottom: 8px; }
.pick-map { height: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #eef1f5; }
.form-foot { position: sticky; bottom: 0; display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 4px; background: linear-gradient(transparent, #fff 30%); }
.side .card { margin-bottom: 14px; }
.side { position: sticky; top: 74px; max-height: calc(100vh - 90px); overflow: auto; padding-bottom: 4px; }
.dl-box { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #fff; margin-bottom: 10px; }
.dl-box b { font: 700 26px/0.95 var(--display); }
.dl-box span { font-size: 12.5px; line-height: 1.3; }
.gaps { margin: 0 0 10px; padding-left: 18px; color: var(--warn); }
.row-gap { margin-top: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.thumbs figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--chip); }
.thumbs figure.cover { outline: 2px solid var(--brand); outline-offset: -2px; }
.thumbs > p { grid-column: 1 / -1; margin: 0; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.45)); }
.thumbs figcaption form { margin: 0; }
.thumbs figcaption button { border: 0; background: rgba(255,255,255,.9); border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 12px; }
.thumbs .cv { font-size: 10.5px; color: #fff; font-weight: 700; padding: 3px 4px; }
.upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.upload input[type=file] { max-width: 100%; font-size: 12.5px; }
.upload p { margin: 0; width: 100%; }
.danger-zone h2 { color: var(--red); }

.steps { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.errs summary { cursor: pointer; font-weight: 700; color: var(--warn); }
.errs ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.check-line { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.newlist { columns: 2; font-size: 13px; margin: 10px 0 0; }
.tbl.dict td { vertical-align: middle; }
.tbl.dict input[type=color] { width: 40px; height: 30px; border: 1px solid var(--line); border-radius: 8px; padding: 2px; background: #fff; }
.add-row td { background: #fbfcfe; }

/* вход */
.login-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); padding: 20px; }
.login-card { width: min(400px, 100%); background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.login-card h1 { margin: 0; font-size: 20px; }
.login-card p { margin: 0 0 6px; }
.login-card .back { text-align: center; font-size: 13px; }

@media (max-width: 1100px) {
  .edit-grid { grid-template-columns: 1fr; }
  .side { position: static; max-height: none; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cab-top { height: auto; flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .cab-nav { order: 3; width: 100%; flex: none; }
  .cab-user { margin-left: auto; }
  .grid2 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .coords-row { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr; }
  .filters .grow { grid-column: auto; }
  .card.flush { overflow-x: auto; }
  .newlist { columns: 1; }
}

/* этапы, план-факт, кураторы */
.left-col { min-width: 0; }
.left-col > .card { margin-bottom: 16px; }
.stage-track { display: flex; gap: 4px; margin: 4px 0 12px; }
.stage-track span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.stage-track span.done { background: #12b76a; }
.stage-track span.late { background: #f04438; }
.stages-tbl td { vertical-align: middle; }
.stages-tbl input:not([type=checkbox]) { height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; width: 100%; background: #fff; }
.stages-tbl .w-date { width: 118px; }
.stages-tbl .c, .tbl .c { text-align: center; }
.stages-tbl input[type=checkbox] { width: 18px; height: 18px; accent-color: #12b76a; }
.st-done td { background: #f3fbf6; }
.st-late td { background: #fff5f4; }
.inline-foot { position: static; background: none; align-items: center; }
.pf-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.pf-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 5px; }
.bar { height: 10px; border-radius: 5px; background: var(--chip); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand-2); border-radius: 5px; }
.pf-add { display: grid; grid-template-columns: 90px 110px repeat(4, minmax(90px, 1fr)) 2fr auto; gap: 8px; align-items: end; margin-top: 12px; }
.stage-mini { display: inline-flex; gap: 2px; }
.stage-mini i { width: 10px; height: 6px; border-radius: 2px; background: var(--line); }
.stage-mini i.done { background: #12b76a; }
.bulk-bar { position: sticky; top: 64px; z-index: 20; display: none; align-items: center; gap: 10px; background: var(--brand-ink); color: #fff;
  border-radius: 14px; padding: 8px 12px; margin-bottom: 10px; }
.bulk-bar.show { display: flex; }
.bulk-bar select { height: 32px; border-radius: 8px; border: 0; padding: 0 8px; color: var(--text); }
.bulk-bar .btn.primary { background: var(--brand); color: #1b2026; border-color: var(--brand); }
.check-fld .check-line { height: 38px; }
.view-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 14px; }
.view-tabs a { padding: 9px 16px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; margin-bottom: -2px; text-decoration: none; }
.view-tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.tbl td b + .t-name { margin-top: 2px; font-weight: 500; }
.grid-tbl input { height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; width: 100%; min-width: 70px; background: #fff; text-align: right; }
.grid-tbl td:last-child input { text-align: left; min-width: 140px; }
.grid-tbl input.fact { border-color: var(--brand-line); background: #fbfcff; }
.grid-tbl .grp td { background: var(--chip); font-weight: 700; font-size: 12.5px; padding: 6px 12px; }
.grid-tbl tfoot td { font-weight: 700; background: #fafbfd; }
.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.period-form { grid-template-columns: repeat(3, auto) 1fr; }
.mine { border: 2px solid var(--brand-line); }
@media (max-width: 1100px) { .pf-add { grid-template-columns: repeat(3, 1fr); } .pf-bars { grid-template-columns: 1fr; } }

/* документы, светофор, инструкция */
.file-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.file-list li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.file-name { font-weight: 700; word-break: break-word; }
.file-list small { display: block; color: var(--muted); font-size: 12px; margin: 2px 0 4px; }
.file-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tag-pub { background: var(--ok-bg); color: var(--ok); }
.hdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.health-box { display: flex; align-items: center; gap: 10px; border: 2px solid; border-radius: 12px; padding: 8px 10px; margin-bottom: 10px; }
.health-box i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.health-box b { display: block; }
.health-box small { color: var(--muted); }
.tile.bad b { color: var(--red); }
.help .steps li { margin-bottom: 6px; }
.help h2 { color: var(--brand-ink); }

/* документы: тип и значок */
.tag-kind { background: var(--brand-soft, #f4ecdc); color: var(--brand-2, #8a6a2f); border: 1px solid var(--brand-line, #e3d3b0); font-weight: 700; margin-right: 6px; }
.doc-clip { margin-left: 8px; font-size: 12px; color: var(--muted, #667085); white-space: nowrap; }
.upload label.small { display: inline-flex; flex-direction: column; gap: 2px; margin-right: 8px; }


/* роли и журналы (02.12.2026) */
.flash.note { background: var(--brand-soft); color: var(--brand-ink); }
.users-tbl td { vertical-align: top; }
.user-form .inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.perms { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.perms.perms-off label { opacity: .45; }
.grid-form .perms { grid-column: 1 / -1; flex-direction: column; gap: 4px; }
.grid-form .perms > span { font-size: 12.5px; color: var(--muted); }
.user-acts form { margin-bottom: 6px; }
.jfilters { grid-template-columns: repeat(5, 1fr) auto; }
.jfilters .fld-btns { display: flex; gap: 6px; align-items: end; }
.bad-row td { background: #fff7f6; }
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.two-col .card + .card { margin-top: 16px; }
.tbl.compact td, .tbl.compact th { padding: 6px 10px; }
.tbl .w-bar { width: 38%; }
.tbl .bar { margin-top: 4px; }
.toplist { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.toplist b { float: right; color: var(--brand-2); margin-left: 8px; }
h2.pad { padding: 14px 16px 0; }
.roles-tbl td, .roles-tbl th { vertical-align: top; }
.roles-tbl td:first-child { width: 34%; }
.roles-tbl .yes { color: var(--ok); font-weight: 700; }
.roles-tbl .no { color: var(--muted); }
@media (max-width: 1000px) { .two-col, .jfilters { grid-template-columns: 1fr; } }
.user-form .inline { flex-wrap: nowrap; }
.user-form .inline input.w-fio { width: 240px; flex: none; }
.user-form .inline select { width: auto; flex: none; }
.user-form .inline .btn { flex: none; }
.roles-tbl tbody th { color: var(--brand-ink); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding-top: 14px; }

/* слои на главной — отдельно, без общей суммы (02.12.2026) */
.layer-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.layer-tile { border-top: 4px solid var(--brand); }
.layer-tile small { font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.layer-tile em { font-style: normal; font-size: 13px; color: var(--text); }
.layer-tile.empty b { color: var(--muted); }
@media (max-width: 900px) { .layer-tiles { grid-template-columns: 1fr; } }
