/* Smith Digital V2.4 — matched light/dark public UI.
   Loaded after V2 / V2.1 / V2.2 / V2.3 and relies on existing
   v7-theme-init.js + v7.js (smith-digital-theme in localStorage).
   Changes visual presentation only; no auth/cart/payment route edits. */

/* Sun / moon switch: compact, keyboard accessible, actual setting is shared with V7. */
.sdv2-home .sdv2-theme-picker {
  --switch-bg:#0d2347; --switch-border:#3e6099; --switch-ink:#90acdc;
  --switch-on:#f7faff; --switch-on-text:#081a37;
  flex:0 0 auto; display:inline-flex!important; align-items:center; justify-content:center;
  gap:2px; width:76px; height:38px; padding:4px;
  border:1px solid var(--switch-border)!important; border-radius:999px;
  background:var(--switch-bg)!important; margin:0 0 0 5px;
  box-shadow:inset 0 1px 3px #0002;
}
.sdv2-home .sdv2-theme-choice.theme-option {
  flex:1 1 0; display:grid!important; place-items:center; width:32px; min-width:0;
  height:30px; min-height:30px; padding:5px!important; border:0!important;
  border-radius:50%!important; cursor:pointer;
  background:transparent!important; box-shadow:none!important;
  color:var(--switch-ink)!important; transition:background-color .18s,color .18s,box-shadow .18s;
}
.sdv2-home .sdv2-theme-choice svg { display:block; width:18px; height:18px; pointer-events:none; }
html[data-theme="dark"] .sdv2-home .sdv2-theme-choice[data-set-theme="dark"],
html[data-theme="light"] .sdv2-home .sdv2-theme-choice[data-set-theme="light"] {
  background:var(--switch-on)!important;color:var(--switch-on-text)!important;
  box-shadow:0 1px 5px #0004!important;
}
.sdv2-home .sdv2-theme-choice:focus-visible {outline:3px solid #23b4ec!important;outline-offset:2px!important}
html[data-theme="light"] .sdv2-home .sdv2-theme-picker {
  --switch-bg:#e3eaf5; --switch-border:#bbcadf; --switch-ink:#465e84;
  --switch-on:#ffffff; --switch-on-text:#0b3d88;
}
@media (max-width:1220px) and (min-width:951px) {
 .sdv2-home .sdv2-theme-picker{width:68px;height:36px;padding:3px;margin-left:1px}
 .sdv2-home .sdv2-theme-choice.theme-option{height:28px;min-height:28px}
 .sdv2-home .sdv2-theme-choice svg{width:16px;height:16px}
 .sdv2-home .sdv2-header-row{gap:7px!important}
 .sdv2-home .sdv2-search{max-width:170px!important;min-width:110px!important}
}
@media (max-width:950px) {
 .sdv2-home .sdv2-theme-picker{order:1;margin-left:auto;width:70px;height:36px;padding:3px}
 .sdv2-home .sdv2-header-actions-mobile{order:2;margin-left:0!important}
 .sdv2-home .sdv2-search{order:3!important}
}
@media (max-width:390px) {
 .sdv2-home .sdv2-header-row{gap:5px!important}
 .sdv2-home .sdv2-brand{min-width:0!important;gap:5px!important}
 .sdv2-home .sdv2-brand b{font-size:14px!important}
 .sdv2-home .sdv2-brand small{font-size:6px!important}
 .sdv2-home .sdv2-theme-picker{width:63px!important;height:34px!important}
 .sdv2-home .sdv2-theme-choice.theme-option{height:26px;min-height:26px}
 .sdv2-home .sdv2-theme-choice svg{width:15px;height:15px}
 .sdv2-home .sdv2-header-actions-mobile{gap:4px!important}
 .sdv2-home .sdv2-cart-mobile,.sdv2-home .sdv2-mobile-toggle{width:33px!important;height:33px!important}
}

/* Light palette: high-contrast ink and clear surface hierarchy.
   The illustrated hero and left authentication promo intentionally stay navy
   with WHITE text so the neon artwork retains a proper contrast backdrop. */
html[data-theme="light"] body:has(.sdv2-home){
 background:#f3f7ff!important;
 background-image:radial-gradient(ellipse 70% 25% at 50% -5%,#dbeaff 0%,transparent 80%),linear-gradient(180deg,#f6f9ff,#eef4fc 100%)!important;
 color:#122846!important;
}
html[data-theme="light"] .sdv2-home,
html[data-theme="light"] .sdv2-shell{
 --sdv2-ink:#162a49;--sdv2-soft:#385574;--sdv2-muted:#556f8e;
 --sdv2-surface:#fff;--sdv2-surface-2:#f0f5ff;--sdv2-line:#bfd0e7;
 --sdv2-blue:#086ad5;--sdv2-cyan:#0073c9;--theme-text-color:#162a49;
 --theme-muted-color:#4e6580;--theme-surface-color:#fff;
 --theme-border-color:#c6d5e8;--accent:#0878df;
 color:#162a49!important;
}
html[data-theme="light"] .sdv2-home a{color:inherit}
html[data-theme="light"] .sdv2-home :is(button,input,textarea,select){color-scheme:light}

/* Header, search and configurable menu from admin (preserve links/labels). */
html[data-theme="light"] .sdv2-home .sdv2-header{
 background:rgba(255,255,255,.96)!important;border-bottom-color:#d6e2f2!important;
 box-shadow:0 4px 22px #38639b16!important;backdrop-filter:blur(14px);
}
html[data-theme="light"] .sdv2-home .sdv2-brand b,
html[data-theme="light"] .sdv2-home .sdv2-footer-brand b{color:#142943!important}
html[data-theme="light"] .sdv2-home .sdv2-brand small,
html[data-theme="light"] .sdv2-home .sdv2-footer-brand small{color:#385a81!important}
html[data-theme="light"] .sdv2-home .sdv2-search{
 background:#f0f5ff!important;border-color:#b6cce6!important;box-shadow:none!important;
}
html[data-theme="light"] .sdv2-home .sdv2-search .sdv2-icon{color:#2d639b!important}
html[data-theme="light"] .sdv2-home .sdv2-search input,
html[data-theme="light"] .sdv2-home .sdv2-search input:focus{color:#173453!important;background:transparent!important}
html[data-theme="light"] .sdv2-home .sdv2-search input::placeholder{color:#58708b!important;opacity:1}
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-editor-item:not(form),
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-logout button{
 background:linear-gradient(#f4f8ff,#e8f0ff)!important;color:#173451!important;
 border-color:#c2d5eb!important;box-shadow:none!important;
}
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-editor-item:hover:not(form),
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-logout button:hover{
 background:#dbeaff!important;color:#0a4d95!important;border-color:#7bb4e8!important;
}
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-editor-item .nav-item-label,
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .nav-editor-item .nav-item-icon{color:inherit!important}
html[data-theme="light"] .sdv2-home .sdv2-nav-configured .cart-count{color:#fff!important;background:#075cba!important}
html[data-theme="light"] .sdv2-home .sdv2-cart,
html[data-theme="light"] .sdv2-home .sdv2-mobile-toggle{
 background:#eaf2ff!important;border-color:#bad0eb!important;color:#193e70!important;
}
html[data-theme="light"] .sdv2-home .sdv2-cart-count{color:#fff!important;background:#086bd0!important}
html[data-theme="light"] .sdv2-home .sdv2-account-menu{background:#fff!important;border-color:#bbcee8!important}
html[data-theme="light"] .sdv2-home .sdv2-account-menu :is(a,button){color:#203b59!important}
html[data-theme="light"] .sdv2-home .sdv2-account-menu :is(a,button):hover{background:#e6f1ff!important}
@media(max-width:950px){
 html[data-theme="light"] .sdv2-home .sdv2-nav.sdv2-nav-configured{
  background:#ffffff!important;border-color:#c1d6ee!important;box-shadow:0 22px 32px #193c682f!important;
 }
}

/* Hero remains dark & bright by design; distinguish it from light canvas. */
html[data-theme="light"] .sdv2-home .sdv2-hero{box-shadow:0 10px 29px #294d9340!important}
html[data-theme="light"] .sdv2-home .sdv2-hero :is(.sdv2-eyebrow,h1,p){color:#fff!important}
html[data-theme="light"] .sdv2-home .sdv2-hero .sdv2-eyebrow{color:#d3e8ff!important}
html[data-theme="light"] .sdv2-home .sdv2-hero h1 span{color:#1fe1ff!important}
html[data-theme="light"] .sdv2-home .sdv2-btn-outline{color:#fff!important}

/* Trust row & category shortcuts. */
html[data-theme="light"] .sdv2-home .sdv2-benefits{
 background:linear-gradient(#fff,#eff5ff)!important;border-color:#bfcee8!important;
 box-shadow:0 5px 20px #2454a41b!important;
}
html[data-theme="light"] .sdv2-home .sdv2-benefits>div:not(:last-child):after{background:#c8d8ed!important}
html[data-theme="light"] .sdv2-home .sdv2-benefits b{color:#183555!important}
html[data-theme="light"] .sdv2-home .sdv2-benefits small{color:#526b8b!important}
html[data-theme="light"] .sdv2-home .sdv2-benefits>div>.sdv2-icon{color:#007acb!important;filter:none!important}
html[data-theme="light"] .sdv2-home .sdv2-shortcut{
 background:linear-gradient(#fff,#edf4ff)!important;border-color:#c1d2eb!important;
 box-shadow:0 3px 12px #2155a01a!important;
}
html[data-theme="light"] .sdv2-home .sdv2-shortcut:is(:hover,.is-active){
 background:#e1efff!important;border-color:#078ed1!important;
 box-shadow:inset 0 0 0 1px #46b0ec40,0 2px 11px #0b66b523!important;
}
html[data-theme="light"] .sdv2-home .sdv2-shortcut strong{color:#1b365a!important}
html[data-theme="light"] .sdv2-home .sdv2-shortcut-ico>.sdv2-icon{color:#096fbf!important}
html[data-theme="light"] .sdv2-home .sdv2-section-heading h2{color:#172f50!important}
html[data-theme="light"] .sdv2-home .sdv2-section-heading p{color:#4b6688!important}
html[data-theme="light"] .sdv2-home .sdv2-section-heading>a{color:#075b9f!important}

/* Product cards: no white-on-white labels, prices or metadata. */
html[data-theme="light"] .sdv2-home .sdv2-product-card.product-card,
html[data-theme="light"] .sdv2-home .sdv2-product-card.product-card:nth-child(n){
 background:linear-gradient(165deg,#fff,#eef5ff)!important;border-color:#bfd1e9!important;
 color:#182e4e!important;box-shadow:0 6px 20px #15477915!important;
}
html[data-theme="light"] .sdv2-home .sdv2-product-card.product-card:hover{border-color:#138bd6!important;box-shadow:0 10px 25px #168ae02b!important}
html[data-theme="light"] .sdv2-home .sdv2-product-card h3{color:#142a47!important}
html[data-theme="light"] .sdv2-home .sdv2-product-desc{color:#49647f!important}
html[data-theme="light"] .sdv2-home .sdv2-kind{background:#e7effc!important;color:#254d78!important;border-color:#c2d1e8!important}
html[data-theme="light"] .sdv2-home .sdv2-metrics,
html[data-theme="light"] .sdv2-home .sdv2-metrics .v7-product-metrics{color:#315476!important}
html[data-theme="light"] .sdv2-home .sdv2-product-bottom.product-bottom{border-top-color:#d3e0ef!important}
html[data-theme="light"] .sdv2-home .sdv2-product-bottom small{color:#526c8c!important}
html[data-theme="light"] .sdv2-home .sdv2-product-bottom strong{color:#0754a8!important}
html[data-theme="light"] .sdv2-home .sdv2-buy{color:white!important}
html[data-theme="light"] .sdv2-home .sdv2-empty{color:#334e70!important;border-color:#9ab6d4!important}

/* Guide is a dark self-contained feature panel (light text stays on dark).
   The V2.2 blog preview becomes a light list, unlike the navy guide. */
html[data-theme="light"] .sdv2-home .sdv2-guide{box-shadow:0 7px 21px #244d941f!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview{
 background:linear-gradient(135deg,#fff,#eef5ff)!important;border-color:#bed0eb!important;
}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-title h2{color:#173653!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-title small,
html[data-theme="light"] .sdv2-home .sdv2-blog-empty{color:#4f6887!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-title>a{color:#065eaf!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-item{
 background:#fff!important;color:#173653!important;border-color:#c2d2e8!important;
}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-item:hover{background:#eaf4ff!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-copy strong{color:#142d4d!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-copy small{color:#566e89!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-copy time{color:#075eb5!important}
html[data-theme="light"] .sdv2-home .sdv2-blog-preview-next{color:#0a5aa9!important}

/* Footer: invert completely instead of accidentally leaving pale labels on white. */
html[data-theme="light"] .sdv2-home .sdv2-footer{
 background:linear-gradient(180deg,#fff,#e8f1fe)!important;border-top-color:#c7d6e9!important;
 box-shadow:0 -10px 25px #244b8112!important;
}
html[data-theme="light"] .sdv2-home .sdv2-footer-grid{border-bottom-color:#c7d7eb!important}
html[data-theme="light"] .sdv2-home .sdv2-footer h3{color:#19314e!important}
html[data-theme="light"] .sdv2-home .sdv2-footer-about p,
html[data-theme="light"] .sdv2-home .sdv2-footer-col a,
html[data-theme="light"] .sdv2-home .sdv2-footer-bottom,
html[data-theme="light"] .sdv2-home .sdv2-footer-pay>small,
html[data-theme="light"] .sdv2-home .sdv2-muted{color:#435e7d!important}
html[data-theme="light"] .sdv2-home .sdv2-footer-col a:hover{color:#075bad!important}
html[data-theme="light"] .sdv2-home .sdv2-footer-pay .sdv2-pay-methods span{background:#fff!important;box-shadow:0 2px 5px #23395d1f!important}

/* Every secondary public page gets the same semantic light palette.
   Explicit .sdv2-shell scopes prevent admin pages from inheriting these rules. */
html[data-theme="light"] .sdv2-shell main:not(.sdv2-main){color:#173553!important}
html[data-theme="light"] .sdv2-shell .panel,
html[data-theme="light"] .sdv2-shell :is(.receipt,.help-banner,.r41-main-article,.r41-section,.blog-list-card,.blog-card,.r41-result-card){
 background:linear-gradient(145deg,#fff,#f4f8ff)!important;
 border-color:#c4d4e9!important;color:#173553!important;
 box-shadow:0 8px 23px #19396017!important;
}
html[data-theme="light"] .sdv2-shell :is(h1,h2,h3,h4,h5,h6),
html[data-theme="light"] .sdv2-shell :is(.panel,.blog-main,.article-main) :is(h1,h2,h3,h4){color:#182e4c!important}
html[data-theme="light"] .sdv2-shell :is(.muted,.small.muted,.sd49-note,.sd49-product-kind,.blog-card-body p,.r41-meta,.r41-article-text,.r41-article-lead,.r41-card-text p,.r41-article-copy p,.r41-article-copy li){color:#435d7b!important}
html[data-theme="light"] .sdv2-shell :is(.eyebrow,.sd49-kicker,.r41-kicker,.sd-purchase-kicker){color:#0965b4!important}
html[data-theme="light"] .sdv2-shell :is(.link,.back-link,.r41-breadcrumb a,.sd-purchase-breadcrumb a,.sd49-related-link,.r41-card-action){color:#075ead!important}
html[data-theme="light"] .sdv2-shell :is(.button-light,.button-secondary){background:#eef4ff!important;color:#18436e!important;border-color:#aac7e6!important}
html[data-theme="light"] .sdv2-shell .danger-button{background:#fff0f4!important;color:#932a51!important;border-color:#e8b9ce!important}
html[data-theme="light"] .sdv2-shell :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
 background:#fff!important;color:#162f50!important;border:1px solid #a9c1de!important;
 box-shadow:inset 0 1px 2px #1b41600e!important;
}
html[data-theme="light"] .sdv2-shell :is(input,textarea)::placeholder{color:#637c9a!important;opacity:1}
html[data-theme="light"] .sdv2-shell select option{background:#fff!important;color:#1c3553!important}
html[data-theme="light"] .sdv2-shell .field>span,
html[data-theme="light"] .sdv2-shell .field>small{color:#2d4867!important}
html[data-theme="light"] .sdv2-shell .alert{background:#e8f6ff!important;color:#1c5179!important;border-color:#a8cde5!important}
html[data-theme="light"] .sdv2-shell .alert.error{background:#fff0f3!important;color:#8e2445!important;border-color:#eac2ce!important}
html[data-theme="light"] .sdv2-shell .flash{background:#e0fff4!important;color:#146047!important;border-color:#96d5bf!important}
html[data-theme="light"] .sdv2-shell :is(th,td){color:#233f5b!important;border-color:#cbd9e8!important}
html[data-theme="light"] .sdv2-shell th{background:#e6f0ff!important;color:#204265!important}
html[data-theme="light"] .sdv2-shell tr:nth-child(even) td{background:#f1f6ff!important}
html[data-theme="light"] .sdv2-shell :is(details.v6-faq,details.r41-faq-item,.sd49-accordion-panel details){background:#fff!important;color:#213e5d!important;border-color:#c4d5ea!important}
html[data-theme="light"] .sdv2-shell :is(details.v6-faq,details.r41-faq-item,.sd49-accordion-panel details) summary{color:#193553!important}
html[data-theme="light"] .sdv2-shell :is(details.v6-faq,details.r41-faq-item,.sd49-accordion-panel details) p{color:#476481!important}

/* Auth visual is an intentional dark panel; content beside it is WHITE. */
html[data-theme="light"] .sdv2-shell .sdv2-auth-grid{background:#fff!important;border-color:#c6d7eb!important;box-shadow:0 14px 35px #19406d20!important}
html[data-theme="light"] .sdv2-shell .sdv2-auth-content{background:#fff!important}
html[data-theme="light"] .sdv2-shell .sdv2-auth-visual :is(h2,h3,p){color:#f7fbff!important}
html[data-theme="light"] .sdv2-shell .sdv2-auth-content .auth-intro h1{color:#152f50!important}
html[data-theme="light"] .sdv2-shell .sdv2-auth-content .auth-intro p,
html[data-theme="light"] .sdv2-shell :is(.auth-switch,.auth-forgot){color:#4a627f!important}
html[data-theme="light"] .sdv2-shell :is(.auth-switch,.auth-forgot) a{color:#075daa!important}

/* Blog masthead stays deep blue with white-on-dark text, list/article are light. */
html[data-theme="light"] .sdv2-shell .blog-heading{box-shadow:0 9px 22px #274f8f25!important}
html[data-theme="light"] .sdv2-shell .blog-heading h1{color:#fff!important}
html[data-theme="light"] .sdv2-shell .blog-heading p{color:#d7e8ff!important}
html[data-theme="light"] .sdv2-shell .blog-list-card{
 background:#fff!important;border-color:#c8d6e8!important;color:#193650!important;
}
html[data-theme="light"] .sdv2-shell .blog-list-body h2,
html[data-theme="light"] .sdv2-shell .blog-list-body h2 a{color:#153553!important}
html[data-theme="light"] .sdv2-shell .blog-list-body p{color:#4b627e!important}
html[data-theme="light"] .sdv2-shell .blog-list-meta,
html[data-theme="light"] .sdv2-shell .blog-list-meta :is(time,span){color:#225c99!important}
html[data-theme="light"] .sdv2-shell .r41-breadcrumb{color:#4f6c8e!important}
html[data-theme="light"] .sdv2-shell .r41-article-lead,
html[data-theme="light"] .sdv2-shell .r41-article-text{color:#344f6c!important}
html[data-theme="light"] .sdv2-shell .r41-article-text :is(h2,h3){color:#183453!important}
html[data-theme="light"] .sdv2-shell .r41-article-text a{color:#075eac!important}
html[data-theme="light"] .sdv2-shell .r41-article-text :is(blockquote,pre){background:#ecf4ff!important;color:#253f5a!important;border-left-color:#1485d2!important}
html[data-theme="light"] .sdv2-shell .r41-article-figure{background:#e8f0fa!important}

/* Detail product: the complex product-specific design needs all local cards inverted. */
html[data-theme="light"] .sdv2-shell main.sd-product-r49{
 --sd49-line:#b7cbe5!important;--sd49-ink:#193452!important;
 --sd49-muted:#516b86!important;--sd49-bg:#f3f8ff!important;
 --sd49-accent:#065eae!important;
}
html[data-theme="light"] .sdv2-shell .sd-product-r49 .panel{background:#fff!important;border-color:#c3d5e9!important;box-shadow:0 7px 22px #174a8215!important}
html[data-theme="light"] .sdv2-shell .sd49-identity h1{color:#1b3655!important}
html[data-theme="light"] .sdv2-shell .sd49-price-start strong{color:#075fb3!important}
html[data-theme="light"] .sdv2-shell :is(.sd49-status-ok,.sd49-badge-ok){color:#116a44!important}
html[data-theme="light"] .sdv2-shell :is(.sd49-status-out,.sd49-badge-out){color:#a4244c!important}
html[data-theme="light"] .sdv2-shell :is(.sd49-badge,.sd49-section-nav){background:#eaf4ff!important;color:#1b4b75!important;border-color:#c0d3ec!important}
html[data-theme="light"] .sdv2-shell .sd49-section-nav a{color:#1b436c!important}
html[data-theme="light"] .sdv2-shell .sd49-section-nav a:hover{background:#d3eaff!important}
html[data-theme="light"] .sdv2-shell :is(.sd49-highlights>div,.sd49-feature-grid>div,.sd49-product-card,.sd49-steps li,.sd49-review){background:#f0f6ff!important;color:#233c5a!important;border-color:#c2d5ea!important}
html[data-theme="light"] .sdv2-shell .sd49-buy-box :is(label,small,span,dd,dt,p){color:#3e5a79}
html[data-theme="light"] .sdv2-shell :is(.sd-product-media,.sd-product-media-image){background:#eff5fd!important;border-color:#c7d7e9!important}

/* Checkout / cart / account / help / status. */
html[data-theme="light"] .sdv2-shell .sd-checkout-intro{background:linear-gradient(110deg,#e1efff,#f4f8ff)!important;border-color:#b5cbe5!important}
html[data-theme="light"] .sdv2-shell :is(.sd-checkout-steps li,.sd-payment-stage,.sd-payment-account,.sd-qr-frame){background:#f2f7ff!important;border-color:#c4d7eb!important;color:#254360!important}
html[data-theme="light"] .sdv2-shell .sd-checkout-steps li.active{color:#fff!important;background:#096fc5!important}
html[data-theme="light"] .sdv2-shell :is(.checkout-total,.sd-payment-amount strong,.cart-total strong){color:#075eae!important}
html[data-theme="light"] .sdv2-shell .dashboard-main .stat{background:linear-gradient(140deg,#fff,#e9f3ff)!important;border-color:#bfcee5!important}
html[data-theme="light"] .sdv2-shell .dashboard-main .stat strong{color:#075ca9!important}
html[data-theme="light"] .sdv2-shell .dashboard-main .stat :is(span,small){color:#455f7d!important}
html[data-theme="light"] .sdv2-shell :is(.v6-notification,.order-timeline li,.order-items-details){background:#f0f6ff!important;border-color:#c5d7ed!important;color:#294864!important}
html[data-theme="light"] .sdv2-shell .order-main .reference{background:#e9f3ff!important;color:#193d66!important;border-color:#91b8df!important}
html[data-theme="light"] .sdv2-shell .order-main .reference code{color:#075bae!important}
html[data-theme="light"] .sdv2-shell .policy-article p{color:#425e7c!important}

/* Contrast-safe focus and theme-switch visibility in either mode. */
.sdv2-home .sdv2-theme-choice:focus-visible,.sdv2-home .sdv2-nav-configured a:focus-visible{outline:3px solid #13bff5!important;outline-offset:2px!important}
html[data-theme="light"] .sdv2-home .sdv2-nav-configured a:focus-visible{outline-color:#0872cd!important}
@media (prefers-reduced-motion:reduce){.sdv2-home .sdv2-theme-choice{transition:none!important}}
/* Navbar fitting: the theme control takes an extra 76 px; reclaim that room
   without removing configured menus or changing admin menu order. */
@media (min-width:951px){
 .sdv2-home .sdv2-header-row{gap:8px!important}
 .sdv2-home .sdv2-brand{min-width:153px!important}
 .sdv2-home .sdv2-search{max-width:205px!important;min-width:100px!important}
 .sdv2-home .sdv2-nav-configured{column-gap:3px!important}
 .sdv2-home .sdv2-nav-configured .nav-editor-item:not(form),
 .sdv2-home .sdv2-nav-configured .nav-logout button{
  padding:8px 8px!important;gap:5px!important;min-height:36px!important;
  font-size:10px!important;
 }
}
