mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-04 03:37:17 +01:00
The 451 gate now says whose consent is missing (consentIsYours, decided server-side — only the server knows whose consent it checked). The patient gets an 'I consent — ask anyway' button; a clinician gets honest copy (no_patient_consent) instead of a button that would record the wrong person's consent and look broken. Third call site of the ask-AI-handle-451 pattern → one shared component, rendered outside the compose form so Enter never summons the assistant. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
25 lines
647 B
CSS
25 lines
647 B
CSS
/* Secondary on purpose: asking the assistant is never the primary action in a
|
|
clinical thread — replying to the human is. */
|
|
.btn {
|
|
composes: btnSecondary from "../app/shared.module.css";
|
|
composes: btnSm from "../app/shared.module.css";
|
|
}
|
|
|
|
.wrap {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
/* Carries an outcome, not a failure ("nothing to add", "provider unreachable"),
|
|
so it must read as information rather than an error. */
|
|
.note {
|
|
margin-top: 0.5rem;
|
|
color: var(--muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.consentBtn {
|
|
composes: btnPrimary from "../app/shared.module.css";
|
|
composes: btnSm from "../app/shared.module.css";
|
|
margin-top: 0.5rem;
|
|
}
|