/* BioRadius Assistant: the panel, spotlight and tours. Shared by every app; no framework, no CDN.
   Colours: each app maps the --as-* tokens to its own theme tokens (light + dark follow the app's switch);
   the fallbacks below are only for a page that hasn't mapped them. The chart palette is the validated
   categorical set (light / dark steps), chosen by the panel from the luminance of the app's surface. */

.br-assist, .br-spot, .br-spot-callout, .br-assist-toast {
  --as-w: 420px;
  font-family: var(--as-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  color: var(--as-ink, #16171a);
  box-sizing: border-box;
}
.br-assist *, .br-spot-callout *, .br-assist-toast * { box-sizing: border-box; }

/* categorical chart slots: validated set, light and dark steps (see assistant/README.md) */
.br-assist[data-mode="light"], .br-spot-callout[data-mode="light"] {
  --as-cat-1: #2a78d6; --as-cat-2: #eb6834; --as-cat-3: #1baf7a; --as-cat-4: #eda100;
  --as-cat-5: #e87ba4; --as-cat-6: #008300; --as-cat-7: #4a3aa7; --as-cat-8: #e34948;
}
.br-assist[data-mode="dark"], .br-spot-callout[data-mode="dark"] {
  --as-cat-1: #3987e5; --as-cat-2: #d95926; --as-cat-3: #199e70; --as-cat-4: #c98500;
  --as-cat-5: #d55181; --as-cat-6: #008300; --as-cat-7: #9085e9; --as-cat-8: #e66767;
}

/* ------------------------------------------------------------------------------------------- the toggle button */
.br-assist-btn[hidden] { display: none !important; }
.br-assist-btn svg { display: block; }
.br-assist-btn.is-active { color: var(--as-accent, #2a5bd7); }

/* Its sparkle (assistant.js wireSparkle): a few small stars drift out of the button on hover and fade. The
   four-pointed star is the icon's own shape; colour = the app's accent, a faint glow of the same. */
.br-sparks { position: fixed; inset: 0; z-index: 1030; pointer-events: none; overflow: hidden; contain: strict; }
.br-spark {
  position: fixed; display: block; opacity: 0; will-change: transform, opacity;
  background: var(--as-accent, #2a5bd7);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 2px var(--as-accent, #2a5bd7));
}
.br-spark.is-dust { clip-path: none; border-radius: 50%; filter: none; opacity: 0; }
[data-assistant-toggle] svg { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); transform-origin: 50% 50%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-assistant-toggle]:hover svg { transform: rotate(-12deg) scale(1.12); }
  [data-assistant-toggle]:active svg { transform: rotate(-12deg) scale(.94); transition-duration: .12s; }
}

/* --------------------------------------------------------------------------------------------------- the panel */
.br-assist {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000;
  width: var(--as-w); max-width: 100vw;
  display: flex; flex-direction: column;
  background: var(--as-surface, #fff);
  border-left: 1px solid var(--as-line, #e3e3e0);
  box-shadow: -14px 0 36px var(--as-shadow-color, rgba(0, 0, 0, .14));
  font-size: 14px; line-height: 1.45;
  transform: translateX(105%); visibility: hidden;
  transition: transform .22s ease, visibility 0s linear .22s;
}
.br-assist.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
html.br-assist-docked body { margin-right: var(--br-assist-w, 420px); transition: margin-right .22s ease; }
html.br-assist-docked .test-copy-banner { right: var(--br-assist-w, 420px); }
@media (max-width: 640px) {
  .br-assist { --as-w: 100vw; border-left: 0; }
  /* a phone (owner, 14 Nov): room for the title and the buttons, finger-sized buttons */
  .br-assist .br-assist-head { gap: 2px; padding: 8px 6px 8px 10px; }
  .br-assist .br-assist-mark { display: none; }
  .br-assist .br-icon-btn { width: 40px; height: 40px; }
  /* History / Tips / the AI choice on a phone: only the back arrow, the screen's name and close */
  .br-assist:not([data-view="chat"]) .br-assist-head .br-icon-btn:not(.br-back):not(.br-close) { display: none !important; }
  .br-ideas { max-height: 60vh; }
  .br-assist-input { padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }
  .br-spot-callout .br-btn { min-height: 40px; }
}
.br-assist-input[hidden] { display: none !important; }  /* History, Tips, the AI choice: no message box */

.br-assist-head {
  display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; min-height: 54px;
  border-bottom: 1px solid var(--as-line, #e3e3e0); flex-shrink: 0;
}
.br-assist-mark {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--as-accent-ink, #fff); background: var(--as-accent, #2a5bd7);
}
.br-assist-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.br-assist-title strong { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-assist-sub { font-size: 11.5px; color: var(--as-muted, #6b6d72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-assist-sub .br-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 5px;
  vertical-align: 1px; background: var(--as-ok, #1f8a4c); }
.br-assist-sub .br-dot.is-local { background: var(--as-muted, #6b6d72); }

.br-icon-btn {
  width: 32px; height: 32px; display: inline-grid; place-items: center; flex-shrink: 0;
  border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--as-muted, #6b6d72);
  cursor: pointer; padding: 0;
}
.br-icon-btn[hidden] { display: none !important; }      /* the gear for non-administrators; the agent's thread */
.br-icon-btn:hover { background: var(--as-surface-2, #f3f3f1); color: var(--as-ink, #16171a); }
.br-icon-btn[aria-pressed="true"] { color: var(--as-accent, #2a5bd7); background: var(--as-surface-2, #f3f3f1); }
.br-assist :focus-visible, .br-spot-callout :focus-visible {
  outline: 2px solid var(--as-accent, #2a5bd7); outline-offset: 2px; }

.br-assist-banner {
  margin: 10px 12px 0; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; flex-shrink: 0;
  background: var(--as-surface-2, #f3f3f1); color: var(--as-ink-2, #3d3f44); border: 1px solid var(--as-line, #e3e3e0);
}
.br-assist-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px 8px; scroll-behavior: auto; }

/* ------------------------------------------------------------------------------------------------- empty state */
/* a new chat (owner, 15 Nov: "a simple clean chat window"): a greeting in the middle, three things to try */
.br-assist-body:has(> .br-chat > .br-empty) { display: flex; flex-direction: column; }
.br-chat:has(> .br-empty) { flex: 1; display: flex; }
.br-chat[hidden], .br-history[hidden], .br-ai[hidden] { display: none !important; }   /* (the line above beat [hidden]: 19 Nov) */
.br-empty { margin: auto; width: 100%; max-width: 340px; padding: 16px 4px 24px; text-align: center; }
.br-empty-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 10px;
  color: var(--as-accent-soft-ink, var(--as-accent, #2a5bd7)); background: var(--as-accent-soft, var(--as-surface-2, #f3f3f1)); }
.br-empty h2 { font-size: 20px; margin: 0 0 4px; font-weight: 650; }
.br-empty p { margin: 0 0 20px; color: var(--as-muted, #6b6d72); }
.br-starters { display: flex; flex-direction: column; gap: 8px; }
.br-starter {
  text-align: left; font: inherit; font-size: 13.5px; color: var(--as-ink-2, #3d3f44); cursor: pointer; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--as-line, #e3e3e0); background: var(--as-surface, #fff);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.br-starter:hover { border-color: var(--as-line-strong, #c9c9c4); background: var(--as-surface-2, #f3f3f1); color: var(--as-ink, #16171a); }

/* ---------------------------------------------------------------------------------------------------- messages */
.br-msg { margin: 0 0 14px; }
.br-msg-user { display: flex; flex-direction: column; align-items: flex-end; }
/* The HR Portal agent's thread: where each message came from (the portal or WhatsApp). */
.br-via { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; line-height: 1;
  padding: 3px 7px; border-radius: 999px; border: 1px solid currentColor; color: var(--as-muted, #6b6d72); opacity: .9; }
.br-msg-user .br-via { align-self: flex-end; margin-bottom: 4px; }
.br-via-whatsapp { color: var(--as-ok, #1f8a4c); }
.br-code-hint { margin: 8px 0 0; font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-code-hint b { color: var(--as-ink, #16171a); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.br-msg-user .br-bubble {
  max-width: 86%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; white-space: pre-wrap; overflow-wrap: anywhere;
  background: var(--as-accent-soft, #e9eefb); color: var(--as-accent-soft-ink, var(--as-ink, #16171a));
}
.br-msg-bot { display: flex; flex-direction: column; gap: 8px; }
.br-msg-note { font-size: 12px; color: var(--as-muted, #6b6d72); display: flex; gap: 6px; align-items: flex-start; }
.br-md { overflow-wrap: anywhere; }
.br-md p { margin: 0 0 8px; }
.br-md p:last-child { margin-bottom: 0; }
.br-md ul, .br-md ol { margin: 0 0 8px; padding-left: 20px; }
.br-md li { margin: 2px 0; }
.br-md code { font-family: var(--as-mono, ui-monospace, Consolas, monospace); font-size: .9em;
  background: var(--as-surface-2, #f3f3f1); padding: 1px 5px; border-radius: 4px; }
.br-md a, .br-link { color: var(--as-accent, #2a5bd7); text-decoration: underline; text-underline-offset: 2px; }
.br-cursor::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px;
  background: var(--as-muted, #6b6d72); animation: br-blink 1s steps(2) infinite; }
@keyframes br-blink { 50% { opacity: 0; } }

.br-steps { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-step { display: flex; align-items: center; gap: 6px; }
.br-step svg { flex-shrink: 0; }
.br-step.is-done svg { color: var(--as-ok, #1f8a4c); }
.br-step.is-error svg { color: var(--as-warn-ink, #9a5b00); }
.br-spin { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--as-line, #e3e3e0); border-top-color: var(--as-accent, #2a5bd7); animation: br-spin .8s linear infinite; }
@keyframes br-spin { to { transform: rotate(360deg); } }
.br-thinking { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--as-muted, #6b6d72); }
/* what it is doing right now: a soft light passes over the words; new messages and results ease in */
@media (prefers-reduced-motion: no-preference) {
  .br-shimmer {
    color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 250% 100%;
    background-image: linear-gradient(90deg, var(--as-muted, #6b6d72) 0 38%, var(--as-ink, #16171a) 50%, var(--as-muted, #6b6d72) 62% 100%);
    animation: br-shimmer 1.8s linear infinite;
  }
  .br-msg.is-live, .br-in { animation: br-rise .28s cubic-bezier(.2, .7, .3, 1) both; }
}
@keyframes br-shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

.br-notice { font-size: 12.5px; padding: 7px 10px; border-radius: 8px; background: var(--as-surface-2, #f3f3f1);
  color: var(--as-ink-2, #3d3f44); border: 1px solid var(--as-line, #e3e3e0); }
.br-notice.is-error { border-color: var(--as-danger, #c0362c); color: var(--as-danger-ink, var(--as-danger, #c0362c)); }

/* ------------------------------------------------------------------------------------------------------- cards */
.br-card { border: 1px solid var(--as-line, #e3e3e0); border-radius: 12px; background: var(--as-surface, #fff); overflow: hidden; }
.br-card-head { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px 6px; }
.br-card-title { flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px; }
.br-card-sub { font-weight: 400; font-size: 12px; color: var(--as-muted, #6b6d72); display: block; margin-top: 1px; }
.br-card-body { padding: 0 12px 10px; }
.br-card-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px;
  border-top: 1px solid var(--as-line-soft, var(--as-line, #e3e3e0)); font-size: 11.5px; color: var(--as-muted, #6b6d72); }
.br-card-foot .br-grow { flex: 1 1 180px; }     /* the source line; the buttons wrap below when it would be squeezed */
.br-card-note { font-size: 12px; color: var(--as-ink-2, #3d3f44); padding: 0 12px 8px; }
.br-mini { font: inherit; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--as-line, #e3e3e0); background: var(--as-surface, #fff); color: var(--as-ink-2, #3d3f44);
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.br-mini:hover { border-color: var(--as-accent, #2a5bd7); color: var(--as-ink, #16171a); }

.br-btn { font: inherit; font-size: 13px; font-weight: 550; padding: 7px 13px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--as-line-strong, var(--as-line, #d5d5d0)); background: var(--as-surface, #fff); color: var(--as-ink, #16171a);
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.br-btn:hover { background: var(--as-surface-2, #f3f3f1); }
.br-btn.is-primary { background: var(--as-accent, #2a5bd7); border-color: var(--as-accent, #2a5bd7); color: var(--as-accent-ink, #fff); }
.br-btn.is-primary:hover { filter: brightness(1.06); }
.br-btn[disabled] { opacity: .55; cursor: default; filter: none; }
.br-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* tables */
.br-table-wrap { overflow-x: auto; max-width: 100%; }
.br-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.br-table th { text-align: left; font-weight: 600; color: var(--as-muted, #6b6d72); font-size: 11.5px; white-space: nowrap;
  padding: 6px 8px; border-bottom: 1px solid var(--as-line, #e3e3e0); }
.br-table th button { all: unset; cursor: pointer; display: inline-flex; gap: 3px; align-items: center; }
.br-table th button:focus-visible { outline: 2px solid var(--as-accent, #2a5bd7); outline-offset: 1px; border-radius: 3px; }
.br-table td { padding: 6px 8px; border-bottom: 1px solid var(--as-line-soft, var(--as-line, #eeeeea)); vertical-align: top; }
.br-table tr:last-child td { border-bottom: 0; }
.br-table .is-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.br-table .is-date { white-space: nowrap; }      /* dates and short values (IDs, codes) never break */
.br-table tbody tr.is-link { cursor: pointer; }
.br-table tbody tr.is-link:hover td { background: var(--as-surface-2, #f3f3f1); }
.br-badge { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: 11.5px; white-space: nowrap;
  background: var(--as-surface-2, #f3f3f1); border: 1px solid var(--as-line, #e3e3e0); color: var(--as-ink-2, #3d3f44); }
.br-more { padding: 6px 12px 0; }

/* facts */
.br-facts { display: grid; grid-template-columns: minmax(90px, auto) 1fr; gap: 5px 12px; margin: 0; font-size: 13px; }
.br-facts dt { color: var(--as-muted, #6b6d72); }
.br-facts dd { margin: 0; overflow-wrap: anywhere; }

/* proposals */
.br-proposal { border-color: var(--as-accent, #2a5bd7); }
.br-change { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 2px 0 8px; }
.br-change td { padding: 5px 4px; border-bottom: 1px solid var(--as-line-soft, var(--as-line, #eeeeea)); vertical-align: top; }
.br-change .br-before { color: var(--as-muted, #6b6d72); text-decoration: line-through; text-decoration-color: var(--as-line-strong, #bbb); }
.br-change .br-arrow { color: var(--as-muted, #6b6d72); width: 16px; text-align: center; }
.br-change .br-after { font-weight: 600; }
.br-change .br-result { width: 18px; }
.br-change .br-result svg { display: block; }
.br-change .is-ok { color: var(--as-ok, #1f8a4c); }
.br-change .is-bad { color: var(--as-danger, #c0362c); }
.br-field-label { display: block; font-size: 12px; font-weight: 600; margin: 4px 0 4px; color: var(--as-ink-2, #3d3f44); }
.br-textarea { width: 100%; font: inherit; font-size: 13px; padding: 7px 9px; border-radius: 8px; resize: vertical; min-height: 54px;
  border: 1px solid var(--as-line-strong, var(--as-line, #d5d5d0)); background: var(--as-input, var(--as-surface, #fff)); color: var(--as-ink, #16171a); }
.br-status { font-size: 12.5px; margin-top: 8px; color: var(--as-ink-2, #3d3f44); }
.br-status.is-ok { color: var(--as-ok-ink, var(--as-ok, #1f8a4c)); }
.br-status.is-bad { color: var(--as-danger-ink, var(--as-danger, #c0362c)); }
.br-fill-list { margin: 0 0 8px; padding: 0; list-style: none; font-size: 12.5px; }
.br-fill-list li { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--as-line-soft, var(--as-line, #eeeeea)); }
.br-fill-list li span:first-child { color: var(--as-muted, #6b6d72); min-width: 40%; }
.br-skipped { font-size: 12px; color: var(--as-muted, #6b6d72); margin: 0 0 8px; }

/* tour card */
.br-tour-steps { margin: 0 0 8px; padding-left: 20px; font-size: 12.5px; }
.br-tour-steps li { margin: 2px 0; }

/* charts */
.br-chart { position: relative; padding: 2px 4px 0; }
.br-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.br-chart .br-grid { stroke: var(--as-chart-grid, var(--as-line, #e7e6e1)); stroke-width: 1; shape-rendering: crispEdges; }
.br-chart .br-axis { stroke: var(--as-chart-axis, var(--as-line-strong, #c9c8c1)); stroke-width: 1; shape-rendering: crispEdges; }
.br-chart text { fill: var(--as-muted, #6b6d72); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.br-chart text.br-value { fill: var(--as-ink-2, #3d3f44); font-weight: 600; }
.br-chart text.br-center { fill: var(--as-ink, #16171a); font-size: 15px; font-weight: 650; font-variant-numeric: normal; }
.br-chart text.br-center-sub { font-size: 10.5px; }
.br-chart .br-mark { transition: opacity .12s, filter .12s; }
.br-chart .br-mark.is-dim { opacity: .45; }
.br-chart .br-mark.is-hot { filter: brightness(1.12) saturate(1.05); }
.br-chart .br-hit { fill: transparent; cursor: default; }
.br-chart .br-cross { stroke: var(--as-chart-axis, var(--as-line-strong, #c9c8c1)); stroke-width: 1; }
.br-chart svg:focus-visible { outline: 2px solid var(--as-accent, #2a5bd7); outline-offset: 2px; border-radius: 6px; }
.br-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 4px 8px 6px; font-size: 11.5px; color: var(--as-ink-2, #3d3f44); margin: 0; list-style: none; }
.br-legend li { display: inline-flex; align-items: center; gap: 6px; }
.br-key { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.br-key.is-line { height: 3px; width: 14px; border-radius: 2px; }
.br-legend .br-legend-value { color: var(--as-muted, #6b6d72); }
.br-tip {
  position: absolute; z-index: 5; pointer-events: none; min-width: 90px; max-width: 220px; padding: 6px 9px; border-radius: 8px;
  background: var(--as-surface, #fff); border: 1px solid var(--as-line, #e3e3e0); box-shadow: 0 6px 18px var(--as-shadow-color, rgba(0, 0, 0, .14));
  font-size: 12px; opacity: 0; transition: opacity .08s;
}
.br-tip.is-on { opacity: 1; }
.br-tip-head { color: var(--as-muted, #6b6d72); font-size: 11px; margin-bottom: 3px; }
.br-tip-row { display: flex; align-items: center; gap: 6px; }
.br-tip-row strong { font-variant-numeric: tabular-nums; color: var(--as-ink, #16171a); }
.br-tip-row span { color: var(--as-muted, #6b6d72); }

/* history */
.br-history-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
.br-history-head h2 { font-size: 15px; margin: 0; }
.br-history-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.br-history-item { display: flex; align-items: center; gap: 6px; border-radius: 10px; border: 1px solid var(--as-line, #e3e3e0); }
.br-history-item button.br-open { all: unset; flex: 1; min-width: 0; cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.br-history-item button.br-open:focus-visible { outline: 2px solid var(--as-accent, #2a5bd7); }
.br-history-item:hover { background: var(--as-surface-2, #f3f3f1); }
.br-history-item .br-h-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.br-history-item .br-h-when { display: block; font-size: 11.5px; color: var(--as-muted, #6b6d72); }
.br-history-item.is-current { border-color: var(--as-accent, #2a5bd7); }
.br-muted { color: var(--as-muted, #6b6d72); font-size: 12.5px; }

/* --------------------------------------------------------------------------------------------------- the input */
.br-assist-input { flex-shrink: 0; padding: 8px 12px 6px; border-top: 1px solid var(--as-line, #e3e3e0); }
.br-input-row { display: flex; align-items: flex-end; gap: 6px; padding: 6px 6px 6px 10px; border-radius: 12px;
  border: 1px solid var(--as-line-strong, var(--as-line, #d5d5d0)); background: var(--as-input, var(--as-surface, #fff)); }
.br-input-row:focus-within { border-color: var(--as-accent, #2a5bd7);
  box-shadow: 0 0 0 3px var(--as-focus-ring, color-mix(in srgb, var(--as-accent, #2a5bd7) 16%, transparent)); }
.br-input-row textarea { flex: 1; border: 0; outline: 0; resize: none; background: transparent; font: inherit; font-size: 14px;
  color: var(--as-ink, #16171a); max-height: 140px; min-height: 22px; padding: 4px 0; line-height: 1.4; }
.br-input-row textarea::placeholder { color: var(--as-muted, #6b6d72); }
.br-assist .br-input-row textarea, .br-assist .br-input-row textarea:focus, .br-assist .br-input-row textarea:focus-visible {
  outline: none; border: 0; box-shadow: none; background: transparent; border-radius: 0; }   /* the row shows the focus */
.br-send { width: 32px; height: 32px; border-radius: 8px; border: 0; cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
  background: var(--as-accent, #2a5bd7); color: var(--as-accent-ink, #fff); padding: 0; }
.br-send[disabled] { opacity: .45; cursor: default; }
.br-send.is-stop { background: var(--as-ink, #16171a); color: var(--as-surface, #fff); }
.br-assist-foot { padding: 4px 2px 0; font-size: 11px; color: var(--as-muted, #6b6d72); display: flex; justify-content: space-between; gap: 8px; }

/* ------------------------------------------------------------------------------------- spotlight, tours, toast */
.br-spot { position: fixed; z-index: 1010; pointer-events: none; border-radius: 10px;
  box-shadow: 0 0 0 3px var(--as-accent, #2a5bd7), 0 0 0 100vmax var(--as-dim, rgba(8, 10, 14, .42));
  transition: top .18s ease, left .18s ease, width .18s ease, height .18s ease; }
.br-spot::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; border: 3px solid var(--as-accent, #2a5bd7);
  animation: br-pulse 1.6s ease-out infinite; }
@keyframes br-pulse { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.08); } }
.br-spot-callout {
  position: fixed; z-index: 1011; width: min(320px, calc(100vw - 24px)); padding: 12px 14px 10px; border-radius: 12px;
  background: var(--as-surface, #fff); border: 1px solid var(--as-line, #e3e3e0);
  box-shadow: 0 14px 38px var(--as-shadow-color, rgba(0, 0, 0, .22)); font-size: 13.5px; line-height: 1.45;
  animation: br-rise .18s ease-out;
}
@keyframes br-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.br-spot-callout .br-spot-title { font-weight: 650; margin: 0 0 3px; }
.br-spot-callout .br-spot-text { margin: 0 0 10px; color: var(--as-ink-2, #3d3f44); }
.br-spot-callout .br-actions { justify-content: flex-end; }
.br-spot-callout .br-count { margin-right: auto; font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-assist-toast { position: fixed; z-index: 1020; left: 50%; bottom: 24px; transform: translateX(-50%);
  max-width: min(440px, calc(100vw - 32px)); padding: 9px 14px; border-radius: 10px; font-size: 13px;
  background: var(--as-ink, #16171a); color: var(--as-surface, #fff); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* ------------------------------------------------------------------------- which AI answers (administrators) */
.br-ai-choices { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.br-ai-choice { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--as-line, #e3e3e0); background: var(--as-surface, #fff); }
.br-ai-choice.is-on { border-color: var(--as-accent, #2a5bd7); box-shadow: 0 0 0 1px var(--as-accent, #2a5bd7); }
.br-ai-choice input { margin-top: 3px; accent-color: var(--as-accent, #2a5bd7); }
.br-ai-choice > span { display: flex; flex-direction: column; gap: 1px; }
.br-ai-choice strong { font-size: 13.5px; font-weight: 650; }
.br-ai-choice span span { font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-ai-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.br-ai-field { display: flex; flex-direction: column; gap: 2px; }
.br-ai-input { min-height: 0; resize: none; }
.br-ai-hint { font-size: 11.5px; color: var(--as-muted, #6b6d72); }
.br-ai-remove { align-self: flex-start; margin-top: 4px; }
.br-ai-fields > .br-mini { align-self: flex-start; }
.br-ai-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; }
.br-ai-check input { margin-top: 2px; accent-color: var(--as-accent, #2a5bd7); }


/* ------------------------------------------------------------------------- "Open in <another app>" (suite.py) */
/* choices (offer_choices): a question and a few answers as buttons */
.br-choices { margin: 6px 0; }
.br-choices-q { margin: 0 0 6px; font-weight: 600; }
.br-choice-list { display: flex; flex-wrap: wrap; gap: 6px; }
.br-choice { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--as-line);
  background: var(--as-surface); color: var(--as-ink); cursor: pointer; text-align: left; }
.br-choice:hover:not(:disabled) { border-color: var(--as-accent); color: var(--as-accent); }
.br-choice:focus-visible { outline: 2px solid var(--as-accent); outline-offset: 1px; }
.br-choice:disabled { cursor: default; opacity: .6; }
.br-choice.is-picked { opacity: 1; border-color: var(--as-accent); background: var(--as-accent-soft, var(--as-surface)); }
.br-handoff { display: flex; align-items: center; gap: 12px; padding: 12px; }
.br-handoff-app {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center;
  color: var(--as-accent, #2a5bd7); background: var(--as-surface-2, #f3f3f1); border: 1px solid var(--as-line, #e3e3e0);
}
.br-handoff-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.br-handoff-text strong { font-size: 13.5px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-handoff-text span { font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-handoff .br-btn, .br-handoff-actions .br-btn { display: inline-flex; align-items: center; gap: 6px; }
.br-handoff-actions { display: flex; align-items: center; gap: 8px; }
.br-handoff-actions .br-grow { flex: 1 1 auto; font-size: 12px; color: var(--as-muted, #6b6d72); }
.br-handoff-actions .br-icon-btn { border-color: var(--as-line, #e3e3e0); }
.br-handoff-text strong { white-space: normal; }
.br-handoff.is-back { padding: 8px 10px; }
.br-handoff.is-back .br-handoff-app { width: 30px; height: 30px; border-radius: 9px; }
.br-handoff.is-back .br-handoff-app[data-app] { border-radius: 0; }

/* The hand-over veil: the page being left fades under it, the page arriving starts under it (assistant-early.js
   puts it on <html> before the first frame) and it lifts once the record is open: one movement across two apps. */
html.br-veiled::before, html.br-leaving::before {
  content: ""; position: fixed; inset: 0; z-index: 2147482000; pointer-events: none;
  background: var(--br-veil-bg, var(--as-surface, #fff));
  background: color-mix(in srgb, var(--br-veil-bg, var(--as-surface, #fff)) 76%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15);
}
html.br-veiled::after, html.br-leaving::after {
  content: attr(data-br-veil); position: fixed; z-index: 2147482001; left: 50%; top: 44%;
  transform: translate(-50%, -50%); box-sizing: border-box;
  min-width: 240px; max-width: min(88vw, 440px); padding: 18px 26px 21px; border-radius: 16px; text-align: center;
  font: 600 15px/1.4 var(--as-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  color: var(--br-veil-ink, var(--as-ink, #16171a)); border: 1px solid var(--br-veil-line, var(--as-line, #e3e3e0));
  background: linear-gradient(90deg, transparent, var(--br-veil-accent, var(--as-accent, #2a5bd7)), transparent) no-repeat -60% 100% / 45% 3px,
              var(--br-veil-bg, var(--as-surface, #fff));
  box-shadow: 0 22px 60px var(--as-shadow-color, rgba(0, 0, 0, .22));
  animation: br-veil-bar 1.15s ease-in-out var(--br-veil-phase, 0s) infinite;
}
html.br-leaving::before { animation: br-veil-in .26s ease-out both; }
html.br-leaving::after { animation: br-veil-pop .3s cubic-bezier(.2, .9, .3, 1.15) both, br-veil-bar 1.15s ease-in-out .3s infinite; }
/* Lifting onto the arrived page: the frost thins and clears (blur and tint together), the card sinks away a moment
   before it: the page comes into focus rather than being uncovered. */
html.br-veiled.br-settling::before { animation: br-veil-clear .5s cubic-bezier(.4, 0, .2, 1) .06s both; }
html.br-veiled.br-settling::after { animation: br-veil-drop .28s cubic-bezier(.4, 0, 1, 1) both; }
@keyframes br-veil-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes br-veil-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes br-veil-clear {
  from { opacity: 1; -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); }
  to { opacity: 0; -webkit-backdrop-filter: blur(0) saturate(1); backdrop-filter: blur(0) saturate(1); } }
@keyframes br-veil-pop { from { opacity: 0; transform: translate(-50%, -42%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes br-veil-drop { from { opacity: 1; transform: translate(-50%, -50%); } to { opacity: 0; transform: translate(-50%, -56%) scale(.97); } }
@keyframes br-veil-bar { from { background-position: -60% 100%, 0 0; } to { background-position: 160% 100%, 0 0; } }

/* ------------------------------------------------------------------------------------- the app switcher
   The grid next to the account (data-app-switcher, assistant.js "the app switcher") and the switch card that carries
   one app into the next (assistant-early.js builds it on both sides).
   Each app's icon (20 Nov, owner: "too AI feeling ... too bright ... square, no rounded corners, a bit darker, sleek,
   elegant ... the colors still pop"): a square tile in a gradient from the app's tile colour to its deep colour, the
   line work in a light tint of its glow colour (>= 6:1 on the tile), the glyph's filled parts in the glow colour (the
   pop). The same in light and dark (an app's icon doesn't change with the theme). --br-app-<key> = the app's own
   accent (the switch card's wash, "You're here"). The Account app's console repeats these values (console.css: the
   sign-in page doesn't load this file); scripts/tests/test_app_icons.py keeps the two the same.
   Project management is rose, not its own indigo: that is too close to the LIMS's blue in the grid. */
:root {
  /* --br-app-<key> (each app's own colour) and every [data-app] tile colour: bioradius_assistant/appicons.py, appended
     to this stylesheet when it is served (the one place for the apps' icons, owner 20 Nov) */
  --br-app-shade: rgba(0, 0, 0, .10);
  --br-out-bg: #000000; --br-out-strand: #ffffff; --br-out-rung: #ffffff; --br-out-accent: #ffffff;   /* sign-out: all white (owner, 21 Nov) */
  --br-out-label-bg: #3a3a40; --br-out-label-ink: #ffffff;                                               /* "Logging out" */
  --br-app-ring: #ffffff;               /* the hovered app's border in the grid (owner, 20 Nov: "thick white") */
}
/* The tile, wherever an app's icon is drawn: the switcher grid, the switch card, an "Open in <app>" card. */
.br-app-icon, .br-switch-icon, .br-handoff-app[data-app] {
  border-radius: 0; color: var(--br-app-ink); border: 0;
  background: linear-gradient(155deg, var(--br-app-tile) 0%, var(--br-app-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 8px 18px -10px rgba(0, 0, 0, .55);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--br-app-glow) 22%, transparent), 0 8px 18px -10px rgba(0, 0, 0, .55);
}
.br-app-icon .br-glyph-fill, .br-switch-icon .br-glyph-fill, .br-handoff-app .br-glyph-fill {
  fill: var(--br-app-glow, currentColor); fill-opacity: .75; stroke: none; }

[data-app-switcher][hidden] { display: none !important; }
[data-app-switcher] svg.br-apps-icon { display: block; width: 18px; height: 18px; min-width: 18px; flex: none; }
[data-app-switcher][aria-expanded="true"] { color: var(--as-accent, #2a5bd7); }
.br-apps-icon circle { transform-box: fill-box; transform-origin: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .br-apps-icon circle { transition: transform .42s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i, 0) * 34ms); }
  [data-app-switcher]:hover .br-apps-icon circle { transform: scale(1.24); }      /* a wave from the top left */
}

/* The grid looks the same in every app (owner, 20 Nov: "a little different for different apps ... make them
   consistent"): its own colours and the suite's font (/ui/tokens.css, loaded by every app), not the app's. Borders:
   near-black in light mode, white in dark (owner, 20 Nov). */
.br-apps {
  --br-g-surface: #ffffff; --br-g-hover: #f1efea; --br-g-line: #e6e3dc; --br-g-ink: #17181b; --br-g-muted: #5e6068;
  --br-g-warn: #a15c00; --br-g-off: #d3cfc6; --br-g-knob: #ffffff; --br-g-focus: #2b4fc7; --br-g-shadow: rgba(0, 0, 0, .26);
  --br-app-ring: var(--br-g-ink);
}
:root[data-theme="dark"] .br-apps {
  --br-g-surface: #1a1b1f; --br-g-hover: #25262b; --br-g-line: #2e3036; --br-g-ink: #ececee; --br-g-muted: #9a9ca3;
  --br-g-warn: #f5c451; --br-g-off: #45474e; --br-g-knob: #ececee; --br-g-focus: #9cb0ee; --br-g-shadow: rgba(0, 0, 0, .6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .br-apps {
    --br-g-surface: #1a1b1f; --br-g-hover: #25262b; --br-g-line: #2e3036; --br-g-ink: #ececee; --br-g-muted: #9a9ca3;
    --br-g-warn: #f5c451; --br-g-off: #45474e; --br-g-knob: #ececee; --br-g-focus: #9cb0ee; --br-g-shadow: rgba(0, 0, 0, .6);
  }
}
.br-apps {
  position: fixed; z-index: 2147481500; left: 8px; top: 56px; width: 340px; max-width: calc(100vw - 16px);
  box-sizing: border-box; padding: 14px 10px 10px; border-radius: 22px; line-height: normal; letter-spacing: normal;
  font: 400 14px/1.3 var(--ui-font, "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  text-transform: none; text-align: left;
  color: var(--br-g-ink); background: var(--br-g-surface); border: 1px solid var(--br-g-line);
  box-shadow: 0 1px 2px var(--br-app-shade), 0 24px 56px -12px var(--br-g-shadow);
  opacity: 0; transform: translateY(-8px) scale(.94); transform-origin: var(--br-apps-origin, 90% 0);
  transition: opacity .2s ease-out, transform .38s cubic-bezier(.16, 1, .3, 1);
}
.br-apps * { box-sizing: border-box; }
.br-apps.is-open { opacity: 1; transform: none; }
.br-apps.is-closing { opacity: 0; transform: translateY(-4px) scale(.97); pointer-events: none;
  transition: opacity .14s ease-in, transform .16s ease-in; }
.br-apps-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 10px;
  min-height: 30px; }
.br-apps-title { font-size: 14px; font-weight: 650; letter-spacing: -.005em; }
.br-apps-sub { font-size: 12px; color: var(--br-g-muted); }
/* In a test copy: the sign-in page's Test mode switch in its place (owner, 20 Nov); off = the real apps */
.br-apps-test { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px;
  font-weight: 600; color: var(--br-g-ink); cursor: pointer; user-select: none; }
.br-apps-test input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); }
.br-apps-switch { position: relative; width: 36px; height: 20px; flex: none; border-radius: 999px; background: var(--br-g-off);
  transition: background-color .15s; }
.br-apps-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--br-g-knob); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.br-apps-test input:checked + .br-apps-switch { background: var(--br-g-warn); }
.br-apps-test input:checked + .br-apps-switch::after { transform: translateX(16px); }
.br-apps-test input:focus-visible + .br-apps-switch { box-shadow: 0 0 0 3px color-mix(in srgb, var(--br-g-focus) 45%, transparent); }
.br-apps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.br-apps-empty { padding: 18px 10px; font-size: 13px; color: var(--br-g-muted); text-align: center; }
.br-app {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0;
  margin: 0; padding: 12px 4px 10px; border: 2px solid transparent; border-radius: 16px; background: transparent;
  color: inherit; font: inherit; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  width: auto; height: auto; min-height: 0; box-shadow: none; text-transform: none; letter-spacing: normal;   /* no app's button rules */
  transition: background-color .2s ease, border-color .28s ease;
}
/* hovering another app (owner, 20 Nov): a white border around its whole tile, its icon ringed in its own colour */
button.br-app:hover, button.br-app:focus-visible { background: var(--br-g-hover); border-color: var(--br-app-ring); }
button.br-app:focus-visible { outline: 2px solid var(--br-g-focus); outline-offset: -2px; }
.br-app.is-current { cursor: default; }
/* An app they can't open from here (no access, or no test copy in Test mode): faded, as on the sign-in page */
.br-app.is-off { cursor: default; opacity: .42; filter: grayscale(.6); transition: opacity .2s ease, filter .2s ease; }
.br-app-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease;
}
/* The app under the mouse (owner, 20 Nov: full colour, "the border ... thick white, smoothly fading in and out"):
   the ring is always there, transparent, so it fades both ways */
button.br-app .br-app-icon { box-shadow: inset 0 0 0 3px transparent,
  inset 0 0 0 1px color-mix(in srgb, var(--br-app-glow) 22%, transparent), 0 8px 18px -10px rgba(0, 0, 0, .55); }
button.br-app:hover .br-app-icon, button.br-app:focus-visible .br-app-icon { transform: translateY(-2px);
  box-shadow: inset 0 0 0 3px var(--br-app-glow),
  inset 0 0 0 1px color-mix(in srgb, var(--br-app-glow) 22%, transparent), 0 12px 22px -12px var(--br-app-glow); }
button.br-app:active .br-app-icon { transform: scale(.95); transition-duration: .12s; }
/* the app you are in: its icon in the thick white border (owner, 20 Nov) */
.br-app.is-current .br-app-icon { box-shadow: 0 0 0 3px var(--br-app-ring), 0 8px 18px -10px rgba(0, 0, 0, .55); }   /* outside the tile: shows on a dark tile in light mode too */
.br-app-name { max-width: 100%; font-size: 13px; font-weight: 600; line-height: 1.25; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }   /* "Project management": two lines, never cut */
.br-app-about { max-width: 100%; min-height: 2.6em; font-size: 11px; line-height: 1.3; color: var(--br-g-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.br-app.is-current .br-app-about { color: var(--br-app-color); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .br-apps.is-open:not(.is-settled) .br-app { animation: br-app-in .46s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(var(--i, 0) * 30ms + 50ms); }
}
@keyframes br-app-in { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* The switch card: a wash of the next app's colour over the page being left (its colours carried in the address),
   the app's icon and name in the middle. Leaving: the wash spreads from the tile, the icon flies to the middle;
   arriving: the same card is there from the first frame, then the icon swells away and the wash clears. */
/* While a transition is up (switch, sign-in, sign-out) the page under it can't scroll and shows no scrollbar (owner,
   20 Nov: "disable scroll when we are transitioning between apps"); a phone's address bar then stays put too. */
html.br-switching, html.br-switching body { overflow: hidden !important; overscroll-behavior: none; }
.br-switch {
  position: fixed; inset: 0; z-index: 2147482100; pointer-events: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.br-switch-bg {
  position: absolute; inset: 0; background: var(--br-sw-bg, var(--as-surface, #fff));
  background: color-mix(in srgb, var(--br-app-color) 9%, var(--br-sw-bg, var(--as-surface, #fff)));
}
.br-switch-mark {
  /* --br-sw-zoom: arriving from an app at another browser zoom, the icon starts at its old size (assistant-early.js) */
  position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%) scale(var(--br-sw-zoom, 1));
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column; align-items: center; gap: 18px; width: max-content; max-width: 90vw;
}
.br-switch.is-line {
  /* The helix's place below the centre while the app loads (the same sums as helixFor / dna.js lower): the icon and
     name wait as far above it (owner, 20 Nov: "nice symmetry"); when the app has loaded the helix rises into the line
     and the icon comes down to meet it (liftSwitch), dead centre. */
  --br-sw-amp: max(16px, min(16vh, 120px));
  --br-sw-up: max(0px, min(28vh, 50vh - 16px - var(--br-sw-amp)));
  --br-sw-amp: max(16px, min(16dvh, 120px));          /* the visible height (a phone's address bar comes and goes), */
  --br-sw-up: max(0px, min(28dvh, 50dvh - 16px - var(--br-sw-amp)));   /* as the helix measures it (innerHeight) */
}
/* From the sign-in page on a phone (owner, 21 Nov): its two thin strands are above and below, so the icon stays in the
   middle and they close in on it (signin-go.js / assistant-early.js add .is-thin); app to app keeps the wide helix. */
.br-switch.is-line.is-thin { --br-sw-up: 0px; }
.br-switch.is-line .br-switch-mark {
  top: calc(50% - 38px - var(--br-sw-up)); transform: translate(-50%, 0) scale(var(--br-sw-zoom, 1)); transform-origin: 50% 38px;
}
/* Signing out (owner, 21 Nov): black, a white line opening into the helix, "Logging out" on a grey label in the middle.
   The same label on the sign-in page's first frame (signin-early.js), faded away with the black there. */
.br-out { position: fixed; inset: 0; z-index: 2147482200; pointer-events: auto; background: var(--br-out-bg); }
.br-out-label {
  position: fixed; left: 50%; top: 50%; z-index: 2147482300; pointer-events: none;
  transform: translate(-50%, -50%) scale(var(--br-out-zoom, 1));    /* the leaving app's zoom, eased away (signin-early.js) */
  padding: 9px 18px; border-radius: 6px; background: var(--br-out-label-bg); color: var(--br-out-label-ink);
  font: 600 15px/1.2 var(--ui-font, "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif);
  letter-spacing: .01em; white-space: nowrap;
  transition: opacity .6s cubic-bezier(.22, .61, .36, 1), transform 1s cubic-bezier(.33, 1, .68, 1);   /* = dna.js gentle() */
}
html.br-out-fade .br-out-label { opacity: 0; }
/* The line the sign-in's helix becomes (owner, 20 Nov): through the icon's centre, the app's colour toward the page's ink;
   when the app has loaded it is cut at the centre and both halves draw back to the edges (assistant.js liftSwitch). */
.br-switch-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; display: flex; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.br-switch-helix { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.br-switch-line > span { flex: 1 1 50%; background: color-mix(in srgb, var(--br-app-color) 70%, var(--br-sw-ink, var(--as-ink, #16171a))); }
.br-switch-line > .br-line-l { transform-origin: 0 50%; }
.br-switch-line > .br-line-r { transform-origin: 100% 50%; }
.br-switch-icon {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--br-app-glow) 26%, transparent),
    0 22px 44px -20px var(--br-app-glow), 0 2px 6px var(--br-app-shade);
  will-change: transform;
}
.br-switch-name { font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
  color: var(--br-sw-ink, var(--as-ink, #16171a)); }
.br-switch.is-waiting .br-switch-icon::after {
  content: ""; position: absolute; inset: -7px; border-radius: 0; border: 2px solid var(--br-app-glow); opacity: 0;
  animation: br-sw-ring 1.4s cubic-bezier(.2, .6, .3, 1) infinite;
}
@keyframes br-sw-ring { from { opacity: .5; transform: scale(.96); } to { opacity: 0; transform: scale(1.34); } }
.br-switch.is-lifting { pointer-events: none; }
.br-switch.is-lifting .br-switch-bg { -webkit-backdrop-filter: blur(10px) saturate(1.1); backdrop-filter: blur(10px) saturate(1.1); }

/* Pages of one app: a soft cross-fade when the assistant moves the page (Take me there, tours); the panel stays put.
   assistant-early.js skips it for every other navigation. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.br-assist.is-open { view-transition-name: br-assist; }
::view-transition-old(root) { animation: br-vt-out .16s ease-in both; }
::view-transition-new(root) { animation: br-vt-in .24s ease-out both; }
@keyframes br-vt-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes br-vt-in { from { opacity: 0; transform: translateY(6px); } }

.br-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .br-assist, .br-assist.is-open, html.br-assist-docked body, .br-spot, .br-spot-callout { transition: none; animation: none; }
  .br-spot::after, .br-spin, .br-cursor::after { animation: none; }
  .br-sparks { display: none; }
  html.br-veiled::before, html.br-veiled::after, html.br-leaving::before, html.br-leaving::after { animation: none; }
  .br-apps, .br-app, .br-app-icon, .br-apps-icon circle { transition: none; animation: none; }
  .br-switch.is-waiting .br-switch-icon::after { animation: none; display: none; }
}
@media (forced-colors: active) {
  .br-spot { box-shadow: none; outline: 3px solid Highlight; }
  .br-app-icon, .br-switch-icon { forced-color-adjust: none; }
  .br-apps { border: 1px solid CanvasText; }
  .br-key { forced-color-adjust: none; }
}
@media print {
  .br-assist, .br-spot, .br-spot-callout, .br-assist-toast, .br-sparks, .br-apps, .br-switch { display: none !important; }
  html.br-veiled::before, html.br-veiled::after, html.br-leaving::before, html.br-leaving::after { display: none; }
}

/* ---------------------------------------------------------------------------------------- the inbox (the bell) */
[data-inbox] { position: relative; }
[data-inbox][hidden] { display: none !important; }
[data-inbox] svg { width: 18px; height: 18px; flex: none; }
.br-inbox-count { position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; font: 700 10.5px/17px var(--as-font, system-ui, sans-serif); text-align: center;
  color: var(--as-accent-ink, #fff); background: var(--as-accent, #2a5bd7); box-shadow: 0 0 0 2px var(--as-surface, #fff); }
.br-inbox-count[hidden] { display: none; }
.br-inbox { width: 380px; }
.br-inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 8px; }
.br-inbox-list { max-height: min(420px, 70vh); overflow-y: auto; }
.br-inbox-group + .br-inbox-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--as-line, #e3e3e0); }
.br-inbox-app { padding: 4px 10px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--as-muted, #6b6d72); }
.br-inbox-item { display: flex; gap: 10px; align-items: flex-start; width: 100%; padding: 8px 10px; border: 0;
  border-radius: 12px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.br-inbox-item:hover, .br-inbox-item:focus-visible { background: var(--as-surface-2, #f3f3f1); }
.br-inbox-item:focus-visible { outline: 2px solid var(--as-accent, #2a5bd7); outline-offset: -2px; }
.br-inbox-dot { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; flex: none; background: transparent; }
.br-inbox-item.is-new .br-inbox-dot { background: var(--as-accent, #2a5bd7); }
.br-inbox-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.br-inbox-title { font-size: 13.5px; line-height: 1.35; overflow-wrap: anywhere; }
.br-inbox-item.is-new .br-inbox-title { font-weight: 600; }
.br-inbox-when { font-size: 11.5px; color: var(--as-muted, #6b6d72); }

/* ------------------------------------------------------------------------- Ctrl+K: jump anywhere (docs/TODO.md E1) */
.br-pal-back { position: fixed; inset: 0; z-index: 2147482000; display: flex; justify-content: center;
  align-items: flex-start; padding: 12vh 16px 16px; background: var(--as-scrim, rgba(10, 12, 16, .32));
  opacity: 0; transition: opacity .14s ease-out;
  font-family: var(--as-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); }
.br-pal-back.is-open { opacity: 1; }
.br-pal { width: 620px; max-width: 100%; max-height: 70vh; display: flex; flex-direction: column; overflow: hidden;
  color: var(--as-ink, #16171a); background: var(--as-surface, #fff); border: 1px solid var(--as-line, #e3e3e0);
  border-radius: 16px; box-shadow: 0 24px 56px -12px var(--as-shadow-color, rgba(0, 0, 0, .3));
  transform: translateY(-6px) scale(.98); transition: transform .22s cubic-bezier(.16, 1, .3, 1); }
.br-pal * { box-sizing: border-box; }
.br-pal-back.is-open .br-pal { transform: none; }
.br-pal-field { display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-bottom: 1px solid var(--as-line, #e3e3e0); }
.br-pal-input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: inherit;
  font: inherit; font-size: 16px; padding: 4px 0; }
.br-pal-input::placeholder { color: var(--as-muted, #6b6d72); }
.br-pal-esc { font: inherit; font-size: 11px; padding: 2px 6px; border-radius: 6px; color: var(--as-muted, #6b6d72);
  border: 1px solid var(--as-line, #e3e3e0); }
.br-pal-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; columns: auto; }   /* whatever a page does to lists */
.br-pal-item { display: flex; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 10px; cursor: pointer; }
.br-pal-item[aria-selected="true"] { background: var(--as-surface-2, #f1f2f4); box-shadow: inset 3px 0 0 var(--as-accent, #2a5bd7); }
.br-pal-kind { flex: none; width: 88px; font-size: 11.5px; color: var(--as-muted, #6b6d72); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.br-pal-main { display: flex; flex-direction: column; min-width: 0; }
.br-pal-label { font-size: 14px; overflow-wrap: anywhere; }
.br-pal-sub { font-size: 12px; color: var(--as-muted, #6b6d72); overflow-wrap: anywhere; }
.br-pal-empty { padding: 14px 10px; color: var(--as-muted, #6b6d72); font-size: 13.5px; }
.br-pal-foot { padding: 8px 14px; font-size: 11.5px; color: var(--as-muted, #6b6d72);
  border-top: 1px solid var(--as-line, #e3e3e0); }
/* the box's own field: one clean line, whatever the app styles its inputs with (owner, 15 Nov: "broken on mobile") */
.br-pal .br-pal-field > svg { flex: none; color: var(--as-muted, #6b6d72); }
.br-pal .br-pal-input, .br-pal .br-pal-input:focus, .br-pal .br-pal-input:hover {
  margin: 0; padding: 4px 0; width: auto; min-height: 0; height: auto; border: 0; border-radius: 0; box-shadow: none;
  outline: 0; background: transparent; -webkit-appearance: none; appearance: none; }
.br-pal-clear { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0;
  border-radius: 50%; background: var(--as-surface-2, #f1f2f4); color: var(--as-muted, #6b6d72); cursor: pointer; }
.br-pal-clear[hidden] { display: none; }
.br-pal-clear:hover { color: var(--as-ink, #16171a); }
button.br-pal-esc { cursor: pointer; background: transparent; }
.br-pal-esc-word { display: none; }
.br-pal-head { padding: 10px 10px 4px; font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase;
  color: var(--as-muted, #6b6d72); }
.br-pal-head:first-child { padding-top: 4px; }
/* a phone: the whole screen, the field on top, big rows; "Cancel" instead of the Esc key */
@media (max-width: 640px) {
  .br-pal-back { padding: 0; align-items: stretch; }
  .br-pal { width: 100%; max-height: none; height: 100%; height: 100dvh; border-radius: 0; border: 0; transform: none; }
  .br-pal .br-pal-field { padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; }
  .br-pal .br-pal-input { font-size: 16px; }
  .br-pal-esc { border: 0; padding: 6px 4px; font-size: 15px; color: var(--as-accent, #2a5bd7); }
  .br-pal-esc-key { display: none; } .br-pal-esc-word { display: inline; }
  .br-pal-item { padding: 12px 10px; }
  .br-pal-kind { width: 64px; }
  .br-pal-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .br-pal-back, .br-pal { transition: none; } }
/* the search button left of the sparkle (assistant.js wireSearchButtons, owner 20 Nov): the sparkle's own classes */
.br-search-button { display: inline-grid; place-items: center; }
.br-search-button svg { display: block; width: 18px; height: 18px; flex: none; }
@media print { .br-pal-back, .br-search-button { display: none !important; } }

/* the ideas: a lightbulb in the message box opens them above it (owner, 15 Nov: "an icon for ideas") */
.br-assist-input { position: relative; }
.br-ideas-btn { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; padding: 0; cursor: pointer;
  border: 0; border-radius: 8px; background: transparent; color: var(--as-muted, #6b6d72); margin-left: -4px; }
.br-ideas-btn:hover, .br-ideas-btn[aria-expanded="true"] { color: var(--as-accent, #2a5bd7); background: var(--as-surface-2, #f3f3f1); }
.br-ideas-btn[hidden], .br-ideas[hidden] { display: none !important; }
.br-ideas { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 6px); z-index: 3; max-height: min(65vh, 460px);
  overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 14px; background: var(--as-surface, #fff);
  border: 1px solid var(--as-line, #e3e3e0); box-shadow: 0 10px 30px var(--as-shadow-color, rgba(0, 0, 0, .16)); }
.br-ideas-group h3 { margin: 8px 8px 2px; font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--as-muted, #6b6d72); }
.br-idea { display: block; width: 100%; text-align: left; font: inherit; font-size: 13.5px; color: var(--as-ink, #16171a);
  padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.br-idea:hover, .br-idea:focus-visible { background: var(--as-surface-2, #f3f3f1); }
.br-idea.is-template, .br-starter.is-template { font-style: italic; }
.br-ideas-note { margin: 6px 8px 4px; padding-top: 8px; border-top: 1px solid var(--as-line, #e3e3e0); font-size: 11.5px;
  color: var(--as-muted, #6b6d72); }
.br-foot-note { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-assist-foot .br-assist-sub { font-size: inherit; }

/* ------------------------------------------------------------------ files dropped into the panel (17 Nov) */
.br-clip-btn { margin-left: -6px; }
.br-clip-btn[hidden], .br-chips[hidden], .br-drop[hidden] { display: none !important; }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 6px; }
.br-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 30px; padding: 3px 4px 3px 9px;
  border-radius: 9px; font-size: 12.5px; color: var(--as-ink, #16171a); background: var(--as-surface-2, #f3f3f1);
  border: 1px solid var(--as-line, #e3e3e0); }
.br-chip svg { flex-shrink: 0; color: var(--as-muted, #6b6d72); }
.br-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px; font-weight: 550; }
.br-chip-meta { color: var(--as-muted, #6b6d72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.br-chip.is-sending .br-chip-meta { animation: br-chip-wait 1.2s ease-in-out infinite; }
.br-chip.is-error { border-color: var(--as-danger, #c0362c); }
.br-chip.is-error .br-chip-meta, .br-chip.is-error svg { color: var(--as-danger, #c0362c); }
.br-chip-x { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; cursor: pointer;
  background: transparent; color: var(--as-muted, #6b6d72); }
.br-chip-x:hover, .br-chip-x:focus-visible { background: var(--as-line, #e3e3e0); color: var(--as-ink, #16171a); }
.br-chip.is-sent { padding-right: 9px; background: transparent; }
.br-msg-files { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-bottom: 4px; }
.br-drop { position: absolute; inset: 8px; z-index: 20; display: grid; place-content: center; justify-items: center; gap: 6px;
  text-align: center; pointer-events: none; border-radius: 14px; color: var(--as-accent, #2a5bd7);
  border: 2px dashed var(--as-accent, #2a5bd7);
  background: color-mix(in srgb, var(--as-surface, #fff) 88%, var(--as-accent, #2a5bd7)); }
.br-drop strong { font-size: 15px; color: var(--as-ink, #16171a); }
.br-drop span { font-size: 12.5px; color: var(--as-muted, #6b6d72); }
@keyframes br-chip-wait { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .br-chip.is-sending .br-chip-meta { animation: none; } }
@media (max-width: 640px) { .br-chip { min-height: 36px; } .br-chip-x { width: 30px; height: 30px; } }
.br-page-drop { position: fixed; inset: 0; z-index: 1040; display: grid; place-items: center; padding: 16px; pointer-events: none;
  font-family: var(--as-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  background: color-mix(in srgb, var(--as-bg, #f6f6f4) 70%, transparent); }
.br-page-drop[hidden] { display: none !important; }
.br-page-drop-card { display: grid; justify-items: center; gap: 8px; max-width: 420px; padding: 28px 32px; text-align: center;
  border-radius: 18px; border: 2px dashed var(--as-accent, #2a5bd7); color: var(--as-accent, #2a5bd7);
  background: var(--as-surface, #fff); box-shadow: 0 18px 50px var(--as-shadow-color, rgba(0, 0, 0, .18)); }
.br-page-drop-card strong { font-size: 17px; color: var(--as-ink, #16171a); }
.br-page-drop-card span { font-size: 13.5px; line-height: 1.45; color: var(--as-muted, #6b6d72); }
.br-chip-thumb { width: 22px; height: 22px; flex-shrink: 0; border-radius: 4px; object-fit: cover;
  border: 1px solid var(--as-line, #e3e3e0); background: var(--as-surface, #fff); }

/* --------------------------------------------------------------- small actions, saved questions, width (19 Nov) */
/* A quiet row under a message: seen on hover / keyboard focus; always there on a touch screen (no hover). */
.br-msg-actions { display: flex; gap: 2px; margin-top: 2px; opacity: 0; transition: opacity .15s ease; }
.br-msg-user .br-msg-actions { justify-content: flex-end; }
.br-msg:hover .br-msg-actions, .br-msg:focus-within .br-msg-actions, .br-msg-actions:has(.is-on) { opacity: 1; }
@media (hover: none) { .br-msg-actions { opacity: 1; } }
.br-act { width: 28px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; cursor: pointer;
  background: transparent; color: var(--as-muted, #6b6d72); }
.br-act:hover, .br-act:focus-visible { background: var(--as-surface-2, #f3f3f1); color: var(--as-ink, #16171a); }
.br-act.is-on { color: var(--as-accent, #2a5bd7); }
@media (max-width: 640px) { .br-act { width: 36px; height: 34px; } }

.br-starters-head { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 2px 2px;
  font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--as-muted, #6b6d72); }
.br-starters-head svg { color: var(--as-accent, #2a5bd7); }
.br-idea-row { display: flex; align-items: center; gap: 2px; }
.br-idea-row .br-idea { flex: 1; min-width: 0; }
.br-idea-row .br-act { opacity: .55; }
.br-idea-row:hover .br-act, .br-idea-row .br-act:focus-visible { opacity: 1; }

/* The panel's left edge: drag for a wider / narrower panel (not on a phone, where it is the whole screen). */
.br-resize { position: absolute; left: -4px; top: 0; bottom: 0; width: 8px; cursor: col-resize; z-index: 2; touch-action: none; }
.br-resize::after { content: ""; position: absolute; left: 3px; top: 50%; width: 2px; height: 36px; margin-top: -18px;
  border-radius: 2px; background: var(--as-line-strong, #c9c9c4); opacity: 0; transition: opacity .15s ease; }
.br-resize:hover::after, .br-resize:focus-visible::after, html.br-resizing .br-resize::after { opacity: 1; background: var(--as-accent, #2a5bd7); }
.br-resize:focus-visible { outline: none; }
html.br-resizing, html.br-resizing * { cursor: col-resize !important; user-select: none !important; }
html.br-resizing body, html.br-resizing .br-assist { transition: none !important; }
@media (max-width: 640px) { .br-resize { display: none; } }

.br-history-find { width: 100%; box-sizing: border-box; margin: 0 0 10px; padding: 8px 12px; font: inherit; font-size: 13.5px;
  color: var(--as-ink, #16171a); background: var(--as-input, var(--as-surface, #fff)); border-radius: 10px;
  border: 1px solid var(--as-line-strong, var(--as-line, #d5d5d0)); }
.br-history-find:focus { outline: none; border-color: var(--as-accent, #2a5bd7);
  box-shadow: 0 0 0 3px var(--as-focus-ring, color-mix(in srgb, var(--as-accent, #2a5bd7) 16%, transparent)); }
.br-history-find[hidden] { display: none; }

/* An answer arrived while the panel was closed: a small dot on the sparkle (cleared when it opens). */
[data-assistant-toggle].br-has-news { position: relative; }
[data-assistant-toggle].br-has-news::after { content: ""; position: absolute; top: 5px; right: 5px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--as-accent, #2a5bd7); box-shadow: 0 0 0 2px var(--as-surface, #fff); pointer-events: none; }

/* the apps' icon colours: bioradius_assistant/appicons.py (the one place) */
:root { --br-app-accounts: #c2410c; --br-app-attendance: #a15c07; --br-app-calls: #5b8a0f; --br-app-screening: #0f7a32; --br-app-ecrf: #0e7466; --br-app-pharmacy: #1f63c6; --br-app-lims: #2b4fc7; --br-app-pk: #5b3fb8; --br-app-projects: #be185d; --br-app-other: #4b5563; }
[data-app] { --br-app-color: var(--br-app-other); --br-app-tile: #3a404b; --br-app-deep: #282c33; --br-app-glow: #b9bfca; --br-app-ink: #e0e2e7; --app-tile: #3a404b; --app-deep: #282c33; --app-glow: #b9bfca; --app-ink: #e0e2e7; }
[data-app="accounts"] { --br-app-color: var(--br-app-accounts); --br-app-tile: #7a2e0a; --br-app-deep: #4d200a; --br-app-glow: #fd8549; --br-app-ink: #fec8ad; --app-tile: #7a2e0a; --app-deep: #4d200a; --app-glow: #fd8549; --app-ink: #fec8ad; }
[data-app="attendance"] { --br-app-color: var(--br-app-attendance); --br-app-tile: #6b4406; --br-app-deep: #432a04; --br-app-glow: #f6b84c; --br-app-ink: #fbdea6; --app-tile: #6b4406; --app-deep: #432a04; --app-glow: #f6b84c; --app-ink: #fbdea6; }
[data-app="calls"] { --br-app-color: var(--br-app-calls); --br-app-tile: #4a6f0c; --br-app-deep: #2e4606; --br-app-glow: #b2e63a; --br-app-ink: #e4f7b4; --app-tile: #4a6f0c; --app-deep: #2e4606; --app-glow: #b2e63a; --app-ink: #e4f7b4; }
[data-app="screening"] { --br-app-color: var(--br-app-screening); --br-app-tile: #0b5c27; --br-app-deep: #063a17; --br-app-glow: #3fe377; --br-app-ink: #b3f7c8; --app-tile: #0b5c27; --app-deep: #063a17; --app-glow: #3fe377; --app-ink: #b3f7c8; }
[data-app="ecrf"] { --br-app-color: var(--br-app-ecrf); --br-app-tile: #0a524c; --br-app-deep: #063834; --br-app-glow: #3cddd2; --br-app-ink: #a7f0eb; --app-tile: #0a524c; --app-deep: #063834; --app-glow: #3cddd2; --app-ink: #a7f0eb; }
[data-app="pharmacy"] { --br-app-color: var(--br-app-pharmacy); --br-app-tile: #0c4c70; --br-app-deep: #083349; --br-app-glow: #59c0f8; --br-app-ink: #b4e3fc; --app-tile: #0c4c70; --app-deep: #083349; --app-glow: #59c0f8; --app-ink: #b4e3fc; }
[data-app="lims"] { --br-app-color: var(--br-app-lims); --br-app-tile: #22378f; --br-app-deep: #142257; --br-app-glow: #869efe; --br-app-ink: #c9d3ff; --app-tile: #22378f; --app-deep: #142257; --app-glow: #869efe; --app-ink: #c9d3ff; }
[data-app="pk"] { --br-app-color: var(--br-app-pk); --br-app-tile: #45288a; --br-app-deep: #301957; --br-app-glow: #bc97fc; --br-app-ink: #e1d0fe; --app-tile: #45288a; --app-deep: #301957; --app-glow: #bc97fc; --app-ink: #e1d0fe; }
[data-app="projects"] { --br-app-color: var(--br-app-projects); --br-app-tile: #7c1446; --br-app-deep: #50102c; --br-app-glow: #f976af; --br-app-ink: #fcc1db; --app-tile: #7c1446; --app-deep: #50102c; --app-glow: #f976af; --app-ink: #fcc1db; }
