/* /Pages/Admin/Organisation.cshtml.rz.scp.css */
/* docs/ACCOUNTS-SPEC.md 5.6: the Demo data and Go live cards side by side, wrapping on narrow screens. Tokens only (B-2). */
.org-cards[b-wkg99kopzk] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--bit-col-field), 1fr));
    gap: var(--bit-space-4);
    max-width: var(--bit-content-max);
}
.org-cards h2[b-wkg99kopzk] { margin: 0; }
.org-cards p[b-wkg99kopzk] { margin: 0; }
.org-actions[b-wkg99kopzk] { display: flex; flex-wrap: wrap; gap: var(--bit-space-2); }
/* /Pages/Admin/ReportLog/_RunDetail.cshtml.rz.scp.css */
/* The report log's row expansion: the query wraps inside the C-19 block (B-2: tokens only). */
pre[b-319ndigbmx] { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
/* /Pages/Reports/Ask.cshtml.rz.scp.css */
/* Ask a question (reporting section 7.4). Layout only; every size is a token (B-2, T-3). */

/* The conversation: a caption label, then the text (the user's as body text, the assistant's in a C-19 block) */
.ask-conversation[b-b8b2qsn2jo] { display: flex; flex-direction: column; gap: var(--bit-space-4); }
.ask-turn[b-b8b2qsn2jo] { display: flex; flex-direction: column; gap: var(--bit-space-1); }
.ask-text[b-b8b2qsn2jo] { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.ask-doc[b-b8b2qsn2jo] { display: flex; flex-direction: column; gap: var(--bit-space-3); }
.ask-questions[b-b8b2qsn2jo] { margin: 0; padding-left: var(--bit-space-5); }

/* "Something else" reveals its text well (no script) */
.ask-other[b-b8b2qsn2jo] { display: none; }
.ask-answer:has(option[value="__other"]:checked) .ask-other[b-b8b2qsn2jo] { display: block; }

/* The composer and its text indicator (the design system has no spinner) */
.ask[b-b8b2qsn2jo]  .ask-composer { display: flex; flex-direction: column; gap: var(--bit-space-3); max-width: var(--bit-doc-max); }
.ask-send-row[b-b8b2qsn2jo] { display: flex; align-items: center; gap: var(--bit-space-3); }
.ask-thinking[b-b8b2qsn2jo] { visibility: hidden; }
.ask-thinking.htmx-request[b-b8b2qsn2jo] { visibility: visible; }

/* The result: the query in a C-19 block, preformatted */
.ask-result[b-b8b2qsn2jo] { display: flex; flex-direction: column; gap: var(--bit-space-3); }
.ask-sqltext[b-b8b2qsn2jo] { white-space: pre-wrap; overflow-wrap: anywhere; margin: var(--bit-space-2) 0 0; }

/* The inline save form inside the action panel */
.ask[b-b8b2qsn2jo]  .ask-save { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--bit-space-3); flex-basis: 100%; }
.ask-save-actions[b-b8b2qsn2jo] { display: flex; gap: var(--bit-space-2); }

/* The region is the content area's only child, so it spaces its own sections as .bit-content does.
   Rules that reach a <form> go through ::deep: the form tag helper drops the scope attribute */
.ask[b-b8b2qsn2jo]  > * + * { margin-top: var(--bit-space-5); }
/* /Pages/Reports/Report.cshtml.rz.scp.css */
/* Fixed report page (reporting section 7.3). Layout only; every size is a token (B-2, T-3). */

/* Each filter's wrapper takes no box of its own: the field inside is the form grid's item (L-5) */
.report-filter[b-my0dpyabp4] { display: contents; }

/* Date, number and time ranges: two wells side by side under one label */
.report-range[b-my0dpyabp4] { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bit-space-2); }

/* D-R23: an Admin's sensitive filters show only while "Include sensitive fields" is ticked */
.report-filter--sensitive[b-my0dpyabp4] { display: none; }
.report-form:has(input[name="sensitive"]:checked) .report-filter--sensitive[b-my0dpyabp4] { display: contents; }

/* R-5 / section 7.9: on phones the downloads move from the bar to the form footer, above the bar */
.report-downloads[b-my0dpyabp4] { display: none; }

@media (max-width: 640px) {
  .report-downloads[b-my0dpyabp4] { display: flex; flex-wrap: wrap; gap: var(--bit-space-2); }
  .report-download[b-my0dpyabp4] { display: none; }
}
/* /Pages/Reports/Saved/Run.cshtml.rz.scp.css */
/* A saved report (reporting section 7.5). Layout only; every size is a token (B-2, T-3). */
.saved-run[b-6u4l663iy8] { display: flex; flex-direction: column; gap: var(--bit-space-3); }
.saved-sqltext[b-6u4l663iy8] { white-space: pre-wrap; overflow-wrap: anywhere; margin: var(--bit-space-2) 0 0; }
/* /Pages/SignIn/Index.cshtml.rz.scp.css */
/* docs/ACCOUNTS-SPEC.md 5.1 (proposed amendment): one primary action per authority, stacked. Tokens only (B-2, T-1). */
.signin-actions[b-xk0v9e2d1z] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--bit-space-3);
    width: 100%;
    max-width: var(--bit-narrow-w);
}
.signin-actions[b-xk0v9e2d1z]  .bit-btn { width: 100%; white-space: normal; }
.signin-actions p[b-xk0v9e2d1z] { margin: 0; }
