/* Account presentation contract: quiet secondary actions, aligned groups.
   Welcome/setup card geometry and the approved store chooser remain authoritative. */
body.account-polish{--account-line:#e1e6eb;--account-soft:#f5f7fa;--account-radius:24px}
/* Correct legacy selector specificity and grouped store layout. */
body.account-polish.sign-in-page .sign-in-card .auth-form button{background:#0066cc;color:#fff;border:0;border-radius:999px;padding:12px 24px;min-height:48px}
body.account-polish.sign-in-page .sign-in-card .auth-form button:hover{background:#005bb8}
body.account-polish.sign-in-page .sign-in-card h1,body.account-polish.sign-in-page .sign-in-brand{color:#172d3c}
body.account-polish.concept #stores [data-account-stores]{display:grid;grid-template-columns:1fr;align-items:start;background:transparent;border:0;padding:0;margin:24px 0;gap:24px}
body.account-polish.concept #stores .store-action-group,body.account-polish.concept #stores .store-action-group+.store-action-group{margin:0;padding:28px;border:1px solid var(--account-line);border-radius:24px;background:#fff;min-width:0}
body.account-polish.concept #stores .store-action-group h2{margin:0 0 12px}
@media(max-width:600px){body.account-polish.concept #stores .store-action-group,body.account-polish.concept #stores .store-action-group+.store-action-group{padding:20px}}
body.account-polish.concept #stores .store-action-group p{margin:0 0 24px}
body.account-polish.concept #stores .store-action-group button{margin-top:20px}
body.account-polish.concept #account .account-signout #signout{border:0;border-radius:10px;padding:12px 16px;min-height:44px;width:auto}
body.account-polish.concept #history li>span:first-child{overflow-wrap:anywhere;min-width:0}
.account-polish :is(input,select,textarea){font-size:16px}
.account-polish :is(button,a.primary-action){cursor:pointer}
.account-polish a.primary-action,.account-polish a.primary-action:visited{color:#fff;text-decoration:none;justify-content:center}
.account-polish :is(p,small,label,dd){overflow-wrap:anywhere}
.account-polish :is(.auth-message,#result,#profile-status,#message):not(:empty){background:#edf4fa;border-radius:12px;padding:14px 16px;margin-top:20px;font-size:14px;line-height:1.6}
.account-polish .auth-form label{font-size:14px;font-weight:500;margin-bottom:8px}
.account-polish .auth-form input{margin:0 0 16px}
.account-polish .auth-form button{margin-top:8px}
body.account-polish .sign-in-shell{max-width:none;width:100%;min-height:0;margin:0;padding:48px 16px;display:grid;place-items:start center}
body.account-polish .sign-in-card{width:100%;max-width:600px;padding:40px;background:#fff;border:1px solid var(--account-line);border-radius:var(--account-radius);box-shadow:none}
.account-polish .sign-in-card .atlantic-brand{font-size:28px;line-height:1.2;margin-bottom:32px}
.account-polish .sign-in-card .atlantic-brand img{width:32px;height:36px}
.account-polish .sign-in-card h1{font-size:clamp(30px,3.5vw,40px);margin:0 0 20px}
.account-polish .sign-in-card .sign-in-subtitle{font-size:16px;line-height:1.6;margin:0 0 24px}
.account-polish .sign-in-footer-note{border-top:1px solid var(--account-line);padding-top:20px;font-size:14px;line-height:1.6}
.account-polish .hero-actions{gap:12px 20px;margin-top:28px}
.account-polish .hero-actions a{display:inline-flex;align-items:center;min-height:44px}
body.account-polish .setup-shell{max-width:720px;width:calc(100% - 32px);background:#fff;border:1px solid var(--account-line);border-radius:var(--account-radius);padding:40px;margin:48px auto}
.account-polish.verified-card label,.account-polish.setup-system label{font-weight:500}
.account-polish.billing-refresh main{max-width:1040px;margin:32px auto}
.account-polish.billing-refresh main>h1{font-size:clamp(30px,3.5vw,40px);max-width:760px}
.account-polish.billing-refresh section{border-color:var(--account-line);border-radius:var(--account-radius);padding:28px;margin:24px 0}
.account-polish.billing-refresh section h2{font-size:23px}
.account-polish.billing-refresh .billing-status dl{background:transparent;padding:0;margin:24px 0;gap:0;grid-template-columns:minmax(120px,1fr) 2fr}
.account-polish.billing-refresh .billing-status :is(dt,dd){padding:12px 0;border-bottom:1px solid var(--account-line);font-size:15px}
.account-polish.billing-refresh #profile-form{gap:8px 24px}
.account-polish.billing-refresh #profile-form label{font-size:14px;line-height:1.6}
.account-polish.billing-refresh #profile-form input:not([type=checkbox]){margin:8px 0 0;min-height:48px}
.account-polish.billing-refresh #profile-form fieldset{background:var(--account-soft);border:0;padding:20px}
.account-polish.billing-refresh .billing-consent>label,.account-polish.billing-refresh #charge-now{background:var(--account-soft);padding:20px;border:0;border-radius:12px}
.account-polish.billing-refresh :is(#refresh,#cancel,#reconcile,#documents-load),.account-polish.concept #signout,.account-polish.concept #reconnect{background:#fff;color:#0066cc;border:1px solid var(--account-line);font-weight:500}
.account-polish.billing-refresh :is(#refresh,#cancel,#reconcile,#documents-load):hover,.account-polish.concept #signout:hover,.account-polish.concept #reconnect:hover{background:#edf4fa}
.account-polish.concept #stores [data-account-stores]{display:grid;grid-template-columns:1fr 1fr;gap:24px;border:0;border-top:1px solid var(--account-line);border-radius:0;padding:24px 0 0;margin-top:24px}
.account-polish.concept #stores [data-account-stores] label{font-size:14px;min-width:0}
.account-polish.concept #stores [data-account-stores] button{justify-self:start;grid-column:2}
.account-polish.concept #stores [data-account-stores] [role=status]{grid-column:1/-1;margin:0}
.account-polish.concept #account .account-links{max-width:760px}
.account-polish.concept #account .account-links>a{padding:20px 0;min-height:76px;font-size:17px;font-weight:500}
.account-polish.concept #account details{border-bottom:1px solid var(--account-line);margin-bottom:24px}
.account-polish.concept #account summary{min-height:64px;display:list-item;padding:20px 0;font-size:17px}
.account-polish.concept #account #signout{margin:0}
@media(max-width:600px){body.account-polish .sign-in-shell{padding:24px 16px}body.account-polish .sign-in-card,body.account-polish .setup-shell{padding:24px 20px}body.account-polish .setup-shell{margin:24px auto}.account-polish.billing-refresh section{padding:24px 20px}.account-polish.billing-refresh .billing-status dl{grid-template-columns:1fr}.account-polish.billing-refresh .billing-status dt{border:0;padding-bottom:0}.account-polish.billing-refresh .billing-status dd{padding-top:4px}.account-polish.concept #stores [data-account-stores]{grid-template-columns:1fr;gap:20px}.account-polish.concept #stores [data-account-stores] button{grid-column:1}.account-polish.concept #account .account-links>a{gap:6px}}
.account-polish.concept #account .account-links>a{display:flex;flex-direction:row;align-items:center;padding:18px 0;gap:24px}
.account-polish.concept #account .account-item{display:flex;flex-direction:column;gap:5px}
.account-polish.concept #account .account-item strong{font-size:17px;font-weight:500;color:var(--account-ink,#172d3c)}
.account-polish.concept #account .account-chevron{font-size:24px;font-weight:400;color:#657480}
.account-polish.concept #account .account-description{display:block;font-size:14px;font-weight:400;color:#536472;margin-top:5px}
.account-polish.concept #account summary{padding:18px 0;min-height:44px}
.account-polish.concept #account .account-signout{padding:0 28px 16px}
.account-polish.concept #account .account-signout button{background:transparent;color:#0066cc;padding:12px 0;min-height:44px}
.account-polish.concept #account summary{list-style:none;position:relative;padding-right:32px;color:#172d3c;font-weight:500}
.account-polish.concept #account summary::-webkit-details-marker{display:none}
.account-polish.concept #account summary::after{content:'⌄';position:absolute;right:0;top:24px;color:#657480;font-weight:400}
.account-polish.concept #account details[open] summary::after{transform:rotate(180deg)}
