/* Signature cream, option 11 from the approved button palette preview.
   Brand surfaces, record statuses and custom catalogue colours remain independent. */
html:root .btn.secondary{background:var(--action-soft);border-color:var(--action-border);color:var(--action-ink)}
html:root .btn.secondary:hover{background:var(--action-hover);border-color:var(--action-ink)}
html:root .btn.primary:not(.admin-icon-action){background:var(--action-primary);border-color:var(--action-primary);color:#fff}
html:root .btn.primary:not(.admin-icon-action):hover{background:var(--action-primary-hover);border-color:var(--action-primary-hover);color:#fff}
html:root .btn.primary:not(.admin-icon-action):active{background:var(--action-primary-active);border-color:var(--action-primary-active);color:#fff}
html .admin-workspace .ops-tab.active{background:var(--action-primary);color:#fff}
html:root .icon-btn:not(.danger){background:var(--action-soft);border:1px solid var(--action-border);color:var(--action-ink)}
html:root .icon-btn:not(.danger):hover{background:var(--action-hover);border-color:var(--action-ink)}
html:root[data-theme=dark] .top-actions .icon-btn{background:var(--action-soft);border-color:var(--action-border);color:var(--action-ink)}
html:root[data-theme=dark] .top-actions .icon-btn:hover{background:var(--action-hover);border-color:var(--action-ink)}
html .quick-conversation.workspace-chat{background:var(--action-primary);border-color:var(--action-border);color:#fff;box-shadow:0 7px 24px #245c4d2e}
html .quick-conversation.workspace-chat:hover{background:var(--action-primary-hover);box-shadow:0 12px 30px #245c4d3d}
html .quick-conversation.workspace-chat:active{background:var(--action-primary-active)}
html .quick-conversation.workspace-chat:focus-visible{outline:3px solid var(--action-border);outline-offset:5px}
.btn:focus-visible,.icon-btn:focus-visible{outline:3px solid var(--action-border);outline-offset:3px}
/* Table headings and their filter controls share the button palette. */
html{--table-head:var(--action-soft);--table-head-ink:var(--action-ink);--table-head-border:#d4c7ac}
html[data-theme=dark]{--table-head-border:#596d63}
html:root table thead th,html:root table th[scope=col],html:root table[data-column-table] th{background:var(--table-head);color:var(--table-head-ink);border-bottom-color:var(--table-head-border)}
html:root[data-theme=dark] table thead th,html:root[data-theme=dark] table th[scope=col],html:root[data-theme=dark] table[data-column-table] th{background:var(--table-head);color:var(--table-head-ink);border-bottom-color:var(--table-head-border)}
html:root .column-trigger:hover,html:root .column-trigger.is-filtered{background:var(--action-hover);color:var(--action-ink)}
html:root .column-trigger.is-filtered{box-shadow:inset 0 -3px var(--action-border)}
html:root .column-sort-actions button{background:var(--action-soft);color:var(--action-ink);border-color:var(--action-border)}
html .column-sort-actions button:hover{background:var(--action-hover)}
html .column-trigger:focus-visible,html .column-sort-actions button:focus-visible{outline:3px solid var(--action-border);outline-offset:-3px}
.demand-setup-panels{display:grid;gap:20px;min-width:0}
.demand-setup-panels .panel{margin:0;min-width:0}
.demand-setup-panels .admin-actions{gap:8px;flex-wrap:wrap}
.demand-setup-panels .panel-body>p{max-width:85ch;line-height:1.8}
.setup-unified-workspace .setup-group-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
.setup-unified-workspace .setup-group-tabs .setup-tab{min-width:0;padding:12px;gap:8px}
.setup-group-tab-copy{min-width:0;overflow-wrap:break-word}
@container workspace (max-width:1150px){.setup-unified-workspace .setup-group-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container workspace (max-width:900px){.setup-unified-workspace .setup-group-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container workspace (max-width:760px){.setup-unified-workspace .setup-group-tabs{grid-template-columns:minmax(0,1fr)}}
