/* Screen insets and consistent action edges for the connected CRM workspaces. */
body.rx-crm #view .rx-connected-sheet{padding:24px!important;min-width:0}
body.rx-crm #view .rx-connected-sheet>:is(.tabs,.tabbar,.cw-subtabs,.ps-tabs){margin-block:16px 24px;gap:12px}
body.rx-crm #view .rx-connected-sheet>.segmented{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 24px!important}
body.rx-crm #view .rx-action-sheet>.sa-results{padding:24px!important;min-width:0}
body.rx-crm #view .sa-results>.input{margin-bottom:22px;width:100%;box-sizing:border-box}
body.rx-crm #view .sa-results .sa-group{margin:0 0 24px;border:1px solid var(--line,#dfe3dd);border-radius:14px;background:var(--surface,#fff);padding:16px;min-width:0}
body.rx-crm #view .sa-group>summary{padding:16px 18px;margin-bottom:18px;border-radius:9px}
body.rx-crm #view .sa-group-cards{gap:18px!important;padding:0;min-width:0}
body.rx-crm #view .rx-work-results .sa-task-card{grid-template-columns:minmax(0,1fr) auto!important;gap:12px 24px!important;padding:22px!important;border:1px solid var(--line,#e0e5dd)!important;border-radius:12px!important;background:var(--surface,#fff)!important;align-items:start}
body.rx-crm #view .rx-work-results .sa-task-card>*:not(.sa-actions){grid-column:1!important;grid-row:auto!important;min-width:0;overflow-wrap:anywhere}
body.rx-crm #view .rx-work-results .sa-task-card>.sa-actions{grid-column:2!important;grid-row:1/span 6!important;justify-self:end!important;align-self:start!important;justify-content:flex-end!important;max-width:none!important;gap:10px!important;margin:0!important}
body.rx-crm #view .sa-task-facts{row-gap:10px;column-gap:18px}
body.rx-crm #view .sa-task-card :is(h3,p){margin:0}
body.rx-crm #view :is(.slo-review-head,.slo-review-counters,.slo-filterbar,.slo-review-results){margin-bottom:24px}
body.rx-crm #view .slo-review{padding:24px!important;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
body.rx-crm #view .slo-review>*{min-width:0;margin-block:0}
body.rx-crm #view .rx-connected-sheet>.slo-review{padding:0!important}
body.rx-crm #view .slo-filterbar{gap:16px;padding:20px}
body.rx-crm #view .slo-review>.slo-toolbar{justify-content:flex-start;gap:12px;padding:16px 0}
body.rx-crm #view .slo-review>.slo-toolbar:last-child{justify-content:center!important;border-top:1px solid var(--line,#e0e5dd);margin-top:8px;padding-top:22px}
body.rx-crm #view :is(.gc-pager,.hd-pager,.pf-review-pager){justify-content:center!important;align-items:center;flex-wrap:wrap;gap:16px!important;padding:18px 24px!important}
body.rx-crm #view .gc-pager>div{display:flex;gap:12px}
body.rx-crm #view .ig-grid{gap:24px!important;align-items:stretch;margin-top:24px}
body.rx-crm #view .ig-card{display:flex!important;flex-direction:column;gap:16px;padding:24px!important;min-width:0;height:100%;box-sizing:border-box;transform:none!important;margin:0!important}
body.rx-crm #view .ig-intro{display:block!important;margin-bottom:20px}
body.rx-crm #view .ig-intro__h{display:none}
body.rx-crm #view .ig-intro__p{margin:0;max-width:90ch}
body.rx-crm #view [aria-label="Integration platform"]{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--line,#e0e5dd)}
body.rx-crm #view [aria-label="Integration platform"] button{padding:9px 13px;min-height:36px;border:1px solid var(--line,#e0e5dd);border-radius:8px;background:var(--surface,#fff)}
body.rx-crm #view [aria-label="Integration platform"] button[aria-pressed="true"]{background:var(--accent,#657517);color:#fff}
body.rx-crm #view .ig-card__top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
body.rx-crm #view .ig-card__name{margin:0!important;min-height:48px;display:flex;align-items:center}
body.rx-crm #view .ig-card__cat{margin:0!important}
body.rx-crm #view .ig-card__desc{margin:0!important;line-height:1.65;flex:1}
body.rx-crm #view .ig-card__foot{margin-top:auto!important;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:14px}
body.rx-crm #view .hd-openable-row{cursor:pointer}
body.rx-crm #view .hd-openable-row:focus-visible{outline:2px solid var(--accent,#657517);outline-offset:-3px}
body.rx-crm .nav__foot .nav__support{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin:0 0 14px;padding:10px 4px;min-height:50px;border-radius:10px;color:inherit;text-decoration:none;text-align:center;font-size:11px;line-height:1.35}
body.rx-crm .nav__foot .nav__support i{font-size:19px}
body.rx-crm .nav__foot .nav__support span{max-width:100%;white-space:normal!important;overflow-wrap:normal}
body.rx-crm .nav__foot .nav__support:hover,body.rx-crm .nav__foot .nav__support:focus-visible{background:rgba(255,255,255,.12);outline:1px solid rgba(255,255,255,.3)}
.pipeline-loading{padding:28px;border:1px solid var(--line,#dfe3dd);border-radius:14px;background:var(--surface,#fff)}
@media(max-width:1000px){body.rx-crm #view .rx-work-results .sa-task-card{grid-template-columns:minmax(0,1fr)!important}body.rx-crm #view .rx-work-results .sa-task-card>.sa-actions{grid-column:1!important;grid-row:auto!important;justify-self:end!important;flex-wrap:wrap}}
@media(max-width:600px){body.rx-crm #view :is(.rx-connected-sheet,.slo-review){padding:16px!important}body.rx-crm #view .rx-action-sheet>.sa-results{padding:16px!important}body.rx-crm #view .sa-results .sa-group{padding:10px}body.rx-crm #view .rx-work-results .sa-task-card{padding:16px!important}body.rx-crm #view .ig-grid{gap:18px!important}body.rx-crm #view .ig-card{padding:20px!important}body.rx-crm #view .ig-card__name{min-height:0}}
