.prevero-wrap{--pv:#2563eb;--pv2:#0f172a;--soft:#f8fafc}.prevero-wrap h1{font-weight:800}.prevero-hero{background:linear-gradient(135deg,#0f172a,#1e3a8a);border-radius:18px;color:#fff;padding:28px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.prevero-hero h2{color:#fff;margin:0 0 8px;font-size:28px}.prevero-hero p{color:#dbeafe;max-width:760px;margin:0}.prevero-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:18px 0}.prevero-stats div,.prevero-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.prevero-stats span{display:block;font-size:32px;font-weight:800;color:#0f172a}.prevero-stats label{color:#64748b}.prevero-flow{display:flex;gap:8px;flex-wrap:wrap}.prevero-flow span{background:#eef2ff;color:#1e3a8a;border:1px solid #c7d2fe;border-radius:999px;padding:9px 12px;font-weight:700}.prevero-grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:18px}.prevero-card label{display:block;font-weight:700;margin:12px 0 6px}.prevero-card input,.prevero-card textarea,.prevero-card select,.prevero-wrap select.widefat{margin-top:6px}.prevero-seq-row{display:grid;grid-template-columns:70px 1fr 1.6fr 1.4fr;gap:6px;margin:6px 0}.prevero-table{margin-top:14px}.prevero-actions .button{margin:2px}.prevero-pill{display:inline-block;background:#f1f5f9;color:#334155;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.prevero-error{color:#b91c1c}.button-link-delete{color:#b91c1c!important;border-color:#fecaca!important}.button-link-delete:hover{background:#fef2f2!important}#prevero-preview-modal{display:none;position:fixed;inset:0;background:rgba(15,23,42,.6);z-index:99999;align-items:center;justify-content:center;padding:30px}#prevero-preview-modal.is-open{display:flex}#prevero-preview-modal>div{background:#fff;border-radius:18px;width:min(920px,96vw);height:min(760px,90vh);padding:18px;position:relative;box-shadow:0 30px 90px rgba(0,0,0,.3)}#prevero-preview-modal h2{margin:0 40px 12px 0}#prevero-preview-modal iframe{width:100%;height:calc(100% - 50px);border:1px solid #e5e7eb;border-radius:12px}.prevero-close{position:absolute;top:12px;right:14px;border:0;background:#0f172a;color:#fff;border-radius:50%;width:32px;height:32px;font-size:22px;cursor:pointer}@media(max-width:900px){.prevero-grid-2,.prevero-stats{grid-template-columns:1fr}.prevero-hero{display:block}.prevero-seq-row{grid-template-columns:1fr}}
.prevero-lead-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:16px 0}.prevero-filter-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.prevero-filter-form select{min-width:220px}.prevero-queue-note{color:#475569}.prevero-bulk-bar{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin:14px 0;position:sticky;top:32px;z-index:10}.prevero-muted{color:#64748b}.prevero-status-draft_ready{background:#ecfdf5;color:#047857}.prevero-status-email_sent{background:#eef2ff;color:#3730a3}.prevero-status-scanned{background:#eff6ff;color:#1d4ed8}.prevero-status-send_failed,.prevero-status-scan_failed,.prevero-status-generate_failed,.prevero-status-failed{background:#fef2f2;color:#b91c1c}.prevero-status-interested{background:#f0fdf4;color:#15803d}.prevero-status-not_interested{background:#f8fafc;color:#475569}.prevero-table .check-column{width:36px;text-align:center}
.prevero-crm-intro{margin:16px 0}.prevero-crm-table td{vertical-align:top}.prevero-inline-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.prevero-inline-form select{max-width:190px}.prevero-note-form{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.prevero-note-form input[type=text]{min-width:260px}.prevero-status-human_reply{background:#eff6ff;color:#1d4ed8}.prevero-status-automatic_reply{background:#f8fafc;color:#475569}.prevero-status-follow_up_needed{background:#fff7ed;color:#c2410c}.prevero-status-meeting_booked{background:#ecfdf5;color:#047857}.prevero-status-opted_out{background:#fef2f2;color:#b91c1c}.prevero-status-closed{background:#f3f4f6;color:#374151}
@media(max-width:1200px){.prevero-crm-actions .prevero-note-form input[type=text]{min-width:180px}}

/* Prevero One-Click Console */
.prevero-frontend-shell{font-family:Arial,Helvetica,sans-serif;background:#f8fafc;padding:24px;border-radius:18px;color:#0f172a}.prevero-console{--pv:#3157ff;--pv-dark:#0f172a;--pv-soft:#eef3ff}.prevero-console-header{background:linear-gradient(135deg,#0b1220,#1e3a8a);border-radius:20px;color:#fff;padding:28px;margin:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 16px 50px rgba(15,23,42,.18)}.prevero-console-brand{display:flex;align-items:center;gap:16px}.prevero-console-logo{width:54px;height:54px;border-radius:17px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:24px}.prevero-console-header h1{margin:0;color:#fff;font-size:28px;font-weight:900;letter-spacing:-.4px}.prevero-console-header p{margin:6px 0 0;color:#dbeafe;max-width:760px}.prevero-run-form{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.prevero-run-form label{color:#dbeafe;font-weight:700;font-size:12px}.prevero-run-form input{width:70px;border-radius:9px;border:1px solid rgba(255,255,255,.28);background:#fff;color:#0f172a;padding:8px}.prevero-start-button{background:#4f6cff!important;border-color:#4f6cff!important;border-radius:10px!important;padding:8px 18px!important;font-weight:800!important;box-shadow:0 10px 26px rgba(49,87,255,.32)!important}.prevero-console-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:18px 0}.prevero-console-metrics>div{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.06);position:relative;overflow:hidden}.prevero-console-metrics label{display:block;color:#64748b;font-weight:700;font-size:13px}.prevero-console-metrics strong{display:inline-block;color:#0f172a;font-size:34px;line-height:1;font-weight:900;margin-top:8px}.prevero-console-metrics span{display:block;color:#64748b;margin-top:5px}.prevero-console-metrics em{position:absolute;left:0;bottom:0;height:4px;background:#3157ff;display:block}.prevero-console-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:18px}.prevero-console-panel{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.prevero-panel-head{display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #eef2f7;padding-bottom:14px;margin-bottom:16px;gap:10px}.prevero-panel-head h2{margin:0;font-size:18px;font-weight:900;color:#0f172a}.prevero-panel-head span{color:#64748b;font-size:12px;background:#f8fafc;border:1px solid #e5e7eb;padding:6px 9px;border-radius:999px}.prevero-stage-track{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:22px}.prevero-stage-track a{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:13px;text-decoration:none;color:#0f172a;transition:.18s ease;min-height:88px}.prevero-stage-track a:hover{border-color:#3157ff;box-shadow:0 10px 24px rgba(49,87,255,.1);transform:translateY(-1px)}.prevero-stage-track b{display:flex;width:30px;height:30px;border-radius:10px;background:#eef3ff;color:#3157ff;align-items:center;justify-content:center;margin-bottom:10px}.prevero-stage-track strong{display:block;font-size:13px}.prevero-stage-track small{display:block;color:#64748b;margin-top:4px}.prevero-console-list{display:grid;gap:8px}.prevero-console-item,.prevero-activity-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:13px;padding:11px 12px}.prevero-console-item strong,.prevero-activity-row strong{display:block;color:#0f172a}.prevero-console-item small,.prevero-activity-row small{display:block;color:#64748b;margin-top:3px}.prevero-activity-row i{width:32px;height:32px;border-radius:10px;background:#eef3ff;color:#3157ff;display:flex;align-items:center;justify-content:center;font-style:normal;flex:0 0 auto}.prevero-activity-row>div{flex:1}.prevero-activity-row span{font-size:11px;font-weight:800;color:#047857;background:#ecfdf5;border-radius:999px;padding:4px 8px}.prevero-console-activity{display:grid;gap:8px}.prevero-console-safe{margin-top:16px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.prevero-console-safe p{margin:7px 0;color:#334155;font-weight:700;font-size:13px}.prevero-console .notice{margin:10px 0 14px}.prevero-frontend-shell .button{text-decoration:none}.prevero-frontend-shell h1,.prevero-frontend-shell h2,.prevero-frontend-shell h3{font-family:Arial,Helvetica,sans-serif}
@media(max-width:1180px){.prevero-console-header{display:block}.prevero-run-form{justify-content:flex-start;margin-top:16px}.prevero-console-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.prevero-console-grid{grid-template-columns:1fr}.prevero-stage-track{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.prevero-console-metrics,.prevero-stage-track{grid-template-columns:1fr}.prevero-console-brand{align-items:flex-start}.prevero-console-header{padding:20px}.prevero-run-form{display:grid;grid-template-columns:1fr}.prevero-run-form .button{width:100%;text-align:center}}

/* Prevero Frontend App Tabs */
.prevero-frontend-app{background:#eef2f7;border-radius:22px;padding:18px;color:#0f172a}
.prevero-front-tabs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 18px;padding:10px;background:#0b1220;border:1px solid rgba(255,255,255,.08);border-radius:18px;position:sticky;top:10px;z-index:30;box-shadow:0 18px 50px rgba(15,23,42,.18)}
.prevero-front-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border-radius:13px;text-decoration:none;color:#cbd5e1;font-weight:900;font-size:13px;border:1px solid transparent;transition:.18s ease;background:rgba(255,255,255,.04)}
.prevero-front-tabs a span{width:22px;height:22px;border-radius:8px;background:rgba(255,255,255,.08);display:inline-flex;align-items:center;justify-content:center;color:#93c5fd;font-size:12px}
.prevero-front-tabs a:hover{color:#fff;background:rgba(255,255,255,.08);transform:translateY(-1px)}
.prevero-front-tabs a.is-active{color:#fff;background:linear-gradient(135deg,#3157ff,#1d4ed8);border-color:rgba(255,255,255,.16);box-shadow:0 12px 26px rgba(49,87,255,.25)}
.prevero-front-tabs a.is-active span{background:rgba(255,255,255,.18);color:#fff}
.prevero-front-content{background:#fff;border:1px solid #dbe2ea;border-radius:20px;padding:18px;box-shadow:0 18px 50px rgba(15,23,42,.08);overflow-x:auto}
.prevero-front-content .wrap{margin:0;max-width:none;padding:0}
.prevero-front-content .prevero-wrap h1{margin-top:0;font-size:26px;letter-spacing:-.03em;color:#0f172a}
.prevero-front-content .prevero-card,.prevero-front-content .prevero-stats div{box-shadow:none;border-color:#e5e7eb}
.prevero-front-content table.widefat{border-radius:14px;overflow:hidden;border-color:#e5e7eb}
.prevero-front-content .button{border-radius:10px!important;font-weight:800!important;min-height:38px;display:inline-flex!important;align-items:center;justify-content:center;padding:0 14px!important;text-decoration:none!important}
.prevero-front-content .button-primary{background:#3157ff!important;border-color:#3157ff!important;color:#fff!important}
.prevero-front-content input.widefat,.prevero-front-content textarea.widefat,.prevero-front-content select.widefat,.prevero-front-content .widefat{max-width:100%}
@media(max-width:760px){.prevero-front-tabs{position:relative;top:auto}.prevero-front-tabs a{flex:1 1 44%;justify-content:center}.prevero-front-content{padding:12px}.prevero-front-content table{font-size:12px}}


/* v0.3.6 frontend tab UI cleanup */
.prevero-frontend-app{max-width:100%;padding:18px!important;background:#eef4fb!important;border:1px solid #dbe5f0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.prevero-front-content{padding:22px!important;overflow-x:auto!important}
.prevero-front-content .prevero-wrap{width:100%!important;max-width:100%!important}
.prevero-front-content .prevero-grid-2{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
.prevero-front-content .prevero-card{border-radius:18px!important;padding:22px!important;background:#fff!important;border:1px solid #dbe3ee!important;margin:0 0 16px!important;box-shadow:0 12px 28px rgba(15,23,42,.04)!important}
.prevero-front-content .prevero-card h2{font-size:24px!important;line-height:1.15!important;margin:0 0 18px!important;color:#0f172a!important;letter-spacing:-.03em!important}
.prevero-front-content .prevero-card h3{font-size:18px!important;margin:18px 0 10px!important;color:#0f172a!important}
.prevero-front-content .prevero-card label{display:block!important;margin:0 0 14px!important;font-size:14px!important;font-weight:800!important;color:#0f172a!important}
.prevero-front-content input.widefat,
.prevero-front-content textarea.widefat,
.prevero-front-content select.widefat,
.prevero-front-content input[type=text],
.prevero-front-content input[type=email],
.prevero-front-content input[type=url],
.prevero-front-content input[type=password],
.prevero-front-content input[type=number],
.prevero-front-content textarea,
.prevero-front-content select{width:100%!important;max-width:100%!important;min-height:42px!important;border:1px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:#0f172a!important;padding:9px 12px!important;font-size:14px!important;line-height:1.35!important;box-shadow:none!important;box-sizing:border-box!important}
.prevero-front-content textarea{min-height:92px!important;resize:vertical!important}
.prevero-front-content .prevero-seq-row{display:grid!important;grid-template-columns:70px 1fr 1.25fr 1.35fr!important;gap:8px!important;margin:8px 0!important;align-items:center!important}
.prevero-front-content .prevero-seq-row input{min-height:36px!important;padding:7px 9px!important;font-size:12px!important;border-radius:9px!important}
.prevero-front-content .prevero-lead-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
.prevero-front-content .prevero-filter-form{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;width:100%!important}
.prevero-front-content .prevero-filter-form select,
.prevero-front-content .prevero-filter-form input{width:auto!important;min-width:190px!important;max-width:280px!important}
.prevero-front-content .prevero-bulk-bar{position:relative!important;top:auto!important;margin:14px 0!important;border-radius:16px!important}
.prevero-front-content table.widefat,
.prevero-front-content .prevero-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border:1px solid #dbe3ee!important;border-radius:18px!important;overflow:hidden!important;margin-top:14px!important;table-layout:auto!important}
.prevero-front-content table.widefat thead th{background:#f8fafc!important;color:#0f172a!important;font-weight:900!important;font-size:13px!important;padding:13px 12px!important;border-bottom:1px solid #dbe3ee!important;white-space:nowrap!important}
.prevero-front-content table.widefat tbody td{padding:13px 12px!important;vertical-align:middle!important;border-bottom:1px solid #edf2f7!important;color:#334155!important;font-size:14px!important;line-height:1.45!important}
.prevero-front-content table.widefat tbody tr:last-child td{border-bottom:0!important}
.prevero-front-content table.widefat tbody tr:nth-child(even){background:#fbfdff!important}
.prevero-front-content .prevero-actions{display:flex!important;gap:7px!important;align-items:center!important;flex-wrap:wrap!important;min-width:230px!important}
.prevero-front-content .prevero-actions .button{margin:0!important;min-width:74px!important}
.prevero-front-content .button,
.prevero-front-content button.button,
.prevero-front-content input[type=submit].button{border-radius:11px!important;font-weight:900!important;min-height:40px!important;padding:0 15px!important;font-size:13px!important;border:1px solid #3157ff!important;color:#3157ff!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important}
.prevero-front-content .button-primary,
.prevero-front-content input[type=submit].button-primary,
.prevero-front-content button.button-primary{background:#3157ff!important;border-color:#3157ff!important;color:#fff!important}
.prevero-front-content .button[disabled],
.prevero-front-content button[disabled]{background:#f1f5f9!important;color:#94a3b8!important;border-color:#e2e8f0!important;cursor:not-allowed!important}
.prevero-front-content .button-link-delete{border-color:#fecaca!important;color:#b91c1c!important;background:#fff!important}
.prevero-front-content .prevero-inline-form,
.prevero-front-content .prevero-note-form{display:flex!important;gap:8px!important;align-items:center!important;flex-wrap:wrap!important;margin:0 0 8px!important;min-width:320px!important}
.prevero-front-content .prevero-inline-form select{width:190px!important;min-width:170px!important}
.prevero-front-content .prevero-note-form input[type=text]{width:260px!important;min-width:220px!important;min-height:38px!important}
.prevero-front-content .prevero-note-form .button,
.prevero-front-content .prevero-inline-form .button{min-height:38px!important}
.prevero-front-content .prevero-crm-table td:nth-child(7){min-width:360px!important}
.prevero-front-content .prevero-pill{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:5px 9px!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
.prevero-front-content .prevero-crm-intro p{font-size:15px!important;line-height:1.65!important;color:#475569!important;max-width:980px!important}
.prevero-front-content .prevero-console-header{margin-top:0!important}
.prevero-front-content .prevero-console-metrics{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.prevero-front-content .prevero-console-grid{grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important}
.prevero-front-content .prevero-front-table-scroll{overflow-x:auto!important;width:100%!important}
.prevero-front-content .prevero-settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
.prevero-front-content .prevero-settings-grid h2{grid-column:1/-1!important;margin-top:8px!important}
.prevero-front-content form.prevero-card>h2{margin-top:4px!important}
.prevero-front-content form.prevero-card{max-width:980px!important}
.prevero-front-content .prevero-card input[type=checkbox]{width:auto!important;min-height:auto!important;margin-right:8px!important}
@media(max-width:1180px){.prevero-front-content .prevero-grid-2{grid-template-columns:1fr!important}.prevero-front-content .prevero-console-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.prevero-front-content .prevero-console-grid{grid-template-columns:1fr!important}}
@media(max-width:860px){.prevero-front-content{padding:14px!important}.prevero-front-content table.widefat{display:block!important;overflow-x:auto!important;white-space:nowrap!important}.prevero-front-content .prevero-filter-form select,.prevero-front-content .prevero-filter-form input{width:100%!important;max-width:100%!important}.prevero-front-content .prevero-seq-row{grid-template-columns:1fr!important}.prevero-front-content .prevero-inline-form,.prevero-front-content .prevero-note-form{min-width:0!important}.prevero-front-content .prevero-note-form input[type=text]{width:100%!important}.prevero-front-content .prevero-settings-grid{grid-template-columns:1fr!important}}

/* v0.3.7 workflow splash + manual email editor */
.prevero-run-form .prevero-start-button{position:relative;overflow:hidden}
#prevero-workflow-overlay{display:none;position:fixed;inset:0;background:rgba(2,6,23,.72);z-index:999999;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(8px)}
#prevero-workflow-overlay.is-open{display:flex}
.prevero-workflow-card{width:min(720px,94vw);background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #dbe5f0;border-radius:28px;padding:32px;box-shadow:0 40px 120px rgba(0,0,0,.42);color:#0f172a;text-align:left}
.prevero-workflow-spinner{width:58px;height:58px;border-radius:999px;border:6px solid #dbeafe;border-top-color:#3157ff;animation:preveroSpin .8s linear infinite;margin-bottom:18px}
@keyframes preveroSpin{to{transform:rotate(360deg)}}
.prevero-workflow-card h2{margin:0 0 6px!important;font-size:28px!important;letter-spacing:-.04em!important;color:#0f172a!important}
.prevero-workflow-sub{margin:0 0 22px;color:#64748b;font-size:15px}
.prevero-workflow-steps{display:grid;gap:10px}
.prevero-workflow-steps>div{display:grid;grid-template-columns:40px 1fr;gap:4px 12px;align-items:center;padding:13px 14px;border:1px solid #e5edf6;border-radius:16px;background:#fff;opacity:.72;transition:.25s ease}
.prevero-workflow-steps>div span{grid-row:1/3;width:34px;height:34px;border-radius:12px;background:#eef2ff;color:#3157ff;display:flex;align-items:center;justify-content:center;font-weight:900}
.prevero-workflow-steps>div strong{font-size:14px;color:#0f172a}.prevero-workflow-steps>div small{font-size:12px;color:#64748b}.prevero-workflow-steps>div.is-active{opacity:1;border-color:#3157ff;box-shadow:0 10px 28px rgba(49,87,255,.13);transform:translateY(-1px)}.prevero-workflow-steps>div.is-active span{background:#3157ff;color:#fff}.prevero-workflow-steps>div.is-done span{background:#dcfce7;color:#15803d}.prevero-workflow-steps>div.is-done{opacity:1}
.prevero-automation-result{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:18px;padding:16px 18px;margin:0 0 16px;color:#064e3b}.prevero-automation-result-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}.prevero-automation-result-head strong{font-size:15px}.prevero-automation-result-head span{font-size:12px;font-weight:800;color:#047857}.prevero-automation-result ol{margin:12px 0 0 20px;padding:0;display:grid;gap:5px}.prevero-automation-result li{font-size:13px;color:#065f46}
.prevero-email-editor{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:220px}.prevero-email-editor.is-missing .prevero-email-view{color:#b45309;background:#fffbeb;border-color:#fde68a}.prevero-email-view{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:12px;font-weight:800}.prevero-email-edit-form{display:none;gap:6px;align-items:center;flex-wrap:wrap;width:100%;margin-top:6px}.prevero-email-editor.is-editing .prevero-email-edit-form{display:flex}.prevero-email-editor.is-editing .prevero-email-edit-toggle{display:none}.prevero-email-edit-form input[type=email]{width:220px!important;min-height:34px!important;border-radius:9px!important;font-size:12px!important;padding:6px 9px!important}.prevero-email-edit-form .button{min-height:34px!important;padding:0 10px!important}
.prevero-front-content .prevero-email-edit-form input[type=email]{width:220px!important;min-width:180px!important;max-width:260px!important}.prevero-front-content .prevero-email-editor{min-width:250px!important}

/* Brand/logo manual override editor */
.prevero-brand-editor{margin-top:10px;display:block;font-size:12px;max-width:260px}
.prevero-brand-view{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.prevero-brand-editor img{max-width:96px;max-height:42px;object-fit:contain;background:#0f172a;border-radius:8px;padding:5px;border:1px solid #dbe2ea}
.prevero-brand-chip{display:inline-flex;align-items:center;gap:5px;border:1px solid #dbe2ea;background:#f8fafc;color:#26364b;border-radius:999px;padding:4px 8px;font-weight:800;font-size:11px}
.prevero-brand-chip:before{content:'';width:9px;height:9px;border-radius:999px;background:var(--pv-primary,#2563eb);display:inline-block}
.prevero-brand-warning{background:#fff7ed;color:#9a3412;border-color:#fed7aa}
.prevero-brand-warning:before{background:#f97316}
.prevero-brand-edit-form{display:none;margin-top:8px;grid-template-columns:1fr 84px 84px;gap:6px;align-items:center}
.prevero-brand-editor.is-editing .prevero-brand-edit-form{display:grid}
.prevero-brand-edit-form input{min-height:34px;border:1px solid #dbe2ea;border-radius:9px;padding:6px 8px;font-size:12px;max-width:100%}
.prevero-brand-edit-form .button{grid-column:1/-1;width:max-content}
@media(max-width:760px){.prevero-brand-edit-form{grid-template-columns:1fr}.prevero-brand-edit-form .button{width:100%}}

/* Frontend AJAX loader for tab/filter navigation */
.prevero-frontend-app { position: relative; }
.prevero-ajax-loader { display: none; position: absolute; inset: 0; z-index: 50; background: rgba(241,245,249,.78); backdrop-filter: blur(7px); border-radius: 22px; align-items: center; justify-content: center; }
.prevero-ajax-loading .prevero-ajax-loader { display: flex; }
.prevero-ajax-loader > div { width: min(420px, 92%); border: 1px solid rgba(37,99,235,.18); background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 24px 70px rgba(15,23,42,.18); text-align: center; color: #0f172a; }
.prevero-ajax-loader span { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #dbeafe; border-top-color: #3156ff; display: inline-block; animation: preveroSpin .9s linear infinite; margin-bottom: 12px; }
.prevero-ajax-loader strong { display:block; font-size: 18px; margin-bottom: 4px; }
.prevero-ajax-loader small { color:#64748b; }
@keyframes preveroSpin { to { transform: rotate(360deg); } }

/* Prevero v0.4.2 conversation UI */
.prevero-conversation-latest{font-size:13px;line-height:1.45;color:#475569;max-width:360px}.prevero-conversation-box{margin-top:10px;max-width:520px}.prevero-conversation-box>summary{cursor:pointer;display:inline-flex;align-items:center;gap:6px;border:1px solid #c7d2fe;background:#eef2ff;color:#3152d9;border-radius:999px;padding:7px 12px;font-weight:800;font-size:12px}.prevero-thread{margin-top:12px;display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:12px}.prevero-thread-item{border-radius:14px;padding:12px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}.prevero-thread-in{border-color:#bbf7d0;background:#f0fdf4}.prevero-thread-note{background:#fff7ed;border-color:#fed7aa}.prevero-thread-meta{display:flex;justify-content:space-between;gap:12px;color:#64748b;font-size:12px;margin-bottom:6px}.prevero-thread-meta strong{color:#0f172a}.prevero-thread-subject{font-weight:900;color:#111827;margin-bottom:6px}.prevero-thread-body{white-space:pre-wrap;color:#334155;font-size:13px;line-height:1.5}.prevero-crm-table td:nth-child(6){min-width:300px}.prevero-crm-table td:nth-child(7){min-width:260px}

/* Prevero v0.4.3 CRM conversation modal */
.prevero-crm-table td:nth-child(6){min-width:240px;max-width:320px}.prevero-conversation-latest{font-size:12px;line-height:1.45;color:#64748b;max-width:280px;margin-bottom:9px}.prevero-open-conversation{border-radius:999px!important;font-weight:800!important;background:#eef2ff!important;border-color:#c7d2fe!important;color:#3152d9!important}.prevero-conversation-modal{position:fixed;inset:0;z-index:100000;display:none}.prevero-conversation-modal.is-open{display:block}.prevero-conversation-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.68);backdrop-filter:blur(7px)}.prevero-conversation-dialog{position:relative;margin:42px auto;width:min(1080px,94vw);max-height:88vh;overflow:auto;background:#f8fafc;border-radius:24px;border:1px solid #dbe5f0;box-shadow:0 34px 110px rgba(0,0,0,.38);padding:24px}.prevero-conversation-close{position:absolute;top:18px;right:18px;width:38px;height:38px;border:0;border-radius:999px;background:#0f172a;color:#fff;font-size:24px;line-height:1;cursor:pointer}.prevero-conversation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:12px 54px 20px 0;border-bottom:1px solid #e2e8f0;margin-bottom:16px}.prevero-conversation-head h2{margin:0;color:#0f172a;font-size:28px;font-weight:900;letter-spacing:-.04em}.prevero-conversation-head p{margin:5px 0 0;color:#64748b}.prevero-kicker-mini{display:block;color:#3157ff;text-transform:uppercase;font-size:11px;letter-spacing:.16em;font-weight:900;margin-bottom:5px}.prevero-client-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.prevero-client-detail-grid>div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:13px}.prevero-client-detail-grid small{display:block;color:#64748b;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.prevero-client-detail-grid strong,.prevero-client-detail-grid a{display:block;color:#0f172a;font-weight:800;text-decoration:none;overflow-wrap:anywhere}.prevero-conversation-timeline{display:grid;gap:12px}.prevero-conversation-timeline .prevero-thread-item{padding:16px;border-radius:18px}.prevero-conversation-timeline .prevero-thread-out{background:#fff;border-left:5px solid #3157ff}.prevero-conversation-timeline .prevero-thread-in{background:#ecfdf5;border-left:5px solid #16a34a}.prevero-conversation-timeline .prevero-thread-note{background:#fff7ed;border-left:5px solid #f59e0b}.prevero-conversation-timeline .prevero-thread-body{max-height:none;white-space:pre-wrap;font-size:13px;line-height:1.65;color:#334155}.prevero-conversation-timeline .prevero-thread-subject{font-size:15px}.prevero-conversation-timeline .prevero-thread-meta{border-bottom:1px solid rgba(148,163,184,.25);padding-bottom:8px;margin-bottom:10px}@media(max-width:760px){.prevero-conversation-dialog{margin:18px auto;padding:18px;max-height:92vh}.prevero-client-detail-grid{grid-template-columns:1fr}.prevero-conversation-head{display:block;padding-right:48px}.prevero-conversation-head h2{font-size:23px}}

/* Prevero v0.4.4 actual email conversation viewer */
.prevero-conversation-dialog{width:min(1280px,96vw)!important;}
.prevero-conversation-timeline{gap:18px!important;}
.prevero-thread-item{overflow:hidden;}
.prevero-email-render-wrap{background:#eaf1f8;border:1px solid #dbe5f0;border-radius:18px;overflow:hidden;margin-top:10px;}
.prevero-email-render-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#3157ff;background:#fff;border-bottom:1px solid #dbe5f0;padding:10px 14px;}
.prevero-email-render-frame{width:100%;height:680px;border:0;background:#eef4fb;display:block;}
.prevero-thread-in .prevero-thread-body{font-size:14px!important;background:#fff;border:1px solid rgba(22,163,74,.16);border-radius:14px;padding:14px;color:#0f172a!important;}
.prevero-thread-in .prevero-thread-subject:after{content:'New synced reply';display:inline-flex;margin-left:10px;padding:4px 8px;border-radius:999px;background:#dcfce7;color:#15803d;font-size:11px;font-weight:900;vertical-align:middle;}
@media(max-width:760px){.prevero-email-render-frame{height:520px}.prevero-conversation-dialog{width:96vw!important}}

/* v0.4.6 live sync toast */
.prevero-live-sync-toast{
  position:fixed;right:24px;bottom:24px;z-index:999999;background:#0f172a;color:#fff;
  border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 18px;
  box-shadow:0 18px 50px rgba(0,0,0,.28);font-weight:800;font-size:14px;
}
.prevero-wrap .prevero-lead-toolbar .prevero-filter-form select,
.prevero-wrap .prevero-lead-toolbar .prevero-filter-form input[type="search"]{min-width:190px;}
.prevero-status-human_reply{background:#ecfeff!important;color:#0e7490!important;}
.prevero-status-automatic_reply{background:#f5f3ff!important;color:#6d28d9!important;}
.prevero-status-no_email{background:#fff7ed!important;color:#c2410c!important;}
