/* M8 HUB Admin console (ADM2) — admin-only additions on top of the shared
   WEB1 files (ui/tokens.css, ui/components.css) and the shop page styles
   (styles.css). Every class here is prefixed a-; the approved design 4
   preview names are mapped onto WEB1's real ones (wc -> wallet-card,
   tr -> trust-item, st -> story, pc -> pcard, srch -> filter-search,
   sel -> select, bal -> wallet-chip, ib -> icon-btn, ni -> nav-item). */

:root {
  --a-okbg: rgba(52, 211, 153, 0.14);
  --a-warnbg: rgba(251, 191, 36, 0.14);
  --a-badbg: rgba(248, 113, 113, 0.14);
  --a-infobg: rgba(125, 211, 252, 0.13);
  --a-info: #7dd3fc;
  --a-violet-soft: rgba(139, 92, 255, 0.18);
  --a-violet-text: #c9b6ff;
}

:root[data-theme="light"] {
  --a-okbg: #e3f7ee;
  --a-warnbg: #fdf2dc;
  --a-badbg: #fde6e6;
  --a-infobg: #e3f4fc;
  --a-info: #0b7fb5;
  --a-violet-soft: rgba(124, 77, 255, 0.12);
  --a-violet-text: #6b3be8;
}

/* The hidden attribute always wins (WEB1's .btn and the bulk bar set
   their own display). */
[hidden] {
  display: none !important;
}

/* ----------------------------------------------------------- buttons */
.btn.a-ok {
  background: var(--a-okbg);
  color: var(--ok);
}

.btn.a-bad {
  background: var(--a-badbg);
  color: var(--bad);
}

.chip.a-i {
  color: var(--a-info);
  background: var(--a-infobg);
  border-color: transparent;
}

.hold.a-bad {
  background: linear-gradient(115deg, #c7323a, #f87171);
  box-shadow: 0 14px 34px -14px rgba(248, 113, 113, 0.6);
  color: #fff;
}

.hold .hold-fill {
  transition: none;
}

.hold.a-holding .hold-fill {
  inset: 0 0 0 0;
  transition: inset 0.9s linear;
}

.hold > * {
  position: relative;
}

.a-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.a-up {
  color: var(--ok);
}

.a-dn {
  color: var(--bad);
}

.a-muted {
  color: var(--muted);
}

.a-faint {
  color: var(--faint);
}

.a-num {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------ top-bar parts */
.wallet-chip.a-sw {
  gap: 7px;
  padding: 0 12px;
}

.wallet-chip.a-sw svg {
  width: 17px;
  height: 17px;
  color: var(--violet);
}

@media (max-width: 420px) {
  .wallet-chip.a-sw {
    padding: 0 9px;
    font-size: 12.5px;
  }

  .lang-pill {
    padding: 0 8px;
  }
}

@media (max-width: 520px) {
  .logo-text {
    display: none !important;
  }

  .wallet-chip.a-sw .a-sw-ico {
    display: none;
  }
}

.icon-btn .a-bd {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px var(--bg-2);
}

.dock .a-bd {
  position: absolute;
  top: 6px;
  left: calc(50% + 6px);
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--bad);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.dock a {
  position: relative;
}

.dock .dock-center .a-bd {
  top: -4px;
  left: calc(50% + 10px);
  box-shadow: 0 0 0 2px var(--bg);
}

/* --------------------------------------------------------- left menu */
.a-smode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.a-smode button {
  height: 36px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.a-smode button svg {
  width: 16px;
  height: 16px;
}

.a-smode button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--glow);
}

.nav-item .count.a-r {
  color: var(--bad);
  background: var(--a-badbg);
}

.nav-item .count.a-w {
  color: var(--warn);
  background: var(--a-warnbg);
}

.mini-badge.a-r {
  color: var(--bad);
  background: var(--a-badbg);
}

.mini-badge.a-w {
  color: var(--warn);
  background: var(--a-warnbg);
}

.mini-badge.a-v {
  color: var(--a-violet-text);
  background: var(--a-violet-soft);
}

.mini-badge.a-g {
  color: var(--ok);
  background: var(--a-okbg);
}

.a-health {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.a-health div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.a-health span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
  box-shadow: 0 0 0 3px var(--a-okbg);
}

.a-dot.a-w {
  background: var(--warn);
  box-shadow: 0 0 0 3px var(--a-warnbg);
}

.a-dot.a-r {
  background: var(--bad);
  box-shadow: 0 0 0 3px var(--a-badbg);
}

.a-me {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
}

.a-me .a-gav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
  flex: none;
}

.a-me .a-gav span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.a-me b {
  display: block;
  font-size: 13px;
}

