/* One saved palette, industry motifs, and compositor-only decorative motion. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:200 800;font-display:swap;src:url('../store/fonts/plus-jakarta-sans-latin-variable.woff2') format('woff2')}
body.admin-themed{
 --admin-ink:color-mix(in srgb,var(--admin-accent) 14%,#24232d);--admin-muted:color-mix(in srgb,var(--admin-accent) 12%,#66616e);--admin-link:color-mix(in srgb,var(--admin-accent) 28%,#28232c);
 --admin-paper:color-mix(in srgb,var(--admin-soft) 42%,#fffdfc);--admin-surface:color-mix(in srgb,var(--admin-soft) 6%,white);--admin-tint:color-mix(in srgb,var(--admin-soft) 55%,white);--admin-border:color-mix(in srgb,var(--admin-accent) 13%,#e9e4e5);
 --admin-navy:var(--admin-ink);--admin-blue:var(--admin-accent);--admin-cyan:var(--admin-accent);--admin-shadow:0 2px 3px #251a2203,0 10px 25px -12px color-mix(in srgb,var(--admin-accent) 24%,#43384120);--admin-sidebar:color-mix(in srgb,var(--admin-accent) 17%,#24212b);--admin-pattern:url('../store/patterns/beauty.svg');
 font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--admin-ink);background:var(--admin-paper)!important;
}
body.admin-themed[data-admin-industry=electronics]{--admin-pattern:url('../store/patterns/electronics.svg')}
body.admin-themed[data-admin-industry=fashion]{--admin-pattern:url('../store/patterns/fashion.svg')}
body.admin-themed[data-admin-industry=mother_baby]{--admin-pattern:url('../store/patterns/mother_baby.svg')}
body.admin-themed[data-admin-industry=wellness]{--admin-pattern:url('../store/patterns/wellness.svg')}
body.admin-themed[data-admin-industry=food]{--admin-pattern:url('../store/patterns/food.svg')}
body.admin-themed[data-admin-industry=home]{--admin-pattern:url('../store/patterns/home.svg')}
body.admin-themed[data-admin-industry=general]{--admin-pattern:url('../store/patterns/general.svg')}
body.admin-themed[data-admin-industry=books]{--admin-pattern:url('../store/patterns/books.svg')}
body.admin-themed .content-wrapper{background:radial-gradient(ellipse at 94% 0,var(--admin-tint),transparent 50rem),var(--admin-paper)!important;color:var(--admin-ink);font-family:inherit}
body.admin-themed :is(button,input,select,textarea){font-family:inherit}
body.admin-themed .content-wrapper::before,body.admin-themed .content-wrapper::after{content:none;animation:none;filter:none}
body.admin-themed .content{--blue:var(--admin-accent);--ink:var(--admin-ink);--muted:var(--admin-muted);--im-ink:var(--admin-ink);--im-muted:var(--admin-muted);--im-line:var(--admin-border)}
body.admin-themed .admin-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.admin-atmosphere::before{content:'';position:absolute;inset:0;background:var(--admin-accent);mask:var(--admin-pattern) repeat;-webkit-mask:var(--admin-pattern) repeat;mask-size:330px;-webkit-mask-size:330px;opacity:.045}
.admin-atmosphere::after{content:'';position:absolute;right:0;top:0;width:min(100%,650px);height:540px;background:radial-gradient(ellipse at top right,var(--admin-soft),transparent 70%);opacity:.65}
body.admin-themed[data-admin-industry=beauty][data-admin-background=signature] .admin-atmosphere::after{background:url('../store/floral-background-v3.webp') top right/cover no-repeat;mask-image:linear-gradient(135deg,transparent 5%,#000 90%);-webkit-mask-image:linear-gradient(135deg,transparent 5%,#000 90%);opacity:.2}
body.admin-themed[data-admin-background=aurora] .admin-atmosphere::before{mask:none;-webkit-mask:none;background:radial-gradient(ellipse at 90% 2%,var(--admin-soft),transparent 55%),radial-gradient(ellipse at 0 80%,var(--admin-accent),transparent 50%);opacity:.12}
body.admin-themed[data-admin-background=aurora] .admin-atmosphere::after{background:none}
body.admin-themed[data-admin-background=texture] .admin-atmosphere::before{mask-size:190px;-webkit-mask-size:190px;opacity:.06}
.admin-spark{position:absolute;top:100px;right:4%;width:17px;height:28px;border:1px solid var(--admin-accent);border-radius:80% 0 80% 0;opacity:.17;animation:admin-drift 13s ease-in-out infinite alternate}
.admin-spark:nth-child(2){top:380px;right:46%;width:11px;height:17px;animation-delay:-6s;animation-duration:17s}
.admin-spark:nth-child(3){top:740px;right:9%;width:12px;height:20px;animation-delay:-9s;animation-duration:19s}
.admin-spark:nth-child(4){top:42px;right:65%;width:9px;height:15px;animation-delay:-3s;animation-duration:15s}
body.admin-themed[data-admin-industry=electronics] .admin-spark,body.admin-themed[data-admin-industry=home] .admin-spark,body.admin-themed[data-admin-industry=general] .admin-spark{border-radius:3px;width:16px;height:16px}
body.admin-themed[data-admin-industry=mother_baby] .admin-spark,body.admin-themed[data-admin-industry=food] .admin-spark{border-radius:50%;width:18px;height:18px}
body.admin-themed .main-header{background:var(--admin-surface)!important;backdrop-filter:none;box-shadow:0 3px 18px #392b3506;border-bottom-color:var(--admin-border)!important;gap:8px}
body.admin-themed .main-header .nav-link{color:var(--admin-muted)!important}
body.admin-themed .main-header .nav-link:hover{color:var(--admin-link)!important}
.admin-theme-chip{display:flex;align-items:center;gap:10px;min-width:0;line-height:1.4}
.admin-theme-chip strong{font-size:11px;display:block;font-weight:750;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-theme-chip small{font-size:9px;display:block;color:var(--admin-muted)}
.admin-theme-dot{width:10px;height:10px;border-radius:50%;flex:none;background:var(--admin-accent);box-shadow:0 0 0 5px var(--admin-tint);animation:admin-breathe 5s ease-in-out infinite}
.admin-toolbar-actions{align-items:center;gap:7px}.admin-toolbar-actions>.admin-logout-item{display:flex;align-items:center;padding:0 5px}
.admin-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--admin-border);border-radius:10px;background:var(--admin-surface);color:var(--admin-link);padding:8px 11px;min-height:35px;font:650 10px 'Plus Jakarta Sans',sans-serif;cursor:pointer;transition:transform .22s cubic-bezier(.2,.8,.2,1)}
.admin-tool-button:hover{color:var(--admin-link);background:var(--admin-tint);transform:translateY(-2px)}
.admin-tool-button[aria-pressed=true]{background:var(--admin-tint)}
body.admin-themed .main-sidebar{background:linear-gradient(170deg,var(--admin-sidebar),color-mix(in srgb,var(--admin-sidebar) 88%,#08070c))!important;box-shadow:5px 0 25px #28152515}
body.admin-themed .main-sidebar::before{inset:auto 0 0;width:100%;height:300px;box-shadow:none;border:0;border-radius:0;background:var(--admin-soft);mask:var(--admin-pattern) repeat;-webkit-mask:var(--admin-pattern) repeat;mask-size:220px;-webkit-mask-size:220px;opacity:.05;animation:none}
body.admin-themed .main-sidebar .brand-link{background:transparent;border-bottom-color:#ffffff12!important}
body.admin-themed .main-sidebar .brand-link .brand-text{font-family:'Plus Jakarta Sans',sans-serif}
body.admin-themed .invoice-sidebar .brand-text small,body.admin-themed .invoice-sidebar .nav-header{color:color-mix(in srgb,var(--admin-soft) 70%,#98909b)}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link{color:color-mix(in srgb,var(--admin-soft) 55%,#d5cbd4);transition:transform .24s cubic-bezier(.2,.8,.2,1);position:relative}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link.active,body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item.menu-open>.nav-link,body.admin-themed #nav li.active a{background:linear-gradient(110deg,var(--admin-accent),color-mix(in srgb,var(--admin-accent) 90%,#25212b))!important;color:var(--admin-on-accent)!important;box-shadow:0 5px 13px #08050d25}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link.active::after{content:'';position:absolute;right:9px;top:calc(50% - 3px);width:6px;height:6px;background:currentColor;border-radius:50%;animation:admin-marker .45s cubic-bezier(.2,.8,.2,1) both}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link .nav-icon{color:var(--admin-soft);background:#ffffff0c;transition:transform .25s ease}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link.active .nav-icon{color:var(--admin-on-accent);background:#ffffff16}
body.admin-themed .invoice-sidebar .nav-sidebar>.nav-item>.nav-link:hover .nav-icon{transform:rotate(-6deg) scale(1.07)}
body.admin-themed .main-sidebar .brand-mark::after{content:none}
.admin-brand-bloom{display:block;width:58px;height:58px;background:var(--admin-soft);mask:url('../store/brand/glow-bloom.svg') center/contain no-repeat;-webkit-mask:url('../store/brand/glow-bloom.svg') center/contain no-repeat}
body.admin-themed .main-footer{background:var(--admin-sidebar)!important;border-color:var(--admin-border);font-size:11px}
body.admin-themed .content-header h1{color:var(--admin-ink);font-size:24px;font-weight:800;animation:admin-title .55s cubic-bezier(.2,.8,.2,1) both}
body.admin-themed :is(.card,.idash-card,.is-card,.im-card,.ir-card,.iv-card,.if-card,.id-card,.ir-kpi,.id-metric,.info-box){background:var(--admin-surface);border:1px solid var(--admin-border)!important;border-radius:17px!important;box-shadow:var(--admin-shadow)!important;animation:none;transition:transform .28s cubic-bezier(.2,.8,.2,1)}
body.admin-themed .content :is(.card,.small-box,.info-box){animation:none}
body.admin-themed :is(.card-header,.card-footer,.is-card-head,.im-card-head,.ir-card-head,.modal-header,.modal-footer){background:linear-gradient(120deg,var(--admin-surface),var(--admin-tint));border-color:var(--admin-border)}
body.admin-themed #store-theme .is-card-head{background:linear-gradient(120deg,var(--admin-surface),var(--admin-tint))}
body.admin-themed :is(.card-title,.is-card-head h2,.im-card-head h2,.ir-card-head h2,.idash-title,.theme-editor-heading){color:var(--admin-ink)}
body.admin-themed .content :is(.idash-head h1,.im-head h1,.is-head h1,.ir-head h1){color:var(--admin-ink)}
body.admin-themed :is(.idash-icon:not([style]),.idash-box,.id-metric:not(.is-paid):not(.is-balance) .id-metric-icon){background:var(--admin-tint);color:var(--admin-link)}
body.admin-themed .idash-bar{background:linear-gradient(180deg,color-mix(in srgb,var(--admin-accent) 80%,white),var(--admin-accent))}
body.admin-themed .idash-donut::before{background:var(--admin-surface)}
body.admin-themed .id-metric::after{background:radial-gradient(ellipse,color-mix(in srgb,var(--admin-accent) 12%,transparent),transparent 70%)}
body.admin-themed :is(.idash-note,.idash-klabel,.idash-sub,.idash-month span,.idash-legend,.idash-donut span,.idash-empty,.im-sub,.im-help,.im-foot,.is-sub,.is-field>small,.ir-sub,.iv-sub,.id-sub,.if-hint,.id-metric-label,.id-metric-hint,.theme-editor-help,.theme-editor-status,.theme-banner-editor summary span){color:var(--admin-muted)}
body.admin-themed :is(.im-eyebrow,.is-eyebrow,.ir-eyebrow,.theme-editor-eyebrow,.id-total .grand,.im-price-now){color:var(--admin-link)}
body.admin-themed :is(.im-price-badge,.is-note,.if-taxbox,.id-note){background:var(--admin-tint);color:var(--admin-link);border-color:var(--admin-border)}
body.admin-themed :is(.btn,.idash-btn,.is-submit,.im-button,.ir-btn,.iv-btn,.ir-button,.if-button,.id-btn,.theme-preview-button){transition:transform .22s cubic-bezier(.2,.8,.2,1);border-radius:10px}
body.admin-themed :is(.btn-primary,.btn-info,.bg-primary,.bg-info,.bg-gradient-primary,.bg-gradient-info,.idash-btn,.is-submit,.im-button:not(.secondary):not(.danger),.ir-btn:not(.secondary):not(.danger),.iv-btn:not(.alt),.ir-button:not(.alt),.if-primary,.id-btn:not(.muted),.theme-editor-actions .is-submit){background:var(--admin-accent)!important;color:var(--admin-on-accent)!important;border-color:var(--admin-accent)!important;box-shadow:0 5px 12px -6px color-mix(in srgb,var(--admin-accent) 45%,transparent)}
body.admin-themed :is(.btn-light,.im-button.secondary,.ir-btn.secondary,.iv-btn.alt,.ir-button.alt,.if-light,.id-btn.muted,.theme-preview-button){background:var(--admin-surface);color:var(--admin-link)!important;border:1px solid var(--admin-border);box-shadow:none}
body.admin-themed .content :is(.text-primary,.text-info,.iv-num,.idash-table a,.im-table a,.ir-table a,.id-table a,.if-link){color:var(--admin-link)!important}
body.admin-themed :is(.form-control,.custom-select,.select2-container--bootstrap4 .select2-selection,.is-control,.im-control,.ir-control,.iv-input,.if-input,.id-input,.idash-select){background-color:var(--admin-surface);color:var(--admin-ink);border-color:var(--admin-border)!important;font-family:inherit}
body.admin-themed :is(.form-control,.custom-select,.is-control,.im-control,.ir-control,.iv-input,.if-input,.id-input,.idash-select):focus,body.admin-themed .select2-container--bootstrap4.select2-container--focus .select2-selection{border-color:var(--admin-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--admin-accent) 12%,transparent)!important;outline:none}
body.admin-themed :is(.is-field,.im-field,.ir-field,.if-field) label,body.admin-themed .form-group>label{color:var(--admin-link)}
body.admin-themed input[type=checkbox],body.admin-themed input[type=radio]{accent-color:var(--admin-accent)}
body.admin-themed .content-wrapper table.admin-table-header>thead,body.admin-themed .content-wrapper table.admin-table-header>thead>tr,body.admin-themed .content-wrapper table.admin-table-header>thead>tr>th,body.admin-themed .content-wrapper table.admin-table-header>thead>tr>td{background:var(--admin-tint)!important;color:var(--admin-link)!important;border-color:var(--admin-border)!important;box-shadow:none!important}
body.admin-themed .content-wrapper table tbody td{border-color:var(--admin-border)}
body.admin-themed .content-wrapper :is(.table-hover,.idash-table,.im-table,.ir-table,.iv-table,.id-table) tbody tr:hover{background:var(--admin-tint)!important;box-shadow:none}
body.admin-themed :is(.table-responsive,.theme-banner-editor,.theme-product-picker){border-color:var(--admin-border)}
body.admin-themed .theme-banner-editor{background:var(--admin-surface)}
body.admin-themed .theme-banner-editor summary{color:var(--admin-link)}
body.admin-themed :is(.im-page,.ir-page,.pagination .page-link){color:var(--admin-link);border-color:var(--admin-border);background:var(--admin-surface)}
body.admin-themed :is(.im-page.active,.ir-page.active,.ir-tabs a.active,.iv-pager strong,.ir-pager b,.pagination .page-item.active .page-link){background:var(--admin-accent);border-color:var(--admin-accent);color:var(--admin-on-accent)}
body.admin-themed .modal-content{background:var(--admin-surface);color:var(--admin-ink)}
body.admin-themed :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--admin-link);outline-offset:3px}
body.admin-themed .content .admin-enter{animation:admin-panel .6s cubic-bezier(.16,1,.3,1) var(--admin-enter-delay,0ms) both}
@keyframes admin-panel{from{opacity:0;transform:translate3d(0,15px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes admin-title{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@keyframes admin-marker{from{opacity:0;transform:translateX(-8px) scale(.3)}to{opacity:1;transform:none}}
@keyframes admin-breathe{0%,100%{opacity:.7;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
@keyframes admin-drift{from{transform:translate3d(0,0,0) rotate(-18deg)}to{transform:translate3d(-18px,30px,0) rotate(38deg)}}
@media(hover:hover) and (pointer:fine){body.admin-themed .content :is(.card,.idash-card,.is-card,.im-card,.ir-card,.iv-card,.if-card,.id-card,.ir-kpi,.id-metric,.info-box):hover{transform:translateY(-3px);border-color:var(--admin-border)!important;box-shadow:var(--admin-shadow)!important}body.admin-themed :is(.btn,.idash-btn,.is-submit,.im-button,.ir-btn,.iv-btn,.ir-button,.if-button,.id-btn,.theme-preview-button):hover:not(:disabled){transform:translateY(-2px)}}
body.admin-themed :is(.btn,.admin-tool-button,.idash-btn,.is-submit,.im-button,.ir-btn,.iv-btn,.ir-button,.if-button,.id-btn,.theme-preview-button):active:not(:disabled){transform:scale(.97)}
body.admin-themed.admin-motion-suspended :is(.admin-spark,.admin-theme-dot){animation-play-state:paused!important}
body.admin-themed.admin-motion-paused *,body.admin-themed.admin-motion-paused *::before,body.admin-themed.admin-motion-paused *::after{animation:none!important;transition:none!important}
body.admin-themed.admin-motion-paused .admin-enter{opacity:1;transform:none}
@media(max-width:767px){.admin-theme-chip strong{max-width:155px;font-size:10px}.admin-toolbar-actions{gap:4px}.admin-tool-button{width:34px;padding:8px}.admin-tool-button span{display:none}.admin-theme-chip{gap:9px}.admin-spark:nth-child(n+3){display:none}.admin-atmosphere::before{mask-size:260px;-webkit-mask-size:260px}}
@media(max-width:420px){.admin-theme-chip strong{max-width:105px}.admin-theme-chip small{max-width:110px;font-size:8px;line-height:1.5}.admin-themed .main-header{gap:2px}.admin-toolbar-actions .btn{font-size:10px;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){body.admin-themed *,body.admin-themed *::before,body.admin-themed *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}body.admin-themed .admin-enter{opacity:1;transform:none}}

/* Modern pages supply their own page heading; avoid a second title above it. */
body.admin-themed .content-wrapper:has(.content h1)>.content-header{display:none}
body.admin-themed .content-wrapper:has(.content h1)>.content{padding-top:24px}
/* Bootstrap controls and plugin states also consume the shared palette. */
body.admin-themed :is(.btn-outline-primary,.btn-outline-info){color:var(--admin-link);border-color:var(--admin-accent);background:transparent}
body.admin-themed :is(.btn-outline-primary,.btn-outline-info):hover,body.admin-themed .nav-pills .nav-link.active,body.admin-themed :is(.badge-primary,.badge-info,.progress-bar.bg-primary){background:var(--admin-accent)!important;color:var(--admin-on-accent)!important;border-color:var(--admin-accent)}
body.admin-themed .card.card-outline.card-primary,body.admin-themed .card.card-outline.card-info{border-top-color:var(--admin-accent)!important}
body.admin-themed .select2-container--bootstrap4 .select2-results__option--highlighted,body.admin-themed .daterangepicker td.active,body.admin-themed .daterangepicker td.active:hover,body.admin-themed .bootstrap-datetimepicker-widget table td.active{background:var(--admin-accent);color:var(--admin-on-accent)}
/* One consistent SweetAlert surface for all admin modules. */
body.admin-themed .swal2-popup{font-family:'Plus Jakarta Sans',system-ui,sans-serif;background:var(--admin-surface);color:var(--admin-ink);border:1px solid var(--admin-border);border-radius:18px;box-shadow:0 24px 80px #10243c30}
body.admin-themed .swal2-title{color:var(--admin-ink);font-size:23px;letter-spacing:-.035em}body.admin-themed .swal2-html-container{color:var(--admin-muted);font-size:14px;line-height:1.7}
body.admin-themed .swal2-actions{gap:8px}body.admin-themed .swal2-confirm{background:var(--admin-accent)!important;color:var(--admin-on-accent)!important;border-radius:9px;padding:10px 18px;font:inherit;font-weight:650}body.admin-themed .swal2-cancel{border-radius:9px;padding:10px 18px;font:inherit}body.admin-themed .swal2-loader{border-color:var(--admin-accent) transparent var(--admin-accent) transparent}
