@font-face {
  font-family: V4;
  src: url(assets/v4-display.woff2);
}
:root {
  --sky:#a9d3f3;
  --sky-soft:#e3f1fc;
  --pink:#f4afc4;
  --pink-soft:#fde8ef;
  --lav:#c8b8ee;
  --lav-soft:#efeafb;
  --paper:#fffcf7;
  --ink:#57537c;
  --muted:#89839e;
  --mint:#4fb286;
  --coral:#e36464;
  --line:#ece6f2;
  --clock:54px;
  --title:32px;
  --text:22px;
  --small:16px;
  --space:28px;
  --circle:120px;
  --edge:28px;
  --panel:840px;
}
* {
  box-sizing: border-box;
}
html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
}
body {
  font:
    17px/1.6 "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #6fa8d8;
  outline-offset: 3px;
}
button:active {
  filter: brightness(.96);
}
a {
  color: #7762ac;
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.display {
  font-family:
    V4,
    "PingFang SC",
    sans-serif;
  font-weight: 400;
}
button svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  vertical-align: -.15em;
}
[hidden] {
  display: none !important;
}
.btn {
  min-height: 48px;
  border-radius: 99px;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-gap: 8px;
  font-size: var(--small);
  font-weight: 650;
  background: white;
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn.pink {
  background: var(--pink);
  box-shadow: inset 0 -3px 0 rgba(227, 121, 156, .2);
}
.btn.blue {
  background: var(--sky);
  box-shadow: inset 0 -3px 0 rgba(111, 168, 216, .2);
}
.btn.mint {
  background: var(--mint);
  color: white;
  box-shadow: none;
}
.btn.ghost {
  background: rgba(255, 255, 255, .79);
}
.btn.small {
  min-height: 44px;
  padding: 6px 16px;
  font-size: 14px;
}
.row {
  display: flex;
  align-items: center;
  grid-gap: 12px;
  flex-wrap: wrap;
}
.muted {
  color: var(--muted);
}
.tag {
  font-size: 13px;
  border-radius: 99px;
  background: var(--lav-soft);
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  grid-gap: 6px;
}
.tag.pink {
  background: var(--pink-soft);
}
.tag.blue {
  background: var(--sky-soft);
}
.note-grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(238, 230, 243, 0.4) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(238, 230, 243, 0.4) 1px,
      transparent 1px);
  background-size: 18px 18px;
}
.tape {
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%) rotate(-2deg);
  padding: 3px 28px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.4) 0 5px,
      transparent 5px 10px),
    #f9df8e;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
.frame {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #393344;
  overflow: hidden;
}
.photo-back {
  position: absolute;
  top: -30px;
  right: -30px;
  bottom: -30px;
  left: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  object-fit: cover;
  filter: blur(28px) brightness(.64);
}
.photo-main {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.photo-shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(
      180deg,
      rgba(62, 58, 92, 0.301961),
      transparent 35%,
      transparent 65%,
      rgba(62, 58, 92, 0.533333));
  pointer-events: none;
}
.clock {
  position: absolute;
  top: var(--edge);
  left: var(--edge);
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.333333);
}
.clock b {
  display: block;
  font-family: V4, sans-serif;
  font-size: var(--clock);
  line-height: 1.1;
  font-weight: 400;
}
.clock span {
  font-size: var(--small);
}
.photo-title {
  position: absolute;
  top: var(--edge);
  right: var(--edge);
  color: white;
  text-align: right;
  max-width: 45%;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.333333);
}
.photo-title h2 {
  font-size: var(--title);
}
.photo-title small {
  font-size: var(--small);
}
.notice {
  position: absolute;
  top: calc(var(--edge) + var(--clock) + 35px);
  right: var(--edge);
  min-height: 44px;
  max-width: 75%;
  background: rgba(255, 244, 248, .933);
  box-shadow: 0 5px 25px rgba(0, 0, 0, .067);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: var(--small);
  display: flex;
  align-items: center;
  grid-gap: 9px;
}
.notice i {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
  flex: none;
}
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, 0.466667);
  color: white;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}
