:root{--green:#214f70;--green-dark:#183d58;--green-light:#eaf2f8;--lime:#b5d789;--ink:#263a4b;--muted:#708191;--line:#e0e6ed;--paper:#fff;--bg:#f4f6f8;--amber:#9c651d;--red:#a73d34;font-family:Inter,"Segoe UI",system-ui,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.2;margin-bottom:9px}h2{font-size:19px;font-weight:650;letter-spacing:-.4px}h3{font-size:15px}small{font-size:12px}strong{font-weight:600}.muted{color:var(--muted);line-height:1.65}.hidden{display:none!important}.app-layout{display:flex;min-height:100vh}.sidebar{width:246px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:31px 20px 15px}.brand{text-decoration:none;display:flex;align-items:center;gap:10px;font-size:25px;font-weight:750;letter-spacing:-1px;padding:0 9px 33px}.brand small{display:block;font-size:8px;letter-spacing:1.25px;font-weight:650;color:var(--muted);margin-top:4px}.brand-mark{display:flex;align-items:center;justify-content:center;width:55px;height:55px;background:var(--green);border-radius:16px;color:white;font-size:47px;font-weight:700;font-family:Georgia,serif;line-height:1}.brand-mark span{color:#cbe791}.brand-mark.small{width:40px;height:40px;border-radius:11px;font-size:36px}.nav-label{color:#94a2ad;font-size:10px;letter-spacing:1.6px;padding:14px 15px;margin:0 0 10px}nav{display:flex;flex-direction:column;gap:6px}nav a{height:47px;display:flex;align-items:center;gap:12px;border-radius:8px;text-decoration:none;color:#5d7283;padding:0 14px;font-weight:550}nav a>span{font-size:22px;width:24px;text-align:center;color:#8294a1}nav a.active{background:var(--green-light);color:var(--green)}nav a.active>span{color:var(--green)}nav a:hover{background:#f0f5f9}nav b{margin-left:auto;font-size:10px;border-radius:6px;background:#e1ecf4;padding:3px 6px}.sidebar-note{margin-top:auto;display:flex;gap:9px;padding:18px 13px 26px;font-size:11px;color:#4d6555}.sidebar-note small{display:block;color:#8b968d;font-size:10px;margin-top:5px}.status-dot{width:6px;height:6px;background:#5a9e6c;border-radius:50%;margin-top:4px}.user-box{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);padding-top:18px}.avatar{width:34px;height:34px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:#e7f1f8;color:#3d6784;font-size:11px;font-weight:650;border-radius:50%}.avatar.blue{background:#e4edf3;color:#496d80}.avatar.sand{background:#f2eade;color:#8a6837}.user-box strong{font-size:12px;display:block}.user-box small{font-size:10px;display:block;color:var(--muted);margin-top:4px}.icon-button{background:transparent;border:0;color:#7b897f;font-size:23px;line-height:1;min-height:32px;min-width:32px;display:inline-flex;align-items:center;justify-content:center}.user-box .icon-button{margin-left:auto}.main-content{margin-left:246px;min-width:0;width:calc(100% - 246px);display:flex;flex-direction:column;min-height:100vh}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#ffffff8f;font-size:12px;color:#6b8090;gap:12px}.topbar-right{display:flex;gap:24px;align-items:center}.connection{font-size:11px;display:flex;align-items:center;gap:7px;white-space:nowrap}.connection i{width:6px;height:6px;border-radius:50%;background:#5a9e6c}.connection.offline i{background:#c38b42}.topbar-date{color:#8b968d;font-size:11px}.content{padding:34px 40px 32px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:27px}.page-heading p{margin-bottom:0;font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:600;color:#5e839d;margin:0 0 12px}.button{border:1px solid var(--line);border-radius:7px;min-height:38px;padding:9px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:var(--ink);background:#fff;font-size:12px;font-weight:550}.button.primary{background:var(--green);border-color:var(--green);color:white}.button.primary:hover{background:var(--green-dark)}.button.soft{background:var(--green-light);color:var(--green);border-color:transparent}.button.small{min-height:31px;font-size:11px;padding:6px 10px}.button.link{border:0;padding-left:0;background:transparent;color:var(--green)}.button.danger{color:var(--red)}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat-card{padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:10px;position:relative}.stat-card.featured{background:var(--green);color:white;border-color:var(--green)}.stat-label{font-size:11px;color:#788e9e;display:flex;justify-content:space-between;gap:10px}.featured .stat-label{color:#cbdde9}.stat-value{font-size:30px;letter-spacing:-1px;margin:15px 0 5px;font-weight:550}.stat-foot{color:#8b99a5;font-size:10px}.featured .stat-foot{color:#b4d893}.stat-symbol{font-size:17px;line-height:1}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-title{padding:22px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title h2{font-size:15px;margin:0}.panel-title p{font-size:11px;color:var(--muted);margin:6px 0 0}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:0 24px 20px}.search{position:relative;max-width:360px;flex:1;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 12px;color:#819180}.search input{border:0;min-height:37px;padding:0;background:transparent;width:100%;font-size:11px}.filters{display:flex;align-items:center;gap:8px}.filters select{min-height:37px;font-size:11px;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:#fff;color:#66766b;max-width:190px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:550;color:#7e919f;background:#fafbfd;padding:13px 23px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:19px 23px;border-bottom:1px solid #edf1f5;vertical-align:middle;font-size:12px}tbody tr:last-child td{border-bottom:0}.clickable-row{cursor:pointer}.clickable-row:hover{background:#f8fbfd}.subject{font-weight:600;display:block;margin-bottom:6px;color:#293f50}.subline{font-size:10px;color:#8c9aa5;display:block}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:5px 8px;border-radius:5px;background:#f0f2ed;color:#637164;white-space:nowrap}.badge::before{content:"";height:4px;width:4px;background:currentColor;border-radius:50%}.badge.progress,.badge.saved{background:#eaf4ed;color:#367858}.badge.scheduled{background:#edf0f9;color:#5d70a6}.badge.waiting,.badge.pending{background:#faf2df;color:#a3823c}.badge.done{background:#eef0eb;color:#83907d}.badge.open{background:#f1edf8;color:#8c6da9}.badge.sending{background:#e7f1f5;color:#3d7f95}.person{display:flex;align-items:center;gap:8px;white-space:nowrap}.person .avatar{width:25px;height:25px;font-size:8px}.table-footer{border-top:1px solid var(--line);padding:15px 23px;color:#8b99a5;font-size:10px;display:flex;justify-content:space-between}.page-bottom-note{display:flex;gap:8px;align-items:center;color:#8799a5;font-size:10px;padding:18px 3px}.empty{padding:45px 24px;text-align:center;color:#839080;font-size:13px}.empty strong{display:block;color:#506951;margin-bottom:8px}.client-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.client-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:22px}.client-card h2{font-size:15px;margin:14px 0 11px}.client-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.client-card .actions{margin-top:20px}.client-initial{width:43px;height:43px;border-radius:11px;background:var(--green-light);color:#64845d;display:flex;justify-content:center;align-items:center;font-size:15px;font-weight:600}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px}.detail-main{min-width:0}.detail-main .panel{margin-bottom:20px}.panel-body{padding:0 24px 22px}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-grid label,.label{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.info-grid strong{display:block;font-size:12px;line-height:1.7}.info-grid>div{min-width:0;overflow-wrap:anywhere}.detail-side .panel-body{padding-top:22px}.detail-side h3{margin:0 0 13px}.detail-side p{font-size:12px;line-height:1.7;color:var(--muted)}.timeline{padding:0 0 0 10px}.timeline-item{position:relative;padding:0 0 23px 23px;border-left:1px solid #dce6ed}.timeline-item:before{content:"";position:absolute;left:-5px;top:4px;width:9px;height:9px;border-radius:50%;background:#a6c3d7;border:2px solid #fff}.timeline-item:last-child{padding-bottom:0}.timeline-item header{font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-item time{font-size:10px;color:#98a192}.timeline-item p{font-size:12px;line-height:1.65;color:#687e8f;margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.note-form{display:flex;gap:10px;border-top:1px solid var(--line);padding:18px 24px}.note-form textarea{min-height:67px;flex:1}.note-form .button{align-self:flex-end}.file-list{display:flex;flex-direction:column;gap:11px}.file-card{border:1px solid var(--line);border-radius:8px;display:flex;align-items:flex-start;gap:12px;padding:14px;min-width:0}.file-icon{width:36px;height:41px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;border-radius:5px;background:#edf3e8;color:#668454;flex-shrink:0}.file-preview{width:78px;height:62px;object-fit:cover;flex-shrink:0;border-radius:5px;background:#edf3e8}.file-details{flex:1;min-width:0}.file-details strong{display:block;font-size:12px;overflow-wrap:anywhere;line-height:1.6}.file-details p{font-size:10px;color:#8a968b;margin:3px 0 8px;line-height:1.6}.file-details .actions{gap:12px}.hash{font-family:Consolas,monospace;font-size:9px;color:#8a968b;overflow-wrap:anywhere}.document-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.document-grid .file-card{background:#fff;padding:22px}.back-link{display:inline-flex;align-items:center;gap:7px;color:#778d75;text-decoration:none;font-size:11px;margin-bottom:20px}.notice{background:#faf3e2;border:1px solid #ecdfba;color:#8e702b;padding:13px 17px;line-height:1.6;font-size:12px;border-radius:8px;margin-bottom:22px}.notice.green{background:#edf4e8;border-color:#dfe8d5;color:#5a7954}.queue-policy{max-width:840px;margin-bottom:22px}.queue-list{display:flex;flex-direction:column;gap:12px}.queue-item{background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;align-items:center;gap:16px;padding:20px}.queue-item .file-details p{margin-bottom:3px}.queue-item .error-text{color:var(--red)}.queue-item .actions{margin-left:auto}.loading{color:var(--muted);padding:55px;text-align:center}footer{padding:15px 40px 22px;color:#a0adb7;font-size:10px;display:flex;gap:9px;align-items:center}dialog{width:min(610px,calc(100vw - 28px));max-height:90vh;padding:0;border:1px solid #dce5d6;border-radius:13px;box-shadow:0 20px 90px #173d5d30;color:var(--ink)}dialog::backdrop{background:#142c4260;backdrop-filter:blur(3px)}.dialog-head{padding:23px 25px 17px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;font-size:20px}.dialog-form{padding:23px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}label{font-size:12px;font-weight:500}input,select,textarea{display:block;border:1px solid #dce3d7;background:#fff;color:var(--ink);width:100%;border-radius:6px;min-height:39px;padding:9px 10px;margin-top:6px}textarea{resize:vertical;min-height:85px}input::placeholder,textarea::placeholder{color:#a3ac9e}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px;padding-top:19px;border-top:1px solid var(--line)}.form-error{color:var(--red);font-size:12px;line-height:1.6;background:#fbefed;padding:11px;border-radius:6px;white-space:pre-line}.form-error:empty{display:none}.toast{position:fixed;bottom:25px;right:28px;max-width:min(430px,calc(100vw - 36px));background:var(--green);color:#fff;border-radius:9px;padding:15px 20px;z-index:100;box-shadow:0 6px 30px #163d3233;font-size:12px;line-height:1.6}.toast.error{background:#873e35}.login-page{display:flex;min-height:100vh;background:#fff}.login-card{width:52%;padding:65px max(6vw,30px);align-self:center}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:36px;letter-spacing:-1.4px;margin:15px 0 17px}.login-card .muted{font-size:13px}.demo-notice{border:1px solid var(--line);background:#f5f8fb;border-radius:8px;padding:14px 17px;margin:27px 0 22px;font-size:11px}.demo-notice strong{display:block;color:#426c89;margin-bottom:5px}.demo-notice span{color:#7e929f}.demo-profiles{display:flex;flex-direction:column;gap:9px}.profile{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:13px 14px;width:100%;text-align:left}.profile:hover{border-color:#a2bb91;background:#fcfdf9}.profile strong{display:block;font-size:12px}.profile small{font-size:10px;color:var(--muted);display:block;margin-top:5px;line-height:1.4}.profile b{margin-left:auto;color:#72886a}.normal-login{margin-top:22px;font-size:11px;color:#758b6d}.normal-login summary{cursor:pointer}.login-form{display:flex;flex-direction:column;gap:17px;margin-top:20px}.login-foot{font-size:10px;color:#9ea894;margin:28px 0 0}.login-aside{position:fixed;right:0;top:0;height:100%;width:48%;background:var(--green);overflow:hidden;color:#f4f7ec;display:flex;align-items:center;padding:60px}.aside-copy{z-index:1;position:relative}.tag{border:1px solid #7396b0;border-radius:30px;font-size:11px;letter-spacing:2px;padding:8px 15px;display:inline-block;margin-bottom:28px;color:#c2dae7}.aside-copy h2{font-size:39px;line-height:1.2;font-weight:500;letter-spacing:-1.5px}.aside-copy p{font-size:13px;color:#b8cbd9;line-height:1.7}.journey{display:flex;align-items:center;gap:13px;margin-top:40px;font-size:10px;color:#d0e5ed}.journey i{color:#7da6bf}.orbit{position:absolute;width:590px;height:590px;border:1px solid #83abc13b;border-radius:50%;right:-210px;bottom:-280px}.orbit.two{width:790px;height:790px;right:-310px;bottom:-380px}.no-margin{margin:0}.mt{margin-top:20px}.counter-note{font-size:11px;color:var(--muted)}
@media(min-width:1500px){.content{max-width:1450px;margin:0 auto;width:100%}.topbar{padding-left:55px;padding-right:55px}}@media(max-width:1200px){.sidebar{width:218px;padding-left:13px;padding-right:13px}.main-content{margin-left:218px;width:calc(100% - 218px)}.content{padding:28px 25px}.topbar{padding:0 25px}td,th{padding-left:17px;padding-right:17px}.detail-grid{grid-template-columns:minmax(0,1fr) 255px}.client-grid{grid-template-columns:repeat(2,1fr)}.login-aside{padding:35px}.aside-copy h2{font-size:32px}.stat-grid{gap:11px}.stat-card{padding:17px}.hide-medium{display:none}}@media(max-width:850px){.sidebar{width:78px;padding:24px 10px 16px}.brand{padding:0 8px 30px}.brand>span:last-child,.nav-label,.sidebar-note,.user-box>div,.user-box>.avatar{display:none}.brand-mark.small{width:39px;min-width:39px}.sidebar nav a{font-size:0;justify-content:center;padding:0;position:relative}.sidebar nav a>span{font-size:24px}.sidebar nav b{position:absolute;right:0;top:1px;font-size:9px}.user-box{margin-top:auto;justify-content:center}.user-box .icon-button{margin:0}.main-content{margin-left:78px;width:calc(100% - 78px)}.detail-grid{grid-template-columns:1fr}.detail-side{display:grid;grid-template-columns:1fr 1fr;gap:15px;order:0}.stat-label{font-size:10px}.stat-value{font-size:26px}.stat-card{padding:14px}.stat-foot{font-size:9px}.document-grid{grid-template-columns:1fr}.login-card{padding:45px 35px;width:60%}.login-aside{width:40%;padding:25px}.aside-copy h2{font-size:27px}.journey{flex-wrap:wrap;font-size:9px;gap:7px}.login-card h1{font-size:29px}.topbar-date{display:none}}
@media(max-width:600px){.app-layout{display:block}.sidebar{z-index:20;width:100%;height:62px;inset:auto 0 0;flex-direction:row;padding:0 5px;border-right:0;border-top:1px solid var(--line);background:#fff}.sidebar .brand,.user-box{display:none}.sidebar nav{flex-direction:row;width:100%;gap:0;justify-content:space-around}.sidebar nav a{width:25%;height:61px;flex-direction:column;gap:2px;font-size:9px;border-radius:0;padding:5px}.sidebar nav a>span{height:25px;font-size:21px}.sidebar nav b{right:12px;top:7px;font-size:8px}.main-content{width:100%;margin:0;padding-bottom:62px}.topbar{height:53px;padding:0 17px;font-size:10px}.topbar-right{gap:8px}.connection{font-size:9px}.content{padding:24px 17px}.page-heading{align-items:flex-start;gap:8px;margin-bottom:22px}.page-heading h1{font-size:26px}.page-heading p{font-size:11px;line-height:1.6}.page-heading .button{font-size:10px;min-height:35px;white-space:nowrap;padding:9px 11px}.eyebrow{font-size:9px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.stat-card{padding:16px}.stat-value{font-size:27px;margin-top:10px}.stat-label{font-size:10px}.stat-foot{font-size:9px}.toolbar{flex-direction:column;align-items:stretch;padding:0 15px 16px;gap:10px}.search{max-width:100%;min-height:38px}.filters{justify-content:space-between}.filters select{flex:1;max-width:100%}.panel-title{padding:19px 15px 16px}.panel-title h2{font-size:14px}table{display:block}thead{display:none}tbody{display:block}tr.clickable-row{display:grid;grid-template-columns:1fr auto;padding:17px 15px;border-top:1px solid #edf0e7;gap:11px;align-items:center}td{padding:0;border:0;font-size:11px}td:first-child{grid-column:1/-1}.subject{font-size:12px}.subline{font-size:10px}.hide-mobile{display:none}.table-footer{padding:14px 15px;font-size:9px}.person .avatar{width:21px;height:21px}.client-grid{grid-template-columns:1fr;gap:12px}.client-card{padding:18px}.client-card h2{font-size:15px}.client-initial{width:35px;height:35px;font-size:12px}.client-card .actions{margin-top:13px}.detail-side{grid-template-columns:1fr}.detail-grid{gap:15px}.panel-body{padding:0 15px 19px}.note-form{padding:15px;flex-direction:column}.note-form textarea{width:100%}.info-grid{gap:16px}.info-grid strong{font-size:11px}.panel-title .actions{justify-content:flex-end;gap:6px}.panel-title .button{font-size:9px;padding:7px 8px}.file-card{padding:11px;gap:9px}.file-preview{width:57px;height:49px}.file-details strong{font-size:11px}.file-details .button{font-size:10px}.timeline-item header{align-items:flex-start;flex-direction:column;gap:5px}.queue-item{flex-wrap:wrap;gap:11px;padding:15px}.queue-item .actions{margin-left:0;width:100%;padding-left:45px}.queue-item .file-details{min-width:190px}.dialog-form{padding:20px}.form-grid{grid-template-columns:1fr;gap:14px}.dialog-head{padding:18px 20px}.dialog-head h2{font-size:18px}footer{padding:0 17px 22px;font-size:8px;gap:6px}.login-page{display:block}.login-card{width:100%;padding:37px 25px}.login-aside{display:none}.login-card h1{font-size:32px}.login-card .brand-mark{width:43px;height:43px;font-size:39px;margin-bottom:25px}.toast{bottom:78px;right:17px}.document-grid .file-card{padding:17px}.notice{font-size:11px}.counter-note{font-size:10px}}/* Impulsor identity: the blue supports the interface; brand colors remain accents. */
.official-brand{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:0 10px 23px;letter-spacing:0}.official-brand .brand-logo-full{display:block;width:181px;height:auto}.official-brand .brand-symbol{display:none}.official-brand .product-name{font-size:20px;letter-spacing:.7px;font-weight:650;color:#234a68;display:flex;gap:9px;align-items:center}.official-brand .product-name small{display:inline;font-size:9px;letter-spacing:0;font-weight:450;margin:0;color:#7d8f9e}.sidebar-create{margin:0 4px 19px;width:calc(100% - 8px);font-size:11px;min-height:38px}.sidebar .nav-label{padding-top:0}.sidebar nav a{height:43px}.sidebar nav a>span{font-family:"Segoe UI Symbol",system-ui,sans-serif}.sidebar:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(to right,#0678be 0 48%,#6dc82c 48% 80%,#fbd006 80% 90%,#f7252c 90%)}.sidebar-note{padding-top:16px;padding-bottom:18px}.login-official-logo{width:225px;height:auto;display:block;margin:0 0 29px}.login-card .eyebrow{color:#65849a}.login-card h1{max-width:500px}.login-aside{background:#214f70}.login-card .normal-login{color:#68879d}.profile:hover{border-color:#93b6d0;background:#f7fbfe}.login-foot{color:#97a7b2}.aside-copy .tag{border-color:#759bb5;color:#d1e4f0}.aside-copy .journey{color:#d6e7ef}.topbar{gap:14px}.topbar-right{gap:17px}.contact-wa{margin-bottom:20px}.sales-overview{padding:21px 24px;background:#fff;border:1px solid var(--line);border-left:3px solid #0678be;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.sales-overview .eyebrow{font-size:9px;letter-spacing:1.4px}.sales-overview p{font-size:12px;color:#728697;margin:8px 0 0;line-height:1.7}.sales-count{display:flex;align-items:center;gap:12px;flex-shrink:0}.sales-count strong{font-size:31px;color:#285d82;letter-spacing:-1px}.sales-count span{font-size:10px;color:#899ca9;line-height:1.7}.lead-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 27px}.flow-step{display:flex;align-items:center;gap:10px;padding:14px 12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;color:#637f93;font-size:11px;min-height:63px;min-width:0}.flow-step .step-number{width:23px;height:23px;min-width:23px;border-radius:50%;background:#edf2f6;color:#8ba4b5;display:inline-flex;align-items:center;justify-content:center;font-size:9px;font-weight:600}.flow-step small{display:block;font-size:9px;color:#94a5b0;margin-top:5px}.flow-step.current{background:#214f70;border-color:#214f70;color:white}.flow-step.current small{color:#c1d6e4}.flow-step.current .step-number{background:#dcebc3;color:#397337}.flow-step.passed{background:#edf5f9;color:#4c7894}.flow-step.passed .step-number{background:#e2efdb;color:#62864f}button.flow-step:hover{border-color:#98bad0}.next-action{font-size:11px;font-weight:500}.next-step{background:#f4f8fb;border:1px solid #e2ecf2;border-radius:7px;padding:14px 16px;margin-top:22px}.next-step label{font-size:10px;color:#8a9eac;display:block;margin-bottom:6px}.next-step strong{font-size:12px;line-height:1.7}.linked-records{display:flex;flex-wrap:wrap;gap:9px}.badge.new{background:#eaf1f8;color:#5a80a0}.badge.contacted,.badge.draft{background:#edf0f9;color:#6b7ea4}.badge.qualified{background:#eef6e8;color:#6d8d45}.badge.inspection,.badge.installation{background:#e9f3f8;color:#3981a3}.badge.proposal{background:#fcf6df;color:#a58a32}.badge.negotiation,.badge.opened{background:#fff1e5;color:#b18147}.badge.won,.badge.aftersales,.badge.sent_manual{background:#ebf4e5;color:#5e8c45}.badge.lost{background:#faeaea;color:#b37575}.badge.received_manual{background:#eef3f8;color:#6b8a9c}.whatsapp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.channel-notice{background:#edf5fa;border-color:#d6e6f0;color:#618096}.channel-notice strong{color:#3d657f}.channel-tag{color:#648646;background:#f1f7e9;border:1px solid #e3edda;border-radius:20px;padding:6px 9px;font-size:9px}.whatsapp-grid .dialog-form{padding-top:0}.communication-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}.communication-heading h2{margin:0;font-size:15px}.communication-list{display:flex;flex-direction:column;gap:15px}.communication-card{padding:20px;border:1px solid var(--line);border-radius:9px;background:#fff;min-width:0}.communication-meta{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.communication-meta strong{font-size:12px}.communication-card .counter-note{line-height:1.7;margin:12px 0}.communication-card .message-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.75;border-left:2px solid #9ebdd1;background:#f7fafc;padding:13px 15px;margin:16px 0 18px}.communication-card .actions{gap:8px}.communication-card .actions .button{font-size:10px}.channel-notice+.whatsapp-grid .panel-title{padding-bottom:24px}.info-grid label{color:#8196a5}.detail-side p.counter-note{font-size:10px}.page-heading>.actions{justify-content:flex-end}
@media(max-width:1200px){.official-brand .brand-logo-full{width:165px}.official-brand{padding-left:8px}.official-brand .product-name small{font-size:8px}.lead-flow{gap:7px}.flow-step{font-size:10px;padding:12px 8px;gap:7px}.flow-step .step-number{width:19px;min-width:19px;height:19px;font-size:8px}.topbar-date{display:none}.whatsapp-grid{gap:18px}.sales-count span{font-size:9px}.sales-overview{padding:19px}.whatsapp-grid .dialog-form{padding-left:20px;padding-right:20px}}
@media(max-width:850px){.official-brand{padding:0 8px 25px;align-items:center}.official-brand .brand-logo-full,.official-brand .product-name,.sidebar-create{display:none!important}.official-brand .brand-symbol{display:block;width:42px;height:42px}.sidebar nav a{height:48px}.whatsapp-grid{grid-template-columns:1fr}.lead-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-overview{align-items:flex-start}.sales-count{gap:8px}.sales-count span{max-width:83px}.login-official-logo{width:190px}.page-heading>.actions .button{font-size:11px}}
@media(max-width:600px){.sidebar:before{top:0;height:2px}.sidebar .official-brand{display:none}.sidebar nav a{height:61px;width:16.666%;font-size:8px}.sidebar nav a>span{font-size:20px}.sidebar nav b{right:7px;top:5px}.topbar{padding:0 13px;gap:8px}.topbar #breadcrumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:125px}.topbar-right{gap:7px}.topbar-right .connection{display:none}.topbar #top-create-client{font-size:9px;padding:7px 9px;min-height:31px}.topbar #logout-top{font-size:9px;padding:7px 9px;min-height:31px}.page-heading>.actions{flex-direction:column;align-items:flex-end;gap:7px}.page-heading>.actions .button{font-size:9px;padding:8px 10px;min-height:31px}.page-heading h1{font-size:25px}.sales-overview{padding:16px;gap:13px}.sales-overview p{font-size:10px}.sales-overview .eyebrow{font-size:8px;letter-spacing:1.1px}.sales-count{flex-direction:column;align-items:flex-end;gap:0}.sales-count strong{font-size:28px}.sales-count span{font-size:8px;text-align:right;line-height:1.5}.lead-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:21px}.flow-step{padding:11px 10px;min-height:53px;font-size:10px;gap:8px}.flow-step small{font-size:8px;margin-top:3px}.flow-step .step-number{width:20px;min-width:20px;height:20px}.communication-heading{flex-wrap:wrap}.communication-card{padding:17px}.communication-card .message-text{font-size:11px}.whatsapp-grid .dialog-form{padding-left:17px;padding-right:17px}.login-official-logo{width:200px;margin-bottom:25px}.login-card h1{font-size:31px}.channel-notice{font-size:10px}.linked-records .button{font-size:10px}.next-step{margin-top:17px;padding:12px}}
.mobile-brand{display:none}@media(max-width:600px){.mobile-brand{display:block;width:25px;height:25px;flex-shrink:0}.topbar #breadcrumb{max-width:100px}.form-grid>label{min-width:0}.form-grid select,.form-grid input{min-width:0}}

/* Team access and internal conversation surfaces */
.channel-tabs{display:flex;flex-direction:row;gap:6px;margin:-3px 0 25px;border-bottom:1px solid var(--line);padding-bottom:10px;flex-wrap:wrap}.channel-tabs a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#6a8395;padding:11px 17px;border-radius:6px;font-size:12px}.channel-tabs a[aria-current]{background:#e8f1f7;color:#214f70;font-weight:600}.channel-tabs span{background:#fff;border:1px solid #d3e3ec;font-size:9px;padding:3px 6px;border-radius:9px;color:#648646}.team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:25px}.team-summary>div{display:flex;align-items:center;gap:15px;padding:21px 24px;background:#fff;border:1px solid var(--line);border-radius:8px}.team-summary strong{font-size:27px;color:#285f83}.team-summary span{font-size:11px;color:#8097a7}.team-list{padding:0 24px}.team-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(120px,.8fr) 100px 135px minmax(160px,1fr);align-items:center;gap:17px;border-top:1px solid #edf1f4;padding:22px 0;font-size:11px}.team-person{min-width:0}.team-person .person{font-size:12px;white-space:normal}.team-person>small{display:block;color:#8298a7;font-size:10px;margin:8px 0 0 36px;overflow-wrap:anywhere}.team-field-label{display:block;color:#8197a6;font-size:9px;margin-bottom:7px}.team-row strong{font-weight:500}.team-row .actions{flex-wrap:wrap;gap:7px;justify-content:flex-end}.permission-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding:24px 6px;margin:0 0 5px}.permission-guide h3{font-size:12px;color:#426b86}.permission-guide p{font-size:11px;color:#8197a5;line-height:1.8}.team-audit summary{cursor:pointer;padding:20px 24px;font-size:12px;color:#496d86}.access-event{border-top:1px solid var(--line);padding:16px 0;font-size:11px}.access-event p{color:#6d8597;line-height:1.7}.access-event small{color:#8299aa}.chat-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px;align-items:start}.chat-sidebar{overflow:hidden}.chat-sidebar .panel-title{padding:21px 20px}.chat-sidebar h2{font-size:13px}.chat-room{display:flex;gap:11px;align-items:center;padding:16px 19px;text-decoration:none;color:#51748b;border-top:1px solid #edf2f5}.chat-room:hover,.chat-room.selected{background:#edf5fa}.chat-room>span:nth-child(2){flex:1;min-width:0}.chat-room strong{font-size:11px;font-weight:500;display:block;overflow-wrap:anywhere}.chat-room small{display:block;font-size:9px;color:#8ba0ae;margin-top:5px}.chat-room-icon{border:1px solid #dce8ef;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:20px;background:#fff}.chat-room b{background:#286488;color:#fff;padding:3px 6px;border-radius:20px;font-size:10px}.chat-start{padding:22px 20px;border-top:1px solid var(--line)}.chat-start label{font-size:10px;display:block;line-height:1.7;color:#6b879a}.chat-start select{width:100%;margin:9px 0 13px;font-size:11px}.chat-start .button{width:100%}.chat-start p{font-size:10px;line-height:1.8;margin:18px 0 0}.chat-conversation{min-width:0;overflow:hidden}.chat-header{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:24px 25px;border-bottom:1px solid var(--line)}.chat-header .eyebrow{font-size:8px;margin:0 0 9px}.chat-header h2{font-size:17px;margin:0 0 8px}.chat-header p:last-child{font-size:10px;color:#8297a6;margin:0;line-height:1.7}.chat-messages{height:385px;overflow-y:auto;padding:24px;background:#f7fafc;display:flex;flex-direction:column;gap:15px;overscroll-behavior:contain}.chat-message{background:#fff;border:1px solid #e0e9ef;border-radius:1px 10px 10px 10px;padding:13px 16px;max-width:87%;align-self:flex-start;min-width:170px}.chat-message.mine{background:#eaf3f9;border-color:#d8e7f1;border-radius:10px 1px 10px 10px;align-self:flex-end}.chat-message>div{display:flex;justify-content:space-between;gap:25px;align-items:baseline;flex-wrap:wrap}.chat-message strong{font-size:10px;font-weight:600;color:#416a85}.chat-message time{font-size:9px;color:#91a3af}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;margin:9px 0 0;color:#3f6178}.chat-older{align-self:center;margin:0 auto 10px}.chat-compose{padding:20px 25px;border-top:1px solid var(--line)}.chat-compose>label{display:block;font-size:10px;color:#6c8799;margin-bottom:10px}.chat-compose textarea{display:block;width:100%;resize:vertical;min-height:80px;max-height:240px;font-size:12px}.chat-compose-footer{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:13px}.chat-compose-footer span{font-size:9px;color:#8a9daa;line-height:1.6;max-width:65%}.chat-compose-footer .button{font-size:11px;flex-shrink:0}.activation-body{background:#f4f7fa;min-height:100vh;display:grid;place-items:center;padding:25px}.activation-card{width:min(100%,530px);padding:40px;background:#fff;border:1px solid var(--line);border-radius:10px}.activation-card .login-official-logo{width:200px;margin-bottom:30px}.activation-card h1{font-size:28px}.activation-card p{line-height:1.8}.activation-card form>label{display:block;font-size:12px;color:#5c7c91;margin:22px 0}.activation-card input{display:block;width:100%;margin-top:9px}.activation-card .back-link{margin-top:25px}.hidden{display:none!important}
@media(max-width:1200px){.team-row{grid-template-columns:minmax(150px,1.3fr) 110px 85px 110px minmax(125px,1fr);gap:11px}.chat-layout{grid-template-columns:235px minmax(0,1fr)}.team-summary>div{padding:18px}.team-row .button{font-size:9px}}
@media(max-width:1000px){.team-row{grid-template-columns:1.3fr 1fr 1fr}.team-row .actions{grid-column:2/4;justify-content:flex-start}.chat-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}.chat-message{max-width:95%}.chat-header{padding:20px}.chat-compose{padding:17px}.chat-start{padding:17px}.chat-message>div{gap:10px}.team-summary span{font-size:10px}}
@media(max-width:600px){.has-team-admin .sidebar nav a{width:14.2857%;font-size:7px;text-align:center;line-height:1.3;padding:7px 2px}.has-team-admin .sidebar nav a>span{font-size:19px}.channel-tabs{gap:0;margin:0 0 18px;padding-bottom:8px}.channel-tabs a{font-size:10px;padding:10px 11px;gap:7px}.channel-tabs span{font-size:8px}.team-summary{gap:7px;margin-bottom:18px}.team-summary>div{flex-direction:column;align-items:flex-start;gap:5px;padding:13px}.team-summary strong{font-size:25px}.team-summary span{font-size:9px;line-height:1.6}.team-list{padding:0 17px}.team-row{grid-template-columns:1fr 1fr;gap:18px;padding:21px 0}.team-person{grid-column:1/3}.team-row .actions{grid-column:1/3;justify-content:flex-start}.team-row .button{font-size:10px}.permission-guide{grid-template-columns:1fr;gap:4px;padding:15px 5px}.permission-guide h3{margin-bottom:6px}.permission-guide p{margin-top:0}.chat-layout{grid-template-columns:1fr;gap:16px}.chat-sidebar .panel-title{padding:15px 17px}.chat-sidebar #chat-rooms{display:flex;overflow-x:auto;max-height:120px}.chat-room{padding:12px 14px;flex-shrink:0;border-right:1px solid #e4edf3;min-width:180px}.chat-room-icon{width:27px;height:27px}.chat-start{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:15px 17px}.chat-start label{flex:1;min-width:150px;font-size:9px}.chat-start select{margin:7px 0 0;font-size:10px}.chat-start .button{width:auto;max-width:130px;font-size:9px;white-space:normal}.chat-start p{margin:0;font-size:9px;width:100%}.chat-header{padding:20px 17px}.chat-header h2{font-size:16px}.chat-messages{padding:17px;height:320px;gap:13px}.chat-message{padding:12px;max-width:94%;min-width:150px}.chat-message p{font-size:11px}.chat-message time{font-size:8px}.chat-compose-footer{align-items:flex-start;gap:10px}.chat-compose-footer span{max-width:53%;font-size:8px}.chat-compose-footer .button{font-size:10px;padding:10px}.activation-card{padding:25px}.activation-card h1{font-size:26px}}

/* Unified people and organizations registry */
.contact-registry-note{padding:19px 22px;border:1px solid #dce8ef;border-left:3px solid #5b8ca9;border-radius:8px;background:#f9fcfe;margin:0 0 24px;display:flex;flex-direction:column;gap:8px;color:#7c94a4;font-size:11px;line-height:1.8}.contact-registry-note strong{font-size:12px;font-weight:500;color:#466e87}.contact-toolbar{margin-bottom:14px}.contact-toolbar .search{flex:1;max-width:420px}.contact-toolbar .filters{flex-wrap:wrap}.contact-toolbar select{font-size:11px;max-width:240px}.contact-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin:20px 0}.contact-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px;min-width:0;display:flex;flex-direction:column}.contact-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.contact-avatar{width:38px;height:38px;border-radius:50%;background:#ebf3f8;color:#3d6b88;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:11px;flex-shrink:0}.contact-card-heading .counter-note{font-size:9px;text-align:right}.contact-card h2{font-size:14px;font-weight:600;color:#355a73;line-height:1.6;margin:17px 0 13px;overflow-wrap:anywhere}.contact-traits{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.contact-trait{border:1px solid #dce9f1;background:#edf5fa;color:#64839a;display:inline-flex;padding:4px 8px;border-radius:4px;font-size:9px;line-height:1.4}.contact-trait.customer{background:#f0f6ea;border-color:#e0ead6;color:#779450}.contact-trait.supplier{background:#f8f3ea;border-color:#eee3d1;color:#9b835e}.contact-trait.partner{background:#f1eff8;border-color:#e5e1f0;color:#8a7ea0}.contact-trait.employee,.contact-trait.collaborator{background:#eff4f5;border-color:#dfe8eb;color:#6d8792}.contact-trait.neutral{background:#f7f9fa;border-color:#e6edf0;color:#97a8b3}.contact-card>p{font-size:11px;line-height:2;color:#7f96a6;overflow-wrap:anywhere;margin:17px 0 23px}.contact-card-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:auto;padding-top:17px;border-top:1px solid #edf2f5}.contact-card-footer>span{font-size:9px;color:#98a9b4}.contact-card-footer .button{font-size:10px}.detail-traits{margin:0 0 27px}.contact-role-options{border:1px solid #dfe9ef;border-radius:7px;padding:17px;margin:4px 0;min-width:0}.contact-role-options legend{font-size:12px;color:#4d738d;padding:0 6px;font-weight:500}.contact-role-options>p{font-size:10px;color:#8a9eac;line-height:1.7;margin:0 0 15px}.contact-role-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}.contact-role-options label{display:flex;align-items:center;gap:10px;font-size:11px;color:#627f93;line-height:1.6;cursor:pointer;min-width:0}.contact-role-options input[type=checkbox]{width:16px;height:16px;padding:0;margin:0;accent-color:#285a7d;flex-shrink:0}.contact-opportunities{padding:0 24px 10px}.contact-opportunities>a{display:flex;align-items:center;gap:15px;padding:19px 0;border-top:1px solid #eaf0f4;text-decoration:none;color:#53748b}.contact-opportunities>a>div{flex:1;min-width:0}.contact-opportunities strong{font-size:12px;display:block;font-weight:500;overflow-wrap:anywhere}.contact-opportunities div>span{display:block;font-size:10px;line-height:1.7;color:#90a3b1;margin-top:7px}.contact-history summary{padding:21px 24px;font-size:12px;color:#5f7f95;cursor:pointer}.opportunity-contact{display:flex;flex-direction:column;gap:9px;background:#f4f8fb;border:1px solid #e0eaf1;border-radius:7px;padding:17px;color:#5c7d95}.opportunity-contact>span{font-size:9px}.opportunity-contact>strong{font-size:13px;font-weight:500}.opportunity-contact>a{font-size:10px;color:#477a9b}.sidebar .official-brand{margin-bottom:8px}
@media(max-width:1000px){.contact-toolbar{align-items:stretch;flex-direction:column;gap:12px}.contact-toolbar .search{max-width:none;width:100%}.contact-toolbar .filters{display:flex;justify-content:flex-start;gap:10px}.contact-toolbar select{max-width:none;flex:1}.contact-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
@media(max-width:600px){.contact-registry-note{padding:15px 17px;margin:0 0 18px;font-size:10px}.contact-registry-note strong{font-size:11px}.contact-toolbar .filters{display:grid;grid-template-columns:1fr;gap:8px}.contact-toolbar select{width:100%;min-width:0;font-size:11px}.contact-grid{grid-template-columns:1fr;gap:15px;margin-top:17px}.contact-card{padding:20px}.contact-card h2{font-size:14px}.contact-role-options{padding:14px}.contact-role-options>div{gap:15px 10px}.contact-role-options label{font-size:10px}.contact-opportunities{padding:0 17px 8px}.contact-opportunities>a{gap:9px}.contact-opportunities strong{font-size:11px}.contact-opportunities div>span{font-size:9px}.contact-opportunities .badge{font-size:8px;padding:5px 7px}.contact-history summary{font-size:11px;padding:18px}.opportunity-contact{padding:14px}}
/* Departments and tasks preserve the sober brand palette. */
[hidden]{display:none!important}.sidebar nav{min-height:0;overflow-y:auto;flex-shrink:1}.sidebar-note{flex-shrink:0}.sector-tabs{overflow-x:auto;flex-wrap:nowrap}.sector-tabs a{white-space:nowrap}.sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sector-card{padding:24px}.sector-card h2{margin-bottom:14px}.sector-card dl{margin:22px 0}.sector-card dt{font-size:11px;color:var(--muted);margin-top:14px}.sector-card dd{margin:5px 0 0;font-size:13px}.sector-card summary{cursor:pointer;color:var(--green);font-size:12px}.sector-card ul{padding-left:18px;font-size:12px;line-height:1.7}.sector-card li{margin-bottom:6px}.sector-request,.activity-row{display:grid;grid-template-columns:minmax(0,1fr) 190px auto;gap:22px;align-items:center;padding:22px 24px;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}.sector-request:hover{background:#f8fbfd}.sector-request .eyebrow{font-size:9px;line-height:1.8;display:block;letter-spacing:.7px}.sector-request h3,.activity-row h3{margin-bottom:8px;line-height:1.5;overflow-wrap:anywhere}.sector-request p,.activity-row p{font-size:12px;margin:0;color:var(--muted)}.sector-request small,.activity-row small{display:block;margin-top:8px;line-height:1.8;color:var(--muted)}.sector-form{display:grid;gap:18px}.sector-form label,.sector-form input,.sector-form select,.sector-form textarea,.toolbar>label{display:flex;flex-direction:column;gap:8px;font-size:12px}.sector-form input,.sector-form select,.sector-form textarea,.toolbar>label select{border:1px solid var(--line);padding:11px;border-radius:7px;background:#fff;width:100%;color:var(--ink)}.sector-form button{justify-self:start}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}.activity-history{max-height:240px;overflow:auto;padding-top:15px;font-size:12px;line-height:1.8}.team-row>div>small{display:block;margin-top:6px;color:var(--muted);line-height:1.6}.contact-role-options label{align-items:flex-start}.detail-main .note-form label{display:grid;gap:8px}.detail-main .note-form select{padding:9px;border:1px solid var(--line);border-radius:7px}
@media(max-width:1200px){.sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sector-request,.activity-row{grid-template-columns:minmax(0,1fr) 150px}.sector-request>span{display:none}.activity-row>.actions{grid-column:1/-1}.sidebar-note{padding-bottom:12px}}
@media(max-height:850px) and (min-width:601px){.sidebar .official-brand{padding-bottom:10px}.sidebar .nav-label{padding-top:6px;margin-bottom:4px}.sidebar nav a{height:40px;flex-shrink:0}.sidebar-note{padding-top:10px;padding-bottom:10px}.user-box{padding-top:10px}}
@media(max-width:600px){.sidebar nav,.has-team-admin .sidebar nav{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;width:100%;justify-content:flex-start;gap:0}.sidebar nav a{min-width:76px;flex:0 0 76px;white-space:normal;text-align:center;height:65px;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:5px 4px;font-size:8px}.sector-grid{grid-template-columns:1fr}.sector-request,.activity-row{padding:20px;grid-template-columns:minmax(0,1fr);gap:12px}.activity-row>.actions{grid-column:auto}.sector-tabs a{font-size:11px}.toolbar{flex-wrap:wrap}.toolbar>label{flex:1 1 140px;max-width:100%}.sector-card{padding:20px}.sector-request>div:last-of-type{display:flex;align-items:center;gap:12px}.sector-request small{margin:0}.sector-form{padding:20px}.contact-role-options>div{grid-template-columns:1fr}.sidebar-note{display:none}}
@media(max-height:850px) and (min-width:601px){.sidebar{padding-top:18px}.sidebar-note{display:none}.sidebar nav{gap:2px}.sidebar nav a{height:38px;min-height:38px}.sidebar .brand-logo-full{max-height:72px;object-fit:contain}.sidebar .official-brand{padding-bottom:0}.sidebar .user-box{margin-top:12px}}
@media(max-width:600px){.toolbar>label{flex:0 0 auto;width:100%}#page-content:has(.sector-tabs)>.page-heading,#page-content:has(.activity-list)>.page-heading{flex-direction:column;align-items:stretch;gap:15px}#page-content:has(.sector-tabs)>.page-heading>.button,#page-content:has(.activity-list)>.page-heading>.button{align-self:flex-start}.sector-form label,.sector-form select{min-width:0;max-width:100%}}

/* WhatsApp integration uses the existing brand and authenticated private APIs. */
.wa-settings{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.wa-guide{padding:22px;font-size:12px;line-height:1.8}.wa-guide p{margin:0 0 20px}.wa-guide label{display:block;margin:20px 0 0}.wa-guide input{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;margin-top:8px;font-size:10px}.wa-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}.wa-sidebar{min-width:0}.wa-sidebar .panel-title{padding:20px}.wa-history{display:flex;align-items:center;gap:8px;font-size:10px;padding:0 20px 16px;color:var(--muted)}.wa-thread{display:flex;flex-direction:column;gap:8px;border:0;border-top:1px solid var(--line);background:#fff;text-align:left;width:100%;padding:19px 20px;cursor:pointer;color:var(--ink)}.wa-thread:hover,.wa-thread.selected{background:#edf5fa}.wa-thread strong{font-size:12px;overflow-wrap:anywhere}.wa-thread span,.wa-thread small{font-size:10px;line-height:1.6;color:var(--muted)}.wa-conversation{min-width:0}.wa-conversation>.panel-title{gap:15px}.wa-messages{height:420px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:17px;background:#fafcfd}.wa-message{background:#fff;border:1px solid var(--line);border-radius:9px;padding:16px;max-width:88%;align-self:flex-start;min-width:180px}.wa-message.outgoing{align-self:flex-end;background:#edf5fa}.wa-message>div{display:flex;gap:17px;justify-content:space-between;flex-wrap:wrap}.wa-message strong{font-size:10px}.wa-message time{font-size:9px;color:var(--muted)}.wa-message p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.wa-message>span,.wa-message>small{display:block;font-size:9px;color:var(--muted);line-height:1.7}.wa-compose{border-top:1px solid var(--line);padding:22px}.wa-compose label{display:flex;flex-direction:column;gap:10px;font-size:11px}.wa-compose textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:12px;font:inherit;line-height:1.8;resize:vertical}.wa-compose>div{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px}.wa-compose>div>span{font-size:10px;line-height:1.7;color:var(--muted)}.wa-settings .dialog-form .form-grid{grid-template-columns:1fr}.wa-settings .form-grid input{width:100%}
@media(max-width:1050px){.wa-settings{grid-template-columns:1fr}.wa-layout{grid-template-columns:230px minmax(0,1fr)}.wa-message{max-width:96%}.wa-compose>div{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.wa-layout{grid-template-columns:1fr}.wa-sidebar #wa-thread-list{display:flex;overflow-x:auto;max-height:155px}.wa-thread{min-width:210px;width:210px;flex-shrink:0;border-right:1px solid var(--line)}.wa-messages{height:340px;padding:15px}.wa-compose{padding:17px}.wa-conversation>.panel-title{padding:18px;align-items:flex-start}.wa-message{max-width:96%;padding:13px}.wa-message p{font-size:12px}.wa-conversation .panel-title h2{font-size:15px;overflow-wrap:anywhere}.wa-settings .dialog-form{padding:18px}.channel-tabs{overflow-x:auto;flex-wrap:nowrap}.channel-tabs>a{white-space:nowrap;flex-shrink:0}.wa-compose>div{align-items:stretch}.wa-compose button{align-self:flex-end}}

.wa-history input{width:15px;height:15px;min-height:15px;padding:0;margin:0;flex:0 0 15px}

.wa-number-picker{padding:18px 22px;margin-bottom:18px}.wa-number-picker label,.wa-number-filter{display:flex;flex-direction:column;gap:9px;font-size:11px}.wa-number-picker select,.wa-number-filter select{width:100%;border:1px solid var(--line);border-radius:6px;padding:10px;background:#fff;color:var(--ink);font:inherit;min-width:0}.wa-number-filter{padding:0 20px 16px}.wa-number-picker label{max-width:560px}
