.accessory-table td{vertical-align:top}
.accessory-table td strong{display:block;font-size:15px}
.accessory-table td small{display:block;margin-top:5px;color:#6f7881;font-size:13px;line-height:1.45}
.accessory-table .rc-pill{white-space:nowrap}
.accessory-price{font-size:17px!important}
.accessory-list{max-width:390px}
.accessory-order-selection{max-width:430px}

.rc-principle{display:flex;align-items:flex-start;gap:13px;margin-top:23px;padding:16px 18px;border:1px solid #d7e8de;border-radius:15px;background:#f3faf6}
.rc-principle-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#177a48;color:#fff;font-size:16px;font-weight:900}
.rc-principle strong{display:block;font-size:15px}
.rc-principle p{margin:4px 0 0;color:#567064;font-size:14px;line-height:1.55}
.rc-source-badge{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 11px;border:1px solid #d7e8de;border-radius:999px;background:#f3faf6;color:#177a48;font-size:11px;font-weight:900;letter-spacing:.65px;white-space:nowrap}
.rc-source-badge span{width:8px;height:8px;border-radius:50%;background:#22a663;box-shadow:0 0 0 4px rgba(34,166,99,.12)}

.rules-table{min-width:1120px}
.products-table{min-width:1130px}
.orders-table{min-width:1040px}
.rc-sku-chips{display:flex;flex-wrap:wrap;gap:5px}
.rc-sku-chips span{display:inline-flex;max-width:180px;min-height:27px;align-items:center;padding:0 8px;border:1px solid #e0e5e8;border-radius:7px;background:#f7f9fa;color:#3f4a53;font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.rc-store-product{display:flex;align-items:center;gap:12px;min-width:260px}
.rc-store-product img{width:54px;height:54px;flex:0 0 54px;border:1px solid #e4e8eb;border-radius:11px;background:#f7f8f9;object-fit:contain;padding:4px}
.rc-store-product div{min-width:0}
.rc-store-product strong{max-width:280px;line-height:1.35}
.rc-link-button[href]{display:inline-flex;align-items:center;min-height:36px;white-space:nowrap}

.rule-dialog{width:min(850px,calc(100% - 28px));max-height:min(900px,calc(100vh - 28px));overflow:auto}
.rule-dialog .rc-dialog-top p{max-width:580px;margin:7px 0 0;color:#68737d;font-size:14px;line-height:1.5}
.rule-dialog .rc-form-grid input{font-size:16px}
.rule-dialog .rc-field small{color:#78828b;font-size:12px;line-height:1.4}
.rule-dialog code{padding:2px 5px;border-radius:5px;background:#f0f2f3;color:#39434b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.rc-input-suffix{display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid #cfd6db;border-radius:10px;overflow:hidden;background:#fff}
.rc-input-suffix:focus-within{border-color:#ff4b1f;box-shadow:0 0 0 3px rgba(255,75,31,.1)}
.rc-input-suffix input{border:0!important;border-radius:0!important;box-shadow:none!important}
.rc-input-suffix span{padding:0 13px;color:#68737d;font-size:14px;font-weight:800}

.rc-product-picker{margin:20px 0 0;padding:17px;border:1px solid #dce2e6;border-radius:14px;background:#fafbfb}
.rc-product-picker legend{padding:0 7px;color:#11151a;font-size:14px;font-weight:850}
.rc-product-picker>p{margin:0 0 13px;color:#68737d;font-size:13px;line-height:1.5}
.rc-product-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.rc-pick-product{position:relative;display:grid;grid-template-columns:24px 56px 1fr;align-items:center;gap:10px;min-height:82px;padding:10px;border:1px solid #dce2e6;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.rc-pick-product:hover{border-color:#bbc5cb}
.rc-pick-product:has(input:checked){border-color:#ff4b1f;background:#fff8f5;box-shadow:0 0 0 2px rgba(255,75,31,.08)}
.rc-pick-product input{position:absolute;opacity:0;pointer-events:none}
.rc-pick-check{display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #b8c0c6;border-radius:6px;background:#fff;color:transparent;font-size:13px;font-weight:900}
.rc-pick-product input:checked+.rc-pick-check{border-color:#ff4b1f;background:#ff4b1f;color:#fff}
.rc-pick-product input:focus-visible+.rc-pick-check{outline:3px solid rgba(255,75,31,.25);outline-offset:3px}
.rc-pick-product img{width:56px;height:56px;border-radius:9px;background:#f5f7f8;object-fit:contain;padding:4px}
.rc-pick-copy{display:block;min-width:0}
.rc-pick-copy strong{display:block;font-size:13px;line-height:1.35}
.rc-pick-copy small,.rc-pick-copy em{display:block;margin-top:3px;color:#74808a;font-size:11px;font-style:normal;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-pick-copy em{color:#385648;font-weight:750}
.rc-picker-error{margin-top:10px;color:#ad433c;font-size:13px;font-weight:750}
.rc-rule-targeting{margin-top:16px}
.rc-readonly-rule{justify-content:flex-end;min-height:74px;padding:10px 12px;border:1px solid #e1e6e9;border-radius:10px;background:#f7f9fa}
.rc-readonly-rule strong{font-size:13px;line-height:1.4}
.rc-load-error{padding:70px 0;color:#ad433c;font-size:16px;font-weight:700}

@media(max-width:900px){
  .accessory-table{min-width:1000px}
  .rc-product-picker-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .rc-principle{padding:14px}
  .rc-source-badge{display:none}
  .rule-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px)}
  .rc-product-picker{padding:13px}
  .rc-pick-product{grid-template-columns:24px 48px 1fr;min-height:76px}
  .rc-pick-product img{width:48px;height:48px}
}
