:root {
  --blue: #4759c8;
  --blue-dark: #3a49a8;
  --blue-light: #eef0fc;
  --border: #dfe2ee;
  --text: #1f2430;
  --muted: #7b8093;
  --bg: #f4f5fa;
  --panel: #ffffff;
  --error: #d64545;
  --good: #1f9d55;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
}

a { color: inherit; text-decoration: none; }

/* ---- top bar ---- */
.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 56px;
  background: var(--blue);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 14px;
  white-space: nowrap;
}

.topnav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
}

.navitem {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}

.navitem i { font-style: normal; opacity: 0.7; font-size: 10px; margin-left: 2px; }
.navitem.active, .navitem:hover:not(.disabled) { background: rgba(255,255,255,0.15); }
.navitem.disabled { opacity: 0.55; cursor: default; }

.topsearch input {
  width: 220px;
  padding: 7px 12px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
}
.topsearch input::placeholder { color: rgba(255,255,255,0.7); }

.topuser {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0.95;
}

.logout-link {
  opacity: 0.85;
  text-decoration: underline;
}
.logout-link:hover { opacity: 1; }

/* ---- login page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.login-box {
  width: 320px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(31, 36, 48, 0.08);
}

.login-box h1 {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-box label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 4px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
}

.login-box button {
  margin-top: 20px;
  width: 100%;
  padding: 9px;
  border: none;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.login-box button:hover { background: var(--blue-dark); }

.login-error {
  margin-top: 12px;
  color: var(--error);
  font-size: 12px;
}

/* ---- ОПиУ (owner 2026-08-29) ---- */
.hint-inline { font-size: 11px; color: var(--muted); font-weight: 400; }

table.opiu-table { table-layout: auto; }
.opiu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}
.opiu-head h2 { margin: 0; font-size: 16px; }
table.opiu-table td:first-child, table.opiu-table th:first-child {
  text-align: left;
  min-width: 260px;
}
table.opiu-table td, table.opiu-table th { text-align: right; padding: 6px 10px; }

table.opiu-table tr.opiu-section-row td {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  text-align: left;
}
table.opiu-table tr.opiu-total-row td { font-weight: 700; border-top: 1px solid var(--border); }
table.opiu-table tr.opiu-highlight td { background: #eef7ee; color: var(--good); }

.opiu-input {
  width: 100%;
  min-width: 90px;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-align: right;
  font-size: 13px;
}

.opiu-investment { margin-top: 24px; max-width: 560px; }
.opiu-investment h2 { font-size: 15px; color: var(--blue-dark); margin: 0 0 8px; }
table.opiu-investment-table td:first-child { text-align: left; }
table.opiu-investment-table td:last-child { text-align: right; width: 160px; }

/* ---- volume alert banner (owner 2026-08-29) ---- */
.volume-alert-banner {
  background: var(--error);
  color: #fff;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.volume-alert-banner a {
  color: #fff;
  text-decoration: underline;
}
.volume-alert-banner .volume-alert-link {
  margin-left: 6px;
  white-space: nowrap;
}

/* ---- sub header ---- */
.subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.subheader h1 {
  font-size: 20px;
  margin: 0;
  color: var(--blue-dark);
}

.subheader-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: var(--panel);
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.btn-ghost { color: var(--text); }
.btn.disabled { opacity: 0.5; cursor: not-allowed; }
.period-badge { cursor: default; }

.period-form {
  display: flex;
  align-items: center;
  gap: 6px;
}
.period-form input[type="date"] {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
}
.period-sep { color: var(--muted); }

/* ---- period-picker dropdown ("📅 Предыдущая неделя ▾", owner 2026-08-27
   reference screenshot of sellerstats.ru's own menu) ---- */
.period-picker { position: relative; display: inline-block; }
.period-picker summary {
  list-style: none;
  user-select: none;
}
.period-picker summary::-webkit-details-marker { display: none; }
.period-picker[open] summary { border-color: var(--blue); color: var(--blue-dark); }
.period-picker summary i { font-style: normal; opacity: 0.7; font-size: 10px; margin-left: 2px; }

.period-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 36, 48, 0.14);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.period-option {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}
.period-option:hover { background: var(--blue-light); }
.period-option.active { background: var(--blue-light); color: var(--blue-dark); font-weight: 600; }

.period-divider { height: 1px; background: var(--border); margin: 6px 2px; }

