/* Design approved for server deployment by the owner on 2026-10-20.
   Primary source: owner-supplied Apple macOS 27 UI Kit.sketch.
   Exact mapping and web adaptations: docs/design-references/apple-official/MACOS-MAPPING.md.
   App adaptation: compact controls, readable Russian labels, no marketing heroes. */
:root{--ink:#1d1d1f;--muted:#292929;--line:#e6e6eb;--ground:#fff;--blue:#0088ff;--blue-ink:#0069c7;--pale:#eaf3ff;--white:#fff;--yellow:#0088ff;--danger:#bd343c;--success:#26744c;--radius:16px;--shadow:0 20px 70px #17172324;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:var(--ink);background:var(--ground);-webkit-font-smoothing:antialiased}
body{background:var(--ground)}
:root{--brand-blue:#176ea4;--control-bg:#f2f2f4;--control-hover:#e9e9ed;--control-selected:#e2e2e7;--control-line:#dedee3}
button,input,select,textarea{font-family:inherit}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #0088ff55;outline-offset:3px}
.sidebar{width:224px;padding:25px 14px 18px;background:#fff;border-right:1px solid #dedee2}
.brand{padding:0 10px 28px;gap:10px;font-size:17px;font-weight:650;letter-spacing:-.4px}
.brand-avatar{width:34px;height:34px;border-radius:11px}
.brand small{display:block;margin-top:4px;font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400}
nav{gap:10px}
.nav-item{height:42px;padding:0 13px;gap:11px;border-radius:8px;font-size:15px;font-weight:500;color:#333336}
.nav-item .icon{width:22px;height:22px;stroke-width:1.7}
.nav-item:hover{background:#eeeeF2;color:var(--ink)}
.nav-item.active{background:#00000012;color:var(--ink);font-weight:600}
.sidebar .icon{color:#1d1d1f}
.sidebar-bottom .emergency-stop{margin-bottom:10px;font-size:12px;color:#a64c52;padding:10px 13px}
.profile{padding:17px 8px 0;border-color:#e6e6e9;margin-top:16px;font-size:12px}
.avatar{width:32px;height:32px;background:#e8edf3;color:#586477;font-size:12px;font-weight:600}
.workspace{margin-left:224px}
.environment{min-height:48px;padding:13px 32px;border-bottom:1px solid var(--line);background:#fff;align-items:center;font-size:12px;color:#292929}
.environment>span:first-child{font-size:12px;font-weight:500;color:#292929;white-space:nowrap}
.environment .environment-info{font-size:12px;color:#292929;line-height:1.5}
.status-dot{width:5px;height:5px;background:#52a775;vertical-align:1px}
main{padding:28px 32px 54px;max-width:1480px}
h1{font-size:26px;font-weight:700;letter-spacing:-.6px;line-height:32px}
h2{font-size:17px;font-weight:600;letter-spacing:-.25px;line-height:22px}
h3{font-size:14px;font-weight:600;letter-spacing:-.15px}
.subtitle{font-size:13px;line-height:1.6;margin-top:7px;color:#292929}
.breadcrumbs{gap:8px;margin-bottom:18px;font-size:12px;color:#292929}
.breadcrumbs a{color:#292929}
.page-header{margin-bottom:26px;gap:20px;align-items:center}
.page-heading{gap:10px}
.header-actions{gap:8px;align-items:center}
.btn{min-height:36px;padding:8px 16px;border:1px solid var(--control-line);border-radius:999px;font-size:13px;line-height:18px;font-weight:500;background:var(--control-bg);color:var(--ink);box-shadow:0 1px 2px #00000008}
.btn:hover{border-color:#c2c2cb;background:var(--control-hover)}
.btn:active{background:var(--control-selected);box-shadow:none}
.btn.primary,.btn.primary[data-action="activate"]{background:#0069c7;border-color:#0069c7;color:#fff;box-shadow:none;font-weight:500}
.btn.primary:hover,.btn.primary[data-action="activate"]:hover{background:#0073d8;border-color:#0073d8}
.btn.primary[data-action="activate"]{background:#82d301;border-color:#82d301;color:#fff}
.btn.primary[data-action="activate"]:hover{background:#74be01;border-color:#74be01;color:#fff}
.btn.primary[data-action="activate"]:active{background:#68aa01;border-color:#68aa01;color:#fff}
.btn.primary[data-action="activate"]:focus-visible{outline-color:#82d30166}
.btn.primary[data-action="new-message"]{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
.btn.primary[data-action="new-message"]:hover{background:#145f8e;border-color:#145f8e}
.btn.primary[data-action="new-message"]:active{background:#18335e;border-color:#18335e}
.btn.primary[data-action="new-message"]:focus-visible{outline-color:#176ea466}
.btn.text{color:#0069c7;border-color:transparent;box-shadow:none;background:transparent}
.btn.text:hover{background:#edf4fc}
.btn.danger{color:var(--danger)}
.btn.small{min-height:30px;padding:5px 12px;font-size:12px}
.btn:disabled{opacity:.42}
.btn .icon{width:16px;height:16px}
.icon-btn{border-radius:50%;box-shadow:none;color:#72727c}
.icon-btn:hover{background:#f0f0f4;color:#24242b}
.tag{font-size:12px;font-weight:500;border-radius:5px;padding:5px 8px;letter-spacing:0}
.tag.draft,.tag.paused,.tag.skipped{background:#ededf1;color:#292929}
.tag.active,.tag.sent{background:#eaf4ed;color:#2b7247}
.tag.error{background:#fcebed;color:#b63744}
.tag.running,.tag.pending,.tag.retry{background:#eaf2fc;color:#306cad}
.panel{border:1px solid #e5e5e9;border-radius:16px;background:#fff;box-shadow:0 2px 4px #18182403}
.editor-grid{grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.form-panel{padding:26px 28px}
.preview-panel{padding:20px;top:20px;border-color:#e2e2e8;background:#fff}
.preview-panel h2{font-size:15px;margin-bottom:14px}
.field{margin-bottom:21px}
.field>label,.field-label{font-size:13px;line-height:1.4;font-weight:500;margin-bottom:8px;color:#1d1d1f}
.field input:not([type=checkbox]),.field select,.field textarea,.input{min-height:36px;padding:8px 12px;border:1px solid #d7d7dc;border-radius:9px;background:#fff;box-shadow:none;font-size:13px;color:#1d1d1f}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#bcbcc7}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#0088ff;outline:3px solid #0088ff19;outline-offset:0;box-shadow:none}
.field input::placeholder,.field textarea::placeholder{color:#292929}
.field textarea{line-height:1.7;min-height:150px}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7a83' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 11px center!important;padding-right:32px!important}
input[type=checkbox]{accent-color:var(--brand-blue)}
.help{font-size:12px;line-height:1.65;color:#292929}
.field .help{margin-top:8px}
.check{font-size:13px;color:#1d1d1f;gap:8px}
.channels{gap:24px}
.channels .check{display:inline-flex;align-items:center;min-height:36px;cursor:pointer}
.channels input[type="checkbox"]{appearance:none;-webkit-appearance:none;display:inline-block;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;padding:0;border:1px solid #00000026;border-radius:6.5px;background:#0000000d;box-shadow:none;vertical-align:middle}
.channels input[type="checkbox"]:hover{border-color:var(--brand-blue)}
.channels input[type="checkbox"]:checked{border-color:var(--brand-blue);background:var(--brand-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat}
.channels input[type="checkbox"]:focus-visible{outline:3px solid #176ea440;outline-offset:3px}
.channels input[type="checkbox"]:disabled{opacity:.45;cursor:not-allowed}
@media(forced-colors:active){.channels input[type="checkbox"]{appearance:auto;-webkit-appearance:auto}}
.row{gap:16px}
.segmented{display:flex;gap:3px;padding:4px;background:#f0f0f3;border:0;border-radius:10px}
.segmented button{border:0!important;min-height:33px;padding:7px 10px;border-radius:7px;font-size:12px;color:#292929;background:transparent}
.segmented button.selected{background:#fff;color:#24242c;box-shadow:0 1px 4px #25253413;font-weight:500}
.segmented button:hover:not(.selected){background:#e8e8ed}
.toolbar{gap:2px;border:1px solid #dddde4;border-bottom:0;padding:4px 7px;background:#fafafb;border-radius:9px 9px 0 0}
.toolbar .icon-btn{width:30px;height:30px;color:#5d5d67;font-size:14px}
.toolbar .icon{width:16px;height:16px}
.rich-editor{border-radius:0 0 9px 9px!important;border-color:#dddde4;min-height:165px}
.char-count{font-size:12px;color:#292929;margin-top:7px}
.format-help{margin:0 0 24px}
.format-help summary{font-size:12px;font-weight:400;color:#292929;min-height:30px}
.button-section-header{padding-top:22px;margin-top:24px;border-top:1px solid var(--line)}
.button-editor{border:1px solid var(--line);border-radius:12px;box-shadow:none}
.button-editor-head{background:#fafafb;border-color:var(--line);padding:9px 12px;font-size:12px}
.button-editor-body{padding:16px}
.tabs{gap:12px;border-color:var(--line)}
.tabs button{padding:9px 2px 11px;min-height:36px;font-size:12px;color:#292929}
.tabs button.selected{color:#33333c;box-shadow:inset 0 -2px #0088ff;font-weight:500}
.preview-panel .tabs{margin-bottom:16px}
.chat{border:1px solid #e8e8ed;border-radius:12px;overflow:hidden;background:#f3f4f8;min-height:200px}
.chat-header{background:#fff;border-bottom:1px solid #ebebef;padding:12px;gap:8px}
.chat-header strong{font-size:12px;font-weight:600}
.chat-header small{font-size:12px;color:#292929;margin-top:2px}
.chat-header>.icon{width:15px;height:15px;color:#0088ff}
.chat-header .avatar{width:29px;height:29px;background:#eaf2fc}
.chat-body{padding:14px 11px 20px}
.bubble{border-radius:11px;box-shadow:0 1px 2px #22223508}
.bubble-text{font-size:12px;padding:12px;line-height:1.65}
.bubble-time{font-size:12px;padding-bottom:7px;color:#292929}
.chat-buttons{gap:1px}
.chat-button{font-size:12px;padding:10px;border-radius:0;min-height:36px}
.summary{margin-top:19px}
.summary-row{font-size:12px;padding:10px 0;border-color:#efeff3}
.summary-row strong{font-weight:400;color:#333336}
.preview-tip,.preview-note{font-size:12px;line-height:1.65;color:#292929}
.editor-footer{margin-top:25px;padding-top:20px;border-color:var(--line);font-size:12px;color:#292929}
.divider{border-color:#ededf1;margin:24px 0}
.photo-editor-heading strong{font-size:12px;font-weight:500;color:#1d1d1f}
.photo-editor-heading .help{font-size:12px}
.photo-editor-grid{gap:12px}
.photo-editor-item,.photo-editor-item>img,.photo-add{border-radius:10px}
.photo-add{background:#f9f9fb;border:1px dashed #d0d0da;color:#878792}
.photo-add:hover{background:#eef4fb;border-color:#a8c1df}
.photo-remove{background:#fff;color:#6b6b78;border:0;box-shadow:0 1px 5px #27273b20;width:24px;height:24px;padding:4px}
.photo-remove .icon{width:14px;height:14px}
.photo-number{font-size:12px;font-weight:500}
.photo-editor .help{font-size:12px}
.after-video-images{margin-top:18px}
.after-video-images>.help{display:block;margin-top:8px}
.type-picker{gap:3px;padding:4px;background:#f1faff;border-radius:12px;width:max-content;max-width:100%;flex-wrap:wrap}
.type-picker button{padding:7px 13px;min-height:32px;border:0;border-radius:8px;background:transparent;color:#18335e;font-size:13px;box-shadow:none}
.type-picker button:hover:not(.selected){background:#ffffff40}
.type-picker button.selected{background:#fff;color:#1d1d1f;font-weight:500;box-shadow:0 1px 4px #21455e14,0 0 0 .5px #21455e05}
.type-picker .count{background:#ffffff45;color:#18335e;font-size:12px;padding:2px 5px}
.type-picker button.selected .count{background:#e6f6fd;color:#18335e}
.filter-bar{margin:18px 0 15px;gap:10px}
.search-box{border:1px solid #dedee5;border-radius:9px;background:#fff;box-shadow:none;min-height:36px}
.search-box input{border:0;background:transparent;font-size:13px;box-shadow:none!important}
.search-box .icon{width:16px;height:16px;color:#9b9ba5}
.filter-select{font-size:13px;min-height:36px;border:1px solid #dedee5;border-radius:9px;background:#fff;box-shadow:none}
.filter-summary{color:#292929;font-size:12px}
.message-list{overflow:hidden}
.message-row{min-height:79px;padding:15px 21px;border-color:#efeff3;font-size:12px;gap:15px}
.message-row:hover{background:#fafafb}
.message-row.table-head{min-height:42px;background:#fafafb;color:#292929;font-size:12px;padding-top:12px;padding-bottom:12px}
.message-row .name{font-size:13px;font-weight:500;letter-spacing:-.1px}
.message-row .name small{font-size:12px;font-weight:400;color:#292929;margin-top:6px}
.channel-label{font-size:12px;color:#292929;border:0;background:#f1f2f6;border-radius:5px;padding:4px 6px}
.drag-handle{color:#c3c3cc}
.drag-handle .icon{stroke-width:2.5}
.dialogs-shell{grid-template-columns:280px minmax(0,1fr);border-color:#e2e2e8;border-radius:16px;box-shadow:0 2px 7px #19192703}
.dialog-sidebar{background:#fff;border-color:#ededf1;padding-top:15px}
.dialog-person{border-radius:10px}
.dialog-person.selected{background:#0000000d}
.dialog-person-heading strong{font-size:13px;font-weight:500;letter-spacing:-.1px}
.dialog-person-channel,.dialog-person-preview,.dialog-person time{font-size:12px;color:#292929}
.dialog-avatar{background:#f0f1f6;color:#292929;font-size:14px;font-weight:500}
.dialog-conversation-header{background:#fff;border-color:#ededf1;min-height:70px}
.dialog-conversation-header h2{font-size:15px;font-weight:600}
.dialog-timeline{background:#fafafb}
.dialog-bubble{border-radius:14px;border-color:#e9e9ee;box-shadow:none}
.outgoing .dialog-bubble{background:#edf4fd;border-color:#e2edfa}
.dialog-message-heading{color:#292929}
.dialog-message-status{font-size:12px}
.dialog-composer{border-color:#ededf1;background:#fff;padding:16px 20px}
.dialog-composer textarea{border:1px solid #e5e5eb;border-radius:10px;background:#fbfbfd;padding:12px;min-height:88px;font-size:13px}
.dialog-composer textarea:focus-visible{outline:2px solid #0088ff40;outline-offset:0}
.dialog-composer-actions{margin-top:10px}
.dialog-composer .help{font-size:12px}
.dialog-file{background:#fff;border-radius:9px}
.audience-metrics{background:#fff;border:1px solid #e5e5e9;border-radius:14px;padding:10px 0}
.audience-metrics .audience-metric{border-color:#efeff3;padding:13px 18px}
.audience-metric strong,.audience-net strong,.metric strong{font-size:30px;font-weight:600;letter-spacing:-1px}
.audience-metric>span,.audience-net>span{font-size:12px;color:#292929}
.audience-metric small,.audience-net small{font-size:12px;color:#292929}
.audience-metric:hover,.audience-metric.chosen{background:#f6f8fc}
.audience-period,.audience-delivery,.settings-panel{padding:24px;border-radius:16px}
.period-presets{background:#f1f1f5;border-radius:8px}
.period-presets button{border:0;border-radius:6px;color:#292929;font-size:12px}
.period-presets button.selected{color:#33333d;box-shadow:0 1px 3px #22223512;border:0}
.period-presets button:hover{color:#33333d}
.audience-date-fields input{border-color:#dddde4;border-radius:8px;box-shadow:none}
.audience-bars{border-color:#e8e8ee}
.audience-bar{background:#7ca9df}
.audience-section-head .help{font-size:12px}
.table-wrap{border:1px solid var(--line);border-radius:14px;background:#fff}
table th{background:#fafafb;color:#292929;font-size:12px;font-weight:500;letter-spacing:0}
table td{font-size:12px;border-color:#ededf1;padding-top:15px;padding-bottom:15px}
table td small{font-size:12px;color:#292929}
.table-footer{font-size:12px;color:#292929}
.notice{border:1px solid #e1e8f1;background:#f2f6fc;border-radius:10px;font-size:12px;color:#292929;line-height:1.65}
.operations-panel,.analytics-panel{border-radius:16px}
.settings-grid{gap:20px}
.connection-row{border-color:#eeeeF3}
.style-option{box-shadow:none;border-color:#e2e2e8;border-radius:7px;font-size:12px}
.chain-step{border-radius:10px;border-color:#e6e6eb;box-shadow:none}
.chain-step.selected{border-color:#a8c8ee;background:#f5f9ff;box-shadow:none}
.side-tab{border-left:0}
dialog{border-radius:18px;border:1px solid #e4e4e9;box-shadow:var(--shadow)}
dialog::backdrop{background:#23233652}
dialog .dialog-head{border-color:#ededf1;padding:20px 24px}
dialog .dialog-body{padding:24px}
.login-panel{border-radius:20px;border-color:#e5e5eb;padding:32px;box-shadow:0 8px 35px #1d1d3207}
.toast{font-size:12px;border-radius:11px;background:#292932;box-shadow:0 8px 30px #18182522}
@media(min-width:1440px){main{padding:32px 44px 60px}.environment{padding-left:44px;padding-right:44px}.editor-grid{grid-template-columns:minmax(0,1fr) 360px;gap:28px}.form-panel{padding:28px 32px}}
@media(max-width:1150px) and (min-width:761px){.sidebar{width:192px;padding-left:10px;padding-right:10px}.workspace{margin-left:192px}.brand{font-size:16px;padding-left:8px}.nav-item{padding:0 11px}main{padding:25px 24px 45px}.environment{padding-left:24px;padding-right:24px}.editor-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.form-panel{padding:23px}.preview-panel{padding:16px}}
@media(max-width:1000px){.editor-grid{grid-template-columns:minmax(0,1fr)}.preview-panel{position:static;width:100%;max-width:none}.preview-panel .chat{max-width:360px}.preview-panel .summary{max-width:360px}.preview-panel>.tabs{width:max-content}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:16px 16px 0;background:#fff}.brand{font-size:17px;padding:0 0 16px;gap:9px}.brand-avatar{width:31px;height:31px}.brand small{font-size:12px;margin-top:3px}.sidebar-bottom{top:17px;right:14px}.sidebar-bottom .nav-item{height:34px;min-width:34px;width:34px;padding:8px}.sidebar-bottom .emergency-stop{margin:0;min-height:34px;height:34px;width:34px;padding:8px}.profile{display:none}nav{display:flex;gap:3px;overflow-x:auto;padding-bottom:8px}nav .nav-item{min-width:max-content;flex:1;font-size:12px;height:35px;padding:0 10px;border-radius:8px}nav .nav-item .icon{display:none}.workspace{margin:0}.environment{min-height:40px;padding:9px 16px;gap:12px}.environment>span:first-child{font-size:12px}.environment .environment-info{font-size:12px;max-width:240px}main{padding:22px 16px 38px}h1{font-size:25px;letter-spacing:-.7px}.page-header{margin-bottom:22px;gap:14px}.page-heading{gap:8px}.header-actions{width:100%;margin:0}.header-actions .btn{min-height:38px}.subtitle{font-size:12px}.editor-grid{gap:18px}.form-panel{padding:20px}.preview-panel{padding:20px}.segmented button{font-size:12px;padding:7px 5px}.row{gap:12px}.field{margin-bottom:20px}.photo-editor-heading{align-items:flex-start;gap:5px}.photo-editor-heading .help{font-size:12px}.photo-editor-grid{gap:10px}.library-header-actions .btn{flex:auto}.type-picker{width:100%;gap:3px}.type-picker button{flex:1;justify-content:center;padding:8px 6px;font-size:12px;white-space:nowrap}.type-picker .count{font-size:12px;padding:2px 3px}.filter-bar{margin-top:15px}.message-row{padding:16px;min-height:85px}.message-row .name{font-size:13px}.message-row .name small{font-size:12px}.dialogs-shell{grid-template-columns:minmax(0,1fr);border-radius:13px}.dialog-conversation-header{padding:12px}.dialog-timeline{padding:12px}.dialog-composer{padding:12px}.audience-metrics .audience-metric{padding:12px}.audience-metric strong,.audience-net strong{font-size:27px}.audience-period,.audience-delivery,.settings-panel{padding:20px}.period-presets button{padding:8px 10px}.audience-section-head{gap:10px}.settings-grid{gap:16px}.table-wrap{border-radius:12px}dialog .dialog-body{padding:20px}.toast{left:50%}}

/* Touch-size adaptation; the desktop source uses XL 36px controls. */
@media(pointer:coarse){.btn,.btn.small,.channels .check,.field input:not([type=checkbox]),.field select,.filter-select{min-height:44px}.icon-btn{min-width:44px;min-height:44px}.photo-remove{min-width:28px;min-height:28px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.inline-test-send .btn.primary{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
.inline-test-send .btn.primary:hover{background:#145f8e;border-color:#145f8e}
.inline-test-send h3{font-size:13px;font-weight:500;line-height:1.4;letter-spacing:normal;color:var(--ink);margin:0 0 8px}

/* Command menu uses the same settings controls and label hierarchy. */
.bot-menu-panel{grid-column:1/-1}
.bot-menu-panel>h2{margin-bottom:10px}
.bot-menu-panel fieldset{border:0;padding:0;margin:0;min-width:0}
.bot-menu-rows{margin:20px 0 12px}
.bot-menu-row{display:grid;grid-template-columns:minmax(115px,1fr) minmax(170px,1.7fr) minmax(180px,1.6fr) 36px;gap:12px 16px;padding:18px 0;border-top:1px solid var(--line);align-items:start}
.bot-menu-row .field{margin:0;min-width:0}
.bot-menu-row .field input,.bot-menu-row .field select{width:100%;min-width:0}
.bot-menu-row .menu-target{grid-column:2/4}
.bot-menu-row .menu-remove{margin-top:25px}
.command-input{position:relative}
.command-input>span{position:absolute;left:12px;top:9px;line-height:18px;pointer-events:none;color:var(--muted)}
.bot-menu-row .command-input input{padding-left:24px;font-variant-ligatures:none}
.bot-menu-footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 12px}
.bot-menu-footer .help{flex-basis:100%;margin:0}
.bot-menu-panel .inline-error:empty{display:none}
.bot-menu-panel [data-menu-error]{margin-top:12px}
.menu-empty{padding:20px 0;color:var(--muted)}
@media(max-width:900px){.bot-menu-row{grid-template-columns:minmax(100px,1fr) minmax(140px,1.4fr) 36px}.bot-menu-row .field:nth-child(3){grid-column:1/3}.bot-menu-row .menu-remove{grid-column:3;grid-row:1}.bot-menu-row .menu-target{grid-column:1/3}}
@media(max-width:480px){.bot-menu-row{grid-template-columns:minmax(0,1fr) 36px}.bot-menu-row .field{grid-column:1}.bot-menu-row .field:nth-child(3),.bot-menu-row .menu-target{grid-column:1}.bot-menu-row .menu-remove{grid-column:2}.bot-menu-footer .btn{width:100%}}

.menu-channel-status{display:grid;gap:6px;margin-bottom:10px}

.media-layout-field{margin:16px 0 0}.media-layout-field select{width:100%}
.chat-body>.bubble+.bubble{margin-top:10px}
.bubble-text:empty{display:none}

.attachment-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.file-attach{display:inline-flex;align-items:center;gap:7px;position:relative;cursor:pointer}.file-attach:focus-within{outline:2px solid var(--brand-blue);outline-offset:2px}.file-attach[aria-busy=true]{opacity:.6;cursor:wait}.bubble-file{display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 10px;align-items:center;padding:14px 12px;background:#f1faff}.bubble-file .file-symbol{grid-row:span 2}.bubble-file strong{overflow-wrap:anywhere;font-size:13px}.bubble-file>span:last-child{font-size:12px}.bubble-file .icon{width:28px;height:28px;color:var(--brand-blue)}

/* Switch the entire app instance; sessions and data remain separate. */
.workspace-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#f1f1f4;border-radius:13px}
.workspace-switch a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:7px 9px;border-radius:10px;color:#62626a;font-size:13px;line-height:1.35;text-decoration:none;text-align:center;font-weight:500}
.workspace-switch a[aria-current="page"]{background:#fff;color:#1d1d1f;box-shadow:0 1px 4px #1d1d1f15}
.workspace-switch a:focus-visible{outline:3px solid #087fca;outline-offset:3px}
.login-panel>.workspace-switch{margin-top:26px}
.login-panel>.workspace-switch+form{margin-top:24px}
.sidebar>.workspace-switch{margin:8px 0 17px}
.sidebar>.workspace-switch a{font-size:12px;padding:7px 4px;min-height:52px}
@media(max-width:760px){.sidebar>.workspace-switch{margin:0 0 13px}.sidebar>.workspace-switch a{font-size:13px;min-height:44px}.login-brand h1{font-size:23px;line-height:1.25}}
