@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#0a1120;--panel:#101b2d;--panel2:#13223a;--panel3:#172941;--line:rgba(154,179,217,.14);--text:#edf4ff;--muted:#91a5c4;--blue:#66a5ff;--blue2:#3478f6;--teal:#48ded0;--green:#4dd6a5;--amber:#ffc46b;--red:#ff7f8c;--radius:18px;--shadow:0 20px 60px rgba(0,0,0,.22);--sidebar:260px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(900px 600px at 90% -15%,rgba(38,106,210,.16),transparent 60%),var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;font-size:14px;line-height:1.55}a{color:var(--blue);text-decoration:none}a:hover{color:#9fc6ff}button,input,select,textarea{font:inherit}button{cursor:pointer}svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.app-shell{min-height:100vh}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:var(--sidebar);padding:22px 15px 16px;background:rgba(11,19,33,.94);backdrop-filter:blur(22px);border-right:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto}.brand-lockup{display:flex;align-items:center;gap:12px;padding:7px 12px 24px}.brand-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#68bcff,#426bfb 58%,#4dded0);color:white;font-family:Manrope,sans-serif;font-weight:900;font-size:21px;box-shadow:0 10px 25px rgba(66,133,255,.27);position:relative}.brand-symbol span{font-size:10px;position:absolute;right:6px;top:2px}.brand-lockup strong{display:block;font-family:Manrope,sans-serif;font-size:14px;letter-spacing:-.3px}.brand-lockup small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.nav-section{padding:13px 10px 6px;text-transform:uppercase;font-size:10px;letter-spacing:1.5px;color:#657d9e;font-weight:700}.nav-link{display:flex;align-items:center;gap:12px;margin:3px 0;padding:10px 12px;color:#9cafca;border:1px solid transparent;border-radius:12px;font-size:13px;transition:.18s}.nav-link svg{color:#7189aa;width:18px;height:18px}.nav-link:hover{background:rgba(97,157,255,.08);color:var(--text)}.nav-link.active{background:linear-gradient(105deg,rgba(65,124,241,.23),rgba(50,207,208,.07));border-color:rgba(94,157,255,.19);color:#f4f8ff;box-shadow:inset 3px 0 #65a4ff}.nav-link.active svg{color:#7eb4ff}.nav-count{margin-left:auto;background:rgba(103,164,255,.16);color:#a9cdff;padding:2px 7px;font-size:10px;border-radius:30px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:16px 8px 0}.side-status{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:12px;background:rgba(77,214,165,.06);color:#9dd9c4;font-size:11px}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(77,214,165,.11)}.user-mini{display:flex;align-items:center;gap:10px;padding:13px 6px 0}.avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#234f88,#1eafa9);color:white;font-weight:700;font-size:12px;flex:none}.user-mini strong{display:block;font-size:12px}.user-mini small{font-size:10px;color:var(--muted);text-transform:capitalize}.main-area{margin-left:var(--sidebar);min-height:100vh}.topbar{height:74px;display:flex;align-items:center;gap:16px;padding:0 34px;border-bottom:1px solid var(--line);background:rgba(10,17,32,.64);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.mobile-menu{display:none}.breadcrumbs{color:var(--muted);font-size:12px}.breadcrumbs strong{color:var(--text);font-weight:600}.global-search{margin-left:auto;position:relative;width:min(390px,34vw)}.global-search input{width:100%;background:rgba(20,34,55,.8);border:1px solid var(--line);border-radius:12px;padding:10px 42px 10px 38px;color:var(--text);outline:none}.global-search svg{position:absolute;left:12px;top:10px;color:#7890b2}.global-search kbd{position:absolute;right:10px;top:9px;font-size:10px;padding:2px 6px;color:#8295b2;border:1px solid var(--line);border-radius:5px}.top-actions{display:flex;align-items:center;gap:8px}.icon-btn{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line);background:rgba(19,34,57,.72);color:#a5bad8;border-radius:12px;position:relative}.icon-btn:hover{border-color:rgba(102,165,255,.4);color:white}.main-content{max-width:1680px;margin:0 auto;padding:32px 34px 54px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:27px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;color:#6fb5fa;font-weight:800;margin:0 0 8px}.page-head h1{font:800 clamp(26px,2.5vw,36px)/1.15 Manrope,sans-serif;letter-spacing:-1.3px;margin:0}.page-head p{margin:9px 0 0;color:var(--muted);max-width:680px;font-size:13px}.head-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:10px 15px;color:var(--text);background:#182740;font-weight:600;font-size:12px;transition:transform .15s,border-color .15s,background .15s;white-space:nowrap}.btn:hover{transform:translateY(-1px);border-color:rgba(107,174,255,.45);color:white}.btn-primary{background:linear-gradient(115deg,#3e7ff5,#2f9ec9);border-color:transparent;color:white;box-shadow:0 8px 20px rgba(45,117,238,.19)}.btn-primary:hover{color:white;filter:brightness(1.08)}.btn-soft{background:rgba(72,131,223,.12);border-color:rgba(94,157,255,.2);color:#a6cdff}.btn-ghost{background:transparent}.btn-danger{background:rgba(255,103,120,.1);color:#ff9ca5;border-color:rgba(255,115,130,.2)}.btn-sm{padding:7px 10px;font-size:11px;border-radius:9px}.btn-block{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stat-card{padding:19px 19px 17px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(20,35,58,.9),rgba(15,27,45,.92));border-radius:var(--radius);min-width:0;box-shadow:0 7px 25px rgba(0,0,0,.07);position:relative;overflow:hidden}.stat-card:after{content:"";width:110px;height:110px;border-radius:50%;position:absolute;right:-55px;top:-52px;background:var(--accent,rgba(89,148,255,.1));filter:blur(1px);opacity:.15}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:600}.stat-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:rgba(89,148,255,.12);color:var(--accent-color,var(--blue))}.stat-value{font:800 28px/1.25 Manrope,sans-serif;letter-spacing:-.9px;margin-top:15px}.stat-foot{margin-top:7px;color:#7f94b2;font-size:10px}.trend{color:var(--green);font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);gap:18px;margin-bottom:18px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(150deg,rgba(17,30,50,.94),rgba(13,24,40,.97));overflow:hidden;min-width:0}.panel-head{padding:19px 21px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(154,179,217,.09)}.panel-title{font:700 14px Manrope,sans-serif}.panel-subtitle{font-size:11px;color:var(--muted);margin-top:4px}.panel-body{padding:20px 21px}.panel-head .btn{padding:7px 10px;font-size:10px}.chart-wrap{height:225px;position:relative}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#6d83a3;font-size:10px;padding:0 2px;margin-top:4px}.chart-legend{display:flex;gap:14px;color:var(--muted);font-size:10px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px;background:var(--blue)}.quick-list{display:flex;flex-direction:column;gap:4px}.quick-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(154,179,217,.08)}.quick-item:last-child{border:0}.quick-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:rgba(82,148,255,.1);color:#7fb3ff}.quick-item strong{display:block;font-size:12px}.quick-item small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.quick-item .btn{margin-left:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px;gap:12px}.section-heading h2{font:700 16px Manrope,sans-serif;margin:0;letter-spacing:-.4px}.section-heading p{color:var(--muted);font-size:11px;margin:5px 0 0}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;min-width:690px}thead th{text-align:left;color:#7189aa;text-transform:uppercase;letter-spacing:1.05px;font-size:9px;font-weight:700;padding:12px 17px;border-bottom:1px solid var(--line);background:rgba(12,22,37,.5);white-space:nowrap}tbody td{padding:13px 17px;border-bottom:1px solid rgba(154,179,217,.08);vertical-align:middle;font-size:12px;color:#c5d3e8}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:rgba(83,143,235,.045)}.person{display:flex;align-items:center;gap:10px;min-width:150px}.person .avatar{width:32px;height:32px;border-radius:10px;font-size:10px}.person strong{display:block;color:#eaf2ff;font-size:12px}.person small{display:block;font-size:10px;color:#7890b2;margin-top:2px}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.badge{display:inline-flex;align-items:center;border:1px solid rgba(154,179,217,.17);background:rgba(154,179,217,.08);color:#b7c8df;padding:4px 8px;border-radius:8px;font-size:10px;font-weight:700;white-space:nowrap}.badge-active,.badge-completed,.badge-verified,.badge-paid,.badge-success{color:#7de2b8;background:rgba(77,214,165,.09);border-color:rgba(77,214,165,.16)}.badge-new-lead,.badge-in-progress,.badge-open,.badge-pending,.badge-contacted{color:#87baff;background:rgba(87,151,255,.10);border-color:rgba(87,151,255,.19)}.badge-awaiting-client-info,.badge-follow-up-needed,.badge-high,.badge-overdue,.badge-failed,.badge-error{color:#ffb4a3;background:rgba(255,150,114,.09);border-color:rgba(255,150,114,.18)}.badge-cancelled,.badge-archived,.badge-opted-out,.badge-closed{color:#96a5bd;background:rgba(127,145,169,.09)}.badge-normal{color:#d6e4fb}.filter-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:13px 16px;border-bottom:1px solid var(--line);background:rgba(11,21,36,.36)}.filter-bar input,.filter-bar select{min-width:140px;max-width:240px}.form-control,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{border:1px solid rgba(154,179,217,.18);background:#0c1728;color:#e9f2ff;border-radius:10px;padding:10px 12px;outline:none;width:100%;min-width:0;transition:border-color .14s,box-shadow .14s}.form-control:focus,input:focus,select:focus,textarea:focus{border-color:rgba(99,169,255,.65);box-shadow:0 0 0 3px rgba(62,129,245,.09)}input::placeholder,textarea::placeholder{color:#667d9f}select option{background:#101b2d;color:#e9f2ff}label{display:block;color:#c7d6ec;font-size:11px;font-weight:600}label small{display:block;color:var(--muted);font-weight:400;font-size:10px;margin-top:6px;line-height:1.45}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}.form-grid .span-2{grid-column:1/-1}.form-section-title{grid-column:1/-1;color:#8ebcff;text-transform:uppercase;letter-spacing:1.2px;font-size:10px;font-weight:800;padding:13px 0 1px;border-bottom:1px solid var(--line)}.form-card{max-width:1120px;margin:0 auto;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,rgba(18,32,53,.96),rgba(12,23,39,.98));overflow:hidden}.form-card-head{padding:20px 24px;border-bottom:1px solid var(--line)}.form-card-head h2{font:700 16px Manrope,sans-serif;margin:0}.form-card-body{padding:24px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:23px;padding-top:18px;border-top:1px solid var(--line)}.check-row{display:flex;align-items:flex-start;gap:10px;padding:13px;background:rgba(84,144,235,.07);border:1px solid rgba(84,144,235,.12);border-radius:12px;margin:12px 0}.check-row input{width:16px;height:16px;margin-top:2px;accent-color:#529aff;flex:none}.check-row strong{display:block;color:var(--text);font-size:12px}.check-row small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.notice{padding:13px 15px;border-radius:12px;border:1px solid var(--line);background:rgba(80,130,220,.07);color:#bdcff0;margin:12px 0;font-size:12px}.notice-warning{border-color:rgba(255,196,107,.22);background:rgba(255,196,107,.07);color:#ffd79b}.notice-danger{border-color:rgba(255,127,140,.22);background:rgba(255,127,140,.07);color:#ffb5bc}.notice-success{border-color:rgba(77,214,165,.22);background:rgba(77,214,165,.07);color:#96e9c5}.empty-state{text-align:center;padding:40px 22px}.empty-icon{width:54px;height:54px;margin:0 auto 14px;border-radius:17px;display:grid;place-items:center;background:rgba(91,153,255,.10);color:#7eb4ff}.empty-state h3{font:700 15px Manrope,sans-serif;margin:0 0 7px}.empty-state p{max-width:410px;margin:0 auto 17px;color:var(--muted);font-size:12px}.client-hero{display:flex;align-items:center;gap:17px;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(115deg,rgba(45,100,191,.16),rgba(35,197,188,.04),rgba(16,27,45,.85));margin-bottom:18px}.client-hero .avatar{width:58px;height:58px;border-radius:17px;font-size:16px}.client-hero h2{margin:0;font:800 22px Manrope,sans-serif;letter-spacing:-.7px}.client-hero p{margin:5px 0 0;color:var(--muted);font-size:12px}.client-hero .hero-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.profile-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:17px}.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.detail-item small{display:block;text-transform:uppercase;letter-spacing:.7px;font-size:9px;color:#7189aa;margin-bottom:4px}.detail-item strong{font-size:12px;color:#e0ebfb;overflow-wrap:anywhere}.timeline{display:flex;flex-direction:column}.timeline-row{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px 0;border-bottom:1px solid rgba(154,179,217,.08)}.timeline-row:last-child{border:0}.timeline-bullet{width:25px;height:25px;border-radius:8px;background:rgba(86,151,255,.1);color:#82b8ff;display:grid;place-items:center}.timeline-row strong{display:block;font-size:11px}.timeline-row p{margin:3px 0;color:var(--muted);font-size:11px}.timeline-row small{color:#687f9f;font-size:9px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resource-card{position:relative;padding:19px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(21,37,61,.9),rgba(12,23,39,.94));border-radius:16px;min-height:170px;transition:transform .18s,border-color .18s}.resource-card:hover{transform:translateY(-3px);border-color:rgba(94,157,255,.3)}.resource-card .res-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:rgba(80,153,255,.13);color:#8fc2ff;margin-bottom:17px}.resource-card h3{font:700 13px Manrope,sans-serif;margin:0 0 7px}.resource-card p{margin:0;color:var(--muted);font-size:11px}.resource-card .res-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:#9ec6ff;font-size:10px;font-weight:700}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}.quote-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.quote-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.plan-card{border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#14243b,#0e1a2c);padding:18px}.plan-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.plan-card h3{font:700 14px Manrope,sans-serif;margin:0 0 5px}.plan-carrier{font-size:11px;color:var(--muted)}.plan-price{font:800 23px Manrope,sans-serif;margin:17px 0 2px}.plan-price small{font:400 10px 'DM Sans',sans-serif;color:var(--muted)}.plan-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.plan-stats div{background:rgba(127,160,205,.06);padding:9px;border-radius:9px}.plan-stats small{display:block;color:#7891b4;font-size:9px}.plan-stats strong{display:block;margin-top:4px;font-size:11px}.quote-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.quote-toolbar h2{font:700 17px Manrope,sans-serif;margin:0}.integration-card{display:flex;gap:15px;padding:18px;border:1px solid var(--line);border-radius:15px;background:rgba(18,31,51,.7)}.integration-logo{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(87,151,255,.2),rgba(72,222,208,.1));color:#9bc5ff}.integration-card h3{margin:0;font:700 14px Manrope,sans-serif}.integration-card p{margin:6px 0 12px;color:var(--muted);font-size:11px}.integration-card .actions{display:flex;gap:8px;flex-wrap:wrap}.chat-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:490px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:rgba(13,24,40,.8)}.chat-channels{padding:15px;background:rgba(7,15,27,.45);border-right:1px solid var(--line)}.chat-channels h3{font:800 10px Manrope,sans-serif;color:#6e86a8;letter-spacing:1.4px;text-transform:uppercase;margin:10px 9px}.channel-link{display:flex;align-items:center;gap:8px;padding:10px;border-radius:9px;color:#93a8c6;font-size:12px;margin:3px 0}.channel-link.active,.channel-link:hover{background:rgba(76,140,242,.12);color:#deebff}.chat-main{display:flex;flex-direction:column;min-width:0}.chat-head{padding:16px 19px;border-bottom:1px solid var(--line)}.chat-head strong{font:700 13px Manrope,sans-serif}.chat-messages{padding:18px;flex:1;max-height:420px;overflow:auto;display:flex;flex-direction:column;gap:15px}.chat-message{display:flex;gap:10px}.chat-message .avatar{width:31px;height:31px}.chat-message strong{font-size:11px}.chat-message time{font-size:9px;color:#6982a4;margin-left:8px}.chat-message p{margin:4px 0 0;color:#c9d6e9;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-compose{padding:13px;border-top:1px solid var(--line);display:flex;gap:10px}.chat-compose textarea{resize:vertical;min-height:44px;max-height:120px}.chat-compose .btn{align-self:flex-end}.ai-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px}.ai-chat-card{min-height:500px;display:flex;flex-direction:column}.ai-history{padding:20px;flex:1;display:flex;flex-direction:column;gap:14px;max-height:480px;overflow:auto}.ai-bubble{max-width:90%;padding:13px 15px;border:1px solid var(--line);border-radius:14px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.ai-bubble.user{align-self:flex-end;background:rgba(64,127,239,.17);border-color:rgba(90,150,255,.22)}.ai-bubble.assistant{align-self:flex-start;background:rgba(130,154,188,.06)}.ai-compose{display:flex;gap:9px;padding:15px;border-top:1px solid var(--line)}.ai-compose textarea{min-height:48px;max-height:130px;resize:vertical}.auth-body{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(700px 500px at 80% 5%,rgba(40,120,240,.18),transparent 65%),radial-gradient(600px 500px at 2% 100%,rgba(34,198,189,.1),transparent 70%),#091221}.auth-card{width:min(440px,100%);padding:34px;border:1px solid rgba(143,172,217,.18);border-radius:24px;background:rgba(15,28,48,.92);box-shadow:0 28px 100px rgba(0,0,0,.36)}.auth-card h1{font:800 27px Manrope,sans-serif;letter-spacing:-.9px;margin:15px 0 8px}.auth-card>p{color:var(--muted);font-size:12px;margin:0 0 22px}.auth-card form label{margin:13px 0}.auth-card .btn{margin-top:10px}.auth-footer{text-align:center;color:#607998;font-size:10px;margin-top:24px}.install-shell{width:min(680px,100%);margin:auto;padding:28px 18px}.install-card{margin-top:20px;padding:28px;border:1px solid var(--line);border-radius:22px;background:rgba(15,28,48,.94);box-shadow:var(--shadow)}.install-card h1{font:800 29px Manrope,sans-serif;letter-spacing:-1px;margin:0}.install-card .form-section-title{margin-top:12px}.install-footer{text-align:center;color:#617995;font-size:10px;margin-top:16px}.success-icon{height:49px;width:49px;display:grid;place-items:center;background:rgba(77,214,165,.11);color:var(--green);border-radius:15px;font-size:24px;margin-bottom:17px}.check-list{padding-left:19px;color:var(--muted);font-size:12px;line-height:1.9;margin:18px 0 22px}.toast-stack{position:fixed;top:88px;right:24px;z-index:100;display:grid;gap:8px;width:min(340px,calc(100vw - 40px))}.toast{padding:12px 14px;border:1px solid var(--line);background:#16263e;box-shadow:var(--shadow);border-radius:12px;font-size:12px;color:var(--text)}.toast.success{border-color:rgba(77,214,165,.28)}.toast.error{border-color:rgba(255,127,140,.28)}.page-footer{color:#607692;font-size:10px;text-align:center;padding:15px 0 0}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.metric-mini{padding:15px;border:1px solid var(--line);border-radius:13px;background:rgba(14,26,43,.6)}.metric-mini span{display:block;color:var(--muted);font-size:10px}.metric-mini strong{display:block;font:800 22px Manrope,sans-serif;margin-top:8px}.filter-search{position:relative;max-width:340px;min-width:180px}.filter-search input{padding-left:35px}.filter-search svg{position:absolute;left:11px;top:11px;color:#6f87a8}.status-line{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.tab-list{display:flex;gap:4px;padding:5px;border-radius:12px;background:rgba(6,14,25,.45);border:1px solid var(--line);width:max-content;max-width:100%;overflow-x:auto}.tab-list a{padding:8px 12px;border-radius:8px;color:#869dbd;font-size:11px;white-space:nowrap}.tab-list a.active{background:rgba(73,133,240,.18);color:#dceaff}.doc-list{display:flex;flex-direction:column;gap:8px}.doc-row{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:11px}.doc-row .doc-icon{width:34px;height:34px;display:grid;place-items:center;background:rgba(87,151,255,.10);color:#8dbaff;border-radius:10px}.doc-row strong{display:block;font-size:11px}.doc-row small{display:block;color:var(--muted);font-size:10px}.doc-row .actions{margin-left:auto;display:flex;gap:6px}.theme-light{--bg:#f1f5fb;--panel:#fff;--panel2:#f9fbff;--panel3:#edf3fb;--line:rgba(53,77,115,.14);--text:#1b2d4b;--muted:#637793;--shadow:0 20px 60px rgba(26,48,82,.09);background:#f1f5fb;color:var(--text)}.theme-light .sidebar{background:rgba(255,255,255,.94)}.theme-light .topbar{background:rgba(248,251,255,.82)}.theme-light .nav-link{color:#5a6e8b}.theme-light .nav-link.active{color:#20395b}.theme-light .panel,.theme-light .stat-card,.theme-light .resource-card,.theme-light .form-card,.theme-light .integration-card,.theme-light .plan-card{background:#fff}.theme-light input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.theme-light select,.theme-light textarea,.theme-light .global-search input{background:#f7f9fd;color:#1b2d4b}.theme-light tbody td{color:#344a69}.theme-light tbody strong{color:#1b2d4b}.theme-light .chat-layout{background:#fff}.theme-light .chat-channels{background:#f8fafd}.theme-light .chat-message p{color:#344a69}.theme-light .chat-head,.theme-light .panel-head,.theme-light .form-card-head{border-color:var(--line)}.theme-light .topbar .icon-btn{background:#fff}.theme-light .stat-card{background:linear-gradient(145deg,#fff,#f7faff)}
@media(max-width:1250px){:root{--sidebar:235px}.main-content{padding:26px 24px 44px}.topbar{padding:0 24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr)}}
@media(max-width:920px){:root{--sidebar:260px}.sidebar{transform:translateX(-102%);transition:transform .22s}.sidebar.open{transform:translateX(0);box-shadow:25px 0 70px rgba(0,0,0,.4)}.main-area{margin-left:0}.mobile-menu{display:grid}.topbar{padding:0 17px}.main-content{padding:24px 17px 40px}.global-search{width:min(330px,38vw)}.dashboard-grid,.profile-grid,.ai-layout,.workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-grid{gap:14px}.three-col{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.topbar{height:64px;gap:9px}.breadcrumbs{display:none}.global-search{width:auto;flex:1}.global-search kbd{display:none}.top-actions .icon-btn:nth-child(1){display:none}.main-content{padding:20px 13px 34px}.page-head{display:block;margin-bottom:20px}.page-head h1{font-size:26px}.head-actions{margin-top:17px}.stats-grid{gap:9px}.stat-card{padding:14px;border-radius:14px}.stat-value{font-size:23px;margin-top:11px}.stat-top{font-size:10px}.stat-icon{width:31px;height:31px}.stat-foot{font-size:9px}.dashboard-grid{gap:12px}.panel-head{padding:16px}.panel-body{padding:16px}.resource-grid,.quote-plan-grid,.two-col,.three-col{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.form-card-body{padding:17px}.form-card-head{padding:17px}.quote-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chat-layout{grid-template-columns:1fr}.chat-channels{border-right:0;border-bottom:1px solid var(--line);display:flex;gap:6px;overflow-x:auto;padding:8px}.chat-channels h3{display:none}.channel-link{white-space:nowrap;flex:none}.chat-messages{max-height:380px}.client-hero{align-items:flex-start;flex-wrap:wrap;padding:16px}.client-hero .hero-actions{margin-left:0;width:100%}.detail-list{gap:12px}.stat-card:after{display:none}.install-card{padding:21px}.filter-bar input,.filter-bar select{min-width:100%;max-width:none}.filter-search{max-width:none;width:100%}.table-wrap table{min-width:710px}.page-footer{padding-top:20px}}
/* Role-aware dashboard layout */
.dashboard-grid.single-col{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.dashboard-grid.single-col{grid-template-columns:minmax(0,1fr)}}
/* Role-aware dashboard layout */
.dashboard-grid.single-col{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.dashboard-grid.single-col{grid-template-columns:minmax(0,1fr)}}
/* v1.0.2 productivity additions */
.floating-tools{position:fixed;right:18px;bottom:18px;z-index:900;display:flex;gap:9px;flex-direction:column}.floating-tool{border:1px solid rgba(255,255,255,.16);background:var(--panel,#152238);color:var(--text,#eef4ff);border-radius:999px;padding:11px 15px;box-shadow:0 12px 32px #0004;display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:700}.floating-tool.ai-float{background:linear-gradient(135deg,#7758e8,#3c79e6);color:#fff}.overlay-panel{position:fixed;z-index:1000;right:20px;bottom:78px;width:min(900px,calc(100vw - 40px));height:min(760px,calc(100vh - 120px));background:var(--panel,#142137);border:1px solid var(--border,#30425d);border-radius:16px;box-shadow:0 24px 90px #0008;padding:14px;display:none;flex-direction:column;gap:10px}.overlay-panel.open{display:flex}.overlay-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.overlay-head>div{display:flex;gap:8px;align-items:center}.overlay-panel iframe{border:1px solid var(--border,#30425d);border-radius:10px;background:#fff;flex:1;width:100%;min-height:0}.overlay-panel .muted{font-size:11px;margin:0}.overlay-panel textarea{width:100%;margin:8px 0}.chat-compose{flex-wrap:wrap}.chat-compose textarea{flex:1 1 100%;width:100%}.chat-attach{display:inline-flex!important;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--border,#30425d);border-radius:9px;cursor:pointer;font-size:12px}.chat-attach input{max-width:220px;font-size:11px}.chat-message .btn{margin-top:6px}.info-tip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:5px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:800;cursor:help;position:relative}.info-tip:hover:after,.info-tip:focus:after{content:attr(data-tip);position:absolute;z-index:50;left:20px;top:-8px;width:230px;padding:10px 12px;border-radius:8px;background:#0b1323;color:#fff;font-size:11px;line-height:1.45;font-weight:500;box-shadow:0 8px 25px #0005}.mapping-card{padding:13px;border:1px solid var(--border,#30425d);border-radius:10px;background:var(--panel-soft,#101c30)}@media(max-width:640px){.floating-tool span{display:none}.overlay-panel{right:8px;bottom:70px;width:calc(100vw - 16px);height:calc(100vh - 90px);padding:10px}.chat-attach{width:100%;justify-content:space-between}}

/* v1.0.5 — central notifications, inbox, mapping wizard */
.notification-bell{position:relative;overflow:visible}.bell-badge{position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;border-radius:10px;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;background:#f05e78;color:#fff;font-size:9px;font-weight:800;line-height:17px;border:2px solid var(--bg);box-shadow:0 3px 10px rgba(0,0,0,.25)}.bell-badge[hidden]{display:none}.notification-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 15px}.notification-list{display:flex;flex-direction:column;padding-top:4px;padding-bottom:4px}.notification-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:12px;padding:16px 4px;border-bottom:1px solid var(--line)}.notification-item:last-child{border-bottom:0}.notification-symbol{width:35px;height:35px;border-radius:12px;display:grid;place-items:center;background:rgba(80,150,255,.11);color:#99c3ff}.notification-item.severity-urgent .notification-symbol,.notification-item.severity-error .notification-symbol{background:rgba(255,91,117,.13);color:#ff8a9b}.notification-item.severity-warning .notification-symbol{background:rgba(244,180,80,.12);color:#ffc46b}.notification-copy{min-width:0}.notification-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-title-row>strong{font-size:12px;color:var(--text)}.notification-copy p{white-space:pre-line;overflow-wrap:anywhere;margin:5px 0 7px;color:var(--muted);font-size:11px;line-height:1.6}.notification-copy small{color:#7189aa;font-size:9px;text-transform:uppercase;letter-spacing:.5px}.notification-item.is-unread{background:linear-gradient(90deg,rgba(69,132,245,.075),transparent);border-left:2px solid rgba(86,155,255,.55);padding-left:10px}.notification-item.is-read{opacity:.76}.notification-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.notification-actions form{margin:0}.channel-chip{display:inline-flex;padding:5px 7px;border-radius:7px;background:rgba(90,143,224,.12);border:1px solid rgba(90,143,224,.14);font-size:9px;font-weight:800;letter-spacing:.5px;color:#a8caff}.inbox-body-preview{max-width:480px;white-space:pre-line;overflow-wrap:anywhere;margin:5px 0 2px;color:var(--muted);font-size:10px;line-height:1.45}.row-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.row-actions form{margin:0}.mapping-card{display:flex;flex-direction:column;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:rgba(12,23,39,.3);font-size:10px;color:#9fb4d2}.mapping-card select{font-size:11px;min-height:36px}.inline-form{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.inline-form select{min-width:125px;width:auto}.theme-light .mapping-card{background:#f8fafe}.theme-light .notification-item.is-unread{background:linear-gradient(90deg,rgba(69,132,245,.08),transparent)}
@media(max-width:700px){.notification-item{grid-template-columns:34px minmax(0,1fr)}.notification-actions{grid-column:2;justify-content:flex-start}.notification-controls .tab-list{width:100%}.notification-controls>form{margin-left:auto}.inbox-body-preview{max-width:250px}}

/* v1.0.8 layout polish */
.sidebar nav{flex:1 0 auto;padding-bottom:18px}.sidebar-bottom{margin-top:auto;position:sticky;bottom:0;background:linear-gradient(180deg,rgba(11,19,33,.82),rgba(11,19,33,.99) 28%);backdrop-filter:blur(14px);padding-top:14px;z-index:2}.sidebar-home-link{margin-bottom:8px;border-color:rgba(102,165,255,.13)}.clients-directory-panel{width:100%;max-width:none;overflow:hidden}.clients-filter-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px;border-bottom:1px solid var(--line);background:rgba(13,25,42,.45)}.clients-filter-bar .filter-search{flex:1 1 320px;max-width:none}.clients-directory-panel .table-wrap{width:100%;overflow-x:auto}.clients-directory-panel table{width:100%;min-width:900px}.intake-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 13px}.intake-progress-step{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid var(--line);background:rgba(11,21,36,.55);color:var(--muted);border-radius:13px;padding:11px 12px;min-width:0}.intake-progress-step span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(127,153,188,.12);font-weight:800;flex:none}.intake-progress-step small{font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis}.intake-progress-step.active{color:var(--text);border-color:rgba(102,165,255,.5);background:linear-gradient(110deg,rgba(55,117,235,.2),rgba(63,204,196,.07));box-shadow:inset 0 0 0 1px rgba(102,165,255,.08)}.intake-progress-step.active span{background:var(--blue2);color:#fff}.intake-progress-step.complete span{background:rgba(77,214,165,.18);color:var(--green)}.intake-step-caption{font-size:11px;color:var(--blue);font-weight:800;margin-bottom:17px}.intake-step-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(145deg,rgba(17,31,51,.65),rgba(12,23,39,.35));margin-bottom:15px}.intake-step-panel[hidden]{display:none}.intake-step-heading{grid-column:1/-1;margin:0 0 3px;font:800 15px Manrope,sans-serif;color:var(--text)}.intake-step-panel>label,.intake-step-panel>.notice{min-width:0}.intake-step-panel>.span-2{grid-column:1/-1}.intake-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 4px}.intake-final-actions[hidden],.intake-step-actions [hidden]{display:none!important}.theme-light .sidebar-bottom{background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.99) 28%)}.theme-light .intake-step-panel{background:linear-gradient(145deg,#fff,#f8faff)}.theme-light .intake-progress-step{background:#f8fafd;color:#5a6e8b}.theme-light .intake-progress-step.active{color:#20395b}
@media(max-width:700px){.intake-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-step-panel{grid-template-columns:minmax(0,1fr);padding:15px}.intake-step-panel>.span-2{grid-column:auto}.intake-step-actions{flex-wrap:wrap}.intake-step-actions [data-intake-step-note]{order:3;flex-basis:100%}.clients-filter-bar{padding:13px}}

/* v1.0.9 usability patch: let progressive intake use the available workspace width. */
.form-card:has(.intake-progress){width:100%;max-width:none;min-width:0}
.form-card:has(.intake-progress) .form-card-body{width:100%;max-width:none}
.form-card:has(.intake-progress) form{width:100%;max-width:none}
.form-card:has(.intake-progress) .intake-step-panel{width:100%;max-width:none;min-width:0;box-sizing:border-box}
.form-card:has(.intake-progress) .intake-step-panel .intake-step-heading{margin-bottom:18px}
.form-card:has(.intake-progress) .intake-step-panel label{min-width:0}
.form-card:has(.intake-progress) .intake-step-panel input,
.form-card:has(.intake-progress) .intake-step-panel select,
.form-card:has(.intake-progress) .intake-step-panel textarea{max-width:100%;box-sizing:border-box}
.form-card:has(.intake-progress) .intake-progress{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.form-card:has(.intake-progress) .intake-step-panel .form-section-title{grid-column:1/-1}
.form-card:has(.intake-progress) .intake-step-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.form-card:has(.intake-progress) .intake-step-heading{grid-column:1/-1}
.form-card:has(.intake-progress) .intake-step-panel .span-2{grid-column:1/-1}
.form-card:has(.intake-progress) .intake-step-panel .form-section-title{grid-column:1/-1}
.quick-links-panel{width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto}
.quick-links-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.quick-link-card{display:flex;align-items:center;gap:11px;min-width:0;padding:13px;border:1px solid var(--border,#26374c);border-radius:12px;text-decoration:none;color:inherit;background:rgba(255,255,255,.025)}
.quick-link-card:hover,.quick-link-card:focus-visible{border-color:var(--accent,#4389ff);background:rgba(66,133,244,.08);outline:none}
.quick-link-card>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.quick-link-card strong{font-size:12px;line-height:1.35}
.quick-link-card small{font-size:11px;line-height:1.4;color:var(--muted,#8fa6c4)}
.quick-link-card>b{font-size:15px;color:var(--accent,#4389ff)}
.quick-link-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:10px;background:rgba(66,133,244,.13);color:var(--accent,#4389ff);font-size:10px;font-weight:800}
.quick-links-note{font-size:11px;color:var(--muted,#8fa6c4);line-height:1.5;border-top:1px solid var(--border,#26374c);padding-top:12px}
@media(min-width:1100px){.form-card:has(.intake-progress) .intake-step-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px}}
@media(max-width:700px){.form-card:has(.intake-progress) .intake-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.form-card:has(.intake-progress) .intake-step-panel{grid-template-columns:minmax(0,1fr)}.quick-links-grid{grid-template-columns:minmax(0,1fr)}}

/* v1.1.0: navigation, recent-page tabs, scrollbar, and intake plan selection */
:root{color-scheme:dark}
html{scrollbar-color:#33445e #0b1321;scrollbar-width:thin}
body,*{scrollbar-color:#33445e #0b1321;scrollbar-width:thin}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:#0b1321!important;border-radius:10px}
*::-webkit-scrollbar-thumb{background:#33445e!important;border:2px solid #0b1321;border-radius:10px}
*::-webkit-scrollbar-thumb:hover{background:#4d6382!important}
.sidebar{scrollbar-gutter:stable;overscroll-behavior:contain}
.sidebar nav{min-height:0}
.sidebar-bottom{flex-shrink:0}
.mobile-menu{position:relative;z-index:120;cursor:pointer;touch-action:manipulation}
@media(max-width:1100px){.mobile-menu{display:grid!important}.sidebar{z-index:150;pointer-events:auto}.sidebar.open{pointer-events:auto}.main-area{min-width:0}}
.recent-pages{display:flex;align-items:center;gap:7px;min-width:0;overflow-x:auto;padding:8px 22px;background:rgba(9,17,30,.94);border-bottom:1px solid var(--line);scrollbar-width:thin}
.recent-pages[hidden]{display:none!important}
.recent-pages-label{font-size:9px;font-weight:800;letter-spacing:1px;color:#6f86a6;flex:none;margin-right:3px}
.recent-page-tab{display:inline-flex;align-items:center;max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none;padding:7px 11px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:10px;text-decoration:none;background:rgba(255,255,255,.02)}
.recent-page-tab:hover,.recent-page-tab:focus-visible{border-color:rgba(91,153,255,.5);color:var(--text);outline:none}
.recent-page-tab.active{background:rgba(65,130,242,.15);border-color:rgba(91,153,255,.42);color:var(--text)}
.recent-pages-clear{flex:none;background:transparent;border:0;color:var(--muted);font-size:10px;padding:6px;cursor:pointer}
.theme-light .recent-pages{background:rgba(248,251,255,.96)}
.theme-light html,.theme-light body{scrollbar-color:#c0ccdc #edf2f8}
.theme-light *::-webkit-scrollbar-track{background:#edf2f8!important}
.theme-light *::-webkit-scrollbar-thumb{background:#c0ccdc!important;border-color:#edf2f8}
.form-card:has([data-intake-grid]){width:100%;max-width:none}
.form-card:has([data-intake-grid]) .form-card-body,.form-card:has([data-intake-grid]) form{width:100%;max-width:none}
.form-card:has([data-intake-grid]) [data-intake-grid]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;width:100%;align-items:start}
.form-card:has([data-intake-grid]) [data-intake-grid]>.form-section-title{grid-column:1/-1;margin-top:8px}
.form-card:has([data-intake-grid]) [data-intake-grid] label{min-width:0}
.form-card:has([data-intake-grid]) [data-intake-grid] input,.form-card:has([data-intake-grid]) [data-intake-grid] select,.form-card:has([data-intake-grid]) [data-intake-grid] textarea{width:100%;min-width:0;box-sizing:border-box}
.form-card:has([data-intake-grid]) [data-intake-grid] .span-2{grid-column:span 2}
@media(max-width:900px){.form-card:has([data-intake-grid]) [data-intake-grid]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.recent-pages{padding:8px 12px}.form-card:has([data-intake-grid]) [data-intake-grid]{grid-template-columns:minmax(0,1fr)}.form-card:has([data-intake-grid]) [data-intake-grid] .span-2{grid-column:auto}}

/* v1.1.1 visual correction: one guided intake panel at a time; all five steps stay on one row. */
.form-card:has([data-intake-grid]) [data-intake-grid]{display:block!important;width:100%;max-width:none}
.form-card:has([data-intake-grid]) .intake-progress{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:100%;align-items:stretch}
.form-card:has([data-intake-grid]) .intake-progress-step{display:flex;min-width:0;justify-content:flex-start;gap:8px;padding:10px 12px}
.form-card:has([data-intake-grid]) .intake-progress-step small{white-space:normal;line-height:1.25;font-size:clamp(9px,.75vw,11px)}
.form-card:has([data-intake-grid]) .intake-step-panel{width:100%;max-width:none;box-sizing:border-box;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;padding:24px;margin:0 0 16px;background:linear-gradient(145deg,rgba(18,33,54,.9),rgba(13,25,42,.86))}
.form-card:has([data-intake-grid]) .intake-step-panel[hidden]{display:none!important}
.form-card:has([data-intake-grid]) .intake-step-panel .intake-step-heading{font-size:18px;margin-bottom:5px}
.form-card:has([data-intake-grid]) .intake-step-panel label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;line-height:1.4}
.form-card:has([data-intake-grid]) .intake-step-panel label small{font-size:10px;line-height:1.45;color:var(--muted);font-weight:500}
.form-card:has([data-intake-grid]) .intake-step-panel input,
.form-card:has([data-intake-grid]) .intake-step-panel select,
.form-card:has([data-intake-grid]) .intake-step-panel textarea{min-height:42px;width:100%;max-width:100%;box-sizing:border-box}
.form-card:has([data-intake-grid]) .intake-step-panel .span-2{grid-column:span 2}
.form-card:has([data-intake-grid]) .intake-step-panel>.notice{grid-column:1/-1}
.form-card:has([data-intake-grid]) .intake-step-actions{padding:14px 2px 4px}
@media(max-width:950px){.form-card:has([data-intake-grid]) .intake-progress{grid-template-columns:repeat(5,minmax(110px,1fr));overflow-x:auto;padding-bottom:5px}.form-card:has([data-intake-grid]) .intake-step-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px}}
@media(max-width:620px){.form-card:has([data-intake-grid]) .intake-progress{grid-template-columns:repeat(5,minmax(104px,1fr))}.form-card:has([data-intake-grid]) .intake-step-panel{grid-template-columns:minmax(0,1fr);padding:15px}.form-card:has([data-intake-grid]) .intake-step-panel .span-2{grid-column:auto}}
/* Resizable enrollment mini-browser workspace */
.quick-links-panel{width:min(760px,calc(100vw - 32px));height:min(790px,calc(100vh - 105px));resize:both;min-width:320px;min-height:240px;max-width:calc(100vw - 20px);max-height:calc(100vh - 90px);overflow:auto}
.browser-panel-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.enrollment-browser{display:flex;flex-direction:column;gap:8px;min-height:240px;flex:1;min-width:0}
.enrollment-browser-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.enrollment-browser-toolbar label{font-size:10px;color:var(--muted);font-weight:700}
.enrollment-browser-toolbar select{min-width:170px;max-width:100%;flex:1}
.enrollment-browser iframe{display:block;flex:1;width:100%;min-height:180px;border:1px solid var(--line);border-radius:11px;background:#fff}
.quick-links-panel.browser-mini{height:330px;min-height:240px;resize:none}
.quick-links-panel.browser-mini .quick-links-grid{display:none}
.quick-links-panel.browser-mini .enrollment-browser{min-height:130px}
.quick-links-panel.browser-mini .enrollment-browser iframe{min-height:100px}
.quick-links-panel.browser-mini .quick-links-note{margin:0}
.quick-links-panel.browser-expanded{width:calc(100vw - 36px);height:calc(100vh - 100px);right:18px;bottom:78px;max-width:calc(100vw - 20px);max-height:calc(100vh - 85px)}
@media(max-width:620px){.quick-links-panel{right:8px;bottom:76px;width:calc(100vw - 16px);height:calc(100vh - 110px);resize:none}.enrollment-browser-toolbar select{flex-basis:100%}.browser-panel-actions .btn{padding:6px 8px;font-size:10px}}

/* v1.1.2: header search alignment, themed file chooser, and centralized data workspace */
.global-search{position:relative;display:flex;align-items:center;min-width:180px}
.global-search>svg{position:absolute!important;left:13px!important;top:50%!important;transform:translateY(-50%);z-index:2;width:16px;height:16px;pointer-events:none;flex:none}
.global-search>input{padding-left:43px!important;padding-right:43px!important;min-width:0;position:relative;z-index:1}
.global-search>kbd{z-index:2;pointer-events:none}
.file-dropzone{position:relative;display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;min-height:92px;padding:18px 20px!important;border:1px dashed #3e5b80;border-radius:14px;background:linear-gradient(135deg,rgba(67,130,240,.09),rgba(21,38,62,.38));cursor:pointer;transition:border-color .15s,background .15s}
.file-dropzone:hover,.file-dropzone:focus-within,.file-dropzone.drag-over{border-color:#5797ff;background:rgba(62,130,240,.13)}
.file-dropzone>strong{font-size:13px;color:var(--text);flex:1 1 210px}
.file-drop-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:rgba(72,137,255,.16);color:#8ab8ff;font-size:24px;font-weight:700}
.file-drop-help{font-size:11px;color:var(--muted);flex:1 1 160px}
.file-selected-name{flex:1 1 100%;padding-left:54px;font-size:10px;color:#8db7ff;overflow-wrap:anywhere}
.file-dropzone input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;font-size:100px!important}
.import-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 8px}
.import-progress-steps span{display:flex;align-items:center;justify-content:center;min-height:35px;padding:7px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:rgba(255,255,255,.018);font-size:10px;font-weight:700;text-align:center}
.import-progress-steps span.active{border-color:rgba(77,146,255,.55);background:rgba(77,146,255,.12);color:#9ac3ff}
.mapping-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mapping-card{min-width:0}
.mapping-card>span{font-size:10px;line-height:1.35;font-weight:700;color:var(--text)}
.mapping-card select{width:100%;max-width:100%;min-width:0}
.import-preview{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:14px;background:rgba(7,16,29,.32);min-width:0}
.import-preview[hidden]{display:none!important}
.import-preview h3{font-size:13px;margin:16px 0 10px;color:var(--text)}
.import-preview-stats{display:flex;gap:8px;flex-wrap:wrap}
.import-preview-stats span{display:inline-flex;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:rgba(255,255,255,.025);font-size:10px;color:var(--muted)}
.import-preview-stats .success{color:#70e0b0;border-color:rgba(67,199,146,.3)}
.import-preview-stats .warning{color:#ffc46b;border-color:rgba(255,196,107,.3)}
.import-map-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}
.import-map-summary-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid rgba(130,155,190,.12);font-size:10px;min-width:0}
.import-map-summary-row span{color:var(--muted);min-width:0}
.import-map-summary-row strong{color:var(--text);text-align:right;overflow-wrap:anywhere;min-width:0}
.import-preview-table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px}
.import-preview-table{width:100%;border-collapse:collapse;min-width:560px}
.import-preview-table th,.import-preview-table td{max-width:230px;padding:9px 11px;border-bottom:1px solid var(--line);font-size:10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.import-preview-table th{position:sticky;top:0;background:#15243a;color:#a9c7f4}
.import-preview-table td{color:var(--text)}
.import-preview-table tbody tr:last-child td{border-bottom:0}
.import-center-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;margin-bottom:18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(120deg,rgba(60,117,207,.12),rgba(20,33,52,.22))}
.import-center-intro h2{margin:7px 0;font-size:21px;letter-spacing:-.4px}
.import-center-intro p{max-width:670px;margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.eyebrow{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#7caeff}
.import-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.import-type-card{display:flex;gap:14px;min-width:0;padding:19px;border:1px solid var(--line);border-radius:14px;background:var(--panel,rgba(15,27,44,.7))}
.import-type-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:rgba(75,139,255,.14);color:#8bb8ff;font-size:11px;font-weight:900}
.import-type-card>div:last-child{min-width:0;flex:1}
.import-type-card h3{margin:2px 0 7px;font-size:13px;color:var(--text)}
.import-type-card p{margin:0 0 14px;color:var(--muted);font-size:11px;line-height:1.55}
.import-type-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.import-support-note{font-size:10px;color:var(--muted)}
.import-center-warning{margin-top:16px}
.theme-light .file-dropzone{background:linear-gradient(135deg,rgba(67,130,240,.06),#f7faff);border-color:#b6c9e4}
.theme-light .import-preview{background:#f8fafe}
.theme-light .import-preview-table th{background:#eaf1fb;color:#294d7e}
.theme-light .import-type-card{background:#fff}
@media(max-width:1000px){.mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.import-center-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.import-center-intro{align-items:flex-start;flex-direction:column}.mapping-grid{grid-template-columns:minmax(0,1fr)}.import-map-summary{grid-template-columns:minmax(0,1fr)}.import-progress-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.file-dropzone{gap:9px;padding:14px!important}.file-selected-name{padding-left:0}}

/* v1.1.3 Import Center visual consistency and usable native file controls */
.global-search{position:relative;min-width:0}
.global-search svg{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;z-index:1}
.global-search input{padding-left:42px!important;padding-right:44px!important;min-width:0}
.global-search kbd{right:10px;left:auto}
.file-dropzone-modern{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:180px;padding:24px!important;border:1px dashed rgba(100,158,245,.48)!important;border-radius:16px!important;background:linear-gradient(135deg,rgba(58,112,196,.10),rgba(17,29,47,.5))!important;text-align:center;cursor:pointer;transition:border-color .18s,background .18s}
.file-dropzone-modern:hover,.file-dropzone-modern:focus-within,.file-dropzone-modern.drag-over{border-color:#6da8ff!important;background:rgba(56,115,208,.13)!important}
.file-dropzone-modern input[type=file]{position:absolute!important;inset:0;width:100%!important;height:100%!important;opacity:0;cursor:pointer;z-index:2}
.file-dropzone-modern .file-drop-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(66,133,244,.16);color:#86b6ff;font-size:25px}
.file-dropzone-modern .file-drop-help{color:var(--muted);font-size:12px}
.file-dropzone-modern .file-selected-name{max-width:100%;overflow-wrap:anywhere;color:var(--text);font-size:11px}
.file-browse-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 14px;border-radius:9px;border:1px solid rgba(102,165,255,.35);background:rgba(68,128,226,.14);color:var(--text);font-size:11px;font-weight:800}
.file-dropzone-modern input[type=file]::file-selector-button{border:0;border-radius:7px;background:#3478e5;color:#fff;padding:7px 11px;font-weight:700}
.import-wizard-card{width:100%;max-width:none}
.import-wizard-card .form-card-body{max-width:none}
.import-wizard-card .mapping-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.import-wizard-card .mapping-card{min-width:0;padding:12px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.02);display:flex;flex-direction:column;gap:8px}
.import-wizard-card .mapping-card span{font-size:11px;font-weight:700;color:var(--text)}
.import-wizard-card .mapping-card select{width:100%;min-width:0}
.import-wizard-card .form-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.import-center-grid{align-items:stretch}
.import-type-card{height:100%;min-width:0}
.import-type-card>div:last-child{min-width:0}
.import-type-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.import-support-note{align-self:center;font-size:10px;color:var(--muted)}
.theme-light .file-dropzone-modern{background:linear-gradient(135deg,#f1f6ff,#fbfdff)!important}
.theme-light .import-wizard-card .mapping-card{background:#f8faff}
@media(max-width:1050px){.import-wizard-card .mapping-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.import-wizard-card .mapping-grid{grid-template-columns:minmax(0,1fr)}.file-dropzone-modern{min-height:150px;padding:18px!important}}

/* v1.2.3: compact, responsive client filters and bulk-action toolbar */
.clients-filter-bar{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(130px,1fr)) auto auto;gap:10px;align-items:center}
.clients-filter-bar .filter-search{position:relative;min-width:0;width:100%;flex:none}
.clients-filter-bar .filter-search svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:2;pointer-events:none;width:16px;height:16px}
.clients-filter-bar .filter-search input{width:100%;min-width:0;padding:10px 12px 10px 40px!important;box-sizing:border-box}
.clients-filter-bar input:not([type=checkbox]),.clients-filter-bar select{min-width:0;width:100%;height:40px}
.clients-filter-bar .muted{margin-left:0!important;grid-column:1/-1}
.bulk-toolbar{display:flex;flex-direction:column;gap:12px;padding:15px 18px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(20,34,55,.68),rgba(15,27,44,.48))}
.bulk-select-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.bulk-select-label{display:inline-flex;align-items:center;gap:9px;font-weight:700;color:var(--text);cursor:pointer}
.bulk-select-label input{width:16px;height:16px;accent-color:var(--blue2)}
.bulk-selected-count{display:inline-flex;align-items:center;justify-content:center;min-width:72px;padding:4px 10px;border:1px solid rgba(102,165,255,.25);border-radius:999px;background:rgba(65,124,241,.12);color:#a8ceff;font-size:11px;font-weight:800}
.bulk-hint{font-size:11px;color:var(--muted)}
.bulk-action-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.bulk-control{display:flex;flex-direction:column;gap:5px;min-width:150px;flex:1 1 160px;color:var(--muted);font-size:10px;font-weight:700}
.bulk-control select,.bulk-control input{width:100%;min-width:0;height:39px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#101d31;color:var(--text);outline:none}
.bulk-control select:focus,.bulk-control input:focus{border-color:rgba(102,165,255,.65);box-shadow:0 0 0 3px rgba(102,165,255,.08)}
.bulk-edit-value{display:contents}
.bulk-action-row>.btn{height:39px;flex:0 0 auto}
#bulkAgentControl{display:none}
@media(max-width:1100px){.clients-filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.clients-filter-bar .filter-search{grid-column:1/-1}.clients-filter-bar .muted{grid-column:1/-1}}
@media(max-width:700px){.clients-filter-bar{display:flex;align-items:stretch}.clients-filter-bar>*{flex:1 1 100%;max-width:none!important}.bulk-action-row{align-items:stretch}.bulk-control{flex:1 1 100%;min-width:0}.bulk-action-row>.btn{width:100%}.bulk-hint{flex:1 1 100%}}

/* v1.2.4 visual refinement: reliable quick navigation, aligned helper dock, restrained dashboard cards */
.mobile-menu{display:grid!important;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center}
.quick-nav-popover{position:absolute;z-index:300;top:64px;left:14px;width:235px;padding:8px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 18px 50px rgba(0,0,0,.32);display:grid;gap:3px}
.quick-nav-popover[hidden]{display:none!important}
.quick-nav-popover a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;color:var(--text);font-size:12px;text-decoration:none}
.quick-nav-popover a:hover,.quick-nav-popover a:focus-visible{background:rgba(74,137,245,.14);outline:none;color:#cfe3ff}
.topbar{position:relative;gap:12px}
.breadcrumbs{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stats-grid{gap:14px}
.stat-card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,rgba(19,34,55,.98),rgba(15,27,45,.98));}
.stat-card:after{content:none!important;display:none!important}
.stat-icon{position:relative;z-index:1;flex:0 0 36px;box-shadow:none!important;opacity:1!important;background:rgba(64,126,237,.13)!important;border:1px solid rgba(105,157,255,.12)}
.floating-tools{position:fixed;left:50%;right:auto;bottom:14px;transform:translateX(-50%);z-index:900;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;padding:6px;border:1px solid rgba(130,160,204,.16);border-radius:999px;background:rgba(9,18,32,.86);backdrop-filter:blur(14px);box-shadow:0 10px 36px rgba(0,0,0,.28)}
.floating-tool{white-space:nowrap;padding:10px 15px;box-shadow:none;border-radius:999px}
.overlay-panel{resize:both;min-width:min(320px,calc(100vw - 20px));min-height:230px;max-width:calc(100vw - 12px);max-height:calc(100vh - 12px);overflow:auto;touch-action:auto}
.overlay-head{position:sticky;top:-14px;z-index:2;padding:4px 0 10px;background:var(--panel,#142137)}
.filter-bar,.clients-filter-bar{align-items:center}
.filter-search{position:relative;min-width:0}
.filter-search svg{pointer-events:none;left:12px;top:50%;transform:translateY(-50%)}
.filter-search input{padding-left:39px!important;min-width:0}
@media(max-width:920px){.quick-nav-popover{top:60px;left:10px}.floating-tools{bottom:8px;max-width:calc(100vw - 16px)}.floating-tool{padding:9px 12px}.overlay-panel{left:8px;right:8px;bottom:64px;top:auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100vh - 80px)}}

/* v1.2.5 intake polish and centered team messenger */
.intake-collapsible{grid-column:1/-1}.intake-collapsible details{border:1px solid var(--line,#243650);background:rgba(13,25,43,.45);border-radius:13px;padding:13px 16px}.intake-collapsible summary{cursor:pointer;color:var(--text,#e8f0ff);font-weight:700;font-size:13px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.intake-collapsible summary::-webkit-details-marker{display:none}.intake-collapsible summary:after{content:'＋';color:var(--blue,#7db6ff);font-size:18px}.intake-collapsible details[open] summary:after{content:'−'}.intake-nested{margin-top:15px;padding-top:14px;border-top:1px solid var(--line,#243650)}.floating-tools{position:fixed;z-index:1000;left:50%;right:auto;bottom:18px;transform:translateX(-50%);display:flex;gap:8px;align-items:center;justify-content:center;max-width:calc(100vw - 24px);flex-wrap:wrap;padding:7px;border:1px solid rgba(125,166,220,.2);border-radius:18px;background:rgba(9,20,36,.9);backdrop-filter:blur(18px);box-shadow:0 12px 40px rgba(0,0,0,.28)}.floating-tool{text-decoration:none;white-space:nowrap}.team-chat-overlay{display:none;position:fixed;z-index:1005;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(680px,92vw);height:min(720px,84vh);min-width:320px;min-height:300px;resize:both;overflow:hidden;background:var(--panel,#101e31);border:1px solid var(--line,#2a3e5a);border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.5)}.team-chat-overlay.open{display:flex;flex-direction:column}.team-chat-overlay .overlay-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:12px}.team-chat-overlay iframe{border:0;width:100%;height:100%;min-height:0;flex:1;background:transparent}.team-chat-overlay .quick-links-note{padding:0 14px;margin:0 0 8px}.overlay-panel{resize:both;overflow:auto}@media(max-width:600px){.floating-tools{bottom:8px;gap:5px;padding:5px}.floating-tool{font-size:11px;padding:8px 9px}.team-chat-overlay{width:94vw;min-width:0;height:78vh}}

.owner-ops-panel{margin:0 0 18px}.ops-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ops-pulse-card{display:flex;flex-direction:column;gap:7px;min-width:0;padding:15px;border:1px solid var(--line,#243650);border-radius:12px;background:linear-gradient(145deg,rgba(30,51,78,.52),rgba(12,25,42,.72));text-decoration:none;color:inherit}.ops-pulse-card span,.ops-pulse-card small{font-size:11px;color:var(--muted,#94a9c9)}.ops-pulse-card strong{font-size:21px;color:var(--text,#eaf2ff)}.ops-pulse-card:hover{border-color:var(--blue,#69a8ff);transform:translateY(-1px)}@media(max-width:900px){.ops-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.ops-pulse-grid{grid-template-columns:1fr}}

/* v1.2.6 integrated WhatsApp Business inbox */
.whatsapp-overlay{display:none;position:fixed;z-index:1010;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(1120px,94vw);height:min(780px,88vh);min-width:340px;min-height:320px;resize:both;overflow:hidden;padding:12px}.whatsapp-overlay.open{display:flex;flex-direction:column}.whatsapp-overlay iframe{border:0;width:100%;height:100%;min-height:0;flex:1;background:#0b1423;border-radius:12px}.whatsapp-overlay .quick-links-note{margin:0 0 8px}.whatsapp-overlay .overlay-head{cursor:move;flex:0 0 auto}@media(max-width:600px){.whatsapp-overlay{width:96vw;min-width:0;height:86vh;min-height:0;left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%)}}


/* v1.2.9 — balanced client directory filters */
.clients-directory-panel .clients-filter-bar{
  display:grid;
  grid-template-columns:minmax(220px,2.2fr) minmax(145px,1.15fr) minmax(170px,1.35fr) minmax(88px,.58fr) minmax(120px,.9fr) minmax(130px,1fr) auto auto;
  align-items:center;
  gap:10px;
  padding:16px 18px 14px;
  background:rgba(11,21,36,.28);
}
.clients-directory-panel .clients-filter-bar .filter-search{
  min-width:0;
  width:100%;
  height:40px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:0 12px;
  border:1px solid rgba(154,179,217,.18);
  border-radius:10px;
  background:#0c1728;
  color:#7894bb;
}
.clients-directory-panel .clients-filter-bar .filter-search svg{width:15px;height:15px;flex:0 0 auto}
.clients-directory-panel .clients-filter-bar .filter-search input{
  width:100%;
  min-width:0;
  max-width:none;
  height:100%;
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
  font-size:12px;
}
.clients-directory-panel .clients-filter-bar input:not([type=hidden]),
.clients-directory-panel .clients-filter-bar select{
  width:100%;
  min-width:0;
  max-width:none!important;
  height:40px;
  padding:0 11px;
  border-radius:10px;
  font-size:12px;
  line-height:1.2;
}
.clients-directory-panel .clients-filter-bar .btn{
  min-height:38px;
  height:38px;
  padding:0 13px;
  white-space:nowrap;
  font-size:11px;
}
.clients-directory-panel .clients-filter-bar .muted{
  grid-column:1/-1;
  justify-self:start;
  margin:0!important;
  padding-top:1px;
  font-size:11px!important;
}
@media(max-width:1250px){
  .clients-directory-panel .clients-filter-bar{
    grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(170px,1.2fr) minmax(100px,.65fr);
  }
  .clients-directory-panel .clients-filter-bar .filter-search{grid-column:span 2}
  .clients-directory-panel .clients-filter-bar .muted{grid-column:1/-1}
}
@media(max-width:760px){
  .clients-directory-panel .clients-filter-bar{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    padding:12px;
  }
  .clients-directory-panel .clients-filter-bar .filter-search{grid-column:1/-1}
  .clients-directory-panel .clients-filter-bar .muted{grid-column:1/-1}
  .clients-directory-panel .clients-filter-bar .btn{width:100%;justify-content:center}
}
@media(max-width:420px){
  .clients-directory-panel .clients-filter-bar{grid-template-columns:minmax(0,1fr)}
  .clients-directory-panel .clients-filter-bar .filter-search,
  .clients-directory-panel .clients-filter-bar .muted{grid-column:1}
}


/* v1.2.12 Marketplace integration control center */
.integration-hero{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,.7fr);gap:24px;padding:28px;margin-bottom:18px;overflow:hidden;position:relative;background:radial-gradient(circle at 85% 5%,rgba(48,137,230,.22),transparent 34%),linear-gradient(135deg,rgba(20,43,70,.98),rgba(11,22,38,.98));}
.integration-kicker{font-size:10px;letter-spacing:1.8px;font-weight:800;color:#8dc5ff}
.integration-hero h2{font-size:clamp(23px,3vw,34px);line-height:1.15;margin:12px 0 9px;letter-spacing:-.8px}
.integration-hero p{max-width:700px;color:#a9bdd8;font-size:13px;line-height:1.65;margin:0}
.integration-status-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.integration-status-pill{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(240,190,91,.24);border-radius:999px;font-size:10px;font-weight:700;background:rgba(231,169,59,.08);color:#ffd28a}
.integration-hero-aside{border:1px solid rgba(133,179,235,.15);background:rgba(5,15,28,.25);border-radius:16px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px}
.integration-orbit{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#3c8bf3,#25b7c5);font-size:24px;font-weight:800;color:#fff;box-shadow:0 12px 30px rgba(36,133,231,.24)}
.integration-hero-aside strong{font-size:14px}.integration-hero-aside small{font-size:11px;line-height:1.6;color:#8fa7c7}
.integration-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}
.integration-kpi{min-width:0;display:flex;flex-direction:column;gap:7px;padding:17px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,rgba(18,32,53,.95),rgba(12,23,39,.96));text-decoration:none;transition:transform .15s,border-color .15s}
.integration-kpi:hover{transform:translateY(-2px);border-color:rgba(94,160,255,.45)}
.integration-kpi span{font-size:11px;color:#a6bbd8;font-weight:700}.integration-kpi strong{font-size:28px;letter-spacing:-.7px;line-height:1.1;color:#f3f7ff}.integration-kpi small{font-size:10px;line-height:1.5;color:#7892b5}
.integration-kpi.warning strong{color:#ffd18a}.integration-kpi.danger strong{color:#ff9b9b}
.integration-two-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:16px;margin-bottom:18px}
.integration-provider-list{display:flex;flex-direction:column;gap:14px}
.provider-card{display:grid;grid-template-columns:42px minmax(0,1fr) 10px;align-items:start;gap:12px;padding:13px;border:1px solid rgba(151,177,216,.13);border-radius:13px;background:rgba(8,18,32,.35)}
.provider-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:12px;font-weight:900;color:#eaf4ff;background:linear-gradient(135deg,#3d8cf4,#2b6ac6)}.provider-mark.ga{background:linear-gradient(135deg,#2cb9c7,#2580a9)}
.provider-main{min-width:0}.provider-main strong{font-size:13px}.provider-main small{display:block;color:#8ea6c7;font-size:10px;line-height:1.55;margin-top:5px}.provider-meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:9px;font-size:10px;color:#bdcde2}
.integration-status-dot{width:9px;height:9px;border-radius:50%;margin-top:5px;background:#d7a64a;box-shadow:0 0 0 4px rgba(215,166,74,.1)}.integration-status-dot.connected{background:#35c78a;box-shadow:0 0 0 4px rgba(53,199,138,.1)}
.integration-watch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid rgba(151,177,216,.1)}.integration-watch-row:last-child{border-bottom:0}.integration-watch-row strong{font-size:11px;display:block}.integration-watch-row small{display:block;color:#8098ba;font-size:10px;line-height:1.5;margin-top:4px}.integration-watch-row b{font-size:18px;color:#f1f6ff}
@media(max-width:1200px){.integration-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.integration-two-col{grid-template-columns:1fr}}
@media(max-width:760px){.integration-hero{grid-template-columns:1fr;padding:20px}.integration-hero-aside{display:none}.integration-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.integration-kpi{padding:13px}.integration-kpi strong{font-size:23px}}
@media(max-width:420px){.integration-kpi-grid{grid-template-columns:1fr 1fr}.integration-status-pill{font-size:9px}}


/* v1.2.20 responsive helper dock, mobile overlay and dashboard refinements */
.floating-tools{gap:8px;max-width:calc(100vw - 24px);flex-wrap:nowrap;padding:8px;border-radius:18px}
.floating-tool{font-size:12px;line-height:1.15;padding:11px 14px;min-height:42px;justify-content:center}
.dock-drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:38px;border:1px solid rgba(125,166,220,.25);border-radius:11px;background:rgba(99,135,185,.16);color:#b9d2f4;font-size:20px;cursor:grab;touch-action:none}
.dock-drag-handle:active{cursor:grabbing}
.overlay-panel{box-sizing:border-box;min-width:0;min-height:0;overscroll-behavior:contain}
.overlay-head{touch-action:none;user-select:none;-webkit-user-select:none}
@media(max-width:920px){
 .topbar{display:flex;gap:8px;padding:0 10px;min-height:62px}.breadcrumbs{font-size:11px;flex:1}.global-search{display:none}.top-actions{gap:5px}.top-actions .icon-btn{width:34px;height:34px;flex:0 0 34px}.mobile-menu{flex:0 0 40px;width:40px;height:40px;z-index:500}
 .floating-tools{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom));transform:none;width:auto;max-width:none;display:flex;gap:6px;padding:6px;border-radius:16px;justify-content:space-between;background:rgba(9,18,32,.96)}
 .floating-tool{flex:1 1 0;min-width:0;white-space:normal;font-size:11px;padding:8px 6px;min-height:44px;display:flex;flex-direction:column;gap:3px;border-radius:12px}
 .floating-tool span{display:inline!important;overflow-wrap:anywhere;text-align:center;font-size:10px}
 .dock-drag-handle{flex:0 0 28px;width:28px;height:40px}
 .overlay-panel.open{position:fixed;left:8px;right:8px;top:72px;bottom:auto;width:calc(100vw - 16px);height:calc(100dvh - 88px);max-width:none;max-height:none;min-width:0;min-height:0;resize:none;transform:none;border-radius:14px;padding:10px;z-index:2000}
 .overlay-panel .overlay-head{position:sticky;top:-10px;padding:5px 0 9px;z-index:3}
 .overlay-panel iframe{min-height:0;height:100%}
 .team-chat-overlay.open{display:flex}
 .main-content{padding:20px 12px calc(94px + env(safe-area-inset-bottom))}
 .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px;min-width:0}.stat-value{font-size:26px}.stat-top{gap:6px}.stat-top>span:first-child{font-size:10px}.stat-foot{font-size:9px;line-height:1.35}
 .page-head{gap:12px;align-items:flex-start;flex-wrap:wrap}.page-head h1{font-size:27px;line-height:1.15}.page-head .page-actions{width:100%;display:flex;gap:8px}.page-head .page-actions .btn{flex:1;justify-content:center}
 .owner-ops-panel{margin-top:12px}.ops-pulse-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-pulse-card{padding:11px}.ops-pulse-card strong{font-size:17px}
 .dashboard-grid{grid-template-columns:minmax(0,1fr);gap:12px}.resource-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){.floating-tools{gap:4px;padding:5px}.floating-tool{padding:7px 3px;font-size:10px}.floating-tool span{font-size:9px}.dock-drag-handle{flex-basis:24px;width:24px}.stats-grid{gap:7px}.stat-card{padding:10px}.stat-value{font-size:23px}.page-head h1{font-size:24px}}

/* v1.2.21 Team messenger fit-to-viewport, inline media, and themed file picker */
.chat-layout{height: min(720px, calc(100dvh - 205px));min-height:420px;overflow:hidden;grid-template-columns:205px minmax(0,1fr)}
.chat-main{min-height:0;overflow:hidden}.chat-messages{min-height:0;max-height:none;flex:1 1 auto;overscroll-behavior:contain}.chat-compose{flex:0 0 auto;align-items:flex-end;flex-wrap:nowrap;gap:8px;padding:10px;background:var(--panel,#101e31)}.chat-compose textarea{min-width:0;flex:1 1 auto;width:auto;min-height:42px;max-height:90px;resize:vertical}.chat-attach{flex:0 0 auto;white-space:nowrap;background:linear-gradient(135deg,rgba(61,133,237,.18),rgba(42,166,200,.12));border:1px solid rgba(100,160,240,.45);color:var(--text,#eaf2ff);border-radius:10px;padding:10px 12px;font-weight:700}.chat-attach input{width:1px;height:1px;position:absolute;opacity:0;overflow:hidden}.chat-attach:focus-within,.chat-attach:hover{background:rgba(61,133,237,.28);border-color:#5aa0ff}.chat-attachment-preview{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:8px;max-width:min(460px,100%)}.chat-inline-image{display:block;max-width:min(360px,100%);max-height:300px;object-fit:contain;border-radius:12px;border:1px solid var(--line,#263b58);background:#07101d}.chat-inline-media{display:block;width:min(420px,100%);max-height:260px;border-radius:10px;background:#050a12}.chat-inline-audio{display:block;width:min(360px,100%);max-width:100%;height:42px}.chat-file-link{max-width:100%;overflow-wrap:anywhere}.chat-message>div{min-width:0;max-width:100%}.chat-message{min-width:0}.chat-message p{overflow-wrap:anywhere}
@media(max-width:700px){.chat-layout{height:calc(100dvh - 165px);min-height:430px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.chat-channels{max-height:72px;flex:0 0 auto}.chat-main{min-height:0}.chat-head{padding:10px 13px}.chat-messages{padding:12px;gap:12px}.chat-compose{padding:8px;gap:6px;flex-wrap:wrap}.chat-compose textarea{flex:1 1 100%;width:100%;min-height:40px;max-height:72px}.chat-attach{font-size:11px;padding:9px 10px}.chat-inline-image{max-width:min(270px,100%);max-height:220px}.chat-inline-media{max-height:200px}.chat-inline-audio{width:100%}}
@media(max-width:420px){.chat-layout{height:calc(100dvh - 145px)}.chat-compose .btn{padding:9px 10px}.chat-attach{padding:8px 9px}}

/* v1.2.22: dashboard live overview and working desktop/mobile navigation toggle */
.mobile-menu{display:grid!important;flex:0 0 38px;width:38px;height:38px;align-items:center;justify-content:center;position:relative;z-index:180;cursor:pointer;touch-action:manipulation}
.sidebar-collapsed .sidebar{transform:translateX(-102%);pointer-events:none}
.sidebar-collapsed .main-area{margin-left:0}
.sidebar-collapsed .sidebar.open{transform:translateX(0);pointer-events:auto}
@media(min-width:1101px){.sidebar{transition:transform .22s,box-shadow .22s}.main-area{transition:margin-left .22s}.sidebar-collapsed .sidebar{transform:translateX(-102%)}.sidebar-collapsed .main-area{margin-left:0}}
@media(max-width:1100px){body.sidebar-collapsed .sidebar{transform:translateX(-102%)}body.sidebar-collapsed .main-area{margin-left:0}.sidebar.open{transform:translateX(0)!important;pointer-events:auto}}
.dashboard-live-strip{margin:18px 0 22px;padding:19px;border:1px solid rgba(111,158,220,.19);border-radius:18px;background:linear-gradient(135deg,rgba(17,33,54,.95),rgba(10,22,38,.94));box-shadow:0 12px 34px rgba(0,0,0,.12);display:block!important;visibility:visible!important;opacity:1!important}
.dashboard-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}.dashboard-live-kicker{font-size:9px;letter-spacing:1.6px;font-weight:900;color:#6bb7ff}.dashboard-live-head h2{margin:3px 0 1px;font:800 19px Manrope,sans-serif;letter-spacing:-.4px}.dashboard-live-head p{margin:0;color:var(--muted);font-size:11px}.dashboard-live-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(77,214,165,.2);border-radius:30px;padding:6px 9px;color:#9ce7cb;font-size:10px;white-space:nowrap}.dashboard-live-badge i{width:6px;height:6px;border-radius:50%;background:#4dd6a5;box-shadow:0 0 0 4px rgba(77,214,165,.1)}
.dashboard-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-live-card{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:13px;background:rgba(5,15,28,.35);color:var(--text);text-decoration:none}.dashboard-live-card:hover{border-color:rgba(102,165,255,.5);background:rgba(35,65,103,.22)}.dashboard-live-card>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.dashboard-live-card small{font-size:10px;color:var(--muted)}.dashboard-live-card strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}.dashboard-live-card em{font-size:10px;line-height:1.4;color:#8199b9;font-style:normal}.dashboard-live-card>b{color:#79b5ff;font-size:14px}.dashboard-live-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:10px;background:rgba(85,148,255,.14);color:#8bbaff;font-size:17px}.dashboard-live-icon.teal{background:rgba(72,222,208,.12);color:#48ded0}.dashboard-live-icon.amber{background:rgba(255,196,107,.12);color:#ffc46b}.dashboard-live-icon.green{background:rgba(77,214,165,.12);color:#4dd6a5}.dashboard-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.dashboard-shortcuts a{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid rgba(120,158,208,.19);border-radius:9px;background:rgba(79,130,198,.08);font-size:11px;font-weight:700;color:#c5dcfa}.dashboard-shortcuts a:hover{background:rgba(79,130,198,.18);border-color:rgba(102,165,255,.4)}
.theme-light .dashboard-live-strip{background:linear-gradient(135deg,#fff,#f5f9ff)}.theme-light .dashboard-live-card{background:#f8fafd}.theme-light .dashboard-live-card strong{color:#1b2d4b}.theme-light .dashboard-shortcuts a{color:#254b7d}
@media(max-width:1200px){.dashboard-live-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-live-strip{padding:13px;margin:13px 0 17px}.dashboard-live-head{display:block}.dashboard-live-badge{margin-top:9px}.dashboard-live-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-live-card{padding:10px;gap:7px}.dashboard-live-card strong{font-size:14px}.dashboard-live-card em{font-size:9px}.dashboard-live-icon{width:27px;height:27px}.dashboard-shortcuts{gap:6px}.dashboard-shortcuts a{font-size:10px;padding:7px 8px}}
/* v1.2.23 owner command center */
.owner-command-center{margin:20px 0 24px;padding:22px;border:1px solid rgba(110,159,222,.2);border-radius:20px;background:linear-gradient(145deg,rgba(17,31,52,.98),rgba(10,22,38,.98));box-shadow:0 14px 40px rgba(0,0,0,.12)}.command-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.command-head h2{font:800 21px/1.25 Manrope,sans-serif;letter-spacing:-.6px;margin:5px 0}.command-head p{font-size:11px;color:var(--muted);margin:0;max-width:750px}.command-head-actions{display:flex;gap:8px;flex-wrap:wrap}.command-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.command-metric{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:10px;align-content:start;padding:15px;border:1px solid rgba(133,166,211,.15);border-radius:14px;background:rgba(7,18,32,.44);min-width:0;transition:border-color .18s,transform .18s}.command-metric:hover{border-color:rgba(102,165,255,.45);transform:translateY(-1px)}.command-icon{grid-row:span 4;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-size:18px;background:rgba(102,165,255,.12);color:#8abaff}.command-icon.teal{background:rgba(72,222,208,.12);color:#48ded0}.command-icon.amber{background:rgba(255,196,107,.12);color:#ffc46b}.command-icon.green{background:rgba(77,214,165,.12);color:#4dd6a5}.command-icon.violet{background:rgba(163,132,255,.13);color:#b7a2ff}.command-label{color:#89a5ca;font-size:10px;font-weight:700;letter-spacing:.15px}.command-metric strong{display:block;color:var(--text);font:800 20px/1.3 Manrope,sans-serif;overflow-wrap:anywhere;margin:4px 0}.command-metric small{display:block;color:#8fa5c4;font-size:10px;line-height:1.5}.command-metric em{display:block;color:#6f88a9;font-size:9px;line-height:1.45;font-style:normal;margin-top:7px;overflow-wrap:anywhere}.command-quicklinks{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:15px;padding-top:14px;border-top:1px solid rgba(133,166,211,.12)}.command-quicklinks>span{font-size:9px;letter-spacing:1.3px;font-weight:800;color:#6f88a9;margin-right:4px}.command-quicklinks a{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border:1px solid rgba(120,158,208,.18);border-radius:9px;background:rgba(79,130,198,.08);font-size:10px;font-weight:700;color:#c5dcfa}.command-quicklinks a:hover{background:rgba(79,130,198,.17);border-color:rgba(102,165,255,.42)}
.theme-light .owner-command-center{background:linear-gradient(145deg,#fff,#f4f8ff)}.theme-light .command-metric{background:#f8fafd}.theme-light .command-metric strong{color:#1b2d4b}.theme-light .command-quicklinks a{color:#254b7d}
@media(max-width:1250px){.command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.owner-command-center{padding:14px;margin:14px 0 18px}.command-head{display:block}.command-head-actions{margin-top:12px}.command-head h2{font-size:18px}.command-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.command-metric{grid-template-columns:30px minmax(0,1fr);padding:10px;column-gap:8px}.command-icon{width:29px;height:29px;font-size:15px}.command-metric strong{font-size:15px}.command-metric small{font-size:9px}.command-metric em{font-size:9px}.command-quicklinks{gap:6px}.command-quicklinks>span{width:100%}.command-quicklinks a{padding:7px 8px;font-size:9px}}
/* Keep the navigation toggle visible and clickable at all breakpoints. */
.topbar .mobile-menu{display:grid!important;flex:0 0 38px;width:38px;height:38px;position:relative;z-index:500;pointer-events:auto;touch-action:manipulation}
@media(min-width:1101px){body.sidebar-collapsed .sidebar{transform:translateX(-102%);pointer-events:none}body.sidebar-collapsed .sidebar.open{transform:translateX(0);pointer-events:auto}body.sidebar-collapsed .main-area{margin-left:0}}


/* v1.2.24: force-stable owner command center layout (prevents global link styles collapsing cards) */
main.main-content section.owner-command-center{display:block!important;position:relative;isolation:isolate;box-sizing:border-box;width:100%;margin:22px 0 26px;padding:24px;border:1px solid rgba(93,157,235,.24);border-radius:22px;background:radial-gradient(ellipse at 0% 0%,rgba(37,103,185,.18),transparent 46%),linear-gradient(145deg,#101e32 0%,#0b1525 72%,#0d1b2e 100%);box-shadow:0 18px 48px rgba(0,0,0,.18);overflow:hidden}
main.main-content section.owner-command-center:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,#4f9dff,#40d7c6,#7c78ff);opacity:.9}
main.main-content section.owner-command-center .command-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin:0 0 22px!important;padding-bottom:18px;border-bottom:1px solid rgba(135,168,214,.15)}
main.main-content section.owner-command-center .command-head>div:first-child{min-width:0;flex:1}
main.main-content section.owner-command-center .command-head h2{margin:7px 0 7px!important;font-size:clamp(22px,2vw,30px)!important;line-height:1.18!important;letter-spacing:-.8px!important;color:#f0f6ff}
main.main-content section.owner-command-center .command-head p{max-width:720px!important;margin:0!important;font-size:12px!important;line-height:1.65!important;color:#9eb4d2!important}
main.main-content section.owner-command-center .command-head-actions{display:flex!important;flex-wrap:wrap!important;align-items:center;gap:9px!important;flex-shrink:0}
main.main-content section.owner-command-center .command-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:13px!important;width:100%;margin:0!important}
main.main-content section.owner-command-center .command-metrics>a.command-metric{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto 1fr auto!important;align-content:start!important;align-items:start!important;gap:5px 12px!important;min-width:0!important;min-height:142px!important;box-sizing:border-box!important;padding:17px!important;margin:0!important;border:1px solid rgba(127,164,216,.19)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(17,34,56,.96),rgba(8,20,35,.94))!important;color:#eaf2ff!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.5!important;box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 20px rgba(0,0,0,.08)!important;transition:transform .18s,border-color .18s,background .18s!important}
main.main-content section.owner-command-center .command-metrics>a.command-metric:hover{transform:translateY(-2px)!important;border-color:rgba(86,161,255,.55)!important;background:linear-gradient(145deg,rgba(23,46,75,.98),rgba(10,25,44,.98))!important}
main.main-content section.owner-command-center .command-icon{grid-column:1;grid-row:1/5!important;display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:12px!important;font-size:19px!important;line-height:1!important;background:rgba(83,151,255,.14)!important;color:#83b8ff!important}
main.main-content section.owner-command-center .command-icon.teal{background:rgba(72,222,208,.13)!important;color:#48ded0!important}
main.main-content section.owner-command-center .command-icon.amber{background:rgba(255,196,107,.13)!important;color:#ffc46b!important}
main.main-content section.owner-command-center .command-icon.green{background:rgba(77,214,165,.13)!important;color:#4dd6a5!important}
main.main-content section.owner-command-center .command-icon.violet{background:rgba(163,132,255,.14)!important;color:#b7a2ff!important}
main.main-content section.owner-command-center .command-label{display:block!important;grid-column:2;grid-row:1!important;font-size:10px!important;line-height:1.4!important;letter-spacing:.55px!important;text-transform:uppercase!important;font-weight:800!important;color:#8eadd5!important;overflow-wrap:anywhere}
main.main-content section.owner-command-center .command-metric strong{display:block!important;grid-column:2;grid-row:2!important;margin:2px 0 3px!important;font-size:clamp(18px,1.5vw,23px)!important;line-height:1.25!important;font-weight:800!important;letter-spacing:-.4px!important;color:#f3f7ff!important;overflow-wrap:anywhere!important;white-space:normal!important}
main.main-content section.owner-command-center .command-metric small{display:block!important;grid-column:2;grid-row:3!important;align-self:start!important;font-size:11px!important;line-height:1.55!important;color:#9aafcc!important;overflow-wrap:anywhere!important;white-space:normal!important}
main.main-content section.owner-command-center .command-metric em{display:block!important;grid-column:2;grid-row:4!important;margin:7px 0 0!important;padding-top:7px!important;border-top:1px solid rgba(128,160,204,.12)!important;font-size:10px!important;line-height:1.5!important;color:#7ea0c8!important;font-style:normal!important;overflow-wrap:anywhere!important;white-space:normal!important}
main.main-content section.owner-command-center .command-quicklinks{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;margin-top:20px!important;padding-top:17px!important;border-top:1px solid rgba(135,168,214,.16)!important}
main.main-content section.owner-command-center .command-quicklinks>span{display:block!important;width:100%!important;margin:0 0 2px!important;font-size:10px!important;letter-spacing:1.5px!important;color:#6bb7ff!important;font-weight:900!important}
main.main-content section.owner-command-center .command-quicklinks>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:38px!important;box-sizing:border-box!important;padding:9px 12px!important;border:1px solid rgba(117,164,226,.23)!important;border-radius:11px!important;background:rgba(57,111,182,.11)!important;color:#cfe3ff!important;text-decoration:none!important;font-size:11px!important;line-height:1.25!important;font-weight:750!important;white-space:normal!important;transition:background .18s,border-color .18s,transform .18s!important}
main.main-content section.owner-command-center .command-quicklinks>a:hover{background:rgba(64,132,219,.22)!important;border-color:rgba(102,165,255,.55)!important;transform:translateY(-1px)!important}
.theme-light main.main-content section.owner-command-center{background:radial-gradient(ellipse at 0% 0%,rgba(37,103,185,.08),transparent 46%),linear-gradient(145deg,#fff,#f3f7ff);border-color:#d8e4f5}
.theme-light main.main-content section.owner-command-center .command-head h2{color:#162b49}.theme-light main.main-content section.owner-command-center .command-head p{color:#5e7391!important}
.theme-light main.main-content section.owner-command-center .command-metrics>a.command-metric{background:linear-gradient(145deg,#fff,#f5f8fd)!important;color:#1b2d4b!important;border-color:#dce6f3!important;box-shadow:0 8px 20px rgba(36,67,111,.06)!important}
.theme-light main.main-content section.owner-command-center .command-metric strong{color:#172d4c!important}.theme-light main.main-content section.owner-command-center .command-metric small{color:#627894!important}.theme-light main.main-content section.owner-command-center .command-label{color:#54749c!important}.theme-light main.main-content section.owner-command-center .command-quicklinks>a{color:#254b7d!important;background:#edf4ff!important;border-color:#d4e3f7!important}
@media(max-width:1250px){main.main-content section.owner-command-center .command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){main.main-content section.owner-command-center{padding:15px!important;border-radius:17px!important;margin:16px 0 20px!important}main.main-content section.owner-command-center .command-head{display:block!important;margin-bottom:15px!important;padding-bottom:14px!important}main.main-content section.owner-command-center .command-head h2{font-size:22px!important}main.main-content section.owner-command-center .command-head-actions{margin-top:13px!important}main.main-content section.owner-command-center .command-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}main.main-content section.owner-command-center .command-metrics>a.command-metric{grid-template-columns:30px minmax(0,1fr)!important;gap:5px 8px!important;padding:11px!important;min-height:132px!important;border-radius:12px!important}main.main-content section.owner-command-center .command-icon{width:30px!important;height:30px!important;font-size:15px!important;border-radius:9px!important}main.main-content section.owner-command-center .command-label{font-size:9px!important;letter-spacing:.2px!important}main.main-content section.owner-command-center .command-metric strong{font-size:16px!important}main.main-content section.owner-command-center .command-metric small{font-size:10px!important}main.main-content section.owner-command-center .command-metric em{font-size:9px!important}main.main-content section.owner-command-center .command-quicklinks{gap:7px!important}main.main-content section.owner-command-center .command-quicklinks>a{flex:1 1 auto;min-width:calc(50% - 7px);font-size:10px!important;padding:9px!important}}
@media(max-width:390px){main.main-content section.owner-command-center .command-metrics{grid-template-columns:minmax(0,1fr)!important}main.main-content section.owner-command-center .command-metrics>a.command-metric{min-height:0!important}main.main-content section.owner-command-center .command-quicklinks>a{min-width:100%}}
/* v1.2.27 Client 360 responsive overview */
.overview-sections{display:grid;gap:16px;margin-top:16px}.overview-panel{overflow:hidden}.overview-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px}.overview-field{min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,rgba(22,39,63,.56),rgba(12,24,41,.42))}.overview-field small{display:block;color:#7f9dc4;font-size:9px;letter-spacing:.7px;text-transform:uppercase;margin-bottom:7px}.overview-field strong{display:block;color:var(--text);font-size:12px;font-weight:650;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}.overview-empty{grid-column:1/-1;padding:18px;color:var(--muted);font-size:12px}.internal-notes-panel{border-color:rgba(255,190,90,.24)}.internal-note-content{padding:15px;border-radius:12px;background:rgba(255,190,90,.045);border:1px solid rgba(255,190,90,.12);font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.client-hero{gap:18px;align-items:center}.client-hero>div:nth-child(2){min-width:0;flex:1}.client-hero h2{overflow-wrap:anywhere}.client-hero p{overflow-wrap:anywhere}.profile-grid{align-items:start}.profile-grid>div{min-width:0}@media(max-width:1100px){.overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.overview-field-grid{grid-template-columns:minmax(0,1fr);padding:11px;gap:8px}.overview-field{padding:11px}.overview-field strong{font-size:12px}.client-hero{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start}.client-hero .hero-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.client-hero .avatar{width:44px;height:44px}.overview-panel .panel-head{align-items:flex-start;gap:10px}.overview-panel .panel-head .btn{flex-shrink:0}}

/* v1.2.28 Client profile full-width masonry-style layout */
body:has(.overview-sections) .profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
body:has(.overview-sections) .profile-grid>div{min-width:0;width:100%;}
body:has(.overview-sections) .overview-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;margin-top:16px}
body:has(.overview-sections) .overview-sections>.overview-panel{min-width:0;break-inside:avoid;margin:0}
body:has(.overview-sections) .overview-sections>.overview-panel:first-child{grid-column:1/-1}
body:has(.overview-sections) .overview-sections>.internal-notes-panel{grid-column:1/-1}
body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(4){grid-column:1/-1}
body:has(.overview-sections) .overview-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body:has(.overview-sections) .overview-sections+.panel,body:has(.overview-sections) .profile-grid+section{width:100%;min-width:0}
body:has(.overview-sections) .profile-grid>div:nth-child(2){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;margin-top:16px}
body:has(.overview-sections) .profile-grid>div:nth-child(2)>.panel{min-width:0;margin:0!important}
body:has(.overview-sections) .profile-grid>div:nth-child(2)>.panel .panel-body{min-width:0}
@media(max-width:1050px){body:has(.overview-sections) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body:has(.overview-sections) .overview-sections,body:has(.overview-sections) .profile-grid>div:nth-child(2){grid-template-columns:minmax(0,1fr);gap:12px}body:has(.overview-sections) .overview-sections>.overview-panel:first-child,body:has(.overview-sections) .overview-sections>.internal-notes-panel,body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(4){grid-column:auto}body:has(.overview-sections) .overview-field-grid{grid-template-columns:minmax(0,1fr);padding:12px}body:has(.overview-sections) .profile-grid>div:nth-child(2){margin-top:12px}}

/* v1.2.29 — live client spreadsheet */
.sheet-panel{width:100%;max-width:none;overflow:hidden}.sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap;background:rgba(12,23,39,.56)}.sheet-intro{display:flex;align-items:center;gap:11px;min-width:180px}.sheet-intro strong{display:block;font:800 13px Manrope,sans-serif}.sheet-intro small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.sheet-live-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(77,214,165,.1);flex:none}.sheet-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:1;justify-content:flex-end}.sheet-filters input,.sheet-filters select{min-width:120px;max-width:220px;width:auto;padding:8px 10px;background:rgba(17,31,51,.9);border:1px solid var(--line);border-radius:9px;color:var(--text);font-size:11px}.sheet-filters input[name=q]{min-width:220px;flex:1}.sheet-filters .sheet-state{max-width:95px;min-width:80px}.sheet-tip{padding:9px 17px;color:var(--muted);font-size:10px;border-bottom:1px solid var(--line);background:rgba(76,134,220,.045)}.sheet-scroll{width:100%;max-height:calc(100vh - 330px);min-height:300px;overflow:auto;overscroll-behavior:contain}.sheet-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:11px}.sheet-table thead th{position:sticky;top:0;z-index:4;background:#12213a;padding:11px 13px;min-width:125px;border-bottom:1px solid rgba(125,164,222,.25);box-shadow:0 1px 0 rgba(125,164,222,.12);text-transform:none;letter-spacing:.15px;font-size:10px;color:#9ab9e7}.sheet-table thead th:first-child{left:0;z-index:6;min-width:85px}.sheet-table tbody td{padding:9px 13px;white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;border-right:1px solid rgba(154,179,217,.055);font-size:11px}.sheet-table tbody tr:nth-child(even){background:rgba(115,151,203,.035)}.sheet-table tbody tr:hover{background:rgba(72,139,244,.1)}.sheet-table tbody td:first-child{position:sticky;left:0;z-index:2;background:#101d31;font-weight:700}.sheet-table tbody tr:nth-child(even) td:first-child{background:#132139}.sheet-table tbody tr:hover td:first-child{background:#1a3150}.sheet-table .sheet-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px}.sheet-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 17px;color:var(--muted);font-size:10px;border-top:1px solid var(--line);flex-wrap:wrap}.theme-light .sheet-toolbar,.theme-light .sheet-table thead th{background:#f4f7fc}.theme-light .sheet-table tbody td:first-child{background:#fff}.theme-light .sheet-table tbody tr:nth-child(even) td:first-child{background:#f6f9fd}.theme-light .sheet-table tbody tr:hover td:first-child{background:#e8f1ff}.theme-light .sheet-filters input,.theme-light .sheet-filters select{background:#fff;color:#1b2d4b}
@media(max-width:900px){.sheet-toolbar{align-items:flex-start}.sheet-filters{justify-content:flex-start}.sheet-filters input[name=q]{min-width:180px}.sheet-scroll{max-height:calc(100vh - 290px)}}
@media(max-width:600px){.sheet-toolbar{padding:13px}.sheet-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.sheet-filters input,.sheet-filters select,.sheet-filters input[name=q]{width:100%;max-width:none;min-width:0;grid-column:span 2}.sheet-filters select,.sheet-filters .sheet-state{grid-column:span 1}.sheet-filters .btn{width:100%}.sheet-scroll{max-height:calc(100vh - 300px);min-height:260px}.sheet-table tbody td{padding:9px 10px}.sheet-footer{align-items:flex-start;flex-direction:column}}

/* v1.2.30 — fast team notes and sticky client directory headers */
.clients-directory-panel .table-wrap{position:relative;overflow-x:auto;overscroll-behavior-x:contain}
.clients-directory-panel .table-wrap thead th{position:sticky;top:0;z-index:8;background:#13233b;box-shadow:0 1px 0 rgba(125,164,222,.24)}
.clients-directory-panel .table-wrap thead th:first-child{z-index:10}
.theme-light .clients-directory-panel .table-wrap thead th{background:#f1f6fd}
.team-note-composer{padding:16px;border:1px solid rgba(102,165,255,.22);border-radius:15px;background:linear-gradient(140deg,rgba(58,115,207,.11),rgba(20,34,55,.48));margin-bottom:20px}
.team-note-composer-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.team-note-composer-head strong{font:800 13px Manrope,sans-serif}.team-note-composer-head small,.team-note-composer-foot small{color:var(--muted);font-size:10px}
.team-note-controls{display:grid;grid-template-columns:minmax(180px,.32fr) minmax(0,1fr);gap:12px;align-items:start}.team-note-controls label{display:block;font-size:11px;font-weight:700}.team-note-controls select,.team-note-controls textarea{margin-top:6px;width:100%}.team-note-controls textarea{min-height:76px;resize:vertical}.team-note-composer-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px;flex-wrap:wrap}.team-note-entry{min-width:0;width:100%}.team-note-entry-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.team-note-entry-head strong{font-size:12px}.team-note-entry-head small{color:var(--muted);font-size:10px}.team-note-entry p{margin:7px 0 5px;white-space:normal;overflow-wrap:anywhere}.team-notes-empty{padding:18px;border:1px dashed var(--line);border-radius:12px;text-align:center}.team-notes-empty strong{font-size:12px}.team-notes-empty p{font-size:11px;margin:5px 0 0}
.theme-light .team-note-composer{background:linear-gradient(140deg,#f3f8ff,#fff)}
@media(max-width:600px){.team-note-controls{grid-template-columns:1fr}.team-note-composer-head{align-items:flex-start;flex-direction:column}.team-note-composer-foot{align-items:stretch}.team-note-composer-foot .btn{width:100%}.team-note-entry-head{align-items:flex-start;flex-direction:column;gap:3px}}

/* v1.2.31 — inline quick edits and accessible team-note entry */
.quick-edit-panel{margin:14px 16px 16px;border:1px solid rgba(99,157,239,.28);border-radius:12px;background:rgba(37,68,111,.12);overflow:hidden}
.quick-edit-panel>summary{cursor:pointer;list-style:none;padding:12px 14px;font-size:11px;font-weight:800;color:#9fc5ff;user-select:none}
.quick-edit-panel>summary::-webkit-details-marker{display:none}
.quick-edit-panel[open]>summary{border-bottom:1px solid var(--line);background:rgba(68,129,219,.08)}
.quick-edit-grid{padding:14px;gap:12px}
.quick-edit-grid label{font-size:11px;font-weight:700;color:var(--muted);min-width:0}
.quick-edit-grid input,.quick-edit-grid textarea{margin-top:6px;width:100%;min-width:0;background:rgba(8,18,32,.7);border:1px solid var(--line);border-radius:9px;color:var(--text);padding:10px;font:inherit;font-size:12px}
.quick-edit-grid textarea{resize:vertical;min-height:55px}
.quick-edit-actions{display:flex;gap:8px;flex-wrap:wrap}
.team-note-composer{display:block!important;visibility:visible!important;opacity:1!important}
@media(max-width:600px){.quick-edit-panel{margin:12px}.quick-edit-grid{grid-template-columns:minmax(0,1fr);padding:12px}.quick-edit-actions{flex-direction:column}.quick-edit-actions .btn{width:100%}}
.theme-light .quick-edit-grid input,.theme-light .quick-edit-grid textarea{background:#fff;color:#182942}

/* v1.2.33: prominent, always-visible client note composer */
.client-note-quick-panel{display:block!important;visibility:visible!important;opacity:1!important;position:relative;z-index:1}
.client-note-quick-form{display:block!important;width:100%}
.client-note-quick-grid{display:grid;grid-template-columns:minmax(190px,.28fr) minmax(0,1fr);gap:14px;align-items:start}
.client-note-quick-grid label{display:block;font-size:12px;font-weight:700;color:var(--text)}
.client-note-quick-grid select,.client-note-quick-grid textarea{display:block;width:100%;margin-top:7px;min-height:42px}
.client-note-quick-grid textarea{min-height:92px;resize:vertical}
.client-note-quick-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.client-note-quick-footer small{font-size:11px;color:var(--muted);max-width:70ch}
@media(max-width:650px){.client-note-quick-grid{grid-template-columns:minmax(0,1fr)}.client-note-quick-footer{align-items:stretch;flex-direction:column}.client-note-quick-footer .btn{width:100%}}

/* v1.2.34 visible note composer and sortable client list headers */
.note-composer-card{padding:16px;margin:0 0 18px;border:1px solid rgba(75,157,255,.35);border-radius:14px;background:linear-gradient(145deg,rgba(25,47,76,.72),rgba(13,26,44,.8))}.note-composer-card h3{margin:0;font:800 15px Manrope,sans-serif}.note-composer-card>p{margin:5px 0 14px;color:var(--muted);font-size:11px}.note-composer-form{display:grid;grid-template-columns:minmax(190px,.28fr) minmax(0,1fr);gap:12px;align-items:start}.note-composer-form label{display:block;font-size:11px;color:var(--muted);font-weight:700}.note-composer-form select,.note-composer-form textarea{display:block;width:100%;margin-top:6px}.note-composer-form textarea{min-height:84px;resize:vertical}.note-composer-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}.note-composer-actions small{font-size:10px;color:var(--muted)}.sortable-header{cursor:pointer;user-select:none;white-space:nowrap}.sortable-header:after{content:' ↕';font-size:10px;color:#7695bd}.sortable-header[data-sort-dir="asc"]:after{content:' ↑';color:var(--teal)}.sortable-header[data-sort-dir="desc"]:after{content:' ↓';color:var(--teal)}.sortable-header:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}@media(max-width:640px){.note-composer-form{grid-template-columns:minmax(0,1fr)}.note-composer-actions{grid-column:auto;align-items:flex-start;flex-direction:column}.note-composer-actions .btn{width:100%}}

/* v1.2.35 — polished masonry client profile, obvious note entry, resilient nav */
.client-profile-tabs{position:sticky;top:0;z-index:18;display:flex;gap:7px;align-items:center;overflow-x:auto;white-space:nowrap;padding:9px 11px;margin:0 0 14px;border:1px solid var(--line);border-radius:13px;background:rgba(10,19,33,.94);backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.client-profile-tabs a{flex:none;padding:8px 11px;border:1px solid transparent;border-radius:9px;color:#a9bedb;font-size:11px;font-weight:750}.client-profile-tabs a:hover,.client-profile-tabs a:focus-visible{background:rgba(76,139,242,.14);border-color:rgba(90,151,255,.24);color:var(--text);outline:none}
.client-note-quick-panel{scroll-margin-top:75px}.client-note-quick-panel .panel-head{background:linear-gradient(100deg,rgba(62,133,245,.16),rgba(50,208,194,.06))}.client-note-quick-panel .client-note-quick-form{background:rgba(7,16,29,.16)}.client-note-quick-panel textarea{min-height:100px}.client-note-quick-panel .btn[type=submit]{min-width:130px}
body:has(.overview-sections) .overview-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:14px;align-items:start;margin-top:14px}
body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(1),body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(2){grid-column:span 1}
body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(3),body:has(.overview-sections) .overview-sections>.overview-panel:nth-child(4),body:has(.overview-sections) .overview-sections>.internal-notes-panel{grid-column:1/-1}
body:has(.overview-sections) .overview-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:13px}
body:has(.overview-sections) .overview-field{padding:10px 11px;min-height:64px}
body:has(.overview-sections) .overview-field small{font-size:9px;letter-spacing:.45px;margin-bottom:4px}
body:has(.overview-sections) .overview-field strong{font-size:11px;line-height:1.4}
body:has(.overview-sections) .profile-grid{gap:14px!important}
body:has(.overview-sections) .profile-grid>div:nth-child(2){grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body:has(.overview-sections) .profile-grid>div:nth-child(2)>.panel{align-self:start}
#team-notes{scroll-margin-top:80px}.note-composer-card{position:relative;box-shadow:0 12px 28px rgba(0,0,0,.12)}.note-composer-form textarea{min-height:100px}
.sidebar-overlay{display:none}
@media(max-width:1100px){.sidebar-overlay:not([hidden]){display:block;position:fixed;inset:0;z-index:140;width:100%;height:100%;padding:0;border:0;background:rgba(2,8,18,.62);backdrop-filter:blur(2px)}.sidebar{z-index:150!important}.topbar .mobile-menu{z-index:170!important;position:relative;pointer-events:auto;touch-action:manipulation}.client-profile-tabs{top:0}.client-profile-tabs a{padding:8px 10px}}
@media(max-width:760px){body:has(.overview-sections) .overview-sections{grid-template-columns:minmax(0,1fr)!important;gap:11px}body:has(.overview-sections) .overview-sections>.overview-panel,body:has(.overview-sections) .overview-sections>.internal-notes-panel{grid-column:1!important}body:has(.overview-sections) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:11px}body:has(.overview-sections) .profile-grid>div:nth-child(2){grid-template-columns:minmax(0,1fr)}.client-profile-tabs{margin-bottom:11px;padding:7px}.client-profile-tabs a{font-size:10px}}
@media(max-width:430px){body:has(.overview-sections) .overview-field-grid{grid-template-columns:minmax(0,1fr)}.client-note-quick-panel .panel-head{align-items:flex-start}.client-note-quick-panel .panel-body{padding:13px}}


/* v1.2.36 — independent messenger-style team chat popup */
.team-chat-overlay{
  position:fixed!important;left:auto!important;top:auto!important;right:22px!important;bottom:76px!important;
  transform:none!important;width:min(440px,calc(100vw - 28px))!important;height:min(650px,calc(100dvh - 105px))!important;
  min-width:0!important;min-height:360px!important;max-height:calc(100dvh - 92px)!important;
  display:none;resize:both;overflow:hidden;border-radius:18px!important;
  background:#0d1727!important;border:1px solid #263b56!important;
  box-shadow:0 18px 55px rgba(0,0,0,.42)!important;
}
.team-chat-overlay.open{display:flex!important;flex-direction:column!important}
.team-chat-overlay>.overlay-head{min-height:58px;padding:12px 14px!important;margin:0!important;background:#132238;border-bottom:1px solid #263b56}
.team-chat-overlay>.quick-links-note{font-size:11px;line-height:1.35;padding:8px 14px!important;margin:0!important;background:#101d30;border-bottom:1px solid #263b56}
.team-chat-overlay>iframe{display:block;flex:1 1 auto!important;width:100%!important;height:0!important;min-height:0!important;border:0!important;background:#0d1727!important}
body.embedded-chat-body{margin:0!important;padding:0!important;overflow:hidden!important;background:#0d1727!important}
body.embedded-chat-body .app-shell{display:block!important;min-height:0!important;height:100%!important;margin:0!important;padding:0!important}
body.embedded-chat-body .sidebar,
body.embedded-chat-body .topbar,
body.embedded-chat-body .page-footer,
body.embedded-chat-body .toast-stack,
body.embedded-chat-body .floating-tools,
body.embedded-chat-body .recent-pages,
body.embedded-chat-body .page-head{display:none!important}
body.embedded-chat-body .main-content{display:block!important;width:100%!important;min-width:0!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0d1727!important}
body.embedded-chat-body .chat-layout{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;gap:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:#0d1727!important}
body.embedded-chat-body .chat-channels{min-width:0!important;padding:10px 8px!important;overflow-y:auto!important;border-radius:0!important}
body.embedded-chat-body .chat-channels h3{margin:4px 6px 10px!important;font-size:10px!important;letter-spacing:.08em;text-transform:uppercase}
body.embedded-chat-body .channel-link{display:flex!important;gap:5px!important;padding:9px 7px!important;font-size:11px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.embedded-chat-body .chat-channels .notice{font-size:9px!important;line-height:1.35!important;padding:6px!important}
body.embedded-chat-body .chat-main{min-width:0!important;height:100%!important;min-height:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-head{flex:0 0 auto!important;padding:11px 12px!important}
body.embedded-chat-body .chat-head strong{font-size:12px!important}
body.embedded-chat-body .chat-messages{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;padding:12px!important;gap:12px!important}
body.embedded-chat-body .chat-message{min-width:0!important;gap:7px!important}
body.embedded-chat-body .chat-message p{overflow-wrap:anywhere!important}
body.embedded-chat-body .chat-compose{flex:0 0 auto!important;display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:9px!important}
body.embedded-chat-body .chat-compose textarea{flex:1 0 100%!important;width:100%!important;min-height:54px!important;max-height:100px!important;resize:vertical!important;font-size:14px!important}
body.embedded-chat-body .chat-compose .chat-attach,
body.embedded-chat-body .chat-compose button{min-height:38px!important}
@media(max-width:600px){
 .team-chat-overlay{right:8px!important;bottom:66px!important;width:calc(100vw - 16px)!important;height:min(72dvh,620px)!important;max-height:calc(100dvh - 82px)!important;min-height:300px!important;resize:none!important}
 body.embedded-chat-body .chat-layout{grid-template-columns:104px minmax(0,1fr)!important}
 body.embedded-chat-body .chat-channels{padding:8px 5px!important}
 body.embedded-chat-body .chat-messages{padding:9px!important}
}


/* v1.2.37 — compact client profile masonry, accessible quick menu, persistent floating tools */
body:has(.client-profile-tabs) .client-hero{margin-bottom:12px;padding:16px 18px}
body:has(.client-profile-tabs) .client-profile-tabs{margin-bottom:12px}
body:has(.overview-sections) .profile-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
body:has(.overview-sections) .profile-grid>div{min-width:0;width:100%}
body:has(.overview-sections) #client-details{margin-bottom:12px}
body:has(.overview-sections) .overview-sections{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row;gap:12px!important;margin-top:0!important;align-items:start}
body:has(.overview-sections) .overview-sections>.overview-panel,
body:has(.overview-sections) .overview-sections>.internal-notes-panel{grid-column:auto!important;margin:0!important;align-self:start}
body:has(.overview-sections) .overview-sections>.overview-panel#custom-fields{grid-column:1/-1!important}
body:has(.overview-sections) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:11px!important}
body:has(.overview-sections) .overview-field{min-height:0!important;padding:9px 10px!important}
body:has(.overview-sections) .overview-field small{font-size:9px;margin-bottom:3px}
body:has(.overview-sections) .overview-field strong{font-size:11px;line-height:1.35}
body:has(.overview-sections) .internal-note-content{column-count:2;column-gap:24px;padding:12px;font-size:11px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}
body:has(.overview-sections) .hs-handoff-compact{margin:0 0 12px!important}
.hs-handoff-compact .panel-head{padding:12px 15px 10px}
.hs-handoff-compact .panel-body{padding:12px 15px}
.hs-handoff-form{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px!important;align-items:end}
.hs-handoff-form>label{margin:0!important;min-width:0}
.hs-handoff-form .notice{grid-column:1/-1;margin:0;padding:9px 11px;font-size:10px;line-height:1.4}
.hs-handoff-form .span-2{grid-column:span 2}
.hs-handoff-form .check-row{grid-column:1/-1;align-items:flex-start;padding:10px!important;margin:0!important}
.hs-handoff-form .check-row strong{font-size:11px;line-height:1.4}
.hs-handoff-form .check-row small{font-size:10px;line-height:1.4}
.hs-handoff-form .span-2:last-child{grid-column:1/-1}
body:has(.client-profile-tabs) .team-notes-panel{margin-top:12px!important}
body:has(.client-profile-tabs) .team-notes-panel .panel-body{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);gap:14px;align-items:start;padding:14px}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-card{margin:0;padding:13px;box-shadow:none}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form{grid-template-columns:minmax(0,1fr);gap:9px}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form textarea{min-height:95px}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-actions{grid-column:auto;align-items:flex-start}
body:has(.client-profile-tabs) .team-notes-panel .team-note-timeline{max-height:480px;overflow:auto;padding-right:4px}
body:has(.client-profile-tabs) .team-notes-panel .team-notes-empty{padding:14px;border:1px dashed var(--line);border-radius:12px}
.quick-nav-popover{position:fixed!important;top:66px!important;left:14px!important;z-index:5000!important;width:min(270px,calc(100vw - 24px))!important;max-height:calc(100dvh - 86px);overflow:auto;overscroll-behavior:contain}
.quick-nav-popover[hidden]{display:none!important}
.topbar .mobile-menu{position:relative;z-index:5001;pointer-events:auto;touch-action:manipulation;flex:0 0 38px}
.floating-tools{display:flex!important;visibility:visible!important;opacity:1!important;z-index:6000!important;pointer-events:auto!important}
.overlay-panel{z-index:6001!important}
.team-chat-overlay.open{z-index:6002!important}
@media(max-width:900px){body:has(.client-profile-tabs) .overview-sections{grid-template-columns:minmax(0,1fr)!important}body:has(.client-profile-tabs) .overview-sections>.overview-panel#custom-fields{grid-column:auto!important}body:has(.client-profile-tabs) .team-notes-panel .panel-body{grid-template-columns:minmax(0,1fr)}body:has(.client-profile-tabs) .team-notes-panel .team-note-timeline{max-height:360px}.hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){body:has(.client-profile-tabs) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}.hs-handoff-form .span-2{grid-column:auto}.hs-handoff-form .notice,.hs-handoff-form .check-row,.hs-handoff-form .span-2:last-child{grid-column:1}.internal-note-content{column-count:1!important}.quick-nav-popover{top:58px!important;left:8px!important}}

/* v1.2.38 — true compact masonry client overview and balanced handoff card */
body:has(.client-profile-tabs) .profile-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row dense;align-items:start;gap:14px!important;margin-top:0!important;
}
body:has(.client-profile-tabs) .profile-grid>div:first-child,
body:has(.client-profile-tabs) .profile-grid>div:nth-child(2){display:contents!important}
body:has(.client-profile-tabs) .profile-grid .overview-sections{display:contents!important}
body:has(.client-profile-tabs) .profile-grid>.overview-sections{display:contents!important}
body:has(.client-profile-tabs) .profile-grid .panel{min-width:0;width:100%;margin:0!important;align-self:start}
body:has(.client-profile-tabs) #client-details{grid-column:1;grid-row:auto}
body:has(.client-profile-tabs) .hs-handoff-compact{grid-column:2;grid-row:auto;margin:0!important;align-self:start}
body:has(.client-profile-tabs) .overview-panel#household,
body:has(.client-profile-tabs) .overview-panel#coverage,
body:has(.client-profile-tabs) .overview-panel#workflow,
body:has(.client-profile-tabs) .internal-notes-panel{grid-column:auto!important}
body:has(.client-profile-tabs) .overview-panel#custom-fields{grid-column:1/-1!important}
body:has(.client-profile-tabs) .overview-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:12px!important}
body:has(.client-profile-tabs) .overview-field{padding:9px 10px!important;min-width:0}
body:has(.client-profile-tabs) .overview-field small{font-size:9px;letter-spacing:.45px;margin-bottom:3px}
body:has(.client-profile-tabs) .overview-field strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
body:has(.client-profile-tabs) .internal-note-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;column-count:initial!important;white-space:pre-wrap;line-height:1.55;padding:12px;font-size:11px}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head{padding:13px 15px 11px;align-items:flex-start}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:13px 15px}
body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start}
body:has(.client-profile-tabs) .hs-handoff-form>label{min-width:0}
body:has(.client-profile-tabs) .hs-handoff-form .notice{grid-column:1/-1!important;font-size:10px;line-height:1.45;padding:10px!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row{grid-column:1/-1!important;padding:10px!important;align-items:flex-start}
body:has(.client-profile-tabs) .hs-handoff-form .span-2:last-child{grid-column:1/-1!important}
body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
body:has(.client-profile-tabs) .client-hero{margin-bottom:10px!important}
body:has(.client-profile-tabs) .client-profile-tabs{margin-bottom:12px!important}
body:has(.client-profile-tabs) .team-notes-panel{grid-column:1/-1!important;margin-top:14px!important}
body:has(.client-profile-tabs) .team-notes-panel .panel-body{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr)!important;gap:14px!important}
body:has(.client-profile-tabs) #enrollment-history{margin-top:14px!important}
@media(max-width:1000px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body:has(.client-profile-tabs) .hs-handoff-compact,body:has(.client-profile-tabs) #client-details{grid-column:auto}
 body:has(.client-profile-tabs) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
 body:has(.client-profile-tabs) .profile-grid .panel,body:has(.client-profile-tabs) .overview-panel#custom-fields,body:has(.client-profile-tabs) .team-notes-panel{grid-column:1!important}
 body:has(.client-profile-tabs) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-profile-tabs) .internal-note-content{grid-template-columns:minmax(0,1fr);}
 body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-profile-tabs) .hs-handoff-form .notice,body:has(.client-profile-tabs) .hs-handoff-form .check-row,body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
 body:has(.client-profile-tabs) .team-notes-panel .panel-body{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:420px){body:has(.client-profile-tabs) .overview-field-grid,body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}}

/* v1.2.39 — fix embedded team messenger offset and prevent clipped chat columns */
body.embedded-chat-body{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}
body.embedded-chat-body .app-shell{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.embedded-chat-body .main-area{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.embedded-chat-body .main-content{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-layout{box-sizing:border-box!important;position:relative!important;display:grid!important;grid-template-columns:minmax(112px, 28%) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-channels{box-sizing:border-box!important;display:block!important;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;max-height:none!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;border-radius:0!important;border-top:0!important;border-bottom:0!important}
body.embedded-chat-body .channel-link{box-sizing:border-box!important;width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.embedded-chat-body .chat-main{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-head{box-sizing:border-box!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;margin:0!important;overflow-wrap:anywhere!important}
body.embedded-chat-body .chat-messages{box-sizing:border-box!important;display:flex!important;flex:1 1 0!important;width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}
body.embedded-chat-body .chat-message{display:flex!important;align-items:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:visible!important}
body.embedded-chat-body .chat-message>div{flex:1 1 auto!important;min-width:0!important;width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
body.embedded-chat-body .chat-message strong{display:block!important;min-width:0!important;overflow-wrap:anywhere!important;line-height:1.4!important}
body.embedded-chat-body .chat-message time{display:inline-block!important;white-space:normal!important}
body.embedded-chat-body .chat-message p{display:block!important;max-width:100%!important;margin:4px 0 0!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;user-select:text!important}
body.embedded-chat-body .chat-compose{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:end!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important}
body.embedded-chat-body .chat-compose textarea{box-sizing:border-box!important;grid-column:1/-1!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:none!important;resize:vertical!important}
body.embedded-chat-body .chat-compose .chat-attach{width:auto!important;min-width:0!important;max-width:100%!important}
body.embedded-chat-body .chat-compose button{min-width:64px!important}
body.embedded-chat-body .chat-attachment-preview{min-width:0!important;max-width:100%!important}
body.embedded-chat-body .chat-inline-image,body.embedded-chat-body .chat-inline-media,body.embedded-chat-body .chat-inline-audio{max-width:100%!important}
@media(max-width:520px){
 body.embedded-chat-body .chat-layout{grid-template-columns:88px minmax(0,1fr)!important}
 body.embedded-chat-body .chat-channels{padding:7px 5px!important}
 body.embedded-chat-body .channel-link{padding:8px 6px!important;font-size:10px!important}
 body.embedded-chat-body .chat-message .avatar{width:27px!important;height:27px!important;font-size:10px!important}
 body.embedded-chat-body .chat-message time{display:block!important;margin:2px 0 0!important}
 body.embedded-chat-body .chat-compose{grid-template-columns:minmax(0,1fr) auto!important}
 body.embedded-chat-body .chat-compose .chat-attach{grid-column:1!important;justify-content:center!important}
 body.embedded-chat-body .chat-compose button{grid-column:2!important}
}


/* v1.2.40 — server-paginated, filterable spreadsheet grid */
.sheet-filters{display:grid;grid-template-columns:minmax(190px,1.7fr) repeat(4,minmax(120px,1fr));align-items:center;justify-content:stretch;gap:9px;width:100%;margin-top:14px}
.sheet-filters input,.sheet-filters select{box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:37px;font-size:11px}
.sheet-filters input[name=q]{min-width:0;width:100%;max-width:none;grid-column:span 2}
.sheet-filters .sheet-size-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;white-space:nowrap}
.sheet-filters .sheet-size-label select{min-width:85px;width:auto}
.sheet-filters .btn{white-space:nowrap;min-height:36px}
.sheet-sort-link{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none;white-space:nowrap;width:100%;min-height:18px}
.sheet-sort-link:hover,.sheet-sort-link:focus-visible{color:var(--text);text-decoration:underline;outline:none}
.sheet-sort-muted{opacity:.48;font-size:12px}
.sheet-table tbody tr[data-open-url]{cursor:pointer}
.sheet-table tbody tr[data-open-url]:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.sheet-pagination{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.sheet-pagination [aria-disabled=true]{opacity:.4;pointer-events:none}
.sheet-footer{gap:14px}
@media(max-width:1100px){.sheet-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-filters input[name=q]{grid-column:span 2}}
@media(max-width:700px){.sheet-toolbar{display:block}.sheet-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-top:14px}.sheet-filters input[name=q]{grid-column:1/-1}.sheet-filters input,.sheet-filters select,.sheet-filters .sheet-size-label{width:100%;min-width:0;max-width:none;grid-column:span 1}.sheet-filters .sheet-size-label{display:flex;justify-content:space-between}.sheet-filters .sheet-size-label select{width:70px}.sheet-filters .btn{width:100%;padding:8px 7px}.sheet-footer{align-items:flex-start}.sheet-pagination{width:100%}.sheet-pagination .btn{flex:1;text-align:center}}


/* v1.2.41 — balanced client overview: true two-rail profile with a contained team-notes sidebar */
body:has(.client-profile-tabs) .profile-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-auto-flow:row dense!important;
  align-items:start!important;
  gap:14px!important;
}
body:has(.client-profile-tabs) .profile-grid>div:first-child,
body:has(.client-profile-tabs) .profile-grid>div:nth-child(2),
body:has(.client-profile-tabs) .profile-grid .overview-sections{display:contents!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{display:flex!important;flex-direction:column;grid-column:2!important;grid-row:3 / span 3!important;position:sticky;top:82px;max-height:calc(100vh - 98px);overflow:hidden;min-height:240px;margin:0!important;align-self:start}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-head{flex:0 0 auto;padding:13px 15px}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;overflow:hidden;padding:12px!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card{margin:0!important;padding:12px!important;min-width:0}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form textarea{min-height:82px;max-height:150px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:min(34vh,320px);overflow:auto;overscroll-behavior:contain;padding-right:4px}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-notes-empty{padding:12px}
body:has(.client-profile-tabs) #client-details{grid-column:1!important;grid-row:1!important}
body:has(.client-profile-tabs) .hs-handoff-compact{grid-column:2!important;grid-row:1!important;margin:0!important;align-self:start}
body:has(.client-profile-tabs) .overview-panel#household{grid-column:1!important;grid-row:2!important}
body:has(.client-profile-tabs) .overview-panel#coverage{grid-column:2!important;grid-row:2!important}
body:has(.client-profile-tabs) .overview-panel#workflow{grid-column:1!important;grid-row:3!important}
body:has(.client-profile-tabs) .internal-notes-panel{grid-column:1!important;grid-row:4!important}
body:has(.client-profile-tabs) .overview-panel#custom-fields{grid-column:1/-1!important;grid-row:auto!important}
body:has(.client-profile-tabs) .profile-grid>.panel{min-width:0;width:100%;margin:0!important;align-self:start}
body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body:has(.client-profile-tabs) .hs-handoff-form .notice,body:has(.client-profile-tabs) .hs-handoff-form .check-row,body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head{padding:13px 15px 10px}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:12px 15px}
body:has(.client-profile-tabs) .internal-note-content{display:block!important;columns:2;column-gap:18px;column-fill:balance;white-space:pre-wrap;line-height:1.6}
body:has(.client-profile-tabs) .internal-note-content>*{break-inside:avoid}
@media(max-width:1050px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail{position:static!important;grid-column:1/-1!important;grid-row:auto!important;max-height:none!important;overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:start}
 body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:320px}
}
@media(max-width:700px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:11px!important}
 body:has(.client-profile-tabs) #client-details,body:has(.client-profile-tabs) .hs-handoff-compact,body:has(.client-profile-tabs) .overview-panel#household,body:has(.client-profile-tabs) .overview-panel#coverage,body:has(.client-profile-tabs) .overview-panel#workflow,body:has(.client-profile-tabs) .internal-notes-panel,body:has(.client-profile-tabs) .overview-panel#custom-fields,body:has(.client-profile-tabs) .profile-team-notes-rail{grid-column:1/-1!important;grid-row:auto!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail{position:static!important;max-height:none!important;overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{grid-template-columns:minmax(0,1fr)!important;overflow:visible}
 body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:280px}
 body:has(.client-profile-tabs) .internal-note-content{columns:1}
 body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}}


/* v1.2.42 — actual client-profile grid placement. Keep the shared notes panel inside the two-rail grid. */
body:has(.client-profile-tabs) .profile-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr)!important;
  grid-auto-flow:row dense!important;
  align-items:start!important;
  gap:12px!important;
  width:100%;
}
body:has(.client-profile-tabs) .profile-grid>div:first-child,
body:has(.client-profile-tabs) .profile-grid>div:nth-child(2),
body:has(.client-profile-tabs) .profile-grid .overview-sections{display:contents!important}
body:has(.client-profile-tabs) .profile-grid>.panel,
body:has(.client-profile-tabs) .profile-grid .panel{
  min-width:0;width:100%;margin:0!important;align-self:start;box-sizing:border-box;
}
body:has(.client-profile-tabs) #client-details{grid-column:1!important;grid-row:1!important}
body:has(.client-profile-tabs) .hs-handoff-compact{grid-column:2!important;grid-row:1!important}
body:has(.client-profile-tabs) .overview-panel#household{grid-column:1!important;grid-row:2!important}
body:has(.client-profile-tabs) .overview-panel#coverage{grid-column:2!important;grid-row:2!important}
body:has(.client-profile-tabs) .overview-panel#workflow{grid-column:1!important;grid-row:3!important}
body:has(.client-profile-tabs) .internal-notes-panel{grid-column:1!important;grid-row:4!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{
  display:flex!important;flex-direction:column;grid-column:2!important;grid-row:3 / span 2!important;
  position:sticky!important;top:76px;align-self:start;max-height:calc(100vh - 92px);min-height:320px;
  overflow:hidden;border-color:rgba(75,145,235,.42);box-shadow:0 12px 32px rgba(0,0,0,.16)
}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-head{flex:0 0 auto;padding:13px 15px}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{
  display:flex;flex-direction:column;gap:12px;min-height:0;overflow:hidden;padding:12px!important
}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card{margin:0!important;padding:12px!important;min-width:0;border-radius:12px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card h3{margin:0 0 5px;font-size:14px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card>p{margin:0 0 9px;font-size:11px;line-height:1.45}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form label{min-width:0;margin:0;font-size:11px}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form textarea{min-height:74px;max-height:120px;resize:vertical}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:0}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{min-height:0;max-height:calc(100vh - 430px);overflow:auto;overscroll-behavior:contain;padding-right:4px}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-entry p{overflow-wrap:anywhere;line-height:1.5}
body:has(.client-profile-tabs) .overview-panel#custom-fields{grid-column:1/-1!important;grid-row:auto!important}
body:has(.client-profile-tabs) .hs-handoff-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
body:has(.client-profile-tabs) .hs-handoff-form>label{min-width:0}
body:has(.client-profile-tabs) .hs-handoff-form .notice,
body:has(.client-profile-tabs) .hs-handoff-form .check-row,
body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head{padding:13px 15px 10px;gap:10px;flex-wrap:wrap}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:12px 14px}
body:has(.client-profile-tabs) .detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body:has(.client-profile-tabs) .detail-item,body:has(.client-profile-tabs) .overview-field{min-width:0;overflow-wrap:anywhere}
body:has(.client-profile-tabs) .overview-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body:has(.client-profile-tabs) .internal-note-content{display:block!important;columns:2;column-gap:16px;column-fill:balance;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
body:has(.client-profile-tabs) .profile-grid .panel-head{gap:10px}
body:has(.client-profile-tabs) .profile-grid .panel-body{min-width:0}
@media(max-width:1120px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{position:static!important;grid-column:1/-1!important;grid-row:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);align-items:start;overflow:visible}
 body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:320px}
}
@media(max-width:700px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body:has(.client-profile-tabs) #client-details,body:has(.client-profile-tabs) .hs-handoff-compact,body:has(.client-profile-tabs) .overview-panel#household,body:has(.client-profile-tabs) .overview-panel#coverage,body:has(.client-profile-tabs) .overview-panel#workflow,body:has(.client-profile-tabs) .internal-notes-panel,body:has(.client-profile-tabs) .overview-panel#custom-fields,body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:1/-1!important;grid-row:auto!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail{position:static!important;max-height:none!important;overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{display:flex!important;flex-direction:column;overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:280px}
 body:has(.client-profile-tabs) .detail-list,body:has(.client-profile-tabs) .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body:has(.client-profile-tabs) .internal-note-content{columns:1}
 body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:420px){body:has(.client-profile-tabs) .hs-handoff-form,body:has(.client-profile-tabs) .detail-list,body:has(.client-profile-tabs) .overview-field-grid{grid-template-columns:minmax(0,1fr)!important}}


/* v1.2.43 — pin the notes rail directly below HealthSherpa; avoid a blank right-hand column. */
body:has(.client-profile-tabs) .overview-panel#household{grid-column:1!important;grid-row:2!important}
body:has(.client-profile-tabs) .overview-panel#coverage{grid-column:1!important;grid-row:3!important}
body:has(.client-profile-tabs) .overview-panel#workflow{grid-column:1!important;grid-row:4!important}
body:has(.client-profile-tabs) .internal-notes-panel{grid-column:1!important;grid-row:5!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{
  grid-column:2!important;grid-row:2 / span 4!important;position:sticky!important;top:76px!important;
  align-self:start!important;height:calc(100vh - 92px);max-height:calc(100vh - 92px);min-height:360px;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{flex:1 1 auto;min-height:0;overflow:hidden!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card{flex:0 0 auto}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{flex:1 1 auto;min-height:90px;max-height:none!important;overflow:auto!important}
@media(max-width:1120px){
 body:has(.client-profile-tabs) .overview-panel#household,body:has(.client-profile-tabs) .overview-panel#coverage,body:has(.client-profile-tabs) .overview-panel#workflow,body:has(.client-profile-tabs) .internal-notes-panel{grid-column:1!important;grid-row:auto!important}
 body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:2!important;grid-row:2 / span 4!important;height:calc(100vh - 92px);max-height:calc(100vh - 92px);position:sticky!important}
}
@media(max-width:900px){
 body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:1/-1!important;grid-row:auto!important;position:static!important;height:auto!important;max-height:none!important;min-height:0!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{overflow:visible!important}
 body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:320px!important;overflow:auto!important}
}


/* v1.2.44 — real DOM placement + balanced client overview rail. The team-notes panel is mounted inside .profile-grid by index.php. */
body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr)!important;column-gap:16px!important;row-gap:14px!important;align-items:start!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:2!important;grid-row:2 / span 4!important;position:sticky!important;top:72px!important;align-self:start!important;height:calc(100vh - 90px)!important;max-height:calc(100vh - 90px)!important;min-height:360px!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;border-radius:16px!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail>.panel-head{flex:0 0 auto;padding:14px 16px!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail>.panel-body{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:12px!important;min-height:0!important;overflow:hidden!important;padding:12px!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail .note-composer-card{flex:0 0 auto!important;margin:0!important;padding:13px!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail .team-note-timeline{flex:1 1 auto!important;min-height:80px!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;padding-right:5px!important}
body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail .team-notes-empty{flex:1 1 auto;min-height:80px}
body:has(.client-profile-tabs) .profile-grid .panel{min-width:0!important;max-width:100%;box-sizing:border-box}
body:has(.client-profile-tabs) .profile-grid .panel-head,body:has(.client-profile-tabs) .profile-grid .panel-body{min-width:0;overflow-wrap:anywhere}
body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body:has(.client-profile-tabs) .hs-handoff-form label,body:has(.client-profile-tabs) .hs-handoff-form input,body:has(.client-profile-tabs) .hs-handoff-form select{min-width:0;max-width:100%}
body:has(.client-profile-tabs) .profile-grid .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;padding:12px!important}
body:has(.client-profile-tabs) .profile-grid .overview-field{padding:10px 11px!important}
@media(max-width:1120px){body:has(.client-profile-tabs) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:2!important;grid-row:2 / span 4!important;position:sticky!important;top:72px!important;height:calc(100vh - 90px)!important;max-height:calc(100vh - 90px)!important;min-height:320px!important}body:has(.client-profile-tabs) .profile-grid .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail{grid-column:1/-1!important;grid-row:auto!important;position:static!important;top:auto!important;height:auto!important;max-height:none!important;min-height:0!important}body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail>.panel-body{overflow:visible!important}body:has(.client-profile-tabs) .profile-grid>.profile-team-notes-rail .team-note-timeline{max-height:320px!important;overflow:auto!important}body:has(.client-profile-tabs) .profile-grid .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body:has(.client-profile-tabs) .profile-grid .overview-field-grid,body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}}


/* v1.2.45 — rebuild the client overview as natural-flow columns. The right rail occupies the previously empty area below HealthSherpa. */
.client-profile-layout-v245{
  display:grid!important;
  grid-template-columns:minmax(0,1.04fr) minmax(350px,.96fr)!important;
  align-items:start!important;
  gap:16px!important;
  width:100%!important;
  min-width:0!important;
  margin:14px 0 18px!important;
  box-sizing:border-box!important;
}
.profile-main-column-v245{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;
  min-width:0!important;width:100%!important;box-sizing:border-box!important;
}
.profile-side-column-v245{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;
  min-width:0!important;width:100%!important;height:calc(100vh - 96px)!important;max-height:calc(100vh - 96px)!important;
  min-height:420px!important;position:sticky!important;top:76px!important;overflow:hidden!important;box-sizing:border-box!important;
}
.client-profile-layout-v245 .panel{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;
  flex-shrink:0;align-self:stretch!important;border-radius:15px!important;
}
.profile-main-column-v245 .panel-head,
.profile-side-column-v245 .panel-head{
  padding:14px 16px!important;gap:10px!important;min-width:0!important;overflow-wrap:anywhere;
}
.profile-main-column-v245 .panel-body,
.profile-side-column-v245 .panel-body{padding:13px 15px!important;min-width:0!important;box-sizing:border-box!important}
.profile-main-column-v245 .detail-list,
.profile-main-column-v245 .overview-field-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important;
}
.profile-main-column-v245 .detail-item,
.profile-main-column-v245 .overview-field{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;
  padding:10px 11px!important;border-radius:11px!important;
}
.profile-main-column-v245 .internal-note-content{
  display:block!important;columns:1!important;column-count:1!important;white-space:pre-wrap!important;
  line-height:1.55!important;overflow-wrap:anywhere!important;word-break:normal!important;
}
.profile-main-column-v245 .quick-edit-panel{margin-top:12px!important}
.profile-side-column-v245 .hs-handoff-compact{flex:0 0 auto!important;min-height:0!important}
.profile-side-column-v245 .hs-handoff-compact .panel-head{padding:13px 15px 10px!important}
.profile-side-column-v245 .hs-handoff-compact .panel-body{padding:12px 14px!important}
.profile-side-column-v245 .hs-handoff-form{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;min-width:0!important;
}
.profile-side-column-v245 .hs-handoff-form>label,
.profile-side-column-v245 .hs-handoff-form input,
.profile-side-column-v245 .hs-handoff-form select{min-width:0!important;width:100%;max-width:100%;box-sizing:border-box}
.profile-side-column-v245 .hs-handoff-form .notice,
.profile-side-column-v245 .hs-handoff-form .check-row,
.profile-side-column-v245 .hs-handoff-form .span-2{grid-column:1/-1!important}
.profile-side-column-v245 .profile-team-notes-rail,
.profile-side-column-v245 #team-notes{
  display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:180px!important;max-height:none!important;height:auto!important;
  width:100%!important;min-width:0!important;overflow:hidden!important;border-color:rgba(75,145,235,.42)!important;
}
.profile-side-column-v245 #team-notes>.panel-head{flex:0 0 auto!important}
.profile-side-column-v245 #team-notes>.panel-body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:10px!important;min-height:0!important;overflow:hidden!important;padding:12px!important;
}
.profile-side-column-v245 #team-notes .note-composer-card{flex:0 0 auto!important;margin:0!important;padding:12px!important;min-width:0!important}
.profile-side-column-v245 #team-notes .note-composer-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;min-width:0!important}
.profile-side-column-v245 #team-notes .note-composer-form textarea{min-height:72px!important;max-height:112px!important;width:100%!important;box-sizing:border-box!important}
.profile-side-column-v245 #team-notes .note-composer-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important}
.profile-side-column-v245 #team-notes .team-note-timeline{flex:1 1 auto!important;min-height:70px!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;padding-right:5px!important}
.profile-support-grid-v245{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr))!important;gap:12px!important;
  width:100%!important;min-width:0!important;margin:0 0 16px!important;align-items:start!important;box-sizing:border-box!important;
}
.profile-support-grid-v245>.panel{margin:0!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:1000px){
 .client-profile-layout-v245{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr)!important;gap:12px!important}
 .profile-side-column-v245{top:70px!important;height:calc(100vh - 84px)!important;max-height:calc(100vh - 84px)!important}
}
@media(max-width:860px){
 .client-profile-layout-v245{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .profile-side-column-v245{position:static!important;top:auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
 .profile-side-column-v245 #team-notes{flex:0 0 auto!important;min-height:0!important}
 .profile-side-column-v245 #team-notes>.panel-body{overflow:visible!important}
 .profile-side-column-v245 #team-notes .team-note-timeline{max-height:300px!important;overflow:auto!important}
 .profile-support-grid-v245{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:480px){
 .profile-main-column-v245 .detail-list,
 .profile-main-column-v245 .overview-field-grid,
 .profile-side-column-v245 .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}
 .client-profile-layout-v245{margin-top:10px!important;gap:10px!important}
}

/* v1.2.47 — compact profile masonry: cards use both columns without a tall empty sticky rail. */
.client-profile-layout-v245{
  display:block!important;columns:2 390px!important;column-gap:14px!important;column-fill:balance!important;
  width:100%!important;min-width:0!important;margin:12px 0 16px!important;box-sizing:border-box!important;
}
.profile-main-column-v245,.profile-side-column-v245{display:contents!important}
.client-profile-layout-v245>.profile-main-column-v245,.client-profile-layout-v245>.profile-side-column-v245{display:contents!important}
.client-profile-layout-v245 .panel{
  display:inline-block!important;vertical-align:top!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0 0 12px!important;break-inside:avoid!important;page-break-inside:avoid!important;box-sizing:border-box!important;
}
.client-profile-layout-v245 .hs-handoff-compact{position:static!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
.client-profile-layout-v245 #team-notes,.client-profile-layout-v245 .profile-team-notes-rail{
  position:static!important;top:auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;display:inline-block!important;
}
.client-profile-layout-v245 #team-notes>.panel-body{display:block!important;overflow:visible!important;min-height:0!important}
.client-profile-layout-v245 #team-notes .team-note-timeline{max-height:340px!important;overflow:auto!important}
.profile-quick-actions{margin:10px 0 12px!important;min-width:0!important}
.profile-quick-actions .panel-body{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;padding:12px 14px!important}
.profile-quick-actions-body>.btn,.profile-task-quick>summary{white-space:nowrap}
.profile-task-quick{display:inline-block;min-width:180px;max-width:100%;position:relative}
.profile-task-quick>summary{list-style:none;cursor:pointer}
.profile-task-quick>summary::-webkit-details-marker{display:none}
.profile-task-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;margin-top:10px;border:1px solid var(--border, #26384f);border-radius:12px;background:var(--panel-bg, #0d1828);min-width:min(560px,calc(100vw - 50px));box-sizing:border-box}
.profile-task-form label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px}
.profile-task-form input,.profile-task-form select,.profile-task-form textarea{width:100%;min-width:0;box-sizing:border-box}
.profile-task-form .profile-task-description,.profile-task-form .profile-task-submit{grid-column:1/-1}
.profile-task-form textarea{resize:vertical}
@media(max-width:760px){
 .client-profile-layout-v245{columns:1!important;column-count:1!important}
 .profile-task-form{grid-template-columns:minmax(0,1fr);min-width:0;width:100%}
 .profile-task-form .profile-task-description,.profile-task-form .profile-task-submit{grid-column:1}
 .profile-quick-actions .panel-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-task-quick{grid-column:1/-1}
}

/* v1.2.48 — profile cards are full-width rows; no tall two-column voids or touching borders. */
.client-profile-layout-v248{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;width:100%!important;min-width:0!important;margin:14px 0 20px!important;align-items:start!important;box-sizing:border-box!important}
.client-profile-layout-v248>.panel,.client-profile-layout-v248 .panel{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;break-inside:avoid!important}
.client-profile-layout-v248 .panel-head{padding:16px 20px!important;gap:12px!important}
.client-profile-layout-v248 .panel-body{padding:18px 20px!important;min-width:0!important;box-sizing:border-box!important}
.client-profile-layout-v248 #client-details .detail-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px 18px!important}
.client-profile-layout-v248 .overview-field-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:16px 20px!important}
.client-profile-layout-v248 .overview-field{min-width:0!important;padding:12px 14px!important;border-radius:12px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
.client-profile-layout-v248 .hs-handoff-form{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:start!important}
.client-profile-layout-v248 .hs-handoff-form>.notice{grid-column:span 2!important;margin:0!important;min-width:0!important}
.client-profile-layout-v248 .hs-handoff-form .span-2{grid-column:span 2!important;min-width:0!important}
.client-profile-layout-v248 .hs-handoff-form label{min-width:0!important;margin:0!important}
.client-profile-layout-v248 .hs-handoff-form input,.client-profile-layout-v248 .hs-handoff-form select{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.client-profile-layout-v248 .profile-team-notes-rail{position:static!important;top:auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
.client-profile-layout-v248 #team-notes>.panel-body{display:grid!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)!important;gap:16px!important;align-items:start!important;overflow:visible!important}
.client-profile-layout-v248 #team-notes .note-composer-card{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}
.client-profile-layout-v248 #team-notes .team-note-timeline{min-width:0!important;max-height:520px!important;overflow:auto!important}
.profile-quick-actions{margin:12px 0 14px!important;border-radius:14px!important;overflow:visible!important}
.profile-quick-actions .panel-body{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:14px 18px!important}
.profile-action-modal{width:min(620px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(88vh,850px);padding:0;border:1px solid var(--border,#26384f);border-radius:18px;background:var(--panel-bg,#0d1828);color:var(--text,#eef5ff);box-shadow:0 24px 90px #0009;overflow:auto;box-sizing:border-box}
.profile-action-modal::backdrop{background:rgba(3,8,18,.72);backdrop-filter:blur(4px)}
.profile-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:20px 22px;border-bottom:1px solid var(--border,#26384f);background:linear-gradient(135deg,rgba(42,120,220,.13),rgba(25,174,174,.07))}
.profile-modal-head h3{margin:0 0 6px;font-size:18px}.profile-modal-head p{margin:0;color:var(--muted,#91a9c8);font-size:12px;line-height:1.5}
.profile-modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px 22px}
.profile-modal-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:650}
.profile-modal-form input,.profile-modal-form select,.profile-modal-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.profile-modal-form label:has(textarea),.profile-modal-full{grid-column:1/-1}
.profile-modal-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;padding-top:4px}
@media(max-width:1050px){.client-profile-layout-v248 #client-details .detail-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-profile-layout-v248 .overview-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.client-profile-layout-v248 .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.client-profile-layout-v248 .panel-head{padding:14px!important}.client-profile-layout-v248 .panel-body{padding:14px!important}.client-profile-layout-v248 #client-details .detail-list,.client-profile-layout-v248 .overview-field-grid,.client-profile-layout-v248 .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}.client-profile-layout-v248 .hs-handoff-form>.notice,.client-profile-layout-v248 .hs-handoff-form .span-2{grid-column:1!important}.client-profile-layout-v248 #team-notes>.panel-body{grid-template-columns:minmax(0,1fr)!important}.profile-modal-form{grid-template-columns:minmax(0,1fr);padding:16px}.profile-modal-form label:has(textarea),.profile-modal-full,.profile-modal-actions{grid-column:1!important}.profile-modal-head{padding:16px}}


/* v1.2.49 — restore the established two-column client profile masonry and repair narrow handoff/support cards. */
body:has(.client-profile-tabs) .profile-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row dense!important;
  align-items:start!important;
  gap:16px!important;
  margin-top:0!important;
}
body:has(.client-profile-tabs) .profile-grid>div:first-child,
body:has(.client-profile-tabs) .profile-grid>div:nth-child(2){display:contents!important}
body:has(.client-profile-tabs) .profile-grid .panel{
  min-width:0!important;max-width:100%!important;width:100%!important;
  margin:0!important;align-self:start!important;box-sizing:border-box!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-head,
body:has(.client-profile-tabs) .profile-grid .panel-body{min-width:0!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .hs-handoff-compact{grid-column:2!important;align-self:start!important;margin:0!important}
body:has(.client-profile-tabs) #client-details{grid-column:1!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;padding:15px 16px 12px!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head>div{flex:1 1 180px!important;min-width:0!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head>.btn{flex:0 0 auto!important;max-width:100%!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:15px 16px!important;overflow:visible!important}
body:has(.client-profile-tabs) .hs-handoff-form{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;align-items:start!important;width:100%!important;min-width:0!important;
}
body:has(.client-profile-tabs) .hs-handoff-form>label,
body:has(.client-profile-tabs) .hs-handoff-form>.notice,
body:has(.client-profile-tabs) .hs-handoff-form>.span-2{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .hs-handoff-form>label{margin:0!important}
body:has(.client-profile-tabs) .hs-handoff-form input:not([type=checkbox]),
body:has(.client-profile-tabs) .hs-handoff-form select{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .hs-handoff-form .notice,
body:has(.client-profile-tabs) .hs-handoff-form .check-row,
body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
body:has(.client-profile-tabs) .hs-handoff-form .notice{margin:0!important;padding:11px 12px!important;line-height:1.5!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;padding:12px!important;margin:0!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row>input[type=checkbox]{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:3px 0 0!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row>span{display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;overflow-wrap:anywhere!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row strong{display:block!important;line-height:1.45!important;overflow-wrap:anywhere!important}
body:has(.client-profile-tabs) .hs-handoff-form .check-row small{display:block!important;margin-top:5px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
body:has(.client-profile-tabs) .hs-handoff-form .span-2:last-child{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 10px!important}
body:has(.client-profile-tabs) .hs-handoff-form .span-2:last-child .muted{margin-left:0!important;white-space:normal!important}
body:has(.client-profile-tabs) .profile-grid #enrollment-history,
body:has(.client-profile-tabs) .profile-grid #household,
body:has(.client-profile-tabs) .profile-grid #documents,
body:has(.client-profile-tabs) .profile-grid #communications{margin-top:0!important}
body:has(.client-profile-tabs) .profile-grid .table-wrap{max-width:100%!important;overflow-x:auto!important}
body:has(.client-profile-tabs) .profile-grid .form-grid{min-width:0!important;gap:12px!important}
body:has(.client-profile-tabs) .profile-grid .form-grid>label{min-width:0!important;max-width:100%!important}
body:has(.client-profile-tabs) .profile-grid .form-grid input,
body:has(.client-profile-tabs) .profile-grid .form-grid select,
body:has(.client-profile-tabs) .profile-grid .form-grid textarea{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .profile-grid .check-row{display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid .check-row>span{flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important}
@media(max-width:1050px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
 body:has(.client-profile-tabs) .hs-handoff-compact,body:has(.client-profile-tabs) #client-details{grid-column:auto!important}
}
@media(max-width:760px){
 body:has(.client-profile-tabs) .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body:has(.client-profile-tabs) .profile-grid .panel,body:has(.client-profile-tabs) #client-details,body:has(.client-profile-tabs) .hs-handoff-compact{grid-column:1!important}
 body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body:has(.client-profile-tabs) .hs-handoff-form .notice,
 body:has(.client-profile-tabs) .hs-handoff-form .check-row,
 body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1/-1!important}
}
@media(max-width:460px){
 body:has(.client-profile-tabs) .hs-handoff-form{grid-template-columns:minmax(0,1fr)!important}
 body:has(.client-profile-tabs) .hs-handoff-form .notice,
 body:has(.client-profile-tabs) .hs-handoff-form .check-row,
 body:has(.client-profile-tabs) .hs-handoff-form .span-2{grid-column:1!important}
 body:has(.client-profile-tabs) .hs-handoff-compact .panel-head,
 body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:12px!important}
}

/* v1.2.50 — hard restore full-width two-column client profile (v1.2.47 layout). */
body:has(.client-profile-tabs) .main-content,
body:has(.client-profile-tabs) main.main-content{width:100%!important;max-width:none!important;min-width:0!important;}
body:has(.client-profile-tabs) .profile-grid{
  display:block!important;position:relative!important;width:100%!important;max-width:none!important;min-width:0!important;
  columns:2 520px!important;column-gap:24px!important;column-fill:balance!important;
  margin:14px 0 20px!important;padding:0!important;box-sizing:border-box!important;
}
body:has(.client-profile-tabs) .profile-grid>div:first-child,
body:has(.client-profile-tabs) .profile-grid>div:nth-child(2),
body:has(.client-profile-tabs) .profile-grid .overview-sections,
body:has(.client-profile-tabs) .profile-grid>.overview-sections{display:contents!important;}
body:has(.client-profile-tabs) .profile-grid>.panel,
body:has(.client-profile-tabs) .profile-grid .panel{
  display:inline-block!important;vertical-align:top!important;width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0 0 16px!important;padding:0!important;break-inside:avoid!important;page-break-inside:avoid!important;
  box-sizing:border-box!important;border-radius:16px!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-head{padding:16px 18px!important;gap:12px!important;box-sizing:border-box!important;}
body:has(.client-profile-tabs) .profile-grid .panel-body{padding:16px 18px!important;min-width:0!important;box-sizing:border-box!important;}
body:has(.client-profile-tabs) .profile-grid .detail-list,
body:has(.client-profile-tabs) .profile-grid .overview-field-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 12px!important;min-width:0!important;box-sizing:border-box!important;}
body:has(.client-profile-tabs) .profile-grid .detail-item,
body:has(.client-profile-tabs) .profile-grid .overview-field{min-width:0!important;max-width:100%!important;margin:0!important;padding:12px 13px!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;}
body:has(.client-profile-tabs) .profile-grid .hs-handoff-compact{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;}
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:start!important;min-width:0!important;}
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form>label,
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form input,
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form select,
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form textarea{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;}
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .notice,
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .check-row,
body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .span-2{grid-column:1/-1!important;}
body:has(.client-profile-tabs) .profile-grid .internal-note-content{display:block!important;columns:1!important;column-count:1!important;padding:14px!important;line-height:1.65!important;overflow-wrap:anywhere!important;}
body:has(.client-profile-tabs) .profile-grid #team-notes>.panel-body{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:14px!important;align-items:start!important;overflow:visible!important;}
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-card{width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important;}
body:has(.client-profile-tabs) .profile-grid #team-notes .team-note-timeline{min-width:0!important;max-height:420px!important;overflow:auto!important;}
@media(max-width:900px){
 body:has(.client-profile-tabs) .profile-grid{columns:2 360px!important;column-gap:16px!important;}
 body:has(.client-profile-tabs) .profile-grid .panel-head{padding:14px!important;}
 body:has(.client-profile-tabs) .profile-grid .panel-body{padding:14px!important;}
}
@media(max-width:700px){
 body:has(.client-profile-tabs) .profile-grid{columns:1!important;column-count:1!important;column-gap:0!important;}
 body:has(.client-profile-tabs) .profile-grid .detail-list,
 body:has(.client-profile-tabs) .profile-grid .overview-field-grid,
 body:has(.client-profile-tabs) .profile-grid .hs-handoff-form,
 body:has(.client-profile-tabs) .profile-grid #team-notes>.panel-body{grid-template-columns:minmax(0,1fr)!important;}
 body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .notice,
 body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .check-row,
 body:has(.client-profile-tabs) .profile-grid .hs-handoff-form .span-2{grid-column:1!important;}
}

/* v1.2.51 — final client-profile spacing and card polish */
body:has(.client-profile-tabs) .profile-grid > .panel,
body:has(.client-profile-tabs) .profile-grid .panel{
  margin-bottom:18px!important;
  border:1px solid var(--line)!important;
  overflow:hidden!important;
  min-width:0!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-head{
  padding:17px 19px!important;
  margin:0!important;
  min-width:0!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body{
  padding:18px!important;
  display:block;
  min-width:0!important;
}
/* Consent/compliance forms: two balanced columns, full-width explanations and attestations. */
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid){
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px 14px!important;
  align-items:start!important;
  margin:14px 0 0!important;
  padding:0!important;
  min-width:0!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>label{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin:0!important;
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>label.span-2,
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.check-row,
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.btn,
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.btn-block{
  grid-column:1/-1!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) input:not([type=checkbox]),
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) select,
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) textarea{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) label small{
  display:block!important;line-height:1.5!important;margin:0!important;overflow-wrap:anywhere!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) .check-row{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:11px!important;
  padding:14px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:12px!important;
  background:rgba(80,130,190,.08)!important;box-sizing:border-box!important;
}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) .check-row input[type=checkbox]{flex:0 0 16px!important;width:16px!important;height:16px!important;margin:3px 0 0!important}
body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid) .check-row span{min-width:0!important;flex:1 1 auto!important;overflow-wrap:anywhere!important;line-height:1.5!important}
body:has(.client-profile-tabs) .profile-grid .detail-item{padding:13px 14px!important;margin:0!important;border-radius:12px!important;box-sizing:border-box!important}
/* Private documents and communications get consistent internal rhythm. */
body:has(.client-profile-tabs) .profile-grid #documents .panel-body,
body:has(.client-profile-tabs) .profile-grid #communications .panel-body{padding:18px!important}
body:has(.client-profile-tabs) .profile-grid #documents .panel-body>form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-top:14px!important}
body:has(.client-profile-tabs) .profile-grid #documents .panel-body>form label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid #documents input,
body:has(.client-profile-tabs) .profile-grid #documents select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
body:has(.client-profile-tabs) .profile-grid #communications .timeline-row,
body:has(.client-profile-tabs) .profile-grid .timeline-row{gap:12px!important;padding:12px 0!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid .timeline-row>div{min-width:0!important;overflow-wrap:anywhere!important}
body:has(.client-profile-tabs) .profile-grid details{padding:13px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:rgba(80,130,190,.05)!important}
body:has(.client-profile-tabs) .profile-grid details[open] summary{margin-bottom:12px!important}
body:has(.client-profile-tabs) .profile-grid #team-notes>.panel-body{padding:16px!important;gap:16px!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-card{padding:15px!important;border-radius:13px!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-form label{display:flex!important;flex-direction:column!important;gap:6px!important;margin:0!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-form select,
body:has(.client-profile-tabs) .profile-grid #team-notes .note-composer-form textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .team-note-timeline{max-height:440px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 5px 0 0!important;overscroll-behavior:contain!important}
body:has(.client-profile-tabs) .profile-grid #team-notes .team-note-entry p{line-height:1.6!important;overflow-wrap:anywhere!important}
@media(max-width:700px){
 body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid){grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>label.span-2,
 body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.check-row,
 body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.btn,
 body:has(.client-profile-tabs) .profile-grid .panel-body>form:not(.form-grid)>.btn-block{grid-column:1!important}
 body:has(.client-profile-tabs) .profile-grid #team-notes>.panel-body{grid-template-columns:minmax(0,1fr)!important;padding:13px!important}
 body:has(.client-profile-tabs) .profile-grid .panel-head,body:has(.client-profile-tabs) .profile-grid .panel-body{padding:13px!important}
}

/* v1.2.53 — compact, polished client notes and outbound workspace */
body:has(.client-profile-tabs) .profile-team-notes-rail{align-self:start!important;height:auto!important;min-height:0!important;overflow:visible!important}
body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{display:grid!important;grid-template-columns:minmax(250px,300px) minmax(0,1fr)!important;align-items:start!important;gap:16px!important;padding:16px!important;height:auto!important;min-height:0!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-card{width:100%;box-sizing:border-box;background:linear-gradient(145deg,rgba(27,55,88,.72),rgba(12,25,42,.88));border:1px solid rgba(75,157,255,.32);box-shadow:0 8px 22px rgba(0,0,0,.12)}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-form{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-actions{grid-column:auto!important;align-items:flex-start!important;flex-direction:column!important;gap:9px!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .note-composer-actions .btn{width:auto!important;min-width:112px}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{display:grid!important;gap:10px!important;align-content:start!important;min-width:0!important;width:100%!important;max-height:460px!important;overflow:auto!important;padding:0 5px 0 0!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .timeline-row{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border:1px solid rgba(91,119,154,.2);border-radius:13px;background:rgba(7,17,30,.34);margin:0!important}
body:has(.client-profile-tabs) .profile-team-notes-rail .timeline-bullet{flex:0 0 30px;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(54,142,255,.13);color:#8ec5ff}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-entry-head{align-items:flex-start;gap:6px}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-entry-head small{white-space:normal;text-align:right}
body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-entry p{margin:7px 0 0;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:900px){body:has(.client-profile-tabs) .profile-team-notes-rail>.panel-body{grid-template-columns:minmax(0,1fr)!important}body:has(.client-profile-tabs) .profile-team-notes-rail .team-note-timeline{max-height:360px!important}}
/* v1.2.54 outbound directory search, state badges and reminder controls */
.outbound-state-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:5px 8px;border:1px solid rgba(91,157,255,.35);border-radius:9px;background:rgba(54,128,235,.12);color:var(--text,#eaf2ff);font-size:11px;font-weight:800;letter-spacing:.04em}
.outbound-directory-results{margin:0 14px 14px;padding:16px;border:1px solid rgba(71,145,245,.32);border-radius:15px;background:linear-gradient(145deg,rgba(24,48,80,.52),rgba(13,25,43,.74));box-shadow:0 10px 30px rgba(0,0,0,.12)}
.outbound-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.outbound-directory-head strong{display:block;font-size:14px}.outbound-directory-head small{display:block;color:var(--muted,#92a6c2);margin-top:4px}.outbound-directory-head>span{font-size:12px;color:var(--muted,#92a6c2);white-space:nowrap}
.outbound-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.outbound-directory-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--border,#26364d);border-radius:12px;background:rgba(8,19,34,.62);min-width:0}.outbound-directory-card>div:first-child{min-width:0}.outbound-directory-card strong,.outbound-directory-card small{display:block;overflow-wrap:anywhere}.outbound-directory-card strong{font-size:13px}.outbound-directory-card small{font-size:11px;color:var(--muted,#92a6c2);margin-top:4px}.outbound-directory-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.outbound-directory-actions form{margin:0}
.outbound-reminder-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding-top:18px}.outbound-reminder-action small,.outbound-followup-field small{font-size:11px;color:var(--muted,#92a6c2);line-height:1.4}.outbound-followup-field{align-self:start}
@media(max-width:1000px){.outbound-directory-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:620px){.outbound-directory-card{align-items:flex-start;flex-direction:column}.outbound-directory-actions{flex-wrap:wrap}.outbound-directory-head{align-items:flex-start;flex-direction:column}.outbound-reminder-action{padding-top:0}}


/* v1.2.56 — client profile visual hierarchy and note workspace */
body:has(.client-profile-tabs) .profile-grid{column-gap:22px!important;row-gap:22px!important;align-items:start!important}
body:has(.client-profile-tabs) .profile-grid>div{min-width:0!important;display:flex;flex-direction:column;gap:18px!important}
body:has(.client-profile-tabs) .profile-grid .panel,
body:has(.client-profile-tabs) .profile-grid .overview-panel,
body:has(.client-profile-tabs) .hs-handoff-compact,
body:has(.client-profile-tabs) #team-notes,
body:has(.client-profile-tabs) #enrollment-history{margin:0!important;min-width:0!important;border-radius:18px!important;overflow:hidden;border:1px solid rgba(113,151,198,.22)!important;box-shadow:0 12px 28px rgba(0,0,0,.14)!important}
body:has(.client-profile-tabs) .hs-handoff-compact{order:20!important;background:linear-gradient(145deg,rgba(16,31,51,.98),rgba(10,22,38,.98))!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-head{gap:16px!important;align-items:center!important;flex-wrap:wrap!important;padding:19px 22px!important}
body:has(.client-profile-tabs) .hs-handoff-compact .panel-body{padding:20px 22px 22px!important}
body:has(.client-profile-tabs) .hs-handoff-compact .hs-handoff-form{gap:15px!important}
body:has(.client-profile-tabs) .hs-handoff-compact .notice{border-radius:13px!important;line-height:1.6!important}
body:has(.client-profile-tabs) #team-notes{margin-top:22px!important;background:linear-gradient(155deg,rgba(17,32,52,.98),rgba(9,22,38,.98))!important}
body:has(.client-profile-tabs) #team-notes>.panel-head{padding:21px 24px!important;background:linear-gradient(100deg,rgba(33,75,119,.22),rgba(10,22,38,.12))!important}
body:has(.client-profile-tabs) #team-notes>.panel-head .panel-title{font-size:17px!important;letter-spacing:-.02em!important}
body:has(.client-profile-tabs) #team-notes>.panel-body{display:flex!important;flex-direction:column!important;gap:18px!important;padding:22px 24px 24px!important}
body:has(.client-profile-tabs) #team-notes .note-composer-card{width:100%!important;max-width:none!important;box-sizing:border-box!important;padding:20px!important;border-radius:16px!important;border:1px solid rgba(76,160,255,.30)!important;background:linear-gradient(135deg,rgba(28,57,91,.58),rgba(12,26,44,.92))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 24px rgba(0,0,0,.12)!important}
body:has(.client-profile-tabs) #team-notes .note-composer-card h3{font-size:15px!important;margin:0 0 7px!important;display:flex;align-items:center;gap:8px}
body:has(.client-profile-tabs) #team-notes .note-composer-card>p{max-width:900px!important;line-height:1.6!important;margin:0 0 17px!important;color:var(--muted)!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form{display:grid!important;grid-template-columns:minmax(220px,.36fr) minmax(0,1fr)!important;gap:14px 18px!important;align-items:start!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form label{display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;min-width:0!important;font-size:12px!important;font-weight:700!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form label select,
body:has(.client-profile-tabs) #team-notes .note-composer-form label textarea{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;border-radius:12px!important;background:rgba(6,16,29,.78)!important;border:1px solid rgba(117,153,194,.27)!important;padding:12px 14px!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form label textarea{min-height:108px!important;resize:vertical!important;line-height:1.6!important}
body:has(.client-profile-tabs) #team-notes .note-composer-actions{grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding-top:4px!important}
body:has(.client-profile-tabs) #team-notes .note-composer-actions .btn{min-width:130px!important}
body:has(.client-profile-tabs) #team-notes .team-notes-empty{padding:26px!important;border:1px dashed rgba(117,153,194,.3)!important;border-radius:15px!important;text-align:center!important;background:rgba(6,16,29,.25)!important}
body:has(.client-profile-tabs) #team-notes .team-note-timeline{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;max-height:560px!important;overflow:auto!important;padding:1px 5px 1px 1px!important;align-content:start!important}
body:has(.client-profile-tabs) #team-notes .team-note-timeline .timeline-row{display:flex!important;align-items:flex-start!important;gap:12px!important;padding:16px!important;margin:0!important;min-width:0!important;border:1px solid rgba(104,143,187,.2)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(13,28,46,.9),rgba(8,19,33,.78))!important;box-shadow:0 5px 14px rgba(0,0,0,.09)!important}
body:has(.client-profile-tabs) #team-notes .team-note-timeline .timeline-row>div{min-width:0!important;flex:1!important}
body:has(.client-profile-tabs) #team-notes .timeline-bullet{flex:0 0 34px!important;width:34px!important;height:34px!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,rgba(53,139,255,.22),rgba(44,193,207,.13))!important;color:#8dc7ff!important;border:1px solid rgba(91,163,255,.2)!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head strong{font-size:12px!important;letter-spacing:.02em!important;text-transform:capitalize!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head small{font-size:10px!important;color:var(--muted)!important;white-space:normal!important;text-align:left!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry p{margin:9px 0 0!important;line-height:1.65!important;overflow-wrap:anywhere!important;color:var(--text)!important}
body:has(.client-profile-tabs) #enrollment-history{margin-top:22px!important}
body:has(.client-profile-tabs) #enrollment-history .panel-head{padding:20px 22px!important}
body:has(.client-profile-tabs) #enrollment-history .table-wrap{padding:0 12px 12px!important}
@media(max-width:900px){body:has(.client-profile-tabs) #team-notes .note-composer-form{grid-template-columns:minmax(0,1fr)!important}body:has(.client-profile-tabs) #team-notes .team-note-timeline{grid-template-columns:minmax(0,1fr)!important}body:has(.client-profile-tabs) #team-notes .note-composer-actions{align-items:stretch!important;flex-direction:column!important}body:has(.client-profile-tabs) #team-notes .note-composer-actions .btn{width:100%!important}}

/* v1.2.57 — polished call-result modal and explicit DNC control */
.outbound-modal-card:not(.outbound-wide){width:min(760px,100%);border:1px solid rgba(104,158,224,.3);background:radial-gradient(900px 260px at 0% 0%,rgba(43,113,202,.16),transparent 60%),linear-gradient(155deg,#111f33 0%,#0b1728 100%);box-shadow:0 30px 100px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.035)}
.outbound-modal-head{padding:22px 24px;background:linear-gradient(100deg,rgba(40,91,153,.2),rgba(14,28,47,.1));align-items:flex-start}
.outbound-modal-head strong{display:block;font-size:17px;letter-spacing:-.025em;color:#f3f7ff}
.outbound-modal-head .muted{margin-top:6px;font-size:12px;line-height:1.5}
.outbound-modal-body{padding:22px 24px 24px}
.outbound-form-grid{gap:17px 16px;align-items:start}
.outbound-form-grid label{gap:8px;font-size:12px;font-weight:700;color:#c3d2e8;min-width:0}
.outbound-form-grid input,.outbound-form-grid select,.outbound-form-grid textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(119,151,190,.25);border-radius:12px;background:#0a1627;color:#edf5ff;padding:12px 14px;min-height:46px;transition:border-color .18s,box-shadow .18s,background .18s}
.outbound-form-grid textarea{min-height:106px;line-height:1.6;resize:vertical}
.outbound-form-grid input:focus,.outbound-form-grid select:focus,.outbound-form-grid textarea:focus{outline:none;border-color:#4c9bff;box-shadow:0 0 0 3px rgba(62,145,255,.14);background:#0c1b30}
.outbound-timestamp{padding:15px 16px;border-radius:14px;background:linear-gradient(120deg,rgba(39,105,184,.19),rgba(18,39,64,.65));border-color:rgba(87,158,244,.3);min-height:54px}
.outbound-timestamp>span{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:rgba(61,145,255,.16);color:#9dccff;font-size:17px;flex:none}
.outbound-timestamp strong{font-size:12px;color:#e9f3ff}
.outbound-timestamp small{display:block;margin-top:5px;line-height:1.5}
.outbound-outcome-field{display:flex;flex-direction:column;gap:10px;min-width:0}
.outbound-outcome-field>label{display:grid;gap:8px}
.outbound-outcome-field>small{font-size:11px;line-height:1.5;color:#8fa7c6}
.outbound-dnc-button{align-self:flex-start;border:1px solid rgba(255,111,125,.42);border-radius:11px;padding:10px 13px;background:linear-gradient(135deg,rgba(146,36,54,.24),rgba(94,24,39,.18));color:#ffb9c0;font-size:11px;font-weight:800;cursor:pointer;transition:all .18s}
.outbound-dnc-button:hover{border-color:rgba(255,111,125,.75);background:rgba(160,42,59,.32);transform:translateY(-1px)}
.outbound-dnc-selected .outbound-dnc-button{background:linear-gradient(135deg,#a52d42,#7b2035);border-color:#f07887;color:#fff;box-shadow:0 0 0 3px rgba(235,72,95,.13)}
.outbound-dnc-selected .outbound-outcome-field select{border-color:rgba(255,102,121,.72);box-shadow:0 0 0 3px rgba(235,72,95,.1)}
.outbound-reminder-action{align-self:start;padding:0!important;margin-top:1px;min-width:0}
.outbound-reminder-action .btn{border-radius:11px;min-height:42px;font-weight:750}
.outbound-reminder-action small{line-height:1.5;max-width:240px}
.outbound-form-grid>.notice{padding:13px 15px!important;border-radius:13px!important;background:rgba(29,54,83,.48)!important;border:1px solid rgba(104,146,196,.2)!important;color:#a9bfdc!important;line-height:1.55!important;font-size:11px!important}
.outbound-modal-foot{position:sticky;bottom:-24px;margin:20px -24px -24px;padding:16px 24px 20px;background:linear-gradient(180deg,rgba(13,25,42,.93),#0b1728);border-top:1px solid rgba(111,146,189,.17);z-index:2}
.outbound-modal-foot .btn{min-height:44px;padding:11px 17px;border-radius:12px;font-weight:800}
.outbound-modal-foot .btn-primary{box-shadow:0 7px 20px rgba(34,116,235,.2)}
@media(max-width:640px){.outbound-modal-head{padding:17px}.outbound-modal-body{padding:16px}.outbound-form-grid{gap:14px}.outbound-modal-foot{bottom:-16px;margin:16px -16px -16px;padding:13px 16px 16px}.outbound-modal-foot .btn{flex:1}.outbound-outcome-field{grid-column:1/-1}}


/* v1.2.58 — compact queue filters and consistent client-profile rhythm */
.outbound-filter-details{border-bottom:1px solid var(--border);background:rgba(8,17,30,.18)}
.outbound-filter-details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;padding:11px 15px;min-height:48px;user-select:none}
.outbound-filter-details>summary::-webkit-details-marker{display:none}
.outbound-filter-summary-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(80,150,245,.28);border-radius:9px;background:rgba(50,126,235,.12);color:#8bc2ff;font-size:16px;flex:none}
.outbound-filter-details>summary>span:nth-child(2){display:grid;gap:2px}
.outbound-filter-details>summary strong{font-size:12px;color:var(--text)}
.outbound-filter-details>summary small{font-size:10px;color:var(--muted)}
.outbound-filter-summary-action{margin-left:auto;display:flex;align-items:center;gap:8px;color:#8fc1ff;font-size:11px;font-weight:750}
.outbound-filter-summary-action b{font-size:16px;transition:transform .18s}
.outbound-filter-details[open] .outbound-filter-summary-action b{transform:rotate(45deg)}
.outbound-filters{grid-template-columns:minmax(180px,1.65fr) repeat(5,minmax(108px,1fr)) minmax(94px,.72fr) auto;align-items:end;gap:9px;padding:12px 14px}
.outbound-filters label{min-width:0;gap:5px;font-size:10px;font-weight:700;letter-spacing:.1px}
.outbound-filters input,.outbound-filters select{height:38px;min-height:38px;padding:0 11px;border-radius:10px;font-size:11px}
.outbound-filter-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}
.outbound-filter-actions .btn{height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;font-size:10px}
.outbound-add-client{margin:0 14px 14px;border:1px solid rgba(75,143,235,.25);border-radius:15px;overflow:hidden;background:linear-gradient(145deg,rgba(18,34,56,.75),rgba(10,22,38,.75))}
.outbound-add-client>summary{padding:13px 16px;gap:12px;min-height:62px}
.outbound-add-client .outbound-add-body{padding:15px 16px 17px;border-top:1px solid rgba(137,166,204,.12)}
.outbound-add-form{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(155px,.85fr) minmax(130px,.65fr) auto;gap:12px;align-items:end}
.outbound-add-form label{display:grid;gap:6px;min-width:0;font-size:10px;color:var(--muted);font-weight:700}
.outbound-add-form input,.outbound-add-form select{width:100%;min-width:0;height:39px;min-height:39px;border-radius:10px}
.outbound-add-client-field{grid-row:span 2}
.outbound-add-client-field select{grid-row:2}
.outbound-picker-hint{grid-column:1/-1;font-size:10px;color:var(--muted);font-weight:500}
.outbound-add-submit{height:39px;white-space:nowrap;align-self:end}
.outbound-table-wrap{margin:0 14px 14px;border:1px solid rgba(137,166,204,.13);border-radius:13px}
.outbound-table{min-width:1180px}
.outbound-table th a{padding:11px 9px;font-size:10px;letter-spacing:.25px}
.outbound-table td{padding:10px 9px;font-size:11px}
.profile-grid{gap:22px;align-items:start}
.profile-grid>div{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:20px;min-width:0}
.profile-grid>div>.panel{margin:0!important;min-width:0}
.profile-grid .panel-body{padding:20px 22px}
.profile-grid .panel-head{padding:17px 22px 15px}
.profile-grid .panel-body>form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:13px}
.profile-grid .panel-body>form>label{display:grid;align-content:start;gap:6px;min-width:0;margin:0!important;font-size:11px}
.profile-grid .panel-body>form>label.span-2,.profile-grid .panel-body>form>.span-2,.profile-grid .panel-body>form>.check-row,.profile-grid .panel-body>form>button{grid-column:1/-1}
.profile-grid .panel-body>form input:not([type=checkbox]):not([type=radio]),.profile-grid .panel-body>form select,.profile-grid .panel-body>form textarea{width:100%;min-width:0;box-sizing:border-box}
.profile-grid .panel-body>form .check-row{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid rgba(100,145,205,.2);border-radius:12px;background:rgba(25,46,73,.32);margin:0!important}
.profile-grid .panel-body>form .check-row input{margin-top:3px;flex:none}
.profile-grid .panel-body>form label small{display:block;line-height:1.5;margin-top:2px}
.profile-grid .detail-item{min-width:0;overflow-wrap:anywhere}
.profile-grid .timeline-row{margin:0 0 12px;padding:12px;border:1px solid rgba(137,166,204,.14);border-radius:12px;background:rgba(7,17,30,.22)}
@media(max-width:1400px){.outbound-filters{grid-template-columns:minmax(170px,1.5fr) repeat(3,minmax(120px,1fr));}.outbound-filter-actions{grid-column:span 1}.outbound-add-form{grid-template-columns:minmax(180px,1.5fr) minmax(140px,.8fr) minmax(120px,.6fr) auto}}
@media(max-width:900px){.outbound-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.outbound-filters label:first-of-type{grid-column:1/-1}.outbound-filter-actions{grid-column:1/-1}.outbound-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.outbound-add-client-field{grid-row:auto}.outbound-add-submit{width:100%}.profile-grid{grid-template-columns:minmax(0,1fr);gap:18px}.profile-grid>div{gap:18px}}
@media(max-width:560px){.outbound-filters{grid-template-columns:minmax(0,1fr)}.outbound-filters label:first-of-type,.outbound-filter-actions{grid-column:auto}.outbound-filter-actions .btn{flex:1}.outbound-add-form{grid-template-columns:minmax(0,1fr)}.profile-grid .panel-body{padding:15px}.profile-grid .panel-head{padding:15px}.profile-grid .panel-body>form{grid-template-columns:minmax(0,1fr)}.profile-grid .panel-body>form>label.span-2,.profile-grid .panel-body>form>.span-2,.profile-grid .panel-body>form>.check-row,.profile-grid .panel-body>form>button{grid-column:auto}}


/* v1.2.59 — deliberate spacing, clean outbound filters, client overview side rail */
.outbound-filter-details{margin:0 14px 16px;border:1px solid rgba(125,157,198,.2)!important;border-radius:16px!important;overflow:hidden;background:linear-gradient(150deg,rgba(16,31,51,.94),rgba(10,20,35,.94))!important;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.outbound-filter-details>summary{padding:15px 18px!important;min-height:66px!important;gap:13px!important}
.outbound-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:15px 16px!important;padding:20px!important;align-items:end!important}
.outbound-filters label{display:grid!important;gap:8px!important;min-width:0!important;font-size:11px!important;line-height:1.35!important;color:#b9cbe1!important}
.outbound-filters input,.outbound-filters select{width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;padding:0 13px!important;border-radius:11px!important;font-size:12px!important;box-sizing:border-box!important}
.outbound-filter-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;flex-wrap:wrap!important;grid-column:1/-1!important;padding-top:4px!important}
.outbound-filter-actions .btn{height:42px!important;min-height:42px!important;padding:0 18px!important;border-radius:11px!important;font-size:12px!important}
.outbound-add-client{margin:0 16px 18px!important;border-radius:17px!important;border:1px solid rgba(92,151,236,.26)!important;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.outbound-add-client>summary{padding:17px 20px!important;min-height:70px!important}
.outbound-add-client .outbound-add-body{padding:22px!important}
.outbound-add-form{grid-template-columns:minmax(0,2fr) minmax(170px,1fr) minmax(150px,.85fr) auto!important;gap:17px!important;align-items:end!important}
.outbound-add-form label{gap:9px!important;font-size:11px!important;line-height:1.4!important}
.outbound-add-form input,.outbound-add-form select{height:45px!important;min-height:45px!important;padding:0 13px!important;border-radius:11px!important;box-sizing:border-box!important;font-size:12px!important}
.outbound-add-client-field{grid-row:auto!important}
.outbound-add-client-field select{grid-row:auto!important}
.outbound-picker-hint{grid-column:1/-1!important;margin-top:-4px!important;line-height:1.5!important}
.outbound-add-submit{height:45px!important;min-height:45px!important;padding:0 19px!important;border-radius:11px!important;font-size:12px!important}
.outbound-table-wrap{margin:0 16px 18px!important;border-radius:15px!important;overflow:auto!important}
.outbound-toolbar{padding:18px 20px!important;gap:14px!important}
.outbound-table th a{padding:14px 12px!important}
.outbound-table td{padding:14px 12px!important}
.client-overview-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,290px);gap:16px;align-items:stretch;margin-bottom:18px}
.client-overview-top .client-hero{margin:0;min-width:0;min-height:120px;padding:22px 24px;gap:17px;border-radius:16px}
.client-overview-top .client-hero>div:nth-child(2){min-width:0}
.client-overview-top .client-hero h2{line-height:1.25;overflow-wrap:anywhere}
.client-overview-top .client-hero p{line-height:1.7;overflow-wrap:anywhere}
.client-overview-top .client-hero .hero-actions{align-items:center;justify-content:flex-end;max-width:230px}
.client-overview-top .client-profile-tabs{position:static;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:5px;margin:0;padding:10px;border-radius:16px;white-space:normal;overflow:visible;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.client-overview-top .client-profile-tabs a{display:flex;align-items:center;min-height:32px;padding:7px 10px;border-radius:9px;line-height:1.3;font-size:11px}
.client-overview-top .client-profile-tabs a:hover{transform:translateX(2px)}
.profile-grid{gap:24px!important}
.profile-grid>div{gap:22px!important}
.profile-grid>div>.panel{border-radius:16px!important;overflow:hidden}
.profile-grid .panel-head{padding:19px 22px 17px!important;gap:14px!important}
.profile-grid .panel-body{padding:22px!important}
.profile-grid .panel-body>form{column-gap:18px!important;row-gap:16px!important}
.profile-grid .panel-body>form>label{gap:8px!important;line-height:1.45!important}
.profile-grid .panel-body>form input:not([type=checkbox]):not([type=radio]),.profile-grid .panel-body>form select,.profile-grid .panel-body>form textarea{min-height:42px;padding:10px 12px;border-radius:10px}
.profile-grid .panel-body>form textarea{min-height:90px}
.profile-grid .panel-body>form .check-row{padding:15px 16px!important;gap:12px!important;line-height:1.55!important}
.profile-grid .panel-body>form label small{line-height:1.6!important;margin-top:5px!important}
.profile-grid .timeline-row{margin:0 0 14px!important;padding:15px!important}
body:has(.client-profile-tabs) .team-notes-panel{margin-top:18px!important;border-radius:16px!important;overflow:hidden}
body:has(.client-profile-tabs) .team-notes-panel .panel-body{grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr)!important;gap:20px!important;padding:22px!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-card{padding:20px!important;border-radius:14px!important;border:1px solid rgba(125,157,198,.2)!important;background:rgba(7,17,30,.28)!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-card h3{margin:0 0 10px!important;line-height:1.4}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-card p{line-height:1.65!important;margin:0 0 16px!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form{gap:14px!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form label{gap:8px!important;line-height:1.45!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form select,body:has(.client-profile-tabs) .team-notes-panel .note-composer-form textarea{width:100%;box-sizing:border-box;min-height:43px;border-radius:10px;padding:11px 12px}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form textarea{min-height:130px}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-actions{gap:12px!important;align-items:center!important;flex-wrap:wrap}
body:has(.client-profile-tabs) .team-notes-panel .team-notes-empty{padding:24px!important;border:1px dashed rgba(125,157,198,.24);border-radius:14px;background:rgba(7,17,30,.2);min-height:120px}
@media(max-width:1200px){
 .outbound-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .outbound-add-form{grid-template-columns:minmax(0,1.5fr) minmax(150px,1fr)!important}
 .outbound-add-submit{width:max-content}
 .client-overview-top{grid-template-columns:minmax(0,1fr) 250px}
 .client-overview-top .client-hero{flex-wrap:wrap}
}
@media(max-width:900px){
 .outbound-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:16px!important}
 .outbound-add-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important}
 .client-overview-top{grid-template-columns:minmax(0,1fr);gap:12px}
 .client-overview-top .client-profile-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}
 .client-overview-top .client-profile-tabs a{flex:none}
 body:has(.client-profile-tabs) .team-notes-panel .panel-body{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:560px){
 .outbound-filters{grid-template-columns:minmax(0,1fr)!important}
 .outbound-filter-actions{grid-column:auto!important}
 .outbound-filter-actions .btn{flex:1}
 .outbound-add-form{grid-template-columns:minmax(0,1fr)!important}
 .outbound-add-submit{width:100%}
 .outbound-add-client .outbound-add-body{padding:16px!important}
 .client-overview-top .client-hero{padding:17px!important;gap:12px}
 .client-overview-top .client-hero .hero-actions{margin-left:0;max-width:none;justify-content:flex-start}
 .profile-grid .panel-body{padding:16px!important}
 body:has(.client-profile-tabs) .team-notes-panel .panel-body{padding:16px!important;gap:15px!important}
 body:has(.client-profile-tabs) .team-notes-panel .note-composer-card{padding:16px!important}
}

/* v1.2.60: restore the clean horizontal client-section navigation and balanced profile spacing. */
.client-overview-top{display:flex!important;flex-direction:column!important;gap:14px!important;margin:0 0 22px!important;min-width:0!important}
.client-overview-top .client-hero{width:100%!important;box-sizing:border-box!important;min-height:132px!important;padding:24px 26px!important;gap:18px!important}
.client-overview-top .client-profile-tabs{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;margin:0!important;padding:12px 14px!important;border:1px solid var(--border,#24354b)!important;border-radius:14px!important;background:rgba(12,24,40,.8)!important;box-shadow:none!important;overflow:visible!important;white-space:normal!important}
.client-overview-top .client-profile-tabs a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;padding:9px 13px!important;border:1px solid transparent!important;border-radius:10px!important;line-height:1.35!important;font-size:12px!important;white-space:nowrap!important;transform:none!important}
.client-overview-top .client-profile-tabs a:hover{background:rgba(65,139,240,.12)!important;border-color:rgba(91,157,255,.22)!important;transform:translateY(-1px)!important}
body:has(.client-profile-tabs) .team-notes-panel{margin:0 0 22px!important;width:100%!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .team-notes-panel>.panel-head{padding:20px 24px!important}
body:has(.client-profile-tabs) .team-notes-panel>.panel-body{display:grid!important;grid-template-columns:minmax(270px,.78fr) minmax(0,1.22fr)!important;align-items:start!important;gap:20px!important;padding:22px 24px!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-card{min-width:0!important;margin:0!important;padding:20px!important;box-sizing:border-box!important;border-radius:14px!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form label{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form select,body:has(.client-profile-tabs) .team-notes-panel .note-composer-form textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .team-notes-panel .note-composer-form textarea{min-height:125px!important}
body:has(.client-profile-tabs) .team-notes-panel .team-note-timeline{min-width:0!important;display:grid!important;gap:12px!important;max-height:520px!important;overflow:auto!important;padding:1px 5px 1px 1px!important}
body:has(.client-profile-tabs) .team-notes-panel .timeline-row{margin:0!important;padding:15px 16px!important;gap:12px!important;box-sizing:border-box!important;border-radius:13px!important}
body:has(.client-profile-tabs) .profile-grid{gap:22px!important;align-items:start!important}
body:has(.client-profile-tabs) .profile-grid>div{gap:20px!important;min-width:0!important}
body:has(.client-profile-tabs) .profile-grid>div>.panel,body:has(.client-profile-tabs) .profile-grid>.panel{margin:0 0 20px!important;min-width:0!important;border-radius:16px!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .profile-grid .panel-head{padding:18px 22px!important}
body:has(.client-profile-tabs) .profile-grid .panel-body{padding:20px 22px!important;box-sizing:border-box!important}
body:has(.client-profile-tabs) .profile-grid .panel-body .form-grid{column-gap:18px!important;row-gap:16px!important}
body:has(.client-profile-tabs) .profile-grid .panel-body label{min-width:0!important;gap:8px!important}
body:has(.client-profile-tabs) .profile-grid .panel-body input:not([type=checkbox]):not([type=radio]),body:has(.client-profile-tabs) .profile-grid .panel-body select,body:has(.client-profile-tabs) .profile-grid .panel-body textarea{max-width:100%;box-sizing:border-box!important}
.outbound-bulk-add{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 16px 14px!important;padding:18px 20px!important;border:1px solid rgba(89,145,215,.24)!important;border-radius:15px!important;background:linear-gradient(115deg,rgba(30,73,124,.16),rgba(10,23,39,.78))!important;box-sizing:border-box}
.outbound-bulk-copy{display:flex;flex-direction:column;gap:6px;min-width:200px}.outbound-bulk-copy strong{font-size:13px}.outbound-bulk-copy small{font-size:11px;line-height:1.6;color:var(--muted,#9aacc3)}
.outbound-bulk-form{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}.outbound-bulk-form label{display:grid;gap:6px;min-width:145px;font-size:11px}.outbound-bulk-form select{height:42px;min-width:145px;max-width:100%;box-sizing:border-box;border-radius:10px;padding:8px 10px}.outbound-bulk-form .btn{min-height:42px;white-space:nowrap}
.outbound-table tbody tr[data-outbound-row-details]{cursor:pointer}.outbound-table tbody tr[data-outbound-row-details]:hover{background:rgba(70,135,220,.055)}.outbound-client-name{cursor:pointer}.outbound-detail-grid{align-items:start}.outbound-detail-card{min-width:0}.outbound-detail-card [data-detail-snapshot]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.outbound-detail-item{min-width:0;box-sizing:border-box;padding:11px 12px!important;border:1px solid rgba(104,133,171,.18);border-radius:10px;background:rgba(7,17,30,.24);overflow-wrap:anywhere}.outbound-detail-item p{margin:5px 0 0;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:900px){body:has(.client-profile-tabs) .team-notes-panel>.panel-body{grid-template-columns:minmax(0,1fr)!important;padding:16px!important;gap:15px!important}.client-overview-top .client-hero{padding:18px!important}.outbound-bulk-add{align-items:stretch;flex-direction:column}.outbound-bulk-form{justify-content:flex-start}.outbound-detail-card [data-detail-snapshot]{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.client-overview-top .client-profile-tabs{gap:6px!important;padding:10px!important}.client-overview-top .client-profile-tabs a{min-height:35px!important;padding:8px 10px!important;font-size:11px!important;white-space:normal!important}.body:has(.client-profile-tabs) .team-notes-panel>.panel-head{padding:16px!important}body:has(.client-profile-tabs) .team-notes-panel>.panel-body{padding:14px!important}.outbound-bulk-form{display:grid;grid-template-columns:minmax(0,1fr)!important}.outbound-bulk-form label,.outbound-bulk-form select,.outbound-bulk-form .btn{width:100%;min-width:0;box-sizing:border-box}}

/* v1.2.61 — dark-theme call outcomes, reminder card, and mobile-first touch targets. */
.outcome-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:850;color:#eaf3ff;margin-bottom:2px}.outcome-label span{font-size:10px;font-weight:650;color:#8fa8c8}
.outcome-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;padding:0!important;min-height:1px!important;border:0!important}
.outbound-outcome-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:3px}
.outcome-tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;min-width:0;min-height:92px;padding:12px 11px;border:1px solid rgba(117,151,193,.22);border-radius:13px;background:linear-gradient(155deg,rgba(19,37,61,.92),rgba(10,23,39,.92));color:#dce9fb;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,box-shadow .16s,transform .16s;touch-action:manipulation}
.outcome-tile:hover{border-color:rgba(90,163,255,.56);background:linear-gradient(155deg,rgba(30,64,101,.9),rgba(12,29,50,.96));transform:translateY(-1px)}
.outcome-tile:focus-visible{outline:2px solid #64aaff;outline-offset:2px}.outcome-tile .outcome-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:rgba(76,145,231,.13);border:1px solid rgba(90,157,244,.15);color:#91c5ff;font-size:17px;font-weight:850;line-height:1}
.outcome-tile strong{font-size:11px;line-height:1.3;font-weight:800;overflow-wrap:anywhere}.outcome-tile small{font-size:9px;line-height:1.35;color:#8ea5c4;overflow-wrap:anywhere}
.outcome-tile.is-selected{border-color:rgba(67,157,255,.82);background:linear-gradient(150deg,rgba(30,93,157,.4),rgba(12,35,60,.98));box-shadow:0 0 0 2px rgba(67,157,255,.13),inset 0 0 0 1px rgba(67,157,255,.1)}.outcome-tile.is-selected .outcome-icon{background:rgba(61,151,255,.2);border-color:rgba(94,171,255,.4);color:#d4eaff}
.outcome-tile[data-outcome-choice="do_not_contact"].is-selected{border-color:rgba(255,109,126,.85);background:linear-gradient(150deg,rgba(134,34,52,.38),rgba(39,17,30,.98));box-shadow:0 0 0 2px rgba(235,72,95,.13)}.outcome-tile[data-outcome-choice="do_not_contact"].is-selected .outcome-icon{background:rgba(232,66,88,.17);color:#ffabb5;border-color:rgba(255,109,126,.35)}
.outcome-help{display:block!important;font-size:10px!important;line-height:1.55!important;color:#91a8c6!important;margin-top:2px}
.outbound-reminder-card{display:grid;grid-template-columns:42px minmax(140px,1fr) minmax(210px,280px) auto;align-items:center;gap:12px;padding:15px;border:1px solid rgba(88,151,229,.23);border-radius:15px;background:linear-gradient(115deg,rgba(30,74,122,.19),rgba(10,23,39,.84));min-width:0;box-sizing:border-box}
.reminder-card-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(93,164,255,.22);border-radius:12px;background:rgba(62,139,232,.13);color:#9dceff;font-size:21px}
.reminder-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0}.reminder-card-copy strong{font-size:12px;color:#e4efff}.reminder-card-copy small,.reminder-status{font-size:10px;line-height:1.45;color:#91a8c6}
.outbound-reminder-card .outbound-followup-field{display:grid;gap:6px;min-width:0;font-size:10px;color:#a9bfd8}.outbound-reminder-card input[type="datetime-local"]{color-scheme:dark;min-height:43px;padding:9px 10px;background:#0a1728;color:#e7f1ff;border-color:rgba(111,154,208,.3);font-size:11px;max-width:100%}.outbound-reminder-card input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:invert(.82) sepia(.16) saturate(1.8) hue-rotate(175deg);cursor:pointer;opacity:.95}
.outbound-reminder-card>[data-outbound-reminder]{min-height:42px;white-space:nowrap}.outbound-reminder-card .reminder-status{grid-column:2/-1;margin-top:-5px}
.outbound-form-grid input[type="datetime-local"]{color-scheme:dark}.outbound-form-grid input[type="datetime-local"]::-webkit-calendar-picker-indicator{filter:invert(.82) sepia(.16) saturate(1.8) hue-rotate(175deg);cursor:pointer;opacity:.95}
@media(max-width:1000px){.outbound-outcome-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.outbound-reminder-card{grid-template-columns:42px minmax(0,1fr) minmax(200px,1fr)}.outbound-reminder-card>[data-outbound-reminder]{grid-column:2}.outbound-reminder-card .reminder-status{grid-column:3}}
@media(max-width:640px){.outbound-outcome-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.outcome-tile{min-height:82px;padding:11px}.outcome-tile strong{font-size:12px}.outcome-tile small{font-size:10px}.outbound-reminder-card{grid-template-columns:38px minmax(0,1fr);gap:10px;padding:13px}.reminder-card-icon{width:36px;height:36px}.outbound-reminder-card .outbound-followup-field,.outbound-reminder-card>[data-outbound-reminder],.outbound-reminder-card .reminder-status{grid-column:1/-1;width:100%;box-sizing:border-box}.outbound-reminder-card>[data-outbound-reminder]{justify-content:center}.outbound-reminder-card .reminder-status{margin-top:0}.outbound-modal-card{width:min(100% - 18px,680px);max-height:calc(100dvh - 18px);border-radius:17px}.outbound-modal-body{max-height:calc(100dvh - 145px);overflow:auto;overscroll-behavior:contain}.outbound-modal-foot{display:flex;gap:9px}.outbound-modal-foot .btn{min-width:0;padding:11px 9px;font-size:11px}.outcome-label{align-items:flex-start;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){.outcome-tile{transition:none}.outcome-tile:hover{transform:none}}

/* v1.2.62: keep bulk queue actions neatly inside the Add-to-queue disclosure. */
.outbound-add-client .outbound-add-body{display:grid;gap:16px;padding:16px 18px 18px;border-top:1px solid rgba(95,132,180,.18)}
.outbound-add-client .outbound-bulk-add{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0!important;padding:15px!important;border:1px solid rgba(74,151,255,.22)!important;border-radius:14px!important;background:linear-gradient(120deg,rgba(36,88,148,.14),rgba(10,23,39,.58))!important;box-sizing:border-box}
.outbound-add-client .outbound-bulk-copy strong,.outbound-add-client .outbound-bulk-copy small{display:block}
.outbound-add-client .outbound-bulk-copy strong{font-size:13px}
.outbound-add-client .outbound-bulk-copy small{font-size:11px;color:var(--muted);line-height:1.5;margin-top:4px}
.outbound-add-client .outbound-bulk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.outbound-add-client .outbound-bulk-form label{display:grid;gap:6px;font-size:11px;color:var(--muted);min-width:0}
.outbound-add-client .outbound-bulk-form select{width:100%;min-width:0;height:40px;border-radius:10px}
.outbound-add-client .outbound-bulk-form button{grid-column:1/-1;justify-self:start;min-height:40px}
.outcome-help[hidden],[data-dnc-help][hidden]{display:none!important}
@media(max-width:640px){.outbound-add-client .outbound-add-body{padding:12px;gap:12px}.outbound-add-client .outbound-bulk-form{grid-template-columns:minmax(0,1fr)}.outbound-add-client .outbound-bulk-form button{grid-column:auto;width:100%;justify-content:center}.outbound-add-form{grid-template-columns:minmax(0,1fr)!important}.outbound-add-submit{width:100%}}

/* v1.2.64 — messenger-grade chat popup, priority calling navigation, and calmer Quick Links. */
.sidebar{gap:0}
.sidebar-feature-link{display:flex;align-items:center;gap:11px;margin:12px 13px 17px;padding:13px 12px;min-height:66px;border:1px solid rgba(84,157,255,.38);border-radius:15px;text-decoration:none;color:#eef6ff;background:linear-gradient(120deg,rgba(44,111,205,.27),rgba(21,45,74,.72));box-shadow:0 10px 24px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.035);transition:border-color .18s,transform .18s,background .18s;box-sizing:border-box}
.sidebar-feature-link:hover,.sidebar-feature-link:focus-visible{border-color:rgba(108,180,255,.78);background:linear-gradient(120deg,rgba(44,111,205,.38),rgba(21,45,74,.85));transform:translateY(-1px);outline:none}
.sidebar-feature-link.active{border-color:#68adff;box-shadow:0 0 0 2px rgba(72,151,255,.13),0 10px 25px rgba(0,0,0,.15)}
.sidebar-feature-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#398df3,#2563bd);color:#fff;font-size:20px;box-shadow:0 5px 16px rgba(27,105,214,.25)}
.sidebar-feature-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.sidebar-feature-copy strong{font-size:12px;line-height:1.3;font-weight:850}.sidebar-feature-copy small{font-size:10px;color:#9cb8d9;line-height:1.35}.sidebar-feature-arrow{font-size:17px;color:#8ec4ff;align-self:flex-start}
.sidebar nav .nav-section{margin:15px 17px 8px;padding-top:12px;border-top:1px solid rgba(132,161,201,.1);font-size:9px;font-weight:850;letter-spacing:1.2px;color:#728baa;text-transform:uppercase}
.sidebar nav .nav-section:first-child{border-top:0;padding-top:0;margin-top:2px}
.sidebar nav .nav-link{margin:2px 9px;padding:10px 12px;min-height:39px;border-radius:10px;gap:10px;line-height:1.25;font-size:11px;box-sizing:border-box}
.sidebar nav .nav-link.active{box-shadow:inset 3px 0 0 #65a9ff;background:linear-gradient(90deg,rgba(62,132,232,.2),rgba(62,132,232,.055));border-color:rgba(93,156,239,.16)}
.sidebar nav .nav-link svg{flex:0 0 16px}
.sidebar nav .nav-link .nav-count{margin-left:auto;flex:none}
.command-quicklinks{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:13px 16px!important;margin-top:14px;border:1px solid rgba(103,145,204,.18);border-radius:15px;background:linear-gradient(120deg,rgba(21,43,69,.66),rgba(12,25,42,.74))}
.command-quicklinks>span{margin-right:5px;font-size:9px;letter-spacing:1.15px;font-weight:900;color:#8da9cb}
.command-quicklinks>a,.command-quicklinks>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:8px 11px;border:1px solid rgba(125,158,201,.17);border-radius:10px;background:rgba(255,255,255,.025);color:#dceaff;text-decoration:none;font-size:10px;font-weight:750;cursor:pointer}
.command-quicklinks>a:hover,.command-quicklinks>button:hover{border-color:rgba(105,170,255,.55);background:rgba(61,133,237,.13)}
.command-quicklinks .command-quicklink-primary{border-color:rgba(87,160,255,.48);background:linear-gradient(120deg,rgba(37,116,220,.3),rgba(37,116,220,.12));color:#f2f8ff}
.quick-links-panel{width:min(820px,calc(100vw - 32px))!important;height:auto!important;max-height:calc(100dvh - 100px)!important;min-height:0!important;gap:12px!important;padding:18px!important;border-radius:22px!important;overflow:auto!important;background:radial-gradient(ellipse at top left,rgba(40,91,160,.16),transparent 44%),var(--panel,#101e31)!important;box-shadow:0 30px 100px rgba(0,0,0,.55)!important}
.quick-links-panel>.overlay-head{padding:2px 2px 13px;border-bottom:1px solid rgba(130,160,204,.14);align-items:center}
.quick-links-panel>.overlay-head>strong{display:flex;align-items:center;gap:10px;font-size:17px;letter-spacing:-.25px}
.quick-links-panel>.overlay-head>strong small{display:block;margin-left:2px;font-size:10px;letter-spacing:0;color:var(--muted,#91a7c4);font-weight:600}
.quick-links-head-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(95,166,255,.3);border-radius:12px;background:rgba(53,128,224,.16);color:#91c6ff;font-size:20px}
.quick-links-panel>.muted{padding:0 2px;font-size:11px!important;line-height:1.55;color:var(--muted,#91a7c4)}
.quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0!important}
.quick-link-card{min-height:74px;padding:14px!important;border-color:rgba(126,158,199,.17)!important;border-radius:14px!important;background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.012))!important;transition:transform .16s,border-color .16s,background .16s}
.quick-link-card:hover,.quick-link-card:focus-visible{transform:translateY(-1px);border-color:rgba(92,163,255,.56)!important;background:linear-gradient(135deg,rgba(55,123,216,.13),rgba(255,255,255,.025))!important}
.quick-link-icon{flex-basis:40px!important;height:40px!important;border:1px solid rgba(94,157,242,.2);font-size:10px!important}
.quick-browser-disclosure{border:1px solid rgba(126,158,199,.18);border-radius:14px;background:rgba(255,255,255,.02);overflow:hidden;flex:none}
.quick-browser-disclosure>summary{display:flex;align-items:center;gap:11px;padding:12px 14px;list-style:none;cursor:pointer;user-select:none}
.quick-browser-disclosure>summary::-webkit-details-marker{display:none}
.quick-browser-disclosure>summary>span:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.quick-browser-disclosure>summary strong{font-size:11px;color:var(--text,#eaf2ff)}
.quick-browser-disclosure>summary small{font-size:10px;line-height:1.4;color:var(--muted,#91a7c4)}
.quick-browser-disclosure>summary>b{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(111,155,211,.2);border-radius:9px;color:#9ccaff;font-size:15px}
.quick-browser-disclosure[open]>summary>b{font-size:0}.quick-browser-disclosure[open]>summary>b:after{content:'−';font-size:18px}
.quick-browser-summary-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:10px;background:rgba(74,135,218,.13);color:#91c5ff;font-size:17px}
.quick-browser-disclosure .enrollment-browser{min-height:320px;padding:0 13px 13px;box-sizing:border-box}
.quick-browser-disclosure .enrollment-browser iframe{min-height:260px}
.quick-browser-disclosure .quick-links-note{margin:0;padding:10px 2px 0}
.quick-links-panel.browser-mini .quick-browser-disclosure .enrollment-browser{min-height:120px}
.quick-links-panel.browser-mini .quick-browser-disclosure .enrollment-browser iframe{min-height:100px}
.team-chat-overlay{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(1120px,96vw)!important;height:min(940px,94dvh)!important;max-width:96vw!important;max-height:94dvh!important;min-width:min(650px,96vw)!important;min-height:min(620px,86dvh)!important;resize:both!important;overflow:hidden!important;display:none!important;flex-direction:column!important;gap:0!important;padding:0!important;border:1px solid rgba(104,151,215,.32)!important;border-radius:23px!important;background:#0c1728!important;box-shadow:0 34px 120px rgba(0,0,0,.68),0 0 0 1px rgba(255,255,255,.025) inset!important}
.team-chat-overlay.open{display:flex!important}
.team-chat-overlay>.overlay-head{flex:0 0 auto!important;min-height:68px!important;box-sizing:border-box!important;padding:14px 19px!important;margin:0!important;background:linear-gradient(120deg,#142943,#101e32 65%,#10263b)!important;border-bottom:1px solid rgba(127,163,207,.16)!important;cursor:move}
.team-chat-overlay>.overlay-head>strong{display:flex;align-items:center;gap:9px;font-size:15px!important;color:#eff6ff;letter-spacing:-.2px}
.team-chat-overlay>.overlay-head>strong small{font-size:10px;font-weight:600;letter-spacing:0;color:#91a8c5;margin-left:2px}
.team-chat-overlay .messenger-live-dot{width:8px;height:8px;border-radius:50%;background:#45d6a2;box-shadow:0 0 0 4px rgba(69,214,162,.1),0 0 14px rgba(69,214,162,.45)}
.team-chat-overlay>.overlay-head>div{gap:8px}
.team-chat-overlay>.overlay-head .btn{min-height:35px;padding:8px 11px;font-size:10px}
.team-chat-overlay>.quick-links-note{flex:0 0 auto!important;margin:0!important;padding:8px 18px!important;background:#0e1b2d!important;border-bottom:1px solid rgba(127,163,207,.1)!important;color:#7f98b8!important;font-size:10px!important;line-height:1.45!important}
.team-chat-overlay>iframe{display:block!important;flex:1 1 auto!important;width:100%!important;height:0!important;min-width:0!important;min-height:0!important;border:0!important;border-radius:0!important;background:#0b1626!important}
body.embedded-chat-body,body.embedded-chat-body .app-shell,body.embedded-chat-body .main-area{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0b1626!important}
body.embedded-chat-body .chat-layout{grid-template-columns:150px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;gap:0!important;border:0!important;border-radius:0!important;background:#0b1626!important}
body.embedded-chat-body .chat-channels{box-sizing:border-box!important;padding:17px 11px!important;background:linear-gradient(180deg,#101f33,#0e1a2b)!important;border-right:1px solid rgba(129,160,202,.14)!important;overflow-y:auto!important}
body.embedded-chat-body .chat-channels h3{margin:4px 7px 14px!important;color:#7f9aba!important;font-size:10px!important;letter-spacing:1.1px!important}
body.embedded-chat-body .channel-link{display:flex!important;align-items:center!important;gap:8px!important;padding:10px 9px!important;margin:3px 0!important;border-radius:10px!important;font-size:11px!important;line-height:1.35!important}
body.embedded-chat-body .chat-channels .notice{margin-top:16px!important;padding:9px!important;border-radius:10px!important;line-height:1.5!important}
body.embedded-chat-body .chat-main{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important;background:radial-gradient(ellipse at 70% 0%,rgba(36,76,121,.12),transparent 45%),#0b1626!important}
body.embedded-chat-body .chat-head{flex:0 0 auto!important;box-sizing:border-box!important;padding:17px 21px!important;background:rgba(17,32,51,.88)!important;border-bottom:1px solid rgba(129,160,202,.12)!important}
body.embedded-chat-body .chat-head strong{font-size:14px!important;color:#f1f6ff!important}
body.embedded-chat-body .chat-head .muted{font-size:10px!important;color:#8099b8!important}
body.embedded-chat-body .chat-messages{box-sizing:border-box!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:16px!important;min-width:0!important;min-height:0!important;max-height:none!important;padding:22px 24px!important;overflow-x:hidden!important;overflow-y:auto!important;background-image:radial-gradient(rgba(130,163,208,.065) .7px,transparent .7px)!important;background-size:17px 17px!important}
body.embedded-chat-body .chat-message{display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0!important;max-width:100%!important}
body.embedded-chat-body .chat-message>.avatar{flex:0 0 34px!important;width:34px!important;height:34px!important}
body.embedded-chat-body .chat-message>div{min-width:0!important;max-width:min(780px,100%)!important;padding:12px 15px!important;border:1px solid rgba(129,160,202,.14)!important;border-radius:4px 15px 15px 15px!important;background:linear-gradient(145deg,rgba(24,43,67,.94),rgba(17,32,51,.96))!important;box-shadow:0 7px 20px rgba(0,0,0,.09)!important}
body.embedded-chat-body .chat-message>div>strong{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;color:#e4efff!important;font-size:11px!important}
body.embedded-chat-body .chat-message time{color:#7892b2!important;font-size:9px!important;font-weight:500!important}
body.embedded-chat-body .chat-message p{margin:8px 0 0!important;color:#d4e2f5!important;font-size:12px!important;line-height:1.65!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important}
body.embedded-chat-body .chat-compose{box-sizing:border-box!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;width:100%!important;min-width:0!important;margin:0!important;padding:14px 17px!important;border-top:1px solid rgba(129,160,202,.16)!important;background:linear-gradient(180deg,#101f33,#0d192a)!important;overflow:visible!important}
body.embedded-chat-body .chat-compose textarea{box-sizing:border-box!important;display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;min-height:44px!important;max-height:116px!important;height:44px;resize:none!important;margin:0!important;padding:12px 15px!important;border:1px solid rgba(123,159,207,.23)!important;border-radius:14px!important;background:#0a1524!important;color:#e9f2ff!important;font-size:12px!important;line-height:1.5!important;box-shadow:inset 0 1px 4px rgba(0,0,0,.16)!important}
body.embedded-chat-body .chat-compose textarea:focus{outline:none!important;border-color:rgba(83,158,255,.68)!important;box-shadow:0 0 0 3px rgba(66,139,235,.12)!important}
body.embedded-chat-body .chat-compose .chat-attach-icon{position:relative!important;display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;box-sizing:border-box!important;padding:0!important;border:1px solid rgba(121,160,208,.22)!important;border-radius:13px!important;background:rgba(255,255,255,.035)!important;color:#a9c9f2!important;cursor:pointer!important}
body.embedded-chat-body .chat-compose .chat-attach-icon>span{display:block!important;font-size:19px!important;line-height:1!important;transform:rotate(-8deg)}
body.embedded-chat-body .chat-compose .chat-attach-icon input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;max-width:none!important}
body.embedded-chat-body .chat-compose .chat-attach-icon:hover,body.embedded-chat-body .chat-compose .chat-attach-icon.has-file{border-color:rgba(88,164,255,.62)!important;background:rgba(59,132,226,.14)!important;color:#d8eaff!important}
body.embedded-chat-body .chat-compose .chat-send-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 0 auto!important;min-width:82px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0 15px!important;border:1px solid rgba(111,174,255,.36)!important;border-radius:13px!important;background:linear-gradient(135deg,#398df0,#2469ce)!important;color:#fff!important;font-size:11px!important;font-weight:850!important;box-shadow:0 7px 18px rgba(34,111,218,.22)!important}
body.embedded-chat-body .chat-compose .chat-send-button:hover{filter:brightness(1.08);transform:translateY(-1px)}
body.embedded-chat-body .chat-compose .chat-send-button svg{width:14px;height:14px}
body.embedded-chat-body .chat-attachment-preview{display:flex!important;flex-direction:column!important;gap:7px!important;margin-top:9px!important;max-width:100%!important}
body.embedded-chat-body .chat-file-link{max-width:100%!important;overflow-wrap:anywhere!important}
@media(max-width:900px){.team-chat-overlay{left:8px!important;top:8px!important;right:8px!important;bottom:8px!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;resize:none!important;border-radius:18px!important}.quick-links-panel{left:8px!important;top:8px!important;right:8px!important;bottom:8px!important;width:auto!important;height:auto!important;max-height:none!important;min-width:0!important;resize:none!important}.quick-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.quick-links-panel.browser-mini .quick-links-grid{display:none!important}}
@media(max-width:700px){body.embedded-chat-body .chat-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}body.embedded-chat-body .chat-channels{max-height:67px!important;min-height:0!important;padding:7px 10px!important;display:flex!important;align-items:center!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid rgba(129,160,202,.14)!important}body.embedded-chat-body .chat-channels h3{flex:none!important;margin:0 5px!important}body.embedded-chat-body .channel-link{flex:none!important;margin:0!important;padding:8px 10px!important}body.embedded-chat-body .chat-channels .notice{display:none!important}body.embedded-chat-body .chat-head{padding:12px 14px!important}body.embedded-chat-body .chat-messages{padding:13px!important;gap:12px!important}body.embedded-chat-body .chat-compose{gap:7px!important;padding:10px!important}body.embedded-chat-body .chat-compose textarea{min-height:42px!important;height:42px;padding:10px 12px!important;font-size:12px!important}body.embedded-chat-body .chat-compose .chat-attach-icon{flex-basis:40px!important;width:40px!important;height:42px!important;min-width:40px!important}body.embedded-chat-body .chat-compose .chat-send-button{min-width:44px!important;width:44px!important;padding:0!important;font-size:0!important}body.embedded-chat-body .chat-compose .chat-send-button svg{width:17px!important;height:17px!important}.quick-links-grid{grid-template-columns:minmax(0,1fr)!important}.quick-links-panel.browser-mini .quick-links-grid{display:none!important}.quick-browser-disclosure .enrollment-browser{min-height:230px!important}.quick-browser-disclosure .enrollment-browser iframe{min-height:170px!important}}
@media(max-width:420px){.team-chat-overlay>.overlay-head{padding:10px!important;min-height:58px!important}.team-chat-overlay>.overlay-head .btn{font-size:0!important;min-width:35px!important;padding:8px!important}.team-chat-overlay>.overlay-head .btn:after{content:'↗';font-size:13px}.team-chat-overlay>.overlay-head>strong{font-size:13px!important}.team-chat-overlay>.quick-links-note{font-size:9px!important;padding:7px 10px!important}.quick-links-panel{padding:12px!important}.quick-links-panel>.overlay-head>strong{font-size:15px!important}}
.sidebar nav .nav-group{display:block;margin:0 0 5px;padding:0}
.sidebar nav .nav-group-title{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 17px 7px;padding:8px 0;list-style:none;cursor:pointer;color:#728baa;font-size:9px;font-weight:850;letter-spacing:1.2px;text-transform:uppercase;user-select:none}
.sidebar nav .nav-group-title::-webkit-details-marker{display:none}
.sidebar nav .nav-group-title:after{content:'＋';display:grid;place-items:center;width:20px;height:20px;border:1px solid rgba(132,161,201,.15);border-radius:7px;color:#8ea7c7;font-size:13px;letter-spacing:0}
.sidebar nav .nav-group[open]>.nav-group-title:after{content:'−';color:#9dcaff;border-color:rgba(93,156,239,.28);background:rgba(62,132,232,.08)}
.sidebar nav .nav-group[open]>.nav-group-title{margin-bottom:5px}
.sidebar nav .nav-group-title:focus-visible{outline:2px solid #65a9ff;outline-offset:3px;border-radius:5px}
.sidebar nav .nav-group .nav-link{animation:navGroupIn .12s ease-out both}
@keyframes navGroupIn{from{opacity:.7;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.sidebar nav .nav-group .nav-link{animation:none}}


/* v1.2.65 — client Team Notes stays near the top and uses a deliberate, compact workspace layout. */
body:has(.client-profile-tabs) #team-notes.team-notes-panel{
  position:relative!important;display:block!important;float:none!important;clear:both!important;
  width:100%!important;max-width:none!important;grid-column:1/-1!important;grid-row:auto!important;
  align-self:start!important;justify-self:stretch!important;inset:auto!important;transform:none!important;
  margin:0 0 18px!important;overflow:visible!important;min-height:0!important;max-height:none!important;
  border:1px solid rgba(103,155,220,.28)!important;border-radius:18px!important;
  background:linear-gradient(145deg,rgba(18,37,61,.98),rgba(10,23,39,.98))!important;
  box-shadow:0 14px 34px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
body:has(.client-profile-tabs) #team-notes .panel-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
  padding:17px 20px 15px!important;border-bottom:1px solid rgba(137,171,214,.14)!important;
  background:linear-gradient(100deg,rgba(46,103,169,.16),rgba(15,33,54,.05))!important;
}
body:has(.client-profile-tabs) #team-notes .panel-title{font-size:16px!important;font-weight:850!important;letter-spacing:-.25px!important;color:#f0f6ff!important}
body:has(.client-profile-tabs) #team-notes .panel-title:before{content:'✦';display:inline-grid;place-items:center;width:28px;height:28px;margin-right:10px;border-radius:9px;background:rgba(57,137,238,.18);border:1px solid rgba(88,158,246,.25);color:#82bcff;font-size:13px;vertical-align:middle}
body:has(.client-profile-tabs) #team-notes .panel-subtitle{margin-top:5px!important;font-size:11px!important;line-height:1.5!important;color:#9bb0cc!important}
body:has(.client-profile-tabs) #team-notes .panel-body{
  display:grid!important;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr)!important;
  align-items:start!important;align-content:start!important;gap:16px!important;padding:16px!important;
  min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;
}
body:has(.client-profile-tabs) #team-notes .note-composer-card{
  position:relative!important;align-self:start!important;min-width:0!important;margin:0!important;padding:17px!important;
  border:1px solid rgba(86,153,230,.29)!important;border-radius:15px!important;
  background:linear-gradient(155deg,rgba(24,49,77,.88),rgba(13,29,47,.9))!important;
  box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
body:has(.client-profile-tabs) #team-notes .note-composer-card h3{display:flex;align-items:center;gap:8px;margin:0 0 7px!important;font-size:14px!important;font-weight:850!important;color:#edf5ff!important}
body:has(.client-profile-tabs) #team-notes .note-composer-card>p{margin:0 0 15px!important;font-size:11px!important;line-height:1.55!important;color:#9eb2cd!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin:0!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form label{display:grid!important;gap:6px!important;margin:0!important;font-size:11px!important;font-weight:750!important;color:#a9bdd7!important;min-width:0!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form select,
body:has(.client-profile-tabs) #team-notes .note-composer-form textarea{box-sizing:border-box!important;width:100%!important;min-width:0!important;margin:0!important;border:1px solid rgba(132,165,205,.24)!important;border-radius:11px!important;background:#081526!important;color:#edf5ff!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.12)!important;font-size:12px!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form select{height:43px!important;padding:0 12px!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form textarea{min-height:112px!important;padding:12px!important;line-height:1.55!important;resize:vertical!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form select:focus,
body:has(.client-profile-tabs) #team-notes .note-composer-form textarea:focus{outline:0!important;border-color:#4b9af4!important;box-shadow:0 0 0 3px rgba(59,139,237,.14)!important}
body:has(.client-profile-tabs) #team-notes .note-composer-form textarea::placeholder{color:#6f87a7!important}
body:has(.client-profile-tabs) #team-notes .note-composer-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin:0!important}
body:has(.client-profile-tabs) #team-notes .note-composer-actions small{font-size:10px!important;line-height:1.45!important;color:#8fa7c5!important}
body:has(.client-profile-tabs) #team-notes .note-composer-actions .btn{min-height:41px!important;padding:0 18px!important;border-radius:10px!important;font-weight:800!important;box-shadow:0 5px 14px rgba(35,113,223,.18)!important}
body:has(.client-profile-tabs) #team-notes .team-note-timeline{display:grid!important;align-content:start!important;gap:10px!important;min-width:0!important;width:100%!important;max-height:440px!important;overflow:auto!important;padding:0 4px 0 0!important;margin:0!important;overscroll-behavior:contain!important}
body:has(.client-profile-tabs) #team-notes .timeline-row{display:flex!important;align-items:flex-start!important;gap:11px!important;margin:0!important;padding:13px!important;border:1px solid rgba(126,160,204,.15)!important;border-radius:13px!important;background:rgba(16,34,55,.64)!important}
body:has(.client-profile-tabs) #team-notes .timeline-bullet{flex:0 0 30px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:rgba(55,130,224,.15)!important;color:#82baff!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry{flex:1!important;min-width:0!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head strong{font-size:11px!important;font-weight:850!important;color:#e6f0ff!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry-head small{font-size:10px!important;line-height:1.4!important;text-align:right!important;color:#8fa8c8!important}
body:has(.client-profile-tabs) #team-notes .team-note-entry p{margin:8px 0 0!important;font-size:12px!important;line-height:1.65!important;color:#c0cfe2!important;overflow-wrap:anywhere!important}
body:has(.client-profile-tabs) #team-notes .team-notes-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;align-self:start!important;min-height:132px!important;box-sizing:border-box!important;padding:22px!important;margin:0!important;border:1px dashed rgba(119,160,210,.28)!important;border-radius:15px!important;text-align:center!important;background:linear-gradient(145deg,rgba(17,36,58,.54),rgba(10,25,42,.32))!important}
body:has(.client-profile-tabs) #team-notes .team-notes-empty:before{content:'✎';display:grid;place-items:center;width:36px;height:36px;margin-bottom:10px;border-radius:12px;background:rgba(58,133,226,.14);color:#8fc4ff;font-size:18px}
body:has(.client-profile-tabs) #team-notes .team-notes-empty strong{font-size:12px!important;color:#e5efff!important}
body:has(.client-profile-tabs) #team-notes .team-notes-empty p{max-width:330px;margin:6px 0 0!important;font-size:11px!important;line-height:1.55!important;color:#91a9c8!important}
@media(max-width:850px){body:has(.client-profile-tabs) #team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}body:has(.client-profile-tabs) #team-notes .team-note-timeline{max-height:360px!important}}
@media(max-width:520px){body:has(.client-profile-tabs) #team-notes .panel-head{padding:14px!important}body:has(.client-profile-tabs) #team-notes .panel-body{padding:11px!important;gap:11px!important}body:has(.client-profile-tabs) #team-notes .note-composer-card{padding:13px!important}body:has(.client-profile-tabs) #team-notes .note-composer-actions{align-items:stretch!important;flex-direction:column!important}body:has(.client-profile-tabs) #team-notes .note-composer-actions .btn{width:100%!important}body:has(.client-profile-tabs) #team-notes .team-note-entry-head{flex-direction:column!important;gap:4px!important}body:has(.client-profile-tabs) #team-notes .team-note-entry-head small{text-align:left!important}}

/* v1.2.66 — calmer, tabbed Client Workspace with Summary first. */
body:has(.client-workspace-tabs) .client-hero{border-radius:18px!important;padding:18px 20px!important;background:linear-gradient(115deg,rgba(24,48,76,.96),rgba(12,27,45,.96))!important;border:1px solid rgba(122,163,216,.22)!important;box-shadow:0 10px 28px rgba(0,0,0,.12)!important}
body:has(.client-workspace-tabs) .client-hero h2{font-size:23px!important;letter-spacing:-.6px!important;margin:0 0 6px!important}
body:has(.client-workspace-tabs) .client-profile-tabs{display:none!important}
.client-workspace-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 13px;padding:7px;border:1px solid rgba(125,158,201,.2);border-radius:16px;background:rgba(8,19,33,.86);box-shadow:0 8px 22px rgba(0,0,0,.1)}
.client-workspace-tab{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-width:0;min-height:57px;padding:10px 13px;border:1px solid transparent;border-radius:11px;background:transparent;color:#9eb2cc;text-align:left;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.client-workspace-tab strong{font-size:12px;font-weight:850;color:inherit}.client-workspace-tab small{font-size:10px;line-height:1.3;color:#7f96b4;font-weight:500}
.client-workspace-tab:hover{background:rgba(65,125,199,.1);color:#e7f1ff}.client-workspace-tab[aria-selected=true]{background:linear-gradient(135deg,rgba(49,119,209,.24),rgba(24,68,116,.22));border-color:rgba(91,157,239,.35);color:#f0f7ff;box-shadow:inset 0 1px rgba(255,255,255,.04)}.client-workspace-tab[aria-selected=true] small{color:#a7c5e9}.client-workspace-tab:focus-visible{outline:2px solid #65a9ff;outline-offset:2px}
.client-workspace-panes{min-width:0;min-height:180px}.client-workspace-pane[hidden]{display:none!important}.client-workspace-pane:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px;animation:clientPaneIn .16s ease-out}.client-workspace-pane>.panel{width:100%;min-width:0;margin:0!important;grid-column:auto!important;grid-row:auto!important;position:relative!important;top:auto!important;inset:auto!important;max-height:none!important;overflow:visible!important;align-self:start!important}.client-workspace-pane>#team-notes{grid-column:1/-1!important}.client-workspace-pane>#client-details{grid-column:1/-1!important}.client-workspace-pane>.internal-notes-panel{grid-column:1/-1!important}.client-workspace-pane>#profile-quick-actions{grid-column:1/-1!important}
.client-workspace-pane #client-details .detail-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-workspace-pane #client-details .detail-item{min-width:0;border:1px solid rgba(123,157,202,.13);border-radius:10px;padding:10px 12px;background:rgba(7,19,33,.34)}.client-workspace-pane #client-details .detail-item strong{overflow-wrap:anywhere}.client-workspace-pane .panel-head{padding:15px 17px!important}.client-workspace-pane .panel-body{min-width:0}.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr)!important}.client-workspace-pane .internal-notes-panel .panel-body{max-height:300px;overflow:auto}.client-workspace-source{display:none!important}
@keyframes clientPaneIn{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.client-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.client-workspace-pane:not([hidden]){grid-template-columns:minmax(0,1fr)}.client-workspace-pane>#team-notes,.client-workspace-pane>#client-details,.client-workspace-pane>.internal-notes-panel,.client-workspace-pane>#profile-quick-actions{grid-column:1!important}.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane #client-details .detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.client-workspace-tabs{gap:5px;padding:5px}.client-workspace-tab{padding:9px;min-height:53px}.client-workspace-tab strong{font-size:11px}.client-workspace-tab small{font-size:9px}.client-workspace-pane #client-details .detail-list{grid-template-columns:minmax(0,1fr)}}

/* v1.2.67 — polished, agent-first client workspace */
body:has(.client-workspace-tabs) .page-header{margin-bottom:10px!important}
body:has(.client-workspace-tabs) .client-hero{position:relative!important;overflow:hidden!important;padding:22px 24px!important;border-radius:20px!important;background:radial-gradient(ellipse at 95% 0%,rgba(45,123,211,.22),transparent 42%),linear-gradient(125deg,#132943 0%,#0d1c30 68%,#10243b 100%)!important;border:1px solid rgba(119,169,228,.28)!important;box-shadow:0 16px 36px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.04)!important}
body:has(.client-workspace-tabs) .client-hero:after{content:'';position:absolute;right:-55px;bottom:-105px;width:230px;height:230px;border:1px solid rgba(112,173,245,.11);border-radius:50%;box-shadow:0 0 0 24px rgba(112,173,245,.025),0 0 0 48px rgba(112,173,245,.02);pointer-events:none}
body:has(.client-workspace-tabs) .client-hero h2{position:relative;z-index:1;font-size:clamp(22px,2vw,29px)!important;line-height:1.16!important;letter-spacing:-.8px!important;font-weight:850!important}
body:has(.client-workspace-tabs) .client-hero .muted,body:has(.client-workspace-tabs) .client-hero p{position:relative;z-index:1;color:#a7bdd8!important}
.client-workspace-tabs{position:sticky;top:8px;z-index:20;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:13px 0 17px;padding:7px;border:1px solid rgba(127,164,211,.22);border-radius:17px;background:rgba(8,19,33,.94);backdrop-filter:blur(18px);box-shadow:0 12px 28px rgba(0,0,0,.2)}
.client-workspace-tab{position:relative;min-height:65px;padding:11px 14px 11px 43px;border-radius:12px;gap:5px;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.client-workspace-tab:before{position:absolute;left:14px;top:15px;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(135,161,195,.1);color:#9fb5d2;font-size:12px;font-weight:900}
.client-workspace-tab:nth-child(1):before{content:'⌂'}.client-workspace-tab:nth-child(2):before{content:'+'}.client-workspace-tab:nth-child(3):before{content:'↗'}.client-workspace-tab:nth-child(4):before{content:'⋯'}
.client-workspace-tab strong{font-size:12px;line-height:1.25;letter-spacing:-.1px}.client-workspace-tab small{font-size:10px;line-height:1.35}
.client-workspace-tab:hover{transform:translateY(-1px);border-color:rgba(107,165,239,.24);background:rgba(47,91,146,.15)}
.client-workspace-tab[aria-selected=true]{background:linear-gradient(135deg,rgba(43,120,221,.28),rgba(28,74,128,.24));border-color:rgba(94,165,250,.48);box-shadow:inset 0 1px rgba(255,255,255,.055),0 5px 16px rgba(0,0,0,.12)}
.client-workspace-tab[aria-selected=true]:before{background:linear-gradient(135deg,#3e8af1,#2b70c6);color:white;box-shadow:0 4px 10px rgba(43,112,198,.28)}
.client-workspace-tab[aria-selected=true]:after{content:'';position:absolute;left:14px;right:14px;bottom:-7px;height:2px;border-radius:2px;background:linear-gradient(90deg,#5ba7ff,#42c2d8)}
.client-workspace-panes{min-height:240px}
.client-workspace-pane:not([hidden]){gap:15px;animation:clientPaneIn .18s ease-out}
.client-workspace-pane>.panel{border:1px solid rgba(129,163,207,.2)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(15,31,50,.98),rgba(10,23,39,.98))!important;box-shadow:0 8px 24px rgba(0,0,0,.10)!important;overflow:hidden!important}
.client-workspace-pane>.panel>.panel-head{min-height:57px;padding:16px 19px!important;border-bottom:1px solid rgba(129,163,207,.13)!important;background:rgba(255,255,255,.012)!important}
.client-workspace-pane .panel-title{font-size:13px!important;font-weight:850!important;letter-spacing:-.15px!important;color:#eef5ff!important}
.client-workspace-pane .panel-subtitle{font-size:10px!important;line-height:1.5!important;color:#91a8c5!important;margin-top:4px!important}
.client-workspace-pane>.panel>.panel-body{padding:17px 19px!important}
.client-workspace-pane #client-details .detail-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.client-workspace-pane #client-details .detail-item{padding:12px 13px;border-radius:12px;border-color:rgba(133,167,210,.14);background:linear-gradient(145deg,rgba(7,19,33,.62),rgba(12,28,46,.52));transition:border-color .15s,transform .15s}
.client-workspace-pane #client-details .detail-item:hover{border-color:rgba(92,156,231,.32);transform:translateY(-1px)}
.client-workspace-pane #client-details .detail-item small{display:block;margin-bottom:5px;font-size:9px;letter-spacing:.65px;text-transform:uppercase;color:#8fa8c7;font-weight:800}
.client-workspace-pane #client-details .detail-item strong{display:block;font-size:12px;line-height:1.45;color:#e6f0ff;font-weight:750}
.client-workspace-pane #team-notes{grid-column:1/-1!important}
.client-workspace-pane #team-notes .panel-body{display:grid!important;grid-template-columns:minmax(260px,.68fr) minmax(0,1.32fr)!important;align-items:start!important;gap:15px!important;padding:16px!important}
.client-workspace-pane #team-notes .note-composer-card{height:auto!important;min-width:0!important;padding:17px!important;border-radius:14px!important;border:1px solid rgba(85,151,226,.28)!important;background:linear-gradient(145deg,rgba(25,50,79,.82),rgba(12,29,48,.88))!important;box-shadow:inset 0 1px rgba(255,255,255,.035)!important}
.client-workspace-pane #team-notes .note-composer-card h3{margin:0 0 7px!important;font-size:14px!important;font-weight:850!important;color:#f0f6ff!important}
.client-workspace-pane #team-notes .note-composer-card>p{margin:0 0 16px!important;font-size:11px!important;line-height:1.6!important;color:#9bb1ce!important}
.client-workspace-pane #team-notes .team-note-timeline{max-height:520px!important;gap:9px!important}
.client-workspace-pane #team-notes .timeline-row{padding:14px!important;border-radius:13px!important;background:linear-gradient(135deg,rgba(18,37,60,.82),rgba(12,27,44,.78))!important;border-color:rgba(129,163,207,.15)!important;transition:border-color .15s,transform .15s}
.client-workspace-pane #team-notes .timeline-row:hover{border-color:rgba(92,156,231,.3)!important;transform:translateY(-1px)}
.client-workspace-pane .internal-notes-panel{border-color:rgba(61,166,154,.24)!important}
.client-workspace-pane .internal-notes-panel .panel-head{background:linear-gradient(90deg,rgba(32,130,119,.09),transparent)!important}
.client-workspace-pane .internal-notes-panel .panel-body{max-height:340px;overflow:auto;line-height:1.7}
.client-workspace-pane #household .panel-body,.client-workspace-pane #coverage .panel-body,.client-workspace-pane #workflow .panel-body,.client-workspace-pane #enrollment-history .panel-body{line-height:1.65}
.client-workspace-pane .quick-edit-panel{margin-top:15px!important;border-radius:12px!important;border:1px solid rgba(126,161,205,.18)!important;background:rgba(7,18,31,.34)!important}
.client-workspace-pane .quick-edit-panel>summary{padding:12px 14px!important;font-size:11px!important;font-weight:800!important;color:#b7d5fa!important;cursor:pointer}
.client-workspace-pane .quick-edit-panel[open]{padding-bottom:13px!important}
.client-workspace-pane .quick-edit-panel form{padding:0 13px!important}
@media(max-width:900px){.client-workspace-tabs{position:relative;top:auto}.client-workspace-pane:not([hidden]){grid-template-columns:minmax(0,1fr)}.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){body:has(.client-workspace-tabs) .client-hero{padding:17px!important}.client-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}.client-workspace-tab{min-height:58px;padding:9px 8px 9px 36px}.client-workspace-tab:before{left:9px;top:13px}.client-workspace-tab:after{left:9px!important;right:9px!important}.client-workspace-tab small{font-size:9px}.client-workspace-pane>.panel>.panel-head{padding:13px!important}.client-workspace-pane>.panel>.panel-body{padding:13px!important}.client-workspace-pane #client-details .detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.client-workspace-pane #team-notes .panel-body{padding:11px!important}.client-workspace-pane #team-notes .note-composer-card{padding:13px!important}}
@media(max-width:380px){.client-workspace-pane #client-details .detail-list{grid-template-columns:minmax(0,1fr)}}

/* v1.2.68 — compact calling-center controls and refined primary sidebar shortcut */
.sidebar-feature-link{
  margin:8px 12px 13px!important;padding:9px 10px!important;min-height:54px!important;gap:9px!important;
  border-radius:12px!important;background:linear-gradient(115deg,rgba(39,105,192,.20),rgba(18,36,59,.62))!important;
  box-shadow:0 5px 14px rgba(0,0,0,.10),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.sidebar-feature-icon{flex-basis:31px!important;width:31px!important;height:31px!important;border-radius:9px!important;font-size:16px!important}
.sidebar-feature-copy{gap:2px!important}
.sidebar-feature-copy strong{font-size:10.5px!important;font-weight:760!important;line-height:1.25!important;letter-spacing:-.01em}
.sidebar-feature-copy small{font-size:9px!important;line-height:1.25!important;max-width:130px}
.sidebar-feature-arrow{font-size:13px!important;align-self:center!important;opacity:.75}
.outbound-control-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin:14px 16px 12px;align-items:start}
.outbound-control-grid>.outbound-filter-details,.outbound-control-grid>.outbound-add-client{margin:0!important;min-width:0!important;width:100%;height:100%;box-sizing:border-box}
.outbound-control-grid .outbound-filter-details{border-radius:15px!important;background:linear-gradient(145deg,rgba(17,34,55,.94),rgba(10,20,34,.96))!important}
.outbound-control-grid .outbound-filter-details>summary{display:flex;align-items:center;gap:10px;padding:13px 14px!important;min-height:76px!important;box-sizing:border-box}
.outbound-control-grid .outbound-filter-details>summary .outbound-filter-summary-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:rgba(56,139,239,.13);border:1px solid rgba(87,158,255,.22);color:#91c6ff;font-size:16px}
.outbound-control-grid .outbound-filter-details>summary>span:nth-child(2){min-width:0;flex:1}
.outbound-control-grid .outbound-filter-details>summary strong,.outbound-control-grid .outbound-add-client>summary strong{display:block;font-size:12px!important;line-height:1.35!important;color:#eaf2ff}
.outbound-control-grid .outbound-filter-details>summary small,.outbound-control-grid .outbound-add-client>summary small{display:block;font-size:10px!important;line-height:1.45!important;margin-top:3px!important;color:#91a8c5!important}
.outbound-control-grid .outbound-filter-summary-action{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:9px!important;color:#8dbdff!important}
.outbound-control-grid .outbound-filter-summary-action b{font-size:15px}
.outbound-control-grid .outbound-add-client{border-radius:15px!important;background:linear-gradient(145deg,rgba(20,43,68,.92),rgba(10,21,36,.96))!important}
.outbound-control-grid .outbound-add-client>summary{min-height:76px!important;padding:13px 14px!important;gap:10px!important;box-sizing:border-box}
.outbound-control-grid .outbound-add-icon{width:34px!important;height:34px!important;border-radius:10px!important;font-size:19px!important;flex:0 0 34px!important}
.outbound-control-grid .outbound-add-client>summary>span:nth-child(2){flex:1;min-width:0}
.outbound-control-grid .outbound-add-chevron{font-size:15px!important;flex:0 0 auto}
.outbound-control-grid .outbound-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:14px!important;border-top:1px solid rgba(95,132,180,.16)!important}
.outbound-control-grid .outbound-filters label:first-of-type{grid-column:1/-1}
.outbound-control-grid .outbound-filters label{gap:6px!important;font-size:10px!important}
.outbound-control-grid .outbound-filters input,.outbound-control-grid .outbound-filters select{height:38px!important;min-height:38px!important;border-radius:9px!important;font-size:11px!important;padding:0 10px!important}
.outbound-control-grid .outbound-filter-actions{grid-column:1/-1!important;padding-top:0!important}
.outbound-control-grid .outbound-filter-actions .btn{height:36px!important;min-height:36px!important;padding:0 13px!important;font-size:11px!important}
.outbound-control-grid .outbound-add-body{padding:14px!important;gap:13px!important;border-top:1px solid rgba(95,132,180,.16)!important}
.outbound-control-grid .outbound-bulk-add{padding:12px!important;gap:10px!important;border-radius:12px!important}
.outbound-control-grid .outbound-bulk-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.outbound-control-grid .outbound-bulk-form button{grid-column:1/-1!important;width:100%;justify-content:center}
.outbound-control-grid .outbound-add-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
.outbound-control-grid .outbound-add-client-field{grid-column:1/-1!important}
.outbound-control-grid .outbound-add-form label{gap:6px!important;font-size:10px!important}
.outbound-control-grid .outbound-add-form input,.outbound-control-grid .outbound-add-form select{height:38px!important;min-height:38px!important;font-size:11px!important;padding:0 10px!important;border-radius:9px!important}
.outbound-control-grid .outbound-picker-hint{font-size:10px!important}
.outbound-control-grid .outbound-add-submit{height:38px!important;min-height:38px!important;width:100%!important;padding:0 12px!important;font-size:11px!important}
.outbound-queue-heading{padding:16px 18px!important;gap:12px!important}
.outbound-queue-heading .panel-title{font-size:15px!important;line-height:1.35!important}
.outbound-queue-heading .panel-subtitle{font-size:11px!important;line-height:1.5!important;max-width:620px}
.outbound-queue-heading .outbound-heading-icon{width:36px!important;height:36px!important;border-radius:11px!important;font-size:17px!important}
.outbound-shell>.panel{overflow:hidden;border-radius:17px!important}
.outbound-shell>.panel>.filter-bar{display:flex;gap:7px!important;flex-wrap:wrap;padding:0 16px 14px!important}
.outbound-shell>.panel>.filter-bar .btn{min-height:32px!important;padding:6px 12px!important;border-radius:9px!important;font-size:11px!important}
@media(max-width:900px){.outbound-control-grid{grid-template-columns:minmax(0,1fr);gap:10px;margin:12px}.outbound-control-grid>.outbound-filter-details,.outbound-control-grid>.outbound-add-client{height:auto}.outbound-control-grid .outbound-add-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.sidebar-feature-link{margin:7px 9px 11px!important;padding:8px!important;min-height:49px!important}.sidebar-feature-copy strong{font-size:10px!important}.sidebar-feature-copy small{font-size:8.5px!important}.outbound-control-grid{margin:10px;gap:9px}.outbound-control-grid .outbound-filter-details>summary,.outbound-control-grid .outbound-add-client>summary{padding:11px!important;min-height:68px!important}.outbound-control-grid .outbound-filter-summary-action{font-size:0!important}.outbound-control-grid .outbound-filter-summary-action b{font-size:15px!important}.outbound-control-grid .outbound-filters,.outbound-control-grid .outbound-add-form{grid-template-columns:minmax(0,1fr)!important}.outbound-control-grid .outbound-filters label:first-of-type,.outbound-control-grid .outbound-add-client-field{grid-column:auto!important}.outbound-queue-heading{align-items:flex-start!important}.outbound-queue-heading .outbound-heading-actions{width:100%;display:flex}.outbound-queue-heading .outbound-heading-actions .btn{flex:1;justify-content:center}}

/* v1.2.69 — true agent-first masonry layout for client profiles */
.client-workspace-pane:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:row;align-items:start;gap:16px!important;min-width:0}
.client-workspace-pane[hidden]{display:none!important}
.client-workspace-pane>.panel,.client-workspace-pane>.profile-shortcut-bar{min-width:0;width:100%;margin:0!important;align-self:start}
.profile-shortcut-bar{grid-column:1/-1;display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 14px;border:1px solid rgba(113,159,215,.2);border-radius:15px;background:linear-gradient(110deg,rgba(20,42,67,.88),rgba(10,24,40,.88));box-shadow:0 8px 20px rgba(0,0,0,.08)}
.profile-shortcut-heading{display:flex;flex-direction:column;gap:3px;margin-right:auto;padding:0 10px 0 2px;min-width:155px}
.profile-shortcut-heading strong{font-size:12px;color:#edf5ff;letter-spacing:-.1px}
.profile-shortcut-heading small{font-size:10px;color:#8fa9c9}
.profile-shortcut{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:35px!important;padding:8px 11px!important;border-radius:10px!important;font-size:10px!important;white-space:nowrap}
.profile-shortcut>span:first-child{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(77,145,232,.16);color:#83baff;font-size:12px}
.client-workspace-pane #profile-quick-actions{grid-column:1/-1!important;grid-row:2!important}
.client-workspace-pane #profile-quick-actions .panel-body{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.client-workspace-pane #client-details{grid-column:1!important;grid-row:3!important}
.client-workspace-pane .internal-notes-panel{grid-column:2!important;grid-row:3!important}
.client-workspace-pane #team-notes{grid-column:1/-1!important;grid-row:4!important}
.client-workspace-pane #client-details .detail-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.client-workspace-pane .internal-notes-panel .panel-body{max-height:330px;overflow:auto;overflow-wrap:anywhere}
.client-workspace-pane .internal-note-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;columns:1!important}
.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr)!important;gap:16px!important}
.client-workspace-pane #team-notes .note-composer-form label{display:grid;gap:7px}
.client-workspace-pane #team-notes .note-composer-form select,.client-workspace-pane #team-notes .note-composer-form textarea{width:100%;min-width:0;box-sizing:border-box}
.client-workspace-pane #team-notes .note-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.client-workspace-pane #team-notes .team-note-timeline{min-width:0}
.client-workspace-pane .overview-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:16px!important}
.client-workspace-pane .overview-field{min-width:0;overflow-wrap:anywhere;padding:11px 12px!important;border-radius:11px!important}
.client-workspace-pane .overview-field strong{overflow-wrap:anywhere}
.client-workspace-pane .hs-handoff-compact{grid-column:2!important}
.client-workspace-pane #household{grid-column:1!important}
.client-workspace-pane #coverage{grid-column:2!important}
.client-workspace-pane #workflow{grid-column:1/-1!important}
.client-workspace-pane #enrollment-history{grid-column:1/-1!important}
.client-workspace-pane #custom-fields{grid-column:1/-1!important}
.client-workspace-pane .client-shortcut-link{display:inline-flex;gap:7px;align-items:center}
@media(max-width:900px){.client-workspace-pane:not([hidden]){grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane #profile-quick-actions,.client-workspace-pane #client-details,.client-workspace-pane .internal-notes-panel,.client-workspace-pane #team-notes,.client-workspace-pane .hs-handoff-compact,.client-workspace-pane #household,.client-workspace-pane #coverage,.client-workspace-pane #workflow,.client-workspace-pane #enrollment-history,.client-workspace-pane #custom-fields{grid-column:1/-1!important;grid-row:auto!important}.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}.profile-shortcut-heading{width:100%;margin-bottom:3px}.profile-shortcut-bar{gap:8px}}
@media(max-width:600px){.client-workspace-tabs{position:relative;top:auto;grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-shortcut-bar{padding:10px;gap:7px}.profile-shortcut-heading{min-width:0}.profile-shortcut{flex:1 1 calc(50% - 7px);white-space:normal;justify-content:flex-start!important}.client-workspace-pane #client-details .detail-list,.client-workspace-pane .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-workspace-pane #profile-quick-actions .panel-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.client-workspace-pane #profile-quick-actions .panel-body .btn{min-width:0;white-space:normal}.client-workspace-pane #profile-quick-actions .panel-body .btn:last-child{grid-column:1/-1}.client-workspace-pane #team-notes .panel-body{padding:12px!important}.client-workspace-pane .internal-notes-panel .panel-body{max-height:260px}}
@media(max-width:380px){.client-workspace-pane #client-details .detail-list,.client-workspace-pane .overview-field-grid{grid-template-columns:minmax(0,1fr)!important}.profile-shortcut{flex-basis:100%}}

/* v1.2.70 — true agent-first client dashboard grid: compact, intentional placement, no full-width stacked cards. */
.client-workspace-pane:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-flow:row;align-content:start;align-items:start;gap:14px!important;min-width:0;padding:14px 0 4px}
.client-workspace-pane>.panel,.client-workspace-pane>.profile-shortcut-bar{min-width:0;width:100%;margin:0!important;align-self:start;position:relative!important;inset:auto!important;top:auto!important;max-height:none!important;overflow:visible!important}
.client-workspace-pane>.profile-shortcut-bar{grid-column:1/-1!important;grid-row:1!important}
.client-workspace-pane>#profile-quick-actions{grid-column:1/-1!important;grid-row:2!important}
.client-workspace-pane>#client-details{grid-column:1!important;grid-row:3!important}
.client-workspace-pane>#team-notes{grid-column:2!important;grid-row:3!important}
.client-workspace-pane>.internal-notes-panel{grid-column:1!important;grid-row:4!important}
.client-workspace-pane>#workflow{grid-column:2!important;grid-row:4!important}
.client-workspace-pane>#enrollment-history{grid-column:1/-1!important;grid-row:5!important}
.client-workspace-pane #client-details .detail-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.client-workspace-pane #client-details .detail-item{min-width:0;overflow-wrap:anywhere;padding:11px 12px!important;border-radius:12px!important}
.client-workspace-pane #team-notes .panel-body{display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)!important;align-items:start;gap:12px!important;padding:14px!important}
.client-workspace-pane #team-notes .note-composer-card{min-width:0;margin:0!important;padding:13px!important}
.client-workspace-pane #team-notes .note-composer-form label{display:grid;gap:6px;min-width:0}
.client-workspace-pane #team-notes .note-composer-form select,.client-workspace-pane #team-notes .note-composer-form textarea{box-sizing:border-box;width:100%;min-width:0}
.client-workspace-pane #team-notes .team-note-timeline,.client-workspace-pane #team-notes .team-notes-empty{min-width:0;margin:0!important}
.client-workspace-pane .internal-notes-panel .panel-body{max-height:310px;overflow:auto;overflow-wrap:anywhere}
.client-workspace-pane .internal-note-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;columns:1!important}
.client-workspace-pane #workflow .overview-field-grid,.client-workspace-pane #enrollment-history .overview-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.client-workspace-pane #profile-quick-actions .panel-body{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:12px 15px!important}
.client-workspace-pane #profile-quick-actions .panel-head{padding:12px 15px!important}
.client-workspace-pane .overview-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:14px!important}
.client-workspace-pane .overview-field{min-width:0;overflow-wrap:anywhere;padding:11px 12px!important;border-radius:11px!important}
.client-workspace-pane .hs-handoff-compact{grid-column:2!important}
.client-workspace-pane #household{grid-column:1!important}
.client-workspace-pane #coverage{grid-column:2!important}
.client-workspace-pane #custom-fields{grid-column:1/-1!important}
@media(max-width:1050px){.client-workspace-pane:not([hidden]){grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane>.profile-shortcut-bar,.client-workspace-pane>#profile-quick-actions,.client-workspace-pane>#client-details,.client-workspace-pane>#team-notes,.client-workspace-pane>.internal-notes-panel,.client-workspace-pane>#workflow,.client-workspace-pane>#enrollment-history,.client-workspace-pane .hs-handoff-compact,.client-workspace-pane #household,.client-workspace-pane #coverage,.client-workspace-pane #custom-fields{grid-column:1!important;grid-row:auto!important}.client-workspace-pane #team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){.client-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-workspace-pane #client-details .detail-list,.client-workspace-pane .overview-field-grid{grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane #profile-quick-actions .panel-body{display:grid;grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane #profile-quick-actions .panel-body .btn{width:100%;justify-content:center}.profile-shortcut-bar{gap:7px;padding:10px}.profile-shortcut{flex:1 1 100%;white-space:normal}}

/* v1.2.71 — visible chat composer, compact messenger window, and refined USCP brand mark. */
/* The embedded page still renders the CRM shell; remove its chrome so the chat can own the iframe height. */
html:has(body.embedded-chat-body),
body.embedded-chat-body{width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
body.embedded-chat-body .app-shell{display:block!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important}
body.embedded-chat-body .sidebar,
body.embedded-chat-body .topbar,
body.embedded-chat-body .recent-pages,
body.embedded-chat-body .page-footer,
body.embedded-chat-body .toast-stack{display:none!important}
body.embedded-chat-body .main-area{display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important}
body.embedded-chat-body main.main-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-layout{display:grid!important;flex:1 1 auto!important;grid-template-columns:138px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;width:100%!important;height:auto!important;min-height:0!important;max-height:100%!important;margin:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-main{min-height:0!important;height:100%!important;overflow:hidden!important}
body.embedded-chat-body .chat-messages{flex:1 1 0!important;height:0!important;min-height:0!important;overflow-y:auto!important}
body.embedded-chat-body .chat-compose{position:relative!important;z-index:3!important;flex:0 0 auto!important;visibility:visible!important;opacity:1!important}
body.embedded-chat-body .chat-compose textarea{flex:1 1 auto!important;min-height:44px!important;height:44px!important;visibility:visible!important;opacity:1!important}
/* A more compact desktop messenger: history scrolls, composer stays in view. */
.team-chat-overlay{width:min(960px,94vw)!important;height:min(760px,84dvh)!important;max-width:94vw!important;max-height:84dvh!important;min-width:min(560px,94vw)!important;min-height:min(460px,72dvh)!important;border-radius:19px!important}
.team-chat-overlay>.overlay-head{min-height:58px!important;padding:11px 16px!important}
.team-chat-overlay>.quick-links-note{padding:7px 16px!important;font-size:10px!important}
@media(max-width:900px){.team-chat-overlay{left:12px!important;top:12px!important;right:12px!important;bottom:12px!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;border-radius:16px!important}}
@media(max-width:700px){body.embedded-chat-body .chat-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:58px minmax(0,1fr)!important}body.embedded-chat-body .chat-channels{max-height:58px!important;height:58px!important;min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important}body.embedded-chat-body .chat-main{min-height:0!important}body.embedded-chat-body .chat-compose{padding:9px!important;gap:7px!important}body.embedded-chat-body .chat-compose textarea{min-height:42px!important;height:42px!important;padding:10px!important}body.embedded-chat-body .chat-compose .chat-attach-icon{flex-basis:40px!important;width:40px!important;min-width:40px!important;height:42px!important}body.embedded-chat-body .chat-compose .chat-send-button{width:44px!important;min-width:44px!important;height:42px!important;min-height:42px!important}}
@media(max-width:420px){.team-chat-overlay>.overlay-head{min-height:52px!important;padding:8px 10px!important}.team-chat-overlay>.quick-links-note{font-size:9px!important;padding:6px 10px!important}}
/* v1.2.72 intentionally preserves the existing U+ brand styling. */


/* v1.2.72 — client profile natural-flow dashboard repair; no fixed/empty grid rows. */
.client-workspace-pane:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-auto-flow:row!important;grid-auto-rows:max-content!important;align-content:start!important;align-items:start!important;gap:14px!important;min-width:0!important;padding:14px 0 4px!important}
.client-workspace-pane:not([hidden])>*{grid-row:auto!important;min-width:0!important;align-self:start!important;position:relative!important;inset:auto!important;transform:none!important}
.client-workspace-pane:not([hidden])>.profile-shortcut-bar{grid-column:1/-1!important;order:2!important}
.client-workspace-pane:not([hidden])>#profile-quick-actions{grid-column:1/-1!important;order:1!important}
.client-workspace-pane:not([hidden])>#client-details{grid-column:1!important;order:3!important}
.client-workspace-pane:not([hidden])>#team-notes{grid-column:2!important;order:4!important}
.client-workspace-pane:not([hidden])>.internal-notes-panel{grid-column:1!important;order:5!important}
.client-workspace-pane:not([hidden])>#workflow{grid-column:2!important;order:6!important}
.client-workspace-pane:not([hidden])>#enrollment-history{grid-column:1/-1!important;order:7!important}
.client-workspace-pane:not([hidden])>.hs-handoff-compact{grid-column:2!important}
.client-workspace-pane:not([hidden])>#household{grid-column:1!important}
.client-workspace-pane:not([hidden])>#coverage{grid-column:2!important}
.client-workspace-pane:not([hidden])>#custom-fields{grid-column:1/-1!important}
.client-workspace-pane:not([hidden])>#profile-quick-actions .panel-head{padding:12px 16px!important}
.client-workspace-pane:not([hidden])>#profile-quick-actions .panel-body{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important;padding:12px 16px!important}
.client-workspace-pane:not([hidden])>.profile-shortcut-bar{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:11px 13px!important}
.client-workspace-pane:not([hidden])>.profile-shortcut-bar .profile-shortcut-heading{min-width:140px!important}
.client-workspace-pane:not([hidden])>#client-details .detail-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.client-workspace-pane:not([hidden])>#client-details .detail-item{min-width:0!important;overflow-wrap:anywhere!important}
.client-workspace-pane:not([hidden])>#team-notes .panel-body{display:grid!important;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)!important;gap:12px!important;align-items:start!important}
.client-workspace-pane:not([hidden])>.internal-notes-panel .panel-body{max-height:330px!important;overflow:auto!important;overflow-wrap:anywhere!important}
.outbound-directory-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px!important;border-radius:13px!important}
.outbound-directory-card>div:first-child{min-width:0;overflow-wrap:anywhere}
.outbound-directory-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;flex:0 0 auto}
.outbound-directory-actions form{margin:0!important}
.outbound-directory-add{white-space:nowrap;min-height:32px!important;padding:7px 10px!important;font-size:11px!important}
@media(max-width:1050px){.client-workspace-pane:not([hidden]){grid-template-columns:minmax(0,1fr)!important}.client-workspace-pane:not([hidden])>.profile-shortcut-bar,.client-workspace-pane:not([hidden])>#profile-quick-actions,.client-workspace-pane:not([hidden])>#client-details,.client-workspace-pane:not([hidden])>#team-notes,.client-workspace-pane:not([hidden])>.internal-notes-panel,.client-workspace-pane:not([hidden])>#workflow,.client-workspace-pane:not([hidden])>#enrollment-history,.client-workspace-pane:not([hidden])>.hs-handoff-compact,.client-workspace-pane:not([hidden])>#household,.client-workspace-pane:not([hidden])>#coverage,.client-workspace-pane:not([hidden])>#custom-fields{grid-column:1!important;order:initial!important}.client-workspace-pane:not([hidden])>#team-notes .panel-body{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:600px){.client-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-workspace-pane:not([hidden])>#client-details .detail-list{grid-template-columns:minmax(0,1fr)!important}.outbound-directory-card{align-items:flex-start;flex-direction:column}.outbound-directory-actions{width:100%;justify-content:flex-start}.outbound-directory-actions .btn{min-height:40px!important}}

/* v1.2.73 — practical CRM shortcuts and compact, persistent messenger composer. */
.quick-links-panel{user-select:none;-webkit-user-select:none;width:min(760px,calc(100vw - 32px))!important;max-height:calc(100dvh - 96px)!important;padding:18px!important;gap:13px!important}
.quick-links-panel .quick-links-grid{gap:10px!important}
.quick-links-panel .quick-link-card{user-select:none;-webkit-user-select:none;text-decoration:none!important;color:var(--text,#eaf2ff)!important}
.quick-links-panel .quick-link-card strong,.quick-links-panel .quick-link-card small{background:transparent!important;color:inherit!important}
.quick-links-panel .quick-link-card small{color:var(--muted,#9bb0cc)!important}
.quick-crm-tools{border-top:1px solid rgba(127,158,200,.15);padding-top:13px;margin-top:1px}
.quick-crm-tools-head{display:flex;align-items:center;gap:10px;margin:0 0 10px 1px}
.quick-crm-tools-mark{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:rgba(52,130,224,.16);border:1px solid rgba(87,155,245,.25);color:#91c5ff;font-size:17px}
.quick-crm-tools-head strong,.quick-crm-tools-head small{display:block}
.quick-crm-tools-head strong{font-size:12px;color:#edf5ff}
.quick-crm-tools-head small{font-size:10px;color:#91a7c5;margin-top:3px}
.quick-crm-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.quick-crm-tool{display:flex;align-items:center;gap:10px;min-width:0;min-height:57px;padding:9px 11px;border:1px solid rgba(124,158,202,.16);border-radius:12px;background:linear-gradient(135deg,rgba(32,57,87,.48),rgba(15,29,48,.72));color:#eaf2ff!important;text-decoration:none!important;transition:border-color .15s,background .15s,transform .15s}
.quick-crm-tool:hover,.quick-crm-tool:focus-visible{border-color:rgba(84,157,255,.55);background:rgba(43,91,147,.23);outline:none}
.quick-crm-tool-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:rgba(62,135,231,.16);color:#8ec3ff;border:1px solid rgba(85,155,244,.2)}
.quick-crm-tool-icon svg{width:17px;height:17px}
.quick-crm-tool>span:nth-child(2){min-width:0;flex:1}
.quick-crm-tool strong,.quick-crm-tool small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-crm-tool strong{font-size:10.5px;font-weight:750}
.quick-crm-tool small{font-size:9.5px;color:#8fa7c6;margin-top:3px}
.quick-crm-tool>b{font-size:12px;color:#76b5ff;font-weight:700}
.team-chat-overlay{left:auto!important;top:auto!important;right:20px!important;bottom:76px!important;transform:none!important;width:min(760px,calc(100vw - 32px))!important;height:min(680px,calc(100dvh - 112px))!important;min-width:0!important;min-height:360px!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 96px)!important;resize:none!important;border-radius:19px!important}
.team-chat-overlay.is-expanded{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(1040px,calc(100vw - 40px))!important;height:min(850px,calc(100dvh - 100px))!important;max-width:calc(100vw - 40px)!important;max-height:calc(100dvh - 100px)!important}
.team-chat-overlay>.overlay-head{user-select:none;-webkit-user-select:none}
.team-chat-overlay>.overlay-head>div{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.team-chat-overlay>.overlay-head .btn{white-space:nowrap}
.team-chat-overlay>iframe{flex:1 1 0!important;min-height:0!important;height:0!important;overflow:hidden!important}
body.embedded-chat-body .chat-compose{box-sizing:border-box!important;display:flex!important;align-items:flex-end!important;flex:0 0 auto!important;position:relative!important;z-index:5!important;padding:12px 15px!important;margin:0!important;gap:9px!important;background:#101e31!important;border-top:1px solid rgba(129,160,202,.17)!important;visibility:visible!important;opacity:1!important}
body.embedded-chat-body .chat-compose textarea{display:block!important;flex:1 1 auto!important;width:0!important;min-width:0!important;min-height:44px!important;height:44px!important;max-height:116px!important;resize:none!important;box-sizing:border-box!important;border-radius:13px!important;background:#081424!important;color:#eef5ff!important;border:1px solid #2a405e!important;padding:12px 14px!important;visibility:visible!important;opacity:1!important}
body.embedded-chat-body .chat-compose .chat-attach-icon{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:44px!important;min-width:42px!important;border-radius:12px!important}
body.embedded-chat-body .chat-compose .chat-send-button{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;min-width:88px!important;height:44px!important;min-height:44px!important;border-radius:12px!important;font-size:11px!important;padding:0 14px!important}
body.embedded-chat-body .chat-compose .chat-send-button svg{width:15px!important;height:15px!important}
body.embedded-chat-body #chat-bottom{scroll-margin-bottom:12px}
@media(max-width:900px){.quick-links-panel{left:8px!important;top:72px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;max-height:none!important;height:auto!important;overflow-y:auto!important}.quick-crm-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-chat-overlay,.team-chat-overlay.is-expanded{left:8px!important;top:8px!important;right:8px!important;bottom:8px!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-height:0!important;border-radius:16px!important}.team-chat-overlay>.overlay-head>div{gap:4px}.team-chat-overlay>.overlay-head .btn{font-size:9px!important;padding:7px 8px!important}}
@media(max-width:560px){.quick-crm-tools-grid{grid-template-columns:minmax(0,1fr)}.quick-links-panel{padding:12px!important}.team-chat-overlay>.overlay-head{padding:9px 10px!important;min-height:54px!important}.team-chat-overlay>.overlay-head>strong{font-size:12px!important}.team-chat-overlay>.overlay-head>strong small{display:none}.team-chat-overlay>.overlay-head>div .btn{font-size:0!important;min-width:32px!important;padding:7px!important}.team-chat-overlay>.overlay-head>div .btn:after{content:'↗';font-size:12px}.team-chat-overlay>.overlay-head>div [data-team-chat-expand]{display:none!important}body.embedded-chat-body .chat-compose{padding:8px!important;gap:6px!important}body.embedded-chat-body .chat-compose textarea{font-size:16px!important;min-height:42px!important;height:42px!important;padding:10px!important}body.embedded-chat-body .chat-compose .chat-attach-icon{flex-basis:38px!important;width:38px!important;min-width:38px!important;height:42px!important}body.embedded-chat-body .chat-compose .chat-send-button{min-width:44px!important;width:44px!important;height:42px!important;padding:0!important;font-size:0!important}body.embedded-chat-body .chat-compose .chat-send-button svg{width:17px!important;height:17px!important}}

/* v1.2.74 — layout correction pass: stable profile dashboard, isolated messenger, responsive controls. */
*,*::before,*::after{box-sizing:border-box}
main.main-content,.main-area,.app-shell{min-width:0;max-width:100%}
main.main-content{overflow-x:clip}
.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;min-width:0}
.page-head>div:first-child{flex:1 1 280px;min-width:0}
.page-head .head-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;gap:8px;max-width:100%;justify-content:flex-end}
.panel,.form-card,.metric-mini,.client-hero,.notice,.table-wrap,.form-grid,.filter-bar{min-width:0;max-width:100%}
.panel-head,.panel-body,.form-card-body,.form-grid>*{min-width:0}
.panel-title,.panel-subtitle,.panel-head strong,.detail-item strong,.timeline-row p,.doc-row strong{overflow-wrap:anywhere}
.table-wrap,.sheet-scroll,.table-responsive{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
table{max-width:100%}th,td{overflow-wrap:anywhere}
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{max-width:100%;min-width:0}

/* Client profile: a deliberate toolbar, navigation rail, and paired cards with no ghost grid columns. */
.client-overview-top{display:block!important;width:100%;min-width:0;margin:0 0 12px!important;gap:0!important}
.client-overview-top>.client-hero{display:grid!important;grid-template-columns:58px minmax(0,1fr) minmax(120px,auto)!important;align-items:center!important;gap:16px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:18px 20px!important;min-width:0!important}
.client-hero>div{min-width:0}
.client-hero h2{margin:0 0 5px!important;font-size:clamp(22px,2vw,30px)!important;letter-spacing:-.035em;line-height:1.12;overflow-wrap:anywhere}
.client-hero p:not(.eyebrow){margin:0!important;line-height:1.55;overflow-wrap:anywhere}
.client-hero .avatar{width:54px!important;height:54px!important;min-width:54px!important;border-radius:16px!important;font-size:16px!important}
.client-hero .hero-actions{display:flex;align-items:flex-end;justify-content:center;flex-direction:column;gap:8px;min-width:0}
.profile-profile-command{display:flex!important;flex-direction:column!important;gap:10px!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;padding:0!important}
.profile-quick-actions-card{display:block!important;position:relative!important;inset:auto!important;transform:none!important;resize:none!important;overflow:hidden!important;width:100%!important;max-width:100%!important;margin:0!important;border:1px solid rgba(92,143,205,.27)!important;border-radius:15px!important;background:linear-gradient(110deg,rgba(24,48,77,.75),rgba(13,26,44,.9))!important}
.profile-quick-actions-card .panel-head{padding:12px 15px 4px!important;border:0!important;background:transparent!important}
.profile-quick-actions-card .panel-title{font-size:12px!important;font-weight:800!important}
.profile-quick-actions-card .panel-subtitle{font-size:10px!important;line-height:1.45!important}
.profile-quick-actions-card .panel-body{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;padding:8px 14px 13px!important}
.profile-quick-actions-card .panel-body .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:36px!important;margin:0!important;padding:8px 12px!important;border-radius:10px!important;font-size:11px!important;white-space:normal!important}
.profile-shortcut-bar{display:grid!important;grid-template-columns:minmax(160px,1fr) repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:9px!important;border:1px solid rgba(93,132,180,.2)!important;border-radius:14px!important;background:rgba(12,24,40,.76)!important}
.profile-shortcut-heading{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;padding:4px 8px!important}
.profile-shortcut-heading-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border:1px solid rgba(86,151,238,.25)!important;border-radius:10px!important;background:rgba(51,119,211,.18)!important;color:#91c5ff!important;font-size:15px!important}
.profile-shortcut-heading strong,.profile-shortcut-heading small{display:block!important;overflow-wrap:anywhere}
.profile-shortcut-heading strong{font-size:11px!important;color:#edf5ff!important}
.profile-shortcut-heading small{margin-top:3px!important;font-size:9px!important;line-height:1.35!important;color:#91a8c7!important}
.profile-shortcut{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;min-height:44px!important;padding:7px 9px!important;border:1px solid rgba(102,143,195,.2)!important;border-radius:10px!important;background:rgba(24,43,66,.64)!important;color:#dbeaff!important;text-decoration:none!important;font-size:10px!important;font-weight:750!important;line-height:1.35!important;overflow-wrap:anywhere!important;transition:background .15s,border-color .15s}
.profile-shortcut:hover,.profile-shortcut:focus-visible{background:rgba(48,91,148,.3)!important;border-color:rgba(97,161,255,.5)!important;outline:none}
.profile-shortcut-icon{display:grid!important;place-items:center!important;flex:0 0 27px!important;width:27px!important;height:27px!important;border:1px solid rgba(95,156,239,.22)!important;border-radius:8px!important;background:rgba(58,127,220,.16)!important;color:#8fc3ff!important;font-size:12px!important}
.client-workspace-tabs{position:sticky!important;top:0!important;z-index:20!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;margin:0 0 13px!important;padding:6px!important;border:1px solid rgba(109,145,189,.22)!important;border-radius:15px!important;background:rgba(8,19,34,.96)!important;backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(0,0,0,.12)!important}
.client-workspace-tab{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:58px!important;margin:0!important;padding:10px 12px!important;text-align:left!important;border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:#9eb3cf!important;cursor:pointer!important}
.client-workspace-tab[aria-selected=true]{border-color:rgba(81,151,244,.56)!important;background:linear-gradient(135deg,rgba(35,75,120,.54),rgba(15,38,65,.8))!important;color:#f3f8ff!important;box-shadow:inset 0 -2px 0 #49c9ee!important}
.client-workspace-tab-icon{display:grid!important;place-items:center!important;flex:0 0 30px!important;width:30px!important;height:30px!important;border-radius:9px!important;background:rgba(106,141,183,.13)!important;color:#9ecbff!important;font-size:14px!important}
.client-workspace-tab[aria-selected=true] .client-workspace-tab-icon{background:linear-gradient(135deg,#448af0,#24b5d0)!important;color:#fff!important}
.client-workspace-tab-copy{display:block!important;min-width:0!important}
.client-workspace-tab-copy strong,.client-workspace-tab-copy small{display:block!important;overflow-wrap:anywhere}
.client-workspace-tab-copy strong{font-size:11px!important;font-weight:800!important;line-height:1.3!important}
.client-workspace-tab-copy small{margin-top:4px!important;font-size:9px!important;line-height:1.35!important;color:#8ea6c5!important}
.client-workspace-pane[hidden]{display:none!important}
.client-workspace-pane:not([hidden]){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;position:relative!important;inset:auto!important;transform:none!important;overflow:visible!important;grid-template-columns:none!important;gap:0!important}
.profile-summary-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-areas:"client team" "internal activity"!important;align-items:stretch!important;gap:14px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.profile-summary-grid>#client-details{grid-area:client!important}
.profile-summary-grid>#team-notes{grid-area:team!important}
.profile-summary-grid>.internal-notes-panel{grid-area:internal!important}
.profile-summary-grid>#profile-activity-journey{grid-area:activity!important}
.profile-summary-grid>.panel,.client-masonry-stack>.panel{display:block!important;position:relative!important;inset:auto!important;transform:none!important;float:none!important;clear:none!important;resize:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;align-self:stretch!important;overflow:hidden!important;break-inside:avoid}
.profile-summary-grid .panel-head,.client-masonry-stack .panel-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding:13px 15px!important;min-width:0!important}
.profile-summary-grid .panel-body,.client-masonry-stack .panel-body{min-width:0!important;padding:14px!important}
.profile-summary-grid .panel-title,.client-masonry-stack .panel-title{font-size:12px!important;font-weight:800!important;line-height:1.35!important}
.profile-summary-grid .panel-subtitle,.client-masonry-stack .panel-subtitle{font-size:10px!important;line-height:1.45!important}
#client-details .detail-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
#client-details .detail-item{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:58px!important;padding:9px 10px!important;border:1px solid rgba(117,151,193,.16)!important;border-radius:10px!important;background:rgba(10,24,41,.47)!important}
#client-details .detail-item small{margin:0 0 5px!important;font-size:9px!important;letter-spacing:.045em!important;line-height:1.25!important;color:#85baff!important;text-transform:uppercase!important}
#client-details .detail-item strong{display:block!important;font-size:11px!important;line-height:1.45!important;font-weight:750!important;overflow-wrap:anywhere!important;word-break:break-word!important}
#client-details .quick-edit-panel{margin-top:10px!important;padding:10px 12px!important;border:1px solid rgba(117,151,193,.18)!important;border-radius:10px!important;background:rgba(7,18,32,.35)!important}
#client-details .quick-edit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:10px!important}
#client-details .quick-edit-grid .span-2{grid-column:1/-1!important}
.team-notes-panel .panel-body{display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;align-items:start!important;gap:12px!important;padding:12px!important;min-width:0!important}
.team-notes-panel .note-composer-card{min-width:0!important;margin:0!important;padding:12px!important;border:1px solid rgba(75,145,232,.26)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(27,52,82,.65),rgba(12,27,45,.72))!important;box-shadow:none!important}
.team-notes-panel .note-composer-card h3{margin:0 0 7px!important;font-size:12px!important;line-height:1.35!important}
.team-notes-panel .note-composer-card>p{margin:0 0 12px!important;font-size:10px!important;line-height:1.5!important;color:#9cb3d0!important}
.team-notes-panel .note-composer-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;min-width:0!important}
.team-notes-panel .note-composer-form label{display:block!important;min-width:0!important;font-size:10px!important;line-height:1.4!important}
.team-notes-panel .note-composer-form input,.team-notes-panel .note-composer-form select,.team-notes-panel .note-composer-form textarea{width:100%!important;min-width:0!important;margin-top:5px!important;font-size:11px!important}
.team-notes-panel .note-composer-form textarea{min-height:84px!important;max-height:150px!important;resize:vertical!important}
.team-notes-panel .note-composer-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;grid-column:auto!important;margin-top:0!important}
.team-notes-panel .note-composer-actions .btn{min-height:35px!important;padding:8px 13px!important;font-size:10px!important}
.team-notes-panel .team-note-timeline{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;max-height:270px!important;overflow:auto!important;padding:0 4px 0 0!important;overscroll-behavior:contain!important}
.team-notes-panel .team-note-item,.team-notes-panel .team-note{min-width:0!important;overflow-wrap:anywhere!important;padding:10px 11px!important;border-radius:10px!important}
.team-notes-panel .team-notes-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:115px!important;padding:13px!important;text-align:center!important;border:1px dashed rgba(105,147,199,.28)!important;border-radius:12px!important;background:rgba(7,18,32,.25)!important}
.team-notes-panel .team-notes-empty strong{font-size:11px!important}
.team-notes-panel .team-notes-empty p{max-width:270px;margin:0!important;font-size:10px!important;line-height:1.5!important}
.internal-notes-panel .internal-note-content{display:block!important;max-height:280px!important;overflow:auto!important;padding:12px!important;border:1px solid rgba(164,131,80,.18)!important;border-radius:11px!important;background:rgba(32,33,38,.44)!important;white-space:pre-wrap!important;column-count:initial!important;columns:auto!important;line-height:1.65!important;font-size:10.5px!important;overflow-wrap:anywhere!important;word-break:break-word!important;overscroll-behavior:contain!important}
.profile-activity-journey .panel-body{padding-top:8px!important}
.profile-journey-list{display:flex!important;flex-direction:column!important;gap:0!important;max-height:360px!important;overflow:auto!important;padding:0 4px 0 0!important;overscroll-behavior:contain!important}
.profile-journey-item{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-width:0!important;padding:11px 2px!important;border-bottom:1px solid rgba(111,145,184,.15)!important}
.profile-journey-item:last-child{border-bottom:0!important}
.profile-journey-marker{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:9px!important;background:rgba(63,132,222,.16)!important;color:#98c7ff!important;font-size:12px!important}
.profile-journey-marker.call{background:rgba(39,179,157,.13)!important;color:#7fe0cb!important}
.profile-journey-marker.task{background:rgba(208,164,72,.13)!important;color:#f2ca80!important}
.profile-journey-copy{min-width:0!important}
.profile-journey-item-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important;min-width:0!important}
.profile-journey-item-head strong{min-width:0!important;font-size:10.5px!important;line-height:1.4!important;overflow-wrap:anywhere!important}
.profile-journey-item-head time{flex:0 0 auto!important;max-width:43%!important;font-size:9px!important;line-height:1.4!important;color:#8fa7c7!important;text-align:right!important;overflow-wrap:anywhere!important}
.profile-journey-copy p{margin:5px 0!important;font-size:10px!important;line-height:1.5!important;color:#a8bdd8!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important}
.profile-journey-copy small{font-size:9px!important;color:#7f9abb!important}
.profile-journey-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:145px!important;padding:18px!important;text-align:center!important;border:1px dashed rgba(103,145,195,.22)!important;border-radius:12px!important}
.profile-journey-empty strong{font-size:11px!important}
.profile-journey-empty p{max-width:300px;margin:0!important;font-size:10px!important;line-height:1.5!important;color:#8fa8c9!important}
.client-masonry-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:14px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
.client-masonry-columns.is-single-column{grid-template-columns:minmax(0,1fr)!important}
.client-masonry-stack{display:flex!important;flex-direction:column!important;gap:14px!important;min-width:0!important;width:100%!important}
.client-masonry-stack>*{min-width:0!important;max-width:100%!important}
.client-masonry-stack .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.client-masonry-stack .form-grid label,.client-masonry-stack label{min-width:0!important;overflow-wrap:anywhere}
.client-masonry-stack .form-grid input,.client-masonry-stack .form-grid select,.client-masonry-stack .form-grid textarea{width:100%!important;min-width:0!important}
.client-workspace-pane .overview-field-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:12px!important}
.client-workspace-pane .overview-field{min-width:0!important;padding:10px!important}
.client-workspace-pane .overview-field strong{display:block!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.client-workspace-pane .hs-handoff-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;min-width:0!important}
.client-workspace-pane .hs-handoff-form>*{min-width:0!important;max-width:100%!important}
.client-workspace-pane .hs-handoff-form .span-2,.client-workspace-pane .hs-handoff-form .notice,.client-workspace-pane .hs-handoff-form .check-row{grid-column:1/-1!important}

/* Team Messenger: the floating shell is one popup; the iframe is only the standalone chat view. */
.team-chat-overlay{position:fixed!important;left:auto!important;top:auto!important;right:18px!important;bottom:86px!important;transform:none!important;display:none!important;flex-direction:column!important;width:min(720px,calc(100vw - 36px))!important;height:min(620px,calc(100dvh - 130px))!important;min-width:0!important;min-height:350px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 96px)!important;resize:none!important;overflow:hidden!important;border:1px solid rgba(107,151,204,.36)!important;border-radius:18px!important;background:#0b1727!important;box-shadow:0 24px 72px rgba(0,0,0,.56)!important;z-index:6002!important}
.team-chat-overlay.open{display:flex!important}
.team-chat-overlay.is-expanded{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(1050px,calc(100vw - 40px))!important;height:min(800px,calc(100dvh - 88px))!important;max-width:calc(100vw - 40px)!important;max-height:calc(100dvh - 88px)!important;min-height:0!important}
.team-chat-overlay>.overlay-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex:0 0 auto!important;min-height:55px!important;padding:10px 13px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(121,158,201,.2)!important;background:linear-gradient(110deg,#142a43,#102136)!important}
.team-chat-overlay>.overlay-head>strong{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;font-size:12px!important;color:#eef5ff!important}
.team-chat-overlay>.overlay-head>strong small{font-size:9px!important;color:#8fa8c7!important;font-weight:600!important}
.team-chat-overlay>.overlay-head>div{display:flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;min-width:0!important}
.team-chat-overlay>.overlay-head .btn{min-height:34px!important;padding:7px 10px!important;font-size:10px!important;white-space:nowrap!important}
.team-chat-overlay>.quick-links-note{flex:0 0 auto!important;padding:6px 12px!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(121,158,201,.14)!important;background:#0d1d30!important;color:#86a9d8!important;font-size:9px!important;line-height:1.4!important}
.team-chat-overlay>iframe{display:block!important;flex:1 1 0!important;width:100%!important;height:1px!important;min-width:0!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;background:#0b1626!important}
html:has(body.chat-standalone-body),body.chat-standalone-body{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0b1626!important;color:#e8f1ff!important;font-family:inherit!important}
body.chat-standalone-body{height:100dvh!important}
.chat-standalone-app{display:grid!important;grid-template-columns:clamp(132px,23%,196px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important;gap:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#0b1626!important}
.chat-standalone-app>.chat-channels{display:flex!important;flex-direction:column!important;gap:12px!important;width:auto!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px 9px!important;overflow-x:hidden!important;overflow-y:auto!important;border:0!important;border-right:1px solid rgba(111,150,195,.2)!important;border-radius:0!important;background:linear-gradient(180deg,#101f33,#0e1b2d)!important}
.chat-channels-head{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:4px 4px 9px!important;border-bottom:1px solid rgba(111,150,195,.16)!important}
.chat-channels-mark{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;flex:0 0 30px!important;border:1px solid rgba(85,151,240,.25)!important;border-radius:9px!important;background:rgba(53,120,213,.17)!important;color:#9ac9ff!important;font-size:16px!important;font-weight:800!important}
.chat-channels-head strong,.chat-channels-head small{display:block!important;overflow-wrap:anywhere!important}
.chat-channels-head strong{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#a9c4e7!important}
.chat-channels-head small{margin-top:3px!important;font-size:9px!important;color:#7894b8!important}
.chat-channel-list{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important}
.chat-channel-list .channel-link{display:flex!important;align-items:flex-start!important;gap:7px!important;width:100%!important;min-width:0!important;padding:9px 8px!important;border:1px solid transparent!important;border-radius:9px!important;color:#a4bad6!important;text-decoration:none!important;font-size:10px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important}
.chat-channel-list .channel-link.active{border-color:rgba(87,153,242,.18)!important;background:rgba(53,99,157,.3)!important;color:#f0f6ff!important}
.chat-channel-list .channel-link>span:first-child{flex:0 0 auto!important;color:#87baff!important}
.chat-private-note{margin-top:auto!important;padding:9px!important;border:1px solid rgba(113,149,193,.17)!important;border-radius:10px!important;background:rgba(24,43,67,.48)!important;color:#8da9cc!important;font-size:9px!important;line-height:1.45!important}
.chat-private-note p{margin:0!important;overflow-wrap:anywhere!important}
.chat-standalone-app>.chat-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#0b1626!important}
.chat-standalone-body .chat-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:9px!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:61px!important;margin:0!important;padding:11px 14px!important;border:0!important;border-bottom:1px solid rgba(115,153,199,.18)!important;border-radius:0!important;background:linear-gradient(115deg,rgba(20,39,62,.98),rgba(15,29,47,.98))!important}
.chat-standalone-body .chat-current-channel{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
.chat-standalone-body .chat-current-channel strong{font-size:13px!important;font-weight:800!important;color:#eef5ff!important;overflow-wrap:anywhere!important}
.chat-standalone-body .chat-hash{color:#75b7ff!important;font-size:18px!important;font-weight:800!important}
.chat-standalone-body .chat-channel-description{margin-top:5px!important;font-size:9px!important;line-height:1.4!important;color:#8ca8c9!important;overflow-wrap:anywhere!important}
.chat-standalone-body .chat-open-page{display:none!important}
.chat-standalone-body .chat-messages{display:flex!important;flex:1 1 0!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;margin:0!important;padding:14px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;background:radial-gradient(ellipse at 80% 0%,rgba(30,70,112,.11),transparent 55%),#0b1626!important}
.chat-standalone-body .chat-message{display:grid!important;grid-template-columns:31px minmax(0,1fr)!important;align-items:start!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}
.chat-standalone-body .chat-message>.avatar{display:grid!important;place-items:center!important;width:31px!important;height:31px!important;min-width:31px!important;border-radius:10px!important;background:linear-gradient(140deg,#2872a3,#13a4a1)!important;color:#fff!important;font-size:10px!important;font-weight:800!important}
.chat-standalone-body .chat-message-card,.chat-standalone-body .chat-message>div:not(.avatar){display:block!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:11px 12px!important;border:1px solid rgba(114,153,198,.18)!important;border-radius:12px!important;background:linear-gradient(120deg,rgba(23,42,65,.95),rgba(17,33,52,.96))!important;color:#dbe8f8!important;overflow-wrap:anywhere!important;box-shadow:none!important}
.chat-standalone-body .chat-message-meta{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important;margin:0 0 6px!important}
.chat-standalone-body .chat-message-meta strong{font-size:10px!important;font-weight:800!important;color:#e7f1ff!important}
.chat-standalone-body .chat-message-meta time{font-size:8px!important;color:#7894b6!important}
.chat-standalone-body .chat-message-card>p,.chat-standalone-body .chat-message>div>p{margin:0!important;font-size:11px!important;line-height:1.5!important;color:#d0dced!important;overflow-wrap:anywhere!important;white-space:pre-wrap!important}
.chat-standalone-body .chat-attachment-preview{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;margin-top:9px!important}
.chat-standalone-body .chat-inline-image{display:block!important;max-width:min(100%,360px)!important;max-height:220px!important;object-fit:contain!important;border-radius:9px!important}
.chat-standalone-body .chat-inline-media{max-width:100%!important;width:min(100%,420px)!important}
.chat-standalone-body .chat-inline-audio{max-width:100%!important;width:min(100%,320px)!important}
.chat-standalone-body .chat-empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;flex:1 0 auto!important;min-height:180px!important;text-align:center!important;color:#9db3d0!important}
.chat-standalone-body .chat-empty-state strong{margin-top:10px!important;font-size:12px!important;color:#e1edff!important}
.chat-standalone-body .chat-empty-state p{max-width:260px!important;font-size:10px!important;line-height:1.5!important}
.chat-standalone-body .chat-compose{display:grid!important;grid-template-columns:minmax(0,1fr) 42px auto!important;align-items:end!important;gap:8px!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:11px 12px!important;border:0!important;border-top:1px solid rgba(115,153,199,.2)!important;border-radius:0!important;background:#101e31!important;overflow:visible!important}
.chat-standalone-body .chat-compose textarea{display:block!important;flex:initial!important;width:100%!important;min-width:0!important;min-height:42px!important;height:42px!important;max-height:116px!important;resize:none!important;margin:0!important;padding:11px 12px!important;border:1px solid #2a405e!important;border-radius:12px!important;background:#081424!important;color:#edf5ff!important;font-size:12px!important;line-height:1.4!important;box-shadow:none!important;visibility:visible!important;opacity:1!important}
.chat-standalone-body .chat-compose textarea::placeholder{color:#7188a7!important}
.chat-standalone-body .chat-compose .chat-attach-icon{position:relative!important;display:grid!important;place-items:center!important;flex:none!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:1px solid rgba(113,151,198,.24)!important;border-radius:11px!important;background:#14243a!important;color:#c5d9f1!important;cursor:pointer!important}
.chat-standalone-body .chat-compose .chat-attach-icon input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;pointer-events:none!important}
.chat-standalone-body .chat-compose .chat-send-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:none!important;min-width:80px!important;width:auto!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 13px!important;border-radius:11px!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important}
.chat-standalone-body .chat-compose .chat-send-button svg{width:14px!important;height:14px!important}
.chat-standalone-body .chat-scroll-anchor{display:block!important;flex:0 0 1px!important;height:1px!important}
@media(max-width:1120px){.profile-shortcut-bar{grid-template-columns:repeat(4,minmax(0,1fr))!important}.profile-shortcut-heading{grid-column:1/-1!important}.profile-shortcut-heading small{display:inline!important;margin-left:5px!important}.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.client-workspace-tab-copy small{display:none!important}}
@media(max-width:900px){.client-workspace-tabs{position:relative!important;top:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.profile-summary-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"client" "team" "internal" "activity"!important}.team-notes-panel .panel-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}.team-notes-panel .team-note-timeline{max-height:240px!important}.client-masonry-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}.team-chat-overlay,.team-chat-overlay.is-expanded{left:8px!important;top:8px!important;right:8px!important;bottom:8px!important;transform:none!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;min-height:0!important;border-radius:15px!important}}
@media(max-width:620px){.client-overview-top>.client-hero{grid-template-columns:44px minmax(0,1fr)!important;gap:11px!important;padding:14px!important}.client-hero .avatar{width:44px!important;height:44px!important;min-width:44px!important;border-radius:13px!important}.client-hero .hero-actions{grid-column:1/-1!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important}.profile-quick-actions-card .panel-body .btn{flex:1 1 150px!important}.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:7px!important;gap:6px!important}.profile-shortcut-heading{grid-column:1/-1!important}.profile-shortcut{padding:7px!important;font-size:9px!important}.client-workspace-tabs{gap:5px!important;padding:5px!important}.client-workspace-tab{min-height:48px!important;padding:8px!important;gap:7px!important}.client-workspace-tab-icon{width:25px!important;height:25px!important;flex-basis:25px!important;font-size:12px!important}.client-workspace-tab-copy strong{font-size:10px!important}.client-workspace-pane .overview-field-grid,#client-details .detail-list{grid-template-columns:minmax(0,1fr)!important}.profile-summary-grid,.client-masonry-columns{grid-template-columns:minmax(0,1fr)!important}.team-notes-panel .panel-body{grid-template-columns:minmax(0,1fr)!important}.team-notes-panel .team-note-timeline{max-height:250px!important}.client-masonry-stack .form-grid,.client-workspace-pane .hs-handoff-form,#client-details .quick-edit-grid{grid-template-columns:minmax(0,1fr)!important}.client-masonry-stack .form-grid .span-2,#client-details .quick-edit-grid .span-2,.client-workspace-pane .hs-handoff-form .span-2{grid-column:1!important}.chat-standalone-app{grid-template-columns:102px minmax(0,1fr)!important}.chat-standalone-app>.chat-channels{padding:9px 5px!important}.chat-channels-head{gap:5px!important}.chat-channels-mark{width:24px!important;height:24px!important;flex-basis:24px!important;font-size:12px!important}.chat-channels-head strong{font-size:8px!important}.chat-channel-list .channel-link{padding:8px 5px!important;font-size:9px!important;gap:5px!important}.chat-private-note{font-size:8px!important;padding:6px!important}.chat-standalone-body .chat-head{min-height:53px!important;padding:8px 9px!important}.chat-standalone-body .chat-channel-description{font-size:8px!important}.chat-standalone-body .chat-messages{padding:9px!important;gap:8px!important}.chat-standalone-body .chat-message{grid-template-columns:26px minmax(0,1fr)!important;gap:6px!important}.chat-standalone-body .chat-message>.avatar{width:26px!important;height:26px!important;min-width:26px!important;border-radius:8px!important;font-size:9px!important}.chat-standalone-body .chat-message-card,.chat-standalone-body .chat-message>div:not(.avatar){padding:9px!important}.chat-standalone-body .chat-compose{grid-template-columns:minmax(0,1fr) 36px 42px!important;gap:6px!important;padding:7px!important}.chat-standalone-body .chat-compose textarea{font-size:16px!important;min-height:40px!important;height:40px!important;padding:9px!important}.chat-standalone-body .chat-compose .chat-attach-icon{width:36px!important;min-width:36px!important;height:40px!important;min-height:40px!important}.chat-standalone-body .chat-compose .chat-send-button{width:42px!important;min-width:42px!important;height:40px!important;min-height:40px!important;padding:0!important;font-size:0!important}.chat-standalone-body .chat-compose .chat-send-button svg{width:16px!important;height:16px!important}}

.chat-embedded-flashes{display:flex!important;flex-direction:column!important;gap:4px!important;flex:0 0 auto!important;max-height:72px!important;overflow:auto!important;padding:5px 10px!important;background:#0c1929!important;border-bottom:1px solid rgba(115,153,199,.14)!important}
.chat-embedded-flash{padding:5px 9px!important;border:1px solid rgba(97,160,232,.23)!important;border-radius:7px!important;background:rgba(48,105,176,.12)!important;color:#bddcff!important;font-size:9px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.chat-embedded-flash.error{border-color:rgba(250,116,140,.28)!important;background:rgba(190,59,83,.12)!important;color:#ffc3cb!important}
.chat-embedded-flash.success{border-color:rgba(75,210,168,.23)!important;background:rgba(37,151,122,.12)!important;color:#a5efd4!important}


/* v1.2.75 — polished client workspace navigation, unified action toolbar, and legible coverage check rows. */
/* A single integrated command strip: actions left, shortcuts right, with one shared visual frame. */
body:has(.client-workspace-tabs) .profile-profile-command{
 display:grid!important;
 grid-template-columns:minmax(300px,.92fr) minmax(0,1.45fr)!important;
 align-items:stretch!important;
 gap:0!important;
 width:100%!important;
 min-width:0!important;
 margin:0 0 14px!important;
 padding:9px 10px!important;
 border:1px solid rgba(105,151,207,.27)!important;
 border-radius:16px!important;
 background:linear-gradient(110deg,rgba(17,34,55,.97),rgba(11,25,42,.97))!important;
 box-shadow:0 9px 24px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.025)!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-self:stretch!important;
 width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;
 margin:0!important;padding:4px 14px 4px 5px!important;overflow:visible!important;
 border:0!important;border-right:1px solid rgba(121,157,201,.19)!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-head{
 display:block!important;flex:0 0 auto!important;padding:0 0 8px!important;margin:0!important;border:0!important;background:transparent!important;
}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-title{font-size:12px!important;line-height:1.35!important;color:#eff6ff!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-subtitle{font-size:9px!important;line-height:1.4!important;color:#8fa9ca!important;margin-top:3px!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-body{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;
 margin:0!important;padding:0!important;min-width:0!important;background:transparent!important;
}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-body .btn{
 min-width:0!important;min-height:34px!important;padding:7px 9px!important;font-size:10px!important;line-height:1.25!important;
 border-radius:9px!important;white-space:normal!important;flex:0 1 auto!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{
 display:grid!important;grid-template-columns:minmax(102px,.7fr) repeat(4,minmax(0,1fr))!important;
 align-items:stretch!important;align-content:center!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:3px 2px 3px 12px!important;border:0!important;border-radius:0!important;background:transparent!important;
}
body:has(.client-workspace-tabs) .profile-shortcut-heading{display:flex!important;grid-column:auto!important;align-items:center!important;gap:8px!important;min-width:0!important;padding:0 5px!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading-icon{width:29px!important;height:29px!important;flex-basis:29px!important;font-size:13px!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading strong{font-size:10.5px!important;line-height:1.3!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading small{display:block!important;margin:3px 0 0!important;font-size:9px!important;line-height:1.3!important}
body:has(.client-workspace-tabs) .profile-shortcut{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-height:42px!important;min-width:0!important;
 padding:6px 7px!important;border-radius:10px!important;font-size:9.5px!important;line-height:1.25!important;white-space:normal!important;
 background:rgba(27,48,74,.62)!important;border-color:rgba(112,151,197,.17)!important;
}
body:has(.client-workspace-tabs) .profile-shortcut-icon{width:25px!important;height:25px!important;flex-basis:25px!important;font-size:11px!important}
body:has(.client-workspace-tabs) .profile-shortcut>span:last-child{min-width:0!important;overflow-wrap:anywhere!important}

/* Remove legacy pseudo-icons/underline; the tab already contains its single real icon element. */
.client-workspace-tab::before{content:none!important;display:none!important}
.client-workspace-tab::after{content:none!important;display:none!important}
.client-workspace-tabs{
 position:sticky!important;top:7px!important;z-index:20!important;display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0 0 15px!important;padding:7px!important;
 border:1px solid rgba(119,157,207,.24)!important;border-radius:16px!important;
 background:rgba(8,19,33,.96)!important;box-shadow:0 9px 24px rgba(0,0,0,.15)!important;
}
.client-workspace-tab{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;
 min-width:0!important;min-height:64px!important;padding:10px 13px!important;margin:0!important;text-align:left!important;
 border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:#a3b7d0!important;
 box-shadow:none!important;transform:none!important;white-space:normal!important;
}
.client-workspace-tab-icon{position:static!important;display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-width:32px!important;margin:0!important;border-radius:10px!important;background:rgba(109,147,192,.12)!important;color:#9acbff!important;font-size:14px!important}
.client-workspace-tab-copy{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;min-width:0!important}
.client-workspace-tab-copy strong{display:block!important;margin:0!important;font-size:11.5px!important;line-height:1.3!important;font-weight:800!important;letter-spacing:-.1px!important;overflow-wrap:normal!important;word-break:normal!important;color:inherit!important}
.client-workspace-tab-copy small{display:block!important;margin:0!important;font-size:9.5px!important;line-height:1.35!important;font-weight:500!important;color:#8fa7c6!important;overflow-wrap:anywhere!important}
.client-workspace-tab[aria-selected=true]{background:linear-gradient(135deg,rgba(36,88,143,.54),rgba(15,36,61,.86))!important;border-color:rgba(85,158,246,.52)!important;color:#f4f8ff!important;box-shadow:inset 3px 0 #59a2ff,0 4px 12px rgba(0,0,0,.12)!important}
.client-workspace-tab[aria-selected=true] .client-workspace-tab-icon{background:linear-gradient(135deg,#4289ef,#20b4cc)!important;color:white!important;box-shadow:0 4px 12px rgba(44,125,224,.2)!important}
.client-workspace-tab[aria-selected=true] .client-workspace-tab-copy small{color:#b2cdec!important}
.client-workspace-tab:hover{border-color:rgba(101,164,239,.28)!important;background:rgba(49,91,143,.16)!important;color:#f0f6ff!important}
.client-workspace-tab:focus-visible{outline:2px solid #63adff!important;outline-offset:2px!important}

/* Coverage forms used to inherit generic grid-label styling after being moved to the tab panes.
   Keep consent/check rows horizontal and let the copy use the available width. */
.client-workspace-pane .form-grid>label.check-row,
.client-workspace-pane .hs-handoff-form>label.check-row,
.client-workspace-pane label.check-row{
 display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;
 grid-column:1/-1!important;grid-row:auto!important;position:relative!important;inset:auto!important;float:none!important;
 width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 gap:10px!important;margin:2px 0!important;padding:12px 14px!important;overflow:visible!important;box-sizing:border-box!important;
 border:1px solid rgba(91,147,216,.23)!important;border-radius:12px!important;background:rgba(24,46,73,.48)!important;
 text-align:left!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.5!important;
}
.client-workspace-pane label.check-row>input[type=checkbox],
.client-workspace-pane label.check-row>input[type=radio]{
 display:block!important;position:relative!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;
 margin:2px 0 0!important;padding:0!important;transform:none!important;align-self:flex-start!important;
}
.client-workspace-pane label.check-row>span{display:block!important;flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:100%!important;overflow:visible!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
.client-workspace-pane label.check-row>span strong{display:block!important;width:auto!important;min-width:0!important;margin:0!important;font-size:11px!important;font-weight:800!important;line-height:1.45!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
.client-workspace-pane label.check-row>span small{display:block!important;width:auto!important;min-width:0!important;margin:5px 0 0!important;font-size:10px!important;line-height:1.5!important;color:#9cb4d3!important;overflow-wrap:break-word!important;word-break:normal!important;white-space:normal!important}
.client-workspace-pane .hs-handoff-form>label:not(.check-row),
.client-workspace-pane .client-masonry-stack>.panel .form-grid>label:not(.check-row){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
.client-workspace-pane .hs-handoff-form>label:not(.check-row)>input,
.client-workspace-pane .hs-handoff-form>label:not(.check-row)>select,
.client-workspace-pane .client-masonry-stack>.panel .form-grid>label:not(.check-row)>input,
.client-workspace-pane .client-masonry-stack>.panel .form-grid>label:not(.check-row)>select{width:100%!important;min-width:0!important;max-width:100%!important}
.client-workspace-pane .hs-handoff-form .notice{grid-column:1/-1!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;line-height:1.5!important}

@media(max-width:1280px){
 body:has(.client-workspace-tabs) .profile-profile-command{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{border-right:0!important;border-bottom:1px solid rgba(121,157,201,.19)!important;padding:4px 5px 10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:minmax(110px,.65fr) repeat(4,minmax(0,1fr))!important;padding:4px 3px!important}
}
@media(min-width:901px) and (max-width:1150px){.client-workspace-tab-copy small{display:none!important}.client-workspace-tab{gap:8px!important;padding:9px!important}.client-workspace-tab-icon{flex-basis:28px!important;width:28px!important;height:28px!important;min-width:28px!important}}
@media(max-width:900px){
 .client-workspace-tabs{position:relative!important;top:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .client-workspace-tab-copy small{display:block!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-workspace-tabs) .profile-shortcut-heading{grid-column:1/-1!important;padding:2px 4px 5px!important}
 .client-workspace-pane .client-masonry-columns{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:620px){
 .client-workspace-tabs{gap:5px!important;padding:5px!important}
 .client-workspace-tab{min-height:56px!important;padding:8px!important;gap:8px!important}
 .client-workspace-tab-icon{flex-basis:27px!important;width:27px!important;height:27px!important;min-width:27px!important;border-radius:8px!important;font-size:12px!important}
 .client-workspace-tab-copy strong{font-size:10.5px!important}
 .client-workspace-tab-copy small{font-size:9px!important;line-height:1.3!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-workspace-tabs) .profile-shortcut{min-height:40px!important;padding:6px!important}
 body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-body .btn{flex:1 1 135px!important}
 .client-workspace-pane label.check-row{padding:10px!important;gap:8px!important}
}


/* v1.2.76 — call log experience, outbound dashboard pulse, resilient client workspace tabs and consent rows. */
/* The old tab pseudo-icons had greater specificity while selected, causing duplicate icons and stray underline bars. */
button.client-workspace-tab::before,
button.client-workspace-tab::after,
button.client-workspace-tab[aria-selected="true"]::before,
button.client-workspace-tab[aria-selected="true"]::after,
button.client-workspace-tab[aria-selected="false"]::before,
button.client-workspace-tab[aria-selected="false"]::after{
 content:none!important;display:none!important;visibility:hidden!important;
}
.client-workspace-tabs{
 position:sticky!important;top:8px!important;z-index:18!important;
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;
 align-items:stretch!important;width:100%!important;min-width:0!important;margin:12px 0 16px!important;padding:7px!important;
 border:1px solid rgba(119,157,207,.22)!important;border-radius:16px!important;
 background:rgba(8,19,33,.96)!important;box-shadow:0 9px 24px rgba(0,0,0,.13)!important;
}
button.client-workspace-tab{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
 gap:10px!important;min-width:0!important;min-height:60px!important;height:auto!important;padding:10px 12px!important;margin:0!important;
 border:1px solid transparent!important;border-radius:11px!important;background:transparent!important;color:#a3b7d0!important;
 box-shadow:none!important;text-align:left!important;white-space:normal!important;transform:none!important;position:relative!important;
}
button.client-workspace-tab .client-workspace-tab-icon{position:static!important;inset:auto!important;display:grid!important;place-items:center!important;flex:0 0 31px!important;width:31px!important;height:31px!important;min-width:31px!important;max-width:31px!important;margin:0!important;padding:0!important;border:1px solid rgba(115,158,210,.15)!important;border-radius:9px!important;background:rgba(109,147,192,.12)!important;color:#9acbff!important;font-size:14px!important;line-height:1!important}
button.client-workspace-tab .client-workspace-tab-copy{display:flex!important;position:static!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
button.client-workspace-tab .client-workspace-tab-copy strong{display:block!important;width:auto!important;margin:0!important;font-size:11px!important;font-weight:850!important;line-height:1.3!important;letter-spacing:-.08px!important;word-break:normal!important;overflow-wrap:normal!important;color:inherit!important}
button.client-workspace-tab .client-workspace-tab-copy small{display:block!important;width:auto!important;margin:0!important;font-size:9px!important;font-weight:500!important;line-height:1.35!important;word-break:normal!important;overflow-wrap:anywhere!important;color:#8fa7c6!important}
button.client-workspace-tab[aria-selected="true"]{border-color:rgba(85,158,246,.48)!important;background:linear-gradient(135deg,rgba(36,88,143,.48),rgba(15,36,61,.8))!important;color:#f4f8ff!important;box-shadow:inset 3px 0 #59a2ff, inset 0 1px rgba(255,255,255,.035)!important}
button.client-workspace-tab[aria-selected="true"] .client-workspace-tab-icon{background:linear-gradient(135deg,#4289ef,#20b4cc)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 3px 9px rgba(44,125,224,.18)!important}
button.client-workspace-tab:hover{border-color:rgba(101,164,239,.25)!important;background:rgba(49,91,143,.14)!important;color:#f0f6ff!important}

/* One compact, continuous action row: CRM actions on the left, navigation shortcuts on the right. */
body:has(.client-workspace-tabs) .profile-profile-command{
 display:grid!important;grid-template-columns:minmax(370px,.92fr) minmax(0,1.35fr)!important;grid-auto-flow:row!important;
 align-items:stretch!important;gap:12px!important;width:100%!important;min-width:0!important;margin:0 0 14px!important;padding:10px!important;
 border:1px solid rgba(105,151,207,.26)!important;border-radius:16px!important;
 background:linear-gradient(110deg,rgba(17,34,55,.97),rgba(11,25,42,.97))!important;box-shadow:0 9px 24px rgba(0,0,0,.12)!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{
 display:flex!important;flex-direction:column!important;justify-content:center!important;width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:3px 10px 3px 4px!important;border:0!important;border-right:1px solid rgba(121,157,201,.18)!important;
 border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-head{display:block!important;padding:0 0 7px!important;margin:0!important;border:0!important;background:transparent!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-title{font-size:11px!important;line-height:1.3!important;color:#eff6ff!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-subtitle{font-size:9px!important;line-height:1.35!important;color:#8fa9ca!important;margin-top:3px!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-body{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:6px!important;margin:0!important;padding:0!important;min-width:0!important;background:transparent!important}
body:has(.client-workspace-tabs) .profile-quick-actions-card .panel-body .btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:33px!important;padding:7px 9px!important;font-size:9.5px!important;line-height:1.25!important;border-radius:9px!important;white-space:normal!important;flex:0 1 auto!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{display:grid!important;grid-template-columns:minmax(85px,.68fr) repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:2px 0 2px 5px!important;border:0!important;border-radius:0!important;background:transparent!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading{display:flex!important;grid-column:auto!important;align-items:center!important;gap:6px!important;min-width:0!important;padding:0 2px!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading-icon{width:25px!important;height:25px!important;flex:0 0 25px!important;font-size:11px!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading strong{font-size:10px!important;line-height:1.3!important}
body:has(.client-workspace-tabs) .profile-shortcut-heading small{display:block!important;margin:3px 0 0!important;font-size:8.5px!important;line-height:1.25!important}
body:has(.client-workspace-tabs) .profile-shortcut{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-height:38px!important;min-width:0!important;padding:6px!important;border-radius:9px!important;font-size:9px!important;line-height:1.2!important;white-space:normal!important;background:rgba(27,48,74,.62)!important;border-color:rgba(112,151,197,.17)!important}
body:has(.client-workspace-tabs) .profile-shortcut-icon{width:23px!important;height:23px!important;flex:0 0 23px!important;font-size:10px!important}
body:has(.client-workspace-tabs) .profile-shortcut>span:last-child{min-width:0!important;overflow-wrap:anywhere!important}

/* Coverage forms: never collapse consent copy into a narrow vertical strip. */
.client-workspace-panes .client-workspace-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;min-width:0!important;column-gap:14px!important;row-gap:13px!important}
.client-workspace-panes .client-workspace-pane .form-grid>label.check-row,
.client-workspace-panes .client-workspace-pane .hs-handoff-form>label.check-row,
.client-workspace-panes .client-workspace-pane label.check-row{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:10px!important;
 grid-column:1/-1!important;grid-row:auto!important;position:relative!important;inset:auto!important;float:none!important;clear:none!important;order:initial!important;
 width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:2px 0!important;padding:12px 14px!important;overflow:visible!important;box-sizing:border-box!important;transform:none!important;
 border:1px solid rgba(91,147,216,.23)!important;border-radius:12px!important;background:rgba(24,46,73,.48)!important;
 text-align:left!important;text-indent:0!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;writing-mode:horizontal-tb!important;line-height:1.5!important;
}
.client-workspace-panes .client-workspace-pane label.check-row>input[type="checkbox"],
.client-workspace-panes .client-workspace-pane label.check-row>input[type="radio"]{display:block!important;position:static!important;float:none!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;margin:2px 0 0!important;padding:0!important;transform:none!important;align-self:flex-start!important}
.client-workspace-panes .client-workspace-pane label.check-row>span{display:block!important;position:static!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;line-height:1.5!important}
.client-workspace-panes .client-workspace-pane label.check-row>span strong{display:block!important;width:auto!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;font-size:11px!important;font-weight:800!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;writing-mode:horizontal-tb!important}
.client-workspace-panes .client-workspace-pane label.check-row>span small{display:block!important;width:auto!important;min-width:0!important;height:auto!important;margin:5px 0 0!important;padding:0!important;font-size:10px!important;line-height:1.5!important;color:#9cb4d3!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;writing-mode:horizontal-tb!important}
.client-workspace-panes .client-workspace-pane .hs-handoff-form>label:not(.check-row){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;word-break:normal!important}
.client-workspace-panes .client-workspace-pane .hs-handoff-form>label:not(.check-row)>input,
.client-workspace-panes .client-workspace-pane .hs-handoff-form>label:not(.check-row)>select{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}

/* Call Log — a purpose-built operations page instead of a generic table and form. */
.call-log-workspace{display:grid;gap:15px;min-width:0}
.call-log-welcome-panel{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:15px;padding:18px 20px;border:1px solid rgba(95,151,218,.25);border-radius:17px;background:radial-gradient(ellipse at 95% 0%,rgba(48,127,217,.15),transparent 45%),linear-gradient(115deg,rgba(17,35,58,.98),rgba(11,25,42,.96));box-shadow:0 10px 28px rgba(0,0,0,.12);min-width:0}
.call-log-welcome-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(97,167,250,.24);border-radius:14px;background:linear-gradient(135deg,rgba(57,132,239,.25),rgba(29,187,202,.16));color:#9bcaff}
.call-log-welcome-icon svg{width:22px;height:22px}
.call-log-kicker{display:block;margin-bottom:4px;font-size:9px;font-weight:850;letter-spacing:1.4px;color:#74aaf1}
.call-log-welcome-copy h2{margin:0;font:850 17px/1.3 Manrope,sans-serif;letter-spacing:-.35px;color:#eef5ff}
.call-log-welcome-copy p{margin:5px 0 0;font-size:10.5px;line-height:1.5;color:#9bb1ce}
.call-log-welcome-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.call-log-welcome-actions .btn{min-height:34px;white-space:nowrap}
.call-log-stats{gap:12px;margin:0}
.call-log-stats .stat-card{min-width:0;min-height:118px;padding:16px 17px;border-radius:15px;background:linear-gradient(145deg,rgba(20,38,61,.96),rgba(13,26,43,.98));border-color:rgba(112,151,197,.2);box-shadow:0 6px 18px rgba(0,0,0,.08)}
.call-log-stats .stat-top{font-size:10px;color:#9eb5d3;gap:9px}
.call-log-stats .stat-icon{width:32px;height:32px;border-radius:10px}
.call-log-stats .stat-value{font:850 25px/1.15 Manrope,sans-serif;letter-spacing:-.65px;color:#f0f6ff;margin-top:12px}
.call-log-stats .stat-foot{font-size:9px;line-height:1.4;color:#8198b7;margin-top:7px}
.call-log-data-note{margin:0!important;border-radius:11px;line-height:1.55}
.call-log-columns{grid-template-columns:minmax(0,1.45fr) minmax(350px,.8fr)!important;align-items:start!important;gap:16px!important;min-width:0}
.call-log-history-card,.call-log-entry-card{min-width:0!important;overflow:hidden;border-radius:16px!important;border:1px solid rgba(105,151,207,.22)!important;background:linear-gradient(160deg,rgba(17,32,51,.97),rgba(10,22,37,.98))!important;box-shadow:0 9px 24px rgba(0,0,0,.09)!important}
.call-log-history-card>.panel-head,.call-log-entry-card>.form-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 18px!important;border-bottom:1px solid rgba(116,153,196,.14)!important;background:rgba(24,43,66,.45)!important}
.call-log-history-card .panel-title,.call-log-entry-card .form-card-head h2{display:flex;align-items:center;gap:9px;margin:0;font-size:13px;font-weight:850;color:#edf5ff}
.call-log-history-card .panel-title:before{content:'◷';display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:rgba(69,139,230,.16);color:#8bc0ff;font-size:14px}
.call-log-history-card .panel-subtitle,.call-log-entry-card .form-card-head p{font-size:9.5px;line-height:1.45;color:#8ca4c4}
.call-log-history-card .table-wrap{max-height:680px;overflow:auto;min-width:0}
.call-log-history-card table{width:100%;min-width:660px;border-collapse:separate;border-spacing:0}
.call-log-history-card thead th{position:sticky;top:0;z-index:2;padding:12px 13px;background:#101f33;color:#7fa9de;font-size:9px;letter-spacing:.55px;text-transform:uppercase;border-bottom:1px solid rgba(118,156,203,.18);white-space:nowrap}
.call-log-history-card tbody td{padding:13px;border-bottom:1px solid rgba(115,150,193,.1);font-size:10.5px;line-height:1.45;vertical-align:middle}
.call-log-history-card tbody tr:hover td{background:rgba(60,112,177,.075)}
.call-log-history-card tbody tr:last-child td{border-bottom:0}
.call-log-history-card tbody td a{font-weight:800;color:#a8ceff}
.call-log-history-card .badge{display:inline-flex;align-items:center;gap:4px;margin:2px 2px 2px 0;font-size:9px;padding:4px 7px;border-radius:7px;white-space:nowrap}
.call-log-entry-card .form-card-head{display:block!important}
.call-log-entry-card .form-card-head h2:before{content:'＋';display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#4087ed,#20adc5);color:white;font-size:16px}
.call-log-entry-card .form-card-body{padding:16px!important}
.call-log-entry-card .form-card-body form{display:block;min-width:0}
.call-log-entry-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;min-width:0}
.call-log-entry-card .form-grid label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:10px;font-weight:750;color:#a9bdd7;line-height:1.4}
.call-log-entry-card .form-grid label.span-2{grid-column:1/-1}
.call-log-entry-card input:not([type=checkbox]):not([type=radio]),.call-log-entry-card select,.call-log-entry-card textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border-radius:9px;padding:10px 11px;font-size:11px}
.call-log-entry-card textarea{min-height:82px;resize:vertical}
.call-log-entry-card .form-actions{display:flex;justify-content:flex-end;margin-top:14px}
.call-log-entry-card .form-actions .btn{min-height:39px;padding:9px 15px}

/* Dashboard outbound status and recent updates, kept intentionally compact. */
.outbound-dashboard-updates{display:grid;gap:13px;margin:0 0 18px;padding:17px 18px;border:1px solid rgba(91,151,219,.25);border-radius:17px;background:linear-gradient(118deg,rgba(17,35,57,.98),rgba(11,24,41,.98));box-shadow:0 10px 24px rgba(0,0,0,.1);min-width:0}
.outbound-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.outbound-dashboard-head-copy{min-width:0}
.outbound-dashboard-kicker{display:block;margin-bottom:4px;font-size:8.5px;font-weight:900;letter-spacing:1.35px;color:#70aaff}
.outbound-dashboard-head h2{display:flex;align-items:center;gap:8px;margin:0;font:850 15px/1.3 Manrope,sans-serif;color:#edf5ff;letter-spacing:-.25px}
.outbound-dashboard-head h2 svg{width:18px;height:18px;color:#89c1ff}
.outbound-dashboard-head p{margin:4px 0 0;font-size:10px;line-height:1.45;color:#8fa8c8}
.outbound-dashboard-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.outbound-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;min-width:0}
.outbound-dashboard-metric{display:flex;align-items:center;gap:9px;min-width:0;min-height:59px;padding:10px 11px;border:1px solid rgba(118,157,204,.16);border-radius:11px;background:rgba(18,37,60,.66);transition:border-color .15s,background .15s}
.outbound-dashboard-metric:hover{border-color:rgba(91,157,246,.32);background:rgba(31,58,91,.68)}
.outbound-dashboard-metric-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:9px;background:rgba(69,139,230,.14);color:#8dc2ff}
.outbound-dashboard-metric-icon svg{width:15px;height:15px}
.outbound-dashboard-metric-icon.amber{color:#ffc76d;background:rgba(255,187,77,.1)}.outbound-dashboard-metric-icon.teal{color:#6ee0da;background:rgba(72,222,208,.1)}.outbound-dashboard-metric-icon.green{color:#77dfb4;background:rgba(77,214,165,.1)}
.outbound-dashboard-metric>span:nth-child(2){display:grid;gap:3px;min-width:0}
.outbound-dashboard-metric small{display:block;font-size:9px;color:#9ab0cc;line-height:1.3}
.outbound-dashboard-metric strong{font:850 18px/1.1 Manrope,sans-serif;color:#f0f6ff;letter-spacing:-.4px}
.outbound-dashboard-metric em{margin-left:auto;font-style:normal;font-size:8.5px;color:#7cddb9;white-space:nowrap}
.outbound-dashboard-recent-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:4px}
.outbound-dashboard-recent-head strong{display:block;font-size:10.5px;color:#e8f2ff}
.outbound-dashboard-recent-head small{display:block;margin-top:3px;font-size:9px;color:#829bbd}
.outbound-dashboard-recent-head>a{font-size:9.5px;font-weight:800;color:#9bc6ff;white-space:nowrap}
.outbound-dashboard-recent-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}
.outbound-dashboard-update{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid rgba(115,153,198,.13);border-radius:10px;background:rgba(8,19,33,.35)}
.outbound-dashboard-update-icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:9px;background:rgba(90,153,242,.11);color:#94c5ff}
.outbound-dashboard-update-icon svg{width:14px;height:14px}
.outbound-dashboard-update-icon.is-good{background:rgba(77,214,165,.11);color:#72ddb1}.outbound-dashboard-update-icon.is-muted{background:rgba(255,190,98,.1);color:#ffc471}
.outbound-dashboard-update-main{display:grid;gap:3px;min-width:0;flex:1 1 auto}
.outbound-dashboard-update-main strong{font-size:10px;color:#e8f2ff;overflow-wrap:anywhere}
.outbound-dashboard-update-main strong a{color:inherit}.outbound-dashboard-update-main small{font-size:9px;line-height:1.4;color:#91a9c9;overflow-wrap:anywhere}
.outbound-dashboard-update-meta{display:grid;justify-items:end;gap:3px;min-width:0;text-align:right}
.outbound-dashboard-update-meta time,.outbound-dashboard-update-meta>small{font-size:8px;line-height:1.3;color:#7f96b4;white-space:nowrap}
.outbound-followup-chip{display:inline-flex;align-items:center;padding:3px 5px;border-radius:5px;background:rgba(255,190,98,.1);color:#ffca7b;font-size:8px;white-space:nowrap}
.outbound-dashboard-empty{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px dashed rgba(117,157,207,.2);border-radius:10px;background:rgba(8,19,33,.22);grid-column:1/-1}
.outbound-dashboard-empty>span{display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:9px;background:rgba(69,139,230,.13);color:#8bc0ff}
.outbound-dashboard-empty>span svg{width:15px;height:15px}
.outbound-dashboard-empty>div{display:grid;gap:3px;flex:1;min-width:0}.outbound-dashboard-empty strong{font-size:10px;color:#e6f0ff}.outbound-dashboard-empty small{font-size:9px;line-height:1.4;color:#8fa8c8}
.outbound-dashboard-empty>a{font-size:9px;font-weight:800;color:#9bc6ff;white-space:nowrap}

@media(min-width:1021px) and (max-width:1280px){
 body:has(.client-workspace-tabs) .profile-profile-command{grid-template-columns:minmax(335px,.9fr) minmax(0,1.2fr)!important;gap:8px!important;padding:8px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{border-right:1px solid rgba(121,157,201,.18)!important;border-bottom:0!important;padding:3px 8px 3px 2px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:minmax(74px,.6fr) repeat(4,minmax(0,1fr))!important;padding:2px 0 2px 4px!important;gap:5px!important}
 body:has(.client-workspace-tabs) .profile-shortcut-heading small{display:none!important}
 body:has(.client-workspace-tabs) .profile-shortcut{justify-content:center!important;gap:4px!important;font-size:8.5px!important;padding:5px!important}
 body:has(.client-workspace-tabs) .profile-shortcut-icon{width:21px!important;height:21px!important;flex-basis:21px!important}
}
@media(max-width:1020px){
 body:has(.client-workspace-tabs) .profile-profile-command{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{border-right:0!important;border-bottom:1px solid rgba(121,157,201,.18)!important;padding:3px 3px 10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:2px!important}
 body:has(.client-workspace-tabs) .profile-shortcut-heading{grid-column:1/-1!important}
}
@media(max-width:900px){
 .client-workspace-tabs{position:relative!important;top:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .client-workspace-tab-copy small{display:block!important}
 .client-workspace-panes .client-workspace-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .call-log-welcome-panel{grid-template-columns:42px minmax(0,1fr)!important;align-items:start!important;padding:15px!important}
 .call-log-welcome-icon{width:42px;height:42px}
 .call-log-welcome-actions{grid-column:1/-1;justify-content:flex-start}
 .call-log-columns{grid-template-columns:minmax(0,1fr)!important}
 .call-log-history-card .table-wrap{max-height:530px}
 .outbound-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .outbound-dashboard-recent-list{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:620px){
 .client-workspace-tabs{gap:5px!important;padding:5px!important}
 button.client-workspace-tab{min-height:54px!important;padding:8px!important;gap:7px!important}
 button.client-workspace-tab .client-workspace-tab-icon{flex-basis:26px!important;width:26px!important;height:26px!important;min-width:26px!important;font-size:11px!important}
 button.client-workspace-tab .client-workspace-tab-copy strong{font-size:10px!important}
 button.client-workspace-tab .client-workspace-tab-copy small{font-size:8.5px!important;line-height:1.3!important}
 .client-workspace-panes .client-workspace-pane .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .client-workspace-panes .client-workspace-pane .form-grid>label.check-row,.client-workspace-panes .client-workspace-pane .hs-handoff-form>label.check-row{grid-column:1!important}
 .call-log-welcome-panel{grid-template-columns:36px minmax(0,1fr)!important;gap:10px!important}
 .call-log-welcome-icon{width:36px;height:36px;border-radius:11px}
 .call-log-welcome-copy h2{font-size:15px}
 .call-log-welcome-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .call-log-welcome-actions .btn{min-width:0;white-space:normal;justify-content:center;font-size:9px;padding:8px}
 .call-log-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .call-log-stats .stat-card{min-height:102px;padding:12px}
 .call-log-stats .stat-value{font-size:22px}
 .call-log-entry-card .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .call-log-entry-card .form-grid label.span-2{grid-column:1!important}
 .outbound-dashboard-updates{padding:13px;gap:11px}
 .outbound-dashboard-head{align-items:flex-start;flex-direction:column}
 .outbound-dashboard-head-actions{width:100%}
 .outbound-dashboard-head-actions .btn{flex:1;justify-content:center}
 .outbound-dashboard-metrics{gap:6px}
 .outbound-dashboard-metric{min-height:54px;padding:8px}
 .outbound-dashboard-metric-icon{width:27px;height:27px;flex-basis:27px}
 .outbound-dashboard-metric strong{font-size:16px}
 .outbound-dashboard-update{align-items:flex-start;flex-wrap:wrap}
 .outbound-dashboard-update-meta{margin-left:38px;justify-items:start;text-align:left;grid-template-columns:auto auto;align-items:center}
 .outbound-dashboard-update-meta .outbound-followup-chip{grid-column:1/-1}
}

/* v1.2.77 — compact, aligned client command bar. Overrides accumulated legacy profile rules. */
body:has(.client-workspace-tabs) .profile-profile-command{
 display:grid!important;
 grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
 grid-auto-flow:row!important;
 align-items:center!important;
 align-content:center!important;
 gap:12px!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0 0 12px!important;padding:10px 12px!important;
 border:1px solid rgba(105,151,207,.22)!important;
 border-radius:14px!important;
 background:linear-gradient(112deg,rgba(15,31,51,.96),rgba(11,24,40,.97))!important;
 box-shadow:0 5px 15px rgba(0,0,0,.08)!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{
 display:grid!important;grid-template-columns:minmax(132px,.72fr) minmax(0,1.28fr)!important;
 grid-template-rows:auto!important;align-items:center!important;align-content:center!important;
 gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;
 margin:0!important;padding:0 12px 0 0!important;overflow:visible!important;
 border:0!important;border-right:1px solid rgba(121,157,201,.15)!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-head{
 display:block!important;grid-column:1!important;grid-row:1!important;min-width:0!important;
 margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-title{
 display:block!important;font-size:11px!important;line-height:1.35!important;font-weight:850!important;color:#f0f6ff!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-subtitle{
 display:block!important;margin:4px 0 0!important;font-size:9px!important;line-height:1.4!important;color:#8fa9ca!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body{
 display:flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-start!important;
 flex-wrap:wrap!important;gap:6px!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;
 border:0!important;background:transparent!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body .btn{
 display:inline-flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;gap:6px!important;
 min-width:0!important;min-height:32px!important;margin:0!important;padding:7px 9px!important;
 border-radius:9px!important;font-size:9.5px!important;line-height:1.2!important;font-weight:800!important;
 white-space:nowrap!important;overflow-wrap:normal!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{
 display:grid!important;grid-template-columns:minmax(100px,.58fr) repeat(4,minmax(0,1fr))!important;
 grid-auto-flow:row!important;align-items:stretch!important;align-content:center!important;justify-items:stretch!important;
 gap:6px!important;min-width:0!important;width:100%!important;max-width:100%!important;min-height:0!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{
 display:flex!important;grid-column:auto!important;grid-row:1!important;align-self:stretch!important;align-items:center!important;justify-content:flex-start!important;
 gap:7px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0 4px 0 0!important;
}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-heading-icon{
 display:grid!important;place-items:center!important;flex:0 0 26px!important;width:26px!important;height:26px!important;min-width:26px!important;
 margin:0!important;border:1px solid rgba(92,157,242,.22)!important;border-radius:8px!important;
 background:rgba(53,123,221,.14)!important;color:#9acaff!important;font-size:12px!important;
}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-heading strong{
 display:block!important;font-size:10px!important;line-height:1.3!important;font-weight:850!important;color:#ecf4ff!important;
}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-heading small{
 display:block!important;margin:3px 0 0!important;font-size:8px!important;line-height:1.3!important;color:#8fa7c6!important;white-space:normal!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut{
 display:flex!important;grid-row:1!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
 min-width:0!important;min-height:40px!important;width:100%!important;margin:0!important;padding:6px 8px!important;
 border:1px solid rgba(112,151,197,.17)!important;border-radius:9px!important;
 background:rgba(24,43,66,.5)!important;color:#dbeaff!important;
 font-size:9px!important;line-height:1.25!important;font-weight:800!important;white-space:normal!important;overflow-wrap:normal!important;
 box-shadow:none!important;transition:background .15s,border-color .15s!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut:hover,
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut:focus-visible{
 background:rgba(48,91,148,.22)!important;border-color:rgba(97,161,255,.42)!important;outline:2px solid transparent!important;
}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-icon{
 display:grid!important;place-items:center!important;flex:0 0 24px!important;width:24px!important;height:24px!important;min-width:24px!important;
 margin:0!important;border:1px solid rgba(95,156,239,.2)!important;border-radius:7px!important;
 background:rgba(58,127,220,.13)!important;color:#8fc3ff!important;font-size:11px!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut>span:last-child{
 display:block!important;flex:1 1 auto!important;min-width:0!important;overflow-wrap:anywhere!important;
}
@media(max-width:1120px){
 body:has(.client-workspace-tabs) .profile-profile-command{grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{
  grid-template-columns:minmax(150px,.55fr) minmax(0,1fr)!important;border-right:0!important;border-bottom:1px solid rgba(121,157,201,.13)!important;
  padding:0 0 9px!important;
 }
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:minmax(105px,.6fr) repeat(4,minmax(0,1fr))!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{grid-column:auto!important;grid-row:1!important}
}
@media(max-width:760px){
 body:has(.client-workspace-tabs) .profile-profile-command{gap:9px!important;padding:10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-head,
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body{grid-column:1!important;grid-row:auto!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{grid-column:1/-1!important;grid-row:auto!important;padding:0 0 2px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut{grid-row:auto!important;min-height:40px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body .btn{flex:0 1 auto!important;white-space:normal!important}
}
@media(max-width:420px){
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:minmax(0,1fr)!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{grid-column:1!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body .btn{flex:1 1 100%!important;width:100%!important}
}

/* v1.2.78 — richer AI copilot, copy-to-call, integration launchpad, live messenger */
.ai-overlay{width:min(560px,calc(100vw - 24px))!important;max-height:min(820px,calc(100dvh - 90px))!important;padding:0!important;overflow:auto!important;background:linear-gradient(160deg,#12243a 0%,#0b1728 72%)!important;border:1px solid rgba(93,151,220,.35)!important;box-shadow:0 28px 90px rgba(0,0,0,.5)!important}
.ai-overlay>.overlay-head{position:sticky;top:0;z-index:3;padding:15px 17px!important;background:rgba(13,27,45,.96)!important;border-bottom:1px solid rgba(129,165,211,.16)!important;backdrop-filter:blur(16px)}
.ai-helper-intro{display:flex;align-items:center;gap:11px;padding:17px 17px 13px}.ai-helper-orb{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:15px;background:linear-gradient(140deg,#3b82f6,#8b5cf6);color:#fff;font-size:22px;box-shadow:0 8px 24px rgba(68,112,255,.26)}.ai-helper-intro>div{display:grid;gap:4px;min-width:0}.ai-helper-intro strong{font-size:14px;color:#f2f7ff}.ai-helper-intro small{font-size:10px;line-height:1.5;color:#9db3d0}.ai-helper-status{margin-left:auto;padding:5px 8px;border:1px solid rgba(86,171,139,.25);border-radius:99px;background:rgba(45,170,123,.1);color:#83e3b8;font-size:9px;font-weight:800;white-space:nowrap}
.ai-helper-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0 17px 14px}.ai-helper-tools button{display:grid;grid-template-columns:29px minmax(0,1fr);align-items:center;column-gap:9px;row-gap:3px;min-width:0;padding:11px;text-align:left;border:1px solid rgba(120,157,204,.19);border-radius:13px;background:linear-gradient(145deg,rgba(29,52,80,.8),rgba(15,31,51,.9));color:#e8f1ff;cursor:pointer;transition:transform .16s,border-color .16s,background .16s}.ai-helper-tools button:hover{transform:translateY(-1px);border-color:rgba(79,158,255,.58);background:#1b3553}.ai-helper-tools button>span{grid-row:span 2;display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:rgba(62,139,245,.16);color:#80b9ff;font-size:14px}.ai-helper-tools button strong{font-size:10px;line-height:1.35}.ai-helper-tools button small{font-size:9px;color:#8fa8c8;line-height:1.35}.ai-helper-safety{margin:0 17px 14px;padding:10px 11px;border:1px solid rgba(245,181,82,.16);border-radius:10px;background:rgba(245,181,82,.055);font-size:10px;line-height:1.55}.ai-overlay form[data-ai-quick-form]{padding:0 17px 17px;display:grid;gap:8px}.ai-overlay form[data-ai-quick-form]>label{font-size:10px;font-weight:800;color:#bfd2eb}.ai-overlay form[data-ai-quick-form] textarea{width:100%;min-height:82px;resize:vertical;border:1px solid rgba(122,160,207,.26);border-radius:12px;background:#081525;color:#eff6ff;padding:12px;font-size:12px;line-height:1.55}.ai-helper-form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.ai-helper-form-actions small{color:#8198b8;font-size:9px}.ai-helper-form-actions .btn{white-space:nowrap}
.outbound-phone-copy{display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;max-width:100%;padding:4px 7px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}.outbound-phone-copy span{font-size:11px;font-weight:750;color:#80b7ff;white-space:nowrap}.outbound-phone-copy small{font-size:8px;line-height:1;color:#7891b1;opacity:0;transition:opacity .15s}.outbound-phone-copy:hover,.outbound-phone-copy:focus-visible,.outbound-phone-copy.is-copied{border-color:rgba(70,151,244,.32);background:rgba(51,123,210,.12);outline:none}.outbound-phone-copy:hover small,.outbound-phone-copy:focus-visible small,.outbound-phone-copy.is-copied small{opacity:1}.outbound-phone-copy.is-copied span{color:#72e2b2}.chat-send-status{align-self:center;flex:0 0 auto;font-size:10px;font-weight:800;white-space:nowrap}.chat-send-status.is-success{color:#6ee7b7}.chat-send-status.is-error{color:#ff9b9b}.chat-compose .chat-send-button:disabled{opacity:.65;cursor:wait}
.integration-launchpad{margin:0 0 17px;padding:19px;border:1px solid rgba(95,151,215,.28);border-radius:18px;background:radial-gradient(ellipse at 90% 0%,rgba(58,122,212,.15),transparent 45%),linear-gradient(145deg,#102138,#0b1727);box-shadow:0 14px 35px rgba(0,0,0,.12)}.integration-launchpad-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:15px}.integration-launchpad-head h2{margin:5px 0 6px;font-size:19px;letter-spacing:-.025em;color:#f1f6ff}.integration-launchpad-head p{margin:0;max-width:680px;font-size:11px;line-height:1.65;color:#91a9c9}.integration-launchpad-badge{flex:0 0 auto;padding:6px 9px;border-radius:99px;background:rgba(62,139,245,.12);border:1px solid rgba(75,151,245,.24);font-size:9px;font-weight:800;color:#9dc9ff}.integration-launchpad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.integration-launchpad-grid article{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:9px;padding:12px;border:1px solid rgba(119,155,199,.17);border-radius:13px;background:rgba(20,39,61,.78);min-width:0}.integration-logo{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#1b3859;color:#a9d0ff;font-size:11px;font-weight:900;border:1px solid rgba(109,161,223,.18)}.integration-logo.hs{background:#123d48;color:#6ce2c1}.integration-logo.dp{background:#24315a;color:#b4c3ff}.integration-logo.uv{background:#283b53;color:#b8d8ff}.integration-logo.ga{background:#3b2d1c;color:#ffd08b}.integration-logo.ge{background:#173e38;color:#83e6bf}.integration-logo.sms{background:#342552;color:#d6b7ff}.integration-launchpad-grid article>div{display:grid;gap:4px;min-width:0}.integration-launchpad-grid article strong{font-size:11px;color:#e8f2ff}.integration-launchpad-grid article small{font-size:9px;line-height:1.45;color:#8fa8c7}.integration-launchpad-grid article em{grid-column:2;font-size:8px;font-style:normal;font-weight:800;color:#ffc979}.integration-launchpad-grid article em.configured{color:#79dfb2}.integration-launchpad-grid article a{grid-column:2;justify-self:start;color:#85bcff;font-size:9px;font-weight:800;text-decoration:none}.integration-launchpad-grid article a:hover{text-decoration:underline}.integration-launchpad-foot{margin-top:12px;padding-top:10px;border-top:1px solid rgba(119,155,199,.14);color:#7892b2;font-size:9px;line-height:1.5}
@media(max-width:900px){.integration-launchpad-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-overlay{width:min(540px,calc(100vw - 18px))!important}}
@media(max-width:560px){.ai-helper-tools{grid-template-columns:minmax(0,1fr);gap:7px}.ai-helper-tools button{grid-template-columns:32px minmax(0,1fr)}.ai-helper-tools button>span{width:32px;height:32px}.ai-helper-intro{padding:13px}.ai-helper-status{font-size:8px}.ai-overlay form[data-ai-quick-form]{padding:0 13px 13px}.ai-helper-safety{margin:0 13px 12px}.integration-launchpad{padding:12px}.integration-launchpad-head h2{font-size:16px}.integration-launchpad-grid{grid-template-columns:minmax(0,1fr)}.integration-launchpad-badge{font-size:8px}.outbound-phone-copy small{opacity:1}}
.ai-layout>.ai-chat-card{overflow:hidden;border-color:rgba(83,143,215,.28);background:linear-gradient(150deg,rgba(18,36,58,.96),rgba(10,22,37,.98))}.ai-chat-card>.panel-head{padding:18px 20px;background:linear-gradient(100deg,rgba(39,88,145,.2),transparent);border-bottom:1px solid rgba(120,158,204,.16)}.ai-chat-card .ai-history{padding:18px;min-height:360px;max-height:calc(100dvh - 340px);gap:13px;background:radial-gradient(ellipse at 15% 0%,rgba(56,123,205,.08),transparent 50%)}.ai-bubble{max-width:88%;padding:13px 15px;border-radius:15px;font-size:12px;line-height:1.75;box-shadow:0 6px 20px rgba(0,0,0,.09)}.ai-bubble.assistant{border:1px solid rgba(109,157,216,.18);background:rgba(28,49,75,.78)}.ai-bubble.user{border:1px solid rgba(67,142,244,.28);background:linear-gradient(135deg,rgba(42,111,210,.25),rgba(75,76,180,.18))}.ai-compose{padding:13px!important;border-top:1px solid rgba(120,158,204,.16)!important;background:rgba(9,21,36,.88)!important}.ai-compose textarea{min-height:56px!important;border-radius:13px!important;background:#081525!important}.ai-layout aside .panel{border-color:rgba(101,150,209,.2);background:linear-gradient(150deg,#122238,#0c1829)}

/* v1.2.79 — distinct CRM case-manager assignment UI */
.case-manager-quick-card{margin-top:14px;padding:13px 14px;border:1px solid rgba(66,145,238,.28);border-radius:13px;background:linear-gradient(120deg,rgba(35,112,202,.11),rgba(20,184,166,.055));display:grid;gap:10px;min-width:0}
.case-manager-quick-heading{display:flex;align-items:center;gap:10px;min-width:0}
.case-manager-quick-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:rgba(59,130,246,.16);border:1px solid rgba(96,165,250,.28);color:#a8d1ff;font-size:10px;font-weight:850;letter-spacing:.04em}
.case-manager-quick-heading strong,.case-manager-quick-heading small{display:block}.case-manager-quick-heading strong{font-size:12px;color:var(--text,#edf4ff)}.case-manager-quick-heading small{font-size:10px;color:var(--muted,#91a8c7);margin-top:3px}
.case-manager-current{font-size:13px;font-weight:750;color:var(--text,#edf4ff);overflow-wrap:anywhere}
.case-manager-quick-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0}.case-manager-quick-form select,.outbound-case-manager-form select{min-width:0;width:100%;height:38px;border-radius:9px}.case-manager-quick-form .btn{white-space:nowrap;min-height:36px}
.outbound-case-manager-editor{margin-top:14px;padding:13px;border:1px solid rgba(67,139,220,.28);border-radius:12px;background:rgba(26,51,79,.28);display:grid;gap:10px}.outbound-case-manager-editor strong,.outbound-case-manager-editor small{display:block}.outbound-case-manager-editor strong{font-size:12px}.outbound-case-manager-editor small{font-size:10px;color:var(--muted,#91a8c7);margin-top:3px}.outbound-case-manager-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.outbound-case-manager-form .btn{min-height:36px;white-space:nowrap}
@media(max-width:600px){.case-manager-quick-form{grid-template-columns:1fr}.case-manager-quick-form .btn{width:100%}.outbound-case-manager-form{grid-template-columns:1fr}.outbound-case-manager-form .btn{width:100%}}

/* v1.2.81 — polished client command bar and outbound client quick view */
body:has(.client-workspace-tabs) .profile-profile-command{
 display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;gap:12px!important;
 align-items:stretch!important;align-content:stretch!important;padding:10px 12px!important;min-height:0!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{
 grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr)!important;gap:8px!important;padding-right:10px!important;
 border-right:1px solid rgba(121,157,201,.15)!important;border-bottom:0!important;
}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-title{font-size:11px!important;letter-spacing:.01em!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-subtitle{max-width:180px!important;font-size:9px!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body{gap:6px!important;flex-wrap:wrap!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body .btn{min-height:31px!important;padding:7px 9px!important;font-size:9px!important;border-radius:9px!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;align-content:center!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{grid-column:1/-1!important;grid-row:auto!important;gap:7px!important;padding:0 0 2px!important}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-heading-icon{width:23px!important;height:23px!important;flex-basis:23px!important}
body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut{grid-row:auto!important;min-height:36px!important;padding:6px 8px!important;gap:6px!important;font-size:9px!important}
body:has(.client-workspace-tabs) .profile-profile-command .profile-shortcut-icon{width:22px!important;height:22px!important;flex-basis:22px!important;min-width:22px!important}
@media(max-width:900px){
 body:has(.client-workspace-tabs) .profile-profile-command{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card{grid-template-columns:minmax(0,1fr)!important;border-right:0!important;border-bottom:1px solid rgba(121,157,201,.13)!important;padding:0 0 10px!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-head,
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-quick-actions-card .panel-body{grid-column:1!important;grid-row:auto!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar>.profile-shortcut-heading{grid-column:1/-1!important}
}
@media(max-width:440px){body:has(.client-workspace-tabs) .profile-profile-command>.profile-shortcut-bar{grid-template-columns:minmax(0,1fr)!important}}

.outbound-modal-card.outbound-wide{width:min(1060px,calc(100vw - 36px))!important;max-height:min(820px,calc(100dvh - 36px))!important;overflow:hidden!important;border-radius:20px!important;background:linear-gradient(150deg,#102139 0%,#0b1728 70%)!important;border:1px solid rgba(105,158,224,.32)!important;box-shadow:0 30px 100px rgba(0,0,0,.58)!important}
.outbound-modal-card.outbound-wide .outbound-modal-head{padding:16px 20px!important;gap:14px!important;background:rgba(17,34,56,.96)!important;border-bottom:1px solid rgba(126,163,207,.16)!important}
.outbound-modal-card.outbound-wide .outbound-modal-head strong{font-size:17px!important;letter-spacing:-.02em!important}
.outbound-modal-card.outbound-wide .outbound-modal-body{padding:16px!important;max-height:calc(100dvh - 130px)!important;overflow:auto!important;overscroll-behavior:contain!important}
.outbound-modal-card.outbound-wide .outbound-detail-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:13px!important;align-items:start!important}
.outbound-modal-card.outbound-wide .outbound-detail-card{min-width:0!important;padding:15px!important;border:1px solid rgba(117,153,198,.16)!important;border-radius:15px!important;background:linear-gradient(155deg,rgba(17,34,55,.94),rgba(10,23,39,.94))!important;box-shadow:0 8px 24px rgba(0,0,0,.10)!important}
.outbound-modal-card.outbound-wide .outbound-detail-card h3{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 13px!important;font-size:13px!important;line-height:1.35!important}
.outbound-modal-card.outbound-wide .outbound-detail-card h3>span:last-child{display:grid;gap:3px;min-width:0}
.outbound-modal-card.outbound-wide .outbound-detail-card h3 small{font-size:10px;font-weight:500;color:#8ea8c9;line-height:1.45}
.outbound-modal-card.outbound-wide .detail-card-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border:1px solid rgba(91,157,245,.22);border-radius:10px;background:rgba(56,129,230,.14);color:#8fc3ff;font-size:14px}
.outbound-modal-card.outbound-wide .outbound-detail-card [data-detail-snapshot]{gap:7px!important}
.outbound-modal-card.outbound-wide .outbound-detail-item{padding:9px 10px!important;border-radius:10px!important;background:rgba(5,15,27,.3)!important}
.outbound-modal-card.outbound-wide .outbound-detail-item strong{font-size:10px!important;color:#8eacd0!important;text-transform:uppercase;letter-spacing:.045em}
.outbound-modal-card.outbound-wide .outbound-detail-item p{font-size:12px!important;color:#edf5ff!important;overflow-wrap:anywhere!important}
.outbound-modal-card.outbound-wide .outbound-case-manager-editor{margin-top:10px!important;padding:11px!important;border:1px solid rgba(102,151,211,.19)!important;border-radius:12px!important;background:rgba(30,55,83,.25)!important}
.outbound-modal-card.outbound-wide .outbound-case-manager-editor>div{display:grid;gap:3px;margin-bottom:8px}
.outbound-modal-card.outbound-wide .outbound-case-manager-editor>div strong{font-size:11px!important}
.outbound-modal-card.outbound-wide .outbound-case-manager-editor>div small{font-size:10px!important;color:#8ea8c9!important;line-height:1.45}
.outbound-modal-card.outbound-wide .outbound-case-manager-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.outbound-modal-card.outbound-wide .outbound-case-manager-form select{width:100%!important;min-width:0!important}
.outbound-modal-card.outbound-wide .outbound-detail-timeline{grid-column:1/-1!important}
.outbound-modal-card.outbound-wide .outbound-detail-note-composer{min-height:0!important}
.outbound-quick-note-form{display:grid;gap:9px}
.outbound-quick-note-form select,.outbound-quick-note-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(122,160,207,.24);border-radius:10px;background:#091626;color:#edf5ff;padding:10px 11px;font:inherit;font-size:12px}
.outbound-quick-note-form textarea{resize:vertical;min-height:76px;line-height:1.5}
.outbound-quick-note-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.outbound-quick-note-footer small{font-size:10px;color:#8ea8c9;line-height:1.4}
@media(max-width:760px){.outbound-modal-card.outbound-wide{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:15px!important}.outbound-modal-card.outbound-wide .outbound-modal-head{padding:12px!important}.outbound-modal-card.outbound-wide .outbound-modal-body{padding:10px!important;max-height:calc(100dvh - 100px)!important}.outbound-modal-card.outbound-wide .outbound-detail-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}.outbound-modal-card.outbound-wide .outbound-detail-timeline{grid-column:auto!important}.outbound-modal-card.outbound-wide .outbound-detail-card{padding:12px!important}}

/* v1.2.82 — compact, balanced outbound client quick-view */
.outbound-modal-card.outbound-wide{width:min(1040px,calc(100vw - 28px))!important;max-height:calc(100dvh - 24px)!important;display:flex!important;flex-direction:column!important}
.outbound-modal-card.outbound-wide .outbound-modal-body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:12px!important}
.outbound-modal-card.outbound-wide .outbound-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto;gap:10px!important;align-items:start!important;min-height:0!important}
.outbound-modal-card.outbound-wide .outbound-detail-card{padding:12px!important;border-radius:13px!important}
.outbound-modal-card.outbound-wide .outbound-detail-card h3{margin-bottom:9px!important}
.outbound-modal-card.outbound-wide .outbound-detail-card [data-detail-snapshot]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.outbound-modal-card.outbound-wide .outbound-detail-item{padding:8px 9px!important}
.outbound-modal-card.outbound-wide .outbound-detail-item p{margin-top:3px!important;font-size:11px!important;line-height:1.35!important}
.outbound-modal-card.outbound-wide .outbound-detail-timeline{grid-column:auto!important}
.outbound-modal-card.outbound-wide .outbound-detail-timeline [data-detail-notes],
.outbound-modal-card.outbound-wide .outbound-detail-calls [data-detail-calls]{max-height:155px;overflow:auto;overscroll-behavior:contain;padding-right:3px}
.outbound-modal-card.outbound-wide .outbound-assignment-details,
.outbound-modal-card.outbound-wide .outbound-quick-note-details{margin-top:8px;border:1px solid rgba(102,151,211,.2);border-radius:11px;background:rgba(25,48,74,.3);overflow:hidden}
.outbound-modal-card.outbound-wide .outbound-assignment-details>summary,
.outbound-modal-card.outbound-wide .outbound-quick-note-details>summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;padding:10px 11px;min-height:38px;box-sizing:border-box}
.outbound-modal-card.outbound-wide .outbound-assignment-details>summary::-webkit-details-marker,
.outbound-modal-card.outbound-wide .outbound-quick-note-details>summary::-webkit-details-marker{display:none}
.outbound-modal-card.outbound-wide .outbound-assignment-details>summary:after,
.outbound-modal-card.outbound-wide .outbound-quick-note-details>summary:after{content:'＋';margin-left:auto;color:#8fc3ff;font-size:16px;font-weight:700}
.outbound-modal-card.outbound-wide .outbound-assignment-details[open]>summary:after,
.outbound-modal-card.outbound-wide .outbound-quick-note-details[open]>summary:after{content:'−'}
.outbound-modal-card.outbound-wide .assignment-summary-icon{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:rgba(56,129,230,.17);color:#9bcaff;font-weight:700}
.outbound-modal-card.outbound-wide .outbound-assignment-details summary>span:nth-child(2),
.outbound-modal-card.outbound-wide .outbound-quick-note-details summary>span:nth-child(2){display:grid;gap:2px;min-width:0}
.outbound-modal-card.outbound-wide .outbound-assignment-details summary strong,
.outbound-modal-card.outbound-wide .outbound-quick-note-details summary strong{font-size:11px;color:#edf5ff}
.outbound-modal-card.outbound-wide .outbound-assignment-details summary small,
.outbound-modal-card.outbound-wide .outbound-quick-note-details summary small{font-size:10px;color:#8ea8c9;line-height:1.35}
.outbound-modal-card.outbound-wide .assignment-summary-current{font-size:10px;color:#8fc3ff;border:1px solid rgba(91,157,245,.22);border-radius:7px;padding:4px 7px;margin-left:auto;white-space:nowrap}
.outbound-modal-card.outbound-wide .outbound-assignment-details[open] .assignment-summary-current,
.outbound-modal-card.outbound-wide .outbound-quick-note-details[open] .assignment-summary-current{display:none}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body{padding:0 9px 9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body .outbound-case-manager-editor{margin:0!important;padding:9px!important;min-width:0}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body .outbound-case-manager-editor>div{margin-bottom:6px}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body .outbound-case-manager-form{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body .outbound-case-manager-form select{font-size:11px!important;padding:8px!important}
.outbound-modal-card.outbound-wide .outbound-assignment-details-body .outbound-case-manager-form .btn{padding:7px 9px!important}
.outbound-modal-card.outbound-wide .outbound-quick-note-form{padding:0 10px 10px;gap:7px}
.outbound-modal-card.outbound-wide .outbound-quick-note-form textarea{min-height:58px!important;height:58px!important;resize:vertical}
.outbound-modal-card.outbound-wide .outbound-detail-note-composer{padding:0!important}
.outbound-modal-card.outbound-wide .outbound-detail-note-composer .outbound-quick-note-details{margin:0;border:0;background:transparent}
.outbound-modal-card.outbound-wide .outbound-detail-timeline [data-detail-notes] .outbound-detail-item{margin-bottom:6px}
@media(max-width:760px){.outbound-modal-card.outbound-wide .outbound-modal-body{overflow:auto!important}.outbound-modal-card.outbound-wide .outbound-detail-grid{grid-template-columns:minmax(0,1fr)!important}.outbound-modal-card.outbound-wide .outbound-detail-timeline{grid-column:auto!important}.outbound-modal-card.outbound-wide .outbound-assignment-details-body{grid-template-columns:minmax(0,1fr)!important}.outbound-modal-card.outbound-wide .outbound-detail-timeline [data-detail-notes],.outbound-modal-card.outbound-wide .outbound-detail-calls [data-detail-calls]{max-height:190px}}


/* v1.2.84 — taller timeline and balanced outbound queue columns */
.outbound-modal-card.outbound-wide .outbound-detail-timeline [data-detail-notes],
.outbound-modal-card.outbound-wide .outbound-detail-calls [data-detail-calls]{
  max-height:290px!important; min-height:190px!important; overflow:auto!important;
  overscroll-behavior:contain!important; scrollbar-gutter:stable; padding-right:5px!important;
}
.outbound-modal-card.outbound-wide .outbound-detail-timeline .outbound-detail-item{padding:10px 11px!important;margin-bottom:7px!important}
.outbound-modal-card.outbound-wide .outbound-detail-timeline .outbound-detail-item p{font-size:11px!important;line-height:1.45!important;overflow-wrap:anywhere!important}
.outbound-modal-card.outbound-wide .outbound-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important}
.outbound-modal-card.outbound-wide .outbound-detail-timeline,
.outbound-modal-card.outbound-wide .outbound-detail-note-composer{min-width:0!important}
.outbound-table{table-layout:auto!important;min-width:1320px!important}
.outbound-table th:nth-child(2),.outbound-table td:nth-child(2){width:56px!important;min-width:56px!important;max-width:64px!important;text-align:center!important;white-space:nowrap!important}
.outbound-table .outbound-state-badge{display:inline-flex!important;width:auto!important;min-width:36px!important;max-width:none!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;line-height:1!important;padding:6px 8px!important;letter-spacing:0!important}
.outbound-table td:nth-child(2){padding-left:8px!important;padding-right:8px!important}
.outbound-table th:first-child,.outbound-table td:first-child{min-width:205px!important}
.outbound-table td:nth-child(3){min-width:125px!important;white-space:nowrap!important}
.outbound-table td:nth-child(9),.outbound-table td:nth-child(10){min-width:145px!important}
.outbound-table td:last-child{min-width:155px!important}
.outbound-actions{min-width:145px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;align-items:center!important}
.outbound-actions>[data-outbound-log]{grid-column:1/-1!important;width:100%!important}
.outbound-actions .outbound-action-form{min-width:0!important}
.outbound-actions .outbound-action-form .btn,.outbound-actions>[data-outbound-email]{width:100%!important;justify-content:center!important;white-space:nowrap!important}
@media(max-width:760px){
 .outbound-modal-card.outbound-wide .outbound-detail-timeline [data-detail-notes],
 .outbound-modal-card.outbound-wide .outbound-detail-calls [data-detail-calls]{max-height:260px!important;min-height:120px!important}
 .outbound-table{min-width:1250px!important}
}
