
/* DealerPulse live Home, scoped to the Home tab only. All other portal sections retain their styling. */

body:has(#sec-dashboard.active) .main-content{max-width:1590px!important;padding:1.35rem 1.5rem 2.5rem!important}
#sec-dashboard.dpe-home{color:#15243a;font-family:'DM Sans',sans-serif}
#sec-dashboard.dpe-home *{box-sizing:border-box}
#sec-dashboard.dpe-home .dpe-hero{border-radius:20px;padding:1.6rem 1.7rem 1.75rem;margin:0 0 1rem;background:linear-gradient(106deg,rgba(247,250,252,.98) 0%,rgba(239,246,250,.94) 51%,rgba(225,236,245,.52) 100%),linear-gradient(138deg,#dce7f0,#fff);border:1px solid #e3eaf0;position:relative;overflow:hidden;min-height:118px}
#sec-dashboard.dpe-home .dpe-hero:after{content:'';position:absolute;right:-50px;top:-85px;height:260px;width:420px;border-radius:50%;background:radial-gradient(ellipse,rgba(34,93,120,.13),transparent 70%);pointer-events:none}
#sec-dashboard.dpe-home h1{font-family:'DM Sans',sans-serif;font-size:clamp(1.65rem,2.5vw,2.5rem);font-weight:800;letter-spacing:-.04em;line-height:1.15;margin:0}
#sec-dashboard.dpe-home .dpe-hero p{font-size:13.5px;line-height:1.5;color:#57687c;max-width:600px;margin:.55rem 0 0}
#sec-dashboard.dpe-home .dpe-hero-footer{margin-top:1rem;display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
#sec-dashboard.dpe-home .dpe-preview-notice{display:inline-flex;align-items:center;gap:6px;background:#fff7e7;color:#865b15;border:1px solid #f4d79f;border-radius:999px;padding:6px 10px;font-size:10.5px;font-weight:800}
#sec-dashboard.dpe-home .dpe-plan{font-size:11px;color:#667488}
#sec-dashboard.dpe-home .dpe-hero .dp-home-plus-mark{margin-left:.5rem}
#sec-dashboard.dpe-home .dpe-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,.78fr);gap:1rem;align-items:start}
#sec-dashboard.dpe-home .dpe-main{min-width:0}
#sec-dashboard.dpe-home .dpe-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;margin:0 0 1.2rem}
#sec-dashboard.dpe-home .dpe-kpi{border:1px solid #dfe6ee;background:#fff;border-radius:15px;padding:.9rem .9rem 1rem;min-width:0;box-shadow:0 7px 20px rgba(28,49,70,.045)}
#sec-dashboard.dpe-home .dpe-kpi.emphasis{background:linear-gradient(125deg,#162f48,#102238);border-color:#243e57;color:#fff}
#sec-dashboard.dpe-home .dpe-kpi-label{display:flex;align-items:center;gap:.4rem;font-size:10.5px;font-weight:750;line-height:1.3;color:#506479;min-height:30px}
#sec-dashboard.dpe-home .emphasis .dpe-kpi-label{color:#dce8f2}
#sec-dashboard.dpe-home .dpe-kpi-value{font-size:clamp(1.35rem,1.85vw,1.85rem);font-weight:800;letter-spacing:-.035em;line-height:1.25;margin:.35rem 0 .25rem}
#sec-dashboard.dpe-home .dpe-kpi-value#dash-score{color:#f8c65e}
#sec-dashboard.dpe-home .dpe-kpi-note{color:#8a98a7;font-size:10.5px;line-height:1.4}
#sec-dashboard.dpe-home .emphasis .dpe-kpi-note{color:#c3d3df}
#sec-dashboard.dpe-home .dpe-warning .dpe-kpi-value{color:#ba7720}
#sec-dashboard.dpe-home .dpe-mini-icon{color:#16777b;font-size:19px;line-height:1}
#sec-dashboard.dpe-home .dpe-section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:0 0 .7rem}
#sec-dashboard.dpe-home .dpe-section-header h2{font-family:'DM Sans',sans-serif;font-size:17px;font-weight:800;letter-spacing:-.026em;line-height:1.2;margin:0}
#sec-dashboard.dpe-home .dpe-section-header p{font-size:11.5px;color:#77879a;line-height:1.45;margin:.2rem 0 0}
#sec-dashboard.dpe-home .dpe-experiences{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.7rem;margin:0 0 1rem}
#sec-dashboard.dpe-home .dpe-dept{grid-column:span 2;text-align:left;background:#fff;border:1px solid #dce5ed;border-radius:15px;padding:1rem .92rem;box-shadow:0 6px 16px rgba(28,49,70,.04);font-family:inherit;cursor:pointer;transition:border-color .18s,transform .18s,box-shadow .18s}
#sec-dashboard.dpe-home .dpe-dept.small{grid-column:span 3;padding:.8rem 1rem}
#sec-dashboard.dpe-home .dpe-dept:hover,#sec-dashboard.dpe-home .dpe-dept:focus-visible{border-color:#3a8295;box-shadow:0 10px 24px rgba(29,72,93,.12);transform:translateY(-1px);outline:none}
#sec-dashboard.dpe-home .dpe-dept-top{display:flex;align-items:center;gap:.6rem}
#sec-dashboard.dpe-home .dpe-dept-icon{width:34px;height:34px;background:#e8f5f7;color:#18687a;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0}
#sec-dashboard.dpe-home .dpe-dept-title{font-size:13px;font-weight:800;color:#1a2d44;line-height:1.25}
#sec-dashboard.dpe-home .dpe-dept-average{font-size:24px;color:#14243b;letter-spacing:-.045em;font-weight:800;margin:.75rem 0 .15rem}
#sec-dashboard.dpe-home .dpe-dept-average small{color:#718196;font-size:12px;font-weight:600;letter-spacing:0}
#sec-dashboard.dpe-home .dpe-dept-foot{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:10.5px;color:#697d90}
#sec-dashboard.dpe-home .dpe-dept-foot span:last-child{color:#18777c;font-weight:750}
#sec-dashboard.dpe-home .dpe-dept.small .dpe-dept-average{font-size:20px;margin:.45rem 0 .1rem}
#sec-dashboard.dpe-home .dpe-bottom{display:grid;grid-template-columns:1.1fr .9fr;gap:.8rem}
#sec-dashboard.dpe-home .dpe-panel{background:#fff;border:1px solid #dfe6ee;border-radius:16px;box-shadow:0 6px 18px rgba(28,49,70,.045);min-width:0}
#sec-dashboard.dpe-home .dpe-panel-heading{padding:1.05rem 1.1rem .8rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
#sec-dashboard.dpe-home .dpe-panel h3{font-family:'DM Sans',sans-serif;font-size:13.5px;font-weight:800;letter-spacing:-.01em;margin:0}
#sec-dashboard.dpe-home .dpe-panel-heading p{color:#7b899a;font-size:10.5px;margin:.22rem 0 0;line-height:1.35}
#sec-dashboard.dpe-home .dpe-panel-body{padding:0 1.1rem 1.1rem}
#sec-dashboard.dpe-home .dpe-trend{min-height:150px;display:flex;justify-content:center;align-items:center}
#sec-dashboard.dpe-home .dpe-trend svg{width:100%;height:auto;max-height:162px;overflow:visible}
#sec-dashboard.dpe-home .dpe-empty{display:flex;align-items:center;justify-content:center;text-align:center;min-height:120px;padding:1rem;color:#78899a;background:#f7fafc;border:1px dashed #e3ebf0;border-radius:11px;font-size:11.5px;line-height:1.55}
#sec-dashboard.dpe-home .dpe-res-row{display:flex;justify-content:space-between;gap:.5rem;align-items:center;border-top:1px solid #edf1f4;padding:.77rem 0;font-size:11.5px;color:#425369}
#sec-dashboard.dpe-home .dpe-res-row:first-child{border-top:0}
#sec-dashboard.dpe-home .dpe-res-row strong{font-size:14px;color:#172d43}
#sec-dashboard.dpe-home .dpe-side{display:flex;flex-direction:column;gap:.85rem}
#sec-dashboard.dpe-home .dpe-actionlist .action-item{padding:.7rem 0;border-bottom:1px solid #eef2f5;box-shadow:none}
#sec-dashboard.dpe-home .dpe-actionlist .action-item:nth-child(n+4){display:none}
#sec-dashboard.dpe-home .dpe-actionlist .action-icon{font-size:17px;background:#f0f8f8}
#sec-dashboard.dpe-home .dpe-actionlist .action-title{font-size:12px}
#sec-dashboard.dpe-home .dpe-actionlist .action-copy{font-size:10.5px;line-height:1.35}
#sec-dashboard.dpe-home .dpe-actionlist .action-btn{padding:7px 10px;font-size:10.5px}
#sec-dashboard.dpe-home .dpe-cta{display:block;width:100%;margin-top:.85rem;background:linear-gradient(130deg,#f5c55b,#e9a729);padding:.85rem;border:none;border-radius:10px;color:#152840;cursor:pointer;font-size:12px;font-weight:800;font-family:inherit}
#sec-dashboard.dpe-home .dpe-cta:hover{filter:brightness(.97)}
#sec-dashboard.dpe-home .dpe-feedback-item{border-top:1px solid #edf1f4;padding:.8rem 0}
#sec-dashboard.dpe-home .dpe-feedback-item:first-child{border-top:0;padding-top:.4rem}
#sec-dashboard.dpe-home .dpe-feedback-meta{font-size:10.5px;color:#8090a0;display:flex;gap:.35rem;flex-wrap:wrap;align-items:center}
#sec-dashboard.dpe-home .dpe-feedback-stars{color:#e6a629;font-size:12px;letter-spacing:1px}
#sec-dashboard.dpe-home .dpe-feedback-excerpt{font-size:11.5px;color:#344a5e;line-height:1.5;margin-top:.35rem}
#sec-dashboard.dpe-home .dpe-link{font-size:11px;border:none;background:transparent;color:#176b80;cursor:pointer;font-weight:750;font-family:inherit}
#sec-dashboard.dpe-home .dpe-link:hover{text-decoration:underline}
#sec-dashboard.dpe-home .dpe-meta-row{display:flex;gap:.8rem;align-items:center;justify-content:space-between;padding:.9rem 0 0;font-size:10.5px;color:#7f8f9f}
#sec-dashboard.dpe-home .dpe-hidden-state{display:none!important}
#dpe-category-modal[hidden]{display:none!important}
#dpe-category-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(9,25,41,.65);padding:1rem}
#dpe-category-modal .dpe-dialog{background:#fff;border-radius:16px;max-width:540px;width:100%;max-height:85vh;overflow:auto;padding:1.35rem;box-shadow:0 25px 70px rgba(0,0,0,.23)}
#dpe-category-modal .dpe-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:1rem}
#dpe-category-modal .dpe-dialog-head h2{font-family:'DM Sans',sans-serif;font-size:19px}
#dpe-category-modal .dpe-close{border:1px solid #dae2e7;background:#fff;border-radius:9px;padding:6px 10px;cursor:pointer;font-size:15px}
#dpe-category-modal .dpe-dialog-items{margin-top:1rem}
#dpe-category-modal .dpe-dialog-item{border-top:1px solid #e7edf2;padding:.8rem .2rem}
#dpe-category-modal .dpe-dialog-item p{font-size:12px;line-height:1.5;color:#3d5269;margin:.4rem 0}
#dpe-category-modal .dpe-dialog-item small{font-size:11px;color:#8793a2}
body.dpe-preview .dp-section:not(#sec-dashboard) button,body.dpe-preview .dp-section:not(#sec-dashboard) a,body.dpe-preview .dp-section:not(#sec-dashboard) input,body.dpe-preview .dp-section:not(#sec-dashboard) select,body.dpe-preview .dp-section:not(#sec-dashboard) textarea{cursor:not-allowed!important;opacity:.78}
@media(max-width:1260px){
#sec-dashboard.dpe-home .dpe-grid{grid-template-columns:minmax(0,1fr)}
#sec-dashboard.dpe-home .dpe-side{display:grid;grid-template-columns:1fr 1fr}
}
@media(max-width:1260px){#sec-dashboard.dpe-home .dpe-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){
body:has(#sec-dashboard.active) .main-content{padding:.95rem .85rem 5.7rem!important}
#sec-dashboard.dpe-home .dpe-hero{padding:1.25rem;margin-bottom:.75rem}
#sec-dashboard.dpe-home .dpe-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
#sec-dashboard.dpe-home .dpe-kpi.emphasis{grid-column:span 1}
#sec-dashboard.dpe-home .dpe-kpi{padding:.75rem}
#sec-dashboard.dpe-home .dpe-grid{gap:.75rem}
#sec-dashboard.dpe-home .dpe-experiences{grid-template-columns:1fr 1fr;gap:.55rem}
#sec-dashboard.dpe-home .dpe-dept,#sec-dashboard.dpe-home .dpe-dept.small{grid-column:span 1;padding:.75rem}
#sec-dashboard.dpe-home .dpe-dept:nth-child(3){grid-column:span 2}
#sec-dashboard.dpe-home .dpe-dept-average{font-size:20px}
#sec-dashboard.dpe-home .dpe-dept.small .dpe-dept-average{font-size:20px}
#sec-dashboard.dpe-home .dpe-bottom{grid-template-columns:1fr}
#sec-dashboard.dpe-home .dpe-side{grid-template-columns:1fr}
#sec-dashboard.dpe-home .dpe-panel-heading{padding:.9rem .9rem .65rem}
#sec-dashboard.dpe-home .dpe-panel-body{padding:0 .9rem .9rem}
}

/* Owner-approved DealerPulse navy / gold greeting banner. No hero photograph. */
#sec-dashboard.dpe-home .dpe-hero.dpe-branded-live{
  background:linear-gradient(110deg,#171727 0%,#23243a 72%,#27283f 100%)!important;
  border:1px solid #343449;border-radius:16px;
  box-shadow:0 10px 26px rgba(18,20,39,.12);
  padding:1.2rem 1.5rem 1.35rem;min-height:150px;
  display:flex;flex-direction:column;justify-content:space-between;
}
#sec-dashboard.dpe-home .dpe-hero.dpe-branded-live::after{display:none!important}
#sec-dashboard.dpe-home .dpe-banner-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
#sec-dashboard.dpe-home .dpe-banner-kicker{color:#b7bfd0;font-size:9.5px;font-weight:750;letter-spacing:1px;display:flex;align-items:center;gap:12px;white-space:nowrap}
#sec-dashboard.dpe-home .dpe-banner-kicker strong{color:#fff;font-size:13px;letter-spacing:-.35px;font-weight:850;text-transform:none}
#sec-dashboard.dpe-home .dpe-banner-kicker strong span{color:#efb544}
#sec-dashboard.dpe-home .dpe-banner-kicker i{height:16px;border-left:1px solid #626477}
#sec-dashboard.dpe-home .dpe-hero .dpe-plan-chip{margin:0;background:rgba(239,181,68,.09);color:#f6cc77;border:1px solid rgba(239,181,68,.43);border-radius:999px;box-shadow:none;font-size:9px;letter-spacing:.65px;padding:5px 10px}
#sec-dashboard.dpe-home .dpe-banner-message{margin-top:20px}
#sec-dashboard.dpe-home .dpe-banner-message h1{color:#fff;font-family:'DM Sans',Arial,sans-serif;font-size:clamp(22px,2.5vw,31px);font-weight:800;letter-spacing:-.8px;line-height:1.16}
#sec-dashboard.dpe-home .dpe-banner-message p{color:#c5c9d7;max-width:720px;font-size:12px;line-height:1.55;margin:8px 0 0}
#sec-dashboard.dpe-home .dpe-hero.dpe-branded-live .dpe-hidden-state{display:none!important}
#sec-dashboard.dpe-home .dpe-tool-list{display:flex;flex-direction:column}
#sec-dashboard.dpe-home .dpe-tool{display:flex;align-items:center;gap:10px;background:transparent;color:#24364d;text-align:left;width:100%;padding:11px 2px;border:0;border-top:1px solid #edf1f4;cursor:pointer;font-family:'DM Sans',Arial,sans-serif}
#sec-dashboard.dpe-home .dpe-tool:first-child{border-top:0}
#sec-dashboard.dpe-home .dpe-tool:hover{background:#f7fafc;color:#236f82}
#sec-dashboard.dpe-home .dpe-tool-icon{width:33px;height:33px;display:flex;justify-content:center;align-items:center;flex-shrink:0;background:#eaf4f6;color:#246a80;border-radius:9px;font-size:18px}
#sec-dashboard.dpe-home .dpe-tool-copy{min-width:0;flex:1}
#sec-dashboard.dpe-home .dpe-tool-copy strong{display:block;font-size:12px;font-weight:800}
#sec-dashboard.dpe-home .dpe-tool-copy small{display:block;font-size:10.5px;line-height:1.4;color:#8391a2;margin-top:3px}
#sec-dashboard.dpe-home .dpe-tool-arrow{margin-left:auto;font-size:20px;color:#90a1af}
#sec-dashboard.dpe-home .dpe-hidden-state{display:none!important}
@media(max-width:720px){
  #sec-dashboard.dpe-home .dpe-hero.dpe-branded-live{padding:1.05rem 1.05rem 1.15rem;min-height:145px}
  #sec-dashboard.dpe-home .dpe-banner-kicker{font-size:9px;gap:7px;letter-spacing:.45px}
  #sec-dashboard.dpe-home .dpe-banner-kicker strong{font-size:12px}
  #sec-dashboard.dpe-home .dpe-hero .dpe-plan-chip{font-size:8px;padding:5px 8px}
  #sec-dashboard.dpe-home .dpe-banner-message h1{font-size:22px}
}
@media(max-width:375px){#sec-dashboard.dpe-home .dpe-banner-kicker{font-size:8px}#sec-dashboard.dpe-home .dpe-hero .dpe-plan-chip{font-size:7px}}

/* Landscape customer feedback and compact profile metric; Home only. */
#sec-dashboard.dpe-home .dpe-profile-link{padding:0;font-size:10.5px;line-height:1.4;text-align:left}
#sec-dashboard.dpe-home .dpe-latest-feedback{margin-top:1rem}
#sec-dashboard.dpe-home .dpe-feedback-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:stretch}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-empty{grid-column:1/-1;min-height:92px}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-feedback-item{min-width:0;border:1px solid #e2e8ef;border-radius:12px;padding:1rem;background:#fcfdfe;display:flex;flex-direction:column;gap:.65rem;min-height:168px}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-feedback-item .dpe-feedback-meta{font-size:11px;overflow-wrap:anywhere}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-feedback-item .dpe-feedback-stars{font-size:15px;letter-spacing:1px}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-feedback-item .dpe-feedback-excerpt{font-size:13px;line-height:1.55;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
#sec-dashboard.dpe-home .dpe-feedback-card-footer{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:.5rem;padding-top:.5rem;border-top:1px solid #edf1f4}
#sec-dashboard.dpe-home .dpe-feedback-card-footer .dpe-link{flex-shrink:0;padding:2px 0}
#dpe-category-modal .dpe-full-review{font-size:13px;line-height:1.65;color:#344a5e;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){
#sec-dashboard.dpe-home .dpe-feedback-grid{grid-template-columns:minmax(0,1fr);gap:.6rem}
#sec-dashboard.dpe-home .dpe-feedback-grid>.dpe-feedback-item{min-height:0;padding:.85rem}
}
