/* PATCH312: a quiet copper-gold edge over the original PATCH298 Command theme.
   Presentation only: no controls are enabled, hidden, moved or made clickable.
   Important declarations in this layer retain the same edge across legacy
   module styles without changing their fills, status colors or typography. */
@layer rv312controls {
@media screen {
  body[data-rv-command290] {
    --rv312-control-edge: #b9935b;
    --rv312-control-hover: #d3b279;
    --rv312-control-focus: #f1ce8f;
    --rv312-control-disabled: #37516a;
  }
  body[data-rv-command290] [id=suite-nav218] {
    background: var(--rv290-panel) !important;
    color: var(--rv290-text) !important;
    border-color: var(--rv290-border) !important;
    box-shadow: 0 2px 12px #0004 !important;
  }
  body[data-rv-command290] :is(
    button, input[type=button], input[type=submit], input[type=reset],
    a.btn, a.btn-ghost, a.button, a.wf-btn, a.r205-button, a.start311-button,
    a.start311-action:not([data-start311-action=daily]), a.command291-new, a.command291-open, a.command291-metric,
    a.team305-primary, a.report304-primary, a.page-link, a.nav-link,
    a.bell231, a[id=suite-back218], a[id=suite-home218],
    .a308-tabs>a, .wf-tabs>a, .leave175-actions>a,
    .nav251-primary>a, .nav251-bottom>a, [data-nav251-profile]>summary,
    .nav251-modules>summary, [role=button]
  ):not(:disabled):not(.disabled):not([aria-disabled=true]):not(.disabled *):not([aria-disabled=true] *):not(.btn-link) {
    border-style: solid !important;
    border-width: 1px !important;
    border-color: var(--rv312-control-edge) !important;
  }
  body[data-rv-command290] :is(
    button, input[type=button], input[type=submit], input[type=reset],
    a.btn, a.btn-ghost, a.button, a.wf-btn, a.r205-button, a.start311-button,
    a.start311-action:not([data-start311-action=daily]), a.command291-new, a.command291-open, a.command291-metric,
    a.team305-primary, a.report304-primary, a.page-link, a.nav-link,
    a.bell231, a[id=suite-back218], a[id=suite-home218],
    .a308-tabs>a, .wf-tabs>a, .leave175-actions>a,
    .nav251-primary>a, .nav251-bottom>a, [data-nav251-profile]>summary,
    .nav251-modules>summary, [role=button]
  ):not(:disabled):not(.disabled):not([aria-disabled=true]):not(.disabled *):not([aria-disabled=true] *):not(.btn-link):is(:hover,:active,[aria-pressed=true],[aria-expanded=true]) {
    border-color: var(--rv312-control-hover) !important;
  }
  body[data-rv-command290] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 2px solid var(--rv312-control-focus) !important;
    outline-offset: 3px;
  }
  body[data-rv-command290] :is(button,input,a,summary,[role=button]):is(:disabled,.disabled,[aria-disabled=true],.disabled *,[aria-disabled=true] *) {
    border-color: var(--rv312-control-disabled) !important;
    box-shadow: none !important;
  }
  body[data-rv-command290] input[type=file]:not(:disabled)::file-selector-button {
    border: 1px solid var(--rv312-control-edge) !important;
  }
}
@media (forced-colors: active) {
  body[data-rv-command290] {
    --rv312-control-edge: ButtonText;
    --rv312-control-hover: Highlight;
    --rv312-control-focus: Highlight;
    --rv312-control-disabled: GrayText;
  }
  body[data-rv-command290] :is(button,input,a,summary,[role=button]) {
    border-color: ButtonText !important;
  }
  body[data-rv-command290] :is(button,input,a,summary,[role=button]):is(:disabled,.disabled,[aria-disabled=true],.disabled *,[aria-disabled=true] *) {
    border-color: GrayText !important;
  }
  body[data-rv-command290] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 3px solid Highlight !important;
  }
}
}
