/* Product window and module previews drawn from the desktop client. Every value inside is sample data. */
.app-window {
  container: app / inline-size;
  position: relative;
  border-radius: 16px;
  background: white;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  overflow: hidden;
  box-shadow:
    0 0 0 1px #0a102017,
    var(--shadow-xl);
  user-select: none;
}
.app-window svg,
.mini svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-window svg use[href^="#p-"],
.mini svg use[href^="#p-"] {
  stroke-width: 1.4;
}
.app-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding-left: 14px;
  background: #fbfcfe;
  border-bottom: 1px solid #edf0f5;
}
.app-title {
  font-size: 12px;
  color: var(--ink-3);
}
.win-controls {
  display: flex;
  height: 100%;
}
.win-controls i {
  position: relative;
  width: 44px;
  height: 100%;
}
.win-controls i::before,
.win-controls i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
}
.wc-min::before {
  width: 10px;
  height: 1.2px;
  background: #4b5567;
}
.wc-max::before {
  width: 9px;
  height: 9px;
  border: 1.2px solid #4b5567;
}
.wc-close::before,
.wc-close::after {
  width: 12px;
  height: 1.2px;
  background: #4b5567;
  rotate: 45deg;
}
.wc-close::after {
  rotate: -45deg;
}
.app-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  height: 600px;
}
.app-sidebar {
  padding: 16px 12px;
  background: #fbfcfe;
  border-right: 1px solid #edf0f5;
  overflow: hidden;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 6px 16px;
  font-size: 15px;
  font-weight: 750;
}
.app-brand img {
  width: 26px;
  height: 26px;
}
.app-nav {
  display: grid;
  gap: 2px;
}
.app-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 13px;
  color: #2c3a50;
  white-space: nowrap;
}
.app-nav svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}
.app-nav li.is-active {
  background: #e8efff;
  color: var(--blue-700);
  font-weight: 650;
}
.app-nav .nav-sep {
  height: 1px;
  margin: 7px 8px;
  padding: 0;
  background: #e9edf3;
}
.app-main {
  position: relative;
  padding: 14px 24px;
  min-width: 0;
  overflow: hidden;
  background: white;
}
.app-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f5;
}
.app-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9px;
  background: white;
  box-shadow: inset 0 0 0 1px #e0e6ef;
  font-size: 12.5px;
  font-weight: 550;
}
.app-select svg {
  width: 15px;
  height: 15px;
}
.app-select svg:last-child {
  width: 13px;
  height: 13px;
  color: var(--ink-3);
}
.app-seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: #f1f4f9;
  font-size: 12px;
}
.app-seg b,
.app-seg span {
  padding: 3px 10px;
  border-radius: 7px;
}
.app-seg b {
  background: white;
  color: var(--blue-600);
  font-weight: 600;
  box-shadow: 0 1px 2px #0b14241a;
}
.app-seg span {
  color: var(--ink-3);
}
.app-page-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.page-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #edf3ff;
  color: var(--blue-600);
}
.page-icon svg {
  width: 21px;
  height: 21px;
}
.app-page-head strong {
  display: block;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
}
.app-page-head small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.app-page-head .app-btn {
  margin-left: auto;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  background: white;
  box-shadow: inset 0 0 0 1px #e0e6ef;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.app-btn svg {
  width: 15px;
  height: 15px;
}
.app-btn-status.is-done {
  color: var(--good);
  background: #f3fbf6;
  box-shadow: inset 0 0 0 1px #c5e9d3;
}
.app-steps {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.app-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-steps b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #d8dfea;
  font-size: 11px;
}
.app-steps .done b {
  background: #e8efff;
  color: var(--blue-600);
  box-shadow: none;
}
.app-steps .current {
  color: var(--blue-600);
  font-weight: 650;
}
.app-steps .current b {
  background: var(--blue);
  color: white;
  box-shadow: 0 0 0 4px #1769ff22;
}
.app-progress {
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: #eef2f8;
  overflow: hidden;
}
.app-progress i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform-origin: left;
}
.app-summary {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.app-summary b {
  color: var(--good);
}
.app-card {
  margin-top: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e6ebf3;
  overflow: hidden;
}
.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}
.app-card-head strong {
  font-size: 13.5px;
  font-weight: 700;
}
.count {
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 5px;
  background: #edf3ff;
  color: var(--blue-600);
  font-size: 11px;
}
.app-filters {
  display: flex;
  gap: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
.app-filters b,
.app-filters span {
  padding: 3px 9px;
  border-radius: 7px;
  white-space: nowrap;
}
.app-filters b {
  background: #edf3ff;
  color: var(--blue-600);
  font-weight: 600;
}
.app-table .tr {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr 2.1fr 1fr 0.7fr;
  gap: 16px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #eef1f6;
}
.app-table .th {
  padding-block: 8px;
  background: #f8fafc;
  font-size: 12px;
  color: var(--ink-3);
}
.product {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.product svg {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 9px;
  background: #f5f7fb;
  box-shadow: inset 0 0 0 1px #edf0f5;
}
.product b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.profit b {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.profit small,
.col-sales small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
}
.profit.is-good b {
  color: var(--good);
  background: var(--good-bg);
  box-shadow: inset 0 0 0 1px #bfe6cf;
}
.profit.is-bad b {
  color: var(--bad);
  background: var(--bad-bg);
  box-shadow: inset 0 0 0 1px #f6c6c0;
}
.profit.is-pending b {
  font-size: 12.5px;
  color: var(--ink-2);
  background: #f1f4f9;
}
.tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}
.tag-good {
  color: var(--good);
  background: var(--good-bg);
}
.tag-bad {
  color: var(--bad);
  background: var(--bad-bg);
}
.tag-warn {
  color: var(--warn);
  background: var(--warn-bg);
}
.tag-blue {
  color: var(--blue-700);
  background: var(--blue-50);
}
.reason {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.65;
}
.reason .tag {
  margin-right: 6px;
  font-size: 11.5px;
}
.col-sales b {
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.link-chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 7px;
  background: #edf3ff;
  color: var(--blue-600);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.app-toast {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  width: 300px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 0 0 1px #e3e9f3,
    0 20px 40px -18px #1a3a7380;
}
.app-toast img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}
.app-toast strong {
  font-size: 12.5px;
  color: var(--blue-600);
}
.app-toast p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Shared pieces used by the module previews */
.bubble-user {
  justify-self: end;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: #eaf1ff;
  font-size: 13px;
  line-height: 1.7;
}
.task-card {
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e3e9f2;
}
.task-card > strong {
  display: block;
  font-size: 13px;
}
.running {
  color: var(--blue-600);
}
.task-card > small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
.task-card > small b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.mini-progress {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 4px;
  background: #eef2f8;
  overflow: hidden;
}
.mini-progress i {
  display: block;
  height: 100%;
  width: var(--fill, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
[data-fill="0"] {
  --fill: 0%;
}
[data-fill="12"] {
  --fill: 12%;
}
[data-fill="40"] {
  --fill: 40%;
}
[data-fill="60"] {
  --fill: 60%;
}
[data-fill="100"] {
  --fill: 100%;
}
.task-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.task-actions em {
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e0e6ef;
  font-size: 12px;
  font-style: normal;
}
.task-actions small {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-3);
}
.bot-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue-600);
}
.bot-name img {
  width: 18px;
  height: 18px;
}
.bubble-bot p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.75;
}
.task-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.task-meter span {
  display: grid;
}
.task-meter small {
  font-size: 10.5px;
  color: var(--ink-3);
}
.task-meter b {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.task-meter i {
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 4px;
  border-radius: 3px;
  background:
    linear-gradient(var(--meter), var(--meter)) 0 0 / var(--fill) 100% no-repeat,
    #eef1f6;
}
.m-green {
  --meter: #2fb36c;
}
.m-blue {
  --meter: var(--blue);
}
.m-gray {
  --meter: #dfe4ec;
}
.state {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}
.state-blue {
  color: var(--blue-700);
  background: #e8efff;
}
.state-amber {
  color: var(--warn);
  background: var(--warn-bg);
}
.state-gray {
  color: var(--ink-3);
  background: #f1f4f9;
}
.credits {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.monitor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e6ebf3;
}
.monitor-stats span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
}
.monitor-stats span + span {
  border-left: 1px solid #eef1f6;
}
.monitor-stats small {
  font-size: 12px;
  color: var(--ink-3);
}
.monitor-stats b {
  font-size: 21px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.monitor-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 12px;
}
.spark-card {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e6ebf3;
}
.spark-card small {
  font-size: 12px;
  color: var(--ink-3);
}
/* The plot grows with the card when the preview is stretched to match its neighbour. */
.spark-plot {
  position: relative;
  display: block;
  flex: 1;
  min-height: 110px;
  margin-top: 8px;
}
.spark-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Latest reading at the end of the line (path ends at 218,8 in a 220×70 box). */
.spark-dot {
  position: absolute;
  left: calc(218 / 220 * 100%);
  top: calc(8 / 70 * 100%);
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px white;
}
.spark-area {
  fill: #1769ff14;
  stroke: none;
}
.spark-line {
  stroke: var(--blue);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}
