/**
 * File:          public/css/title_sheet.css
 * Version:       0.1.1
 * Last Modified: 2026-11-04 11:37 PM EST
 * Changes:       0.1.1 — "All models" group: its maker groups are indented one step.
 * Changes:       New. Chat 2.0 step 3: the title sheet. Bottom sheet on phones, centred panel ≤ 420 px on desktop.
 *                One type scale (UI 2.0 sheet.css): rows 15 px / 44 px tall, secondary lines 12 px on one line,
 *                section labels 11 px uppercase, small controls 13 px.
 */
.c2-sheet { position: fixed; z-index: 10061; box-sizing: border-box; display: flex; flex-direction: column; background: var(--c2-sheet); color: var(--c2-text);
  font-family: var(--c2-font); box-shadow: 0 -20px 50px rgba(0, 0, 0, .6); }
.c2-sheet.is-phone { left: 0; right: 0; bottom: 0; max-height: calc(100dvh - 60px); border-radius: 28px 28px 0 0; border-top: 1px solid var(--c2-line-2);
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); }
.c2-sheet.is-centered { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100vw - 24px)); max-height: calc(100dvh - 80px);
  border: 1px solid var(--c2-line-2); border-radius: 22px; padding: 14px 16px 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .6); }
.c2-sheet-scroll { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.c2-sheet-scroll > * { flex-shrink: 0; }
.c2-sheet-head { display: flex; align-items: center; gap: 13px; padding: 0 4px; }
.c2-sheet-avatar { display: grid; place-items: center; flex: none; width: 44px !important; height: 44px !important; border-radius: 50%; overflow: hidden;
  background: var(--c2-surface-3); color: var(--c2-text); font-size: 16px; font-weight: 650; }
.c2-sheet-avatar.c2-icon-avatar { border-radius: 12px; }
.c2-sheet-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c2-sheet-avatar.mw-avatar-model-logo img { object-fit: contain; }
.c2-sheet-titles { flex: 1; min-width: 0; }
.c2-sheet-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; font-weight: 600; letter-spacing: -.3px; }
.c2-sheet-sub { margin-top: 2px; font-size: 13px; color: var(--c2-muted); }
.c2-round { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: var(--c2-surface-2);
  color: var(--c2-text); cursor: pointer; }
.c2-sheet-label { margin: 16px 4px 8px; font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--c2-muted); }
.c2-sheet-note { margin: 6px 4px; font-size: 12px; color: var(--c2-muted); }
.c2-sheet-note:empty { display: none; }
.c2-sheet-note.is-error, .c2-now-on.is-error { color: var(--c2-failed); }
.c2-text-btn { align-self: flex-start; flex: none; white-space: nowrap; padding: 6px 4px; border: 0; background: transparent; color: var(--c2-accent); font: inherit; font-size: 13px; cursor: pointer; }
.c2-text-btn:disabled { opacity: .5; cursor: default; }
.c2-text-btn[hidden] { display: none; }
.c2-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border: 0; border-radius: 14px; background: var(--c2-surface-3); color: var(--c2-text);
  font: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.c2-mono { font-family: ui-monospace, "DejaVu Sans Mono", Menlo, monospace; font-size: 12.5px; }

/* Grouped rows (INFORMATION, Council seats). */
.c2-group { border-radius: 16px; overflow: hidden; background: var(--c2-surface); }
.c2-row { display: flex; align-items: center; gap: 12px; box-sizing: border-box; width: 100%; min-height: 44px; padding: 6px 14px; border: 0;
  border-bottom: 1px solid var(--c2-line); background: transparent; color: var(--c2-text); font: inherit; font-size: 15px; line-height: 1.25; text-align: left; }
.c2-row:last-child { border-bottom: 0; }
.c2-row-btn { cursor: pointer; }
.c2-row-btn:hover { background: var(--c2-surface-2); }
.c2-row-lead { display: grid; place-items: center; flex: none; width: 22px; color: var(--c2-text-2); }
.c2-row-lead svg { width: 19px; height: 19px; }
.c2-row-avatar { display: grid; place-items: center; width: 22px !important; height: 22px !important; border-radius: 50%; overflow: hidden; background: var(--c2-surface-3);
  color: var(--c2-text); font-size: 9px; font-weight: 650; }
