:root {
  --bg: #0b0f14;
  --bg-2: #0d1219;
  --sidebar: #0d1218;
  --panel: #121820;
  --panel-2: #161e27;
  --line: #202a36;
  --line-2: #273443;
  --text: #e7eef7;
  --muted: #8b9aab;
  --muted-2: #64748b;
  --accent: #2ee6a6;
  --accent-2: #17c98c;
  --accent-soft: rgba(46, 230, 166, .12);
  --blue: #5b9dff;
  --violet: #b07cff;
  --amber: #f5b04c;
  --red: #ff6b6b;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ta-r { text-align: right; }
.muted { color: var(--muted-2); }
.red { color: var(--red) !important; }
.amber { color: var(--amber) !important; }
.green { color: var(--accent) !important; }
.blue { color: var(--blue) !important; }

.shell { display: flex; min-height: 100vh; }

/* ---------------- sidebar ---------------- */
.sidebar {
  width: 272px;
  flex: 0 0 272px;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0e141b 0%, #0b1016 100%);
  border-right: 1px solid #1a2430;
  z-index: 40;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 18px;
  border-bottom: 1px solid #18222d;
  flex: 0 0 66px;
}
.brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #2ee6a6, #14b57c);
  color: #06251b;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(46, 230, 166, .22);
}
.brand-text { font-weight: 750; letter-spacing: .12em; font-size: 15px; }
.brand-text small { color: var(--muted); font-weight: 600; font-size: 10px; letter-spacing: .18em; margin-left: 4px; }

