/* Atalaya · maqueta viva de la consola para el hero de harpe.live.
   Todo con prefijo .am- para no chocar con site.css. La consola lleva su propio
   tema (oscuro por defecto, como la imagen a la que sustituye) en variables de
   .am, y el claro solo redefine esas variables. Los colores de alerta se eligen
   con contraste AA medido sobre los dos temas; los pares estan en INTEGRACION.md.
   Bajo la CSP del sitio no hay estilos en linea: lo dinamico entra por variables
   que el JS escribe con style.setProperty (--h, --w, --i). */

.am {
  --am-bg: #0F1620;
  --am-surface: #16202C;
  --am-surface-2: #1D2938;
  --am-line: #27334A;
  --am-text: #E7EBF3;
  --am-text-2: var(--color-mist, #A1ACC2);
  --am-text-3: #8B96AD;
  --am-accent: #2F6F99;
  --am-accent-text: #7FB3DA;
  --am-on-accent: #FFFFFF;
  --am-red: #F0665C;
  --am-red-bg: #3A2429;
  --am-amber: #E8B04B;
  --am-amber-bg: #393026;
  --am-green: #5CC48A;
  --am-green-bg: #1F3A30;
  --am-violet: #B3A6EA;
  --am-violet-bg: #2B2A47;
  --am-focus: #B6BFD7;
  --am-shadow: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --am-dur: 250ms;
  --am-ease: cubic-bezier(.2, .7, .2, 1);

  position: relative; display: flex; flex-direction: column; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--am-bg); color: var(--am-text);
  font-family: var(--font-sans, system-ui, sans-serif); font-size: 12px; line-height: 1.35;
  font-feature-settings: "cv11", "ss01", "tnum"; text-align: left;
  transition: background-color var(--am-dur) var(--am-ease), color var(--am-dur) var(--am-ease);
}
.am[data-theme="light"] {
  --am-bg: #EEF0F4;
  --am-surface: #FFFFFF;
  --am-surface-2: #F4F5F8;
  --am-line: #DCE0EB;
  --am-text: #141414;
  --am-text-2: #5E6370;
  --am-text-3: #5E6370;
  --am-accent: #2F6F99;
  --am-accent-text: #275E82;
  --am-red: #B3261E;
  --am-red-bg: #FCEDEC;
  --am-amber: #8A5A0B;
  --am-amber-bg: #FBF1DB;
  --am-green: #1E7A4F;
  --am-green-bg: #E8F5EE;
  --am-violet: #4E3E96;
  --am-violet-bg: #EBE7F8;
  --am-focus: #2F6F99;
  --am-shadow: 0 1px 2px rgba(25, 31, 47, .06);
}
.am *, .am *::before, .am *::after { box-sizing: border-box; }
.am :focus-visible { outline: 2px solid var(--am-focus); outline-offset: 2px; border-radius: 4px; }
:where(.am) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }   /* :where no pesa, y asi .am-btn gana */
.am h2, .am h3, .am h4, .am p, .am ul, .am ol, .am dl, .am dd, .am figure { margin: 0; }
.am ul, .am ol { padding: 0; list-style: none; }
.am svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.am .am-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.am-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--am-text-3); }
.am-muted { color: var(--am-text-2); }
.am-num { font-variant-numeric: tabular-nums; }