.change-list {
  display: grid;
  grid-auto-rows: 1fr;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px #e6ebf3;
  overflow: hidden;
}
.change-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.change-row + .change-row {
  border-top: 1px solid #eef1f6;
}
.change-row > svg {
  box-sizing: content-box;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 9px;
  background: #f5f7fb;
}
.change-row strong {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
}
.change-row small {
  font-size: 11.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.change-row .tag {
  margin-left: auto;
  font-size: 11.5px;
}

/* Module previews */
/* Each preview is a desktop-client window on a plain grey stage; its bottom edge runs off the panel. */
.mini {
  container: mini / inline-size;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* No inner panel: the window sits on the card and runs off its bottom edge (the card clips it). */
  order: 2;
  margin: 30px 0 -24px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  user-select: none;
}
.mini-window {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 14px 14px 0 0;
  background: white;
  box-shadow:
    0 0 0 1px #0a10201a,
    0 2px 4px #0a10200a,
    0 24px 48px -16px #1a3a7340;
  transition: transform 500ms var(--ease);
}
.mini-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding-left: 12px;
  border-bottom: 1px solid #edf0f5;
  border-radius: 14px 14px 0 0;
  background: #fbfcfe;
  font-size: 11.5px;
  color: var(--ink-3);
}
.mini-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.mini-app img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}
.mini-chrome .win-controls i {
  width: 34px;
}
.mini-chrome .win-controls i::before,
.mini-chrome .win-controls i::after {
  scale: 0.85;
}
.mini-frame {
  flex: 1;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
}
.mini-rail {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 7px;
  border-right: 1px solid #edf0f5;
  background: #fbfcfe;
}
.mini-rail li {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 9px;
  color: #77839a;
}
.mini-rail li:nth-child(3) {
  margin-bottom: 6px;
}
.mini-rail svg {
  width: 16px;
  height: 16px;
}
.mini-rail li.is-active {
  background: #e8efff;
  color: var(--blue-600);
  box-shadow: inset 2px 0 0 var(--blue);
}
.mini-page {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px 16px 18px;
}
.mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f6;
  font-size: 12.5px;
  color: var(--ink-2);
}
.mini-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.mini-title svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 6px;
  border-radius: 9px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.mini-plan svg {
  width: 16px;
  height: 16px;
}
.mini-status,
.mini-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  white-space: nowrap;
}
.mini-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fb36c;
  box-shadow: 0 0 0 3px #2fb36c26;
}
.mini-body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 10px;
}
.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
}
.mini-row + .mini-row,
.mini-reason + .mini-row {
  border-top: 1px solid #eef1f6;
  padding-top: 12px;
}
.mini-reason {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: -4px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f2faf5;
  color: #1f5c3d;
  font-size: 12px;
  line-height: 1.6;
}
.mini-reason svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--good);
}
.mini-task {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 4px;
}
.mini-task + .mini-task {
  border-top: 1px solid #eef1f6;
}
.mini-task-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mini-task-top strong {
  font-size: 13.5px;
  font-weight: 650;
}
.mini-monitor .mini-body {
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: 12px;
}

