/* mvr.rip icons — path SVG, currentColor, 8px grid.
   Loaded after polish / page CSS; mobile.css still last. */

body .dep-top h1,
body .dep-hero-l h1,
body .db-top h1,
body .sip-top h1,
body .rt-top h1,
body .cdr-top h1,
body .page-title,
body h1.page-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body .dep-top h1 .sd-ico,
body .dep-hero-l h1 .sd-ico,
body .db-top h1 .sd-ico,
body .sip-top h1 .sd-ico,
body .rt-top h1 .sd-ico,
body .cdr-top h1 .sd-ico,
body .page-title .sd-ico {
  color: var(--accent, var(--accent));
  width: 22px !important;
  height: 22px !important;
}

body .dep-panel-h h2,
body .db-panel-h h2,
body .sip-panel-h h2,
body .rt-panel-h h2,
body .panel-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sd-ico,
svg.sd-ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  vertical-align: middle;
  pointer-events: none;
  shape-rendering: geometricPrecision;
  paint-order: stroke fill;
  transition: color 0.12s ease, opacity 0.12s ease;
}

/* Optical weight by size context */
body .sd-pill .sd-ico,
body .sd-pill-ico,
body .p1d-status-ico .sd-ico,
body .db-pill .sd-ico,
body .pill .sd-ico,
body .cdr-kpi .lab .sd-ico,
body .dep-status .sd-ico {
  stroke-width: 1.5 !important;
  vector-effect: none !important;
}
body .db-top h1 .sd-ico,
body .sip-top h1 .sd-ico,
body .rt-top h1 .sd-ico,
body .dep-top h1 .sd-ico,
body .cdr-top h1 .sd-ico,
body .page-title .sd-ico,
body h1.page-title .sd-ico,
body .sd-hero h1 .sd-ico,
body .db-hero h1 .sd-ico,
body .sip-hero h1 .sd-ico,
body .rt-hero h1 .sd-ico,
body .dep-hero h1 .sd-ico,
body .cdr-hero h1 .sd-ico,
body .set-hero h1 .sd-ico,
body .p1-hero h1 .sd-ico {
  stroke-width: 1.5 !important;
}
body .sidebar-nav .icon svg,
body .sidebar-nav .nav-icon svg,
body .mbar-ico svg {
  stroke-width: 1.5 !important;
  vector-effect: none !important;
}

body .btn .sd-ico,
body .sip-btn .sd-ico,
body .dep-btn .sd-ico,
body .set-btn .sd-ico,
body .rt-btn .sd-ico {
  opacity: 0.95;
}
body .btn:hover .sd-ico,
body .sip-btn:hover .sd-ico,
body .dep-btn:hover .sd-ico,
body .set-btn:hover .sd-ico {
  opacity: 1;
}

.sd-ico-txt {
  display: inline;
}

.sd-pill,
body .sd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  border-radius: 8px;
  font-family: var(--fm, ui-monospace, Consolas, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.sd-pill .sd-ico,
.sd-pill-ico,
body .sd-pill .sd-ico {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
}

.sd-empty,
body .sd-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 16px;
  color: var(--t3, #9a9ba6);
  font-size: 13px;
  line-height: 1.5;
}

.sd-empty-ico {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, var(--accent));
  background: var(--accent-s, rgba(167, 139, 250, 0.08));
  border: 1px solid var(--accent-h, rgba(167, 139, 250, 0.2));
}

.sd-empty-ico .sd-ico {
  width: 22px !important;
  height: 22px !important;
}

.sd-empty-title {
  font-weight: 650;
  color: var(--t2, #c8c9d0);
}

.sd-empty-sub {
  font-size: 12px;
  color: var(--t4, #6e7080);
}

body .btn svg,
body .sip-btn svg,
body .dep-btn svg,
body .rt-btn svg,
body .copy-btn svg,
body .sd-copy svg,
body .icon-btn svg,
body .db-icon-btn svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5;
  flex-shrink: 0;
}

body .copy-btn,
body .sd-copy.copy-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0 !important;
}

body .sip-btn.ghost,
body .dep-btn.ghost,
body .sd-copy {
  color: var(--t2, #c8c9d0) !important;
}

body .sip-btn.ghost:hover,
body .dep-btn.ghost:hover,
body .sd-copy:hover {
  color: var(--t1, #f1f1f4) !important;
  border-color: var(--accent-h, rgba(167, 139, 250, 0.2)) !important;
}

body .is-copied,
body .sip-btn.is-copied,
body .dep-btn.is-copied,
body .copy-btn.is-copied,
body .sd-copy.is-copied {
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  background: rgba(34, 197, 94, 0.1) !important;
}

body .sidebar-nav a:hover .icon,
body .sidebar-nav a.active .icon,
body .sidebar-nav a[aria-current="page"] .icon {
  color: var(--accent-hot, var(--accent));
}

body .sidebar-nav .icon,
body .sidebar-nav .nav-icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
}

body .sidebar-nav .icon svg,
body .sidebar-nav .nav-icon svg,
body .mbar-ico svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.5 !important;
  vector-effect: none !important;
}

body .mbar a:hover .mbar-ico,
body .mbar a.on .mbar-ico,
body .mbar a.active .mbar-ico,
body .mbar a[aria-current="page"] .mbar-ico {
  color: var(--accent-hot, var(--accent));
}