.nav-arrow.prev {
  left: var(--edge);
}
.nav-arrow.next {
  right: var(--edge);
}
.frame-actions {
  position: absolute;
  bottom: calc(var(--edge) + 24px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  grid-gap: calc(var(--circle)*.65);
}
.circle {
  width: var(--circle);
  height: var(--circle);
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  color: white;
  background: var(--mint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-gap: 5px;
  font-family: V4, sans-serif;
  font-size: var(--text);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, .79),
    inset 0 -5px 0 rgba(0, 0, 0, .082),
    0 10px 30px rgba(0, 0, 0, .133);
}
.circle svg {
  width: 30%;
  height: 30%;
}
.circle.voice {
  background: var(--coral);
}
.frame-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: max(12px, var(--small));
  padding: 2px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .88);
  white-space: nowrap;
}
.frame-more {
  position: absolute;
  right: var(--edge);
  bottom: var(--edge);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .88);
  border-radius: 50%;
  font-size: 24px;
}
.draft-resume {
  position: absolute;
  left: var(--edge);
  bottom: var(--edge);
  font-size: 14px;
  max-width: 30%;
}
.wake {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: none;
  width: 100%;
  height: 100%;
  cursor: default;
}
.frame .notice {
  z-index: 3;
}
.frame .idle-label {
  position: absolute;
  bottom: 12px;
  right: var(--edge);
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  pointer-events: none;
}
.edge-light {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  z-index: 9;
  border: 3px solid transparent;
  box-shadow: inset 0 0 26px rgba(244, 175, 196, 0);
}
.edge-light.new {
  border-color: rgba(244, 175, 196, .533);
  box-shadow: inset 0 0 25px rgba(244, 175, 196, .467);
  animation: edgeBreath 4s ease-in-out 3;
}
.edge-light.listening {
  border-color: rgba(143, 211, 176, .6);
  box-shadow: inset 0 0 35px rgba(143, 211, 176, .4);
  animation: edgeBreath 3s ease-in-out infinite;
}
.edge-light.reply {
  border-color: #c8b8ee;
  box-shadow: inset 0 0 32px rgba(200, 184, 238, .4);
}
.edge-light.warn {
  border-color: #e4bc6d;
  box-shadow: inset 0 0 22px rgba(228, 188, 109, .267);
}
@keyframes edgeBreath {
  50% {
    opacity: .35;
  }
}
.veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(69, 65, 94, .667);
  backdrop-filter: blur(9px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--edge);
}
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, var(--panel));
  max-height: 100%;
  border: 4px solid #fff;
  border-radius: 28px;
  padding: var(--space);
  box-shadow: 0 24px 80px rgba(41, 34, 61, .267);
  background-color: var(--paper);
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 12px;
  flex: none;
  padding-bottom: 14px;
}
.sheet-head h2 {
  font-size: var(--title);
  line-height: 1.3;
}
.sheet-head small {
  font-size: var(--small);
  color: var(--muted);
}
.sheet-body {
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
}
.sheet-foot {
  padding-top: 18px;
  display: flex;
  grid-gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  flex: none;
}
.sheet-foot > .btn {
  flex: 1;
}
.close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lav-soft);
  flex: none;
  font-size: 22px;
}
.letter {
  background: white;
  border-radius: 18px;
  padding: 18px 22px;
  font-size: var(--text);
  line-height: 1.65;
  box-shadow: 0 3px 8px rgba(87, 83, 124, .024);
}
.letter .sender {
  display: flex;
  align-items: center;
  grid-gap: 10px;
  margin-bottom: 10px;
  font-size: var(--small);
}
.avatar {
  height: 38px;
  width: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--pink-soft);
}
.wave {
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 6px;
}
.wave i {
  height: var(--h);
  width: 6px;
  background: var(--pink);
  border-radius: 8px;
  animation: wave 1.2s ease-in-out infinite alternate;
  animation-delay: var(--d);
}
@keyframes wave {
  to {
    height: 8px;
  }
}
.record-center {
  text-align: center;
}
.record-center .timer {
  font-family: V4, sans-serif;
  font-size: clamp(36px, 8vh, 66px);
  line-height: 1.2;
}
.record-center p {
  font-size: var(--small);
}
.record-context {
  font-size: var(--small);
  background: var(--sky-soft);
  border-radius: 16px;
  padding: 7px 16px;
  text-align: center;
  margin: 8px 0;
}
.progress {
  height: 6px;
  background: var(--lav-soft);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 18px;
}
.progress b {
  display: block;
  height: 100%;
  background: var(--lav);
  transition: width .3s;
}
.draft-text {
  display: block;
  width: 100%;
  min-height: 100px;
  resize: vertical;
  background: white;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  font-size: var(--text);
  line-height: 1.5;
}
.chat-line {
  font-size: var(--text);
  background: white;
  padding: 15px 19px;
  border-radius: 22px 22px 22px 5px;
  margin: 8px 4px 16px 0;
}
.chat-line.user {
  margin-left: 12%;
  background: var(--sky-soft);
  border-radius: 22px 22px 5px 22px;
}
.chat-name {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}
.speech-form {
  display: flex;
  grid-gap: 8px;
  margin-top: 16px;
}
.speech-form input {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: white;
  font-size: var(--small);
}
.suggestions {
  display: flex;
  grid-gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.suggestions button {
  padding: 8px 13px;
  min-height: 44px;
  border-radius: 14px;
  background: var(--lav-soft);
  font-size: var(--small);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  padding: 6px;
}
.photo-card {
  position: relative;
  background: white;
  border-radius: 18px;
  padding: 8px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(87, 83, 124, .03);
  min-width: 0;
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
.photo-card b {
  display: block;
  font-size: var(--small);
  padding: 6px 3px 0;
}
.photo-card small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  padding: 0 3px 5px;
}
.photo-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  background: rgba(255, 244, 248, .92);
}
.setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 15px;
  padding: 14px 4px;
  border-bottom: 1px dashed #dcd5e6;
  font-size: var(--small);
}
.setting small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  max-width: 520px;
}
.setting select {
  max-width: 170px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  min-height: 44px;
}
.switch {
  width: 54px;
  height: 32px;
  border-radius: 32px;
  background: #ddd8e6;
  position: relative;
  flex: none;
}
.switch:after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .133);
}
.switch[aria-checked=true] {
  background: #e3799c;
}
.switch[aria-checked=true]:after {
  left: 26px;
}
.sleep-view {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #201d29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #d7cee9;
  grid-gap: 22px;
  text-align: center;
}
.sleep-view h1 {
  font-size: 38px;
}
.sleep-view time {
  font-family: V4;
  font-size: 64px;
}
.status-strip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: #fff4d8;
  color: #7c683d;
  font-size: 13px;
  border-radius: 0 0 14px 14px;
  z-index: 4;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 99px;
  padding: 10px 22px;
  z-index: 30;
  max-width: 90%;
  text-align: center;
  font-size: 14px;
  pointer-events: none;
}
.phone {
  min-height: 100%;
  padding-bottom: 90px;
  background-color: #fcf8ff;
  max-width: 600px;
  margin: auto;
  background-image:
    linear-gradient(rgba(238, 230, 243, 0.466667) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(238, 230, 243, 0.466667) 1px,
      transparent 1px);
  background-size: 18px 18px;
}
.phone-head {
  padding: 28px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-head h1 {
  font-size: 32px;
}
.phone-head p {
  font-size: 12px;
  color: var(--muted);
}
.family-stack {
  display: flex;
}
.family-stack img {
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  margin-left: -9px;
}
.phone section {
  margin: 0 18px 22px;
}
.pinned-photo {
  position: relative;
  border: 9px solid white;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(87, 83, 124, .047);
  transform: rotate(-1deg);
}
.pinned-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 15px;
}
.pinned-photo .tape {
  top: -18px;
}
.pinned-caption {
  padding: 9px 3px 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  background: white;
}
.pinned-caption small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.phone-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  margin-top: 20px;
}
.phone-action {
  padding: 19px 12px;
  border: 3px solid white;
  border-radius: 20px;
  background: var(--pink-soft);
  text-align: left;
  font-size: 16px;
}
.phone-action:nth-child(2) {
  background: var(--sky-soft);
}
.phone-action svg {
  display: block;
  width: 27px;
  height: 27px;
  margin-bottom: 7px;
}
.phone-action small {
  font-size: 11px;
  display: block;
  color: var(--muted);
}
.phone h2 {
  font-size: 23px;
  margin: 12px 0;
}
.phone .photo-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 12px;
  padding: 0;
}
.phone .photo-card b {
  font-size: 14px;
}
.phone .btn {
  font-size: 15px;
}
.phone .row {
  grid-gap: 8px;
}
.phone .letter {
  font-size: 15px;
  line-height: 1.7;
}
.phone .setting {
  font-size: 15px;
}
.phone .setting select {
  max-width: 145px;
  font-size: 13px;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 600px);
  height: 78px;
  background: rgba(255, 252, 253, .93);
  backdrop-filter: blur(14px);
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid white;
  z-index: 6;
  box-shadow: 0 -7px 22px rgba(87, 83, 124, .03);
}
.bottom-nav button {
  height: 60px;
  min-width: 70px;
  font-size: 13px;
}
.bottom-nav button svg {
  display: block;
  margin: auto;
  width: 24px;
  height: 24px;
}
.bottom-nav .plus {
  width: 65px;
  height: 65px;
  min-width: 65px;
  border-radius: 50%;
  background:
    linear-gradient(
      140deg,
      var(--pink),
      var(--lav));
  font-size: 40px;
  line-height: 1;
  border: 6px solid #fff;
  transform: translateY(-17px);
  color: white;
}
.bottom-nav .on {
  color: #c96185;
}
.white-card {
  background: white;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 14px;
}
.phone .composer-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
}
.thumb-picks {
  display: flex;
  grid-gap: 8px;
  overflow: auto;
  padding: 12px 3px;
}
.thumb-picks button {
  padding: 0;
  flex: none;
  width: 58px;
  height: 58px;
  border: 3px solid transparent;
  border-radius: 14px;
  overflow: hidden;
}
.thumb-picks button.on {
  border-color: #e3799c;
}
.thumb-picks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 2px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  font-size: 16px;
}
.phone input[type=text] {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px;
}
.phone-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  font-weight: 600;
}
.receipt {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.receipt b {
  display: block;
  font-size: 15px;
}
.empty {
  padding: 30px 18px;
  text-align: center;
  color: var(--muted);
}
.phone-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(87, 83, 124, .533);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}
.phone-modal > div {
  background: var(--paper);
  border: 4px solid white;
  border-radius: 26px;
  padding: 22px;
  max-width: 460px;
  width: 100%;
  max-height: 94vh;
  overflow: auto;
}
.phone-modal h2 {
  font-size: 28px;
}
.phone-modal p {
  margin: 15px 0;
}
.phone-modal .row {
  margin-top: 18px;
}
.admin {
  min-height: 100%;
  background: #f7f5fb;
  display: grid;
  grid-template-columns: 208px 1fr;
}
.admin-nav {
  background: #fdfaff;
  border-right: 1px solid var(--line);
  padding: 28px 20px;
}
.admin-nav h1 {
  font-size: 25px;
  margin-bottom: 4px;
}
.admin-nav p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.admin-nav button {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: 14px;
  padding: 12px;
  margin: 5px 0;
  font-size: 15px;
}
.admin-nav button.on {
  background: var(--pink-soft);
}
.admin-main {
  padding: 32px;
  min-width: 0;
}
.admin-main h2 {
  font-size: 30px;
}
.admin-main > .muted {
  font-size: 14px;
  margin: 4px 0 26px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  margin: 20px 0;
}
.metric {
  border: 3px solid white;
  border-radius: 22px;
  background: var(--sky-soft);
  padding: 20px;
}
.metric:nth-child(2) {
  background: var(--pink-soft);
}
.metric:nth-child(3) {
  background: var(--lav-soft);
}
.metric strong {
  display: block;
  font-family: V4;
  font-size: 36px;
  font-weight: 400;
}
.metric small {
  font-size: 13px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  font-size: 14px;
}
.admin-table th,
.admin-table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  background: #f0edf7;
}
.admin .photo-grid {
  grid-template-columns: repeat(4, 1fr);
}
.admin .setting {
  font-size: 15px;
}
.admin .btn {
  font-size: 14px;
}
.source-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
}
.source-card {
  background: white;
  border: 2px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-gap: 10px;
}
.source-card h3 {
  font-size: 23px;
}
.source-card p {
  font-size: 13px;
  min-height: 60px;
  color: var(--muted);
}
.source-card .tag {
  margin-bottom: 5px;
}
.source-card .btn {
  margin-top: auto;
}
.space-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #393344;
}
.space-scene img {
  position: absolute;
  width: 140%;
  height: 140%;
  object-fit: cover;
  left: -20%;
  top: -20%;
  transition: transform .4s;
}
.space-scene .row {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.call-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 10px;
}
.call-person img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 6px solid var(--sky-soft);
}
.call-person h3 {
  font-size: 30px;
}
@media (max-height:380px) {
  .sheet {
    padding: 12px 18px;
    border-radius: 22px;
  }
  .sheet-head {
    padding-bottom: 6px;
  }
  .sheet-head h2 {
    font-size: 23px;
  }
  .sheet-head small {
    font-size: 12px;
  }
  .sheet-foot {
    padding-top: 8px;
    grid-gap: 8px;
    flex-wrap: nowrap;
  }
  .sheet-foot .btn {
    padding: 6px 15px;
    min-height: 44px;
    font-size: 15px;
  }
  .sheet-body .letter {
    font-size: 17px;
    padding: 10px 14px;
  }
  .sheet .record-context {
    margin: 3px 0;
    padding: 2px 12px;
    font-size: 12px;
  }
  .sheet .wave {
    height: 36px;
  }
  .sheet .record-center .timer {
    font-size: 34px;
  }
  .sheet .record-center p {
    font-size: 13px;
  }
  .sheet .chat-line {
    font-size: 17px;
    padding: 10px 14px;
  }
  .sheet .speech-form {
    margin-top: 6px;
  }
  .sheet .draft-text {
    min-height: 55px;
    font-size: 17px;
    padding: 7px;
  }
  .sheet .suggestions {
    margin: 7px 0;
    grid-gap: 6px;
  }
  .sheet .suggestions button {
    font-size: 14px;
  }
  .photo-grid {
    grid-gap: 9px;
  }
  .photo-card b {
    font-size: 14px;
  }
  .notice {
    top: calc(var(--edge) + var(--clock) + 20px);
    font-size: 12px;
    min-height: 34px;
    padding: 5px 12px;
  }
  .frame-actions {
    bottom: 34px;
  }
  .frame-hint {
    bottom: 6px;
  }
  .frame-more {
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
  .draft-resume {
    bottom: 10px;
  }
  .clock span,
  .photo-title small {
    font-size: 12px;
  }
  .nav-arrow {
    width: 44px;
    height: 44px;
  }
  .sheet-head .close {
    width: 44px;
    height: 44px;
  }
  .letter .sender {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .letter .avatar {
    width: 28px;
    height: 28px;
  }
  .progress {
    margin-top: 8px;
  }
  .photo-title h2 {
    font-size: 21px;
  }
  .tape {
    font-size: 11px;
    top: -10px;
  }
  .sleep-view {
    grid-gap: 8px;
  }
  .sleep-view time {
    font-size: 38px;
  }
  .sleep-view h1 {
    font-size: 25px;
  }
}
@media (max-width:580px) and (min-height:381px) {
  .photo-title {
    top: 110px;
    left: var(--edge);
    right: auto;
    text-align: left;
    max-width: 85%;
  }
  .notice {
    top: 175px;
    left: var(--edge);
    right: auto;
  }
  .frame-actions {
    bottom: 60px;
    grid-gap: 65px;
  }
  .frame-hint {
    bottom: 20px;
  }
  .frame-more {
    bottom: 25px;
  }
  .sheet {
    padding: 20px 16px;
  }
  .sheet-head h2 {
    font-size: 26px;
  }
  .sheet-foot {
    flex-direction: column;
  }
  .sheet-foot .btn {
    width: 100%;
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sheet .letter,
  .sheet .chat-line {
    font-size: 19px;
  }
  .draft-text {
    font-size: 19px;
  }
  .speech-form {
    flex-wrap: wrap;
  }
  .speech-form input {
    flex: 1 1 100%;
  }
  .frame-more {
    width: 44px;
    height: 44px;
  }
  .draft-resume {
    bottom: 112px;
  }
}
@media (max-width:700px) {
  .admin {
    display: block;
  }
  .admin-nav {
    padding: 15px;
    display: flex;
    grid-gap: 7px;
    flex-wrap: wrap;
    border-right: 0;
  }
  .admin-nav h1 {
    width: 100%;
  }
  .admin-nav p {
    margin: 0;
    width: 100%;
  }
  .admin-nav button {
    width: auto;
    font-size: 13px;
    padding: 8px 12px;
    margin: 0;
  }
  .admin-main {
    padding: 20px 15px;
  }
  .metrics {
    grid-gap: 8px;
  }
  .metric {
    padding: 13px;
  }
  .metric strong {
    font-size: 27px;
  }
  .metric small {
    font-size: 11px;
  }
  .source-list {
    grid-template-columns: 1fr;
  }
  .admin .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-table {
    font-size: 12px;
  }
  .admin-table th,
  .admin-table td {
    padding: 10px 7px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-height:380px) {
  .frame[data-mode=recording] .wave {
    display: none;
  }
  .frame[data-mode=recording] .sheet-head small {
    display: none;
  }
  .frame[data-mode=recording] .record-center .timer {
    font-size: 32px;
    line-height: 1;
  }
  .frame[data-mode=recording] .record-center p {
    font-size: 12px;
    line-height: 1.5;
  }
  .frame[data-mode=recording] .record-context {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
  }
  .frame[data-mode=draft] .sheet-head small {
    display: none;
  }
  .frame[data-mode=draft] .draft-text {
    height: 57px;
    min-height: 57px;
    resize: none;
  }
  .frame[data-mode=draft] .sheet-foot .btn {
    padding: 5px 10px;
    white-space: nowrap;
  }
  .frame[data-mode=draft] .record-context {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .frame[data-mode=draft] .sheet-body {
    overflow: auto;
  }
}
@media (max-height:380px) {
  .notice {
    min-height: 44px;
  }
  .frame[data-mode=active] .notice {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 144px);
    font-size: 12px;
    line-height: 1.2;
  }
}
.speech-form > .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.frame-shortcuts {
  position: absolute;
  left: var(--edge);
  bottom: var(--edge);
  display: flex;
  grid-gap: 8px;
}
.frame-shortcuts .btn {
  padding: 6px 14px;
  min-height: 44px;
  font-size: 14px;
  background: rgba(255, 254, 248, .93);
}
.frame .draft-resume {
  bottom: auto;
  top: calc(var(--edge) + var(--clock) + 38px);
}
.album-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-gap: 8px;
  margin-bottom: 12px;
}
.album-section-title .btn {
  padding: 6px 14px;
  font-size: 13px;
  min-height: 42px;
}
.album-tabs {
  display: flex;
  grid-gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.album-tabs button {
  background: var(--lav-soft);
  border-radius: 99px;
  min-height: 44px;
  padding: 8px 16px;
  font-size: var(--small);
}
.album-tabs button[aria-pressed=true] {
  background: var(--pink);
  box-shadow: inset 0 0 0 2px white;
}
.album-filters {
  display: flex;
  grid-gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 18px;
  font-size: var(--small);
}
.album-filters label {
  display: flex;
  grid-gap: 5px;
  align-items: center;
}
.album-filters select {
  font-size: 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 6px 10px;
  max-width: 145px;
}
.album-filters > span {
  margin: auto 0 auto auto;
  color: var(--muted);
  white-space: nowrap;
}
.photo-card {
  min-width: 0;
}
.phone .album-tabs {
  margin-top: 14px;
}
.phone .album-tabs button {
  font-size: 13px;
  padding: 7px 12px;
}
.phone .album-filters label {
  font-size: 12px;
}
.phone .album-filters {
  grid-gap: 8px;
}
.bottom-nav button {
  min-width: 52px;
}
.bottom-nav .plus {
  min-width: 60px;
  width: 60px;
  height: 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 14px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  grid-gap: 7px;
  background: #fff;
  border-radius: 20px;
  padding: 18px 10px;
}
.contact-card > img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--sky-soft);
}
.contact-card h3 {
  font-size: 25px;
}
.contact-card small {
  color: var(--muted);
  font-size: 14px;
}
.contact-card .btn {
  margin-top: 6px;
  padding: 8px 13px;
  font-size: 16px;
}
.call-history {
  margin-top: 20px;
}
.call-history h3 {
  font-size: 22px;
}
.call-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 15px;
  background: white;
  padding: 12px 15px;
  border-radius: 15px;
  margin-top: 9px;
  font-size: 17px;
}
.call-record small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.call-record .btn {
  flex-shrink: 0;
}
.call-identity {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-gap: 24px;
  padding: 15px 0;
}
.call-identity > img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 0 0 3px #a8d8bc;
}
.call-identity h3 {
  font-size: var(--title);
}
.call-identity p {
  font-size: var(--small);
  color: var(--muted);
  margin-top: 6px;
}
.call-note {
  text-align: center;
  font-size: var(--small);
  max-width: 600px;
  margin: 12px auto;
}
.btn.decline {
  background: #f2c2cc;
  color: #733f55;
  box-shadow: inset 0 -3px 0 rgba(188, 112, 129, .2);
}
.edge-light.incoming {
  border-color: #87ceaa;
  box-shadow: inset 0 0 36px rgba(119, 199, 151, .4);
  animation: edgeBreath 3s ease-in-out infinite;
}
.video-invite {
  background: var(--sky-soft);
  border-radius: 18px;
  padding: 16px;
  margin-top: 8px;
  font-size: var(--small);
}
.video-invite .row {
  justify-content: center;
  margin-top: 12px;
}
.video-invite .btn {
  padding: 8px 18px;
  min-height: 44px;
}
.video-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #544c66;
  max-height: 230px;
  min-height: 135px;
}
.video-stage > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: blur(1px);
  opacity: .55;
}
.video-stage > span,
.video-stage > small {
  position: absolute;
  left: 12px;
  right: 12px;
  text-align: center;
  color: white;
  font-size: var(--small);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
}
.video-stage > span {
  top: 18px;
}
.video-stage > small {
  bottom: 12px;
}
.phone-call-veil {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
}
.phone-call-veil .veil {
  padding: 14px;
}
.phone-call-veil .sheet {
  padding: 20px 16px;
}
.phone-call-veil .sheet-foot {
  grid-gap: 8px;
}
.phone-call-veil .sheet-foot .btn {
  padding: 8px 12px;
  font-size: 14px;
}
.call-phone-entry {
  text-align: center;
  margin-top: 18px;
}
.call-phone-entry .avatar {
  width: 80px;
  height: 80px;
}
.call-phone-entry p {
  margin: 8px 0;
}
.call-phone-entry .row {
  justify-content: center;
  margin-top: 20px;
}
.call-phone-entry .muted {
  font-size: 13px;
}
@media (max-height:340px) {
  .frame-shortcuts {
    grid-gap: 6px;
    bottom: 12px;
  }
  .frame-shortcuts .btn {
    padding: 6px 10px;
    font-size: 13px;
  }
  .frame .draft-resume {
    top: 80px;
    max-width: 28%;
    font-size: 12px;
    min-height: 44px;
  }
  .call-identity {
    grid-gap: 16px;
    padding: 3px 0;
  }
  .call-identity > img {
    width: 55px;
    height: 55px;
    border-width: 3px;
  }
  .call-identity h3 {
    font-size: 22px;
  }
  .call-identity p {
    font-size: 14px;
    margin-top: 1px;
  }
  .call-note {
    margin: 4px auto;
    font-size: 14px;
    line-height: 1.4;
  }
  .frame[data-mode=call] .sheet-body {
    min-height: 0;
  }
  .frame[data-mode=call] .sheet-head small {
    display: none;
  }
  .video-invite {
    font-size: 14px;
    padding: 10px;
  }
  .video-invite .row {
    margin-top: 6px;
  }
  .video-stage > img {
    height: 105px;
  }
  .video-stage {
    min-height: 100px;
  }
  .album-tabs {
    grid-gap: 5px;
    margin-bottom: 8px;
  }
  .album-tabs button {
    font-size: 13px;
    padding: 5px 10px;
  }
  .album-filters {
    margin-bottom: 10px;
    grid-gap: 8px;
  }
  .contact-card {
    padding: 10px 7px;
    grid-gap: 3px;
  }
  .contact-card > img {
    width: 50px;
    height: 50px;
  }
  .contact-card small {
    display: none;
  }
  .contact-card h3 {
    font-size: 20px;
  }
  .contact-card .btn {
    font-size: 14px;
    min-height: 44px;
  }
  .contact-grid {
    grid-gap: 8px;
  }
}
@media (max-width:430px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    text-align: left;
    grid-gap: 12px;
  }
  .contact-card > img {
    width: 48px;
    height: 48px;
  }
  .contact-card small {
    display: none;
  }
  .contact-card .btn {
    margin: 0;
  }
  .call-identity {
    grid-gap: 16px;
  }
  .call-identity > img {
    width: 80px;
    height: 80px;
  }
  .album-filters select {
    max-width: 120px;
  }
  .frame-shortcuts {
    bottom: 90px;
    left: 14px;
  }
  .frame-shortcuts .btn {
    padding: 7px 12px;
  }
  .frame .draft-resume {
    top: 100px;
  }
  .phone .bottom-nav button {
    min-width: 50px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .edge-light.incoming {
    animation: none;
  }
}
.missed-notice {
  position: absolute;
  right: var(--edge);
  bottom: 35px;
  z-index: 4;
  min-height: 44px;
  padding: 7px 18px;
  background: rgba(227, 241, 252, .95);
  border-radius: 99px;
  font-size: var(--small);
}
.album-filter-drawer {
  margin-bottom: 16px;
}
.album-filter-drawer > summary {
  cursor: pointer;
  background: var(--sky-soft);
  border-radius: 14px;
  padding: 9px 14px;
  min-height: 44px;
  font-size: var(--small);
}
.album-filter-drawer > summary span {
  float: right;
  color: var(--muted);
}
.album-filter-drawer[open] > summary {
  margin-bottom: 12px;
}
@media (max-height:340px) {
  .frame[data-mode=gallery] .sheet-head small,
  .frame[data-mode=inbox] .sheet-head small,
  .frame[data-mode=search] .sheet-head small {
    display: none;
  }
  .frame[data-mode=gallery] .sheet-foot,
  .frame[data-mode=inbox] .sheet-foot,
  .frame[data-mode=search] .sheet-foot {
    display: none;
  }
  .album-filter-drawer {
    margin-bottom: 8px;
  }
  .album-filter-drawer > summary {
    padding: 8px 12px;
    font-size: 14px;
  }
  .frame[data-mode=contacts] .sheet-head small {
    display: none;
  }
  .frame[data-mode=contacts] .sheet-foot {
    display: none;
  }
}
@media (max-height:340px) {
  .frame[data-mode=gallery] .sheet-head,
  .frame[data-mode=inbox] .sheet-head,
  .frame[data-mode=search] .sheet-head {
    padding-bottom: 4px;
  }
  .frame[data-mode=gallery] .photo-card,
  .frame[data-mode=inbox] .photo-card,
  .frame[data-mode=search] .photo-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-grid-gap: 6px;
    padding: 6px;
    align-items: center;
    border-radius: 12px;
  }
  .frame[data-mode=gallery] .photo-card img,
  .frame[data-mode=inbox] .photo-card img,
  .frame[data-mode=search] .photo-card img {
    width: 46px;
    height: 52px;
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .frame[data-mode=gallery] .photo-card b,
  .frame[data-mode=inbox] .photo-card b,
  .frame[data-mode=search] .photo-card b {
    font-size: 13px;
    padding: 0;
    line-height: 1.35;
  }
  .frame[data-mode=gallery] .photo-card small,
  .frame[data-mode=inbox] .photo-card small,
  .frame[data-mode=search] .photo-card small {
    padding: 0;
    font-size: 10px;
  }
  .frame[data-mode=gallery] .photo-card .tag,
  .frame[data-mode=inbox] .photo-card .tag,
  .frame[data-mode=search] .photo-card .tag {
    display: none;
  }
}
.circle {
  padding: 0;
}
.circle span {
  white-space: nowrap;
}
.care-veil {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 95;
  background: rgba(38, 34, 58, .45);
  backdrop-filter: blur(9px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 24px);
}
.care-sheet {
  width: min(760px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper,#fffcf7);
  border: 1px solid #fff;
  border-radius: 26px;
  box-shadow: 0 18px 65px rgba(40, 34, 61, .26);
  color: #57537c;
  overflow: hidden;
  min-height: 0;
}
.care-sheet > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 12px;
  grid-gap: 12px;
  flex: none;
}
.care-sheet header small {
  font-size: 11px;
  letter-spacing: .07em;
}
.care-sheet header h2 {
  font-size: 28px;
  margin: 4px 0;
}
.care-sheet header .btn {
  flex: none;
}
.care-tabs {
  display: flex;
  grid-gap: 8px;
  padding: 0 26px 12px;
  overflow: auto;
  flex: none;
}
.care-tabs .btn {
  font-size: 13px;
  white-space: nowrap;
  padding: 9px 14px;
  min-height: 42px;
}
.care-body {
  padding: 4px 26px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
  font-size: 15px;
  line-height: 1.7;
}
.care-body p {
  margin: 8px 0;
}
.care-body h3 {
  font-size: 22px;
  margin: 4px 0 8px;
}
.care-body .muted {
  font-size: 12px;
}
.care-sheet > footer {
  padding: 7px 20px;
  font-size: 10px;
  flex: none;
  text-align: center;
  background: rgba(227, 241, 252, .533);
  color: #756f8d;
}
.care-intro {
  padding: 8px 0 14px;
}
.care-card {
  border: 1px solid #dcdbe7;
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
  margin: 12px 0;
  padding: 18px;
}
.care-feedback {
  padding: 12px 16px;
  border-radius: 14px;
  background: #e1f4e9;
  border: 1px solid #bfdfca;
  font-size: 14px;
}
.care-list {
  display: flex;
  align-items: center;
  grid-gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #dcd6e9;
}
.care-list:last-child {
  border: 0;
}
.care-list > div {
  flex: 1;
  min-width: 0;
}
.care-list b {
  font-size: 15px;
  display: block;
  overflow-wrap: anywhere;
}
.care-list small {
  display: block;
  color: #807b93;
  font-size: 12px;
}
.care-list img {
  width: 48px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}