/* Medium windows: icon rail */
@container app (max-width: 1000px) {
  .app-body {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .app-sidebar {
    padding: 14px 10px;
  }
  .app-brand {
    justify-content: center;
    padding: 0 0 14px;
  }
  .app-brand span,
  .app-nav span {
    display: none;
  }
  .app-nav li {
    justify-content: center;
    padding: 8px 0;
  }
  .app-main {
    padding: 12px 18px;
  }
  .app-table .tr {
    grid-template-columns: 1.3fr 0.9fr 2fr;
  }
  .col-sales,
  .col-next,
  .app-filters span {
    display: none;
  }
}
/* Phone windows: single column */
@container app (max-width: 560px) {
  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-sidebar {
    display: none;
  }
  .app-main {
    padding: 10px 14px;
  }
  .app-titlebar {
    height: 28px;
  }
  .win-controls i {
    width: 32px;
  }
  .app-page-head {
    margin-top: 12px;
    gap: 10px;
  }
  .page-icon {
    width: 32px;
    height: 32px;
  }
  .page-icon svg {
    width: 17px;
    height: 17px;
  }
  .app-page-head strong {
    font-size: 15px;
  }
  .app-page-head small,
  .app-steps,
  .app-filters {
    display: none;
  }
  .app-page-head .app-btn {
    padding: 5px 9px;
    font-size: 11.5px;
  }
  .app-summary {
    font-size: 11.5px;
  }
  .app-table .tr {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 9px 12px;
  }
  .app-table .th {
    display: none;
  }
  .app-table .reason {
    grid-column: 1 / -1;
    font-size: 11.5px;
  }
  .product svg {
    width: 20px;
    height: 20px;
    padding: 4px;
  }
  .product b,
  .profit b {
    font-size: 12.5px;
  }
  .profit small {
    display: none;
  }
  .app-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
/* Narrow module previews */
@container mini (max-width: 520px) {
  .mini-frame {
    grid-template-columns: minmax(0, 1fr);
  }
  .mini-rail {
    display: none;
  }
  .monitor-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .monitor-stats span:nth-child(3) {
    border-left: 0;
  }
  .monitor-stats span:nth-child(n + 3) {
    border-top: 1px solid #eef1f6;
  }
  .monitor-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .spark-plot {
    min-height: 72px;
  }
}
@container mini (max-width: 380px) {
  .mini-page {
    padding: 12px 12px 16px;
  }
  .mini-title {
    gap: 0;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .mini-title svg {
    display: none;
  }
  .mini-chrome .win-controls i {
    width: 26px;
  }
  .bubble-user,
  .bubble-bot p {
    font-size: 12.5px;
  }
  .task-actions small {
    margin-left: 0;
    width: 100%;
  }
  .mini-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .mini-row .tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .product svg {
    width: 22px;
    height: 22px;
    padding: 4px;
  }
}
@media (max-width: 760px) {
  .app-window {
    border-radius: 12px;
  }
  .mini {
    margin: 22px 0 -20px;
  }
}

/* Demo product thumbnails: licensed photos (see assets/PROVENANCE.md). */
.product img,
.change-row > img {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  background: #f5f7fb;
  box-shadow: inset 0 0 0 1px #0a10200f;
}
@media (max-width: 760px) {
  .product img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
}