/* ---- Barra superior ------------------------------------------------------ */
.am-top {
  display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 0 14px; flex: none;
  background: var(--am-surface); border-bottom: 1px solid var(--am-line);
}
.am-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.am-brand svg { width: 20px; height: 20px; color: var(--am-accent-text); }
.am-brand small { font-weight: 500; font-size: 11px; color: var(--am-text-3); }
.am-tabs { display: flex; align-self: stretch; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.am-tabs::-webkit-scrollbar { display: none; }
.am-tab {
  position: relative; display: inline-flex; flex: none; align-items: center; padding: 0 10px; min-height: 100%; white-space: nowrap;
  font-weight: 500; color: var(--am-text-2); transition: color var(--am-dur) var(--am-ease);
}
.am-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: transparent; transition: background-color var(--am-dur) var(--am-ease); }
.am-tab:hover { color: var(--am-text); }
.am-tab[aria-selected="true"] { color: var(--am-text); font-weight: 600; }
.am-tab[aria-selected="true"]::after { background: var(--am-accent-text); }
.am-top__right { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.am-search { position: relative; display: flex; align-items: center; color: var(--am-text-3); }
.am-search svg { position: absolute; left: 8px; width: 14px; height: 14px; pointer-events: none; }
.am-search input {
  width: 218px; min-height: 30px; padding: 0 8px 0 28px; border-radius: 6px; border: 1px solid var(--am-line);
  background: var(--am-surface-2); color: var(--am-text); font: inherit; font-size: 11px;
}
.am-search input::placeholder { color: var(--am-text-3); opacity: 1; }
.am-search input::-webkit-search-cancel-button { appearance: none; }
.am-org { font-size: 11px; color: var(--am-text-2); white-space: nowrap; }
.am-avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--am-accent); color: var(--am-on-accent); font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.am-theme {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid var(--am-line); color: var(--am-text-2); transition: color var(--am-dur) var(--am-ease), background-color var(--am-dur) var(--am-ease);
}
.am-theme svg { width: 16px; height: 16px; }
.am-theme:hover { color: var(--am-text); background: var(--am-surface-2); }

/* ---- Paneles -------------------------------------------------------------- */
.am-panels { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.am-panel { flex: 1; min-height: 0; padding: 12px; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--am-line) transparent; }
.am-panel[hidden] { display: none; }
.am-stack { display: flex; flex-direction: column; overflow: hidden; }
.am-fill { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.am-fill > * { flex: 1; min-height: 0; }
.am-fill > .am-card { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--am-line) transparent; }
.am-grid3 { display: grid; grid-template-columns: 250px minmax(0, 1fr) 290px; gap: 10px; overflow: hidden; }
.am-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 10px; overflow: hidden; }
.am-col { display: flex; flex-direction: column; gap: 10px; min-height: 0; min-width: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--am-line) transparent; }
.am-card { flex: none; padding: 12px 14px; border-radius: 8px; background: var(--am-surface); border: 1px solid var(--am-line); box-shadow: var(--am-shadow); }
.am-card > .am-k { margin-bottom: 8px; }
.am-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.am-card__head .am-k { margin: 0; }

/* Tarjetas de estado: cifras grandes en dos columnas, como en la imagen */
.am-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.am-stat b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.am-stat span { display: block; margin-top: 2px; font-size: 11px; color: var(--am-text-2); }
.am-stat--bad b { color: var(--am-red); }
.am-meter { position: relative; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--am-surface-2); overflow: hidden; }
.am-meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 12) * 1%); border-radius: 2px; background: var(--am-accent-text); transition: width 1.6s var(--am-ease); }
.am-rows { display: grid; gap: 5px; }
.am-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.am-row span:last-child { font-weight: 600; text-align: right; }
.am-row--sub { font-size: 11px; }   /* "Modelo en el servidor · Completo · v14" cabe en una linea */
.am-row--sub span:last-child { font-weight: 500; color: var(--am-text-2); white-space: nowrap; }
.am-sep { margin: 10px 0 8px; border: 0; border-top: 1px solid var(--am-line); }
.am-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--am-green); vertical-align: 1px; }

/* ---- Grafico de barras ---------------------------------------------------- */
.am-chart { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: end; height: 96px; }
.am-bar { position: relative; height: calc(var(--h, 20) * 1%); min-height: 2px; border-radius: 2px 2px 0 0; background: var(--am-accent); transform-origin: bottom; transition: height .5s var(--am-ease); }
.am-bar--alert { background: var(--am-red); }
.am-bar--now { background: var(--am-accent-text); }
.am-chart__x { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin-top: 6px; font-size: 11px; color: var(--am-text-3); }
.am-chart__x span { justify-self: center; white-space: nowrap; }
.am-chart__x span:last-child { justify-self: end; }

