/* Semantic action colors only; existing geometry and page themes are retained. */
[data-action-tone="save"]{--action-color:#16703b}
[data-action-tone="import"],[data-action-tone="search"]{--action-color:#155ab0}
[data-action-tone="edit"]{--action-color:#995000}
[data-action-tone="delete"]{--action-color:#b42332}
[data-action-tone="export"]{--action-color:#7040a3}
[data-action-tone="back"]{--action-color:#526171}
body .btn[data-action-tone],body button[data-action-tone]{background:var(--action-color)!important;border-color:var(--action-color)!important;color:#fff!important}
body [data-action-tone]:hover:not(:disabled){filter:brightness(1.12)}
body [data-action-tone]:focus-visible{outline:3px solid currentColor;outline-offset:3px}
body [data-action-tone]:disabled{opacity:.55;cursor:not-allowed}
input[type="file"]::file-selector-button{background:#155ab0;color:#fff;border:1px solid #155ab0;border-radius:6px;padding:8px 12px;margin-inline-end:10px;cursor:pointer}
/* DTC file actions: blue JSON, purple text dumps; preserve native file input. */
body .dtc-workspace input[type=file]::file-selector-button{background:#6750a4!important;color:#fff!important;border:0!important;border-radius:8px;padding:10px 14px;cursor:pointer}
body .dtc-workspace #dtc-json-import input[type=file]::file-selector-button{background:#1565c0!important}
body .dtc-workspace .toolbar{flex-wrap:wrap;gap:12px}
body .dtc-workspace .toolbar .nx-tree-tools{margin:0;align-items:center}
#dtc-json-import{scroll-margin-top:100px}
