body{margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh}.App{margin:0 auto;max-width:1400px;padding:20px}.App-header{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin-bottom:20px;padding:30px}.App-header h1{color:#333;margin-bottom:10px}.App-header p{color:#666;font-size:16px}.nav-tabs{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;display:flex;gap:10px;margin-bottom:20px;padding:15px}.nav-tabs button{align-items:center;background:#f0f0f0;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:10px 20px;transition:all .3s}.nav-tabs button:hover{background:#e0e0e0}.nav-tabs button.active{background:#667eea;color:#fff}.main-content{background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000001a;min-height:500px;padding:30px}.stats-bar{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:30px}.stat{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;color:#fff;padding:20px;text-align:center}.stat-value{display:block;font-size:32px;font-weight:700;margin-bottom:5px}.stat-label{font-size:14px;opacity:.9}.rule-list table{border-collapse:collapse;width:100%}.rule-list th{background:#f5f5f5;border-bottom:2px solid #e0e0e0;color:#333;font-weight:600;padding:12px;text-align:left}.rule-list td{border-bottom:1px solid #e0e0e0;padding:12px}.rule-list tr:hover{background:#f9f9f9}.rule-list tr.inactive{opacity:.6}.status-toggle{background:none;border:none;border-radius:4px;cursor:pointer;padding:5px;transition:all .3s}.status-toggle.active{color:#4caf50}.status-toggle.inactive{color:#999}.actions{display:flex;gap:8px}.btn-icon{align-items:center;background:none;border:1px solid #e0e0e0;border-radius:4px;cursor:pointer;display:flex;padding:6px;transition:all .3s}.btn-icon:hover{background:#f0f0f0}.btn-icon.btn-danger:hover{background:#fee;border-color:#f88;color:#c00}.notification-preview-container{margin:0 auto;max-width:800px}.notification-card{border:2px solid #e0e0e0;border-radius:8px;margin:20px 0;padding:20px}.notification-card.priority-high{background:#fff5f5;border-color:#ff6b6b}.notification-card.priority-medium{background:#fffef5;border-color:#feca57}.notification-card.priority-low{background:#f5fdff;border-color:#48dbfb}.notification-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px}.notification-title{align-items:center;display:flex;font-size:18px;font-weight:700;gap:10px}.notification-channels{display:flex;gap:8px}.channel-badge{align-items:center;background:#667eea;border-radius:4px;color:#fff;display:flex;padding:4px 8px}.notification-body{color:#555;line-height:1.6;margin-bottom:15px}.notification-footer{align-items:center;color:#999;display:flex;font-size:14px;justify-content:space-between}.priority-icon.high{color:#ff6b6b}.priority-icon.medium{color:#feca57}.priority-icon.low{color:#48dbfb}.preview-devices{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));margin-top:30px}.device-preview{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.device-header{background:#f5f5f5;border-bottom:1px solid #e0e0e0;font-weight:700;padding:10px}.device-notification{padding:15px}.app-name{color:#999;font-size:12px;margin-bottom:5px}.notification-content strong{display:block;margin-bottom:5px}.notification-content p{color:#666;font-size:14px}.notification-time{color:#999;font-size:12px;margin-top:10px}.email-content{padding:20px}.email-subject{border-bottom:1px solid #e0e0e0;margin-bottom:20px;padding-bottom:10px}.email-body p{line-height:1.6;margin-bottom:15px}.rule-builder{margin:0 auto;max-width:1000px}.rule-builder h2{color:#333;margin-bottom:30px}.section{background:#f9f9f9;border-radius:8px;margin-bottom:40px;padding:25px}.section h3{color:#333;margin-bottom:10px}.helper-text{color:#666;font-size:14px}.category-section,.helper-text,.trigger-categories{margin-bottom:20px}.category-section h4{color:#667eea;font-size:14px;letter-spacing:.5px;margin-bottom:10px;text-transform:uppercase}.trigger-list{display:flex;flex-wrap:wrap;gap:8px}.trigger-pill{background:#fff;border:1px solid #e0e0e0;border-radius:20px;font-size:12px;padding:6px 12px}.notification-form{gap:20px}.form-group,.notification-form{display:flex;flex-direction:column}.form-group{gap:8px}.form-group label{color:#333;font-size:14px;font-weight:600}.form-group input,.form-group select,.form-group textarea{border:1px solid #e0e0e0;border-radius:4px;font-size:14px;padding:10px}.form-group textarea{font-family:inherit;resize:vertical}.checkbox-group{display:flex;gap:20px}.checkbox-group label{align-items:center;cursor:pointer;display:flex;font-weight:400;gap:8px}.json-preview{background:#1e1e1e;border-radius:8px;color:#d4d4d4;margin-top:20px;overflow-x:auto;padding:20px}.json-preview pre{font-family:Courier New,monospace;font-size:12px;margin:0}.button-group{display:flex;gap:10px;justify-content:center;margin-top:30px}.btn-primary,.btn-secondary{align-items:center;border:none;border-radius:6px;cursor:pointer;display:inline-flex;font-size:16px;gap:8px;padding:12px 30px;transition:all .3s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{box-shadow:0 4px 12px #667eea66;transform:translateY(-2px)}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover{background:#e0e0e0}.btn-secondary:disabled{cursor:not-allowed;opacity:.5}.import-export-actions{grid-gap:30px;display:grid;gap:30px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:30px}.action-group h3{color:#333;margin-bottom:15px}.alert{border-radius:6px;font-size:14px;margin-top:10px;padding:12px}.alert-error{background:#fee;border:1px solid #fcc;color:#c00}.alert-success{background:#efe;border:1px solid #cfc;color:#060}.format-info{background:#f9f9f9;border-radius:8px;padding:20px}.format-info h4{color:#333;margin-bottom:10px}.format-info p{color:#666;margin-bottom:15px}.format-info details{margin-top:15px}.format-info summary{color:#667eea;cursor:pointer;font-weight:600}.format-info pre{background:#1e1e1e;border-radius:6px;color:#d4d4d4;font-size:12px;margin-top:10px;overflow-x:auto;padding:15px}.empty-state{color:#999;padding:60px 20px;text-align:center}.empty-state h3{color:#666;margin-bottom:10px}.App-footer{color:#fff;margin-top:40px;padding:20px;text-align:center}.rqb-field,.rqb-operator,.rqb-value{margin:0 5px}.rqb-rule{background:#fff;border-radius:4px;margin-bottom:10px;padding:10px}.rqb-rule-group{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:6px;padding:15px}.notification-topic{color:#333;font-weight:600}.notification-body{color:#666;font-size:14px;margin-top:4px}:root{--rqb-spacing:0.5rem;--rqb-border-width:1px;--rqb-branch-indent:var(--rqb-spacing);--rqb-branch-width:var(--rqb-border-width);--rqb-base-color:#004bb8;--rqb-background-color:color-mix(in srgb,#0000,#004bb8 20%);--rqb-border-color:#8081a2;--rqb-border-style:solid;--rqb-border-radius:0.25rem;--rqb-dnd-drop-indicator-color:#639;--rqb-dnd-drop-indicator-style:dashed;--rqb-dnd-drop-indicator-width:2px;--rqb-dnd-drop-indicator-copy-color:#693;--rqb-dnd-drop-indicator-copy-style:dashed;--rqb-dnd-drop-indicator-copy-width:2px;--rqb-dnd-drop-indicator-group-color:#369;--rqb-dnd-drop-indicator-group-style:dashed;--rqb-dnd-drop-indicator-group-width:2px;--rqb-branch-color:var(--rqb-border-color);--rqb-branch-radius:var(--rqb-border-radius);--rqb-branch-style:var(--rqb-border-style)}.ruleGroup{border-width:1px;border-width:var(--rqb-border-width);padding:.5rem;padding:var(--rqb-spacing)}.ruleGroup,.ruleGroup .ruleGroup-body{display:flex;flex-direction:column;gap:.5rem;gap:var(--rqb-spacing)}.ruleGroup .ruleGroup-body:empty{display:none}.ruleGroup .rule,.ruleGroup .ruleGroup-header{align-items:center;display:flex;gap:.5rem;gap:var(--rqb-spacing)}.ruleGroup .rule .rule-value:has(.rule-value-list-item){align-items:baseline;display:flex;gap:.5rem;gap:var(--rqb-spacing)}.ruleGroup .rule.rule-hasSubQuery{border-width:1px;border-width:var(--rqb-border-width);flex-wrap:wrap;padding:.5rem;padding:var(--rqb-spacing)}.ruleGroup .rule.rule-hasSubQuery .ruleGroup-body{flex-basis:100%}.ruleGroup .betweenRules{display:flex}.ruleGroup .shiftActions{display:flex;flex-direction:column}.ruleGroup .shiftActions>*{padding:0}.dndOver.rule,.dndOver.ruleGroup-header{padding-bottom:.5rem;padding-bottom:var(--rqb-spacing)}.dndOver.betweenRules{padding-top:.5rem;padding-top:var(--rqb-spacing)}.dndGroup.rule.dndOver,.dndGroup.ruleGroup:has(.ruleGroup-header.dndOver){padding:.5rem;padding:var(--rqb-spacing)}.queryBuilder-branches .ruleGroup-body{margin-left:1rem;margin-left:calc(var(--rqb-branch-indent)*2)}.queryBuilder-branches .rule,.queryBuilder-branches .ruleGroup .ruleGroup{position:relative}.queryBuilder-branches .rule:after,.queryBuilder-branches .rule:before,.queryBuilder-branches .ruleGroup .ruleGroup:after,.queryBuilder-branches .ruleGroup .ruleGroup:before{border-radius:0;content:"";left:calc(-.5rem + -1px);left:calc((var(--rqb-branch-indent) + var(--rqb-branch-width))*-1);position:absolute;width:.5rem;width:var(--rqb-branch-indent)}.queryBuilder-branches .rule:before,.queryBuilder-branches .ruleGroup .ruleGroup:before{border-width:0 0 1px 1px;border-width:0 0 var(--rqb-branch-width) var(--rqb-branch-width);height:calc(50% + .5rem);height:calc(50% + var(--rqb-spacing));top:-.5rem;top:calc(var(--rqb-spacing)*-1)}.queryBuilder-branches .rule:after,.queryBuilder-branches .ruleGroup .ruleGroup:after{border-width:0 0 0 1px;border-width:0 0 0 var(--rqb-branch-width);height:50%;top:50%}.queryBuilder-branches .rule:last-child:after,.queryBuilder-branches .ruleGroup .ruleGroup:last-child:after{display:none}.queryBuilder-branches .rule-hasSubQuery:after,.queryBuilder-branches .rule-hasSubQuery:before,.queryBuilder-branches .ruleGroup .ruleGroup:after,.queryBuilder-branches .ruleGroup .ruleGroup:before{left:calc(-.5rem + -2px);left:calc((var(--rqb-branch-indent) + var(--rqb-branch-width) + var(--rqb-border-width))*-1)}.queryBuilder-branches .rule-hasSubQuery:before,.queryBuilder-branches .ruleGroup .ruleGroup:before{height:calc(50% + .5rem + 1px);height:calc(50% + var(--rqb-spacing) + var(--rqb-border-width));top:calc(-.5rem + -1px);top:calc((var(--rqb-spacing) + var(--rqb-border-width))*-1)}.queryBuilder-branches .rule-hasSubQuery:after,.queryBuilder-branches .ruleGroup .ruleGroup:after{height:calc(50% + 1px);height:calc(50% + var(--rqb-border-width))}.queryBuilder-branches .betweenRules:before{border-radius:0;border-width:0 0 0 1px;border-width:0 0 0 var(--rqb-branch-width);content:"";height:calc(100% + .5rem);height:calc(100% + var(--rqb-spacing));left:calc(-.5rem + -1px);left:calc((var(--rqb-branch-indent) + var(--rqb-branch-width))*-1);position:absolute;top:-.5rem;top:calc(var(--rqb-spacing)*-1);width:.5rem;width:var(--rqb-branch-indent)}.queryBuilder-justified .chakra-select__wrapper+.rule-cloneRule,.queryBuilder-justified .chakra-select__wrapper+.rule-lock,.queryBuilder-justified .chakra-select__wrapper+.rule-remove,.queryBuilder-justified .chakra-select__wrapper+.ruleGroup-addGroup,.queryBuilder-justified .chakra-select__wrapper+.ruleGroup-addRule,.queryBuilder-justified .chakra-select__wrapper+.ruleGroup-cloneGroup,.queryBuilder-justified .chakra-select__wrapper+.ruleGroup-lock,.queryBuilder-justified .chakra-select__wrapper+.ruleGroup-remove,.queryBuilder-justified .control+.rule-cloneRule,.queryBuilder-justified .control+.rule-lock,.queryBuilder-justified .control+.rule-remove,.queryBuilder-justified .control+.ruleGroup-addGroup,.queryBuilder-justified .control+.ruleGroup-addRule,.queryBuilder-justified .control+.ruleGroup-cloneGroup,.queryBuilder-justified .control+.ruleGroup-lock,.queryBuilder-justified .control+.ruleGroup-remove,.queryBuilder-justified .queryBuilder-dragHandle+.rule-cloneRule,.queryBuilder-justified .queryBuilder-dragHandle+.rule-lock,.queryBuilder-justified .queryBuilder-dragHandle+.rule-remove,.queryBuilder-justified .queryBuilder-dragHandle+.ruleGroup-addGroup,.queryBuilder-justified .queryBuilder-dragHandle+.ruleGroup-addRule,.queryBuilder-justified .queryBuilder-dragHandle+.ruleGroup-cloneGroup,.queryBuilder-justified .queryBuilder-dragHandle+.ruleGroup-lock,.queryBuilder-justified .queryBuilder-dragHandle+.ruleGroup-remove,.queryBuilder-justified .rule-operators+.rule-cloneRule,.queryBuilder-justified .rule-operators+.rule-lock,.queryBuilder-justified .rule-operators+.rule-remove,.queryBuilder-justified .rule-operators+.ruleGroup-addGroup,.queryBuilder-justified .rule-operators+.ruleGroup-addRule,.queryBuilder-justified .rule-operators+.ruleGroup-cloneGroup,.queryBuilder-justified .rule-operators+.ruleGroup-lock,.queryBuilder-justified .rule-operators+.ruleGroup-remove,.queryBuilder-justified .rule-value+.rule-cloneRule,.queryBuilder-justified .rule-value+.rule-lock,.queryBuilder-justified .rule-value+.rule-remove,.queryBuilder-justified .rule-value+.ruleGroup-addGroup,.queryBuilder-justified .rule-value+.ruleGroup-addRule,.queryBuilder-justified .rule-value+.ruleGroup-cloneGroup,.queryBuilder-justified .rule-value+.ruleGroup-lock,.queryBuilder-justified .rule-value+.ruleGroup-remove,.queryBuilder-justified .ruleGroup-addGroup:first-child,.queryBuilder-justified .ruleGroup-addRule:first-child,.queryBuilder-justified .ruleGroup-combinators+.rule-cloneRule,.queryBuilder-justified .ruleGroup-combinators+.rule-lock,.queryBuilder-justified .ruleGroup-combinators+.rule-remove,.queryBuilder-justified .ruleGroup-combinators+.ruleGroup-addGroup,.queryBuilder-justified .ruleGroup-combinators+.ruleGroup-addRule,.queryBuilder-justified .ruleGroup-combinators+.ruleGroup-cloneGroup,.queryBuilder-justified .ruleGroup-combinators+.ruleGroup-lock,.queryBuilder-justified .ruleGroup-combinators+.ruleGroup-remove,.queryBuilder-justified .ruleGroup-header+.rule-cloneRule,.queryBuilder-justified .ruleGroup-header+.rule-lock,.queryBuilder-justified .ruleGroup-header+.rule-remove,.queryBuilder-justified .ruleGroup-header+.ruleGroup-addGroup,.queryBuilder-justified .ruleGroup-header+.ruleGroup-addRule,.queryBuilder-justified .ruleGroup-header+.ruleGroup-cloneGroup,.queryBuilder-justified .ruleGroup-header+.ruleGroup-lock,.queryBuilder-justified .ruleGroup-header+.ruleGroup-remove,.queryBuilder-justified .ruleGroup-notToggle+.rule-cloneRule,.queryBuilder-justified .ruleGroup-notToggle+.rule-lock,.queryBuilder-justified .ruleGroup-notToggle+.rule-remove,.queryBuilder-justified .ruleGroup-notToggle+.ruleGroup-addGroup,.queryBuilder-justified .ruleGroup-notToggle+.ruleGroup-addRule,.queryBuilder-justified .ruleGroup-notToggle+.ruleGroup-cloneGroup,.queryBuilder-justified .ruleGroup-notToggle+.ruleGroup-lock,.queryBuilder-justified .ruleGroup-notToggle+.ruleGroup-remove,.queryBuilder-justified .shiftActions+.rule-cloneRule,.queryBuilder-justified .shiftActions+.rule-lock,.queryBuilder-justified .shiftActions+.rule-remove,.queryBuilder-justified .shiftActions+.ruleGroup-addGroup,.queryBuilder-justified .shiftActions+.ruleGroup-addRule,.queryBuilder-justified .shiftActions+.ruleGroup-cloneGroup,.queryBuilder-justified .shiftActions+.ruleGroup-lock,.queryBuilder-justified .shiftActions+.ruleGroup-remove,.queryBuilder-justified input[type=hidden]+.rule-cloneRule,.queryBuilder-justified input[type=hidden]+.rule-lock,.queryBuilder-justified input[type=hidden]+.rule-remove,.queryBuilder-justified input[type=hidden]+.ruleGroup-addGroup,.queryBuilder-justified input[type=hidden]+.ruleGroup-addRule,.queryBuilder-justified input[type=hidden]+.ruleGroup-cloneGroup,.queryBuilder-justified input[type=hidden]+.ruleGroup-lock,.queryBuilder-justified input[type=hidden]+.ruleGroup-remove{margin-left:auto!important}.rule-hasSubQuery,.ruleGroup{background:color-mix(in srgb,#0000,#004bb8 20%);background:var(--rqb-background-color);border-color:#8081a2;border-color:var(--rqb-border-color);border-radius:.25rem;border-radius:var(--rqb-border-radius);border-style:solid;border-style:var(--rqb-border-style)}.rule-hasSubQuery .shiftActions>*,.ruleGroup .shiftActions>*{background-color:#0000;border:none;cursor:pointer}.dndOver.rule,.dndOver.ruleGroup-header:not(.dndGroup .ruleGroup-header){border-bottom:2px dashed #639;border-bottom:var(--rqb-dnd-drop-indicator-width) var(--rqb-dnd-drop-indicator-style) var(--rqb-dnd-drop-indicator-color)}.dndOver.rule.dndCopy,.dndOver.ruleGroup-header:not(.dndGroup .ruleGroup-header).dndCopy{border-bottom:2px dashed #693;border-bottom:var(--rqb-dnd-drop-indicator-copy-width) var(--rqb-dnd-drop-indicator-copy-style) var(--rqb-dnd-drop-indicator-copy-color)}.dndOver.betweenRules{border-top:2px dashed #639;border-top:var(--rqb-dnd-drop-indicator-width) var(--rqb-dnd-drop-indicator-style) var(--rqb-dnd-drop-indicator-color)}.dndOver.betweenRules.dndCopy{border-top:2px dashed #693;border-top:var(--rqb-dnd-drop-indicator-copy-width) var(--rqb-dnd-drop-indicator-copy-style) var(--rqb-dnd-drop-indicator-copy-color)}.dndGroup.rule.dndOver,.dndGroup.ruleGroup:has(>.ruleGroup-header.dndOver){border-color:#369;border-color:var(--rqb-dnd-drop-indicator-group-color);border-radius:.25rem;border-radius:var(--rqb-border-radius);border-style:dashed;border-style:var(--rqb-dnd-drop-indicator-group-style);border-width:2px;border-width:var(--rqb-dnd-drop-indicator-group-width)}.dndGroup.rule.dndOver.dndCopy,.dndGroup.ruleGroup:has(>.ruleGroup-header.dndOver).dndCopy{border-color:#693;border-color:var(--rqb-dnd-drop-indicator-copy-color);border-style:dashed;border-style:var(--rqb-dnd-drop-indicator-copy-style);border-width:2px;border-width:var(--rqb-dnd-drop-indicator-copy-width)}.rule.dndDragging,.ruleGroup.dndDragging{opacity:.5}.rule .queryBuilder-dragHandle,.ruleGroup .queryBuilder-dragHandle{cursor:move}.queryBuilder-branches .rule:after,.queryBuilder-branches .rule:before,.queryBuilder-branches .ruleGroup .ruleGroup:after,.queryBuilder-branches .ruleGroup .ruleGroup:before{border-color:#8081a2;border-color:var(--rqb-branch-color);border-style:solid;border-style:var(--rqb-branch-style)}.queryBuilder-branches .rule:last-child:before,.queryBuilder-branches .ruleGroup .ruleGroup:last-child:before{border-bottom-left-radius:.25rem;border-bottom-left-radius:var(--rqb-branch-radius)}.queryBuilder-branches .betweenRules{position:relative}.queryBuilder-branches .betweenRules:before{border-color:#8081a2;border-color:var(--rqb-branch-color);border-style:solid;border-style:var(--rqb-branch-style)}
/*# sourceMappingURL=main.c5f9fe50.css.map*/