/* Маркеры строк (rowmarks.js): личный цвет строки и колонка приоритета «⚑» */
.rm-th, .rm-cell { width: 1.7rem; min-width: 1.7rem; max-width: 1.7rem; text-align: center; vertical-align: middle; }
td.rm-cell { padding-left: .2rem !important; padding-right: .2rem !important; }
.rm-dot { width: .95rem; height: .95rem; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.25); background: transparent; padding: 0; display: inline-block; vertical-align: middle; opacity: .18; transition: opacity .12s, transform .12s; cursor: pointer; }
tr:hover .rm-dot, .rm-dot:focus-visible { opacity: 1; }
.rm-dot:hover { transform: scale(1.15); }
.rm-dot.rm-on { opacity: 1; background: hsl(var(--rm-h) 70% 55%); border-color: hsl(var(--rm-h) 60% 42%); }
tr.rm-marked > td, tr.rm-marked > th { --bs-table-bg: hsl(var(--rm-h) 75% 88%); --bs-table-accent-bg: transparent; background-color: hsl(var(--rm-h) 75% 88%) !important; }
tr.rm-marked:hover > td { background-color: hsl(var(--rm-h) 75% 83%) !important; }
.rm-flag { border: 0; background: transparent; padding: 0 .1rem; line-height: 1; color: rgba(0,0,0,.2); cursor: pointer; font-size: .95rem; }
.rm-flag:disabled { cursor: default; }
.rm-flag:not(:disabled):hover { color: rgba(0,0,0,.55); }
td.rm-prio-on { background-color: var(--rm-p) !important; }
td.rm-prio-on .rm-flag { color: #fff; }
td.rm-prio-on .rm-flag:not(:disabled):hover { color: rgba(255,255,255,.8); }
/* палитра */
.rm-pop { position: fixed; z-index: 1090; background: #fff; border: 1px solid var(--bs-border-color); border-radius: .5rem; box-shadow: 0 6px 24px rgba(0,0,0,.16); padding: .4rem; display: grid; grid-template-columns: repeat(6, 1.5rem); gap: .3rem; }
.rm-sw { width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); cursor: pointer; padding: 0; transition: transform .1s; }
.rm-sw:hover { transform: scale(1.15); }
.rm-sw.rm-x { background: #fff; color: #6c757d; font-size: .85rem; line-height: 1; }
.rm-toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 1095; background: #b02a37; color: #fff; padding: .4rem .8rem; border-radius: .4rem; font-size: .85rem; opacity: 0; transform: translateY(8px); transition: opacity .15s, transform .15s; pointer-events: none; }
.rm-toast.show { opacity: 1; transform: none; }
/* таблица заявок: колонки «⚑» и маркера закреплены вместе с флажком и кодом */
.reg-table th.rm-th, .reg-table td.rm-cell { width: 1.7rem; min-width: 1.7rem; }
