
/* TAI247_COMMERCE_CONTROL_UI_V1 */
.tai-commerce-panel{margin-top:22px;padding:22px;border:1px solid #e7e8e3;border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(18,20,18,.05)}
.tai-commerce-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}
.tai-commerce-head small{display:block;font-weight:850;letter-spacing:.09em;color:#777a74;margin-bottom:5px}
.tai-commerce-head h3{margin:0;font-size:25px;letter-spacing:-.03em}
.tai-commerce-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:850;letter-spacing:.05em;background:#f0f1ed;color:#4f524e}
.tai-commerce-badge.live{background:#e8f9f0;color:#0b7d4d}
.tai-commerce-badge.testing{background:#fff4bd;color:#705700}
.tai-commerce-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.tai-commerce-stat{padding:14px;border-radius:17px;background:#f7f8f5;border:1px solid #eceee9}
.tai-commerce-stat span{display:block;color:#777a74;font-size:11px;margin-bottom:5px}
.tai-commerce-stat strong{font-size:21px;letter-spacing:-.03em}
.tai-commerce-section{padding-top:18px;margin-top:18px;border-top:1px solid #eceee9}
.tai-commerce-section h4{margin:0 0 5px;font-size:18px}
.tai-commerce-section>p{margin:0 0 14px;color:#73766f;font-size:12px;line-height:1.45}
.tai-commerce-airtime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tai-commerce-fact{padding:13px;background:#f8f9f6;border-radius:16px;border:1px solid #eceee9}
.tai-commerce-fact span{display:block;color:#777a74;font-size:10px;margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}
.tai-commerce-fact strong{font-size:13px}
.tai-commerce-reasons{margin-top:12px;padding:12px 14px;border-radius:15px;background:#fff8dc;color:#5f4d04;font-size:12px}
.tai-commerce-reasons ul{margin:5px 0 0;padding-left:18px}
.tai-commerce-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.tai-commerce-btn{border:0;border-radius:13px;min-height:42px;padding:0 15px;font-weight:850;cursor:pointer}
.tai-commerce-btn.primary{background:#ffd21a;color:#111}
.tai-commerce-btn.danger{background:#171819;color:white}
.tai-commerce-btn:disabled{opacity:.45;cursor:not-allowed}
.tai-commerce-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.tai-commerce-proof label{display:block;font-size:11px;color:#666962}
.tai-commerce-proof input,.tai-commerce-proof select,.tai-commerce-proof textarea{width:100%;margin-top:6px;border:1px solid #dfe1dc;border-radius:13px;min-height:42px;padding:10px 11px;background:#fff;font:inherit}
.tai-commerce-proof .wide{grid-column:1/-1}
.tai-commerce-proof textarea{min-height:72px;resize:vertical}
.tai-commerce-table-wrap{overflow:auto;border:1px solid #eceee9;border-radius:16px}
.tai-commerce-table{width:100%;border-collapse:collapse;min-width:760px;font-size:12px}
.tai-commerce-table th,.tai-commerce-table td{padding:11px 10px;border-bottom:1px solid #eff0ec;text-align:left;vertical-align:middle}
.tai-commerce-table th{color:#777a74;text-transform:uppercase;font-size:9px;letter-spacing:.06em}
.tai-commerce-table tr:last-child td{border-bottom:0}
.tai-commerce-switch{display:inline-flex;gap:8px;align-items:center;font-weight:700}
.tai-commerce-route-chips{display:flex;gap:5px;flex-wrap:wrap}
.tai-commerce-route-chip{padding:4px 7px;border-radius:999px;background:#f1f2ef;font-size:9px;white-space:nowrap}
.tai-commerce-proof-card{margin-top:12px;padding:12px 14px;border-radius:15px;border:1px solid #dceee4;background:#f2fbf6;font-size:11px;line-height:1.5}
.tai-commerce-note{color:#777a74;font-size:11px;margin-top:10px}
@media(max-width:760px){
  .tai-commerce-panel{padding:16px}
  .tai-commerce-summary,.tai-commerce-airtime-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tai-commerce-proof{grid-template-columns:1fr}
  .tai-commerce-proof .wide{grid-column:auto}
}
