/* =====================================================================
   ACOMPÁÑAME (TFG) — colores tomados de las capturas reales de la app
   ===================================================================== */
.native-host { position: relative; flex: 1; min-height: 0; }

.ac {
  --bg: #E8EFFF;
  --surface: #F4F3F8;
  --card: #FFFFFF;
  --text: #1B1B21;
  --muted: #47464F;
  --primary: #3D58A8;
  --on-primary: #FFFFFF;
  --chip: #8FABFF;
  --ic-bg: #8DACFF;
  --ic: #14275E;
  --outline: #76777F;
  --disabled: #C6C6CF;
  --soft: #D8E3FB;
  --soft-border: #B5C7EE;
  --tag: #DFE7FF;
  --tag-text: #3A4A7C;
  --ok-bg: #D6ECD3;
  --ok: #2E4A30;
  --grad: linear-gradient(100deg, #3E5EAB 0%, #6E8CDD 100%);
  --pill-text: #3A55A0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', Roboto, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  transition: background .3s, color .3s;
}
.ac[data-theme='dark'] {
  --bg: #11141B;
  --surface: #1B2030;
  --card: #232A3C;
  --text: #E3E5EE;
  --muted: #B3B7C5;
  --primary: #B3C5FF;
  --on-primary: #0E2465;
  --chip: #3A4F90;
  --ic-bg: #3A4F90;
  --ic: #DCE3FF;
  --outline: #8E909C;
  --disabled: #444754;
  --soft: #1C2742;
  --soft-border: #33416A;
  --tag: #2A3456;
  --tag-text: #C8D3FF;
  --ok-bg: #23382A;
  --ok: #BDE5C2;
  --grad: linear-gradient(100deg, #233A78 0%, #3E5EAB 100%);
  --pill-text: #233A78;
}
.ac button { color: inherit; }
.ac svg { flex: none; }
.ac-grow { flex: 1; min-width: 0; }

/* Barra superior */
.ac-bar {
  flex: none;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  height: 52px;
  padding: 0 6px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 2px 6px rgba(20, 40, 100, .18);
  z-index: 2;
}
.ac-bar-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff !important; }
.ac-bar-btn:hover { background: rgba(255, 255, 255, .14); }
.ac-bar-btn svg { width: 20px; height: 20px; }
.ac-title { text-align: center; font-size: 16px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-me { display: grid; place-items: center; }
.ac-me img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.ac-bar.is-chat .ac-title { text-align: left; }
.ac-chat-title { display: flex; align-items: center; gap: 8px; }
.ac-chat-title img { width: 30px; height: 30px; border-radius: 50%; }
.ac-chat-title span { display: flex; flex-direction: column; line-height: 1.15; }
.ac-chat-title b { font-size: 13.5px; font-weight: 500; }
.ac-chat-title small { font-size: 10.5px; opacity: .85; }

/* Pantallas */
.ac-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.ac-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 12px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.ac-screen::-webkit-scrollbar { display: none; }
.ac-screen > * { flex-shrink: 0; }
.ac-screen.is-push { animation: ac-push .32s cubic-bezier(.2, .9, .3, 1); }
.ac-screen.is-pop { animation: ac-pop .3s cubic-bezier(.2, .9, .3, 1); }
@keyframes ac-push { from { opacity: 0; transform: translateX(28%); } }
@keyframes ac-pop { from { opacity: 0; transform: translateX(-18%); } }

.ac-card { padding: 14px; border-radius: 18px; background: var(--surface); }
.ac-grad { background: var(--grad); color: #fff; }
.ac-h { margin-bottom: 10px; font-size: 16px; font-weight: 400; }
.ac-note { margin: 10px 0 8px; font-size: 10.5px; color: var(--muted); }
.ac-mt { margin-top: 12px; }

.ac-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--pill-text) !important;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform .15s, box-shadow .2s;
}
.ac-pill:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.ac-pill:active { transform: scale(.96); }
.ac-pill-wide { display: flex; width: 78%; height: 34px; margin: 12px auto 0; font-size: 12px; }
.ac-badge { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E4572E; color: #fff; font-size: 10px; font-weight: 700; }

.ac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary) !important;
  font-size: 13px;
  font-weight: 500;
  transition: filter .2s, transform .15s;
}
.ac-btn:hover { filter: brightness(1.08); }
.ac-btn:active { transform: scale(.98); }
.ac-btn-out { background: transparent; color: var(--primary) !important; box-shadow: inset 0 0 0 1px var(--outline); }
.ac-btn-block { width: 100%; }
.ac-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

