/* экран settings: настройки агентства */
.st-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; } .st-tabs::-webkit-scrollbar { display: none; }
.st-tabs .tabs { flex-wrap: nowrap; } .st-tabs .tabs button { white-space: nowrap; }
.st-m th.c { white-space: normal; min-width: 92px; line-height: 1.35; vertical-align: bottom; }
.st-m td:first-child { min-width: 220px; }
.st-ppl { display: flex; margin-top: 8px; } .st-ppl .av { margin-right: -6px; box-shadow: 0 0 0 2px var(--paper); }
.st-y, .st-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; }
.st-y { background: var(--green-bg); color: var(--green); } .st-n { background: var(--bg2); color: #b5bbd0; }
.st-y svg.i { width: 15px; height: 15px; stroke-width: 2.4; } .st-n svg.i { width: 13px; height: 13px; }
.st-l { display: flex; flex-direction: column; gap: 8px; }
.st-r { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; transition: .18s var(--ease); }
.st-r:hover { border-color: #cfd4e4; }
.st-r.off { background: var(--th); } .st-r.off b { color: var(--ink2); } .st-r.off .st-ic { background: var(--bg2); color: var(--mute); }
.st-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold); flex: none; }
.st-ch { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.st-c { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.st-c.on { border-color: color-mix(in srgb, var(--c) 30%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, #fff), var(--paper) 70px); }
.st-c > .sm { flex: 1; }
.st-c .btn { align-self: flex-start; }
.st-lg { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--c); color: #fff; font: 600 15px var(--head); flex: none; }
.st-c:not(.on) .st-lg { opacity: .55; }
.st-ps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.st-p { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.st-stg { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: st; display: flex; flex-direction: column; }
.st-stg li { counter-increment: st; position: relative; padding: 6px 0 6px 30px; font-size: 13px; border-left: 2px solid var(--line2); margin-left: 10px; padding-left: 20px; }
.st-stg li::before { content: counter(st); position: absolute; left: -11px; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line); font: 600 10px/17px var(--mono); text-align: center; color: var(--mute); }
.st-stg li:last-child { border-left-color: transparent; }
.st-gs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.st-g, .st-gt { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--gold); background: var(--gold-bg); border-radius: 7px; padding: 2px 7px; }
.st-gt { padding: 1px 4px; vertical-align: -3px; }
.st-g svg.i, .st-gt svg.i { width: 12px; height: 12px; }
@media (max-width: 520px) { .st-r { padding: 12px; gap: 10px; } .st-ic { display: none; } }
/* рабочая версия: профиль, сотрудники, районы, журнал */
.st-g2 { align-items: start; }
.t tr.st-off td { opacity: .55; }
.st-ds { display: flex; flex-wrap: wrap; gap: 8px; }
.st-dc { display: inline-flex; align-items: center; gap: 6px; padding-right: 6px; }
.st-dx { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: inherit; opacity: .6; }
.st-dx:hover { opacity: 1; background: rgba(0,0,0,.08); }
.st-dx svg.i { width: 12px; height: 12px; }
.lst .st-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--bg2); color: var(--ink2); }
.lst .st-ic.red { background: var(--red-bg); color: var(--red); }
.st-alarm b { color: var(--red); }
.st-pwbox { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; }
.st-pwbox .btn { align-self: flex-start; }
