/* WeFix Caller design tokens; source main 7fe68848, globals/colors and Chats styles. */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#1f1f1f;background:#faf9f9;--green:#ffd400;--green-dark:#1f1f1f;--muted:#747775;--line:#e1e3e1;--canvas:#fff;--warning:#946c2d;--radius:12px}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0}button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,a:focus-visible{outline:3px solid #e1e3e1;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:0;border-color:#8e918f;box-shadow:0 0 0 3px #1f1f1f25}button{transition:background .15s,color .15s,box-shadow .15s,opacity .15s}button svg,a svg,span svg,div>svg,label svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg{vertical-align:middle}.icon-library{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.app-shell{height:100dvh;min-height:420px;display:grid;grid-template-columns:76px 344px minmax(320px,1fr);overflow:hidden}.app-shell.details-open{grid-template-columns:76px 344px minmax(320px,1fr) 280px}
.rail{background:var(--green-dark);display:flex;align-items:center;flex-direction:column;padding:27px 0 21px;color:#747775;z-index:4}.brand-mark{position:relative;width:42px;height:42px;background:#f2f2f2;color:#1f1f1f;border-radius:14px;font-size:33px;font-weight:700;line-height:37px;text-align:center;letter-spacing:-3px;text-decoration:none;padding-right:3px;display:block;flex-shrink:0}.brand-mark span{position:absolute;width:7px;height:7px;border-radius:50%;background:#bcdcbc;right:5px;top:6px}.rail-nav{display:flex;flex-direction:column;gap:10px;margin-top:45px}.rail-button{height:45px;width:45px;background:transparent;border-radius:12px;color:#747775;position:relative;display:grid;place-items:center}.rail-button svg{width:22px;height:22px}.rail-button:hover{background:#ffffff0e;color:white}.rail-button.active{background:#ffffff15;color:#747775}.rail-button.active:before{content:"";width:3px;height:21px;position:absolute;left:-16px;background:#f2f2f2;border-radius:0 3px 3px 0}.rail-dot{position:absolute;width:7px;height:7px;background:#f2f2f2;right:9px;top:7px;border-radius:50%;border:2px solid var(--green-dark)}.rail-bottom{margin-top:auto;display:flex;align-items:center;flex-direction:column;gap:19px}.rail-divider{width:28px;height:1px;background:#ffffff15}.profile-avatar{height:34px;width:34px;background:#bcdcbc;color:#fff;border-radius:50%;font-size:12px;font-weight:600;box-shadow:0 0 0 3px #ffffff09}
.conversation-panel{background:#fff;display:flex;min-height:0;flex-direction:column;border-right:1px solid var(--line);z-index:2}.inbox-heading{padding:33px 24px 22px}.eyebrow{font-size:11px;letter-spacing:1.65px;font-weight:700;color:#747775}.heading-line{display:flex;align-items:center;justify-content:space-between;margin-top:13px}h1,h2,h3,p{margin:0}.heading-line h1{font-size:24px;letter-spacing:-.7px;font-weight:600;display:flex;gap:9px;align-items:center}.heading-line h1>span{background:#faf9f9;border:1px solid #e1e3e1;border-radius:7px;min-width:23px;padding:2px 6px;font-size:12px;color:#444746;letter-spacing:0;font-weight:600}.icon-button{width:36px;height:36px;border-radius:9px;background:transparent;color:#747775;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover{background:#faf9f9;color:#1f1f1f}.new-chat-button{background:#faf9f9;color:#1f1f1f;width:33px;height:33px}.account-line{display:flex;gap:7px;align-items:center;font-size:12px;color:#747775;margin-top:11px;min-height:18px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#bcdcbc;box-shadow:0 0 0 3px #1f1f1f13}.connection-dot.warning{background:#c09b61;box-shadow:0 0 0 3px #c09b6112}.mode-badge{font-size:10px;background:#f5ead4;color:#9b7b44;padding:3px 5px;border-radius:4px;font-weight:700;letter-spacing:.7px;margin-left:auto}.list-tools{padding:0 19px 0}.search-box{height:39px;display:flex;align-items:center;gap:9px;padding:0 11px;background:#faf9f9;border:1px solid #e1e3e1;border-radius:8px;color:#747775}.search-box:focus-within{border-color:#e1e3e1;box-shadow:0 0 0 3px #1f1f1f18}.search-box svg{height:16px;width:16px}.search-box input{width:100%;min-width:0;border:0;background:transparent;color:#1f1f1f;font-size:12px;padding:10px 0;box-shadow:none!important}.search-box input::placeholder{color:#747775}.search-shortcut{border:1px solid #e1e3e1;border-radius:3px;padding:1px 5px;font-size:11px;color:#747775}.filter-tabs{display:flex;align-items:center;gap:4px;margin:16px 0 11px}.filter-tabs button{background:none;color:#747775;font-size:12px;border-radius:6px;padding:6px 10px;white-space:nowrap}.filter-tabs button.active{background:#faf9f9;color:#444746;font-weight:600}.filter-tabs button:hover{background:#faf9f9}.filter-tabs button span:not(:empty){margin-left:3px;font-size:10px}.conversation-list{overflow-y:auto;min-height:0;flex:1;padding:0 9px 14px;scrollbar-width:thin;scrollbar-color:#f2f2f2 transparent}.conversation-row{width:100%;display:flex;text-align:left;align-items:center;gap:11px;padding:17px 14px;border-radius:10px;background:none;color:#1f1f1f;position:relative;margin:2px 0;min-height:83px}.conversation-row:hover{background:#faf9f9}.conversation-row.selected{background:#f2f2f2}.conversation-row.selected:before{content:"";position:absolute;left:0;top:24px;bottom:24px;width:3px;border-radius:3px;background:#bcdcbc}.avatar{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f2f2f2;color:#444746;font-size:14px;font-weight:500;letter-spacing:.1px;flex-shrink:0;user-select:none}.avatar[data-color="1"]{background:#eee7dc;color:#a28b68}.avatar[data-color="2"]{background:#e2ebed;color:#73939b}.avatar[data-color="3"]{background:#ebe3ed;color:#9a809e}.avatar[data-color="4"]{background:#f2e5e1;color:#b58c7f}.avatar[data-color="5"]{background:#e8e9f1;color:#868baa}.conversation-copy{min-width:0;flex:1}.conversation-row-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px}.conversation-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;letter-spacing:.05px}.conversation-time{font-size:10px;color:#747775;white-space:nowrap;flex-shrink:0}.conversation-preview-row{display:flex;gap:7px;align-items:center}.conversation-preview{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px;color:#747775;flex:1}.conversation-row.has-unread .conversation-preview{color:#444746}.conversation-row.has-unread .conversation-time{color:#444746}.unread-badge{font-size:10px;font-weight:600;background:#bcdcbc;color:#fff;min-width:17px;height:17px;display:grid;place-items:center;padding:0 5px;border-radius:6px}.inbox-footer{height:51px;border-top:1px solid #e1e3e1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;color:#747775;flex-shrink:0}.inbox-footer svg{width:11px;height:11px}.list-notice{padding:9px 15px;font-size:12px;line-height:1.6;color:#946c2d;background:#faf2e2}.list-notice button{background:none;color:inherit;text-decoration:underline;padding:0;margin-left:5px}
.chat-panel{min-width:0;min-height:0;background:var(--canvas);position:relative}.welcome-screen{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:45px 24px 70px;position:relative;overflow:auto}.welcome-art{width:200px;height:185px;display:grid;place-items:center;position:relative;margin-bottom:24px}.welcome-ring{border:1px solid #e1e3e1;border-radius:50%;position:absolute}.ring-one{width:174px;height:174px}.ring-two{width:132px;height:132px}.welcome-icon{width:85px;height:85px;position:relative;background:#f2f2f2;display:grid;place-items:center;border-radius:26px;transform:rotate(-7deg);box-shadow:0 12px 30px #1f1f1f14;border:1px solid #e1e3e1}.welcome-icon>svg{width:40px;height:40px;color:#444746;stroke-width:1.3;transform:rotate(7deg)}.welcome-ping{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:4px solid var(--canvas);position:absolute;right:-9px;bottom:0;background:#bcdcbc;color:#fff}.welcome-ping svg{height:13px;width:13px;stroke-width:2.5}.art-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#f2f2f2}.dot-one{top:27px;right:25px}.dot-two{bottom:41px;left:17px;width:5px;height:5px;background:#f2f2f2}.welcome-screen>.eyebrow{font-size:10px;letter-spacing:2px;color:#747775;margin-bottom:16px}.welcome-screen h2{font-size:32px;line-height:1.27;letter-spacing:-1px;font-weight:500;color:#1f1f1f}.welcome-screen>p{font-size:12px;line-height:1.85;color:#747775;margin-top:17px;margin-bottom:26px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;border-radius:8px;padding:11px 16px;font-size:12px;font-weight:500;text-decoration:none}.primary-button{background:var(--green);color:#fff;box-shadow:0 2px 3px #1f1f1f0b}.primary-button:hover{background:#1f1f1f}.primary-button svg,.secondary-button svg{width:16px;height:16px}.secondary-button{background:#fff;color:#444746;border:1px solid #e1e3e1}.secondary-button:hover{background:#faf9f9}.welcome-note{min-height:15px;margin-top:17px;font-size:11px;line-height:1.7;color:#a2957b;max-width:310px}.welcome-bottom{position:absolute;bottom:29px;display:flex;align-items:center;gap:8px;font-size:10px;color:#747775}.tiny-logo{font-size:19px;font-weight:700;color:#747775;letter-spacing:-3px;margin-right:3px}.separator-dot{padding:0 4px;opacity:.6}
.active-chat{height:100%;display:flex;flex-direction:column;min-height:0}.chat-header{min-height:91px;display:flex;align-items:center;gap:13px;padding:18px 32px;background:#ffffffcc;border-bottom:1px solid var(--line);flex-shrink:0}.chat-header .avatar{width:43px;height:43px}.chat-title{min-width:0}.chat-title h2{font-size:15px;font-weight:600;letter-spacing:-.2px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:300px}.chat-title>span{display:block;font-size:11px;color:#747775;margin-top:5px;line-height:1.5}.chat-header-actions{display:flex;gap:16px;align-items:center;margin-left:auto}.window-pill{color:#444746;background:#faf9f9;border:1px solid #e1e3e1;display:inline-flex;gap:5px;align-items:center;border-radius:20px;padding:5px 9px;font-size:10px;white-space:nowrap}.window-pill svg{height:11px;width:11px}.window-pill.closed{color:#ac8d5c;background:#fbf6e9;border-color:#f1e8d4}.mobile-back{display:none}.chat-notice{padding:10px 24px;color:#946c2d;background:#faf2e2;font-size:12px;line-height:1.6}.messages{min-height:0;overflow-y:auto;flex:1;display:flex;flex-direction:column;padding:20px 42px 25px;scrollbar-width:thin;scrollbar-color:#f2f2f2 transparent;scroll-behavior:auto;outline-offset:-3px}.date-divider{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;padding:15px 0 20px;font-size:10px;font-weight:500;color:#747775;flex-shrink:0}.date-divider:before,.date-divider:after{content:"";height:1px;background:#f2f2f2;width:43px}.message{max-width:min(76%,590px);align-self:flex-start;display:flex;flex-direction:column;align-items:flex-start;margin-bottom:12px;flex-shrink:0;animation:message-in .16s ease-out}.message.outbound{align-self:flex-end;align-items:flex-end}.message-bubble{background:#fff;border:1px solid #e1e3e1;border-radius:0 12px 12px 12px;padding:13px 15px 9px;box-shadow:0 2px 3px #1f1f1f02;min-width:100px;max-width:100%;overflow-wrap:anywhere}.outbound .message-bubble{background:#f2f2f2;border-color:#e1e3e1;border-radius:12px 0 12px 12px}.message-text{font-size:12px;line-height:1.7;white-space:pre-wrap;color:#1f1f1f;word-break:break-word}.message-meta{display:flex;justify-content:flex-end;align-items:center;gap:5px;color:#747775;font-size:10px;margin-top:6px;line-height:1.3}.message-meta svg{width:14px;height:14px;stroke-width:1.65}.message-meta .status-read{color:#5f9ba9}.message-meta .status-error{color:#b97d66}.message-error{font-size:11px;color:#af7962;line-height:1.5;max-width:100%;padding:5px 2px;overflow-wrap:anywhere}.message-media{display:flex;align-items:center;gap:10px;color:#444746;text-decoration:none;padding:6px 0;max-width:340px;font-size:12px}.message-media svg{width:22px;height:22px}.message-media small{display:block;color:#747775;font-size:10px;margin-top:3px}.message-media>span{min-width:0;overflow-wrap:anywhere}.message-media img{max-width:100%;max-height:270px;border-radius:6px;display:block}.message-media-load{display:flex;gap:9px;align-items:center;background:#faf9f9;border:1px solid #e1e3e1;border-radius:7px;padding:10px 12px;color:#444746;font-size:12px;margin-bottom:8px;text-align:left}.message audio{max-width:100%;width:280px;height:40px;margin:6px 0}.message-type-label{font-size:10px;color:#747775;display:flex;align-items:center;gap:5px;margin-bottom:4px}.message-type-label svg{width:12px;height:12px}.history-button{background:#fff;color:#444746;border:1px solid #e1e3e1;border-radius:20px;font-size:11px;padding:8px 14px;align-self:center;flex-shrink:0;margin-bottom:10px}.compose-area{padding:0 30px 13px;flex-shrink:0;background:var(--canvas)}.compose-box{background:#fff;border:1px solid #e1e3e1;border-radius:12px;padding:15px 16px 10px;box-shadow:0 3px 13px #1f1f1f10}.compose-box:focus-within{border-color:#e1e3e1;box-shadow:0 0 0 3px #1f1f1f1a}.compose-box textarea{display:block;width:100%;resize:none;border:0;outline:0;min-height:30px;max-height:160px;color:#1f1f1f;line-height:1.7;background:none;font-size:12px;padding:0;box-shadow:none}.compose-box textarea::placeholder{color:#747775}.compose-box textarea:disabled{color:#747775}.compose-toolbar{display:flex;align-items:center;gap:12px;margin-top:7px}.template-button{background:transparent;color:#747775;display:flex;align-items:center;gap:7px;border-radius:5px;font-size:11px;padding:4px 0}.template-button svg{width:15px;height:15px}.template-button:hover{color:#1f1f1f}.send-button{margin-left:auto;background:#1f1f1f;color:#fff;width:35px;height:32px;border-radius:7px;display:grid;place-items:center}.send-button svg{height:16px;width:16px}.send-button:hover{background:#1f1f1f}.send-button:disabled{background:#bcdcbc}.message-length{font-size:10px;color:#747775;margin-left:auto}.message-length:not(:empty)+.send-button{margin-left:0}.compose-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#747775;font-size:10px;margin-top:9px;line-height:1.6;padding:0 3px}.compose-window-notice{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.6;color:#a68b5d;background:#faf6e9;border:1px solid #eee5d0;border-radius:8px;margin:0 30px 12px;padding:10px 12px;flex-shrink:0}.compose-window-notice>svg{width:14px;height:14px;margin-top:2px}.compose-window-notice>span{flex:1}.text-button{display:inline-flex;align-items:center;gap:5px;padding:0;background:transparent;color:#444746;font-size:12px;line-height:1.6;text-decoration:none}.text-button:hover{text-decoration:underline}.text-button svg{width:14px;height:14px}.compose-window-notice .text-button{color:#957642;font-size:11px;white-space:nowrap}
.contact-panel{background:#fff;border-left:1px solid var(--line);overflow:auto;z-index:3}.contact-panel>header{padding:25px 20px 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);height:91px}.contact-panel h2{font-size:13px;font-weight:600}.contact-hero{display:flex;align-items:center;flex-direction:column;padding:30px 20px 26px}.contact-hero .avatar{width:72px;height:72px;font-size:24px;margin-bottom:17px}.contact-hero h3{text-align:center;font-size:17px;font-weight:500;line-height:1.4;overflow-wrap:anywhere;max-width:100%}.contact-hero p{font-size:12px;color:#747775;margin-top:7px}.contact-section{padding:20px 22px;border-top:1px solid #e1e3e1}.contact-section>.eyebrow{font-size:10px;letter-spacing:1.3px;margin-bottom:17px}.contact-field{display:flex;align-items:flex-start;gap:10px;margin-bottom:19px}.contact-field:last-child{margin-bottom:0}.contact-field>svg{width:15px;height:15px;color:#747775;margin-top:1px}.contact-field-label{font-size:10px;color:#747775;margin-bottom:6px}.contact-field-value{font-size:12px;line-height:1.6;color:#444746;overflow-wrap:anywhere}.contact-field-value.closed{color:#a78c61}.contact-help{font-size:11px;line-height:1.75;color:#747775}.contact-action{width:100%;padding:10px 0;display:flex;gap:10px;align-items:center;font-size:12px;color:#444746;background:none;text-align:left}.contact-action svg{width:15px;height:15px}.contact-action:hover{color:#1f1f1f}.contact-action.danger{color:#a68d6f}
.loading-state,.empty-list{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#747775;min-height:180px;padding:30px 20px;text-align:center;font-size:12px;line-height:1.7}.empty-list svg{width:30px;height:30px;stroke-width:1.2;color:#747775}.empty-list h3{font-size:13px;color:#444746;font-weight:500}.empty-list p{max-width:230px}.empty-conversation{margin:auto;display:flex;align-items:center;flex-direction:column;gap:13px;text-align:center;padding:30px;color:#747775;line-height:1.8;font-size:12px}.empty-conversation>svg{width:36px;height:36px;color:#747775;stroke-width:1}.empty-conversation h3{font-size:16px;color:#444746;font-weight:500}.spinner{display:inline-block;width:19px;height:19px;border:2px solid #e1e3e1;border-top-color:#6e8e5c;border-radius:50%;animation:spin .75s linear infinite;flex-shrink:0}.spinner.small{width:14px;height:14px;border-width:1.5px}.boot-screen{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#747775;font-size:12px}.boot-screen .brand-mark{margin-bottom:15px}.boot-screen p{max-width:350px;text-align:center;line-height:1.7;padding:0 20px}
.modal{border:1px solid #e1e3e1;border-radius:16px;padding:27px 28px 24px;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 64px);color:#1f1f1f;box-shadow:0 24px 90px #1f1f1f24;background:#fff;overflow:auto}.modal::backdrop{background:#1f1f1f59;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.modal-header .eyebrow{font-size:10px;margin-bottom:9px}.modal h2{font-size:23px;letter-spacing:-.6px;font-weight:500}.modal-description{font-size:12px;color:#747775;line-height:1.8;margin-bottom:23px}.modal input:not([type=checkbox]),.modal select,.modal textarea,.login-card input{width:100%;border:1px solid #e1e3e1;border-radius:8px;padding:11px 12px;background:#faf9f9;color:#444746;font-size:12px;min-height:41px}.modal input::placeholder,.login-card input::placeholder{color:#747775}.field-label{display:block;font-size:12px;color:#444746;font-weight:500;margin:18px 0 8px}.field-label span{color:#747775}.field-hint{font-size:11px;line-height:1.7;color:#747775;margin-top:7px}.info-box{display:flex;align-items:flex-start;gap:10px;background:#faf9f9;border:1px solid #e1e3e1;border-radius:9px;padding:13px 14px;font-size:12px;line-height:1.8;color:#747775;margin-top:22px}.info-box svg{height:16px;width:16px;margin-top:2px;color:#747775}.modal-footer{display:flex;gap:9px;align-items:center;justify-content:flex-end;border-top:1px solid #e1e3e1;padding-top:20px;margin-top:25px}.modal-footer>.text-button:first-child{margin-right:auto}.form-error{font-size:12px;color:#ae725d;background:#fcf2ec;padding:11px 13px;border-radius:7px;margin-top:15px;line-height:1.7;overflow-wrap:anywhere}.compact-modal{width:min(410px,calc(100vw - 32px))}.compact-modal .modal-header{margin-bottom:20px}.compact-modal h2{font-size:20px}.settings-modal{width:min(550px,calc(100vw - 32px))}.connection-card{border:1px solid #e1e3e1;border-radius:10px;padding:17px;background:#faf9f9;display:flex;gap:13px;align-items:center;margin-top:19px}.connection-card>svg{width:26px;height:26px;color:#444746;stroke-width:1.5}.connection-card h3{font-size:13px;font-weight:600}.connection-card p{font-size:12px;color:#747775;line-height:1.7;margin-top:5px}.connection-card.demo{background:#fbf7ed;border-color:#f0e5cc}.connection-card.demo>svg{color:#b09c70}.connection-card.demo p{color:#ad9b76}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin:24px 0}.settings-grid dt{font-size:10px;color:#747775;margin-bottom:5px}.settings-grid dd{margin:0;font-size:12px;line-height:1.7;overflow-wrap:anywhere;color:#444746}.settings-grid code{font-size:11px}.settings-section{border-top:1px solid #e1e3e1;padding-top:19px;margin-top:19px}.settings-section h3{font-size:12px;font-weight:600;margin-bottom:11px}.settings-section p{font-size:12px;color:#747775;line-height:1.9}.settings-section code{font-family:Consolas,monospace;background:#faf9f9;border:1px solid #e1e3e1;padding:1px 4px;border-radius:3px;font-size:11px;color:#444746}.credential-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.credential-list li{display:flex;align-items:center;gap:8px;font-size:12px;color:#747775}.credential-list svg{width:14px;height:14px;color:#747775}.credential-list .missing{color:#b2996c}.credential-list .missing svg{color:#b9a278}.webhook-path{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faf9f9;border:1px solid #e1e3e1;border-radius:7px;padding:9px 11px;margin:11px 0}.webhook-path code{border:none;background:none;padding:0;overflow-wrap:anywhere}.webhook-path .icon-button{width:25px;height:25px}
.template-modal{width:min(600px,calc(100vw - 32px))}.template-modal .modal-description{margin-bottom:10px}.template-preview{padding:17px;background:#faf9f9;border:1px solid #e1e3e1;border-radius:10px;margin-top:19px;font-size:12px;line-height:1.8;color:#444746;white-space:pre-wrap;overflow-wrap:anywhere}.template-preview strong{display:block;font-size:13px;margin-bottom:5px}.template-preview small{display:block;font-size:11px;opacity:.7;margin-top:7px}.template-preview .preview-button{display:block;text-align:center;border-top:1px solid #e1e3e1;margin-top:12px;padding-top:9px;color:#444746;font-size:11px}.template-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.template-fields .field-label{font-size:11px}.template-json-option{display:flex;align-items:center;gap:7px;margin-top:20px;font-size:11px;color:#747775;cursor:pointer}.template-json-option input{accent-color:#728c60}.template-json-panel textarea{font-family:Consolas,monospace;font-size:12px;min-height:120px;margin-top:10px;resize:vertical}.template-json-panel p{font-size:11px;color:#747775;line-height:1.7;margin-top:7px}.template-meta{display:flex;align-items:center;gap:8px;font-size:10px;color:#747775;margin-top:10px}.approved-badge{background:#f2f2f2;color:#747775;border:1px solid #e1e3e1;border-radius:4px;padding:3px 5px;font-size:10px;letter-spacing:.5px}.template-warning{font-size:11px;color:#aa9269;margin-top:15px;line-height:1.8}
.toast-container{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;display:flex;align-items:center;flex-direction:column;gap:8px;width:min(470px,calc(100vw - 32px));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:10px;padding:13px 17px;border:1px solid #e1e3e1;border-radius:10px;background:#faf9f9;color:#444746;font-size:12px;line-height:1.7;box-shadow:0 8px 35px #1f1f1f25;animation:message-in .2s ease-out;pointer-events:auto;width:100%;overflow-wrap:anywhere}.toast.error{background:#fff6ed;border-color:#f0e0cb;color:#9b7b51}.toast svg{height:16px;width:16px;flex-shrink:0;margin-top:1px}.toast span{flex:1}.toast button{background:none;padding:0;color:inherit;opacity:.5}.login-screen{display:grid;place-items:center;min-height:100dvh;padding:30px;background:radial-gradient(ellipse at 50% 30%,#f2f2f2,transparent 60%)}.login-card{width:min(380px,100%)}.login-card>.brand-mark{margin-bottom:35px;width:51px;height:51px;line-height:44px;font-size:39px}.login-card>.eyebrow{font-size:10px;margin-bottom:12px}.login-card h1{font-size:32px;font-weight:500;letter-spacing:-1px;margin-bottom:12px}.login-card>p{font-size:12px;color:#747775;margin-bottom:32px}.login-card .primary-button{width:100%;margin-top:20px;justify-content:space-between}.login-footnote{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#747775;margin-top:27px}.login-footnote svg{width:12px;height:12px}
.attachment-preview{margin-bottom:11px}.attachment-summary{display:flex;align-items:center;gap:11px;padding:10px;background:#faf9f9;border:1px solid #e1e3e1;border-radius:9px;margin-bottom:12px}.attachment-thumbnail{display:grid;place-items:center;flex-shrink:0;width:47px;height:47px;border-radius:7px;background:#f2f2f2;color:#444746;overflow:hidden}.attachment-thumbnail img{width:100%;height:100%;object-fit:cover}.attachment-thumbnail svg{width:24px;height:24px}.attachment-description{min-width:0;flex:1}.attachment-description strong{display:block;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#444746}.attachment-description>span{display:block;font-size:11px;color:#747775;margin-top:5px}.attachment-summary .icon-button{height:30px;width:30px}.compose-box #attachment-caption{font-size:12px;min-height:48px;max-height:112px;padding:0 2px}.attachment-status{display:flex;align-items:center;gap:8px;margin-top:8px}.attachment-status p{font-size:11px;line-height:1.7;color:#747775;flex:1}.attachment-status .spinner{flex-shrink:0}.attachment-preview[data-phase="retry"] .attachment-status p,.attachment-preview[data-phase="waiting"] .attachment-status p{color:#a28758}.compose-area.dragging .compose-box{outline:2px dashed #8e918f;outline-offset:3px;background:#faf9f9}.compose-area.dragging .compose-box:before{content:"Отпустите один файл, чтобы прикрепить его";display:block;font-size:12px;color:#444746;margin-bottom:12px}.compose-area.has-attachment .compose-caption{align-items:flex-start}.compose-area.has-attachment #compose-caption-text{font-size:10px;max-width:430px}.compose-area.has-attachment .message-length{white-space:nowrap}.compose-area #attach-file svg{width:16px;height:16px}
@media(max-width:720px){.attachment-summary{padding:8px}.attachment-thumbnail{width:42px;height:42px}.attachment-description strong{font-size:12px}.compose-box #attachment-caption{font-size:14px}.attachment-status p{font-size:11px}.compose-toolbar{gap:15px}.compose-area.has-attachment #compose-caption-text{font-size:10px}.attachment-summary .icon-button{height:36px;width:36px}}
.attachment-queue-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#747775;margin-bottom:9px}.attachment-queue-heading strong{font-weight:500;color:#444746}.attachment-queue-heading>span{font-size:10px;color:#747775}.attachment-queue{display:flex;gap:7px;overflow:auto;padding:1px 1px 9px;scrollbar-width:thin;scrollbar-color:#f2f2f2 transparent;margin-bottom:3px}.attachment-queue-item{display:flex;align-items:center;flex-shrink:0;width:195px;border:1px solid #e1e3e1;border-radius:7px;background:#faf9f9;padding-right:3px}.attachment-queue-item.selected{border-color:#e1e3e1;background:#faf9f9}.attachment-queue-select{display:flex;align-items:center;gap:7px;min-width:0;flex:1;padding:8px;background:none;text-align:left;color:#444746;font-size:11px;border-radius:6px}.attachment-queue-select>span:first-child{font-size:10px;color:#747775;flex-shrink:0}.attachment-queue-select>span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-queue-item>.icon-button{height:27px;width:27px}.attachment-queue-item>.icon-button svg{height:13px;width:13px}.attachment-preview .attachment-summary{margin-bottom:10px}
.compose-area.dragging .compose-box:before{content:"Отпустите файлы, чтобы добавить их в очередь"}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes message-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.app-shell{grid-template-columns:82px 370px minmax(320px,1fr)}.app-shell.details-open{grid-template-columns:82px 370px minmax(320px,1fr) 310px}.conversation-row{padding-top:19px;padding-bottom:19px}.messages{padding-left:70px;padding-right:70px}.compose-area{padding-left:55px;padding-right:55px}.compose-window-notice{margin-left:55px;margin-right:55px}}
@media(max-width:1250px){.app-shell.details-open{grid-template-columns:76px 315px minmax(320px,1fr)}.details-open .contact-panel{position:absolute;right:0;top:0;bottom:0;width:280px;box-shadow:-12px 0 40px #1f1f1f0f}.chat-header{padding-left:25px;padding-right:23px}.messages{padding-left:30px;padding-right:30px}.chat-header-actions{gap:8px}.window-pill{font-size:10px}.chat-title h2{max-width:220px}}
@media(max-width:1000px){.app-shell,.app-shell.details-open{grid-template-columns:65px 300px minmax(300px,1fr)}.rail{padding-top:26px}.brand-mark{width:38px;height:38px;font-size:30px;line-height:34px}.inbox-heading{padding-left:20px;padding-right:20px}.heading-line h1{font-size:22px}.conversation-row{padding-left:10px;padding-right:10px}.list-tools{padding-left:15px;padding-right:15px}.filter-tabs{gap:1px}.filter-tabs button{font-size:11px;padding:6px 8px}.window-pill{display:none}.chat-header{padding:18px 20px}.messages{padding-left:23px;padding-right:23px}.compose-area{padding-left:20px;padding-right:20px}.compose-window-notice{margin-left:20px;margin-right:20px;flex-wrap:wrap}.compose-window-notice>span{min-width:180px}.compose-window-notice>.text-button{margin-left:22px}.message{max-width:88%}.chat-title h2{max-width:180px}.welcome-screen h2{font-size:27px}.welcome-screen>p{font-size:12px}.welcome-screen .eyebrow{font-size:10px}}
@media(max-width:720px){.app-shell,.app-shell.details-open{grid-template-columns:58px minmax(0,1fr);min-height:360px}.rail{padding-top:21px;padding-bottom:18px}.rail .brand-mark{width:34px;height:34px;border-radius:11px;font-size:28px;line-height:31px}.rail-nav{margin-top:36px}.rail-button{width:38px;height:40px;border-radius:10px}.rail-button.active:before{left:-10px}.rail-button svg{width:20px;height:20px}.rail-bottom{gap:16px}.conversation-panel{border:none}.inbox-heading{padding-top:26px;padding-bottom:20px}.heading-line{margin-top:12px}.heading-line h1{font-size:25px}.account-line{font-size:12px}.conversation-row{min-height:89px;padding:18px 14px}.avatar{width:45px;height:45px;font-size:15px}.conversation-name{font-size:13px}.conversation-preview{font-size:12px}.conversation-time{font-size:11px}.filter-tabs{gap:4px}.filter-tabs button{font-size:12px;padding:7px 10px}.search-box{height:42px}.search-box input{font-size:12px}.chat-panel{display:none}.chat-open .rail,.chat-open .conversation-panel{display:none}.app-shell.chat-open{display:block}.chat-open .chat-panel{height:100%;display:block}.chat-header{min-height:77px;padding:13px 14px;gap:10px}.chat-title h2{font-size:14px;max-width:calc(100vw - 160px)}.chat-title>span{font-size:11px}.chat-header .avatar{height:39px;width:39px;font-size:13px}.chat-header-actions{margin-left:auto}.mobile-back{display:inline-flex;margin-left:-4px;width:28px}.chat-header .icon-button{height:32px;width:30px}.messages{padding:12px 17px 20px}.message{max-width:87%;margin-bottom:10px}.message-text{font-size:13px}.message-bubble{padding:11px 13px 8px}.message-meta{font-size:10px}.compose-area{padding:0 12px max(10px,env(safe-area-inset-bottom))}.compose-box{padding:13px 13px 9px;border-radius:11px}.compose-box textarea{font-size:14px;min-height:29px}.compose-toolbar{margin-top:5px}.template-button{font-size:12px}.compose-caption{font-size:10px;margin-top:7px}.compose-caption #send-state{display:none}.compose-window-notice{margin:0 12px 10px;font-size:11px;padding:9px 11px}.compose-window-notice>.text-button{font-size:11px}.details-open .contact-panel{width:min(320px,calc(100vw - 35px));z-index:10;box-shadow:-20px 0 80px #1f1f1f2f}.contact-panel>header{height:77px}.modal{padding:23px 21px 20px;max-height:calc(100dvh - 32px)}.modal h2{font-size:22px}.modal input:not([type=checkbox]),.modal select,.modal textarea,.login-card input{font-size:16px}.modal-footer{gap:7px}.modal-footer>.primary-button,.modal-footer>.secondary-button{font-size:12px;padding:10px 12px}.settings-modal .modal-footer{flex-wrap:wrap}.settings-modal #logout-button{width:100%;margin-bottom:6px}.template-fields{grid-template-columns:1fr}.template-modal input{font-size:14px!important}.welcome-bottom{display:none}.inbox-footer{font-size:10px}.toast-container{bottom:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.spinner{border-color:#e1e3e1;border-style:dotted}}

/* Product layout follows caller's SideMenu and Chats surfaces. */
:root {
  --Background-Black: #1f1f1f;
  --Background-White: #fff;
  --Background-Light-gray-3: #faf9f9;
  --Stroke-Light-gray: #e1e3e1;
  --Text-Primary_Black: #1f1f1f;
  --Text-Secondary_Gray: #747775;
  --Button-back-Primary_Initial: #ffd400;
  --Button-back-Primary_Hover: #ffe699;
}
body { color: #1f1f1f; background: #faf9f9; font-feature-settings: 'clig' off, 'liga' off; }
button:focus-visible, a:focus-visible { outline-color: #8e918f; }
input:focus, textarea:focus, select:focus { border-color: #8e918f; box-shadow: 0 0 0 3px rgb(31 31 31 / 6%); }
.app-shell, .app-shell.details-open {
  grid-template-columns: 64px 330px minmax(320px, 1fr);
  gap: 20px;
  padding: 20px 20px 20px 0;
  background: #faf9f9;
}
.app-shell.details-open { grid-template-columns: 64px 330px minmax(320px, 1fr) 280px; }
.rail { margin: -20px 0; padding: 0 0 20px; background: #1f1f1f; color: #8e918f; }
.rail .brand-mark { width: 64px; height: 64px; border-radius: 0; background: #fff; color: #1f1f1f; font-size: 40px; line-height: 60px; }
.brand-mark { background: #ffd400; color: #1f1f1f; }
.brand-mark span { background: #ffd400; right: 10px; top: 13px; }
.rail-nav { margin-top: 16px; gap: 6px; }
.rail-button { width: 52px; height: 52px; border-radius: 8px; color: #8e918f; }
.rail-button.active { color: #ffd400; background: #ffffff0d; }
.rail-button.active::before { left: -6px; background: #ffd400; }
.rail-dot { background: #ffd400; }
.rail-button:hover { color: #fff; background: #ffffff14; }
.profile-avatar { background: #444746; }
.conversation-panel, .chat-panel, .contact-panel { border: 1px solid #eceeec; border-radius: 16px; background: #fff; overflow: hidden; min-width: 0; }
.conversation-panel { box-shadow: 0 4px 16px rgb(31 31 31 / 3%); }
.inbox-heading { padding: 22px 18px 18px; }
.eyebrow { font-size: 10px; letter-spacing: .6px; color: #747775; font-weight: 500; }
.heading-line { margin-top: 8px; }
.heading-line h1 { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.4px; }
.heading-line h1 > span { background: #f2f2f2; color: #747775; border-color: #e1e3e1; }
.account-line { color: #747775; font-size: 11px; }
.connection-dot { background: #43b5a0; box-shadow: 0 0 0 3px #43b5a018; }
.list-tools { padding: 0 12px; }
.search-box { height: 42px; border-color: #e1e3e1; background: #fff; border-radius: 8px; }
.search-box:focus-within { background: #faf9f9; border-color: #8e918f; box-shadow: none; }
.search-box input { font-size: 12px; color: #1f1f1f; }
.search-box input::placeholder { color: #747775; }
.search-shortcut { display: none; }
.icon-button { color: #444746; border-radius: 8px; }
.icon-button:hover { background: #f2f2f2; color: #1f1f1f; }
.new-chat-button { width: 36px; height: 36px; background: #ffd400; color: #1f1f1f; }
.new-chat-button:hover { background: #ffe699; }
.filter-tabs { gap: 4px; margin: 12px 0; }
.filter-tabs button { color: #747775; font-size: 11px; padding: 7px 8px; }
.filter-tabs button.active { background: #fff5b1; color: #1f1f1f; }
.filter-tabs button:hover { background: #f2f2f2; }
.conversation-list { padding: 0 10px 12px; }
.conversation-row { border: 1px solid transparent; border-radius: 12px; margin: 0 0 6px; min-height: 86px; padding: 12px 10px; gap: 10px; }
.conversation-row:hover { background: #f6f7f6; border-color: #eceeec; }
.conversation-row.selected { background: #f0f2f0; border-color: #dde0dd; box-shadow: 0 1px 3px rgb(31 31 31 / 6%); }
.conversation-row.selected::before { display: none; }
.conversation-name { font-size: 14px; font-weight: 600; color: #1f1f1f; }
.conversation-preview { font-size: 12px; line-height: 1.4; color: #747775; }
.conversation-time { color: #8e918f; font-size: 10px; font-variant-numeric: tabular-nums; }
.conversation-row.has-unread .conversation-preview { color: #444746; }
.conversation-row.has-unread .conversation-time { color: #747775; }
.unread-badge { background: #ffd400; color: #1f1f1f; border-radius: 50%; height: 18px; min-width: 18px; }
.avatar { background: #eef6ef; color: #4a6b4c; font-weight: 500; }
.inbox-footer { border-color: #eceeec; color: #747775; font-size: 10px; }
.primary-button { background: #ffd400; color: #1f1f1f; border: 1px solid transparent; box-shadow: none; font-size: 14px; font-weight: 400; height: 40px; }
.primary-button:hover { background: #ffe699; }
.primary-button:disabled { background: #fff5b1; opacity: .6; }
.secondary-button { border-color: #8e918f; background: #fff; color: #1f1f1f; font-size: 14px; font-weight: 400; }
.secondary-button:hover { background: #e1e3e1; }
.caller-library-button { height: auto; min-width: 0; line-height: 1.4; }
.caller-library-button.primary-button, .caller-library-button.secondary-button { min-height: 40px; }
.caller-library-button.icon-button { height: 36px; padding: 0; }
.caller-button-content { width: 100%; }
.chat-header { min-height: 80px; padding: 16px 20px; background: #fff; border-color: #eceeec; gap: 12px; }
.chat-title h2 { font-size: 16px; font-weight: 600; color: #1f1f1f; }
.chat-title > span { font-size: 11px; color: #747775; }
.chat-header-actions { gap: 8px; }
.window-pill { background: #e8f5ec; border-color: #c5e3cc; color: #1f7a43; font-size: 10px; }
.window-pill.closed { background: #fffbeb; border-color: #ffe699; color: #946c2d; }
.messages { padding: 16px 24px 24px; background: #fff; }
.date-divider { color: #8e918f; font-size: 11px; }
.date-divider::before, .date-divider::after { background: #eceeec; }
.message { max-width: min(85%, 600px); margin-bottom: 16px; }
.message-bubble { padding: 10px 14px; background: #e3f1e5; border-color: #c5dcc9; border-radius: 14px 14px 14px 4px; box-shadow: 0 1px 3px rgb(31 31 31 / 8%); }
.outbound .message-bubble { background: #f0f2f0; border-color: #dde0dd; border-radius: 14px 14px 4px 14px; }
.message-text { color: #1f1f1f; font-size: 14px; line-height: 1.45; }
.message-meta { color: #8e918f; font-size: 10px; margin-top: 7px; }
.message-type-label { color: #747775; font-size: 10px; }
.message-media { color: #1f1f1f; font-size: 12px; }
.message-media-load { background: #fff; border-color: #dde0dd; color: #444746; }
.compose-area { background: #fff; padding: 0 20px 14px; }
.compose-box { background: #f6f7f6; border-color: #e1e3e1; border-radius: 12px; padding: 12px 12px 10px; box-shadow: none; }
.compose-box:focus-within { background: #fff; border-color: #c6cbc6; box-shadow: 0 0 0 3px rgb(31 31 31 / 6%); }
.compose-box textarea { color: #1f1f1f; font-size: 14px; line-height: 1.45; }
.compose-box textarea::placeholder { color: #747775; }
.template-button, .text-button { color: #444746; font-size: 12px; }
.template-button:hover, .text-button:hover { color: #1f1f1f; }
.send-button { background: #e8f5ec; color: #1f7a43; width: 36px; height: 36px; border-radius: 10px; }
.send-button:hover { background: #c5e3cc; }
.send-button:disabled { background: #e1e3e1; color: #8e918f; }
.compose-caption { font-size: 10px; color: #8e918f; }
.compose-window-notice { margin: 0 20px 12px; background: #fffbeb; border-color: #ffe699; font-size: 12px; }
.compose-window-notice .text-button { font-size: 12px; }
.attachment-summary, .attachment-queue-item { background: #fff; border-color: #e8ebe8; }
.attachment-queue-item.selected { background: #fffbea; border-color: #ffd400; }
.attachment-thumbnail { background: #f0f2f0; color: #747775; }
.attachment-description strong, .attachment-queue-heading strong { color: #1f1f1f; }
.attachment-status p { color: #747775; }
.contact-panel { overflow-y: auto; }
.contact-panel > header { height: 80px; }
.contact-field-label, .contact-help, .contact-hero p { color: #747775; }
.contact-field-value, .contact-action { color: #444746; }
.welcome-screen { padding: 36px 24px 64px; background: #fff; }
.welcome-art { height: 150px; margin-bottom: 12px; }
.welcome-icon { background: #fff5b1; border-color: #ffe699; box-shadow: none; }
.welcome-icon > svg { color: #1f1f1f; }
.welcome-ping { background: #43b5a0; }
.welcome-ring { border-color: #eceeec; }
.art-dot { background: #ffd400; }
.welcome-screen h2 { color: #1f1f1f; font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.4px; }
.welcome-screen > p { color: #747775; font-size: 14px; line-height: 1.6; }
.welcome-bottom, .welcome-note { color: #747775; }
.modal { border-color: #e1e3e1; border-radius: 10px; color: #1f1f1f; padding: 20px; box-shadow: 0 12px 48px rgb(31 31 31 / 18%); }
.modal::backdrop { background: rgb(0 0 0 / 40%); backdrop-filter: none; }
.modal h2 { font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: 0; }
.modal-description { color: #747775; font-size: 14px; line-height: 1.6; }
.modal input:not([type=checkbox]), .modal select, .modal textarea, .login-card input { background: #fff; border-color: #e1e3e1; color: #1f1f1f; font-size: 14px; }
.modal input:hover, .modal textarea:hover, .modal select:hover { background: #faf9f9; }
.field-label { color: #444746; font-size: 12px; }
.field-hint { color: #747775; }
.modal-footer { gap: 12px; border-color: #eceeec; padding-top: 16px; margin-top: 20px; }
.modal-footer #logout-button { margin-right: auto; }
.form-error { background: #fff1f1; color: #dc362e; }
.info-box { background: #faf9f9; border-color: #e1e3e1; color: #747775; }
.template-preview { background: #f0f2f0; border-color: #dde0dd; color: #1f1f1f; font-size: 14px; }
.login-screen { background: #faf9f9; }
.login-card { background: #fff; width: min(420px, 100%); padding: 32px; border: 1px solid #eceeec; border-radius: 16px; box-shadow: 0 4px 24px rgb(31 31 31 / 4%); }
.login-card h1 { font-size: 26px; font-weight: 600; letter-spacing: -.3px; }
.login-card > p { font-size: 14px; color: #747775; line-height: 1.6; }
.login-card > .brand-mark { margin-bottom: 24px; }
.login-footnote { color: #747775; }
.spinner { border-color: #e1e3e1; border-top-color: #8e918f; }
.toast { background: #fff; border-color: #e1e3e1; color: #444746; font-size: 12px; }
.toast.error { background: #fff1f1; border-color: #e79191; color: #dc362e; }
@media (max-width: 1300px) {
  .app-shell.details-open { grid-template-columns: 64px 330px minmax(320px, 1fr); }
  .details-open .contact-panel { position: absolute; top: 20px; right: 20px; bottom: 20px; width: 280px; z-index: 6; box-shadow: -12px 0 40px rgb(31 31 31 / 10%); }
}
@media (max-width: 1000px) {
  .app-shell, .app-shell.details-open { grid-template-columns: 64px 290px minmax(280px, 1fr); gap: 12px; padding-right: 12px; }
  .conversation-name { font-size: 13px; }
  .conversation-row { padding: 10px 8px; }
  .chat-header, .messages { padding-left: 16px; padding-right: 16px; }
  .compose-area { padding-left: 16px; padding-right: 16px; }
  .chat-title h2 { max-width: 180px; }
  .window-pill { display: none; }
}
@media (max-width: 720px) {
  .app-shell, .app-shell.details-open { grid-template-columns: 58px minmax(0, 1fr); gap: 0; padding: 0; }
  .rail { margin: 0; padding-bottom: 18px; }
  .rail .brand-mark { width: 58px; height: 64px; font-size: 36px; line-height: 60px; }
  .rail-button { width: 46px; height: 48px; }
  .rail-button.active::before { left: -6px; }
  .conversation-panel, .chat-panel { border: 0; border-radius: 0; }
  .inbox-heading { padding: 24px 18px 18px; }
  .conversation-row { padding: 12px 10px; min-height: 88px; }
  .conversation-name { font-size: 14px; }
  .chat-header { min-height: 77px; padding: 12px; gap: 8px; }
  .chat-title h2 { max-width: calc(100vw - 180px); font-size: 14px; }
  .chat-header-actions { gap: 3px; }
  .messages { padding: 12px 14px 20px; }
  .compose-area { padding: 0 12px max(10px, env(safe-area-inset-bottom)); }
  .compose-box textarea { font-size: 16px; }
  .compose-window-notice { margin: 0 12px 10px; font-size: 11px; }
  .compose-window-notice .text-button { font-size: 11px; }
  .compose-caption { font-size: 9px; }
  .details-open .contact-panel { top: 0; right: 0; bottom: 0; width: min(320px, calc(100vw - 35px)); border-radius: 12px 0 0 12px; }
  .modal { padding: 20px; }
  .modal input:not([type=checkbox]), .modal select, .modal textarea, .login-card input { font-size: 16px; }
  .modal-footer .primary-button, .modal-footer .secondary-button { font-size: 12px; padding: 10px 12px; }
  .login-screen { padding: 20px; }
  .login-card { padding: 24px; }
}