/* Inicio */
.ac-citas-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
/* En el móvil más estrecho el botón baja a su propia línea en vez de aplastar el texto */
.ac-citas-card .ac-grow { flex: 1 1 124px; }
.ac-citas-card .ac-round { flex: none; }
.ac-citas-card .ac-pill { margin-left: auto; }
.ac-round { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ac-round svg { width: 22px; height: 22px; }
.ac-citas-card b { font-size: 15px; font-weight: 500; }
.ac-citas-card p { margin-top: 2px; font-size: 10.5px; line-height: 1.4; opacity: .95; }
.ac-citas-card strong { font-weight: 600; }

.ac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 116px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  transition: transform .15s, box-shadow .2s;
}
.ac-tile:hover { box-shadow: 0 4px 14px rgba(40, 70, 150, .12); }
.ac-tile:active { transform: scale(.97); }
.ac-tile b { margin-top: auto; font-size: 13.5px; font-weight: 400; }
.ac-tile small { margin-top: 3px; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.ac-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ic-bg); color: var(--ic); }
.ac-ic svg { width: 18px; height: 18px; }
.ac-tile .ac-ic { margin-bottom: 18px; }

.ac-psy { padding: 12px; }
.ac-psy-top { display: flex; align-items: center; gap: 10px; }
.ac-psy-top img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ac-psy-top b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ac-psy-top span { font-size: 11px; opacity: .9; }

/* Citas */
.ac-empty { display: flex; gap: 10px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.ac-empty svg { width: 22px; height: 22px; }
.ac-next { display: flex; align-items: center; gap: 12px; }
.ac-next-date { display: grid; place-items: center; width: 48px; height: 52px; border-radius: 14px; background: var(--chip); color: var(--ic); line-height: 1; }
.ac-next-date b { font-size: 19px; font-weight: 600; }
.ac-next-date small { font-size: 10px; text-transform: uppercase; }
.ac-next b { display: block; font-size: 13px; font-weight: 500; }
.ac-next b::first-letter { text-transform: uppercase; }
.ac-next span { font-size: 11px; color: var(--muted); }

.ac-days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ac-days::-webkit-scrollbar { display: none; }
.ac-day {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 54px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--outline);
  line-height: 1.15;
  transition: background .2s;
}
.ac-day small { font-size: 10px; }
.ac-day b { font-size: 14px; font-weight: 400; }
.ac-day.is-on { background: var(--chip); box-shadow: none; }
.ac-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ac-time {
  height: 30px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--outline);
  font-size: 11.5px;
  transition: background .2s, color .2s;
}
.ac-time:disabled { color: var(--disabled) !important; box-shadow: inset 0 0 0 1px var(--disabled); cursor: not-allowed; }
.ac-time.is-on { background: var(--primary); color: var(--on-primary) !important; box-shadow: none; }
.ac-hist { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 0; }
.ac-hist b { display: block; font-size: 12.5px; font-weight: 400; }
.ac-hist span:not(.ac-tag) { font-size: 10.5px; color: var(--muted); }
.ac-tag { padding: 4px 10px; border-radius: 999px; background: var(--tag); color: var(--tag-text); font-size: 10.5px; }

/* Notas */
.ac-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface); }
.ac-seg button { height: 34px; border-radius: 999px; font-size: 12.5px; color: var(--muted) !important; transition: background .2s, color .2s; }
.ac-seg button.is-on { background: var(--card); color: var(--primary) !important; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }

.ac-ai-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--soft-border);
  text-align: left;
}
.ac-ai-cta b { display: block; font-size: 13px; font-weight: 500; }
.ac-ai-cta small { font-size: 10.5px; color: var(--muted); }
.ac-ai-cta > svg { width: 16px; height: 16px; color: var(--muted); }
.ac-ai-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 11px;
  font-weight: 600;
}
.ac-ai-avatar svg { width: 16px; height: 16px; }
.ac-ai { padding: 12px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--soft-border); }
.ac-ai-head { display: flex; align-items: center; gap: 10px; }
.ac-ai-head b { font-size: 14px; font-weight: 400; }
.ac-icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.ac-icon-btn svg { width: 18px; height: 18px; }
.ac-ai-text { margin-top: 10px; font-size: 11.5px; line-height: 1.6; white-space: pre-line; user-select: text; }
.ac-ai-text span { animation: ac-word .35s ease-out both; animation-delay: calc(var(--i) * 9ms); }
@keyframes ac-word { from { opacity: 0; filter: blur(3px); } }
.ac-ai-loading { display: flex; align-items: center; gap: 4px; margin: 14px 0 4px; font-size: 11.5px; color: var(--muted); }
.ac-ai-loading span { margin-right: 4px; }
.ac-ai-loading i, .ac-typing i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: ac-dot 1s infinite; }
.ac-ai-loading i:nth-child(3), .ac-typing i:nth-child(2) { animation-delay: .15s; }
.ac-ai-loading i:nth-child(4), .ac-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ac-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.ac-ai-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ac-ai-foot > span { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--muted); }
.ac-ai-foot > span svg { width: 13px; height: 13px; }
.ac-regen { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--ok-bg); color: var(--ok) !important; font-size: 11.5px; }
.ac-regen svg { width: 14px; height: 14px; }
.ac-regen:disabled { opacity: .5; }
.ac-ai-disclaimer { display: block; margin-top: 8px; font-size: 9.5px; color: var(--muted); opacity: .8; }