.c2-row-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c2-row-avatar.mw-avatar-model-logo img { object-fit: contain; }
.c2-row-label { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c2-row-val { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: auto; color: var(--c2-muted); white-space: nowrap; }
.c2-row-val > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.c2-info-member { padding-left: 28px; }
.c2-row-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.c2-row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c2-row-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--c2-muted); }
.c2-row-chev { flex: none; color: var(--c2-muted); font-size: 20px; }

/* MODEL. */
.c2-now-on { margin: 0 4px 8px; font-size: 13px; color: var(--c2-text-2); }
.c2-now-on.is-busy { color: var(--c2-muted); }
.c2-now-on.is-ok { color: var(--c2-text); }
.c2-seat-name { margin: 2px 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; }
.c2-back { margin-bottom: 2px; }
.c2-model-tools { display: flex; align-items: center; gap: 8px; }
.c2-model-search { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 36px; padding: 4px 12px; border: 1px solid var(--c2-line); border-radius: 11px;
  background: var(--c2-surface); color: var(--c2-text); font: inherit; font-size: 14px; outline: none; }
.c2-model-search:focus { border-color: var(--c2-accent); }
@media (pointer: coarse) { .c2-model-search { font-size: 16px; } }
.c2-model-groups { margin-top: 8px; max-height: 336px; overflow-y: auto; border-radius: 16px; background: var(--c2-surface); padding: 2px 0; }
.c2-model-fav-label { margin: 10px 14px 4px; }
.c2-model-groups > .c2-sheet-note { margin: 6px 14px 10px; }
.c2-model-group > summary { display: flex; align-items: center; box-sizing: border-box; min-height: 44px; padding: 0 14px; list-style: none; cursor: pointer; font-size: 15px;
  border-top: 1px solid var(--c2-line); }
.c2-model-group > summary::-webkit-details-marker { display: none; }
.c2-model-group > summary::after { content: '\203A'; margin-left: auto; font-size: 20px; line-height: 1; color: var(--c2-muted); transition: transform .15s; }
.c2-model-group[open] > summary::after { transform: rotate(90deg); }
.c2-model-row { position: relative; display: flex; align-items: center; min-height: 44px; }
.c2-model-pick { display: flex; flex-direction: column; justify-content: center; gap: 1px; flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 3px 4px 3px 14px;
  border: 0; background: transparent; color: var(--c2-text); font: inherit; text-align: left; cursor: pointer; }
.c2-model-pick:hover { background: var(--c2-surface-2); }
.c2-model-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 1.25; }
.c2-model-row.is-current .c2-model-name { font-weight: 600; }
/* One line; model_list.js hides the middle of a long id so its start and version stay readable. */
.c2-model-id { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.2; color: var(--c2-muted); }
.c2-model-check { flex: none; color: var(--c2-accent); font-size: 15px; font-weight: 700; }
.c2-model-star { flex: none; min-width: 40px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--c2-muted); font-size: 16px; cursor: pointer; }
.c2-model-star[aria-pressed="true"] { color: var(--c2-accent); }

/* EFFORT. */
.c2-segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--c2-surface); }
.c2-segmented button { min-height: 32px; padding: 2px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--c2-text-2); font: inherit; font-size: 13px; cursor: pointer; }
.c2-segmented button.is-on { background: var(--c2-accent); color: var(--c2-accent-ink); font-weight: 600; }
@media (pointer: coarse) { .c2-segmented button { min-height: 36px; } }
.c2-model-all > .c2-model-group > summary { padding-left: 28px; font-size: 14px; }
.c2-model-all > .c2-model-group .c2-model-row { padding-left: 14px; }
/* === END OF FILE (FILENAME: public/css/title_sheet.css) === */
