:root {
  color-scheme: light;
  --bg: #edf3fb;
  --panel: rgba(255, 255, 255, .58);
  --panel-soft: rgba(255, 255, 255, .68);
  --panel-raised: rgba(255, 255, 255, .86);
  --line: rgba(125, 143, 180, .28);
  --line-soft: rgba(125, 143, 180, .18);
  --text: #26314a;
  --muted: #6f7d96;
  --muted-2: #95a1b5;
  --accent: #7164e8;
  --accent-strong: #8b7cf2;
  --accent-soft: rgba(113, 100, 232, .12);
  --good: #2e9b73;
  --warn: #b97822;
  --danger: #c85c70;
  --shadow: 0 22px 60px rgba(80, 99, 145, .16), 0 3px 12px rgba(80, 99, 145, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: var(--bg); color: var(--text); }
body { font-size: 13px; }
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 5%, rgba(166, 196, 255, .34), transparent 29rem),
    radial-gradient(circle at 94% 8%, rgba(255, 205, 231, .3), transparent 25rem),
    radial-gradient(circle at 55% 105%, rgba(172, 235, 226, .24), transparent 31rem),
    linear-gradient(135deg, #edf4fc 0%, #faf8fd 51%, #edf8fa 100%);
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, .44), transparent 35%, rgba(255, 255, 255, .26));
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.auth-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 0%, rgba(183, 198, 255, .48) 0, transparent 44%); }
.auth-card { width: min(390px, 100%); padding: 34px; border: 1px solid rgba(255, 255, 255, .78); border-radius: 22px; background: rgba(255, 255, 255, .66); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(135%); }
.brand-mark { color: var(--accent-strong); font-weight: 800; letter-spacing: .12em; font-size: 12px; }
.auth-card h1 { margin: 12px 0 4px; font-size: 30px; letter-spacing: -.04em; }
.auth-card .muted { margin: 0 0 28px; }
.field-label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.text-input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .72); color: var(--text); outline: none; }
.text-input { min-height: 40px; padding: 9px 11px; }
textarea { resize: vertical; padding: 12px; line-height: 1.6; }
.text-input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check-line { display: flex; gap: 8px; align-items: center; margin: 14px 0 20px; color: var(--muted); font-size: 12px; }
.full-button { width: 100%; }
.form-status { min-height: 20px; margin: 12px 0 0; color: var(--danger); line-height: 1.5; }

