/* Account center: spacious retail dashboard with TwinHome's own palette. */
#page-account { background:#fff; }
#page-account .account-page { max-width:1100px; padding:54px 24px 96px; }
.account-dashboard-head { display:grid; grid-template-columns:minmax(0,1fr) 336px; gap:54px; align-items:start; }
.account-identity { display:flex; align-items:center; gap:22px; min-height:176px; }
#page-account .account-avatar { width:74px; height:74px; flex:0 0 74px; border:6px solid #f4dfd2; background:#c6664e; color:#fff; box-shadow:0 0 0 1px #d9bbae; font-size:29px; }
.account-identity-copy { min-width:0; }
#page-account .account-title { margin:8px 0 0; font-family:inherit; font-size:30px; line-height:1.25; letter-spacing:-.02em; }
.account-identity-meta { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:8px; color:#72827f; font-size:12px; overflow-wrap:anywhere; }
.account-identity-meta > span { margin:0; }
.account-identity-actions { display:flex; align-items:center; gap:8px; margin-top:15px; color:#9aa5a3; font-size:12px; }
.account-identity-actions button { padding:0; border:0; border-bottom:1px solid #879895; background:transparent; color:#4d625f; cursor:pointer; font:inherit; }
.account-identity-actions button:hover { color:#a44f3d; border-color:#a44f3d; }
.account-member-card { overflow:hidden; min-height:190px; border-radius:12px; background:#fff; box-shadow:0 14px 34px rgba(40,57,57,.16); }
.account-member-card-head { display:grid; gap:7px; padding:21px 22px; background:#355f5c; color:#fff; }
.account-member-card-head span { font-size:13px; font-weight:700; letter-spacing:.03em; }
.account-member-card-head strong { font-size:24px; }
.account-member-accent { height:7px; background:#d07153; }
.account-member-card-body { padding:18px 22px; }
.account-member-card-body > div:first-child { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.account-member-card-body small { color:#73817e; font-size:11px; }
.account-member-card-body strong { color:#304447; font-size:18px; }
.account-member-progress { height:5px; margin-top:9px; overflow:hidden; border-radius:99px; background:#e5ece9; }
.account-member-progress span { display:block; height:100%; border-radius:inherit; background:#c6674e; transition:width .3s ease; }
.account-member-card-body p { display:flex; align-items:center; gap:7px; margin:14px 0 0; color:#6f817d; font-size:11px; }
.account-quick-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:42px; }
.account-quick-grid button { display:grid; grid-template-columns:36px minmax(0,1fr) 18px; align-items:center; gap:12px; min-height:96px; padding:19px 20px; border:1px solid #d8dfdd; border-radius:2px; background:#fff; color:#2e4140; cursor:pointer; font:inherit; text-align:left; transition:border-color .2s, box-shadow .2s, transform .2s; }
.account-quick-grid button:hover { transform:translateY(-2px); border-color:#aebfbb; box-shadow:0 10px 26px rgba(48,68,71,.09); }
.account-quick-grid button > i:first-child { color:#426b67; font-size:21px; }
.account-quick-grid button > i:last-child { justify-self:end; font-size:17px; }
.account-quick-grid span { min-width:0; }
.account-quick-grid strong,.account-quick-grid small { display:block; }
.account-quick-grid strong { font-size:14px; }
.account-quick-grid small { margin-top:6px; color:#86938f; font-size:10px; font-weight:400; }
.account-quick-grid small b { color:inherit; font:inherit; }
.account-stat-strip { display:grid; grid-template-columns:repeat(4,1fr); margin:26px 0 46px; border:1px solid #e1e6e4; background:#f7f9f8; }
.account-stat-strip > div { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:68px; padding:14px 20px; border-right:1px solid #e1e6e4; }
.account-stat-strip > div:last-child { border:0; }
.account-stat-strip span { color:#768681; font-size:11px; }
.account-stat-strip strong { color:#385c58; font-size:18px; }
.account-section-tabs { display:grid; grid-template-columns:1fr 1fr; gap:60px; margin-bottom:28px; }
.account-section-tabs button { padding:0 0 12px; border:0; border-bottom:2px solid #dce2e0; background:transparent; color:#516662; cursor:pointer; font:inherit; font-size:13px; font-weight:700; text-align:left; }
.account-section-tabs button:first-child { border-color:#c6654c; color:#a44f3d; }
.account-settings-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr); gap:60px; align-items:start; }
.account-settings-section { min-width:0; padding:0; scroll-margin-top:30px; }
.account-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding-bottom:18px; border-bottom:1px solid #e5e9e7; }
.account-section-heading h2 { margin:5px 0 0; color:#304447; font-size:20px; }
.account-section-heading p { max-width:560px; margin:7px 0 0; color:#7c8c88; font-size:11px; line-height:1.7; }
.account-section-heading > span { flex:0 0 auto; padding:5px 9px; border-radius:999px; background:#eef5f2; color:#54716c; font-size:10px; }
.account-profile-form { grid-template-columns:1fr 1fr; gap:16px 18px; margin-top:22px; }
.account-profile-wide { grid-column:1 / -1; }
#page-account .auth-field label { color:#405653; font-size:12px; font-weight:650; }
#page-account .auth-field input,#page-account .auth-field select,#page-account .auth-field textarea { border-radius:2px; background:#fbfcfb; }
#page-account .auth-field textarea { min-height:104px; }
#page-account .auth-primary { min-width:112px; border-radius:2px; box-shadow:none; }
.account-security-section { padding-left:0; }
#page-account .account-side-list { margin-top:18px; }
#page-account .account-side-item { min-height:45px; }
.account-password-form { margin-top:25px; }
#page-account .auth-secondary,#page-account .account-logout,#page-account .account-delete { border-radius:2px; }
.account-session-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:26px; padding-top:22px; border-top:1px solid #e5e9e7; }
#page-account .account-delete,#page-account .account-logout { width:100%; margin:0; }
@media(max-width:850px){
  .account-dashboard-head { grid-template-columns:1fr; gap:18px; }
  .account-member-card { max-width:420px; }
  .account-quick-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .account-settings-grid { grid-template-columns:1fr; gap:50px; }
  .account-section-tabs { gap:24px; }
}
@media(max-width:560px){
  #page-account .account-page { padding:32px 16px 70px; }
  .account-identity { align-items:flex-start; min-height:0; }
  #page-account .account-avatar { width:58px; height:58px; flex-basis:58px; font-size:23px; }
  #page-account .account-title { font-size:24px; }
  .account-member-card { max-width:none; }
  .account-quick-grid { grid-template-columns:1fr; gap:10px; margin-top:26px; }
  .account-quick-grid button { min-height:82px; }
  .account-stat-strip { grid-template-columns:1fr 1fr; margin:18px 0 36px; }
  .account-stat-strip > div:nth-child(2) { border-right:0; }
  .account-stat-strip > div:nth-child(-n+2) { border-bottom:1px solid #e1e6e4; }
  .account-profile-form { grid-template-columns:1fr; }
  .account-profile-wide { grid-column:auto; }
  .account-profile-form .auth-actions { align-items:stretch; flex-direction:column; }
  .account-profile-form .auth-primary { width:100%; }
  .account-session-actions { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce){.account-quick-grid button,.account-member-progress span{transition:none}}
