
*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:#111827;font-family:Tahoma,Arial,sans-serif}.top{background:#111827;color:white;padding:14px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;position:sticky;top:0;z-index:9}.wrap{max-width:1380px;margin:auto;padding:18px}.card{background:white;border:1px solid #e5e7eb;border-radius:18px;padding:18px;margin:0 0 16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}.login{max-width:680px;margin:60px auto}.nav{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.nav button.active{background:#111827;color:white}button{border:0;border-radius:12px;padding:10px 14px;margin:3px;cursor:pointer;font-family:inherit;font-weight:900}.primary{background:#2563eb;color:white}.ghost{background:#f3f4f6;border:1px solid #e5e7eb}.danger{background:#dc2626;color:white}.success{background:#16a34a;color:white}input,select,textarea{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:10px;background:white;font-family:inherit}textarea{min-height:66px}label{display:block;font-weight:900;font-size:13px;margin:10px 0 5px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.g2{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.split{display:grid;grid-template-columns:1.12fr .88fr;gap:14px}.muted{color:#6b7280;font-size:13px;line-height:1.8}.notice{background:#eff6ff;border:1px solid #dbeafe;border-radius:14px;padding:12px;margin:10px 0;line-height:1.9}.warn{background:#fff7ed;border-color:#fed7aa}.ok{background:#f0fdf4;border-color:#bbf7d0}.err{background:#fef2f2;border-color:#fecaca;color:#991b1b}.badge{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:900;display:inline-block}.b1{background:#dbeafe;color:#1d4ed8}.b2{background:#dcfce7;color:#166534}.b3{background:#fee2e2;color:#991b1b}.b4{background:#ffedd5;color:#9a3412}.b5{background:#ede9fe;color:#5b21b6}.metric{background:#f9fafb;border:1px solid #e5e7eb;border-radius:16px;padding:14px}.metric b{font-size:24px;display:block}table{width:100%;border-collapse:collapse;background:white;border-radius:14px;overflow:hidden}th,td{padding:10px;border-bottom:1px solid #e5e7eb;text-align:right;vertical-align:top;font-size:13px}th{background:#f9fafb}.checks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:260px;overflow:auto;border:1px solid #e5e7eb;border-radius:14px;padding:10px}.check{display:flex;gap:7px;align-items:center;border:1px solid #eef2f7;border-radius:10px;padding:7px}.check input{width:auto}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.prod{border:1px solid #e5e7eb;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}.price{font-size:18px;font-weight:900}.line{border-bottom:1px solid #e5e7eb;padding:8px 0;display:flex;justify-content:space-between;gap:8px}.small{font-size:12px}pre{direction:ltr;text-align:left;background:#0f172a;color:#e2e8f0;border-radius:14px;padding:12px;overflow:auto}@media(max-width:1000px){.grid,.g2,.g3,.split,.products,.checks{grid-template-columns:1fr}.top{display:block}.wrap{padding:10px}}
.loginShell{max-width:820px;margin:55px auto}.loginTabs{display:flex;gap:8px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:16px;padding:6px;margin-bottom:14px}.loginTabs button{flex:1;background:transparent;border:0}.loginTabs button.active{background:#111827;color:white}.tabPanel{display:none}.tabPanel.active{display:block}.login{max-width:none;margin:0}
.dashBanner{border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#111827,#2563eb);color:white;margin-bottom:16px;border:1px solid #1d4ed8}
.dashBanner .inner{padding:22px}.dashBanner h2{margin:0 0 8px}.dashBanner p{margin:0;line-height:1.9}
.newsBox{border:1px solid #fde68a;background:#fffbeb;border-radius:18px;padding:16px;margin-bottom:16px}
.newsItem{display:grid;grid-template-columns:120px 1fr;gap:12px;border-top:1px solid #fde68a;padding-top:12px;margin-top:12px}
.newsItem:first-child{border-top:0;padding-top:0;margin-top:0}.newsItem img{width:120px;height:80px;object-fit:cover;border-radius:12px;border:1px solid #f59e0b}
.progressWrap{background:#e5e7eb;border-radius:999px;height:14px;overflow:hidden}.progressBar{height:14px;background:#16a34a;border-radius:999px}
.targetCard{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:16px;margin-bottom:14px}
.audienceChip{display:inline-flex;border-radius:999px;background:#eef2ff;color:#3730a3;padding:4px 9px;font-size:12px;font-weight:900;margin:2px}
@media(max-width:900px){.newsItem{grid-template-columns:1fr}.newsItem img{width:100%;height:auto}}


.roleAccessBox{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:#fff}
.statusDot{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:900}
.on{background:#dcfce7;color:#166534}.off{background:#fee2e2;color:#991b1b}
.actionRow{display:flex;gap:6px;flex-wrap:wrap}


.qtyControl{display:inline-flex;align-items:center;gap:6px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:999px;padding:4px}
.qtyControl button{width:30px;height:30px;border-radius:999px;padding:0;justify-content:center;margin:0}
.qtyNum{min-width:28px;text-align:center;font-weight:900}
.shopTableWrap{overflow:auto}
.shopTableWrap table{min-width:980px}
.maxOrderInput{max-width:90px;text-align:center}


/* v48 integrated patch */
.backupBar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}
.sliderBox{position:relative;border-radius:22px;overflow:hidden;border:1px solid #dbeafe;background:#111827;color:white;margin-bottom:16px;min-height:220px}
.slide{display:none;min-height:220px}
.slide.active{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.slide.imageOnly.active{display:block}
.slideText{padding:28px}.slideText h2{margin:0 0 10px;font-size:24px}.slideText p{line-height:2;margin:0}
.slideImg{width:100%;height:280px;object-fit:cover;display:block}
.slideNav{position:absolute;bottom:12px;left:12px;display:flex;gap:8px}
.slideNav button{background:rgba(255,255,255,.18);color:white;border:1px solid rgba(255,255,255,.35)}
.dots{position:absolute;bottom:16px;right:16px;display:flex;gap:6px}.dot{width:9px;height:9px;border-radius:999px;background:rgba(255,255,255,.35)}.dot.active{background:white}
.newsFallback{background:linear-gradient(135deg,#111827,#2563eb)}
.reminderCard{border:1px solid #fed7aa;background:#fff7ed;border-radius:18px;padding:14px;margin-bottom:14px}
.reminderItem{display:grid;grid-template-columns:1fr auto;gap:12px;border-top:1px solid #fed7aa;padding:10px 0}.reminderItem:first-child{border-top:0}
.templateVar{display:inline-flex;background:#eef2ff;color:#3730a3;border-radius:999px;padding:3px 8px;margin:2px;font-size:12px;font-weight:900}
.progressBig{height:18px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin:10px 0}.progressBig span{display:block;height:18px;background:#16a34a;border-radius:999px}
.statusAhead{background:#dcfce7;color:#166534}.statusBehind{background:#fee2e2;color:#991b1b}.statusOn{background:#dbeafe;color:#1d4ed8}
.smsPlanBox{border:1px solid #e5e7eb;border-radius:18px;padding:14px;background:white;margin-bottom:12px}
.smsQueueTable td,.smsQueueTable th{font-size:12px}
@media(max-width:900px){.slide.active{grid-template-columns:1fr}.slideImg{height:180px}.reminderItem{grid-template-columns:1fr}}


/* v49 final integrated */
.checkList{border:1px solid #e5e7eb;border-radius:14px;padding:10px;max-height:190px;overflow:auto;background:#fff}
.checkList label{display:flex;align-items:center;gap:7px;margin:5px 0;font-size:13px}
.uatInline{border:1px dashed #c7d2fe;background:#eef2ff;border-radius:16px;padding:10px;margin:10px 0}
.uatInline .grid{align-items:end}
.ledgerPlus{color:#166534;font-weight:900}.ledgerMinus{color:#991b1b;font-weight:900}
.auditFilters{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.walletGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
.statusPill{display:inline-flex;border-radius:999px;padding:4px 9px;font-weight:900;font-size:12px}
.betaTimeline{display:flex;gap:6px;flex-wrap:wrap}.betaStep{padding:5px 8px;border-radius:999px;background:#f3f4f6;font-size:12px}.betaStep.on{background:#dcfce7;color:#166534;font-weight:900}
.dischargeSummary{border:1px solid #bbf7d0;background:#f0fdf4;border-radius:18px;padding:12px;margin:10px 0}
@media(max-width:900px){.auditFilters,.walletGrid{grid-template-columns:1fr}}

