:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--red: #dc2626;--red-dark: #b91c1c;--red-soft: #fee2e2;--sidebar: #111827;--sidebar-hover: #1f2937;--sidebar-muted: #9ca3af;--border: #e5e7eb;--muted: #6b7280;--card: #ffffff;--page: #f5f7fb;--shadow: 0 8px 28px rgba(15, 23, 42, .06)}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--page);color:#111827}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app{min-height:100vh;background:var(--page)}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;z-index:50;display:flex;flex-direction:column;background:var(--sidebar);color:#fff;border-right:1px solid rgba(255,255,255,.05);transition:width .2s ease,transform .2s ease;overflow-y:auto;overflow-x:hidden}.sidebar.collapsed{width:76px}.brand{min-height:72px;padding:16px;display:flex;align-items:center;gap:11px;border-bottom:1px solid rgba(255,255,255,.07);flex-shrink:0}.brand-mark{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--red);color:#fff;font-size:20px;font-weight:900;flex-shrink:0}.brand strong{display:block;font-size:15px;letter-spacing:.08em;line-height:1.1}.brand span{display:block;margin-top:2px;color:#fca5a5;font-size:11px;font-weight:700;letter-spacing:.16em}.sidebar nav{padding:12px 10px;flex:1}.nav-item{width:100%;min-height:42px;display:flex;align-items:center;gap:11px;border:0;border-radius:9px;padding:10px 12px;margin-bottom:3px;background:transparent;color:#d1d5db;text-align:left;font-size:13px;transition:.15s ease}.nav-item svg{flex-shrink:0}.nav-item:hover{background:var(--sidebar-hover);color:#fff}.nav-item.active{background:var(--red);color:#fff;box-shadow:0 5px 15px #dc262638}.nav-button{justify-content:flex-start}.nav-button>svg:last-child{margin-left:auto}.submenu{margin:0 0 6px 25px;padding-left:10px;border-left:1px solid #374151}.sub-item{display:block;padding:8px 10px;border-radius:7px;color:#9ca3af;font-size:12px}.sub-item:hover,.sub-item.active{color:#fff;background:#ffffff12}.sidebar-bottom{padding:10px;border-top:1px solid rgba(255,255,255,.07)}.main{min-height:100vh;margin-left:250px;transition:margin-left .2s ease}.main.expanded{margin-left:76px}.topbar{height:64px;position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;padding:0 26px;background:#fffffff5;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar>div{flex:1;min-width:0}.topbar strong{font-size:13px}.topbar span{color:var(--muted);font-size:13px}.logout{border:1px solid var(--border);background:#fff;color:#374151;border-radius:8px;padding:8px 13px;font-size:12px;font-weight:700}.logout:hover{background:#f9fafb;border-color:#d1d5db}.mobile-menu{display:none;width:38px;height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#374151}.content{width:100%;max-width:1600px;margin:0 auto;padding:28px}.welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.eyebrow{margin-bottom:6px;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.welcome h1,.store-header h1{margin:0;font-size:29px;line-height:1.2;letter-spacing:-.025em}.welcome p,.page-card>p{color:var(--muted);font-size:14px;line-height:1.6}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.stat-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:var(--shadow)}.stat-card span,.stat-card small{display:block;color:var(--muted);font-size:12px}.stat-card strong{display:block;margin:9px 0 4px;font-size:25px;line-height:1.15}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.page-card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:20px;box-shadow:var(--shadow)}.page-title{margin-bottom:8px;font-size:22px;font-weight:800}.section-title{margin-bottom:15px;font-size:16px;font-weight:800}.channel-row{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #f1f5f9;font-size:13px}.channel-row:last-child{border-bottom:0}.channel-row b{color:#9ca3af;font-size:12px;font-weight:700}.empty{min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center;font-size:13px}.empty h3{margin:0;color:#374151;font-size:16px}.empty p{margin:0}.mobile-open{transform:translate(0)}.overlay{display:none}input,textarea,select{color:#111827}input::placeholder,textarea::placeholder{color:#9ca3af}.store-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.store-header h1{margin-bottom:5px}.store-header p{margin:0;color:#6b7280}.primary-button,.secondary-button,.danger-button,.success-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;padding:10px 15px;font-weight:650;cursor:pointer;transition:.15s ease}.primary-button{background:#dc2626;color:#fff}.primary-button:hover{background:#b91c1c}.primary-button:disabled{opacity:.6;cursor:not-allowed}.secondary-button{background:#f3f4f6;color:#374151}.secondary-button:hover{background:#e5e7eb}.danger-button{background:#fee2e2;color:#b91c1c}.danger-button:hover{background:#fecaca}.success-button{background:#dcfce7;color:#15803d}.success-button:hover{background:#bbf7d0}.store-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.store-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px 20px}.store-summary-card span,.store-summary-card small{display:block;color:#6b7280}.store-summary-card strong{display:block;font-size:28px;margin:8px 0 3px}.stores-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.store-card{background:#fff;border:1px solid #e5e7eb;border-radius:15px;overflow:hidden;transition:.15s ease}.store-card:hover{border-color:#d1d5db;box-shadow:0 8px 25px #0000000d}.store-card-top{display:flex;justify-content:space-between;align-items:center;padding:18px 18px 5px}.store-icon{width:45px;height:45px;border-radius:12px;display:grid;place-items:center;background:#fee2e2;color:#dc2626}.status{padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700}.status.active{background:#dcfce7;color:#15803d}.status.inactive{background:#f3f4f6;color:#6b7280}.store-card-body{padding:14px 18px 18px}.store-card-body h3{margin:0 0 3px;font-size:19px}.store-code{display:inline-block;background:#f3f4f6;color:#6b7280;font-size:12px;font-weight:700;padding:4px 8px;border-radius:6px;margin-bottom:12px}.store-card-body p{color:#6b7280;font-size:13px;line-height:1.5;margin:0 0 12px}.store-info{display:flex;align-items:flex-start;gap:8px;color:#6b7280;font-size:13px;margin-top:8px}.store-info svg{flex-shrink:0;margin-top:2px}.store-card-footer{border-top:1px solid #f0f0f0;padding:12px 18px;display:flex;gap:8px}.store-card-footer button{flex:1;font-size:12px;padding:8px 10px}.loading{padding:45px 20px;text-align:center;color:#6b7280}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1118278c;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}.store-modal{width:min(720px,100%);max-height:calc(100vh - 40px);overflow-y:auto;background:#fff;border-radius:16px;box-shadow:0 25px 60px #0003}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid #e5e7eb}.modal-header h2{margin:0 0 4px;font-size:21px}.modal-header p{margin:0;color:#6b7280;font-size:13px}.modal-close{border:0;background:#f3f4f6;color:#6b7280;width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.modal-close:hover{background:#e5e7eb}.modal-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group{display:flex;flex-direction:column;gap:7px}.form-group.full{grid-column:1 / -1}.form-group label{font-size:13px;font-weight:700;color:#374151}.form-group input,.form-group textarea{width:100%;border:1px solid #d1d5db;border-radius:9px;padding:11px 12px;outline:none;font:inherit;background:#fff}.form-group input:focus,.form-group textarea:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc262614}.form-group textarea{min-height:90px;resize:vertical}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid #e5e7eb}@media(max-width:1100px){.stores-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.store-header{align-items:flex-start;flex-direction:column}.store-header .primary-button{width:100%}.store-summary,.stores-grid,.form-grid{grid-template-columns:1fr}.form-group.full{grid-column:auto}.modal-overlay{padding:10px}.store-modal{max-height:calc(100vh - 20px)}.modal-header,.modal-body,.modal-footer{padding:18px}}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.content{padding:22px}}@media(max-width:800px){.sidebar{width:250px;transform:translate(-100%);box-shadow:15px 0 35px #0000002e}.sidebar.mobile-open{transform:translate(0)}.sidebar.collapsed{width:250px}.main,.main.expanded{margin-left:0}.mobile-menu{display:grid;place-items:center}.overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#0f172a73}.topbar{padding:0 16px}.content{padding:18px}.grid-2{grid-template-columns:1fr}}@media(max-width:600px){.stats{grid-template-columns:1fr}.welcome h1,.store-header h1{font-size:24px}.topbar{height:58px}.topbar strong{font-size:12px}.logout{padding:7px 10px}.content{padding:14px}.page-card,.stat-card{padding:16px}}
