/* Account forms share feedback and controls without changing their POST contracts. */
.profile-page{max-width:1080px;margin:32px auto 56px;padding:0 28px;color:var(--oa-ink,#243247)}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.profile-heading h1{font-size:28px;line-height:1.4;letter-spacing:-.5px;margin:0 0 6px}
.profile-heading p{margin:0;color:var(--oa-muted,#596779);font-size:14px;line-height:1.6}
.profile-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:24px;align-items:start}
.profile-card{min-width:0;border:1px solid var(--oa-line,#e3e7ed);border-radius:var(--oa-radius,16px);background:#fff;padding:26px}
.profile-card h2{font-size:18px;line-height:1.5;margin:0 0 20px;color:var(--oa-ink,#243247)}
.profile-card label{display:block;font-size:14px;margin:18px 0 8px;color:#34445b}
.profile-card input,.profile-card textarea{width:100%;box-sizing:border-box;border:1px solid var(--oa-control,#c6cfdb);border-radius:var(--oa-control-radius,10px);padding:11px 12px;font:inherit;font-size:15px;color:var(--oa-ink,#243247);background:#fff;min-height:44px;transition:border-color .16s,box-shadow .16s}
.profile-card textarea{resize:vertical;min-height:96px;line-height:1.7}
.profile-card input:focus,.profile-card textarea:focus{outline:none;border-color:#7c93b0;box-shadow:0 0 0 3px #1a2a5010}
.profile-card .btn{margin-top:24px;min-height:42px;border-radius:var(--oa-control-radius,10px)}
.profile-facts{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px 18px;margin:0 0 24px;padding-bottom:22px;border-bottom:1px solid var(--oa-line,#e3e7ed);font-size:14px;line-height:1.7}
.profile-facts dt{color:var(--oa-muted,#596779)}
.profile-facts dd{margin:0;overflow-wrap:anywhere}
.profile-message{border-radius:10px;padding:13px 16px;margin:0 0 20px;background:#f5f8f6;border:1px solid #d2e1d8;color:#375b48;font-size:14px;line-height:1.6}
.profile-message.error{color:#984948;background:#fdf6f5;border-color:#ead3d0}
.profile-hint{font-size:13px;color:var(--oa-muted,#596779);line-height:1.7;margin:10px 0 0}
.profile-header .topbar{padding:16px 28px}
.profile-header .brand{color:inherit;text-decoration:none}
.profile-header .brand img{width:116px}
.profile-header .top-actions{display:flex;align-items:center;gap:20px}
.profile-header .brand span{display:none}
#profile-password{scroll-margin-top:24px}
.account-password{position:relative;display:flex;align-items:center}
.account-password input{padding-right:52px!important}
.account-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;min-height:0!important;border:0;border-radius:8px;padding:8px;background:transparent;color:#627187;cursor:pointer;margin:0!important}
.account-password-toggle:hover{background:#f0f3f6;color:#243247}
.account-password-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.account-password-toggle .account-eye-slash{display:none}
.account-password-toggle[aria-pressed=true] .account-eye-slash{display:block}
.account-password-toggle:focus-visible,.profile-page .btn:focus-visible{outline:2px solid #8a9fbc;outline-offset:2px}
.account-form-status{font-size:13px;color:var(--oa-muted,#596779);line-height:1.6;margin:10px 0 0;min-height:0}
.account-form-status:empty{display:none}
form[aria-busy=true] button[type=submit]{opacity:.7;cursor:wait}
.account-recovery{margin:0;background:var(--oa-ground,#f5f6f8);color:var(--oa-ink,#243247);font:15px/1.7 "Aiwibi OA Text",system-ui,sans-serif}
.account-recovery main{box-sizing:border-box;width:calc(100% - 40px);max-width:460px;margin:8vh auto;padding:30px;background:#fff;border:1px solid var(--oa-line,#e3e7ed);border-radius:var(--oa-radius,16px)}
.account-recovery h1{font-size:24px;line-height:1.4;letter-spacing:-.4px;margin:24px 0 12px}
.account-recovery p{margin:12px 0;overflow-wrap:anywhere}
.account-recovery label{display:block;margin:20px 0 8px;font-size:14px;color:#34445b}
.account-recovery input{box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;font:inherit;border:1px solid var(--oa-control,#c6cfdb);border-radius:var(--oa-control-radius,10px);background:#fff;color:inherit;transition:border-color .16s,box-shadow .16s}
.account-recovery input:focus{outline:none;border-color:#7c93b0;box-shadow:0 0 0 3px #1a2a5010}
.account-recovery button[type=submit]{width:100%;min-height:46px;padding:11px 16px;margin-top:24px;background:var(--oa-accent,#1a2a50);color:#fff;border:0;border-radius:var(--oa-control-radius,10px);font:inherit;font-weight:600;cursor:pointer;transition:background .16s,transform .16s}
.account-recovery button[type=submit]:hover{background:#2b3d61}
.account-recovery button[type=submit]:active{transform:scale(.99)}
.account-recovery button:disabled{opacity:.5;cursor:not-allowed}
.account-recovery a{color:#365b87;text-underline-offset:3px}
.account-recovery .error{padding:12px 14px;background:#fdf6f5;border:1px solid #ead3d0;border-radius:10px;color:#984948}
.account-recovery .notice{padding:12px 14px;background:#f5f8f6;border:1px solid #d2e1d8;border-radius:10px;color:#375b48}
.account-recovery a:focus-visible,.account-recovery button:focus-visible{outline:2px solid #8a9fbc;outline-offset:3px}
.account-recovery #reset-hint{color:var(--oa-muted,#596779);font-size:14px}
@media(max-width:760px){.profile-grid{grid-template-columns:1fr;gap:20px}.profile-page{margin:24px auto 40px;padding:0 20px}.profile-heading{align-items:flex-start}.profile-heading h1{font-size:25px}.profile-card{padding:22px}.profile-header .topbar{padding:14px 20px}.profile-header .top-actions{gap:14px}.profile-header .profile-name{display:none}}
@media(max-width:480px){.profile-page{padding:0 16px}.profile-heading{flex-wrap:wrap;gap:14px}.profile-card{padding:20px}.profile-card .btn{width:100%}.profile-facts{grid-template-columns:64px minmax(0,1fr);gap:10px 14px}.account-recovery main{margin:24px auto;padding:24px}}
@media(prefers-reduced-motion:reduce){.profile-page *,.account-recovery *{transition:none!important;animation:none!important}}
