/* Account and subscription reading layout; functional handlers stay unchanged. */
html:root body:is(.msp-account,.msp-plan) .main{padding-left:28px!important;padding-right:28px!important;padding-bottom:48px!important}
html:root body:is(.msp-account,.msp-plan) .page-head p{font-size:16px!important;line-height:1.65!important}
html:root body:is(.msp-account,.msp-plan) .eyebrow{font-size:12px;line-height:1.5}
html:root body.msp-account .summary{gap:16px!important;align-items:stretch;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:22px!important}
html:root body.msp-account .summary .card{padding:20px!important;min-height:148px;min-width:0}
html:root body.msp-account .summary .label{font-size:14px!important;line-height:1.5!important}
html:root body.msp-account .summary .value{font-size:22px!important;line-height:1.4!important;margin-top:8px!important}
html:root body.msp-account .summary :is(.small,.capacity-line){font-size:14px!important;line-height:1.6!important;overflow-wrap:anywhere;white-space:normal}
html:root body.msp-account .plan-capacity-card{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"label action" "plan action" "meta meta" "capacity capacity";row-gap:8px;column-gap:16px;align-content:start;align-items:start}
html:root body.msp-account :is(#planMeta,#counts){margin:0;min-width:0;position:static;height:auto;align-self:start}
html:root body.msp-account .badge{font-size:14px!important;line-height:1.4;padding:6px 10px}
html:root body.msp-account .row-title{font-size:16px!important;line-height:1.5!important}
html:root body.msp-account .general-item{padding:20px!important;min-width:0}
html:root body.msp-account .general-item .small{font-size:15px!important;line-height:1.65!important;overflow-wrap:anywhere}
html:root body.msp-account .contact-status:empty{display:none}
html:root body.msp-account :is(.tabs,.controls){gap:12px;flex-wrap:wrap}
html:root body.msp-account .section{padding:24px!important}
html:root body.msp-plan .layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px}
html:root body.msp-plan .usage-panel{padding:18px 20px;gap:20px;margin-bottom:20px}
html:root body.msp-plan .usage-title{font-size:13px!important;line-height:1.5}
html:root body.msp-plan .usage-value{font-size:16px!important;line-height:1.5;margin-top:6px}
html:root body.msp-plan .usage-recommendation{font-size:14px!important;line-height:1.55}
html:root body.msp-plan .usage-recommendation b{font-size:17px!important}
html:root body.msp-plan .plans-grid{gap:16px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
html:root body.msp-plan .plan-card{padding:24px 20px!important;min-height:0!important;min-width:0}
html:root body.msp-plan .plan-card-head{min-height:0!important}
html:root body.msp-plan .plan-name{font-size:22px!important;line-height:1.4!important;color:var(--msp-ink)!important}
html:root body.msp-plan .plan-card-head .price{margin:16px 0 0!important}
html:root body.msp-plan .plan-card-head .price-offer{font-size:32px!important;line-height:1.25!important;color:var(--msp-ink)!important}
html:root body.msp-plan .plan-card-head .price small{font-size:14px!important;line-height:1.5!important;color:var(--msp-muted)!important;margin-top:8px!important}
html:root body.msp-plan .plan-card .features{gap:14px!important;margin:24px 0!important;align-content:start;flex:1}
html:root body.msp-plan .plan-card .features li{font-size:15px!important;line-height:1.65!important;color:var(--msp-muted)!important}
html:root body.msp-plan .plan-card .actions{margin-top:auto!important;padding-top:12px}
html:root body.msp-plan .plan-card .actions :is(.btn,button){font-size:15px!important;line-height:1.4!important;min-height:46px!important;padding:11px 14px}
html:root body.msp-plan :is(.plan-badge,.status-chip){font-size:13px!important;line-height:1.5!important}
html:root body.msp-plan .side-card{padding:22px!important;margin-bottom:18px}
html:root body.msp-plan .side-card h3{font-size:18px!important;line-height:1.5!important;color:var(--msp-ink)!important}
html:root body.msp-plan .side-card p{font-size:15px!important;line-height:1.65!important;color:var(--msp-muted)!important}
html:root body.msp-plan .meta-row{font-size:14px!important;line-height:1.6!important;display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;padding:12px 0}
html:root body.msp-plan .meta-row b{min-width:0;overflow-wrap:anywhere;color:var(--msp-ink)!important}
html:root body.msp-plan .help-btn{height:auto;min-height:44px;font-size:14px!important;line-height:1.5;padding:12px;text-align:center}
html:root body.msp-plan :is(.plan-footnote,.plans-trial-text){font-size:14px!important;line-height:1.65!important;color:var(--msp-muted)!important}
html:root body.msp-plan .plans-trial-title{font-size:15px!important;line-height:1.5!important}
@media(max-width:1350px){html:root body.msp-plan .layout{grid-template-columns:minmax(0,1fr)}html:root body.msp-plan .layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:1100px){html:root body.msp-account .summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}html:root body.msp-account .plan-capacity-card{grid-column:1/-1}html:root body.msp-plan .plans-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:820px){html:root body:is(.msp-account,.msp-plan) .main{padding-left:20px!important;padding-right:20px!important}html:root body.msp-plan .usage-panel{align-items:flex-start;flex-direction:column}html:root body.msp-plan .usage-recommendation{text-align:left}}
@media(max-width:600px){html:root body:is(.msp-account,.msp-plan) .main{padding-left:16px!important;padding-right:16px!important}html:root body.msp-account .summary{grid-template-columns:minmax(0,1fr)!important}html:root body.msp-account .plan-capacity-card{grid-column:auto;grid-template-columns:minmax(0,1fr);grid-template-areas:"label" "plan" "meta" "capacity" "action";gap:10px}html:root body.msp-account .section{padding:18px!important}html:root body.msp-account .general-item{padding:18px!important}html:root body.msp-plan .layout>aside{grid-template-columns:minmax(0,1fr)}}
