.dm-push {
  --dm-accent: #ff7a45;
  --dm-accent-2: #ff9a5c;
  --dm-ok: var(--ok, #22c55e);
  --dm-warn: var(--amber, #f5c26b);
  --dm-err: var(--red, #ff8a7a);
  --dm-info: var(--blue, #7aa7ff);
  --dm-line: var(--screen-line, #27272a);
  --dm-muted: var(--screen-muted, #71717a);
  --dm-ink: var(--screen-ink, #e4e4e7);
  container-type: inline-size;
  background: var(--screen, #0c0c0e);
  color: var(--dm-ink);
  font-family: var(--font-body, system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.dm-push *,
.dm-push *::before,
.dm-push *::after {
  box-sizing: border-box;
}

.dm-push [hidden] {
  display: none !important;
}

.dm-push button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.dm-push :focus-visible {
  outline: 2px solid var(--dm-info);
  outline-offset: 2px;
}

.dm-push__grid {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr) 262px;
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: 'composer pipeline device';
  gap: 14px;
  padding: 14px;
  height: 668px;
}

.dm-push__panel {
  background: var(--screen-2, #17171a);
  border: 1px solid var(--dm-line);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dm-push__composer { grid-area: composer; overflow-y: auto; }
.dm-push__pipeline { grid-area: pipeline; }
.dm-push__device { grid-area: device; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; }

.dm-push__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
}

.dm-push__head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--dm-ink);
}

.dm-push__head span {
  font-size: 11px;
  color: var(--dm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__device .dm-push__head { margin-bottom: 8px; }

/* Composer */
.dm-push__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1;
}

.dm-push__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dm-push__field > span,
.dm-push__seg legend,
.dm-push__drills legend {
  font-size: 11px;
  color: var(--dm-muted);
  padding: 0;
  margin-bottom: 4px;
}

.dm-push__field input,
.dm-push__field textarea,
.dm-push__field select {
  width: 100%;
  background: var(--screen, #0c0c0e);
  border: 1px solid var(--dm-line);
  border-radius: 8px;
  color: var(--dm-ink);
  font: inherit;
  font-size: 12.5px;
  padding: 7px 9px;
  resize: none;
}

.dm-push__field textarea { line-height: 1.35; }

.dm-push__field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--dm-muted) 50%), linear-gradient(135deg, var(--dm-muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.dm-push__field select option { background: #17171a; color: #e4e4e7; }

.dm-push__field input:focus-visible,
.dm-push__field textarea:focus-visible,
.dm-push__field select:focus-visible {
  outline: none;
  border-color: var(--dm-info);
  box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.18);
}

.dm-push__seg,
.dm-push__drills {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.dm-push__seg-row {
  display: flex;
  background: var(--screen, #0c0c0e);
  border: 1px solid var(--dm-line);
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.dm-push__seg-opt {
  flex: 1;
  min-width: 0;
  position: relative;
}

.dm-push__seg-opt input,
.dm-push__switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.dm-push__seg-opt span {
  display: block;
  text-align: center;
  font-size: 11.5px;
  padding: 5px 4px;
  border-radius: 6px;
  color: var(--dm-muted);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s, color 0.15s;
}

.dm-push__seg-opt input:checked + span {
  background: var(--raised, #1f2023);
  color: var(--dm-ink);
  box-shadow: inset 0 0 0 1px var(--line-strong, #3a3b3e);
}

.dm-push__seg-opt input:focus-visible + span,
.dm-push__switch input:focus-visible + .dm-push__switch-ui {
  outline: 2px solid var(--dm-info);
  outline-offset: 1px;
}

.dm-push__token {
  margin: 5px 0 0;
  font-size: 10.5px;
  color: var(--dm-muted);
}

.dm-push__token code {
  font-family: var(--font-mono, ui-monospace, monospace);
  color: var(--teal, #5fd4c4);
  margin-left: 4px;
}

.dm-push__token.is-muted code { color: var(--dm-muted); text-decoration: line-through; }

.dm-push__switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--body, #b4b4b0);
  cursor: pointer;
}

.dm-push__switch-ui {
  flex: none;
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: var(--line-strong, #3a3b3e);
  position: relative;
  transition: background-color 0.15s;
}

.dm-push__switch-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e4e4e7;
  transition: transform 0.15s;
}

.dm-push__switch input:checked + .dm-push__switch-ui { background: var(--dm-info); }
.dm-push__switch--warn input:checked + .dm-push__switch-ui { background: #d9952f; }
.dm-push__switch input:checked + .dm-push__switch-ui::after { transform: translateX(12px); }

.dm-push__drills {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px 10px;
  border: 1px dashed var(--line-strong, #3a3b3e);
  border-radius: 8px;
}

.dm-push__drills legend { padding: 0 4px; margin-bottom: 0; }

.dm-push__send {
  margin-top: auto;
  border: 0;
  border-radius: 9px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  color: #1a0f08 !important;
  background: linear-gradient(180deg, var(--dm-accent-2), var(--dm-accent));
  box-shadow: 0 6px 18px -8px rgba(255, 122, 69, 0.7);
}

.dm-push__send:hover:not(:disabled) { filter: brightness(1.06); }

.dm-push__send:disabled {
  cursor: not-allowed;
  background: var(--raised, #1f2023);
  color: var(--dm-muted) !important;
  box-shadow: none;
}

.dm-push__hint {
  margin: -4px 0 0;
  font-size: 11px;
  color: var(--dm-warn);
}

/* Pipeline */
.dm-push__flow {
  display: flex;
  flex-direction: column;
}

.dm-push__node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--dm-line);
  background: var(--screen, #0c0c0e);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.dm-push__node-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong, #3a3b3e);
  transition: background-color 0.2s, box-shadow 0.2s;
}

.dm-push__node-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dm-push__node-text strong {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dm-ink);
}

.dm-push__node-text small {
  font-size: 10.5px;
  color: var(--dm-muted);
  font-family: var(--font-mono, ui-monospace, monospace);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__node-status {
  flex: none;
  max-width: 55%;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__node-status:empty { display: none; }

.dm-push__node.is-active {
  border-color: rgba(122, 167, 255, 0.6);
  background: rgba(122, 167, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(122, 167, 255, 0.1);
}

.dm-push__node.is-active .dm-push__node-dot { background: var(--dm-info); box-shadow: 0 0 0 4px rgba(122, 167, 255, 0.22); }
.dm-push__node.is-active .dm-push__node-status { background: rgba(122, 167, 255, 0.15); color: var(--dm-info); }
.dm-push__node.is-done .dm-push__node-dot { background: var(--dm-ok); }
.dm-push__node.is-done .dm-push__node-status { background: rgba(34, 197, 94, 0.13); color: #6ee7a0; }
.dm-push__node.is-error { border-color: rgba(255, 138, 122, 0.6); background: rgba(255, 138, 122, 0.08); }
.dm-push__node.is-error .dm-push__node-dot { background: var(--dm-err); box-shadow: 0 0 0 4px rgba(255, 138, 122, 0.2); }
.dm-push__node.is-error .dm-push__node-status { background: rgba(255, 138, 122, 0.16); color: var(--dm-err); }
.dm-push__node.is-warn { border-color: rgba(245, 194, 107, 0.55); background: rgba(245, 194, 107, 0.07); }
.dm-push__node.is-warn .dm-push__node-dot { background: var(--dm-warn); box-shadow: 0 0 0 4px rgba(245, 194, 107, 0.2); }
.dm-push__node.is-warn .dm-push__node-status { background: rgba(245, 194, 107, 0.15); color: var(--dm-warn); }

.dm-push__conn {
  width: 2px;
  height: 10px;
  margin-left: 14px;
  background: var(--dm-line);
  transition: background-color 0.2s;
}

.dm-push__conn.is-lit { background: var(--dm-ok); }

.dm-push__backend,
.dm-push__mine {
  position: relative;
  border: 1px dashed var(--line-strong, #3a3b3e);
  border-radius: 11px;
  padding: 24px 7px 7px;
}

.dm-push__backend .dm-push__conn { margin-left: 14px; }
.dm-push__backend + .dm-push__conn,
.dm-push__flow > .dm-push__node + .dm-push__conn { margin-left: 22px; }

.dm-push__backend-label,
.dm-push__mine-label {
  position: absolute;
  top: 6px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: baseline;
  font-size: 10.5px;
  color: var(--dm-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__backend-label b {
  font-weight: 600;
  color: var(--body, #b4b4b0);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9.5px;
}

.dm-push__backend-label span { overflow: hidden; text-overflow: ellipsis; }

.dm-push__mine { border-color: rgba(255, 122, 69, 0.45); }

.dm-push__mine-label {
  color: #ffa877;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 9.5px;
  font-weight: 600;
}

.dm-push__payload {
  margin-top: 12px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dm-line);
  border-radius: 9px;
  background: var(--screen, #0c0c0e);
  overflow: hidden;
  transition: border-color 0.2s;
}

.dm-push__payload.is-norm { border-color: rgba(255, 122, 69, 0.45); }
.dm-push__payload.is-raw { border-color: rgba(122, 167, 255, 0.4); }

.dm-push__payload-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid var(--dm-line);
  font-size: 11px;
  color: var(--body, #b4b4b0);
}

.dm-push__payload-tag {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--raised, #1f2023);
  color: var(--dm-muted);
}

.dm-push__payload.is-norm .dm-push__payload-tag { color: #ffa877; }
.dm-push__payload.is-raw .dm-push__payload-tag { color: var(--dm-info); }

.dm-push__payload pre {
  margin: 0;
  padding: 8px 10px;
  overflow: auto;
  flex: 1;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--dm-muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.dm-push__payload pre .k { color: var(--violet, #b4a1ff); }
.dm-push__payload pre .s { color: #a7e3b8; }
.dm-push__payload pre .n { color: var(--dm-warn); }

/* Phone */
.dm-push__phone {
  flex: none;
  width: 230px;
  height: 460px;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a2b30, #0d0d10 40%);
  box-shadow: 0 0 0 1px #34353a, 0 20px 40px -18px rgba(0, 0, 0, 0.8);
}

.dm-push__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 27px;
  overflow: hidden;
  background: #f6f3ee;
  color: #1c1b1a;
  font-size: 11px;
  isolation: isolate;
}

.dm-push__statusbar {
  position: absolute;
  inset: 0 0 auto;
  height: 24px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  font-size: 10.5px;
  font-weight: 600;
  color: #1c1b1a;
  pointer-events: none;
}

.dm-push__screen.is-light-status .dm-push__statusbar,
.dm-push__screen:has(.dm-push__shade:not([hidden])) .dm-push__statusbar { color: #fff; }

.dm-push__camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0b0b0d;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.25);
}

.dm-push__sys { display: flex; gap: 3px; align-items: center; }
.dm-push__sys svg { width: 11px; height: 11px; display: block; }

.dm-push__view {
  position: absolute;
  inset: 0;
}

.dm-push svg { display: block; }

/* App */
.dm-push__app {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  background: #f6f3ee;
}

.dm-push__appbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 8px 0 10px;
}

.dm-push__appbar > b {
  flex: 1;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.dm-push__icon-btn {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1c1b1a !important;
  display: grid;
  place-items: center;
  padding: 0;
}

.dm-push__icon-btn svg { width: 18px; height: 18px; }
.dm-push__icon-btn:hover { background: rgba(0, 0, 0, 0.06); }

.dm-push__bag i {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  background: var(--dm-accent);
  color: #fff;
  font-size: 8.5px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

.dm-push__appicon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffa25e, #f0582c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.dm-push__appicon svg { width: 62%; height: 62%; }
.dm-push__appicon--sm { width: 22px; height: 22px; border-radius: 7px; }
.dm-push__appicon--xs { width: 14px; height: 14px; border-radius: 4px; }
.dm-push__appicon--lg { width: 64px; height: 64px; border-radius: 20px; }

.dm-push__app-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 12px 12px;
  scrollbar-width: none;
}

.dm-push__app-body::-webkit-scrollbar { display: none; }

.dm-push__greet {
  margin: 2px 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dm-push__searchbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 10px;
  background: #fff;
  color: #9a948c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 10.5px;
}

.dm-push__searchbar svg { width: 13px; height: 13px; }

.dm-push__hero {
  position: relative;
  margin-top: 10px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 11px 12px;
  color: #fff;
  background: linear-gradient(130deg, #2d3f35, #1d2a24 60%, #c7552a 140%);
  overflow: hidden;
}

.dm-push__hero > div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; max-width: 64%; }
.dm-push__hero small { font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: #ffb48a; }
.dm-push__hero b { font-size: 12.5px; line-height: 1.2; }

.dm-push__hero button {
  align-self: flex-start;
  margin-top: 5px;
  border: 0;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 600;
  background: #fff;
  color: #1d2a24 !important;
}

.dm-push__hero-art {
  position: absolute;
  right: -6px;
  bottom: -10px;
  width: 92px;
  height: 92px;
  opacity: 0.95;
  transform: rotate(-8deg);
}

.dm-push__hero-art svg { width: 100%; height: 100%; }

.dm-push__section {
  margin: 12px 0 7px;
  font-size: 11.5px;
  font-weight: 700;
}

.dm-push__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dm-push__card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 0;
  padding: 0 0 6px;
  background: transparent;
  text-align: left;
  color: #1c1b1a !important;
  border-radius: 12px;
}

.dm-push__card-art {
  display: grid;
  place-items: center;
  height: 74px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.dm-push__card-art svg { width: 56px; height: 56px; }
.dm-push__card-name { font-size: 10.5px; font-weight: 600; }
.dm-push__card-price { font-size: 10px; color: #6b655d; }

.dm-push__tabs {
  flex: none;
  display: flex;
  height: 46px;
  background: #fff;
  border-top: 1px solid #ebe6df;
  padding-bottom: 4px;
}

.dm-push__tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  color: #9a948c !important;
}

.dm-push__tabs svg { width: 17px; height: 17px; }
.dm-push__tabs .is-on { color: var(--dm-accent) !important; font-weight: 600; }

/* Category */
.dm-push__cat-head { display: flex; align-items: baseline; justify-content: space-between; margin: 2px 0 8px; }
.dm-push__cat-head b { font-size: 16px; letter-spacing: -0.01em; }
.dm-push__cat-head small { color: #8a847b; font-size: 10px; }

.dm-push__chips { display: flex; gap: 5px; margin-bottom: 10px; overflow: hidden; }

.dm-push__chip {
  flex: none;
  font-size: 9.5px;
  padding: 4px 9px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid #e6e0d8;
  color: #5a554e;
}

.dm-push__chip.is-on { background: #1c1b1a; color: #fff; border-color: #1c1b1a; }

.dm-push__rows,
.dm-push__lines { display: flex; flex-direction: column; gap: 7px; }

.dm-push__row,
.dm-push__line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  color: #1c1b1a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dm-push__row-art {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 9px;
}

.dm-push__row-art svg { width: 32px; height: 32px; }
.dm-push__row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dm-push__row-text b { font-size: 10.5px; }
.dm-push__row-text small { display: flex; align-items: center; gap: 2px; font-size: 9.5px; color: #8a847b; }
.dm-push__row-text small svg,
.dm-push__rating svg { width: 10px; height: 10px; color: #f0a020; }
.dm-push__row-price { font-size: 10.5px; font-weight: 700; }

/* Product */
.dm-push__app-body--product { padding: 0; }

.dm-push__pdp-art {
  display: grid;
  place-items: center;
  height: 150px;
  margin: 0 12px;
  border-radius: 16px;
}

.dm-push__pdp-art svg { width: 112px; height: 112px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12)); }

.dm-push__pdp { padding: 10px 12px 12px; }
.dm-push__pdp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dm-push__pdp-top b { font-size: 14px; letter-spacing: -0.01em; }
.dm-push__pdp-top span { font-size: 13px; font-weight: 700; color: #c2491d; }
.dm-push__rating { display: flex; align-items: center; gap: 3px; margin-top: 2px; font-size: 9.5px; color: #8a847b; }
.dm-push__pdp p { margin: 7px 0 9px; font-size: 10px; line-height: 1.45; color: #5a554e; }

.dm-push__opts { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 9.5px; }
.dm-push__opts > span:first-child { width: 36px; color: #8a847b; }
.dm-push__opts i { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 2px #f6f3ee, 0 0 0 3px #d7d0c6; }
.dm-push__opts i:first-of-type { box-shadow: 0 0 0 2px #f6f3ee, 0 0 0 3px #1c1b1a; }

.dm-push__size {
  min-width: 26px;
  text-align: center;
  padding: 3px 5px;
  border-radius: 7px;
  border: 1px solid #e0d9cf;
  background: #fff;
}

.dm-push__size.is-on { background: #1c1b1a; color: #fff; border-color: #1c1b1a; }

.dm-push__pdp-cta { flex: none; padding: 8px 12px; background: #f6f3ee; }

.dm-push__pdp-cta button,
.dm-push__fake-btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 9px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: #fff !important;
  background: #1c1b1a;
}

/* Cart */
.dm-push__promo {
  margin-top: 9px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px dashed #e5a27f;
  background: #fff3ec;
  color: #b4471c;
  font-size: 10px;
  font-weight: 600;
}

.dm-push__sum { margin: 10px 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; }
.dm-push__sum div { display: flex; justify-content: space-between; }
.dm-push__sum dt { color: #8a847b; }
.dm-push__sum dd { margin: 0; }
.dm-push__sum .is-total { margin-top: 4px; padding-top: 7px; border-top: 1px solid #e6e0d8; font-weight: 700; font-size: 12px; }
.dm-push__sum .is-total dt { color: #1c1b1a; }

/* Launcher */
.dm-push__launcher {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 44px 14px 16px;
  color: #fff;
  background:
    radial-gradient(120% 70% at 20% 0%, #6f5bd6 0%, transparent 60%),
    radial-gradient(90% 60% at 100% 100%, #e0734a 0%, transparent 60%),
    linear-gradient(180deg, #2c2758, #1a1a2e);
}

.dm-push__widget { display: flex; flex-direction: column; margin-bottom: 26px; padding-left: 4px; }
.dm-push__widget b { font-size: 36px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.dm-push__widget small { margin-top: 4px; font-size: 10px; opacity: 0.85; text-transform: capitalize; }

.dm-push__lgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 14px;
  column-gap: 4px;
}

.dm-push__lapp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff !important;
  min-width: 0;
}

.dm-push__lapp small {
  font-size: 8.5px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-push__lapp .dm-push__appicon,
.dm-push__lapp-icon { width: 38px; height: 38px; border-radius: 12px; }

.dm-push__lapp-icon {
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dm-push__lapp-icon i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); }

.dm-push__lsearch {
  margin-top: auto;
  height: 32px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.dm-push__lsearch svg { width: 14px; height: 14px; }

/* Lock */
.dm-push__lock {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 10px 14px;
  color: #fff;
  background:
    radial-gradient(100% 60% at 50% 0%, #2e3a5c 0%, transparent 70%),
    linear-gradient(180deg, #141826, #0a0b10);
}

.dm-push__lock-icon svg { width: 14px; height: 14px; opacity: 0.8; }
.dm-push__lock-time { margin-top: 10px; font-size: 48px; font-weight: 200; letter-spacing: -0.03em; line-height: 1; }
.dm-push__lock-date { margin-top: 6px; font-size: 10.5px; opacity: 0.8; text-transform: capitalize; }
.dm-push__lock-list { width: 100%; margin-top: 22px; }
.dm-push__lock-hint { margin-top: auto; font-size: 9.5px; opacity: 0.55; }

/* Notifications */
.dm-push__notif {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  border: 0;
  text-align: left;
  padding: 9px 10px;
  border-radius: 16px;
}

.dm-push__notif-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  opacity: 0.75;
}

.dm-push__notif-main { display: flex; gap: 8px; align-items: flex-start; }
.dm-push__notif-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dm-push__notif-text b { font-size: 10.5px; line-height: 1.25; }

.dm-push__notif-text span {
  font-size: 9.5px;
  line-height: 1.3;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dm-push__notif-thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.dm-push__notif-thumb svg { width: 28px; height: 28px; }

.dm-push__notif-big {
  display: grid;
  place-items: center;
  height: 86px;
  margin-top: 4px;
  border-radius: 10px;
}

.dm-push__notif-big svg { width: 70px; height: 70px; }

.dm-push__notif--lock {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  backdrop-filter: blur(10px);
}

.dm-push__headsup-wrap {
  position: absolute;
  top: 28px;
  left: 7px;
  right: 7px;
  z-index: 5;
  animation: dm-push-drop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.dm-push__notif--headsup {
  background: rgba(32, 33, 38, 0.96);
  color: #fff !important;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.55);
}

.dm-push__shade {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.dm-push__shade-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 8, 12, 0.6);
  animation: dm-push-fade 0.3s ease;
}

.dm-push__shade-panel {
  position: relative;
  padding: 32px 10px 12px;
  border-radius: 0 0 22px 22px;
  background: rgba(24, 26, 33, 0.97);
  color: #fff;
  animation: dm-push-pull 0.4s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.dm-push__shade-top { display: flex; align-items: baseline; gap: 8px; padding: 0 4px; }
.dm-push__shade-top b { font-size: 20px; font-weight: 300; }
.dm-push__shade-top small { font-size: 9.5px; opacity: 0.7; text-transform: capitalize; }

.dm-push__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 12px; }
.dm-push__tiles i { height: 26px; border-radius: 13px; background: rgba(255, 255, 255, 0.1); }
.dm-push__tiles i.is-on { background: #a9c4ff; }

.dm-push__notif--tray { background: rgba(255, 255, 255, 0.08); color: #fff !important; }

.dm-push__shade-handle {
  display: block;
  width: 32px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

/* Splash */
.dm-push__splash {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #ff8a4c, #e5501f);
  color: #fff;
  animation: dm-push-fade 0.25s ease;
}

.dm-push__splash .dm-push__appicon { background: rgba(255, 255, 255, 0.18); box-shadow: none; }
.dm-push__splash b { font-size: 18px; letter-spacing: -0.01em; }

.dm-push__splash i {
  margin-top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: dm-push-spin 0.8s linear infinite;
}

/* Settings */
.dm-push__settings { height: 100%; padding-top: 24px; background: #f2f2f5; color: #1c1b1f; }
.dm-push__settings-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px; }
.dm-push__settings-bar b { font-size: 13px; }

.dm-push__settings-app { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0 16px; }
.dm-push__settings-app b { font-size: 13px; }
.dm-push__settings-app small { font-size: 9.5px; color: #77757d; }

.dm-push__settings-label { margin: 0 14px 6px; font-size: 9.5px; font-weight: 600; color: #4a62b8; text-transform: uppercase; letter-spacing: 0.05em; }

.dm-push__settings-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 16px);
  margin: 0 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  color: #1c1b1f !important;
}

.dm-push__settings-row > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dm-push__settings-row b { font-size: 11px; }
.dm-push__settings-row small { font-size: 9px; color: #77757d; }

.dm-push__settings-row i {
  flex: none;
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 9px;
  background: #c9c7cf;
  transition: background-color 0.15s;
}

.dm-push__settings-row i::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}

.dm-push__settings-row i.is-on { background: #4a62b8; }
.dm-push__settings-row i.is-on::after { transform: translateX(14px); }

/* Toast and permission */
.dm-push__toast {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 54px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #2a2b30;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
  animation: dm-push-fade 0.25s ease;
}

.dm-push__toast > span { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.dm-push__toast svg { width: 13px; height: 13px; color: var(--dm-warn); flex: none; }

.dm-push__toast button {
  align-self: flex-end;
  border: 0;
  border-radius: 99px;
  padding: 4px 11px;
  font-size: 10px;
  font-weight: 600;
  background: #a9c4ff;
  color: #10204a !important;
}

.dm-push__perm {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: rgba(0, 0, 0, 0.45);
  animation: dm-push-fade 0.25s ease;
}

.dm-push__perm-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px 10px;
  border-radius: 22px;
  background: #eef0f8;
  color: #1b1c22;
  text-align: center;
}

.dm-push__perm-icon { color: #4a62b8; }
.dm-push__perm-icon svg { width: 20px; height: 20px; }
.dm-push__perm-card p { margin: 2px 0 8px; font-size: 12px; line-height: 1.35; }

.dm-push__perm-card button {
  width: 100%;
  border: 0;
  border-radius: 99px;
  padding: 8px;
  font-size: 11px;
  font-weight: 600;
  background: #dfe3f3;
  color: #2c3f8c !important;
}

.dm-push__perm-card button:first-of-type { background: #4a62b8; color: #fff !important; }

/* Log */
.dm-push__log {
  width: 100%;
  margin-top: 10px;
  flex: none;
  height: 136px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dm-line);
  border-radius: 10px;
  background: var(--screen-2, #17171a);
  overflow: hidden;
}

.dm-push__log-head {
  padding: 5px 9px;
  font-size: 10.5px;
  color: var(--dm-muted);
  border-bottom: 1px solid var(--dm-line);
}

.dm-push__log ol {
  list-style: none;
  margin: 0;
  padding: 5px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 0;
  min-height: 0;
}

.dm-push__log li {
  display: flex;
  gap: 6px;
  padding: 1px 9px;
  align-items: baseline;
}

.dm-push__log li > span {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-1px);
  background: var(--dm-info);
}

.dm-push__log li.is-ok > span { background: var(--dm-ok); }
.dm-push__log li.is-warn > span { background: var(--dm-warn); }
.dm-push__log li.is-err > span { background: var(--dm-err); }
.dm-push__log li.is-route > span { background: #ff9a5c; }

.dm-push__log code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9.5px;
  line-height: 1.45;
  color: var(--body, #b4b4b0);
  word-break: break-word;
}

.dm-push__log li.is-err code { color: var(--dm-err); }
.dm-push__log li.is-route code { color: #ffb48a; }

@keyframes dm-push-drop {
  from { transform: translateY(-120%); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes dm-push-pull {
  from { transform: translateY(-100%); }
  to { transform: none; }
}

@keyframes dm-push-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dm-push-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .dm-push__headsup-wrap,
  .dm-push__shade-panel { animation: dm-push-fade 0.2s ease; }
  .dm-push__splash i { animation: none; }
  .dm-push__switch-ui::after,
  .dm-push__settings-row i::after { transition: none; }
}

@container (max-width: 980px) {
  .dm-push__grid { grid-template-columns: 250px minmax(0, 1fr) 252px; gap: 10px; padding: 10px; }
}

@container (max-width: 759px) {
  .dm-push__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'composer' 'device' 'pipeline';
    grid-template-rows: auto;
    height: auto;
    padding: 10px;
  }

  .dm-push__log { height: 168px; max-width: 360px; }
  .dm-push__device { overflow: visible; }
  .dm-push__payload { flex: none; height: 240px; }
  .dm-push__node-status { max-width: 48%; }
  .dm-push__pipeline .dm-push__head span { display: none; }
}

.dm-push__hint.is-off { visibility: hidden; }

.dm-push__node-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
