/* Structural layout for account pages. The tenant theme supplies the typeface and palette. */
.customer-account .account-auth{width:min(100%,590px);margin-inline:auto}
.customer-account .account-auth-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-account .account-auth-options>:only-child{grid-column:1/-1}
.customer-account .account-auth-links{display:grid;text-align:center;gap:16px}
.customer-account .account-auth .portal-password{font:inherit}
.customer-account .account-auth input[type=checkbox]{min-height:0;border-radius:0}
.customer-account .account-auth :is(.field,.portal-password>label){font-size:.9375rem;font-weight:550}
.customer-account .account-home{display:grid;gap:20px}
.customer-account .account-home>h1{font:500 var(--ui-page-size)/1.16 var(--sans);letter-spacing:-.035em}
.customer-account .account-top{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px}
.customer-account .account-card{display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.customer-account .account-home :is(.panel,.account-tile){border-radius:var(--ui-panel-radius);padding:var(--ui-panel-padding)}
.customer-account .account-home .account-card h2{font:550 var(--ui-section-size)/1.3 var(--sans);letter-spacing:-.02em}
.customer-account .account-home .btn{min-height:var(--ui-control-height);border-radius:var(--ui-control-radius)}
.customer-account .account-home .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--white)}
.customer-account .account-home .btn.primary:hover{background:#634835;border-color:#634835}
.customer-account .account-date{font-size:17px;font-weight:650;line-height:1.3}
.customer-account .account-top .btn{margin-top:auto}
.customer-account .account-top .account-card>:has(+.btn){margin-bottom:12px}
.customer-account .account-events{list-style:none;margin:0;padding:0;width:100%}
.customer-account .account-events li{display:grid;align-items:baseline;grid-template-columns:auto minmax(0,1fr) auto;gap:3px 10px;padding:12px 0}
.customer-account .account-events li+li{border-top:1px solid var(--line)}
.customer-account .account-events p,.customer-account .account-home small{color:var(--muted);font-size:.875rem;line-height:1.35}
.customer-account .account-icon{display:inline-flex;align-self:start;margin-top:2px;color:inherit}
.customer-account .account-icon svg{display:block;width:var(--ui-nav-icon-size);height:var(--ui-nav-icon-size);flex:none}
.customer-account .account-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-account .account-tile{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:10px;color:var(--ink);text-decoration:none}
.customer-account .account-tile:hover{border-color:var(--accent)}
.customer-account .account-tile-copy{display:grid;gap:3px;min-width:0}
.customer-account .account-tile-copy strong,.customer-account .account-events strong{font-size:1rem;line-height:1.4;font-weight:550}
.customer-account .account-chevron{color:var(--muted)}
.customer-account .account-back{justify-self:start}
.customer-account .account-pager{display:flex;gap:12px;align-items:center;flex-wrap:wrap}

/* Existing website notice preview (V72). */
.customer-account .account-home [data-account-news] .panel{padding:clamp(16px,2vw,24px);border-radius:var(--round);gap:5px}
.customer-account .account-home [data-account-news] h2{font:650 .79rem/1.4 var(--sans);text-transform:uppercase;letter-spacing:.095em;color:var(--accent);margin-bottom:6px}
.customer-account .account-news p{color:var(--muted);font-size:.92rem}
.customer-account .account-news{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));width:100%;gap:12px}
.customer-account .account-news-item{display:flex;gap:15px;border:1px solid var(--line);border-radius:var(--round);overflow:hidden}
.customer-account .account-news-item img{width:30%;max-width:150px;min-height:92px;object-fit:cover}
.customer-account .account-news-item>div{padding:12px;min-width:0}
.customer-account .account-news-item img+div{padding-left:0}
.customer-account .account-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.customer-account .account-news a{color:var(--accent);font-weight:600;font-size:.9rem}

@media(max-width:680px){
  .customer-account .account-auth-options,.customer-account .account-top,.customer-account .account-news{grid-template-columns:1fr}
  .customer-account .account-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .customer-account .account-tile{grid-template-columns:1fr auto;row-gap:8px}
  .customer-account .account-tile-copy{grid-column:1/-1;grid-row:2}
  .customer-account .account-chevron{grid-column:2;grid-row:1}
  .customer-account .account-tile:last-child{grid-column:1/-1;grid-template-columns:auto 1fr auto}
  .customer-account .account-tile:last-child .account-tile-copy,.customer-account .account-tile:last-child .account-chevron{grid-column:auto;grid-row:auto}
  .customer-account .account-events li{grid-template-columns:auto minmax(0,1fr)}
  .customer-account .account-events small{grid-column:2}
  .customer-account .account-top .btn{width:100%}
}
