/* OWDEX Site R3.5.11 — acabamento inspirado no Account; preserva o layout existente. */
html:not([data-theme="dark"]){
 --bg:#f7f9fc; --panel:#fff; --panel-2:#f0f3f7;
 --text:#19253b; --sub:#5e6f89; --edge:#e0e7f0;
 --primary:#1764c5; --primary-2:#4b8ee5;
 --shadow:0 4px 19px rgba(26,43,74,.04);
}
:where(h1,h2,h3){letter-spacing:-.033em;}
body{font-family:"Segoe UI",system-ui,-apple-system,sans-serif;letter-spacing:-.006em;}
:where(.desktop-nav a,.mobile-nav a){font-weight:560;}
:where(.btn,.account-btn){border-radius:9px;font-weight:625;}
:where(.product-card,.feature-card,.admin-widget,.message-card,.stat){border-radius:13px;}
:where(.product-card,.showcase,.feature-card,.admin-widget,.stat,.message-card){
 box-shadow:0 3px 14px rgba(29,57,89,.035);
}
html:not([data-theme="dark"]) :where(.product-card,.feature-card,.admin-widget,.stat,.message-card){border-color:#e0e7ef;}
:where(input:not([type="checkbox"]),textarea,select){border-radius:9px;}
:where(.contact-form,.admin-login,.master-panel) :is(input:not([type="checkbox"]),textarea,select):focus,
:where(.login-panel,.master-login-card) input:focus{
 box-shadow:0 0 0 3px rgba(25,105,215,.11);
}
/* Avoid visual jumps; preserve all existing navigation, headers, cards and hero compositions. */
:where(.btn,.product-card,.feature-card,.admin-widget,.stat){
 transition-duration:.32s!important;
 transition-timing-function:cubic-bezier(.22,.68,0,1)!important;
}
:where(.product-card,.btn):active{transform:none!important;}

/* Accessibility button lives IN the normal footer. */
.footer .fine-print{gap:12px 22px;flex-wrap:wrap;align-items:center;}
.odx-a11y-control,.odx-a11y-standalone{position:relative;isolation:isolate;}
.odx-a11y-control{margin-left:auto;}
.odx-a11y-trigger{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 padding:8px 12px;min-height:36px;border-radius:9px;
 background:transparent;border:1px solid currentColor;
 color:inherit;font-size:12px;font-weight:600;line-height:1.3;
 cursor:pointer;opacity:.9;
 transition:background-color .25s ease,opacity .25s ease,border-color .25s ease;
}
.odx-a11y-trigger:hover,.odx-a11y-trigger[aria-expanded="true"]{
 background:rgba(68,117,190,.08);opacity:1;
}
.odx-a11y-trigger:focus-visible,.odx-a11y-options button:focus-visible{
 outline:2px solid #4786e6;outline-offset:3px;
}
.odx-a11y-popover{
 position:absolute;z-index:10020;bottom:calc(100% + 10px);right:0;
 width:min(292px,calc(100vw - 28px));padding:16px;
 border:1px solid #dce4ee;border-radius:13px;background:#fff;color:#1d2c43;
 box-shadow:0 15px 42px rgba(19,43,80,.17);font-size:13px;line-height:1.5;
}
.odx-a11y-popover[hidden]{display:none!important;}
.odx-a11y-popover strong{display:block;font-size:14px;margin-bottom:4px;font-weight:660;}
.odx-a11y-popover p{margin:0 0 12px;font-size:12px;color:#5c6b82;}
.odx-a11y-options{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.odx-a11y-options button{
 border:1px solid #dce4ee;border-radius:8px;background:#f7f9fc;
 padding:10px 6px;color:#243551;font-size:12px;font-weight:580;cursor:pointer;
}
.odx-a11y-options button.is-selected{
 background:#e7f0ff;border-color:#92b8f6;color:#0956b3;font-weight:700;
}
html[data-theme="dark"] .odx-a11y-popover{
 background:#17243a;border-color:#304560;color:#f1f5fb;
 box-shadow:0 15px 44px #0007;
}
html[data-theme="dark"] .odx-a11y-popover p{color:#bdcbe0;}
html[data-theme="dark"] .odx-a11y-options button{background:#243551;border-color:#415574;color:#dbe8fa;}
html[data-theme="dark"] .odx-a11y-options button.is-selected{background:#253e67;border-color:#6d97dc;color:#f5f9ff;}
/* Standalone logins/legacy apps have no institutional footer. Provide a compact bottom utility. */
.odx-a11y-standalone{
 position:fixed;bottom:8px;right:12px;z-index:9990;
 padding:0;background:transparent;color:#52657e;
}
.odx-a11y-standalone .odx-a11y-trigger{background:#fff;border-color:#dfe6f0;box-shadow:0 3px 13px rgba(30,52,82,.08);}
html[data-theme="dark"] .odx-a11y-standalone{color:#e2edff;}
html[data-theme="dark"] .odx-a11y-standalone .odx-a11y-trigger{background:#1d2b42;border-color:#3c526f;}
/* The top navigation keeps all buttons except the removed theme selector. */
.nav-actions{gap:12px;}
@media(max-width:760px){
 .footer .fine-print{align-items:flex-start;}
 .odx-a11y-control{margin-left:0;}
 .odx-a11y-standalone{bottom:6px;right:8px;}
}
@media(prefers-reduced-motion:reduce){
 .odx-a11y-trigger,:where(.btn,.product-card,.feature-card,.admin-widget,.stat){transition:none!important;}
}
