.rules-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.rules-heading h1{font-size:25px;color:#092b61;font-weight:600;letter-spacing:-.5px;margin:0 0 5px}.rules-heading p{font-size:13px;color:#7b91ad;margin:0;line-height:1.5}.rules-heading>.subtle-button{flex:none}.rules-settings-panel .subtle-button,.rules-settings-panel .primary-button{font-size:12px;min-height:33px;padding:7px 12px;border-radius:8px}.rules-tabs{display:flex;gap:20px;margin-top:24px}.rules-tabs>button{padding:0 4px 12px;background:none;border-bottom:3px solid transparent;font-size:13px;letter-spacing:.15px;font-weight:600;color:#91a4bd;white-space:nowrap}.rules-tabs>button[aria-selected=true]{border-color:#086aff;color:#377adc}.rules-empty{text-align:center;padding:55px 15px 20px}.rules-empty>svg{width:40px;height:40px;color:#91abc9;margin-bottom:16px}.rules-empty h2{font-size:16px;font-weight:500;color:#244a77;margin:0 0 7px}.rules-empty>p{font-size:13px;line-height:1.6;color:#8198b5;margin:0 0 20px}.rules-empty>div{display:flex;justify-content:center;gap:8px}.rules-session-note{font-size:11px;color:#9cadc4;line-height:1.6;text-align:center;margin:22px 0 0}.rules-page-status{font-size:12px;color:#218b73;text-align:center}.rules-list-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 15px;font-size:13px;color:#7892b2}.rules-table-scroll{overflow:auto}.rules-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap;text-align:left}.rules-table th{padding:13px 12px;background:#f4f8fe;color:#7892b2;font-weight:500;border-bottom:1px solid #dbe7f6}.rules-table td{padding:17px 12px;border-bottom:1px solid #e7effa;color:#31557f}.rules-table small{display:block;margin-top:5px;color:#8ba0ba;font-size:11px}.rules-row-actions{display:flex;gap:12px}.rule-text-button{background:none;color:#397ddd;font-size:12px;padding:4px}.rule-text-button.rule-delete{color:#bb6372}.rule-symbol-badge{display:inline-flex;align-items:center;gap:6px;background:#eaf3ff;color:#3375ce;border-radius:999px;font-size:11px;padding:4px 9px;line-height:1.3}.rules-dialog-open{overflow:hidden}.rules-dialog{color:#244a77;background:white;border:1px solid #dce8f8;border-radius:16px;width:min(444px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:0;box-shadow:0 22px 80px #0a255a33;overflow:auto}.rules-dialog::backdrop{background:#081b4269;backdrop-filter:blur(2px)}.rules-dialog>header{display:flex;justify-content:space-between;align-items:center;padding:23px 24px 16px;gap:16px}.rules-dialog h2{margin:0;font-size:20px;font-weight:600;color:#153967}.rule-dialog-close{font-size:24px;line-height:24px;width:26px;height:26px;display:grid;place-items:center;padding:0;background:none;color:#7f98b8}.rule-form-body{padding:0 24px 20px}.rule-field{display:block;color:#708bae;font-size:13px;margin:0 0 14px;line-height:1.5}.rule-field>input,.rule-field select{display:block;box-sizing:border-box;width:100%;height:34px;padding:6px 11px;margin-top:4px;border:1px solid #c8d9ee;border-radius:8px;background:white;font-size:13px;color:#244a77;outline:none}.rule-field select{padding-right:26px;cursor:pointer}.rule-field input:focus,.rule-field select:focus{border-color:#6aa1f7;box-shadow:0 0 0 2px #e9f2ff}.rules-dialog footer{display:flex;gap:8px;justify-content:flex-end;padding:16px;border-top:1px solid #deebfa;background:#fbfdff;border-radius:0 0 16px 16px;position:sticky;bottom:0;z-index:3}.rules-dialog footer button{font-size:13px;min-height:40px;padding:9px 15px;border-radius:8px}.rule-symbol-field{position:relative}.rule-symbol-picker{position:relative;margin-top:4px}.rules-dialog [hidden]{display:none!important}.rule-symbol-box{border:1px solid #c8d9ee;border-radius:8px;min-height:34px;display:flex;align-items:center;flex-wrap:wrap;padding:4px 8px;gap:4px;background:white}.rule-symbol-box:focus-within{border-color:#6aa1f7;box-shadow:0 0 0 2px #e9f2ff}.rule-symbol-chips{display:contents}.rule-symbol-badge button{display:grid;place-items:center;background:#79a5e3;color:white;font-size:11px;padding:0;width:13px;height:13px;border-radius:50%;line-height:1}.rule-symbol-box>input{flex:1;width:90px;min-width:80px;border:0;background:none;outline:none;padding:1px 2px;height:22px;font-size:13px;color:#244a77}.rule-symbol-box>input:focus{box-shadow:none}.rule-symbol-box>input::placeholder{color:#9aadc6}.rule-symbol-add{background:#eaf3ff;color:#3375ce;font-size:17px;padding:0 5px;border-radius:5px}#rule-symbol-options{position:absolute;left:0;right:0;top:calc(100% + 5px);max-height:270px;overflow:auto;padding:5px;border:1px solid #d5e3f5;box-shadow:0 7px 18px #193d701f;background:white;border-radius:11px;z-index:6}#rule-symbol-options>button{display:block;width:100%;text-align:left;background:none;color:#31557f;border-radius:6px;font-size:13px;padding:9px 8px}#rule-symbol-options>button:hover,#rule-symbol-options>button:focus-visible{background:#eaf3ff;outline:none}.rule-symbol-empty{display:block;padding:9px;font-size:12px;color:#94a8c1}.rule-levels{margin-bottom:20px}.rule-levels:last-of-type{margin-bottom:0}.rule-level-row{display:flex;gap:16px;align-items:flex-start}.rule-level-row>.rule-field,.rule-level-row>.rule-percentage{flex:1;min-width:0}.rule-percentage{position:relative}.rule-percentage-input{display:flex;align-items:center;height:34px;border:1px solid #c8d9ee;border-radius:8px;margin-top:4px;padding:0 8px 0 11px;box-sizing:border-box;background:white}.rule-percentage-input:focus-within{border-color:#6aa1f7;box-shadow:0 0 0 2px #e9f2ff}.rule-percentage-input input{width:100%;min-width:0;border:0;background:none;outline:none;color:#244a77;font-size:13px;appearance:textfield;-moz-appearance:textfield}.rule-percentage-input input:focus{box-shadow:none}.rule-percentage-input input::-webkit-inner-spin-button{-webkit-appearance:none}.rule-percentage-input button{flex:none;background:none;color:#548ddd;padding:2px 0 2px 5px;font-size:17px;line-height:20px}.rule-presets{position:absolute;right:0;top:calc(100% - 8px);display:flex;gap:3px;background:white;border:1px solid #c8d9ee;border-radius:10px;padding:5px;box-shadow:0 6px 15px #18376222;z-index:5}.rule-presets button{padding:7px 8px;border-radius:6px;background:none;color:#31557f;font-size:12px}.rule-presets button:hover{background:#eaf3ff;color:#086aff}.rule-level-remove{flex:none;align-self:center;font-size:19px;line-height:20px;width:16px;padding:0;background:none;color:#88a1c0}.rule-add-level{display:flex;align-items:center;gap:7px;background:none;color:#5186cc;font-size:13px;font-weight:500;padding:0 9px 2px}.rule-add-level>span{display:grid;place-items:center;width:16px;height:16px;font-size:15px;line-height:1;background:#76a1dc;color:white;border-radius:3px}.rule-switch-row{position:relative;display:flex;align-items:center;gap:12px;margin:12px 0 21px;min-height:22px;color:#31557f;cursor:pointer}.rule-switch-row input{position:absolute;width:32px;height:22px;opacity:0;margin:0;left:0}.rule-switch{display:block;position:relative;width:32px;height:16px;border-radius:10px;background:#b9cce5;transition:background .15s}.rule-switch:after{content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;background:white;border-radius:50%;transition:transform .15s}.rule-switch-row input:checked+.rule-switch{background:#086aff}.rule-switch-row input:checked+.rule-switch:after{transform:translateX(16px)}.rule-switch-row input:focus-visible+.rule-switch{outline:2px solid #3384fb;outline-offset:3px}.rule-error{font-size:12px;line-height:1.5;color:#bb4f64;background:#fff4f6;border:1px solid #f4d8df;border-radius:8px;padding:10px;margin:15px 0 0}.rule-delete-description{padding:0 24px 20px;color:#7892b2;font-size:14px;line-height:1.6}.rules-dialog button:focus-visible{outline:2px solid #3384fb;outline-offset:2px}@media(max-width:600px){.rules-heading{align-items:flex-start;flex-direction:column;gap:13px}.rules-heading h1{font-size:23px}.rules-tabs{gap:10px}.rules-tabs>button{font-size:11px}.rules-empty{padding:45px 0 20px}.rules-empty h2{font-size:15px}.rules-dialog{max-height:calc(100dvh - 20px)}.rule-level-row{gap:10px}.rule-form-body{padding:0 18px 18px}.rules-dialog>header{padding:20px 18px 16px}.rule-presets button{padding:7px}}
.rules-search{display:flex;align-items:center;gap:8px;border:1px solid #c8d9ee;border-radius:8px;padding:7px 10px;width:240px;max-width:100%;box-sizing:border-box;background:white}.rules-search>svg{width:15px;height:15px;flex:none;color:#8da5c3}.rules-search input{width:100%;min-width:0;border:0;background:none;outline:none;color:#31557f;font-size:13px;line-height:18px}.rules-search input::placeholder{color:#8da5c3}.rules-search:focus-within{border-color:#6aa1f7;box-shadow:0 0 0 2px #e9f2ff}.rules-list-heading{gap:14px;margin:24px 0 12px}.rules-selection-count{font-size:12px;color:#5a86bf;margin-right:auto}.rules-toolbar-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.rules-settings-panel .rule-menu-trigger{display:grid;place-items:center;width:28px;height:32px;padding:0;border-radius:6px;background:none;color:#7d96b6;font-size:24px;line-height:1}.rules-settings-panel .rule-menu-trigger:hover,.rules-settings-panel .rule-menu-trigger[aria-expanded=true]{color:#086aff;background:#eaf3ff}.rules-table th,.rules-table td{padding:13px 14px}.rules-table .rule-select-cell{width:34px;padding-left:16px;padding-right:12px}.rules-table input[type=checkbox]{display:block;width:17px;height:17px;margin:0;accent-color:#086aff;cursor:pointer}.rules-table input[type=checkbox]:focus-visible{outline:2px solid #3384fb;outline-offset:3px}.rules-table td:last-child{width:28px;padding-right:14px}.rules-table .rules-no-match{text-align:center;padding:38px;color:#8da5c3}.rules-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.rules-action-menu{position:fixed;z-index:80;padding:7px;background:white;border:1px solid #d0dff2;border-radius:12px;box-shadow:0 10px 30px #12365f22;min-width:208px;max-width:calc(100vw - 16px)}.rules-action-menu>button{display:flex;align-items:center;gap:9px;text-align:left;width:100%;padding:9px 8px;border-radius:6px;background:none;color:#31557f;font-size:12px;line-height:18px;white-space:nowrap}.rules-action-menu>button:hover,.rules-action-menu>button:focus-visible{background:#edf5ff;outline:none}.rules-action-menu>button.rule-delete{color:#d35462}.rules-action-menu svg{width:17px;height:17px;flex:none}.rules-action-menu hr{border:0;border-top:1px solid #e2ebf7;margin:5px}.rules-toast{position:fixed;top:15px;left:50%;transform:translateX(-50%);width:320px;max-width:calc(100vw - 24px);box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:15px 17px;background:#219e7f;color:white;border-radius:10px;box-shadow:0 8px 20px #102b362b;z-index:150;font-size:13px}.rules-toast>span:first-child{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:white;color:#219e7f;font-size:11px;font-weight:700}.rules-toast>button{margin-left:auto;padding:0;background:none;color:white;font-size:24px;width:21px;height:21px;line-height:18px}.rules-toast>button:focus-visible{outline:2px solid white;outline-offset:4px}@media(max-width:600px){.rules-list-heading{flex-wrap:wrap;gap:9px}.rules-search{width:190px;flex:1;min-width:120px}.rules-selection-count:empty{display:none}.rules-toolbar-actions{gap:5px}.rules-selection-count{order:3;flex-basis:100%}.rules-action-menu>button{font-size:11px;gap:7px}.rules-table th,.rules-table td{padding:12px 10px}}
