.app-demo svg {
  width: 26px;
  height: 26px;
  stroke: #2478f2;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-demo [data-act="back"] svg { stroke: #334155; }
.ix-search-form {
  grid-column: 2 / 5;
  min-width: 0;
  height: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f7ff;
}
.ix-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #102a56;
  font-size: 16px;
}
.ix-list {
  flex: 1;
  min-width: 0;
  overflow: auto;
  overflow-x: hidden;
  padding: 16px;
  background: #eff8ff;
  -webkit-overflow-scrolling: touch;
}
.contact-section { margin-bottom: 18px; }
.group-head {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1877f2;
  font-size: 21px;
}
.group-head button {
  padding: 7px 15px;
  border: 1px solid #9dccff;
  border-radius: 999px;
  background: #e6f2ff;
  color: #1877f2;
  font-size: 15px;
}
.contact-card, .printer-card, .conn-card, .system-print {
  width: 100%;
  border: 0;
  background: #fff;
  color: #102a56;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
}
.contact-card {
  min-height: 72px;
  margin-bottom: 10px;
  padding: 10px 16px;
  border: 1px solid #e1e8f0;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.contact-card.selected { border-color: #6bb4ff; background: #f8fcff; }
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #bfe4ff;
}
.avatar svg { stroke: #fff; }
.contact-info { display: grid; gap: 3px; min-width: 0; }
.contact-info b {
  overflow: hidden;
  color: #102a56;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-info small { color: #8190a4; font-size: 16px; }
.check {
  width: 28px;
  height: 28px;
  border: 2px solid #d6d6d6;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.check.on { border-color: #2478f2; background: #2478f2; }
.check.on svg { width: 18px; height: 18px; stroke: #fff; }
.sticky-print {
  min-height: 72px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 -10px 26px rgba(16, 42, 86, .08);
}
.sticky-print span { flex: 1; color: #5f7188; font-size: 14px; }
.sticky-print button, .start-print {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2478f2;
  color: #fff;
  font: inherit;
  font-weight: 800;
}
.sticky-print button { padding: 0 16px; }
.sticky-print svg, .start-print svg { stroke: #fff; }
.conn-card {
  min-height: 86px;
  margin-bottom: 18px;
  padding: 0 20px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(16, 42, 86, .18);
  font-size: 22px;
}
.switch {
  width: 50px;
  height: 26px;
  padding: 2px;
  border-radius: 999px;
  background: #d6dce3;
}
.switch i {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(16, 42, 86, .3);
  transition: transform .18s ease;
}
.switch.on { background: #72b9ff; }
.switch.on i { transform: translateX(24px); background: #1769d2; }
.system-print {
  margin: 4px 0 18px;
  color: #1877f2;
  font-size: 16px;
}
.printer-card {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  text-align: left;
}
.printer-card b { display: block; font-size: 17px; }
.printer-card small { color: #758398; font-size: 13px; }
.printer-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e5f2ff;
}
.scan-state, .empty-state {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 34px 20px;
  color: #6b7a90;
  text-align: center;
}
.scan-state div {
  width: 48px; height: 48px;
  border: 4px solid #d7e8ff;
  border-top-color: #2478f2;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
