/* Owner screenshot corrections. Content may wrap; it must never be clipped. */
/* Shared page-heading component: bounded copy, aligned actions and equal gutters. */
.product-shell{--hd-space-1:8px;--hd-space-2:12px;--hd-space-3:16px;--hd-space-4:20px;--hd-space-5:24px;--hd-panel-inset:24px}
.product-shell .view>.section-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:var(--hd-space-5)!important;padding:var(--hd-panel-inset)!important;margin-bottom:var(--hd-space-4)!important;min-width:0!important;box-sizing:border-box!important;height:auto!important;overflow:visible!important}
.product-shell .view>.section-head>div:not(.section-actions){min-width:0!important;max-width:100%!important;flex:1 1 34rem!important}
.product-shell .view>.section-head>.section-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:var(--hd-space-2)!important;flex:0 1 auto!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;align-self:center!important}
.product-shell .view>.section-head h1{font-size:clamp(1.65rem,2.4vw,2.4rem)!important;line-height:1.2!important;margin:8px 0 12px!important;overflow-wrap:break-word!important;text-wrap:balance}
.product-shell .view>.section-head p{max-width:70ch!important;line-height:1.6!important;margin-block:0!important;overflow-wrap:break-word!important}
.product-shell .section-actions :is(.text-button,.secondary-button,.primary-button){box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;height:auto!important;max-width:100%!important;padding:10px 14px!important;line-height:1.4!important;text-align:center!important;text-decoration:none!important;border:1px solid #aebcc6!important;border-radius:8px!important;white-space:normal!important;overflow-wrap:break-word!important}
.product-shell .section-actions .text-button{background:#fff!important;color:#20333f!important}
.product-shell .section-actions .text-button:hover{background:#edf3f6!important}
.product-shell .section-actions :is(a,button):focus-visible{outline:3px solid #215bb5!important;outline-offset:3px!important}
.product-shell .section-actions [hidden]{display:none!important}
.product-shell .view>.panel,.product-shell .view>.metric-grid,.product-shell .view>.report-grid{margin-block:20px!important}
.product-shell .panel-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;flex-wrap:wrap!important;margin-bottom:18px!important}
.product-shell .panel-head>div{min-width:0;flex:1 1 180px}
.product-shell .panel-head h2{margin:0!important;line-height:1.3!important}
.product-shell :is(.status-chip,.action-chip,.stage-pill){display:inline-flex!important;align-items:center;justify-content:center;max-width:100%;width:max-content;min-height:28px!important;height:auto!important;padding:6px 10px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;flex:0 0 auto!important;box-sizing:border-box!important}
#opportunity-list .record-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:18px!important;height:auto!important;min-width:0!important;overflow:visible!important;text-align:left!important}
#opportunity-list .record-row>span{min-width:0!important;max-width:100%!important}
#opportunity-list .record-row strong{font-size:1rem!important;line-height:1.4!important;overflow-wrap:anywhere}
#opportunity-list .record-row small{line-height:1.5!important;margin-top:6px!important;overflow-wrap:anywhere}
#opportunity-list .record-state{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 12px!important}
#opportunity-list{padding:2px 6px 16px 2px!important;scrollbar-gutter:stable}
.brokerage-run>header{display:flex!important;gap:20px!important;align-items:flex-start!important}
.brokerage-run>header>div{min-width:0!important;flex:1 1 auto!important}
.brokerage-run>header>b{width:auto!important;min-width:4.5ch!important;height:auto!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;padding:8px 12px!important;line-height:1.3!important;border-radius:8px!important;text-align:center!important}
.brokerage-run>header strong{line-height:1.4!important;overflow-wrap:anywhere}.brokerage-run>p{margin-block:14px!important;line-height:1.5!important}
.hcn-shell .hcn-panel{padding:24px!important}.hcn-head{gap:24px!important;align-items:flex-start!important}.hcn-head>div{min-width:0}.hcn-head h1{line-height:1.2!important;margin:0 0 12px!important}.hcn-head p{line-height:1.55!important}.hcn-progress{gap:12px!important;margin-top:24px!important}.hcn-progress>div{padding:14px!important;min-width:0;display:grid!important;gap:8px!important;align-content:start}.hcn-progress>div b{margin:0!important}.hcn-progress>div span{margin:0!important;line-height:1.4!important}.hcn-mode{flex:0 0 auto!important}
.admin-rule-list>div{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:14px!important;align-items:start!important;padding:18px 0!important}.admin-rule-list>div>span{width:32px!important;height:32px!important;display:grid!important;place-items:center!important;margin:0!important;border:0!important}.admin-rule-list p{margin:0!important;min-width:0!important}.admin-rule-list strong,.admin-rule-list small{display:block!important;line-height:1.5!important}.admin-rule-list small{margin-top:6px!important}.guidance-card{padding:18px!important}.guidance-card>span{overflow-wrap:anywhere;line-height:1.5}
.hd-delivery{min-width:0;box-sizing:border-box;color:#20333f;background:#fff;border:1px solid #c7d4dc;border-radius:16px;padding:24px;margin:24px 0}.hd-delivery[hidden],.hd-delivery [hidden]{display:none!important}.hd-delivery h2{font-size:1.4rem;line-height:1.3;margin:0 0 12px;color:#18252e}.hd-delivery p{font-size:.95rem;line-height:1.6;color:#3f5360}.hd-delivery form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hd-delivery label{display:grid;gap:8px;font-size:.95rem;color:#20333f}.hd-delivery input,.hd-delivery select,.hd-delivery textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #91a7b4;border-radius:8px;background:#fff;color:#20333f;padding:12px;font:inherit;min-height:44px}.hd-delivery textarea{min-height:140px;resize:vertical}.hd-delivery .hd-form-wide{grid-column:1/-1}.hd-delivery .hd-consent{display:flex;align-items:flex-start;gap:12px}.hd-delivery .hd-consent input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:3px 0}.hd-delivery button{min-height:44px;padding:12px 18px;border:1px solid #20333f;border-radius:8px;background:#20333f;color:#fff;cursor:pointer;font:inherit;justify-self:start}.hd-delivery :focus-visible{outline:3px solid #215bb5;outline-offset:3px}.hd-delivery [role=status]{min-height:1.5em;overflow-wrap:anywhere}.hd-delivery .hd-honeypot{display:none!important}.hd-contact-record{padding:18px 0;border-bottom:1px solid #ccd7df;overflow-wrap:anywhere}.hd-contact-record h3{margin:0 0 8px;font-size:1rem}.hd-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}.hd-feature-grid article{padding:22px;border:1px solid #b9c8d2;border-radius:12px;min-width:0}.hd-feature-grid h3{font-size:1.1rem;margin:0 0 12px;line-height:1.35}.hd-feature-grid p{font-size:.95rem;line-height:1.65;margin:0}.hd-feature-state{display:block;font-size:.75rem;line-height:1.5;font-weight:700;color:#3f5360;margin-bottom:12px}.hd-feature-next{margin-top:26px;max-width:85ch}.hd-landing #contact .hd-delivery{margin:24px 0 0;max-width:900px}.hd-invite-row{display:flex;gap:12px;margin-top:18px;align-items:end;flex-wrap:wrap}.hd-invite-row label{flex:1 1 260px}
@media(max-width:1000px){.hd-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-shell .view>.section-head{padding:20px!important;flex-direction:column!important;gap:16px!important}.hcn-shell .hcn-panel{padding:18px!important}.hcn-head{display:grid!important}.hcn-progress{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hcn-progress>div:last-child{grid-column:1/-1}.hd-delivery{padding:18px}.hd-delivery form,.hd-feature-grid{grid-template-columns:1fr}.hd-delivery button{max-width:100%;white-space:normal}.product-shell .panel-head{gap:12px!important}.brokerage-run>header{gap:12px!important}}

/* Shared panel spacing. Equal report-grid tracks align headings and content starts. */
.product-shell .view>.portfolio-grid{gap:var(--hd-space-4)!important;align-items:stretch!important}
.product-shell .view>.portfolio-grid>.panel{box-sizing:border-box!important;min-width:0!important;padding:var(--hd-panel-inset)!important}
.product-shell .panel>.research-rules{min-width:0!important;background:transparent!important;padding:0!important;border:0!important;gap:var(--hd-space-2)!important;align-content:start!important}
.product-shell .panel>.research-rules>div{padding:var(--hd-space-3)!important;gap:var(--hd-space-1)!important}
.product-shell .panel>.research-rules strong{font-size:.875rem!important;line-height:1.4!important}
.product-shell .panel>.research-rules span{font-size:.8125rem!important;line-height:1.55!important}
.product-shell #view-reports.active{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:var(--hd-space-4)!important;align-content:start!important}
.product-shell #view-reports>*{min-width:0!important;margin:0!important}
.product-shell #view-reports>.panel{padding:var(--hd-panel-inset)!important}
.product-shell #view-reports .section-actions{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important}
.product-shell #view-reports .section-actions :is(a,button){width:100%!important;min-width:88px!important}
.product-shell #view-reports>.portfolio-grid>.panel{display:grid!important;grid-template-rows:subgrid!important;grid-row:span 2!important;row-gap:var(--hd-space-3)!important;align-content:start!important;height:auto!important}
.product-shell #view-reports>.portfolio-grid .panel-head{margin:0!important;align-content:start!important;padding-bottom:var(--hd-space-3)!important}
.product-shell #view-reports>.portfolio-grid .panel-head h2{font-size:1.125rem!important}
.product-shell #view-reports>.portfolio-grid :is(.guidance-list,.research-rules){margin:0!important;align-self:start!important}
.product-shell #view-reports #quality-metrics{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:var(--hd-space-3)!important}
.product-shell #view-reports #quality-metrics>.metric-card{padding:var(--hd-space-4)!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:var(--hd-space-1)!important;justify-content:space-between!important}
.product-shell #view-reports #quality-metrics>.metric-card strong{margin:0!important;line-height:1.2!important}
.product-shell #view-reports #quality-metrics>.metric-card small{margin:0!important;line-height:1.5!important}
@media(max-width:1100px){.product-shell #view-reports .section-actions{width:100%!important}.product-shell #view-reports #quality-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-shell #view-reports #quality-metrics>.metric-card:last-child:nth-child(odd){grid-column:1/-1!important}}
@media(max-width:760px){.product-shell{--hd-panel-inset:20px;--hd-space-4:16px}.product-shell .view>.section-head{align-items:stretch!important}.product-shell .view>.section-head>div:not(.section-actions){flex:none!important;width:100%!important}.product-shell .view>.section-head>.section-actions{align-self:stretch!important}.product-shell #view-reports>.portfolio-grid>.panel{display:block!important;grid-row:auto!important}.product-shell #view-reports>.portfolio-grid .panel-head{margin-bottom:var(--hd-space-3)!important}}
@media(max-width:420px){.product-shell #view-reports #quality-metrics{grid-template-columns:1fr!important}.product-shell #view-reports .section-actions{gap:8px!important}.product-shell #view-reports .section-actions :is(a,button){min-width:0!important;padding-inline:10px!important;font-size:.875rem!important}}

/* Shared Attention must stay readable once real CRM tasks populate its cards. */
.product-shell #view-attention .record-row{background:#fff!important;color:#192833!important;border-color:#cbd5dc!important;cursor:default}
.product-shell #view-attention .record-row:hover{background:#f5f7f8!important}
.product-shell #view-attention .record-row :is(strong,a,button){color:#192833!important}
.product-shell #view-attention .record-row small{color:#526570!important}
.product-shell #view-attention .record-row :is(a,button){min-height:44px!important;display:inline-flex;align-items:center;white-space:normal!important}