.app-shell { min-height: 100vh; }
.topbar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; border-bottom: 1px solid rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .52); box-shadow: 0 8px 28px rgba(80, 99, 145, .08); backdrop-filter: blur(22px) saturate(145%); }
.brand-block, .topbar-actions, .composer-footer, .modal-footer, .asset-toolbar { display: flex; align-items: center; }
.brand-block { gap: 13px; }
.brand-title { margin-top: 2px; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.brand-subtitle { margin-top: 2px; color: var(--muted); font-size: 11px; }
.topbar-center { display: flex; align-items: center; gap: 10px; }
.topbar-actions { gap: 8px; }
.eyebrow { color: var(--muted-2); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.status-badge { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel-soft); font-size: 11px; }
.status-badge.good { color: var(--good); border-color: rgba(88, 214, 162, .3); background: rgba(88, 214, 162, .08); }
.status-badge.warn { color: var(--warn); border-color: rgba(240, 185, 106, .3); background: rgba(240, 185, 106, .08); }
.status-badge.danger { color: var(--danger); border-color: rgba(237, 124, 138, .3); background: rgba(237, 124, 138, .08); }

.agent-layout { width: min(1740px, calc(100% - 40px)); min-height: calc(100vh - 70px); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(390px, .88fr); gap: 16px; margin: 0 auto; padding: 18px 0; }
.panel { min-height: 0; border: 1px solid rgba(255, 255, 255, .78); border-radius: 18px; background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(22px) saturate(135%); }
.conversation-panel, .workbench { display: flex; flex-direction: column; overflow: hidden; }
.panel-heading, .workbench-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line-soft); }
h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 0; font-size: 19px; letter-spacing: -.03em; }
h3 { margin-bottom: 8px; font-size: 16px; }
.muted { color: var(--muted); }
.session-id-label { max-width: 150px; overflow: hidden; color: var(--muted-2); font-family: ui-monospace, monospace; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.welcome-state { display: grid; place-items: center; min-height: 300px; padding: 40px; color: var(--muted); text-align: center; }
.welcome-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; border: 1px solid rgba(143, 134, 255, .35); border-radius: 14px; color: var(--accent-strong); background: var(--accent-soft); font-size: 24px; }
.welcome-state h3 { color: var(--text); }
.welcome-state p { max-width: 420px; line-height: 1.7; }
.example-line { margin: 16px 0 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent-strong); background: var(--accent-soft); font-size: 12px; }
.message-list { flex: 1; min-height: 250px; overflow: auto; padding: 18px 22px; }
.message-list:empty { display: none; }
.message { display: flex; gap: 10px; max-width: 86%; margin-bottom: 16px; }
.message.user { margin-left: auto; flex-direction: row-reverse; }
.message-avatar { flex: 0 0 28px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #dcd9ff; background: var(--accent-soft); font-size: 11px; font-weight: 800; }
.message.user .message-avatar { color: #fff; background: var(--accent-strong); }
.message-bubble { padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-soft); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.message.user .message-bubble { border-color: rgba(143, 134, 255, .3); background: rgba(143, 134, 255, .12); }
.message-pending .message-bubble { border-style: dashed; color: var(--muted); }
.message-pending:not(.user) .message-bubble { background: rgba(143, 134, 255, .06); }
.message-meta { margin: 4px 3px 0; color: var(--muted-2); font-size: 10px; }
.quick-choice-wrap { display: grid; gap: 9px; margin-top: 9px; }
.quick-choice-card { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .48); }
.quick-choice-question { margin-bottom: 8px; color: var(--text); font-size: 12px; font-weight: 700; line-height: 1.5; }
.quick-choice-options { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-choice-option { padding: 7px 10px; border: 1px solid rgba(143, 134, 255, .3); border-radius: 8px; color: var(--muted); background: rgba(255, 255, 255, .78); font-size: 11px; cursor: pointer; }
.quick-choice-option:hover, .quick-choice-option.selected { border-color: var(--accent); color: var(--accent-strong); background: var(--accent-soft); }
.quick-choice-custom-input { width: 100%; min-height: 52px; margin-top: 7px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: rgba(255, 255, 255, .82); resize: vertical; }
.quick-choice-confirm { justify-self: start; }
.resolved-choice-list { display: grid; gap: 6px; margin-top: 9px; }
.resolved-choice-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 9px; border: 1px solid rgba(88, 214, 162, .28); border-radius: 8px; background: rgba(88, 214, 162, .06); }
.resolved-choice-question { color: var(--muted); font-size: 11px; }
.resolved-choice-answer { color: var(--text); font-size: 12px; }
.resolved-choice-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 28px; padding: 0 8px; font-size: 11px; }
.chat-notice { min-height: 20px; padding: 0 22px 8px; color: var(--danger); font-size: 12px; }
.composer { padding: 14px 18px 18px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, .35); }
.composer textarea { min-height: 86px; max-height: 210px; }
.composer-footer { justify-content: space-between; gap: 10px; margin-top: 10px; }
.composer-note { margin-right: auto; color: var(--muted-2); font-size: 11px; }

