﻿:root{--upcms-focus:#ffbd18;--upcms-a11y-panel:#fff;--upcms-a11y-text:#321247;--upcms-a11y-muted:#725d80;--upcms-a11y-border:#ded2e7;--upcms-a11y-accent:#6722a7;--upcms-a11y-soft:#f3ecf8;color-scheme:light}
html[data-upcms-theme="dark"]{color-scheme:dark;--upcms-a11y-panel:#18131f;--upcms-a11y-text:#f7f2fb;--upcms-a11y-muted:#c5b7ce;--upcms-a11y-border:#554664;--upcms-a11y-accent:#c58aff;--upcms-a11y-soft:#27202f}
html:not(.upcms-a11y-ready) body{visibility:hidden}
.upcms-skip-link{position:fixed!important;left:16px!important;top:-90px!important;z-index:100000!important;padding:12px 18px!important;border-radius:0 0 12px 12px!important;color:#111!important;background:#ffdf36!important;font:800 16px/1.2 sans-serif!important;text-decoration:none!important;transition:top .15s ease!important}.upcms-skip-link:focus{top:0!important;outline:3px solid #111!important}
:where(a,button,input,select,textarea,[tabindex],summary):focus-visible{outline:3px solid var(--upcms-focus)!important;outline-offset:3px!important;box-shadow:0 0 0 2px #251033!important}
html[data-upcms-theme="dark"] body,html[data-upcms-theme="dark"] #app,html[data-upcms-theme="dark"] #content,html[data-upcms-theme="dark"] #view,html[data-upcms-theme="dark"] .app-body{color:#f4eff8!important;background-color:#0e0b13!important;background-image:radial-gradient(circle at 12% 0,rgba(117,56,165,.17),transparent 30%),linear-gradient(180deg,#100c16,#0c0910)!important}
html[data-upcms-theme="dark"] :where(h1,h2,h3,h4,h5,h6,p,label,strong,small,span,li,dt,dd,legend){border-color:#554664;color:inherit}
html[data-upcms-theme="dark"] :where(.app-header,.navbar,.white,.box-shadow,.upcms-footer,.modal-content,.dropdown-menu,.popover,.card,[class*="-card"],[class*="-panel"],[class*="-shell"],[class*="-wrap"]){border-color:#4d3e59!important;color:#f4eff8!important;background-color:#18131f!important}
html[data-upcms-theme="dark"] :where([class*="-hero"],[class*="-banner"]){border-color:#634c74!important;color:#fff!important;background-color:#211529!important;background-image:linear-gradient(135deg,#211529,#3d1d58)!important}
html[data-upcms-theme="dark"] :where(input,select,textarea,.form-control,[class*="dxeEditArea"],[class*="dxeButtonEdit"],[class*="dxeTextBox"]){border-color:#675674!important;color:#fff!important;background:#211a29!important;caret-color:#ffcf55!important}
html[data-upcms-theme="dark"] :where(input,textarea)::placeholder{color:#b9a8c3!important;opacity:1}
html[data-upcms-theme="dark"] :where(table,thead,tbody,tr,th,td,[class*="dxgvTable"],[class*="dxgvHeader"],[class*="dxgvDataRow"],[class*="dxgv"]){border-color:#52435e!important;color:#f3eef7!important;background-color:#17121e!important}
html[data-upcms-theme="dark"] :where(th,[class*="dxgvHeader"]){background:#2b2034!important}
html[data-upcms-theme="dark"] :where(a){color:#d5a7ff}
html[data-upcms-theme="dark"] :where(.btn,.button,button,input[type="button"],input[type="submit"],[class*="dxbButton"]){border-color:#84639c!important}
html[data-upcms-theme="dark"] img{filter:brightness(.93)}
html[data-upcms-theme="dark"] body.upcms-master {
    background: #07050e !important;
    color: #e8e2f2 !important;
}
html[data-upcms-theme="dark"] body.upcms-master .app {
    background:
        radial-gradient(circle at 12% 10%, rgba(243, 198, 94, .08), transparent 26%),
        radial-gradient(circle at 88% 18%, rgba(123, 53, 210, .08), transparent 24%),
        linear-gradient(180deg, #0b0813 0%, #120b1f 100%) !important;
}
html[data-upcms-theme="dark"] body.upcms-master #aside .left.navside {
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 255, 255, .04), transparent 28%),
        radial-gradient(circle at 80% 78%, rgba(255, 255, 255, .03), transparent 36%),
        linear-gradient(180deg, #0f0814 0%, #180c22 45%, #251037 100%) !important;
    border-right-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 18px 0 55px rgba(0, 0, 0, .45) !important;
}
html[data-upcms-theme="dark"] body.upcms-master #aside .nav li > a {
    color: rgba(255, 255, 255, .85) !important;
    background: rgba(255, 255, 255, .03) !important;
    border-color: transparent !important;
}
html[data-upcms-theme="dark"] body.upcms-master #aside .nav li > a:hover,
html[data-upcms-theme="dark"] body.upcms-master #aside .nav li.active > a,
html[data-upcms-theme="dark"] body.upcms-master #aside .nav li > a:focus {
    color: #fff !important;
    border-color: rgba(103, 45, 169, .24) !important;
    background:
        linear-gradient(135deg, rgba(103, 45, 169, .32), rgba(45, 9, 69, .20)) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .35) !important;
}
html[data-upcms-theme="dark"] body.upcms-master .app-header.white.box-shadow {
    background: rgba(10, 7, 19, .95) !important;
    border-color: rgba(116, 85, 159, .16) !important;
}
html[data-upcms-theme="dark"] body.upcms-master .upcms-top-brand,
html[data-upcms-theme="dark"] body.upcms-master .upcms-top-brand small {
    color: #f1e9ff !important;
}
html[data-upcms-theme="dark"] body.upcms-master #switcher .box-color,
html[data-upcms-theme="dark"] body.upcms-master #switcher .box-body {
    background: rgba(20, 14, 33, .96) !important;
    border-color: rgba(103, 45, 169, .14) !important;
}
html[data-upcms-theme="dark"] body.upcms-master #switcher .btn.primary,
html[data-upcms-theme="dark"] body.upcms-master #switcher .btn.danger {
    background: rgba(103, 45, 169, .92) !important;
    border-color: rgba(103, 45, 169, .92) !important;
    color: #fff !important;
}
html[data-upcms-theme="dark"] body.upcms-master #switcher .sw-btn,
html[data-upcms-theme="dark"] body.upcms-master #switcher .sw-btn * {
    color: #fff !important;
    background: rgba(37, 23, 55, .95) !important;
    border-color: rgba(255, 255, 255, .18) !important;
}
html[data-upcms-theme="dark"] body.upcms-master #switcher .sw-btn:hover,
html[data-upcms-theme="dark"] body.upcms-master #switcher .sw-btn:hover * {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(118, 75, 214, .95), rgba(78, 32, 128, .95)) !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-dialog,
html[data-upcms-theme="dark"] .upcms-a11y-panel {
    background: #12101c !important;
    color: #f4eff8 !important;
    border-color: rgba(103, 45, 169, .25) !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-panel *,
html[data-upcms-theme="dark"] .upcms-a11y-dialog * {
    color: #f4eff8 !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-panel button,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-option,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-toggle,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-close,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-label,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-desc {
    color: #f4eff8 !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-option,
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-toggle {
    background: rgba(32, 18, 45, .95) !important;
    border-color: rgba(103, 45, 169, .35) !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-close {
    background: rgba(255,255,255,.08) !important;
}
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-option[aria-pressed="true"],
html[data-upcms-theme="dark"] .upcms-a11y-panel .upcms-a11y-toggle[aria-pressed="true"] {
    background: #8e6bff !important;
    color: #fff !important;
}
html[data-upcms-contrast="high"]{color-scheme:dark;--upcms-focus:#00ffff;--upcms-a11y-panel:#000;--upcms-a11y-text:#fff;--upcms-a11y-muted:#fff;--upcms-a11y-border:#ffdf00;--upcms-a11y-accent:#ffdf00;--upcms-a11y-soft:#000}
html[data-upcms-contrast="high"] body,html[data-upcms-contrast="high"] body :where(#app,#content,#view,main,section,article,header,footer,nav,aside,div,table,thead,tbody,tr,th,td,.card,.modal-content,.dropdown-menu,[class*="-card"],[class*="-panel"],[class*="-wrap"],[class*="dxgv"]){border-color:#ffdf00!important;color:#fff!important;background:#000!important;background-image:none!important;box-shadow:none!important;text-shadow:none!important}
html[data-upcms-contrast="high"] :where(a){color:#00ffff!important;text-decoration:underline!important}
html[data-upcms-contrast="high"] :where(button,.btn,input[type="button"],input[type="submit"],[role="button"],[class*="dxbButton"]){border:2px solid #ffdf00!important;color:#000!important;background:#ffdf00!important;background-image:none!important}
html[data-upcms-contrast="high"] :where(input,select,textarea,.form-control,[class*="dxe"]){border:2px solid #fff!important;color:#fff!important;background:#000!important}
html[data-upcms-contrast="high"] img{filter:none!important}
html[data-upcms-font="large"] :where(p,label,input,select,textarea,button,td,th,li,small,.btn,.nav-link,[class*="dx"]){font-size:max(1em,16px)!important;line-height:1.65!important}
html[data-upcms-font="xlarge"] :where(p,label,input,select,textarea,button,td,th,li,small,.btn,.nav-link,[class*="dx"]){font-size:max(1em,18px)!important;line-height:1.75!important}
html[data-upcms-font="large"] :where(h1,h2,h3,h4),html[data-upcms-font="xlarge"] :where(h1,h2,h3,h4){line-height:1.35!important}
html[data-upcms-motion="reduce"] *,html[data-upcms-motion="reduce"] *::before,html[data-upcms-motion="reduce"] *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
@media(prefers-reduced-motion:reduce){html[data-upcms-motion="system"] *,html[data-upcms-motion="system"] *::before,html[data-upcms-motion="system"] *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}
.upcms-a11y-launcher{position:fixed!important;right:18px!important;bottom:102px!important;z-index:99990!important;width:52px!important;height:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:2px solid rgba(255,255,255,.7)!important;border-radius:50%!important;color:#fff!important;background:linear-gradient(135deg,#3e1265,#7b32c8)!important;box-shadow:0 16px 34px rgba(49,15,75,.3)!important;font-size:22px!important;cursor:pointer!important}.upcms-a11y-launcher:hover{transform:translateY(-2px)}
.upcms-a11y-dialog[hidden]{display:none!important}.upcms-a11y-dialog{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;padding:18px!important;background:rgba(14,8,20,.55)!important;backdrop-filter:blur(5px)!important}.upcms-a11y-panel{width:min(420px,calc(100vw - 24px))!important;max-height:calc(100vh - 36px)!important;overflow:auto!important;padding:20px!important;border:1px solid var(--upcms-a11y-border)!important;border-radius:25px!important;color:var(--upcms-a11y-text)!important;background:var(--upcms-a11y-panel)!important;box-shadow:0 28px 80px rgba(0,0,0,.35)!important;font-family:'Athiti',sans-serif!important}.upcms-a11y-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin-bottom:16px!important}.upcms-a11y-title{margin:0!important;color:var(--upcms-a11y-text)!important;font-size:22px!important;font-weight:900!important}.upcms-a11y-desc{margin:3px 0 0!important;color:var(--upcms-a11y-muted)!important;font-size:13px!important}.upcms-a11y-close{width:38px!important;height:38px!important;border:0!important;border-radius:12px!important;color:var(--upcms-a11y-text)!important;background:var(--upcms-a11y-soft)!important;cursor:pointer!important}.upcms-a11y-group{margin-top:13px!important;padding-top:13px!important;border-top:1px solid var(--upcms-a11y-border)!important}.upcms-a11y-label{display:block!important;margin-bottom:8px!important;color:var(--upcms-a11y-text)!important;font-size:13px!important;font-weight:900!important}.upcms-a11y-options{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:7px!important}.upcms-a11y-options.two{grid-template-columns:repeat(2,1fr)!important}.upcms-a11y-option{min-height:44px!important;padding:7px 8px!important;border:1px solid var(--upcms-a11y-border)!important;border-radius:13px!important;color:var(--upcms-a11y-text)!important;background:var(--upcms-a11y-soft)!important;font:800 13px 'Athiti',sans-serif!important;cursor:pointer!important}.upcms-a11y-option[aria-pressed="true"]{border-color:var(--upcms-a11y-accent)!important;color:#fff!important;background:#6722a7!important;box-shadow:0 0 0 2px rgba(103,34,167,.2)!important}html[data-upcms-contrast="high"] .upcms-a11y-option[aria-pressed="true"]{color:#000!important;background:#ffdf00!important}.upcms-a11y-toggle{width:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:48px!important;padding:9px 12px!important;border:1px solid var(--upcms-a11y-border)!important;border-radius:14px!important;color:var(--upcms-a11y-text)!important;background:var(--upcms-a11y-soft)!important;font:800 13px 'Athiti',sans-serif!important;cursor:pointer!important}.upcms-a11y-switch{width:42px!important;height:24px!important;padding:3px!important;border-radius:99px!important;background:#aa9ab5!important}.upcms-a11y-switch::after{content:""!important;display:block!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#fff!important;transition:transform .15s!important}.upcms-a11y-toggle[aria-pressed="true"] .upcms-a11y-switch{background:#6c25ad!important}.upcms-a11y-toggle[aria-pressed="true"] .upcms-a11y-switch::after{transform:translateX(18px)!important}.upcms-a11y-reset{width:100%!important;min-height:44px!important;margin-top:15px!important;border:1px dashed var(--upcms-a11y-border)!important;border-radius:13px!important;color:var(--upcms-a11y-text)!important;background:transparent!important;font:800 13px 'Athiti',sans-serif!important;cursor:pointer!important}.upcms-a11y-shortcut{margin:12px 0 0!important;color:var(--upcms-a11y-muted)!important;text-align:center!important;font-size:11px!important}.upcms-a11y-live{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){.upcms-a11y-launcher{right:12px!important;bottom:88px!important}.upcms-a11y-dialog{align-items:flex-end!important;padding:0!important}.upcms-a11y-panel{width:100%!important;max-height:88vh!important;border-radius:24px 24px 0 0!important}.upcms-a11y-options{grid-template-columns:1fr!important}}
@media print{.upcms-a11y-launcher,.upcms-a11y-dialog,.upcms-skip-link{display:none!important}}
