body.live-loading .layout{visibility:hidden}body.live-login .layout{display:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #1768b3;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.live-access{max-width:390px;margin:10vh auto;padding:28px;background:white;border:1px solid #e5e9ee;border-radius:10px}
.live-access h1{font-size:21px;margin:0 0 8px}.live-access p{font-size:13px;color:#727b89}
.live-access label{display:block;margin:18px 0 5px;font-size:13px}.live-access input{width:100%;box-sizing:border-box}
.live-access button{margin-top:20px;width:100%}.live-error{color:#a53535!important;white-space:pre-wrap}
.live-connection{font-size:11px;color:#687483;margin-right:8px}.live-notice{margin:15px 0;padding:12px;background:#f6f8fb;border:1px solid #e4e9ef;border-radius:6px}
button:disabled{opacity:.5;cursor:not-allowed}.business-demo-note{display:none}
#live-scope{max-width:240px}#live-alert{font-size:13px;margin:0 0 12px;color:#a53535}
.reference-help{display:block;color:#727b89;font-size:12px;line-height:1.5;margin-top:6px}select[multiple]{width:100%;min-height:130px}.assignment-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0}.assignment-row label{display:flex;align-items:center;gap:8px}.assignment-row select{max-width:230px}dialog fieldset{border:1px solid #e3e7ed;border-radius:6px;margin:18px 0;padding:12px}dialog .dialog-field{margin-bottom:12px}dialog .order-line-fields select{max-width:100%}dialog .order-lines-table{width:100%;border-collapse:collapse;font-size:12px;margin:14px 0}dialog .order-lines-table th,dialog .order-lines-table td{padding:8px 6px;border-bottom:1px solid #e6e9ee;text-align:left}.business-row-actions{flex-wrap:wrap}
.business-section-heading>button{width:auto;min-width:24px;white-space:nowrap;font-size:12px;line-height:1.3;padding:5px 8px}
.import-dialog{width:min(1080px,94vw);max-width:94vw}.import-dialog form{max-width:none}.import-dialog .business-data-row{gap:12px;flex-wrap:wrap}.import-dialog .business-data-row>div:first-child{flex:1;min-width:180px}.import-dialog a{display:inline-block;padding:8px;color:#17558b}.import-table-scroll{overflow:auto;max-height:320px;margin:16px 0}.import-table{border-collapse:collapse;font-size:12px;white-space:nowrap}.import-table td,.import-table th{padding:7px;border:1px solid #dce3eb;max-width:280px;overflow:hidden;text-overflow:ellipsis}.import-table th{background:#eff3f8}.import-status{position:sticky;top:0;background:white;padding:10px 0;z-index:1}.import-dialog details{padding:12px 0}.import-dialog summary{cursor:pointer;font-weight:600}.import-dialog .live-error{max-height:160px;overflow:auto}.import-dialog .dialog-field{max-width:100%}
.import-dialog .dialog-close{width:auto;min-width:58px;height:auto;right:12px;top:12px;padding:7px 10px}.import-dialog h2{padding-right:60px;overflow-wrap:anywhere;margin-bottom:14px}.import-dialog .business-data-row strong{overflow-wrap:anywhere}
.import-steps{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.import-steps .active{background:#eaf1fc;border-color:#799bce;color:#153b72}.import-merge-scroll{max-height:55vh}.import-merge-table thead{position:sticky;top:0;z-index:2;background:#f3f6fb}.import-merge-table th{vertical-align:top;min-width:235px;max-width:320px;white-space:normal;overflow:visible}.import-merge-table th:first-child{min-width:55px;max-width:70px}.import-merge-table th small{display:block;overflow-wrap:anywhere;font-size:10px;font-weight:400;margin-top:5px}.import-merge-table td{min-width:235px;max-width:320px;white-space:normal;overflow-wrap:anywhere}.import-column-controls{display:flex;align-items:center;gap:5px}.import-column-controls select{width:190px;min-width:150px;margin:0;font-size:12px;padding:7px}.import-column-controls button{flex:none;width:30px;padding:5px}.import-column-controls .configured{background:#e0edf9;border-color:#76a0ca}.import-conflict{background:#fff1d9;color:#7c4a08}.import-dialog fieldset{min-width:0}.import-dialog input[type=file]{width:100%}
body[data-crm-theme] .import-column-resize{box-sizing:border-box;min-width:18px;width:18px;height:22px;min-height:22px;margin:0;padding:0;font-size:10px}body[data-crm-theme] .import-merge-table th:first-child{font-size:10px;white-space:nowrap}
body .import-merge-table{table-layout:fixed}body .import-merge-table th,body .import-merge-table td{min-width:0;max-width:none;padding:6px;overflow:hidden;word-break:break-word}body .import-column-controls{gap:3px}body .import-column-controls select{width:100%;min-width:0;flex:1;padding:5px 2px;font-size:11px}body .import-column-controls button{width:23px;padding:3px}body .import-merge-table th{position:relative}body .import-merge-table th small{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;overflow-wrap:normal}body .import-merge-table th:first-child{position:sticky;left:0;z-index:3;background:#eff3f8}body .import-merge-table [data-pin]{position:sticky;z-index:2;background:#f7f9fc}body .import-merge-table [data-pin=reference]{left:44px}body .import-merge-table [data-pin=product]{left:calc(44px + var(--import-ref-width));box-shadow:2px 0 2px #ccd3dd}body .import-column-resize{position:absolute;right:0;bottom:0;width:20px;min-height:20px;padding:0;cursor:col-resize;touch-action:none;font-size:11px}body .import-merge-table .ignored-column{color:#7a8390;background:#f2f3f5}.review-table-scroll{overflow:auto;margin:12px 0}.import-review-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.import-review-table th,.import-review-table td{padding:10px 8px;text-align:left;border-bottom:1px solid #dce3eb;vertical-align:top;overflow-wrap:anywhere}.import-review-table th:nth-child(1){width:23%}.import-review-table th:nth-child(2){width:13%}.import-review-table th:nth-child(3){width:29%}.import-review-table small{display:block;color:#687483;margin-top:6px}.import-review-table p{margin:0 0 7px}.import-review-table .dialog-field{margin-bottom:8px}.import-review-table button{margin:3px;padding:5px 7px;font-size:11px}.review-state{display:inline-block;border-radius:5px;padding:5px;background:#e5f4ec;color:#245d3e}.review-state.pending{background:#fff1ce;color:#795400}.review-state.conflict{background:#ffe5e2;color:#923c31}.business-color-palette{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0}.business-color-palette button{width:28px;height:28px;min-width:28px;border-radius:6px;padding:0}.business-color-palette .color-preview{display:grid;place-items:center;width:36px;height:36px;border-radius:7px;font-weight:700}body .import-dialog .dialog-close{display:flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;padding:0}
/* Inline catalogue editing keeps the compact, read-only table as the default. */
.catalogue-editor-root .business-section-heading{gap:10px;flex-wrap:wrap}
.catalogue-editor-root .business-row-actions{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
body[data-crm-theme] .catalogue-editor-root .business-section-heading button{width:auto;min-width:30px;height:auto;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.3;white-space:nowrap;flex-shrink:0}
.catalogue-edit-status{display:block;min-height:20px;font-size:12px;color:#536785;margin:6px 0}
.catalogue-editor-root>.live-error:empty{display:none}
.catalogue-editable-table{table-layout:fixed!important;min-width:825px!important}
.catalogue-editable-table th:nth-last-child(8){width:85px}
.catalogue-editable-table th:nth-last-child(7){width:180px}
.catalogue-editable-table th:nth-last-child(6){width:90px}
.catalogue-editable-table th:nth-last-child(5){width:125px}
.catalogue-editable-table th:nth-last-child(4){width:90px}
.catalogue-editable-table th:nth-last-child(3){width:80px}
.catalogue-editable-table th:nth-last-child(2){width:110px}
.catalogue-editable-table th:last-child{width:65px}
.catalogue-editable-table.is-editing{min-width:960px!important}
.catalogue-editable-table.is-editing th:nth-last-child(8){width:115px}
.catalogue-editable-table.is-editing th:nth-last-child(7){width:185px}
.catalogue-editable-table.is-editing th:nth-last-child(6){width:100px}
.catalogue-editable-table.is-editing th:nth-last-child(5){width:130px}
.catalogue-editable-table.is-editing th:nth-last-child(4){width:110px}
.catalogue-editable-table.is-editing th:nth-last-child(2){width:140px}
.catalogue-editable-table.is-editing th:first-child{width:35px}
.catalogue-editable-table.is-editing td{padding:5px;vertical-align:top}
.catalogue-editable-table td input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;padding:7px 5px;font:inherit;border:1px solid #ced9e8;border-radius:4px;background:white;color:#17345b}
.catalogue-editable-table td input+input{margin-top:4px}
.catalogue-editable-table td input:focus{outline:2px solid #4c84bd;outline-offset:1px}
.catalogue-editable-table .catalogue-cell-changed{background:#eaf4fc!important;box-shadow:inset 0 -2px #6098c6}
.catalogue-editable-table .catalogue-cell-invalid{background:#fff0ee!important;box-shadow:inset 0 -2px #c33}
.catalogue-cell-error{display:block;color:#a32b29;font-size:11px;white-space:normal;margin-top:3px}
.catalogue-brand-picker{position:relative;min-width:0}
.catalogue-brand-options{position:fixed;min-width:190px;max-width:300px;max-height:220px;overflow:auto;z-index:180;background:#fff;border:1px solid #c6d7e7;box-shadow:0 5px 15px #20354f30;border-radius:5px;padding:4px}
.catalogue-brand-options[hidden]{display:none}
.catalogue-brand-options button{display:block;width:100%;text-align:left;border:0;padding:7px;white-space:normal}
.catalogue-brand-options button:hover,.catalogue-brand-options .selected{background:#eaf4fc}
.catalogue-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px;background:#f3f7fb;border:1px solid #e0e8f1;border-radius:6px;margin:10px 0}
.catalogue-bulk .catalogue-brand-picker{width:180px}
.catalogue-bulk .inline-checkbox{font-size:12px}
.catalogue-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 0;font-size:12px}
.catalogue-shared-notice{padding:9px;background:#fff5de;color:#71521a;font-size:13px;border-radius:4px}
.catalogue-full-editor{width:min(850px,94vw)!important;max-width:94vw!important}
.catalogue-full-editor details{margin:12px 0;border:1px solid #e0e7ef;border-radius:6px}
.catalogue-full-editor summary{font-weight:650;cursor:pointer;padding:10px;background:#f4f7fa}
.catalogue-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.catalogue-fields-grid .dialog-field{margin:0;min-width:0}
.catalogue-fields-grid>p,.catalogue-fields-grid>div:not(.dialog-field){grid-column:1/-1}
.catalogue-fields-grid [aria-invalid=true]{border-color:#bd3535}
.catalogue-data-grid{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:7px 15px;font-size:13px}
.catalogue-data-grid dt{color:#66758a}.catalogue-data-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.catalogue-editable-table td select{width:100%;font-size:11px;padding:4px;margin-bottom:4px}
.catalogue-price-cell>button{font-size:11px;padding:4px 6px}
@media(max-width:600px){.catalogue-fields-grid{grid-template-columns:1fr}}
.team-directory-filters{display:flex;gap:8px;align-items:center;margin:0 0 10px;font-size:12px}.team-directory-filters select{min-width:110px;padding:6px}
.lead-directory-choice{justify-content:space-between}.lead-directory-copy{flex:1;min-width:0}.lead-directory-icons{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;max-width:45%;padding:3px}
.lead-directory-icon{flex:none!important;width:25px!important;height:25px!important;font-size:10px!important}.lead-directory-icon.is-client{outline:2px solid #c49727;outline-offset:2px}
body[data-crm-theme] .lead-directory-icon.is-client{border-radius:50%}
.lead-directory-context{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 12px;font-size:12px}.lead-directory-context select{max-width:100%;padding:6px}
body[data-crm-theme] .pool-source-row>.pool-opportunity-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;line-height:1;box-sizing:border-box}
.pool-opportunity-action svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.team-directory-filter-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px;background:#edf4fb;margin-bottom:8px;border-radius:5px}.team-directory-filter-note button{font-size:11px;padding:5px 7px}
.crm-confirmation{width:min(440px,92vw);border:1px solid #dce5ef;border-radius:10px;box-shadow:0 20px 70px #142c4a40;padding:24px}
.crm-confirmation::backdrop{background:#152d4b55}.crm-confirmation h2{font-size:18px;margin:0 0 12px}.crm-confirmation p{line-height:1.6;white-space:pre-line;font-size:14px}.crm-confirmation .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.crm-confirmation button{padding:8px 12px;border-radius:5px}.crm-confirmation .danger{background:#b33535;color:white;border-color:#b33535}
#live-toast{position:fixed;bottom:22px;right:22px;max-width:min(440px,90vw);padding:12px 17px;border-radius:7px;background:#203d60;color:white;box-shadow:0 4px 18px #122c4a30;z-index:1000;font-size:13px;line-height:1.5}#live-toast[data-kind=error]{background:#942e2e}#live-toast[data-kind=success]{background:#246b51}
.order-history-entry{padding:12px 0;border-bottom:1px solid #e1e7ef}.order-history-entry>small{display:block;color:#66758a;margin:4px 0 8px}.order-history-entry li{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.order-history-entry summary{cursor:pointer;color:#315b8b;font-size:12px}
.import-transform-dialog{width:min(1280px,96vw)!important;max-width:96vw!important}.transform-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px}.transform-layout aside{background:#f3f6fa;padding:10px;border-radius:6px;max-height:65vh;overflow:auto}.transform-step{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid #dce4ed;font-size:12px}.transform-step>span{flex:1;min-width:120px}.transform-step button{font-size:10px;padding:3px 5px}.transform-parameters{display:flex;gap:10px;flex-wrap:wrap;align-items:end;padding:10px 0}.transform-parameters .dialog-field{flex:1 1 150px;min-width:140px}.transform-parameters fieldset{display:flex;flex-wrap:wrap;gap:9px;width:100%;max-height:130px;overflow:auto}.transform-table-scroll{max-height:42vh;overflow:auto;border:1px solid #dce4ed;border-radius:5px}.transform-table-scroll table{width:max-content;min-width:100%;border-collapse:collapse}.transform-table-scroll th,.transform-table-scroll td{padding:7px 9px;border:1px solid #e2e8f0;min-width:120px;max-width:240px;white-space:normal;overflow-wrap:anywhere;font-size:12px}.transform-table-scroll thead{position:sticky;top:0;background:#edf3fa;z-index:2}.transform-table-scroll select{width:160px;max-width:100%;font-size:11px}.transform-warnings{background:#fff4da;color:#7c591f;padding:8px;border-radius:5px}.transform-warnings p{font-size:12px}@media(max-width:750px){.transform-layout{grid-template-columns:1fr}.transform-layout aside{max-height:180px}}
/* Classification is a separate workspace; the compact catalogue stays unchanged. */
.classification-dialog{width:min(1500px,96vw);max-width:96vw;max-height:94dvh;padding:24px;box-sizing:border-box}
.classification-dialog form{max-width:none!important;width:100%;box-sizing:border-box}
.classification-filters,.classification-target,.classification-selection,.classification-assignment{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0}
.classification-filters>.dialog-field,.classification-target>.dialog-field{flex:1 1 180px;min-width:0}
.classification-filters>input,.classification-target>input,.classification-target>select{flex:1 1 240px;min-width:180px}
.classification-target{width:100%}.classification-target>select{max-width:100%}
.classification-selection{align-items:center}.classification-selection strong{margin-right:auto}
.classification-table-wrap{overflow:auto;max-height:44dvh;border:1px solid #d9e2ed;border-radius:6px;margin:12px 0;isolation:isolate}
.classification-table{min-width:1150px;table-layout:fixed}.classification-table th:first-child{width:38px}.classification-table th:nth-child(2){width:215px}.classification-table th:last-child{width:260px}
.classification-table-wrap table{width:100%;border-collapse:separate;border-spacing:0}.classification-table-wrap thead{position:sticky;top:0;z-index:1;background:#edf2f8}
.classification-table-wrap th,.classification-table-wrap td{position:static!important;white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:10px!important;background-clip:padding-box}
.classification-table-wrap td small{display:block;margin-top:5px;color:#5d6d82;line-height:1.4}.classification-table-wrap input[type=checkbox]{width:16px;height:16px}
.classification-assignment{padding:16px;background:#f4f7fb;border-radius:8px}.classification-assignment h3{flex-basis:100%;margin:0}
.classification-dialog details{padding:12px 0;border-top:1px solid #e4eaf2}.classification-dialog details button{margin-left:10px}.classification-warning{background:#fff2d8;color:#79500d;padding:12px;border-radius:6px}
@media(max-width:650px){.classification-dialog{padding:16px}.classification-filters,.classification-target{display:block}.classification-filters>*{margin-bottom:10px}.classification-table-wrap{max-height:40dvh}}

.classification-range{width:110px!important;min-width:0!important}

.classification-grid{font-size:12px;line-height:1.45;color:#233b5b;text-align:left}.classification-grid th,.classification-grid td{border-bottom:1px solid #e4eaf2;text-align:left}.classification-grid th{background:#edf2f8;font-weight:650}.classification-table{min-width:1360px!important}.classification-table th:last-child{width:280px}.classification-grid tr:hover td{background:#f6f8fb}
.classification-row-tools{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin:12px 0}.classification-row-tools strong{margin-right:auto}
.classification-cell-dirty{background:#eaf3ff!important;box-shadow:inset 3px 0 #467fc4}
.classification-table td input[type=search],.classification-table td select{width:100%;min-width:0;box-sizing:border-box;font-size:12px;padding:5px;margin:2px 0;height:32px}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table{display:block;min-width:900px;--catalogue-group-height:32px;--catalogue-columns:95px minmax(180px,2fr) 85px 95px 90px 125px 110px 64px}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table.is-editing{min-width:980px;--catalogue-columns:34px 95px minmax(180px,2fr) 85px 95px 90px 125px 110px 64px}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-grid-row{display:grid;grid-template-columns:var(--catalogue-columns);align-items:stretch}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-grid-row>td,body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-grid-row>[role=columnheader]{display:block;min-width:0;max-width:none;width:auto;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;padding:10px 8px;text-align:left;border-bottom:1px solid #e4eaf2}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-column-head{position:sticky;top:0;z-index:30;background:#f3f6fa;color:#53647b;font-size:11px;font-weight:650}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-product-row:hover>td{background:#f8fafc}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-product-row>.catalogue-actions-cell{position:sticky;right:0;background:white;z-index:2}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-product-row>.catalogue-price-cell{text-align:right}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-group-head{position:sticky;top:var(--catalogue-column-height,38px);height:var(--catalogue-group-height);z-index:23;background:#dce7f4;box-sizing:border-box;border-bottom:1px solid #c7d5e6}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-group-level-1{top:calc(var(--catalogue-column-height,38px) + var(--catalogue-group-height));z-index:22;background:#e8eff7}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-group-level-2{top:calc(var(--catalogue-column-height,38px) + var(--catalogue-group-height)*2);z-index:21;background:#f0f4f9}
body[data-crm-theme] .catalogue-group-heading-cell{display:flex;align-items:center;gap:12px;height:100%;padding:0 8px}
body[data-crm-theme] .catalogue-group-heading-cell button{position:sticky;left:8px;background:transparent;border:0;border-radius:0;box-shadow:none;padding:4px;min-height:0;height:100%;margin:0;text-align:left;font-size:11px;font-weight:650;max-width:min(650px,65vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#294663}
.catalogue-group-count{font-size:10px;color:#53647b;white-space:nowrap}
body[data-crm-theme] .catalogue-grouped-table.catalogue-editable-table .catalogue-grid-row>[aria-colspan]{grid-column:1/-1}
/* The header is the sole represented-company filter. Keep legacy anchors for renderers. */
body[data-crm-theme] #business-scope,
body[data-crm-theme] #pool-company[hidden],
body[data-crm-theme] .pipeline-filters>div:has(>#pipe-company),
body[data-crm-theme] .filters>div:has(>#company){display:none!important}
body[data-crm-theme] .pool-pane-head>label[for=pool-company]{font-size:12px;font-weight:600;color:#53647b}
.pool-extra-filters{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:14px 0}.pool-extra-filters>label{display:flex;gap:7px;align-items:center;font-size:12px}.pool-extra-filters .dialog-field{margin:0;max-width:260px}
.pool-profile-group,.pool-other-profiles{margin:12px 0}.pool-profile-group>summary,.pool-other-profiles>summary{padding:10px;background:#f1f5fa;border-radius:5px;cursor:pointer;color:#294663;font-size:12px}.pool-profile-group>summary small{margin-left:12px;color:#60718a}.pool-other-profiles>.pool-profile-group{margin-left:12px}
.pool-target-choice{display:flex;align-items:center;gap:9px;margin:9px 0;font-size:13px}.pool-target-choice input{width:16px;height:16px}.pool-target-order-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #e5eaf1}.pool-target-order-row span{flex:1}.pool-target-order-row button{width:32px;padding:4px}
.lead-profile-heading{display:flex;justify-content:space-between;gap:8px;margin:16px 0 8px;color:#53647b;font-size:12px}.lead-profile-heading small{white-space:nowrap}.lead-profile-context{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px}.represented-target-summary{margin-top:20px;padding-top:16px;border-top:1px solid #e3e9f1}.represented-target-summary p{font-size:13px}
.document-view-tabs{margin:14px 0;gap:6px}.document-view-tabs button[aria-pressed=true]{background:#eaf1ff;color:#084a98;border-color:#cbdcf3;font-weight:600}.document-library .business-row-actions{flex-wrap:wrap}.document-library .business-data-row{gap:16px}.document-library .business-data-row>div:first-child{min-width:0}.document-library .business-data-row p{white-space:pre-wrap;overflow-wrap:anywhere}
/* Contain the calendar's wide week grid inside its own scroller. */
body[data-crm-theme] #agenda>*,body[data-crm-theme] .calendar-layout>div{min-width:0}
body[data-crm-theme] #agenda #calendar{min-width:0;max-width:100%;overflow-x:auto}
@media(max-width:800px){
 body[data-crm-theme] #agenda{grid-template-columns:minmax(0,1fr)}
 body[data-crm-theme] #agenda .calendar-topline{width:100%;justify-content:flex-start;margin-top:0}
 body[data-crm-theme] #agenda .calendar-view-tools{min-width:0;max-width:100%;flex-wrap:wrap}
 body[data-crm-theme] #agenda .filters{min-width:0;max-width:100%;gap:10px}
}

/* Opportunity lists need their own inset; the generic directory row has none. */
body[data-crm-theme] .business-data-row.opportunity-data-row{
 display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
 gap:12px 16px;padding:14px 16px;margin:8px 0;
}
body[data-crm-theme] .business-data-row.opportunity-data-row>div:first-child{min-width:0}
body[data-crm-theme] .business-data-row.opportunity-data-row strong{
 font-family:inherit;font-size:14px;font-weight:600;line-height:1.45;
 color:#18324f;margin:0;white-space:normal;overflow-wrap:anywhere;
}
body[data-crm-theme] .business-data-row.opportunity-data-row small{
 font-family:inherit;font-size:12px;line-height:1.5;color:#53647b;
 margin-top:4px;white-space:normal;overflow-wrap:anywhere;
}
body[data-crm-theme] .business-data-row.opportunity-data-row>.lead-state-badge{white-space:nowrap}
body[data-crm-theme] .business-data-row.opportunity-data-row>button{white-space:nowrap;margin:0}
@media(max-width:600px){
 body[data-crm-theme] .business-data-row.opportunity-data-row{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:10px}
 body[data-crm-theme] .business-data-row.opportunity-data-row>div:first-child{grid-column:1/-1}
}
/* Let administration actions wrap instead of shrinking their labels on phones. */
body[data-crm-theme] #administracion .business-section-heading{flex-wrap:wrap;justify-content:flex-start}
body[data-crm-theme] #administracion .business-section-heading h2{flex:1 1 220px;min-width:0;margin:0}
body[data-crm-theme] #administracion .business-section-heading>button{flex-shrink:0;height:auto;min-height:32px;white-space:normal}
@media(max-width:600px){body[data-crm-theme] #administracion .business-section-heading h2{flex-basis:100%}}
/* Team agenda: private notes, invitations and delegated work share the existing dialogs. */
body[data-crm-theme] .nav-tools .agenda-notice-toggle{position:relative;display:inline-grid;place-items:center;width:34px;min-width:34px;height:34px;padding:6px;background:transparent;color:white;border:0}
.agenda-notice-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#agenda-notice-count{position:absolute;top:-3px;right:-4px;min-width:17px;padding:1px 3px;border-radius:12px;background:#ff8900;color:#152b49;font-size:10px;font-weight:700;line-height:16px}
.agenda-team-fields{padding:14px 0;border-top:1px solid #e2e8f0;margin-top:14px}.agenda-team-fields>p{font-size:12px;line-height:1.5}.agenda-team-fields details>summary{cursor:pointer;font-size:13px;font-weight:600;margin:8px 0}
.agenda-people{max-height:180px;overflow-y:auto;border:1px solid #dbe4ef;border-radius:6px;padding:8px}.agenda-person{display:flex;align-items:center;gap:9px;padding:6px 3px;font-size:13px}.agenda-person input{width:16px;height:16px;flex-shrink:0}.agenda-person span{overflow-wrap:anywhere}
.agenda-team-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.agenda-team-actions .dialog-field{flex:1 1 180px;margin:0}.agenda-team-actions>button{width:auto;max-width:100%}.agenda-team-actions button[aria-pressed=true]{background:#eaf1ff;border-color:#6096d5;color:#084a98}
.agenda-attendance{padding:10px 14px;background:#f3f6fa;border-radius:6px;font-size:13px}.agenda-attendance p{margin:6px 0}.agenda-description,.agenda-history-row p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
.agenda-team-status{font-size:12px;color:#53647b;margin:8px 0}.agenda-history-row{padding:10px 0;border-bottom:1px solid #e4eaf2}.agenda-history-row small{color:#60718a;font-size:11px}.agenda-history-row p{font-size:13px;margin:5px 0}
.agenda-notice{padding:14px;margin:12px 0;border:1px solid #dfe7f1;border-radius:7px;overflow-wrap:anywhere}.agenda-notice.is-unread{border-left:3px solid #1262b9;background:#f5f9ff}.agenda-notice>strong{font-size:14px}.agenda-notice>p{font-size:13px;line-height:1.5}.agenda-notice>small{color:#60718a;font-size:11px}
@media(max-width:600px){.agenda-team-fields{padding:10px 0}.agenda-team-actions{gap:6px}.agenda-notice{padding:11px}.agenda-team-actions>button{white-space:normal;height:auto;min-height:32px}}
@media(max-width:430px){
 body[data-crm-theme] .nav-tools .agenda-notice-toggle{width:30px;min-width:30px;padding:5px}
 body[data-crm-theme] .workspace-agenda-toggle{font-size:0;gap:4px;padding:7px}
 body[data-crm-theme] .workspace-agenda-toggle .workspace-agenda-count{font-size:11px}
}
