html[data-theme=dark]{color-scheme:dark;--bg:#0a0a0c;--surface:#141418;--surface-2:#1c1c22;--border:#2a2a32;--border-strong:#3d3d48;--text-primary:#ececf0;--text-secondary:#a0a0ac;--text-tertiary:#6c6c78;--accent:#5b8af7;--accent-hover:#7aa0ff;--accent-light:rgba(91,138,247,.16);--success:#3dd68c;--success-bg:rgba(61,214,140,.12);--warning:#f0b429;--warning-bg:rgba(240,180,41,.12);--danger:#f07178;--danger-bg:rgba(240,113,120,.12);--gold:#e8b339;--shadow-sm:0 1px 3px rgba(0,0,0,.45),0 1px 2px rgba(0,0,0,.35);--shadow:0 4px 14px rgba(0,0,0,.5),0 2px 4px rgba(0,0,0,.35);--shadow-lg:0 12px 32px rgba(0,0,0,.55),0 4px 10px rgba(0,0,0,.4);--shadow-hover:0 16px 40px rgba(0,0,0,.6),0 6px 14px rgba(0,0,0,.45);--dsgn-bg:#0a0a0c;--dsgn-surface:#141418;--dsgn-surface-2:#1c1c22;--dsgn-border:#2a2a32;--dsgn-border-strong:#3d3d48;--dsgn-text-primary:#ececf0;--dsgn-text-secondary:#a0a0ac;--dsgn-text-tertiary:#6c6c78;--dsgn-accent:#5b8af7;--dsgn-accent-hover:#7aa0ff;--dsgn-accent-light:rgba(91,138,247,.16);--dsgn-success:#3dd68c;--dsgn-success-bg:rgba(61,214,140,.12);--dsgn-warning:#f0b429;--dsgn-warning-bg:rgba(240,180,41,.12);--dsgn-danger:#f07178;--dsgn-danger-bg:rgba(240,113,120,.12);--dsgn-gold:#e8b339;--dsgn-shadow-sm:var(--shadow-sm);--dsgn-shadow:var(--shadow);--dsgn-shadow-lg:var(--shadow-lg);--dsgn-shadow-hover:var(--shadow-hover);--background:240 6% 4%;--foreground:240 5% 93%;--primary:221 77% 62%;--primary-foreground:0 0% 100%;--card:240 5% 8%;--card-foreground:240 5% 93%;--border:240 4% 18%;--muted:240 4% 14%;--muted-foreground:240 4% 58%;--destructive:0 72% 65%;--header-bg:rgba(10,10,12,.94);--sticky-bar-bg:rgba(10,10,12,.96);--auth-modal-bg:#18181c;--input-bg:#1c1c22;--overlay-scrim:rgba(0,0,0,.72);--logo-mark-bg:#ececf0;--logo-mark-fg:#0a0a0c;--inverse-bg:#12121a;--inverse-fg:#ececf0}html[data-theme=dark],html[data-theme=dark] body{background:var(--bg);color:var(--text-primary)}html[data-theme=dark] .header{background:var(--header-bg);border-bottom-color:var(--border)}html[data-theme=dark] .drawer,html[data-theme=dark] .drawer.open{background:var(--surface);box-shadow:4px 0 32px rgba(0,0,0,.55)}html[data-theme=dark] .drawer-overlay.open{background:var(--overlay-scrim)}html[data-theme=dark] .sticky-buy{background:var(--sticky-bar-bg);border-top-color:var(--border)}html[data-theme=dark] .header-catalog-flyout,html[data-theme=dark] .header-catalog-menu,html[data-theme=dark] .popup{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow-lg)}html[data-theme=dark] .popup-footer{background:var(--surface-2)}html[data-theme=dark] .balance-card,html[data-theme=dark] .card,html[data-theme=dark] .modal-card,html[data-theme=dark] .news-card,html[data-theme=dark] .order-card,html[data-theme=dark] .order-dialog-chat-box,html[data-theme=dark] .product-card,html[data-theme=dark] .shop-card,html[data-theme=dark] .write-modal-card{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .card-bp,html[data-theme=dark] .card-h,html[data-theme=dark] .product-card-body{background:transparent}html[data-theme=dark] .fi,html[data-theme=dark] .gsearch-input,html[data-theme=dark] .write-modal-input,html[data-theme=dark] .write-modal-textarea,html[data-theme=dark] input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--input-bg);color:var(--text-primary);border-color:var(--border)}html[data-theme=dark] input::-moz-placeholder,html[data-theme=dark] textarea::-moz-placeholder{color:var(--text-tertiary)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:var(--text-tertiary)}html[data-theme=dark] .btn-ghost,html[data-theme=dark] .btn-outline{border-color:var(--border-strong);color:var(--text-primary)}html[data-theme=dark] .btn-outline:hover{background:var(--surface-2)}html[data-theme=dark] .tab-btn.active{background:var(--surface);box-shadow:var(--shadow-sm)}html[data-theme=dark] .store-tabs-row,html[data-theme=dark] .tabs-row{border-bottom-color:var(--border)}html[data-theme=dark] .auth-modal-overlay .auth-modal-card{background:var(--auth-modal-bg);border-color:var(--border);box-shadow:0 24px 56px rgba(0,0,0,.65)}html[data-theme=dark] .auth-modal-overlay .write-modal-send{background:var(--accent);color:#fff}html[data-theme=dark] .auth-page-main{background:var(--bg)}html[data-theme=dark] .shop-manage-sidebar,html[data-theme=dark] .shop-sidebar{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .chat-item.active,html[data-theme=dark] .chat-item:hover,html[data-theme=dark] .shop-manage-nav a:hover,html[data-theme=dark] .shop-sidebar a:hover{background:var(--surface-2)}html[data-theme=dark] .chat-panel,html[data-theme=dark] .dialogs-layout{background:var(--bg)}html[data-theme=dark] .message-bubble--own{background:var(--accent-light)}html[data-theme=dark] .message-bubble--other{background:var(--surface-2)}html[data-theme=dark] .card-badge.top{background:rgba(232,179,57,.14);border-color:rgba(232,179,57,.35);color:var(--gold)}html[data-theme=dark] .card-tag.hot{background:rgba(240,113,120,.14);color:#f07178;border-color:rgba(240,113,120,.35)}html[data-theme=dark] .card-tag.sale{background:rgba(240,180,41,.14);color:#f0b429;border-color:rgba(240,180,41,.35)}html[data-theme=dark] .btn-outline.fav.active{background:rgba(240,113,120,.12);border-color:rgba(240,113,120,.4)}html[data-theme=dark] .skeleton-shimmer{background:linear-gradient(90deg,var(--surface-2) 25%,var(--border) 50%,var(--surface-2) 75%)}html[data-theme=dark] .logo-mark{background:var(--logo-mark-bg)}html[data-theme=dark] .logo-mark svg text{fill:var(--logo-mark-fg)}html[data-theme=dark] table th,html[data-theme=dark] table tr:hover td{background:var(--surface-2)}html[data-theme=dark] .admin-table-wrap{background:var(--surface);border-color:var(--border)}.theme-toggle-profile-desc{margin:0 0 12px;font-size:14px;color:var(--text-secondary);line-height:1.45}.theme-toggle-segmented{display:inline-flex;gap:4px;padding:4px;background:var(--surface-2);border-radius:var(--radius);border:1px solid var(--border)}.theme-toggle-segment{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border:none;border-radius:calc(var(--radius-sm) + 2px);background:transparent;color:var(--text-secondary);font-size:14px;font-weight:500;font-family:var(--font);cursor:pointer;transition:background var(--transition),color var(--transition)}.theme-toggle-segment.is-active,.theme-toggle-segment:hover{color:var(--text-primary);background:var(--surface)}.theme-toggle-segment.is-active{box-shadow:var(--shadow-sm)}html[data-theme=dark] .theme-toggle-segment.is-active{background:var(--border)}html[data-theme=dark] .fixed.inset-0.bg-background{background:var(--bg)!important}html[data-theme=dark] .autocomplete-dropdown{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .promo-banner{background:linear-gradient(135deg,#1a1a22,#12121a);border-color:var(--border)}html[data-theme=dark] .global-search-wrap{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .gsearch-btn{background:var(--accent);color:#fff}html[data-theme=dark] .footer{background:var(--inverse-bg);color:hsla(0,0%,100%,.62);border-top:1px solid var(--border)}html[data-theme=dark] .footer-brand .logo-text,html[data-theme=dark] .footer-col h4{color:#fff}html[data-theme=dark] .footer-col a{color:hsla(0,0%,100%,.55)}html[data-theme=dark] .footer-col a:hover{color:#fff}html[data-theme=dark] .footer-bottom{border-top-color:hsla(0,0%,100%,.1);color:hsla(0,0%,100%,.5)}html[data-theme=dark] .footer-status{color:hsla(0,0%,100%,.5)}html[data-theme=dark] .footer .logo-mark{background:#fff}html[data-theme=dark] .footer .logo-mark svg,html[data-theme=dark] .footer .logo-mark text{fill:#111}html[data-theme=dark] .total-card{background:linear-gradient(135deg,#1e1e28,#14141c);color:var(--text-primary);border:1px solid var(--border)}html[data-theme=dark] .total-card:after{background:radial-gradient(circle,rgba(91,138,247,.12) 0,transparent 70%)}html[data-theme=dark] .total-label,html[data-theme=dark] .total-sub{opacity:1;color:var(--text-secondary)}html[data-theme=dark] .dialogs .panel{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .conv-body{background:var(--bg)!important;color:var(--text-primary)}html[data-theme=dark] .msg{color:var(--text-primary)}html[data-theme=dark] .dialogs .send-btn{background:var(--accent);color:#fff}html[data-theme=dark] .dialogs .panel-head .search input{background:var(--input-bg);border-color:var(--border);color:var(--text-primary)}html[data-theme=dark] .msg.me{background-color:var(--accent);color:#fff}html[data-theme=dark] .msg.me .msg-text,html[data-theme=dark] .msg.me .msg-text-attachment{color:#fff}html[data-theme=dark] .msg.me .msg-meta{color:hsla(0,0%,100%,.78);opacity:1}html[data-theme=dark] .msg.me .msg-media,html[data-theme=dark] .msg.me .msg-media-fallback{background:rgba(0,0,0,.22);border-color:hsla(0,0%,100%,.2)}html[data-theme=dark] .msg.me .msg-media-fallback{color:hsla(0,0%,100%,.85)}html[data-theme=dark] .msg.system{background:rgba(91,138,247,.14);color:#9bb8ff}html[data-theme=dark] .chat-tag.order{background:rgba(91,138,247,.16);color:#9bb8ff}html[data-theme=dark] .chat-tag.dispute{background:rgba(240,113,120,.14);color:#f07178}html[data-theme=dark] .chat-tag.ticket{background:rgba(61,214,140,.12);color:#3dd68c}html[data-theme=dark] .chat-tag.admin{background:var(--surface-2);color:var(--text-primary)}html[data-theme=dark] .chat-item.active{background:var(--accent-light)}html[data-theme=dark] .admin-theme{--bg:#0a0a0c;--surface:#141418;--surface-2:#1c1c22;--border:#2a2a32;--border-strong:#3d3d48;--text-primary:#ececf0;--text-secondary:#a0a0ac;--text-tertiary:#6c6c78;--accent:#5b8af7;--accent-hover:#7aa0ff;--accent-light:rgba(91,138,247,.16);--success:#3dd68c;--success-bg:rgba(61,214,140,.12);--warning:#f0b429;--warning-bg:rgba(240,180,41,.12);--danger:#f07178;--danger-bg:rgba(240,113,120,.12);--gold:#e8b339;--shadow:0 2px 8px rgba(0,0,0,.45);--shadow-lg:0 4px 16px rgba(0,0,0,.55)}html[data-theme=dark] .admin-theme .st-open{background:rgba(91,138,247,.16);color:#9bb8ff}html[data-theme=dark] .fi,html[data-theme=dark] .fs,html[data-theme=dark] .ft,html[data-theme=dark] .twofa-code,html[data-theme=dark] .twofa-secret{background:var(--input-bg);border-color:var(--border);color:var(--text-primary)}html[data-theme=dark] .fi:focus,html[data-theme=dark] .fs:focus,html[data-theme=dark] .ft:focus{border-color:var(--accent)}html[data-theme=dark] .btn-o,html[data-theme=dark] .chip,html[data-theme=dark] .empty,html[data-theme=dark] .item,html[data-theme=dark] .mob-item,html[data-theme=dark] .sum-item{background:var(--surface);border-color:var(--border);color:var(--text-primary)}html[data-theme=dark] .twofa-qr{background:var(--surface-2)}html[data-theme=dark] .toast{background:var(--inverse-bg);color:var(--inverse-fg);border:1px solid var(--border);box-shadow:var(--shadow-lg)}html[data-theme=dark] .view-btn.active{background:var(--accent);border-color:var(--accent);color:#fff}html[data-theme=dark] .shop-manage-shell .dl,html[data-theme=dark] .shop-manage-shell .dm,html[data-theme=dark] .shop-manage-shell .shop-manage-main{background:var(--bg)}html[data-theme=dark] .shop-manage-shell .sb,html[data-theme=dark] .shop-manage-shell .sb-shop-picker-list{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .shop-manage-shell .sb-item.active,html[data-theme=dark] .shop-manage-shell .sb-item:hover,html[data-theme=dark] .shop-manage-shell .sb-shop-picker-option.active,html[data-theme=dark] .shop-manage-shell .sb-shop-picker-option:hover{background:var(--surface-2)}:root{--motion-fast:120ms;--motion-base:160ms;--tap-target-min:40px;--tap-target-mobile:44px;--focus-ring:0 0 0 3px color-mix(in srgb,var(--accent,#111) 18%,transparent)}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}:where(a,button,input,select,textarea,[role=button],[tabindex]:not([tabindex="-1"])):focus-visible{outline:2px solid var(--accent,currentColor);outline-offset:2px;box-shadow:var(--focus-ring)}:where(button,.btn,.btn-outline,.icon-btn,.store-tab,.store-tabs-action,.addr-tab){touch-action:manipulation}:where(.btn:not(.btn-sm),.btn-outline,.store-tab,.store-tabs-action,.addr-tab){min-height:var(--tap-target-min)}:where(img,video,canvas,svg){max-width:100%}:where(.card,.panel,.modal,.product-card,.shop-card,.store-profile,.conv-head){min-width:0}:where(.text-truncate,.shop-orders-product,.shop-orders-buyer,.chat-name,.chat-peer,.conv-title-name){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.store-tabs,.addr-tabs,.shop-orders-tabs){overscroll-behavior-inline:contain}.ui-settings-section{margin-bottom:0}.ui-settings-section-desc{margin:0 0 12px;font-size:14px;line-height:1.5;color:var(--text-secondary)}.ui-form-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.ui-form-field{display:flex;min-width:min(100%,240px);flex:1 1 240px;flex-direction:column;gap:6px}.ui-form-label{font-weight:600}.ui-form-help,.ui-form-label{font-size:12px;color:var(--text-tertiary)}.ui-form-help{margin:8px 0 0;line-height:1.45}.ui-form-success{margin:8px 0 0;font-size:14px;color:var(--success)}.ui-form-error{margin:8px 0 0;font-size:14px;color:var(--danger)}.shop-balance-mobile-list,.shop-orders-mobile-list{display:none}.ui-admin-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.ui-admin-table{min-width:720px}.ui-admin-table :where(th,td){vertical-align:middle}@media (max-width:640px){:root{--tap-target-min:var(--tap-target-mobile)}:where(.page-content,.dm,.container,.hc){min-width:0}:where(.btn:not(.btn-sm),.btn-outline){justify-content:center}:where(.store-tabs,.addr-tabs,.shop-orders-tabs){scroll-snap-type:inline proximity}:where(.store-tab,.addr-tab,.shop-orders-tabs .addr-tab){scroll-snap-align:start}.shop-orders-card .shop-orders-table-wrap{display:none}.shop-orders-mobile-list{display:flex;flex-direction:column;gap:10px;padding:12px}.shop-orders-mobile-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:12px}.shop-orders-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.shop-orders-mobile-title{max-width:100%;font-size:14px;font-weight:700;line-height:1.3;color:var(--text-primary)}.shop-orders-mobile-id{margin-top:4px;font-size:12px;color:var(--text-tertiary)}.shop-orders-mobile-meta{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--border);font-size:13px}.shop-orders-mobile-meta>span{color:var(--text-tertiary)}.shop-orders-mobile-meta>a,.shop-orders-mobile-meta>strong{min-width:0;text-align:right}.shop-orders-mobile-actions{display:flex;gap:8px;margin-top:10px}.shop-orders-mobile-actions .btn{flex:1 1 0}.shop-balance-history-table{display:none}.shop-balance-mobile-list{display:flex;flex-direction:column;gap:10px;padding:12px}.shop-balance-mobile-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);padding:12px}.shop-balance-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.shop-balance-mobile-head>strong{min-width:0;line-height:1.35}.shop-balance-mobile-meta{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--border);font-size:13px}.shop-balance-mobile-meta>span{color:var(--text-tertiary)}.shop-balance-mobile-meta>strong{min-width:0;text-align:right}}