/* ---- Lista de incidentes -------------------------------------------------- */
.am-list { display: grid; }
.am-inc {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto 78px; align-items: center; gap: 10px; width: 100%;
  padding: 7px 8px; margin: 0 -8px; border-radius: 6px; text-align: left; color: inherit;
  transition: background-color var(--am-dur) var(--am-ease);
}
.am-inc > .am-chip:first-child { justify-self: start; min-width: 46px; justify-content: center; }
.am-inc > .am-chip:last-child { justify-self: end; }
.am-inc + .am-inc { border-top: 1px solid var(--am-line); border-radius: 0; }
.am-inc:hover { background: var(--am-surface-2); }
.am-inc[aria-current="true"] { background: var(--am-surface-2); box-shadow: inset 2px 0 0 var(--am-accent-text); }
.am-inc__t { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-inc__s { display: block; margin-top: 1px; font-size: 11px; color: var(--am-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-inc__time { font-size: 11px; color: var(--am-text-2); }
.am-inc--new { animation: am-in .55s var(--am-ease) both; }
.am-more { margin-top: 8px; font-size: 11px; font-weight: 600; color: var(--am-accent-text); }
.am-more:hover { text-decoration: underline; }

/* Chips de gravedad, estado y plan */
.am-chip {
  display: inline-flex; align-items: center; gap: 5px; min-height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; border: 1px solid transparent;
  background: var(--am-surface-2); color: var(--am-text-2);
}
.am-chip--high { background: var(--am-red-bg); color: var(--am-red); }
.am-chip--medium { background: var(--am-amber-bg); color: var(--am-amber); }
.am-chip--low { background: var(--am-surface-2); color: var(--am-accent-text); }
.am-chip--open { background: transparent; border-color: var(--am-line); color: var(--am-text); }
.am-chip--open::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--am-amber); }
.am-chip--contained { background: var(--am-green-bg); color: var(--am-green); }
.am-chip--closed { background: transparent; border-color: var(--am-line); color: var(--am-text-2); }
.am-chip--online { color: var(--am-green); background: var(--am-green-bg); }
.am-chip--offline { color: var(--am-text-2); background: transparent; border-color: var(--am-line); }
.am-chip--isolated { color: var(--am-red); background: var(--am-red-bg); }
.am-chip--base { background: transparent; border-color: var(--am-line); color: var(--am-text-2); }
.am-chip--pro { background: var(--am-surface-2); color: var(--am-accent-text); }
.am-chip--max { background: var(--am-violet-bg); color: var(--am-violet); }
.am-chip--quarantine { background: var(--am-amber-bg); color: var(--am-amber); }
.am-chip--on { background: var(--am-green-bg); color: var(--am-green); }

/* ---- Detalle de un incidente --------------------------------------------- */
.am-detail__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.am-detail__head h3 { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.am-detail__sev { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.am-detail__sev--high { color: var(--am-red); }
.am-detail__sev--medium { color: var(--am-amber); }
.am-detail__sev--low { color: var(--am-accent-text); }
.am-detail__meta { margin-top: 4px; font-size: 11px; color: var(--am-text-2); }
.am-detail .am-k { margin: 12px 0 6px; }
.am-tree { display: grid; gap: 4px; margin-top: 10px; }
.am-tree__node { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 11px; }
.am-tree__node--child { padding-left: 14px; }
.am-tree__node--child::before { content: "\2514"; color: var(--am-text-3); }
.am-fx { display: grid; gap: 3px; padding-left: 28px; font-size: 11px; color: var(--am-text-2); }
.am-fx li::before { content: "\2022"; margin-right: 6px; color: var(--am-text-3); }
.am-fx li.is-bad { color: var(--am-red); }
.am-fx li.is-bad::before { color: var(--am-red); }
.am-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 11px; }
.am-kv dt { color: var(--am-text-2); }
.am-kv dd { font-weight: 600; }
.am-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.am-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--am-line); background: var(--am-surface-2); color: var(--am-text); font-size: 11px; font-weight: 600;
  transition: background-color var(--am-dur) var(--am-ease), color var(--am-dur) var(--am-ease), border-color var(--am-dur) var(--am-ease);
}
.am-btn:hover { border-color: var(--am-text-3); }
.am-btn--primary { background: var(--am-accent); border-color: var(--am-accent); color: var(--am-on-accent); }
.am-btn--primary:hover { background: #3A7FAD; border-color: #3A7FAD; }
.am-btn[disabled] { opacity: .45; cursor: not-allowed; }
.am-tl { display: grid; gap: 7px; }
.am-tl li { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding-left: 16px; font-size: 11px; }
.am-tl li::before { content: ""; position: absolute; left: 0; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--am-accent-text); }
.am-tl li.is-bad::before { background: var(--am-red); }
.am-tl li::after { content: ""; position: absolute; left: 3.5px; top: 14px; bottom: -9px; width: 1px; background: var(--am-line); }
.am-tl li:last-child::after { display: none; }
.am-tl time { color: var(--am-text-2); font-variant-numeric: tabular-nums; }
.am-tl.is-anim li { animation: am-step .4s var(--am-ease) both; animation-delay: calc(var(--i, 0) * 320ms); }

