/* EUROBOX Core Beta 6.6.1 — consistent LIGHT palette for customer cabinet.
 * Workspace already uses #00a9e9. Dark theme is intentionally untouched.
 * Readable ink on sky-blue fills (white text only gives ~2.7:1 contrast).
 */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 {
  --ebx-brand-cyan:#00a9e9;
  --ebx-brand-primary:#00a9e9;
  --ebx-blue:#0877a5; /* links / text, AA on white */
  --ebx-accent:#0877a5;
  --ebx-link:#0877a5;
  --ebx-theme-link:#0877a5;
  --ebx-soft:#e8f6ff;
  --ebx-action-fill:#00a9e9;
  --ebx-action-hover:#22b9ec;
  --ebx-action-ink:#082940;
}
/* Default solid actions use the same sky-blue as Workspace. Preserve special
 * copy, add/remove, branch-picking and cookie actions' own semantics. */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main :is(button, input[type="submit"]):not(:where(.ebx-btn-remove-item,.ebx-btn-add-item,.ebx-copy-field,.ebx-cookie-settings-inline,.ebx-branch-results button,[data-add])) {
  background:var(--ebx-action-fill)!important;
  border-color:var(--ebx-action-fill)!important;
  color:var(--ebx-action-ink)!important;
  -webkit-text-fill-color:var(--ebx-action-ink)!important;
  box-shadow:none!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main :is(button, input[type="submit"]):not(:where(.ebx-btn-remove-item,.ebx-btn-add-item,.ebx-copy-field,.ebx-cookie-settings-inline,.ebx-branch-results button,[data-add])):hover:not(:disabled) {
  background:var(--ebx-action-hover)!important;
  border-color:var(--ebx-action-hover)!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main :is(button, input[type="submit"]):disabled {
  opacity:.5!important;cursor:not-allowed!important;
}
/* Archiving a recipient is secondary to saving. A quiet outline, not a
 * primary saturated block, avoids false hierarchy in long recipient lists. */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main .ebx-recipient-card .ebx-recipient-archive-form button[type="submit"] {
  background:#f6fafc!important;
  border:1px solid #b9d6e4!important;
  color:#0877a5!important;
  -webkit-text-fill-color:#0877a5!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main .ebx-recipient-card .ebx-recipient-archive-form button[type="submit"]:hover {
  background:#e5f5fc!important;border-color:#67bce0!important;
}
/* Cookie preferences remain an underlined text link inside the footer.
 * Legacy .ebx-cabinet-main button rules must never paint it as a button. */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-footer button.ebx-cookie-settings-inline,
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main .ebx-cabinet-footer button.ebx-cookie-settings-inline {
  display:inline-flex!important;min-height:auto!important;
  padding:2px 0!important;margin:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;color:#62758b!important;
  -webkit-text-fill-color:#62758b!important;
  font-size:12px!important;font-weight:600!important;line-height:1.5!important;
  text-decoration:underline!important;text-underline-offset:3px;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-footer button.ebx-cookie-settings-inline:hover {
  color:#0877a5!important;-webkit-text-fill-color:#0877a5!important;
}
/* Selected state and auxiliary controls previously had hard-coded royal blue. */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-service-choice:has(input:checked) {
  background:#e8f6ff!important;border-color:#60bde6!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 :is(input[type="checkbox"],input[type="radio"]) {
  accent-color:#079ccc!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 button.ebx-copy-field {
  background:#f1f9fd!important;border-color:#b9dce9!important;color:#0877a5!important;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 button.ebx-copy-field svg.ebx-copy-icon {stroke:#0877a5!important}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 button.ebx-copy-field:hover {background:#e3f5ff!important;border-color:#58b7df!important}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-theme-picker button.ebx-theme-option.is-selected,
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-theme-picker button.ebx-theme-option[aria-pressed="true"] {
  color:#0877a5!important;-webkit-text-fill-color:#0877a5!important;border-color:#b9dce9!important;
}
/* Links and hover preserve sufficient contrast on pale backgrounds. */
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-cabinet-main a:not(.ebx-overview-payment-tile),
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 .ebx-recipients-r02 details>summary {
  color:#0877a5;
}
html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 :is(button,a,summary,input,select):focus-visible {
  outline:3px solid #54bbdf!important;outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce){
 html:not([data-ebx-theme="dark"]) .ebx-client-cabinet-r02 button{transition:none!important}
}
