.scanshop-affiliate-dashboard{max-width:1200px;margin:30px auto;font-family:inherit}.scanshop-affiliate-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.scanshop-affiliate-head h2{margin:0 0 6px}.scanshop-code{min-width:240px;padding:14px 18px;border-radius:12px;background:#f6f7f8}.scanshop-code span{display:block;font-size:12px;margin-bottom:4px}.scanshop-code strong{font-size:20px}.scanshop-affiliate-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:18px 0}.scanshop-affiliate-stats>div{padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.scanshop-affiliate-stats span{display:block;font-size:13px;margin-bottom:8px}.scanshop-affiliate-stats strong{font-size:22px}.scanshop-affiliate-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.scanshop-affiliate-tabs a{padding:10px 14px;border:1px solid #ddd;border-radius:9px;text-decoration:none}.scanshop-affiliate-tabs a.active{font-weight:700;border-color:#111}.scanshop-affiliate-content{padding:22px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.scanshop-table-wrap{overflow:auto}.scanshop-affiliate-table{width:100%;border-collapse:collapse}.scanshop-affiliate-table th,.scanshop-affiliate-table td{text-align:left;padding:12px;border-bottom:1px solid #eee;white-space:nowrap}.scanshop-product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.scanshop-product-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:8px}.scanshop-product-card img{width:100%;height:auto}.scanshop-affiliate-profile{max-width:600px}.scanshop-affiliate-profile label{display:block;font-weight:600;margin-bottom:6px}.scanshop-affiliate-profile input{width:100%;padding:10px}.scanshop-affiliate-box{padding:18px;border:1px solid #e5e7eb;border-radius:12px}.scanshop-order-affiliate{margin-top:10px;padding:10px;background:#fafafa;border:1px solid #eee}@media(max-width:900px){.scanshop-affiliate-stats,.scanshop-product-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.scanshop-affiliate-head{display:block}.scanshop-code{margin-top:16px}.scanshop-affiliate-stats,.scanshop-product-grid{grid-template-columns:1fr}}