.ac-note-card { border-radius: 18px; background: var(--card); overflow: hidden; }
.ac-note-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 13px 14px; text-align: left; }
.ac-note-head b { font-size: 13px; font-weight: 400; }
.ac-note-head svg { width: 18px; height: 18px; transition: transform .25s; }
.ac-note-card.is-open .ac-note-head svg { transform: rotate(180deg); }
.ac-note-body { display: none; padding: 0 14px 14px; }
.ac-note-card.is-open .ac-note-body { display: block; animation: fade .3s; }
.ac-note-body p { font-size: 11.5px; line-height: 1.6; color: var(--muted); user-select: text; }
.ac-note-date { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--soft-border); font-size: 10.5px; color: var(--muted); }
.ac-note-date svg { width: 13px; height: 13px; }
.ac-fab {
  position: sticky;
  bottom: 0;
  align-self: flex-end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: auto;
  border-radius: 16px;
  background: var(--chip);
  color: var(--ic) !important;
  box-shadow: 0 6px 14px rgba(40, 70, 150, .3);
  transition: transform .15s;
}
.ac-fab:active { transform: scale(.94); }
.ac-fab svg { width: 22px; height: 22px; stroke-width: 2.4; }

.ac-prog-head { display: flex; justify-content: space-between; font-size: 12.5px; }
.ac-prog-head b { font-weight: 500; }
.ac-prog { margin-top: 8px; height: 6px; border-radius: 6px; background: var(--tag); overflow: hidden; }
.ac-prog i { display: block; height: 100%; border-radius: 6px; background: var(--primary); transition: width .45s var(--ease); }
.ac-tasks { display: grid; gap: 8px; }
.ac-task { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; background: var(--card); text-align: left; }
.ac-check { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--outline); color: transparent; transition: background .2s; }
.ac-check svg { width: 14px; height: 14px; stroke-width: 3; }
.ac-task b { display: block; font-size: 12.5px; font-weight: 400; }
.ac-task small { font-size: 10.5px; color: var(--muted); }
.ac-task.is-done .ac-check { background: var(--primary); box-shadow: none; color: var(--on-primary); animation: pop .35s var(--ease); }
.ac-task.is-done b { text-decoration: line-through; opacity: .6; }

/* Perfil */
.ac-prof { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 6px; }
.ac-prof-photo-wrap { position: relative; }
.ac-prof-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.ac-verified { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #3F6A4C; color: #fff; box-shadow: 0 0 0 3px var(--bg); }
.ac-verified svg { width: 16px; height: 16px; stroke-width: 3; }
.ac-prof h4 { margin-top: 8px; font-size: 19px; font-weight: 400; }
.ac-soft-chip { margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--card); font-size: 10.5px; color: var(--muted); }
.ac-about { padding: 14px; border-radius: 20px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--soft-border); }
.ac-about h5 { font-size: 13.5px; font-weight: 500; color: var(--primary); }
.ac-about h5 + * { margin-top: 8px; }
.ac-about p { font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.ac-info { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border-radius: 14px; background: var(--card); }
.ac-info + h5, .ac-info + .ac-info { margin-top: 8px; }
.ac-about .ac-info:last-of-type { margin-bottom: 14px; }
.ac-info b { display: block; font-size: 12px; font-weight: 400; }
.ac-info span:not(.ac-ic) { font-size: 10.5px; color: var(--muted); }
.ac-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-specs span { padding: 5px 10px; border-radius: 8px; background: var(--card); font-size: 11px; }

/* Chat */
.ac-s-chat { padding: 0; gap: 0; overflow: hidden; }
.ac-msgs { flex: 1 !important; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 12px; overflow-y: auto; scrollbar-width: none; }
.ac-msgs::-webkit-scrollbar { display: none; }
.ac-day-chip { align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--tag); color: var(--tag-text); font-size: 10px; }
.ac-demo-note { align-self: center; margin-bottom: 4px; font-size: 9.5px; color: var(--muted); }
.ac-bubble {
  max-width: 80%;
  padding: 8px 11px 6px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.4;
  user-select: text;
  animation: ac-bubble .28s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes ac-bubble { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.ac-bubble small { display: block; margin-top: 2px; font-size: 9.5px; text-align: right; opacity: .7; }
.ac-bubble.is-me { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--primary); color: var(--on-primary); }
.ac-bubble.is-her { align-self: flex-start; border-bottom-left-radius: 4px; background: var(--card); }
.ac-typing { display: flex; gap: 4px; padding: 11px 13px; color: var(--muted); }
.ac-quick { flex: none; display: flex; gap: 6px; padding: 6px 10px; overflow-x: auto; scrollbar-width: none; }
.ac-quick::-webkit-scrollbar { display: none; }
.ac-quick button { flex: none; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--soft-border); color: var(--primary) !important; font-size: 11px; }
.ac-compose { flex: none; display: flex; gap: 8px; padding: 6px 10px 10px; }
.ac-compose input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: var(--card);
  color: var(--text);
  font-size: 12.5px;
}
.ac-compose input:focus { box-shadow: inset 0 0 0 2px var(--chip); }
.ac-compose button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--on-primary) !important; }
.ac-compose button svg { width: 17px; height: 17px; }

