#account-view { color:#262923; background:#faf7ef; min-height:75vh; }
#account-view :is(h1,h2,h3,p,dl,ul,dd) { margin:0; }
.ca-wrap { width:min(1080px,90%); margin-inline:auto; padding-block:clamp(22px,4vw,48px) clamp(58px,8vw,98px); }
.ca-trail,.ca-actions,.ca-switch,.ca-dash,.ca-profile-head,.ca-profile-head h2,.ca-card-title,.ca-btn,.ca-link { display:flex; align-items:center; }
.ca-trail { gap:.65rem; color:#635c50; font-size:.9rem; }
.ca-trail a,.ca-link { display:inline-flex; min-height:44px; align-items:center; gap:.55rem; text-decoration:underline; text-underline-offset:.22em; }
.ca-icon { width:22px; height:22px; flex:none; }
.ca-arrow { width:16px; height:16px; }
html[dir=rtl] .ca-arrow { transform:rotate(180deg); }
.ca-page-head,.ca-dash { margin-block:clamp(14px,3vw,35px) 1.6rem; }
#account-view h1 { font-size:clamp(2rem,4.7vw,3.9rem); line-height:1.17; font-weight:650; letter-spacing:-.035em; }
#account-view h1:focus { outline:none; }
html[lang=en] #account-view h1 { font-family:Cinzel,Georgia,serif; font-weight:500; }
#account-view .ca-page-head p,#account-view .ca-dash p { margin-block-start:.45rem; color:#625e50; line-height:1.65; }
.ca-form,.ca-card { background:#fffdf7; border:1px solid #dad1bf; border-radius:12px; padding:clamp(18px,3.5vw,35px); min-width:0; }
.ca-form { max-width:850px; }
.ca-form.ca-login { max-width:560px; }
.ca-entry-links { display:inline-flex; gap:3px; margin-bottom:1rem; padding:3px; border:1px solid #d1c3aa; border-radius:8px; }
.ca-entry-links a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.45rem 1.05rem; color:#514c3c; font-weight:650; text-decoration:none; border-radius:5px; }
.ca-entry-links a[aria-current] { background:#252b24; color:#fff5df; }
.ca-form fieldset { border:0; margin:0; padding:0; min-width:0; }
.ca-form fieldset + fieldset { margin-block-start:1.65rem; }
.ca-form legend { padding:0; color:#655534; font-size:1rem; font-weight:700; margin-bottom:.65rem; }
.ca-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.8rem 1.15rem; }
.ca-fields.ca-single { grid-template-columns:1fr; }
.ca-field { display:grid; align-content:start; min-width:0; gap:.28rem; }
.ca-label { display:flex; align-items:baseline; justify-content:space-between; gap:.5rem; }
.ca-field label { font-size:.96rem; font-weight:650; }
.ca-field input { width:100%; min-width:0; min-height:46px; border:1px solid #bdb6a7; border-radius:6px; background:#fffefa; color:#282920; padding:.5rem .75rem; font:inherit; font-size:16px; }
.ca-field input[aria-invalid=true] { border-color:#9b472d; }
.ca-field small { font-size:.8rem; color:#625f52; line-height:1.5; }
.ca-field .ca-error,#account-view .ca-form-error { color:#873b27; }
#account-view .ca-form-error,#account-view .ca-notice { margin-block:.75rem; font-size:.95rem; }
.ca-notice { color:#475b3d; }
.ca-claim { display:flex; align-items:flex-start; gap:.6rem; font-size:.92rem; line-height:1.5; margin-block-start:1.4rem; }
.ca-claim input { accent-color:#635632; width:1.1rem; height:1.1rem; margin-block-start:.2rem; flex:none; }
.ca-actions,.ca-switch { flex-wrap:wrap; gap:.35rem .85rem; }
.ca-actions { margin-top:1.4rem; }
.ca-switch { font-size:.93rem; margin-top:.65rem; }
.ca-btn { display:inline-flex; justify-content:center; min-height:44px; border-radius:6px; padding:.54rem 1rem; font:inherit; font-size:.96rem; font-weight:650; line-height:1.45; cursor:pointer; }
.ca-btn:disabled { opacity:.65; cursor:wait; }
.ca-btn.ca-primary { background:#292e24; color:#fff8e7; border:1px solid #292e24; }
.ca-btn.ca-primary:hover { background:#3a4234; }
.ca-btn.ca-quiet { background:transparent; color:#3e3e34; border:1px solid #b6b09f; }
.ca-btn.ca-quiet:hover { background:#eeeadd; }
.ca-btn.ca-link,.ca-reveal { border:0; padding-inline:0; background:transparent; text-decoration:underline; color:#63522f; text-underline-offset:.2em; }
.ca-reveal { min-height:28px; font:inherit; font-size:.8rem; cursor:pointer; }
.ca-dash,.ca-profile-head { justify-content:space-between; flex-wrap:wrap; gap:.7rem; }
.ca-profile-head { border-bottom:1px solid #dfd7c8; margin-bottom:.75rem; padding-bottom:.55rem; }
.ca-profile-head h2,.ca-card-title { gap:.6rem; }
.ca-profile h2,.ca-card-title h2 { font-size:clamp(1.2rem,2.2vw,1.55rem); }
.ca-profile dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem 1.3rem; }
.ca-profile dt { color:#716954; font-size:.85rem; }
.ca-profile dd { overflow-wrap:anywhere; font-size:.97rem; }
.ca-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:clamp(14px,2.8vw,30px); margin-top:1.3rem; }
.ca-card-title { padding-bottom:.75rem; border-bottom:1px solid #dfd7c8; }
.ca-card-title .ca-icon,.ca-profile-head .ca-icon { color:#806537; }
#account-view .ca-empty { color:#625e50; margin-block:.9rem .45rem; }
.ca-list { list-style:none; padding:0; }
.ca-entry { padding-block:.95rem; border-bottom:1px solid #e4ddce; }
.ca-entry h3 { font-size:1.08rem; line-height:1.4; }
#account-view .ca-status { margin-block:.2rem .55rem; color:#495f42; font-size:.85rem; }
.ca-entry dl { display:grid; gap:.25rem; font-size:.92rem; }
.ca-entry dl>div { display:flex; justify-content:space-between; align-items:baseline; gap:.6rem; }
.ca-entry dt { color:#665f51; }
.ca-entry dd { min-width:0; overflow-wrap:anywhere; text-align:end; }
.ca-card>.ca-link { margin-top:.5rem; font-weight:650; }
@media(max-width:720px) {
  .ca-wrap { width:calc(100% - 36px); }
  .ca-grid { grid-template-columns:1fr; }
  .ca-profile dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:530px) {
  .ca-fields { grid-template-columns:1fr; }
  .ca-form,.ca-card { padding:17px; }
  .ca-page-head,.ca-dash { margin-bottom:1rem; }
}
@media(max-width:350px) {
  .ca-profile dl { grid-template-columns:1fr; }
}