.nav { flex: 1; overflow-y: auto; padding: 14px 12px 18px; scrollbar-width: thin; scrollbar-color: #24313f transparent; }
.nav::-webkit-scrollbar { width: 6px; }
.nav::-webkit-scrollbar-thumb { background: #24313f; border-radius: 99px; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a9b6c6;
  font-size: 13.5px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-link > svg:first-child { flex: 0 0 20px; opacity: .88; }
.nav-link:hover { background: #141d26; color: #eef5fd; }
.nav-link.active {
  background: linear-gradient(90deg, rgba(46, 230, 166, .15), rgba(46, 230, 166, .04));
  color: #eafff7;
}
.nav-link.active::before {
  content: "";
  position: absolute;
  left: 0; top: 9px; bottom: 9px;
  width: 3px; border-radius: 0 4px 4px 0;
  background: var(--accent);
}
.nav-link.active > svg:first-child { color: var(--accent); opacity: 1; }

.nav-group { margin: 2px 0; }
.nav-parent { user-select: none; }
.nav-parent .chev { margin-left: auto; width: 16px; height: 16px; color: var(--muted-2); transition: transform .22s; }
.nav-group.open .nav-parent { color: #e7eef7; }
.nav-group.open .nav-parent .chev { transform: rotate(180deg); color: var(--accent); }
.nav-group.open .nav-parent > svg:first-child { color: var(--accent); opacity: 1; }

.badge {
  margin-left: auto;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: #1c2a25;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.badge.warn { background: #2a2317; color: var(--amber); }

.nav-sub {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0 0 0 20px;
  padding-left: 13px;
  border-left: 1px solid #1d2835;
  transition: max-height .28s ease, opacity .2s ease, margin .2s ease;
}
.nav-group.open .nav-sub { max-height: 320px; opacity: 1; margin-top: 3px; margin-bottom: 6px; }
.nav-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 9px;
  border-radius: 8px;
  color: #8392a5;
  font-size: 12.8px;
  font-weight: 500;
  transition: background .14s, color .14s;
}
.nav-sub a:hover { background: #131c25; color: #e7eef7; }
.nav-sub a.active { background: var(--accent-soft); color: #d9fff2; }
.nav-sub a span { flex: 1; }
.nav-sub a b { font-size: 11px; font-weight: 650; color: #65758a; }
.nav-sub a b.blue { color: var(--blue); }
.nav-sub a b.green { color: var(--accent); }
.nav-sub a b.red { color: var(--red); }

.side-user {
  flex: 0 0 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #18222d;
  background: #0b1016;
}
.side-user-info { display: flex; flex-direction: column; min-width: 0; }
.side-user-info b { font-size: 12.5px; letter-spacing: .04em; }
.side-user-info small { font-size: 11px; color: var(--muted-2); }
.online { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(46,230,166,.15); }

.avatar {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #1b2632;
  border: 1px solid #2a394a;
  color: #dbe7f5;
  font-weight: 700;
  font-size: 13px;
}

/* ---------------- main / topbar ---------------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 66px;
  padding: 0 24px;
  background: rgba(11, 15, 20, .86);
  border-bottom: 1px solid #1b2531;
  backdrop-filter: blur(14px);
}
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted-2); white-space: nowrap; }
.crumbs i { font-style: normal; color: #3a4a5d; }
.crumbs b { color: #c9d5e3; font-weight: 600; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 330px;
  height: 38px;
  padding: 0 10px 0 12px;
  border: 1px solid #24303d;
  border-radius: 10px;
  background: #0e151d;
  color: var(--muted-2);
}
.search svg { width: 17px; height: 17px; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 12.8px;
}
.search input::placeholder { color: #5f7085; }
.search kbd {
  padding: 2px 6px;
  border: 1px solid #2a3746;
  border-radius: 5px;
  background: #121b24;
  color: #75879d;
  font: 10.5px/1.4 "Segoe UI", sans-serif;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border: 1px solid #24303d;
  border-radius: 9px;
  color: #aebccd;
  font-size: 12.5px;
  white-space: nowrap;
}
.date-chip svg { width: 16px; height: 16px; color: var(--muted-2); }
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid #24303d;
  border-radius: 10px;
  background: #0e151d;
  color: #aebccd;
  cursor: pointer;
}
.icon-btn:hover { background: #141e28; color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.bell .dot { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.top-avatar { display: none; }
.burger { display: none; }

/* ---------------- content ---------------- */
.content { padding: 26px 26px 40px; max-width: 1560px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-head h1 { margin: 0 0 6px; font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.page-head p { margin: 0; color: var(--muted-2); font-size: 13px; }
.panel-head h2:last-child { margin-bottom: 0; }

.period { position: relative; }
.period-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 25px; font-weight: 700; letter-spacing: -.02em;
  cursor: pointer;
}
.period-btn:hover { color: #fff; }
.period-btn .chev { width: 20px; height: 20px; color: var(--muted-2); transition: transform .18s ease; }
.period.open .period-btn .chev { transform: rotate(180deg); }
.period-menu {
  position: absolute; top: calc(100% + 9px); left: 0; z-index: 30;
  display: none; min-width: 184px; padding: 6px;
  background: #101922; border: 1px solid #22303e; border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0,0,0,.6);
}
.period.open .period-menu { display: block; }
.period-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 11px; border: 0; border-radius: 8px; background: transparent;
  color: #c3d1e1; font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer;
}
.period-menu button:hover { background: #17222d; color: #fff; }
.period-menu button.active { color: var(--accent); }
.period-menu button.active::after { content: "✓"; font-size: 12px; }
.head-actions { display: flex; gap: 10px; }
.btn {
  height: 38px;
  padding: 0 15px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 12.8px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .1s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #121a23; border-color: #263342; color: #b9c7d8; }
.btn.ghost:hover { background: #17222d; color: #fff; }
.btn.accent { background: linear-gradient(180deg, #35edb2, #1fce95); color: #04251b; box-shadow: 0 8px 20px rgba(46,230,166,.18); }
.btn.accent:hover { background: linear-gradient(180deg, #4bf3bd, #26d99d); }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.kpi {
  padding: 16px 17px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #131b24, #10161e);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}
.kpi-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.kpi-ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #17222d;
  color: var(--accent);
}
.kpi-ico svg { width: 18px; height: 18px; }
.kpi-ico.blue { color: var(--blue); background: #17202e; }
.kpi-ico.violet { color: var(--violet); background: #1e1a2b; }
.kpi-ico.amber { color: var(--amber); background: #241f17; }
.delta { font-size: 11.5px; font-weight: 650; color: var(--muted-2); }
.delta.up { color: var(--accent); }
.delta.down { color: var(--red); }
.kpi-label { color: var(--muted-2); font-size: 12px; }
.kpi-value { margin-top: 3px; font-size: 27px; font-weight: 720; letter-spacing: -.03em; }
.kpi-value small { font-size: 16px; font-weight: 600; color: #9fb0c4; }
.kpi-foot { margin-top: 8px; color: #61738a; font-size: 11.5px; }

.grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr); gap: 14px; margin-bottom: 14px; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #121922, #0f151c);
  box-shadow: 0 12px 34px rgba(0,0,0,.12);
}
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px 18px 12px; }
.panel-head h2 { margin: 0 0 4px; font-size: 14.5px; font-weight: 650; }
.panel-head p { margin: 0; color: var(--muted-2); font-size: 11.8px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.link svg { width: 14px; height: 14px; }

.seg { display: flex; padding: 3px; border: 1px solid #24303d; border-radius: 8px; background: #0d141b; }
.seg button { border: 0; background: transparent; color: #71839a; font-size: 11.5px; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; }
.seg button.active { background: #1b2733; color: #dfeaf7; }

.chart-wrap { display: flex; gap: 10px; padding: 0 18px 16px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; padding: 3px 0 20px; color: #5c6e84; font-size: 10.5px; text-align: right; min-width: 32px; }
.chart { flex: 1; min-width: 0; }
.chart svg { width: 100%; height: 210px; display: block; overflow: visible; }
.grid-lines path { stroke: #1d2833; stroke-width: 1; }
.chart .area { fill: url(#g); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.4; filter: drop-shadow(0 4px 8px rgba(46,230,166,.25)); }
.chart .points circle { fill: #0f151c; stroke: var(--accent); stroke-width: 2; }
.chart-x { display: flex; justify-content: space-between; padding: 4px 0 0; color: #5c6e84; font-size: 10.5px; }

.stock-list { list-style: none; margin: 0; padding: 2px 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.stock-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.stock-name { display: flex; flex-direction: column; min-width: 0; }
.stock-name b { font-size: 12.4px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stock-name span { color: #61738a; font-size: 10.8px; }
.stock-meta { text-align: right; display: flex; flex-direction: column; }
.stock-meta b { font-size: 11.8px; }
.stock-meta span { color: #5c6e84; font-size: 10.3px; }
.bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: #1a2531; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff6b6b, #f59e0b); }
.bar i.amber { background: linear-gradient(90deg, #f5b04c, #f8d38a); }

.table-panel { padding-bottom: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { padding: 9px 18px; text-align: left; color: #61738a; font-size: 10.5px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid #1d2833; white-space: nowrap; }
td { padding: 12px 18px; border-bottom: 1px solid #18222d; font-size: 12.4px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.018); }
.num { color: #9fb3c9; font-weight: 600; }
td b { font-weight: 600; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 10.8px; font-weight: 650; border: 1px solid transparent; }
.pill.blue { background: rgba(91,157,255,.12); color: #7db2ff; border-color: rgba(91,157,255,.22); }
.pill.amber { background: rgba(245,176,76,.12); color: #f7c274; border-color: rgba(245,176,76,.22); }
.pill.green { background: rgba(46,230,166,.10); color: #55eeb8; border-color: rgba(46,230,166,.22); }
.pill.gray { background: #1a232e; color: #8b9aab; border-color: #273443; }
.master { display: inline-flex; align-items: center; gap: 7px; color: #b7c5d6; }
.master i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #071018; font-size: 10px; font-weight: 800; font-style: normal; }

.scrim { display: none; }

@media (max-width: 1180px) {
  .search { width: 250px; }
  .date-chip { display: none; }
}
@media (max-width: 1020px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr; }
  .search { width: 210px; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-101%); transition: transform .25s ease; box-shadow: 20px 0 50px rgba(0,0,0,.45); }
  .sidebar.open { transform: none; }
  .scrim.show { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(2,6,10,.6); backdrop-filter: blur(2px); }
  .burger { display: grid; }
  .crumbs { display: none; }
  .top-actions { margin-left: auto; }
  .search { display: none; }
  .top-avatar { display: grid; }
  .topbar { padding: 0 16px; gap: 10px; }
  .content { padding: 18px 14px 30px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head h1 { font-size: 22px; }
  .period-btn { font-size: 22px; }
}
@media (max-width: 620px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 13px; }
  .kpi-value { font-size: 22px; }
  .head-actions { width: 100%; }
  .head-actions .btn { flex: 1; }

  .chart-y { display: none; }
}

/* ================= доска заказов ================= */
.dot {
  width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; display: inline-block;
  background: #8b9aab; border: 0; padding: 0;
}
.dot[data-color="blue"] { background: var(--blue); }
.dot[data-color="amber"] { background: var(--amber); }
.dot[data-color="green"] { background: var(--accent); }
.dot[data-color="violet"] { background: var(--violet); }
.dot[data-color="red"] { background: var(--red); }
.dot[data-color="gray"] { background: #7a8a9c; }
.dot-lg { width: 14px; height: 14px; cursor: pointer; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }

.page-count { color: var(--muted-2); font-size: 12.5px; font-weight: 600; }

.board { display: flex; gap: 12px; overflow-x: auto; align-items: flex-start; padding-bottom: 10px; scrollbar-width: thin; }
.board::-webkit-scrollbar { height: 8px; }
.board::-webkit-scrollbar-thumb { background: #24313f; border-radius: 99px; }
.board-col {
  flex: 0 0 272px; min-height: 180px; padding: 10px;
  background: #0e141b; border: 1px solid var(--line); border-radius: 14px;
}
.board-col-head { display: flex; align-items: center; gap: 8px; padding: 3px 4px 11px; }
.board-col-head b { font-size: 12.5px; font-weight: 650; color: #dfe8f3; }
.col-count {
  margin-left: auto; min-width: 20px; text-align: center;
  padding: 1px 7px; border-radius: 99px; background: #182230; color: #9fb0c4; font-size: 11px; font-weight: 650;
}
.col-sum { color: #5f7288; font-size: 11px; }
.board-cards { display: flex; flex-direction: column; gap: 8px; }

.order-card {
  position: relative; padding: 10px 11px;
  background: var(--panel); border: 1px solid #1f2b38; border-radius: 11px;
  cursor: pointer; transition: border-color .15s, transform .15s;
}
.order-card:hover { border-color: #2f4356; transform: translateY(-1px); }
.order-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.order-card.flash { animation: cardFlash 1.5s ease; }
@keyframes cardFlash {
  0%, 55% { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(46,230,166,.45); }
  100% { border-color: #1f2b38; box-shadow: none; }
}
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-time { color: #5f7288; font-size: 11px; }
.order-device { margin-top: 3px; font-size: 13px; font-weight: 650; color: #e7eef7; }
.order-client { margin-top: 2px; font-size: 11.5px; color: #71839a; }
.order-bottom { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 11.5px; }
.order-sum { margin-left: auto; font-size: 12px; color: #dfe8f3; }
.order-next {
  width: 22px; height: 22px; display: grid; place-items: center; flex: 0 0 auto;
  border: 1px solid #263342; border-radius: 7px; background: #121a23;
  color: #8b9aab; font-size: 12px; cursor: pointer; transition: all .15s;
}
.order-next:hover { color: #04251b; background: var(--accent); border-color: var(--accent); }
.order-next svg { width: 13px; height: 13px; }
.board-empty {
  padding: 18px 10px; text-align: center; font-size: 11.5px; color: #4f6072;
  border: 1px dashed #22303e; border-radius: 10px;
}

.status-pop {
  position: fixed; z-index: 60; min-width: 196px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  background: #101922; border: 1px solid #22303e; border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0,0,0,.6);
}
.status-pop button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 8px; background: transparent;
  color: #c3d1e1; font: inherit; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer;
}
.status-pop button:hover { background: #17222d; color: #fff; }
.status-pop button.active { color: var(--accent); }

/* ================= настройки: статусы ================= */
.settings-panel { padding: 6px 16px 10px; }
.status-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #18222d; }
.status-row .dot-lg { margin: 0 2px; }
.status-name {
  flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: #e7eef7; font: inherit; font-size: 13.5px; font-weight: 600;
}
.status-name:hover { border-color: #22303e; }
.status-name:focus { outline: 0; border-color: var(--accent); background: #0f161d; }
.status-usage { min-width: 74px; text-align: right; color: #71839a; font-size: 11.5px; }
.status-actions { display: flex; gap: 6px; }
.icon-mini {
  width: 27px; height: 27px; display: grid; place-items: center;
  border: 1px solid #22303e; border-radius: 7px; background: #121a23;
  color: #9fb0c4; font-size: 12px; font-family: inherit; cursor: pointer; transition: all .15s;
}
.icon-mini:hover { color: #fff; border-color: #33475b; }
.icon-mini.danger:hover { color: var(--red); border-color: rgba(255,107,107,.45); }
.icon-mini:disabled { opacity: .3; cursor: not-allowed; }
.status-palette { display: flex; gap: 10px; padding: 8px 4px 12px 32px; }
.status-palette[hidden] { display: none; }
.status-palette .dot-lg { width: 18px; height: 18px; }
.status-palette .dot-lg.active { box-shadow: 0 0 0 2px #0b0f14, 0 0 0 4px #cfdcea; }

/* ================= таблицы настроек ================= */
.table-simple { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.table-simple th {
  padding: 0 12px 10px; text-align: left; color: #64748b;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.table-simple td { padding: 11px 12px; border-top: 1px solid #18222d; color: #c9d5e3; }
.table-simple tbody tr:hover td { background: #101821; }
.table-simple tfoot td { border-top: 1px solid #22303e; color: #e7eef7; }
.table-simple .ta-r { text-align: right; }
.btn-xs { height: 27px; padding: 0 10px; font-size: 11.5px; border-radius: 8px; }
.pill.red { background: rgba(255,107,107,.12); color: #ff9b9b; border-color: rgba(255,107,107,.22); }
.pill.violet { background: rgba(176,124,255,.12); color: #c9a6ff; border-color: rgba(176,124,255,.22); }

/* ================= тосты ================= */
.toast-box { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 10px 14px; border-radius: 10px; font-size: 12.5px; color: #dbe7f4;
  background: #16202b; border: 1px solid #26374a; box-shadow: 0 16px 36px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: none; }

@media (max-width: 620px) {
  .board-col { flex-basis: 84vw; }
  .status-usage { display: none; }
  .toast-box { left: 12px; right: 12px; bottom: 12px; }
}