.period-custom { padding: 4px 10px 6px; }
.period-custom .period-option-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.period-custom.active .period-option-label { color: var(--blue-dark); font-weight: 600; }
.period-custom .period-form { flex-wrap: wrap; }
.period-custom .period-form input[type="date"] { min-width: 0; flex: 1; }

.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ---- tab bar ---- */
.tabbar {
  display: flex;
  gap: 4px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  background: var(--panel);
}

.tab {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab.active { color: var(--blue-dark); border-bottom-color: var(--blue); font-weight: 600; }
.tab:hover:not(.active) { color: var(--text); }

main { padding: 20px; width: 100%; }

.empty, .hint { color: var(--muted); font-size: 12px; }

/* ---- data table ---- */
.table-wrap {
  overflow-x: auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
}

table.data-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12.5px;
  min-width: 1400px;
}

table.data-table th, table.data-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
/* Safety net for table-layout:fixed (see table.js "freeze widths" step,
   2026-08-28): once a column can genuinely shrink below its content's
   natural width, any td without its own overflow handling (.cell-title
   already has one) needs a generic clip so text doesn't visually bleed
   into the next column - matches the same nowrap+ellipsis idea already
   used for the title cell, just as a table-wide fallback. */
table.data-table td { overflow: hidden; text-overflow: ellipsis; }

table.data-table thead tr.col-headers th {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 600;
  position: sticky;
  top: 0;
  cursor: pointer;
  user-select: none;
}
table.data-table thead tr.col-headers th:hover { background: #e2e5fb; }
table.data-table thead tr.col-headers th.sorted-asc::after { content: " ▲"; font-size: 9px; }
table.data-table thead tr.col-headers th.sorted-desc::after { content: " ▼"; font-size: 9px; }
table.data-table thead tr.col-headers th { cursor: grab; }
table.data-table thead tr.col-headers th.dragging { opacity: 0.4; cursor: grabbing; }
table.data-table thead tr.col-headers th.drag-over { box-shadow: inset 2px 0 0 var(--blue), inset -2px 0 0 var(--blue); background: #dfe3fd; }

.col-resize-grip {
  position: absolute;
  top: 0;
  right: -3px;
  width: 6px;
  height: 100%;
  cursor: col-resize;
  z-index: 2;
}
.col-resize-grip:hover, th.resizing .col-resize-grip { background: var(--blue); opacity: 0.5; }

table.data-table thead tr.col-filters th {
  background: var(--panel);
  padding: 4px 8px;
}

/* owner 2026-08-29: filter mode dropdown (Содержит/Не содержит/Равно/
   Пусто/Не пусто) - matches sellerstats.ru's own filter funnel icon. */
.filter-cell { display: flex; align-items: center; gap: 4px; position: relative; }
.filter-cell input {
  flex: 1;
  min-width: 50px;
  padding: 4px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
}
.filter-cell input:disabled { background: var(--bg); color: var(--muted); }

.filter-menu-btn {
  flex: none;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 3px;
  border-radius: 3px;
  line-height: 1;
}
.filter-menu-btn:hover { background: var(--blue-light); color: var(--blue-dark); }
.filter-menu-btn.filter-active { color: var(--blue); font-weight: 700; }

.filter-menu {
  /* position:fixed (not absolute) + JS-computed top/left (see table.js) -
     .filter-cell lives inside .table-wrap, which has overflow-x:auto; per
     the CSS overflow spec that forces overflow-y to auto too, so an
     absolutely-positioned dropdown here would get silently clipped/
     scrolled instead of floating over the page. Fixed positioning escapes
     that ancestor's clipping box entirely. */
  position: fixed;
  z-index: 20;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(31, 36, 48, 0.12);
  min-width: 140px;
  overflow: hidden;
}
.filter-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 7px 12px;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}
.filter-menu button:hover { background: var(--blue-light); }
.filter-menu button.filter-mode-selected { color: var(--blue-dark); font-weight: 700; }

/* owner 2026-09-01: "настройка колонок... галкой отключать и включать" -
   кнопка ⚙ Колонки над таблицей + выпадающая панель с чекбоксами (по одному
   на колонку). Строится динамически в table.js для каждой таблицы с
   data-table-id, поэтому стили общие. */
.table-toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.col-toggle { position: relative; display: inline-block; }
.col-toggle-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 4px);
  left: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(31, 36, 48, 0.12);
  padding: 6px;
  min-width: 200px;
  max-height: 60vh;
  overflow-y: auto;
}
.col-toggle-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}
.col-toggle-panel label:hover { background: var(--blue-light); }
.col-toggle-panel input[type="checkbox"] { cursor: pointer; }

