body.account-refresh{background:radial-gradient(ellipse at 15% 24%,#e9f0ff,transparent 52%),#f7f9ff}
.account-refresh .av-header{display:block;height:auto;padding:0}
.account-refresh .av-brand{white-space:nowrap}
.account-refresh .av-language select{width:auto;padding:0 4px}
.account-refresh .av-mobile-menu summary{padding:0}
.account-refresh .av-header [aria-current="page"]{color:#1741ff}
.account-links{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-bottom:20px}
.account-links a,.account-chat a{font-weight:750;text-underline-offset:4px}
.account-refresh #auth{grid-template-columns:minmax(0,1fr) minmax(330px,460px);gap:clamp(24px,6vw,92px);align-items:start;min-height:0}
.account-refresh .welcome::before{content:none}
.account-refresh .welcome h1{font-size:clamp(34px,5vw,58px);text-wrap:balance}
.account-refresh .eyebrow{text-transform:uppercase}
.account-benefits{list-style:none;margin:24px 0;padding:0;display:grid;gap:12px}
.account-benefits li{padding-inline-start:30px;position:relative}
.account-benefits li::before{content:'✓';position:absolute;inset-inline-start:0;color:#1741ff;font-weight:850}
.account-chat{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #dce4ff}
.account-refresh .auth-panel{padding:clamp(20px,4vw,36px)}
.account-refresh .auth-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0 0 24px;padding:4px;border-radius:14px;background:#edf2ff}
.account-refresh .auth-switch button{min-height:44px;border:0;border-radius:10px;background:transparent;color:#304569;font-size:14px;font-weight:750;padding:8px}
.account-refresh .auth-switch button[aria-pressed=true]{background:#fff;color:#173cca;box-shadow:0 1px 5px #18387421}
.account-refresh #auth-form label:not([for=account-terms]){margin:16px 0 5px}
.account-refresh #account-terms+label{margin:0;font-weight:400}
.account-refresh #auth-submit{margin-top:18px}
.account-password{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.account-password button,#recover{min-height:44px}
#auth-feedback:empty{margin:0}
.account-fallback{display:block;margin-top:8px}
@media(max-width:850px){
  .account-refresh #auth{grid-template-columns:minmax(0,1fr)}
  .account-refresh .welcome{padding:0}
}
@media(max-width:520px){
  .account-refresh .av-container{width:calc(100% - 32px)}
  .account-refresh .av-nav{gap:8px}
  .account-refresh .av-nav-actions{gap:6px}
  .account-refresh .av-nav-cta{display:none}
  .account-refresh .av-brand{font-size:24px}
}
.account-refresh .portal-heading>div{min-width:0}
.account-refresh #customer-email{overflow-wrap:anywhere}
@media(max-width:520px){
  .account-refresh .portal-heading{flex-direction:column;align-items:stretch}
  .account-refresh .portal-heading .primary{align-self:flex-start;max-width:100%;white-space:normal}
}
.account-files{margin-top:24px;border-top:1px solid #dce4ff;padding-top:20px}
.account-files h3{margin-bottom:12px}
.account-files input[type=file]{max-width:100%;min-width:0;white-space:normal}
.account-files form>.primary{margin:14px 0}
.account-file{display:grid;gap:8px;min-width:0}
.account-file b{overflow-wrap:anywhere}
.account-file .primary{justify-self:start;max-width:100%;white-space:normal}
#file-feedback:empty{margin:0}
/* Keep populated account columns within the viewport. */
.account-refresh .workspace>aside,
.account-refresh .case-top>div,
.account-refresh .metric,
.account-refresh .step-strip span{min-width:0}
.account-refresh .case-item,
.account-refresh .case-top h2,
.account-refresh .metric,
.account-refresh .step-strip span{overflow-wrap:anywhere}
.account-refresh .metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.account-refresh .tabs button{flex-shrink:0}
@media(max-width:800px){
  .account-refresh .workspace{grid-template-columns:minmax(0,1fr)}
  .account-refresh #case-list{max-width:100%}
  .account-refresh .case-item{flex:0 0 210px;width:auto}
}
@media(max-width:520px){
  .account-refresh .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-refresh .metric:last-child{grid-column:1/-1}
}
/* Keep every tracking tab visible on narrow account pages. */
.account-refresh button[data-refresh]{min-height:44px;padding:10px 16px;border:1px solid #dce4ff;border-radius:12px;background:#f1f5ff;color:#243c79;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.account-refresh button[data-refresh]:hover{background:#e7eeff}
.account-refresh button[data-refresh]:focus-visible{outline:3px solid #8bb4ff;outline-offset:3px}
@media(max-width:520px){
 .account-refresh .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px}
 .account-refresh .tabs button{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
}
/* Secondary case action, including keyboard and loading states. */
.account-refresh button.case-refresh{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:44px;padding:10px 16px;border:1px solid #c7d5ff;border-radius:12px;background:#edf2ff;color:#173cca;font:inherit;font-size:14px;font-weight:750;line-height:1.4;text-align:center;cursor:pointer;transition:background .15s,border-color .15s}
.account-refresh button.case-refresh:hover:not(:disabled){background:#e0e9ff;border-color:#98b0ff}
.account-refresh button.case-refresh:focus-visible{outline:3px solid #1741ff;outline-offset:3px}
.account-refresh button.case-refresh:disabled{cursor:wait;color:#405b9d;background:#f0f4ff}
.account-refresh button.case-refresh-icon{display:inline-block;flex-shrink:0;font-size:21px;line-height:1}
.account-refresh button.case-refresh[aria-busy=true] .case-refresh-icon{animation:case-refresh-spin 1s linear infinite}
@keyframes case-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.account-refresh button.case-refresh{transition:none}.account-refresh button.case-refresh[aria-busy=true] .case-refresh-icon{animation:none}}
/* Show the complete message, including restored drafts, at every viewport width. */
.account-refresh #message-form textarea{box-sizing:border-box;min-height:100px;max-height:none;overflow-y:hidden;resize:none;line-height:1.6}