body:has(.admin-wrap),.admin-wrap,.admin-wrap .main-area,.admin-wrap .adm-page{background:#17171b!important;color:#e5e5ec}
.admin-wrap .admin-top,.admin-wrap .sidebar{background:#202025!important;color:#eee;border-color:#3b3b44}
.admin-wrap :is(.adm-card,.stat-card,.form-card,.table-wrap,.modal-card,.ac-hg-product){background:#24242a!important;color:#e5e5ec;border-color:#41414b!important}
.admin-wrap :is(h1,h2,h3,h4,.form-label,.page-header p){color:#ededf3}
.admin-wrap :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#303038!important;color:#f2f2f5!important;border-color:#555560!important}
.admin-wrap :is(th,td){background:#24242a;color:#dedee7;border-color:#44444d}
.admin-wrap th{background:#303038}.admin-wrap :is(.sb-link,.sb-label,.admin-user){color:#d5d5df}
.admin-wrap input::placeholder,.admin-wrap textarea::placeholder{color:#aaaab8}
.admin-wrap :is(.ac-hg-field,.ac-hg-product legend,.ac-hg-row-copy p){color:#d7d7e1}
.ac-upload-note{display:block!important;font-size:12px;line-height:1.6;color:#bec2d1!important;background:#19191f;padding:10px 12px;border-left:3px solid #ff7a00;border-radius:5px;margin-top:8px;white-space:normal}
/* Contrast follows each surface, rather than forcing every label white. */
.admin-wrap .admin-search input:not([type=checkbox]):not([type=radio]){background:transparent!important;color:#111!important;border:0!important}
.admin-wrap .admin-search input::placeholder{color:#333!important;opacity:1}
.admin-wrap .form-group>label,.admin-wrap .form-group>small{color:#f0f0f4!important}
.admin-wrap .order-detail-shell,.admin-wrap .order-detail-shell :is(h2,h3,h4,b,strong,p,small,label,span,li){color:#17171b!important}
.admin-wrap .order-unread td{background:#392d20!important;color:#fff!important;font-weight:600}
.admin-wrap .order-unread td:first-child{border-left:4px solid #ff8500}
.admin-wrap .cat-item,.admin-wrap .cat-item :is(h2,h3,h4,b,p,small,span){color:#17171b!important}
.admin-wrap .bank-settings-box,.admin-wrap .bank-settings-box :is(label,p,small,span,b){color:#111!important}
.admin-wrap .social-settings-card,.admin-wrap .payment-settings-card{background:#f8fafc!important;color:#111!important}
.admin-wrap :is(.social-settings-card,.payment-settings-card) :is(h3,label,p,small,span,b){color:#111!important}
.admin-wrap :is(.social-settings-card,.payment-settings-card) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#fff!important;color:#111!important}
.admin-wrap .pos-product img{width:100%;height:130px;object-fit:cover;border-radius:8px;display:block}
.ac-pos-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px;color:#eee}
.ac-pos-pagination button{padding:9px 16px;border:1px solid #666;border-radius:7px;background:#303038;color:#fff}
.ac-pos-pagination button:disabled{opacity:.4}
.ac-message-dialog{width:min(640px,calc(100vw - 32px));max-height:85vh;overflow:auto;padding:26px;border:1px solid #555;border-radius:14px;background:#24242a;color:#fff}
.ac-message-dialog::backdrop{background:#0009}
.ac-message-dialog p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.ac-message-dialog button{float:right;background:#ff8500;border:0;border-radius:6px;padding:8px 14px;color:#111}
.ac-message-link{border:0;background:none;color:inherit;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.admin-wrap .product-variant-section,.admin-wrap .product-variant-section .variant-item{background:#24242a!important;border-color:#555!important;color:#f4f4f4!important}
.admin-wrap .product-variant-section :is(label,small,strong){color:#f4f4f4!important}
.admin-wrap .order-detail-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:#fff!important;color:#111!important}
