*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;line-height:1.6;color:#333}.setup-card .welcome-buttons{display:flex;flex-direction:column;gap:10px}.setup-card a{text-decoration:none;color:#333;font-size:1.1rem;text-align:center;margin-top:10px}.setup-card a:hover{text-decoration:underline}.setup-container *{max-width:100%}.setup-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80vh;padding:20px;margin:40px auto}.setup-card{background-color:#fff;border-radius:12px;box-shadow:0 4px 16px #0000001a;width:500px;padding:32px}.setup-header{text-align:center;margin-bottom:24px}.setup-header h2{font-size:24px;color:#333;margin-bottom:8px}.setup-header p{color:#666;font-size:16px}.setup-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:500;color:#555}.form-group input{padding:12px;border:1px solid #ddd;border-radius:6px;font-size:16px;transition:border-color .2s ease}.form-group input:focus{border-color:#3498db;outline:none;box-shadow:0 0 0 2px #3498db1a}.form-group .helper-text{font-size:14px;color:#888;margin-top:4px}.add-account-button{background-color:#3498db;color:#fff;border:none;border-radius:6px;padding:14px;font-size:16px;font-weight:500;cursor:pointer;transition:background-color .2s ease;margin-top:12px}.add-account-button:hover{background-color:#2980b9}@media (max-width: 600px){.setup-card{padding:24px}}#rules{display:none}.open-report-link{color:#3498db!important;font-weight:500;display:flex;align-items:center}.open-report-link:hover{text-decoration:underline}.open-report-link:before{content:"";display:inline-block;width:16px;height:16px;margin-right:5px;background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%233498db" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');background-repeat:no-repeat;background-position:center}.divider{border-top:1px solid #ddd;margin:.5rem 0}#rules h2{margin-top:1rem}h1{margin-left:1rem;font-size:1.5rem;font-weight:600;flex:1}h1 .highlight{color:#3498db}main{padding:20px;max-width:1200px;margin-left:auto;margin-right:auto}@media (min-width: 768px){main{margin-top:60px}}h2{font-size:1.75rem;margin-bottom:1rem}.add-button{position:fixed;bottom:30px;right:30px;z-index:100;width:56px;height:56px;border-radius:50%;background-color:#2196f3;color:#fff;border:none;font-size:2rem;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 5px #0003;transition:transform .2s ease,box-shadow .2s ease}.add-button:hover{transform:translateY(-2px);box-shadow:0 4px 8px #0003}.add-button:active{transform:translateY(0);box-shadow:0 2px 4px #0003}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#0000004d;z-index:999}.modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:90%;max-width:1400px;height:90%;background-color:#f5f5f7;z-index:1000;display:block;border-radius:12px;box-shadow:0 8px 24px #00000026;overflow:hidden}.script-modal{width:60%}.modal-content{padding:0;height:100%;display:flex;flex-direction:column}.script-modal-body,.modal-body{padding:0 20px 20px;overflow:hidden;gap:1.5rem}.modal-body{display:flex;flex:1}.modal-body search-terms-sidebar{display:block!important}.main-area{flex:1;min-width:0;overflow-y:auto;padding-bottom:2rem}.sidebar{width:min(300px,25vw);padding-top:1rem;position:sticky;top:0;max-height:100%;overflow-y:auto;align-self:flex-start}.sidebar h3{font-size:1rem;text-transform:uppercase;color:#666;margin-bottom:.5rem;font-weight:500;margin-top:0}.sidebar-top{margin-bottom:1rem}.sidebar-note{color:#666;font-size:.9em;font-style:italic;display:block;margin-top:.3rem}.search-term-status-filters-container{display:flex}.include-examples-container,.search-term-status-filters-container{margin-top:.5rem;margin-bottom:.5rem}.include-examples-container input[type=checkbox],.search-term-status-filters-container input[type=checkbox]{margin-right:.5rem}.include-examples-container label,.search-term-status-filters-container label{cursor:pointer}.info-icon{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;cursor:pointer;color:#777;transition:color .2s ease}.info-icon:hover{color:#2196f3}.info-tooltip{display:none;position:absolute;background-color:#fff;border:1px solid #ddd;border-radius:6px;padding:12px;width:250px;box-shadow:0 3px 10px #0000001a;font-size:.85em;line-height:1.5;z-index:100;margin-top:10px;color:#555}.info-tooltip.visible{display:block}.info-tooltip p{margin:0 0 8px}.info-tooltip-title{font-weight:600;margin-bottom:5px}.info-tooltip p:last-child{margin-bottom:0}.search-examples ul{list-style-type:none;padding-left:0;margin-top:10px}.search-examples li{padding:5px 0;display:flex;justify-content:space-between;align-items:center}.blocked-icon{color:red;font-size:1.2em;margin-left:8px}.sidebar-header{display:flex;justify-content:space-between;align-items:center}.edit-button-small,.save-button-small,.copy-button-small{background:none;border:none;cursor:pointer;padding:4px;border-radius:4px;display:flex;align-items:center;justify-content:center}.edit-button-small:hover,.save-button-small:hover,.copy-button-small:hover{background-color:#0000000d}.edit-button-small svg,.save-button-small svg,.copy-button-small svg{width:16px;height:16px;stroke:#666}.edit-examples-container{display:flex;gap:8px}.edit-container{margin-top:.5rem}.examples-textarea{width:100%;padding:8px;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9em;resize:vertical}.edit-note{margin-top:8px;color:#666;font-size:.8em;font-style:italic}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 60px 15px 20px;position:relative;flex-wrap:wrap}.modal-header h2{margin:0 0 5px;padding:0;font-size:1.5rem;color:#333;flex:1}.rule-subtitle-container{display:flex;align-items:center;gap:10px;width:100%;margin-top:-3px;margin-bottom:8px}.rule-subtitle,.rule-number{color:#888;font-size:12px;text-transform:uppercase;font-weight:300;letter-spacing:.5px;line-height:1.2}.close-button{background:none;border:none;font-size:2rem;cursor:pointer;color:#666;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;position:absolute;top:20px;right:20px;z-index:10}.close-button:hover{background-color:#00000014}@keyframes floatIn{0%{opacity:0;transform:translate(-50%,-40%)}to{opacity:1;transform:translate(-50%,-50%)}}.modal:before{display:none}.level-dropdown{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease;width:100%;max-width:300px}.level-dropdown:hover{border-color:#bbb}.level-dropdown:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.days-input{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;outline:none;transition:border-color .2s ease;width:100px}.days-input:hover{border-color:#bbb}.days-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.days-input::-webkit-inner-spin-button,.days-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.days-input[type=number]{-moz-appearance:textfield}.destination-type-selector{display:flex;align-items:center;gap:.5rem;font-size:1rem;color:#333;margin-top:1.25rem}.negative-list-selector{display:none;align-items:center;gap:.5rem;margin-left:.5rem}.negative-list-selector--visible{display:flex}.destination-type-dropdown,.negative-list-dropdown{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease}.destination-type-dropdown:hover,.negative-list-dropdown:hover{border-color:#bbb}.destination-type-dropdown:focus,.negative-list-dropdown:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.note{color:#666;font-size:.9rem;margin-left:.25rem}.list-name-selector{display:none;align-items:center;gap:.5rem;margin-left:.5rem}.list-name-selector--visible{display:flex}.list-name-dropdown{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease}.list-name-dropdown:hover{border-color:#bbb}.list-name-dropdown:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.modal--visible{display:block}.negative-keyword-list-names{display:none;align-items:center;gap:.5rem;margin-left:.5rem}.negative-keyword-list-names--visible{display:flex}.negative-keyword-list-names-dropdown{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease}.negative-keyword-list-names-dropdown:hover{border-color:#bbb}.negative-keyword-list-names-dropdown:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.setup-section{background-color:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d}.setup-section h3{font-size:1.1rem;font-weight:500;color:#333;margin-bottom:0}.section-content{display:block}.section-summary{display:none}.setup-section.minimized .section-content{display:none!important}.setup-section.minimized .section-summary{display:block!important}.section-summary p{margin:.15rem 0}.section-summary span{color:#333;font-weight:500}.setup-section.minimized .minimize-icon{transform:rotate(180deg)}.entity-selection{margin-top:1rem}.campaign-selector,.adgroup-selector{margin-bottom:1rem}.campaign-selector label,.adgroup-selector label{display:block;margin-bottom:.5rem;color:#666;font-size:.9rem}.select2-container{width:100%!important}.select2-container .select2-selection--single{height:38px;border:1px solid #ddd;border-radius:6px}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:38px;padding-left:12px;color:#333}.select2-container--default .select2-selection--single .select2-selection__arrow{height:36px}.select2-dropdown{border-color:#ddd;box-shadow:0 2px 4px #0000001a}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#2196f3}.performance-rules-container,.performance-conditions{display:flex;flex-direction:column;gap:1rem}.performance-condition{display:flex;align-items:center;gap:1rem;width:100%}.metric-dropdown,.operator-dropdown{min-width:60px!important;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease}.metric-dropdown{min-width:180px}.operator-dropdown{min-width:80px}.value-input{flex:1;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;outline:none;transition:border-color .2s ease;min-width:120px}.metric-dropdown:hover,.operator-dropdown:hover,.value-input:hover{border-color:#bbb}.metric-dropdown:focus,.operator-dropdown:focus,.value-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.text-rules-container{display:flex;flex-direction:column;gap:1.5rem;position:relative;margin-top:1rem}.text-rule-section{display:flex;flex-direction:column;gap:1rem;padding:.25rem;background-color:#00000005;border-radius:8px;border:1px solid #ddd}.text-rule-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.section-label{font-weight:500;color:#666}.operator-label{display:none}.text-conditions{display:flex;flex-direction:column;gap:1.25rem;align-items:center}.text-condition{display:flex;flex-direction:column;gap:.5rem}.condition-row{display:flex;align-items:center;gap:1rem;width:100%}.threshold-row{display:none;align-items:center;gap:1rem;padding-left:1rem;color:#666;font-size:.9rem}.threshold-input{width:80px;padding:.25rem .5rem;border:1px solid #ddd;border-radius:4px;margin:0 .5rem}.threshold-note{color:#999;font-size:.8rem;font-style:italic}.entity-condition-operator{font-family:Inter,sans-serif;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;cursor:pointer;outline:none;transition:border-color .2s ease;min-width:180px}.text-input{flex:1;padding:.5rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;outline:none;transition:border-color .2s ease;min-width:200px}.remove-rule-button{width:28px;height:28px;border-radius:14px;background-color:transparent;color:#666;border:1px solid #ddd;font-size:1.25rem;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease}.remove-rule-button:hover{background-color:#fee;color:#d32f2f;border-color:#d32f2f}.sections-operator{display:none}.rule-separator{position:relative;text-align:center;margin:1rem 0}.rule-separator:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background-color:#ddd;z-index:1}.rule-separator span{position:relative;background-color:#f5f5f7;padding:0 1rem;color:#2196f3;font-weight:500;font-size:.875rem;z-index:2}.add-section-button{align-self:center;padding:0}.entity-condition-operator:hover,.text-input:hover{border-color:#bbb}.entity-condition-operator:focus,.text-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.sub-rule-separator{position:relative;text-align:center;width:80%;margin:.5rem 0}.sub-rule-separator:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background-color:#ddd;z-index:1}.sub-rule-separator span{position:relative;background-color:#00000005;padding:0 1rem;color:#2196f3;font-weight:500;font-size:.875rem;z-index:2}.add-rule-button{align-self:center;margin:.5rem 0}.add-section-button{align-self:center}.condition-separator{color:#718096;font-weight:500;font-size:.8rem;margin:0 4px;white-space:nowrap;position:relative;text-align:center}.add-condition-button{display:flex!important;align-items:center!important;justify-content:center!important;border-radius:50%!important;background-color:#2196f3!important;color:#fff!important;border:none!important;width:36px!important;height:36px!important;padding:0!important;font-size:20px!important;line-height:0!important;text-align:center!important;align-self:center!important;margin:.5rem 0!important;box-shadow:0 2px 4px #2196f34d!important;cursor:pointer!important;transition:all .2s ease!important;position:relative!important}.add-condition-button:after{content:"+"!important;position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important;font-size:22px!important;line-height:0!important}.add-condition-button:hover{background-color:#1976d2!important;transform:translateY(-1px)!important;box-shadow:0 3px 6px #2196f366!important}.add-condition-button:active{transform:translateY(0)!important;box-shadow:0 1px 2px #2196f333!important}.add-condition-button{font-size:0!important}.add-condition-button span,.add-condition-button svg{display:none!important}.add-condition-button:before{content:""!important}.entity-rules-container{display:flex;flex-direction:column;gap:2rem}.campaign-conditions,.adgroup-conditions{display:flex;flex-direction:column;gap:1rem}.campaign-conditions h4,.adgroup-conditions h4{font-size:.9rem;font-weight:500;color:#666;margin:0}.entity-conditions{display:flex;flex-direction:column;gap:1rem}.entity-condition{display:flex;align-items:center;gap:1rem;width:100%}.entity-condition .entity-condition-operator{min-width:120px}.entity-condition .text-input{flex:1;min-width:200px}.remove-condition-button{background:none;border:1px solid #ddd;cursor:pointer;color:#666;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s ease;padding:0;margin-top:-12px}.remove-condition-button:hover{background-color:#0000000d;border-color:#bbb}.remove-condition-button svg{display:block!important;width:16px;height:16px}.campaign-selector,.adgroup-selector{display:none}.basic-setup-container{display:flex;flex-direction:column;gap:2rem}.basic-setup-container .setup-section{display:flex;flex-direction:column;gap:.75rem;padding:1.25rem;border:1px solid #ddd;border-radius:8px;background-color:#fff}.basic-setup-container h4{font-size:.9rem;font-weight:500;color:#666;margin:0}.rule-name-input{padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:1rem;width:100%;max-width:500px}.rule-name-input:hover{border-color:#bbb}.rule-name-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a;outline:none}.days-input-container{display:flex;align-items:center;gap:.75rem;width:100%;max-width:300px}.days-label{color:#666;font-size:1rem}.level-dropdown:hover,.days-input:hover{border-color:#bbb}.level-dropdown:focus,.days-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.days-note,.auto-apply-level-note{color:#999;font-size:.8rem;font-style:italic}.auto-apply-level-note{margin-bottom:.5rem;display:block;line-height:1.4}.blocked-icon{color:#d32f2f;font-size:1.2rem;margin-left:.5rem;font-weight:700}.rule-section{padding:20px;margin-right:20px;border:1px solid #ddd;border-radius:12px;margin-bottom:20px;background:#fff;box-shadow:0 1px 3px #0000000d}.section-header{display:flex;align-items:center;margin-bottom:20px}.section-header h4{margin:0;font-size:18px;font-weight:500;color:#333}.section-note{color:#666;font-size:.9rem;margin-left:20px;font-style:italic}.minimize-button{width:28px;height:28px;border:none;background:none;cursor:pointer;color:#666;display:flex;align-items:center;justify-content:center;padding:0;border-radius:4px;transition:background-color .2s}.minimize-button:hover{background-color:#f0f0f0}.section-summary{padding:12px;background-color:#f8f9fa;border-radius:8px;color:#555;font-size:.9em;line-height:1.5}.rule-section label{font-size:16px;color:#333;margin-right:8px}.rule-section input[type=text],.rule-section input[type=number],.rule-section select{height:36px;padding:6px 12px;border:1px solid #ddd;border-radius:8px;font-size:.9em;color:#333;margin-bottom:12px}.rule-section input[type=text],.rule-section select{min-width:140px}.rule-section input[type=number]{width:80px}.rule-section input[type=checkbox]{margin-right:8px}.rule-section .note{color:#666;font-size:14px;font-style:italic;margin-left:8px}.additional-notes .note:first-child{margin-top:1rem}.note-group .note:not(:first-child){margin-top:1rem}.desired-outcome-content{display:flex;flex-direction:column;gap:16px}.desired-outcome-content-header{display:flex;align-items:center;margin-bottom:8px}.save-button{display:flex;align-items:center;gap:6px;padding:8px 15px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;font-size:.9em;transition:background-color .2s ease}.save-button:hover{background-color:#43a047}.save-button:active{background-color:#388e3c}.save-button .save-icon{stroke:#fff}.save-button.saving{background-color:#27ae60}@keyframes saveButtonPulse{0%{transform:scale(1)}50%{transform:scale(.95)}to{transform:scale(1)}}.save-button:active .save-icon{animation:saveButtonPulse .3s ease}add-rule-modal{display:block}add-rule-modal .modal-overlay,add-rule-modal .modal{display:none}add-rule-modal.modal--visible .modal-overlay,add-rule-modal.modal--visible .modal{display:block}body .toast{position:fixed;bottom:20px;right:20px;background-color:#333;color:#fff;padding:12px 20px;border-radius:4px;display:flex;align-items:center;gap:10px;box-shadow:0 2px 10px #0003;z-index:10000;opacity:0;transform:translateY(20px);transition:opacity .3s ease,transform .3s ease;pointer-events:none}body .toast--visible{opacity:1;transform:translateY(0)}body .toast .toast-icon{color:#4caf50;font-weight:700}body .toast .toast-message{font-size:14px}.rules-container{display:flex;flex-direction:column;gap:16px;margin-top:24px}.rule-item:hover{box-shadow:0 3px 8px #0000001f;transform:translateY(-1px)}.rule-header{font-weight:600;font-size:15px;margin-bottom:10px;color:#333}.rule-header-container{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.rule-title{font-weight:600;font-size:15px;color:#333}.condition-indicators{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.condition-indicators .rule-outcome-item{display:flex;align-items:center;gap:4px}.condition-indicators .outcome-label{font-size:12px;font-weight:500;color:#666}.condition-indicators .outcome-icon{display:flex;align-items:center;justify-content:center}.rule-details{display:flex;flex-wrap:wrap;gap:12px;color:#666;font-size:13px;margin-bottom:12px}.rule-detail-item{display:flex;align-items:center;gap:5px}.rule-detail-label{font-weight:500;color:#888}.rule-outcomes{display:flex;gap:16px;margin-top:10px;margin-bottom:10px;align-items:center}.rule-actions{display:flex;gap:12px;margin-left:auto}.icon-button{background:none;border:none;cursor:pointer;padding:8px;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.edit-button{color:#3498db}.edit-button:hover{background-color:#3498db1a}.delete-button{color:#e74c3c}.delete-button:hover{background-color:#e74c3c1a}.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-top:1px solid #eee;background-color:#f9f9f9;margin-top:auto}.footer-left{display:flex;gap:10px;align-items:center;margin-right:auto}.footer-right{display:flex;align-items:center}.unsaved-changes{color:#666;font-size:.9em;font-style:italic;display:flex;align-items:center}@media (max-width: 768px){.modal-footer{flex-direction:column;gap:10px}.footer-left,.footer-right{width:100%}}.save-button,.cancel-button{border:none;padding:8px 16px;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:8px;transition:all .2s ease;font-size:14px;font-weight:500}.save-button{background-color:#3498db;color:#fff}.cancel-button{padding:8px 15px;background-color:#f5f5f5;color:#333;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s ease}.cancel-button:hover{background-color:#e5e5e5}.cancel-button:active{background-color:#ddd}.text-rules-content{margin-bottom:1rem}.conditions-list{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin-top:2px}.condition-item{display:inline-flex;align-items:center;background:#f0f4f8;border-radius:4px;padding:2px 6px;margin-right:0;font-size:.85rem}.operator-text{color:#2c5282;font-weight:500;margin-right:4px}.condition-value{color:#1a365d;font-weight:600}.condition-separator{color:#718096;font-weight:500;font-size:.8rem;margin:0 4px;white-space:nowrap}.form-group label{display:block;margin-bottom:6px}.basic-setup-content,.desired-outcome-content{display:flex;flex-direction:column;gap:16px}.hmr-reload{transition:all .2s ease-in-out;opacity:.7;position:relative}.hmr-reload:after{content:"🔄";position:fixed;bottom:10px;right:10px;background:#2196f3;color:#fff;padding:5px 8px;border-radius:4px;font-size:12px;z-index:9999;animation:hmr-pulse .5s ease-in-out}@keyframes hmr-pulse{0%{transform:scale(.8);opacity:0}50%{transform:scale(1.1);opacity:1}to{transform:scale(1);opacity:1}}.rule-detail-item .conditions-list{display:flex;flex-wrap:nowrap;align-items:center;gap:4px;margin-top:2px}.rule-detail-item .condition-item{display:inline-flex;align-items:center;background:#f0f4f8;border-radius:4px;padding:2px 6px;margin-right:0;font-size:.85rem}.rule-detail-item .operator-text{color:#2c5282;font-weight:500;margin-right:4px}.rule-detail-item .condition-value{color:#1a365d;font-weight:600}.rule-detail-item .condition-separator{color:#718096;font-weight:500;font-size:.8rem;margin:0 4px;white-space:nowrap;position:relative;text-align:center}.text-conditions .add-condition-button{margin:1rem auto!important}.text-rules-container>.add-condition-button{margin:1rem auto!important}.open-report-link{color:#3498db!important;font-weight:500;padding:8px 12px;border-radius:4px;background-color:#3498db1a;transition:all .2s ease;text-decoration:none;margin-left:auto}@media (max-width: 768px){.open-report-link{margin-left:2.5rem;margin-top:.5rem;font-size:.9rem}}.nav-menu ul li#open-report-container{margin-left:auto}.nav-title{margin:0 auto;text-align:center;font-size:1.5rem;font-weight:600;flex:1}.nav-title-container{margin-right:180px;display:flex;width:100%}@media (max-width: 768px){.nav-title{font-size:1rem}.nav-title-container img{display:none}.nav-title-container{margin-right:0}}.open-report-link{color:#3498db!important;font-weight:500;padding:8px 12px;border-radius:4px;background-color:#3498db1a;transition:all .2s ease}.open-report-link:hover{background-color:#3498db33;text-decoration:underline}@media (max-width: 768px){.nav-menu ul li#open-report-container{margin-left:0;margin-top:12px}}.disabled-label{color:#666;opacity:.8;cursor:not-allowed}.disabled-note{font-size:12px;color:#888;font-style:italic;margin-left:5px}input[type=checkbox]:disabled+label{cursor:not-allowed}input[type=checkbox]:disabled{opacity:.6;cursor:not-allowed}.adgroup-conditions{display:none}.adgroup-conditions.visible{display:flex;flex-direction:column}.duplicate-button{color:#3498db}.duplicate-button:hover{color:#2980b9}.rule-actions{display:flex;gap:12px;justify-content:flex-end}.actions-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.rule-outcomes{display:flex;gap:16px;align-items:center}.rule-outcome-item{display:flex;align-items:center;gap:5px;font-size:13px;color:#666}.outcome-icon{display:flex;align-items:center;justify-content:center}.outcome-label{font-weight:500}.rule-actions{display:flex;gap:12px}.ai-prompt-content{display:flex;flex-direction:column;gap:1rem}.ai-prompt-container{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;background-color:#00000005;border-radius:8px;border:1px solid #ddd}.ai-prompt-input{font-family:Inter,sans-serif;width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;background-color:#fff;font-size:1rem;color:#333;outline:none;transition:border-color .2s ease;resize:vertical}.ai-prompt-input:hover{border-color:#bbb}.ai-prompt-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.ai-prompt-summary{padding:.5rem 0}.prompt-status{font-size:.9rem;color:#666}.test-settings-section{margin-top:1rem;padding:1.25rem;background-color:#00000005;border-radius:8px;border:1px solid #ddd}.test-settings-section h4{margin-top:0;margin-bottom:1rem;font-size:1rem;color:#333}.test-settings-option{display:flex;align-items:center;margin-bottom:1rem;flex-wrap:wrap}.test-settings-option:last-child{margin-bottom:0}.test-settings-option label{margin-right:.5rem;font-size:.9rem;color:#444}.test-settings-option input[type=checkbox]{margin-right:.5rem}.test-settings-note{font-size:.8rem;color:#777;font-style:italic;margin-left:.5rem}.max-terms-input{width:5rem;padding:.25rem .5rem;border:1px solid #ddd;border-radius:4px;font-size:.9rem}.max-terms-input:hover{border-color:#bbb}.max-terms-input:focus{border-color:#2196f3;outline:none;box-shadow:0 0 0 2px #2196f31a}.test-settings-summary{font-size:.9rem;color:#2196f3;margin-top:.25rem}.rule-item{background-color:#fff;border-radius:8px;padding:14px 16px;margin-bottom:10px;box-shadow:0 1px 3px #00000014;border-left:4px solid #3498db;transition:box-shadow .2s ease,transform .2s ease;display:flex;flex-direction:column}.rule-item--disabled{border-left:4px solid #a0a0a0}.rule-header{font-weight:600;font-size:15px;margin-bottom:10px;color:#333;position:relative}.toggle-container{position:absolute;top:0;right:0;z-index:2}.toggle-input{height:0;width:0;visibility:hidden;position:absolute}.toggle-label{cursor:pointer;text-indent:-9999px;width:50px;height:25px;background:#a0a0a0;display:block;border-radius:25px;position:relative;transition:background-color .3s}.toggle-label:after{content:"";position:absolute;top:3px;left:3px;width:19px;height:19px;background:#fff;border-radius:50%;transition:.3s}.toggle-input:checked+.toggle-label{background:#3498db}.toggle-input:checked+.toggle-label:after{left:calc(100% - 3px);transform:translate(-100%)}.toggle-label:active:after{width:26px}.beta-text{background-color:#ff3860;color:#fff;padding:2px 6px;margin-left:8px;font-size:.65rem;font-weight:700;letter-spacing:1px;border-radius:4px;position:relative;transform:rotate(-5deg);display:inline-block;box-shadow:1px 1px #0003;text-shadow:1px 1px 0 rgba(0,0,0,.2)}.note-group{position:relative;overflow:hidden;transition:max-height .3s ease-out}.note-group.collapsed{max-height:80px}.note-group.expanded{max-height:none}.note-group .additional-notes{display:block;transition:all .3s ease-out}.note-group.collapsed .additional-notes{display:none}.note-group .read-more-link,.note-group .read-less-link{color:#2196f3;cursor:pointer;text-decoration:underline;font-size:.9rem;display:inline-block;margin-left:8px;transition:opacity .2s ease-out}.note-group .read-less-link,.note-group.expanded .read-more-link{display:none}.note-group.expanded .read-less-link{display:inline-block}.top-description-container{max-width:1200px;margin:40px auto;font-family:Arial,sans-serif}@media (min-width: 768px){.top-description-container{background:linear-gradient(to bottom,#fff,#f8f9fa)}}.top-description-container .intro-text{font-size:2.5rem;font-weight:700;color:#2b68a0;text-align:center;line-height:1.4;margin-bottom:2rem;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.top-description-container .subtitle{font-size:1.5rem;color:#3c444d;text-align:center;line-height:1.6;margin-bottom:4rem;font-weight:300}.top-description-container .main-content{background:#fff;padding:3rem;border-radius:12px;box-shadow:0 4px 20px #00000014;max-width:600px;margin:3em auto}.top-description-container p{color:#4a5568;line-height:1.8;margin-bottom:1.5rem;font-size:1.1rem}.top-description-container .highlight{color:#2b68a0;font-weight:600}.top-description-container .emphasis{font-size:1.3rem;color:#2b68a0;font-weight:500;margin:2rem 0;padding-left:1rem;border-left:4px solid #2b68a0}.features-description-container{font-family:Arial,sans-serif}.features-description-container .hero-section{background-color:#2b68a0;padding:2rem;color:#e0e0e0}.features-description-container .hero-section h1{text-align:center;color:#e0e0e0;margin-bottom:2rem}.features-description-container .hero-section .image-caption{text-align:center;color:#e0e0e0;font-style:italic;margin-bottom:0}.features-description-container h1{text-align:center;color:#333;margin-bottom:2rem}.features-description-container img{display:block;margin:0 auto 1rem;border-radius:10px;box-shadow:0 4px 8px #0000001a}@media (min-width: 768px){.features-description-container img{max-width:400px}}.features-description-container .image-caption{text-align:center;color:#666;font-style:italic;margin-bottom:3rem}.features-description-container .feature-section{margin-bottom:3rem;background:#f8f9fa;border-radius:8px;padding:20px}@media (min-width: 768px){.features-description-container .feature-section{padding:1.5rem 10rem}}.features-description-container h2{color:#2b68a0;margin-bottom:1.5rem}.features-description-container h3{color:#3c444d;margin:1.5rem 0 .5rem;font-size:1.2rem}.features-description-container p{color:#4a5568;line-height:1.6;margin-bottom:1rem}.features-description-container .feature-image{margin:2rem 0;text-align:center}.features-description-container .feature-image img{max-width:100%;height:auto;border-radius:8px;box-shadow:0 4px 8px #0000001a}.description-notes-container{max-width:500px;margin:0 auto;padding:2rem;font-family:Arial,sans-serif}.description-notes-container h2{font-size:2.5rem;font-weight:700;color:#2b68a0;text-align:center;line-height:1.4;margin-bottom:2rem;text-shadow:1px 1px 2px rgba(0,0,0,.1)}.description-notes-container h3{font-size:1.5rem;font-weight:700;color:#25292c;margin-bottom:1rem;margin-top:2rem;text-align:center}.description-notes-container ul{list-style-type:disc;margin-left:2rem}.description-notes-container li,.description-notes-container p{margin-bottom:.5rem}.main-header{position:fixed;top:0;left:0;width:100%;z-index:1000;background:#fff;box-shadow:0 2px 8px #0000000a;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 1rem}.hamburger{display:flex;flex-direction:column;justify-content:center;width:40px;height:40px;background:none;border:none;cursor:pointer;z-index:1100}.hamburger span{display:block;height:3px;width:24px;background:#333;margin:4px 0;border-radius:2px;transition:all .3s}.header-logo-title{display:flex;align-items:center;flex:1;justify-content:center;min-width:0}.header-logo{height:36px;width:auto;margin-right:10px;max-width:100%}.header-title{display:none;font-size:1.1rem;font-weight:600;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.open-report-link{display:none;margin-left:16px;font-size:1rem;color:#3498db;text-decoration:none;font-weight:500;transition:color .2s}.open-report-link:hover{color:#217dbb}.nav-menu{position:fixed;top:56px;left:0;width:100%;background:#fff;box-shadow:0 2px 8px #00000014;max-height:0;overflow:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1)}@media (min-width: 900px){.nav-menu{top:70px}}.nav-menu--visible{max-height:400px;transition:max-height .4s cubic-bezier(.4,0,.2,1)}.nav-menu ul{list-style:none;padding:1rem}.nav-menu li{margin-bottom:1rem}.nav-menu li.divider{border-bottom:1px solid #eee;margin:.5rem 0;height:0}.nav-menu a{color:#333;text-decoration:none;font-size:1.1rem;font-weight:500}.nav-menu a:hover{color:#3498db}@media (max-width: 900px){.header-title,.open-report-link{display:none}.hamburger{display:flex;padding-top:6px}.nav-menu{display:block}}@media (min-width: 900px){.main-header{height:70px;padding:0 2rem}.header-logo{height:48px;margin-right:18px}.header-title{display:inline-block;font-size:1.5rem}.open-report-link{display:inline-block;margin-left:32px;font-size:1.1rem;vertical-align:middle}}body{padding-top:56px}@media (min-width: 900px){body{padding-top:70px}}.main-header{width:100vw;max-width:100vw;overflow-x:hidden;box-sizing:border-box}body{overflow-x:hidden}.header-logo-title{display:flex;align-items:center;flex-wrap:wrap;min-width:0}.header-title{white-space:normal;word-break:break-word}@media (max-width: 600px){.main-header{align-items:flex-start;padding-left:8px;padding-right:8px}.header-logo-title{align-items:flex-start;gap:4px;padding-top:10px}.header-title{font-size:1.1rem}}.script-title-mobile{display:block;font-family:Playfair Display,serif;font-size:2.5rem;font-weight:700;color:#ea580c;text-align:center;margin-bottom:2rem;text-shadow:1px 1px 2px rgba(0,0,0,.1)}@media (min-width: 768px){.script-title-mobile{display:none}}.add-account-button--grey{background-color:#ccc;color:#222;border:none;padding:10px 20px;border-radius:4px;font-size:1em;cursor:pointer;transition:background .2s}.add-account-button--grey:hover{background-color:#b3b3b3}
