.account-card{border:1px solid var(--gold,#ad8c49);background:var(--card);border-radius:1.25rem;width:100%;max-width:none;margin:1rem auto;padding:clamp(1.1rem,4vw,2.5rem);box-shadow:0 .5rem 2rem #0000000c}.account-card h1{color:var(--green);margin-bottom:1.25rem}.account-card .btn-primary{background:var(--green);border-color:var(--green);min-height:2.75rem}.account-card .form-control,.account-card .form-select{min-height:2.8rem}.account-card a{color:var(--green)}.account-card a.btn-primary{color:#fff}.account-captcha img{border-radius:.5rem;max-width:100%;height:auto}.account-captcha audio{width:min(100%,18rem);height:2.75rem}.account-photo-editor{align-items:end;gap:.75rem;margin-block:1.25rem .75rem;display:flex}.account-photo-image{object-fit:cover;border:3px solid var(--gold);background:var(--wash);border-radius:50%;width:128px;height:128px}.account-photo-actions{align-items:start;gap:.5rem;display:flex}.account-photo-icon{border:1px solid var(--line);background:var(--green);color:#fff;cursor:pointer;border-radius:50%;place-items:center;width:42px;height:42px;display:inline-grid}.account-photo-icon--delete{background:#a12d37}.account-photo-icon:hover{filter:brightness(1.15)}.account-photo-icon:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.account-photo-editor:has(input:focus-visible) label{outline:3px solid var(--gold);outline-offset:3px}.account-select-toggle{border:1px solid var(--line);background:var(--card);min-height:2.8rem;color:var(--ink);justify-content:space-between;align-items:center;gap:.75rem;display:flex}.account-select-toggle>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-select-toggle:hover,.account-select-toggle:focus,.account-select-toggle.show{color:var(--ink);border-color:var(--green);background:var(--card)}.account-select-panel{border-color:var(--line);background:var(--card);min-width:100%;color:var(--ink)}.account-select-search{background:var(--wash);border-radius:var(--bs-border-radius) var(--bs-border-radius) 0 0}.account-select-options{overscroll-behavior:contain;max-height:min(16rem,40dvh);overflow-y:auto}.account-select-options .dropdown-item{white-space:normal;text-align:start;color:var(--ink)}.account-select-options .dropdown-item:hover,.account-select-options .dropdown-item:focus{background:var(--wash)}.account-select-options .dropdown-item.active{background:var(--green);color:#fff}.account-select-options .dropdown-item[hidden]{display:none}.account-select-toggle.is-invalid{border-color:var(--bs-form-invalid-border-color,#dc3545)}.account-select-toggle.is-valid{border-color:var(--bs-form-valid-border-color,#198754)}.profile-crop-dialog{border:1px solid var(--gold);background:var(--card);width:min(760px,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ink);overscroll-behavior:contain;border-radius:1.25rem;padding:clamp(1rem,3vw,1.5rem);overflow-y:auto}.profile-crop-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102d27b8}.profile-crop-dialog h2{color:var(--green);margin:0 0 .5rem;font-size:1.4rem}.profile-crop-dialog p{margin-bottom:.75rem}.profile-crop-stage{touch-action:none;cursor:move;direction:ltr;background:#15231f;border-radius:.5rem;width:min(100%,63dvh);height:auto;margin-inline:auto;display:block}.profile-crop-stage:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.profile-crop-tools{align-items:center;gap:1.25rem;margin-block:1rem;display:flex}.profile-crop-preview{border:2px solid var(--gold);background:#fff;border-radius:50%;flex:none;width:72px;height:72px}.profile-crop-tools input{direction:ltr;flex:1}.profile-crop-buttons{justify-content:end;gap:.75rem;display:flex}.profile-crop-buttons .btn-primary{color:#fff;background:var(--green);border-color:var(--green)}.personal-azkar-list-item{border-top:1px solid var(--line);padding-block:1.25rem}.personal-azkar-localized{border:1px solid var(--line);border-radius:.75rem;margin-block:1rem;padding:1rem}

/* Account dashboard: profile details and clearly grouped actions. */
.account-dashboard-heading{padding-bottom:1rem;border-bottom:1px solid var(--line);margin-bottom:1.25rem}
.account-dashboard .account-dashboard-heading h1{font-size:clamp(1.8rem,3vw,2.5rem);margin:0}
.account-dashboard-profile{display:grid;grid-template-columns:170px minmax(0,1fr);gap:1.5rem;align-items:center}
.account-dashboard-photo{min-width:0;text-align:center}
.account-dashboard .account-photo-editor{position:relative;display:block;max-width:154px;margin:0 auto .5rem}
.account-dashboard .account-photo-editor>div:first-child{width:104px!important;margin-inline:auto}
.account-dashboard .account-photo-image{width:104px;height:104px}
.account-dashboard .account-photo-actions{position:absolute;inset-inline-end:0;top:74px;gap:.25rem}
.account-dashboard .account-photo-icon{width:36px;height:36px;border:2px solid var(--card)}
.account-dashboard #profile-photo-hint{font-size:.78rem;line-height:1.5;max-width:25ch;margin:.6rem auto 0;color:var(--muted)}
.account-dashboard [data-profile-photo-status]:empty{display:none}
.account-dashboard-identity{min-width:0;overflow-wrap:anywhere}
.account-dashboard-identity h2{font-family:inherit;font-size:1.35rem;font-weight:700;line-height:1.4;margin:0 0 .5rem;color:var(--ink)}
.account-dashboard-email{margin:0 0 .75rem;color:var(--muted);font-size:1rem}
.account-dashboard-confirm-hint{margin:.75rem 0;font-size:.9rem}
.account-dashboard-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--line)}
.account-card .account-dashboard-action{display:flex;align-items:center;gap:.65rem;padding:1rem .8rem;min-height:84px;border:1px solid var(--line);border-radius:.85rem;background:var(--wash);color:var(--ink);text-decoration:none;font-weight:600;line-height:1.45;transition:border-color .15s ease,box-shadow .15s ease}
.account-dashboard-action:hover{border-color:var(--gold);box-shadow:0 3px 12px #164e4310}
.account-dashboard-action>img,.account-dashboard-action-icon{flex:none;width:44px;height:44px}
.account-dashboard-action-icon{display:grid;place-items:center;border-radius:14px;background:var(--card);color:var(--green);font-size:1.4rem}
.account-dashboard-action>span:not(.account-dashboard-action-icon){flex:1;min-width:0}
.account-dashboard-action>.fa-chevron-right{font-size:.75rem;opacity:.6;flex:none}
.account-dashboard-action:focus-visible,.account-sign-out:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.account-dashboard-footer{display:flex;justify-content:flex-end;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--line)}
.account-sign-out{display:inline-flex;align-items:center;gap:.5rem;color:var(--ink);background:transparent;border:1px solid var(--line);padding:.55rem 1rem}
.account-sign-out:hover{color:#a12d37;border-color:#a12d37;background:color-mix(in srgb,#a12d37 5%,var(--card))}
@media(max-width:575.98px){.account-dashboard-profile{grid-template-columns:minmax(0,1fr);gap:1rem;text-align:center}.account-dashboard-actions{grid-template-columns:minmax(0,1fr)}.account-dashboard .account-dashboard-heading h1{text-align:center}.account-dashboard-footer{justify-content:center}}
@media(prefers-reduced-motion:reduce){.account-dashboard-action{transition:none}}

/* Anchor photo controls to the image, independently of the interface direction. */
.account-photo-editor{--account-photo-size:128px}
.account-dashboard .account-photo-editor{--account-photo-size:104px}
.account-photo-portrait{position:relative}
.account-photo-editor .account-photo-actions{position:absolute;inset:0;display:block;height:var(--account-photo-size);gap:0;pointer-events:none}
.account-photo-editor .account-photo-actions form{position:absolute;right:-4px;bottom:-9px;left:auto;margin:0;pointer-events:auto}
.account-photo-editor .account-photo-actions form:has(.account-photo-icon--delete){left:-4px;right:auto}
.account-photo-editor .account-photo-icon:not(.account-photo-icon--delete){background:var(--gold);color:var(--paper);border:2px solid var(--card)}
.profile-crop-dialog>.profile-crop-buttons{justify-content:center;flex-wrap:wrap}

.account-photo-editor .account-photo-icon{opacity:.72}
.account-photo-editor .account-photo-icon:hover,.account-photo-editor .account-photo-icon:focus-visible{opacity:1}

.account-dashboard-identity{text-align:left}

.account-dashboard-email{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;direction:ltr}
.account-email-state{display:inline-flex;align-items:center;gap:.35rem;font-size:.875rem;line-height:1.5}
