/* Reusable visual primitives, scoped to Inicio until approved for other pages. */
#dashboardView.home-saas{--home-navy:#0d2c54;--home-green:#239334;--home-border:#e6ebf1;--home-shadow:0 3px 14px #173b6705;background:#f5f8fc}
#dashboardView.home-saas .side{background:linear-gradient(155deg,#0c2c53,#0d2d56)!important;border:0!important;padding:0 14px 16px!important;color:white}
#dashboardView.home-saas .side .logo{margin:0 -14px 22px;padding:18px 28px!important;height:96px;background:white;border:0!important}
#dashboardView.home-saas .side .logo img{width:195px;height:64px}
#dashboardView.home-saas .side-nav{margin-top:0;gap:3px}
#dashboardView.home-saas .side-nav button{color:#edf4ff!important;min-height:47px;border-radius:9px;padding:10px 20px;font-size:13px;line-height:1.45;border-left:0!important}
#dashboardView.home-saas .side-nav button .ui-icon{color:#edf4ff!important;width:21px;height:21px;flex:0 0 21px}
#dashboardView.home-saas .side-nav button.active,#dashboardView.home-saas .side-nav button[onclick="showHome()"]{background:#259934!important;color:white!important;box-shadow:0 3px 8px #001e4030}
#dashboardView.home-saas .carrier-nav-group{padding:0!important;border:0!important;margin-bottom:17px}
#dashboardView.home-saas .side-support{margin:20px 8px 0;padding:15px;border:1px solid #ffffff0c!important;border-radius:12px;background:#ffffff0c;color:white;font-size:12px}
#dashboardView.home-saas .side-support small{color:#d7e3f3}#dashboardView.home-saas .side-support button{color:white;background:transparent;border-color:#92abc7!important;border-radius:7px}
#dashboardView.home-saas .dash-header{background:#f9fbfd!important;border-bottom:1px solid #edf0f5;padding:0 24px;gap:18px}
#dashboardView.home-saas .global-search{background:white;border:1px solid #e2e8f0!important;border-radius:12px;box-shadow:var(--home-shadow);height:46px;font-size:12px;width:560px}
#dashboardView.home-saas .user-chip{background:white!important;border:1px solid #e8edf3!important;border-radius:13px!important;padding:9px 18px!important;box-shadow:var(--home-shadow)}
#dashboardView.home-saas .user-chip .profile-avatar{width:44px;height:44px;flex-basis:44px}
#dashboardView.home-saas .dash-content{padding:16px 24px 28px!important;max-width:1500px}
#dashboardView.home-saas .carrier-home{display:grid;gap:14px}
#dashboardView.home-saas .role-home-hero{position:relative;margin:0!important;border-radius:15px!important;overflow:hidden;height:285px!important;min-height:0!important;padding:0!important;background:none}
#dashboardView.home-saas .role-home-hero-image{width:100%;height:100%!important;object-fit:cover!important;object-position:center!important}
#dashboardView.home-saas .role-home-hero-actions{left:4%;bottom:9%;gap:12px}
#dashboardView.home-saas .role-home-hero-action{height:48px;min-width:180px;border-radius:11px;padding:11px 20px;font-size:14px;background:white;border:1px solid #dfe5ed;color:var(--home-navy);box-shadow:0 3px 8px #16325412}
#dashboardView.home-saas .role-home-hero-action.primary{background:var(--home-green);color:white;border-color:var(--home-green)}
#dashboardView.home-saas .home-banner-note{position:absolute;top:16%;right:2%;display:flex;align-items:center;gap:10px;background:#ffffffe6;padding:11px 14px;border-radius:15px;font-size:11px;color:var(--home-navy)}
.home-banner-note .ui-icon{color:#71ac43;width:28px;height:28px}.home-banner-note small{display:block;margin-top:3px}
#dashboardView.home-saas .carrier-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#dashboardView.home-saas .carrier-kpi{min-height:106px;padding:15px 14px;border:1px solid var(--home-border)!important;border-radius:15px;background:white;box-shadow:var(--home-shadow);gap:14px}
#dashboardView.home-saas .carrier-kpi-icon{width:50px;height:54px;flex:0 0 50px;border-radius:13px;background:#edf5ff}#dashboardView.home-saas .carrier-kpi strong{font-size:29px}#dashboardView.home-saas .carrier-kpi small{font-size:11px;line-height:1.5}
#dashboardView.home-saas .carrier-home-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 310px;gap:14px;background:none!important;border:0!important;padding:0!important}
#dashboardView.home-saas .home-primary{display:grid;gap:14px;min-width:0}#dashboardView.home-saas .home-quick-panel,#dashboardView.home-saas .carrier-home-main,#dashboardView.home-saas .carrier-widget{padding:15px;border:1px solid var(--home-border)!important;border-radius:15px;background:white;box-shadow:var(--home-shadow)}
#dashboardView.home-saas .carrier-home-title{margin-bottom:14px;gap:9px}#dashboardView.home-saas .carrier-home-title h2{font-size:17px;letter-spacing:-.3px}#dashboardView.home-saas .carrier-home-link{font-size:12px;padding:0;white-space:nowrap}
#dashboardView.home-saas .carrier-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#dashboardView.home-saas .carrier-quick-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:133px;padding:13px 14px;border-radius:13px;border:0;color:var(--home-navy)}
#dashboardView.home-saas .carrier-quick-action::after{content:'›';position:absolute;right:14px;top:63px;font-size:24px;color:inherit}
#dashboardView.home-saas .carrier-quick-action>span:first-child{width:40px;height:40px;flex:0 0 40px}#dashboardView.home-saas .carrier-quick-action b{font-size:13px}#dashboardView.home-saas .carrier-quick-action small{font-size:12px;padding-right:10px;line-height:1.35}
#dashboardView.home-saas .carrier-home-aside{display:grid;gap:14px;grid-template-columns:1fr}
#dashboardView.home-saas .carrier-activity-row{grid-template-columns:30px 1fr auto;gap:8px;padding:10px 0;border-color:#edf1f6;font-size:12px}#dashboardView.home-saas .carrier-activity-row>span:nth-child(2){display:flex;gap:11px;align-items:center}#dashboardView.home-saas .carrier-activity-row b{font-size:15px}#dashboardView.home-saas .carrier-activity-row small{font-size:10px}#dashboardView.home-saas .carrier-activity-row>small{color:#7b8aa0;font-size:9px}
#dashboardView.home-saas .carrier-empty{min-height:97px;padding:20px 12px;border-color:#99b7a5;font-size:12px;background:#fbfdfc}
#dashboardView.home-saas .carrier-widget-button{border-color:#6eaa80!important;color:var(--home-navy);min-height:40px;font-size:13px}
#dashboardView.home-saas .recommended-load{display:grid;grid-template-columns:minmax(140px,1fr) minmax(240px,1.5fr) minmax(150px,.9fr);grid-template-rows:auto auto;gap:8px 13px;padding:14px;border:1px solid var(--home-border)!important;border-radius:13px;min-width:0}
#dashboardView.home-saas .recommended-load>*{min-width:0}#dashboardView.home-saas .recommended-route{grid-column:1;grid-row:1}#dashboardView.home-saas .recommended-route h3{font-size:13px;line-height:1.45;padding-left:28px;position:relative}#dashboardView.home-saas .recommended-route h3 .ui-icon{position:absolute;left:0;top:3px}
#dashboardView.home-saas .recommended-tags{grid-column:1;grid-row:2;margin:0;padding-left:28px}#dashboardView.home-saas .recommended-tag{font-size:10px;padding:4px 7px}
#dashboardView.home-saas .recommended-facts{grid-column:2;grid-row:1/3;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;font-size:10px;border:0;padding:0}#dashboardView.home-saas .recommended-facts b{font-size:10px;line-height:1.4;overflow-wrap:anywhere}
#dashboardView.home-saas .recommended-bottom{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;padding:0;gap:12px}#dashboardView.home-saas .recommended-price strong{font-size:21px}#dashboardView.home-saas .recommended-price small{font-size:10px}#dashboardView.home-saas .recommended-actions{width:100%;gap:8px}#dashboardView.home-saas .recommended-actions button{font-size:10px;padding:8px 9px;min-width:0;flex:1;border-radius:7px}
@media(max-width:1250px){#dashboardView.home-saas .carrier-home-grid{grid-template-columns:minmax(0,1fr) 280px}#dashboardView.home-saas .recommended-load{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}#dashboardView.home-saas .recommended-bottom{grid-column:1/-1;grid-row:3;flex-direction:row;align-items:center;justify-content:space-between}#dashboardView.home-saas .recommended-actions{width:auto}#dashboardView.home-saas .carrier-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){#dashboardView.home-saas .carrier-home-grid{grid-template-columns:1fr}#dashboardView.home-saas .carrier-home-aside{grid-template-columns:1fr 1fr}#dashboardView.home-saas .carrier-kpis{grid-template-columns:1fr 1fr}#dashboardView.home-saas .role-home-hero{height:260px!important}}
@media(max-width:720px){#dashboardView.home-saas .dash-content{padding:14px!important}#dashboardView.home-saas .carrier-home-aside{grid-template-columns:1fr}#dashboardView.home-saas .role-home-hero{height:230px!important}#dashboardView.home-saas .home-banner-note{display:none}#dashboardView.home-saas .role-home-hero-actions{left:4%;bottom:7%;gap:8px}#dashboardView.home-saas .role-home-hero-action{min-width:0;height:40px;font-size:12px;padding:8px 13px}#dashboardView.home-saas .recommended-load{grid-template-columns:1fr}#dashboardView.home-saas .recommended-facts{grid-column:1;grid-row:3}#dashboardView.home-saas .recommended-bottom{grid-row:4}#dashboardView.home-saas .recommended-tags{grid-column:1;grid-row:2}#dashboardView.home-saas .carrier-kpi{padding:12px;gap:8px}#dashboardView.home-saas .carrier-kpi-icon{width:36px;height:40px;flex-basis:36px}}

#dashboardView.home-saas .side-nav button .ui-icon,#dashboardView.home-saas .side-nav button .ui-icon *{color:#eef5ff!important;stroke:currentColor!important}
#dashboardView.home-saas .side-nav button.active{background:#239934!important;font-weight:800}
#dashboardView.home-saas .carrier-nav-group{margin-bottom:9px}
#dashboardView.home-saas .side-nav button{min-height:45px;padding-top:9px;padding-bottom:9px}
#dashboardView.home-saas .user-chip .profile-avatar{width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;flex:0 0 44px!important;border-radius:50%!important;background:#003b70!important}
#dashboardView.home-saas .carrier-widget .carrier-home-title h2{font-size:15px;white-space:nowrap}
#dashboardView.home-saas .carrier-widget-select{font-size:10px;padding:4px 6px;border-color:#cfd9e5!important}
#dashboardView.home-saas .carrier-activity-row{border-bottom-color:#edf1f6!important}
#dashboardView.home-saas .side-support{margin-top:13px}
#dashboardView.home-saas .role-home-hero-action.primary{background:#229537!important;border-color:#229537!important}
#dashboardView.home-saas .recommended-actions button:last-child{background:#072e7d!important;border-color:#072e7d!important;color:white!important}
#dashboardView.home-saas .side{display:flex!important;flex-direction:column}
#dashboardView.home-saas .side .logo{flex:0 0 96px;margin-bottom:20px}
#dashboardView.home-saas .side-nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#6e86a5 transparent}
#dashboardView.home-saas .side-support{flex:0 0 auto;margin-top:12px;background:#ffffff0c}

/* Featured carrier rows are white cards rather than primary action buttons. */
#dashboardView.cn-app .dash-content:not(.carrier-home-mode) #recentListings .recent-row{background:#fff!important;color:var(--cn-navy,#072e7d)!important;-webkit-text-fill-color:var(--cn-navy,#072e7d)!important;border:1px solid var(--cn-border,#dce5ed)!important;text-align:left}
#dashboardView.cn-app .dash-content:not(.carrier-home-mode) #recentListings .recent-row:hover{background:#f5f8fc!important;border-color:var(--cn-navy,#072e7d)!important}
#dashboardView.cn-app .dash-content:not(.carrier-home-mode) #recentListings .recent-row:focus-visible{outline:2px solid var(--cn-navy,#072e7d);outline-offset:3px}

/* A featured carrier must fit the phone card, regardless of button variant. */
@media(max-width:720px){
 #dashboardView.cn-app .dash-content:not(.carrier-home-mode) #recentListings .recent-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;max-width:100%;gap:10px;box-sizing:border-box;justify-items:start}
 #dashboardView.cn-app .dash-content:not(.carrier-home-mode) #recentListings .recent-row>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
}

/* Keep the existing photography and place the translated copy in the page. */
#dashboardView .localized-home-hero{display:grid;background:#eef4fb;min-height:285px}
#dashboardView .localized-home-hero .role-home-hero-image{position:absolute;inset:0;width:100%;height:100%!important;object-fit:cover!important;object-position:right center!important;clip-path:inset(0 0 0 48%)}
#dashboardView .localized-home-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#eef4fb 48%,transparent 68%);pointer-events:none}
#dashboardView .localized-home-hero .role-home-hero-content{z-index:1;align-self:center;width:68%;padding:24px clamp(16px,4vw,48px)}
#dashboardView .localized-home-hero .loader-home-cover-copy{width:min(100%,580px)}
#dashboardView .localized-home-hero .loader-home-cover-copy .eyebrow{letter-spacing:.12em}
#dashboardView .localized-home-hero .loader-home-cover-copy h1{font-size:clamp(25px,3vw,42px);line-height:1.08}
#dashboardView .localized-home-hero .loader-home-cover-copy p{font-size:14px;margin-top:10px}
#dashboardView .localized-home-hero .role-home-hero-actions{position:static;display:flex;gap:8px;margin-top:18px;padding:0;background:transparent}
#dashboardView .localized-home-hero .role-home-hero-action{width:auto;min-width:0;max-width:100%;min-height:40px;height:auto;white-space:normal}
@media(max-width:720px){
 #dashboardView .localized-home-hero .role-home-hero-content{width:100%;padding:18px 16px}
 #dashboardView .localized-home-hero::after{background:linear-gradient(90deg,#eef4fb 48%,#eef4fbd6 100%)}
 #dashboardView .localized-home-hero .role-home-hero-action{font-size:12px}
}

@media(min-width:721px){
 #dashboardView.cn-app .side > .side-nav:not(:first-of-type){flex:0 0 auto}
}
