/* Final layout overrides; themes keep ownership of all colours. */
.siu-mobile-chat-backbar,.siu-mobile-board-toolbar,.siu-mobile-compose-tools,.siu-mobile-chat-panel{display:none}
html[data-crm-theme] body.crm-app.crm-point .siu-template-statistics{display:block!important;padding:10px 6px!important;margin:0 0 12px!important;background:transparent!important;box-shadow:none!important;border:0!important;border-top:1px solid var(--point-line)!important;border-radius:0!important;cursor:default}
html[data-crm-theme] body.crm-app.crm-point .siu-template-statistics p{margin:5px 0;font-size:12px;line-height:1.55;color:var(--point-muted);font-weight:400}
html[data-crm-theme] body.crm-app.crm-point .siu-template-statistics strong{font-size:inherit;font-weight:650;color:var(--point-text)}
/* Card fields and tabs have room for complete rounded outlines. */
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card :is(.record-content,.record-scroll){min-width:0;box-sizing:border-box}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-content{border:0;margin:0;padding:0}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-scroll{padding:10px 12px 14px!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card :is(.record-field,[data-custom-field]){box-sizing:border-box;width:100%;max-width:100%;margin:0 0 6px!important;padding:7px 8px!important;gap:8px!important;border-radius:10px!important;overflow:visible}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card :is(.record-field,[data-custom-field]) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-width:0;width:100%;box-sizing:border-box;border-radius:8px!important;margin:0!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .crm-record-tabbar{padding:4px 10px 6px!important;gap:6px!important;min-width:0}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-tabs{padding:2px!important;gap:4px!important}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-tabs>[role=tab]{border:1px solid transparent!important;border-radius:8px!important;padding:9px 10px!important;margin:0!important;min-height:36px;line-height:1.3}
html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-tabs>[role=tab].selected{border-color:var(--point-line)!important;box-shadow:none}
@media(max-width:900px){
 html{--crm-top:0px!important;scroll-padding-top:8px}
 html[data-crm-theme] body.crm-app.crm-point{--crm-top:0px!important;--crm-bottom:calc(56px + env(safe-area-inset-bottom,0px));padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:var(--crm-bottom)!important}
 html[data-crm-theme] body.crm-app.crm-point>.mobile-topbar{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point>main{margin:0!important;padding:8px 10px!important;width:100%!important;min-height:0!important;box-sizing:border-box}
 html[data-crm-theme] body.crm-app.crm-point>main>footer{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point :is(.page-tools,.section-heading,.entity-tools,.filter-tabs){min-height:0!important;height:auto!important;flex:none!important;margin-top:0!important;margin-bottom:8px!important;gap:6px!important}
 html[data-crm-theme] body.crm-app.crm-point .page-tools>.search-box{flex:1 1 160px!important;min-height:42px!important;max-width:none;min-width:0;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point :is(.page-tools,.entity-tools) :is(button,.toolbar-link){padding:8px 10px!important;min-height:40px!important;font-size:13px!important;line-height:1.35}
 html[data-crm-theme] body.crm-app.crm-point .directory-grid{gap:10px!important;min-height:0!important;align-items:start}
 html[data-crm-theme] body.crm-app.crm-point .list-card{min-height:0!important;height:auto!important}
 html[data-crm-theme] body.crm-app.crm-point .list-card .empty{padding:24px 12px!important;min-height:0!important}
 html[data-crm-theme] body.crm-app.crm-point .mobile-bottom-nav{height:var(--crm-bottom);grid-template-columns:repeat(5,minmax(0,1fr));padding-top:2px}
 html[data-crm-theme] body.crm-app.crm-point .mobile-bottom-nav :is(a,button){min-height:48px;height:48px;font-size:10px!important;padding:4px 2px;gap:2px}
 html[data-crm-theme] body.crm-app.crm-point .mobile-bottom-nav svg{width:21px;height:21px}
 /* A single-column drawer: each icon and label stay on one line. */
 html[data-crm-theme] body.crm-app.crm-point>aside#crm-navigation{width:min(290px,calc(100vw - 32px))!important;max-width:100%!important;box-sizing:border-box;padding:10px 12px 16px!important;gap:0;overflow-x:hidden;overflow-y:auto}
 html[data-crm-theme] body.crm-app.crm-point>aside#crm-navigation>:is(h2,.point-sidebar-caption,small){display:none!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation .mobile-drawer-close{top:8px;right:8px;width:40px;height:40px;min-height:40px;z-index:2}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation .crm-sidebar-profile{margin:0 48px 8px 0!important;min-height:40px}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation nav.crm-icon-navigation{display:flex!important;flex-direction:column!important;grid-template-columns:1fr!important;gap:3px!important;margin:0 0 10px!important;flex:0 0 auto;width:100%;min-width:0}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation nav.crm-icon-navigation a{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center;gap:10px!important;width:100%!important;min-height:40px!important;max-height:none!important;padding:8px 11px!important;box-sizing:border-box;font-size:14px!important;line-height:20px!important;white-space:nowrap;border-radius:8px}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation nav.crm-icon-navigation a>span{display:block!important;position:static!important;opacity:1!important;transform:none!important;max-width:none!important;width:auto;overflow:visible;white-space:nowrap;font-size:14px!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation nav.crm-icon-navigation .nav-icon{flex:0 0 22px}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation .nav-icon svg{width:21px;height:21px}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation :is(.crm-rail-design,.crm-rail-sound,.rail-account){margin:4px 0!important;padding:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-navigation .rail-account button{min-height:40px!important}
 /* Deals: search/filter plus the funnel list, at the top. */
 html[data-crm-theme] body.crm-app.crm-point.point-page-deals main>.crm-board-header{margin:0 0 8px!important;padding:0!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-header-board-tools{width:100%;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-header-board-tools>:is(.filter-launch,.pipeline-switch,.toolbar-link,.board-extra-tools),
 html[data-crm-theme] body.crm-app.crm-point.point-page-deals .mobile-stage-navigation{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-board-toolbar{display:flex;align-items:center;gap:7px;width:100%;min-width:0}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-board-search{display:flex;flex:1;min-width:0;align-items:center;background:var(--point-input);border:1px solid var(--point-line);border-radius:9px;overflow:hidden}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-board-search input{flex:1;width:0;min-width:0;min-height:44px;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 12px;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-board-search button{flex:none;width:44px;height:44px;padding:10px;min-height:44px;border:0;border-left:1px solid var(--point-line);border-radius:0;background:transparent;color:var(--point-muted)}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines{position:relative;flex:none}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;cursor:pointer;border:1px solid var(--point-line);border-radius:9px;background:var(--point-card);color:var(--point-text)}
 .siu-mobile-pipelines summary::-webkit-details-marker,.siu-mobile-chat-menu summary::-webkit-details-marker{display:none}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines nav{position:absolute;right:0;top:calc(100% + 6px);z-index:110;width:min(290px,calc(100vw - 24px));padding:6px;background:var(--point-card);border:1px solid var(--point-line);border-radius:10px;box-shadow:var(--theme-shadow);max-height:65dvh;overflow:auto}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines a{display:block;padding:12px;border-radius:7px;color:var(--point-text);font-size:14px;text-decoration:none}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines a[aria-current]{background:var(--point-blue-soft);color:var(--point-blue);font-weight:700}
 html[data-crm-theme] body.crm-app.crm-point.point-page-deals .kanban-column{max-height:calc(var(--crm-vh,100dvh) - var(--crm-bottom) - 80px);min-height:240px}
 html[data-crm-theme] body.crm-app.crm-point .crm-board-filter-popover{inset:var(--crm-vtop,0px) 0 auto!important;width:100vw!important;max-width:100vw!important;height:var(--crm-vh,100dvh)!important;max-height:var(--crm-vh,100dvh)!important;border-radius:0}
 /* Full conversation and card use the space previously occupied by both nav bars. */
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace>main{top:var(--crm-vtop,0px)!important;padding:0!important;height:calc(var(--crm-vh,100dvh) - var(--crm-bottom))!important}
 html[data-crm-theme] body.crm-app.crm-point.siu-mobile-full-chat{--crm-bottom:0px!important;padding-bottom:0!important}
 html[data-crm-theme] body.crm-app.crm-point.siu-mobile-full-chat>.mobile-bottom-nav{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-workspace{margin:0!important;padding:0!important;gap:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-timeline{padding:8px 10px!important;min-height:40px!important;flex:1;overflow-y:auto}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap{padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px))!important;max-height:60%!important;overflow:visible;flex:none;min-height:0;position:relative}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap>:is(.point-v38-channel,.composer-top),
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .crm-template-entry>.template-composer-tools,
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline #point-v39-templates{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline{display:block!important;grid-template-columns:none!important;padding:0!important;min-height:0!important;border:0!important;background:transparent!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap :is(.message-composer,.note-composer){display:block;min-height:0!important;padding:0!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline :is(.point-v18-compose-row,.point-v32-row){display:flex!important;flex-flow:row nowrap!important;align-items:flex-end!important;gap:6px!important;min-height:0!important;padding:0!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline :is(#message-body,#note-body,#point-v32-task-title){box-sizing:border-box!important;flex:1 1 0!important;width:0!important;min-width:0!important;min-height:40px!important;max-height:144px!important;padding:8px 10px!important;margin:0!important;line-height:24px!important;border:1px solid var(--point-line)!important;border-radius:10px!important;background:var(--point-input)!important;resize:none;overflow-y:auto;font-size:16px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v18-send{flex:none!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:9px!important;border-radius:10px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v18-status{margin:2px 0!important;min-height:0!important;line-height:1.3}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v18-status small{display:block!important;max-width:100%;font-size:10px!important;line-height:1.3!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools{display:flex;align-items:center;gap:4px;margin-top:3px;min-height:38px}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools .point-v31-mode-label{display:block!important;margin:0 auto 0 0!important;padding:0!important;width:auto!important;flex:0 1 88px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools #composer-mode{width:100%!important;min-height:38px!important;padding:5px 16px 5px 4px!important;font-size:13px!important;background:transparent!important;border:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools>button{display:grid!important;place-items:center;width:38px!important;height:38px!important;min-width:38px;min-height:38px!important;margin:0!important;padding:9px!important;border-radius:8px;background:var(--point-soft);color:var(--point-text);border:0;font-size:0!important;flex:none}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools>button svg{width:20px;height:20px}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu{position:static}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu>summary{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--point-soft);color:var(--point-text);list-style:none;font-size:24px;line-height:1;cursor:pointer}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu>div{position:absolute;bottom:calc(100% + 5px);right:8px;z-index:120;width:min(260px,calc(100vw - 16px));padding:6px;background:var(--point-card);color:var(--point-text);border:1px solid var(--point-line);border-radius:12px;box-shadow:var(--theme-shadow)}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu :is(button,a){display:flex!important;align-items:center;gap:10px;min-height:44px!important;width:100%;padding:10px!important;background:transparent;color:var(--point-text);border:0;border-radius:7px;text-align:left;text-decoration:none;font-size:14px!important;box-sizing:border-box}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu :is(button,a):hover{background:var(--point-blue-soft)}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu svg{width:20px;height:20px;flex:none}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-panel:not([hidden]){display:flex;align-items:center;gap:6px;padding:6px 8px;flex:none;background:var(--point-card);border-bottom:1px solid var(--point-line)}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-panel :is(label,select){flex:1;min-width:0;margin:0;position:relative}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-panel label>svg{display:none}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-panel :is(input,select){width:100%;min-height:40px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-panel>button{flex:none;width:40px;min-height:40px;padding:6px;font-size:22px!important;background:var(--point-soft);color:var(--point-text)}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-panel{border-radius:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card :is(.record-field,[data-custom-field]){grid-template-columns:minmax(82px,30%) minmax(0,1fr)!important;align-items:center}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-soft-card .record-field :is(input,select){min-height:40px!important;font-size:16px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .record-panel .record-save{min-height:54px;padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px))}
 /* Tasks keep actions, search and filters together without flex-growing gaps. */
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks>main{display:block!important}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .entity-tools{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .entity-tools>[data-task-create]{margin-right:auto}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .crm-task-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px!important}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .crm-task-tools>.search-box{flex:1 1 100%!important}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .result-count{margin:0;padding:0;font-size:11px!important}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .filter-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:0 0 3px!important;gap:4px!important}
 html[data-crm-theme] body.crm-app.crm-point.point-page-tasks .filter-tabs>button{flex:none;min-height:36px!important;padding:7px 10px!important;font-size:12px!important;white-space:nowrap}
 html[data-crm-theme] body.crm-app.crm-point :is(.crm-section-layout,.crm-templates-columns){min-height:0!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-section-nav{position:static!important;gap:4px!important;padding-top:0!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-templates-columns>.crm-template-side{padding:8px!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-template-side .crm-section-nav{margin-bottom:8px!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-template-side .template-heading-actions{margin-bottom:6px!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-template-side .template-heading{margin-bottom:0!important}
 html[data-crm-theme] body.crm-app.crm-point .crm-template-side .siu-template-statistics{padding:4px 2px!important;margin-bottom:6px!important}
 html[data-crm-theme] body.crm-app.crm-point [hidden]{display:none!important}
}
/* Desktop rail captions requested alongside the mobile changes. Hover still expands the full menu. */
@media(min-width:901px){
 html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation>nav.crm-icon-navigation{min-height:0;overflow-y:auto;overflow-x:hidden;gap:3px}
 html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation:not(:hover):not(:has(:focus-visible)):not(:has(.crm-sidebar-profile[open])):not(:has(.crm-theme-picker[open]))>nav.crm-icon-navigation>a{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px!important;min-height:53px!important;height:auto!important;padding:6px 2px!important;text-align:center}
 html[data-crm-theme] body.crm-app.crm-point aside#crm-navigation:not(:hover):not(:has(:focus-visible)):not(:has(.crm-sidebar-profile[open])):not(:has(.crm-theme-picker[open]))>nav.crm-icon-navigation>a>span:last-child{display:block!important;position:static!important;width:100%!important;height:auto!important;max-width:100%!important;clip:auto!important;clip-path:none!important;overflow:visible!important;opacity:1!important;transform:none!important;white-space:normal!important;overflow-wrap:anywhere;font-size:9px!important;line-height:11px!important;font-weight:500!important;letter-spacing:0}
}

/* Mobile follow-up: full-width input, visible exits, one funnel per row. */
@media(max-width:900px){
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines>nav{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:3px!important}
 html[data-crm-theme] body.crm-app.crm-point .siu-mobile-pipelines>nav>a{display:block!important;flex:none!important;width:100%!important;box-sizing:border-box!important;margin:0!important;text-align:left!important}
 html[data-crm-theme] body.crm-app.crm-point .deal-card{cursor:pointer;touch-action:pan-x pan-y}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline>form{grid-column:auto!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline .point-v18-send{flex:0 0 40px!important;width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:9px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-backbar{display:flex!important;align-items:center;flex:0 0 auto;min-height:38px;padding:0 8px;border-bottom:1px solid var(--point-line);background:var(--point-card)}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .siu-mobile-back{display:inline-flex!important;align-items:center;justify-content:center;gap:4px;flex:0 0 auto!important;width:auto!important;min-height:36px!important;padding:4px 6px!important;margin:0!important;border:0!important;border-radius:7px;background:transparent!important;color:var(--point-text)!important;font-size:13px!important;font-weight:650;line-height:20px;text-decoration:none;white-space:nowrap}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .siu-mobile-back svg{width:18px!important;height:18px!important;flex:none}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools{gap:2px!important;min-height:36px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools .point-v31-mode-label{flex:1 1 58px!important;max-width:78px;min-width:48px}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-compose-tools>button,
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .siu-mobile-chat-menu>summary{width:32px!important;min-width:32px!important;height:36px!important;min-height:36px!important;padding:6px!important}
}

.siu-mobile-filter-more{display:none}
@media(max-width:900px){
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover{inset:calc(var(--crm-vtop,0px) + 6px) 6px auto!important;margin:0!important;width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:auto!important;max-height:calc(var(--crm-vh,100dvh) - 12px)!important;border-radius:12px!important;overflow:hidden!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover>form{display:flex!important;flex-direction:column!important;max-height:calc(var(--crm-vh,100dvh) - 12px)!important;height:auto!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .mobile-filter-tabs{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover :is(header,footer){flex:none!important;padding:8px 10px!important;gap:6px!important;min-height:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover header small{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover header h2{font-size:16px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .filter-layout{display:block!important;min-height:0!important;overflow-y:auto!important;flex:0 1 auto!important;padding:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .filter-fields{display:flex!important;flex-direction:column!important;padding:8px 10px!important;gap:8px!important;border:0!important;overflow:visible!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .filter-fields>label:has([name="f[q]"]){order:-2}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .filter-fields>fieldset:has([name="f[date_field]"]){order:-1}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover label{font-size:12px!important;margin:0!important;gap:3px!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover :is(input:not([type=checkbox]),select){height:38px!important;min-height:38px!important;padding:6px 8px!important;font-size:14px!important;margin:0!important;box-sizing:border-box;width:100%;min-width:0}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover fieldset{padding:7px 8px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .filter-two{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover [data-filter-dates]{display:grid!important;margin-top:6px!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .siu-mobile-filter-more{display:block!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .siu-mobile-filter-more>summary{padding:8px 0!important;font-size:13px!important;font-weight:650;cursor:pointer}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .siu-mobile-filter-more[open]>:not(summary){margin-top:8px!important}
 html[data-crm-theme] body.crm-app.crm-point #crm-filter-dialog.crm-board-filter-popover .siu-mobile-filter-more :is(.filter-presets,.filter-tags){display:block!important;padding:8px!important;position:static!important;border:1px solid var(--point-line)}
}

/* Voice replaces the text editor, with the same specificity as themed inputs. */
@media(max-width:900px){
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline #message-form .point-v18-compose-row.point-v26-audio-active>:not(#point-v19-audio){display:none!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .point-v35-inline #message-form .point-v18-compose-row.point-v26-audio-active>#point-v19-audio{display:block!important;position:static!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;max-height:none!important;overflow:visible!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-composer{width:100%!important;padding:0!important;margin:0!important;border:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-draft:not([hidden]){display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-height:44px!important;padding:4px 6px!important;box-sizing:border-box!important;margin:0!important;border:1px solid var(--point-line)!important;border-radius:10px!important;background:var(--point-input)!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio .audio-draft-title{flex:1 1 60px!important;min-width:0;gap:5px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-title{display:none!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-timer{font-size:14px!important;font-weight:700;font-variant-numeric:tabular-nums}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio .audio-draft-actions{display:flex!important;flex:0 0 auto!important;gap:4px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio .audio-draft-actions button{flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;padding:6px!important;font-size:0!important;border-radius:8px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio .audio-draft-actions button::before{font-size:20px;line-height:22px}
 #point-v19-audio #audio-stop::before{content:'■'}
 #point-v19-audio #audio-cancel::before{content:'×'}
 #point-v19-audio #audio-send::before{content:'➤'}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-preview:not([hidden]){flex:1 1 160px!important;width:0!important;min-width:80px!important;max-width:none!important;height:36px!important;margin:0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-composer[data-recording="0"] .audio-draft-title:has(#audio-timer:empty){display:none!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap #point-v19-audio #audio-status[data-error="1"]{display:block!important;font-size:11px!important;margin:4px 0!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace .conversation-panel .composer-wrap .siu-audio-return:not([hidden]){display:inline-flex!important;min-height:36px!important;padding:6px 10px!important;font-size:12px!important;margin:4px 0 0!important;background:var(--point-soft);color:var(--point-text)}
}

/* Mobile: halve vertical whitespace without changing message width or font size. */
@media(max-width:700px){
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace #conversation-timeline .message-bubble{padding-top:3px!important;padding-bottom:3px!important;margin-top:6px!important;margin-bottom:6px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace #conversation-timeline .message-bubble>p{margin-top:1px!important;margin-bottom:1.5px!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace #conversation-timeline .message-bubble>strong.message-author{display:inline!important;margin:0!important;line-height:1.2!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace #conversation-timeline .message-bubble>small.message-channel{display:inline!important;margin:0 0 0 4px!important;line-height:1.2!important}
 html[data-crm-theme] body.crm-app.crm-point.crm-workspace #conversation-timeline .message-bubble>time{margin-top:0!important;margin-bottom:0!important;line-height:1.2!important}
}
