/* Screen-only color treatment. Inset rings preserve button geometry. */
@media screen { @layer caps-trial {
html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule]{background:var(--rule-fill)!important;background-image:none!important;color:var(--rule-ink)!important;border-color:#000!important;border-radius:6px!important;box-shadow:inset 0 0 0 1px #000!important}
html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule] *{color:inherit!important}
html body#dashboardRoot [data-button-surface-rule="blue"]{--rule-fill:#E7EFF9;--rule-ink:#000}
html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"]:hover{background:#E7EFF9!important}
html body#dashboardRoot [data-button-surface-rule="white"]{--rule-fill:#fff;--rule-ink:#000}
html body#dashboardRoot [data-button-surface-rule="danger"]{--rule-fill:#FF1744;--rule-ink:#fff}
html body#dashboardRoot [data-button-surface-rule="go"]{--rule-fill:#36B300;--rule-ink:#fff}
html body#dashboardRoot [data-button-surface-rule="caution"]{--rule-fill:#FF9100;--rule-ink:#fff}
}}

/* Owner-selected Month control is the shared blue action-button treatment. */
@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"]:hover{background:#E7EFF9!important;color:#000!important;border-color:#000!important;border-radius:6px!important;box-shadow:inset 0 -3px #00B0FF!important}}}

/* Navigation keeps its role; its blue visual now matches the chosen Month control. */
@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-blue-navigation],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-blue-navigation]:hover{background:#E7EFF9!important;background-image:none!important;color:#000!important;border-color:#000!important;border-radius:6px!important;box-shadow:inset 0 -3px #00B0FF!important}html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-blue-navigation] *{color:inherit!important}html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-blue-navigation][aria-selected="true"],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-blue-navigation][aria-pressed="true"]{box-shadow:inset 0 -3px #00B0FF,inset 0 0 0 1px #00B0FF!important}}}

/* Remove the duplicated outer frame without changing button dimensions. */
@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule]{border-color:transparent!important}html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"]:hover{border-color:transparent!important}}}

/* Blue actions keep one visible outline plus their chosen lower blue shading. */
@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-button-surface-rule="blue"]:hover{border-color:#000!important;box-shadow:inset 0 -3px #00B0FF!important}}}

@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-navy-ribbon],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-navy-ribbon] *,html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-navy-ribbon] [data-sct-label]::after{text-transform:uppercase!important}html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-navy-ribbon] [data-user-content],html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-navy-ribbon] [data-user-content] *{text-transform:none!important}}}

/* Owner standard: 29px is the maximum screen text size. */
@media screen { @layer caps-trial {html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-font-limit]{font-size:29px!important}html body#dashboardRoot#dashboardRoot#dashboardRoot#dashboardRoot [data-sct-label]::after{font-size:min(var(--sct-font-size,13px),29px)!important}}}
