.stats .stat{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:2px;min-width:0;display:flex}.stats .stat strong{font-variant-numeric:tabular-nums;line-height:1.15}.stats .stat span{font-size:14px;line-height:1.2}.chat-pane .email-signature-preview{border-radius:7px;margin:2px 16px 4px;padding:0 10px}.chat-pane .email-signature-preview summary{gap:8px;min-height:30px;font-size:12px}.chat-pane .email-signature-preview summary>span{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.chat-pane .email-signature-preview summary small{margin:0;font-size:11px;display:inline}.list-pane .scope-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px 12px;display:grid}.list-pane .scope-filters .multi-select summary{padding:7px 9px;font-size:12px;line-height:1.3}.list-pane .scope-filters .multi-select{border-radius:8px}.list-pane .scope-filters #scope-department{grid-column:1/-1;min-width:0;height:auto;min-height:32px;padding:7px 9px;font-size:12px}.list-pane .scope-filters .multi-options{width:min(280px,100vw - 40px);min-width:0;max-height:260px}.list-pane .scope-filters #scope-channels .multi-options{left:auto;right:0}.a-triage{background:#fff;border:1px solid #dce4d8;border-radius:14px;margin:16px 0;padding:18px}.a-triage h2,.a-triage h3{margin:0 0 10px}.a-triage-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;display:grid}.a-triage table{border-collapse:collapse;width:100%}.a-triage td,.a-triage th{text-align:left;border-bottom:1px solid #e8ede6;padding:8px;font-size:13px}.a-triage td small{display:block}.a-triage .a-link{text-align:left}.a-triage .a-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.a-triage .a-metrics button{flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;display:flex}.a-triage .a-metrics button>span{min-height:2.6em}.a-triage .a-metrics strong{font-variant-numeric:tabular-nums;line-height:1.2}.workspace-dialog{box-sizing:border-box}.workspace-dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.workspace-dialog .form-grid>*,.workspace-dialog label,.workspace-dialog input,.workspace-dialog select{box-sizing:border-box;min-width:0;max-width:100%}.workspace-dialog .multi-select{align-self:start}.workspace-dialog .multi-options{box-sizing:border-box;min-width:0;max-height:min(240px,32dvh);box-shadow:none;border-width:1px 0 0;position:static}.multi-options label{white-space:normal;overflow-wrap:break-word}.multi-options input{flex-shrink:0}.workspace-dialog footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.workspace-dialog footer button{white-space:normal;max-width:100%}.reply-toolbar button[hidden]{display:none!important}.chat-tools[open] .chat-actions{box-sizing:border-box;max-height:min(65dvh,500px)}@media (width<=640px){.workspace-dialog .form-grid{grid-template-columns:minmax(0,1fr)}}.workspace-dialog .multi-options label{flex-direction:row!important;align-items:center!important;gap:10px!important;margin:0!important}.workspace-dialog .multi-options input[type=checkbox]{min-height:18px!important;padding:0!important}.multi-select{color:#273329;background:#fff;border:1px solid #d9e2d5;border-radius:12px;min-width:0;font-weight:500;position:relative}.multi-select summary{cursor:pointer;padding:12px 16px;line-height:1.4}.multi-options{z-index:40;background:#fff;border:1px solid #d9e2d5;border-radius:12px;min-width:260px;max-height:320px;padding:10px;position:absolute;top:100%;left:0;right:0;overflow:auto;box-shadow:0 8px 24px #16231a22}.multi-options label{cursor:pointer;align-items:flex-start;gap:10px;line-height:1.4;padding:10px!important;font-size:14px!important;display:flex!important}.multi-options input{accent-color:#528e20;min-width:18px;margin:0;width:18px!important;height:18px!important}.multi-options button{text-align:left;cursor:pointer;background:#f2f7ef;border:0;border-radius:6px;width:100%;padding:8px}.scope-filters{flex-wrap:wrap;gap:8px;display:flex}.scope-filters>*{flex:220px}.stats button.stat{color:inherit;text-align:left;cursor:pointer;font:inherit;border:0}.stats button.stat:hover{background:#e9f3e3}.duty-conflict{background:#fff6dc;border-radius:8px;padding:12px;line-height:1.5}.duty-conflict[hidden]{display:none!important}.av-dashboard{--av-ink:#203c30;--av-muted:#6e7d75}.av-period-note{color:var(--av-muted);margin:8px 0 20px;font-size:12px}.av-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.av-summary>div{background:#fff;border:1px solid #dce5dd;border-top:3px solid #47715b;border-radius:16px;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;display:flex}.av-summary>div:nth-child(2){border-top-color:#6b8cac}.av-summary>div:nth-child(3){border-top-color:#c8a05b}.av-summary span:first-child{color:#52695b;font-size:13px}.av-summary strong{letter-spacing:-1px;color:var(--av-ink);font-size:34px;font-weight:650}.av-summary small{color:var(--av-muted);font-size:11px}.av-change{color:#778179;background:#f1f3ef;border-radius:6px;padding:4px 7px;font-size:12px;display:inline-block}.av-change.good{color:#326547;background:#e6f2e9}.av-change.bad{color:#a85231;background:#fbebe4}.av-change.neutral{color:#4c7098;background:#eaf0f8}.av-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0;display:grid}.av-grid .a-panel{min-width:0;margin:0;padding:22px}.av-wide{grid-column:1/-1}.av-panel header{align-items:flex-start;margin-bottom:18px}.av-panel header p{margin:4px 0;font-size:12px;line-height:1.6}.av-panel h2{color:var(--av-ink);font-size:17px}.av-line{width:100%;height:auto;min-height:170px;display:block;overflow:visible}.av-line text{fill:#7b887e;font:11px system-ui}.av-gridline{stroke:#e9eee9;stroke-width:1px}.av-line circle{outline:none}.av-line circle:hover,.av-line circle:focus{r:6;stroke:#203c30;stroke-width:2px}.av-legend{color:#6c7d70;flex-wrap:wrap;gap:14px;margin-bottom:12px;font-size:11px;display:flex}.av-legend span{align-items:center;gap:6px;display:flex}.av-legend i,.av-donut-key i{border-radius:50%;flex-shrink:0;width:9px;height:9px;display:inline-block}.av-data{color:#768477;margin-top:12px;font-size:11px}.av-data summary{cursor:pointer}.av-donut-row{align-items:center;gap:20px;min-height:230px;display:flex}.av-donut{flex-shrink:0;width:44%;max-width:215px}.av-donut text{fill:#758577;font:11px system-ui}.av-donut .av-donut-number{fill:#244631;font-size:29px;font-weight:600}.av-donut-key{flex:1;min-width:0}.av-donut-key>div,.a-page .av-donut-key>button{text-align:left;background:0 0;border:0;border-bottom:1px solid #eef1ec;border-radius:0;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:12px 0;font-size:12px;display:grid}.av-donut-key small{color:#839082;grid-column:2/4;font-size:10px}.av-hbars{gap:15px;display:grid}.a-page .av-bar-row{text-align:left;background:0 0;border:0;grid-template-columns:130px minmax(0,1fr) 58px;align-items:center;gap:12px;width:100%;padding:5px 0;display:grid}.av-bar-label{overflow-wrap:anywhere;font-size:12px}.av-bar-tracks{flex-direction:column;gap:4px;min-width:0;display:flex}.av-bar-tracks i{border-radius:0 4px 4px 0;height:11px;display:block}.av-bar-tracks .av-bar-previous{background:#dce3dc;height:5px}.av-bar-row strong{text-align:right;font-size:16px;font-weight:600}.av-bar-row strong small{color:#8a9488;font-size:9px;font-weight:400;display:block}.av-footnote{color:#839080;margin-top:20px;font-size:10px;line-height:1.6}.av-next{background:#e9f0e6;border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:24px;padding:20px;display:flex}.av-next strong{margin-right:auto}.av-section-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.av-section-heading h2{margin:6px 0;font-size:23px}.av-section-heading p{color:#758471;font-size:13px;line-height:1.6}.av-people{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 24px;display:grid}.a-page .av-person{text-align:left;background:#fff;border-radius:14px;flex-direction:column;gap:12px;min-width:0;padding:20px;display:flex}.av-person-name{color:#244631;font-size:16px;font-weight:600}.av-person>small{color:#788773;font-size:11px;line-height:1.6}.av-person div{color:#73836d;flex-wrap:wrap;align-items:center;gap:6px;font-size:11px;display:flex}.av-person div strong{color:#324e35;font-size:22px;font-weight:600}.av-person .av-change{font-size:10px}.av-person.selected{border-color:#64865a}.av-loading{background:#f0f3ea;border-radius:10px;padding:12px 16px;font-size:12px}.av-empty{color:#839080;text-align:center;justify-content:center;align-items:center;min-height:140px;font-size:13px;display:flex}.a-page .a-metrics{margin-bottom:16px}.a-page .a-metrics button strong{font-size:23px}.a-page .a-metrics button{padding:14px}.a-details-table{margin:20px 0}.a-details-table>summary{cursor:pointer;color:#536b4c;background:#edf2e9;border-radius:10px;padding:14px}.a-details-table[open]>.a-panel{margin-top:12px}.a-filter-toggle{margin-bottom:14px}.a-filter-toggle>summary{cursor:pointer;color:#506d47;padding:12px 0;font-size:13px}.a-tabs{z-index:2;background:#f5f7f4;padding-top:12px;position:sticky;top:-28px}.a-filters{margin-bottom:16px}@media (width>=1500px){.av-line{max-height:330px}.av-people{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=1100px){.av-grid{grid-template-columns:1fr}.av-people{grid-template-columns:repeat(2,minmax(0,1fr))}.av-donut{max-width:185px}.av-summary>div{padding:16px}.av-summary strong{font-size:28px}}@media (width<=650px){.av-summary{grid-template-columns:1fr}.av-summary>div{grid-template-columns:1fr auto;align-items:center;display:grid}.av-summary strong{grid-area:1/2/3}.av-summary small{grid-column:1/-1}.av-people{grid-template-columns:1fr}.av-grid .a-panel{padding:16px}.av-donut-row{gap:10px}.av-donut{width:40%}.a-page .av-bar-row{grid-template-columns:95px minmax(0,1fr) 50px;gap:7px}.a-tabs{top:-16px}.av-line text{font-size:12px}}.a-queue-details>summary{cursor:pointer;color:#6b7f63;padding:10px 0;font-size:12px}.a-queue-details[open] .a-metrics{margin-top:10px}.av-panel:not(.av-wide) .av-line text{font-size:14px}.a-page .a-header{margin-bottom:12px}.a-page .a-status{margin:8px 0}.a-page .a-tabs{margin-top:12px}.av-summary>div{padding:17px}.av-summary strong{font-size:30px}.a-page{box-sizing:border-box;color:#243425;background:#f5f7f4;height:100%;padding:28px;font-size:14px;overflow:auto}.a-page *{box-sizing:border-box}.a-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.a-header h1{letter-spacing:-1px;margin:6px 0;font-size:32px}.a-header p,.a-muted,.a-status{color:#71806f}.a-eyebrow{letter-spacing:1.8px;color:#55764a;font-size:11px;font-weight:700}.a-page button,.a-page select,.a-page input{font:inherit;color:inherit;background:#fff;border:1px solid #dce4d7;border-radius:9px;min-height:36px;padding:9px 12px}.a-page button{cursor:pointer}.a-page button:hover{background:#eef4e9}.a-page button:disabled{cursor:default;color:inherit;opacity:.75}.a-page button:focus-visible,.a-page select:focus-visible,.a-page input:focus-visible{outline-offset:2px;outline:2px solid #567b3f}.a-header>div:last-child{gap:8px;display:flex}.a-filters{background:#fff;border:1px solid #e1e8dc;border-radius:16px;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;padding:18px;display:grid}.a-filters label{color:#596955;gap:6px;font-size:12px;display:grid}.a-filters input,.a-filters select{width:100%;min-width:0;font-size:13px}.a-page .a-primary{color:#fff;background:#426b32}.a-clock{border-top:1px solid #e8ece5;grid-column:1/-1;padding-top:10px}.a-clock summary,.a-definitions summary{cursor:pointer;color:#527147}.a-clock[open]{flex-wrap:wrap;display:flex}.a-clock label{width:180px;margin:12px 12px 0 0;display:inline-grid}.a-clock p,.a-definitions p{color:#74816f;font-size:12px;line-height:1.6}.a-status{margin:14px 0;font-size:12px}.a-status[role=alert]{color:#ad552d}.a-metrics{grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px;display:grid}.a-metrics button{text-align:left;border:1px solid #e1e8dc;border-radius:14px;gap:9px;padding:17px;display:grid;box-shadow:0 2px 6px #23321803}.a-metrics button strong{letter-spacing:-1px;font-size:29px}.a-metrics button span{color:#5f7058;font-size:12px}.a-metrics button small{color:#819079;font-size:11px}.a-tabs{border-bottom:1px solid #dce4d7;flex-wrap:wrap;gap:8px;margin:24px 0 18px;padding-bottom:10px;display:flex}.a-tabs button{background:0 0;border-color:#0000}.a-tabs button[aria-current]{color:#355c26;background:#e5eedc;font-weight:700}.a-panel{background:#fff;border:1px solid #e0e7dc;border-radius:15px;margin-bottom:16px;padding:18px}.a-panel h2,.a-attention h2{margin:0 0 10px;font-size:18px}.a-panel>header,.a-panel footer,.a-timeline header{justify-content:space-between;align-items:center;gap:12px;display:flex}.a-panel footer{margin-top:12px}.a-table-wrap{overflow:auto}.a-page table{border-collapse:collapse;width:100%;font-size:12px}.a-page th{text-align:left;color:#788671;white-space:nowrap;background:#f8faf6;font-weight:600}.a-page td,.a-page th{vertical-align:middle;border-bottom:1px solid #edf0e9;padding:12px 10px}.a-page td small{color:#809077;margin-top:4px;font-size:10px;display:block}.a-page td:first-child{min-width:165px}.a-page th button{background:0 0;border:0;min-height:24px;padding:0;font-size:12px}.a-page .a-link{color:#3e6f2d;text-align:left;background:0 0;border:0;padding:0}.a-page .a-bad{color:#b45d35;font-weight:700}.a-attention{background:#fcfaf2;border:1px solid #e6dfc8;border-radius:14px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:18px;display:flex}.a-attention p{color:#8a7855;margin:0;font-size:12px}.a-chart{align-items:stretch;gap:5px;height:170px;margin:16px 0;display:flex;overflow-x:auto}.a-chart-day{text-align:center;flex-direction:column;flex:1;min-width:12px;display:flex}.a-bars{justify-content:center;align-items:flex-end;gap:2px;height:140px;display:flex}.a-bars i{border-radius:3px 3px 0 0;width:40%;min-width:3px}.a-chart-day small{color:#85917e;margin-top:6px;font-size:9px}.incoming{background:#cbdcbc}.replies{background:#507e39}.a-dot{border-radius:3px;width:9px;height:9px;display:inline-block}.a-definitions{padding:12px 0}.a-timeline{border-top:1px solid #e3e8de;margin-top:20px;padding-top:16px}.a-timeline p{flex-wrap:wrap;gap:14px;display:flex}.a-timeline time{color:#7c8975;font-size:12px}.a-page details>table{margin-top:10px}@media (width>=1500px){.a-metrics{grid-template-columns:repeat(6,minmax(110px,1fr))}.a-filters{grid-template-columns:repeat(6,minmax(120px,1fr))}}@media (width<=850px){.a-page{padding:16px}.a-header,.a-attention{flex-direction:column;align-items:flex-start}.a-filters,.a-metrics{grid-template-columns:repeat(2,minmax(110px,1fr))}.a-header h1{font-size:26px}.a-tabs{gap:2px}.a-tabs button{padding:7px;font-size:12px}.a-panel{padding:12px}}:is(.shell:has(.a-page),.shell:has(.analytics-page)){grid-template-columns:232px minmax(0,1fr)}:is(.shell:has(.a-page)>.list-pane,.shell:has(.analytics-page)>.list-pane){display:none}.a-page{width:100%}.a-header>div:last-child{flex-wrap:wrap}.a-filters>button{align-self:end}.a-page td button{white-space:nowrap}@media (width>=1200px){.a-metrics{grid-template-columns:repeat(6,minmax(100px,1fr))}}.composer .schedule-send{white-space:nowrap;color:#3b6c2f;cursor:pointer;background:#fff;border:1px solid #d8e2d4;border-radius:12px;align-self:center;min-height:42px;padding:9px 13px;font-size:14px}.scheduled-form{gap:16px;max-width:700px;display:grid}.scheduled-form label{gap:7px;font-weight:600;display:grid}.scheduled-form input,.scheduled-form textarea,.scheduled-filters select{box-sizing:border-box;width:100%;font:inherit;background:#fff;border:1px solid #d7dfd3;border-radius:10px;padding:11px 13px}.scheduled-form footer{justify-content:flex-end;display:flex}.scheduled-recipient{gap:4px;margin:0;display:grid}.scheduled-recipient span,.scheduled-hint{color:#727b6e;font-size:13px}.scheduled-review{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7f2;border-radius:12px;max-height:220px;padding:16px;font-size:15px;overflow:auto}.scheduled-presets{flex-wrap:wrap;gap:8px;display:flex}.scheduled-presets button,.scheduled-card button,#scheduled-more,#scheduled-refresh{color:#3d6e2d;cursor:pointer;background:#fff;border:1px solid #dce3d6;border-radius:8px;width:auto;min-height:34px;padding:7px 11px;font-size:13px}.scheduled-presets button:hover,.scheduled-card button:hover{background:#edf4e8}.scheduled-card{background:#fff;border:1px solid #dce5d6;border-radius:12px;gap:7px;margin:10px 0;padding:13px 15px;font-size:14px;display:grid}.scheduled-card header{justify-content:space-between;align-items:center;gap:10px;display:flex}.scheduled-card small{color:#77816f}.scheduled-card .scheduled-recipient{color:#647358;font-size:12px}.scheduled-status{white-space:nowrap;background:#edf4e7;border-radius:12px;padding:3px 8px;font-size:11px}.scheduled-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;margin:2px 0;overflow:auto}.scheduled-card footer{flex-wrap:wrap;gap:7px;display:flex}.scheduled-error,.scheduled-warning{color:#944f19;background:#fff3e5;border-radius:8px;padding:9px 11px;font-size:13px}.scheduled-error:empty{display:none}.scheduled-warning{margin:0}.scheduled-card.failed,.scheduled-card.uncertain{border-color:#e6c6a2}.scheduled-filters{flex-wrap:wrap;gap:8px;display:flex}.scheduled-filters select{flex:1;min-width:160px;font-size:13px}.scheduled-thread{max-height:240px;margin:8px 18px;overflow:auto}.scheduled-thread summary{color:#467232;cursor:pointer;font-size:13px}.scheduled-thread .scheduled-text{max-height:65px}.scheduled-thread .scheduled-card{padding:10px 12px}.scheduled-file{color:#527244;margin:10px 0 0}@media (width<=700px){.composer .schedule-send{grid-column:auto;padding:8px;font-size:12px}.scheduled-card header{flex-wrap:wrap;align-items:flex-start}}#scheduled-badge,#scheduled-pending{white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:4px;width:auto;min-width:24px;height:24px;padding:0 7px;line-height:1;display:inline-flex}#scheduled-badge[hidden],#scheduled-pending[hidden]{display:none}#scheduled-badge.has-errors{background:#ac641e}#scheduled-badge.has-errors:before{content:"!";font-size:12px}[data-counter=myResponseRequired]{white-space:nowrap;flex-shrink:0}.scheduled-card .scheduled-primary{color:#fff;background:#426f30;border-color:#426f30}.scheduled-menu{min-width:36px;margin-left:auto}.scheduled-menu summary{cursor:pointer;text-align:center;border:1px solid #dce3d6;border-radius:8px;padding:4px 12px;font-size:20px;line-height:24px;list-style:none}.scheduled-menu summary::-webkit-details-marker{display:none}.scheduled-menu[open]{width:100%;display:block}.scheduled-menu[open] summary{float:right}.scheduled-menu>div{flex-wrap:wrap;gap:6px;padding-top:8px;display:flex}.scheduled-card button:disabled{opacity:.5;cursor:wait}.message .attachment-actions,.protected-attachment .attachment-actions{flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 0;padding:0;display:flex}.message .attachment-actions a,.message .attachment-actions button,.protected-attachment .attachment-actions a,.protected-attachment .attachment-actions button{min-height:34px;box-shadow:none;justify-content:center;align-items:center;gap:6px;font-family:inherit;text-decoration:none;color:#316e29!important;background:#fff!important;border:1px solid #dbe4d8!important;border-radius:9px!important;width:auto!important;margin:0!important;padding:6px 10px!important;font-size:13px!important;font-weight:600!important;line-height:1.3!important;display:inline-flex!important}.message .attachment-actions :is(a,button):hover{background:#eaf3e5!important;border-color:#8bad7b!important}.attachment-actions svg{flex-shrink:0;width:16px;height:16px}.attachment-actions button:disabled{opacity:.65;cursor:default}.message .attachment-player>strong{text-align:left;padding:8px 10px;font-size:13px;display:block}.attachment-player>img{cursor:zoom-in}.file-lightbox{z-index:10000;color:#fff;background:#152016ed;grid-template-rows:auto 1fr auto;padding:20px;display:grid;position:fixed;inset:0}.file-lightbox header{align-items:center;gap:12px;display:flex}.file-lightbox header strong{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.file-lightbox button{color:#fff;cursor:pointer;background:#ffffff18;border:1px solid #ffffff60;border-radius:8px;padding:8px 12px}.file-lightbox main{place-items:center;min-height:0;display:grid;overflow:auto}.file-lightbox img{object-fit:contain;max-width:100%;max-height:100%}.file-lightbox iframe{background:#fff;border:0;width:100%;height:100%}.file-lightbox footer{justify-content:center;gap:8px;padding-top:12px;display:flex}.file-lightbox [data-zoomed=true]{max-width:none;max-height:none}.email-details{gap:4px;margin:8px 0 12px;display:grid}.email-details b{font-size:17px;line-height:1.35}.email-details small{color:#697368;font-size:12px}.email-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}.email-body a{color:#287245;text-decoration:underline;width:auto!important;font-size:inherit!important;font-weight:inherit!important;background:0 0!important;border:0!important;margin:0!important;padding:0!important;display:inline!important}.email-history,.email-original{border-top:1px solid #e3e8e0;margin-top:14px;padding-top:10px}.email-history summary,.email-original summary{cursor:pointer;color:#657260;font-size:13px}.email-signature-preview{margin:8px 20px!important;padding:9px 12px!important}.email-signature-preview summary{align-items:center;font-size:13px!important}.email-signature-preview summary small{font-size:12px!important}.email-signature-preview:not([open]){background:0 0!important}.email-signature-preview p{font-size:13px}#ron-panel .ron-actions{gap:6px}#ron-panel .ron-actions button{padding:8px 10px;font-size:13px}.account-choices label{font-size:14px}.scope-filters{flex-wrap:wrap;gap:8px;padding:8px 16px;display:flex}.scope-filters select{background:#fff;border:1px solid #dbe4d8;border-radius:8px;min-width:140px;max-width:100%;padding:7px;font-size:13px}.message .inline-image{background:#f8faf6;border:1px solid #e2e7de;border-radius:12px;width:370px;max-width:100%;height:auto;min-height:220px;padding:10px;display:block;overflow:visible}.message .inline-image>[data-telegram-player]{gap:8px;width:100%;height:auto;display:grid;position:static}.message .inline-image img{object-fit:contain;cursor:zoom-in;width:100%!important;height:220px!important}.message [data-telegram-player]>strong{text-align:left;justify-self:start;font-size:13px;font-weight:600;text-align:left!important}.message .attachment-actions{width:100%;justify-content:flex-start!important;height:auto!important}#ron-content{flex:1;min-height:0;overflow:auto}#ron-content #ron-messages{flex:initial;max-height:none;overflow:visible}#ron-crm{background:#f3f7ef;border:1px solid #dce6d6;border-radius:14px;margin:0 0 14px;padding:14px;font-size:14px}#ron-crm:empty{display:none}.crm-assist-heading,.crm-assist-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.crm-assist-heading span{color:#5e7058;font-size:12px}#ron-crm label{margin:10px 0 5px;font-size:12px;display:block}#ron-crm select{background:#fff;border:1px solid #cedac8;border-radius:8px;width:100%;padding:8px;font-size:14px}#ron-crm button{border-radius:9px;min-height:32px;font-size:13px;width:auto!important;padding:7px 10px!important}#ron-crm .crm-assist-actions{justify-content:flex-start;margin-top:10px}#ron-crm p{margin:8px 0}.crm-assist-error{color:#a53b27}#ron-crm button{color:#347b26;cursor:pointer;background:#fff;border:1px solid #d8e3d4;border-radius:9px;padding:8px 12px;font-weight:600;line-height:1.3}#ron-crm button.primary{color:#fff;background:#4d9124;border-color:#4d9124}#ron-crm button:disabled{opacity:.55;cursor:default}#ron-crm button:focus-visible,#ron-crm select:focus-visible{outline-offset:2px;outline:2px solid #4d9124}#ron-crm button:hover:not(:disabled){filter:brightness(.97)}.accounts-page{box-sizing:border-box;background:#f6f8f5;height:100%;padding:24px;overflow:auto}.accounts-page header{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.accounts-page header>div{flex:1}.accounts-page h1{margin:0;font-size:26px}.accounts-page p,.accounts-page small{color:#687366}.accounts-filters{gap:12px;margin:20px 0;display:flex}.accounts-filters input{flex:1}.accounts-table{background:#fff;border:1px solid #dce2d8;border-radius:12px;overflow:auto}.accounts-table table{border-collapse:collapse;width:100%;font-size:14px}.accounts-table th,.accounts-table td{text-align:left;vertical-align:top;border-bottom:1px solid #e8ebe5;padding:14px}.accounts-table th{color:#66705e;font-size:12px}.accounts-table small{margin-top:6px;display:block}.accounts-table button{white-space:nowrap;margin-bottom:6px;padding:6px 9px;font-size:13px;display:block}.account-form,.account-result{background:#fff;border:1px solid #dce2d8;border-radius:12px;margin-top:20px;padding:20px}.account-fields{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}.account-form label{margin:10px 0;display:block}.account-form input:not([type=checkbox]),.account-form select,.account-result input{box-sizing:border-box;width:100%;display:block}.account-choices{flex-wrap:wrap;gap:12px;display:flex}.account-choices label{align-items:center;gap:6px;display:flex}.account-form fieldset{border:1px solid #dce2d8;border-radius:8px;margin:14px 0}.account-form input[type=checkbox]{width:18px;height:18px}.account-form [role=alert]{color:#a12727}.password-checks{padding:0;font-size:14px;line-height:1.8;list-style:none}.password-checks [data-valid=true]{color:#397e29}.password-checks [data-valid=false]{color:#6d726a}#template-library{box-sizing:border-box;z-index:80;border:1px solid #d5dece;border-radius:16px;overflow:auto;box-shadow:0 12px 45px #2313;width:min(680px,100vw - 40px)!important;height:auto!important;max-height:60vh!important;padding:16px!important;position:fixed!important;top:auto!important;bottom:100px!important;right:20px!important}#template-library header h2{margin:0;font-size:20px}#template-library>p{margin:6px 0;font-size:13px}#template-library #library-list{flex:initial;max-height:28vh;overflow:auto}#template-library .library-item{padding:9px 12px;font-size:15px}#template-library #library-preview:empty{display:none}#template-library .library-item small{text-overflow:ellipsis;white-space:nowrap;max-width:550px;display:block;overflow:hidden}#template-library #library-preview{flex:initial}#template-library #library-manage{padding:6px;font-size:13px}#template-library .library-row{border-bottom:1px solid #e3e8df;grid-template-columns:minmax(0,1fr) 40px;gap:4px;display:grid}#template-library .library-row details{grid-column:1/-1;padding:0 8px 6px;font-size:12px}#template-library .library-row details p{white-space:pre-wrap;font-size:14px}#template-library .library-row>button{min-width:0}#template-library .library-row>.secondary{align-self:start;padding:4px}.shell:has(.accounts-page){grid-template-columns:230px minmax(0,1fr)}.shell:has(.accounts-page)>.list-pane{display:none}.accounts-page button{border-radius:9px;min-height:38px;padding:9px 14px;line-height:1.35}.accounts-page input:not([type=checkbox]),.accounts-page select{min-height:40px;font:inherit;background:#fff;border:1px solid #d5ddcf;border-radius:8px;padding:9px 12px}.accounts-page .primary{color:#fff;background:#518d27;border:1px solid #518d27}.account-result input{margin:12px 0}.account-result button{margin-right:8px}.accounts-table td{line-height:1.45}@media (width<=900px){.shell:has(.accounts-page){grid-template-columns:1fr}.shell:has(.accounts-page)>.sidebar{display:none}.accounts-page{padding:16px}.accounts-filters{flex-wrap:wrap}}#access-setup{flex-direction:column;gap:8px;margin-top:22px;display:flex}#access-setup label{margin-top:10px;font-weight:600}#access-setup input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #d5ddcf;border-radius:9px;padding:12px}#access-setup input[readonly]{color:#45503f;background:#f3f5f1}#access-setup small{color:#687366}#access-setup button:disabled{cursor:not-allowed;color:#54614d;opacity:1;background:#dde5d7}#access-setup button[aria-busy=true]{cursor:wait}#access-setup .password-checks{margin:10px 0}.login-card:has(#access-setup){box-sizing:border-box;width:min(480px,100vw - 40px)}.login-status{overflow-wrap:anywhere}.accounts-table th,.accounts-table td{vertical-align:middle;padding:10px 12px}.accounts-table td:last-child{min-width:260px}.accounts-page .accounts-table button{border-radius:7px;justify-content:center;align-items:center;min-height:30px;margin:2px 4px 2px 0;padding:5px 8px;font-size:12px;display:inline-flex}.accounts-table small{margin-top:3px;font-size:12px}.accounts-table td{font-size:13px;line-height:1.35}.accounts-table tbody tr:hover{background:#f8faf6}:root{color:#20231f;font-synthesis:none;background:#f4f6f2;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{min-width:1120px}button,input,textarea{font:inherit}button{cursor:pointer}.shell{grid-template-columns:232px 410px minmax(480px,1fr);height:100dvh;min-height:0;display:grid;overflow:hidden}.sidebar{color:#fff;background:#20251f;flex-direction:column;min-height:0;padding:24px 16px;display:flex;overflow-y:auto}.logo{background:#fff;border-radius:4px;width:184px;padding:8px}.nav{gap:6px;display:grid}.department-nav{border-left:2px solid #dfe8dc;gap:4px;max-height:240px;margin:0 0 8px 12px;padding-left:10px;display:none;overflow:auto}.department-nav.visible{display:grid}.department-nav button{text-align:left;color:#536052;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:8px 10px}.department-nav button.active{color:#286d2d;background:#edf5ea;font-weight:700}.nav button{color:#dce2d9;text-align:left;background:0 0;border:0;border-radius:10px;padding:12px 14px}.badge{float:right;text-align:center;background:#4a9224;border-radius:12px;min-width:24px;padding:2px 7px}.staff-card{border-top:1px solid #414a3e;margin-top:auto;padding:18px 10px 4px}.staff-name{font-weight:700}.muted{color:#798078}.list-pane{background:#fff;border-right:1px solid #dde1da;flex-direction:column;min-height:0;display:flex;overflow:hidden}.pane-head{border-bottom:1px solid #e3e6e1;padding:26px 24px 18px}.pane-head h1{margin:0 0 16px;font-size:26px}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat{background:#f2f6ef;border-radius:10px;padding:10px}.stat strong{color:#397b1c;font-size:20px;display:block}.threads{padding:10px;overflow:auto}.thread{text-align:left;background:#fff;border:1px solid #e0e4de;border-radius:12px;width:100%;margin-bottom:9px;padding:14px}.thread:hover,.thread.active{background:#f8fbf6;border-color:#4a9224}.thread-top{justify-content:space-between;gap:10px;display:flex}.thread-title{font-weight:700;line-height:1.3}.thread-meta{color:#747b72;margin-top:8px;font-size:13px}.pill{white-space:nowrap;color:#397b1c;background:#e8f2e2;border-radius:12px;padding:4px 8px;font-size:12px}.pill.important{color:#b25a00;background:#fff0df}.chat-pane{flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.chat-head{background:#fff;border-bottom:1px solid #dde1da;justify-content:space-between;align-items:center;gap:18px;min-height:86px;padding:14px 24px;display:flex}.chat-title{white-space:nowrap;font-size:19px;font-weight:700}.chat-context{color:#777d75;margin-top:4px;font-size:13px}.chat-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.chat-actions select{background:#fff;border:1px solid #ccd2ca;border-radius:9px;max-width:220px;padding:8px 10px}.secondary{color:#397b1c;background:#fff;border:1px solid #4a9224;border-radius:9px;padding:8px 13px;font-weight:700}.messages{overscroll-behavior:contain;flex:1 1 0;min-height:0;padding:24px;overflow:auto}.message{background:#fff;border:1px solid #e0e4de;border-radius:14px 14px 14px 4px;max-width:70%;margin-bottom:14px;padding:11px 14px}.message.mine{background:#e9f4e3;border-color:#d2e6c8;border-radius:14px 14px 4px;margin-left:auto}.message-author{color:#438920;margin-bottom:4px;font-size:12px;font-weight:700}.message-identity{align-items:center;gap:8px;margin-bottom:7px;display:flex}.avatar{color:#344034;background:#eef1ed;border-radius:50%;flex:none;place-items:center;width:30px;height:30px;font-size:11px;font-weight:800;display:grid}.message.mine .avatar{color:#285f17;background:#cfe8c6}.identity-badge{color:#566056;background:#ecefeb;border-radius:999px;margin-right:5px;padding:2px 7px;font-size:10px;font-weight:700;display:inline-flex}.identity-badge.staff{color:#34711e;background:#dcf0d5}.identity-badge.partner{color:#765d21;background:#f4ead2}.identity-badge.system{color:#666;background:#ececec}.identity-detail{color:#7b837b;font-size:10px}.system-message{color:#737a73;text-align:center;background:#f0f2ef;border-radius:999px;width:max-content;max-width:80%;margin:10px auto;padding:5px 12px;font-size:11px}.thread-participant{align-items:center;gap:6px;margin:5px 0;font-size:12px;display:flex}.thread-preview{color:#5f675f;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;font-size:12px;display:grid}.thread-preview span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.thread-preview time{color:#929892;font-size:10px}.unread{background:var(--green);color:#fff;border-radius:10px;place-items:center;min-width:19px;height:19px;font-size:10px;display:grid}.thread-owner{margin-top:5px}.message-time{color:#8b918a;text-align:right;margin-top:5px;font-size:11px}.composer{background:#fff;border-top:1px solid #dde1da;gap:10px;padding:16px 22px;display:flex}.composer textarea{resize:none;border:1px solid #ccd2ca;border-radius:12px;flex:1;min-height:48px;max-height:130px;padding:12px}.primary{color:#fff;background:#4a9224;border:0;border-radius:11px;padding:0 20px;font-weight:700}.primary:disabled{cursor:wait;opacity:.7}.mobile-back{display:none}.empty{text-align:center;color:#737a71;max-width:360px;margin:auto}.login{place-items:center;min-height:100vh;display:grid}.login-card{background:#fff;border-radius:18px;width:420px;padding:34px;box-shadow:0 16px 50px #26352218}.login-card .logo{margin:0 auto 28px;display:block}.login-card h1{margin:0 0 8px}.phone-label{margin-top:22px;font-size:13px;font-weight:700;display:block}.phone-field{border:1px solid #cbd1c8;border-radius:10px;align-items:center;margin:7px 0 12px;display:flex;overflow:hidden}.phone-field:focus-within{border-color:#4a9224;box-shadow:0 0 0 3px #4a92241f}.phone-field span{padding:13px 0 13px 13px;font-weight:700}.login-card .phone-field input{border:0;outline:0;width:100%;margin:0;padding:13px 13px 13px 5px}.login-card button{width:100%;min-height:48px}.login-card button:disabled{cursor:wait;opacity:.7}.login-status{color:#4f584d;min-height:21px;margin-top:14px;line-height:1.45}.login-tabs{background:#f1f4ef;border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;margin:24px 0 20px;padding:4px;display:grid}.login-card .login-tabs button{color:#596157;background:0 0;border:0;border-radius:9px;min-height:42px;font-weight:700}.login-card .login-tabs button.active{color:#2f7f24;background:#fff;box-shadow:0 2px 8px #20331b14}#password-login{gap:8px;display:grid}#password-login[hidden],#phone-login[hidden]{display:none}#password-login label,.phone-label{margin-top:3px;font-weight:700}#password-login input{box-sizing:border-box;width:100%;min-height:48px;font:inherit;border:1px solid #cbd1c8;border-radius:10px;outline:none;margin:0 0 6px;padding:12px 14px}#password-login input:focus{border-color:#4a9224;box-shadow:0 0 0 3px #4a92241f}#password-login button{margin-top:6px}.connection-error{color:#454d43;flex-direction:column;gap:10px;padding:24px;display:flex}.connection-error strong{color:#ad382a}.connection-error button{align-self:flex-start}.error{color:#a33a2b;margin-top:12px}:root{--green:#2f7d32;--green-soft:#eaf5e8;--ink:#1d211d;--muted:#667066;--line:#e1e5df;--surface:#fff;--canvas:#f5f7f5}body{background:var(--canvas);min-width:0;color:var(--ink)}button,select,input,textarea{font:inherit}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #2f7d3240}.shell{background:var(--canvas);grid-template-columns:232px minmax(330px,390px) minmax(460px,1fr)}.sidebar{color:var(--ink);border-right:1px solid var(--line);background:#fff;padding:16px 12px}.sidebar .logo{width:148px;padding:4px}.product{color:var(--muted);margin:7px 4px 14px;font-size:12px}.nav{gap:3px}.nav button{color:#4d554d;align-items:center;gap:9px;padding:9px 10px;font-size:14px;font-weight:600;display:flex}.nav-icon{text-align:center;color:#6e776d;width:18px}.nav .badge{float:none;min-width:21px;margin-left:auto;padding:1px 6px;font-size:11px}.nav button.active,.nav button:hover{color:#245f27;background:var(--green-soft)}.badge{background:var(--green);color:#fff}.staff-card{border-top-color:var(--line)}.admin-link{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:9px;margin-top:10px;padding:9px 10px;font-size:13px}.sidebar-create{background:var(--green);color:#fff;border:0;border-radius:9px;width:100%;min-height:40px;margin-bottom:9px;font-weight:700}.sidebar-search{gap:4px;margin-bottom:12px;display:flex}.sidebar-search input{border:1px solid var(--line);border-radius:8px;width:100%;min-width:0;padding:8px;font-size:12px}.sidebar-search button{width:34px;color:var(--green);background:#edf5ea;border:0;border-radius:8px;flex:none}.department-nav{grid-auto-rows:max-content;align-content:start;width:calc(100% - 22px);max-height:260px;margin:3px 0 6px 22px;padding-left:7px;overflow-x:hidden}.department-nav button{grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:7px;width:100%;min-width:0;padding:8px 6px 8px 9px;font-size:12px;display:grid;overflow:hidden}.department-nav button>span{white-space:normal;overflow-wrap:anywhere;min-width:0;line-height:1.25}.department-nav b{background:var(--green);color:#fff;text-align:center;border-radius:11px;justify-self:end;place-items:center;width:22px;min-width:22px;height:22px;padding:0;font-size:10px;display:grid}.staff-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;width:100%;margin-top:8px;padding:12px 8px;font-size:13px;display:flex}.admin-shortcut{color:#788077;text-align:left;background:0 0;border:0;width:100%;min-height:32px;margin:6px 0 0;padding:4px 8px;font-size:11px}.admin-shortcut:hover{color:var(--green);text-decoration:underline}.staff-card span{gap:2px;display:grid}.staff-card small{color:var(--muted);font-weight:400}.staff-card b{color:var(--green)}.list-pane{box-shadow:4px 0 18px #18211608}.pane-head{padding:22px 20px 14px}.pane-head h1{font-size:23px}.stat{background:#f4f8f3}.stat strong{color:var(--green)}.filters{gap:6px;margin-top:14px;display:flex}.filters input{border:1px solid var(--line);border-radius:9px;flex:1;min-width:0;padding:10px 12px}.filters button{color:#fff;background:var(--green);border:0;border-radius:9px;width:40px;font-size:20px}.thread{--channel-color:var(--green);--channel-soft:var(--green-soft);padding-left:18px;transition:all .15s;position:relative;overflow:hidden}.thread:before{content:"";background:var(--channel-color);width:4px;position:absolute;inset:0 auto 0 0}.thread.channel-telegram{--channel-color:#229ed9;--channel-soft:#eaf6fd}.thread.channel-email{--channel-color:#e58a25;--channel-soft:#fff4e7}.thread.channel-internal{--channel-color:#6750a4;--channel-soft:#f2eefb}.thread.channel-app{--channel-color:#2f7d32;--channel-soft:#eaf5e8}.channel-label{background:var(--channel-soft);width:max-content;color:var(--channel-color);border-radius:999px;align-items:center;gap:5px;margin:4px 0 2px;padding:2px 7px;font-size:10px;font-weight:700;display:flex}.channel-label>span{background:currentColor;border-radius:50%;width:6px;height:6px}.thread:hover,.thread.active{background:#fbfdfb;border-color:#86b987;transform:translateY(-1px)}.chat-pane{background:#f7f9f7}.chat-head{--channel-color:var(--green);grid-template-columns:minmax(0,1fr) minmax(280px,42%);align-items:start;min-height:86px;padding:12px 18px;display:grid}.chat-head.channel-telegram{--channel-color:#229ed9}.chat-head.channel-email{--channel-color:#e58a25}.chat-head.channel-internal{--channel-color:#6750a4}.chat-heading{min-width:0}.chat-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-context{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35;display:-webkit-box;overflow:hidden}.header-channel-label{color:var(--channel-color);font-weight:700}.chat-actions{justify-self:end;min-width:0;max-width:100%}.chat-actions select{border-color:var(--line)}.context-card{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin:12px 20px 0;padding:14px 16px;display:flex}.context-primary{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 10px;min-width:0;display:grid}.context-primary strong{font-size:18px;line-height:1.25}.context-address{color:#505a50;grid-column:1/-1;font-size:14px;line-height:1.35}.context-address:before{content:"Адрес: ";color:var(--muted)}.context-address-missing{color:var(--muted);font-size:12px}.context-owner{color:var(--muted);text-align:right;flex:none;max-width:220px}.context-kind{color:var(--green);background:var(--green-soft);border-radius:8px;padding:4px 8px}.typing{height:22px;color:var(--muted);padding:5px 24px 0;font-size:12px}.load-older{color:var(--green);background:0 0;border:0;align-self:center;font-size:12px}.messages{padding:16px 24px 24px}.message{box-shadow:0 3px 14px #1d2d1a0a}.message.mine{background:#eaf5e8;border-color:#cce3ca}.quote{border:0;border-left:3px solid var(--green);width:100%;color:var(--muted);text-align:left;background:#ffffff90;gap:2px;margin-bottom:7px;padding:7px 9px;font-size:12px;display:grid}.quote strong{color:var(--green)}.important-marker{color:#8b6b16;background:#fff3c9;border-radius:999px;align-self:start;margin-left:auto;padding:3px 7px;font-size:11px}.message.is-important{box-shadow:0 0 0 2px #e2c96b66}.message-footer{color:#828a82;justify-content:flex-end;gap:5px;margin-top:5px;font-size:11px;display:flex}.message-tools{opacity:0;gap:7px;margin-top:6px;transition:opacity .15s;display:flex}.message:hover .message-tools,.message:focus-within .message-tools{opacity:1}.message-tools button{color:var(--green);background:0 0;border:0;padding:0;font-size:11px}.image-attachment img{object-fit:cover;border-radius:10px;max-width:min(360px,100%);max-height:280px;margin-top:8px;display:block}.file-attachment{color:var(--green);background:#fff;border-radius:9px;margin-top:8px;padding:10px;text-decoration:none;display:block}.audio-attachment{gap:6px;margin-top:9px;display:grid}.audio-attachment audio{width:min(420px,100%);height:42px}.audio-attachment a{color:var(--green);font-size:12px;text-decoration:none}.protected-attachment{justify-items:start;gap:6px;margin-top:8px;display:grid}.protected-file-button{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--green);cursor:pointer;background:#fff;border:1px solid #cfe0ca;border-radius:10px;padding:10px 12px;font-weight:650;overflow:hidden}.protected-file-button:disabled{cursor:wait;opacity:.7}.protected-file-status{color:var(--muted);font-size:11px}.telegram-attachment{justify-items:start;gap:10px;margin-top:12px;display:grid}.telegram-attachment audio,.telegram-attachment video{width:min(520px,100%)}.telegram-attachment img{object-fit:contain;background:#f3f5f1;border-radius:14px;max-width:min(520px,100%);max-height:420px;display:block}.telegram-attachment a{color:var(--green);font-weight:700;text-decoration:none}.telegram-attachment button[aria-busy=true]{opacity:.72;cursor:wait}.composer{align-items:center;padding:12px 18px}.attach-button{width:42px;height:42px;color:var(--green);cursor:pointer;background:#eef3ed;border-radius:10px;place-items:center;font-size:24px;display:grid}.attach-button input{display:none}.reply-preview{color:var(--muted);border-top:1px solid var(--line);background:#f5f8f4;justify-content:space-between;align-items:center;gap:12px;padding:8px 20px;font-size:12px;display:flex}.reply-preview>div{gap:2px;min-width:0;display:grid}.reply-preview span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply-preview button{color:var(--green);background:0 0;border:0}.security-note{color:var(--muted);text-align:right;background:#fff;padding:0 20px 10px;font-size:11px}.closed-banner{text-align:center;color:#5f675e;border-top:1px solid var(--line);background:#f2f5f1;gap:6px;padding:16px 24px;line-height:1.45;display:grid}.closed-banner strong{color:var(--ink);font-size:15px}.skeleton-list{gap:10px;padding:14px;display:grid}@keyframes shimmer{to{background-position:-200% 0}}.admin-page{width:100%;padding:26px;overflow:auto}.admin-head{justify-content:space-between;align-items:center;display:flex}.admin-head h2{margin:3px 0 0;font-size:28px}.eyebrow{color:var(--green);text-transform:uppercase;letter-spacing:.09em;font-size:11px;font-weight:700}.admin-head .primary{min-height:42px}.admin-section{border:1px solid var(--line);background:#fff;border-radius:15px;margin-top:18px;padding:18px}.admin-section h3{margin:0 0 14px}.admin-table{display:grid}.admin-row{border-top:1px solid #edf0ec;grid-template-columns:minmax(150px,1.3fr) minmax(150px,1fr) minmax(130px,1fr) 100px;align-items:center;gap:12px;padding:11px 4px;display:grid}.admin-row:first-child{border:0}.admin-row span{min-width:0}.admin-row small{color:var(--muted);margin-top:3px;display:block}.admin-row select{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;padding:8px}.admin-labels{color:var(--muted);font-size:12px}.toggle{color:#a33a2b;background:#fff5f4;border:1px solid #e0b4b0;border-radius:8px;padding:8px}.toggle.off{background:var(--green-soft);color:var(--green);border-color:#a9d0aa}.cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.cards article{border:1px solid var(--line);border-radius:10px;gap:5px;padding:12px;display:grid}.cards span,.cards small{color:var(--muted)}.audit-list>div{border-top:1px solid #edf0ec;justify-content:space-between;padding:9px 0;display:flex}.audit-list time{color:var(--muted);font-size:12px}.empty-inline{color:var(--muted);padding:8px 0}.section-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title h3{margin:0}.directory-form,.unit-form{background:#f6f9f5;border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:9px;margin:14px 0;padding:14px;display:grid}.directory-form[hidden]{display:none}.directory-form input,.directory-form select,.unit-form input,.unit-form select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:0;padding:9px}.directory-form .primary{min-height:40px}.check{align-items:center;gap:7px;font-size:13px;display:flex}.directory-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px;margin-top:12px;display:grid}.directory-cards article{border:1px solid var(--line);border-radius:10px;gap:5px;padding:12px;display:grid}.directory-cards span,.directory-cards small{color:var(--muted)}.directory-cards .pill{color:var(--green);width:max-content}.admin-tabs{z-index:3;border-bottom:1px solid var(--line);background:#f7f9f7;gap:6px;padding:10px 18px;display:flex;position:sticky;top:0;overflow-x:auto}.admin-tabs button{border:1px solid var(--line);color:#586057;white-space:nowrap;background:#fff;border-radius:9px;min-height:38px;padding:8px 14px}.admin-tabs button.active{border-color:var(--green);background:var(--green-soft);color:var(--green);font-weight:700}.admin-section[hidden]{display:none!important}.credential-list{gap:8px;margin-top:12px;display:grid}.credential-list article{border:1px solid var(--line);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.credential-list article>div{gap:4px;display:grid}.credential-list small{color:var(--muted)}.onboarding-steps{line-height:1.5}.onboarding-steps ol{gap:8px;padding-left:22px;display:grid}.login-help{color:var(--muted);text-align:center;margin:14px 0 0;font-size:13px}.unit-list{flex-wrap:wrap;gap:8px;display:flex}.unit-list>span{border:1px solid var(--line);background:#fafcfa;border-radius:9px;padding:7px 9px}.unit-list small{color:var(--muted)}.error-page{text-align:center;margin:auto}.dialog-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#14201580;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.workspace-dialog{background:#fff;border-radius:18px;width:min(620px,100%);max-height:min(760px,90vh);overflow:auto;box-shadow:0 24px 80px #101a1040}.workspace-dialog>header{z-index:1;border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 16px;display:flex;position:sticky;top:0}.workspace-dialog h2{margin:3px 0 0;font-size:23px}.dialog-close{color:#5a6259;background:#f0f3ef;border:0;border-radius:50%;width:36px;height:36px;font-size:24px}.dialog-body{padding:20px 24px 24px}.dialog-hint{color:var(--muted);margin:0 0 15px;line-height:1.45}.entity-options{gap:9px;display:grid}.entity-options button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:11px;grid-template-columns:auto 1fr;align-items:center;gap:5px 10px;width:100%;padding:13px;display:grid}.entity-options button:hover{background:#f8fbf7;border-color:#8fbd84}.entity-options small{color:var(--muted);grid-column:2}.wizard-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.wizard-steps span,.wizard-steps b{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;background:#f1f4ef;border-radius:9px;padding:9px 10px;font-size:12px;overflow:hidden}.wizard-steps b{color:var(--green-dark);background:#e5f1e1}.responsible-button{white-space:normal;max-width:320px;min-height:42px;line-height:1.2}.context-address{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dialog-search{margin-bottom:12px;display:block}.dialog-search input{width:100%;min-height:46px;font:inherit;border:1px solid #ccd3ca;border-radius:9px;padding:10px 12px}.empty-inline{color:var(--muted);text-align:center;background:#f5f7f4;border-radius:10px;padding:18px}.skeleton-list{gap:9px;width:100%;display:grid}.skeleton-list i{background:linear-gradient(90deg,#f0f2ef,#fafbfa,#f0f2ef) 0 0/220% 100%;border-radius:11px;height:62px;animation:1.2s infinite pulse;display:block}@keyframes pulse{to{background-position:-220% 0}}@media (width<=760px){.wizard-steps{grid-template-columns:1fr}.responsible-button{max-width:100%}}.dialog-form{gap:15px;display:grid}.dialog-form label{gap:7px;font-size:13px;font-weight:700;display:grid}.dialog-form input,.dialog-form select{background:#fff;border:1px solid #ccd3ca;border-radius:9px;width:100%;min-height:46px;padding:10px 12px}.dialog-form textarea{resize:vertical;width:100%;min-height:120px;font:inherit;background:#fff;border:1px solid #ccd3ca;border-radius:9px;padding:10px 12px}.dialog-form footer{justify-content:flex-end;gap:9px;padding-top:5px;display:flex}.dialog-form footer .primary{min-height:42px}.dialog-error{color:#ae392b;min-height:18px;font-size:13px}.quiet-action{color:#536052;border-color:#aeb8aa}.response-action{border-top:1px solid var(--line);color:#5c655b;background:#f5f7f4;justify-content:space-between;align-items:center;gap:12px;padding:9px 18px;font-size:13px;display:flex}.response-action>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.thread-reminder{color:#2f7d32;font-size:12px;font-weight:700}.send-button{min-width:150px;min-height:50px;font-size:15px}.profile-summary{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding-bottom:16px;display:flex}.profile-summary .avatar{width:44px;height:44px}.profile-summary div{gap:3px;display:grid}.profile-summary small,.profile-section p{color:var(--muted)}.profile-section{border-bottom:1px solid var(--line);padding:16px 0}.profile-section:last-child{border:0}.profile-section h3{margin:0 0 7px}.profile-section p{margin:0 0 12px;line-height:1.45}.profile-actions{flex-wrap:wrap;gap:8px;display:flex}.danger{color:#a33a2b;border-color:#d8aaa4}.preference-row,.session-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:12px 0;display:flex}.preference-row span,.session-list>div>span{gap:3px;display:grid}.preference-row small,.session-list small{color:var(--muted)}.preference-row input{width:20px;height:20px;accent-color:var(--green);flex:none}.session-list{margin:8px 0 14px;display:grid}.session-revoke{min-height:38px;padding:8px 12px}.participant-list{gap:7px;margin-bottom:20px;display:grid}.participant-list>div{border:1px solid var(--line);border-radius:10px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;display:grid}.participant-list span:nth-child(2){gap:2px;display:grid}.participant-list small,.participant-results small{color:var(--muted)}.participant-remove{color:#a43b2e;background:0 0;border:0;font-size:12px}.participant-add{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:14px;display:grid}.participant-add h3{grid-column:1/-1;margin:0 0 2px}.participant-add input,.participant-add select{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:0;padding:10px}.participant-results{color:var(--muted);grid-column:1/-1;gap:6px;display:grid}.participant-results button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.participant-results button span{gap:2px;display:grid}.participant-results button b{color:var(--green);font-size:12px}.forward-preview{background:#f4f7f3;border-radius:10px;gap:4px;margin-bottom:12px;padding:12px;display:grid}.forward-preview span{color:var(--muted)}.dialog-search input{border:1px solid var(--line);border-radius:9px;width:100%;min-height:44px;margin-bottom:12px;padding:10px 12px}@media (width<=1100px){.shell{grid-template-columns:76px 340px minmax(420px,1fr)}.sidebar{padding:18px 8px}.sidebar .logo{width:60px}.product,.nav button{font-size:0}.nav button:first-letter{font-size:16px}.badge{font-size:11px}.staff-card,.admin-link{padding:9px 5px;font-size:11px;overflow:hidden}.chat-head{grid-template-columns:minmax(150px,1fr)}.chat-actions{grid-column:1/-1;width:100%;max-width:none}}@media (width<=820px){.shell{grid-template-columns:64px minmax(270px,1fr)}.chat-pane{z-index:5;display:none;position:fixed;inset:0 0 0 64px}:is(.chat-pane:has(.chat-head),.chat-pane:has(.admin-page)){display:flex}.mobile-back{background:var(--green-soft);width:38px;height:38px;color:var(--green);border:0;border-radius:9px;flex:none;place-items:center;font-size:30px;line-height:1;display:grid}.chat-heading{min-width:0;margin-right:auto}.chat-title,.chat-context{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-head{grid-template-columns:auto minmax(0,1fr);align-items:start}.chat-heading{grid-column:2}.chat-actions{flex-wrap:nowrap;grid-column:1/-1;justify-content:flex-start;width:100%;max-width:none;padding-bottom:2px;overflow-x:auto}.chat-actions>*{flex:none}.context-card{margin:8px 10px 0}.messages{padding:12px}.message{max-width:88%}.composer{padding:10px}.security-note{display:none}}.thread-context{color:#667068;flex-direction:column;gap:2px;margin-top:7px;font-size:13px;line-height:1.3;display:flex}.thread-context strong{color:#4b554d;font-weight:650}.thread-context span{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.duty-sidebar{border:1px solid var(--line,#dfe5dc);background:#f7faf5;border-radius:12px;gap:7px;margin-top:auto;margin-bottom:10px;padding:12px;display:grid}.duty-sidebar>small{color:#6d776b}.duty-sidebar strong{font-size:13px;line-height:1.35}.duty-sidebar button{width:100%;margin-top:4px}.duty-person{border-top:1px solid #e2e8df;gap:1px;padding-top:6px;display:grid}.duty-person span{color:#6d776b;font-size:11px;line-height:1.3}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.dialog-notice{color:#596357;background:#f4f7f3;border-radius:10px;padding:12px;line-height:1.45}.login-history{gap:8px;display:grid}.login-history>div{border-bottom:1px solid #e5e9e3;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.login-history small{color:#737d71}.permission-check{color:#596357;align-items:center;gap:6px;margin-top:7px;font-size:12px;display:flex}.permission-check input{width:auto}.cards article button{margin-top:8px}@media (width<=640px){.form-grid{grid-template-columns:1fr}}.channel-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.channel-card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:14px;padding:18px;display:grid}.channel-card.is-on{background:#fbfefb;border-color:#b9d7b3}.channel-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.channel-card-head>div{gap:4px;display:grid}.channel-card-head small,.channel-card>small{color:var(--muted)}.channel-state{white-space:nowrap;color:#667066;background:#f0f2ef;border-radius:999px;padding:5px 9px;font-size:12px}.channel-state.ok{color:#287826;background:#e3f2df}.channel-state.ready{color:#765a12;background:#fff4d8}.channel-metrics{flex-wrap:wrap;gap:14px;display:flex}.channel-metrics span{color:var(--muted);font-size:12px;display:grid}.channel-metrics b{color:#202420;font-size:20px}.channel-fixed{color:var(--muted);font-size:12px}.communication-summary{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.communication-summary span{color:var(--muted);background:#f3f7f2;border-radius:10px;padding:10px 12px}.communication-summary b{color:var(--green)}.route-list,.identity-list{gap:9px;margin-top:14px;display:grid}.route-list article,.identity-list article{border:1px solid var(--line);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.route-list article>div,.identity-list article>div{gap:4px;display:grid}.route-list span,.identity-list span,.route-list small,.identity-list small{color:var(--muted)}.diagnostic-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.diagnostic-grid h4{margin:0 0 10px}.diagnostic-grid article{border:1px solid var(--line);border-radius:10px;gap:4px;margin-bottom:8px;padding:12px;display:grid}.diagnostic-grid small{color:var(--muted)}.diagnostic-grid button{justify-self:start;margin-top:6px}.permission-stack{color:var(--muted);grid-template-columns:1fr 1fr;gap:4px 10px;margin-top:8px;font-size:11px;display:grid}.permission-stack label{align-items:center;gap:5px;display:flex}.permission-stack input{width:auto}.communications-admin .section-title p,.admin-section .section-title p{color:var(--muted);margin:4px 0 0}.section-actions{flex-wrap:wrap;gap:8px;display:flex}.email-account-summary{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:3px;padding:9px 0;display:grid}.email-account-summary span{overflow-wrap:anywhere;font-weight:700}.email-account-summary small{color:var(--muted)}.email-server-settings{border:1px solid var(--line);border-radius:8px;padding:12px}.email-server-settings summary{cursor:pointer;font-weight:700}.email-server-settings[open] summary{margin-bottom:14px}.email-account-form .email-owner-field[hidden]{display:none}.channel-actions .icon-button.danger{color:#9f2f2f;background:#fff;border-color:#e4c4c4;width:42px;min-width:42px}@media (width<=640px){.section-actions{width:100%}.section-actions button{flex:1}.channel-actions,.email-account-form footer{flex-wrap:wrap}.email-account-form footer button{flex:1}}@media (width<=900px){.diagnostic-grid{grid-template-columns:1fr}.route-list article,.identity-list article{flex-direction:column;align-items:flex-start}.permission-stack{grid-template-columns:1fr}}.content-filters{border:1px solid var(--line);background:#f6f8f5;border-radius:8px;gap:12px;margin-top:16px;padding:14px;display:grid}.content-category-tabs{gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.content-category-tabs button{white-space:nowrap;border:1px solid var(--line);color:var(--text);background:#fff;border-radius:7px;align-items:center;gap:7px;padding:8px 11px;font-weight:650;display:inline-flex}.content-category-tabs button span{min-width:22px;color:var(--muted);text-align:center;background:#eef2ed;border-radius:12px;padding:2px 6px;font-size:12px}.content-category-tabs button.active{border-color:var(--green);color:var(--green);background:#eaf4e5}.content-category-tabs button.active span{background:var(--green);color:#fff}.content-filter-row{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.content-filter-row label{color:var(--muted);gap:5px;font-size:13px;display:grid}.content-filter-row select{background:#fff;min-width:170px}.content-filter-result{color:var(--muted);margin-left:auto;padding:9px 0;font-size:13px}.content-admin-list{gap:9px;margin-top:14px;display:grid}.content-admin-list article{border:1px solid var(--line);border-radius:8px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.content-admin-list article[hidden]{display:none}.content-admin-list article>div:nth-child(2){gap:3px;display:grid}.content-admin-list span,.content-admin-list small{color:var(--muted)}.content-preview{width:64px;height:48px;color:var(--green);background:#f1f4ef;border-radius:7px;place-items:center;font-size:22px;display:grid;overflow:hidden}.content-preview img{object-fit:cover;width:100%;height:100%}.content-item-form small{color:var(--muted);font-weight:400}.content-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.content-filter-empty{margin-top:14px}@media (width<=640px){.content-filter-row{grid-template-columns:1fr 1fr;display:grid}.content-filter-row select{width:100%;min-width:0}.content-filter-result{grid-column:1/-1;margin-left:0}.content-admin-list article{grid-template-columns:52px minmax(0,1fr)}.content-actions{grid-column:1/-1;justify-content:flex-start}.content-preview{width:52px}}.channel-actions{flex-wrap:wrap;gap:8px;display:flex}.candidate-options{gap:8px;max-height:340px;display:grid;overflow:auto}.candidate-options button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.candidate-options button:hover{border-color:var(--green);background:#f7fbf5}.candidate-options small{color:var(--muted)}.thread-participant small{color:var(--muted);font-weight:400}.member-request-card{border:1px solid var(--line);background:#fff;border-radius:14px;gap:12px;margin:14px;padding:18px;display:grid;box-shadow:0 5px 18px #1b30120a}.member-request-card header{justify-content:space-between;align-items:center;gap:12px;display:flex}.member-request-card header>div{align-items:center;gap:9px;display:flex}.member-request-card h3{margin:0;font-size:17px}.member-request-context{color:var(--muted);gap:4px;margin:0;display:grid}.member-request-context strong{color:var(--text)}.member-request-card dl{gap:7px;margin:0;display:grid}.member-request-card dl>div{grid-template-columns:140px 1fr;gap:10px;display:grid}.member-request-card dt{color:var(--muted)}.member-request-card dd{overflow-wrap:anywhere;margin:0}.member-request-card time{color:var(--muted);font-size:12px}.member-request-card footer{flex-wrap:wrap;gap:8px;padding-top:3px;display:flex}.member-request-card footer button{border-radius:9px;min-height:38px;padding:0 14px}.danger-secondary{color:#a43d30;background:#fff;border:1px solid #d7a49c;font-weight:700}.crm-link166{gap:12px;display:grid}.crm-search166{gap:8px;display:flex}.crm-search166 input{flex:1;min-width:0}.crm-search166 input,.crm-search166 select,.crm-chosen166 select{font:inherit;border:1px solid #d8e1d4;border-radius:10px;padding:10px}.crm-link166 .candidate-options{max-height:42vh;overflow:auto}.crm-link166 .candidate-options button{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px;display:flex}.crm-chosen166{background:#eef5e8;border-radius:12px;gap:10px;padding:14px;display:grid}.crm-replace166{align-items:center;gap:8px;font-size:13px;display:flex}.crm-replace166 input{width:auto}@media (width<=640px){.crm-search166{flex-direction:column}}.crm-link166 button.primary{white-space:normal;min-height:42px;padding:10px 16px;line-height:1.35}.crm-chosen166 label{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-result-group167{gap:8px;display:grid}.crm-result-group167 h3{color:var(--muted);margin:4px 0;font-size:13px;font-weight:650}.application-panel{z-index:120;box-sizing:border-box;background:#fff;width:min(520px,100vw);padding:24px;position:fixed;top:0;bottom:0;right:0;overflow:auto;box-shadow:-8px 0 40px #152e4933}.application-panel header{justify-content:space-between;gap:16px;display:flex}.application-panel h2{margin:6px 0 16px}.application-panel form{gap:14px;display:grid}.application-panel label{gap:6px;font-size:13px;font-weight:600;display:grid}.application-panel input,.application-panel textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid #ccd6e0;border-radius:8px;padding:10px}.application-panel footer{flex-wrap:wrap;gap:8px;display:flex}.application-panel [role=status]{font-size:13px;line-height:1.5}.application-panel button{cursor:pointer}.content-item-form fieldset[data-news-fields]{background:#f8faf5;border:1px solid #dfe6d9;border-radius:16px;gap:12px;padding:18px;display:grid}.content-item-form [data-news-fields][hidden]{display:none}.news-editor-preview{background:#fff;border:1px solid #e4e9de;border-radius:20px;max-width:540px;margin:12px auto;overflow:hidden;box-shadow:0 12px 36px #2034160c}.news-preview-cover{aspect-ratio:16/9;background:#eaf0e3;place-items:center;display:grid}.news-preview-cover img{object-fit:cover;width:100%;height:100%}.news-preview-copy{padding:24px}.news-preview-copy small{color:#548d22;font-weight:700}.news-preview-copy h2{margin:12px 0 16px;font-size:27px;line-height:1.2}.news-preview-subtitle{color:#687065;font-size:17px;line-height:1.5}.news-preview-text{white-space:pre-wrap;font-size:15px;line-height:1.7}.content-item-form [hidden]{display:none!important}.news-cover-layout{grid-template-columns:1fr 1fr;gap:16px;display:grid}.news-cover-layout figure{min-width:0;margin:0}.news-cover-layout figcaption{margin-bottom:8px;font-weight:600}.news-cover-layout p{color:#687466;grid-column:1/-1;margin:0;font-size:13px}.news-cover-slot{aspect-ratio:16/9;color:#687466;background:#f3f5ef;border-radius:12px;place-items:center;display:grid;overflow:hidden}.news-cover-slot img{object-fit:cover;width:100%;height:100%}.news-cover-banner{aspect-ratio:1.85}.news-cover-banner img{object-fit:contain}@media (width<=640px){.news-cover-layout{grid-template-columns:1fr}}.workspace-dialog.content-dialog{flex-direction:column;display:flex;overflow:hidden}.content-dialog>.dialog-body{min-height:0;overflow-y:auto}.content-dialog>footer{background:#fff;border-top:1px solid #dfe5da;flex-shrink:0;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.content-dialog>header{flex-shrink:0}@media (width>=1101px){.chat-head{grid-template-columns:minmax(0,1fr) minmax(560px,58%)}.chat-actions{grid-template-rows:repeat(2,minmax(42px,auto));grid-auto-columns:minmax(0,max-content);grid-auto-flow:column;justify-content:end;align-items:stretch;gap:8px;width:100%;display:grid}.chat-actions>button,.chat-actions>select{max-width:100%;min-height:42px}}@media (width<=1100px) and (width>=821px){.chat-actions{grid-template-rows:repeat(2,minmax(42px,auto));grid-auto-columns:minmax(0,max-content);grid-auto-flow:column;justify-content:end;align-items:stretch;gap:8px;display:grid;overflow-x:auto}.chat-actions>*{min-height:42px}}.dialog-body .primary{min-height:44px;padding:10px 20px;line-height:1.35}.email-signature-preview{color:#394436;background:#f7faf5;border:1px solid #dce5d7;border-radius:12px;flex-shrink:0;margin:8px 24px 16px;padding:0 14px;font-size:13px}.email-signature-preview summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:48px;font-weight:600;list-style:none;display:flex}.email-signature-preview summary::-webkit-details-marker{display:none}.email-signature-preview summary small{color:#73806d;margin-top:3px;font-size:12px;font-weight:400;display:block}.email-signature-preview summary:after{content:"Показать";color:#397523;font-size:12px}.email-signature-preview[open] summary:after{content:"Свернуть"}.email-signature-preview p{border-top:1px solid #e2e9dd;max-height:120px;margin:0;padding:10px 0;font-size:13px;line-height:1.55;overflow:auto}.email-signature-preview summary:focus-visible{outline-offset:3px;border-radius:5px;outline:2px solid #4a9224}.email-signature-preview p{white-space:pre-wrap}.workspace-toolbar{background:#fafbf8;border-bottom:1px solid #e8ece5;flex-wrap:wrap;gap:8px;padding:10px 20px;display:flex}.workspace-presence:empty,.workspace-related:empty{display:none}.workspace-presence{color:#74501b;background:#fff4d7;padding:8px 20px;font-size:12px}.workspace-related{color:#47612e;background:#edf4e7;padding:8px 20px;font-size:12px}.send-destination{color:#567044;padding:8px 20px 0;font-size:12px}.quick-replies{flex-wrap:wrap;gap:6px;padding:8px 20px;display:flex}.quick-replies button{color:#52624a;background:#fff;border:1px solid #dce5d5;border-radius:18px;padding:5px 10px;font-size:11px}.related-card{text-align:left;color:#243321;background:#fff;border:1px solid #e1e7db;border-radius:12px;justify-content:space-between;gap:12px;width:100%;margin:8px 0;padding:16px;display:flex}.related-card span:first-child{gap:5px;display:grid}.related-card small{color:#75816d}.staff-note{background:#fafbf6;border:1px solid #e3e7dd;border-radius:12px;margin:10px 0;padding:16px}.staff-note time{float:right;color:#7a8273;font-size:11px}.staff-note p{white-space:pre-wrap;overflow-wrap:anywhere}.internal-note-notice{color:#705626;background:#fff5d9;border:1px solid #f0dfab;border-radius:10px;padding:12px}#note-form textarea{box-sizing:border-box;border:1px solid #d5dece;border-radius:10px;width:100%;min-height:110px;margin-bottom:10px;padding:12px}.analytics-page{box-sizing:border-box;color:#253621;background:#f7f9f4;height:100%;padding:28px;overflow:auto}.analytics-page header{justify-content:space-between;align-items:center;gap:14px;display:flex}.analytics-page h1{margin:5px 0;font-size:28px}.analytics-page h2{margin-top:28px;font-size:19px}.analytics-page h3{font-size:16px}.eyebrow{color:#678650;text-transform:uppercase;letter-spacing:1.5px;font-size:11px}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.metric{background:#fff;border:1px solid #e0e7d9;border-radius:14px;flex-direction:column;gap:8px;padding:20px;display:flex}.metric strong{color:#528d22;font-size:32px}.metric span{color:#687461;font-size:12px}.analytics-columns{grid-template-columns:1fr 1fr;gap:20px;display:grid}.analytics-columns section,.analytics-table{background:#fff;border:1px solid #e0e7d9;border-radius:14px;padding:18px}.analytics-row{border-bottom:1px solid #edf0e8;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.analytics-row:last-child{border-bottom:0}.analytics-row small{color:#75806e;margin-top:5px;font-size:11px;display:block}.analytics-row span{overflow-wrap:anywhere}.analytics-row input{accent-color:#558f25;width:20px;height:20px}.analytics-pagination{gap:10px;margin:12px 0;display:flex}.analytics-coverage{color:#65715e;background:#edf1e8;border-radius:12px;margin:24px 0;padding:16px;font-size:12px}@media (width<=1000px){.analytics-columns{grid-template-columns:1fr}.analytics-page{padding:18px}.workspace-toolbar{padding:8px}.send-destination,.quick-replies{padding-left:12px}}@media (width<=820px){.chat-pane:has(.analytics-page){display:flex}.chat-pane:has(.chat-head){inset:0}.chat-head{flex-shrink:0}.chat-head .chat-title{font-size:16px}.context-card{flex-direction:column;align-items:stretch;gap:6px;padding:10px 12px}.context-primary{grid-template-columns:auto minmax(0,1fr)}.context-primary strong{font-size:15px}.context-owner{text-align:left;max-width:none;font-size:12px}.workspace-toolbar,.workspace-presence,.workspace-related,.send-destination,.quick-replies,.composer,.response-state{flex-shrink:0}.workspace-presence,.workspace-related{padding:6px 12px}.quick-replies{padding-top:4px;padding-bottom:4px}.analytics-page header{flex-wrap:wrap}.analytics-page h1{font-size:23px}.workspace-dialog{max-height:94dvh}}.crm-documents{gap:12px;display:grid}.crm-document{background:#fff;border:1px solid #dce4d8;border-radius:16px;gap:8px;min-width:0;padding:16px;display:grid}.crm-document>strong{overflow-wrap:anywhere}.crm-document>small{color:#697566}.crm-document-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.workspace-dialog .crm-document-actions button{flex:0 auto;width:auto;min-height:40px;padding:8px 16px;font-size:15px}.crm-document [role=alert]{color:#ae302d}.workspace-dialog button:disabled{opacity:.5;cursor:not-allowed}.channel-tabs button span,.channel-tabs button small{text-overflow:ellipsis;white-space:nowrap;max-width:260px;overflow:hidden}.dialog-form.privacy-completion-form label.check,.dialog-form.content-item-form label.check{align-items:flex-start;gap:10px;line-height:1.45;display:flex}.dialog-form.privacy-completion-form input[type=checkbox],.dialog-form.content-item-form input[type=checkbox]{accent-color:#538f22;flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:1px 0 0;padding:0}.thread{min-height:108px;border-radius:12px!important;margin-bottom:8px!important;padding:14px 16px!important}.thread-top{align-items:flex-start;gap:12px}.thread-top time{color:#738071;white-space:nowrap;font-size:11px}.thread-title{line-height:1.3;font-size:16px!important}.thread-context{color:#62715f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:5px!important;font-size:12px!important}.thread-bottom{color:#71806d;align-items:center;gap:8px;margin-top:8px;font-size:11px;display:flex}.thread-bottom .channel-label{flex-shrink:0;margin:0;font-size:11px}.thread-owner{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.thread-state{font-size:10px}.wait-badge{color:#446d28;white-space:nowrap;background:#edf3e7;border-radius:6px;padding:3px 6px;font-size:10px}.wait-badge.overdue{color:#ae4b19;background:#fff1e6}.chat-head{align-items:center!important;min-height:76px!important;padding:16px 22px!important}.chat-tools{flex-shrink:0;position:relative}.chat-tools summary{cursor:pointer;color:#365e2d;border:1px solid #d9e3d5;border-radius:9px;padding:10px 14px;font-size:13px;font-weight:600;list-style:none}.chat-tools[open] .chat-actions{z-index:20;background:#fff;border:1px solid #dae4d6;border-radius:14px;width:360px;max-height:65vh;padding:16px;display:grid;position:absolute;top:48px;right:0;overflow:auto;box-shadow:0 12px 36px #18311a26;grid-template-columns:1fr!important}.chat-tools button,.chat-tools select{min-height:40px!important;font-size:13px!important}.context-card{margin:10px 20px!important;padding:10px 14px!important}.context-owner{font-size:12px}.workspace-toolbar{padding:0 20px 8px!important}.workspace-toolbar button{padding:7px 10px;font-size:12px}.workspace-related{padding:0 20px!important}.channel-tabs{gap:8px;padding:4px 0 10px;display:flex;overflow:auto}.channel-tabs button{text-align:left;color:#41553b;background:#fff;border:1px solid #dce4d8;border-radius:10px;flex:none;grid-template-columns:1fr auto;max-width:230px;padding:9px 12px;display:grid}.channel-tabs button[aria-selected=true]{background:#edf5e8;border-color:#75a658}.channel-tabs small{text-overflow:ellipsis;white-space:nowrap;color:#788573;grid-row:2;font-size:11px;overflow:hidden}.channel-tabs b{color:#fff;background:#4f8f24;border-radius:20px;grid-area:1/2/3;align-self:center;margin-left:10px;padding:2px 6px}.dialog{max-width:820px!important}.dialog-hint{line-height:1.5;font-size:16px!important}.wizard-steps{font-size:13px!important}.entity-options>button{padding:12px 16px!important}.create-modes{margin-bottom:14px}.message{max-width:88%!important}.messages{padding-top:16px!important}.send-destination{font-size:12px!important}.security-note{font-size:10px!important}.template-bar{align-items:center;gap:8px;padding:8px 20px;display:flex}.template-bar input{flex:1;min-width:0;font-size:13px;padding:8px 12px!important}.template-results{background:#f5f8f2;border-radius:10px;max-height:190px;margin:0 20px;overflow:auto}.template-results button{text-align:left;background:0 0;border:0;border-bottom:1px solid #e0e7dc;width:100%;padding:10px 12px;display:block}.template-results small{color:#6c7868;white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.template-results button:focus,.template-results button:hover{background:#e5eedc}@media (width<=800px){.chat-tools summary{padding:8px;font-size:11px}.chat-tools[open] .chat-actions{width:280px}.chat-head{padding:12px!important}.dialog{width:calc(100vw - 24px)!important}.channel-tabs button{max-width:190px}}.template-bar input{min-width:0;font:inherit;background:#fff;border:1px solid #d8e1d6;border-radius:10px;padding:10px 12px}.thread-preview time{display:none}.chat-tools{flex:none;max-width:260px}.chat-heading{flex:1;min-width:0}#object-search-form{margin-bottom:12px}#object-search-form>button{min-height:44px;padding:10px 18px}#crm-directory-status{color:var(--muted,#667165);line-height:1.5}#object-search-results [data-object],[data-participant-choice]{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:5px;display:flex}.thread.active{background:#e4f1dc!important;border:2px solid #4f8f24!important}.thread.active .thread-title{color:#2c6719}.channel-tabs button[aria-selected=true]{color:#fff;background:#4f8f24;border-color:#4f8f24}.channel-tabs button[aria-selected=true] small{color:#fff}.channel-tabs{box-sizing:border-box;min-height:68px}.channel-tabs button{height:54px}.chat-tools[open] .chat-actions{width:min(360px,100vw - 36px);grid-template-columns:minmax(0,1fr)!important}.chat-tools[open] .chat-actions>*{white-space:normal;overflow-wrap:anywhere;grid-area:auto!important;width:100%!important;min-width:0!important;max-width:none!important}.chat-head .chat-subtitle{-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:32px;display:-webkit-box;overflow:hidden}.context-card{box-sizing:border-box;flex-shrink:0;min-height:66px}#workspace-note-preview{flex-shrink:0;margin:0 20px 8px}#workspace-note-preview button{text-align:left;background:#fff7dd;border:1px solid #eed691;border-radius:10px;gap:3px;width:100%;padding:8px 12px;display:grid}#workspace-note-preview span{-webkit-line-clamp:2;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#workspace-note-preview small{color:#75684c}.templates-page{box-sizing:border-box;background:#f6f8f4;height:100%;padding:24px;overflow:auto}.templates-page header{justify-content:space-between;align-items:center;gap:16px;display:flex}.templates-page h1{margin:8px 0}.template-filters{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.template-filters input,.template-filters select{border:1px solid #dce4d8;border-radius:8px;min-width:0;padding:10px}.template-filters input{flex:1;min-width:180px}.template-workspace{grid-template-columns:minmax(220px,1fr) minmax(300px,1.3fr);gap:24px;display:grid}.template-library-item{text-align:left;background:#fff;border:1px solid #dce4d8;border-radius:10px;gap:8px;width:100%;margin-bottom:8px;padding:16px;display:grid}.template-library-item span{-webkit-line-clamp:2;color:#63715c;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.template-library-item:focus{outline:2px solid #4f8f24}.template-library-item small{color:#64705e}#template-editor{background:#fff;border:1px solid #dce4d8;border-radius:12px;align-self:start;padding:20px}.template-preview{background:#f1f7eb;border-radius:10px;padding:16px}.template-preview p{white-space:pre-wrap;overflow-wrap:anywhere}.template-enabled{align-items:center;gap:8px;display:flex!important}.template-enabled input{width:auto!important}.template-editor-actions{flex-wrap:wrap;gap:8px;display:flex}.templates-page button{min-height:40px;padding:8px 12px}.template-preview small{color:#64705e}@media (width<=1000px){.template-workspace{grid-template-columns:1fr}.templates-page{padding:16px}}.template-picker{flex-shrink:0;margin:3px 20px 6px;position:relative}.template-picker summary{cursor:pointer;color:#3b7624;border:1px solid #dce4d8;border-radius:8px;width:max-content;padding:6px 10px;font-size:13px;list-style:none}.template-popover{z-index:25;background:#fff;border:1px solid #dce4d8;border-radius:12px;width:min(600px,100vw - 60px);padding:10px;position:absolute;bottom:34px;left:0;box-shadow:0 8px 30px #19300f22}.template-popover #close-template-picker{float:right;min-height:32px;padding:4px 10px}.template-popover .template-bar{clear:both;padding:8px 0}.template-popover .template-results{max-height:240px;margin:0}#attachment-preview{background:#eef5e8;flex-shrink:0;align-items:center;gap:12px;padding:8px 20px;display:flex}#attachment-preview[hidden]{display:none}#attachment-preview span{overflow-wrap:anywhere;flex:1}.file-preview{background:#f2f4ef;place-items:center;height:55vh;display:grid;overflow:auto}.file-preview iframe{border:0;width:100%;height:100%}.file-preview img{object-fit:contain;max-width:100%;max-height:100%}.file-preview-actions{justify-content:flex-end;gap:12px;margin-top:14px;display:flex}.file-preview-actions>*{min-height:40px;padding:10px 16px}#ron-panel{z-index:45;box-sizing:border-box;background:#fff;border:1px solid #d8e3d0;border-radius:16px;flex-direction:column;gap:12px;width:min(470px,100vw - 24px);padding:18px;display:flex;position:fixed;top:12px;bottom:12px;right:12px;box-shadow:0 12px 48px #19331c33}#ron-panel[hidden]{display:none}#ron-panel header{justify-content:space-between;align-items:center;display:flex}#ron-panel h2{margin:0}#ron-panel p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}#ron-panel small{color:#62715f;display:block}#ron-context{background:#eef5e8;border-radius:8px;padding:10px}#ron-messages{flex:1;min-height:80px;overflow:auto}#ron-messages article{background:#f6f8f3;border-radius:10px;margin-bottom:10px;padding:14px}.ron-actions{flex-wrap:wrap;gap:6px;display:flex}#ron-panel button{min-height:36px;padding:8px 12px}#ron-form{gap:8px;display:grid}#ron-form textarea{box-sizing:border-box;border:1px solid #d8e3d0;border-radius:8px;width:100%;padding:10px}#ron-status{color:#5b6c53;font-size:13px}.history-tools{flex-shrink:0;align-items:center;gap:10px;min-height:34px;padding:4px 20px;display:flex}.history-tools button{padding:5px 9px;font-size:12px}.history-tools span{color:#65745e;font-size:11px}.workspace-dialog #note-form button{min-height:40px;padding:9px 16px}.chat-head{grid-template-columns:minmax(0,1fr) auto!important}.chat-tools[open] .chat-actions{flex-flow:column!important;justify-content:flex-start!important;align-items:stretch!important;gap:8px!important;max-width:none!important;height:auto!important;display:flex!important;overflow-x:hidden!important}.chat-tools[open] .chat-actions>*{box-sizing:border-box!important;flex:none!important;height:auto!important;min-height:40px!important;max-height:none!important;padding:10px 12px!important}.chat-heading .chat-context{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:34px;display:-webkit-box;overflow:hidden}.chat-heading .chat-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (width<=820px){.chat-head{grid-template-columns:28px minmax(0,1fr) auto!important}}.messages{scrollbar-gutter:stable;padding:12px 18px!important}.messages .message{min-width:160px;width:fit-content!important;max-width:min(82%,760px)!important;min-height:0!important;box-shadow:none!important;border-radius:12px!important;margin-bottom:8px!important;padding:8px 12px!important}.messages .message.mine{margin-left:auto}.message-identity{gap:6px!important;margin-bottom:4px!important}.message-identity .avatar{min-width:24px;width:24px!important;height:24px!important;font-size:10px!important}.message-identity>div{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.message-author{font-size:12px!important}.identity-badge{padding:1px 5px!important;font-size:10px!important}.message-text{overflow-wrap:anywhere;font-size:14px!important;line-height:1.45!important}.message-footer{gap:8px!important;margin-top:4px!important;font-size:10px!important}.message-tools{min-height:0!important;margin-top:3px!important}.message-tools button{min-height:22px!important;padding:2px 5px!important;font-size:11px!important}.email-details:empty,.message-text:empty{display:none}.telegram-attachment img,.image-attachment img{object-fit:contain;border-radius:8px;width:auto;height:auto;display:block;max-width:min(100%,420px)!important;max-height:300px!important}.telegram-attachment button[hidden]{display:none!important}.system-message{margin:6px auto!important;padding:3px 9px!important}.chat-head{padding:10px 16px!important}.chat-heading .chat-context{height:auto;min-height:16px;font-size:12px}.context-card{min-height:0!important;margin:6px 16px!important;padding:8px 12px!important}.workspace-toolbar{gap:6px!important;padding:4px 16px!important}.workspace-toolbar button{min-height:30px!important;padding:5px 9px!important;font-size:12px!important}.workspace-related{min-height:0!important;padding:5px 16px!important}.workspace-related button{min-height:42px!important;padding:7px 10px!important;font-size:12px!important}.history-tools{flex-wrap:wrap;min-height:28px;padding:3px 16px}.history-tools button{min-height:26px}.response-state{min-height:0!important;padding:5px 16px!important;font-size:11px!important}.response-state button{min-height:28px!important;padding:4px 10px!important;font-size:12px!important}.send-destination{padding:3px 16px!important;font-size:11px!important}.template-picker{margin:2px 16px 4px}.template-picker summary{padding:4px 8px;font-size:12px}.composer{gap:8px!important;padding:8px 16px!important}.composer textarea{box-sizing:border-box;min-height:38px!important;padding:8px 10px!important;font-size:14px!important}.composer button{min-height:38px!important;padding:8px 14px!important}.composer-hint{padding:3px 16px!important;font-size:10px!important}.workspace-dialog{width:min(860px,100vw - 32px)!important;max-height:90dvh!important}.workspace-dialog header{padding:14px 20px!important}.workspace-dialog h2{font-size:23px!important}.workspace-dialog .dialog-body{overflow:auto;padding:14px 20px 20px!important}.workspace-dialog .staff-note{margin-bottom:8px!important;padding:12px!important}.workspace-dialog .staff-note strong{overflow-wrap:anywhere;display:block}.workspace-dialog .staff-note small{margin:4px 0 8px;display:block}.workspace-dialog .staff-note button{min-height:34px;margin:3px;padding:6px 10px}.thread{min-height:82px!important;padding:10px 12px!important}.thread-title{font-size:14px!important}@media (width<=820px){.messages{padding:10px!important}.messages .message{max-width:92%!important}.workspace-dialog{width:calc(100vw - 16px)!important}.composer{padding:8px!important}}.reply-toolbar{background:#f8faf6;flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;padding:5px 16px;display:flex}.reply-recipient{color:#536749;white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:100px;font-size:12px;overflow:hidden}.reply-toolbar button{min-height:30px;padding:5px 9px;font-size:12px}.reply-toolbar small{font-size:11px}.reply-preview:empty{display:none}.shell.with-template-library{grid-template-columns:190px 240px minmax(280px,1fr);margin-right:380px}#template-library{box-sizing:border-box;z-index:32;background:#fff;border-left:1px solid #dce4d8;flex-direction:column;gap:10px;width:380px;padding:16px;display:flex;position:fixed;top:0;bottom:0;right:0}#template-library header{justify-content:space-between;align-items:center;display:flex}#template-library h2{margin:0;font-size:20px}#template-library input,#template-library select{border:1px solid #dce4d8;border-radius:8px;width:100%;min-width:0;padding:8px}.library-filters{gap:6px;display:flex}#library-list{flex:1;min-height:90px;overflow:auto}.library-item{text-align:left;background:#fff;border:1px solid #e1e8dc;border-radius:8px;flex-direction:column;gap:3px;width:100%;margin-bottom:5px;padding:9px;display:flex}.library-item small{color:#69765e;font-size:11px}.library-item.active{background:#e5f2db;border-color:#508c2b}#library-preview{border-top:1px solid #dce4d8;max-height:42%;padding-top:10px;overflow:auto}#library-preview h3{margin:0 0 8px;font-size:15px}.library-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5}#library-preview>div{flex-wrap:wrap;gap:6px;display:flex}#template-library button{min-height:30px;padding:6px 9px}.missing-variable{color:#8b5d10;font-size:12px}@media (width<=1150px){.shell.with-template-library{grid-template-columns:160px minmax(270px,1fr);margin-right:330px}.shell.with-template-library .list-pane{display:none}#template-library{width:330px}}@media (width<=760px){.shell.with-template-library{margin-right:0}#template-library{border-top:1px solid #dce4d8;width:100%;top:25%}.reply-toolbar{padding:5px 8px}}.inline-image{box-sizing:border-box;background:#f3f5f0;border-radius:8px;place-items:center;width:280px;max-width:100%;height:220px;margin-top:6px;display:grid;position:relative;overflow:hidden}.inline-image>[data-telegram-player],.inline-image>.image-attachment{place-items:center;width:100%;height:100%;display:grid;position:absolute;inset:0}.inline-image>[data-telegram-player]:empty{pointer-events:none}.inline-image a{place-items:center;width:100%;height:100%;display:grid}.inline-image img,.messages .inline-image img{object-fit:contain;width:100%!important;max-width:100%!important;height:100%!important;max-height:220px!important}.inline-image button{z-index:1;overflow-wrap:anywhere;max-width:95%;padding:8px;font-size:12px}.inline-image .protected-file-status{padding:0 8px;font-size:11px;position:absolute;bottom:8px}.image-attachment:not(.inline-image .image-attachment){place-items:center;width:280px;max-width:100%;height:220px;display:grid}.image-attachment:not(.inline-image .image-attachment) img{object-fit:contain;max-height:220px!important}#ron-panel{gap:9px;width:min(540px,100vw - 24px);padding:16px}#ron-panel .ron-readable{overflow-wrap:anywhere;white-space:normal;font-size:14px;line-height:1.55}#ron-panel .ron-readable p{white-space:normal;margin:0 0 10px}#ron-panel .ron-readable h3{color:#29441e;margin:14px 0 6px;font-size:14px;line-height:1.4}#ron-panel .ron-readable h3:first-child{margin-top:6px}#ron-panel .ron-readable ul,#ron-panel .ron-readable ol{margin:6px 0 12px;padding-left:22px}#ron-panel .ron-readable li{margin:5px 0}#ron-messages article>strong{margin:4px 0 6px;display:block}#ron-messages article>p{margin-bottom:12px;font-size:13px;line-height:1.45}#ron-panel header,#ron-panel>.ron-actions,#ron-form{flex-shrink:0}[data-telegram-player]{gap:8px;min-width:0;display:grid}[data-telegram-player] strong{overflow-wrap:anywhere;font-size:13px}.attachment-pdf{background:#fff;border:1px solid #dce3d8;border-radius:10px;width:100%;min-width:280px;height:440px}.attachment-actions{flex-wrap:wrap;gap:10px;display:flex}.attachment-actions a{color:#397923;border:1px solid #80a965;border-radius:8px;padding:7px 12px;font-size:13px;text-decoration:none;display:inline-flex}.attachment-error{color:#9b3528;margin-top:6px;font-size:13px;display:block}[data-telegram-player] video{max-width:100%;max-height:440px}
