/* Launch refinement: original iWorks orange/charcoal, layout-safe controls. */
body.page-public .iw-sitewide-cta{
  background:radial-gradient(circle at 14% 22%,rgba(232,103,32,.20),transparent 34%),
             radial-gradient(circle at 90% 84%,rgba(221,91,21,.13),transparent 35%),
             linear-gradient(125deg,#171717,#2c231e)!important;
  padding:clamp(45px,6vw,76px) 20px!important
}
body.page-public .iw-sitewide-cta:before{
  content:'';position:absolute;top:0;left:0;width:100%;height:3px;
  background:linear-gradient(90deg,#e86720,#ffae70 48%,#e86720);opacity:.95
}
body.page-public .iw-sitewide-cta h2{color:#fff!important}
body.page-public .iw-sitewide-cta p{color:#dfd4ce!important;max-width:680px}
body.page-public .iw-sitewide-cta-primary{
  background:#e86720!important;color:#fff!important;
  border:1px solid #ed7c37!important;box-shadow:5px 5px 0 rgba(255,138,57,.16)!important
}
body.page-public .iw-sitewide-cta-primary:hover{
  background:#cc5112!important;box-shadow:5px 7px 0 rgba(255,138,57,.22)!important
}
body.page-public .iw-sitewide-cta-secondary{color:#f3d1bd!important}
body.page-public .iw-sitewide-cta-secondary:hover{color:#fff!important}
body.page-public .iw-sitewide-cta-assurances{margin-top:28px!important}
body.page-public .iw-sitewide-cta-assurances li{
  background:rgba(255,255,255,.035);border-color:rgba(255,159,89,.25)!important;
  color:#f2e8e1!important
}
body.page-public .iw-sitewide-cta-assurances i{color:#ff8c48!important}
/* Keep the floating back-to-top control on the left, away from live chat on
   the right; hide it whenever the chat/dialog is expanded. */
body.page-public .iw-back-to-top{
  position:fixed!important;left:clamp(16px,2.4vw,28px)!important;right:auto!important;
  bottom:clamp(18px,2.8vw,30px)!important;z-index:1190!important;
  width:42px!important;height:42px!important;border-radius:12px!important;
  display:grid;place-items:center;background:#e86720!important;
  color:#fff!important;border:0!important;box-shadow:0 8px 19px rgba(51,34,25,.18)!important
}
body.page-public .iw-back-to-top:not(.iw-visible){
  opacity:0!important;visibility:hidden!important;pointer-events:none!important
}
body.page-public .iw-back-to-top.iw-visible{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important
}
body.page-public.iw-assist-chat-open .iw-back-to-top,
body.page-public.iw-assist-book-open .iw-back-to-top{display:none!important}
body.page-public .iw-back-to-top:focus-visible{outline:3px solid #ffc398;outline-offset:3px}
/* Portal service picker: remove crushed two-button layouts on 4-column cards. */
body.portal-authenticated .service-product-card{min-width:0;box-sizing:border-box;overflow:hidden}
body.portal-authenticated .service-card-actions{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  align-items:stretch!important;gap:7px!important;width:100%
}
body.portal-authenticated .service-card-actions>div{min-width:0!important;width:100%}
body.portal-authenticated .service-card-actions .btn{
  display:flex;align-items:center;justify-content:center;gap:6px;
  min-width:0!important;width:100%!important;max-width:100%;min-height:38px;
  margin:0!important;font-size:12px;white-space:normal!important;line-height:1.3
}
body.portal-authenticated .service-card-title{overflow-wrap:anywhere;line-height:1.3}
body.portal-authenticated .service-card-summary{line-height:1.48}
/* Prevent residual blue outlines in the order and active-selector controls. */
body.portal-authenticated .service-product-card.active{border-color:#e86720!important}
body.portal-authenticated .service-card-actions .btn-primary{background:#e86720!important;border-color:#e86720!important}
body.portal-authenticated .service-card-actions .btn-outline-secondary{color:#4b4f55!important;border-color:#cbd0d6!important}
body.portal-authenticated .service-card-actions .btn-outline-secondary:hover{background:#fff3e9!important;color:#943a10!important;border-color:#e86720!important}
@media(min-width:1400px){body.portal-authenticated .service-catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:900px) and (max-width:1399px){body.portal-authenticated .service-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){body.portal-authenticated .service-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){body.portal-authenticated .service-catalog-grid{grid-template-columns:minmax(0,1fr)}body.page-public .iw-sitewide-cta-actions{gap:10px!important}}


/*
 * Homepage Insights cover art: the same orange/charcoal journal treatment
 * used for Related Insights on article pages. Real uploaded images remain.
 */
body.page-public .iw-home-insights .iw-home-insight-media{
  position:relative;height:auto;aspect-ratio:2.5;overflow:hidden;
}
body.page-public .iw-home-insights .iw-home-insight-media img{
  width:100%;height:100%;object-fit:cover;display:block;
}
body.page-public .iw-home-insights .iw-home-journal-no-cover{
  background:linear-gradient(127deg,#f7dfcd 0%,#fff1e7 49%,#ecc3a5 100%);
}
body.page-public .iw-home-insights .iw-home-journal-no-cover[data-art-variant="2"]{
  background:linear-gradient(127deg,#f8ae69,#fbe1bf 70%,#c9783e);
}
body.page-public .iw-home-insights .iw-home-journal-no-cover[data-art-variant="3"]{
  background:linear-gradient(127deg,#302c29,#5c4536 57%,#d66d2b);
}
body.page-public .iw-home-insights .iw-home-journal-no-cover[data-art-variant="4"]{
  background:linear-gradient(128deg,#ffe4c5,#d8aa83 68%,#fff7e9);
}
body.page-public .iw-home-insights .iw-home-journal-art{
  position:relative;isolation:isolate;width:100%;height:100%;
  display:flex;flex-direction:column;justify-content:space-between;
  gap:6px;padding:clamp(14px,1.7vw,21px);
  overflow:hidden;color:#2c2620;
}
body.page-public .iw-home-insights .iw-home-journal-art::before{
  content:"";position:absolute;z-index:-1;right:-7%;top:-36%;
  width:49%;aspect-ratio:1;border:22px solid rgba(255,255,255,.34);
  border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.14);
}
body.page-public .iw-home-insights .iw-home-journal-art::after{
  content:"";position:absolute;z-index:-1;right:3%;bottom:-31%;
  width:28%;aspect-ratio:1;background:rgba(225,100,34,.17);
  border-radius:32%;transform:rotate(32deg);
}
body.page-public .iw-home-insights .iw-home-journal-brand{
  align-self:flex-start;font:900 12px/1.1 Inter,system-ui,sans-serif;
  letter-spacing:.035em;
}
body.page-public .iw-home-insights .iw-home-journal-brand em{
  font:500 9px/1.1 Inter,system-ui,sans-serif;
  letter-spacing:.15em;margin-left:2px;
}
body.page-public .iw-home-insights .iw-home-journal-art strong{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  overflow:hidden;max-width:90%;margin:0;
  font:800 clamp(16px,1.55vw,23px)/1.16 Inter,system-ui,sans-serif;
  letter-spacing:-.04em;
}
body.page-public .iw-home-insights .iw-home-journal-tag{
  font:650 10px/1.3 Inter,system-ui,sans-serif;
}
body.page-public .iw-home-insights .iw-home-journal-no-cover[data-art-variant="3"] .iw-home-journal-art{
  color:#fff;
}
body.page-public .iw-home-insights .iw-home-journal-no-cover .iw-home-read-overlay{
  z-index:2;
}
@media(max-width:520px){
  body.page-public .iw-home-insights .iw-home-journal-art strong{
    font-size:clamp(18px,5vw,25px);
  }
}
