body { background: #f3f5f8; overflow-x: hidden; }
.shell { display: flex; min-height: 100vh; }
.nav { width: 248px; flex: none; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 2px; padding: 18px 12px; background: #fff; box-shadow: 1px 0 0 var(--line); overflow-y: auto; }
.logo { display: flex; align-items: center; gap: 11px; padding: 2px 8px 20px; }
.logo i { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; flex: none; }
.logo svg { width: 20px; height: 20px; fill: var(--dt); }
.logo b { display: block; font-size: 15.5px; line-height: 1.2; }
.logo small { color: var(--muted); font-size: 12.5px; }
.nav a { display: flex; align-items: center; gap: 11px; height: 42px; padding: 0 12px; border-radius: 11px; color: var(--ink2); font-weight: 550; font-size: 14.5px; }
.nav a:hover { background: var(--hover); }
.nav a.on { background: var(--acc-soft); color: var(--acc); }
.nav a .i { width: 20px; height: 20px; }
.nav a .bd { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--warn); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.nav .grp { margin: 16px 12px 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.nav .who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
.nav .who .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-weight: 700; font-size: 13px; flex: none; }
.nav .who b { display: block; font-size: 13.5px; }
.nav .who small { color: var(--muted); font-size: 12px; }

.main { flex: 1; min-width: 0; }
.bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 66px; padding: 12px 28px; background: rgba(243, 245, 248, .86); backdrop-filter: blur(10px); }
.bar h1 { margin: 0; font-size: 22px; letter-spacing: -.015em; flex: 1 1 240px; min-width: 0; }
.bar h1 small { display: block; white-space: nowrap; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.b { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 11px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.b:hover { border-color: #b9c3cf; }
.b .i { width: 18px; height: 18px; }
.b.pri { background: var(--acc); border-color: var(--acc); color: #fff; }
.b.pri:hover { background: var(--acc-d); }
.b.ok { background: var(--in); border-color: var(--in); color: #fff; }
.b.red { color: var(--out); border-color: #f0c4b9; }
.b.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.b.ghost:hover { background: var(--hover); }
.b.sm { height: 34px; padding: 0 11px; font-size: 13.5px; border-radius: 10px; }
.b[disabled] { opacity: .45; pointer-events: none; }
#page { padding: 6px 28px 48px; }
#banner:empty { display: none; }
#banner { padding: 0 28px; }
.banner { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px; background: #fff4df; color: #7d4d00; font-size: 14px; margin-bottom: 10px; }
.banner .i { width: 20px; height: 20px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.kpi small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); font-weight: 550; }
.kpi b { display: block; margin: 6px 0 2px; font-size: 25px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi.acc { background: var(--ink); box-shadow: none; color: #fff; }
.kpi.acc small, .kpi.acc span { color: rgba(255, 255, 255, .62); }
.kpi .up { color: var(--in); font-weight: 600; }
.kpi.click { cursor: pointer; }
.kpi.click:hover { box-shadow: 0 0 0 1px #b9c3cf; }

.box { margin-top: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.box-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 18px 6px; }
.box-h h3 { margin: 0; font-size: 16px; flex: 1; }
.box-h .lg { display: flex; gap: 14px; font-size: 13px; color: var(--muted); }
.box-h .lg span { display: inline-flex; align-items: center; gap: 6px; }
.box-b { padding: 8px 18px 16px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.cols > .box { margin-top: 14px; }

.chart { position: relative; height: 230px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; padding: 8px 10px; border-radius: 10px; background: #1b2129; color: #fff; font-size: 12.5px; line-height: 1.45; white-space: nowrap; transform: translate(-50%, -100%); opacity: 0; transition: opacity .12s; }
.chart .tip.on { opacity: 1; }

.tw { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { position: sticky; top: 0; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 10px 12px; background: #fff; box-shadow: inset 0 -1px 0 var(--line); white-space: nowrap; }
.t td { padding: 11px 12px; box-shadow: inset 0 -1px 0 var(--line); vertical-align: middle; }
.t tr:last-child td { box-shadow: none; }
.t .r { text-align: right; white-space: nowrap; }
.t .nw { white-space: nowrap; }
.t .mut { color: var(--muted); }
.t tbody tr.cl { cursor: pointer; }
.t tbody tr.cl:hover td { background: #f7f9fb; }
.t tr.cx td { color: var(--faint); }
.t tr.cx td.st { text-decoration: line-through; }
.t tfoot td { font-weight: 700; box-shadow: inset 0 1px 0 var(--line2); }
.t .ty { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.t .ty i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
.t .ty .i { width: 16px; height: 16px; }
.ty .in, .ty .surplus { background: var(--in-soft); color: var(--in); } .ty .sale { background: var(--sale-soft); color: var(--sale); }
.ty .out { background: var(--out-soft); color: var(--out); } .ty .pay { background: var(--pay-soft); color: var(--pay); } .ty .inv { background: var(--inv-soft); color: var(--inv); }
.bar2 { height: 8px; border-radius: 5px; background: #edf0f4; overflow: hidden; min-width: 80px; }
.bar2 i { display: block; height: 100%; border-radius: 5px; background: var(--acc); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 8px; }
.srch { position: relative; flex: 1 1 220px; max-width: 320px; }
.srch .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.srch input { width: 100%; height: 40px; padding: 0 12px 0 38px; border: 1px solid var(--line2); border-radius: 11px; background: #fff; outline: none; font-size: 14px; }
.srch input:focus, .fi:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.fi { height: 40px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 11px; background: #fff; outline: none; font-size: 14px; width: 100%; }
.fi.num { text-align: right; }
.fi.err { border-color: var(--out); }
textarea.fi { height: 76px; padding: 10px 12px; resize: none; }

/* свой выпадающий список */
.sel { position: relative; }
.sel > button { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line2); border-radius: 11px; background: #fff; font-size: 14px; font-weight: 550; white-space: nowrap; width: 100%; justify-content: space-between; }
.sel > button em { font-style: normal; color: var(--muted); font-weight: 500; }
.sel > button .i { width: 16px; height: 16px; color: var(--muted); transition: transform .2s; }
.sel.open > button { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(31, 111, 229, .12); }
.sel.open > button .i { transform: rotate(180deg); }
.sel.act > button { border-color: #9ab9ef; background: var(--acc-soft); }
.popl { position: fixed; z-index: 120; min-width: 200px; max-height: 340px; overflow-y: auto; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 22px 50px -14px rgba(20, 30, 45, .35); animation: pin .14s ease-out; }
@keyframes pin { from { opacity: 0; transform: translateY(-4px); } }
.popl button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 9px; background: none; font-size: 14px; text-align: left; }
.popl button:hover { background: var(--hover); }
.popl button.on { color: var(--acc); font-weight: 600; }
.popl button .i { width: 16px; height: 16px; visibility: hidden; }
.popl button.on .i { visibility: visible; }
.popd { position: fixed; z-index: 120; width: 330px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 22px 50px -14px rgba(20, 30, 45, .35); animation: pin .14s ease-out; }

/* боковая карточка */
.dscrim { position: fixed; inset: 0; z-index: 90; background: rgba(12, 18, 26, .3); opacity: 0; transition: opacity .2s; }
.dpanel { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(480px, 100vw); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .25); transform: translateX(100%); transition: transform .26s cubic-bezier(.22, .8, .24, 1); }
.dopen .dscrim { opacity: 1; } .dopen .dpanel { transform: none; }
.dh { display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px 22px; box-shadow: 0 1px 0 var(--line); }
.dh h3 { flex: 1; margin: 0; font-size: 18px; }
.dh h3 small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.xb { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; }
.xb:hover { background: var(--hover); }
.db { flex: 1; overflow-y: auto; padding: 16px 22px 24px; }
.df { padding: 12px 22px 16px; box-shadow: 0 -1px 0 var(--line); display: flex; gap: 8px; flex-wrap: wrap; }
.dbig { font-size: 30px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 6px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.kv { border-radius: 14px; box-shadow: 0 0 0 1px var(--line); padding: 2px 14px; }
.kv .r { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: 14px; }
.kv .r + .r { box-shadow: inset 0 1px 0 var(--line); }
.kv .r span { color: var(--muted); }
.kv .r b { font-weight: 600; text-align: right; }
.kv .r b.bad { color: var(--out); } .kv .r b.ok { color: var(--in); }
.fl { margin-top: 14px; }
.fl > label, .fl > .lb { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 13px; font-size: 13.5px; background: var(--inv-soft); color: var(--ink2); }
.notice.bad { background: var(--out-soft); color: #9b341c; } .notice.warn { background: var(--warn-soft); color: #7d4d00; } .notice.ok { background: var(--in-soft); color: #145f35; }
.h4 { margin: 20px 0 8px; font-size: 14px; }
.upd img { width: 100%; border-radius: 12px; display: block; }
.mini { display: flex; flex-direction: column; }
.mini a, .mini div.it { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13.5px; color: var(--ink); box-shadow: inset 0 -1px 0 var(--line); }
.mini small { color: var(--muted); }
.segm { display: inline-grid; grid-auto-flow: column; gap: 3px; padding: 3px; border-radius: 11px; background: #e8ecf1; }
.segm button { height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.segm button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 30, 45, .14); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pcard { padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.pcard h3 { margin: 0 0 2px; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.pcard .sub { color: var(--muted); font-size: 13px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); }
.empty .i { width: 34px; height: 34px; color: var(--in); margin-bottom: 6px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.roles .box { margin: 0; padding: 16px 18px; }
.roles h4 { margin: 0 0 8px; font-size: 15px; }
.roles ul { margin: 0; padding-left: 18px; color: var(--ink2); font-size: 13.5px; line-height: 1.55; }
.lnk { color: var(--acc); font-weight: 600; cursor: pointer; border: 0; background: none; padding: 0; font-size: inherit; }

.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #1b2129; color: #fff; font-size: 14px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); opacity: 0; transition: transform .22s, opacity .22s; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .i { width: 18px; height: 18px; color: #6ee7a2; }
.toast.bad .i { color: #ff9b85; }
.flash td { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: #fff4c7; } }

@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .shell { display: block; }
  .nav { position: sticky; top: 0; z-index: 30; width: auto; height: auto; flex-direction: row; align-items: center; gap: 4px; padding: 8px 12px; overflow-x: auto; box-shadow: 0 1px 0 var(--line); }
  .nav::-webkit-scrollbar { display: none; }
  .logo { padding: 0 8px 0 0; } .logo span, .nav .grp, .nav .who { display: none; }
  .nav a { flex: none; height: 38px; font-size: 13.5px; padding: 0 10px; }
  .bar { position: static; flex-wrap: wrap; padding: 14px 16px 8px; }
  .bar h1 { flex-basis: 100%; font-size: 20px; }
  #page { padding: 4px 16px 40px; } #banner { padding: 0 16px; }
  .roles, .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px 13px; } .kpi b { font-size: 19px; }
  .bar .b { padding: 0 10px; font-size: 13px; }
  .bar .b .hide-s { display: none; }
  .popd { width: calc(100vw - 24px); }
  .cards { grid-template-columns: 1fr; }
}

/* очередь безнала на телефоне — карточками */
@media (max-width: 640px) {
  .t.mq thead { display: none; }
  .t.mq, .t.mq tbody, .t.mq tr, .t.mq td { display: block; width: 100%; }
  .t.mq tr { padding: 12px 16px; box-shadow: inset 0 -1px 0 var(--line); }
  .t.mq td { box-shadow: none; padding: 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: right; white-space: normal; }
  .t.mq td::before { content: attr(data-l); color: var(--muted); font-size: 13px; text-align: left; flex: none; }
  .t.mq td[data-l=""]::before { display: none; }
  .t.mq td input { max-width: 150px; }
  .t.mq td .b { width: 100%; justify-content: center; margin-top: 6px; height: 42px; }
}

/* маркировка тары */
.code { display: inline-grid; place-items: center; min-width: 46px; height: 26px; padding: 0 7px; border: 2px solid var(--ink); border-radius: 7px; background: #fff; color: var(--ink); font: 700 13px/1 ui-monospace, 'Roboto Mono', Consolas, monospace; letter-spacing: .03em; vertical-align: middle; }
.kv .code { height: 22px; min-width: 40px; font-size: 12px; border-width: 1.5px; }
.dh h3 .code { height: 28px; font-size: 15px; }
.segm { flex-wrap: wrap; }
.segm button[disabled] { cursor: default; }
@media (max-width: 640px) { .row2[style*="auto"] { grid-template-columns: 1fr !important; } }

/* остатки по топливу на сводке */
.fuels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.fcard { padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.fcard:hover { box-shadow: 0 0 0 1px #b9c3cf; }
.fcard .fh { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 550; }
.fcard .fh span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.fcard b { display: block; margin: 6px 0 10px; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.fcard > span { display: block; margin-top: 9px; font-size: 13px; color: var(--muted); }
/* способы оплаты и карточки топлива */
.pays { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; padding: 8px 18px 18px; }
.payrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); transition: opacity .2s; }
.payrow.off { opacity: .55; }
.payrow .pi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex: none; }
.payrow .pi .i { width: 20px; height: 20px; }
.payrow .tx { flex: 1; min-width: 0; }
.payrow .tx b { display: block; font-size: 14.5px; }
.payrow .tx small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.pcard .ph { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard.off > *:not(.ph) { opacity: .6; }
.pcard.add { box-shadow: 0 0 0 1.5px var(--line2); border: 0; background: #fbfcfd; }
.pcard.add h3 .i, .pcard h3 > .i { width: 18px; height: 18px; color: var(--muted); }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches button { width: 28px; height: 28px; border: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); transition: transform .12s; }
.swatches button.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.swatches button:hover { transform: scale(1.08); }
.tlink { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 11px; background: #f4f6f9; color: var(--ink2); font-size: 13.5px; font-weight: 550; }
.tlink .i { width: 17px; height: 17px; color: var(--muted); }
.tlink .i:last-child { margin-left: auto; }
.tlink:hover { background: #edf0f4; }

/* ссылки внизу меню */
.navx { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; }
.navx a, .navx button { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--muted); font-size: 13.5px; font-weight: 550; text-align: left; }
.navx a:hover, .navx button:hover { background: var(--hover); color: var(--ink); }
.navx .i { width: 18px; height: 18px; }
.nav .navx + .who { margin-top: 0; }
.m-only { display: none; gap: 6px; }
.pays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1440px) { .pays { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .navx { display: none; } .m-only { display: inline-flex; } }
@media (max-width: 520px) { .pays { grid-template-columns: 1fr; } .m-only .b { padding: 0 10px; } }

/* вход */
html.login-mode .nav, html.login-mode .bar { display: none; }
html.login-mode #page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.loginbox { width: 100%; max-width: 380px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20, 30, 45, .35); }
.loginbox .logo { padding: 0 0 18px; }
.loginbox .b { width: 100%; justify-content: center; height: 46px; margin-top: 6px; }
.lerr { min-height: 18px; margin: 10px 0 0; color: var(--out); font-size: 13.5px; }
.lnote { margin: 16px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
/* только просмотр (руководитель, бухгалтер) */
html.ro [data-set], html.ro [data-fill], html.ro [data-k], html.ro [data-new], html.ro [data-save], html.ro [data-add], html.ro [data-padd], html.ro [data-addsup], html.ro [data-rmsup],
html.ro [data-setp], html.ro [data-cx], html.ro input[data-p], html.ro [data-pay], html.ro .wbox, html.ro .rq-act, html.ro [data-newu] { display: none !important; }
html.ro .sw { pointer-events: none; opacity: .55; }
/* отметка 1С */
.c1b { width: 26px; height: 26px; border: 1.5px solid var(--line2); border-radius: 8px; background: #fff; display: inline-grid; place-items: center; color: transparent; cursor: pointer; padding: 0; }
.c1b .i { width: 16px; height: 16px; stroke-width: 2.6; }
.c1b:hover { border-color: var(--in); color: color-mix(in srgb, var(--in) 40%, transparent); }
.c1b.on { background: var(--in); border-color: var(--in); color: #fff; }
.c1b.static { cursor: default; }
.c1bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px 16px; color: var(--ink2); font-size: 14px; box-shadow: inset 0 1px 0 var(--line); }
/* заявки */
.rq .box-h h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rq-why { margin: 0 0 10px; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: #6b4300; font-size: 14.5px; }
.rq-act { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.rq-act .fi { flex: 1 1 260px; }
.hist .it { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 13.5px; box-shadow: inset 0 -1px 0 var(--line); }
.hist .it small { color: var(--muted); white-space: nowrap; }
.hist .it span small { white-space: normal; }
.roles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .roles.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .roles.four { grid-template-columns: 1fr; } }
