/* Shared Bootstrap composition for personal account pages only. */
body.bd-account-page{--account-ink:#16334c;--account-muted:#607286;--account-line:#dce5ed;--account-surface:#fff;--account-bg:#f3f6fa;background:var(--account-bg);color:var(--account-ink)}
.bd-account-page :is(#private-app-shell,#employment-shell){background:var(--account-bg);min-height:calc(100vh - 70px)}
.bd-account-page :is(#private-app-shell,#employment-shell)>.section{max-width:1200px;margin:0 auto;padding:28px 24px 48px}
.bd-account-page :is(#private-app-shell,#employment-shell) .dashboard-heading{position:relative;padding:22px 24px;margin:0 0 22px;border:1px solid var(--account-line);border-top:3px solid #d7b45a;border-radius:16px;background:var(--account-surface);box-shadow:0 3px 14px #193c5b05}
.bd-account-page :is(#private-app-shell,#employment-shell) h1{font-size:26px;line-height:1.25;font-weight:750;letter-spacing:-.6px;color:var(--account-ink);margin:6px 0 8px}
.bd-account-page :is(#private-app-shell,#employment-shell) h2{font-size:18px;line-height:1.35;font-weight:700;margin:0 0 8px;color:var(--account-ink)}
.bd-account-page :is(#private-app-shell,#employment-shell) h3{font-size:16px;line-height:1.35;font-weight:700;margin:7px 0;color:var(--account-ink)}
.bd-account-page :is(#private-app-shell,#employment-shell) p{font-size:13px;line-height:1.6;color:var(--account-muted)}
.bd-account-page :is(#private-app-shell,#employment-shell) .tag{font-size:10px;letter-spacing:.09em;font-weight:750;padding:4px 7px;border-radius:5px;background:#eaf1f7;color:#3c6382;line-height:1.4}
.bd-account-page :is(#private-app-shell,#employment-shell) .btn,.bd-account-page :is(#private-app-shell,#employment-shell) .bd-dashboard-logout{width:auto;min-height:36px;min-width:0;max-width:100%;padding:7px 12px;border-radius:8px;font-size:12px;line-height:1.4;font-weight:650;letter-spacing:0;box-shadow:none;white-space:normal;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;transition:background-color .16s,border-color .16s}
.bd-account-page :is(#private-app-shell,#employment-shell) .btn.primary{background:#126b9b;border:1px solid #126b9b;color:#fff}
.bd-account-page :is(#private-app-shell,#employment-shell) .btn.primary:hover{background:#09577f;border-color:#09577f;transform:none}
.bd-account-page :is(#private-app-shell,#employment-shell) .btn.ghost{background:transparent;border:1px solid #cad7e2;color:#30556f}
.bd-account-page :is(#private-app-shell,#employment-shell) .btn.ghost:hover{background:#edf4f9;border-color:#8eacc3;transform:none}
.bd-account-page :is(#private-app-shell,#employment-shell) :is(button,a,input,textarea,summary):focus-visible{outline:3px solid #42a1ca;outline-offset:3px}
.bd-account-page :is(#private-app-shell,#employment-shell) [hidden]{display:none!important}
/* Profile: main forms and a smaller photo sidebar. */
.bd-account-page main.module-shell .bd-account-back{margin:10px 0 4px;max-width:100%}
.bd-account-page main.module-shell .account-form:not(.row):not(#employment-message-form):not(#contact-send-form){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;max-width:900px}
.bd-account-page main.module-shell .account-form:not(.row)>:is(div,p,small,fieldset,section,button),.bd-account-page main.module-shell .account-form:not(.row)>label:has(textarea){grid-column:1/-1}
.bd-account-page main.module-shell .account-form>label{display:grid;align-content:start;gap:6px;min-width:0;font-size:12px;line-height:1.5;color:var(--account-ink)}
.bd-account-page main.module-shell .account-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0;font-size:14px;border-radius:9px}
.bd-account-page main.module-shell .account-form>button{justify-self:start;width:auto;margin-top:4px}
.bd-account-page main.module-shell .dash-panel{min-width:0;padding:20px;border-color:var(--account-line);border-radius:14px}
.bd-account-page main.module-shell .my-listing-row{flex-wrap:wrap;align-items:center;gap:12px}
.bd-account-page main.module-shell .my-listing-row>div{min-width:0;overflow-wrap:anywhere}
.bd-account-page main.module-shell .text-btn{min-height:40px;padding:8px 12px;font-size:12px;line-height:1.45;border-radius:9px;transition:background-color .18s,box-shadow .18s,transform .18s}
.bd-account-page main.module-shell .text-btn:not(:disabled):hover{background:#e9f2f8;color:#153d5c;box-shadow:0 3px 9px #12395318}
.bd-account-page main.module-shell .text-btn:focus-visible{outline:3px solid #42a1ca;outline-offset:3px}
.bd-account-page main.module-shell [aria-busy=true]{cursor:progress}
html[data-bs-theme=dark] .bd-account-page main.module-shell .text-btn{background:#1d4059;color:#e5eef7;border-color:#56758d}
html[data-bs-theme=dark] .bd-account-page main.module-shell .text-btn:not(:disabled):hover{background:#2b536f;color:#fff}
@media(max-width:767px){.bd-account-page main.module-shell .account-form:not(.row):not(#employment-message-form):not(#contact-send-form){grid-template-columns:minmax(0,1fr)}.bd-account-page main.module-shell .dash-panel{padding:17px}.bd-account-page main.module-shell .moderation-actions{max-width:100%;flex-wrap:wrap}}
/* Security: keep the request concise and separate the three personal queues. */
.bd-activity-page :is(#private-app-shell,#employment-shell) .dash-panel{padding:20px;margin:0 0 16px;border-color:var(--account-line);border-radius:14px}
.bd-activity-page :is(#private-app-shell,#employment-shell) .my-listing-row{align-items:center;flex-wrap:wrap;padding:14px 0;gap:12px}
.bd-activity-page :is(#private-app-shell,#employment-shell) .my-listing-row>div:first-child{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}
.bd-activity-page :is(#private-app-shell,#employment-shell) .my-listing-row strong{font-size:14px;line-height:1.45}
.bd-activity-page :is(#private-app-shell,#employment-shell) .text-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;font-size:12px;border-radius:8px}
.bd-activity-page :is(#private-app-shell,#employment-shell) .bd-activity-help{font-size:12px;margin:8px 0 12px;max-width:680px}
.bd-security-page :is(#private-app-shell,#employment-shell) .dash-panel:first-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px}
.bd-security-page :is(#private-app-shell,#employment-shell) .dash-panel:first-of-type> *{grid-column:1/-1;min-width:0}
.bd-security-page :is(#private-app-shell,#employment-shell) #verification-kind{max-width:440px}
.bd-security-page :is(#private-app-shell,#employment-shell) #verification-help{margin:0;max-width:680px;font-size:12px}
.bd-security-page :is(#private-app-shell,#employment-shell) #verification-submit{justify-self:start;margin:2px 0 10px}
.bd-security-page :is(#private-app-shell,#employment-shell) :is(#verification-list,#restrictions-list,#disputes-list){grid-column:auto;margin-top:8px;padding:15px;border:1px solid var(--account-line);border-radius:12px;background:var(--account-bg);overflow-wrap:anywhere}
.bd-security-page :is(#private-app-shell,#employment-shell) :is(#verification-list,#restrictions-list,#disputes-list):empty{display:none}
.bd-security-page :is(#private-app-shell,#employment-shell) #trust-admin-panel>section{padding-top:16px;border-top:1px solid var(--account-line)}
.bd-security-page :is(#private-app-shell,#employment-shell) #trust-admin-panel h4{font-size:15px}
@media(max-width:900px){.bd-security-page :is(#private-app-shell,#employment-shell) .dash-panel:first-of-type{grid-template-columns:minmax(0,1fr)}}
.bd-profile-page :is(#private-app-shell,#employment-shell) .dashboard-heading{padding-right:220px}
.bd-profile-page :is(#private-app-shell,#employment-shell) .dashboard-heading #user-email{margin:0;font-size:13px;color:var(--account-muted)}
.bd-profile-page :is(#private-app-shell,#employment-shell) .bd-profile-back{position:absolute;right:24px;top:50%;transform:translateY(-50%);border:1px solid var(--account-line);color:var(--account-ink);background:var(--account-bg)}
.bd-account-page :is(#private-app-shell,#employment-shell) .bd-profile-card{padding:22px;margin:0;border:1px solid var(--account-line);border-radius:14px;background:var(--account-surface);box-shadow:none;min-width:0}
.bd-profile-main{display:grid;gap:20px}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form.row{display:flex;max-width:none;gap:0;margin-top:2px;align-items:start}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form label{display:block;font-size:12px;line-height:1.5;font-weight:650;color:var(--account-ink);margin-bottom:0}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form :is(input,textarea){display:block;width:100%;max-width:100%;margin-top:6px;padding:9px 10px;font-size:13px;line-height:1.5;min-height:38px;color:var(--account-ink);background:var(--account-surface);border:1px solid #cbd8e3;border-radius:8px;box-shadow:none}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form textarea{min-height:84px;resize:vertical}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form>button{margin-left:12px;margin-top:16px;flex:0 0 auto;align-self:start}
.bd-account-page :is(#private-app-shell,#employment-shell) :is(.form-status,small){font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.bd-account-page :is(#private-app-shell,#employment-shell) .form-status:empty{display:none}
.bd-account-page :is(#private-app-shell,#employment-shell) .account-form small{color:var(--account-muted);margin-top:8px}
.bd-account-page :is(#private-app-shell,#employment-shell) #bd-avatar-editor>label{display:block;font-size:12px;font-weight:650;margin:12px 0}
.bd-account-page :is(#private-app-shell,#employment-shell) #bd-avatar-file{width:100%;min-width:0;font-size:12px;line-height:1.6;border-radius:8px}
.bd-account-page :is(#private-app-shell,#employment-shell) #bd-profile-photo{display:block;width:80px!important;height:80px!important;margin:10px auto 14px;border:3px solid #e6eef4}
.bd-profile-help{font-size:12px;line-height:1.5;margin:0 0 16px;color:var(--account-muted)}
.bd-profile-help summary{cursor:pointer;font-weight:650;color:#31617f}
.bd-account-page :is(#private-app-shell,#employment-shell) .bd-profile-help p{font-size:12px;margin:8px 0 0}
.bd-account-page :is(#private-app-shell,#employment-shell) #bd-avatar-editor .d-flex{gap:8px!important}
.bd-account-page :is(#private-app-shell,#employment-shell) #bd-avatar-reload{border-color:transparent;padding-left:0;background:none;color:#4c708c}
/* Dashboard: clear hierarchy, three quick actions, consistent module cards. */
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-topline{margin:0 0 8px;gap:12px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-logout{border:1px solid var(--account-line);margin:0;background:var(--account-surface);color:var(--account-muted)}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-heading>h1{text-align:center;font-size:26px;margin:2px 0 8px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-intro-wrap{padding:0;margin:0 auto 14px;border:0;border-radius:0;background:none;box-shadow:none;animation:none}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-intro-wrap .bd-dashboard-intro{font-size:12px;color:var(--account-muted)}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-intro-icon{display:none}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-account-welcome{margin:12px 0 0;gap:10px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-account-avatar{width:42px;height:42px;flex-basis:42px;border-radius:12px;font-size:14px;box-shadow:none;background:#135476}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-account-welcome #user-email{font-size:15px;margin:0 0 1px;color:var(--account-ink)}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-account-profile-link{font-size:12px;color:#426983}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-tools{justify-content:flex-end;gap:8px;margin:-2px 0 16px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 26px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick>a{min-height:72px;padding:13px 15px;gap:11px;border-radius:12px;box-shadow:none;background:var(--account-surface);border:1px solid var(--account-line);color:var(--account-ink)}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick strong{font-size:13px;font-weight:700}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick small{font-size:11px;color:var(--account-muted);margin-top:3px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-quick-icon{width:34px;height:34px;font-size:17px;border-radius:9px;background:#edf4f8;color:#276180}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-group{margin:26px 0}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-group-note{margin:0 0 14px;font-size:12px}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-grid{display:flex;gap:0}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .private-launch-card{display:flex;flex-direction:column;align-items:start;min-width:0;padding:18px;border:1px solid var(--account-line);border-radius:12px;background:var(--account-surface);color:var(--account-ink);box-shadow:none;text-decoration:none;transition:border-color .16s,box-shadow .16s}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .private-launch-card:hover{transform:none;border-color:#9db9cc;box-shadow:0 4px 15px #16405b08}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .private-launch-card>.tag{width:fit-content}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .private-launch-card>p{font-size:12px;line-height:1.6;margin:2px 0 16px;min-height:0}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-portal-card__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin-top:auto;padding-top:8px;border-top:1px solid var(--account-line)}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-module-browse{padding-left:0;color:#426983;border:0;background:none;font-weight:500}
.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-module-col:has(>.private-launch-card[hidden]){display:none}
html[data-bs-theme=dark] body.bd-account-page{--account-ink:#e5eef7;--account-muted:#aec1d2;--account-line:#34536a;--account-surface:#17364d;--account-bg:#102b40}
html[data-bs-theme=dark] .bd-account-page :is(#private-app-shell,#employment-shell) .tag{background:#24495f;color:#c7dbea}
html[data-bs-theme=dark] .bd-account-page :is(#private-app-shell,#employment-shell) .btn.ghost{color:#d0e4f3;border-color:#527088}
html[data-bs-theme=dark] .bd-account-page :is(#private-app-shell,#employment-shell) .btn.ghost:hover{background:#25485e}
html[data-bs-theme=dark] .bd-account-page :is(#private-app-shell,#employment-shell) :is(.bd-module-browse,.bd-account-profile-link,.bd-profile-help summary,#bd-avatar-reload){color:#a9d5eb}
@media(max-width:767px){.bd-account-page :is(#private-app-shell,#employment-shell)>.section{padding:18px 14px 32px}.bd-account-page :is(#private-app-shell,#employment-shell) .dashboard-heading{padding:17px}.bd-profile-page :is(#private-app-shell,#employment-shell) .dashboard-heading{padding-right:17px}.bd-account-page :is(#private-app-shell,#employment-shell) h1,.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-heading>h1{font-size:23px}.bd-profile-page :is(#private-app-shell,#employment-shell) .bd-profile-back{position:static;transform:none;margin-top:12px}.bd-account-page :is(#private-app-shell,#employment-shell) .bd-profile-card{padding:18px}.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick{grid-template-columns:1fr;gap:8px;margin-bottom:22px}.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-quick>a{min-height:60px;padding:10px 12px}.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-dashboard-tools{justify-content:flex-start}.bd-account-page :is(#private-app-shell,#employment-shell) .btn,.bd-account-page :is(#private-app-shell,#employment-shell) .bd-dashboard-logout{min-height:40px}.bd-dashboard-page :is(#private-app-shell,#employment-shell) .bd-portal-card__actions .btn{width:auto}.bd-account-page :is(#private-app-shell,#employment-shell) .account-form>button{max-width:calc(100% - 24px)}}
@media(prefers-reduced-motion:reduce){.bd-account-page :is(#private-app-shell,#employment-shell) *{transition:none!important;animation:none!important}}
