:root{color:#18312b;font-synthesis:none;--green:#147d64;--dark:#102923;--line:#dce7e2;--muted:#667b75;background:#f4f7f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button,.button{border:1px solid var(--line);color:inherit;cursor:pointer;background:#fff;border-radius:9px;padding:.6rem .85rem}button:hover{border-color:#83aa9f}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:1px;outline:3px solid #8bd4c0}.primary{background:var(--green);color:#fff;border-color:var(--green);font-weight:700}.wide{width:100%;padding:.8rem}.app{min-height:100vh}.app aside{background:var(--dark);color:#fff;z-index:4;flex-direction:column;width:240px;padding:1.5rem 1rem;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:.7rem;margin:0 .5rem 2rem;font-size:1.1rem;display:flex}.brand span,.brand-mark{color:#06251d;background:#28b98e;border-radius:10px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.brand-mark{margin:auto}.app nav{gap:.35rem;display:grid}.app nav button{color:#bdd0ca;text-align:left;background:0 0;border:0;padding:.8rem 1rem}.app nav button.active,.app nav button:hover{color:#fff;background:#1e4037}.profile{border-top:1px solid #2e4a43;justify-content:space-between;align-items:center;margin-top:auto;padding:1rem .5rem 0;display:flex}.profile small,.people small,td small{color:#8fa59f;margin-top:.2rem;display:block}.profile button{color:#fff;background:0 0;border:0;font-size:1.3rem}.content{max-width:1400px;margin-left:240px;padding:2.2rem clamp(1rem,4vw,4rem)}.page-head,.row,.actions{justify-content:space-between;align-items:center;gap:1rem;display:flex}.page-head{margin-bottom:1.7rem}.page-head h1{margin:0;font-size:1.8rem}.page-head p,.muted,time,.meta{color:var(--muted);margin:.35rem 0 0}.stats{grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.stats article,.card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:1.25rem;box-shadow:0 3px 12px #14372e0a}.stats span{color:var(--muted);font-size:.9rem}.stats strong{margin-top:.4rem;font-size:2rem;display:block}.tip{border-left:4px solid #e2ad38}.card h2{margin:.1rem 0 .5rem;font-size:1.1rem}.search{width:min(100%,450px);margin-bottom:1rem}.table-wrap{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid #e8efec;padding:1rem}th{text-transform:uppercase;color:var(--muted);font-size:.8rem}.right{text-align:right;white-space:nowrap}.badge{background:#edf1ef;border-radius:30px;padding:.3rem .65rem;font-size:.78rem;font-weight:700;display:inline-block}.badge.ok,.badge.connected,.badge.completed{color:#086648;background:#d9f5ea}.badge.scheduled{color:#2959a0;background:#e6efff}.badge.running,.badge.linking{color:#805c00;background:#fff1c8}.badge.cancelled,.badge.failed{color:#a12d2d;background:#ffe3e3}.danger-link{color:#a12d2d;background:0 0;border:0}.empty{text-align:center;color:var(--muted);padding:2rem}.file input{display:none}.modal-bg{z-index:10;background:#10292399;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:16px;width:min(100%,520px);max-height:94vh;padding:1.5rem;overflow:auto}.modal.large{width:min(100%,720px)}.icon{border:0;padding:.1rem .5rem;font-size:1.6rem}form{gap:1rem;display:grid}label{gap:.4rem;font-size:.9rem;font-weight:650;display:grid}input,textarea,select{color:#18312b;background:#fff;border:1px solid #bfcfc9;border-radius:8px;width:100%;padding:.72rem}textarea{resize:vertical}.check{grid-template-columns:auto 1fr;align-items:flex-start;font-weight:400;display:flex}.check input{width:auto;margin-top:.2rem}fieldset{border:1px solid var(--line);border-radius:10px;padding:1rem}legend{font-weight:700}.pick-list{grid-template-columns:1fr 1fr;gap:.5rem;max-height:210px;display:grid;overflow:auto}.pick-list label{padding:.45rem}.pick-list small{color:var(--muted);display:block}.notice{background:#e9f4f0;border-radius:8px;padding:.8rem}.notice.error{color:#842626;background:#ffe9e9}.cards{gap:1rem;display:grid}.campaign .message-preview{white-space:nowrap;text-overflow:ellipsis;color:#526a63;overflow:hidden}.progress{background:#e6eeeb;border-radius:20px;height:7px;margin:1rem 0;overflow:hidden}.progress span{background:#24aa82;height:100%;display:block}.admin-grid{grid-template-columns:360px 1fr;gap:1rem;display:grid}.people{margin:0;padding:0;list-style:none}.people li{border-bottom:1px solid var(--line);align-items:center;gap:.8rem;padding:.8rem 0;display:flex}.people li .badge{margin-left:auto}.avatar{color:#086648;background:#d9eee7;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.wa-card{max-width:700px}.link-box{text-align:center;background:#f5f8f7;border-radius:10px;margin-top:1.3rem;padding:1.2rem}.tabs{justify-content:center;margin-bottom:1rem;display:flex}.tabs button{border-radius:0}.tabs .active{background:#dceee8}.qr{width:240px;height:240px;margin:1rem auto;display:block}.pairing{letter-spacing:.25rem;margin:1rem;font-size:2rem;font-weight:800;display:block}.login-shell,.center{place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{border:1px solid var(--line);text-align:center;background:#fff;border-radius:16px;width:min(100%,390px);padding:2rem;box-shadow:0 16px 50px #0e302718}.login-card form{text-align:left;margin-top:1.5rem}.menu-toggle,.scrim{display:none}@media (width<=850px){.stats{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}.app aside{transition:all .2s;transform:translate(-100%)}.app aside.open{transform:none}.content{margin-left:0;padding-top:4.5rem}.menu-toggle{z-index:5;background:var(--dark);color:#fff;display:block;position:fixed;top:1rem;left:1rem}.scrim{z-index:3;background:#0005;display:block;position:fixed;inset:0}.page-head{align-items:flex-start}.pick-list{grid-template-columns:1fr}.product-tools{grid-template-columns:1fr 1fr}.product-tools .search{grid-column:1/-1}}.group-bar{margin-bottom:1rem}.group-list{flex-wrap:wrap;gap:.5rem;margin-top:.8rem;display:flex}.group-chip{border:1px solid var(--line);border-radius:9px;display:inline-flex;overflow:hidden}.group-chip button{border:0;border-radius:0}.group-chip .danger-link{padding:.4rem .65rem}.detail-stats{grid-template-columns:repeat(4,1fr);gap:.6rem;margin:1rem 0;display:grid}.detail-stats article{text-align:center;background:#f3f7f5;border-radius:10px;padding:.8rem}.detail-stats strong{font-size:1.5rem;display:block}.detail-stats small{color:var(--muted)}.campaign-tools{grid-template-columns:minmax(220px,1fr) 190px 180px;gap:.7rem;margin-bottom:1rem;display:grid}.campaign-table td{vertical-align:middle;padding:.7rem 1rem}.campaign-table td:first-child{max-width:360px}.campaign-table td:first-child small{white-space:nowrap;text-overflow:ellipsis;max-width:340px;overflow:hidden}.mini-progress{background:#e6eeeb;border-radius:9px;width:100px;height:5px;display:block;overflow:hidden}.mini-progress i{background:#24aa82;height:100%;display:block}.compact{padding:.42rem .65rem}.inactive-toggle{color:var(--muted);margin:.2rem 0 1rem;display:inline-flex}.original-message{border-left:4px solid var(--green);background:#f5f8f7;border-radius:8px;margin:1rem 0;padding:.8rem 1rem}.original-message strong{color:var(--muted);text-transform:uppercase;font-size:.85rem;display:block}.original-message p{white-space:pre-wrap;margin:.45rem 0 0}.product-tools{grid-template-columns:minmax(220px,1fr) 260px 190px;gap:.7rem;margin-bottom:1rem;display:grid}.product-tools .search{margin:0}.preference-list{border:1px solid var(--line);border-radius:10px;max-height:420px;overflow:auto}.preference-row{border-bottom:1px solid #e8efec;align-items:center;gap:.8rem;padding:.55rem .7rem;display:flex}.preference-row:last-child{border-bottom:0}.preference-row .check{flex:1}.override{width:165px;padding:.48rem}.muted{color:var(--muted)}.pricing-modal{padding:0;overflow:hidden;width:min(100%,900px)!important}.pricing-head{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f7fbf9,#fff);align-items:center;gap:.8rem;padding:1.35rem 1.5rem;display:flex}.pricing-head h2{margin:0;font-size:1.25rem}.pricing-head p{color:var(--muted);margin:.25rem 0 0}.pricing-head .icon{margin-left:auto}.pricing-avatar{color:#087258;background:#d8f0e7;border-radius:12px;place-items:center;width:44px;height:44px;font-weight:800;display:grid}.pricing-modal>.notice,.pricing-modal>form{margin-left:1.5rem;margin-right:1.5rem}.pricing-settings{border:1px solid var(--line);background:#f5f8f7;border-radius:12px;grid-template-columns:1fr 190px;gap:1rem;margin:1.2rem 1.5rem;padding:1rem;display:grid}.pricing-settings label{font-size:.84rem}.pricing-settings small,.selection-head small{color:var(--muted);margin-top:.35rem;font-weight:400;display:block}.selection-head{justify-content:space-between;align-items:end;gap:1rem;margin:0 1.5rem .7rem;display:flex}.selection-head strong{display:block}.selection-head .search{width:min(100%,370px);margin:0}.pricing-modal .preference-list{max-height:390px;margin:0 1.5rem}.pricing-modal .preference-row{min-height:64px;padding:.65rem .8rem}.pricing-modal .preference-row.selected{background:#f4fbf8}.pricing-modal .preference-row .check{align-items:center}.pricing-modal .preference-row .check>span{display:block}.row-price{text-align:right;align-items:center;gap:1rem;display:flex}.price-cell{flex-direction:column;align-items:flex-end;gap:.15rem;display:inline-flex}.price-history{color:#82948e;font-size:.72rem}.price-history.up{color:#a04b32}.price-history.down{color:#147d64}.override-label{color:var(--muted);text-align:left;flex-direction:column;gap:.25rem;font-size:.7rem;font-weight:600;display:flex}.pricing-foot{border-top:1px solid var(--line);background:#fafcfb;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.2rem;padding:1rem 1.5rem;display:flex}@media (width<=560px){.stats{grid-template-columns:1fr 1fr}.page-head{display:grid}.page-head .actions{flex-wrap:wrap}.stats strong{font-size:1.5rem}th:nth-child(3),td:nth-child(3){display:none}.modal{padding:1rem}.content{padding-left:.8rem;padding-right:.8rem}.campaign .row{align-items:flex-start}.meta{font-size:.8rem}.product-tools{grid-template-columns:1fr}.preference-row{flex-direction:column;align-items:flex-start}.override{width:100%}}@media (width<=680px){.pricing-head{padding:1rem}.pricing-settings{grid-template-columns:1fr;margin:1rem}.selection-head{align-items:stretch;margin:0 1rem .7rem;display:grid}.selection-head .search{width:100%}.pricing-modal .preference-list{margin:0 1rem}.pricing-modal .preference-row{flex-direction:column;align-items:stretch}.row-price{text-align:left;justify-content:space-between}.price-cell{align-items:flex-start}.pricing-foot{flex-direction:column;align-items:stretch;padding:1rem}.pricing-foot .actions{justify-content:flex-end}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.row-price{flex-wrap:wrap;justify-content:flex-end;gap:.7rem 1rem}.override-label .override{width:145px}.manual-actions{flex-wrap:wrap;gap:.4rem;display:flex}.manual-preview{white-space:pre-wrap;max-width:280px;color:var(--muted);margin-top:.25rem;display:block}.manual-actions .button{white-space:nowrap;text-decoration:none}.mobile-nav{display:none}@media (width<=850px){body{overscroll-behavior-y:none;background:#edf4f1}.app{min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app aside,.menu-toggle{display:none}.content{max-width:none;margin:0;padding:1rem .8rem 1.2rem}.page-head{gap:.75rem;margin:0 0 1rem}.page-head h1{letter-spacing:-.02em;font-size:1.45rem}.page-head p{font-size:.86rem}.page-head .actions{gap:.4rem}.page-head .actions button,.page-head .actions .button{padding:.5rem;font-size:.78rem}.mobile-nav{z-index:8;padding:.45rem .35rem calc(.45rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff2;justify-content:space-around;align-items:stretch;gap:.15rem;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 24px #14372e14}.mobile-nav button{color:#6b817a;background:0 0;border:0;border-radius:10px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.15rem;min-width:0;padding:.3rem .1rem;font-size:1.15rem;display:flex}.mobile-nav button span{font-size:1.2rem;line-height:1}.mobile-nav button small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.62rem;font-weight:700;overflow:hidden}.mobile-nav button.active{color:#087258;background:#dff4ec}.stats{gap:.6rem;margin-bottom:1rem}.stats article,.card{border-radius:12px;padding:1rem}.stats strong{font-size:1.55rem}.table-wrap{border-radius:12px}th,td{padding:.75rem .65rem}.right{white-space:normal}}.mobile-client-cards{display:none}@media (width<=850px){.app .mobile-nav{flex-direction:row;justify-content:space-around;align-items:stretch;display:flex}.app .mobile-nav button{flex-direction:column;flex:1;justify-content:center;align-items:center;min-width:0;display:flex}.client-table{display:none}.mobile-client-cards{gap:.7rem;display:grid}.client-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:.9rem;box-shadow:0 3px 12px #14372e0a}.client-card-head{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.client-card-head strong{font-size:1rem;line-height:1.25;display:block}.client-card-head small{color:var(--muted);margin-top:.3rem;font-size:.78rem;line-height:1.35;display:block}.client-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-top:.85rem;display:grid}.client-card-actions button{white-space:nowrap;min-height:2.35rem;padding:.5rem .4rem;font-size:.78rem}.client-card-actions .danger-link{color:#a12d2d;background:#fff7f7;border:1px solid #f0d5d5}.campaign-tools{grid-template-columns:1fr}.modal-bg{align-items:flex-end;padding:0}.modal,.modal.large,.pricing-modal{border-radius:18px 18px 0 0;max-width:none;max-height:calc(100dvh - .5rem);padding:1rem;overflow:auto;width:100%!important}.modal h2{font-size:1.15rem}.modal .actions,.pricing-foot{flex-wrap:wrap;gap:.55rem}.modal .actions>*{flex:130px}.modal form{gap:.8rem}.pricing-head{border-radius:18px 18px 0 0;margin:-1rem -1rem 0;padding:1rem}.pricing-modal>.notice,.pricing-modal>form{margin-left:0;margin-right:0}.pricing-settings{grid-template-columns:1fr;margin:1rem 0;padding:.8rem}.selection-head,.pricing-modal .preference-list{margin-left:0;margin-right:0}.pricing-foot{margin-left:-1rem;margin-right:-1rem;padding:1rem}.pricing-foot .actions{flex-wrap:wrap;width:100%;display:flex}.pricing-foot .actions>*{flex:130px}}@media (width<=420px){.client-card-actions{grid-template-columns:1fr 1fr}.client-card-actions button{font-size:.74rem}.mobile-nav button small{font-size:.58rem}}