.a-me small {
  display: block;
  font-size: 11.5px;
  color: var(--faint);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.a-me > div {
  min-width: 0;
  flex: 1;
}

/* Signed-out and approval screens: no menu, no dock, no admin chips. */
body.a-pre .sidebar,
body.a-pre .dock,
body.a-pre .a-auth,
body.a-pre .menu-btn,
body.a-pre .search-pill,
body.a-pre .mobile-only {
  display: none !important;
}

@media (min-width: 1180px) {
  body.a-pre .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------- pages */
.a-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

/* Wide rows (chips, tables, tabs) scroll inside their own box and never
   widen the page. */
.a-page > *,
.a-gap > *,
.a-col > *,
.a-sgrid > * {
  min-width: 0;
}

.a-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.a-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.a-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13.5px;
}

.a-hg {
  display: grid;
  gap: 16px;
}

@media (min-width: 980px) {
  .a-hg {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

.a-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.wallet-card .a-hs {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0.88;
}

.wallet-card .a-hs b {
  display: block;
  font-size: 17px;
}

.stat.a-r svg,
.stat.a-r b {
  color: var(--bad);
}

.stat.a-w svg {
  color: var(--warn);
}

.stat {
  text-align: left;
  min-width: 0;
}

.stat small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-item.a-tr {
  text-align: left;
  width: 100%;
  min-width: 0;
}

.trust-item.a-tr > div {
  min-width: 0;
}

.trust-item.a-tr:hover {
  border-color: var(--border-2);
}

.trust-item.a-tr b {
  display: block;
}

.trust-item.a-tr small {
  display: block;
  color: var(--muted);
}

.trust-item.a-tr {
  align-items: center;
}

.trust-item.a-tr .chip {
  margin-left: auto;
  flex: none;
}

.story .a-v {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: -2px;
}

.story-ring.a-w {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.story-ring.a-off {
  background: var(--border-2);
}

.a-ringtile {
  width: 56px;
  height: 56px;
  border-radius: 21px;
  display: grid;
  place-items: center;
  background: var(--panel-solid);
  font-weight: 800;
  font-size: 15px;
}

.a-stories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 4px;
}

.a-stories::-webkit-scrollbar {
  display: none;
}

.a-todo {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.a-ti {
  display: grid;
  grid-template-columns: 4px 40px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  text-align: left;
  width: 100%;
}

.a-ti:first-child {
  border-top: 0;
}

.a-stripe {
  width: 4px;
  align-self: stretch;
  border-radius: 4px;
  background: var(--warn);
}

.a-stripe.a-r {
  background: var(--bad);
}

.a-stripe.a-i {
  background: var(--a-info);
}

.a-stripe.a-v {
  background: var(--violet);
}

.a-tic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border);
}

.a-tic svg {
  width: 19px;
  height: 19px;
}

.a-tb {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.a-tt {
  font-weight: 800;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.a-ts {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.a-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.a-chart text {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.a-chart .a-bar {
  fill: url(#a-bar-grad);
}

.a-chart .a-bar.a-zero {
  fill: var(--border-2);
}

.a-chart .a-grid {
  stroke: var(--border);
  stroke-width: 1;
}

.a-card {
  padding: 16px;
  border-radius: var(--r-card-sm);
  min-width: 0;
}

.a-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.a-card .sec-head {
  margin-bottom: 8px;
}

.a-card .sec-head h3 {
  margin: 0;
}

/* ----------------------------------------------------- filters, table */
.a-fbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.a-fbar .filter-search {
  flex: 1 1 220px;
  height: 42px;
  min-width: 0;
}

.a-fbar .filter-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
}

.a-fbar .select {
  height: 42px;
}

.a-fbar .select select {
  background: none;
  border: 0;
  outline: 0;
  appearance: none;
  padding-right: 4px;
  max-width: 150px;
}

.a-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.a-chips::-webkit-scrollbar {
  display: none;
}

.a-tw {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.a-tw table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
}

.a-tw th {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 800;
  text-align: left;
  padding: 11px 14px;
  white-space: nowrap;
}

.a-tw td {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
  font-weight: 600;
}

.a-tw td.a-name {
  white-space: normal;
  min-width: 180px;
  max-width: 320px;
}

.a-tw tr.a-click {
  cursor: pointer;
}

.a-tw tr.a-click:hover td,
.a-tw tr.a-click:focus-visible td {
  background: var(--panel-2);
}

.a-tw .a-r {
  text-align: right;
}

.a-prod {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.a-prod > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.a-desk {
  display: none;
}

.a-mob {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 980px) {
  .a-desk {
    display: block;
  }

  .a-mob {
    display: none;
  }
}

.order.a-oc {
  text-align: left;
  width: 100%;
}

.order.a-oc .order-top > div {
  min-width: 0;
  flex: 1;
}

.order.a-oc .order-top b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------------------------------------------------------- products */
.a-pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 10px;
}

.pcard .a-cb {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid var(--border-2);
  display: grid;
  place-items: center;
  background: var(--bg-2);
  z-index: 2;
}

.pcard .a-cb svg {
  width: 15px;
  height: 15px;
  opacity: 0;
}

.pcard.a-on {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet) inset;
}

.pcard.a-on .a-cb {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.pcard.a-on .a-cb svg {
  opacity: 1;
}

.pcard .a-pn {
  font-weight: 750;
  font-size: 14px;
  line-height: 1.35;
  padding-right: 30px;
  overflow-wrap: anywhere;
}

.pcard .a-own {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.a-bulk {
  position: sticky;
  bottom: 96px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 18px;
  background: var(--panel-solid);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}

@media (min-width: 980px) {
  .a-bulk {
    bottom: 16px;
  }
}

.a-bulk input {
  width: 92px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--border-2);
  background: var(--panel-2);
  padding: 0 10px;
}

/* ---------------------------------------------------------- settings */
.a-sgrid {
  display: grid;
  gap: 14px;
}

@media (min-width: 980px) {
  .a-sgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.a-grp {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.a-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}

.a-set:first-of-type {
  border-top: 0;
}

.a-set > div {
  min-width: 0;
  flex: 1;
}

.a-set b {
  display: block;
  font-size: 14px;
}

.a-set small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.a-set .a-ctl {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* ------------------------------------------------------------ sheets */
.a-sh h3 {
  margin: 0 44px 12px 0;
  font-size: 18px;
  font-weight: 800;
}

.sheet.a-wide {
  max-width: 640px;
}

@media (min-width: 640px) {
  .sheet-wrap.a-center {
    align-items: center;
  }

  .sheet-wrap.a-center .sheet {
    border-radius: 26px;
    border-bottom: 1px solid var(--border-2);
  }
}

.a-kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px 14px;
  font-size: 13.5px;
  margin: 0;
}

.a-kv dt {
  color: var(--muted);
  font-weight: 700;
}

.a-kv dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}

.a-tl {
  display: flex;
  flex-direction: column;
}

.a-tle {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  position: relative;
  padding-bottom: 12px;
}

.a-tle::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: var(--border-2);
}

.a-tle:last-child::before {
  display: none;
}

.a-tle i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--a-okbg);
  border: 2px solid var(--ok);
}

.a-tle.a-w i {
  background: var(--a-warnbg);
  border-color: var(--warn);
}

.a-tle.a-off i {
  background: var(--panel-2);
  border-color: var(--border-2);
}

.a-tle b {
  display: block;
  font-size: 13.5px;
}

.a-tle small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.a-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a-box.a-bad {
  border-color: var(--a-badbg);
}

.a-box.a-warn {
  border-color: var(--a-warnbg);
  background: var(--a-warnbg);
}

.a-box h4 {
  margin: 0;
  font-size: 13px;
}

.a-box.a-bad h4 {
  color: var(--bad);
}

.a-gap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.a-big {
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.6px;
}

.a-range {
  width: 100%;
  accent-color: var(--violet);
}

.a-slip {
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--panel-2);
}

.a-slip img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
}

.a-input {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-2);
  background: var(--panel-2);
  padding: 8px 12px;
}