.care-list .btn {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 44px;
  flex: none;
}
.care-form {
  display: grid;
  grid-gap: 13px;
  margin-top: 16px;
}
.care-form label {
  display: grid;
  grid-gap: 4px;
  font-size: 13px;
}
.care-form input,
.care-body textarea,
.care-body select {
  display: block;
  width: 100%;
  border: 1px solid #d3cfe2;
  border-radius: 12px;
  padding: 11px;
  font: inherit;
  background: white;
  color: inherit;
  min-width: 0;
}
.care-form .btn {
  justify-self: start;
}
.care-body textarea {
  min-height: 140px;
  resize: vertical;
}
.care-form input {
  min-height: 44px;
}
.care-body details summary {
  cursor: pointer;
  font-size: 13px;
  padding: 14px 0;
  min-height: 44px;
}
.pair-code {
  font: 600 38px ui-monospace, monospace;
  letter-spacing: .17em;
  color: #68699c;
  margin: 16px 0;
}
.care-entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  margin: 18px 0 2px;
}
.care-entry p {
  font-size: 13px;
  margin-top: 8px;
}
.care-entry-grid .btn {
  font-size: 13px;
  min-height: 48px;
  padding: 10px;
}
.admin-care-bar {
  display: flex;
  grid-gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.admin-care-bar .btn {
  font-size: 14px;
}
.batch-compose > h2 {
  font-size: 31px;
  margin: 14px 0 8px;
}
.batch-compose > .muted {
  font-size: 12px;
}
.batch-tools {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
}
.batch-tools b {
  margin-right: auto;
  font-size: 13px;
}
.batch-tools .btn {
  font-size: 11px;
  padding: 8px 10px;
  min-height: 44px;
}
.batch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 10px;
}
.batch-grid button {
  position: relative;
  border: 2px solid transparent;
  padding: 4px;
  border-radius: 12px;
  background: #fff;
  min-width: 0;
  color: #57537c;
  cursor: pointer;
}
.batch-grid button[aria-pressed=true] {
  border-color: #d77c9e;
  background: #fde8ef;
  box-shadow: 0 0 0 2px rgba(244, 175, 196, .2);
}
.batch-grid img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.batch-grid span {
  display: block;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 6px 0 3px;
}
.batch-grid i {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 50%;
  background: rgba(255, 253, 233, .91);
  font-style: normal;
  width: 21px;
  height: 21px;
  font-size: 15px;
  line-height: 21px;
}
.batch-grid [aria-pressed=true] i {
  background: #d77c9e;
  color: white;
}
.batch-compose textarea {
  width: 100%;
  min-height: 92px;
  border-radius: 14px;
  border: 1px solid #d8ccdf;
  padding: 12px;
  resize: vertical;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.batch-sticky {
  position: sticky;
  bottom: 68px;
  padding: 12px 0;
  background: linear-gradient(transparent, #fffcf7 15%);
}
.batch-sticky .btn {
  width: 100%;
  min-height: 50px;
  font-size: 15px;
}
.duplicate-note {
  margin-top: 12px;
  padding: 14px;
  background: #fff5d8;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
}
.duplicate-note label {
  display: flex;
  align-items: center;
  grid-gap: 6px;
  margin-top: 8px;
  min-height: 36px;
}
.duplicate-note input {
  width: 18px;
  height: 18px;
  flex: none;
}
.batch-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  margin-bottom: 18px;
}
.batch-preview-grid img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}
.delivery-row {
  display: flex;
  align-items: center;
  grid-gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed #dad2e5;
}
.delivery-row > img {
  width: 66px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
}
.delivery-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.delivery-row b {
  display: block;
  font-size: 14px;
}
.delivery-row small {
  font-size: 12px;
  display: block;
}
.delivery-row progress {
  width: 100%;
  height: 6px;
  accent-color: #80b7db;
  display: block;
  margin: 9px 0;
}
.delivery-row > div:last-child {
  display: grid;
  grid-gap: 7px;
}
.delivery-row .btn {
  font-size: 12px;
  padding: 8px 11px;
  min-height: 44px;
}
.demo-controls {
  margin-top: 20px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(233, 227, 242, .2);
}
.demo-controls p {
  font-size: 12px;
}
.demo-controls .row {
  padding-bottom: 12px;
}
.care-photo-list {
  max-height: 340px;
  overflow: auto;
}
.metadata-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 14px;
  background: #eee8df;
}
.confirm-care-text {
  font-size: 20px;
  padding: 20px 0;
}
.empty-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: #fffcf7;
  color: #57537c;
}
.empty-frame p {
  margin: 20px 0;
}
.guest-tools {
  padding: 0 22px 40px;
}
.care-frame-entry {
  margin-bottom: 18px;
}
@media (max-width:500px) {
  .care-veil {
    padding: 8px;
  }
  .care-sheet {
    border-radius: 20px;
  }
  .care-sheet > header {
    padding: 14px 16px 8px;
  }
  .care-sheet header h2 {
    font-size: 24px;
  }
  .care-sheet header small {
    font-size: 9px;
  }
  .care-body {
    padding: 0 16px 16px;
    font-size: 14px;
  }
  .care-tabs {
    padding: 0 16px 8px;
  }
  .care-tabs .btn {
    font-size: 11px;
    padding: 8px 10px;
  }
  .care-card {
    padding: 13px;
  }
  .care-list {
    grid-gap: 8px;
    flex-wrap: wrap;
  }
  .care-list .btn {
    padding: 7px 10px;
  }
  .care-list > div {
    flex-basis: 45%;
  }
  .care-body h3 {
    font-size: 22px;
  }
  .care-sheet .row .btn {
    font-size: 13px;
    padding: 10px 12px;
  }
  .care-sheet footer {
    font-size: 9px;
  }
  .care-list img {
    width: 38px;
    height: 44px;
  }
  .pair-code {
    font-size: 32px;
  }
}
@media (max-height:400px) and (min-width:500px) {
  .care-veil {
    padding: 8px 16px;
  }
  .care-sheet {
    border-radius: 16px;
  }
  .care-sheet > header {
    padding: 8px 18px;
  }
  .care-sheet header small {
    display: none;
  }
  .care-sheet header h2 {
    font-size: 21px;
  }
  .care-tabs {
    padding: 0 18px 6px;
  }
  .care-tabs .btn {
    min-height: 42px;
    padding: 8px 12px;
  }
  .care-body {
    padding: 4px 18px 16px;
  }
  .care-sheet > footer {
    display: none;
  }
  .care-intro {
    padding: 0;
  }
  .care-body h3 {
    font-size: 21px;
  }
  .care-card {
    padding: 12px;
    margin: 10px 0;
  }
  .care-list .btn,
  .care-form .btn {
    min-height: 44px;
  }
  .care-list > div {
    min-width: 100px;
  }
  .pair-code {
    font-size: 30px;
    margin: 4px 0;
  }
}
@media (max-height:400px) and (min-width:500px) {
  .frame-care .care-tabs,
  .frame-care .care-intro {
    display: none;
  }
  .frame-care .care-body {
    font-size: 16px;
  }
  .frame-care .care-card:first-of-type {
    margin-top: 0;
  }
  .frame-care .care-list b {
    font-size: 17px;
  }
  .frame-care .care-list small {
    font-size: 13px;
  }
  .frame-care .care-list .btn {
    font-size: 14px;
  }
  .frame-care > header {
    border-bottom: 1px dashed #ddd6e9;
    margin-bottom: 6px;
  }
}
