.cabinet-theme {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #d8e1ea;
  border-radius: 12px;
  background: #f8fafc;
}

.cabinet-theme__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

html[data-theme="v2"] {
  --bg: #edf1f5;
  --card: #ffffff;
  --surface: #f6f8fb;
  --surface-2: #eff3f7;
  --text: #13283c;
  --muted: #5e7388;
  --line: #d6dee7;
  --line-strong: #bcc9d6;
  --primary: #005fb1;
  --primary2: #004f95;
  --primary-soft: #e8f1fb;
  --danger: #b6414b;
  --ok: #16744a;
  --warn: #9a6a1f;
  --shadow: none;
  --radius: 10px;
}

html[data-theme="v2"] body {
  background: linear-gradient(180deg, #f4f7fa 0%, #edf1f5 220px);
  color: var(--text);
}

html[data-theme="v2"] .app {
  min-height: 100vh;
  background: transparent;
}

html[data-theme="v2"] .sidebar {
  width: 304px;
  padding: 14px 12px;
  gap: 12px;
  background: linear-gradient(180deg, #17324d 0%, #10263b 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="v2"] .brand {
  padding: 6px 8px;
  gap: 10px;
}

html[data-theme="v2"] .brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  color: #123e67;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
}

html[data-theme="v2"] .brand__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

html[data-theme="v2"] .brand__sub {
  font-size: 11px;
  color: #b7c5d3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="v2"] .userbox {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(215, 227, 237, 0.14);
  backdrop-filter: none;
}

html[data-theme="v2"] .userbox__name {
  font-size: 14px;
  font-weight: 600;
}

html[data-theme="v2"] .userbox__meta {
  margin-top: 3px;
  font-size: 11px;
  color: #c1cfdb;
}

html[data-theme="v2"] .userbox__actions {
  margin-top: 8px;
}

html[data-theme="v2"] .menu {
  gap: 6px;
}

html[data-theme="v2"] .menu-group {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

html[data-theme="v2"] .menu-root-link {
  min-height:40px;
  padding:8px 10px;
  border-radius:12px !important;
  color:#eef4f9;
}

html[data-theme="v2"] .menu-group.open {
  border-color: rgba(185, 208, 229, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

html[data-theme="v2"] .menu-group__head {
  min-height: 40px;
  padding: 8px 10px;
  color: #eef4f9;
}

html[data-theme="v2"] .menu-group__head:hover {
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="v2"] .menu-group.open > .menu-group__head {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="v2"] .menu-group__left,
html[data-theme="v2"] .menu-item__left {
  gap: 9px;
}

html[data-theme="v2"] .menu-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="v2"] .menu-group[data-group="grp_tasks_appeals_root"] > .menu-group__head .menu-title {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html[data-theme="v2"] .menu-group > .menu-group__head .menu-ico,
html[data-theme="v2"] .menu-root-link .menu-ico {
  width: 18px;
  flex-basis: 24px;
  opacity: 0.92;
}

html[data-theme="v2"] .menu-caret {
  opacity: 0.75;
}

html[data-theme="v2"] .menu-group__body {
  padding: 5px 6px 8px;
  background: rgba(3, 16, 29, 0.16);
}

html[data-theme="v2"] .menu-section__head {
  min-height: 39px;
  padding: 8px 8px 8px 10px;
  color: #d4dfe8;
}

html[data-theme="v2"] .menu-section.open > .menu-section__head {
  color: #ffffff;
  background: rgba(72, 109, 142, 0.22);
}

html[data-theme="v2"] .menu-section__title {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

html[data-theme="v2"] .menu-item {
  min-height: 36px;
  padding: 7px 9px;
  border-radius: 9px;
  color: #e5edf4;
  font-size: 13px;
}

html[data-theme="v2"] .menu-section__body .menu-item {
  min-height: 34px;
  padding: 7px 8px 7px 10px;
  color: #dbe5ed;
  font-size: 12.5px;
  line-height: 1.3;
}

html[data-theme="v2"] .menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

html[data-theme="v2"] .menu-item.active {
  color: #ffffff;
  background: rgba(0, 95, 177, 0.44);
  border-color: rgba(152, 197, 233, 0.44);
}

html[data-theme="v2"] .menu-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.24);
}

html[data-theme="v2"] .menu-item.active .menu-dot {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

html[data-theme="v2"] .menu-badge {
  background: #d2454a;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .sidebar__footer {
  color: #94a8ba;
}

html[data-theme="v2"] .userbox__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

html[data-theme="v2"] .userbox .contour-switch-btn,
html[data-theme="v2"] .userbox .contour-switch-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef6ff;
}

html[data-theme="v2"] .userbox .contour-switch-btn:hover,
html[data-theme="v2"] .userbox .contour-switch-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

html[data-theme="v2"] .userbox .contour-switch-chip.is-active,
html[data-theme="v2"] .userbox .contour-switch-chip:disabled {
  background: rgba(120, 169, 223, 0.22);
  border-color: rgba(120, 169, 223, 0.46);
  color: #eef6ff;
}

html[data-theme="v2"] .main {
  background: transparent;
}

html[data-theme="v2"] .topbar {
  min-height: 56px;
  padding: 10px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

html[data-theme="v2"] .topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

html[data-theme="v2"] .breadcrumbs {
  color: #4b6278;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

html[data-theme="v2"] .content {
  padding: 16px;
}

html[data-theme="v2"] .contour-switch-btn,
html[data-theme="v2"] .contour-switch-chip {
  background: #ffffff;
  border-color: #d7e0ec;
  color: #16324a;
  box-shadow: none;
}

html[data-theme="v2"] .contour-switch-btn:hover,
html[data-theme="v2"] .contour-switch-chip:hover {
  background: #eef6ff;
  border-color: #9ec5ef;
}

html[data-theme="v2"] .contour-switch-chip.is-active,
html[data-theme="v2"] .contour-switch-chip:disabled {
  background: #d9ebff;
  border-color: #78a9df;
  color: #0f3d68;
}

html[data-theme="v2"] .admin-req-contours {
  border-color: #d7e0ec;
  background: #ffffff;
}

html[data-theme="v2"] .admin-req-contours--invalid {
  border-color: #dc2626;
  background: #fef2f2;
}

html[data-theme="v2"] .admin-req-pagination {
  border-color: #d7e0ec;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .admin-req-pagination__dots {
  color: #7a8ca0;
}

html[data-theme="v2"] .view {
  min-height: calc(100vh - 88px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="v2"] .h1 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #10283f;
}

html[data-theme="v2"] .h2 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #17324d;
}

html[data-theme="v2"] .muted {
  color: var(--muted);
}

html[data-theme="v2"] .hr {
  margin: 12px 0;
  border-top-color: var(--line);
}

html[data-theme="v2"] .grid {
  gap: 12px;
}

html[data-theme="v2"] .row {
  gap: 8px;
}

html[data-theme="v2"] .card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .input,
html[data-theme="v2"] .select,
html[data-theme="v2"] .textarea {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: none;
}

html[data-theme="v2"] .textarea {
  min-height: 92px;
}

html[data-theme="v2"] .input:hover,
html[data-theme="v2"] .select:hover,
html[data-theme="v2"] .textarea:hover,
html[data-theme="v2"] .table input:hover,
html[data-theme="v2"] .table select:hover {
  border-color: #9fb1c3;
}

html[data-theme="v2"] .input:focus,
html[data-theme="v2"] .select:focus,
html[data-theme="v2"] .textarea:focus,
html[data-theme="v2"] .table input:focus,
html[data-theme="v2"] .table select:focus,
html[data-theme="v2"] .receive-scan-input:focus,
html[data-theme="v2"] .receive-pro__input:focus,
html[data-theme="v2"] .receive-pro__search-input:focus {
  border-color: #2c74b8;
  box-shadow: 0 0 0 3px rgba(0, 95, 177, 0.14);
  outline: none;
}

html[data-theme="v2"] .input:disabled,
html[data-theme="v2"] .select:disabled,
html[data-theme="v2"] .textarea:disabled,
html[data-theme="v2"] .input[readonly] {
  background: #f3f6f9;
  color: #55697d;
}

html[data-theme="v2"] .btn {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: #31495f;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

html[data-theme="v2"] .btn:hover {
  border-color: #95aabc;
  background: #f7f9fb;
}

html[data-theme="v2"] .btn:active {
  background: #eef3f7;
}

html[data-theme="v2"] .btn--primary {
  color: #ffffff;
  border-color: #0058a5;
  background: linear-gradient(180deg, #0067bf 0%, #00539b 100%);
}

html[data-theme="v2"] .btn--primary:hover {
  border-color: #004b8e;
  background: linear-gradient(180deg, #005da9 0%, #004a88 100%);
}

html[data-theme="v2"] .btn--danger {
  color: #9d2f39;
  background: #fff4f5;
  border-color: #efc9cf;
}

html[data-theme="v2"] .btn--danger:hover {
  background: #ffeff1;
  border-color: #e4b4bd;
}

html[data-theme="v2"] .btn--danger-soft {
  color: #9d2f39;
  background: #fff4f5;
  border-color: #efc9cf;
}

html[data-theme="v2"] .btn--ok {
  color: #12683f;
  background: #eef8f1;
  border-color: #c9dfd1;
}

html[data-theme="v2"] .btn--ok:hover {
  background: #e7f4eb;
  border-color: #b6d2bf;
}

html[data-theme="v2"] .btn--sm,
html[data-theme="v2"] .btn--xs {
  min-height: 31px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 12px;
}

html[data-theme="v2"] .btn--ghost {
  color: #415b73;
  background: #ffffff;
  border-color: var(--line-strong);
}

html[data-theme="v2"] .btn--ghost:hover {
  background: #f7f9fb;
  border-color: #95aabc;
}

html[data-theme="v2"] .sidebar .btn--ghost {
  color: #eef4f9;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="v2"] .sidebar .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

html[data-theme="v2"] .pill,
html[data-theme="v2"] .badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d7e0e9;
  background: #f4f7fa;
  color: #355066;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none;
}

html[data-theme="v2"] .badge--ok {
  color: #15653f;
  border-color: #c7ded0;
  background: #edf7f0;
}

html[data-theme="v2"] .badge--warn {
  color: #895c18;
  border-color: #ead8b1;
  background: #fff7e8;
}

html[data-theme="v2"] .badge--danger {
  color: #9d2f39;
  border-color: #edc5cb;
  background: #fff1f3;
}

html[data-theme="v2"] .table,
html[data-theme="v2"] .shipment-table,
html[data-theme="v2"] .invoice-admin__table,
html[data-theme="v2"] .award-vch-stats__table,
html[data-theme="v2"] .gen-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .table th,
html[data-theme="v2"] .table td,
html[data-theme="v2"] .shipment-table th,
html[data-theme="v2"] .shipment-table td,
html[data-theme="v2"] .invoice-admin__table thead th,
html[data-theme="v2"] .invoice-admin__table tbody td,
html[data-theme="v2"] .award-vch-stats__table thead th,
html[data-theme="v2"] .award-vch-stats__table tbody td,
html[data-theme="v2"] .gen-table thead th,
html[data-theme="v2"] .gen-table tbody td {
  padding: 8px 9px;
  border-bottom: 1px solid #e3eaf1;
  font-size: 12px;
  vertical-align: top;
}

html[data-theme="v2"] .table th,
html[data-theme="v2"] .shipment-table th,
html[data-theme="v2"] .invoice-admin__table thead th,
html[data-theme="v2"] .award-vch-stats__table thead th,
html[data-theme="v2"] .gen-table thead th {
  background: #f3f7fb;
  color: #52697e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="v2"] .table tr:last-child td,
html[data-theme="v2"] .shipment-table tbody tr:last-child td,
html[data-theme="v2"] .invoice-admin__table tbody tr:last-child td,
html[data-theme="v2"] .award-vch-stats__table tbody tr:last-child td,
html[data-theme="v2"] .gen-table tbody tr:last-child td {
  border-bottom: 0;
}

html[data-theme="v2"] .table tbody tr:hover td,
html[data-theme="v2"] .shipment-table tbody tr:hover td,
html[data-theme="v2"] .invoice-admin__table tbody tr:hover td,
html[data-theme="v2"] .award-vch-stats__table tbody tr:hover td,
html[data-theme="v2"] .gen-table tbody tr:hover td,
html[data-theme="v2"] .search_rows:hover,
html[data-theme="v2"] .shipment-row.is-open td {
  background: #f1f6fb;
}

html[data-theme="v2"] .table--compact th,
html[data-theme="v2"] .table--compact td {
  padding: 6px 7px;
}

html[data-theme="v2"] .table input,
html[data-theme="v2"] .table select {
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 7px;
  border-color: var(--line-strong);
  font-size: 12px;
  box-shadow: none;
}

html[data-theme="v2"] .tabs {
  gap: 6px;
  margin: 10px 0 14px;
}

html[data-theme="v2"] .tab {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 8px;
  border-color: var(--line-strong);
  color: #50677c;
  background: #ffffff;
}

html[data-theme="v2"] .tab.active {
  border-color: #005db0;
  background: #005fb1;
  color: #ffffff;
}

html[data-theme="v2"] .mode-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d4dde6;
  border-radius: 9px;
  background: #eef3f7;
}

html[data-theme="v2"] .mode-switch__btn {
  min-height: 30px;
  padding: 5px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #4f677d;
  font-size: 12px;
  font-weight: 600;
}

html[data-theme="v2"] .mode-switch__btn:hover {
  background: #ffffff;
}

html[data-theme="v2"] .mode-switch__btn.is-active {
  color: #ffffff;
  background: #005fb1;
  box-shadow: none;
}

html[data-theme="v2"] .toast {
  padding: 10px 12px;
  border-radius: 9px;
  background: #17324d;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .dirty-field {
  background: #fff6de;
  border-color: #d5a754;
}

html[data-theme="v2"] .scan_info {
  border-left-color: #005fb1;
  background: #f6f9fc;
}

html[data-theme="v2"] .shipment-panel,
html[data-theme="v2"] .shipment-modal-dialog,
html[data-theme="v2"] .shipment-card,
html[data-theme="v2"] .shipment-summary-card,
html[data-theme="v2"] .shipment-kit-panel,
html[data-theme="v2"] .receive-hero-card,
html[data-theme="v2"] .receive-stat,
html[data-theme="v2"] .receive-entry,
html[data-theme="v2"] .receive-pro__hero,
html[data-theme="v2"] .receive-pro__card,
html[data-theme="v2"] .admin-award-stats__card,
html[data-theme="v2"] .award-vch-stats__card,
html[data-theme="v2"] .award-vch-stats__filters-card,
html[data-theme="v2"] .invoice-admin__summary-card,
html[data-theme="v2"] .invoice-admin__summary-group,
html[data-theme="v2"] .invoice-admin__stat-card,
html[data-theme="v2"] .invoice-admin__picker-card,
html[data-theme="v2"] .copy-bd-panel,
html[data-theme="v2"] .copy-bd-action,
html[data-theme="v2"] .copy-bd-result,
html[data-theme="v2"] .copy-bd-result__card,
html[data-theme="v2"] .copy-bd-monitor__stat,
html[data-theme="v2"] .admin-activity__table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .shipment-panel,
html[data-theme="v2"] .receive-hero-card,
html[data-theme="v2"] .receive-pro__hero,
html[data-theme="v2"] .invoice-admin__summary-card,
html[data-theme="v2"] .copy-bd-panel,
html[data-theme="v2"] .copy-bd-action,
html[data-theme="v2"] .copy-bd-result {
  background-image: none;
}

html[data-theme="v2"] .shipment-modal-overlay {
  background: rgba(13, 23, 34, 0.52);
  backdrop-filter: none;
}

html[data-theme="v2"] .shipment-modal-dialog {
  border-radius: 14px;
  border-color: #d4dde7;
}

html[data-theme="v2"] .shipment-modal-dialog__topbar,
html[data-theme="v2"] .shipment-hero,
html[data-theme="v2"] .shipment-details-wrap,
html[data-theme="v2"] .invoice-admin__summary-group-body {
  background: #f8fafc;
  border-color: var(--line);
}

html[data-theme="v2"] .shipment-modal-dialog__eyebrow,
html[data-theme="v2"] .shipment-hero__eyebrow,
html[data-theme="v2"] .receive-hero__eyebrow,
html[data-theme="v2"] .copy-bd-panel__kicker,
html[data-theme="v2"] .invoice-admin__summary-card-kicker,
html[data-theme="v2"] .invoice-admin__stat-label,
html[data-theme="v2"] .receive-stat__label {
  color: #5b738a;
}

html[data-theme="v2"] .shipment-hero__title,
html[data-theme="v2"] .receive-hero__title,
html[data-theme="v2"] .copy-bd-panel__title,
html[data-theme="v2"] .copy-bd-monitor__stage,
html[data-theme="v2"] .invoice-admin__summary-card-title,
html[data-theme="v2"] .invoice-admin__summary-group-title {
  color: #10283f;
}

html[data-theme="v2"] .shipment-hero__pill,
html[data-theme="v2"] .invoice-admin__summary-pill,
html[data-theme="v2"] .copy-bd-panel__badge,
html[data-theme="v2"] .copy-bd-action__pill,
html[data-theme="v2"] .copy-bd-monitor__status,
html[data-theme="v2"] .receive-pro__micro-pill,
html[data-theme="v2"] .receive-pro__prepare-pill,
html[data-theme="v2"] .receive-pro__badge,
html[data-theme="v2"] .shipment-card__pair-badge {
  border: 1px solid #d4dde7;
  background: #f4f7fa;
  color: #40586f;
  box-shadow: none;
}

html[data-theme="v2"] .copy-bd-panel__badge.is-running,
html[data-theme="v2"] .copy-bd-monitor__status.is-running,
html[data-theme="v2"] .receive-pro__prepare-pill--info {
  background: #e9f2fb;
  border-color: #c6d9ec;
  color: #1a5f9f;
}

html[data-theme="v2"] .copy-bd-panel__badge.is-success,
html[data-theme="v2"] .copy-bd-monitor__status.is-success,
html[data-theme="v2"] .receive-pro__badge--received,
html[data-theme="v2"] .receive-pro__prepare-pill--ok {
  background: #eef8f1;
  border-color: #c7ded0;
  color: #15653f;
}

html[data-theme="v2"] .copy-bd-panel__badge.is-error,
html[data-theme="v2"] .copy-bd-monitor__status.is-error,
html[data-theme="v2"] .receive-pro__badge--error,
html[data-theme="v2"] .receive-pro__prepare-pill--danger {
  background: #fff1f3;
  border-color: #edc5cb;
  color: #9d2f39;
}

html[data-theme="v2"] .receive-pro__prepare-pill--warn,
html[data-theme="v2"] .receive-pro__badge--already {
  background: #fff7e8;
  border-color: #ead8b1;
  color: #895c18;
}

html[data-theme="v2"] .shipment-card,
html[data-theme="v2"] .receive-pro__card {
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .shipment-card:hover,
html[data-theme="v2"] .receive-pro__card:hover,
html[data-theme="v2"] .copy-bd-action:hover {
  transform: none;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__card::before,
html[data-theme="v2"] .invoice-admin__stat-card::after {
  display: none;
}

html[data-theme="v2"] .shipment-card__index,
html[data-theme="v2"] .receive-pro__card-index {
  border: 1px solid #cdd8e3;
  background: #f2f6fa;
  color: #17324d;
}

html[data-theme="v2"] .shipment-card__type,
html[data-theme="v2"] .shipment-card__type--award,
html[data-theme="v2"] .shipment-card__type--certificate {
  border: 1px solid #d4dde7;
  background: #f4f7fa;
  color: #385069;
}

html[data-theme="v2"] .shipment-card__pair-badge--ok {
  background: #eef8f1;
  border-color: #c7ded0;
  color: #15653f;
}

html[data-theme="v2"] .shipment-card__pair-badge--warn {
  background: #fff7e8;
  border-color: #ead8b1;
  color: #895c18;
}

html[data-theme="v2"] .receive-scan-input,
html[data-theme="v2"] .receive-pro__input,
html[data-theme="v2"] .receive-pro__search-input {
  min-height: 42px;
  border-radius: 8px;
  border-color: var(--line-strong);
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__input,
html[data-theme="v2"] .receive-pro__search-input {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__input:hover,
html[data-theme="v2"] .receive-pro__input:focus,
html[data-theme="v2"] .receive-pro__search-input:hover,
html[data-theme="v2"] .receive-pro__search-input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__input-shell {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__input-shell:focus-within {
  border-color: #2c74b8;
  box-shadow: 0 0 0 3px rgba(0, 95, 177, 0.14);
}

html[data-theme="v2"] .receive-stat,
html[data-theme="v2"] .invoice-admin__summary-metric,
html[data-theme="v2"] .copy-bd-monitor__stat,
html[data-theme="v2"] .copy-bd-result__card {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: none;
}

html[data-theme="v2"] .receive-stat strong,
html[data-theme="v2"] .copy-bd-monitor__stat strong,
html[data-theme="v2"] .copy-bd-result__card strong {
  color: #10283f;
}

html[data-theme="v2"] .receive-stat--ok,
html[data-theme="v2"] .invoice-admin__stat-card--remaining,
html[data-theme="v2"] .copy-bd-action--emerald {
  border-color: #c7ded0;
  background: #ffffff;
  box-shadow: inset 0 3px 0 #16744a;
}

html[data-theme="v2"] .receive-stat--warn,
html[data-theme="v2"] .invoice-admin__stat-card--sent,
html[data-theme="v2"] .copy-bd-action--amber {
  border-color: #ead8b1;
  background: #ffffff;
  box-shadow: inset 0 3px 0 #9a6a1f;
}

html[data-theme="v2"] .invoice-admin__stat-card--neutral,
html[data-theme="v2"] .admin-award-stats__card--accent,
html[data-theme="v2"] .award-vch-stats__card--accent {
  border-color: #c7d8e8;
  background: #ffffff;
  box-shadow: inset 0 3px 0 #005fb1;
}

html[data-theme="v2"] .admin-award-stats__card--danger,
html[data-theme="v2"] .award-vch-stats__card--danger,
html[data-theme="v2"] .receive-pro__card--error,
html[data-theme="v2"] .receive-pro__card--error::before {
  border-color: #edc5cb;
  background: #ffffff;
  box-shadow: inset 0 3px 0 #b6414b;
}

html[data-theme="v2"] .receive-pro__card--already,
html[data-theme="v2"] .receive-pro__card--already::before {
  border-color: #ead8b1;
  background: #ffffff;
  box-shadow: inset 0 3px 0 #9a6a1f;
}

html[data-theme="v2"] .shipment-table-wrap,
html[data-theme="v2"] .award-vch-stats__table-wrap,
html[data-theme="v2"] .invoice-admin__table-wrap,
html[data-theme="v2"] .admin-activity__table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

html[data-theme="v2"] .shipment-row:focus-visible {
  outline: 2px solid rgba(0, 95, 177, 0.4);
  outline-offset: -2px;
}

html[data-theme="v2"] .paginations .active {
  background: #005fb1;
  color: #ffffff;
}

html[data-theme="v2"] #pag button:hover {
  background: #e8eef5;
}

html[data-theme="v2"] .admin-award-stats__card--accent {
  border-color: #1b5f93;
  background: linear-gradient(180deg, #21496d 0%, #17324d 100%);
  box-shadow: none;
}

html[data-theme="v2"] .award-vch-stats__card--accent {
  border-color: #16616a;
  background: linear-gradient(180deg, #1e5c60 0%, #18474e 100%);
  box-shadow: none;
}

html[data-theme="v2"] .admin-award-stats__card--danger,
html[data-theme="v2"] .award-vch-stats__card--danger {
  border-color: #8f3942;
  background: linear-gradient(180deg, #9f434c 0%, #812f37 100%);
  box-shadow: none;
}

html[data-theme="v2"] .admin-award-stats__card--accent .admin-award-stats__label,
html[data-theme="v2"] .admin-award-stats__card--danger .admin-award-stats__label,
html[data-theme="v2"] .award-vch-stats__card--accent .award-vch-stats__label,
html[data-theme="v2"] .award-vch-stats__card--danger .award-vch-stats__label {
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="v2"] .admin-award-stats__card--accent .admin-award-stats__value,
html[data-theme="v2"] .admin-award-stats__card--danger .admin-award-stats__value,
html[data-theme="v2"] .award-vch-stats__card--accent .award-vch-stats__value,
html[data-theme="v2"] .award-vch-stats__card--danger .award-vch-stats__value {
  color: #ffffff;
}

html[data-theme="v2"] .admin-award-stats__card--accent .admin-award-stats__sub,
html[data-theme="v2"] .admin-award-stats__card--danger .admin-award-stats__sub,
html[data-theme="v2"] .award-vch-stats__card--accent .award-vch-stats__sub,
html[data-theme="v2"] .award-vch-stats__card--danger .award-vch-stats__sub {
  color: rgba(255, 255, 255, 0.9);
}

html[data-theme="v2"] .admin-award-stats__ovu-total {
  background: linear-gradient(180deg, #1b5a8d 0%, #14456d 100%);
  box-shadow: none;
}

html[data-theme="v2"] .award-vch-stats__award-total {
  background: #1e5b60;
  color: #ffffff;
}

html[data-theme="v2"] .receive-pro {
  gap: 14px;
}

html[data-theme="v2"] .receive-pro__layout {
  grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
  gap: 16px;
}

html[data-theme="v2"] .receive-pro__rail {
  gap: 12px;
  top: 0;
}

html[data-theme="v2"] .receive-pro__panel,
html[data-theme="v2"] .receive-pro__toolbar,
html[data-theme="v2"] .receive-pro__feed-wrap {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
  backdrop-filter: none;
}

html[data-theme="v2"] .receive-pro__panel::after,
html[data-theme="v2"] .receive-pro__panel--scan::before {
  display: none;
}

html[data-theme="v2"] .receive-pro__panel,
html[data-theme="v2"] .receive-pro__panel--scan,
html[data-theme="v2"] .receive-pro__toolbar,
html[data-theme="v2"] .receive-pro__feed-wrap,
html[data-theme="v2"] .receive-pro__prepare,
html[data-theme="v2"] .receive-pro__search {
  background-image: none;
}

html[data-theme="v2"] .receive-pro__panel-top,
html[data-theme="v2"] .receive-pro__toolbar-main {
  gap: 10px;
}

html[data-theme="v2"] .receive-pro__panel-title,
html[data-theme="v2"] .receive-pro__toolbar-title {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

html[data-theme="v2"] .receive-pro__scanner-band {
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1a3b59 0%, #14314a 100%);
  color: #f3f8fc;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__scanner-copy strong {
  font-size: 15px;
}

html[data-theme="v2"] .receive-pro__scanner-copy span {
  color: rgba(243, 248, 252, 0.8);
}

html[data-theme="v2"] .receive-pro__input-shell {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

html[data-theme="v2"] .receive-pro__input-prefix {
  min-width: 48px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #1a5f9f;
}

html[data-theme="v2"] .receive-pro__input {
  height: 42px;
  font-size: 14px;
}

html[data-theme="v2"] .receive-pro__search-input {
  height: 36px;
}

html[data-theme="v2"] .receive-pro__scan-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-theme="v2"] .receive-pro__micro-list,
html[data-theme="v2"] .receive-pro__filters,
html[data-theme="v2"] .receive-pro__prepare-pills,
html[data-theme="v2"] .receive-pro__chips {
  gap: 6px;
}

html[data-theme="v2"] .receive-pro__stats {
  gap: 10px;
}

html[data-theme="v2"] .receive-pro__stat {
  min-height: 82px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
}

html[data-theme="v2"] .receive-pro__stat::after {
  display: none;
}

html[data-theme="v2"] .receive-pro__stat--accent {
  border-color: #c7d8e8;
  box-shadow: inset 0 3px 0 #005fb1;
}

html[data-theme="v2"] .receive-pro__stat--success {
  border-color: #c7ded0;
  box-shadow: inset 0 3px 0 #16744a;
}

html[data-theme="v2"] .receive-pro__stat--warning {
  border-color: #ead8b1;
  box-shadow: inset 0 3px 0 #9a6a1f;
}

html[data-theme="v2"] .receive-pro__stat--danger {
  border-color: #edc5cb;
  box-shadow: inset 0 3px 0 #b6414b;
}

html[data-theme="v2"] .receive-pro__tip {
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

html[data-theme="v2"] .receive-pro__toolbar {
  gap: 12px;
}

html[data-theme="v2"] .receive-pro__toolbar-meta {
  font-size: 12px;
}

html[data-theme="v2"] .receive-pro__toolbar-actions {
  gap: 12px;
}

html[data-theme="v2"] .receive-pro__toolbar-buttons {
  gap: 8px;
}

html[data-theme="v2"] .receive-pro__prepare {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__prepare.is-busy {
  border-color: #c7d8e8;
  box-shadow: 0 0 0 3px rgba(0, 95, 177, 0.08);
}

html[data-theme="v2"] .receive-pro__filter {
  padding: 8px 10px;
  background: #f5f8fb;
  border: 1px solid var(--line);
  color: #334c62;
  box-shadow: none;
  transform: none;
}

html[data-theme="v2"] .receive-pro__filter strong {
  min-width: 24px;
  height: 24px;
  background: #eaf2fb;
  color: #1a5f9f;
}

html[data-theme="v2"] .receive-pro__filter:hover {
  background: #eef4f8;
  border-color: #afbfce;
  box-shadow: none;
  transform: none;
}

html[data-theme="v2"] .receive-pro__filter.is-active {
  background: #005fb1;
  border-color: #00549d;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__filter.is-active strong {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

html[data-theme="v2"] .receive-pro__search {
  min-width: min(340px, 100%);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__search:focus-within {
  border-color: #c7d8e8;
  box-shadow: 0 0 0 3px rgba(0, 95, 177, 0.08);
}

html[data-theme="v2"] .receive-pro__feed {
  gap: 10px;
}

html[data-theme="v2"] .receive-pro__card {
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
}

html[data-theme="v2"] .receive-pro__card--already {
  background: #fffdf8;
  border-color: #e8d6a8;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__card--error {
  background: #fff6f7;
  border-color: #e8c2c8;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__card-title {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}

html[data-theme="v2"] .receive-pro__card-person {
  margin-top: 4px;
  font-size: 12px;
}

html[data-theme="v2"] .receive-pro__card-route {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f5f8fb;
  border: 1px solid var(--line);
}

html[data-theme="v2"] .receive-pro__prepare-note {
  border-radius: 10px;
  background: #f6f8fb;
  border-color: var(--line);
}

html[data-theme="v2"] .receive-pro__chip {
  background: #f5f8fb;
  border-color: var(--line);
}

html[data-theme="v2"] .receive-pro__empty {
  min-height: 240px;
  padding: 24px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed #c9d4df;
}

html[data-theme="v2"] .receive-pro__empty-emoji {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eaf2fb;
  color: #16588d;
}

html[data-theme="v2"] .receive-pro__pagination {
  padding: 2px 0 0;
}

html[data-theme="v2"] .receive-pro__page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: none;
}

html[data-theme="v2"] .receive-pro__page-btn:hover:not(:disabled) {
  background: #f5f8fb;
  border-color: #92a8bb;
  box-shadow: none;
  transform: none;
}

html[data-theme="v2"] .receive-pro__page-btn.is-active {
  background: #005fb1;
  border-color: #00549d;
  color: #ffffff;
  box-shadow: none;
}

@media (max-width: 980px) {
  html[data-theme="v2"] .topbar {
    padding: 10px 12px;
  }

  html[data-theme="v2"] .content {
    padding: 12px;
  }

  html[data-theme="v2"] .view {
    min-height: auto;
    padding: 14px;
    border-radius: 12px;
  }

  html[data-theme="v2"] .receive-pro__layout {
    grid-template-columns: 1fr;
  }

  html[data-theme="v2"] .receive-pro__rail {
    position: static;
  }
}

@media (max-width: 640px) {
  html[data-theme="v2"] .content {
    padding: 10px;
  }

  html[data-theme="v2"] .view {
    padding: 12px;
  }

  html[data-theme="v2"] .mode-switch {
    width: 100%;
  }

  html[data-theme="v2"] .mode-switch__btn {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
  }

  html[data-theme="v2"] .receive-pro__scan-actions {
    grid-template-columns: 1fr;
  }

  html[data-theme="v2"] .receive-pro__card-top,
  html[data-theme="v2"] .receive-pro__card-head,
  html[data-theme="v2"] .receive-pro__toolbar-main,
  html[data-theme="v2"] .receive-pro__toolbar-actions,
  html[data-theme="v2"] .receive-pro__pagination {
    flex-direction: column;
    align-items: stretch;
  }

  html[data-theme="v2"] .receive-pro__card-top-right {
    justify-content: flex-start;
  }

  html[data-theme="v2"] .receive-pro__search,
  html[data-theme="v2"] .receive-pro__toolbar-side {
    min-width: 100%;
  }

  html[data-theme="v2"] .receive-pro__card-route {
    grid-template-columns: 1fr;
  }
}

html[data-theme="v2"] .menu-group__body > .menu-item {
  min-height: 34px;
  padding: 7px 8px 7px 10px;
  color: #dbe5ed;
  font-size: 12.5px;
  line-height: 1.3;
}
