/* М1 Приёмная комиссия — дополнения к UI-киту */
.m1-hero { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end; }
.m1-hero h1 { margin-bottom: 4px; }
.m1-search { display: flex; gap: 8px; max-width: 420px; width: 100%; }
.m1-search input:not(:placeholder-shown) { text-transform: uppercase; }
#ratingBox, #findBox, tr#me { scroll-margin-top: 80px; }
.m1-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--cos-border); }
.m1-tabs a { padding: 8px 14px; color: var(--cos-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.m1-tabs a.active { color: var(--cos-primary); border-bottom-color: var(--cos-primary); text-decoration: none; }
.m1-tabs a:hover { text-decoration: none; color: var(--cos-primary); }
.m1-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m1-table td.m1-num, .m1-table th.m1-num { text-align: right; }
tr.m1-pass td { background: #f3fbf6; }
tr.m1-me td { background: #fff7d6 !important; font-weight: 600; }
tr.m1-excl td { color: var(--cos-muted); }
tr.m1-click { cursor: pointer; }
.m1-kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 16px; }
.m1-kpi { background: var(--cos-surface); border: 1px solid var(--cos-border); border-radius: var(--cos-radius); padding: 14px; }
.m1-kpi .cos-stat { font-size: 1.5rem; }
.m1-kpi .cos-muted { font-size: .85rem; }
.m1-bars { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding-top: 8px; overflow-x: auto; }
.m1-bars div { flex: 1 0 8px; min-width: 8px; background: var(--cos-primary); border-radius: 3px 3px 0 0; position: relative; }
.m1-bars div span { display: block; background: var(--cos-success); position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; }
.m1-fill { height: 8px; background: #eef0f3; border-radius: 4px; overflow: hidden; min-width: 80px; }
.m1-fill i { display: block; height: 100%; background: var(--cos-success); }
.m1-fill i.over { background: var(--cos-warning); }
.m1-form-grid { display: grid; gap: 0 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.m1-modal-wide .cos-modal, .cos-modal.m1-wide { max-width: 980px; }
.m1-small { font-size: .85rem; }
.m1-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; letter-spacing: .03em; }
.m1-big-id { font-size: 1.6rem; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; color: var(--cos-primary); }
.m1-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.m1-filters > * { width: auto; min-width: 140px; }
.m1-filters input[type=search] { flex: 1; min-width: 200px; }
.m1-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--cos-muted); margin: 8px 0; }
.m1-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.m1-map td { vertical-align: middle; }
.m1-hidden { display: none !important; }
@media (max-width: 700px) {
  .m1-hide-sm { display: none; }
  .cos-table th, .cos-table td { padding: 7px 8px; }
}
@media print {
  .cos-header, .m1-noprint { display: none !important; }
}
.m1-code { white-space: nowrap; }
.m1-filters > button, .m1-filters > label { min-width: auto; flex: none; }
