/* The Assistant (assistant.js; desktop skill, "The Assistant"). It stands in the windows layer under every window, so
   any window over it covers it. Decoration only: aria-hidden, never takes a click or the keyboard. Its ink, plaster
   and olive vest are its own (canon, codex the-assistant); the shirt and the name badge wear the skin. Nothing here
   exists until the visitor lets it onto the desk. */
.as-fig { position: absolute; left: 0; top: 0; z-index: 1; width: 50px; height: 125px; pointer-events: none; transition: opacity .4s ease; }
.as-fig[hidden] { display: none; }
/* on a phone it peeks from behind the home screen's clock, a widget or the drawer's front (they get .as-cover) */
.as-fig.as-phone { position: fixed; z-index: 0; }
.as-cover { position: relative; z-index: 1; }
/* a paper edge round it, so the ink line holds on a dark picture */
.as-svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 1px #f4f1e8); }
.as-shirt { fill: var(--sk-surface, #f4f1e8); }
.as-sleeve { stroke: var(--sk-surface, #f4f1e8); }
.as-trouser { stroke: #2e2c27; }
.as-badge { fill: var(--sk-accent, #e3ff59); }

/* its window in the Tools folder */
.as-panel { display: flex; flex-direction: column; gap: 12px; padding: 24px 18px 14px; }
.as-head { display: flex; align-items: center; gap: 14px; }
.as-pic { flex: none; width: 40px; height: 100px; }
.as-state { margin: 0; font: 400 20px/1.15 var(--sk-display, "Archivo Black", Arial, sans-serif); letter-spacing: -.4px; font-synthesis: none; }
.as-do .btn { min-height: 44px; min-width: 44px; padding: 6px 18px; }
.as-rules { margin: 0; padding: 0 0 0 18px; font-size: 14px; line-height: 1.4; }
.as-rules li + li { margin-top: 4px; }
.as-calm, .as-about { margin: 0; }
.as-about a { color: inherit; }

@media (forced-colors: active) {
  /* a plain figure: line in CanvasText, every fill Canvas */
  .as-svg { filter: none; }
  .as-svg * { fill: Canvas; stroke: CanvasText; }
  .as-svg path[fill="none"] { fill: none; }
  .as-svg .as-solid { fill: CanvasText; stroke: none; }
  .as-svg .as-trouser, .as-svg .as-sleeve { stroke: Canvas; }
}
@media (prefers-reduced-motion: reduce) {
  .as-fig { transition: opacity .6s linear; }
}