.primary-button, .secondary-button, .ghost-button, .icon-button { border: 1px solid transparent; border-radius: 8px; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.primary-button:disabled, .secondary-button:disabled, .ghost-button:disabled { cursor: wait; opacity: .7; transform: none; }
.primary-button { min-height: 38px; padding: 0 16px; border-color: var(--accent); color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); font-weight: 700; box-shadow: 0 8px 18px rgba(113, 100, 232, .2); }
.primary-button:hover { background: linear-gradient(135deg, #6557db, #9b8eff); transform: translateY(-1px); }
.secondary-button { min-height: 34px; padding: 0 11px; border-color: var(--line); color: var(--text); background: var(--panel-raised); }
.secondary-button:hover, .ghost-button:hover { border-color: var(--accent); background: var(--accent-soft); }
.ghost-button { min-height: 34px; padding: 0 11px; border-color: var(--line); color: var(--muted); background: transparent; }
.link-button { display: inline-flex; align-items: center; }
.icon-button { width: 32px; height: 32px; border-color: var(--line); color: var(--muted); background: transparent; font-size: 20px; }

.workbench-header { padding-bottom: 14px; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 12px 16px 10px; border-bottom: 1px solid var(--line-soft); }
.stepper button { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; border: 0; color: var(--muted-2); background: transparent; font-size: 10px; }
.stepper button span { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--panel-soft); font-size: 10px; }
.stepper button.active { color: var(--accent-strong); }
.stepper button.active span { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.stepper button.done span { border-color: rgba(88, 214, 162, .45); color: var(--good); }
.tab-strip { display: flex; gap: 4px; overflow: auto; padding: 10px 16px 0; }
.tab-button { flex: 0 0 auto; padding: 9px 10px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 12px; }
.tab-button.active { border-bottom-color: var(--accent); color: var(--text); }
.workbench-content { flex: 1; min-height: 0; overflow: auto; }
.tab-pane { display: none; padding: 18px; }
.tab-pane.active { display: block; }
.empty-pane { display: grid; min-height: 260px; place-items: center; color: var(--muted-2); text-align: center; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title h3 { margin: 0; }
.brief-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brief-field { min-width: 0; padding: 10px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--panel-soft); }
.brief-field.wide { grid-column: 1 / -1; }
.brief-label { margin-bottom: 5px; color: var(--muted-2); font-size: 10px; }
.brief-value { color: var(--text); line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.pill-list, .round-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--panel-soft); font-size: 11px; }
.notice-card { padding: 12px; border: 1px solid rgba(240, 185, 106, .28); border-radius: 10px; color: var(--warn); background: rgba(240, 185, 106, .08); line-height: 1.6; }
.notice-card.good { border-color: rgba(88, 214, 162, .28); color: var(--good); background: rgba(88, 214, 162, .08); }
.notice-card.danger { border-color: rgba(200, 92, 112, .35); color: #a84559; background: rgba(200, 92, 112, .08); }
.evolution-progress { position: relative; overflow: hidden; }
.evolution-progress p { margin: 5px 0 8px; color: var(--muted); }
.elapsed-line { color: var(--text); font-variant-numeric: tabular-nums; font-size: 12px; }
.loading-dots { display: inline-block; margin-top: 7px; color: var(--accent-strong); letter-spacing: 4px; animation: loading-pulse 1.2s ease-in-out infinite; }
.evolution-next-step { margin: 12px 2px; font-size: 12px; }
.evolution-error { margin-bottom: 12px; }
.evolution-error p { margin: 5px 0 10px; }
.developer-details { margin: 10px 0; padding: 8px 10px; border: 1px solid rgba(200, 92, 112, .25); border-radius: 8px; background: rgba(255, 255, 255, .55); }
.developer-details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.developer-detail-line { margin-top: 4px; color: var(--muted); font-size: 12px; }
.developer-details .missing-list { margin: 8px 0 0; }
@keyframes loading-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.missing-list { margin: 8px 0 0; padding-left: 17px; color: var(--warn); line-height: 1.8; }
.round-card { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel-soft); }
.round-summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px; cursor: pointer; }
.round-number { color: var(--accent-strong); font-weight: 800; }
.score-pair { display: flex; gap: 10px; color: var(--muted); font-size: 11px; }
.score-pair strong { color: var(--text); }
.round-detail { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.round-detail h4 { margin: 12px 0 6px; color: var(--muted); font-size: 11px; }
.score-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.score-item { display: flex; justify-content: space-between; padding: 6px 8px; border-radius: 6px; background: rgba(235, 240, 250, .72); color: var(--muted); font-size: 11px; }
.score-item strong { color: var(--text); }
.per-image-status-list { display: grid; gap: 6px; margin: 8px 0 10px; }
.per-image-status { padding: 6px 8px; border-radius: 6px; background: rgba(235, 240, 250, .72); font-size: 12px; }
.per-image-status.good { color: #8ee5b1; }
.per-image-status.warn { color: #f5c779; }
.gate-detail { color: var(--muted); font-size: 12px; margin: 8px 0 10px; }
.developer-score-line { color: var(--muted); font-size: 12px; margin: 6px 0 10px; }
.prompt-card { margin-bottom: 12px; padding: 13px; border: 1px solid rgba(255, 255, 255, .74); border-radius: 12px; background: var(--panel-soft); box-shadow: 0 8px 22px rgba(80, 99, 145, .06); }
.prompt-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.prompt-card-actions { display: flex; align-items: center; gap: 6px; }
.prompt-card-title { color: var(--text); font-weight: 700; }
.prompt-annotation { margin: 0 0 9px; padding: 7px 9px; border: 1px solid var(--line-soft); border-radius: 7px; color: var(--muted); background: rgba(255, 255, 255, .42); font-size: 11px; line-height: 1.5; }
.prompt-translation { margin: 0 0 9px; padding: 9px; border: 1px solid rgba(113, 100, 232, .22); border-radius: 8px; color: var(--text); background: rgba(113, 100, 232, .08); line-height: 1.65; white-space: pre-wrap; }
.prompt-details { border-top: 1px solid var(--line-soft); }
.prompt-details summary { padding: 9px 0 2px; cursor: pointer; color: var(--accent); font-size: 11px; }
.prompt-text { margin: 0; color: var(--text); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-button { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: transparent; font-size: 11px; }
.copy-button:hover { border-color: var(--accent); color: var(--text); }
.generation-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 12px 0; }
.metric { padding: 10px 8px; border: 1px solid var(--line-soft); border-radius: 8px; background: var(--panel-soft); text-align: center; }
.metric-value { color: var(--text); font-size: 17px; font-weight: 800; }
.metric-label { margin-top: 3px; color: var(--muted-2); font-size: 10px; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.result-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .74); border-radius: 12px; background: var(--panel-soft); box-shadow: 0 8px 22px rgba(80, 99, 145, .06); }
.result-preview-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.result-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9eff8; }
.result-preview-button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.result-actions { display: flex; justify-content: flex-end; padding: 8px 9px 0; }
.result-download { color: var(--accent); font-size: 11px; }
.result-download:hover { text-decoration: underline; }
.result-caption { padding: 8px 9px; color: var(--muted); font-size: 11px; }
.error-text { color: var(--danger); line-height: 1.6; }

.modal-layer { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 18px; background: rgba(67, 78, 116, .22); backdrop-filter: blur(8px); }
.modal-card { width: min(700px, 100%); max-height: min(720px, calc(100vh - 36px)); overflow: auto; padding: 20px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 18px; background: rgba(255, 255, 255, .76); box-shadow: var(--shadow); backdrop-filter: blur(24px) saturate(135%); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-header h2 { margin-top: 4px; }
.asset-toolbar { gap: 10px; margin-bottom: 14px; }
.asset-toolbar .text-input { flex: 1; }
.asset-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 9px; min-height: 160px; }
.asset-group { grid-column: 1 / -1; display: grid; gap: 8px; }
.asset-group-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.asset-group-title { color: var(--text); font-size: 12px; }
.group-select-button { padding: 5px 8px; font-size: 11px; }
.asset-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.asset-option { position: relative; overflow: hidden; padding: 0; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--panel-soft); text-align: left; }
.asset-option.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.asset-option img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e9eff8; }
.asset-option-name { display: block; overflow: hidden; padding: 8px; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.asset-check { position: absolute; top: 7px; right: 7px; width: 18px; height: 18px; accent-color: var(--accent); }
.asset-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 140px; color: var(--muted-2); }
.asset-modal-card > .modal-footer { position: sticky; bottom: -20px; z-index: 2; margin: 16px -20px -20px; padding: 12px 20px 20px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, .84); backdrop-filter: blur(16px) saturate(130%); }
.modal-footer { justify-content: flex-end; gap: 8px; margin-top: 16px; }
.config-modal-card { width: min(560px, 100%); }
.config-intro { margin: 0 0 16px; color: var(--muted); line-height: 1.7; }
.config-role-list { display: grid; gap: 8px; margin-bottom: 18px; }
.config-role { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(255, 255, 255, .46); }
.config-role-name { color: var(--text); font-weight: 700; }
.config-role-model { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.config-role-status { color: var(--warn); font-size: 11px; }
.config-role-status.ready { color: var(--good); }
.result-preview-card { width: min(820px, 100%); }
.result-preview-image { display: block; width: 100%; max-height: min(70vh, 760px); object-fit: contain; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(235, 240, 250, .72); }
.confirm-card { width: min(440px, 100%); text-align: center; }
.warning-icon { display: grid; width: 34px; height: 34px; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: #fff; background: var(--warn); font-weight: 900; }
.confirm-card p { color: var(--muted); line-height: 1.7; }
.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: grid; gap: 8px; width: min(360px, calc(100% - 36px)); }
.toast { padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px; color: var(--text); background: rgba(255, 255, 255, .8); box-shadow: var(--shadow); line-height: 1.5; backdrop-filter: blur(18px); }
.toast.error { border-color: rgba(200, 92, 112, .35); color: #a84559; }

@media (max-width: 1050px) {
  .agent-layout { grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); width: min(100% - 24px, 1400px); }
  .topbar { padding: 14px 18px; }
  .topbar-center { display: none; }
}
@media (max-width: 900px) {
  .agent-layout { display: block; min-height: auto; }
  .conversation-panel { min-height: 680px; margin-bottom: 14px; }
  .workbench { min-height: 650px; }
}
@media (max-width: 560px) {
  .topbar { align-items: flex-start; }
  .topbar-actions { flex-direction: column; align-items: stretch; }
  .agent-layout { width: calc(100% - 16px); padding-top: 8px; }
  .panel-heading, .workbench-header { padding: 16px; }
  .message-list { padding: 14px; }
  .composer { padding: 12px; }
  .composer-footer { flex-wrap: wrap; }
  .composer-note { order: 3; flex: 1 0 100%; }
  .brief-grid, .score-grid { grid-template-columns: 1fr; }
  .brief-field.wide { grid-column: auto; }
  .asset-grid, .asset-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .generation-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
