/* Client tools share the top row; each rule is scoped to its page. */
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:0 0 10px;padding:0;min-height:44px}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-search{grid-column:1;display:flex;align-items:center;gap:8px;min-width:0}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-search .search-box{flex:1;min-width:0;margin:0;max-width:480px}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-search input{min-width:0;width:100%}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-create{grid-column:2;margin:0;justify-self:center}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-tools{grid-column:3;justify-self:end;min-width:0}
html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-tools>*{margin:0;padding:0}
html[data-crm-theme] body.crm-app.crm-point.point-page-integrations .integration-inbox{display:none!important}
html[data-crm-theme] body.crm-app.crm-point.point-page-activity [data-act-setup]{padding:10px 16px;min-height:0;margin-top:0;margin-bottom:10px}
html[data-crm-theme] body.crm-app.crm-point.point-page-activity [data-act-setup]>h3{font-size:14px!important;line-height:1.35;margin:0 0 4px}
html[data-crm-theme] body.crm-app.crm-point.point-page-activity [data-act-setup]>p{font-size:12px!important;line-height:1.4;margin:0}
@media(max-width:900px){
 html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-toolbar{grid-template-columns:1fr 1fr;gap:8px}
 html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-search{grid-column:1/-1;grid-row:1}
 html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-create{grid-column:1;grid-row:2;justify-self:start}
 html[data-crm-theme] body.crm-app.crm-point.point-page-clients .crm-client-tools{grid-column:2;grid-row:2}
}

html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-board-period-controls{display:flex;align-items:center;gap:6px;flex:none}
html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-board-period-controls label{margin:0;min-width:0}
html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-board-period-controls select{min-height:36px;border:0;background:transparent;padding:4px 20px 4px 5px;font-size:13px;font-weight:600;width:auto;max-width:180px}
html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-header-board-tools>.crm-board-filter-launch{flex-wrap:wrap;column-gap:12px;row-gap:0}
html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-board-filter-launch>.crm-board-search-control{flex:1 1 220px}
@media(max-width:700px){html[data-crm-theme] body.crm-app.crm-point.point-page-deals .crm-board-period-controls{flex:1 1 100%;border-bottom:1px solid var(--point-line)}}

/* Compact deal heading and native, permission-aware action menu. */
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-heading{padding:2px 12px 4px!important;gap:2px!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-pipeline{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;position:relative;font-size:13px}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-pipeline>span{max-width:100%;overflow-wrap:anywhere}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-pipeline>.stage-picker-toggle{width:auto;min-height:26px;padding:2px 4px;font-size:13px;flex:0 1 auto;max-width:100%;margin:0}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-heading>.stage-progress{margin:2px 0 0;padding:0 0 3px}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-pipeline>.stage-picker{top:100%;left:0;right:0}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions{margin-left:auto;position:relative;flex:none}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;width:34px;height:30px;font-size:26px;font-weight:700;color:var(--point-text);border-radius:5px}
.crm-record-actions>summary::-webkit-details-marker{display:none}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions .point-popover-panel{position:absolute;top:100%;right:0;left:auto;z-index:70;min-width:220px;max-width:calc(100vw - 30px);padding:6px;background:var(--point-card);border:1px solid var(--point-line);border-radius:8px;box-shadow:0 8px 24px #0002}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions .point-popover-panel :is(button,a){display:block;width:100%;padding:9px 10px;text-align:left;border:0;border-radius:4px;background:transparent;color:var(--point-text);font-size:14px;line-height:1.35;font-weight:600;white-space:normal}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions .point-popover-panel :is(button,a):hover{background:var(--point-hover)}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions .archive-record-button{display:block;margin:4px 0 0;padding:4px 0 0;border-top:1px solid var(--point-line)}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .crm-record-actions button.crm-record-archive{color:var(--point-bad,#b33443)}
/* Half-width short text, long text grows with balanced, responsive margins. */
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-timeline{--bubble-gap:clamp(0px,calc(12% - 12px),64px);padding-left:12px!important;padding-right:12px!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-timeline .message-bubble{box-sizing:border-box;width:fit-content!important;min-width:calc(50% - var(--bubble-gap))!important;max-width:calc(100% - 2 * var(--bubble-gap))!important;margin-left:var(--bubble-gap)!important;margin-right:auto!important;overflow-wrap:anywhere}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-timeline .message-bubble.own{margin-left:auto!important;margin-right:var(--bubble-gap)!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .message-bubble :is(img,video,audio){max-width:100%}
@media(max-width:700px){html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-timeline{--bubble-gap:0px}}
.crm-record-print-copy{display:none}
@media print{
 body.crm-print-record>*:not(.crm-record-print-copy){display:none!important}
 body.crm-print-record>.crm-record-print-copy{display:block!important;color:#111;background:#fff;font-size:12pt}
 .crm-record-print-copy :is(.record-heading,.record-content,.record-scroll,form){display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;background:#fff!important;color:#111!important;border:0}
 .crm-record-print-copy [role=tabpanel]{display:block!important}
 .crm-record-print-copy .record-field{break-inside:avoid;display:grid;grid-template-columns:35% 65%;padding:6pt 0}
}

/* Complete transparent SIU GROUP artwork; no crop or white tile. */
html[data-crm-theme] body.crm-point .point-wordmark .siu-logo-mark{display:inline-flex!important;align-items:center;justify-content:center;position:relative;width:28px;min-width:0;height:38px;flex:none;overflow:visible;border:0;border-radius:0;background:transparent!important;box-shadow:none;opacity:1!important;visibility:visible!important}
html[data-crm-theme] body.crm-point .siu-logo-mark img{display:block;position:static!important;width:100%!important;max-width:100%!important;height:100%!important;left:auto!important;top:auto!important;object-fit:contain;object-position:center}
html[data-crm-theme] body.crm-point .point-wordmark{gap:10px}
html[data-crm-theme] body.crm-point .point-login-brand .siu-logo-mark{width:64px;height:96px;border-radius:0;box-shadow:none}
html[data-crm-theme] body.crm-point .point-login-brand .point-wordmark{display:flex;flex-direction:column;gap:12px}
html[data-crm-theme] body.crm-point .point-login-brand .point-wordmark>span:last-child{font-size:28px;letter-spacing:1px}
html[data-crm-theme] body.crm-point .point-mobile-topbar .siu-logo-mark{width:26px;height:34px}
html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation>h2 .point-wordmark>.siu-logo-mark img{filter:brightness(0) invert(1)}
@media(min-width:901px){
 html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation>h2 .point-wordmark>.siu-logo-mark{width:26px;height:36px}
 html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation:is(:hover,:has(:focus-visible),:has(.crm-sidebar-profile[open]),:has(.crm-theme-picker[open]))>h2 .point-wordmark>.siu-logo-mark{width:28px;height:38px;display:inline-flex!important}
}
html[data-crm-theme] body.crm-app.crm-point .pipeline-settings-bar{margin-top:0;padding:10px 12px;align-items:center;gap:10px}
html[data-crm-theme] body.crm-app.crm-point .pipeline-settings-bar .crm-pipeline-back{flex:none;align-self:center;white-space:nowrap;padding:9px 10px}
html[data-crm-theme] body.crm-app.crm-point .pipeline-settings-bar label{margin:0;gap:4px}
html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation>h2 .point-wordmark>.siu-logo-mark{display:inline-block!important}
