#customPromptsSettings { padding:clamp(1.25rem,3vw,2rem); }
#customPromptsSettings > h1 { margin:0 0 1rem; }
#customPromptsSettings > a.button { display:inline-flex;margin:0; }
#customPromptsSettings>p,#customPromptsSettings>div,#customPromptsSettings>form { margin-top:1rem; }
#customPromptsSettings form { display:grid;gap:1rem;max-width:800px;margin-top:1.5rem; }
#customPromptsSettings label { display:grid;gap:.5rem;font-weight:600; }
#customPromptsSettings label:has(input[type=checkbox]) { display:flex;align-items:center;gap:.65rem; }
#customPromptsSettings input:not([type=checkbox]),#customPromptsSettings textarea { width:100%;box-sizing:border-box;padding:.75rem;color:var(--appearance-ink,#172b4d);background:var(--appearance-input,var(--appearance-surface,#fff));border:1px solid var(--appearance-line,#b8c8dc);border-radius:.65rem;font:inherit; }
#customPromptsSettings .settings-section { display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding:1rem; }
#customPromptsSettings .settings-section strong { flex:1 1 200px; }
#customPromptsSettings .actions { display:flex;flex-wrap:wrap;gap:.75rem; }
#profileSettingsForm > .settings-card { margin-top:1.5rem;width:100%; }
#executiveCustomPrompts { margin-bottom:1.5rem; }
#executiveCustomPromptsEdit { display:inline-block;margin-top:1rem; }
#customPromptsSettings select { width:100%;box-sizing:border-box;padding:.75rem;color:var(--appearance-ink,#172b4d);background:var(--appearance-input,var(--appearance-surface,#fff));border:1px solid var(--appearance-line,#b8c8dc);border-radius:.65rem;font:inherit; }
.custom-prompt-button { display:flex;flex-direction:column;align-items:flex-start;gap:.35rem; }
.custom-prompt-visibility { font-size:.8rem;font-weight:400; }
.custom-prompt-test { padding:1rem;border:1px solid var(--appearance-line,#b8c8dc);border-radius:.75rem;background:var(--appearance-surface,#fff);color:var(--appearance-ink,#172b4d);min-width:0; }
.custom-prompt-test p { margin:.75rem 0; }
.custom-prompt-test-answer { white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6; }
.sense-answer { min-width:0;max-width:100%;white-space:normal; }
.global-sense-message:has(.sense-answer) { min-width:0; }
.sense-answer-prose { white-space:pre-wrap;overflow-wrap:anywhere; }
.sense-answer-table-region { max-width:100%;overflow-x:auto;margin:1rem 0;border:1px solid var(--appearance-line,#b8c8dc);border-radius:.65rem;white-space:normal; }
.sense-answer-table-region:focus-visible { outline:2px solid var(--appearance-link,#175cd3);outline-offset:3px; }
.sense-answer-table-region table { width:100%;border-collapse:collapse;font:inherit;color:var(--appearance-ink,#172b4d);background:var(--appearance-surface,#fff); }
.sense-answer-table-region th,.sense-answer-table-region td { padding:.75rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--appearance-line,#b8c8dc);min-width:7rem;max-width:28rem;overflow-wrap:anywhere; }
.sense-answer-table-region th { font-weight:700;background:var(--appearance-quiet,var(--appearance-surface,#f1f5f9)); }
.sense-answer-table-region tr:last-child td { border-bottom:0; }
.sense-answer a { color:var(--appearance-link,#175cd3);text-decoration:underline; }
.custom-prompt-examples { padding:1rem;border:1px solid var(--appearance-line,#b8c8dc);border-radius:.75rem;background:var(--appearance-surface,#fff); }
.custom-prompt-examples summary { cursor:pointer;font-weight:600; }
.custom-prompt-examples p { margin:.8rem 0;line-height:1.5; }
.custom-prompt-examples .executive-review-choices { display:grid;gap:.6rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }
.custom-prompt-examples summary:focus-visible { outline:2px solid var(--appearance-link,#175cd3);outline-offset:4px; }