.a-mask {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------------- sign-in */
.a-login {
  max-width: 460px;
  width: 100%;
  margin: 20px auto 0;
}

.a-login .login-card h1 {
  font-size: 22px;
  margin: 0;
}

.a-tgc {
  width: 100%;
  border-radius: 16px;
  background: #17212b;
  color: #e9eef2;
  padding: 12px;
  text-align: left;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a-tgc .a-tb2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.a-tgc .a-tb2 span {
  height: 34px;
  border-radius: 9px;
  background: #2b5278;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.btn.a-gw {
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
}

.a-lnk {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.a-steps {
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.a-steps b {
  color: var(--text);
}

/* ------------------------------------------------------- shop mode */
.a-ownbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--brand-soft);
  border: 1px solid var(--border-2);
  font-weight: 700;
  font-size: 13px;
}

.a-ownbar span {
  flex: 1;
  min-width: 180px;
}

.pcard .a-ownbtns {
  display: flex;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

/* -------------------------------------------------- states, skeleton */
.a-skel {
  height: 86px;
  border-radius: var(--r-card-sm);
}

.a-skel-row {
  display: grid;
  gap: 10px;
}

.a-err {
  border: 1px solid var(--a-badbg);
  background: var(--a-badbg);
  border-radius: 16px;
  padding: 12px 14px;
  color: var(--bad);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.a-err span {
  flex: 1;
  min-width: 160px;
}

.a-note {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

.a-note svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
}

/* Home quick bars: two per row inside the admin columns at every width. */
.a-col .trust {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Phone order cards: a long product name truncates instead of pushing the
   status chip off screen. */
.a-mob > *,
.a-list > * {
  min-width: 0;
}

.order.a-oc {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.order.a-oc .order-top > div b,
.order.a-oc .order-top > div small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Telegram command buttons may carry a long command (an order id): they
   wrap inside sheets and cards instead of overflowing. */
.a-row > .btn {
  max-width: 100%;
}

.btn.btn-telegram.btn-sm {
  height: auto;
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
  white-space: normal;
  text-align: left;
}

.btn .a-mask {
  overflow-wrap: anywhere;
}

.a-sh .order-top > div {
  min-width: 0;
  flex: 1;
}

.a-sh .order-top b {
  display: block;
  overflow-wrap: anywhere;
}

.a-chart.a-chart-lg text {
  font-size: 17px;
}

/* Inline icons created without a size class. */
.side-card b svg,
.a-err svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  flex: none;
}
