:root{--red:#9b9b9b;--red-dark:#838383;--red-soft:#f5f5f5;--ink:#313131;--navy:#292929;--muted:#808080;--line:#ebebeb;--paper:#fff;--canvas:#f7f7f7;--green:#505050;--amber:#976b29;--radius:18px;--shadow:0 6px 24px #2e2e2e06;font-family:"Segoe UI",Inter,Arial,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer;transition:background .15s,color .15s,border-color .15s}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.55;cursor:wait}button svg{flex-shrink:0}a{color:var(--red)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b6b6b6;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:25px;letter-spacing:-.8px;line-height:1.2}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.6}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:1.35px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;top:-60px;left:16px;background:var(--navy);color:#fff;padding:12px 18px;z-index:100}.skip-link:focus{top:10px}
.demo-banner{height:32px;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff7e8;color:#785727;border-bottom:1px solid #f0e6d4;font-size:12px;position:sticky;top:0;z-index:40}.demo-banner strong{font-size:10px;letter-spacing:.8px}.demo-dot{width:6px;height:6px;background:#bb8c3b;border-radius:50%}.shell{display:grid;grid-template-columns:184px minmax(0,1fr);height:100dvh;overflow:hidden}.is-demo .shell{height:calc(100dvh - 32px)}.sidebar{min-width:0;min-height:0;background:var(--navy);color:#eeeeee;display:flex;flex-direction:column;padding:22px 12px 15px}.brand{display:block;margin:0 5px;padding:1px 5px;border-radius:13px;background:#fff}.brand img{display:block;width:140px;height:70px;max-width:100%;object-fit:contain;margin:auto}.brand-caption{font-size:10px;letter-spacing:2.4px;font-weight:650;color:#bdbdbd;padding:15px 9px 0}.nav-label{font-size:10px;letter-spacing:1.4px;color:#989898;font-weight:600;margin:34px 11px 11px}.nav{display:flex;flex-direction:column;gap:6px}.nav-button{border:0;background:transparent;color:#bfbfbf;padding:12px 11px;border-radius:10px;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px;font-weight:550;position:relative;min-height:45px}.nav-button:hover{background:#373737;color:#fff}.nav-button.active{background:#9f9f9f;color:#fff;box-shadow:0 4px 14px #0f0f0f20}.nav-text{line-height:1.35}.nav-count{margin-left:auto;background:#ffffff27;color:white;padding:2px 6px;border-radius:6px;font-size:11px}.sidebar-bottom{margin-top:auto;padding-top:22px}.private-label{border:1px solid #474747;padding:12px 10px;border-radius:11px;display:flex;gap:8px;align-items:center;color:#c0c0c0}.private-label svg{color:#a8a8a8;flex-shrink:0}.private-label strong{display:block;color:#e2e2e2;font-size:12px;font-weight:600;margin-bottom:3px}.private-label span{font-size:11px;color:#a7a7a7}.user-box{border-top:1px solid #474747;margin-top:18px;padding:17px 0 0;display:flex;align-items:center;gap:8px}.user-box .avatar{width:33px;height:33px;border-radius:10px;background:#494949;color:#ebebeb;font-size:11px}.user-box .icon-button{color:#bfbfbf;min-width:28px;width:28px;padding:5px}.user-box .icon-button:hover{background:#474747;color:white}.user-details{min-width:0;flex:1}.user-details strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f3f3f3;font-weight:600}.user-details span{display:block;font-size:10px;color:#a7a7a7;margin-top:4px}.avatar{width:40px;height:40px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#efefef;color:#6b6b6b;font-size:12px;font-weight:700;flex-shrink:0}.avatar.warm{background:#f6eae1;color:#aa7455}.avatar.lilac{background:#f0f0f0;color:#8b8b8b}.avatar.blue{background:#ebebeb;color:#7a7a7a}.avatar.red{background:#efefef;color:#898989}.avatar.large{width:64px;height:64px;border-radius:22px;font-size:21px}
.workspace{min-width:0;min-height:0;display:flex;flex-direction:column}.topbar{height:55px;min-height:55px;padding:0 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fff}.breadcrumb{display:flex;gap:10px;align-items:center;font-size:12px;color:var(--muted)}.breadcrumb>svg:first-child{color:#a0a0a0}.breadcrumb strong{color:#5a5a5a;font-weight:600}.top-actions{display:flex;align-items:center;gap:15px}.connection-chip{display:flex;align-items:center;gap:7px;background:#f7f7f7;border:1px solid #ececec;border-radius:20px;padding:7px 10px;font-size:11px;color:#7f7f7f}.connection-chip:before{content:"";width:6px;height:6px;border-radius:50%;background:#b1b1b1}.connection-chip.connected{color:var(--green);background:#f3f3f3;border-color:#e6e6e6}.connection-chip.connected:before{background:#727272}.top-date{font-size:12px;color:var(--muted)}.icon-button{border:1px solid transparent;background:transparent;padding:8px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:#939393;min-width:36px;min-height:36px}.icon-button:hover{background:#f2f2f2;color:var(--red)}.icon-button.outlined{border-color:var(--line);background:white}.page{padding:20px 24px 16px;min-height:0;flex:1;overflow-y:auto}.page:has(.inbox){display:flex;flex-direction:column;overflow:hidden}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px;flex-shrink:0}.page-heading h1{margin-bottom:6px}.page-heading p{color:var(--muted);font-size:13px;margin-bottom:0;line-height:1.5}.page-kicker{display:flex;align-items:center;gap:7px;color:#959595;font-size:10px;font-weight:650;letter-spacing:1.65px;text-transform:uppercase;margin-bottom:7px}.page-kicker span{color:var(--red)}.btn{border:1px solid var(--line);border-radius:10px;background:white;color:#5d5d5d;font-size:13px;font-weight:600;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;white-space:nowrap}.btn:hover{background:#f7f7f7;border-color:#e0e0e0}.btn-primary{background:var(--red);color:white;border-color:var(--red);box-shadow:0 4px 10px #9b9b9b1c}.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.btn-quiet{border:0;background:transparent;color:var(--muted);box-shadow:none}.btn-small{min-height:34px;font-size:12px;padding:7px 10px}.btn-block{width:100%}.summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px;flex-shrink:0}.summary-card{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:11px 14px;min-width:0}.summary-icon{border-radius:10px;width:35px;height:35px;display:flex;align-items:center;justify-content:center;background:#eeeeee;color:#6f6f6f;flex-shrink:0}.summary-icon.red{background:#f5f5f5;color:#a0a0a0}.summary-icon.amber{background:#fff3dd;color:#b68a3f}.summary-card>div:nth-child(2){display:flex;align-items:baseline;gap:8px;min-width:0;flex-wrap:wrap}.summary-card strong{font-size:21px;letter-spacing:-.6px;line-height:1.15;font-weight:650}.summary-card span{font-size:12px;color:var(--muted)}.summary-card small{margin-left:auto;font-size:11px;color:#9a9a9a}
.inbox{display:grid;grid-template-columns:280px minmax(0,1fr) 280px;border:1px solid #e8e8e8;border-radius:17px;overflow:hidden;background:white;box-shadow:var(--shadow);flex:1;min-height:0}.inbox.hide-details,.inbox:not(:has(.detail-panel)){grid-template-columns:280px minmax(0,1fr)}.conversation-list{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fff}.list-toolbar{padding:17px 16px 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}.section-title h2{font-size:14px;margin:0;letter-spacing:-.2px;font-weight:650}.section-title span{color:#9f9f9f;font-size:11px}.search-wrap{position:relative;display:flex;align-items:center;color:#a6a6a6}.search-wrap>svg{position:absolute;left:11px;pointer-events:none}.search-wrap input{padding:10px 11px 10px 34px;width:100%;background:#f7f7f7;border:1px solid transparent;border-radius:9px;font-size:12px;color:var(--ink);outline-offset:2px;min-height:38px}.search-wrap input::placeholder{color:#a0a0a0}.search-wrap input:focus{background:#fff;border-color:#dfdfdf}.filter-tabs{display:flex;justify-content:space-between;gap:2px;padding:12px 12px 13px;border-bottom:1px solid var(--line)}.filter-button{border:0;border-radius:7px;padding:7px 5px;background:transparent;color:#8e8e8e;font-size:11px;font-weight:600}.filter-button:hover{color:var(--red);background:#f8f8f8}.filter-button.active{background:var(--red-soft);color:var(--red)}.contact-items{overflow-y:auto;min-height:0;padding:5px 7px;scrollbar-width:thin;scrollbar-color:#dddddd transparent}.contact-item{display:flex;gap:10px;text-align:left;background:#fff;border:1px solid transparent;border-radius:11px;width:100%;padding:13px 9px;min-height:94px;margin:3px 0}.contact-item:hover{background:#f9f9f9}.contact-item.selected{background:#f6f6f6;border-color:#f0f0f0}.contact-item .avatar{margin-top:1px}.contact-copy{flex:1;min-width:0}.contact-row{display:flex;align-items:center;justify-content:space-between;gap:7px}.contact-name{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-time{font-size:10px;color:#9b9b9b;flex-shrink:0}.contact-preview{color:#929292;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px;line-height:1.5}.contact-meta{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:5px}.mini-tag{font-size:10px;padding:3px 6px;border-radius:5px;background:#f1f1f1;color:#929292;font-weight:550;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.selected .mini-tag{background:#ececec;color:#868686}.unread{display:flex;align-items:center;justify-content:center;font-size:10px;min-width:18px;height:18px;padding:0 4px;border-radius:6px;background:var(--red);color:white;font-weight:650}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;font-size:10px;font-weight:600;border-radius:6px;background:#f0f0f0;color:#6c6c6c;white-space:nowrap}.status-pill.waiting{background:#fff3db;color:#a67d32}.status-pill.done{background:#f2f2f2;color:#939393}.status-pill:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}
.chat-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f8f8f8}.chat-header{background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px;padding:14px 18px;min-height:75px;flex-shrink:0}.chat-title{min-width:0;flex:1}.chat-title h2{font-size:14px;letter-spacing:-.1px;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650}.chat-title p{font-size:11px;color:var(--muted);margin:0;line-height:1.3}.chat-actions{display:flex;align-items:center;gap:7px}.mobile-back{display:none}.messages{padding:20px 24px;overflow-y:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:15px;background:#f8f8f8;scrollbar-width:thin;scrollbar-color:#dddddd transparent}.message-day{text-align:center;align-self:center;font-size:11px;color:#9d9d9d;margin:0 0 5px;padding:4px 10px;border-radius:8px;flex-shrink:0}.message{max-width:86%;align-self:flex-start;min-width:100px;flex-shrink:0}.message.outbound{align-self:flex-end}.message-bubble{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65;background:white;border:1px solid #ececec;border-radius:3px 15px 15px;padding:12px 15px;box-shadow:0 3px 7px #2e2e2e03}.outbound .message-bubble{background:#f1f1f1;border-color:#ececec;border-radius:15px 3px 15px 15px;color:#5b5b5b}.message-meta{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:10px;color:#a0a0a0;margin:5px 3px 0;justify-content:flex-end}.message-meta svg{color:#a3a3a3}.chat-footer{background:white;border-top:1px solid var(--line);padding:10px 16px 11px;flex-shrink:0}.composer-tools{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;gap:8px}.text-button{background:none;border:0;color:#878787;font-size:12px;padding:3px 0;display:inline-flex;align-items:center;gap:6px}.text-button:hover{color:var(--red)}.draft-state{font-size:10px;color:#a4a4a4}.compose-row{display:flex;align-items:flex-end;gap:9px}.compose-row textarea{flex:1;min-width:0;resize:none;min-height:60px;max-height:130px;border:1px solid #e8e8e8;border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.5;background:#fbfbfb}.compose-row textarea::placeholder{color:#a5a5a5}.send-button{border:0;color:white;border-radius:12px;background:var(--red);min-height:42px;width:42px;display:flex;align-items:center;justify-content:center;margin-bottom:1px;flex-shrink:0}.send-button:hover{background:var(--red-dark)}.composer-hint{margin:7px 0 0;color:#9e9e9e;font-size:10px;display:flex;justify-content:space-between;gap:10px;line-height:1.5}
.detail-panel{background:#fff;overflow-y:auto;min-width:0;border-left:1px solid var(--line);padding:16px 19px;scrollbar-width:thin}.detail-title{font-size:10px;font-weight:650;letter-spacing:1.25px;color:#a1a1a1;display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.profile{text-align:center;padding:5px 0 17px;border-bottom:1px solid var(--line)}.profile .avatar{margin:0 auto 12px}.profile h3{margin:0 0 6px;font-size:15px;font-weight:650}.profile p{font-size:12px;color:var(--muted);margin:0 0 11px}.detail-section{padding:16px 0;border-bottom:1px solid var(--line)}.detail-section h3{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#9d9d9d;margin-bottom:12px;display:flex;align-items:center;gap:7px}.detail-section label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.detail-section input,.detail-section textarea,.detail-section select{font-size:12px;padding:9px 10px;width:100%;border:1px solid var(--line);border-radius:8px;background:#fbfbfb;color:var(--ink);min-height:36px}.detail-section textarea{resize:vertical;min-height:75px;line-height:1.6}.detail-section .btn{margin-top:8px}.detail-section p{font-size:11px;color:#989898;margin-bottom:0}.detail-section .status-select{background:white}.tag-list{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:10px}.tag{font-size:11px;padding:5px 8px;background:#f3f3f3;color:#919191;border-radius:6px}.detail-footnote{font-size:11px;color:#a4a4a4;line-height:1.65;margin-top:17px;display:flex;align-items:flex-start;gap:7px}.detail-footnote svg{flex-shrink:0;margin-top:3px}.empty-state{padding:30px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px;text-align:center;color:var(--muted);flex:1}.empty-icon{width:68px;height:68px;border-radius:24px;background:#f2f2f2;display:flex;align-items:center;justify-content:center;color:#acacac;margin-bottom:19px}.empty-state h2{font-size:18px;color:#626262;margin-bottom:8px}.empty-state p{font-size:13px;max-width:290px;margin-bottom:17px}.list-empty{padding:30px 18px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}
.content-card{border:1px solid var(--line);background:white;border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:23px}.toolbar .search-wrap{max-width:360px;flex:1}.count-label{font-size:12px;color:var(--muted)}.contacts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.person-card{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px}.person-card-head{display:flex;gap:12px;align-items:center;margin-bottom:18px}.person-card h2{font-size:15px;margin:0 0 5px}.person-card p{font-size:12px;color:var(--muted);margin:0}.person-card .tag-list{min-height:24px}.person-card-foot{border-top:1px solid var(--line);margin-top:16px;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.reminder-list{display:flex;flex-direction:column;gap:12px}.reminder-card{display:flex;gap:16px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:19px;background:white}.reminder-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:56px;min-height:58px;flex-shrink:0;background:#f6f6f6;border-radius:10px;color:#808080}.reminder-date strong{font-size:21px}.reminder-date span{font-size:11px}.reminder-info{flex:1;min-width:0}.reminder-info h2{font-size:15px;margin-bottom:5px}.reminder-info p{font-size:13px;color:var(--muted);margin:0}.reminder-card.overdue{border-color:#dfdfdf}.reminder-card.overdue .reminder-date{background:#f4f4f4;color:#909090}.reminder-card .status-pill{margin-top:8px}.quick-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);gap:22px;align-items:start}.reply-list{display:grid;gap:13px}.reply-card{border:1px solid var(--line);border-radius:14px;padding:23px;background:#fff}.reply-card h2{font-size:15px;display:flex;align-items:center;gap:9px;margin-bottom:12px}.reply-card h2 svg{color:var(--red)}.reply-card p{font-size:14px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.reply-card .eyebrow{margin-top:18px;color:#a6a6a6}.form-stack{display:grid;gap:17px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.field input,.field textarea,.field select{width:100%;padding:11px 12px;border:1px solid #e7e7e7;background:#fbfbfb;border-radius:10px;font-size:14px;color:var(--ink);min-height:44px}.field textarea{resize:vertical;min-height:105px;line-height:1.6}.field small{display:block;color:var(--muted);line-height:1.6;margin-top:7px;font-size:12px}.form-error{color:#777777;background:#f8f8f8;padding:11px 13px;font-size:13px;border:1px solid #e3e3e3;border-radius:9px;line-height:1.6}.form-error:empty{display:none}.form-note{padding:13px 15px;border-radius:10px;background:#f7f7f7;font-size:12px;color:var(--muted);line-height:1.7}.form-note strong{color:var(--ink)}
.connection-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:22px;max-width:1120px}.connection-hero{padding:28px;border-radius:17px;background:var(--navy);color:white;margin-bottom:22px}.connection-hero .eyebrow{color:#bababa;margin-bottom:14px}.connection-hero h2{font-size:25px;margin-bottom:11px;max-width:350px}.connection-hero p{color:#c6c6c6;font-size:14px;max-width:420px;margin-bottom:20px}.connection-hero .connection-chip{display:inline-flex;background:#ffffff0d;border-color:#ffffff14;color:#d0d0d0}.step-list{padding:0;margin:22px 0 0;list-style:none;display:grid;gap:22px;counter-reset:steps}.step-list li{display:flex;gap:12px;color:var(--muted);font-size:13px;line-height:1.7}.step-list li:before{counter-increment:steps;content:counter(steps);width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:var(--red-soft);color:var(--red);font-size:12px;font-weight:650;border-radius:9px;flex-shrink:0}.step-list strong{color:var(--ink);display:block;margin-bottom:3px}.capability-list{padding:0;list-style:none;display:grid;gap:13px;font-size:13px;color:var(--muted);margin:21px 0}.capability-list li{display:flex;align-items:center;gap:8px}.capability-list svg{color:#6c6c6c}.connection-fields{margin-top:22px;border-top:1px solid var(--line);padding-top:22px}.connection-fields summary{font-size:14px;font-weight:600;cursor:pointer;margin-bottom:20px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.is-demo .auth-page{min-height:calc(100dvh - 32px)}.auth-art{background:var(--navy);padding:52px;display:flex;flex-direction:column;justify-content:space-between}.auth-logo{width:177px;background:white;border-radius:13px;padding:5px}.auth-logo img{width:100%;height:auto;display:block}.auth-art h1{font-size:43px;line-height:1.17;letter-spacing:-1.6px;color:white;max-width:410px;margin-top:50px}.auth-art h1 span{color:#d3d3d3}.auth-art p{font-size:15px;max-width:340px;color:#c1c1c1}.auth-art small{color:#a7a7a7;font-size:11px;display:flex;gap:7px;align-items:center}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:45px}.auth-form{width:100%;max-width:360px}.auth-form h2{font-size:28px;margin-bottom:12px}.auth-form>p{font-size:14px;color:var(--muted);margin-bottom:27px}.auth-form .eyebrow{color:var(--red);margin-bottom:16px}.auth-bottom{font-size:12px;color:#a1a1a1;text-align:center;margin-top:24px}.boot{min-height:70dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}.boot p{font-size:14px;margin-top:16px}.spinner{width:28px;height:28px;border:2px solid #ececec;border-top-color:var(--red);border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.modal-open{overflow:hidden}.modal-backdrop{position:fixed;inset:0;background:#27272766;backdrop-filter:blur(4px);z-index:50;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:100%;max-width:475px;background:white;border-radius:21px;padding:28px;box-shadow:0 28px 100px #25252540;max-height:calc(100dvh - 50px);overflow-y:auto}.modal.large-modal{max-width:540px}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:23px}.modal-head h2{margin-bottom:8px}.modal-head p{font-size:13px;color:var(--muted);margin:0}.modal-head .icon-button{margin-top:-5px;margin-right:-6px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.send-preview{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;background:#f8f8f8;border:1px solid #eaeaea;border-radius:12px;padding:16px;margin-bottom:15px;max-height:220px;overflow-y:auto}.send-recipient{display:flex;align-items:center;gap:10px;margin-bottom:16px;font-size:14px}.send-recipient strong{display:block;margin-bottom:4px}.send-recipient span{font-size:12px;color:var(--muted)}.quick-picker{display:grid;gap:8px}.quick-choice{display:block;text-align:left;border:1px solid var(--line);border-radius:11px;padding:15px;background:white;color:var(--ink);width:100%}.quick-choice:hover{background:var(--red-soft);border-color:#e5e5e5}.quick-choice strong{font-size:14px;display:block;margin-bottom:6px}.quick-choice span{font-size:13px;color:var(--muted);line-height:1.6;display:block;white-space:pre-wrap;overflow-wrap:anywhere}.toast-region{position:fixed;right:25px;bottom:25px;z-index:80;max-width:360px}.toast{border:1px solid #e3e3e3;background:#fff;color:#4d4d4d;border-radius:12px;padding:13px 17px;box-shadow:0 8px 35px #2929291c;font-size:13px;display:flex;align-items:center;gap:10px}.toast svg{flex-shrink:0}.toast.error{border-color:#e0e0e0;color:#777777}.inline-error{font-size:12px;line-height:1.6;padding:10px 16px;background:#f8f8f8;color:#777777;border-bottom:1px solid #e6e6e6;flex-shrink:0}.page-error{margin-bottom:18px}.footer-note{font-size:10px;color:#a1a1a1;margin:10px 2px 0;display:flex;align-items:center;gap:6px;flex-shrink:0;line-height:1.4}.mobile-nav-label{display:none}.label-spaced,.detail-section label.label-spaced{margin-top:10px}.card-kicker{margin-bottom:12px}.form-intro{font-size:14px;margin-bottom:24px}.connection-reason{font-size:14px}.note-spaced{margin-top:16px}.note-bottom{margin-bottom:14px}.history-button{align-self:center;flex-shrink:0}.send-recipient strong,.profile h3,.person-card h2,.reminder-info h2{overflow-wrap:anywhere}.form-note,.reply-card p,.profile p{overflow-wrap:anywhere}
@media(max-width:1450px){.summary-card small{display:none}.contacts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page{padding-left:20px;padding-right:20px}.messages{padding-left:20px;padding-right:20px}}
@media(max-width:1150px){.inbox,.inbox.hide-details,.inbox:not(:has(.detail-panel)){grid-template-columns:280px minmax(0,1fr)}.detail-panel{position:fixed;right:20px;top:78px;width:280px;max-height:calc(100dvh - 102px);z-index:20;border:1px solid var(--line);border-radius:16px;box-shadow:0 15px 55px #29292930}.is-demo .detail-panel{top:110px;max-height:calc(100dvh - 134px)}.inbox.hide-details .detail-panel{display:none}.quick-layout,.connection-layout{grid-template-columns:minmax(0,1fr)}.quick-layout>aside{max-width:none}.auth-art{padding:35px}.auth-art h1{font-size:36px}.summary-card{gap:8px;padding:11px}.summary-card>div:nth-child(2){gap:5px}.summary-card span{font-size:11px}}
@media(max-width:760px){body{font-size:14px}.demo-banner{height:35px;gap:7px;font-size:11px}.demo-banner strong{font-size:9px;letter-spacing:.5px}.demo-dot{display:none}.shell,.is-demo .shell{display:flex;flex-direction:column;height:100dvh;padding-bottom:74px}.is-demo .shell{height:calc(100dvh - 35px)}.sidebar{position:fixed;bottom:0;left:0;right:0;height:74px;padding:6px 5px max(6px,env(safe-area-inset-bottom));display:block;border-top:1px solid #ebebeb;z-index:30;background:white}.brand,.brand-caption,.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:2px;height:100%;justify-content:space-between}.nav-button{flex:1;min-width:0;border-radius:10px;flex-direction:column;gap:5px;padding:7px 1px 3px;font-size:11px;color:#9d9d9d;text-align:center;justify-content:flex-start;min-height:0;font-weight:550}.nav-button:hover{background:#f8f8f8;color:var(--red)}.nav-button.active{background:#f4f4f4;color:var(--red);box-shadow:none}.nav-button svg{width:20px;height:20px}.nav-text{display:block;font-size:10.5px;line-height:1.15;max-width:72px}.nav-count{position:absolute;right:19px;top:3px;padding:0 4px;font-size:9px;min-width:14px;background:var(--red);color:white;border:2px solid #fff}.workspace{flex:1}.topbar{height:50px;min-height:50px;padding:0 16px}.top-date{display:none}.top-actions{gap:5px}.top-actions>.icon-button{min-width:32px;padding:6px}.breadcrumb{font-size:11px;gap:6px}.breadcrumb>svg:first-child{display:none}.connection-chip{font-size:10px;padding:6px 8px;gap:5px}.connection-chip:before{width:5px;height:5px}.page{padding:17px 13px 14px}.page-heading{align-items:center;margin-bottom:13px;gap:8px}.page-heading h1{font-size:22px;letter-spacing:-.7px;margin-bottom:5px}.page-heading p{font-size:12px;line-height:1.45}.page:has(.inbox)>.page-heading p{max-width:230px}.page-kicker{font-size:9px;margin-bottom:6px;letter-spacing:1.1px}.page-heading .btn{font-size:12px;padding:9px 10px;min-height:38px;gap:5px}.page-heading .btn svg{width:13px;height:13px}.summary-strip{gap:7px;margin-bottom:12px}.summary-card{border-radius:11px;padding:10px 8px;gap:0;min-height:69px}.summary-card>div:nth-child(2){display:block}.summary-icon{display:none}.summary-card strong{display:block;font-size:21px;margin-bottom:5px}.summary-card span{display:block;font-size:11px;line-height:1.2}.inbox,.inbox.hide-details,.inbox:not(:has(.detail-panel)){display:block;border-radius:14px;flex:1;min-height:0}.conversation-list{height:100%;border-right:0}.list-toolbar{padding:14px 13px 0}.section-title{margin-bottom:12px}.section-title h2{font-size:14px}.section-title span{font-size:12px}.search-wrap input{font-size:16px;min-height:42px;padding:9px 10px 9px 35px}.filter-tabs{padding:10px 12px;justify-content:flex-start;gap:5px}.filter-button{font-size:12px;padding:7px 8px;min-height:32px}.contact-items{padding:4px 6px}.contact-item{padding:13px 9px;min-height:99px;gap:11px}.contact-name{font-size:14px}.contact-preview{font-size:13px}.contact-time{font-size:11px}.mini-tag,.status-pill{font-size:11px}.contact-item .avatar{width:42px;height:42px;font-size:12px}.chat-panel{display:none;height:100%}.detail-panel{display:none;right:12px;left:12px;width:auto;top:65px;max-height:calc(100dvh - 157px);z-index:31;padding:18px 21px}.is-demo .detail-panel{top:100px;max-height:calc(100dvh - 192px)}.mobile-chat .detail-panel{display:block}.mobile-chat.hide-details .detail-panel{display:none}.mobile-chat .conversation-list{display:none}.mobile-chat .chat-panel{display:flex}.page:has(.mobile-chat)>.page-heading,.page:has(.mobile-chat)>.summary-strip,.page:has(.mobile-chat)>.footer-note{display:none}.page:has(.mobile-chat){padding:8px}.chat-header{padding:11px 8px;gap:8px;min-height:68px}.chat-header .avatar{width:34px;height:34px;border-radius:11px;font-size:11px}.chat-title h2{font-size:14px;margin-bottom:4px}.chat-title p{font-size:12px}.chat-actions{gap:0}.chat-actions>.status-pill{display:none}.mobile-back{display:inline-flex;padding:5px;min-width:27px}.messages{padding:17px 13px;gap:14px}.message{max-width:91%}.message-bubble{font-size:14px;padding:11px 13px}.message-meta,.message-day{font-size:11px}.chat-footer{padding:9px 11px 10px}.compose-row textarea{font-size:16px;min-height:62px;padding:9px 11px}.composer-hint{font-size:11px;margin-top:6px;line-height:1.4}.composer-hint span:last-child{display:none}.composer-tools .text-button{font-size:12px}.draft-state{font-size:10px}.footer-note{font-size:10px;margin-top:9px;line-height:1.5;gap:4px}.footer-note svg{display:none}.detail-title,.detail-section h3{font-size:11px}.detail-section label{font-size:13px}.detail-section p,.detail-footnote{font-size:12px}.detail-section input,.detail-section textarea,.detail-section select{font-size:16px}.profile h3{font-size:16px}.profile p{font-size:13px}.tag{font-size:12px}.contacts-grid{grid-template-columns:1fr}.content-card{padding:18px}.toolbar{gap:10px;margin-bottom:18px}.count-label{font-size:12px;white-space:nowrap}.reminder-card{padding:15px;gap:12px;flex-wrap:wrap}.reminder-card>.btn{margin-left:68px;margin-top:-2px}.quick-layout{gap:16px}.connection-hero{padding:24px}.connection-hero h2{font-size:24px}.connection-hero p,.connection-reason{font-size:14px}.auth-page{grid-template-columns:1fr}.auth-art{padding:25px 26px;min-height:250px}.auth-logo{width:135px}.auth-art h1{font-size:29px;max-width:340px;margin:27px 0 11px}.auth-art p{font-size:14px;margin-bottom:0}.auth-art>small{display:none}.auth-form-wrap{padding:30px 24px 40px}.auth-form h2{font-size:25px}.field input,.field textarea,.field select{font-size:16px}.modal-backdrop{padding:15px}.modal{padding:23px;max-height:calc(100dvh - 30px)}.modal-actions{gap:7px;flex-wrap:wrap}.modal-actions .btn{font-size:13px;padding:10px 12px}.toast-region{bottom:87px;left:15px;right:15px;max-width:none}.person-card{padding:18px}}
@media(max-width:390px){.page:has(.inbox)>.page-heading h1{font-size:20px}.page:has(.inbox)>.page-heading p{font-size:12px}.page-heading .btn{padding:9px 8px}.summary-card span{font-size:10.5px}.topbar{padding-left:13px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}

/* Conversation categories share the existing, individual workspace. */
.conversation-scope{margin-bottom:12px;flex-shrink:0;min-width:0}
.scope-desktop{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.scope-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:8px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#878787;font-size:13px;font-weight:550;white-space:nowrap}
.scope-button:hover{background:#f2f2f2;color:var(--red)}
.scope-button.active{background:#fff;border-color:#e4e4e4;color:var(--red);box-shadow:0 2px 6px #2e2e2e05}
.scope-count{min-width:20px;padding:2px 6px;border-radius:6px;background:#ededed;color:#909090;font-size:11px;line-height:1.35;text-align:center;font-weight:600}
.scope-button.active .scope-count{background:var(--red-soft);color:var(--red)}
.scope-mobile{display:none}
.category-pill{display:inline-flex;align-items:center;max-width:100%;padding:4px 7px;border-radius:6px;font-size:11px;line-height:1.25;font-weight:550;white-space:nowrap;background:#f2f2f2;color:#808080}
.category-pill.personal{background:#f2f2f2;color:#808080}
.category-pill.professional{background:#ececec;color:#5a5a5a}
.category-pill.unclassified{background:#f1f1f1;color:#888888}
.contact-meta:has(.category-pill){justify-content:flex-start;flex-wrap:wrap;gap:5px}
.contact-meta:has(.category-pill) .unread{margin-left:auto}
.person-card .category-pill{margin-bottom:10px}
@media(max-width:760px){
  .scope-desktop{display:none}
  .scope-mobile{display:flex;align-items:center;gap:11px;min-width:0}
  .scope-mobile label{font-size:12px;font-weight:600;color:#808080;flex-shrink:0}
  .scope-mobile select{flex:1;min-width:0;max-width:100%;min-height:42px;padding:9px 10px;border:1px solid #e4e4e4;border-radius:10px;background:#fff;color:var(--ink);font-size:16px}
  .category-pill{font-size:11px}
  .page:has(.mobile-chat)>.conversation-scope{display:none}
}
/* Connection by linked device. QR pixels are supplied only by the server. */
.qr-connection-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.85fr);gap:24px;max-width:1100px;align-items:stretch}.qr-howto{padding:32px}.qr-howto h2{font-size:27px;letter-spacing:-.8px;margin:0 0 10px}.qr-lead{font-size:14px;color:var(--muted);margin-bottom:28px;max-width:360px}.qr-steps{padding:0;margin:0;list-style:none;display:grid;gap:25px}.qr-steps li{display:flex;gap:14px;align-items:flex-start}.qr-step-number{width:31px;height:31px;border-radius:10px;background:var(--red-soft);color:var(--red);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0}.qr-steps strong{display:block;font-size:14px;font-weight:650;margin:3px 0 6px}.qr-steps p{color:var(--muted);font-size:13px;line-height:1.65;margin:0;max-width:340px}.qr-limits{display:flex;gap:10px;border-top:1px solid var(--line);margin-top:30px;padding-top:21px;color:var(--muted)}.qr-limits svg{flex-shrink:0;color:#a1a1a1;margin-top:3px}.qr-limits p{font-size:12px;line-height:1.75;margin:0;overflow-wrap:anywhere}.qr-channel-card{text-align:center;display:flex;flex-direction:column;align-items:stretch;padding:25px 28px;min-width:0;min-height:468px}.qr-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:27px;text-align:left}.qr-card-top .eyebrow{font-size:10px}.qr-state{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #ececec;border-radius:20px;background:#f7f7f7;color:#929292;font-size:10px;white-space:nowrap}.qr-state:before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.qr-state.online{background:#f2f2f2;border-color:#e5e5e5;color:var(--green)}.qr-channel-card h2{font-size:21px;letter-spacing:-.4px;margin-bottom:18px}.qr-placeholder{width:92px;height:92px;border-radius:27px;background:var(--red-soft);color:#b0b0b0;display:flex;align-items:center;justify-content:center;margin:16px auto 22px}.qr-connected-symbol{width:92px;height:92px;border-radius:28px;background:#f2f2f2;color:var(--green);display:flex;align-items:center;justify-content:center;margin:17px auto 23px}.qr-channel-copy{font-size:13px;line-height:1.7;color:var(--muted);margin:0 auto 18px;max-width:310px;overflow-wrap:anywhere}.qr-channel-card>.btn-primary{margin-top:auto;min-height:44px}.qr-disconnect{align-self:center;margin-top:8px;white-space:normal}.qr-footnote{font-size:11px;line-height:1.65;color:#a0a0a0;margin:17px auto 0;max-width:310px}.qr-image-frame{align-self:center;padding:13px;border:1px solid #eaeaea;border-radius:17px;background:#fff;max-width:100%;margin:0 0 12px}.qr-image-frame img{display:block;width:248px;height:248px;max-width:100%;object-fit:contain}.qr-expiry{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:20px}.qr-error{margin-bottom:15px;text-align:left}.qr-channel-card>.btn+.btn{margin-top:9px}.qr-optional{max-width:1100px;margin-top:8px}.qr-optional .connection-fields{padding:19px 23px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:20px}.qr-optional .connection-fields summary{font-size:13px;color:#909090;margin:0}.qr-optional .connection-fields[open] summary{margin-bottom:22px}.qr-optional .form-stack{max-width:560px}.qr-consent-copy{color:var(--muted);font-size:14px;line-height:1.75;margin:0;overflow-wrap:anywhere}.qr-consent-label{display:flex;align-items:flex-start;gap:11px;border:1px solid #ececec;background:#fbfbfb;padding:15px;border-radius:11px;cursor:pointer;color:#6f6f6f;font-size:13px;line-height:1.7}.qr-consent-label input{width:18px;height:18px;min-width:18px;margin:3px 0 0;accent-color:var(--red)}.qr-consent-label:has(input:checked){border-color:#cbcbcb;background:#f6f6f6}.qr-consent-label span{min-width:0}.qr-consent-label:has(input:focus-visible){outline:3px solid #b6b6b6;outline-offset:3px}
@media(max-width:1040px){.qr-connection-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);gap:18px}.qr-howto{padding:25px}.qr-channel-card{padding:24px}.qr-card-top{gap:8px}.qr-card-top .eyebrow{font-size:9px}}
@media(max-width:760px){.qr-connection-grid{grid-template-columns:minmax(0,1fr);gap:16px}.qr-howto{padding:23px}.qr-howto h2{font-size:25px}.qr-lead{font-size:14px;margin-bottom:24px}.qr-steps{gap:22px}.qr-steps strong{font-size:14px}.qr-steps p{font-size:13px}.qr-limits p{font-size:12px}.qr-channel-card{padding:23px;min-height:390px}.qr-channel-card h2{font-size:21px}.qr-card-top{margin-bottom:23px}.qr-card-top .eyebrow{font-size:10px}.qr-state{font-size:11px}.qr-channel-copy{font-size:14px}.qr-footnote,.qr-expiry{font-size:12px}.qr-image-frame{padding:10px}.qr-image-frame img{width:min(248px,calc(100vw - 118px));height:auto;aspect-ratio:1}.qr-consent-copy{font-size:14px}.qr-consent-label{font-size:14px;padding:14px}.qr-consent-label input{width:20px;height:20px;min-width:20px;margin-top:2px}.qr-optional .connection-fields{padding:18px}.qr-optional .connection-fields summary{font-size:13px;line-height:1.5}.qr-channel-card>.btn-primary{font-size:14px}}
@media(max-width:760px){.qr-channel-card{grid-row:1}.qr-howto{grid-row:2}}
/* Willbecont: original brand artwork, warm accents and readable work surfaces. */
.mobile-more{display:none}.mobile-more-menu{display:grid;gap:9px}.more-menu-item{justify-content:flex-start;padding:13px 15px;font-size:14px;min-height:47px}.more-menu-item.current{background:var(--red-soft);border-color:#ebcbab;color:var(--red)}.more-menu-logout{margin-top:9px;color:#8d5b3e}.more-connection-status{display:grid;gap:10px;padding:15px;border:1px solid var(--line);border-radius:11px;background:#f9f9f9}.more-connection-status strong{font-size:13px}.more-connection-status small{font-size:12px;color:var(--muted);line-height:1.5}.more-connection-status .connection-chip{justify-self:start}
.transfer-button{font-size:11px;padding:7px 9px;min-height:32px}.contact-assignee{font-size:11px!important;color:#8b7257!important;margin-top:5px!important}.chat-title{min-width:0}.chat-actions{flex-shrink:0}@media(max-width:760px){.transfer-button{font-size:11px;padding:6px 7px;min-height:32px;gap:4px}.transfer-button svg{display:none}.chat-actions{gap:1px}.chat-actions .icon-button{min-width:29px;padding:5px}.chat-title h2{font-size:13px}.chat-title p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-assignee{font-size:12px!important}}
.sidebar>.brand,.sidebar>.brand-caption,.sidebar>.nav-label,.sidebar>.nav,.sidebar>.sidebar-bottom{flex-shrink:0}.sidebar>.brand{height:auto;min-height:84px}.sidebar>.brand img{height:auto;min-height:84px;max-height:none;object-fit:contain}
:root{--red:#c74907;--red-dark:#a93a05;--red-soft:#fff0df;--ink:#2b2b2b;--navy:#262626;--muted:#787878;--line:#e8e6e2;--canvas:#f6f6f6}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#e97721}
.sidebar{background:#262626;overflow-y:auto;scrollbar-width:thin}.brand{padding:0;background:linear-gradient(110deg,#ff6900,#ffb900);overflow:hidden;border-radius:11px}.brand img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.brand-caption{color:#e4b98c}.nav-label{margin-top:24px;color:#9b9b9b}.nav{gap:4px}.nav-button{min-height:41px;padding-top:10px;padding-bottom:10px;color:#bebebe}.nav-button:hover{background:#343434}.nav-button.active{background:linear-gradient(115deg,#e8580c,#f28d0a);color:white}.sidebar-bottom{padding-top:20px}.private-label,.user-box{border-color:#414141}.private-label strong{color:#ececec}.private-label span,.user-details span{color:#b0aeaa}.private-label svg{color:#f6a760}.user-box .avatar{background:#44403b;color:#f7cda7}.sidebar .user-box .icon-button{color:#bebbb7}.tenant-name{display:inline-block;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-logout{display:none}.breadcrumb{min-width:0}.breadcrumb strong{white-space:nowrap}.btn-primary{box-shadow:0 4px 11px #d469151a}.btn:hover{background:#fff8ef;border-color:#edcbaa}.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.icon-button:hover,.filter-button:hover,.scope-button:hover{background:#fff2e3}.nav-button.active:hover{background:#d8590d}.contact-item.selected{background:#fff3e6;border-color:#f1d5b8}.contact-item:hover{background:#fff9f2}.selected .mini-tag,.mini-tag{background:#f5ebe0;color:#8a6b4d}.outbound .message-bubble{background:#fff0dc;border-color:#f1ddc1;color:#664b31}.message-meta svg{color:#b57a3f}.summary-icon.red{background:#fff0df;color:#c46a24}.text-button{color:#936b45}.scope-button.active{border-color:#ecd6bf}.qr-placeholder,.qr-limits svg{color:#be7b40}.qr-state{background:#f8f5ef;color:#83725e;border-color:#eae0d3}.qr-consent-label{border-color:#eedac4;background:#fff9f0;color:#755837}.qr-consent-label:has(input:checked){background:#fff1de;border-color:#d79d5e}.category-pill.personal{background:#f2ece4;color:#826549}.category-pill.custom{background:#f1f1f1;color:#787878}.chat-title .chat-assignee{margin-top:4px;font-size:11px;color:#8b7257;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-company{font-weight:600;color:#7e6b59}.auth-professional .auth-art{background:linear-gradient(110deg,#ff6900,#ffb900);padding:40px 44px;color:#2b2b2b;justify-content:center;gap:35px;position:relative;overflow:hidden}.auth-professional .auth-logo{background:transparent;border-radius:0;padding:0;width:100%;max-width:620px;margin:0 auto}.auth-professional .auth-logo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.auth-brand-copy{position:relative;max-width:440px;margin:0 auto;width:100%}.auth-professional .auth-art h1{color:#252525;font-size:43px;margin:16px 0;max-width:440px;letter-spacing:-1.6px}.auth-professional .auth-art h1 span{color:#fff}.auth-professional .auth-art p{color:#493c2d;max-width:400px;font-size:15px}.auth-professional .auth-art small{color:#4e422e;max-width:440px;margin:0 auto;width:100%}.auth-professional .auth-art .eyebrow{color:#4e3925}.auth-professional .auth-form-wrap{background:#fdfdfd}.auth-professional .auth-form{max-width:390px}.auth-professional .auth-bottom{font-size:12px;line-height:1.6}.invitation-identity{display:grid;gap:5px;background:#fff3e4;border:1px solid #f0dcc3;padding:15px;border-radius:11px;overflow-wrap:anywhere}.invitation-identity span{font-size:13px;color:var(--muted)}.invitation-identity small{margin-top:5px;color:#8d7355}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1200px}.management-card{display:flex;flex-direction:column;gap:17px;min-width:0}.management-card h2{font-size:18px;margin:0;overflow-wrap:anywhere;min-width:0}.management-card>.btn{align-self:flex-start}.management-row{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.management-owner{font-size:14px;color:var(--muted);line-height:1.7;margin:0;overflow-wrap:anywhere}.management-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.license-badge{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:6px 9px;font-size:11px;font-weight:600;line-height:1.3;max-width:155px;flex-shrink:0}.license-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.license-badge.active{background:#f0f0f0;color:#4e4e4e}.license-badge.expired{background:#fff0da;color:#926121}.license-badge.suspended{background:#f2f2f2;color:#757575}.license-summary{max-width:1000px;padding:28px}.license-summary h2{font-size:24px;margin:10px 0 0;overflow-wrap:anywhere}.license-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:25px 0}.license-facts dt{font-size:12px;color:var(--muted);margin-bottom:9px}.license-facts dd{font-size:19px;font-weight:600;margin:0;overflow-wrap:anywhere}.license-blocked-card{display:flex;gap:17px;align-items:flex-start;background:#fff4e5;border:1px solid #f0d5ae;padding:23px;border-radius:15px;max-width:1000px;margin-bottom:20px;color:#8c602a}.license-blocked-card>svg{flex-shrink:0;margin-top:3px}.license-blocked-card h2{font-size:20px;color:#674722;margin:0 0 9px}.license-blocked-card p{font-size:14px;line-height:1.7;margin:0;max-width:680px}.management-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.form-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.form-grid>.field{min-width:0}.management-list{display:flex;flex-direction:column;gap:0}.management-person{display:flex;align-items:center;gap:13px;padding:18px 0;border-top:1px solid var(--line)}.management-person:first-child{border-top:0;padding-top:3px}.management-person:last-child{padding-bottom:0}.management-person-copy{min-width:0;flex:1}.management-person h2{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}.management-person p{font-size:13px;margin:0 0 5px;color:var(--muted);overflow-wrap:anywhere}.management-invitations{margin-top:20px}.management-invitations h2{font-size:18px}.management-invitation{display:grid;grid-template-columns:1fr 1fr;gap:5px 15px;padding:14px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.management-invitation strong{font-size:13px}.management-invitation span,.management-invitation small{font-size:12px;color:var(--muted)}.management-invitation small{grid-column:1/-1}.invite-link-box{display:grid;gap:16px}.invite-link-input{width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;background:#fffaf4;padding:13px;font-size:13px;color:#795734}.invite-link-box .btn{justify-self:start}.professional-shell .page>.content-card{max-width:1200px}
@media(max-width:1080px){.tenant-name{max-width:150px}.auth-professional .auth-art{padding:30px;gap:25px}.auth-professional .auth-art h1{font-size:35px}.management-grid{grid-template-columns:1fr}.license-facts dd{font-size:17px}.top-date{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:760px){.sidebar{overflow:visible;background:#fff}.nav-button{color:#85817c;padding-top:7px;padding-bottom:3px}.nav-button.active,.nav-button.active:hover{background:#fff0df;color:var(--red);box-shadow:none}.nav-button:hover{background:#fff5e8;color:var(--red)}.professional-shell .nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;overscroll-behavior-x:contain}.professional-shell .nav::-webkit-scrollbar{display:none}.professional-shell .nav-button{flex:0 0 71px;min-width:71px}.professional-shell .nav-button:only-child{flex:1}.professional-shell .breadcrumb .tenant-name{max-width:94px}.professional-shell .breadcrumb strong{max-width:92px;overflow:hidden;text-overflow:ellipsis}.top-logout{display:inline-flex}.professional-shell .topbar{padding:0 10px;gap:5px}.professional-shell .top-actions{gap:1px;flex-shrink:0}.professional-shell .connection-chip{max-width:121px;font-size:10px;overflow:hidden;white-space:nowrap;padding:6px}.professional-shell .top-actions>.icon-button{min-width:29px;padding:5px}.professional-shell .breadcrumb{gap:5px;flex:1}.professional-shell .breadcrumb>svg{display:none}.auth-professional .auth-art{padding:18px 25px 24px;min-height:0;gap:5px}.auth-professional .auth-logo{max-width:310px}.auth-professional .auth-art h1{font-size:27px;line-height:1.15;margin:9px 0}.auth-professional .auth-art h1 br{display:none}.auth-professional .auth-art p{font-size:13px;margin-bottom:0;max-width:320px}.auth-professional .auth-art .eyebrow{font-size:9px}.auth-professional .auth-brand-copy{max-width:310px}.auth-professional .auth-form-wrap{padding:28px 24px 38px}.auth-professional .auth-form h2{font-size:25px}.management-grid{gap:14px}.management-row{gap:10px;flex-wrap:wrap}.management-card{gap:14px}.management-card h2{font-size:18px}.license-summary{padding:20px}.license-summary h2{font-size:21px}.license-facts{grid-template-columns:1fr;gap:19px;padding:20px 0;margin:22px 0}.license-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:15px}.license-facts dt{margin:0;font-size:13px}.license-facts dd{font-size:16px;text-align:right}.license-blocked-card{padding:18px;gap:12px}.license-blocked-card h2{font-size:18px}.license-blocked-card p{font-size:13px}.license-blocked-card>svg{width:21px;height:21px}.management-person{gap:11px;align-items:flex-start;flex-wrap:wrap}.management-person>.btn{margin-left:51px}.management-person-copy{flex-basis:calc(100% - 55px)}.management-person h2{font-size:15px}.management-meta{font-size:12px}.management-invitation{grid-template-columns:1fr}.management-invitation small{grid-column:auto}.form-grid{grid-template-columns:1fr;gap:0}.form-grid input{max-width:100%;min-width:0}.invite-link-input{font-size:16px}.chat-title .chat-assignee{font-size:11px;margin-top:4px}.chat-header{min-height:82px}.composer-hint{font-size:12px}.management-toolbar .btn{white-space:normal}}
.mobile-more-menu .btn{white-space:normal}
@media(max-width:760px){.nav .nav-secondary{display:none}.nav .mobile-more{display:flex}.professional-shell .nav{overflow:visible;justify-content:space-between}.professional-shell .nav-button{flex:1;min-width:0}.professional-shell .nav-button:only-child{flex:1}}

/* Simple workspace: orange, black and white; one queue at a time. */
:root{--red:#bf4605;--red-dark:#9b3500;--red-soft:#fff0e4;--ink:#181818;--navy:#191919;--muted:#737373;--line:#e4e4e4;--canvas:#f6f6f6;--green:#494949;--amber:#694a34}
.config-nav{display:flex}.nav-button.active,.nav-button.active:hover{background:#b84104;color:#fff}.nav-label{display:none}.brand-caption{margin-bottom:25px}.private-label{display:none}.sidebar-bottom{padding-top:15px}.sidebar{background:#191919}.sidebar .user-box .avatar{background:#373737;color:white}.sidebar .user-box .icon-button{color:#bcbcbc}.nav-button{color:#c4c4c4}.nav-button:hover{background:#303030;color:#fff}.nav{gap:7px}.inbox-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px;flex-shrink:0}.inbox-heading h1{display:flex;align-items:center;gap:10px;font-size:23px;line-height:1.3;margin:0;letter-spacing:-.5px}.queue-total{font-size:12px;line-height:1;padding:6px 8px;background:#eaeaea;color:#555;border-radius:7px;letter-spacing:0;font-weight:600}.queue-description{font-size:12px;color:#777;margin:0 0 15px;line-height:1.6}.list-toolbar{padding-bottom:15px}.contact-items{padding-top:5px}.contact-meta{justify-content:space-between}.contact-responsible{font-size:11px;color:#737373;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-list-company{font-size:11px;color:#777;margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{background:#f0f0f0;color:#454545;border-radius:11px}.avatar.large{background:#f3f3f3;color:#454545}.contact-item.selected{background:#fff1e5;border-color:#f2d6be}.contact-item:hover{background:#faf7f4}.messages,.chat-panel{background:#f7f7f7}.outbound .message-bubble{background:#fff0df;border-color:#efd9c4;color:#262626}.message-meta svg{color:#ad5b23}.message-bubble{color:#252525}.chat-title .chat-assignee,.contact-assignee{color:#6d6d6d!important}.chat-header>.status-pill{font-size:10px;flex-shrink:0;background:#f2f2f2;color:#555}.status-pill,.status-pill.waiting,.status-pill.done{background:#efefef;color:#5c5c5c}.attendance-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:11px 17px;border-bottom:1px solid var(--line);background:white;flex-shrink:0}.attendance-actions .btn{font-size:12px;min-height:35px;padding:8px 11px}.client-data-button{margin-left:auto}.detail-panel{padding:18px}.detail-panel .profile{padding:0 0 15px;text-align:left}.detail-panel .profile .avatar{display:none}.detail-panel .profile h3{font-size:16px;margin:0 0 7px}.detail-panel .profile p{font-size:12px;margin:0;color:#777}.detail-section{padding-top:16px}.detail-section h3{display:none}.detail-section p{font-size:11px;line-height:1.6;color:#777}.detail-section:first-child{margin-top:0;padding-top:15px}.client-advanced{border-top:1px solid var(--line);margin:18px 0;padding-top:17px}.client-advanced>summary{font-size:12px;font-weight:600;color:#555;cursor:pointer}.client-advanced[open]>summary{margin-bottom:12px}.detail-footnote{font-size:11px;color:#888}.contact-company{color:#454545}.person-card-head p{color:#737373}.person-card-foot{justify-content:flex-end}.page-heading .page-kicker{display:none}.page-heading h1{font-size:24px}.connection-chip.connected{background:#fff1e4;color:#99511c;border-color:#eed6c1}.connection-chip.connected:before{background:#c66a25}.qr-state.online,.qr-connected-symbol{background:#fff0df;border-color:#efd7c1;color:#a2551c}.qr-placeholder{background:#fff0df;color:#ac5a20}.qr-consent-label{background:#fff7ee;border-color:#edd9c6;color:#584331}.qr-consent-label:has(input:checked){background:#ffefdc;border-color:#d9a16e}.license-badge.active,.license-badge.expired,.license-badge.suspended{background:#f1f1f1;color:#494949}.license-badge.active{background:#fff0df;color:#9a4d16}.license-blocked-card{background:#fff2e6;color:#715039;border-color:#ecd3bc}.inline-error,.form-error,.toast.error{color:#763c1c}.inline-error,.toast.error{background:#fff1e6;border-color:#edceba}.scope-desktop,.scope-mobile,.conversation-scope{display:none!important}.client-advanced input,.client-advanced select,.client-advanced textarea{max-width:100%}.auth-professional .auth-art{background:linear-gradient(110deg,#ff6900,#ffb900)}.auth-professional .auth-form-wrap{background:white}.auth-professional .auth-art .eyebrow,.auth-professional .auth-art h1,.auth-professional .auth-art p,.auth-professional .auth-art small{color:#1d1d1d}.auth-professional .auth-art h1 span{color:white}
@media(max-width:1150px){.inbox,.inbox.hide-details,.inbox:not(:has(.detail-panel)){grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:760px){.nav .config-nav{display:flex}.nav,.professional-shell .nav{overflow:visible;justify-content:space-between}.nav-button,.professional-shell .nav-button{flex:1;min-width:0}.nav-text{font-size:11px;max-width:100%;line-height:1.2}.nav-button.active,.nav-button.active:hover{background:#fff0df;color:#ad3e03}.nav-button:hover{color:#ad3e03;background:#fff5ed}.sidebar{background:white}.brand-caption{display:none}.inbox-heading{margin-bottom:13px;gap:10px}.inbox-heading h1{font-size:21px;gap:8px}.inbox-heading .btn{font-size:12px;padding:9px 11px;min-height:39px}.queue-total{font-size:11px;padding:5px 7px}.queue-description{font-size:12px;margin-bottom:12px}.list-toolbar{padding-bottom:13px}.inbox,.inbox.hide-details,.inbox:not(:has(.detail-panel)){display:block}.page:has(.mobile-chat)>.inbox-heading{display:none}.chat-header{padding:11px 9px;min-height:81px;gap:8px}.chat-header>.status-pill{display:none}.chat-title h2{font-size:14px}.attendance-actions{gap:7px;padding:9px 10px;flex-wrap:wrap}.attendance-actions .btn{font-size:12px;padding:8px 10px;min-height:35px;gap:5px}.attendance-actions .btn svg{width:13px;height:13px}.attendance-actions .transfer-button svg{display:none}.attendance-actions .client-data-button{margin-left:auto}.detail-panel{top:62px!important;max-height:calc(100dvh - 150px)!important}.is-demo .detail-panel{top:97px!important;max-height:calc(100dvh - 185px)!important}.detail-section p{font-size:12px}.client-advanced>summary{font-size:13px}.contact-responsible,.contact-list-company{font-size:12px}.contact-item{min-height:103px}.top-actions .top-date{display:none}.footer-note{display:none}.person-card-head p{font-size:13px}}

/* Final contrast pass: neutral surfaces and readable supporting text. */
input::placeholder,textarea::placeholder{color:#6f6f6f;opacity:1}.contact-time,.message-meta,.message-day,.queue-description,.contact-responsible,.contact-list-company,.composer-hint,.draft-state,.field small,.form-note,.detail-section p,.detail-footnote{color:#686868}.chat-title p,.chat-title .chat-assignee,.contact-assignee{color:#686868!important}input:disabled,textarea:disabled,select:disabled{background:#f0f0f0;color:#888;border-color:#d6d6d6}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b94708;outline-offset:3px}@media(max-width:760px){.nav-button,.professional-shell .nav-button{color:#606060}.nav-button.active,.nav-button.active:hover,.professional-shell .nav-button.active{color:#a73b02;background:#fff0df}.nav-button:hover{color:#a73b02;background:#fff5ed}}

/* Consolidated orange navigation with the original W as selection marker. */
.sidebar{background:#ff8a00;color:#181818;padding:19px 11px 15px}.sidebar>.brand{margin:0 8px;padding:0;background:transparent;border:0;border-radius:0;min-height:0;box-shadow:none;overflow:visible}.sidebar>.brand img{display:block;width:100%;height:74px;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;margin:0}.brand-caption{color:#26211b;margin:8px 10px 22px;padding:0;font-size:9px;letter-spacing:2px}.nav{gap:5px}.nav-button,.nav-button.active,.nav-button.active:hover{color:#181818;background:transparent;box-shadow:none;min-height:42px;padding:10px;border-radius:9px;gap:9px}.nav-button.active,.nav-button.active:hover{background:rgba(255,255,255,.28);font-weight:700}.nav-button:hover{background:rgba(255,255,255,.17);color:#181818}.nav-mark{width:21px;height:21px;flex-shrink:0;object-fit:contain;display:block}.nav-button svg{color:#2f251a}.sidebar-bottom{padding-top:18px}.sidebar .user-box{border-color:rgba(0,0,0,.18);margin-top:12px;padding-top:15px}.sidebar .user-details strong{color:#181818}.sidebar .user-details span{color:#49321a}.sidebar .user-box .avatar{background:rgba(255,255,255,.35);color:#181818}.sidebar .user-box .icon-button{color:#352313}.sidebar .user-box .icon-button:hover{background:rgba(255,255,255,.3);color:#181818}.sidebar button:focus-visible,.sidebar a:focus-visible{outline:3px solid #2c1c10;outline-offset:2px}
@media(max-width:760px){.sidebar{background:#ff8a00;padding:5px 5px max(6px,env(safe-area-inset-bottom));border-top:1px solid rgba(0,0,0,.12)}.nav,.professional-shell .nav{gap:3px}.nav-button,.professional-shell .nav-button{color:#181818;background:transparent;padding:7px 2px 4px;gap:5px;min-height:0}.nav-button.active,.nav-button.active:hover,.professional-shell .nav-button.active{background:rgba(255,255,255,.3);color:#181818}.nav-button:hover{color:#181818;background:rgba(255,255,255,.18)}.nav-mark{width:20px;height:20px}.nav-button svg{width:20px;height:20px}.nav-text{font-size:11px;line-height:1.2}.sidebar>.brand{display:none}.brand-caption{display:none}}

/* Graphite workspace. Orange brand navigation remains unchanged. */
:root{color-scheme:dark;--ink:#dfe3e8;--navy:#15181d;--muted:#adb4bf;--line:#ffffff14;--paper:#1c2026;--canvas:#15181d;--red:#ff8a00;--red-dark:#ec7c00;--red-soft:#3b2b1d;--green:#e3b17d;--amber:#e3b17d;--shadow:0 6px 22px #0000000d}
body,.workspace,.page,.boot{background:#15181d;color:#dfe3e8}
a{color:#ffb363}::selection{background:#76502c;color:#fff4e8}
.topbar{background:#1c2026;border-color:#ffffff14}.breadcrumb,.top-date{color:#adb4bf}.breadcrumb strong{color:#e2e6ec}.breadcrumb>svg:first-child{color:#9ba5b2}
.content-card,.person-card,.reply-card,.reminder-card,.management-card,.license-summary,.qr-howto,.qr-channel-card{background:#1c2026;border-color:#ffffff14;color:#dfe3e8;box-shadow:0 4px 16px #0000000a}
.inbox{background:#1c2026;border-color:#ffffff14;box-shadow:0 8px 24px #0000000a}.conversation-list,.list-toolbar,.chat-header,.attendance-actions,.chat-footer,.detail-panel{background:#1c2026;border-color:#ffffff14}.contact-items{scrollbar-color:#424954 transparent}.contact-item{background:transparent;border-color:transparent}.contact-item:hover{background:#262c34}.contact-item.selected{background:#382a1f;border-color:#a56b343d}.contact-name,.chat-title h2,.profile h3,.person-card h2,.management-person h2,.reminder-info h2{color:#e6e9ed}
.contact-preview,.contact-time,.message-meta,.message-day,.queue-description,.contact-responsible,.contact-list-company,.composer-hint,.draft-state,.field small,.form-note,.detail-section p,.detail-footnote,.contact-company,.person-card-head p,.management-owner,.management-meta,.management-person p,.management-invitation span,.management-invitation small,.license-facts dt,.count-label,.list-empty,.footer-note,.reply-card p{color:#adb4bf}
.chat-title p,.chat-title .chat-assignee,.contact-assignee{color:#adb4bf!important}.queue-total{background:#2a3039;color:#d5dbe3}.section-title span,.detail-title,.eyebrow,.page-kicker,.empty-state p,.auth-bottom{color:#adb4bf}.page-kicker span,.auth-form .eyebrow{color:#ffb363}
.messages,.chat-panel{background:#181c22;scrollbar-color:#424954 transparent}.chat-panel:has(>.empty-state){background:radial-gradient(ellipse at 65% 40%,#ffffff03 0,transparent 65%),#181c22}.empty-state h2{color:#dfe3e8}.empty-icon{background:#292e36;color:#e5a362}.message-bubble{background:#282e37;border-color:#ffffff0f;color:#e1e5eb;box-shadow:0 2px 6px #0000000a}.outbound .message-bubble{background:#483322;border-color:#79523166;color:#f5e8d9}.message-meta svg{color:#e6ad76}.message-day{background:transparent}
.btn{background:#282e37;border-color:#ffffff17;color:#dfe3e8;box-shadow:none}.btn:hover{background:#343b46;border-color:#ffffff29;color:#f2f3f6}.btn-primary,.send-button{background:#ff8a00;border-color:#ff8a00;color:#181818;box-shadow:none}.btn-primary:hover,.send-button:hover{background:#ff9b26;border-color:#ff9b26;color:#181818}.btn-quiet{background:transparent;border-color:transparent;color:#adb4bf}.btn-quiet:hover{background:#ffffff08;color:#e4e8ef}.text-button{color:#e8b27e}.text-button:hover{color:#ffc58d}.icon-button{color:#adb4bf}.icon-button:hover{background:#ffffff0b;color:#ffb363}.icon-button.outlined{background:#282e37;border-color:#ffffff17;color:#dfe3e8}.unread{background:#ff8a00;color:#181818}.nav-count{color:#181818}
.field label,.detail-section label{color:#dfe3e8}.field input,.field textarea,.field select,.detail-section input,.detail-section textarea,.detail-section select,.search-wrap input,.compose-row textarea,.status-select,.invite-link-input{background:#15191f;color:#e2e7ed;border-color:#ffffff1c;box-shadow:none}.compose-row textarea{background:#15191f}.search-wrap svg{color:#a9b2bf}.search-wrap input:focus,.field input:focus,.field textarea:focus,.field select:focus,.compose-row textarea:focus{background:#15191f;color:#e2e7ed;border-color:#e9903d}.detail-section .status-select{background:#15191f;color:#e2e7ed;border-color:#ffffff1c}.field input::placeholder,.field textarea::placeholder,.search-wrap input::placeholder,.compose-row textarea::placeholder,input::placeholder,textarea::placeholder{color:#a1a9b6;opacity:1}.field small{color:#adb4bf}.field input:disabled,.field textarea:disabled,.field select:disabled,input:disabled,textarea:disabled,select:disabled{background:#252a32;color:#959da9;border-color:#ffffff12;cursor:not-allowed}button:disabled{opacity:.5;cursor:not-allowed}.btn:disabled,.send-button:disabled{box-shadow:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffad55;outline-offset:3px}.sidebar button:focus-visible,.sidebar a:focus-visible{outline-color:#2c1c10}
.form-note,.send-preview{background:#242a32;border-color:#ffffff14;color:#b7bfca}.form-note strong{color:#e3e7ed}.form-error{background:#3a281e;color:#ffc18d;border-color:#b47a4b66}.inline-error,.page-error,.toast.error{background:#3a281e;border-color:#b47a4b66;color:#ffd1a8}.toast{background:#292f38;border:1px solid #ffffff1f;color:#edf0f3;box-shadow:0 12px 32px #00000033}.toast svg{color:#ffb363}.toast.error svg{color:#ffbc83}.pending-updates{border:1px solid #b47a4b44}
.avatar,.avatar.large,.avatar.blue,.avatar.lilac,.avatar.warm,.avatar.red{background:#303741;color:#e0e5ec}.status-pill,.status-pill.waiting,.status-pill.done,.chat-header>.status-pill{background:#2a3039;color:#d0d6df}.tag,.mini-tag,.selected .mini-tag{background:#33302a;color:#dac4aa}.profile,.person-card-foot,.client-advanced,.detail-section,.management-person,.management-invitation,.license-facts{border-color:#ffffff14}.client-advanced>summary{color:#d2d8e2}.detail-panel{box-shadow:0 15px 45px #00000033}.detail-panel .profile p,.detail-section p{color:#adb4bf}
.modal-backdrop{background:#080a0db8;backdrop-filter:blur(5px)}.modal{background:#232830;border:1px solid #ffffff1c;color:#dfe3e8;box-shadow:0 20px 70px #00000055}.modal-head h2{color:#edf0f4}.modal-head p,.send-recipient span{color:#adb4bf}.quick-choice{background:#1c2026;border-color:#ffffff17;color:#dfe3e8}.quick-choice:hover{background:#34291f;border-color:#a56b3466}.quick-choice span{color:#adb4bf}.more-menu-item.current{background:#3b2b1d;border-color:#b77a4055;color:#ffc287}.more-menu-logout{color:#ffc08d}.more-connection-status{background:#1c2026;border-color:#ffffff14;color:#dfe3e8}.more-connection-status small{color:#adb4bf}.invite-link-input{background:#171b21;color:#f0c398}.invitation-identity{background:#2d2925;border-color:#ffffff14;color:#e7e2db}.invitation-identity span,.invitation-identity small{color:#c1b9ae}
.connection-chip{background:#282e37;border-color:#ffffff17;color:#c0c8d3}.connection-chip:before{background:#a2adbd}.connection-chip.connected{background:#382b20;border-color:#b07a4344;color:#ffc08a}.connection-chip.connected:before{background:#ff9f42}.connection-hero{background:#232830;color:#e3e7ed}.connection-hero .eyebrow,.connection-hero p,.connection-reason,.capability-list,.step-list{color:#adb4bf}.connection-hero .connection-chip{background:#302c28;border-color:#ffffff14;color:#e5c19d}.step-list strong{color:#e2e7ee}.step-list li:before{background:#3b2b1d;color:#ffc08a}.capability-list svg{color:#f2ad6d}.connection-fields{border-color:#ffffff14}.qr-optional .connection-fields{background:#1c2026;border-color:#ffffff14}.qr-optional .connection-fields summary,.connection-fields summary{color:#cbd2dc}.qr-howto h2,.qr-channel-card h2{color:#e3e7ed}.qr-lead,.qr-steps p,.qr-limits,.qr-limits p,.qr-channel-copy,.qr-footnote,.qr-expiry,.qr-consent-copy{color:#adb4bf}.qr-limits{border-color:#ffffff14}.qr-limits svg{color:#e5a265}.qr-step-number,.qr-placeholder{background:#3b2b1d;color:#f3b57c}.qr-state{background:#2b3038;border-color:#ffffff17;color:#d0d6df}.qr-state.online,.qr-connected-symbol{background:#382b20;border-color:#b07a4344;color:#ffc08a}.qr-consent-label{background:#302820;border-color:#ab783d55;color:#e2c5a8}.qr-consent-label:has(input:checked){background:#3b2b1d;border-color:#d58d43}.qr-consent-label input{accent-color:#ff8a00}.qr-consent-label:has(input:focus-visible){outline:3px solid #ffad55;outline-offset:3px}.qr-image-frame{background:#fff;border-color:#ffffff28;box-shadow:none}.qr-image-frame img{background:#fff}
.license-badge.active{background:#3b2b1d;color:#ffc08a}.license-badge.expired,.license-badge.suspended{background:#34302b;color:#e8c8a7}.license-blocked-card{background:#302820;border-color:#b47a4b55;color:#dfc3a8}.license-blocked-card h2{color:#f4d8bd}.license-blocked-card p{color:#d1bba6}.license-facts dd{color:#e7ebf0}.reminder-date,.reminder-card.overdue .reminder-date{background:#3b2b1d;color:#efb57f}.reminder-card.overdue{border-color:#a56b3444}.reply-card .eyebrow{color:#aeb6c2}
.auth-page,.auth-form-wrap,.auth-professional .auth-form-wrap{background:#1c2026;color:#dfe3e8}.auth-form h2{color:#e7ebf0}.auth-form>p,.auth-professional .auth-bottom{color:#adb4bf}.auth-form .eyebrow{color:#ffb363}.auth-professional .auth-art{background:linear-gradient(110deg,#ff6900,#ffb900);color:#181818}.auth-professional .auth-art .eyebrow,.auth-professional .auth-art h1,.auth-professional .auth-art p,.auth-professional .auth-art small{color:#1d1d1d}.auth-professional .auth-art h1 span{color:#fff}.auth-professional .auth-logo{background:transparent}
.demo-banner{background:#32271d;border-color:#6f4d2c;color:#f3c69b}.demo-dot{background:#ffac54}.spinner{border-color:#ffffff1a;border-top-color:#ff8a00}.skip-link{background:#ff8a00;color:#181818}
/* Keep the orange navigation and dark lettering on every screen size. */
.sidebar{background:#ff8a00;color:#181818}.sidebar .nav-button,.sidebar .nav-button.active,.sidebar .nav-button.active:hover,.professional-shell .sidebar .nav-button{color:#181818}.sidebar .nav-button:hover{color:#181818;background:#ffffff2b}.sidebar .nav-button.active,.sidebar .nav-button.active:hover,.professional-shell .sidebar .nav-button.active{background:#ffffff48}.sidebar .user-box .avatar{background:#ffffff59;color:#181818}.sidebar .user-box .icon-button{color:#352313}.sidebar .user-box .icon-button:hover{background:#ffffff4d;color:#181818}.sidebar .user-details strong{color:#181818}.sidebar .user-details span{color:#49321a}.sidebar .user-box{border-color:#0000002e}.sidebar>.brand{background:transparent}.sidebar .brand-caption{color:#26211b}
@media(max-width:760px){.topbar{background:#1c2026}.sidebar{background:#ff8a00;border-top-color:#0000001f}.detail-panel{background:#232830}.chat-header,.attendance-actions,.chat-footer{background:#1c2026}.professional-shell .sidebar .nav-button.active{background:#ffffff4d}.sidebar .nav-button svg{color:#2f251a}}

.auth-professional .auth-art h1 span{color:#1d1d1d}

/* White conversations and blue selection, preserving the graphite workspace. */
.message-bubble,.outbound .message-bubble{background:#fff;border:2px solid #2563eb;color:#18202b;box-shadow:0 2px 8px #00000014}
.contact-item.selected,.contact-item.selected:hover{background:#fff;border:2px solid #2563eb;box-shadow:none;color:#18202b}
.contact-item.selected .contact-name{color:#18202b}.contact-item.selected .contact-preview,.contact-item.selected .contact-time,.contact-item.selected .contact-list-company,.contact-item.selected .contact-responsible{color:#4b5563}
.contact-item.selected .avatar{background:#eaf1ff;color:#1e40af}.contact-item.selected .unread{background:#ff8a00;color:#181818}

/* Per-operator conversation colors. Unsaved changes are scoped to the preview. */
#app{--conversation-background:#181c22;--conversation-received:#ffffff;--conversation-sent:#ffffff;--conversation-border:#2563eb;--conversation-text:#ffffff;--conversation-received-text:#000000;--conversation-sent-text:#000000}
#app .chat-panel,#app .messages,#app .chat-panel:has(>.empty-state){background:var(--conversation-background)}
#app .message-bubble{background:var(--conversation-received);border:2px solid var(--conversation-border);color:var(--conversation-received-text)}
#app .outbound .message-bubble{background:var(--conversation-sent);border-color:var(--conversation-border);color:var(--conversation-sent-text)}
#app .messages .message-meta,#app .messages .message-meta svg,#app .messages .message-day{color:var(--conversation-text);opacity:1}
#app .chat-panel>.empty-state h2,#app .chat-panel>.empty-state p,#app .chat-panel>.empty-state .empty-icon{color:var(--conversation-text)}
#app .chat-panel>.empty-state .empty-icon{background:transparent;border:1px solid var(--conversation-border)}
#app .contact-item.selected,#app .contact-item.selected:hover{background:#fff;border-color:var(--conversation-border);color:#18202b}
#app .contact-item.selected .contact-name{color:#18202b}#app .contact-item.selected .contact-preview,#app .contact-item.selected .contact-time,#app .contact-item.selected .contact-list-company,#app .contact-item.selected .contact-responsible{color:#4b5563}
.appearance-layout{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(350px,1.15fr);align-items:start;gap:22px;max-width:1100px}.appearance-editor,.appearance-preview-card{padding:25px;min-width:0}.appearance-editor h2,.appearance-preview-card h2{font-size:18px;margin:0 0 20px}.appearance-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.appearance-presets [aria-pressed="true"]{border-color:#d1873c;background:#3b2b1d;color:#ffd0a0}.appearance-fields{display:grid;gap:16px;margin-bottom:20px}.appearance-color-field{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid var(--line)}.appearance-color-field label{font-size:13px;line-height:1.5;color:#dfe3e8}.appearance-color-control{display:flex;align-items:center;gap:10px;flex-shrink:0}.appearance-color-control input[type="color"]{width:41px;height:34px;padding:3px;border:1px solid #ffffff33;border-radius:7px;background:#15191f;cursor:pointer}.appearance-color-control input[type="color"]::-webkit-color-swatch-wrapper{padding:0}.appearance-color-control input[type="color"]::-webkit-color-swatch{border:0;border-radius:4px}.appearance-color-control output{font-family:Consolas,monospace;font-size:12px;color:#c3cad4;min-width:58px}.appearance-feedback{font-size:12px;line-height:1.7;color:#b9c1cc;margin:14px 0 18px}.appearance-actions{display:flex;gap:9px;flex-wrap:wrap}.appearance-reset{margin-top:19px;font-size:12px}.appearance-preview-card>p{font-size:13px;line-height:1.65;color:#adb4bf;margin:-7px 0 20px;max-width:400px}.appearance-preview-card>small{display:block;color:#adb4bf;font-size:11px;line-height:1.7;margin-top:15px}.appearance-preview{background:var(--conversation-background);color:var(--conversation-text);border:1px solid #ffffff1a;border-radius:13px;min-height:340px;padding:20px;display:flex;flex-direction:column;gap:7px}.appearance-selection-sample{background:#fff;color:#18202b;border:2px solid var(--conversation-border);border-radius:10px;padding:12px 13px;margin-bottom:16px;display:grid;gap:4px}.appearance-selection-sample strong{font-size:13px}.appearance-selection-sample span{color:#4b5563;font-size:11px}.appearance-preview-day{text-align:center;font-size:11px;color:var(--conversation-text);margin:2px 0 17px}.appearance-sample{font-size:13px;line-height:1.65;max-width:88%;padding:12px 14px;border:2px solid var(--conversation-border);border-radius:3px 12px 12px;background:var(--conversation-received);color:var(--conversation-received-text);align-self:flex-start}.appearance-sample.sent{background:var(--conversation-sent);color:var(--conversation-sent-text);align-self:flex-end;border-radius:12px 3px 12px 12px;margin-top:12px}.appearance-preview-meta{font-size:10px;color:var(--conversation-text);align-self:flex-start;margin:0 3px}.appearance-preview-meta.sent{align-self:flex-end}.appearance-editor #appearance-retry[hidden]{display:none}
@media(max-width:900px){.appearance-layout{grid-template-columns:minmax(0,1fr);gap:18px;max-width:650px}.appearance-preview-card{max-width:100%}}
@media(max-width:760px){.appearance-editor,.appearance-preview-card{padding:20px}.appearance-color-field{gap:12px}.appearance-color-field label{font-size:13px}.appearance-color-control{gap:8px}.appearance-color-control input[type="color"]{width:44px;height:38px}.appearance-color-control output{font-size:12px}.appearance-preview{padding:16px;min-height:330px}.appearance-feedback,.appearance-preview-card>small{font-size:12px}.appearance-sample{font-size:14px;max-width:94%}.appearance-actions .btn{flex:1}.appearance-presets .btn{flex:1}.appearance-preview-meta{font-size:11px}}

/* Light queue controls frame the personally colored conversation history. */
.queue-topbar .breadcrumb h1{margin:0;color:#e2e6ec;font-size:13px;font-weight:600;letter-spacing:0;line-height:1.3;white-space:nowrap}.queue-topbar .queue-top-count{flex-shrink:0;margin-left:-3px;background:#303640;color:#e1e5eb;font-size:11px;padding:5px 7px;min-width:23px;text-align:center}.queue-workspace{padding-top:12px;padding-bottom:12px}
#app .queue-workspace .conversation-list,#app .queue-workspace .list-toolbar,#app .queue-workspace .chat-header,#app .queue-workspace .attendance-actions,#app .queue-workspace .chat-footer{background:#e5e7eb;color:#1f2937;border-color:#c7cdd5}
#app .queue-workspace .conversation-list{color-scheme:light}#app .queue-workspace .list-toolbar{padding:13px 13px 12px}#app .queue-workspace .queue-description{font-size:12px;color:#4b5563;margin:0 0 10px}#app .queue-workspace .contact-items{padding:4px 6px;scrollbar-color:#a8b0bc transparent}#app .queue-workspace .contact-item{background:transparent;min-height:90px;padding:11px 9px}#app .queue-workspace .contact-item:hover{background:#d9dee5}#app .queue-workspace .contact-item.selected,#app .queue-workspace .contact-item.selected:hover{background:#fff;border-color:var(--conversation-border)}#app .queue-workspace .contact-name{color:#1f2937}#app .queue-workspace .contact-preview,#app .queue-workspace .contact-time,#app .queue-workspace .contact-list-company,#app .queue-workspace .contact-responsible,#app .queue-workspace .list-empty{color:#4b5563}#app .queue-workspace .conversation-list .avatar,#app .queue-workspace .chat-header .avatar{background:#cdd3dc;color:#354152}#app .queue-workspace .contact-item.selected .avatar{background:#eaf1ff;color:#1e40af}
#app .queue-workspace .search-wrap input,#app .queue-workspace .search-wrap input:focus{background:#f5f6f8;color:#1f2937;border-color:#9ba5b2}#app .queue-workspace .search-wrap input::placeholder{color:#5b6573;opacity:1}#app .queue-workspace .search-wrap svg{color:#5b6573}
#app .queue-workspace .chat-header{padding:9px 15px;min-height:68px;gap:10px}#app .queue-workspace .chat-title h2{color:#1f2937;font-size:14px;margin-bottom:3px}#app .queue-workspace .chat-title p,#app .queue-workspace .chat-title .chat-assignee{color:#4b5563!important;font-size:11px;line-height:1.35}#app .queue-workspace .chat-title .chat-assignee{margin-top:3px}#app .queue-workspace .chat-header>.status-pill{background:#d2d8e0;color:#374151}#app .queue-workspace .chat-header .icon-button{color:#374151}#app .queue-workspace .chat-header .icon-button:hover{background:#d0d6df;color:#1f2937}
#app .queue-workspace .attendance-actions{padding:7px 14px;gap:7px}#app .queue-workspace .attendance-actions .btn{min-height:32px;padding:7px 10px;font-size:12px}#app .queue-workspace .attendance-actions .btn:not(.btn-primary){background:#f5f6f8;color:#374151;border-color:#aeb7c3}#app .queue-workspace .attendance-actions .btn:not(.btn-primary):hover{background:#fff;color:#1f2937;border-color:#7b8798}
#app .queue-workspace .chat-footer{padding:8px 14px}#app .queue-workspace .composer-tools{margin-bottom:5px;gap:7px}#app .queue-workspace .composer-tools .text-button{color:#873b0d;font-size:12px}#app .queue-workspace .draft-state,#app .queue-workspace .composer-hint{color:#4b5563}#app .queue-workspace .composer-hint{margin-top:5px;font-size:11px;line-height:1.4}#app .queue-workspace .compose-row{gap:8px}#app .queue-workspace .compose-row textarea,#app .queue-workspace .compose-row textarea:focus{background:#f5f6f8;color:#1f2937;border-color:#9ba5b2;min-height:52px;padding:8px 11px;font-size:13px;line-height:1.5}#app .queue-workspace .compose-row textarea::placeholder{color:#5b6573;opacity:1}#app .queue-workspace .send-button{min-height:40px;width:40px}
@media(max-width:760px){.queue-workspace{padding:8px}.queue-topbar .breadcrumb{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 6px;min-width:0;align-items:center}.queue-topbar .breadcrumb>svg{display:none}.queue-topbar .breadcrumb .tenant-name{grid-column:1/-1;font-size:10px;max-width:100%;line-height:1.2}.queue-topbar .breadcrumb h1{font-size:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;max-width:none;line-height:1.3}.queue-topbar .queue-top-count{font-size:10px;padding:4px 6px;min-width:20px;margin:0}.queue-workspace:has(.mobile-chat){padding:7px}#app .queue-workspace .list-toolbar{padding:13px 12px 12px}#app .queue-workspace .search-wrap input{font-size:16px}#app .queue-workspace .contact-item{min-height:96px}#app .queue-workspace .chat-header{padding:9px 8px;min-height:70px;gap:8px}#app .queue-workspace .chat-title h2{font-size:14px}#app .queue-workspace .chat-title p,#app .queue-workspace .chat-title .chat-assignee{font-size:12px}#app .queue-workspace .attendance-actions{padding:7px 9px;gap:6px}#app .queue-workspace .attendance-actions .btn{min-height:35px;font-size:12px;padding:7px 9px}#app .queue-workspace .chat-footer{padding:8px 10px}#app .queue-workspace .compose-row textarea,#app .queue-workspace .compose-row textarea:focus{font-size:16px;min-height:56px;padding:8px 10px}#app .queue-workspace .composer-hint{font-size:12px}#app .queue-workspace .draft-state{font-size:11px}}

/* Keep the mobile queue count beside its title, with room to truncate at 320 px. */
@media(max-width:760px){.queue-topbar .breadcrumb{display:block;min-width:0;line-height:1.3}.queue-topbar .breadcrumb .tenant-name{display:block;max-width:100%;margin-bottom:2px}.queue-topbar .breadcrumb h1{display:inline-block;vertical-align:middle;max-width:calc(100% - 30px);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-topbar .breadcrumb .queue-top-count{display:inline-block;vertical-align:middle;margin:0 0 0 6px}}

/* Personal, opt-in sound and browser notification settings. */
.notification-layout{display:grid;grid-template-columns:minmax(300px,1.1fr) minmax(290px,.9fr);gap:22px;align-items:start;max-width:1050px}.notification-settings,.notification-browser{padding:25px;min-width:0}.notification-toggles{display:grid;gap:0}.notification-toggle{display:flex;align-items:flex-start;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);cursor:pointer}.notification-toggle:first-child{padding-top:0}.notification-toggle input{width:19px;height:19px;flex-shrink:0;margin:2px 0 0;accent-color:#ff8a00}.notification-toggle span{display:grid;gap:6px;min-width:0}.notification-toggle strong{font-size:14px;color:#dfe3e8;font-weight:600;line-height:1.5}.notification-toggle small{font-size:12px;color:#adb4bf;line-height:1.65}.notification-toggle:has(input:focus-visible){outline:2px solid #ffad55;outline-offset:5px;border-radius:4px}.notification-feedback,.notification-note,.notification-permission{font-size:12px;line-height:1.75;color:#b9c1cc}.notification-feedback{margin:18px 0}.notification-actions{display:flex;gap:9px;flex-wrap:wrap}.notification-browser h2{font-size:18px;margin-bottom:17px}.notification-browser>.btn{margin:0 7px 13px 0;white-space:normal}.notification-note{margin:4px 0 15px}.notification-note:last-child{margin-bottom:0}.notification-permission{margin-bottom:18px}.notification-settings>.form-error{margin-top:18px}.notification-settings>.btn-small{margin-top:13px}.notification-browser .btn:disabled{opacity:.55}
@media(max-width:900px){.notification-layout{grid-template-columns:minmax(0,1fr);max-width:650px;gap:18px}}@media(max-width:760px){.notification-settings,.notification-browser{padding:20px}.notification-toggle{gap:12px;padding:18px 0}.notification-toggle input{width:21px;height:21px}.notification-toggle strong{font-size:14px}.notification-toggle small,.notification-feedback,.notification-note,.notification-permission{font-size:13px}.notification-actions .btn{flex:1}.notification-browser>.btn{font-size:13px}}

/* Queue totals stay visible independently of the search; sound remains an explicit choice. */
.nav-label-group{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.nav-queue-badge{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;min-width:21px;padding:2px 5px;border-radius:6px;background:#ffffff70;color:#181818;font-size:11px;font-weight:700;line-height:1.4;flex-shrink:0}.sound-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 8px;min-height:30px;flex-shrink:0;border:1px solid #ffffff26;border-radius:7px;background:#262c34;color:#e0e5ed;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}.sound-shortcut:hover{background:#343b45;border-color:#ffffff48}.sound-shortcut:disabled{opacity:.55;cursor:wait}.sound-shortcut:focus-visible{outline:2px solid #ffad55;outline-offset:3px}
@media(max-width:760px){.queue-nav-button{position:relative}.queue-nav-button .nav-label-group{flex:0 1 auto;justify-content:center;width:100%}.queue-nav-button .nav-queue-badge{position:absolute;top:1px;right:8px;min-width:17px;max-width:42px;padding:1px 4px;font-size:10px;line-height:1.5;border-radius:5px}.queue-nav-button .nav-text{max-width:100%}.top-actions>.top-date{display:none}}
@media(max-width:640px){.topbar,.professional-shell .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;height:auto;min-height:73px;padding:6px 10px;gap:3px 6px}.topbar .breadcrumb{grid-row:1;grid-column:1;min-width:0}.topbar .top-actions,.professional-shell .topbar .top-actions{display:contents}.topbar .top-actions>.connection-chip{grid-row:1;grid-column:2;max-width:112px}.topbar .top-actions>.icon-button:not(.top-logout){grid-row:1;grid-column:3}.topbar .top-actions>.top-logout{grid-row:1;grid-column:4}.topbar #sound-shortcut{grid-row:2;grid-column:1/-1;justify-self:end;min-height:26px;padding:3px 7px;font-size:11px}.topbar:not(:has(#sound-shortcut)){min-height:54px}.queue-topbar .breadcrumb h1{font-size:12px}}

/* Department access is configured in Team, keeping the conversation workspace compact. */
.department-card{margin-bottom:18px}.department-card .section-title{gap:12px;flex-wrap:wrap}.department-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.department-tag{padding:7px 11px;border:1px solid #ffad5540;border-radius:7px;background:#34291f;color:#f0c79f;font-size:12px;line-height:1.4;overflow-wrap:anywhere;max-width:100%}.department-card .form-note{margin-bottom:0;max-width:820px}.management-person .member-scope{font-size:12px;color:#c8d0da;margin:7px 0 0;line-height:1.6}.member-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0;max-width:290px}.access-description{font-size:11px;line-height:1.5;color:#adb4bf;margin:-3px 0 10px}#app .queue-workspace .access-description{color:#4b5563}.department-current{font-size:12px;line-height:1.6;color:#bac3cf;margin:14px 0 0}.form-stack select,.detail-panel select{min-width:0;max-width:100%;width:100%}.department-card h2{margin:0;font-size:18px}
@media(max-width:760px){.management-person:has(.member-controls){flex-wrap:wrap}.member-controls{flex-basis:100%;max-width:none;gap:8px;margin-left:0}.member-controls .btn{flex:1;min-width:0;white-space:normal}.department-card .section-title .btn{font-size:12px}.department-tag{font-size:12px}.access-description{font-size:12px}.department-current{font-size:12px}.department-card .form-note{font-size:13px}}
.conversation-role-card{margin:18px 0}.conversation-role-card .section-title{gap:12px;flex-wrap:wrap}.conversation-role-card h2{margin:0;font-size:18px}.conversation-role-list{display:grid;gap:0}.conversation-role-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding:14px 0}.conversation-role-row:last-child{padding-bottom:0}.conversation-role-row>div{min-width:0;overflow-wrap:anywhere}.conversation-role-row strong{font-size:14px;color:#e1e6ed}.conversation-role-row p{font-size:12px;color:#b9c2ce;line-height:1.6;margin:5px 0 0}.conversation-role-row .btn{flex-shrink:0}.conversation-role-card .form-note{margin:12px 0 16px}@media(max-width:760px){.conversation-role-row{gap:10px}.conversation-role-row .btn{font-size:12px;min-height:36px;padding:7px 9px}.conversation-role-card .form-note{font-size:13px}}

/* Received images and audio use the authenticated message endpoint only. */
.message-bubble:has(.message-media){max-width:min(100%,360px);min-width:min(260px,100%);padding:11px 13px}.message-media{display:grid;gap:10px;min-width:0;color:inherit;white-space:normal}.media-heading{display:flex;align-items:center;gap:7px;line-height:1.4}.media-heading strong{font-size:12px;font-weight:650}.media-duration{margin-left:auto;font-size:11px;font-variant-numeric:tabular-nums}.media-resource{display:grid;gap:8px;min-width:0}.media-open{display:block;position:relative;width:100%;padding:0;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;overflow:hidden;text-align:center}.media-thumbnail{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;min-height:96px}.media-open-label{display:block;padding:7px 10px;font-size:12px;font-weight:600;border-top:1px solid currentColor}.media-open:hover .media-open-label{background:#0000000a}.media-open:focus-visible,.media-retry:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}.message-audio{display:block;max-width:100%;width:290px;height:42px;color-scheme:light}.media-status,.media-caption,.media-unavailable p{font-size:12px;line-height:1.6;color:inherit;margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.media-caption{padding-top:2px}.media-retry{justify-self:start;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;padding:6px 9px;font:inherit;font-size:12px;font-weight:600;min-height:34px}.media-unavailable{gap:5px}.media-unavailable>strong{font-size:12px}.media-lightbox{margin:0;min-width:0}.media-expanded-image{display:block;width:100%;height:auto;max-height:68dvh;object-fit:contain;border-radius:8px}.media-lightbox figcaption{margin-top:13px;color:#dfe3e8;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.media-lightbox .media-status{color:#c5cdd8}.media-lightbox .media-retry{color:#e5e9ef}.media-lightbox .media-resource{min-height:100px}
@media(max-width:760px){.message-bubble:has(.message-media){min-width:min(238px,100%);max-width:100%;padding:10px 11px}.media-thumbnail{max-height:220px}.message-audio{width:268px;max-width:100%;height:44px}.media-status,.media-caption,.media-unavailable p,.media-open-label,.media-retry{font-size:13px}.media-heading strong{font-size:13px}.media-expanded-image{max-height:62dvh}.media-lightbox figcaption{font-size:14px}}
.message-document .document-file-name{margin:0;font-size:14px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;white-space:normal}.document-file-size{margin:-5px 0 0;font-size:11px;color:inherit}.document-actions{display:flex;flex-wrap:wrap;gap:8px}.document-actions .media-retry{justify-self:auto}.document-ready-link{display:inline-block;color:inherit;font-size:12px;text-decoration:underline;line-height:1.6;overflow-wrap:anywhere}.document-ready-link:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}.pdf-viewer{min-width:0;display:grid;gap:13px;color:#dfe3e8}.pdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.pdf-page-label{font-size:12px;line-height:1.5;text-align:center}.pdf-stage{max-height:63dvh;overflow-y:auto;overflow-x:hidden;min-width:0;border:1px solid #ffffff1f;border-radius:7px;background:#15181d;scrollbar-width:thin}.pdf-canvas{display:block;width:100%;max-width:100%;height:auto;background:#fff}.pdf-status{margin:0;color:#c5cdd8;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.pdf-download-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pdf-note{font-size:12px;line-height:1.6;color:#b9c2ce;margin:0}.pdf-viewer>.btn{justify-self:start}
.modal:has(.pdf-viewer){width:900px;max-width:calc(100vw - 32px)}
@media(max-width:760px){.document-file-size,.document-ready-link{font-size:12px}.document-actions .media-retry{min-height:38px;flex:1}.pdf-toolbar{gap:6px}.pdf-toolbar .btn{font-size:12px;padding:7px 8px;min-height:36px}.pdf-toolbar .btn svg{display:none}.pdf-page-label{font-size:12px}.pdf-stage{max-height:57dvh}.pdf-note,.pdf-status{font-size:12px}}

/* Keep the conversation readable while every queue uses the compact workspace. */
.message-bubble,.message-bubble .media-caption{font-size:var(--conversation-font-size,16px);line-height:1.6}
.message:has(.media-image){width:min(440px,100%);max-width:94%}
.message-bubble:has(.media-image){max-width:100%;min-width:0}
.media-thumbnail{max-height:320px;min-height:120px}
@media(max-width:760px){.message-bubble,.message-bubble .media-caption{font-size:var(--conversation-font-size,16px);line-height:1.6}.message:has(.media-image){max-width:100%}.media-thumbnail{max-height:320px}}

/* Each operator can size conversation text without changing navigation. */
#app{--conversation-font-size:16px}
#app .compose-row textarea,#app .compose-row textarea:focus,#app .queue-workspace .compose-row textarea,#app .queue-workspace .compose-row textarea:focus{font-size:var(--conversation-font-size,16px)}
.appearance-preview .appearance-sample,.appearance-compose-sample{font-size:var(--conversation-font-size,16px);line-height:1.6}
.appearance-compose-sample{display:block;width:100%;min-width:0;resize:none;margin-top:16px;padding:10px 12px;border:1px solid #9ba5b2;border-radius:9px;background:#e5e7eb;color:#1f2937}
.appearance-fields>.field{margin:0}.appearance-fields select{max-width:100%;min-width:0}
@media(max-width:760px){#app .compose-row textarea,#app .compose-row textarea:focus,#app .queue-workspace .compose-row textarea,#app .queue-workspace .compose-row textarea:focus,.appearance-compose-sample{font-size:max(16px,var(--conversation-font-size,16px))}.appearance-fields select{font-size:16px}}

/* Reversible per-conversation actions remain readable in the narrow workspace. */
.disregard-button{white-space:nowrap}.toast>span{min-width:0;overflow-wrap:anywhere}.toast>.btn{flex-shrink:0;white-space:nowrap}

/* Reserve status space above the page: feedback never floats over the composer. */
.workspace>.toast-region{position:static;inset:auto;flex:0 0 auto;align-self:stretch;max-width:none;margin:0 20px 8px}
.workspace>.toast-region:empty{display:none}
.workspace>.toast-region .toast{display:grid;grid-template-columns:17px minmax(0,1fr);align-items:start;gap:8px 10px;max-width:100%;padding:10px 12px}
.workspace>.toast-region .toast>span{display:block;max-height:min(24dvh,160px);overflow:auto;overscroll-behavior:contain;line-height:1.5}
.workspace>.toast-region .toast>.btn{grid-column:2;justify-self:start;max-width:100%;white-space:normal}
@media(max-width:760px){.workspace>.toast-region{margin:0 12px 8px}}
.workspace>.toast-region .toast-action-feedback{display:block;margin-top:6px}
@media(max-width:760px){.workspace>.toast-region .toast{max-height:min(15dvh,108px);grid-template-rows:minmax(0,1fr) auto;overflow:hidden}.workspace>.toast-region .toast>span{grid-column:2;grid-row:1;align-self:stretch;min-height:0;max-height:100%;overflow:auto}.workspace>.toast-region .toast>.btn{grid-row:2}#app .queue-workspace .inbox.mobile-chat .chat-panel{overflow-y:auto;overscroll-behavior:contain}}
.contact-meta:empty{display:none}

/* Client identity is primary; complete values remain available in the markup. */
#app .queue-workspace .contact-row{align-items:flex-start;gap:8px}
#app .queue-workspace .contact-name{font-size:var(--conversation-font-size,16px);font-weight:700;line-height:1.3;min-width:0;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#app .queue-workspace .contact-time{flex-shrink:0;white-space:nowrap;padding-top:2px}
#app .queue-workspace .contact-list-company{font-size:calc(var(--conversation-font-size,16px) * .925);font-weight:600;line-height:1.35;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-top:3px}
#app .queue-workspace .chat-title h2{font-size:calc(var(--conversation-font-size,16px) + 2px);font-weight:700;line-height:1.25;white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin-bottom:3px}
#app .queue-workspace .chat-title .chat-company{font-size:calc((var(--conversation-font-size,16px) + 2px) * .925);font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0 0 3px}
#app .queue-workspace .chat-title .chat-phone{font-size:12px;line-height:1.3;margin:0}
#app .queue-workspace .contact-item{min-height:76px}
#app .queue-workspace .contact-indicators{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}
#app .queue-workspace .contact-list-company{color:inherit}
#app .queue-workspace .chat-title .chat-company{color:#1f2937!important}
.workspace>.toast-region .toast>span{white-space:pre-line}
.assignee-filter{display:grid;gap:5px;min-width:0;margin-top:10px}.assignee-filter label{font-size:11px;font-weight:600;color:#4b5563}.assignee-filter select{width:100%;min-width:0;max-width:100%;min-height:36px;padding:7px 9px;border:1px solid #9ba5b2;border-radius:8px;background:#f5f6f8;color:#1f2937;font-size:12px;text-overflow:ellipsis}@media(max-width:760px){.assignee-filter select{font-size:16px}}
.message-context{display:grid;gap:8px;margin-bottom:8px;min-width:0;white-space:normal}.message-context-heading{display:block;font-size:.85em;font-weight:650;line-height:1.35}.message-quote{border-inline-start:3px solid currentColor;border-radius:4px;padding:6px 8px;background:#0000000a;overflow-wrap:anywhere}.message-quote p,.shared-contact p{margin:4px 0 0;line-height:1.4}.shared-contact{border:1px solid currentColor;border-radius:8px;padding:9px;min-width:0;overflow-wrap:anywhere}.shared-contact-name{font-weight:600}.shared-contact-phone{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:7px;min-width:0}.shared-contact-phone a{color:inherit;overflow-wrap:anywhere}.shared-contact-phone .btn{white-space:normal;max-width:100%}.shared-contact-limit{font-size:.85em;line-height:1.4;margin:0}
.message-reactions{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;white-space:normal}.message-reaction{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:2px 8px;border:1px solid currentColor;border-radius:16px;line-height:1.3}.message-reaction small{font:inherit;font-size:.8em}

/* Current ownership stays visible while message history remains compact. */
#app .queue-workspace .contact-assignee-line{font-size:12px;line-height:1.4;color:#694018;margin:5px 0 3px;white-space:normal;overflow-wrap:anywhere}
#app .queue-workspace .chat-title .chat-assignee{display:block;color:#694018!important;font-size:12px;line-height:1.4;margin:5px 0 0;white-space:normal;overflow-wrap:anywhere}
.assignee-filter-label,.history-field-label{display:block;font-size:12px;font-weight:650;line-height:1.5;margin-bottom:4px}
.assignee-filter-label{color:#374151}.assignee-picker{position:relative;min-width:0;border:1px solid #9ba5b2;border-radius:8px;background:#f5f6f8;color:#1f2937}
.assignee-picker>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:39px;padding:8px 10px;font-size:12px;line-height:1.5;cursor:pointer}
.assignee-picker>summary::-webkit-details-marker{display:none}.assignee-picker>summary:focus-visible{outline:3px solid #b96120;outline-offset:3px;border-radius:7px}
.assignee-picker[open]>summary{border-bottom:1px solid #c1c7cf}.assignee-picker[open]>summary>svg{transform:rotate(90deg)}
.assignee-options{display:grid;gap:0;padding:5px;max-height:225px;overflow:auto;overscroll-behavior:contain}
.assignee-options .assignee-option{display:flex;gap:9px;align-items:center;margin:0;padding:8px 6px;min-height:37px;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer;color:#27313f}
.assignee-option>span{overflow-wrap:anywhere;min-width:0}.assignee-option input{width:17px;height:17px;min-width:17px;accent-color:#a94b0a;margin:0}
.assignee-option:has(input:focus-visible){outline:2px solid #b96120;border-radius:5px}.assignee-option:has(input:checked){background:#f6e8dc;border-radius:5px}
.assignee-chips{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.assignee-chips:empty{display:none}.assignee-chip{max-width:100%;padding:3px 6px;border-radius:5px;border:1px solid #d3b295;background:#f9efe4;color:#694018;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.history-shortcut{margin-top:10px!important;font-size:12px!important;font-weight:650;min-height:31px}

/* Local previews are reviewed separately from the text draft. */
.attachment-tools{display:inline-flex;align-items:center;gap:14px;flex-shrink:0}.composer-tools{flex-wrap:wrap}.composer-tools .text-button{min-height:32px}
.composer-media-content{min-width:0}.composer-media-content:empty{display:none}
.attachment-preview{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 12px;padding:11px;margin:4px 0 10px;border:1px solid #b99b7f;border-radius:10px;background:#fff7ee;color:#28303b;min-width:0;max-height:min(44dvh,350px);overflow:auto;overscroll-behavior:contain}
.attachment-image{display:block;width:90px;height:82px;object-fit:contain;background:#f1e7dc;border-radius:6px}
.attachment-audio{display:block;width:100%;max-width:360px;height:42px;grid-column:1/-1;color-scheme:light}
.attachment-copy{display:grid;gap:4px;align-content:center;min-width:0}.attachment-copy strong{font-size:13px;line-height:1.4}.attachment-copy small,.attachment-filename{font-size:11px;line-height:1.5;color:#515966;overflow-wrap:anywhere}
.attachment-preview:has(.attachment-audio) .attachment-copy{grid-column:1/-1}.attachment-preview>.field,.attachment-preview>.attachment-actions,.attachment-preview>.attachment-error{grid-column:1/-1;margin:0}
.attachment-preview>.field label{color:#3d4652;font-size:12px;margin-bottom:5px}.attachment-preview textarea{display:block;resize:vertical;width:100%;min-height:48px;max-height:110px;border:1px solid #a1a9b4;border-radius:7px;background:#fff;color:#1f2937;padding:8px 9px;font:inherit;font-size:14px}
.attachment-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.attachment-actions .btn{min-height:36px}.attachment-error{color:#8d291a;font-size:12px;line-height:1.5;margin:5px 0 8px;overflow-wrap:anywhere;white-space:normal}
.recording-strip{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #b99b7f;border-radius:9px;background:#fff7ee;color:#694018;flex-wrap:wrap}.recording-strip strong{font-size:13px;flex:1;min-width:110px}.recording-clock{font-size:15px;font-variant-numeric:tabular-nums;font-weight:700}.attachment-note{color:#4b5563;font-size:11px;line-height:1.5;margin:6px 0 9px}
.attachment-tools .text-button:focus-visible,.history-shortcut:focus-visible{outline:2px solid #b96120;outline-offset:3px;border-radius:4px}

/* Historical search filters messages on the server before paging. */
.history-filters{display:grid;grid-template-columns:minmax(210px,1.3fr) minmax(310px,1fr) minmax(150px,.8fr) minmax(180px,1fr);gap:17px;align-items:start;margin-bottom:18px;padding:20px}
.history-filters>.field{min-width:0;margin:0}.history-filters input,.history-filters select{width:100%;min-width:0;max-width:100%;min-height:40px}
.history-filter-dates{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px}.history-filter-dates .field{min-width:0;margin:0}
.history-filters .field small{display:block;color:#bac3cf;font-size:11px;line-height:1.6;margin-top:6px}.history-field-label{color:#e1e6ed;font-size:13px;margin-bottom:8px}
.history-filters .assignee-picker{border-color:#53606f;background:#202630;color:#e1e6ed}.history-filters .assignee-options{background:#f5f6f8}.history-filters .assignee-picker>summary{font-size:13px}
.history-filter-actions{grid-column:1/-1;display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}.history-period-note{grid-column:1/-1;margin:0;color:#b9c2ce;font-size:12px;line-height:1.65}
.history-results{display:grid;gap:10px}.history-result{display:flex;gap:13px;align-items:flex-start;min-width:0;padding:16px;border:1px solid #4c5663;border-radius:11px;background:#242b34;color:#e4e9f0}
.history-result-copy{min-width:0;flex:1}.history-result-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}.history-result-heading strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.history-result-heading time{font-size:11px;color:#bac3cf;white-space:nowrap}
.history-result-company{margin:4px 0 0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.history-result-meta{margin:5px 0 7px;font-size:11px;color:#bdc6d1;line-height:1.5}.history-result-preview{font-size:14px;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.history-result>.btn{align-self:center;white-space:normal;text-align:center;max-width:170px;flex-shrink:0}.history-feedback,.history-result-count{color:#c5cdd8;font-size:13px;line-height:1.6;margin:0 0 5px}.history-load-more{justify-self:center;margin:12px 0}
.history-error{padding:13px;border:1px solid #a86443;border-radius:9px;background:#3a2721;color:#ffd7c4;font-size:13px;line-height:1.6}.history-error p{margin:0 0 8px}
/* Responsible operator and internal records use their own readable surfaces. */
#app .queue-workspace .chat-title .responsible-badge{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 10px;margin:8px 0 1px;border:1px solid #dfb78f;border-inline-start:3px solid #d66a08;border-radius:8px;background:#fff3e5;color:#4d321b!important;font-size:14px;line-height:1.35;white-space:normal}
.responsible-badge>svg{flex-shrink:0}.responsible-copy{min-width:0;overflow-wrap:anywhere}.responsible-label{font-size:11px;font-weight:500}.responsible-name{font-size:14px;font-weight:700;line-height:1.4}.chat-title .responsible-copy{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
#app .queue-workspace .contact-assignee-line.responsible-badge{display:flex;align-items:flex-start;gap:5px;max-width:100%;width:fit-content;margin:6px 0 5px;padding:4px 7px;border:1px solid #d7b99a;border-radius:6px;background:#f9eddf;color:#53371e;line-height:1.35}
.contact-assignee-line.responsible-badge>svg{margin-top:2px}.contact-assignee-line .responsible-label{font-size:10px}.contact-assignee-line .responsible-name{font-size:12px;font-weight:700}.contact-item.selected .responsible-badge{background:#fff0dc!important;border-color:#cea97d!important;color:#4a3017!important}
.attendance-event-controls{display:flex;gap:7px 12px;align-items:center;justify-content:center;flex-wrap:wrap;margin:0 0 13px}.attendance-event-controls[hidden]{display:none}.attendance-events-status{font-size:12px;line-height:1.5;color:var(--conversation-text);margin:0;max-width:620px}.attendance-event-controls .btn{min-height:34px;padding:7px 10px;font-size:12px;white-space:normal}
.attendance-event{display:flex;align-items:flex-start;gap:10px;align-self:center;position:relative;width:min(100%,680px);flex-shrink:0;margin:7px auto 18px;padding:12px 14px;border:1px solid #c6cdd6;border-inline-start:3px solid #ba5c0e;border-radius:11px;background:#f4f5f7;color:#263342;box-shadow:0 2px 7px #00000008;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.attendance-event-mark{display:flex;align-items:center;justify-content:center;flex:0 0 26px;height:26px;border:1px solid #d1b296;border-radius:50%;background:#fff1e3;color:#864312;margin-top:1px}.attendance-event-copy{min-width:0;flex:1}.attendance-event-heading{display:flex;justify-content:space-between;align-items:baseline;gap:4px 14px;flex-wrap:wrap}.attendance-event-heading strong{font-size:13px;font-weight:700;line-height:1.4}.attendance-event-heading time{font-size:11px;color:#526071;line-height:1.5;white-space:nowrap}.attendance-event-description{margin:5px 0 6px;line-height:1.55;font-size:13px;color:#263342}.attendance-event-private{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:#536172;line-height:1.5}.attendance-event-private>svg{flex-shrink:0}.attendance-event-legacy{display:block;font-size:10px;color:#596576;line-height:1.5;margin-top:4px}.attendance-event-department{font-size:11px;line-height:1.5;margin:0 0 6px;color:#536172}.attendance-event.event-transferred{border-inline-start-color:#35679c}.event-transferred .attendance-event-mark{background:#e9f0fa;border-color:#b6c7df;color:#315f90}.attendance-event.event-completed{border-inline-start-color:#39784f}.event-completed .attendance-event-mark{background:#eaf3ed;border-color:#b5d1bf;color:#2f6845}.attendance-event.event-disregarded{border-inline-start-color:#77808c}
.transfer-note-input{resize:vertical;min-height:94px;max-height:220px;line-height:1.6}.transfer-note-count{display:block;text-align:right;margin-top:6px;color:#b9c2ce;font-size:11px;line-height:1.4}.transfer-note-count.over-limit{color:#ffba95}.attendance-event-note{margin:8px 0 9px;padding:8px 10px;border:1px solid #c2cbd7;border-inline-start:3px solid #6785a7;border-radius:6px;background:#eaf0f7;color:#263b54;overflow-wrap:anywhere}.attendance-event-note>strong{font-size:11px;line-height:1.5;font-weight:700}.attendance-event-note>p{font-size:13px;line-height:1.6;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.attachment-pdf-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:90px;min-height:82px;border:1px solid #d8b18b;border-radius:7px;background:#f8eadb;color:#754016}.attachment-pdf-mark>strong{font-size:13px;letter-spacing:1px}.attachment-preview:has(.attachment-pdf-mark){border-color:#b69a7e}.attachment-preview:has(.attachment-pdf-mark) .attachment-copy strong{color:#4b3525}
@media(max-width:760px){.attachment-pdf-mark{width:70px;min-height:68px}.transfer-note-input{font-size:16px}.attendance-event-note>p{font-size:12px}}
@media(max-width:760px){
 #app .queue-workspace .chat-title .responsible-badge{padding:5px 7px;gap:6px;margin-top:6px;font-size:13px;border-radius:7px}.chat-title .responsible-copy{gap:1px 4px}.chat-title .responsible-label{font-size:10px}.chat-title .responsible-name{font-size:13px}.contact-assignee-line .responsible-name{font-size:12px}
 .attendance-event{gap:7px;padding:10px 9px;margin-bottom:14px;border-radius:9px}.attendance-event-mark{flex-basis:23px;height:23px}.attendance-event-heading{display:grid;gap:2px}.attendance-event-heading strong,.attendance-event-description{font-size:12px}.attendance-event-heading time{font-size:11px;white-space:normal}.attendance-event-private,.attendance-event-legacy{font-size:10px}.attendance-event-controls .btn{font-size:12px;min-height:39px}.attendance-events-status{font-size:12px}
}
@media(max-width:1200px){.history-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .sidebar .nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.sidebar .nav-button{min-width:0;padding-inline:3px}.sidebar .nav-button .nav-text{font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
 #app .queue-workspace .chat-title .chat-assignee,#app .queue-workspace .contact-assignee-line{font-size:12px;line-height:1.5}
 .assignee-picker>summary{min-height:41px;font-size:14px}.assignee-options .assignee-option{font-size:14px;min-height:42px}.assignee-option input{width:19px;height:19px;min-width:19px}.assignee-options{max-height:200px}.assignee-filter-label{font-size:12px}.assignee-chip{font-size:12px}
 #app .queue-workspace .composer-tools{gap:3px 11px;margin-bottom:4px}.attachment-tools{gap:12px}.attachment-tools .text-button,#app .queue-workspace .composer-tools .text-button{font-size:12px;min-height:34px}.composer-tools>#draft-state{margin-left:auto}.composer-tools>#send-status:empty{display:none}
 .attachment-preview{padding:9px;grid-template-columns:70px minmax(0,1fr);gap:8px;max-height:min(39dvh,310px)}.attachment-image{width:70px;height:68px}.attachment-preview textarea{font-size:16px}.attachment-copy strong{font-size:12px}.attachment-copy small,.attachment-filename,.attachment-error,.attachment-note{font-size:12px}.attachment-actions{justify-content:stretch}.attachment-actions .btn{flex:1;min-height:39px;font-size:12px;white-space:normal}.recording-strip{gap:8px}.recording-strip>.btn{min-height:38px;font-size:12px}.recording-strip strong{font-size:12px;min-width:90px}.recording-clock{font-size:14px}
 .history-filters{grid-template-columns:minmax(0,1fr);padding:16px;gap:15px}.history-filters input,.history-filters select{font-size:16px}.history-filter-dates{gap:8px}.history-filters .field small,.history-period-note{font-size:12px}.history-filter-actions>.btn{flex:1;min-height:42px;font-size:13px}.history-result{padding:13px;gap:10px;flex-wrap:wrap}.history-result>.avatar{width:32px;height:32px;font-size:10px}.history-result-copy{flex-basis:calc(100% - 45px)}.history-result>.btn{margin-left:42px;max-width:none;min-height:39px;align-self:flex-start;font-size:12px}.history-result-heading strong{font-size:14px}.history-result-heading time{font-size:12px}.history-result-meta{font-size:12px}.history-result-preview{font-size:14px}
}

/* Group activity stays visible while the selected history and composer remain mounted. */
#app .queue-workspace .contact-item.group-unread:not(.selected){background:#fff5e8;border-left:3px solid #d76c00;padding-left:7px}
#app .queue-workspace .contact-item.group-unread:not(.selected):hover{background:#ffecd4}
#app .queue-workspace .contact-item.group-unread .contact-name{font-weight:750}
#app .queue-workspace .contact-item.group-unread .contact-preview{color:#303c4e}
.group-new-message{display:inline-block;margin-top:6px;padding:2px 6px;border-radius:4px;background:#ffe0b7;color:#713900;font-size:10px;font-weight:700;line-height:1.4}
.group-unread-count{background:#ffd49c;color:#3b2509}
.text-document-viewer{display:grid;gap:12px;min-width:0;color:#dfe3e8}
.document-preview-summary{margin:0;font-size:12px;line-height:1.6;color:#c9d1dd}
.document-text-stage{min-width:0}
.document-xml-text{margin:0;padding:16px;max-height:58dvh;overflow:auto;overscroll-behavior:contain;border:1px solid #64748b;border-radius:8px;background:#f8fafc;color:#182235;font:13px/1.7 Consolas,'Courier New',monospace;white-space:pre;tab-size:2;scrollbar-width:thin}
.document-csv-scroll{max-height:58dvh;max-width:100%;overflow:auto;overscroll-behavior:contain;border:1px solid #64748b;border-radius:8px;background:#f8fafc;color:#182235;scrollbar-width:thin}
.document-csv-table{border-collapse:collapse;min-width:100%;font-size:13px;line-height:1.6;color:#182235}
.document-csv-table td,.document-csv-table th{padding:8px 11px;text-align:left;border:1px solid #d0d8e4;vertical-align:top;min-width:110px;max-width:360px;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
.document-csv-table th{position:sticky;left:0;background:#e4eaf2;color:#334155;text-align:right;min-width:38px;width:38px;font-size:11px;font-weight:600}
.document-csv-table tr:nth-child(even) td{background:#eff3f8}
.document-xml-text:focus-visible,.document-csv-scroll:focus-visible{outline:3px solid #ff8a00;outline-offset:3px}
.attachment-recipient{grid-column:1/-1;margin:0;font-size:12px;line-height:1.6;color:#28303b;overflow-wrap:anywhere}
.attachment-recipient strong{font-weight:700;color:#28303b}
@media(max-width:760px){.group-new-message{font-size:11px}.document-xml-text{max-height:50dvh;font-size:12px;padding:12px}.document-csv-scroll{max-height:50dvh}.document-csv-table{font-size:12px}.document-csv-table td{padding:7px 9px;min-width:100px;max-width:260px}.document-preview-summary,.attachment-recipient{font-size:12px}}
.group-new-messages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:8px 15px;border-top:1px solid #c18233;border-bottom:1px solid #c18233;background:#fff1d8;color:#713900;font-size:12px;line-height:1.5}.group-new-messages>span{font-weight:700}.group-new-messages .btn{min-height:34px;padding:6px 10px;border-color:#a55b17;background:#fff9f0;color:#713900;font-size:12px}.group-new-messages .btn:hover{background:#ffe3ba}.group-new-messages .btn svg{height:14px;width:14px}
@media(max-width:760px){.group-new-messages{gap:8px;padding:7px 11px;font-size:11px}.group-new-messages .btn{font-size:11px;min-height:34px;padding:6px 8px}}
/* Internal observations have their own editor and remain outside WhatsApp messages. */
.internal-note-action{white-space:nowrap}.internal-note-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #bd9a70;border-radius:8px;background:#fff1de;color:#28303b;font-size:13px;line-height:1.6}.internal-note-identity>strong{font-weight:700}.internal-note-identity>span{min-width:0;text-align:right;overflow-wrap:anywhere}.internal-note-hint{margin:0;padding:10px 13px;border:1px solid #728198;border-radius:7px;background:#edf2f8;color:#283a52;font-size:12px;line-height:1.75}.internal-note-input{min-height:130px;max-height:280px;resize:vertical;line-height:1.7;white-space:pre-wrap}.internal-note-count{font-size:11px;line-height:1.5;text-align:right;color:#c8d1df}.internal-note-count.over-limit{color:#ffba95}.attendance-event.event-internal_note{border-inline-start-color:#6a70a2;background:#f0f1f8;color:#263342}.event-internal_note .attendance-event-mark{background:#e8e9f4;border-color:#b4b8d4;color:#555b83}.internal-note-author{font-size:11px;line-height:1.6;margin:6px 0;color:#526071}.internal-note-author>strong{font-weight:700}.internal-note-body{margin:8px 0 10px;font-size:13px;line-height:1.75;color:#263342;white-space:pre-wrap;overflow-wrap:anywhere}.event-internal_note .attendance-event-private{color:#45526b}
@media(max-width:760px){.internal-note-input{font-size:16px;min-height:125px;max-height:220px}.internal-note-identity{font-size:12px;padding:10px 11px;gap:8px}.internal-note-count{font-size:11px}.internal-note-hint{font-size:12px}.internal-note-body{font-size:13px;line-height:1.7}.internal-note-author{font-size:11px}.attendance-actions .internal-note-action{font-size:12px;min-height:36px}}
