/* Account content. The navigation and footer share the product brand shell. */
.account-design{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 35% 30%,#f7e8b18c,transparent 64%),radial-gradient(ellipse at 75% 20%,#eeefdf9c,transparent 66%),#fff;background-size:100% 760px;background-repeat:no-repeat}
.account-design .home-header,.account-design .home-footer{flex-shrink:0}
.account-design .account-page{width:calc(100% - 48px);max-width:540px;margin:0 auto;padding:64px 0 80px;flex:1}
.account-page:has(>.account-orders:not([hidden])){max-width:1040px;display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}
.account-card{min-width:0;padding:32px 36px 30px;border:1px solid #e5e5dc;border-radius:26px;background:#fffffff0;box-shadow:0 14px 40px #55512f08}
.account-card-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}
.account-card-head h1{font-size:27px;line-height:1.35;letter-spacing:-.8px;font-weight:650;margin:0}
.account-card h2{font-size:23px;line-height:1.4;letter-spacing:-.5px;font-weight:650;margin:0 0 24px}
.account-symbol{display:block;object-fit:contain;width:38px;height:38px;border-radius:10px;transform:rotate(-8deg)}
.account-card .muted{font-size:13px;line-height:1.85;color:#686d61}
.account-card label{font-size:12px;line-height:1.6;font-weight:600;color:#4d5547}
.account-card input{height:51px;padding:13px 16px;background:#fff;border:1px solid #dce1d1;border-radius:13px;font-size:15px}
.account-card input:focus{border-color:#a89342;outline-color:#d6bb59}
.account-card input:read-only{background:#f5f5ee;color:#696f60}
.account-card .button-dark{min-height:51px;border-radius:30px;background:#25291f;border-color:#25291f;color:#fffdf6;font-size:13px;box-shadow:0 0 0 3px #d8c58e32}
.account-card .button-dark:not(:disabled):hover{background:#3b4231;border-color:#3b4231;box-shadow:0 0 0 4px #d8c58e4d;transform:translateY(-1px)}
.account-card button:disabled{cursor:not-allowed}
.account-card .google-signin{border-color:#d6d9ce;border-radius:30px;background:#fff;min-height:51px;margin-top:28px}
.google-signin svg{width:20px;height:20px}
.google-signin:not(:disabled):hover{background:#fafbf7}
.account-card .login-divider{margin:24px 0 20px;color:#798170;font-size:11px}
.account-card .login-divider:before,.account-card .login-divider:after{background:#e9ebe3}
.account-card .provider-note{font-size:11px;line-height:1.7}
.account-card #code-note{font-size:12px}
.account-card .account-privacy{font-size:11px;line-height:1.9;color:#777e6c;border:0;margin-top:22px;padding-top:0}
.account-card .account-privacy a{color:#596448}
.account-email{font-size:17px;line-height:1.6;margin:23px 0 25px;font-weight:500;color:#5b6452;overflow-wrap:anywhere}
.account-plan{background:linear-gradient(135deg,#fff1c3,#fff9e7);border:1px solid #e8d9a4;border-radius:19px;padding:23px 24px;gap:16px}
.account-plan strong{font-size:40px;line-height:1.2;letter-spacing:-1.2px;font-weight:650}
.account-plan>div>span{font-size:12px;color:#7a6e4b}
.account-plan .pill{padding:5px 11px;background:#fffdf4;border:1px solid #e6d9a7;border-radius:20px;color:#75622c;font-size:11px;white-space:nowrap}
.account-card .membership-expiry{font-size:12px;line-height:1.85;margin:17px 0 0}
.account-card #membership-note{font-size:12px;margin:12px 0 0}
.account-upgrade{margin-top:26px}
.account-upgrade .button{justify-content:space-between;padding:14px 21px}
.account-upgrade p{margin:12px 2px 0;color:#777f6c;font-size:11px;line-height:1.8}
.subscription-panel{margin-top:24px;padding-top:24px;border-top:1px solid #e5e8df}
.account-card .subscription-panel h2{font-size:17px;letter-spacing:0;margin:0 0 18px}
.subscription-details{margin:0}
.subscription-details>div{display:flex;justify-content:space-between;gap:18px;margin:13px 0;font-size:12px;line-height:1.8}
.subscription-details dt{color:#777f6c;flex-shrink:0}
.subscription-details dd{margin:0;text-align:right;color:#414b36;overflow-wrap:anywhere;font-weight:500}
.subscription-confirm{margin-top:12px;padding:17px;background:#faf7ec;border:1px solid #eae1c9;border-radius:13px}
.subscription-confirm p{font-size:12px;line-height:1.8;margin:0 0 15px;color:#656752}
.subscription-confirm-actions{display:flex;flex-wrap:wrap;gap:10px}
.subscription-confirm-actions .button{font-size:11px;min-height:36px;padding:8px 12px}
#subscription-confirm-cancel{color:#8b4d34;border-color:#dbc1b5}
#subscription-feedback.error{color:#96583d}
.account-actions{align-items:center;justify-content:flex-end;gap:20px;margin-top:19px;padding-top:12px;border-top:1px solid #eceee7}
.account-card .quiet{font-size:12px;color:#68725d;text-underline-offset:4px}
.account-card .quiet:not(:disabled):hover{color:#303b26}
.extension-manage #logout{color:#505c43;text-decoration:underline}
.account-card #message{border:1px solid #dbe1ce;border-radius:12px;background:#f1f5e9;color:#596648;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.account-card #message.error{border-color:#edcdbd;background:#fff2ea;color:#96583d}
.account-card .code-actions{gap:10px}
.account-card .text-link{color:#586846}
.account-orders{margin:0;background:#fafbf6ed}
.account-orders #orders-loading,.account-orders #orders-empty,.account-orders #orders-error{font-size:13px;margin:0;padding:20px 0 6px}
.account-orders #orders-empty{padding:46px 0 54px;text-align:center;color:#7b8370}
.account-orders #orders-retry{padding-left:0}
.order-item{border-top:1px solid #e4e8dc;padding:22px 0}
.order-item:last-child{padding-bottom:0}
.order-head{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}
.order-head strong{font-size:14px;line-height:1.6;font-weight:600}
.order-status{font-size:10px;color:#65704f;background:#edf1e3;padding:5px 9px;border:1px solid #e0e7d3;border-radius:20px;white-space:nowrap}
.order-item p{font-size:12px;line-height:1.8;color:#6b7461;margin:9px 0 0;overflow-wrap:anywhere}
.order-item .order-number{overflow-wrap:anywhere;font-size:10px;color:#87907a}
.order-item .text-link{display:inline-block;font-size:12px;margin-top:9px;padding-bottom:0}
@media(max-width:900px){
  .account-design .account-page{padding-top:45px;padding-bottom:60px}
  .account-page:has(>.account-orders:not([hidden])){gap:20px}
  .account-card{padding:28px}
  .account-card-head h1{font-size:25px}
}
@media(max-width:760px){
  .account-design .account-page,.account-page:has(>.account-orders:not([hidden])){max-width:540px;width:calc(100% - 40px);padding:36px 0 54px;display:block}
  .account-card{padding:28px;border-radius:23px}
  .account-orders{margin-top:22px}
  .account-card h2{font-size:21px}
  .account-card-head h1{font-size:25px}
  .account-symbol{width:35px;height:35px}
  .account-plan{padding:22px}
  .account-plan strong{font-size:37px}
}
@media(max-width:380px){
  .account-design .account-page,.account-page:has(>.account-orders:not([hidden])){width:calc(100% - 28px);padding-top:28px}
  .account-card{padding:24px 22px}
  .account-card-head h1{font-size:23px}
  .account-email{font-size:15px}
  .account-card .google-signin{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.account-card .button{transition:none;transform:none!important}}