body .copy-btn:hover .sd-ico,
body .sd-copy:hover .sd-ico,
body .icon-btn:hover .sd-ico,
body .db-icon-btn:hover .sd-ico,
body .captcha-reload:hover .sd-ico {
  opacity: 1;
  color: var(--accent-hot, var(--accent));
}

body .logout-btn:hover .sd-ico {
  opacity: 1;
}

body .copy-btn:active .sd-ico,
body .sd-copy:active .sd-ico,
body .icon-btn:active .sd-ico,
body .logout-btn:active .sd-ico,
body .add-funds-btn:active svg {
  opacity: 0.85;
}

body .input-ico:focus-within .sd-ico,
body .input-ico:focus-within .ico,
body .sd-search:focus-within svg,
body .rt-search-wrap:focus-within svg {
  color: var(--accent-hot, var(--accent));
}

body .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-s, rgba(167, 139, 250, 0.08));
  border: 1px solid var(--accent-h, rgba(167, 139, 250, 0.2));
  color: var(--accent, var(--accent));
}

body .brand-mark .sd-ico,
body .brand-mark svg {
  width: 16px !important;
  height: 16px !important;
}

.auth-shell .brand .logo {
  gap: 10px;
}

.auth-shell .brand .logo::before {
  content: none !important;
  display: none !important;
}

.auth-shell .brand .sd-brand-mark,
.auth-shell .brand .sd-ico-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-s, rgba(167, 139, 250, 0.08));
  border: 1px solid var(--accent-h, rgba(167, 139, 250, 0.2));
  color: var(--accent, var(--accent));
}

.auth-shell .brand .sd-brand-mark .sd-ico,
.auth-shell .brand .logo > .sd-ico {
  width: 16px;
  height: 16px;
  position: static;
  transform: none;
  stroke: currentColor;
}

.auth-shell .creds .r {
  align-items: center;
}

.auth-shell .creds .copy-btn,
.auth-shell .creds .sd-copy {
  margin-left: auto;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.08));
  border-radius: 8px;
  color: var(--ink-2, #c8c9d0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.auth-shell .creds .copy-btn.is-copied {
  color: var(--ok, #22c55e);
}

.auth-shell .links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-shell .links a .sd-ico {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
}

.auth-shell .btn .sd-spin,
.sd-spin {
  animation: sd-spin 0.8s linear infinite;
}

@keyframes sd-spin {
  to { transform: rotate(360deg); }
}

body .db-kpi .lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body .db-kpi .lab .sd-ico {
  width: 16px !important;
  height: 16px !important;
  color: var(--accent, var(--accent));
}

body .db-quick .ico .sd-ico {
  width: 18px !important;
  height: 18px !important;
}

body .dep-status {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

body .dep-status .sd-ico {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
}

body .dep-pay.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  color: var(--t3);
}

body .dep-pay.empty .sd-empty-ico {
  margin-bottom: 4px;
}

body .dep-bal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body .dep-asset .sd-ico {
  width: 16px;
  height: 16px;
  color: var(--accent, var(--accent));
  margin-bottom: 4px;
}

body .p1d-status-ico {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  border-radius: 0 !important;
  background: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body .p1d-status-ico .sd-ico,
body .p1d-status-ico svg {
  width: 12px !important;
  height: 12px !important;
  min-width: 12px !important;
  min-height: 12px !important;
}

body #startCampaignBtn svg,
body #startCampaignBtnInline svg,
body #stopCampaignBtn svg,
body #stopCampaignBtnInline svg {
  fill: none !important;
  stroke: currentColor !important;
  width: 16px !important;
  height: 16px !important;
}

body .head-ico,
body .panel-head .head-ico,
body .panel-head .sd-ico {
  width: 16px !important;
  height: 16px !important;
  color: var(--accent, var(--accent));
}

body .privacy-note,
body .xfer-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

body .privacy-note .sd-ico,
body .xfer-privacy .sd-ico {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--accent, var(--accent));
}

body .running-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body .db-pill,
body .cdr-page .pill,
body .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body .db-pill .sd-ico,
body .pill .sd-ico {
  width: 11px !important;
  height: 11px !important;
}

body .sip-help {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body .sip-help-h {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
  color: var(--t3);
}

body .sip-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
body .sip-tab .sd-ico {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
}

@media (max-width: 860px) {
  body .copy-btn,
  body .sd-copy.copy-btn,
  body .icon-btn,
  body .db-icon-btn,
  body .logout-btn,
  body .captcha-reload,
  body .sip-reg-item .sip-btn.ghost,
  body .sip-table .sip-btn.ghost,
  body .sip-kv .sip-btn.ghost {
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  body .sip-btn,
  body .dep-btn,
  body .sd-copy:not(.copy-btn) {
    min-height: 44px !important;
  }
}

@media (max-width: 360px) {
  html, body {
    overflow-x: hidden;
  }
  body .content,
  body .auth-shell,
  body .dep-page,
  body .sip-page {
    max-width: 100%;
    overflow-x: hidden;
  }
}

body .input-ico .sd-ico,
body .input-ico .ico {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  pointer-events: none;
  color: var(--t4, #6e7080);
}

body .filter-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .sd-spin,
  .auth-shell .btn .sd-spin,
  body .p1d-status.running .p1d-status-ico {
    animation: none !important;
  }
  body .is-copied,
  .sd-ico,
  svg.sd-ico {
    transition: none !important;
  }
}
