/* Officiata · home #assistant: the AI assistant, "Not happy with a round? Just ask." (Davíð, 2026-11-21)
   The chat drawing is plain HTML so it reads without CSS and with reduced motion. Sample data only. */
.as-split{align-items:center}
.as-pts{margin-top:var(--space-8)}
.as-label{display:flex;align-items:center;gap:var(--space-2)}
.as-ai{display:inline-grid;place-items:center;min-width:32px;height:24px;padding:0 8px;border-radius:var(--r-small);background:linear-gradient(135deg,var(--a4),var(--a2));color:var(--c-navy);font:var(--fw-head) .8125rem/1 var(--font-head);letter-spacing:.02em}
.as-pts .icon-tile{color:var(--acc,var(--a2))}
.as-names{margin-top:var(--space-6);max-width:var(--w-text)}

.as-fig{margin:0;max-width:460px;width:100%}
.as-chat{display:grid;gap:var(--space-4);padding:var(--space-5) var(--space-4);border:1px solid var(--c-on-navy-line);border-radius:calc(var(--r-card) + 8px);background:radial-gradient(60% 70% at 85% 10%,color-mix(in srgb,var(--a4) 26%,transparent),transparent 70%),radial-gradient(50% 60% at 10% 95%,color-mix(in srgb,var(--a1) 20%,transparent),transparent 70%),rgba(255,255,255,.03)}
@media (min-width:720px){.as-chat{padding:var(--space-6) var(--space-6)}}

.as-msg{max-width:88%;font-size:var(--fs-small);line-height:var(--lh-small)}
.as-who{display:block;margin-bottom:var(--space-1);font:var(--fw-bold) var(--fs-small)/1.3 var(--font-text)}
.sec--navy .as-msg p{color:inherit}

/* the committee's message: right, soft glass */
.as-ask{justify-self:end;padding:var(--space-3) var(--space-4);border-radius:18px 18px 4px 18px;background:rgba(255,255,255,.12);color:#fff}
.as-ask .as-who{color:var(--c-on-navy-muted);text-align:right}

/* the assistant's answer: left, white card with the approve buttons */
.as-reply{justify-self:start;padding:var(--space-4);border-radius:18px 18px 18px 4px;background:#fff;color:var(--c-text);box-shadow:var(--shadow-device)}
.as-reply .as-who{display:flex;align-items:center;gap:var(--space-2);color:var(--c-ink)}
.as-reply .as-who svg{width:var(--icon-sm);height:var(--icon-sm);stroke:var(--a4-d);fill:color-mix(in srgb,var(--a4) 35%,transparent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.as-reply b{color:var(--c-ink)}
.as-reply p + p{margin-top:var(--space-2)}
.as-chg{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-top:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--r-small);background:var(--c-tint);color:var(--c-ink);font-weight:var(--fw-bold)}
.as-chg s{color:var(--c-muted);font-weight:var(--fw-regular)}
.as-chg svg{width:16px;height:16px;flex:none;fill:none;stroke:var(--c-muted);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.as-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-2);margin-top:var(--space-4)}
.as-b{display:inline-flex;align-items:center;min-height:36px;padding:0 var(--space-3);border:1px solid var(--c-line-strong);border-radius:var(--r-small);color:var(--c-ink);font:var(--fw-bold) var(--fs-small)/1.2 var(--font-text)}
.as-b--go{background:var(--c-green);border-color:var(--c-green);color:#fff}

/* a short second answer (the quiz) */
.as-mini{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4)}
.as-mini svg{width:var(--icon-md);height:var(--icon-md);flex:none;fill:none;stroke:var(--a2-d);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.as-fig .cap{margin-top:var(--space-3)}

/* the messages after the first arrive one after the other, once, when the drawing scrolls in */
@media (prefers-reduced-motion:no-preference){
  .as-fig.rise .as-reply,.as-fig.rise .as-ask + .as-ask,.as-fig.rise .as-reply + .as-ask{opacity:0;transform:translateY(8px);transition:opacity .4s ease,transform .4s ease}
  .as-fig.rise.shown .as-msg{opacity:1;transform:none}
  .as-fig.rise.shown .as-msg:nth-child(2){transition-delay:.45s}
  .as-fig.rise.shown .as-msg:nth-child(3){transition-delay:1.1s}
  .as-fig.rise.shown .as-msg:nth-child(4){transition-delay:1.6s}
}