/* owner 2026-09-22: строки списка колонок — чекбокс видимости + ручка ⠿ для
   перетаскивания (смена порядка колонок прямо в этом списке). */
.col-toggle-hint {
  font-size: 11px;
  color: #8a91a0;
  padding: 2px 8px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  white-space: nowrap;
}
.col-toggle-item {
  display: flex;
  align-items: center;
  gap: 2px;
  border-radius: 4px;
}
.col-toggle-item > label { flex: 1 1 auto; margin: 0; }
.col-drag-handle {
  cursor: grab;
  color: #9aa1b0;
  font-size: 13px;
  line-height: 1;
  padding: 0 2px 0 4px;
  user-select: none;
}
.col-drag-handle:active { cursor: grabbing; }
.col-toggle-item.dragging { opacity: 0.45; }
.col-toggle-item.drag-over { box-shadow: inset 0 2px 0 #2f6fed; background: var(--blue-light); }

/* owner 2026-08-28: "каждая строка через окрашена чуть чуть должна быть" -
   subtle zebra striping, reusing the page background token (already the
   lightest tint in the palette) rather than inventing a new color. Hover
   still wins (declared after, higher specificity via :hover). */
table.data-table tbody tr:nth-child(even) { background: var(--bg); }
table.data-table tbody tr:hover { background: var(--blue-light); }
table.data-table tbody tr.row-cancelled { color: var(--muted); text-decoration: line-through; }
table.data-table tbody tr.row-cancelled:hover { color: var(--text); }

/* owner 2026-08-29: "объём в отчете больше чем в карточке ... строка
   красным гореть" - measured volume exceeds the card's declared volume,
   i.e. WB now bills logistics/storage on more than the seller expected. */
table.data-table tbody tr.row-volume-alert { background: #fdecea; }
table.data-table tbody tr.row-volume-alert:hover { background: #fbdbd8; }
table.data-table tbody tr.row-volume-alert td[data-key="card_volume_l"],
table.data-table tbody tr.row-volume-alert td[data-key="measured_volume_l"] {
  color: var(--error);
  font-weight: 700;
}

/* owner 2026-08-28: "нет картинки товара" - small thumbnail next to the
   title, same idea as sellerstats.ru's own "Товары" table.
   "название налезает" / "колонки не могу поменять ширину" (2026-08-28,
   follow-up) - two bugs, both now fixed here:
   1. .cell-title's truncation rule was written as `td.cell-title` but the
      class has only ever lived on the inner <span> (products.html AND
      orders.html), never on the <td> itself - the selector never matched
      ANYTHING, so long titles were never actually truncated, just
      overflowing into the next cell (table.data-table td's own
      white-space:nowrap made this worse, not better).
   2. wrapping the title+thumbnail in `display: inline-flex` (my own
      addition) made it worse: flex items default to min-width:auto, which
      floors a nowrap text span at its FULL untruncated width regardless of
      any max-width set on it - classic flexbox overflow footgun. Dropped
      flex entirely here (inline-block + vertical-align:middle gives the
      same visual alignment for a fixed-height thumbnail, without the
      shrink-resistance problem) - real fix, not a min-width:0 patch on
      unnecessary flex.
   Column resize (table.js) sets an explicit th.style.width, but in
   table-layout:auto a column can never shrink below its widest cell's
   natural content width - #1 above is exactly why the "Название" column
   ignored the resize handle; now that .cell-title genuinely truncates,
   the column has a real (small) minimum width and the resize handle works
   as intended. */
.cell-title-wrap { display: inline-block; max-width: 260px; vertical-align: middle; }
.product-thumb {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
  vertical-align: middle;
  margin-right: 8px;
}
.product-thumb-placeholder { background: var(--bg); display: inline-block; }

/* owner 2026-08-29: клик по фото - печать этикетки */
.product-thumb-link {
  display: inline-block;
  border-radius: 4px;
  position: relative;
}
.product-thumb-link:hover .product-thumb { box-shadow: 0 0 0 2px var(--blue); }
.product-thumb-link::after {
  content: "🖨";
  position: absolute;
  right: 4px;
  bottom: -2px;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.1s;
}
.product-thumb-link:hover::after { opacity: 1; }
table.data-table tbody .cell-title {
  display: inline-block;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

table.data-table tfoot td {
  font-weight: 700;
  background: var(--blue-light);
  border-top: 2px solid var(--border);
}

.bottombar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ---- daily bar chart (по дням) ---- */
.chart-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px 8px;
  margin-bottom: 16px;
}

.chart-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.chart-legend .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
  margin-right: 4px;
}
.dot-orders { background: var(--blue); }
.dot-revenue { background: #9fb0ff; }

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 180px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.bar-stack {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.bar {
  width: 40%;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.bar-orders { background: var(--blue); }
.bar-revenue { background: #9fb0ff; }

.bar-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

/* ---- Сводка (summary) ---- */
.banner {
  background: #fff6e0;
  border: 1px solid #f0d999;
  color: #8a6a10;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.summary-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 16px 18px;
}
.summary-card.card-blue { border-left-color: #4759c8; }
.summary-card.card-red { border-left-color: #d64545; }
.summary-card.card-cyan { border-left-color: #2aa8b8; }
.summary-card.card-orange { border-left-color: #e08a2b; }

.summary-card h3 {
  font-size: 13px;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.card-blue h3 { color: #4759c8; }
.card-red h3 { color: #d64545; }
.card-cyan h3 { color: #2aa8b8; }
.card-orange h3 { color: #e08a2b; }

.summary-card dl { margin: 0; }
.summary-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f1f6;
  font-size: 12.5px;
}
.summary-card .row:last-child { border-bottom: none; }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; font-weight: 600; text-align: right; white-space: nowrap; }

.summary-card .row.unavailable dd { color: #b6bac6; font-weight: 400; cursor: help; }
.summary-card .row.approx dt i, .summary-card .row.approx dd { color: #b8862f; }
.summary-card .row.unavailable dd i { font-style: normal; border: 1px solid #d7dae5; border-radius: 50%; width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; margin-left: 4px; cursor: help; }

/* ---- settings ---- */
.breadcrumb { color: var(--muted); font-size: 12.5px; margin: 0 0 16px; }

.banner-ok { background: #e7f7ec; border-color: #a9dfc0; color: #1f7a41; }

.settings-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.settings-panel.disabled-panel { opacity: 0.6; }
.settings-panel h2 { font-size: 15px; color: var(--blue-dark); margin: 0 0 16px; }

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; color: var(--muted); }
.field input, .field select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  background: var(--panel);
}

.settings-form .hint { margin: 16px 0; }
.settings-form .btn { border: none; cursor: pointer; }

/* Прибыль в «Товары Авито» (owner 2026-09-03): фактическая/ожидаемая
   прибыль — зелёная при плюсе, красная при минусе, чтобы убыточные товары
   считывались мгновенно. Наследует выравнивание из .data-table td (число). */
.data-table td.num-pos { color: #1a7f37; font-weight: 600; }
.data-table td.num-neg { color: #c0392b; font-weight: 600; }

/* Блок «Товарный капитал / GMROI» в ОПиУ (owner 2026-09-25) */
.tk-block{margin-top:28px;border-top:2px solid var(--border,#e2e6ea);padding-top:16px}
.tk-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tk-toggle{display:inline-flex;border:1px solid var(--border,#cfd6dc);border-radius:8px;overflow:hidden}
.tk-toggle a{padding:6px 16px;text-decoration:none;color:#333;background:#f5f7f9;font-size:14px}
.tk-toggle a.active{background:#2d7ef7;color:#fff;font-weight:600}
.tk-toggle a:focus-visible { outline: 2px solid #185fbd; outline-offset: -2px; }

@media (max-width: 640px) {
  .opiu-head { align-items: flex-start; flex-direction: column; }
}
.tk-cards{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.tk-card{flex:1 1 150px;min-width:150px;background:#f8fafc;border:1px solid var(--border,#e2e6ea);border-radius:10px;padding:10px 14px}
.tk-card-lbl{font-size:12px;color:#6a7480;margin-bottom:4px}
.tk-card-val{font-size:18px;font-weight:600;color:#1c2530}
.tk-delta{font-size:12px;font-weight:600;margin-left:4px}
.tk-delta.up{color:#1a9c53}
.tk-delta.down{color:#d24b4b}
.tk-proj{background:#fff8e6;border:1px solid #f0e0a8;border-radius:8px;padding:8px 12px}
.tk-table input.opiu-input{width:100%;box-sizing:border-box}
