/* ModelVerge design tokens. Edit these variables to rebrand the whole dashboard.
   No CSS or JavaScript in this project is minified, bundled, or obfuscated. */
:root {
  color-scheme: dark;
  --bg: #101617;
  --sidebar: #0c1112;
  --surface: #171e20;
  --surface-raised: #1c2527;
  --line: #293336;
  --line-soft: #222c2e;
  --text: #edf2ef;
  --muted: #96a6a4;
  --subtle: #667a77;
  --mint: #a2e8c7;
  --mint-dim: #1c372d;
  --amber: #efd29a;
  --danger: #ffb1ad;
  --violet: #c9bbf2;
  --radius: 13px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--mint); }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--mint); }
::selection { background: #366b53; color: white; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: 30px; line-height: 1.2; letter-spacing: -1.1px; font-weight: 570; margin-bottom: 9px; }
h2 { font-size: 17px; letter-spacing: -.3px; font-weight: 560; margin-bottom: 8px; }
h3 { font-size: 15px; font-weight: 560; margin-bottom: 8px; }
p { margin-bottom: 12px; }
small, .small { font-size: 12px; }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.mint { color: var(--mint); }
.amber { color: var(--amber); }
.danger-text { color: var(--danger); }
.mono, code, pre { font-family: var(--mono); font-size: 12px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
code { color: #cbddd3; }
svg.icon { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hidden { display: none !important; }
.skip-link { position: absolute; top: -100px; left: 15px; z-index: 100; background: var(--mint); padding: 10px; color: #101617; }
.skip-link:focus { top: 8px; }
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); gap: 20px; }
.boot-mark { display: grid; place-items: center; margin: auto; height: 55px; width: 55px; border-radius: 17px; background: var(--mint); color: #10221b; font-size: 28px; font-weight: 700; }

/* Application shell. Navigation collapses to a drawer on narrow screens. */
.shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--sidebar); border-right: 1px solid var(--line-soft); position: fixed; top: 0; bottom: 0; width: 238px; display: flex; flex-direction: column; padding: 27px 16px 18px; overflow-y: auto; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 620; letter-spacing: -.7px; }
.brand img { height: 32px; width: 32px; }
.sidebar .brand { padding-left: 10px; margin-bottom: 35px; }
.brand sup { color: var(--subtle); font-size: 10px; margin-left: -3px; margin-top: -14px; letter-spacing: .3px; }
.nav-group { color: var(--subtle); text-transform: uppercase; font-size: 10px; letter-spacing: 1.4px; margin: 22px 12px 9px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: #a3b1af; border-radius: 8px; margin: 3px 0; font-size: 13px; }
.nav-link:hover { background: #162122; color: var(--text); }
.nav-link.active { background: #21362e; color: var(--mint); }
.nav-link .icon { width: 17px; height: 17px; }
.nav-mini { margin-left: auto; color: var(--subtle); font-family: var(--mono); font-size: 10px; }
.sidebar-bottom { margin-top: auto; padding-top: 26px; }
.sidebar-note { border: 1px solid var(--line); padding: 14px; border-radius: 10px; margin: 0 5px 20px; font-size: 12px; }
.sidebar-note p { color: var(--muted); margin: 7px 0 0; font-size: 11px; line-height: 1.6; }
.user-row { display: flex; align-items: center; gap: 10px; padding: 13px 8px 0; border-top: 1px solid var(--line-soft); }
.avatar { background: #304337; color: var(--mint); height: 32px; width: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.user-row .user-info { flex: 1; overflow: hidden; }
.user-row .user-info div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-body { grid-column: 2; min-width: 0; }
.topbar { height: 77px; border-bottom: 1px solid var(--line-soft); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 13px; font-size: 12px; color: var(--muted); }
.breadcrumb .slash { color: #40504b; }
.top-actions { display: flex; gap: 15px; align-items: center; }
.workspace-select { max-width: 210px; border: 1px solid var(--line); background: var(--surface); padding: 7px 11px; border-radius: 7px; color: var(--text); font-size: 12px; }
.online { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); display: inline-block; }
.mobile-toggle { display: none; }
.content { max-width: 1580px; padding: 36px 40px 50px; margin: 0 auto; }
.demo-banner { border: 1px solid #334139; border-radius: 8px; color: #b3c5b7; background: #1a2722; display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 11px; margin-bottom: 27px; }
.demo-banner strong { font-size: 9px; letter-spacing: 1px; color: var(--mint); white-space: nowrap; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-heading p { color: var(--muted); font-size: 13px; margin: 0; }
.page-heading .actions { margin-top: 4px; }
.eyebrow { font-size: 10px; color: var(--mint); letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 12px; }
.actions, .row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 20px; }
.grid-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin-bottom: 24px; }
.mb { margin-bottom: 22px; }
.mt { margin-top: 22px; }

/* Shared cards and controls. */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-body { padding: 23px; }
.panel-head { padding: 20px 23px 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.panel-head h2 { margin: 0; font-size: 14px; }
.panel-footer { padding: 14px 23px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 11px; }
.stat { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.stat-top .icon { width: 16px; height: 16px; color: #7c9287; }
.stat-value { font-size: 30px; letter-spacing: -1.2px; line-height: 1.25; margin: 16px 0 10px; }
.stat-caption { color: var(--subtle); font-size: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 7px; background: var(--surface-raised); border: 1px solid #36423f; color: var(--text); padding: 9px 14px; font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.btn:hover { border-color: #677f71; background: #24312b; color: var(--text); }
.btn.primary { background: var(--mint); border-color: var(--mint); color: #14251b; }
.btn.primary:hover { background: #b9f4d6; }
.btn.danger { border-color: #714a47; color: var(--danger); background: #332625; }
.btn.small { padding: 6px 10px; font-size: 11px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.icon-btn { border: 0; background: transparent; color: var(--muted); padding: 7px; display: inline-flex; border-radius: 6px; }
.icon-btn:hover { background: #27332e; color: var(--text); }
.btn .icon { width: 15px; height: 15px; }
.badge { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #34453c; border-radius: 5px; padding: 3px 7px; font-size: 10px; line-height: 1.3; background: #203028; color: var(--mint); white-space: nowrap; }
.badge.neutral { color: #a8b6b1; background: #222a28; border-color: #38423e; }
.badge.amber { background: #332f22; color: var(--amber); border-color: #554a32; }
.badge.red { background: #352928; color: var(--danger); border-color: #59413e; }
.badge.violet { background: #2c2838; color: var(--violet); border-color: #494255; }
.badge-list { display: flex; gap: 6px; flex-wrap: wrap; }
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field > label, .field-label { color: #cbd5d0; font-size: 12px; }
.field small { color: var(--subtle); font-size: 11px; }
input:not([type=checkbox]), select, textarea { width: 100%; background: #121a1b; border: 1px solid #36413f; border-radius: 7px; color: var(--text); padding: 10px 12px; min-width: 0; }
input::placeholder, textarea::placeholder { color: #647874; }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
textarea.code, input.code { font-family: var(--mono); font-size: 12px; }
input[type=checkbox] { accent-color: var(--mint); width: 15px; height: 15px; }
.check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; }
.check input { margin: 3px 0 0; flex-shrink: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-error { color: var(--danger); font-size: 12px; margin: 0; overflow-wrap: anywhere; }
.notice { padding: 13px 15px; background: #1c2a25; border: 1px solid #35453b; border-radius: 8px; color: #afc6b9; font-size: 12px; line-height: 1.7; }
.notice.warning { background: #2c2920; border-color: #4b4432; color: #cbbf9f; }
.notice.error { background: #302321; border-color: #65403a; color: var(--danger); }
.empty { padding: 38px 25px; text-align: center; color: var(--muted); }
.empty .icon { width: 28px; height: 28px; margin-bottom: 10px; color: #729781; }
.empty h3 { color: #d3ddd6; font-weight: 500; }
.empty p { font-size: 12px; max-width: 350px; margin: 0 auto 17px; }
.code-box { background: #101819; border: 1px solid var(--line); border-radius: 9px; padding: 17px; color: #c6dccf; overflow: auto; }
.code-box pre { font-size: 11px; line-height: 1.85; }
.code-bar { display: flex; justify-content: space-between; align-items: center; color: var(--subtle); font-size: 10px; margin-bottom: 12px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 21px 0; }

/* Tables keep complete values accessible while avoiding layout overflow. */
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { color: var(--subtle); font-size: 10px; font-weight: 500; padding: 12px 22px; background: #151d1e; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 15px 22px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #1b2623; }
.cell-main { color: #d5dfd9; margin-bottom: 3px; }
.cell-sub { color: var(--subtle); font-size: 10px; }
.nowrap { white-space: nowrap; }
.align-right { text-align: right; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 15px 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.search-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.search-box { position: relative; flex: 1; }
.search-box .icon { position: absolute; left: 13px; top: 11px; color: var(--subtle); }
.search-box input { padding-left: 40px; }
.search-row select { width: 190px; }

/* Charts are drawn from real request metadata, never seeded random metrics. */
.chart { display: block; width: 100%; height: auto; max-height: 240px; overflow: visible; }
.chart-grid { stroke: #2a3530; stroke-dasharray: 3 6; stroke-width: 1; }
.chart-line { fill: none; stroke: var(--mint); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart-labels { display: flex; justify-content: space-between; color: var(--subtle); font-family: var(--mono); font-size: 9px; margin-top: 8px; }
.chart-caption { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 10px; }
.bar-item + .bar-item { margin-top: 19px; }
.bar-item .row { font-size: 11px; margin-bottom: 8px; }
progress { width: 100%; height: 5px; appearance: none; border: none; border-radius: 4px; background: #27332e; }
progress::-webkit-progress-bar { background: #27332e; border-radius: 4px; }
progress::-webkit-progress-value { background: #86cfa9; border-radius: 4px; }
progress::-moz-progress-bar { background: #86cfa9; border-radius: 4px; }
.getting-started { background: linear-gradient(115deg, #1b2b23, #172120); }
.step { display: flex; gap: 13px; margin-top: 20px; align-items: flex-start; }
.step-number { width: 25px; height: 25px; border: 1px solid #465c4d; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); color: var(--mint); font-size: 11px; flex-shrink: 0; }
.step p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.step h3 { margin: 0; font-size: 12px; }
.model-card { display: flex; flex-direction: column; padding: 22px; }
.model-card:hover { border-color: #54705d; }
.model-card-top { display: flex; gap: 13px; align-items: center; margin-bottom: 17px; }
.model-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; background: #283d30; color: var(--mint); font-size: 18px; font-weight: 500; }
.model-card h2 { font-size: 15px; margin: 0 0 3px; }
.model-card p { color: var(--muted); font-size: 12px; line-height: 1.75; min-height: 44px; }
.model-card .badge-list { margin: 7px 0 20px; }
.model-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 15px; border-top: 1px solid var(--line); margin-top: auto; }
.model-details label { display: block; color: var(--subtle); font-size: 10px; margin-bottom: 3px; }
.model-details span { font-size: 12px; }
.model-card .actions { margin-top: 22px; }

/* Playground: controls and transcript are separate, editable components. */
.playground-grid { display: grid; grid-template-columns: 285px minmax(0,1fr); gap: 20px; align-items: start; }
.playground-controls .panel-body { padding: 19px; }
.playground-controls .field { margin-bottom: 17px; }
.conversation { display: flex; flex-direction: column; min-height: 620px; }
.conversation-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.transcript { flex: 1; padding: 25px; display: flex; flex-direction: column; gap: 22px; max-height: 650px; min-height: 360px; overflow: auto; }
.chat-welcome { margin: auto; text-align: center; max-width: 380px; padding: 35px 10px; }
.chat-welcome img { width: 48px; margin-bottom: 15px; }
.chat-welcome h2 { font-size: 20px; }
.chat-welcome p { color: var(--muted); font-size: 12px; }
.message { display: flex; gap: 12px; align-items: flex-start; }
.message-avatar { width: 27px; height: 27px; border: 1px solid #45534a; background: #233228; color: var(--mint); font-size: 10px; display: grid; place-items: center; border-radius: 8px; flex-shrink: 0; }
.message.user .message-avatar { background: #282c3c; color: var(--violet); border-color: #404359; }
.message-body { min-width: 0; width: 100%; }
.message-label { font-size: 11px; color: #b8c6bd; margin: 3px 0 9px; }
.message-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.85; color: #d4dfd7; }
.message-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 13px; font-size: 10px; color: var(--subtle); }
.composer { border-top: 1px solid var(--line); padding: 16px 19px; background: #151d1e; }
.composer textarea { background: transparent; border: 0; padding: 3px 0; min-height: 63px; }
.composer textarea:focus { outline: none; }
.composer .row { margin-top: 10px; }
.composer .row small { color: var(--subtle); font-size: 10px; }
.composer .form-error { margin-top: 12px; }
.receipt-list { display: grid; gap: 10px; }
.receipt { border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.receipt.selected { border-color: #719f81; background: #1e3025; }
.receipt p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }

/* Dialogs never persist one-time secrets in localStorage or the server session. */
dialog { width: min(600px,calc(100vw - 30px)); border: 1px solid #405348; border-radius: 15px; background: var(--surface); color: var(--text); padding: 0; max-height: calc(100vh - 60px); box-shadow: 0 30px 100px #0008; }
dialog.wide { width: min(930px,calc(100vw - 30px)); }
dialog::backdrop { background: #020806c9; backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 17px; }
.dialog-body { padding: 23px 24px; overflow-y: auto; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.secret { min-height: 94px; color: var(--mint); font-family: var(--mono); font-size: 12px; }
.toasts { position: fixed; bottom: 24px; right: 24px; display: grid; gap: 10px; z-index: 100; max-width: min(430px,calc(100vw - 48px)); }
.toast { background: #24342a; color: #d3ebdc; border: 1px solid #54715e; border-radius: 9px; padding: 13px 18px; box-shadow: 0 8px 30px #0004; font-size: 12px; }
.toast.error { background: #362624; border-color: #714a43; color: var(--danger); }
.audit-action { color: #c7d6ce; font-family: var(--mono); font-size: 11px; }
.doc-section { line-height: 1.9; color: #abbdb2; }
.doc-section h2, .doc-section h3 { color: var(--text); margin-top: 25px; }
.doc-section h2:first-child { margin-top: 0; }
.doc-section p { font-size: 13px; }
.doc-section ol { padding-left: 20px; font-size: 13px; }
.doc-section li { margin-bottom: 10px; }

/* The login view intentionally uses local assets and system fonts only. */
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-story { padding: 52px 70px; display: flex; flex-direction: column; background: radial-gradient(ellipse at 25% 60%,#243b2d 0%,#111b17 45%,#0e1514 75%); border-right: 1px solid var(--line); }
.login-copy { margin: auto 0; padding: 75px 0; max-width: 490px; }
.login-copy h1 { font-size: clamp(40px,4.2vw,64px); line-height: 1.1; letter-spacing: -2.8px; font-weight: 500; margin-bottom: 24px; }
.login-copy h1 span { color: var(--mint); }
.login-copy > p { color: #9bb1a3; font-size: 15px; max-width: 410px; line-height: 1.8; }
.login-copy .code-box { margin-top: 33px; border-color: #3c5544; background: #101914a6; }
.login-feature-row { display: flex; gap: 22px; font-size: 10px; color: #9ab8a5; margin-top: 26px; flex-wrap: wrap; }
.login-feature-row span { display: flex; gap: 7px; align-items: center; }
.login-footer { font-size: 11px; color: #658373; display: flex; justify-content: space-between; }
.login-form-side { display: grid; place-items: center; padding: 40px; }
.login-form-wrap { width: 100%; max-width: 350px; }
.login-form-wrap h2 { font-size: 26px; letter-spacing: -.8px; margin-bottom: 9px; }
.login-form-wrap > p { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.login-form-wrap .form { gap: 20px; }
.login-form-wrap .btn { padding: 12px; }
.login-form-wrap .notice { margin-top: 27px; font-size: 11px; }
.loading { padding: 65px 25px; text-align: center; color: var(--muted); }
.spinner { display: inline-block; width: 19px; height: 19px; border: 2px solid #3b5346; border-top-color: var(--mint); border-radius: 50%; animation: spin .8s linear infinite; margin-right: 9px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@media (min-width: 1700px) { .content { padding-top: 43px; } }
@media (max-width: 1200px) {
  .content { padding: 29px 25px; }
  .topbar { padding: 0 25px; }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-stats { gap: 12px; }
  .stat { padding: 16px; }
  .stat-value { font-size: 25px; }
  .grid-main { grid-template-columns: 1.5fr 1fr; }
  .playground-grid { grid-template-columns: 250px minmax(0,1fr); }
  .login-story { padding: 45px; }
}
@media (max-width: 960px) {
  .shell { grid-template-columns: 205px minmax(0,1fr); }
  .sidebar { width: 205px; padding-left: 10px; padding-right: 10px; }
  .grid-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-main, .grid-2 { grid-template-columns: 1fr; }
  .breadcrumb .crumb-org, .breadcrumb .slash { display: none; }
  .playground-grid { grid-template-columns: 1fr; }
  .playground-controls .panel-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .playground-controls .notice { grid-column: 1/-1; }
  .login-copy h1 { font-size: 44px; }
}
@media (max-width: 720px) {
  .shell { display: block; }
  .sidebar { width: 238px; transform: translateX(-100%); transition: transform .18s; box-shadow: 15px 0 80px #0008; }
  .sidebar.open { transform: translateX(0); }
  .mobile-toggle { display: inline-flex; }
  .topbar { height: 65px; padding: 0 18px; gap: 8px; }
  .top-actions { gap: 10px; }
  .online { display: none; }
  .workspace-select { max-width: 170px; }
  .content { padding: 24px 18px; }
  .page-heading { flex-direction: column; gap: 14px; margin-bottom: 21px; }
  h1 { font-size: 27px; }
  .demo-banner { align-items: flex-start; font-size: 10px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-stats { gap: 10px; }
  .stat-caption { font-size: 9px; }
  .panel-body { padding: 19px; }
  th, td { padding: 12px 16px; }
  .search-row { flex-wrap: wrap; }
  .search-box { flex-basis: 100%; }
  .search-row select { flex: 1; }
  .login-shell { display: block; }
  .login-story { display: none; }
  .login-form-side { min-height: 100vh; padding: 35px 27px; }
  .login-form-wrap::before { content: "ModelVerge"; display: block; color: var(--mint); font-size: 24px; letter-spacing: -1px; margin-bottom: 50px; }
  .field-row { grid-template-columns: 1fr; }
  .playground-controls .panel-body { grid-template-columns: 1fr; }
  .conversation { min-height: 560px; }
  .transcript { padding: 20px; }
}

/* Form grouping and catalog filters; kept separate for easy theme edits. */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
fieldset:disabled { opacity: .7; }
.search-input { flex: 1; min-width: 200px; max-width: 540px; }
pre { max-width: 100%; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.icon-btn.mobile-toggle { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.checkbox input { width: auto; }
@media (max-width: 720px) {
  .icon-btn.mobile-toggle { display: inline-flex; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }
