html.antey-design-v2{--ds-bg:#05080c;--ds-surface:#10161d;--ds-accent:#62daf5;--ds-text:#f2f5f7;--ds-muted:#98a5b3;--ds-border:#337c8f;--ds-font:Roboto,Arial,sans-serif}
html.antey-design-v2,html.antey-design-v2 body{background:var(--ds-bg)!important;color:var(--ds-text)!important;font:16px/1.5 var(--ds-font)}
html.antey-design-v2 body{background-image:none!important}
html.antey-design-v2 :is(h1,.title h1,.antey-desktop-heading h1){font:700 28px/32px var(--ds-font)!important;letter-spacing:0!important;text-shadow:none!important;color:var(--ds-text)!important}
html.antey-design-v2 :is(h2,h3,.panel-title){font:600 18px/24px var(--ds-font)!important;letter-spacing:0!important;text-shadow:none!important}
html.antey-design-v2 :is(.panel,.kpi,.widget,.page-card,.modal-content,.antey-desktop-heading){border:1px solid var(--ds-border)!important;border-radius:16px!important;clip-path:none!important;background:var(--ds-surface)!important;box-shadow:none!important}
html.antey-design-v2 :is(.panel,.kpi,.antey-desktop-heading){padding:24px!important}
html.antey-design-v2 :is(.btn,button:not(.icon-btn),.desktop-return,.antey-desk-actions a,nav[data-antey-page-links] a){border-radius:8px!important;min-height:48px!important;font-family:var(--ds-font)!important;box-shadow:none!important;text-shadow:none!important;clip-path:none!important}
html.antey-design-v2 :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:8px!important;font:400 16px/24px var(--ds-font)!important}
html.antey-design-v2 :is(input:not([type=checkbox]):not([type=radio]),select){min-height:48px}
html.antey-design-v2 :focus-visible{outline:2px solid var(--ds-accent)!important;outline-offset:3px}
html.antey-design-v2 .desktop-container{padding:24px 32px 32px!important;max-width:1440px!important;min-width:0}
html.antey-design-v2 .desktop-container>.icons-container>.icons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch}
html.antey-design-v2 .desktop-container>.icons-container>.icons>.desktop-icon{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:16px;width:100%!important;min-width:0!important;height:auto!important;min-height:192px!important;padding:24px!important;border:1px solid var(--ds-border)!important;border-radius:16px!important;clip-path:none!important;background:var(--ds-surface)!important;box-shadow:none!important;transform:none!important}
html.antey-design-v2 .desktop-container>.icons-container>.icons>.desktop-icon>.icon-container{width:56px!important;height:56px!important;min-width:56px!important;display:grid!important;place-items:center;border:1px solid var(--ds-border)!important;border-radius:16px!important;background:var(--ds-bg)!important;box-shadow:none!important;margin:0!important}
html.antey-design-v2 .desktop-container>.icons-container>.icons>.desktop-icon>.icon-container>img.app-icon{width:40px!important;height:40px!important;object-fit:contain;filter:none!important}
html.antey-design-v2 .desktop-icon .icon-caption{width:100%!important;min-width:0;text-align:left!important}
html.antey-design-v2 .desktop-icon .icon-title{font:600 18px/24px var(--ds-font)!important;color:var(--ds-text)!important;letter-spacing:0!important;min-height:48px;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-shadow:none!important}
html.antey-design-v2 #antey-ux-nav{background:var(--ds-bg)!important;border-color:var(--ds-border)!important;box-shadow:none!important}
html.antey-design-v2 #antey-ux-nav>a,html.antey-design-v2 #antey-ux-nav>button{color:var(--ds-muted)!important;background:transparent!important;border:0!important;border-radius:8px!important;font:400 16px/24px var(--ds-font)!important;box-shadow:none!important}
html.antey-design-v2 #antey-ux-nav [aria-current=page]{color:var(--ds-accent)!important;background:#102933!important}
html.antey-design-v2 #antey-ux-nav svg{width:24px!important;height:24px!important;stroke-width:2}
html.antey-design-v2 .ds-brand,html.antey-design-v2 .ds-profile{display:none}
html.antey-design-v2 #antey-demo-toggle,html.antey-design-v2 #antey-demo-desk{height:48px!important;min-height:48px!important}
html.antey-design-v2 :is(.top,.desktop-navbar,.navbar,.page-head){background:var(--ds-bg)!important;box-shadow:none!important}
html.antey-design-v2 .ds-search{display:flex;align-items:center;gap:16px;margin:0 0 16px;min-width:0}
html.antey-design-v2 .ds-search input{flex:1;min-width:0;background:var(--ds-surface);border:1px solid var(--ds-border);color:var(--ds-text);padding:8px 16px}
html.antey-design-v2 .ds-search button{padding:8px 16px;background:var(--ds-surface);color:var(--ds-text);border:1px solid var(--ds-border)}
@media(min-width:1024px){
html.antey-design-v2 body.antey-ux-shell{padding-left:240px!important;padding-bottom:0!important}
html.antey-design-v2 #antey-ux-nav{position:fixed!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;left:0!important;top:0!important;bottom:0!important;width:240px!important;height:100dvh!important;padding:24px 16px!important;gap:8px!important;border:0!important;border-right:1px solid var(--ds-border)!important;z-index:1040}
html.antey-design-v2 #antey-ux-nav>a,html.antey-design-v2 #antey-ux-nav>button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;padding:8px 16px!important;min-height:48px!important;flex:none!important}
html.antey-design-v2 #antey-ux-nav>.ds-brand{display:block!important;color:var(--ds-accent);font:700 18px/24px var(--ds-font);padding:16px;margin-bottom:24px;order:-1}
html.antey-design-v2 #antey-ux-nav>#antey-ux-more{margin-top:auto!important}
html.antey-design-v2 #antey-ux-nav>.ds-profile{display:flex!important;border-top:1px solid var(--ds-border)!important;border-radius:0!important}
html.antey-design-v2 .antey-director-surface .app{display:block!important}
html.antey-design-v2 .antey-director-surface .side,html.antey-design-v2 #director-menu-open,html.antey-design-v2 .antey-quick-menu{display:none!important}
html.antey-design-v2 #antey-demo-toggle{display:none!important}
html.antey-design-v2 #antey-demo-banner{justify-content:flex-end}
html.antey-design-v2 #antey-ux-drawer{left:248px!important;right:auto!important;max-width:calc(100vw - 272px)}
}
@media(min-width:1024px) and (max-width:1279px){html.antey-design-v2 .desktop-container>.icons-container>.icons{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1023px){
html.antey-design-v2 body.antey-ux-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
html.antey-design-v2 .desktop-container{padding:16px!important}
html.antey-design-v2 .desktop-container>.icons-container>.icons{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
html.antey-design-v2 .desktop-container>.icons-container>.icons>.desktop-icon{padding:16px!important;min-height:160px!important}
html.antey-design-v2 #antey-ux-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:100%!important;padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;gap:0!important;height:auto!important}
html.antey-design-v2 #antey-ux-nav>a,html.antey-design-v2 #antey-ux-nav>button{min-width:0!important;min-height:64px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:4px 0!important}
html.antey-design-v2 #antey-ux-nav .ds-brand,html.antey-design-v2 #antey-ux-nav .ds-profile{display:none!important}
html.antey-design-v2 #antey-ux-nav span{font-size:16px!important;letter-spacing:-.3px}
html.antey-design-v2 :is(.panel,.kpi,.antey-desktop-heading){padding:16px!important}
}
@media(prefers-reduced-motion:reduce){html.antey-design-v2 *{scroll-behavior:auto!important;transition:none!important;}}
html.antey-design-v2 #antey-ux-drawer{display:none!important;position:fixed!important;top:16px!important;bottom:16px!important;right:16px;width:min(360px,calc(100vw - 32px));height:calc(100dvh - 32px)!important;padding:24px;background:var(--ds-surface)!important;color:var(--ds-text);border:1px solid var(--ds-border);border-radius:16px;overflow-y:auto;z-index:1060!important}
html.antey-design-v2 #antey-ux-drawer.is-open{display:flex!important;flex-direction:column;visibility:visible!important;transform:none!important}
html.antey-design-v2 #antey-ux-drawer header{display:flex;align-items:center;justify-content:space-between;gap:16px}
html.antey-design-v2 #antey-ux-drawer>a{display:flex;align-items:center;flex-shrink:0;min-height:48px;padding:8px 16px;color:var(--ds-text);border-bottom:1px solid var(--ds-border);text-decoration:none}
html.antey-design-v2 #antey-ux-backdrop:not([hidden]){display:block!important;position:fixed!important;inset:0!important;background:#0009!important;z-index:1050!important}
html.antey-design-v2 #antey-ux-backdrop[hidden]{display:none!important}

/* Authenticated director acceptance fixes. */
html.antey-design-v2 body.antey-director-surface .kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
html.antey-design-v2 body.antey-director-surface :is(.kpi,.panel){border:1px solid var(--ds-border)!important;border-radius:16px!important;background:var(--ds-surface)!important;box-shadow:none!important;min-width:0}
html.antey-design-v2 body.antey-director-surface .top{background:var(--ds-bg)!important;gap:16px;flex-wrap:wrap}
html.antey-design-v2 body.antey-director-surface form.ds-search{display:flex!important;width:100%;min-width:0;gap:16px}
html.antey-design-v2 body.antey-director-surface form.ds-search input{width:auto!important;flex:1;min-width:0}
html.antey-design-v2 body.antey-director-surface .top .user .role a{display:none}
@media(max-width:1279px){html.antey-design-v2 body.antey-director-surface .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

html.antey-design-v2 body.antey-director-surface .kpi>*{min-width:0;overflow-wrap:anywhere}

@media(max-width:600px){html.antey-design-v2 body.antey-director-surface .kpi{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px!important;padding:16px!important}html.antey-design-v2 body.antey-director-surface .kpi>*{width:100%}html.antey-design-v2 body.antey-director-surface .kpi small{display:block;overflow-wrap:normal}}
