:root{color:#111827;background:#f8fafc;font-family:system-ui,Segoe UI,Roboto,sans-serif;line-height:1.5}body{margin:0}#root{min-height:100vh}h1,h2{margin:0;font-weight:600}h1{font-size:2rem}h2{font-size:1.15rem}p{margin:0}.narrow{max-width:24rem}.stack{flex-direction:column;gap:.85rem;display:flex}.row{align-items:center;gap:.5rem;display:flex}.icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:1.15rem;height:1.15rem}.app-shell{background:#f6f7f9;grid-template-columns:15.5rem minmax(0,1fr);min-height:100vh;display:grid}.sidebar{box-sizing:border-box;background:#f4f7ff;border-right:1px solid #e4ebf8;flex-direction:column;gap:1.25rem;height:100vh;padding:1rem .8rem 1.5rem;display:flex;position:sticky;top:0}.sidebar-head img{width:8.6rem;height:auto;display:block}.side-nav{flex-direction:column;gap:.15rem;display:flex}.nav-link{color:#1f2937;border-radius:999px;align-items:center;gap:.7rem;padding:.55rem .8rem;font-size:.95rem;text-decoration:none;display:flex}.nav-link.active{background:#dbe7ff;font-weight:650}.workspace{flex-direction:column;min-width:0;display:flex}.app-topbar{background:#fff;border-bottom:1px solid #eef0f3;justify-content:flex-end;align-items:center;gap:.75rem;min-height:4rem;padding:0 1.5rem;display:flex}.top-actions{align-items:center;gap:.35rem;display:flex}.card-head a,.plan-link,.suggest a{color:#1163fb;font-size:.92rem;font-weight:600;text-decoration:none}.icon-button,.account-trigger,.calendar-head button,.text-button,.pill-button,.nav-toggle,.nav-backdrop{background:0 0;border:0}.icon-button{color:#334155;border-radius:999px;justify-content:center;align-items:center;width:2.1rem;height:2.1rem;padding:0;text-decoration:none;display:inline-flex}.icon-button:hover,.account-trigger:hover{background:#f3f4f6}.icon-button.danger:hover{color:#b91c1c;background:#fef2f2}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}th.actions,td.actions{text-align:right;white-space:nowrap;width:1%}.row-actions{justify-content:flex-end;gap:.15rem;display:flex}.account{margin-left:.35rem;position:relative}.account-trigger{border-radius:999px;align-items:center;gap:.2rem;padding:.4rem .45rem;font-weight:600;display:inline-flex}.account-menu{z-index:5;background:#fff;border:1px solid #e5e7eb;border-radius:.8rem;flex-direction:column;min-width:10rem;padding:.35rem;display:flex;position:absolute;top:calc(100% + .35rem);right:0;box-shadow:0 12px 30px #0f172a1f}.account-menu a,.account-menu button{text-align:left;background:0 0;border:0;border-radius:.5rem;padding:.5rem .7rem;text-decoration:none}.account-menu a:hover,.account-menu button:hover{background:#f3f4f6}.nav-toggle,.nav-backdrop{display:none}.app-content{padding:1.4rem 1.6rem 2.5rem}.home-head,.planned-head,.card-head,.calendar-head{justify-content:space-between;align-items:center;gap:1rem;display:flex}.home-head h1{font-size:1.7rem}.home-actions{align-items:center;gap:.8rem;display:flex}.text-button{color:#1163fb;align-items:center;gap:.4rem;font-weight:600;display:inline-flex}.pill-button{background:#fff;border-radius:999px;padding:.45rem .9rem;border:1px solid #d7dbe3!important}.home-grid,.lower-grid,.suggest-grid{gap:1rem;display:grid}.home-grid{grid-template-columns:20.5rem minmax(0,1fr);margin-top:1.15rem}.lower-grid{grid-template-columns:1fr 1fr;margin-top:1rem}.card,.page,.planned,.suggest{background:#fff;border:1px solid #eceff3;border-radius:1rem}.card,.page{padding:1.15rem 1.2rem 1.25rem}.planned{background:#f5f8ff;padding:1.15rem}.calendar-head{margin-bottom:.8rem}.calendar-head button{border-radius:999px;width:1.8rem;height:1.8rem;padding:0;font-size:1.2rem}.calendar-grid{text-align:center;grid-template-columns:repeat(7,1fr);display:grid}.weekdays{color:#64748b;margin-bottom:.35rem;font-size:.78rem}.day{place-items:center;height:2.15rem;margin:.1rem auto;font-size:.92rem;display:grid}.day.is-outside{color:#b6bec9}.day.is-today{color:#fff;background:#1163fb;border-radius:999px;width:2.15rem;font-weight:700}.planned-empty{text-align:center;color:#64748b;margin:1.4rem 0 1.1rem}.suggest-grid{grid-template-columns:1fr 1fr}.suggest{flex-direction:column;gap:.45rem;padding:1rem;display:flex}.suggest h3{margin:0;font-size:1rem}.suggest p,.stat span,.usage-row p{color:#64748b;font-size:.92rem}.suggest-icon,.stat-icon{color:#1163fb;background:#e8f1ff;border-radius:.7rem;place-items:center;width:2.3rem;height:2.3rem;display:grid}.btn-dark{color:#fff;background:#111827;border-radius:999px;align-items:center;padding:.45rem .8rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-flex}.card-head{margin-bottom:.4rem}.stat{border-top:1px solid #eef1f4;justify-content:space-between;align-items:center;gap:1rem;margin-top:.85rem;padding-top:.85rem;display:flex}.stat strong,.usage-row strong{color:#111827;font-size:1.7rem;line-height:1.1;display:block}.usage-row{margin-top:1rem}.usage-label{align-items:center;gap:.4rem;font-weight:600;display:flex}.info-dot{color:#64748b;border:1px solid #cbd5e1;border-radius:999px;place-items:center;width:.95rem;height:.95rem;font-size:.65rem;display:inline-grid}.usage-bar{background:#e8edf2;border-radius:999px;height:.35rem;margin:.45rem 0;overflow:hidden}.usage-bar span{background:#1163fb;width:0;height:100%;display:block}.plan-link{margin-top:1rem;display:inline-block}.page{display:flex}@media (width<=1100px){.home-grid,.lower-grid,.suggest-grid{grid-template-columns:1fr}}@media (width<=800px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:20;width:min(18rem,86vw);transition:transform .2s;position:fixed;transform:translate(-105%)}.app-shell.is-nav-open .sidebar{transform:none}.nav-backdrop{z-index:15;background:#0f172a59;display:block;position:fixed;inset:0}.nav-toggle{background:#fff;border-radius:999px;margin-right:auto;padding:.4rem .7rem;display:inline-flex;border:1px solid #e5e7eb!important}.app-topbar{justify-content:flex-start}.home-head,.home-actions{flex-direction:column;align-items:flex-start}.app-content{padding:1rem}}label{flex-direction:column;gap:.35rem;font-size:.95rem;display:flex}input,select,button{font:inherit}input,select{background:#fff;border:1px solid #cbd5e1;border-radius:.4rem;padding:.5rem .65rem}button{cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.4rem;padding:.45rem .75rem}button:disabled{cursor:not-allowed;opacity:.6}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:.55rem .4rem}.muted{color:#64748b}.login-screen{background:#fff;grid-template-columns:1fr 1fr;display:grid;position:fixed;inset:0}.login-brand{background:radial-gradient(circle at 20% 20%,#1163fb29,#0000 42%),linear-gradient(160deg,#eef4ff 0%,#f8fafc 55%,#e8eef8 100%);justify-content:center;align-items:center;padding:3rem;display:flex}.login-brand img{width:min(22rem,80%);height:auto}.login-panel{justify-content:center;align-items:center;padding:2.5rem 1.5rem;display:flex}.login-panel form{width:min(24rem,100%)}.login-panel input{padding:.7rem .75rem}.login-panel button[type=submit]{color:#fff;background:#1163fb;border:none;border-radius:.4rem;margin-top:.35rem;padding:.7rem .75rem}.login-panel button[type=submit]:disabled{opacity:.7}@media (width<=800px){.login-screen{grid-template-rows:auto 1fr;grid-template-columns:1fr;overflow:auto}.login-brand{min-height:9rem;padding:2rem 1.5rem}.login-panel{align-items:flex-start}}[data-sonner-toaster][data-y-position=top]{top:4.75rem!important}.users-page{flex-direction:column;gap:1rem;display:flex}.users-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.users-page h1{font-size:1.7rem}.modal-backdrop{z-index:40;background:#0f172a73;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:1rem;width:min(26rem,100%);padding:1.25rem;box-shadow:0 20px 50px #0f172a2e}.modal-scroll{max-height:calc(100vh - 2rem);overflow:auto}.modal h2{margin-bottom:.9rem}.btn-primary{color:#fff;background:#1163fb;border:none;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.mailbox{width:min(52rem,100%);margin:0 auto}.mailbox-card{background:#fff;border:1px solid #e6e8ee;border-radius:1rem;flex-direction:column;gap:1rem;padding:1.35rem 1.4rem 1.2rem;display:flex}.mailbox-split{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.mailbox .field{flex-direction:column;gap:.4rem;font-size:.92rem;font-weight:600;display:flex}.mailbox .field input{background:#fbfbfc;border:1px solid #e5e7eb;border-radius:.7rem;padding:.72rem .85rem;font-weight:400}.mailbox .req:after{content:" *";color:#e11d48}.mailbox .hint{color:#64748b;font-size:.84rem;font-weight:400;line-height:1.4}.password-field{display:block;position:relative}.password-field input{width:100%;padding-right:2.6rem}.eye{color:#64748b;background:0 0;border:none;place-items:center;padding:.3rem;display:grid;position:absolute;top:50%;right:.3rem;transform:translateY(-50%)}.mailbox-section{border:1px solid #e6e8ee;border-radius:.95rem;padding:1rem 1.05rem 1.1rem}.mailbox-section-head{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.9rem;display:flex}.mailbox-kicker{margin:.15rem 0 0;font-weight:700}.mailbox-kicker span{color:#64748b;margin-left:.4rem;font-weight:500}.btn-quiet{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:.6rem;font-weight:500}.switch{cursor:pointer;flex-direction:row;justify-content:flex-start;align-items:center;gap:.75rem;width:100%;margin:.15rem 0 .85rem;font-weight:500;display:flex;position:relative}.switch input{opacity:0;width:2.6rem;height:1.45rem;margin:0;position:absolute}.switch-track{background:#e5e7eb;border-radius:999px;flex:none;width:2.6rem;height:1.45rem;transition:background .15s;position:relative}.switch-track:after{content:"";background:#fff;border-radius:50%;width:1.12rem;height:1.12rem;transition:transform .15s;position:absolute;top:.16rem;left:.16rem;box-shadow:0 1px 2px #0f172a29}.switch input:checked+.switch-track{background:#1163fb}.switch input:checked+.switch-track:after{transform:translate(1.15rem)}.switch input:focus-visible+.switch-track{outline-offset:2px;outline:2px solid #1163fb}.switch.compact{gap:0;width:auto;margin:0}.mailbox-divider{border:none;border-top:1px dashed #e5e7eb;margin:.15rem 0 .95rem}.mailbox-server{grid-template-columns:minmax(0,1fr) 6.5rem auto;align-items:end;gap:.85rem;display:grid}.segment{background:#f3f4f6;border-radius:999px;gap:.1rem;padding:.18rem;display:inline-flex}.segment button{color:#374151;background:0 0;border:none;border-radius:999px;padding:.38rem .85rem}.segment button.active{color:#111827;background:#fff;box-shadow:0 1px 2px #0f172a1f}.mailbox-footer{justify-content:space-between;align-items:center;gap:1rem;padding-top:.2rem;display:flex}.mailbox-footer p{margin:0}.mailbox-submit{border-radius:.6rem;padding:.6rem 1rem;font-weight:600}@media (width<=760px){.mailbox-split,.mailbox-server,.mailbox-footer{grid-template-columns:1fr;display:grid}.mailbox-footer .row{justify-content:flex-end}}.template-page .field{flex-direction:column;gap:.4rem;font-size:.92rem;font-weight:600;display:flex}.template-page .field input,.template-page .field select,.template-page .field textarea{background:#fbfbfc;border:1px solid #e5e7eb;border-radius:.7rem;padding:.72rem .85rem;font-weight:400}.template-page .req:after{content:" *";color:#e11d48}.template-page .hint{color:#64748b;margin:.35rem 0 0;font-size:.84rem}.template-layout{grid-template-columns:minmax(0,1.1fr) minmax(16rem,.9fr);align-items:start;gap:1rem;display:grid}.message-editor{background:#fbfbfc;border:1px solid #e5e7eb;border-radius:.7rem;overflow:hidden}.message-toolbar{background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;align-items:center;gap:.35rem;padding:.45rem;display:flex}.message-toolbar button{min-width:2.2rem;font-weight:700}.message-link{flex:1;gap:.35rem;min-width:12rem;display:flex}.template-page .message-link input{flex:1;min-width:0;padding:.4rem .65rem}.message-editor .error{margin:.35rem .7rem 0}.message-body{outline:none;min-height:24rem;padding:.85rem;font-size:1rem;font-weight:400;line-height:1.6}.message-body.is-empty:before{content:attr(data-placeholder);color:#94a3b8;pointer-events:none}.message-body p{margin:0 0 .75rem}.message-body a{color:#1163fb;cursor:text;text-decoration:underline}.template-preview{flex-direction:column;gap:.4rem;min-width:0;font-size:.92rem;font-weight:600;display:flex}.template-preview iframe{background:#fff;border:1px solid #e5e7eb;border-radius:.7rem;width:100%;height:24rem}.template-send-card{border:1px solid #e6e8ee;border-radius:.95rem;padding:1rem 1.05rem 1.1rem}.template-send{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:.85rem;display:grid}@media (width<=900px){.template-layout,.template-send{grid-template-columns:1fr}.template-preview iframe,.message-body{height:16rem;min-height:16rem}}.lead-create,.lead-form{flex-direction:column;gap:.85rem;display:flex}.lead-create{padding:1rem 1.1rem}.lead-form{width:min(40rem,100%)}.lead-create .field,.lead-form .field{flex-direction:column;gap:.4rem;font-size:.92rem;font-weight:600;display:flex}.lead-create .field input,.lead-form .field input,.lead-form .field select{background:#fbfbfc;border:1px solid #e5e7eb;border-radius:.7rem;padding:.72rem .85rem;font-weight:400}.lead-create .req:after,.lead-form .req:after{content:" *";color:#e11d48}.lead-toolbar,.lead-pager{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.lead-search{width:min(22rem,100%)}.lead-check{accent-color:#1163fb;width:1rem;height:1rem;margin:0;padding:0}.skeleton{vertical-align:middle;background:#e8eaef;border-radius:.4rem;height:.75rem;animation:1.2s ease-in-out infinite skeleton-pulse;display:inline-block}.skeleton-text{width:70%;min-width:6rem}.skeleton-check{width:1rem;height:1rem}.skeleton-action{width:5.5rem}.skeleton-title{width:12rem;height:1.7rem}@keyframes skeleton-pulse{0%,to{opacity:1}50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}.campaign-form,.campaign-summary{flex-direction:column;gap:1rem;padding:1.25rem;display:flex}.campaign-form .field,.campaign-set{border:none;flex-direction:column;gap:.45rem;min-width:0;margin:0;padding:0;font-size:.92rem;font-weight:600;display:flex}.campaign-form .hint,.campaign-set .hint{color:#64748b;font-size:.84rem;font-weight:400}.campaign-form .req:after,.campaign-set .req:after{content:" *";color:#e11d48}.campaign-picker{grid-template-columns:1fr 1fr;gap:.75rem;max-height:18rem;padding:.15rem;display:grid;overflow:auto}.campaign-option{cursor:pointer;background:#fff;border:1px solid #e6e8ee;border-radius:.85rem;align-items:flex-start;gap:.65rem;margin:0;padding:.85rem .9rem;font-weight:500;display:flex}.campaign-option .lead-check{margin-top:.2rem}.campaign-option>span{flex-direction:column;gap:.15rem;min-width:0;display:flex}.campaign-option strong{font-weight:600}.campaign-option .muted{overflow-wrap:anywhere;font-weight:400}.campaign-option:has(input:checked){background:#f5f8ff;border-color:#1163fb}.campaign-filter{grid-template-columns:6.5rem minmax(8rem,1fr) 9rem minmax(8rem,1.2fr) auto;align-items:center;gap:.5rem;display:grid}.campaign-times{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.campaign-footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.analytics-link{color:inherit;font-weight:600;text-decoration:none}.analytics-link:hover{color:#1163fb}.users-page .table-scroll h2{margin-bottom:.85rem}.campaign-detail-body{flex-direction:column;gap:1rem;display:flex}.campaign-stats,.campaign-facts,.campaign-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;display:grid}.campaign-tiles{grid-template-columns:1fr 1fr}.campaign-stat{flex-direction:column;gap:.15rem;display:flex}.campaign-stat strong{color:#1163fb;font-size:1.7rem;line-height:1.2}.campaign-stat span,.campaign-facts .muted,.campaign-tile .muted{color:#64748b;font-size:.84rem;font-weight:400}.campaign-facts p{margin-top:.25rem;font-weight:600}.campaign-panel{flex-direction:column;gap:.75rem;display:flex}.campaign-mailboxes{max-height:18rem;padding:.15rem;overflow:auto}.campaign-tile{background:#fff;border:1px solid #e6e8ee;border-radius:.85rem;flex-direction:column;gap:.15rem;min-width:0;padding:.85rem .9rem;display:flex}.campaign-tile strong{font-weight:600}.campaign-tile .muted{overflow-wrap:anywhere}@media (width<=720px){.campaign-filter,.campaign-times,.campaign-picker,.campaign-stats,.campaign-facts,.campaign-tiles{grid-template-columns:1fr}.campaign-join-spacer{display:none}}.table-scroll{overflow-x:auto}.lead-choice-modal{width:min(40rem,100%)}.lead-choice-modal .muted{margin:-.35rem 0 1rem}.lead-choice-grid{grid-template-columns:1fr 1fr;gap:.85rem;display:grid}.lead-choice-card{text-align:left;color:inherit;background:#fff;border:1px solid #e6e8ee;border-radius:1rem;flex-direction:column;align-items:flex-start;gap:.75rem;padding:1.35rem 1.3rem;display:flex}.lead-choice-card:hover{background:#f5f8ff;border-color:#1163fb}.lead-choice-icon{color:#1163fb;background:#e8f1ff;border-radius:.75rem;justify-content:center;align-items:center;width:2.6rem;height:2.6rem;display:inline-flex}.lead-choice-card strong{font-size:1.05rem}.lead-choice-card p{color:#64748b;margin:0;font-size:.92rem;font-weight:400;line-height:1.45}@media (width<=720px){.lead-choice-grid{grid-template-columns:1fr}}.import-panel{flex-direction:column;gap:1rem;display:flex}.import-card{flex-direction:column;gap:.85rem;padding:1rem 1.1rem;display:flex}.import-card .field{flex-direction:column;gap:.4rem;font-size:.92rem;font-weight:600;display:flex}.import-card .field select,.import-panel td select{min-width:12rem;font-weight:400}.import-card .req:after{content:" *";color:#e11d48}.import-summary{margin:0 0 .75rem}.import-skip{color:#b91c1c;font-weight:600}.file-picker{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.role{color:#1163fb;background:#e8f1ff;border-radius:999px;padding:.15rem .55rem;font-size:.82rem;font-weight:600;display:inline-block}.error{color:#b91c1c}a{color:inherit}
