:root{--primary-solid:#4f46e5;--info-solid:#0891b2;--success-solid:#059669;--warning-solid:#d97706;--danger-solid:#dc2626;--dark-solid:#334155;--link-solid:#2563eb;--card-shadow:0 4px 20px rgba(0,0,0,.08);--card-hover-shadow:0 12px 40px rgba(0,0,0,.12);--border-radius:16px;--border-radius-sm:12px;--border-radius-xs:10px;--border-radius-pill:50px}body{background:#f5f7fb;min-height:100vh;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,sans-serif}.admin-main{flex:1}.relative{position:relative}*,:after,:before{box-sizing:border-box}html{font-size:16px;-webkit-text-size-adjust:100%}a{color:inherit;text-decoration:none}img,video{max-width:100%}.container{width:min(1200px,calc(100% - 2rem));margin-inline:auto}.label{display:block;margin-bottom:.5rem;color:#334155;font-size:.875rem;font-weight:600}.table{width:100%;border-collapse:collapse}.table td,.table th{text-align:left}.image.is-3by2{position:relative;width:100%;aspect-ratio:3/2}.image.is-3by2 img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.is-hidden{display:none!important}.is-expanded{width:100%}.is-left{left:0}.page-header{background:var(--primary-solid);border-radius:var(--border-radius);padding:1.5rem 2rem;margin-bottom:2rem;color:#fff;box-shadow:0 10px 40px rgba(102,126,234,.3)}.page-header h1{color:#fff!important;margin-bottom:.5rem!important;font-weight:700;line-height:1.3}.admin-table,.card{border-radius:1rem;border:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05)}.admin-table table{width:100%;border-collapse:collapse}.admin-table thead th{position:sticky;top:0;border-bottom:1px solid #e2e8f0;padding:.75rem 1.25rem;text-align:left;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.admin-table tbody td{padding:1rem 1.25rem;vertical-align:middle;border-bottom:1px solid #f1f5f9}.admin-table tbody tr:last-child td{border-bottom:0}.admin-table tbody tr:hover{background:#f8fafc}.modern-tabs{background:#fff;border-radius:var(--border-radius-sm);padding:.5rem;box-shadow:0 2px 8px rgba(0,0,0,.04);display:inline-flex;gap:.25rem}.modern-tabs a{padding:.625rem 1.25rem;border-radius:8px;color:#64748b;font-weight:500;transition:all .2s;text-decoration:none}.modern-tabs a:hover{background:#f1f5f9;color:#334155}.modern-tabs a.is-active{background:var(--primary-solid);color:#fff}.section-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin-bottom:1.25rem;display:flex;align-items:center;gap:.75rem}.section-title .icon-box{width:36px;height:36px;border-radius:var(--border-radius-xs);display:flex;align-items:center;justify-content:center;font-size:1rem}.section-title .icon-box.primary{background:rgba(102,126,234,.15);color:#667eea}.section-title .icon-box.info{background:rgba(23,162,184,.15);color:#17a2b8}.section-title .icon-box.success{background:rgba(40,167,69,.15);color:#28a745}.section-title .icon-box.warning{background:rgba(255,193,7,.15);color:#d39e00}.section-title .icon-box.danger{background:rgba(220,53,69,.15);color:#dc3545}.empty-state{text-align:center;padding:3rem 2rem;color:#94a3b8}.empty-state>:first-child{height:5rem;width:5rem;font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state>button>:first-child{font-size:1.6rem;margin-bottom:0;opacity:.5}.empty-state p{font-size:1rem}.admin-navbar{box-shadow:0 2px 8px rgba(0,0,0,.04);height:80px;display:flex;align-items:center;justify-content:center}.admin-navbar,.admin-subnav{background:#fff;border-bottom:1px solid #edf2f7}.admin-subnav{padding:0;margin-bottom:1.5rem}.admin-subnav .container{display:flex;align-items:stretch;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.admin-subnav .container::-webkit-scrollbar{display:none}.admin-subnav .container{-ms-overflow-style:none;scrollbar-width:none}.media-library-modal-card{width:min(1180px,94vw);max-width:none}.media-library-body{display:flex;flex-direction:column;min-height:0;padding:1rem}.media-library-toolbar{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.media-library-toolbar-main{min-width:240px}.media-library-toolbar-buttons{justify-content:flex-end}.media-library-status{border-radius:12px;padding:.75rem 1rem;margin-bottom:1rem;font-size:.875rem}.media-library-status.is-success{background:#ecfdf5;color:#166534}.media-library-status.is-danger{background:#fef2f2;color:#991b1b}.media-library-status.is-info{background:#eff6ff;color:#1d4ed8}.media-library-empty{min-height:320px;border:1px dashed #d1d5db;border-radius:16px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;padding:2rem;grid-column:1/-1}.media-library-folder-tile,.media-library-tile{position:relative;width:100%;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:0;overflow:hidden;text-align:left;transition:all .2s ease;cursor:pointer;box-shadow:0 12px 30px rgba(15,23,42,.04)}.media-library-folder-tile:hover,.media-library-tile.is-selected,.media-library-tile:hover{border-color:#667eea;transform:translateY(-1px);box-shadow:0 16px 36px rgba(102,126,234,.14)}.media-library-folder-tile{display:flex;flex-direction:column;justify-content:center;gap:.35rem;min-height:170px;padding:1rem}.media-library-folder-tile-icon>span{color:#f59e0b}.media-library-folder-tile small{color:#64748b}.media-library-thumb{position:relative;aspect-ratio:1;background:#f8fafc}.media-library-select-toggle{position:absolute;top:.75rem;left:.75rem;z-index:2;display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;background:hsla(0,0%,100%,.92);border-radius:999px;font-size:.72rem;color:#334155;box-shadow:0 8px 18px rgba(15,23,42,.08)}.media-library-select-toggle input{margin:0}.media-library-thumb img,.media-library-thumb video{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.media-library-video-badge{position:absolute;right:.75rem;bottom:.75rem;width:36px;height:36px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;display:inline-flex;align-items:center;justify-content:center}.media-library-tile-body{padding:.875rem;display:flex;flex-direction:column;gap:.35rem}.media-library-tile-body span,.media-library-tile-body strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-library-tile-body span{color:#64748b;font-size:.75rem}.media-library-footer{justify-content:flex-end}.media-library-window{display:flex;flex-direction:column;flex:1;min-height:0;gap:.9rem}.media-library-window-nav,.media-library-window-statusbar{border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;padding:.4rem 1rem}.media-library-window-nav{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.media-library-filter-bar{min-width:360px;flex:1}.media-library-window-main{display:grid;grid-template-columns:220px minmax(0,1fr);flex:1;min-height:0;max-height:calc(100vh - 18rem);border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff}.media-library-tree-panel{background:#f8fafc;padding:1rem;border-right:1px solid #e5e7eb}.media-library-files-panel,.media-library-tree-panel{min-height:0}.media-library-file-list,.media-library-tree-panel #media-library-tree{overflow:auto}.media-library-tree-link,.media-library-tree-root{display:flex;align-items:center;gap:.5rem;border-radius:10px;padding:.42rem .6rem;color:#1e293b}.media-library-tree-link:hover,.media-library-tree-root:hover{background:#e8eefc}.media-library-tree-node.is-current>.media-library-tree-row .media-library-tree-link,.media-library-tree-root.is-current{background:#dbeafe;color:#1d4ed8;font-weight:600}.media-library-tree-list{margin:0;padding-left:.85rem}.media-library-tree-row{display:flex;align-items:center;gap:.2rem}.media-library-tree-toggle{width:26px;height:26px;border:none;border-radius:8px;background:transparent;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.media-library-tree-toggle:hover{background:#e2e8f0;color:#334155}.media-library-tree-toggle>span{transition:transform .15s ease}.media-library-tree-toggle.is-expanded>span{transform:rotate(90deg)}.media-library-tree-toggle.is-empty{visibility:hidden}.media-library-tree-children.is-collapsed{display:none}.media-library-tree-node{list-style:none}.media-library-tree-node.is-ancestor>.media-library-tree-row .media-library-tree-link{background:rgba(219,234,254,.55)}.media-library-files-panel{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;background:#fff}.media-library-file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;background:#f8fafc}.media-library-file-header,.media-library-file-row,.media-library-folder-row{display:grid;grid-template-columns:46px minmax(220px,2fr) 140px 100px 90px;gap:.75rem;align-items:center}.media-library-file-header{padding:.75rem 1rem;border-bottom:1px solid #e5e7eb;background:#f8fafc;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.media-library-file-header.hidden{display:none}.explorer-sort-button,.media-library-sort-button{display:inline-flex;width:100%;min-width:0;align-items:center;justify-content:space-between;gap:.5rem;border:0;border-radius:6px;background:transparent;color:inherit;padding:.3rem .4rem;margin:-.3rem -.4rem;text-align:left;transition:background .15s ease,color .15s ease}.explorer-sort-button:hover,.media-library-sort-button:hover{background:#e2e8f0;color:#0f172a}.explorer-sort-button.is-active,.media-library-sort-button.is-active{color:#2563eb}.explorer-sort-indicator{width:.75rem;flex:0 0 0.75rem;font-size:.68rem;text-align:center;opacity:0}.explorer-sort-button.is-active .explorer-sort-indicator,.explorer-sort-button:hover .explorer-sort-indicator,.media-library-sort-button.is-active .explorer-sort-indicator,.media-library-sort-button:hover .explorer-sort-indicator{opacity:1}.media-library-file-list{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.media-library-file-list.is-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:.9rem;padding:1rem;align-content:start;background:#f8fafc}.media-library-file-row,.media-library-folder-row{padding:.8rem 1rem;border-bottom:1px solid #eef2f7;background:#fff;transition:background .18s ease;cursor:pointer;text-align:left}.media-library-file-row.is-selected,.media-library-file-row:hover,.media-library-folder-row:hover{background:#eef5ff}.media-library-folder-row{color:#0f172a}.media-library-file-col{min-width:0}.media-library-file-col.check{display:flex;align-items:center;justify-content:center}.media-library-file-col.check .media-library-select-toggle{position:static;top:auto;left:auto;padding:0;background:transparent;border-radius:0;box-shadow:none}.media-library-file-col.name{display:flex;align-items:center;gap:.75rem}.media-library-row-icon{width:40px;height:40px;border-radius:10px;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;overflow:hidden;flex-shrink:0}.media-library-row-icon.folder{color:#f59e0b}.media-library-row-icon.video{color:#0f766e}.media-library-row-icon.image img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.media-library-row-name{min-width:0;display:flex;flex-direction:column;gap:.18rem}.media-library-row-name span,.media-library-row-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-library-row-name span{font-size:.75rem;color:#64748b}.media-library-file-tile,.media-library-folder-tile-explorer{box-shadow:none;border-radius:14px}.media-library-folder-tile-explorer{min-height:0;align-items:flex-start;padding:1rem}.media-library-folder-tile-icon{width:56px;height:56px;border-radius:16px;background:#fef3c7;display:inline-flex;align-items:center;justify-content:center;color:#b45309}.media-library-file-tile .media-library-thumb{aspect-ratio:4/3}.media-library-file-tile.is-selected{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.14)}.media-library-file-tile .media-library-select-toggle{position:absolute}.media-library-window-statusbar{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;color:#475569;font-size:.84rem}.admin-nav-toggle{flex-direction:column;gap:4px}.admin-nav-toggle>span{display:block;width:18px;height:2px;border-radius:999px;background:currentColor;transition:transform .2s ease,opacity .2s ease}.admin-nav-toggle.is-active>span:first-child{transform:translateY(6px) rotate(45deg)}.admin-nav-toggle.is-active>span:nth-child(2){opacity:0}.admin-nav-toggle.is-active>span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}.admin-nav-mobile-header{align-items:center;justify-content:space-between;gap:1rem;padding:.35rem .35rem .9rem;border-bottom:1px solid #e2e8f0}.admin-nav-mobile-header span,.admin-nav-mobile-header strong{display:block}.admin-nav-mobile-header strong{color:#0f172a;font-size:1rem}.admin-nav-mobile-header span{margin-top:.15rem;color:#94a3b8;font-size:.75rem}.admin-nav-backdrop{position:fixed;inset:0;z-index:1001;width:100%;border:0;background:rgba(15,23,42,.52);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}[data-profile-menu].is-open .admin-profile-dropdown{visibility:visible;opacity:1}.admin-main :where(button,a,input,select,textarea):focus-visible,.admin-navbar :where(button,a):focus-visible,.admin-subnav a:focus-visible{outline:3px solid rgba(99,102,241,.28);outline-offset:2px}.admin-table .overflow-x-auto,.admin-table>.overflow-x-auto{-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}@media screen and (max-width:1023px){body.admin-nav-open{overflow:hidden;touch-action:none}.admin-navbar{position:sticky;top:0;z-index:1000;height:68px}.admin-navbar-inner{width:calc(100% - 1rem);padding-block:.55rem}.admin-navbar-brand{min-width:0}.admin-navbar .logo-link{padding:.35rem}.admin-navbar .logo-link img{width:auto;max-width:min(48vw,190px);height:32px;-o-object-fit:contain;object-fit:contain}.admin-nav-menu{position:fixed;inset:0 0 0 auto;z-index:1002;width:min(88vw,360px)!important;height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;border:0!important;border-radius:24px 0 0 24px!important;padding:max(.9rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom))!important;box-shadow:-24px 0 60px rgba(15,23,42,.22)!important;animation:admin-drawer-in .2s ease-out}.admin-nav-mobile-header{display:flex}.admin-nav-menu>div:nth-child(2)>a{min-height:48px;padding-inline:1rem}.admin-profile-area{margin-top:auto;padding-top:.75rem;border-top:1px solid #e2e8f0}.admin-profile-dropdown{position:static!important;width:100%;min-width:0!important;max-height:0;overflow:hidden;padding-top:0!important;pointer-events:none;transform:translateY(-4px)}[data-profile-menu].is-open .admin-profile-dropdown{max-height:240px;padding-top:.5rem!important;pointer-events:auto;transform:translateY(0)}.admin-profile-dropdown>div{box-shadow:none}.admin-subnav{position:sticky;top:68px;z-index:40;margin-bottom:0;box-shadow:0 5px 16px rgba(15,23,42,.04)}.admin-subnav .container{width:100%;padding-inline:.5rem;scroll-snap-type:x proximity}.admin-subnav a{min-height:46px;scroll-snap-align:start}.media-library-window-main{grid-template-columns:minmax(0,1fr)}.media-library-tree-panel{display:none}.explorer-main{grid-template-columns:minmax(0,1fr);min-height:0}.explorer-sidebar{display:none}.explorer-filter-bar{width:100%;min-width:0}}@keyframes admin-drawer-in{0%{transform:translateX(24px);opacity:0}to{transform:translateX(0);opacity:1}}@media screen and (max-width:768px){:root{--border-radius:14px;--border-radius-sm:12px}.container{width:calc(100% - 1rem)}.admin-content-section{padding:1rem .25rem 1.5rem!important}.dashboard-header,.page-header{margin-bottom:1rem;padding:1.1rem!important;border-radius:14px;box-shadow:0 8px 24px rgba(76,81,191,.2)}.dashboard-header h1,.page-header h1{font-size:1.35rem!important;line-height:1.35}.dashboard-header p,.page-header p{line-height:1.55}.header-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.6rem!important}.header-actions>*{min-width:0;justify-content:center;text-align:center}.admin-main .card.p-6,.admin-main .card.p-8,.admin-main .rounded-2xl.p-6,.admin-main .rounded-2xl.p-8{padding:1rem!important}.admin-main :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;font-size:16px!important}.admin-main :where(button,input,select,textarea),.admin-navbar button{touch-action:manipulation}.section-title{margin-bottom:1rem;font-size:1rem;gap:.6rem}.section-title .icon-box{width:34px;height:34px}.admin-main .grid.grid-cols-2{grid-template-columns:minmax(0,1fr)}.admin-table{border-radius:12px}.admin-table table{min-width:680px}.admin-table thead th{padding:.7rem .85rem}.admin-table tbody td{padding:.85rem}.admin-table>.flex,.admin-table>.flex>.flex{align-items:stretch}.admin-table>.flex button{min-height:42px;flex:1 1 auto;justify-content:center}.modern-tabs{margin-bottom:1rem;padding:.35rem;scroll-snap-type:x proximity}.modern-tabs a{flex:0 0 auto;min-height:42px;padding:.65rem 1rem;scroll-snap-align:start}.stat-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:.15rem .9rem;min-height:104px;padding:1rem}.quick-action:hover,.stat-card:hover{transform:none}.stat-icon{grid-row:1/span 3;width:46px;height:46px;margin:0;font-size:1.1rem}.stat-value{font-size:1.8rem}.stat-label,.stat-value{grid-column:2}.stat-badge,.stat-card>a{grid-column:3;align-self:center;margin-top:0!important;white-space:nowrap}.stat-badge{grid-row:1}.stat-card>a{grid-row:2}.quick-action{min-height:70px;padding:.85rem 1rem}.activity-card{padding:1rem}.footer{padding-block:1rem!important}.footer p{font-size:.8rem}#editor-wrapper .jodit-toolbar__box{overflow-x:auto;-webkit-overflow-scrolling:touch}#editor-wrapper .jodit-toolbar-editor-collection{min-width:-moz-max-content;min-width:max-content}#media-library-modal,#product-selector-modal{padding:0!important}#product-selector-modal>.relative.z-10,.media-library-modal-card{width:100vw!important;height:100dvh;max-height:100dvh!important;border-radius:0!important}#product-selector-modal header,.media-library-modal-card>header{padding:max(.75rem,env(safe-area-inset-top)) 1rem .75rem!important}#product-selector-modal header button,.media-library-modal-card>header button{width:40px!important;height:40px!important;flex-shrink:0}.media-library-body{padding:.6rem}.media-library-window{gap:.6rem}.media-library-window-nav,.media-library-window-statusbar{padding:.55rem;border-radius:10px}.media-library-window-nav>div:first-child button{width:40px!important;height:40px!important}.media-library-toolbar{gap:.6rem}.media-library-toolbar-buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.5rem!important}.media-library-toolbar-buttons>*{width:auto;min-height:42px;justify-content:center;padding-inline:.65rem}.media-library-filter-bar{display:grid!important;grid-template-columns:1fr 1fr;width:100%;min-width:0;gap:.5rem!important}.media-library-filter-bar>input{grid-column:1/-1;min-width:0!important}.media-library-filter-bar>select{min-width:0!important}.media-library-window-main{max-height:none;border-radius:12px}.media-library-file-list.is-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;padding:.6rem}#product-selector-modal footer,.media-library-footer{padding:.75rem 1rem max(.75rem,env(safe-area-inset-bottom))!important}#product-selector-modal footer>*,.media-library-footer>*{min-height:44px;flex:1}#product-selector-modal>.relative.z-10>section{gap:.65rem;padding:.75rem!important;overflow-y:auto}#product-selector-modal>.relative.z-10>section>.grid:last-child{display:flex;min-height:520px;flex-direction:column}#product-selector-modal>.relative.z-10>section>.grid:last-child>div{min-height:330px}#product-selector-modal>.relative.z-10>section>.grid:last-child>aside{min-height:170px;max-height:220px}.explorer-toolbar,.explorer-topbar{align-items:stretch;padding:.75rem}.explorer-breadcrumbs,.explorer-toolbar>div:first-child,.explorer-topbar-left{width:100%;min-width:0}.explorer-toolbar>div:first-child{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem!important}.explorer-toolbar>div:first-child>*{justify-content:center;min-width:0;padding-inline:.65rem}.explorer-folder-strip{display:grid;grid-template-columns:minmax(0,1fr);padding:.75rem .75rem 0}.explorer-folder-chip,.explorer-folder-chip-wrap{width:100%;min-width:0}.explorer-file-header{display:flex;gap:.4rem;overflow-x:auto;padding:.65rem .75rem;scrollbar-width:none}.explorer-file-header::-webkit-scrollbar{display:none}.explorer-file-header>.explorer-check-cell,.explorer-file-header>[role=columnheader]:last-child{display:none}.explorer-file-header>[role=columnheader]{flex:0 0 auto}.explorer-file-header .explorer-sort-button{width:auto;margin:0;border:1px solid #e2e8f0;background:#fff;padding:.45rem .65rem}.explorer-file-row{grid-template-columns:34px minmax(0,1fr) auto;gap:.55rem;padding:.75rem}.explorer-file-row>:nth-child(3),.explorer-file-row>:nth-child(4),.explorer-file-row>:nth-child(5){display:none}.explorer-thumb{width:42px;height:42px}.explorer-actions{gap:.25rem}.explorer-actions button{width:40px!important;height:40px!important}.login-container{padding:max(1rem,env(safe-area-inset-top)) .75rem max(1rem,env(safe-area-inset-bottom))}.login-card{padding:1.5rem 1.1rem}}:root{--admin-sidebar-width:256px;--admin-sidebar-collapsed-width:72px;--admin-topbar-height:68px}.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:1100;display:flex;width:var(--admin-sidebar-width);min-width:0;flex-direction:column;overflow:hidden;border-right:1px solid #e2e8f0;background:#fff;box-shadow:8px 0 30px rgba(15,23,42,.04);transition:width .2s ease,transform .2s ease}.admin-sidebar-header{display:flex;min-height:var(--admin-topbar-height);align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem 1rem;border-bottom:1px solid #eef2f7}.admin-sidebar-brand{display:flex;min-width:0;align-items:center;overflow:hidden;border-radius:.75rem}.admin-sidebar-brand-logo{width:auto;max-width:174px;height:35px;-o-object-fit:contain;object-fit:contain;-o-object-position:left center;object-position:left center}.admin-sidebar-brand-icon{display:none;width:40px;height:40px;-o-object-fit:contain;object-fit:contain}.admin-sidebar-close{display:none;width:40px;height:40px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:.75rem;background:#f1f5f9;color:#475569}.admin-sidebar-nav{flex:1;overflow-x:hidden;overflow-y:auto;padding:.8rem;overscroll-behavior:contain;-ms-overflow-style:none;scrollbar-width:none}.admin-sidebar-nav::-webkit-scrollbar{display:none;width:0;height:0}.admin-sidebar-dashboard,.admin-sidebar-group>summary{position:relative;display:flex;min-height:44px;align-items:center;gap:.8rem;border-radius:.8rem;color:#475569;padding:.65rem .75rem;font-size:.875rem;font-weight:700;cursor:pointer;list-style:none;transition:background .15s ease,color .15s ease}.admin-sidebar-group>summary::-webkit-details-marker{display:none}.admin-sidebar-dashboard:hover,.admin-sidebar-group>summary:hover{background:#f8fafc;color:#0f172a}.admin-sidebar-dashboard.is-active,.admin-sidebar-group.is-active>summary{background:#eef2ff;color:#4f46e5}.admin-nav-icon{display:inline-flex;width:24px;height:24px;flex:0 0 24px;align-items:center;justify-content:center;font-size:.96rem}.admin-nav-label{min-width:0;flex:1;white-space:nowrap}.admin-nav-chevron{font-size:.68rem;transition:transform .15s ease}.admin-sidebar-group[open]>summary .admin-nav-chevron{transform:rotate(180deg)}.admin-sidebar-group+.admin-sidebar-group{margin-top:.18rem}.admin-sidebar-items{display:grid;gap:.12rem;margin:.15rem 0 .45rem;padding-left:1.6rem}.admin-sidebar-item{position:relative;display:flex;min-height:36px;align-items:center;gap:.55rem;border-radius:.65rem;color:#64748b;padding:.48rem .65rem;font-size:.82rem;font-weight:600}.admin-sidebar-item:hover{background:#f8fafc;color:#1e293b}.admin-sidebar-item.is-active{background:#f5f3ff;color:#4f46e5}.admin-item-marker{width:5px;height:5px;flex:0 0 auto;border-radius:999px;background:#cbd5e1}.admin-sidebar-item.is-active .admin-item-marker{background:currentColor;box-shadow:0 0 0 3px rgba(99,102,241,.12)}.admin-legacy-navigation{display:grid;gap:.15rem;border-top:1px dashed #e2e8f0;margin-top:.35rem;padding-top:.35rem}.admin-legacy-navigation a{display:flex;min-height:36px;align-items:center;border-radius:.65rem;color:#64748b;padding:.48rem .65rem;font-size:.82rem;font-weight:600}.admin-legacy-navigation a:hover{background:#f8fafc;color:#1e293b}.admin-sidebar-footer{padding:.75rem 1rem max(.75rem,env(safe-area-inset-bottom));border-top:1px solid #eef2f7}.admin-sidebar-version{display:block;overflow:hidden;color:#94a3b8;font-size:.68rem;white-space:nowrap;text-align:center}.admin-topbar{position:sticky;top:0;z-index:1000;display:flex;min-height:var(--admin-topbar-height);align-items:center;justify-content:space-between;gap:1rem;margin-left:var(--admin-sidebar-width);border-bottom:1px solid rgba(226,232,240,.9);background:hsla(0,0%,100%,.94);padding:.65rem clamp(1rem,2.5vw,2rem);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:margin-left .2s ease}.admin-topbar-actions,.admin-topbar-leading{display:flex;min-width:0;align-items:center;gap:.75rem}.admin-sidebar-toggle{display:inline-flex;width:42px;height:42px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:.8rem;background:#fff;color:#475569}.admin-sidebar-toggle:hover{background:#f8fafc;color:#0f172a}.admin-topbar-title{display:grid;min-width:0}.admin-topbar-title span{color:#94a3b8;font-size:.68rem;font-weight:700;letter-spacing:.08em}.admin-topbar-title strong{overflow:hidden;color:#172033;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.admin-profile-toggle,.admin-topbar-site{display:inline-flex;min-height:40px;align-items:center;gap:.55rem;border:1px solid #e2e8f0;border-radius:.78rem;background:#fff;color:#475569;padding:.55rem .8rem;font-size:.8rem;font-weight:700}.admin-profile-toggle:hover,.admin-topbar-site:hover{background:#f8fafc;color:#0f172a}.admin-profile-menu{position:relative}.admin-profile-dropdown{position:absolute;top:calc(100% + .45rem);right:0;z-index:1200;visibility:hidden;min-width:190px;opacity:0;transform:translateY(-4px);transition:opacity .15s ease,transform .15s ease,visibility .15s}.admin-profile-menu.is-open .admin-profile-dropdown{visibility:visible;opacity:1;transform:translateY(0)}.admin-profile-dropdown>div{display:grid;gap:.2rem;border:1px solid #e2e8f0;border-radius:.9rem;background:#fff;padding:.4rem;box-shadow:0 16px 38px rgba(15,23,42,.14)}.admin-profile-dropdown a,.admin-profile-dropdown button{display:flex;min-height:39px;align-items:center;gap:.65rem;border:0;border-radius:.65rem;background:transparent;color:#475569;padding:.55rem .7rem;text-align:left;font-size:.82rem;font-weight:650;cursor:pointer}.admin-profile-dropdown a:hover{background:#f8fafc;color:#0f172a}.admin-profile-dropdown button{color:#e11d48}.admin-profile-dropdown button:hover{background:#fff1f2}body>.admin-main,body>.footer{min-width:0;margin-left:var(--admin-sidebar-width);transition:margin-left .2s ease}body>.admin-main{width:auto}.admin-content-section{min-width:0;overflow-x:clip}.admin-sidebar-backdrop{display:none}.admin-sidebar :where(a,summary,button):focus-visible,.admin-topbar :where(a,button):focus-visible{outline:3px solid rgba(99,102,241,.25);outline-offset:2px}@media (min-width:1024px){html.admin-sidebar-collapsed .admin-sidebar{width:var(--admin-sidebar-collapsed-width)}html.admin-sidebar-collapsed .admin-sidebar-header{justify-content:center;padding-inline:.75rem}html.admin-sidebar-collapsed .admin-sidebar-brand-logo{display:none}html.admin-sidebar-collapsed .admin-sidebar-brand-icon{display:block}html.admin-sidebar-collapsed .admin-nav-chevron,html.admin-sidebar-collapsed .admin-nav-label,html.admin-sidebar-collapsed .admin-sidebar-items,html.admin-sidebar-collapsed .admin-sidebar-version{display:none}html.admin-sidebar-collapsed .admin-sidebar-dashboard,html.admin-sidebar-collapsed .admin-sidebar-group>summary{justify-content:center;padding-inline:.65rem}html.admin-sidebar-collapsed .admin-topbar,html.admin-sidebar-collapsed body>.admin-main,html.admin-sidebar-collapsed body>.footer{margin-left:var(--admin-sidebar-collapsed-width)}html.admin-sidebar-collapsed [data-tooltip]:after{position:absolute;top:50%;left:calc(100% + .7rem);z-index:1300;visibility:hidden;border-radius:.5rem;background:#0f172a;color:#fff;padding:.42rem .6rem;box-shadow:0 8px 22px rgba(15,23,42,.22);content:attr(data-tooltip);font-size:.74rem;font-weight:650;opacity:0;pointer-events:none;transform:translate(.25rem,-50%);transition:opacity .12s ease,transform .12s ease,visibility .12s;white-space:nowrap}html.admin-sidebar-collapsed [data-tooltip]:focus-visible:after,html.admin-sidebar-collapsed [data-tooltip]:hover:after{visibility:visible;opacity:1;transform:translateY(-50%)}}@media (max-width:1023px){.admin-sidebar{width:min(86vw,296px);transform:translateX(-105%);box-shadow:22px 0 55px rgba(15,23,42,.2)}.admin-sidebar-close{display:inline-flex}.admin-sidebar-backdrop{position:fixed;inset:0;z-index:1090;width:100%;border:0;background:rgba(15,23,42,.54);opacity:0;pointer-events:none;transition:opacity .2s ease}body.admin-sidebar-open{overflow:hidden}body.admin-sidebar-open .admin-sidebar{transform:translateX(0)}body.admin-sidebar-open .admin-sidebar-backdrop{display:block;opacity:1;pointer-events:auto}#adminSidebar:target{transform:translateX(0)}#adminSidebar:target+.admin-sidebar-backdrop{display:block;opacity:1;pointer-events:auto}.admin-topbar,body>.admin-main,body>.footer{margin-left:0}.admin-topbar{padding-inline:.75rem}.admin-profile-toggle>span,.admin-topbar-site>span{display:none}.admin-profile-toggle,.admin-topbar-site{width:40px;justify-content:center;padding-inline:0}.admin-profile-toggle .fa-chevron-down{display:none}.admin-topbar .admin-profile-dropdown{position:absolute!important;width:auto;min-width:190px!important;max-height:none;overflow:visible;padding-top:0!important;pointer-events:auto}}@media (max-width:420px){.admin-topbar-title span{display:none}.admin-topbar-title strong{max-width:42vw}}@media (prefers-reduced-motion:reduce){.admin-sidebar,.admin-sidebar-backdrop,.admin-topbar,body>.admin-main,body>.footer{transition:none}}@media screen and (max-width:480px){.header-actions{grid-template-columns:minmax(0,1fr)}.stat-card{grid-template-columns:44px minmax(0,1fr)}.stat-icon{width:44px;height:44px}.stat-badge,.stat-card>a{grid-column:2;grid-row:auto;justify-self:start;margin-top:.35rem!important}.media-library-toolbar-buttons{grid-template-columns:minmax(0,1fr)}.explorer-actions button:nth-child(2){display:none}}@media screen and (max-width:640px){.admin-table .overflow-x-auto,.admin-table>.overflow-x-auto{overflow:visible}.responsive-admin-table{display:block;min-width:0!important;background:#f1f5f9}.responsive-admin-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.responsive-admin-table tbody{display:grid;gap:.75rem;padding:.75rem}.responsive-admin-table tbody tr{position:relative;display:block;overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.responsive-admin-table tbody tr:hover{background:#fff}.responsive-admin-table tbody td{display:grid;grid-template-columns:minmax(76px,.32fr) minmax(0,1fr);align-items:start;gap:.75rem;width:100%;min-width:0;padding:.7rem .85rem;border-bottom:1px solid #f1f5f9;white-space:normal}.responsive-admin-table tbody td:before{content:attr(data-mobile-label);color:#94a3b8;font-size:.72rem;font-weight:700;line-height:1.5;text-transform:uppercase;letter-spacing:.04em}.responsive-admin-table tbody td:last-child{border-bottom:0}.responsive-admin-table .mobile-selection-cell{position:absolute;top:.75rem;right:.75rem;z-index:2;display:block;width:auto;padding:0;border:0}.responsive-admin-table .mobile-action-cell:before,.responsive-admin-table .mobile-full-cell:before,.responsive-admin-table .mobile-selection-cell:before{display:none}.responsive-admin-table .mobile-action-cell{display:block;padding-top:.8rem;background:#f8fafc}.responsive-admin-table .mobile-action-cell>:where(div,form){justify-content:flex-start}.responsive-admin-table .mobile-action-cell :where(a,button){min-width:40px;min-height:40px;justify-content:center}.responsive-admin-table .mobile-full-cell{display:block;padding:1.25rem;text-align:center}}@media screen and (max-width:374px){.admin-nav-menu{width:100vw!important;border-radius:0!important}.admin-subnav a{padding-inline:.75rem}.media-library-file-list.is-tiles{grid-template-columns:minmax(0,1fr)}}#media-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.media-item{aspect-ratio:1/1;border:2px solid #e5e7eb;border-radius:var(--border-radius-sm);overflow:hidden;background:#fff;cursor:grab;position:relative;transition:all .2s}.media-item:hover{border-color:#667eea}.media-item img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.media-remove-btn{position:absolute;top:.5rem;right:.5rem;z-index:10;width:1.9rem;height:1.9rem;border:1px solid hsla(0,0%,100%,.9);border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(239,68,68,.96);color:#fff;box-shadow:0 8px 18px rgba(239,68,68,.3);transition:transform .16s ease,background-color .16s ease,box-shadow .16s ease}.media-remove-btn:hover{background:#dc2626;box-shadow:0 10px 20px rgba(220,38,38,.34);transform:scale(1.06)}.media-remove-btn:focus-visible{outline:2px solid hsla(0,91%,71%,.45);outline-offset:2px}.media-remove-btn i{pointer-events:none}.media-add-btn{aspect-ratio:1/1;border:2px dashed #d1d5db;border-radius:var(--border-radius-sm);display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fafafa;transition:all .2s}.media-add-btn:hover{border-color:#667eea;background:rgba(102,126,234,.05)}.media-placeholder{border:2px dashed #d1d5db;border-radius:var(--border-radius-sm);padding:40px;text-align:center;background:#fafafa}.stat-mini{gap:1rem;padding:1rem;background:#f8fafc}.stat-mini,.stat-mini .icon-box{display:flex;align-items:center;border-radius:var(--border-radius-sm)}.stat-mini .icon-box{width:48px;height:48px;justify-content:center;font-size:1.25rem;color:#fff}.stat-mini .stat-info .value{font-size:1.5rem;font-weight:700;color:#1e293b;line-height:1}.stat-mini .stat-info .label{font-size:.75rem;color:#64748b;margin-top:.25rem}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}body.login-page{background:#eef2ff!important}.login-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.login-card{background:#fff;border-radius:24px;box-shadow:0 25px 80px rgba(0,0,0,.3);padding:3rem;width:100%;max-width:420px;animation:slideUp .5s ease}.login-logo{text-align:center;margin-bottom:2rem}.login-logo .icon-wrap{width:80px;height:80px;background:#4f46e5;border-radius:20px;display:inline-flex;align-items:center;justify-content:center;font-size:2rem;color:#fff;margin-bottom:1rem;box-shadow:0 10px 30px rgba(102,126,234,.4)}.login-logo h1{font-size:1.75rem;font-weight:700;color:#1e293b;margin-bottom:.25rem}.login-logo p{color:#94a3b8;font-size:.875rem}.login-btn{width:100%;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;border-radius:12px;background:#4f46e5;border:none;color:#fff;cursor:pointer;transition:all .3s;margin-top:.5rem}.login-btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(102,126,234,.4)}.login-footer{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #f1f5f9}.login-footer a{color:#667eea;font-size:.875rem}.dashboard-header{background:#4f46e5;border-radius:var(--border-radius);padding:2rem;margin-bottom:2rem;color:#fff;box-shadow:0 10px 40px rgba(102,126,234,.3)}.dashboard-header h1{color:#fff!important;margin-bottom:.5rem}.dashboard-header .subtitle{color:hsla(0,0%,100%,.85)}.stat-card{background:#fff;border-radius:var(--border-radius);padding:1.5rem;box-shadow:var(--card-shadow);border:1px solid rgba(0,0,0,.04);transition:all .3s ease;height:100%;position:relative;overflow:hidden}.stat-card:hover{transform:translateY(-4px);box-shadow:var(--card-hover-shadow)}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;border-radius:var(--border-radius) var(--border-radius) 0 0}.stat-card.primary:before{background:#4f46e5}.stat-card.info:before{background:#0891b2}.stat-card.success:before{background:#059669}.stat-card.warning:before{background:#d97706}.stat-card.danger:before{background:#dc2626}.stat-card.link:before{background:#2563eb}.stat-card.dark:before{background:#334155}.stat-icon{width:56px;height:56px;border-radius:var(--border-radius-sm);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:1rem}.stat-icon.primary{background:#4f46e5;color:#fff}.stat-icon.info{background:#0891b2;color:#fff}.stat-icon.success{background:#059669;color:#fff}.stat-icon.warning{background:#d97706;color:#fff}.stat-icon.danger{background:#dc2626;color:#fff}.stat-icon.link{background:#2563eb;color:#fff}.stat-icon.dark{background:#334155;color:#fff}.stat-value{font-size:2.5rem;font-weight:700;line-height:1;margin-bottom:.25rem;color:#1e293b}.stat-label{font-size:.875rem;color:#718096;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.stat-badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:var(--border-radius-pill);font-size:.75rem;font-weight:600;margin-top:.75rem}.stat-badge.up{background:rgba(40,167,69,.1);color:#28a745}.stat-badge.down{background:rgba(220,53,69,.1);color:#dc3545}.stat-badge.neutral{background:hsla(208,7%,46%,.1);color:#6c757d}.activity-card{background:#fff;border-radius:var(--border-radius);padding:1.5rem;box-shadow:var(--card-shadow);border:1px solid rgba(0,0,0,.04)}.activity-card h3{font-size:1rem;font-weight:600;color:#4a5568;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.activity-stat{text-align:center;padding:1rem;border-radius:var(--border-radius-sm);background:#f7fafc;transition:all .2s}.activity-stat:hover{background:#edf2f7}.activity-stat .value{font-size:1.75rem;font-weight:700;color:#2d3748}.activity-stat .label{font-size:.75rem;color:#718096;text-transform:uppercase;letter-spacing:.5px;margin-top:.25rem}.activity-stat.highlight .value{color:#667eea}.quick-action{display:flex;align-items:center;padding:1rem 1.25rem;background:#fff;border-radius:var(--border-radius-sm);box-shadow:0 2px 12px rgba(0,0,0,.06);border:1px solid rgba(0,0,0,.04);transition:all .3s ease;text-decoration:none;color:#4a5568;gap:1rem}.quick-action:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.12);color:#667eea}.quick-action .action-icon{width:44px;height:44px;border-radius:var(--border-radius-xs);display:flex;align-items:center;justify-content:center;font-size:1.125rem;flex-shrink:0}.quick-action .action-text{font-weight:600;font-size:.9375rem}.quick-action .action-desc{font-size:.75rem;color:#a0aec0;margin-top:.125rem}.mini-chart{height:60px;display:flex;align-items:flex-end;gap:3px;margin-top:1rem}.mini-chart .bar{flex:1;background:#4f46e5;border-radius:4px 4px 0 0;min-height:4px;transition:height .3s ease;opacity:.7}.mini-chart .bar:hover{opacity:1}.avatar-circle{width:40px;height:40px;background:#4f46e5;border-radius:var(--border-radius-xs);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.avatar-circle.info{background:#0891b2}.avatar-circle.lg{width:100px;height:100px;font-size:2.5rem;border-radius:50%;box-shadow:0 10px 30px rgba(102,126,234,.3)}.favicon-preview-box:hover,.logo-preview-box:hover,.og-image-preview-box:hover{border-color:#667eea;background:rgba(102,126,234,.05)}.favicon-preview-box img,.logo-preview-box img,.og-image-preview-box img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.rounded-lg{border-radius:var(--border-radius)}@media screen and (max-width:1023px){.admin-subnav .container{padding:0 .5rem}.page-header{padding:1.25rem 1.5rem;margin-bottom:1.5rem}}@media screen and (max-width:768px){.page-header{border-radius:var(--border-radius-sm);padding:1rem 1.25rem}.modern-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.modern-tabs::-webkit-scrollbar{display:none}.stat-value{font-size:2rem}.media-library-modal-card{width:calc(100vw - 1rem)}.media-library-window-main{grid-template-columns:1fr}.media-library-tree-panel{border:none;border-top:1px solid #e5e7eb}.media-library-file-header{display:flex;gap:.4rem;overflow-x:auto;padding:.65rem .75rem;scrollbar-width:none}.media-library-file-header::-webkit-scrollbar{display:none}.media-library-file-header.hidden{display:none}.media-library-file-header>.media-library-file-col{display:block;flex:0 0 auto}.media-library-file-header>.media-library-file-col.check{display:none}.media-library-file-header .media-library-sort-button{width:auto;margin:0;border:1px solid #e2e8f0;background:#fff;padding:.45rem .65rem}.media-library-file-toolbar{flex-wrap:wrap}.media-library-file-row,.media-library-folder-row{grid-template-columns:40px minmax(0,1fr)}.media-library-toolbar-buttons{justify-content:stretch}.media-library-toolbar-buttons>*{width:100%}.media-library-file-row .media-library-file-col.date,.media-library-file-row .media-library-file-col.folder,.media-library-file-row .media-library-file-col.size,.media-library-file-row .media-library-file-col.type,.media-library-folder-row .media-library-file-col.date,.media-library-folder-row .media-library-file-col.folder,.media-library-folder-row .media-library-file-col.size,.media-library-folder-row .media-library-file-col.type{display:none}}#editor-wrapper{border:1px solid #e5e7eb;border-radius:var(--border-radius-xs);background:#fff;overflow:hidden}#editor-wrapper .jodit-container:not(.jodit_inline){border:none;border-radius:inherit}#editor-wrapper .jodit-toolbar__box:not(:empty){border-bottom:1px solid #e5e7eb;background:#fafaf9}#editor-wrapper .jodit-workplace{min-height:600px}#editor-wrapper .jodit-source__mirror,#editor-wrapper .jodit-wysiwyg{font-size:16px;line-height:1.8;padding:2rem}#editor-wrapper .jodit-status-bar{border-top:1px solid #e5e7eb}.jodit-container.jodit_fullsize,.jodit_fullsize{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;max-width:none!important;z-index:100000!important;border-radius:0!important;background:#fff!important}.jodit_fullsize{display:flex!important;flex-direction:column!important}.jodit_fullsize .jodit-workplace{flex:1 1 auto;min-height:0}.jodit_fullsize .jodit-source__mirror,.jodit_fullsize .jodit-wysiwyg{min-height:100%!important}.editor-fullscreen-active,body.media-library-modal-open,html.media-library-modal-open{overflow:hidden!important}.page-media-modal{z-index:1400}.editor-fullscreen-host{transform:none!important;animation:none!important;overflow:visible!important;opacity:1!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{overflow:hidden}.category-tree-table .tree-line{opacity:.5}.category-tree-table tr.level-1{background:rgba(0,0,0,.01)}.category-tree-table tr.level-2{background:rgba(0,0,0,.02)}.category-tree-table tr.level-3{background:rgba(0,0,0,.03)}.media-preview-wrap{position:relative}.media-preview{width:100%;aspect-ratio:1/1;border:2px dashed #d1d5db;border-radius:12px;overflow:hidden;cursor:pointer;display:flex;align-items:center;justify-content:center;background:#fafafa;transition:all .2s}.media-preview:hover{border-color:#667eea;background:rgba(102,126,234,.05)}.media-preview:not(.is-empty){border-style:solid;border-color:#e5e7eb}.media-preview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.explorer-shell{padding:0;overflow:hidden}.explorer-statusbar,.explorer-toolbar,.explorer-topbar{border-bottom:1px solid #e5e7eb;background:#f8fafc}.explorer-topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem}.explorer-topbar-left{display:flex;align-items:center;gap:.9rem}.explorer-app-icon{width:38px;height:38px;border-radius:12px;background:#dbeafe;color:#2563eb;display:inline-flex;align-items:center;justify-content:center}.explorer-app-title{font-size:1rem;color:#0f172a}.explorer-breadcrumbs{flex:1;min-width:280px}.explorer-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.25rem}.explorer-filter-bar{min-width:380px;flex:1}.explorer-main{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:720px}.explorer-content,.explorer-sidebar{min-width:0}.explorer-sidebar{background:#f8fafc;border-right:1px solid #e5e7eb}.explorer-tree{padding:1rem}.explorer-tree-link,.explorer-tree-root{display:flex;align-items:center;gap:.55rem;border-radius:10px;color:#1e293b;padding:.45rem .65rem;margin-bottom:.2rem}.explorer-tree-link:hover,.explorer-tree-root:hover{background:#e8eefc}.explorer-tree-node.is-current>.explorer-tree-link,.explorer-tree-root.is-current{background:#dbeafe;color:#1d4ed8;font-weight:600}.explorer-tree-list{margin:0;padding-left:.85rem}.explorer-tree-node{list-style:none}.explorer-tree-node.is-ancestor>.explorer-tree-link{background:rgba(219,234,254,.55)}.explorer-content{background:#fff;display:flex;flex-direction:column}.explorer-location-bar{display:flex;align-items:center;gap:.55rem;padding:.85rem 1.1rem;border-bottom:1px solid #e5e7eb;color:#475569;font-size:.92rem}.explorer-folder-strip{display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem 1.1rem 0}.explorer-folder-chip{min-width:150px;border:1px solid #dbe4f0;border-radius:12px;background:#f8fafc;color:#1e293b;display:inline-flex;align-items:center;gap:.55rem;padding:.7rem .85rem}.explorer-folder-chip>span:first-child{color:#f59e0b}.explorer-folder-chip small{margin-left:auto;color:#64748b}.explorer-file-header,.explorer-file-row{display:grid;grid-template-columns:54px minmax(260px,2fr) 150px 110px 100px 160px;align-items:center;gap:.75rem}.explorer-file-header{padding:.75rem 1.1rem;margin-top:1rem;border-top:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;background:#f8fafc;color:#475569;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.explorer-file-list{display:flex;flex-direction:column}.explorer-file-row{padding:.8rem 1.1rem;border-bottom:1px solid #eef2f7;transition:background .18s ease;cursor:pointer}.explorer-file-row.is-active,.explorer-file-row:hover{background:#eef5ff}.explorer-check-cell{display:flex;align-items:center;justify-content:center}.explorer-name-cell{display:flex;align-items:center;gap:.8rem;min-width:0}.explorer-thumb{width:46px;height:46px;border-radius:10px;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#64748b;flex-shrink:0}.explorer-thumb img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.explorer-name-meta{min-width:0;display:flex;flex-direction:column;gap:.18rem}.explorer-name-meta span,.explorer-name-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.explorer-name-meta span{color:#64748b;font-size:.75rem}.explorer-actions{display:flex;gap:.4rem;justify-content:flex-end}.page-media-preview-box{min-height:min(56vh,520px);height:100%;border:1px solid #dbe4f0;border-radius:10px;background:#fff;overflow:hidden;display:flex;align-items:center;justify-content:center}.page-media-preview-box img,.page-media-preview-box video{width:100%;height:100%;max-height:min(70vh,640px);-o-object-fit:contain;object-fit:contain;display:block}.page-media-preview-file-icon{width:88px;height:88px;border-radius:12px;background:#f1f5f9;color:#64748b;display:inline-flex;align-items:center;justify-content:center;font-size:2rem}.page-media-preview-meta{display:flex;flex-direction:column;gap:1rem}.page-media-preview-row{display:flex;flex-direction:column;gap:.25rem}.page-media-preview-row span{font-size:.74rem;color:#64748b}.page-media-preview-row strong{color:#0f172a;word-break:break-word}.explorer-statusbar{display:flex;flex-wrap:wrap;align-items:center;gap:1.1rem;padding:.75rem 1.1rem;border-top:1px solid #e5e7eb;border-bottom:none;color:#475569;font-size:.84rem}.explorer-empty-state{padding:3rem 1.5rem;text-align:center;color:#94a3b8}@media screen and (max-width:1023px){.explorer-main{grid-template-columns:minmax(0,1fr);min-height:0}.explorer-sidebar{display:none}.page-media-preview-box{min-height:260px}.explorer-filter-bar{width:100%;min-width:0}}@media screen and (max-width:768px){.dashboard-header{margin-bottom:1rem;padding:1.1rem;border-radius:14px;box-shadow:0 8px 24px rgba(76,81,191,.2)}.dashboard-header h1{font-size:1.35rem!important;line-height:1.35}.stat-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:.15rem .9rem;min-height:104px;padding:1rem}.quick-action:hover,.stat-card:hover{transform:none}.stat-icon{grid-row:1/span 3;width:46px;height:46px;margin:0;font-size:1.1rem}.stat-value{font-size:1.8rem}.stat-label,.stat-value{grid-column:2}.stat-badge,.stat-card>a{grid-column:3;align-self:center;margin-top:0!important;white-space:nowrap}.stat-badge{grid-row:1}.stat-card>a{grid-row:2}.quick-action{min-height:70px;padding:.85rem 1rem}#product-selector-modal>.relative.z-10,.media-library-modal-card{width:100vw!important;height:100dvh;max-height:100dvh!important;border-radius:0!important}.media-library-toolbar-buttons>*{width:auto}.media-library-window-main{max-height:none}.explorer-toolbar,.explorer-topbar{align-items:stretch;padding:.75rem}.explorer-breadcrumbs,.explorer-toolbar>div:first-child,.explorer-topbar-left{width:100%;min-width:0}.explorer-toolbar>div:first-child{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem!important}.explorer-toolbar>div:first-child>*{justify-content:center;min-width:0;padding-inline:.65rem}.explorer-folder-strip{display:grid;grid-template-columns:minmax(0,1fr);padding:.75rem .75rem 0}.explorer-folder-chip,.explorer-folder-chip-wrap{width:100%;min-width:0}.explorer-file-header{display:flex;gap:.4rem;overflow-x:auto;padding:.65rem .75rem;scrollbar-width:none}.explorer-file-header::-webkit-scrollbar{display:none}.explorer-file-header>.explorer-check-cell,.explorer-file-header>[role=columnheader]:last-child{display:none}.explorer-file-header>[role=columnheader]{flex:0 0 auto}.explorer-file-header .explorer-sort-button{width:auto;margin:0;border:1px solid #e2e8f0;background:#fff;padding:.45rem .65rem}.explorer-file-row{grid-template-columns:34px minmax(0,1fr) auto;gap:.55rem;padding:.75rem}.explorer-file-row>:nth-child(3),.explorer-file-row>:nth-child(4),.explorer-file-row>:nth-child(5){display:none}.explorer-thumb{width:42px;height:42px}.explorer-actions{gap:.25rem}.explorer-actions button{width:40px!important;height:40px!important}.login-card{padding:1.5rem 1.1rem}.login-container{padding:max(1rem,env(safe-area-inset-top)) .75rem max(1rem,env(safe-area-inset-bottom))}}@media screen and (max-width:480px){.stat-card{grid-template-columns:44px minmax(0,1fr)}.stat-icon{width:44px;height:44px}.stat-badge,.stat-card>a{grid-column:2;grid-row:auto;justify-self:start;margin-top:.35rem!important}.explorer-actions button:nth-child(2){display:none}}@media screen and (max-width:768px){body,html{max-width:100%;overflow-x:hidden}#editor-wrapper,#product-form,#product-form .card,#product-form>.grid,#product-form>.grid>div,.admin-content-section,.admin-content-section>.container,.admin-main{width:100%;min-width:0;max-width:100%}#editor-wrapper .jodit-container:not(.jodit_inline),#editor-wrapper .jodit-source__mirror,#editor-wrapper .jodit-toolbar__box,#editor-wrapper .jodit-workplace,#editor-wrapper .jodit-wysiwyg{width:100%!important;min-width:0!important;max-width:100%!important}#editor-wrapper .jodit-toolbar__box{overflow-x:auto!important;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}#editor-wrapper .jodit-toolbar-editor-collection{width:100%!important;min-width:0!important;max-width:100%!important}#editor-wrapper .jodit-workplace{min-height:320px}#editor-wrapper .jodit-source__mirror,#editor-wrapper .jodit-wysiwyg{padding:1rem;overflow-wrap:anywhere}}:root{--admin-canvas-default:#fff;--admin-canvas-subtle:#f6f8fa;--admin-canvas-inset:#eff2f5;--admin-border-default:#d0d7de;--admin-border-muted:#d8dee4;--admin-fg-default:#1f2328;--admin-fg-muted:#656d76;--admin-fg-subtle:#8c959f;--admin-accent-fg:#0969da;--admin-accent-emphasis:#0969da;--admin-accent-muted:#ddf4ff;--admin-success-fg:#1a7f37;--admin-success-emphasis:#1f883d;--admin-danger-fg:#cf222e;--admin-danger-muted:#ffebe9;--admin-attention-fg:#9a6700;--admin-attention-muted:#fff8c5;--admin-radius-small:3px;--admin-radius-medium:6px;--admin-radius-large:12px;--admin-shadow-resting:0 1px 0 rgba(31,35,40,.04);--admin-shadow-floating:0 8px 24px hsla(212,9%,59%,.2);--primary-solid:var(--admin-accent-emphasis);--link-solid:var(--admin-accent-fg);--card-shadow:var(--admin-shadow-resting);--card-hover-shadow:var(--admin-shadow-resting);--border-radius:var(--admin-radius-medium);--border-radius-sm:var(--admin-radius-medium);--border-radius-xs:var(--admin-radius-small)}body{background:var(--admin-canvas-subtle);color:var(--admin-fg-default)}body:not(.login-page) :where([class~=rounded-lg],[class~=rounded-xl],[class~=rounded-2xl],[class~="rounded-[10px]"],[class~="rounded-[14px]"]){border-radius:var(--admin-radius-medium)!important}body:not(.login-page) :where([class~="rounded-[20px]"],[class~=rounded-3xl]){border-radius:var(--admin-radius-large)!important}body:not(.login-page) .border-slate-200{border-color:var(--admin-border-default)!important}body:not(.login-page) .border-slate-100{border-color:var(--admin-border-muted)!important}.admin-content-section{color:var(--admin-fg-default)}.admin-main :where(.card,.admin-table,.activity-card,.stat-card){border:1px solid var(--admin-border-default);border-radius:var(--admin-radius-medium);background:var(--admin-canvas-default);box-shadow:var(--admin-shadow-resting)}.admin-main :where(.shadow-sm,.shadow-md,.shadow-lg,.shadow-xl,.shadow-2xl){box-shadow:var(--admin-shadow-resting)!important}.dashboard-header,.page-header{margin-bottom:1.5rem;padding:0 0 1rem!important;border:0;border-bottom:1px solid var(--admin-border-default);border-radius:0!important;background:transparent!important;color:var(--admin-fg-default);box-shadow:none!important}.dashboard-header h1,.page-header h1{margin-bottom:0!important;color:var(--admin-fg-default)!important;font-size:1.5rem!important;line-height:1.35}.dashboard-header .subtitle,.dashboard-header p,.page-header p{color:var(--admin-fg-muted)!important}.page-header h1>.inline-flex:first-child{width:32px!important;height:32px!important;margin-right:.25rem!important;border-radius:var(--admin-radius-medium)!important;background:var(--admin-accent-muted)!important;color:var(--admin-accent-fg)!important;font-size:.875rem}.page-header .header-actions a,.page-header .header-actions button{border:1px solid var(--admin-border-default)!important;border-radius:var(--admin-radius-medium)!important;background:var(--admin-canvas-subtle)!important;color:var(--admin-fg-default)!important;box-shadow:var(--admin-shadow-resting)!important}.page-header .header-actions a:hover,.page-header .header-actions button:hover{border-color:#afb8c1!important;background:#f3f4f6!important}.page-header .header-actions a[href*="/create"]{border-color:rgba(27,31,36,.15)!important;background:var(--admin-success-emphasis)!important;color:#fff!important}.page-header .header-actions a[href*="/create"]:hover{background:var(--admin-success-fg)!important}.modern-tabs{display:flex;width:100%;gap:1rem;margin-bottom:1.5rem;padding:0;overflow-x:auto;border-bottom:1px solid var(--admin-border-default);border-radius:0;background:transparent;box-shadow:none}.modern-tabs a{margin-bottom:-1px;padding:.65rem .25rem .7rem;border-bottom:2px solid transparent;border-radius:0;color:var(--admin-fg-muted);font-size:.875rem;font-weight:600}.modern-tabs a:hover{border-bottom-color:var(--admin-border-default)}.modern-tabs a.is-active,.modern-tabs a:hover{background:transparent;color:var(--admin-fg-default)}.modern-tabs a.is-active{border-bottom-color:#fd8c73}.section-title{gap:.5rem;margin-bottom:.75rem;color:var(--admin-fg-default);font-size:1rem;font-weight:600}.section-title .icon-box{width:30px;height:30px;border-radius:var(--admin-radius-medium)}.admin-main :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border-color:var(--admin-border-default)!important;border-radius:var(--admin-radius-medium)!important;padding-block:.5rem!important;box-shadow:inset 0 1px 0 rgba(208,215,222,.2)}.admin-main :where(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus{border-color:var(--admin-accent-emphasis)!important;outline:none;box-shadow:0 0 0 3px rgba(9,105,218,.2)!important}.admin-main :where(button,a).bg-indigo-600,.admin-main :where(button,a).bg-slate-900{border:1px solid rgba(27,31,36,.15);background:var(--admin-success-emphasis)!important;color:#fff!important;box-shadow:var(--admin-shadow-resting)!important}.admin-main :where(button,a).bg-indigo-600:hover,.admin-main :where(button,a).bg-slate-900:hover{background:var(--admin-success-fg)!important;transform:none!important}.admin-table{overflow:hidden}.admin-table thead th{padding:.65rem 1rem;border-bottom-color:var(--admin-border-default);background:var(--admin-canvas-subtle);color:var(--admin-fg-muted);letter-spacing:.02em;text-transform:none}.admin-table tbody td{padding:.75rem 1rem;border-bottom-color:var(--admin-border-muted)}.admin-table tbody tr:hover{background:var(--admin-canvas-subtle)}.empty-state{padding:2.5rem 2rem;color:var(--admin-fg-muted)}.quick-action,.stat-card{transition:border-color .15s ease,background-color .15s ease}.quick-action:hover,.stat-card:hover{border-color:#afb8c1;box-shadow:var(--admin-shadow-resting);transform:none}.stat-card:before{height:2px;border-radius:var(--admin-radius-medium) var(--admin-radius-medium) 0 0}.stat-icon{width:44px;height:44px;border-radius:var(--admin-radius-medium);font-size:1.125rem}.stat-icon.link,.stat-icon.primary{background:var(--admin-accent-muted);color:var(--admin-accent-fg)}.stat-icon.success{background:#dafbe1;color:var(--admin-success-fg)}.stat-icon.warning{background:var(--admin-attention-muted);color:var(--admin-attention-fg)}.stat-icon.danger{background:var(--admin-danger-muted);color:var(--admin-danger-fg)}.stat-icon.info{background:#ddf4ff;color:#0969da}.stat-icon.dark{background:var(--admin-canvas-inset);color:var(--admin-fg-muted)}.stat-value{color:var(--admin-fg-default);font-size:2rem}.activity-stat .label,.stat-label{color:var(--admin-fg-muted);letter-spacing:0;text-transform:none}.quick-action{border:1px solid var(--admin-border-default);border-radius:var(--admin-radius-medium);box-shadow:var(--admin-shadow-resting)}.admin-sidebar{border-right-color:var(--admin-border-default);background:var(--admin-canvas-subtle);box-shadow:none}.admin-sidebar-footer,.admin-sidebar-header{border-color:var(--admin-border-default)}.admin-legacy-navigation a,.admin-sidebar-brand,.admin-sidebar-close,.admin-sidebar-dashboard,.admin-sidebar-group>summary,.admin-sidebar-item{border-radius:var(--admin-radius-medium)}.admin-sidebar-dashboard,.admin-sidebar-group>summary{min-height:40px;color:var(--admin-fg-muted)}.admin-legacy-navigation a:hover,.admin-sidebar-dashboard:hover,.admin-sidebar-group>summary:hover,.admin-sidebar-item:hover{background:rgba(208,215,222,.32);color:var(--admin-fg-default)}.admin-sidebar-dashboard.is-active,.admin-sidebar-group.is-active>summary,.admin-sidebar-item.is-active{background:var(--admin-accent-muted);color:var(--admin-accent-fg)}.admin-topbar{border-bottom-color:var(--admin-border-default);background:hsla(0,0%,100%,.96);-webkit-backdrop-filter:none;backdrop-filter:none}.admin-profile-toggle,.admin-sidebar-toggle,.admin-topbar-site{border-color:var(--admin-border-default);border-radius:var(--admin-radius-medium);background:var(--admin-canvas-subtle);color:var(--admin-fg-default);box-shadow:var(--admin-shadow-resting)}.admin-profile-toggle:hover,.admin-sidebar-toggle:hover,.admin-topbar-site:hover{border-color:#afb8c1;background:#f3f4f6}.admin-profile-dropdown>div{border-color:var(--admin-border-default);box-shadow:var(--admin-shadow-floating)}.admin-profile-dropdown a,.admin-profile-dropdown button,.admin-profile-dropdown>div{border-radius:var(--admin-radius-medium)}#product-selector-modal>.relative.z-10,.media-library-modal-card{border:1px solid var(--admin-border-default);border-radius:var(--admin-radius-large)!important;box-shadow:var(--admin-shadow-floating)!important}.admin-main .plugin-admin-fragment .lc-page{padding:.25rem 0 1rem;background:transparent;color:var(--admin-fg-default);font-family:inherit}.admin-main .plugin-admin-fragment .lc-heading{align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--admin-border-default)}.admin-main .plugin-admin-fragment :where(.lc-heading h1,.lc-page h1){margin-top:0;color:var(--admin-fg-default);font-size:1.5rem;font-weight:600;line-height:1.35;letter-spacing:0}.admin-main .plugin-admin-fragment :where(.lc-page p,.lc-lead){color:var(--admin-fg-muted);line-height:1.5}.admin-main .plugin-admin-fragment .lc-eyebrow{color:var(--admin-fg-muted);letter-spacing:.04em;text-transform:none}.admin-main .plugin-admin-fragment :where(.lc-card,.lc-stat,.lc-empty){border:1px solid var(--admin-border-default);border-radius:var(--admin-radius-medium);background:var(--admin-canvas-default);box-shadow:var(--admin-shadow-resting)}.admin-main .plugin-admin-fragment .lc-card{padding:1rem}.admin-main .plugin-admin-fragment .lc-button{min-height:34px;border:1px solid rgba(27,31,36,.15);border-radius:var(--admin-radius-medium);padding:.45rem .8rem;background:var(--admin-success-emphasis);box-shadow:var(--admin-shadow-resting);font-weight:600}.admin-main .plugin-admin-fragment .lc-button:hover{background:var(--admin-success-fg);box-shadow:var(--admin-shadow-resting);transform:none}.admin-main .plugin-admin-fragment .lc-button-secondary{border-color:var(--admin-border-default);background:var(--admin-canvas-subtle);color:var(--admin-fg-default)!important}.admin-main .plugin-admin-fragment .lc-button-secondary:hover{background:#f3f4f6}.admin-main .plugin-admin-fragment :where(.lc-form input,.lc-form textarea,.lc-grid input,.lc-filter input,.lc-filter select,.lc-card input,.lc-card select){border-color:var(--admin-border-default);border-radius:var(--admin-radius-medium);padding:.5rem .75rem;box-shadow:inset 0 1px 0 rgba(208,215,222,.2)}.admin-main .plugin-admin-fragment :where(.lc-form input,.lc-form textarea,.lc-grid input,.lc-filter input,.lc-filter select,.lc-card input,.lc-card select):focus{border-color:var(--admin-accent-emphasis);outline:none;box-shadow:0 0 0 3px rgba(9,105,218,.2)}.admin-main .plugin-admin-fragment .lc-table th{padding:.65rem .75rem;background:var(--admin-canvas-subtle);color:var(--admin-fg-muted);letter-spacing:.02em;text-transform:none}.admin-main .plugin-admin-fragment .lc-table td{padding:.75rem;border-bottom-color:var(--admin-border-muted)}.admin-main .plugin-admin-fragment :where(.lc-alert,.lc-note,.lc-methods label){border-radius:var(--admin-radius-medium)}body.login-page{background:var(--admin-canvas-subtle)!important;color:var(--admin-fg-default);min-height:100vh;min-height:100dvh}body.login-page>.admin-main{display:flex;width:100%;min-width:0;min-height:100vh;min-height:100dvh;margin-left:0}body.login-page>.admin-main>.admin-content-section,body.login-page>.admin-main>.admin-content-section>.container{display:flex;flex:1 1 auto;width:100%;min-width:0;max-width:none;margin:0;padding:0!important}body.login-page .login-container{flex:1 1 auto;width:100%;min-height:0;padding:clamp(1rem,4vw,2rem)}body.login-page>.footer{display:none}.login-card{border:1px solid var(--admin-border-default);background:var(--admin-canvas-default);box-shadow:var(--admin-shadow-floating);margin:auto}.login-card,.login-logo .icon-wrap{border-radius:var(--admin-radius-medium)}.login-logo .icon-wrap{background:#24292f;box-shadow:none}.login-page input{border-color:var(--admin-border-default)!important;border-radius:var(--admin-radius-medium)!important;box-shadow:inset 0 1px 0 rgba(208,215,222,.2)!important}.login-page input:focus{border-color:var(--admin-accent-emphasis)!important;box-shadow:0 0 0 3px rgba(9,105,218,.2)!important}body.login-page .login-btn{border:1px solid rgba(27,31,36,.15);border-radius:var(--admin-radius-medium)!important;background:var(--admin-success-emphasis);box-shadow:var(--admin-shadow-resting)}body.login-page .login-btn:hover{background:var(--admin-success-fg);box-shadow:var(--admin-shadow-resting);transform:none}@media screen and (max-width:768px){.dashboard-header,.page-header{padding:0 0 .875rem!important;border-radius:0!important;box-shadow:none!important}.modern-tabs{padding:0}.admin-table{border-radius:var(--admin-radius-medium)}#product-selector-modal>.relative.z-10,.media-library-modal-card{border:0;border-radius:0!important}}