.pa-page-head{align-items:flex-start}.pa-head-actions{display:flex;gap:10px;flex-wrap:wrap}.pa-safety{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:16px;border:1px solid #b8e8cb;border-radius:12px;background:#f0fbf5;color:#24475a}.pa-safety strong{color:#07843d}.pa-safety-dot{width:18px;height:18px;border-radius:50%;background:#12a552;box-shadow:0 0 0 5px rgba(18,165,82,.1)}.pa-safety.is-on{border-color:#b7d5ff;background:#f1f7ff}.pa-safety.is-on strong{color:#145cc5}.pa-safety.is-on .pa-safety-dot{background:#145cc5;box-shadow:0 0 0 5px rgba(20,92,197,.1)}
.pa-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.pa-metric{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:17px;box-shadow:0 3px 12px rgba(15,35,65,.05);position:relative;overflow:hidden}.pa-metric:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;border-radius:4px;background:#145cc5}.pa-metric>span{display:grid;place-items:center;width:54px;height:54px;border-radius:12px;background:#e7f2ff;color:#145cc5;font-size:25px}.pa-metric small{display:block;color:#52627a;margin-bottom:4px}.pa-metric strong{display:block;font-size:28px;color:#061c33}.pa-metric.purple:after{background:#7857c8}.pa-metric.purple>span{color:#7857c8;background:#f0ebff}.pa-metric.orange:after{background:#ff6500}.pa-metric.orange>span{color:#ff6500;background:#fff0e6}.pa-metric.green:after{background:#1fa451}.pa-metric.green>span{color:#1fa451;background:#e8f8ee}
.pa-panel{padding:0;overflow:hidden}.pa-tabs{display:flex;gap:4px;padding:0 18px;border-bottom:1px solid #e2e7ed;overflow:auto}.pa-tabs button{border:0;background:transparent;padding:18px 14px 15px;color:#59677d;font:inherit;font-weight:600;white-space:nowrap;cursor:pointer;border-bottom:3px solid transparent}.pa-tabs button.active{color:#145cc5;border-bottom-color:#145cc5}.pa-toolbar{display:grid;grid-template-columns:minmax(250px,1.4fr) repeat(3,minmax(145px,.7fr)) auto;gap:10px;padding:16px}.pa-toolbar select,.pa-search{height:46px;border:1px solid #d8e0ea;border-radius:9px;background:#fff;color:#28384f;padding:0 12px}.pa-search{display:flex;align-items:center;gap:8px;color:#6e7e94}.pa-search input{border:0;outline:0;width:100%;font:inherit;background:transparent}.pa-toolbar select{padding-right:30px}.pa-table{min-width:1080px}.pa-table th{font-size:11px;text-transform:uppercase;color:#52627a;letter-spacing:.02em;background:#f5f7fa}.pa-table td{vertical-align:middle;font-size:12px}.pa-table td>strong{display:block;font-size:13px;color:#061c33}.pa-table td>small{display:block;color:#748196;margin-top:4px}.pa-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.pa-link{border:0;background:transparent;color:#145cc5;font:inherit;font-size:12px;font-weight:700;cursor:pointer;padding:2px 4px}.pa-link:hover{text-decoration:underline}.pa-danger{color:#d63a45}.pa-badge,.pa-channel,.pa-stage{display:inline-flex;align-items:center;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:700;white-space:nowrap}.pa-active{background:#dff7e9;color:#08773a}.pa-paused{background:#fff0c9;color:#a75b00}.pa-ended,.pa-off,.pa-cancelled{background:#e9edf2;color:#5e697a}.pa-queued{background:#e6f1ff;color:#145cc5}.pa-processing{background:#eee8ff;color:#6540bd}.pa-accepted{background:#dff7e9;color:#08773a}.pa-uncertain{background:#ffe1e1;color:#b82731}.pa-channel{margin:2px 3px 2px 0}.pa-channel-whatsapp{background:#dff7e9;color:#08773a}.pa-channel-email{background:#deebff;color:#145cc5}.pa-stage{background:#edf1f6;color:#475569}.pa-stage-blue{background:#deebff;color:#145cc5}.pa-stage-violet{background:#eee8ff;color:#6540bd}.pa-stage-cyan{background:#dff7fb;color:#087a91}.pa-stage-green{background:#dff7e9;color:#08773a}.pa-stage-orange{background:#fff0d4;color:#af5d00}.pa-stage-red,.pa-stage-pink{background:#ffe2e7;color:#bc2f48}.pa-tip{margin:16px;padding:14px;border-radius:9px;background:#eaf4ff;color:#145cc5;font-size:12px}
.pa-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 20px 8px}.pa-section-head h3{margin:0 0 5px;color:#061c33}.pa-section-head p{margin:0;color:#748196;font-size:13px}.pa-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px 20px 22px}.pa-template-card{border:1px solid #e0e6ee;border-radius:12px;padding:16px;background:#fff}.pa-template-card.is-off{opacity:.55}.pa-template-card h4{margin:12px 0 4px;color:#061c33}.pa-template-card small{color:#748196}.pa-template-card p{white-space:pre-line;color:#3d4b5f;line-height:1.55;max-height:125px;overflow:hidden}.pa-template-card footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #edf0f4;color:#748196;font-size:11px}
.pa-integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px 20px}.pa-integration-grid article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e0e6ee;border-radius:12px}.pa-integration-grid strong,.pa-integration-grid small{display:block}.pa-integration-grid small{margin-top:3px;color:#748196}.pa-ready{width:15px;height:15px;border-radius:50%}.pa-ready.yes{background:#1fa451;box-shadow:0 0 0 5px #e2f7ea}.pa-ready.no{background:#e49a12;box-shadow:0 0 0 5px #fff4d9}.pa-settings{padding:8px 20px 20px}.pa-switch{display:flex;align-items:center;gap:12px;padding:16px;margin-bottom:16px;border:1px solid #e0e6ee;border-radius:12px;cursor:pointer}.pa-switch>input{display:none}.pa-switch>span{width:46px;height:26px;border-radius:20px;background:#b8c1ce;position:relative;transition:.2s}.pa-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:.2s}.pa-switch>input:checked+span{background:#1fa451}.pa-switch>input:checked+span:after{left:23px}.pa-switch strong,.pa-switch small{display:block}.pa-switch small{color:#748196;margin-top:3px}.pa-days{display:flex;gap:8px;flex-wrap:wrap}.pa-days label,.pa-check{display:flex;align-items:center;gap:6px;font-size:12px;color:#344054}.pa-days label{padding:8px;border:1px solid #d9e0e9;border-radius:8px}
.pa-mode{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:8px 0 18px}.pa-mode label{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:start;padding:14px;border:1px solid #dbe2eb;border-radius:11px;cursor:pointer}.pa-mode input{grid-row:1/3;margin-top:3px}.pa-mode strong,.pa-mode small{display:block}.pa-mode small{margin-top:4px;color:#748196;line-height:1.4}.pa-channel-choice{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:center;margin:10px 0}.pa-channel-choice label{font-weight:700;color:#27364d}.pa-channel-choice select{width:100%;padding:11px;border:1px solid #d7dfe9;border-radius:9px;background:#fff}.pa-radar-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.pa-preview-list{display:grid;gap:12px;max-height:58vh;overflow:auto}.pa-preview-list article{border:1px solid #dfe5ed;border-radius:11px;padding:14px;background:#f9fbfd}.pa-preview-list header{display:flex;justify-content:space-between;align-items:center}.pa-preview-list article>small,.pa-preview-list article>b{display:block;margin-top:8px}.pa-preview-list pre{white-space:pre-wrap;font:inherit;font-size:12px;line-height:1.55;color:#26364a;background:#fff;border:1px solid #e2e7ed;border-radius:8px;padding:12px;max-height:240px;overflow:auto}.pa-contact-edit{padding:13px;border:1px solid #dfe5ed;border-radius:11px;margin-bottom:12px}.pa-contact-edit h4{margin:0 0 12px}.pa-contact-edit .pa-check{margin-top:9px}
@media(max-width:1150px){.pa-metrics{grid-template-columns:repeat(2,1fr)}.pa-toolbar{grid-template-columns:1fr 1fr}.pa-toolbar .btn{grid-column:span 2}}
@media(max-width:760px){.pa-head-actions{width:100%}.pa-head-actions .btn{flex:1}.pa-safety{align-items:flex-start;flex-wrap:wrap}.pa-safety span:last-child{width:100%;padding-left:30px}.pa-metrics{grid-template-columns:1fr}.pa-toolbar{grid-template-columns:1fr}.pa-toolbar .btn{grid-column:auto}.pa-template-grid,.pa-integration-grid,.pa-mode,.pa-radar-options{grid-template-columns:1fr}.pa-channel-choice{grid-template-columns:1fr}.pa-section-head{flex-direction:column}.pa-section-head .btn{width:100%}}
.pa-ifbot-channel{margin:12px 0;padding:14px;border:1px solid #dbe7f3;border-radius:12px;background:#f7fbff}.pa-ifbot-channel small,.pa-channel-detail,.pa-preview-channel{display:block;margin-top:5px;color:#64748b}.pa-preview-channel{padding:7px 10px;border-radius:8px;background:#eff6ff;color:#315b86}
.pa-message-label{display:block;margin-top:12px;font-size:12px;font-weight:700;color:#334155}.pa-message-editor{width:100%;min-height:150px;margin-top:6px;padding:13px 14px;resize:vertical;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:inherit;line-height:1.55}.pa-message-editor:focus{outline:0;border-color:#3283e6;box-shadow:0 0 0 3px rgba(50,131,230,.12)}.pa-message-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.pa-message-tools small{color:#64748b}
.pa-send-progress{text-align:center;padding:10px 0 18px}.pa-send-progress strong,.pa-send-progress small{display:block}.pa-send-progress small{margin-top:5px;color:#64748b}.pa-send-spinner{width:42px;height:42px;margin:0 auto 12px;border:4px solid #dbeafe;border-top-color:#2878d0;border-radius:50%;animation:pa-spin .8s linear infinite}.pa-send-spinner.is-done{border-color:#bde8d0;background:#eaf9f1;animation:none;position:relative}.pa-send-spinner.is-done:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#138a4b;font-weight:900}.pa-send-list{display:grid;gap:10px;max-height:390px;overflow:auto}.pa-send-row{display:grid;grid-template-columns:40px 1fr;gap:11px;align-items:start;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.pa-send-row div>*{display:block}.pa-send-row b{margin:2px 0;font-size:13px}.pa-send-row small{color:#64748b;line-height:1.4}.pa-send-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eff6ff;color:#2878d0;font-weight:900}.pa-send-row.is-accepted{border-color:#bde8d0;background:#f5fcf8}.pa-send-row.is-accepted .pa-send-icon{background:#dff6e9;color:#138a4b}.pa-send-row.is-uncertain{border-color:#f5d89a;background:#fffaf0}.pa-send-row.is-uncertain .pa-send-icon{background:#fff0c9;color:#a66300}.pa-send-row.is-cancelled .pa-send-icon{background:#fee2e2;color:#b42318}@keyframes pa-spin{to{transform:rotate(360deg)}}