/* ---- Barras de herramientas, filtros y tablas ---------------------------- */
.am-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; }
.am-toolbar .am-search { margin-left: auto; }
.am-toolbar .am-search input { width: 200px; }
.am-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.am-filter {
  min-height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--am-line); font-size: 11px; font-weight: 600; color: var(--am-text-2);
  transition: background-color var(--am-dur) var(--am-ease), color var(--am-dur) var(--am-ease);
}
.am-filter:hover { color: var(--am-text); }
.am-filter[aria-pressed="true"] { background: var(--am-accent); border-color: var(--am-accent); color: var(--am-on-accent); }
.am-count { margin-left: auto; font-size: 11px; color: var(--am-text-2); }
.am-tablewrap { overflow: auto; border: 1px solid var(--am-line); border-radius: 8px; background: var(--am-surface); scrollbar-width: thin; scrollbar-color: var(--am-line) transparent; }
.am-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.am-table th, .am-table td { padding: 7px 10px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--am-line); }
.am-table th { position: sticky; top: 0; z-index: 1; background: var(--am-surface); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--am-text-3); }
.am-table tbody tr:last-child td { border-bottom: 0; }
.am-table tbody tr:hover td { background: var(--am-surface-2); }
.am-table td:first-child { font-weight: 600; }
.am-table .am-muted { color: var(--am-text-2); }
.am-empty { padding: 24px; text-align: center; color: var(--am-text-2); }

/* ---- Politicas ------------------------------------------------------------ */
.am-policies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.am-policy__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.am-policy__head h3 { font-size: 13px; font-weight: 700; }
.am-policy__sub { margin-top: 2px; font-size: 11px; color: var(--am-text-2); }
.am-policy.is-off .am-rules { opacity: .55; }
.am-rules { display: grid; gap: 2px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--am-line); }
/* La fila entera es el interruptor (role=switch): el nombre accesible es su texto y
   el objetivo de toque es toda la fila, no el dibujo de 34 px */
.am-rule { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; padding: 0 6px; margin: 0 -6px; border-radius: 6px; font-size: 11.5px; text-align: left; color: inherit; transition: background-color var(--am-dur) var(--am-ease); }
.am-rule:hover { background: var(--am-surface-2); }
.am-switch { position: relative; display: inline-block; width: 34px; height: 20px; border-radius: 999px; background: var(--am-line); transition: background-color var(--am-dur) var(--am-ease); flex: none; }
.am-switch::before { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); transition: transform var(--am-dur) var(--am-ease); }
.am-rule[aria-checked="true"] .am-switch { background: var(--am-green); }
.am-rule[aria-checked="true"] .am-switch::before { transform: translateX(14px); }

