/* BLUEFLOW Segment Builder — merchant-friendly presentation layer */
body:has(#segmentForm) .modal.segment-simple-modal{width:min(94vw,800px);max-height:92vh;overflow:auto;padding:28px;border-radius:28px}
.segment-simple-modal .segment-builder-head h3{font-size:24px;letter-spacing:-.02em;margin-bottom:5px}.segment-simple-modal .segment-builder-head>p{font-size:13px;line-height:1.6;max-width:650px;margin-bottom:12px}.seg-simple-hint{display:flex;align-items:center;gap:10px;padding:11px 13px;margin:10px 0 17px;border:1px solid #d7eaff;border-radius:14px;background:#f4faff;color:#42677f}.seg-simple-hint>span{width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;border-radius:10px;background:#fff;color:#168bff;font-weight:900}.seg-simple-hint b{display:block;color:#244e6d;font-size:12.5px}.seg-simple-hint small{display:block;margin-top:1px;color:#71899c;font-size:11px;line-height:1.45}
.segment-simple-form>label{font-size:12.5px;margin-top:12px}.segment-simple-form>.inp{height:46px;border-radius:13px}.segment-simple-form .segment-builder-block{padding:16px;margin-top:15px;border-radius:18px;background:#f8fbff}.segment-simple-form .segment-builder-block>label:first-child{font-size:14px;font-weight:800;color:#173452}.seg-logic-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.seg-simple-logic-title{margin:11px 1px 6px;color:#637f95;font-size:11.5px;font-weight:700}.seg-simple-logic-title[hidden],.seg-simple-logic-choice[hidden],.segment-simple-form .segment-logic-help[hidden]{display:none!important}.seg-simple-logic-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 7px}.seg-simple-logic-choice button{display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:9px;text-align:left;align-items:center;padding:11px 12px;border:1px solid #dce8f5;border-radius:14px;background:#fff;color:#49657d;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.seg-simple-logic-choice button>span{grid-row:1/3;width:30px;height:30px;border-radius:10px;background:#eef7ff;color:#168bff;display:grid;place-items:center;font-weight:900}.seg-simple-logic-choice button b{font-size:12px;color:#31526b}.seg-simple-logic-choice button small{font-size:10px;color:#8295a6;margin-top:1px}.seg-simple-logic-choice button.on{border-color:#168bff;background:#f3f9ff;box-shadow:0 0 0 3px rgba(22,139,255,.08)}.segment-simple-form .segment-logic-help{font-size:11px;line-height:1.5;margin:7px 1px 10px}.segment-simple-form .segment-product-help[hidden]{display:none!important}.segment-simple-form .segment-product-help{margin:9px 0 5px;background:#eef8ff}
.segment-simple-form .segment-rule-row.seg-simple-rule{position:relative;margin-top:10px;padding:38px 46px 13px 13px;border:1px solid #dce8f5;border-radius:15px;background:#fff;align-items:end}.segment-simple-form .segment-rule-row.seg-simple-rule:not(.product-rule){grid-template-columns:1.35fr .9fr .85fr}.segment-simple-form .segment-rule-row.seg-simple-rule.product-rule{grid-template-columns:1.15fr 1.1fr .85fr .72fr}.segment-simple-form .segment-rule-row.seg-simple-rule.product-rule.presence-rule{grid-template-columns:1fr 1fr}.seg-simple-rule-no{position:absolute;left:13px;top:11px;min-width:36px;height:20px;padding:0 8px;border-radius:999px;background:#edf7ff;color:#0879dc;border:0;display:grid;place-items:center;font-size:9.5px;font-weight:800;z-index:2}.segment-simple-form .segment-rule-row label{font-size:10.5px;color:#758b9e;margin-bottom:5px}.segment-simple-form .segment-rule-row .inp,.segment-simple-form .segment-rule-row .sel{height:44px;border-radius:11px;font-size:12.5px;background:#fbfdff}.segment-simple-form .segment-rule-remove{position:absolute;right:10px;top:30px;width:30px;height:30px;border-radius:10px;background:#f8fbfe}.segment-simple-form .segment-add-rule{display:inline-flex;align-items:center;margin-top:12px;padding:7px 9px;border-radius:10px;font-size:12px}.segment-simple-form .segment-add-rule:hover{background:#edf7ff}.seg-value-cell{position:relative}.seg-value-cell.has-simple-unit .seg-value{padding-right:55px}.seg-simple-unit{position:absolute;right:11px;bottom:13px;color:#71899c;font-size:11px;font-weight:700;pointer-events:none}.segment-simple-form .segment-preview-box{margin:15px 0 2px;padding:14px 15px;border-radius:15px}.seg-simple-preview-main{display:flex;justify-content:space-between;align-items:center;gap:12px}.seg-simple-preview-main span{font-size:11.5px;color:#54758d}.seg-simple-preview-main b{font-size:21px;color:#0879dc}.segment-simple-form .segment-preview-box>small{display:block;margin-top:2px;color:#7990a3;font-size:10.5px}.seg-simple-advanced{margin-top:13px;border:1px solid #dce8f5;border-radius:14px;background:#fbfdff;overflow:hidden}.seg-simple-advanced summary{list-style:none;display:flex;align-items:center;gap:9px;padding:11px 13px;cursor:pointer}.seg-simple-advanced summary::-webkit-details-marker{display:none}.seg-simple-advanced summary>span{width:28px;height:28px;border-radius:9px;background:#edf5fc;display:grid;place-items:center;color:#57748d}.seg-simple-advanced summary div{flex:1}.seg-simple-advanced summary b{display:block;font-size:11.5px;color:#3b5b73}.seg-simple-advanced summary small{display:block;font-size:10px;color:#8496a6}.seg-simple-advanced summary i{font-style:normal;color:#8294a4;transition:transform .15s ease}.seg-simple-advanced[open] summary i{transform:rotate(180deg)}.seg-simple-advanced>label{display:block;margin:0 13px 5px;font-size:11px}.seg-simple-advanced>.sel{width:calc(100% - 26px);margin:0 13px 13px;height:42px}.segment-simple-form>button.btn.primary.full{height:46px;border-radius:13px;font-size:13px;margin-top:15px!important}
.segment-section-head h3{letter-spacing:-.01em}
@media(max-width:760px){body:has(#segmentForm) .modal.segment-simple-modal{width:min(96vw,620px);padding:21px 17px;border-radius:22px}.seg-simple-logic-choice{grid-template-columns:1fr}.segment-simple-form .segment-rule-row.seg-simple-rule,.segment-simple-form .segment-rule-row.seg-simple-rule:not(.product-rule),.segment-simple-form .segment-rule-row.seg-simple-rule.product-rule,.segment-simple-form .segment-rule-row.seg-simple-rule.product-rule.presence-rule{grid-template-columns:1fr;padding:38px 45px 14px 14px}.segment-simple-form .segment-rule-remove{top:10px}.seg-simple-rule-no{left:14px;top:10px}.segment-simple-modal .segment-builder-head h3{font-size:21px}}
html[data-theme="dark"] .seg-simple-hint{background:#10263a;border-color:#294b68;color:#a5bfd3}html[data-theme="dark"] .seg-simple-hint>span{background:#17324a;color:#8bd0ff}html[data-theme="dark"] .seg-simple-hint b{color:#e2f0fa}html[data-theme="dark"] .seg-simple-hint small{color:#91a7b8}html[data-theme="dark"] .seg-simple-logic-title{color:#9ab0c1}html[data-theme="dark"] .seg-simple-logic-choice button{background:#111f2d;border-color:#2b4155;color:#a9bdcc}html[data-theme="dark"] .seg-simple-logic-choice button b{color:#dceaf5}html[data-theme="dark"] .seg-simple-logic-choice button small{color:#8fa4b5}html[data-theme="dark"] .seg-simple-logic-choice button>span{background:#15314b;color:#8bd1ff}html[data-theme="dark"] .seg-simple-logic-choice button.on{background:#132a40;border-color:#2d91da}html[data-theme="dark"] .segment-simple-form .segment-rule-row.seg-simple-rule{background:#101b28;border-color:#294056}html[data-theme="dark"] .seg-simple-rule-no{background:#15314b;color:#8bd1ff;border:0}html[data-theme="dark"] .segment-simple-form .segment-rule-row .inp,html[data-theme="dark"] .segment-simple-form .segment-rule-row .sel{background:#132231}html[data-theme="dark"] .seg-simple-advanced{background:#101b28;border-color:#294056}html[data-theme="dark"] .seg-simple-advanced summary>span{background:#172b3e;color:#9bd8ff}