/* Ajustes */
.ac-list { padding: 4px 12px; }
.ac-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; text-align: left; }
.ac-row + .ac-row { border-top: 1px solid var(--soft-border); }
.ac-row > svg { width: 20px; height: 20px; color: var(--muted); }
.ac-row b { display: block; font-size: 12.5px; font-weight: 400; }
.ac-row small { font-size: 10.5px; color: var(--muted); }
.ac-switch { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--disabled); transition: background .25s; }
.ac-switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.ac-row[aria-checked='true'] .ac-switch { background: var(--primary); }
.ac-row[aria-checked='true'] .ac-switch i { transform: translateX(16px); background: var(--on-primary); }

/* Capturas */
.ac-lead { font-size: 12px; color: var(--muted); }
.ac-shots { display: flex; gap: 10px; margin: 0 -12px; padding: 0 12px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ac-shots::-webkit-scrollbar { display: none; }
.ac-shots figure { flex: none; width: 76%; scroll-snap-align: center; }
.ac-shots img { width: 100%; border-radius: 18px; box-shadow: 0 8px 20px rgba(20, 40, 100, .2); }
.ac-shots figcaption { margin-top: 6px; text-align: center; font-size: 10.5px; color: var(--muted); }

/* Menú lateral */
.ac-scrim { position: absolute; inset: 0; z-index: 20; background: rgba(0, 0, 0, .35); animation: fade .25s; }
.ac-scrim[hidden] { display: none; }
.ac-drawer {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  z-index: 21;
  display: flex;
  flex-direction: column;
  width: 80%;
  border-radius: 0 18px 18px 0;
  background: var(--card);
  overflow: hidden;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.2, .9, .3, 1);
}
.ac-drawer.is-open { transform: none; }
.ac-drawer-head { display: flex; flex-direction: column; gap: 2px; padding: 16px; background: var(--grad); color: #fff; }
.ac-drawer-head img { width: 46px; height: 46px; margin-bottom: 8px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.ac-drawer-head b { font-size: 14px; font-weight: 500; }
.ac-drawer-head span { font-size: 11px; opacity: .85; }
.ac-drawer-items { padding: 8px; overflow-y: auto; }
.ac-drawer-items button { display: flex; align-items: center; gap: 14px; width: 100%; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; text-align: left; }
.ac-drawer-items button:hover { background: var(--tag); color: var(--tag-text); }
.ac-drawer-items svg { width: 18px; height: 18px; color: var(--muted); }
.ac-drawer-foot { margin-top: auto; padding: 12px 16px; font-size: 10.5px; color: var(--muted); }

/* Diálogo */
.ac-dialog { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 22px; background: rgba(0, 0, 0, .4); animation: fade .2s; }
.ac-dialog[hidden] { display: none; }
.ac-dialog-box { width: 100%; padding: 20px 18px 12px; border-radius: 24px; background: var(--card); color: var(--text); animation: ac-pop-in .25s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes ac-pop-in { from { opacity: 0; transform: scale(.9); } }
.ac-dialog-box h4 { font-size: 16px; font-weight: 400; }
.ac-dialog-box p { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.ac-field {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  resize: none;
}
.ac-field:focus { box-shadow: inset 0 0 0 2px var(--chip); }
.ac-dialog-actions { display: flex; justify-content: flex-end; gap: 4px; margin-top: 14px; }
.ac-dialog-actions button { height: 36px; padding: 0 12px; border-radius: 999px; color: var(--primary) !important; font-size: 12.5px; font-weight: 500; }
.ac-dialog-actions button:hover { background: var(--tag); }

/* Snackbar */
.ac-snack {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  z-index: 35;
  padding: 11px 14px;
  border-radius: 8px;
  background: #2F3033;
  color: #F1F0F4;
  font-size: 11.5px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s var(--ease), opacity .25s;
}
.ac-snack.is-on { transform: none; opacity: 1; }
.ac[data-theme='dark'] .ac-snack { background: #E3E2E6; color: #2F3033; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