/* ---- Auditoria ------------------------------------------------------------ */
.am-audit { display: grid; }
.am-audit li { display: grid; grid-template-columns: 62px 84px 1fr; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--am-line); font-size: 11.5px; }
.am-audit li:last-child { border-bottom: 0; }
.am-audit time { color: var(--am-text-2); font-variant-numeric: tabular-nums; }
.am-audit .am-chip { justify-self: start; }
.am-audit li.am-inc--new { animation: am-in .55s var(--am-ease) both; }

/* ---- Aviso breve ---------------------------------------------------------- */
.am-toast {
  position: absolute; left: 50%; bottom: 14px; z-index: 5; transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 8px; background: var(--am-text); color: var(--am-bg); font-size: 11.5px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: opacity var(--am-dur) var(--am-ease), transform var(--am-dur) var(--am-ease);
}
.am-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@keyframes am-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes am-step { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes am-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .7; } }
.am-meter.is-live i { animation: am-breathe 3s ease-in-out infinite; }

/* Las barras entran de abajo arriba al cargar; la clase is-in las suelta. Sin
   preferencia de movimiento reducido no hay entrada ni oscilacion. */
.am-chart.will-in .am-bar { transform: scaleY(0); }
.am-chart.is-in .am-bar { transform: none; transition: transform .6s var(--am-ease), height .5s var(--am-ease); transition-delay: calc(var(--i, 0) * 25ms), 0s; }

@media (prefers-reduced-motion: reduce) {
  .am { --am-dur: 0ms; }
  .am-inc--new, .am-audit li.am-inc--new, .am-tl.is-anim li, .am-meter.is-live i { animation: none; }
  .am-chart.will-in .am-bar, .am-chart.is-in .am-bar { transform: none; transition: none; }
  .am-bar, .am-meter i, .am-toast { transition: none; }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 1023px) {
  .am { aspect-ratio: auto; max-height: 720px; }
  .am-panel { overflow: visible; }
  .am-panels { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--am-line) transparent; }
  .am-grid3, .am-grid2 { grid-template-columns: 1fr 1fr; overflow: visible; }
  .am-grid3 > .am-col:last-child { grid-column: 1 / -1; }
  .am-panel { flex: none; }                     /* altura por contenido: se desplaza .am-panels */
  .am-col { min-height: auto; }                 /* con 0, las filas automaticas del grid se aplastan */
  .am-col, .am-stack, .am-fill > .am-card { overflow: visible; }
  .am-fill, .am-fill > * { flex: none; }
  .am-policies { grid-template-columns: 1fr 1fr; }
  .am-org { display: none; }
  .am-search input { width: 170px; }
}
@media (max-width: 699px) {
  .am-top { flex-wrap: wrap; gap: 4px 10px; padding: 6px 10px; }
  .am-brand { order: 1; }
  .am-top__right { order: 2; margin-left: auto; }
  .am-tabs { order: 3; flex: 1 0 100%; min-height: 36px; margin: 0 -10px; padding: 0 6px; }
  .am-tab { min-height: 36px; }
  .am-top .am-search { display: none; }
  .am-grid3, .am-grid2 { grid-template-columns: 1fr; }
  .am-policies { grid-template-columns: 1fr; }
  .am-btn, .am-filter, .am-theme, .am-rule, .am-more, .am-search input { min-height: 36px; }
  .am-theme { width: 36px; }
  .am-inc { min-height: 44px; }
  .am-toolbar .am-search { margin-left: 0; flex: 1 0 100%; }
  .am-toolbar .am-search input { width: 100%; }
  .am-tl li { grid-template-columns: 50px 1fr; }
  .am-audit li { grid-template-columns: 56px 1fr; }
  .am-audit li .am-chip { grid-column: 2; }
  .am-toast { white-space: normal; max-width: calc(100% - 28px); text-align: center; }
}
