@font-face{font-family:PT Sans;src:url(/fonts/PT_Sans-Web-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PT Sans;src:url(/fonts/PT_Sans-Web-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}.methods{display:flex;flex-direction:column;gap:10px}.methods>div{display:flex;gap:6px}.methods>div select{width:100px}.methods>div input{flex:1}.parties-table th:first-child{width:280px!important}.parties-table td a{display:block;overflow:hidden;text-overflow:ellipsis}.dashboard-content{padding:25px;overflow:auto}.dashboard-filters{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.metric{padding:20px;background:#fff;border:1px solid var(--line);color:var(--ink);min-height:130px}.metric:hover{text-decoration:none;border-color:#8bb4d2}.chart-panel h2,.metric h2{font-size:14px;text-transform:uppercase}.metric strong{display:block;font-size:36px;font-weight:400;color:#268dc7;margin-top:15px}.dashboard-charts{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:15px}.chart-panel{padding:20px;background:white;border:1px solid var(--line);min-height:200px}.chart-panel>p{margin-top:30px}.chart-row{display:grid;grid-template-columns:1fr 100px 25px;gap:10px;align-items:center;font-size:13px;margin-top:18px}.chart-row small{grid-column:1/-1}.chart-track{height:7px;background:#edf0f2}.chart-track>div{height:100%}.dashboard-caption{font-size:12px;margin-top:15px}.task-board{display:grid;grid-template-columns:repeat(3,minmax(250px,1fr));gap:18px;overflow:auto;padding:20px 35px}.task-group{text-align:center;border-bottom:3px solid #c9ced3;padding-bottom:13px}.task-group h2{text-transform:uppercase;font-size:14px;margin-bottom:7px}.task-group span{color:#98a1a8;font-size:13px}.task-group.overdue{border-color:#d77070}.task-group.today{border-color:#86b892}.task-group.completed{border-color:#5daf68}@media(max-width:760px){.dashboard-content{padding:15px}.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-charts{grid-template-columns:1fr}.metric{padding:15px;min-height:120px}.metric strong{font-size:28px}.task-board{padding:15px;gap:12px}.methods>div select{width:90px}.chart-row{grid-template-columns:1fr 80px 25px}}:root{color-scheme:light;--canvas:#f5f5f5;--panel:#fff;--ink:#363b44;--muted:#8a9299;--rail:#1b3446;--rail-active:#28465b;--line:#dddfe2;--blue:#4c8bf7;--link:#1687d9;--danger:#d35252;--rail-width:65px;--column-width:312px}*{box-sizing:border-box}body,html{margin:0;height:100%;font-family:PT Sans,Arial,sans-serif;font-size:15px;color:var(--ink);background:var(--canvas)}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}.button,button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 13px;border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);text-decoration:none;cursor:pointer;line-height:1.25;white-space:nowrap}.button:hover,button:hover{background:#f3f6f8;border-color:#b9c5cd}button:disabled{opacity:.5;cursor:not-allowed}.button.primary,button.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:700}.primary:hover{filter:brightness(.97)}button.danger{background:var(--danger);border-color:var(--danger);color:white}.danger-text{color:var(--danger)}a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #258cde;outline-offset:2px}input,select,textarea{min-width:0;border:1px solid #d1d6db;background:#fff;color:var(--ink);border-radius:2px;padding:8px 10px;max-width:100%}input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue);padding:0;vertical-align:middle}input[type=color]{width:28px;height:28px;padding:2px}textarea{resize:vertical;min-height:72px}label{display:flex;flex-direction:column;gap:7px}h1,h2,p{margin:0}h1{font-size:19px;font-weight:700}h2{font-size:16px}.muted,small{color:var(--muted)}small{font-size:12px}p{line-height:1.5}.app-shell{height:100dvh;display:flex;overflow:hidden}.rail{width:var(--rail-width);flex:0 0 var(--rail-width);background:var(--rail);color:#9cacb9;display:flex;flex-direction:column;z-index:20}.rail button{border:0;border-radius:0;background:none;color:inherit;padding:0}.rail-account{height:64px;min-height:64px!important;display:flex!important;flex-direction:column;gap:2px!important;border-bottom:1px solid #425566!important;font-size:11px}.brand-mark{font-size:28px;line-height:30px;color:#fff;font-weight:700}.rail-links{flex:1;overflow-y:auto;scrollbar-width:none}.rail-links a{height:72px;display:flex;align-items:center;justify-content:center;gap:5px;flex-direction:column;text-align:center;color:#a3b5c4;font-size:11px;line-height:13px;padding:6px 2px;text-decoration:none;border-left:3px solid transparent}.rail-links a:hover{background:#244257;color:#fff}.rail-links a[aria-current=page]{background:var(--rail-active);color:white;border-left-color:var(--blue)}.rail-links span{max-width:60px;overflow-wrap:anywhere}.rail-footer{height:52px;min-height:52px!important;border-top:1px solid #425566!important}.workspace{flex:1;min-width:0;min-height:0;overflow:auto}.page{height:100%;display:flex;flex-direction:column;min-width:0}.toolbar{height:64px;min-height:64px;display:flex;gap:14px;align-items:center;padding:0 20px;background:white;border-bottom:1px solid var(--line);z-index:5;position:relative}.toolbar h1{font-size:16px;text-transform:uppercase}.toolbar .primary,.toolbar>.button{height:38px;text-transform:uppercase;font-size:13px}.toolbar-spacer{flex:1}.section-select{border:0;background:transparent;font-weight:700;font-size:15px;text-transform:uppercase;max-width:215px;padding:7px 0}.view-switch{display:flex;gap:2px}.icon-button,.view-switch button{padding:5px;min-width:32px;border-color:transparent;background:none}.view-switch .active{color:var(--blue)}.search{display:flex;flex-direction:row;gap:8px;align-items:center;flex:1;color:#96a0a8;min-width:100px}.search input{border:0;outline:0;min-width:0;width:100%;background:transparent;padding:8px 0}.toolbar-total{font-size:13px;white-space:nowrap}.kanban{display:flex;gap:10px;flex:1;overflow:auto;padding:12px 20px 25px;align-items:stretch;overscroll-behavior-x:contain}.kanban-column{width:var(--column-width);flex:0 0 var(--column-width);min-height:100%;display:flex;flex-direction:column;border-radius:2px;transition:background .1s}.stage-heading{text-align:center;border-bottom:4px solid #a7d8ff;padding:2px 8px 10px;min-height:57px;position:sticky;top:0;background:var(--canvas);z-index:1}.stage-heading h2{font-size:13px;font-weight:700;line-height:20px;text-transform:uppercase;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.stage-heading span{font-size:13px;color:#747e85}.stage-content{flex:1;padding-top:9px;display:flex;flex-direction:column;gap:6px}.quick-add{width:100%;height:46px;background:transparent;border:1px dashed #d5d9dd;color:#929ba2;border-radius:2px;flex:none}.quick-add:hover{color:var(--link);border-color:var(--link)}.deal-card{padding:9px 10px 7px;border:1px solid #d7dce0;background:#fff;border-radius:3px;min-height:82px;cursor:grab;position:relative;flex:none}.deal-card:hover{border-color:#a2b8c9;box-shadow:0 1px 3px #0000000d}.deal-card.dragging{opacity:.35}.drop-active{background:#dfeef9;outline:2px dashed #539adb;outline-offset:-2px}.card-top{display:flex;justify-content:space-between;gap:6px;font-size:12px;line-height:17px;color:#737c85}.card-top>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.card-top time{white-space:nowrap;color:#9aa2a9;font-size:11px}.deal-title{display:block;font-size:16px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 4px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7f8991;font-size:12px}.task-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.task-status.none{color:#c79522}.task-status.overdue{color:#da5858}.task-status.planned{color:#72a142}.task-status i{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;vertical-align:middle}.card-owner{color:#9aA2a9;font-size:11px;margin-top:5px}.bulk-bar,.filter-bar{display:flex;gap:15px;align-items:center;flex-wrap:wrap;padding:12px 20px;border-bottom:1px solid var(--line);background:#fff}.filter-bar label{font-size:12px;min-width:130px;gap:4px}.bulk-bar{background:#eaf4fd;min-height:50px;font-size:13px}.bulk-bar select{max-width:250px}.table-scroll{flex:1;overflow:auto;padding:15px 20px}.data-table{border-collapse:collapse;min-width:750px;width:100%;background:white;table-layout:fixed;font-size:14px}.data-table thead{position:sticky;top:0;z-index:1}.data-table th{background:#f1f3f5;text-align:left;color:#7b8690;font-size:12px;text-transform:uppercase;font-weight:700}.data-table th button{border:0;background:none;padding:0;font-size:inherit;font-weight:inherit;text-transform:inherit;color:inherit;min-height:20px}.data-table td,.data-table th{border-bottom:1px solid var(--line);padding:10px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:43px}.data-table th:first-child{width:40px}.data-table th:nth-child(2){width:240px}.data-table tr:hover td{background:#f7fbff}.data-table tr.selected td{background:#eaf4fd}.data-table th:not(:first-child):not(:nth-child(2)){width:155px}.stage-chip{border-left:4px solid;padding-left:7px;font-size:12px}.empty-state,.service-error{padding:40px;max-width:700px;line-height:1.5}.empty-state p,.service-error p{margin:14px 0}.empty-state button,.empty-state>.button{margin:10px 10px 0 0}.loading{padding:35px;color:var(--muted)}.error-banner{padding:10px 20px;background:#fff0ee;border-bottom:1px solid #efc6bf;color:#ad3528;display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px}.error{color:#b73b30;font-size:13px}.dialog{border:1px solid #cbd0d5;border-radius:4px;background:#fff;color:var(--ink);padding:22px;width:min(590px,calc(100vw - 24px));max-height:calc(100dvh - 32px);box-shadow:0 12px 60px #0003}.dialog::backdrop{background:#1b344670}.dialog>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog h2{font-size:20px}.dialog-wide{width:min(800px,calc(100vw - 24px))}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid label{font-size:13px;color:#78818a}.form-grid input,.form-grid select,.form-grid textarea{color:var(--ink);width:100%}.full{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.check-list{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.check-list label{flex-direction:row;align-items:center}.account-menu{position:absolute;top:6px;left:72px;background:white;z-index:40;padding:20px;box-shadow:0 4px 15px #0003;border:1px solid var(--line);display:flex;flex-direction:column;gap:12px;max-width:280px}.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;background:#f3f5f7;padding:20px}.login-form{width:370px;display:flex;flex-direction:column;gap:20px;background:#fff;border:1px solid var(--line);padding:32px}.login-brand{color:var(--rail);font-size:25px;font-weight:700}.login-form h1{font-size:19px}.login-form p{font-size:14px}.login-form label{font-size:13px;color:#7d8992}.deal-detail{display:grid;grid-template-columns:minmax(360px,35%) 1fr;height:100%;min-height:0;overflow:hidden}.detail-fields{background:#fff;border-right:1px solid var(--line);overflow:auto;min-width:0}.detail-heading{padding:20px 24px 0;border-bottom:1px solid var(--line)}.detail-title{display:flex;align-items:flex-start;gap:10px}.detail-title h1{font-size:22px;line-height:26px;flex:1;overflow-wrap:anywhere}.detail-title button{border:0;padding:0;min-height:26px}.record-id{display:block;margin:14px 0 20px;color:#a2a9af}.stage-select{gap:3px;font-size:12px;color:#929ca4}.stage-select select{font-size:14px;font-weight:700;border:0;padding:0;background:transparent}.stage-progress{display:flex;gap:3px;margin:9px 0 18px}.stage-progress span{height:4px;background:#e8ebed;flex:1}.tabs{display:flex;gap:20px;overflow-x:auto}.tabs button{padding:10px 0;border:0;border-radius:0;border-bottom:3px solid transparent;color:#8d969e;background:none;font-weight:700;font-size:14px;white-space:nowrap}.tabs button.active{color:#363b44;border-bottom-color:#363b44}.field-list,.linked-contact dl{display:grid;grid-template-columns:42% 1fr;gap:20px 14px;margin:0;padding:25px;font-size:14px;line-height:20px}.field-list dt,.linked-contact dt{color:#8c959d}.field-list dd,.linked-contact dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.field-pair{display:contents}.linked-records{border-top:1px solid var(--line);padding:25px}.linked-records h2{font-size:14px;margin-bottom:14px}.linked-contact{margin-bottom:20px}.linked-contact>a{font-weight:700;font-size:16px}.linked-contact dl{padding:15px 0 0;gap:10px}.linked-records>.text-button{margin-top:20px}.text-button{color:var(--link);background:none;border:0;padding:0;justify-content:flex-start}.detail-actions{border-top:1px solid var(--line);padding:20px 25px;display:flex;gap:12px}.detail-actions button{font-size:13px}.detail-timeline{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fafafa}.feed-toolbar{height:64px;min-height:64px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:15px 24px;color:#a1a9b0}.feed-toolbar input{flex:1;background:none;border:0;min-width:0}.feed-toolbar>span{font-size:12px;color:#8b989e;white-space:nowrap}.timeline-feed{overflow:auto;flex:1;padding:0 25px 25px}.date-divider{border-top:1px solid var(--line);position:relative;text-align:center;margin:28px 0 24px;line-height:0}.date-divider span{padding:3px 13px;border:1px solid #d6dce0;border-radius:15px;background:#fafafa;font-size:12px;color:#8b959e}.timeline-event{font-size:13px;color:#8c969f;padding:10px 5px;line-height:1.5;overflow-wrap:anywhere}.timeline-event strong{font-weight:400}.timeline-event p{color:#59636b;white-space:pre-wrap}.note-event{background:#fff9dd;border:1px solid #efe3ad;border-radius:3px;margin:10px 0;padding:14px 17px}.note-event p{margin-top:8px;color:#363b44;font-size:15px}.task-event{display:flex;gap:15px;align-items:center;justify-content:space-between;background:#fff;border:1px solid #cddbd0;border-left:3px solid #7eb566;padding:14px;margin-top:12px}.task-event div{min-width:0}.task-event strong{display:block;font-size:14px;overflow-wrap:anywhere}.task-event span{display:block;font-size:12px;color:#8b959e;margin-top:5px}.task-event button{font-size:12px}.task-event.completed{opacity:.6;border-color:#d2d7dc}.composer-wrap{padding:12px 20px 18px;flex:none}.task-warning{background:#fff4d4;border:1px solid #f2ce70;border-radius:3px;color:#92722c;padding:5px 12px;font-size:13px;margin-bottom:8px;display:inline-block}.task-warning button{display:inline;padding:0;min-height:0;border:0;color:inherit;text-decoration:underline;background:none}.composer{border:1px solid #c8d1d8;border-radius:3px;background:white;padding:12px;gap:8px;justify-content:flex-end}.composer,.composer-header{display:flex;flex-wrap:wrap}.composer-header{width:100%;gap:10px;align-items:center}.composer-header select{border:0;color:var(--link);padding:0;font-size:14px}.composer-header input{font-size:13px;padding:4px}.composer textarea{width:100%;border:0;min-height:45px;resize:vertical;padding:3px;background:none;font-size:14px}.composer>.primary{font-size:13px;min-height:30px;padding:6px 14px}.pipeline-editor{display:flex;flex:1;min-height:0;overflow:hidden}.pipeline-sidebar{width:280px;flex:0 0 280px;border-right:1px solid var(--line);padding:25px;display:flex;flex-direction:column;gap:22px;background:#fff;overflow:auto}.pipeline-sidebar label{font-size:13px;color:#929ba3}.pipeline-sidebar h2{text-transform:uppercase;font-size:14px}.pipeline-sidebar p{font-size:13px}.pipeline-stages{display:flex;overflow:auto;flex:1}.pipeline-stage{flex:0 0 300px;border-right:1px solid var(--line);background:#f8f9fa}.pipeline-stage-header{display:flex;gap:8px;padding:20px 12px 12px;border-bottom:4px solid}.pipeline-stage-header input:not([type=color]){border:0;background:transparent;font-size:13px;font-weight:700;text-transform:uppercase;width:100%;padding:0}.pipeline-stage-tools{padding:15px 12px;display:flex;gap:8px}.pipeline-stage>p{padding:0 15px;font-size:12px}.automation-grid{margin-top:20px;min-height:400px;background:repeating-linear-gradient(0deg,transparent,transparent 69px,#e1e4e7 70px);padding:30px 15px;color:#a3aab0;font-size:13px}@media(min-width:1600px){.deal-detail{grid-template-columns:490px 1fr}}@media(max-width:1100px){.toolbar-total{display:none}.toolbar{gap:8px;padding:0 14px}.section-select{max-width:180px}.deal-detail{grid-template-columns:340px 1fr}.detail-heading{padding:16px 16px 0}.field-list,.linked-records{padding:20px}.timeline-feed{padding:0 15px 15px}}@media(max-width:760px){:root{--rail-width:55px;--column-width:290px}.rail-links a{height:61px;font-size:10px}.rail-links svg{width:24px;height:24px}.rail-links span{max-width:50px}.rail-account{font-size:10px}.toolbar{min-height:100px;height:auto;padding:10px 12px;gap:7px;flex-wrap:wrap;align-content:center}.toolbar .section-select{max-width:180px;flex:1}.toolbar .search{order:5;flex-basis:calc(100% - 50px)}.toolbar .icon-button{order:6}.toolbar>.button,.toolbar>.primary{font-size:11px;height:34px}.toolbar-total{display:none}.toolbar h1{font-size:14px}.kanban{padding:10px 12px 20px}.filter-bar{gap:10px;padding:12px}.filter-bar label{flex:1}.deal-detail{display:flex;flex-direction:column;overflow:auto}.detail-fields{overflow:visible;border-right:0}.detail-timeline{min-height:550px;overflow:visible}.timeline-feed{overflow:visible;min-height:180px}.detail-heading{position:relative}.detail-title h1{font-size:20px}.field-list{gap:14px}.detail-actions{padding:12px 20px}.composer-wrap{position:sticky;bottom:0;background:#fafafa}.detail-timeline .feed-toolbar{height:50px;min-height:50px}.pipeline-sidebar{width:210px;flex-basis:210px;padding:15px}.pipeline-editor{overflow:auto}.pipeline-stages{overflow:visible}.pipeline-stage{flex-basis:270px}.empty-state{padding:25px}.table-scroll{padding:10px}.dialog{padding:18px}.form-grid{gap:14px}.account-menu{left:60px}.secondary-action{padding:7px!important}}@media(max-width:420px){.toolbar .section-select{max-width:150px}.view-switch button{min-width:27px;padding:3px}.toolbar>.primary{padding:8px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.dialog{padding:15px}.dialog h2{font-size:18px}.form-actions{margin-top:10px}.pipeline-sidebar{width:185px;flex-basis:185px}.login-form{padding:24px}.bulk-bar{gap:8px}.composer-header input{max-width:100%}.task-event{flex-direction:column;align-items:flex-start}}.mail-workspace{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px;padding:14px;color:#233747}.mail-box-card,.mail-filters,.mail-list,.mail-reader,.mail-settings-form,.mail-toolbar{background:rgba(247,250,253,.96);border:1px solid rgba(255,255,255,.8);border-radius:20px;box-shadow:0 8px 28px #071b2610}.mail-toolbar{gap:16px;padding:16px 20px;flex-shrink:0}.mail-title,.mail-toolbar{display:flex;align-items:center}.mail-title{gap:10px}.mail-title>span{font-size:27px;color:var(--accent,#168f91)}.mail-title h1{font-size:21px;margin:0}.mail-title small{background:#e3ebf0;padding:4px 8px;border-radius:20px}.mail-search{flex:1;min-width:100px}.mail-compose input:not([type=file]),.mail-compose select,.mail-settings input:not([type=checkbox]),.mail-settings select,.mail-workspace input,.mail-workspace select{padding:11px 13px;border:1px solid #d7e0e8;border-radius:11px;background:#fff;color:#233747}.mail-compose button,.mail-settings button,.mail-settings-link,.mail-workspace button{border-radius:10px;padding:9px 13px;cursor:pointer;border:1px solid #d7e0e8;background:#fff;color:#345061}.mail-compose .primary,.mail-settings .primary,.mail-workspace .primary{background:var(--accent,#168f91);color:#fff;border-color:transparent;font-weight:600}.mail-compose button:disabled,.mail-settings button:disabled,.mail-workspace button:disabled{opacity:.5;cursor:default}.mail-filters{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 16px}.mail-filters label{display:flex;align-items:center;gap:7px;margin-right:auto}.mail-main{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;flex:1;gap:12px}.mail-main.has-message{grid-template-columns:minmax(300px,.85fr) minmax(380px,1.15fr)}.mail-list{overflow:auto;min-height:0}.mail-table-head,.mail-workspace .mail-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(190px,2fr) 110px;gap:16px;padding:18px 20px;align-items:center}.mail-table-head{font-size:11px;text-transform:uppercase;color:#637a8b;font-weight:700;border-bottom:1px solid #dce4ea}.mail-workspace .mail-row{width:100%;border:0;border-bottom:1px solid #e3eaf0;border-radius:0;text-align:left;background:transparent;color:#233747}.mail-row:hover{background:#edf5fa!important}.mail-workspace .mail-row.selected{background:#e1f1f2;border-left:3px solid var(--accent,#168f91)}.mail-row.unread{background:#fff}.mail-row.unread .mail-preview strong:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent,#168f91);margin-right:7px}.mail-sender{display:flex;align-items:center;gap:10px;min-width:0}.mail-sender i{font-style:normal;background:#e0eff2;color:#29737c;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;flex-shrink:0}.mail-preview,.mail-sender>span{min-width:0}.mail-row small,.mail-row strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mail-row small{color:#6b8190;margin-top:5px;font-size:12px}.mail-row em{font-size:11px;color:#417383;font-style:normal}.mail-row time{font-size:11px;text-align:right}.has-message .mail-row,.has-message .mail-table-head{grid-template-columns:minmax(0,1fr) 95px}.has-message .mail-row .mail-sender{grid-column:1}.has-message .mail-preview{grid-column:1;grid-row:2}.has-message .mail-row time{grid-column:2;grid-row:1}.has-message .mail-table-head>span:nth-child(2){display:none}.mail-pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:15px}.mail-empty{text-align:center;padding:80px 24px;color:#5e7484}.mail-empty>span{display:block;font-size:46px;color:#659ba8}.mail-empty h2,.mail-empty h3{color:#263e4c}.mail-empty a{display:inline-block;margin-top:18px}.mail-reader{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.mail-reader>header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #dce4ea}.mail-reader h2{font-size:17px;margin:0}.mail-thread{overflow:auto;padding:18px}.mail-thread article{background:#fff;padding:20px;border:1px solid #dce6ed;border-radius:14px;margin-bottom:16px}.mail-letter-head h3{font-size:19px;overflow-wrap:anywhere}.mail-letter-head small{display:block;color:#667e8e;margin:8px 0}.mail-letter-head p{overflow-wrap:anywhere}.mail-letter-head a{display:inline-block;margin:8px 14px 0 0}.mail-letter-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:22px 0;font-size:14px}.mail-files{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.mail-file,.mail-files a{padding:8px;border:1px solid #dce4ea;border-radius:8px;font-size:12px}.mail-info{padding:12px 16px;border-radius:12px;background:#e9f1f7;font-size:13px;line-height:1.6;margin:0}.mail-info button{float:right}.mail-settings{max-width:1100px;margin:auto}.mail-section-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.mail-section-title h2{font-size:27px;margin:8px 0}.mail-section-title p{color:#637b8c}.mail-section-title small{color:#31848e;font-size:10px;letter-spacing:2px}.mail-box-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-bottom:22px}.mail-box-card{padding:24px;max-width:500px}.mail-box-card h3{margin:8px 0}.mail-box-card p{overflow-wrap:anywhere}.mail-box-card small{display:block;margin:12px 0;color:#5e7586}.mail-box-icon{font-size:25px;color:#2d8790}.mail-status{font-size:12px;padding:5px 9px;border-radius:20px;background:#e6edf5;display:inline-block}.mail-status.connected{background:#dcf3ea;color:#196c51}.mail-status.error{background:#fce5e5;color:#a33}.mail-settings-form{padding:26px}.mail-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.mail-compose label,.mail-settings label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:12px 0}.mail-settings fieldset{min-width:0;border:1px solid #d5e2ea;border-radius:14px;padding:16px;margin:20px 0}.mail-settings legend{font-weight:600;padding:0 7px}.mail-checks{margin:20px 0}.mail-checks label{flex-direction:row;align-items:center;gap:10px}.mail-settings-form>.mail-info{margin-top:16px}.mail-compose{padding:0;border:1px solid #dbe6ee;border-radius:22px;width:min(740px,calc(100vw - 32px));max-height:90dvh;background:#f8fafc;color:#233747;box-shadow:0 24px 90px #071c4650}.mail-compose::backdrop{background:#10273666;backdrop-filter:blur(3px)}.mail-compose form{display:flex;flex-direction:column;max-height:90dvh}.mail-compose header{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid #e0e7ed}.mail-compose header small{font-size:10px;letter-spacing:2px;color:#39858b}.mail-compose h2{margin:5px 0;font-size:23px}.mail-compose-body{padding:12px 26px 24px;overflow:auto}.mail-compose textarea{width:100%;min-height:200px;resize:vertical;border:1px solid #d7e0e8;border-radius:12px;padding:16px;font:inherit;background:#fff;color:#233747;box-sizing:border-box}.mail-compose footer{display:flex;align-items:center;justify-content:space-between;padding:18px 26px;border-top:1px solid #dce5eb;gap:12px}.mail-compose footer span{font-size:12px;color:#6a7f8e}.mail-attach input{font-size:12px}.mail-email-link{background:none;border:0;padding:0;cursor:pointer;text-align:left;color:var(--accent,#168f91);font:inherit}.mail-email-link:disabled{color:inherit;cursor:default}@media(max-width:1000px){.mail-main.has-message{grid-template-columns:1fr}.has-message .mail-list{display:none}.mail-toolbar{flex-wrap:wrap}.mail-search{order:3;flex-basis:100%}}@media(max-width:600px){.mail-form-grid{grid-template-columns:1fr}.mail-table-head{display:none}.mail-workspace .mail-row{grid-template-columns:1fr 85px}.mail-preview{grid-row:2}.mail-row time{grid-column:2;grid-row:1}.mail-section-title{align-items:flex-start;flex-direction:column}.mail-workspace{padding:8px}.mail-filters select{max-width:100%}}.settings-body .mail-settings-form{max-width:none;width:100%;box-sizing:border-box}.mail-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mail-form-grid>*{min-width:0}.mail-compose input:not([type=file]),.mail-compose select,.mail-settings input:not([type=checkbox]),.mail-settings select{width:100%;box-sizing:border-box;min-width:0}.mail-workspace .mail-filters label{flex-direction:row;margin:0 auto 0 0}.mail-workspace .mail-filters input[type=checkbox]{width:16px;height:16px;margin:0}.mail-compose form{max-width:none;width:100%;margin:0}@media(max-width:700px){.mail-form-grid{grid-template-columns:minmax(0,1fr)}}.deal-customer-communication{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0}.deal-channel-tabs{display:flex;gap:8px;padding:10px 16px;flex-shrink:0;border-bottom:1px solid #d7e1e9;background:var(--chat-surface,#f7fafc)}.deal-channel-tabs button{border:0;border-radius:10px;padding:9px 14px;background:transparent;color:var(--chat-text,#516a7c);cursor:pointer;font:inherit}.deal-channel-tabs button[aria-pressed=true]{background:color-mix(in srgb,var(--accent,#168f91) 14%,transparent);color:var(--accent,#168f91);font-weight:700}.deal-channel-tabs span{display:inline-block;padding:1px 6px;border-radius:10px;background:#ffffff55;font-size:11px;margin-left:4px}.deal-customer-chat{flex:1;min-height:0}.deal-customer-chat[hidden]{display:none}.deal-mail-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#eff4f8;color:#253e50}.deal-mail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#f9fbfd;border-bottom:1px solid #dae4ec}.deal-mail-toolbar>div{min-width:0}.deal-mail-toolbar small{display:block;color:#637d8e;margin-top:5px;overflow-wrap:anywhere}.deal-mail-letter button,.deal-mail-toolbar button{border-radius:10px;padding:9px 14px;cursor:pointer}.deal-mail-feed{overflow:auto;flex:1;min-height:0;padding:18px 22px}.deal-mail-card{border:1px solid #dce6ed;border-radius:16px;background:#fff;margin-bottom:14px;overflow:hidden;box-shadow:0 3px 12px #102b3c05}.deal-mail-card.unread{border-left:3px solid var(--accent,#168f91)}.deal-mail-summary{width:100%;display:flex;align-items:flex-start;gap:13px;padding:17px;text-align:left;background:none;border:0;cursor:pointer;color:inherit}.deal-mail-summary>span:nth-child(2){flex:1;min-width:0}.deal-mail-summary strong{display:block;font-size:15px;overflow-wrap:anywhere}.deal-mail-summary small{display:block;color:#698091;margin-top:5px;font-size:12px;overflow-wrap:anywhere}.deal-mail-summary p{margin:9px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#6b8090;font-size:13px}.deal-mail-summary time{font-size:11px;white-space:nowrap;text-align:right}.deal-mail-symbol{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#e5f2f3;color:#2c7f89;font-size:20px;flex-shrink:0}.deal-mail-letters{padding:0 20px 15px}.deal-mail-letter{padding:20px 0;border-top:1px solid #e0e8ef}.deal-mail-letter header{justify-content:space-between;gap:12px}.deal-mail-letter small{font-size:12px;color:#718797}.deal-mail-panel>.error,.deal-mail-panel>.mail-info{margin:10px 20px}@media(max-width:700px){.deal-mail-toolbar{align-items:flex-start;flex-direction:column}.deal-mail-feed{padding:12px}.deal-mail-summary{gap:8px;padding:12px}.deal-mail-summary time{white-space:normal;max-width:85px}.deal-mail-symbol{display:none}}html[data-chat-theme=dark] :is(.deal-channel-tabs,.deal-mail-toolbar){background:#1b2e3d;color:#d7e5ef;border-color:#344654}html[data-chat-theme=dark] .deal-mail-panel{background:#142734;color:#e3edf5}html[data-chat-theme=dark] .deal-mail-card{background:#203645;color:#e3edf5;border-color:#3c5363}html[data-chat-theme=dark] :is(.deal-channel-tabs button,.deal-mail-toolbar small,.deal-mail-summary small,.deal-mail-summary p,.deal-mail-letter small,.deal-mail-panel .mail-empty,.deal-mail-panel .mail-empty h3){color:#b4c9d8}html[data-chat-theme=dark] .deal-channel-tabs button[aria-pressed=true]{background:#29485b;color:#a3e6e1}html[data-chat-theme=dark] .deal-mail-letter{border-color:#3c5363}html[data-chat-theme=dark] .deal-mail-letter button{background:#29485b;color:#a3e6e1;border:1px solid #486577}html[data-chat-theme=dark] .deal-mail-summary{background:#203645!important;color:#e3edf5!important;border-color:#3c5363!important}html[data-chat-theme=dark] .deal-mail-summary strong{color:#e3edf5!important}html[data-chat-theme=dark] .deal-mail-summary:is(:hover,:focus-visible){background:#29485b!important}.deal-mail-card{border-radius:18px;margin-bottom:18px;background:#f8fbfe;box-shadow:0 4px 18px #183e5610}.deal-mail-card.unread{border:1px solid #85bbee;border-left:4px solid #3989e8;box-shadow:0 4px 20px #3989e81a}.deal-mail-card.unread .deal-mail-summary{background:#edf6ff;color:#183f65}.deal-mail-summary{padding:19px 20px;transition:background .15s ease}.deal-mail-summary strong{display:flex;align-items:center;flex-wrap:wrap;gap:9px;line-height:1.4}.deal-mail-summary time{color:#7a8b9d;padding-top:2px}.deal-mail-summary time small{margin-top:8px}.deal-mail-card.is-open .deal-mail-summary p{display:none}.mail-new-badge{display:inline-flex;align-items:center;gap:5px;font-size:10px!important;line-height:1.4;font-weight:700;letter-spacing:.25px;padding:4px 8px;border-radius:20px;background:#deedff;color:#236dc1;white-space:nowrap}.mail-new-badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.deal-mail-letters{display:flex;flex-direction:column;gap:18px;padding:22px;background:#eef3f8;border-top:1px solid #dae5ee}.deal-mail-letter{width:88%;max-width:760px;padding:18px 20px;border:1px solid #d6e3ed;border-radius:16px;background:#fff;box-shadow:0 3px 12px #193d5508;box-sizing:border-box}.deal-mail-letter.incoming{align-self:flex-start;border-top-left-radius:5px}.deal-mail-letter.outgoing{align-self:flex-end;border-top-right-radius:5px;background:#e9f6f3;border-color:#c8e4de}.deal-mail-letter.is-new{border-left:3px solid #3989e8;box-shadow:0 3px 16px #3989e814}.deal-mail-letter header{display:flex;align-items:center;gap:10px;margin-bottom:15px}.deal-mail-letter header>div{flex:1;min-width:0}.deal-mail-letter header strong{display:block;font-size:13px;overflow-wrap:anywhere}.deal-mail-letter header small{display:block;margin-top:4px;font-size:11px;overflow-wrap:anywhere}.mail-letter-avatar{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-size:13px;background:#e7eef7;color:#547491;font-weight:700}.deal-mail-letter.outgoing .mail-letter-avatar{background:#cfeae2;color:#337660}.deal-mail-letter time{font-size:10px;color:#7b8e9f;white-space:nowrap;align-self:flex-start;padding-top:3px}.deal-mail-letter .mail-letter-body{margin:12px 0 18px;line-height:1.7;font-size:14px}.deal-mail-letter footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #dae6ec}.deal-mail-letter footer>span{font-size:10px;color:#71899c}.deal-mail-letter footer button{font-size:12px;padding:7px 12px;background:#ffffffa6;color:#36737e;border:1px solid #c4dce0;box-shadow:none}.mail-quoted{margin-top:12px;color:#70869a;font-size:12px}.mail-quoted summary{cursor:pointer;padding:7px 0}.mail-quoted>div{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-left:2px solid #b7cad8;margin-top:5px;line-height:1.6}html[data-chat-theme=dark] .deal-mail-card{background:#1b3040;border-color:#345063}html[data-chat-theme=dark] .deal-mail-card.unread{border-color:#487dba #487dba #487dba #6bb1ff}html[data-chat-theme=dark] .deal-mail-card.unread .deal-mail-summary{background:#24445f!important}html[data-chat-theme=dark] .deal-mail-letters{background:#122532;border-color:#344e60}html[data-chat-theme=dark] .deal-mail-letter{background:#233d50;border-color:#395971;color:#e1edf7;box-shadow:0 4px 16px #07131b22}html[data-chat-theme=dark] .deal-mail-letter.outgoing{background:#17494c;border-color:#2b6468}html[data-chat-theme=dark] .deal-mail-letter.is-new{border-left-color:#73b8ff}html[data-chat-theme=dark] .mail-new-badge{background:#315477;color:#b7daff}html[data-chat-theme=dark] .mail-letter-avatar{background:#375a75;color:#d4e9fa}html[data-chat-theme=dark] .deal-mail-letter.outgoing .mail-letter-avatar{background:#2c6869;color:#c4f0e7}html[data-chat-theme=dark] .deal-mail-letter footer{border-color:#43606f}html[data-chat-theme=dark] .deal-mail-letter footer button{background:#2b535e;color:#c5eae5;border-color:#456f79}html[data-chat-theme=dark] :is(.deal-mail-letter time,.deal-mail-letter footer>span,.mail-quoted){color:#a5becf}@media(max-width:700px){.deal-mail-letters{padding:12px;gap:14px}.deal-mail-letter{width:96%;padding:14px}.deal-mail-letter time{white-space:normal;text-align:right;max-width:65px}.deal-mail-summary{padding:14px}}.sites-settings{max-width:1220px;margin:auto;color:#24394a}.sites-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.sites-heading h2{font-size:30px;margin:8px 0}.sites-heading small{font-size:11px;letter-spacing:.16em;color:var(--accent,#078780);font-weight:700}.sites-heading p{color:#52677a;line-height:1.6}.sites-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px}.site-card,.sites-settings .site-form{background:rgba(250,253,255,.94);border:1px solid #fff;border-radius:22px;padding:26px;box-shadow:0 10px 30px #142b4010}.site-actions,.site-card-top{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.site-card-top{justify-content:space-between}.site-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#dceeed;color:#08776f;font-size:27px}.site-badge{padding:7px 11px;background:#edf0f5;border-radius:20px;font-size:12px}.site-badge.online{background:#d8f3e8;color:#07634d}.site-card h3{font-size:22px;margin:20px 0 6px}.site-card p{color:#52677a;overflow-wrap:anywhere}.site-stats{display:flex;gap:24px;align-items:center;margin:22px 0;padding:18px 0;border-block:1px solid #dce4eb}.site-stats strong{font-size:26px}.site-log small,.site-stats small{display:block;color:#607488;font-size:12px;font-weight:400;margin-top:6px}.sites-settings button,.sites-settings input,.sites-settings select{border-radius:11px;min-height:40px}.site-credentials{display:grid;gap:12px;background:#eaf3f7;padding:20px;border-radius:15px;margin-top:18px}.site-credentials label,.site-fields label{display:grid;gap:8px;font-size:13px;font-weight:600}.site-credentials input,.site-fields input,.site-fields select{width:100%;padding:10px;border:1px solid #cdd9e1;background:white;color:#24394a;box-sizing:border-box}.sites-settings .site-form{max-width:none;width:100%;box-sizing:border-box;margin-top:24px}.site-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.site-fields .site-toggle{display:flex;align-items:center;gap:10px}.site-toggle input{width:18px}.site-empty{text-align:center;padding:65px 20px;background:#ffffffb8;border-radius:22px}.site-empty>span{font-size:48px;color:#078780}.site-empty p{max-width:530px;margin:auto;line-height:1.6}.site-log{display:flex;justify-content:space-between;padding:16px 0;border-bottom:1px solid #dce4eb}@media(max-width:700px){.sites-heading{align-items:flex-start;flex-direction:column}.site-fields,.sites-grid{grid-template-columns:1fr}}.pipeline-stages{gap:0!important;padding:4px 22px 18px 4px!important}.stage-editor-slot{display:flex;flex:0 0 auto;align-items:stretch;position:relative}.stage-editor-slot>.pipeline-stage{width:300px;min-width:300px;transition:opacity .15s,box-shadow .15s,transform .15s}.stage-insertion{flex:0 0 34px;width:34px;position:relative;display:flex;justify-content:center;padding-top:23px;transition:background .15s}.stage-insertion button{position:relative;z-index:2;min-width:28px!important;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border-radius:50%!important;border:1px solid #afc7d9!important;background:#f6fbff!important;color:#247688!important;font-size:23px!important;line-height:24px;box-shadow:0 3px 9px #05263725;cursor:pointer}.stage-insertion button:hover{background:#d6f1f2!important;transform:scale(1.12)}.stage-insertion.is-target{background:#24b9b449;border-radius:14px}.stage-insertion.is-target:after{content:"";position:absolute;top:60px;bottom:10px;width:3px;background:#14aaa2;border-radius:5px}.pipeline-stage-header{display:flex!important;align-items:center;gap:5px;padding:12px 10px!important;min-height:64px}.pipeline-stage-header>input:not([type=color]){min-width:0;flex:1}.pipeline-stage-header .stage-drag-handle{flex:0 0 25px;min-width:25px!important;padding:2px!important;border:0!important;background:transparent!important;font-size:22px;cursor:grab;color:#638095!important;touch-action:none}.stage-drag-handle:active{cursor:grabbing}.stage-lock{font-size:10px;color:#7b91a0}.stage-fixed-caption{text-align:center;color:#6c7f8c;font-size:12px;padding:14px;border-bottom:1px solid #dce6ec}.stage-terminal .pipeline-stage-header input{cursor:default}.stage-dragging{opacity:.45;transform:scale(.985)}.stage-drag-hint{line-height:1.6;font-size:12px;color:#587286}.pipeline-stage-tools button:disabled{opacity:.35;cursor:not-allowed}.pipeline-stage-header input:focus{outline:2px solid #61b7cf;outline-offset:2px;border-radius:6px}.stage-editor-slot .pipeline-stage{border-radius:20px!important;overflow:hidden}.stage-editor-slot:last-child{margin-left:16px}.stage-drag-handle{user-select:none;-webkit-user-select:none}.party-detail .detail-heading{min-height:150px;padding-top:18px}.party-detail .detail-title h1{font-size:24px}.party-detail .record-id{margin:15px 0}.party-detail .tabs small{color:inherit;opacity:.65;margin-left:4px}.party-section-title{padding:24px 30px 0;font-size:13px;text-transform:uppercase;color:#8f9ba3;letter-spacing:.04em}.party-detail .field-list{font-size:16px;gap:12px;grid-template-columns:38% minmax(0,1fr);min-height:0}.party-profile-actions{padding:0 30px 22px;font-size:13px}.party-related-summary{border-top:1px solid #e6e9ec;padding:8px 24px}.party-related-summary button{display:flex;justify-content:space-between;width:100%;border:0;border-radius:0;padding:14px 6px;gap:12px;background:transparent}.party-related-summary button>span:first-child{flex:1;text-align:left}.party-related-summary strong{font-size:14px;color:#788c9a}.party-related-list{padding:24px}.party-related-list h2{font-size:14px;color:#87959f;font-weight:400;margin-bottom:12px}.party-related-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e8ebee;padding:14px 4px;text-decoration:none!important}.party-related-row>span:first-child{min-width:0}.party-related-row strong{display:block;font-size:16px;font-weight:400;overflow-wrap:anywhere}.party-related-row small{display:block;border-left:3px solid #bccbd5;padding-left:7px;margin-top:5px;font-size:12px}.party-related-row b{font-size:14px;font-weight:400;color:#56616b;white-space:nowrap}.party-related-row:hover{background:#f7fafc}.party-detail .composer-header{font-size:14px;color:#498cb7}.field-change{overflow-wrap:anywhere}.event-line time,.event-line>span{margin-right:4px}.party-actions-menu{position:relative;flex:none}.party-actions-menu>summary{list-style:none;cursor:pointer;color:#8e9aa2;width:30px;height:30px;display:grid;place-items:center;font-size:25px;line-height:1;border-radius:3px}.party-actions-menu>summary::-webkit-details-marker{display:none}.party-actions-menu>summary:hover,.party-actions-menu[open]>summary{background:#f1f4f6;color:#536a79}.party-actions-menu>summary:focus-visible{outline:2px solid #258cde;outline-offset:2px}.party-actions-dropdown{position:absolute;right:0;top:32px;z-index:15;width:240px;max-width:calc(100vw - 100px);padding:5px 0;background:white;border:1px solid #dfe3e6;box-shadow:0 3px 10px #0002}.party-actions-dropdown>a,.party-actions-dropdown>button{display:block;width:100%;padding:10px 14px;border:0;border-radius:0;background:white;color:#485761;font-size:14px;text-align:left;text-decoration:none;white-space:normal;line-height:1.3}.party-actions-dropdown>a:hover,.party-actions-dropdown>button:hover{background:#f1f6f9}.contact-method-row{position:relative;min-height:25px}.contact-method-values{min-width:0}.contact-method-row>.method-plus{position:absolute;left:-27px;top:1px;width:24px;height:24px;min-height:24px;padding:0;border:0;background:transparent;color:#b7bec2}.method-plus>span{display:grid;place-items:center;width:17px;height:17px;border:1px solid #e2e6e8;border-radius:50%;font-size:15px;line-height:1;font-weight:400}.method-plus:hover>span{border-color:#94a7b5;color:#638598}.contact-method-row .party-method{text-decoration:underline;text-underline-offset:2px}.reference-card .seamless-editor{font-size:inherit;line-height:inherit}.reference-card .seamless-editor input:not([type=checkbox]),.reference-card .seamless-editor select,.reference-card .seamless-editor textarea{border:0;border-radius:0;outline:none;box-shadow:none;background:transparent;padding:2px 0;min-height:30px;font:inherit;color:inherit}.reference-card .seamless-editor input:focus-visible,.reference-card .seamless-editor select:focus-visible,.reference-card .seamless-editor textarea:focus-visible{outline:none;border-bottom:1px solid #b6c5cf}.seamless-editor input[type=number]{appearance:textfield;-moz-appearance:textfield}.seamless-editor input::-webkit-inner-spin-button,.seamless-editor input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.reference-card .deal-title-editor{display:block;font:inherit}.reference-card .deal-title-editor textarea{display:block;width:100%;min-height:30px;field-sizing:content;resize:none;overflow:hidden;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#fff;font:inherit;line-height:inherit;box-shadow:none;outline:none}.reference-card .deal-title-editor textarea:focus-visible{outline:none;text-decoration:underline;text-decoration-color:#78929d;text-underline-offset:5px;text-decoration-thickness:1px}.deal-title-editor small{display:block;color:#ffb9a9;font-size:12px;font-weight:400;line-height:18px}.reference-card .detail-title h1>.inline-value:focus:not(:focus-visible){outline:none}.new-deal-card .detail-title h1 input:focus{outline:none;box-shadow:none}.contact-method-inline input{width:100%;border:0;border-bottom:1px solid #6c9dff;border-radius:0;padding:3px 0;background:transparent;font-size:inherit}.contact-method-inline>div{display:flex;gap:14px;margin-top:5px}.contact-method-inline button{font-size:12px;min-height:25px}.contact-method-inline .error{display:block;white-space:normal}.party-duplicates{font-size:13px}.party-duplicates:empty{display:none}.party-duplicates button{display:flex;justify-content:space-between;width:100%;text-align:left;white-space:normal;background:#f5f8fa;border:0;border-radius:0;padding:7px 8px;margin-top:4px;color:#318ab6}.party-duplicates button small{display:block}.party-duplicates button>span:first-child{min-width:0;overflow-wrap:anywhere}.pan-kanban{cursor:grab}.pan-kanban.is-panning,.pan-kanban.is-panning *{cursor:grabbing!important;user-select:none}.pan-kanban .deal-card{cursor:grab}.pan-kanban a,.pan-kanban button{cursor:pointer}.party-add-section{position:relative}.party-add-section:has(.embedded-party-form)>.party-add{position:absolute;left:30px;top:18px;width:44px;min-height:44px;padding:0;font-size:0;gap:0;z-index:1}.party-add-section:has(.embedded-party-form)>.party-add .plus-circle{font-size:28px}.party-add-section:has(.embedded-party-form)>.add-party-panel{padding-top:18px}.embedded-party-form>label:first-child{margin-left:60px;min-height:44px;font-size:0;display:flex;justify-content:center}.embedded-party-form>label:first-child input{font-size:18px}.embedded-party-form .simple-methods>label,.embedded-party-form>label:not(:first-child){display:grid;grid-template-columns:36% minmax(0,1fr);align-items:center;gap:12px;font-size:16px}.embedded-party-form .simple-methods{gap:8px}.embedded-party-form input,.embedded-party-form select,.embedded-party-form textarea{border:0!important;border-bottom:1px solid transparent!important;background:transparent;border-radius:0;padding:4px 0;box-shadow:none;outline:none;color:#363b44}.embedded-party-form input:focus,.embedded-party-form select:focus,.embedded-party-form textarea:focus{border-bottom-color:#6c9dff!important}.embedded-party-form input::placeholder{color:#adb0b2}.embedded-party-form .form-actions{justify-content:flex-start;margin-top:10px}.embedded-party-form .party-extra-methods{font-size:12px}.embedded-party-form .party-method-input button{opacity:0}.embedded-party-form .party-method-input:focus-within button,.embedded-party-form .party-method-input:hover button{opacity:1}.embedded-party-form .party-note{font-size:12px}.deal-statistics h2{font-size:15px;font-weight:400;color:#8b959d;padding:24px 30px 0}.deal-statistics .utm-fields{font-size:14px;grid-template-columns:minmax(150px,48%) minmax(0,1fr);gap:12px;padding-bottom:15px}.deal-statistics>p{font-size:12px;padding:0 30px 20px}.utm-fields dd{user-select:text;color:#8c969f}@media(max-width:760px){.party-add-section:has(.embedded-party-form)>.party-add{left:24px}.embedded-party-form .simple-methods>label,.embedded-party-form>label:not(:first-child){font-size:14px;grid-template-columns:34% minmax(0,1fr)}.deal-statistics .utm-fields{grid-template-columns:minmax(130px,55%) minmax(0,1fr);font-size:12px}}.simple-methods{display:grid;gap:12px}.party-method-input{display:flex;gap:6px}.party-method-input input{flex:1;min-width:0}.party-method-input button{border:0;color:#97a1a8;padding:0 5px}.party-extra-methods{display:flex;gap:18px;font-size:13px}.party-note summary{cursor:pointer;color:#8b959d;font-size:13px}.party-note label{margin-top:8px}.party-picker-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px;flex-wrap:wrap}.party-picker-actions button{white-space:normal;text-align:left}.party-matches small{display:block;margin-left:0}.party-matches>p{padding:12px 0;font-size:13px}.party-matches button>span:first-child{min-width:0;overflow-wrap:anywhere}.dialog-side{position:fixed;inset:0 auto 0 var(--rail-width);margin:0;width:calc((100vw - var(--rail-width)) * .335);min-width:350px;max-width:calc(100vw - var(--rail-width));height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:0 24px 24px;box-shadow:4px 0 15px #0002}.dialog-side>header{position:sticky;top:0;z-index:2;background:#1e3b46;color:white;margin:0 -24px;padding:24px;min-height:100px}.dialog-side>header button{color:white}.dialog-side .field-settings-tabs{padding-top:14px}.dialog-side .field-layout-list{max-height:none}.dialog-side .field-layout-row{flex-wrap:wrap;padding:9px 0}.dialog-side .field-row-actions{margin-left:auto}.dialog-side .form-grid{grid-template-columns:1fr}.reference-card .compact-history .timeline-event{padding:4px 22px;font-size:13px;line-height:1.35}.reference-card .compact-history .timeline-event p{line-height:1.35;margin:2px 0 0 43px}.reference-card .compact-history .note-event{padding:10px 14px;margin:8px 0}.reference-card .compact-history .note-event p{margin:6px 0 0;font-size:14px}.reference-card .compact-history .date-divider{margin:18px -24px 17px}.event-line{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}.event-line time{font-variant-numeric:tabular-nums}.history-expand{display:block;margin:14px auto 0;padding:3px 10px;min-height:25px;border:0;background:transparent;color:#8395a2;font-size:13px;text-decoration:underline}.completed-tasks{margin:12px 0;font-size:13px;color:#88959f}.completed-tasks summary,.event-body summary{cursor:pointer}.event-body summary{padding-top:5px;overflow-wrap:anywhere}.event-body summary span{color:var(--link)}.reference-card .task-event{padding:9px 12px;margin-top:8px}@media(max-width:760px){.dialog-side{left:var(--rail-width);width:calc(100vw - var(--rail-width));min-width:0;padding:0 15px 20px}.dialog-side>header{margin:0 -15px;padding:18px 15px}.reference-card .compact-history .timeline-event{padding:4px 0}.reference-card .compact-history .timeline-event p{margin-left:0}}.reference-card{grid-template-columns:minmax(350px,33.5%) minmax(0,1fr)}.reference-card .detail-fields{position:relative;border-right:7px solid #d5d5d5}.reference-card .detail-heading{background:#1e3b46;color:#fff;padding:4px 30px 0;min-height:204px;border:0}.reference-card .detail-title{gap:8px;align-items:flex-start;margin-left:-20px}.reference-card .detail-title>a{color:#94a4ac;padding-top:3px}.reference-card .detail-title h1{font-size:26px;line-height:30px;min-width:0}.reference-card .detail-title h1 .inline-value{font-size:inherit;font-weight:700;line-height:inherit;color:#fff;padding:0;white-space:normal}.reference-card .detail-title>button{background:none;color:#bbc9cc}.reference-card .record-id{font-size:16px;color:#8a9da7;margin:18px 0}.reference-card .stage-select{color:#8097a3;font-size:12px}.reference-card .stage-select select{font-size:17px;color:#fff;width:100%}.reference-card .stage-select option{background:white;color:#363b44}.reference-card .stage-progress{display:block;height:4px;background:#142e39;margin:8px 0 15px;border-radius:2px;overflow:hidden}.reference-card .stage-progress span{display:block;height:100%}.reference-card .tabs{gap:20px;overflow:auto}.reference-card .tabs button{font-size:17px;color:#90a1a9;padding:10px 0 11px;border-bottom:4px solid transparent}.reference-card .tabs button.active{color:#fff;border-color:#fff}.reference-card .field-list{grid-template-columns:36% minmax(0,1fr);padding:23px 30px 27px;gap:14px 12px;font-size:17px;line-height:25px;min-height:138px;align-content:start}.reference-card .field-list dt{color:#969c9f;padding-top:3px}.reference-card .field-list dd{min-width:0}.inline-value{min-height:30px;padding:2px 0;max-width:100%;justify-content:flex-start;border:0;border-bottom:1px solid transparent;border-radius:0;background:transparent;text-align:left;white-space:pre-wrap;font-size:inherit;line-height:inherit;font-weight:400}.inline-value:hover{background:transparent;border-color:#6c9df6}.inline-value:disabled{opacity:1;cursor:default}.inline-value.is-empty{color:#9ba4ab;min-width:50px}.inline-editor{width:100%;font-size:15px}.inline-editor fieldset{border:0;padding:0;margin:0;min-width:0}.inline-editor input:not([type=checkbox]),.inline-editor select,.inline-editor textarea{width:100%;padding:5px;border:0;border-bottom:1px solid #599bff;border-radius:0;background:#fff;color:#363b44}.inline-controls{display:flex;gap:5px;margin:5px 0}.inline-controls button{font-size:12px;min-height:27px;padding:4px 6px}.record-menu{position:absolute;right:12px;top:40px;z-index:10;display:flex;flex-direction:column;background:#fff;padding:7px;box-shadow:0 3px 12px #0003;border:1px solid #ddd}.record-menu button{border:0;text-align:left;justify-content:flex-start}.party-add-section,.party-block{border-top:1px solid #e6e7e8}.party-block-heading{display:flex;align-items:center;gap:10px;padding:16px 30px}.party-block-heading>a{font-size:19px;color:#8d999f}.party-toggle{display:flex;flex:1;min-width:0;padding:0;gap:14px;background:none;border:0;justify-content:flex-start;text-align:left;font-size:18px}.party-toggle:hover{background:transparent;border:0}.party-toggle strong{overflow:hidden;text-overflow:ellipsis}.party-chevron{margin-left:auto;color:#9ba4ab;font-size:16px}.party-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:#e4edf1;color:#577182;font-weight:400}.company-avatar{border-radius:3px}.party-add{width:100%;min-height:78px;padding:16px 30px;justify-content:flex-start;gap:15px;color:#979fa5;border:0;background:transparent;font-size:19px;text-align:left;white-space:normal}.party-add:hover{background:#fafbfc}.plus-circle{width:44px;height:44px;flex:0 0 44px;border:1px solid #9ca5aa;border-radius:50%;display:grid;place-items:center;font-size:31px;font-weight:400;line-height:1;color:#9ca5aa}.reference-card .party-field-list{padding-top:0;padding-bottom:12px;min-height:0}.party-method{display:block}.party-block-actions{padding:0 30px 18px;display:flex;justify-content:space-between;gap:15px;font-size:13px}.unlink-confirm{padding:15px 30px;background:#fff9ed}.unlink-confirm p{margin-bottom:8px}.unlink-confirm button{margin-right:8px}.add-party-panel{padding:0 30px 25px}.add-party-panel>label{font-size:14px;color:#929ba2}.add-party-panel input,.add-party-panel select,.add-party-panel textarea{border:0;border-bottom:1px solid #739bff;border-radius:0;padding:5px 0}.add-party-panel h3{font-size:14px;color:#929ba2;margin:15px 0;font-weight:400}.party-matches{display:flex;flex-direction:column;max-height:155px;overflow:auto}.party-matches button{border:0;justify-content:space-between;text-align:left;white-space:normal;padding:8px 3px;border-bottom:1px solid #eee}.party-matches small{margin-left:10px}.embedded-party-form{gap:12px}.embedded-party-form .form-actions{margin-top:0}.embedded-party-form .methods>div{gap:7px}.embedded-party-form .methods input{min-width:0}.embedded-party-form textarea{min-height:40px}.files-empty{padding:30px}.files-empty p{color:#8b949c;margin-top:12px}.reference-card .detail-timeline{background:#f5f5f5}.reference-card .feed-toolbar{height:80px;min-height:80px;background:#fafafa;border-bottom:1px solid #c9c9c9;box-shadow:0 3px 8px #0000000a;padding:14px 24px}.reference-card .feed-toolbar input{font-size:19px}.reference-card .feed-toolbar>span{color:#9a9fa3;font-size:12px}.reference-card .timeline-feed{padding:0 24px 24px}.reference-card .date-divider{margin:22px -24px 27px;border-color:#c6c6c6}.reference-card .date-divider span{background:#fff;font-size:14px}.reference-card .timeline-event{padding:8px 52px;font-size:15px;color:#8193a0;line-height:1.5}.reference-card .note-event{padding:14px 20px}.reference-card .composer-wrap{padding:12px 22px 15px}.reference-card .task-warning{font-size:15px;padding:4px 18px;color:#956215;border-color:#efb636;background:#fff5d8}.reference-card .composer{box-shadow:0 4px 12px #00000008;padding:13px 18px;min-height:89px;border-color:#c6c6c6}.reference-card .composer textarea,.reference-card .composer-header select{font-size:17px}.composer-compact{position:relative;align-content:flex-start}.composer-compact .composer-header{width:auto;position:absolute;top:15px;left:18px}.composer-compact textarea{padding:2px 0 0 126px;min-height:52px}.composer-compact>.primary{display:none}.composer-compact:focus-within>.primary{display:inline-flex}.field-settings-tabs{display:flex;border-bottom:1px solid #ddd;margin:0 0 16px;gap:20px}.field-settings-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:8px 0}.field-settings-tabs button.active{border-color:#4c8bf7;color:#1687d9}.settings-caption{font-size:13px;color:#89939a;margin:12px 0}.field-layout-list{max-height:48vh;overflow:auto}.field-layout-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e6e7e8}.check-row{flex-direction:row;align-items:center;gap:10px}.field-layout-row small{display:block;font-size:12px}.field-row-actions{display:flex;gap:5px}.field-row-actions button{padding:4px 7px;min-height:28px;font-size:13px}.add-field{margin:18px 0 8px}.field-definition-form{padding:12px 0}.archive-confirm{background:#fff6ed;padding:15px;margin-top:15px}.archive-confirm button{margin:12px 10px 0 0}@media(min-width:1400px){:root{--rail-width:78px}.rail-account{height:80px;min-height:80px!important}.rail-links a{height:82px;font-size:12px}.rail-links span{max-width:72px}.rail-links svg{width:33px;height:33px}}@media(min-width:761px) and (max-width:1100px){.reference-card{grid-template-columns:330px minmax(0,1fr)}.reference-card .detail-heading{padding:12px 18px 0}.reference-card .field-list{padding:20px 18px;grid-template-columns:36% 1fr}.party-add,.party-block-heading{padding:16px 18px}.add-party-panel{padding:0 18px 20px}.reference-card .tabs{gap:14px}.reference-card .tabs button{font-size:15px}.reference-card .timeline-event{padding:8px 5px}}@media(max-width:760px){.reference-card .detail-fields{border:0;overflow:visible;flex:none}.reference-card .detail-heading{padding:12px 24px 0;min-height:190px}.reference-card .detail-title h1{font-size:22px}.reference-card .field-list{padding:18px 24px;gap:10px;font-size:16px;min-height:110px}.reference-card .party-field-list{min-height:0}.reference-card .tabs{gap:15px}.reference-card .tabs button{font-size:16px}.reference-card .detail-timeline{overflow:visible;min-height:420px;flex:none}.reference-card .timeline-feed{overflow:visible;min-height:120px}.reference-card .timeline-event{padding:8px 5px}.reference-card .composer-wrap{position:relative;padding:12px}.reference-card .feed-toolbar{height:56px;min-height:56px}.party-add,.party-block-heading{padding:15px 24px}.add-party-panel{padding:0 24px 20px}.field-layout-row{align-items:flex-start;flex-wrap:wrap}.field-row-actions{margin-left:auto}.reference-card .task-warning{font-size:13px}.reference-card .composer textarea,.reference-card .composer-header select{font-size:15px}.composer-compact textarea{padding-left:115px}.reference-card .record-id{margin:16px 0}.party-block-actions{padding:0 24px 16px}.party-toggle{font-size:16px}.party-add{font-size:17px}}.new-deal-card .detail-title h1 input{width:100%;background:none;border:0;border-bottom:1px solid #7ca5b3;border-radius:0;color:#fff;font:inherit;font-weight:700;padding:0 0 4px}.new-deal-card .detail-title input::placeholder{color:#c1cbd0}.new-deal-card .record-id{margin:12px 0 15px}.new-deal-card .stage-select select:first-child{font-size:13px;color:#a0b3bd;font-weight:400;margin-bottom:7px}.draft-field-list input,.draft-field-list select,.draft-field-list textarea{padding:3px 0;border:0;border-bottom:1px solid transparent;width:100%;font-size:inherit;background:none;border-radius:0}.draft-field-list input:hover,.draft-field-list select:hover,.draft-field-list textarea:hover{border-bottom-color:#739bff}.budget-input{display:flex;align-items:center;gap:5px}.budget-input input{width:115px}.new-deal-actions{position:sticky;bottom:0;background:white;border-top:1px solid #e6e7e8;padding:15px 30px;display:flex;align-items:center;gap:20px;z-index:2}.draft-party-hint{font-size:12px;color:#969fa5;padding:15px 30px}.draft-timeline-hint{color:#92a0aa;font-size:14px;padding:0 52px}.title-error{color:#ffb9a9;display:block;margin:8px 0}.new-deal-card .detail-fields{display:flex;flex-direction:column}.new-deal-card .new-deal-actions{margin-top:auto}.new-deal-card .deal-parties,.new-deal-card .detail-heading,.new-deal-card .field-list{flex:none}@media(max-width:420px){.reference-card .tabs{gap:10px}.reference-card .tabs button{font-size:14px}.new-deal-actions{padding:12px 20px}.reference-card .detail-heading{padding-right:18px}}.embedded-party-form .party-save-footer{position:sticky;bottom:0;background:#fff;padding:12px 0;z-index:2;justify-content:flex-start}.toolbar .distinct-search{border:1px solid #ccd7de;border-radius:3px;background:#fff;margin:8px;min-width:150px}.filter-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #bccbd4;padding:10px 14px;white-space:nowrap}.filter-toggle.has-filters{color:#1767c4;border-color:#4388f9;background:#edf4ff}.filter-bar{flex-wrap:wrap;gap:14px}.deals-page{position:relative}.amo-filter-panel{position:absolute;z-index:30;top:80px;left:0;width:min(1200px,100%);max-height:calc(100dvh - 110px);overflow:auto;display:grid;grid-template-columns:300px minmax(280px,425px) minmax(220px,1fr);background:#fafafa;color:#434b56;box-shadow:0 20px 35px #0002;border:1px solid #e5e7e9}.filter-presets{background:#fff;border-right:1px solid #e5e7e9;padding:0 25px}.filter-presets button{display:flex;align-items:center;gap:10px;width:100%;padding:21px 6px;text-align:left;border:0;border-bottom:1px solid #e5e7e9;background:none;font-size:17px;font-weight:400;color:#454c56}.filter-presets button.active{color:#009edf;font-weight:600}.filter-presets i{width:15px;height:15px;border-radius:50%;flex-shrink:0}.filter-properties,.filter-tags{padding:24px;display:flex;flex-direction:column;gap:12px}.amo-filter-panel h3{margin:0 0 8px;font-size:14px;color:#68737c}.filter-properties label{display:flex;flex-direction:column;gap:5px;color:#77838d;font-size:13px}.amo-filter-panel input,.amo-filter-panel select,.filter-period summary{width:100%;min-width:0;height:37px;border:1px solid #c9c9c9;border-radius:4px;padding:7px 9px;background:#fff;color:#586776;font-size:14px}.filter-period summary{cursor:pointer}.filter-range{display:flex;align-items:center;gap:8px}.filter-panel-footer{grid-column:1/-1;position:sticky;bottom:0;display:flex;align-items:center;gap:12px;padding:12px 24px;background:#fff;border-top:1px solid #e5e7e9}@media(max-width:900px){.amo-filter-panel{grid-template-columns:220px minmax(250px,1fr);top:80px}.filter-tags{grid-column:2}.filter-presets{grid-row:1/3;padding:0 12px}}@media(max-width:600px){.amo-filter-panel{grid-template-columns:1fr;top:70px;max-height:calc(100dvh - 80px)}.filter-presets{grid-row:auto;display:flex;overflow:auto;padding:0 10px}.filter-presets button{min-width:155px;font-size:14px;padding:12px}.filter-tags{grid-column:1}.filter-properties,.filter-tags{padding:16px}}.deals-page .amo-filter-panel{top:64px}.filter-presets button{justify-content:flex-start;white-space:normal}@media(max-width:760px){.deals-page .amo-filter-panel{top:100px;max-height:calc(100dvh - 110px)}}.filter-reset{color:#1767c4;background:#edf4ff;border:1px solid #4388f9;white-space:nowrap;padding:10px}.stage-multiselect{border:1px solid #c9c9c9;border-radius:4px;background:white}.stage-multiselect summary{cursor:pointer;padding:10px;font-size:14px}.stage-multiselect>div{padding:8px;display:grid;gap:10px}.filter-properties .stage-multiselect label{flex-direction:row;align-items:center}.amo-filter-panel .stage-multiselect input{width:17px;height:17px;margin:0}.period-filter{position:relative;font-size:14px}.period-filter summary{cursor:pointer;list-style:none;padding:9px 10px;border:1px solid #c9c9c9;border-radius:4px;background:#fff}.period-filter .period-tabs{display:flex;justify-content:center;padding:16px;background:#f4f4f4}.period-filter .period-tabs button{border:1px solid #c8c8c8;border-radius:0;padding:6px 16px;color:#6c737a;background:#f5f5f5}.period-filter .period-tabs button.active{background:#fff;color:#303b45}.period-filter .period-presets{display:grid}.period-filter .period-presets button{text-align:left;justify-content:flex-start;border:1px solid #ccc;border-top:0;border-radius:0;padding:10px 8px;background:white;font-weight:400}.period-filter .period-calendar{background:white;padding:12px;border:1px solid #ddd;box-shadow:0 8px 20px #0002}.period-filter .calendar-header{display:flex;align-items:center;justify-content:space-between}.period-filter .calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:0}.period-filter .calendar-grid button{min-width:0;padding:9px 0;border:0;background:white;border-radius:0;font-weight:400}.period-filter .calendar-grid button.in-range{background:#f0f0f0}.period-filter .calendar-grid button.selected{background:#d8dade;border-radius:50%}.period-filter .calendar-grid button.today{color:#4388f9;font-weight:700}.period-filter .calendar-grid button.outside{color:#aab0b5}.period-range-input{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #ccc;background:#fff}.period-range-input input{border:0;padding:3px}.period-calendar-footer{display:flex;justify-content:space-between;margin-top:12px}.period-weekday{color:#626c76;padding:8px 0;font-size:11px}.period-panel{border:1px solid #ccc;border-top:0;border-radius:0 0 3px 3px}.filter-tags .tag-filter-choice{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:28px;margin:0;padding:3px 0;cursor:pointer}.amo-filter-panel .tag-filter-choice input{flex:0 0 16px;width:16px;height:16px;margin:0;padding:0}.filter-tags .tag-filter-choice span{min-width:0;overflow-wrap:anywhere;line-height:20px}.filter-tags h3{display:flex;align-items:center;justify-content:space-between}.filter-custom-fields{display:flex;flex-direction:column;gap:10px}.filter-custom-fields h4{margin:6px 0 0;font-size:13px;color:#707b84}.filter-custom-fields input,.filter-custom-fields select{width:100%;min-height:36px}.kanban-card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;min-width:0}.kanban-card-tags span{display:block;max-width:100%;padding:1px 5px;border-left:3px solid;background:#f1f3f5;color:#63717b;font-size:11px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tags-chips{display:flex;flex-wrap:wrap;gap:6px}.tags-chip{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border:1px solid #b8c5cb;border-radius:3px;font-size:12px}.tags-editor{padding:8px 0}.tags-picker{background:#fff;color:#354b59;border:1px solid #d3dce0;padding:12px;display:grid;gap:10px}.tags-picker label{display:flex;align-items:center;gap:8px}.tags-manager{display:grid;gap:14px}.tags-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e1e6e9}.tags-row input[type=text]{flex:1;min-width:0}.tags-row input[type=color]{width:36px;padding:2px}.tags-list{list-style:none;padding:0;margin:0;max-height:45vh;overflow:auto}.tags-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #e1e6e9}.tags-actions,.tags-editor{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.tags-editor label{display:grid;gap:5px}.tags-editor input[type=color]{width:42px;height:36px}.tags-chip i{width:9px;height:9px;border-radius:50%}.tags-choices{display:grid;gap:10px;max-height:40vh;overflow:auto}.tags-confirm{border:1px solid #efb8b8;padding:12px}.reference-card .detail-heading:has(.tags-inline) .record-id{display:inline-block;vertical-align:middle}.tags-inline{display:inline-flex;position:relative;flex-wrap:wrap;align-items:center;gap:5px;margin-left:8px;vertical-align:middle;max-width:100%}.detail-heading .tags-inline-add{min-height:26px;padding:3px 7px;border:1px solid #65818c;background:transparent;color:#8da2ab;font-size:11px;font-weight:400}.tags-inline-chip{display:inline-flex;align-items:center;gap:5px;padding:2px 5px;font-size:12px;border:1px solid;border-radius:3px}.tags-inline-chip button{padding:0 2px;min-height:18px;border:0;color:inherit;background:none}.tags-inline-editor{position:relative;width:220px;max-width:100%}.detail-heading .tags-inline-editor input{width:100%;padding:4px;border:0;border-bottom:1px solid #4388f9;border-radius:0;background:transparent;color:inherit;outline:none}.tags-inline-results{position:absolute;z-index:50;top:100%;left:0;width:260px;max-width:calc(100vw - 120px);max-height:220px;overflow:auto;background:white;color:#344b59;box-shadow:0 4px 12px #0003;border:1px solid #ddd}.tags-inline-results button{display:block;width:100%;text-align:left;white-space:normal;border:0;border-radius:0;background:white;padding:8px 10px}.tags-inline-results button:hover{background:#edf4ff}.tags-inline-results small{display:block;padding:8px}.tags-deal .tags-chip{background:#fff;color:#354b59}.reference-card .detail-heading:has(.tags-deal){height:auto;min-height:204px}.period-filter .period-calendar{width:280px;max-width:100%;box-sizing:border-box;padding:8px;margin:0 auto}.period-filter .calendar-header{font-size:14px;margin-bottom:4px}.period-filter .calendar-header button{min-height:26px;padding:2px 8px}.period-filter .calendar-grid button{height:29px;min-height:0;padding:3px 0;font-size:12px}.period-filter .period-weekday{padding:4px 0;font-size:10px}.period-filter .period-calendar-footer{margin-top:6px}.period-filter .period-calendar-footer button{min-height:26px;padding:4px 8px;font-size:12px}.period-filter .period-tabs{padding:8px}.period-filter .period-tabs button{padding:4px 12px;font-size:13px}.period-filter .period-presets button{padding:7px 8px;min-height:30px;font-size:13px}.automation-page .pipeline-editor{display:flex;padding:0;gap:0;height:calc(100dvh - 65px);overflow:hidden}.automation-page .pipeline-sidebar{width:330px;min-width:330px;background:#f5f5f5;padding:30px 26px;border-right:1px solid #e5e5e5;overflow-y:auto}.automation-page .pipeline-sidebar h2{font-size:14px;text-transform:uppercase;letter-spacing:1px;margin-top:32px}.automation-page .pipeline-stages{display:flex;flex:1;min-width:0;overflow:auto;gap:0;padding:0}.automation-page .pipeline-stage{min-width:380px;width:380px;flex:0 0 380px;border:0;border-right:1px solid #e7e7e7;border-radius:0;padding:0;background:repeating-linear-gradient(180deg,#fff 0,#fff 81px,#e8e8e8 0,#e8e8e8 82px)}.automation-page .pipeline-stage-header{display:flex;height:44px;align-items:center;border-bottom:4px solid;background:#f5f5f5;padding:4px 14px}.automation-page .pipeline-stage-header input:not([type=color]){text-align:center;text-transform:uppercase;font-weight:600;background:transparent;border:0;min-width:0}.automation-page .pipeline-stage-header input[type=color]{width:24px;height:24px;padding:0;border:0}.automation-page .stage-tools-disclosure{background:#fafafa;border-bottom:1px solid #e5e5e5;padding:12px;text-align:center}.automation-page .stage-tools-disclosure summary{cursor:pointer;color:#8b979d;text-decoration:underline}.automation-page .pipeline-stage>p{margin:0;padding:8px;font-size:12px;background:#fff;color:#98a0a5}.automation-page .automation-grid{padding:0;border:0;background:transparent;min-height:500px}@media(max-width:760px){.automation-page .pipeline-sidebar{width:220px;min-width:220px;padding:18px}.automation-page .pipeline-stage{min-width:320px;width:320px;flex-basis:320px}}.automation-stage{display:grid;gap:0}.automation-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;width:100%;min-height:82px;border:0;border-bottom:1px solid #dfe9df;border-radius:0;background:#f0fff0;color:#3e4b50;padding:16px 20px}.automation-card small{font-weight:400;color:#707e78}.automation-add{width:100%;height:82px;display:flex;justify-content:center;align-items:center;gap:10px;border:0;border-bottom:1px solid #e7e7e7;border-radius:0;color:#89969d;background:transparent;font-size:16px;font-weight:400}.automation-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.automation-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:135px;border:0;border-radius:5px;background:#4788fa;color:#fff;box-shadow:0 2px 3px #0002;padding:16px}.automation-tile:disabled{background:#9aaecb;color:#edf1f8;cursor:not-allowed}.automation-editor{display:grid;gap:18px;padding:8px}.automation-editor label{display:grid;gap:6px}.automation-editor input,.automation-editor select,.automation-editor textarea{width:100%;padding:10px;border:1px solid #ddd;border-radius:4px}.automation-editor input[type=checkbox]{width:18px;height:18px}.automation-actions{display:flex;gap:10px;align-items:center}@media(max-width:600px){.automation-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.automation-tile{min-height:105px;font-size:13px}}.automation-editor fieldset{display:grid;gap:18px;border:0;padding:0;min-width:0}.automation-condition-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;gap:6px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #eee}.automation-condition-row>select:first-child{grid-column:1/3}.automation-condition-row>input,.automation-condition-row>select{min-width:0}.automation-condition-remove{grid-column:3;grid-row:1/3;padding:0;align-self:center}.automation-conditions>small{display:block;margin-top:8px;color:#8a979f}.automation-editor .automation-availability{font-size:12px;line-height:1.5;margin:0}.automation-card span{display:grid;gap:5px}.automation-editor .automation-enabled,.automation-tag-options label{display:flex;align-items:center;gap:8px}.automation-tile span{white-space:normal}.automation-card.is-disabled{background:#f2f2f2;color:#999}.automation-execution{position:relative;min-width:0}.automation-execution-label{display:block;margin-bottom:6px}.automation-execution-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;font-weight:400;border:1px solid #ddd;padding:10px;border-radius:4px;background:#fff}.automation-execution-menu{position:relative;margin-top:3px;z-index:12;background:#fff;border:1px solid #d8dce0;box-shadow:0 4px 14px #0002;padding:0}.automation-execution-heading{padding:12px 14px;background:#e8e8e8;font-size:12px;color:#454c56;font-weight:600}.automation-execution-row{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:5px;padding:10px 14px;min-width:0}.automation-execution-row.is-selected,.automation-execution-row:hover{background:#f3f7fc}.automation-execution-row>.automation-execution-delay,.automation-execution-row>.automation-execution-event{display:inline-block;width:auto;min-width:0;justify-content:flex-start;padding:0;border:0;border-radius:0;background:transparent;font-weight:400;color:#465566;text-align:left;font-size:14px;line-height:1.5}.automation-execution-row>.automation-execution-delay{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;flex-shrink:0;color:#168fce}.automation-execution-row>.automation-execution-event{flex:1}.automation-delay-menu{position:relative;flex-basis:100%;margin-top:4px;z-index:15;width:100%;max-width:100%;background:#fff;border:1px solid #d6dce0;box-shadow:0 2px 6px #0001}.automation-delay-presets{display:grid}.automation-delay-presets>button{display:block;justify-content:flex-start;text-align:left;padding:9px 14px;border:0;border-bottom:1px solid #eef0f2;border-radius:0;background:#fff;font-weight:400}.automation-delay-presets>button:hover{background:#edf5ff}.automation-delay-custom{display:grid;gap:10px;padding:12px 14px;font-size:13px}.automation-delay-inputs{display:flex;gap:10px}.automation-editor .automation-delay-inputs label{display:flex;align-items:center;gap:5px}.automation-editor .automation-delay-inputs input{width:65px;padding:7px}.automation-delay-custom>.primary{justify-self:start;padding:6px 12px}.automation-delay-custom small{color:#b44848}.crm-quick-search{position:relative;flex:1;min-width:180px}.crm-search-input{display:flex;align-items:center;gap:10px;border:1px solid #cbd9e5;border-radius:14px;background:#ffffffdb;padding:0 12px;min-height:42px}.crm-search-input:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #4c8bf71c}.crm-search-input>span{font-size:25px;color:#7b8c9c}.crm-search-input input{width:100%;border:0!important;background:transparent!important;outline:none;padding:9px 0}.crm-search-input button{border:0;background:transparent;font-size:21px;padding:0;min-width:28px}.crm-search-results{position:absolute;top:calc(100% + 10px);left:0;width:min(700px,calc(100vw - 120px));max-height:min(65dvh,600px);overflow:auto;background:#f9fcff;color:#243746;border:1px solid #d7e2ec;border-radius:18px;box-shadow:0 20px 60px #102f4530;z-index:70}.crm-search-results header{padding:14px 16px;border-bottom:1px solid #e0e8f0;font-weight:700;display:flex;justify-content:space-between;gap:12px}.crm-search-results header small{font-weight:400}.crm-search-results a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #edf1f5;color:inherit;text-decoration:none}.crm-search-results a:focus,.crm-search-results a:hover{background:#eaf3ff;outline:2px solid var(--blue);outline-offset:-2px}.crm-search-copy{flex:1;min-width:0}.crm-search-copy small,.crm-search-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-search-copy small{margin-top:4px}.crm-search-number{font-size:12px;color:var(--blue);white-space:nowrap}.crm-search-avatar{width:30px;height:30px;border-radius:10px;background:#e0edf7;display:grid;place-items:center}.crm-search-results h4{margin:0;padding:10px 16px;background:#eef4f9;font-size:12px;text-transform:uppercase}.crm-search-results footer,.crm-search-results>p{padding:12px 16px;color:#718295;font-size:12px}.deals-page:has(.crm-search-results)>.toolbar{z-index:45}.deals-page .amo-filter-panel{left:14px;right:14px;top:72px;width:auto;max-width:1200px;max-height:calc(100% - 86px);border-radius:20px;border:1px solid #d9e3ed;box-shadow:0 20px 60px #102f4530;grid-template-columns:minmax(170px,.8fr) minmax(260px,1.4fr) minmax(200px,1fr);background:#f8fbff}.amo-filter-panel .filter-presets{padding:14px;background:#edf3f8}.amo-filter-panel .filter-presets button{padding:13px 12px;min-height:48px;border:0;border-radius:12px;margin-bottom:6px;font-size:14px;white-space:normal;text-align:left}.amo-filter-panel .filter-presets button.active{background:#dbeafd;color:#215b96}.amo-filter-panel .filter-properties,.amo-filter-panel .filter-tags{padding:20px;min-width:0}.amo-filter-panel input:not([type=checkbox]),.amo-filter-panel select,.amo-filter-panel summary{border-radius:10px;min-height:40px;border-color:#d1dde7}.amo-filter-panel .filter-panel-footer{gap:10px;padding:14px 18px;background:#f8fbfff5;backdrop-filter:blur(12px);z-index:3;flex-wrap:wrap}.amo-filter-panel .filter-panel-footer>span{flex:1;font-size:12px}.amo-filter-panel .filter-panel-footer button{border-radius:10px}@media(max-width:900px){.deals-page .amo-filter-panel{grid-template-columns:170px minmax(230px,1fr)}.amo-filter-panel .filter-tags{grid-column:2}.crm-quick-search{min-width:140px}}@media(max-width:600px){.deals-page .amo-filter-panel{top:108px;max-height:calc(100% - 120px);left:6px;right:6px;grid-template-columns:1fr}.amo-filter-panel .filter-presets{grid-row:auto}.amo-filter-panel .filter-tags{grid-column:1}.crm-search-results{position:fixed;top:120px;left:90px;right:10px;width:auto}.crm-search-results a>span:last-child:not(.crm-search-copy){font-size:12px}}@media (min-width:761px){.app-shell{zoom:.8;height:calc(100dvh / .8)}}.settings-workspace{display:flex;height:100%;background:#fff;min-width:0}.settings-sidebar{width:280px;flex:0 0 280px;background:#f7f7f7;border-right:1px solid #e4e6e8;overflow:auto}.settings-sidebar h1{height:80px;padding:28px 30px;font-size:16px;border-bottom:1px solid #e4e6e8;letter-spacing:.06em}.settings-sidebar nav{display:flex;flex-direction:column}.settings-sidebar a{display:block;padding:22px 30px;border-bottom:1px solid #e4e6e8;color:#363b44;font-size:16px}.settings-sidebar a[aria-current=page]{background:white;color:#1687d9;font-weight:700}.settings-content{flex:1;min-width:0;overflow:auto}.settings-topbar{height:80px;display:flex;align-items:center;padding:0 35px;border-bottom:1px solid #e4e6e8;position:sticky;top:0;background:white;z-index:1}.settings-topbar h2{font-size:16px}.settings-body{padding:30px 35px;max-width:1250px}.settings-body h2{font-size:18px;margin-bottom:12px}.settings-body p{max-width:760px;color:#89939c;margin:12px 0 22px}.settings-body hr{border:0;border-top:1px solid #e4e6e8;margin:30px 0}.settings-facts{display:grid;grid-template-columns:220px 1fr;gap:20px;font-size:15px;margin:26px 0}.settings-facts dt{color:#87939a}.settings-facts dd{margin:0;overflow-wrap:anywhere}.settings-actions{display:flex;flex-direction:column;gap:20px}.settings-table{border-collapse:collapse;width:100%;font-size:14px}.settings-table td,.settings-table th{text-align:left;padding:12px;border-bottom:1px solid #e4e6e8}.settings-table th{font-size:12px;color:#89939c;text-transform:uppercase;background:#fafafa}.settings-body form{max-width:650px}.settings-body form label{margin:12px 0}.settings-body .form-actions{margin-top:20px}.settings-body input,.settings-body select{max-width:100%}@media(max-width:760px){.settings-workspace{flex-direction:column;height:auto;min-height:100%}.settings-sidebar{width:100%;flex:none}.settings-sidebar h1{height:auto;padding:16px}.settings-sidebar nav{flex-direction:row;overflow:auto}.settings-sidebar a{padding:14px 16px;white-space:nowrap}.settings-topbar{height:55px;padding:0 16px}.settings-body{padding:20px 16px}.settings-facts{grid-template-columns:1fr;gap:8px}.settings-table{display:block;overflow:auto}}.settings-table-wrap{overflow:auto}.settings-device{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-success{color:#368553!important}.settings-body .error{color:#b73b30}.settings-form .settings-actions{flex-direction:row;gap:12px}.settings-form .settings-field{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:12px}.settings-field>span{color:#87939a}.settings-field .error{grid-column:2}.settings-table button{min-height:28px;padding:4px 8px;font-size:13px}@media(max-width:600px){.settings-form .settings-field{grid-template-columns:1fr}.settings-field .error{grid-column:1}.settings-device{max-width:180px}}.settings-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:18px;flex-wrap:wrap}.settings-toolbar h2{margin:0;flex:1}.settings-toolbar input{width:320px}.settings-user-form{padding:20px 0;border-top:1px solid #e4e6e8;border-bottom:1px solid #e4e6e8;margin-bottom:20px}.settings-user-form .settings-actions{flex-direction:row;gap:12px}.settings-notice{padding:16px;background:#f2f7fb;border:1px solid #dbe5ef;margin-bottom:20px}.settings-notice input{width:100%;margin-bottom:10px}.settings-notice button{margin-right:8px}.messenger{--chat-blue:#2792d0;--chat-ink:#243746;--chat-muted:#788b98;display:flex;flex:1;min-width:0;min-height:0;height:100%;overflow:hidden;background:#eaf0f3;color:var(--chat-ink);font-size:15px}.messenger button{font:inherit;transition:background-color .12s ease}.messenger :is(button,input,textarea):focus-visible{outline:2px solid #2792d0;outline-offset:2px}.messenger-list{width:330px;flex:0 0 330px;min-height:0;display:flex;flex-direction:column;background:#fff;border-right:1px solid #dde5eb;z-index:2}.messenger-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 18px 13px}.messenger-list-head h1{font-size:21px;line-height:1.3;margin:0;font-weight:700;letter-spacing:-.3px}.messenger-list-head button{border:0;border-radius:50%;width:36px;height:36px;padding:0;background:#edf6fc;color:#1687c6;font-size:23px}.messenger-search{padding:0 15px 12px}.messenger-search input{display:block;width:100%;border:1px solid transparent;border-radius:20px;background:#f1f4f6;padding:10px 15px;font-size:14px;min-height:40px;color:var(--chat-ink)}.messenger-search input:focus{background:#fff;border-color:#70b6e3}.messenger-tabs{display:flex;gap:4px;padding:0 13px;border-bottom:1px solid #edf0f2}.messenger-tabs button{flex:1;position:relative;border:0;border-radius:0;background:transparent;color:var(--chat-muted);font-size:13px;font-weight:700;padding:12px 5px}.messenger-tabs button.active{color:#1787c8}.messenger-tabs button.active:after{content:"";position:absolute;bottom:0;left:12px;right:12px;height:3px;border-radius:3px 3px 0 0;background:#2792d0}.messenger-conversations{flex:1;min-height:0;overflow:auto;padding:7px}.messenger-conversation{display:flex!important;align-items:center;justify-content:flex-start!important;gap:12px!important;width:100%;min-height:80px!important;padding:12px 10px!important;text-align:left;white-space:normal!important;border:0!important;border-radius:9px!important;background:transparent;color:var(--chat-ink)}.messenger-conversation:hover{background:#f2f6f9}.messenger-conversation.active{background:#e8f3fb}.chat-avatar{width:46px;height:46px;flex:0 0 46px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#d9eefa;color:#327fae;font-size:18px;font-weight:700;user-select:none}.messenger-conversation:nth-child(3n+2) .chat-avatar{background:#e9e4fa;color:#8165b4}.messenger-conversation:nth-child(3n) .chat-avatar{background:#dff0e9;color:#458773}.chat-summary{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.chat-summary small,.chat-summary strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.3}.chat-summary strong{font-size:15px;font-weight:700}.chat-summary small{font-size:13px;color:var(--chat-muted)}.chat-time{align-self:flex-start;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px;color:var(--chat-muted);font-size:11px;padding-top:3px}.chat-time b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:12px;background:#2792d0;color:white;font-size:11px;padding:0 5px}.messenger-main{display:flex;flex:1;min-width:0;min-height:0;flex-direction:column;position:relative}.messenger-header{display:flex;align-items:center;gap:12px;min-height:78px;padding:13px 26px;background:white;border-bottom:1px solid #dde5eb;flex-shrink:0}.messenger-header .chat-avatar{width:42px;height:42px;flex-basis:42px;font-size:16px}.messenger-header>div:not(.chat-avatar){flex:1;min-width:0}.messenger-header h2{font-size:17px;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.messenger-header small{font-size:12px;color:var(--chat-muted)}.messenger-header button{border:0;background:transparent;color:#678291;min-width:36px;padding:8px;border-radius:8px}.messenger-feed{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow:auto;padding:24px max(24px,calc((100% - 850px)/2));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b4c5cf transparent}.message-day{align-self:center;flex-shrink:0;font-size:12px;line-height:1.4;background:#d7e1e7;color:#536d7c;border-radius:20px;padding:5px 12px;margin:8px 0 12px}.message-row{display:flex;align-items:flex-end;gap:8px;max-width:85%;align-self:flex-start;min-width:0}.message-row.own{align-self:flex-end;flex-direction:row-reverse}.message-bubble{min-width:90px;max-width:100%;background:#fff;border-radius:12px 12px 12px 3px;padding:10px 13px 7px;box-shadow:0 1px 2px #263d4810;overflow-wrap:anywhere}.message-row.own .message-bubble{background:#dff3d9;border-radius:12px 12px 3px 12px}.message-bubble p{margin:3px 0 5px;white-space:pre-wrap;line-height:1.5;font-size:15px;color:#253a45}.message-author{display:block;font-weight:700;font-size:12px;color:#1687c6;margin-bottom:3px}.message-time{display:block;text-align:right;font-size:10px;line-height:1.3;color:#82919a;margin:3px 0 0}.message-row.own .message-time{color:#76916c}.messenger-composer{display:flex;align-items:flex-end;gap:10px;margin:0 max(24px,calc((100% - 850px)/2)) 8px;padding:9px 10px;background:#fff;border:1px solid #dfe7ec;border-radius:14px;flex-shrink:0}.messenger-composer textarea{flex:1;width:0;min-width:0;min-height:42px;max-height:160px;resize:vertical;padding:10px 5px;border:0;background:#fff;line-height:1.45;color:var(--chat-ink);border-radius:4px}.messenger-composer textarea:focus{outline:none;box-shadow:inset 0 -1px #70b6e3}.messenger-composer button{border:0;border-radius:50%;width:42px;height:42px;min-width:42px;padding:5px;background:#f2f6f8;color:#688898}.messenger-composer button[type=submit]{background:#2792d0;color:#fff;font-size:20px}.messenger-composer button[type=submit]:hover{background:#1684c3}.messenger-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;color:#748c9a;gap:12px;line-height:1.5}.messenger-empty h2{color:#405e70;font-size:23px;margin:0}.messenger-empty p{margin:0;max-width:360px}.messenger-error{padding:10px 16px;background:#fff0ef;color:#af4141;font-size:13px;flex-shrink:0}.messenger-search-bar{display:flex;align-items:center;gap:8px;background:#fff;padding:10px 24px;border-bottom:1px solid #e1e8ec}.messenger-search-bar input{flex:1;min-width:0;border:1px solid #dce5eb;border-radius:7px;padding:9px 12px}.messenger-search-bar button{border:0}.messenger-member-list{max-height:340px;overflow:auto;display:flex;flex-direction:column;gap:2px;margin:12px 0}.messenger-member-list label{display:flex;align-items:center;gap:11px;padding:11px 9px;color:#344f60;cursor:pointer;border-radius:7px;font-size:14px}.messenger-member-list label:hover{background:#f1f7fb}.messenger-member-list input[type=checkbox]{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#2792d0}.messenger-info{padding:12px 0;color:#6d8290;font-size:13px;line-height:1.5}.messenger-info p{margin:5px 0}.messenger-emoji{display:flex;flex-wrap:wrap;align-items:center;gap:3px;padding:8px 14px;background:#fff;border-top:1px solid #e2e9ed}.messenger-emoji button{border:0;background:transparent;font-size:23px;padding:5px 8px;min-height:38px;border-radius:7px}.messenger-draft-help{text-align:center;font-size:11px;color:#8799a4;padding:0 12px 10px;min-height:24px;flex-shrink:0}.messenger-back{display:none!important}@media(max-width:1050px){.messenger-list{width:290px;flex-basis:290px}.messenger-header{padding:12px 18px}.messenger-feed{padding:18px}.messenger-composer{margin:0 18px 8px}.message-row{max-width:92%}}@media(max-width:760px){.messenger-list{width:100%;flex-basis:100%;border-right:0}.messenger.has-chat .messenger-list,.messenger:not(.has-chat) .messenger-main{display:none}.messenger.has-chat .messenger-main{display:flex;width:100%}.messenger-back{display:inline-flex!important}.messenger-header{padding:10px;gap:8px;min-height:66px}.messenger-header h2{font-size:15px}.messenger-header .chat-avatar{width:36px;height:36px;flex-basis:36px}.messenger-header button{min-width:32px;padding:5px}.messenger-feed{padding:12px 10px;gap:7px}.message-row{max-width:94%}.message-bubble{padding:8px 11px 6px}.messenger-composer{margin:0 8px 5px;padding:6px;gap:4px;border-radius:12px}.messenger-composer button{width:36px;height:36px;min-width:36px}.messenger-composer textarea{min-height:36px;font-size:16px;padding:6px}.messenger-search-bar{padding:8px 10px}.messenger-draft-help{font-size:10px;padding-bottom:max(5px,env(safe-area-inset-bottom))}.messenger-list-head{padding-top:17px}.messenger-empty h2{font-size:20px}}@media(prefers-reduced-motion:reduce){.messenger button{transition:none}}.messenger-member-list label{flex-direction:row}.message-day,.message-row.own{margin-left:auto}.message-day{width:max-content;max-width:100%;margin-right:auto}.messenger-feed>div{min-width:0}.reference-card.with-deal-chat{grid-template-columns:minmax(330px,30%) minmax(300px,1fr) 300px}.deal-chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f1f5f7;border-left:1px solid #dce4e9}.deal-chat>header{display:flex;align-items:center;justify-content:space-between;padding:20px 16px;min-height:64px;background:#fff;border-bottom:1px solid #e1e6ea}.deal-chat h2{font-size:16px}.deal-chat>header a{font-size:22px}.deal-chat-members{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#fff;font-size:12px;color:#84919a}.deal-chat-members button{font-size:12px;padding:3px 6px;min-height:26px;border:0;color:#1687d9}.deal-chat-feed{overflow:auto;flex:1;min-height:0;padding:12px;display:flex;flex-direction:column;gap:10px}.deal-chat-feed article{background:white;border-radius:8px;padding:8px 10px;max-width:95%;align-self:flex-start;overflow-wrap:anywhere}.deal-chat-feed article.own{background:#e0f1dc;align-self:flex-end}.deal-chat-feed strong{font-size:11px;color:#4385a7}.deal-chat-feed p{font-size:14px;white-space:pre-wrap;line-height:1.4;margin:4px 0}.deal-chat-feed small{display:block;text-align:right;font-size:10px}.deal-chat>form{display:flex;align-items:flex-end;gap:6px;padding:10px;background:#fff}.deal-chat textarea{flex:1;min-width:0;min-height:65px;max-height:160px;font-size:13px;resize:vertical}.deal-chat>form button{padding:8px;min-width:32px}.deal-chat-empty,.deal-chat-notice{padding:18px;font-size:13px;color:#84919a;line-height:1.5}.deal-chat-empty button{margin-top:18px}.deal-chat-history{text-align:center;padding:8px;font-size:12px}.deal-chat .error{color:#b73b30}@media(max-width:1100px){.reference-card.with-deal-chat{grid-template-columns:minmax(300px,40%) minmax(0,1fr);overflow:auto}.with-deal-chat>.deal-chat{grid-column:1/-1;min-height:400px;max-height:550px;border-top:1px solid #ddd}}@media(max-width:760px){.reference-card.with-deal-chat{display:flex;flex-direction:column}.with-deal-chat>.deal-chat{min-height:420px;flex:none}}