/* Account workspace: contact identity, peer sections, and subordinate reading surfaces. */
.ms-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.ms-account-flow #account-main:has(#account-workspace:not([hidden])){padding:22px 24px;max-width:1040px}
.ms-account-flow #account-main>.ap-welcome{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;margin:0 0 20px;padding:0 0 18px;border-bottom:1px solid #526e4e28}
.ms-account-flow #account-main:has(#account-workspace[hidden])>.ap-welcome{display:none}
.ms-account-flow #account-main.is-account-recovery>.ap-welcome{display:none}
.ms-account-flow .ap-account-contact{display:flex;align-items:center;gap:14px;min-width:0;max-width:100%}
.ms-account-flow .ap-account-avatar{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;background:#eaf0e5;border-radius:50%;color:#28533f}
.ms-account-flow .ap-account-avatar svg{width:30px;height:30px}
.ms-account-flow .ap-contact-fields{min-width:0;max-width:100%}
.ms-account-flow #account-main :is(.ap-contact-name,.ap-contact-phone){display:flex;align-items:center;justify-content:flex-start;gap:9px;max-width:100%;min-height:44px;padding:4px 0;border:0;border-radius:7px;background:transparent;color:#173f32;text-align:start;box-shadow:none;line-height:1.5}
.ms-account-flow .ap-contact-name strong{font-size:19px;font-weight:700;overflow-wrap:anywhere}
.ms-account-flow .ap-contact-name svg{width:16px;height:16px;flex:none;color:#44664f}
.ms-account-flow .ap-contact-phone bdi{font-size:13px;font-weight:400;font-variant-numeric:tabular-nums}
.ms-account-flow .ap-contact-phone svg{width:15px;height:15px;color:#44664f}
html[dir=ltr] .ms-account-flow .ap-contact-phone svg{transform:rotate(180deg)}
.ms-account-flow #account-main :is(.ap-contact-name,.ap-contact-phone):hover{color:#356b50;background:#f6f8ef77}
.ms-account-flow .ap-contact-fields>.ap-note{margin:6px 0 0;font-size:12px}
.ms-account-flow #account-name-editor{display:flex;align-items:center;gap:7px;flex-wrap:wrap;max-width:480px}
.ms-account-flow #account-name-editor input{width:220px;min-width:0;max-width:100%;height:44px;font:500 16px/1.5 Thmanyah,sans-serif;padding:8px 10px;border:1px solid #9eaf9d;border-radius:9px;background:#fffefa;color:#173f32}
.ms-account-flow #account-name-editor button{width:auto;height:44px;min-height:44px;padding:8px 12px;font-size:13px}
.ms-account-flow #account-name-editor[hidden],.ms-account-flow #account-name-action[hidden],.ms-account-flow #account-phone-panel[hidden]{display:none!important}
.ms-account-flow .ap-account-actions{gap:10px}
.ms-account-flow .ap-role-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.ms-account-flow #account-roles.ms-section-nav{--ms-sections:3;position:relative;display:grid;grid-template-columns:repeat(var(--ms-sections),minmax(0,1fr));width:min(100%,480px);max-width:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent;gap:12px}
.ms-account-flow #account-roles.ms-section-nav:before{content:'';position:absolute;inset-inline:calc(100% / var(--ms-sections) / 2);top:20px;height:1px;background:#8ca18b60;pointer-events:none}
.ms-account-flow #account-roles .ms-section-item{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:7px;min-width:0;min-height:70px;padding:0 2px 3px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#365944;line-height:1.4}
.ms-account-flow .ms-section-symbol{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#eaf0e5;color:#365944;box-shadow:inset 0 0 0 1px #8ea18c77;transition:color .18s,background-color .18s,box-shadow .18s}
.ms-account-flow .ms-section-symbol svg{width:21px;height:21px}
.ms-account-flow #account-roles .ms-section-label{font-size:13px;font-weight:500;white-space:normal;text-align:center}
.ms-account-flow #account-roles .ms-section-item[aria-pressed=true] .ms-section-symbol{background:#204f3d;color:#fffefa;box-shadow:inset 0 0 0 1px #204f3d}
.ms-account-flow #account-roles .ms-section-item[aria-pressed=true] .ms-section-label{font-weight:700;color:#173f32;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.ms-account-flow .ap-admin-entry{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border:1px solid #81978066;border-radius:9px;background:transparent;color:#244f3d;font-size:12px;white-space:nowrap}
.ms-account-flow #account-profile{display:block;max-width:680px;padding:0;margin:0;border:0;background:transparent;box-shadow:none}
.ms-account-flow #account-profile[hidden]{display:none}
.ms-account-flow .ap-settings-list{display:flex;flex-direction:column;background:#fffefa;border-radius:14px;overflow:hidden}
.ms-account-flow .ap-setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:74px!important;padding:14px 18px!important;border:0;border-radius:0;background:transparent;color:#173f32;text-align:start;text-decoration:none;box-shadow:none}
.ms-account-flow .ap-setting-row+.ap-setting-row{border-top:1px solid #d8e0d3}
.ms-account-flow .ap-setting-row>span:first-child{display:grid;gap:5px;min-width:0}
.ms-account-flow .ap-setting-row strong{font-size:14px;font-weight:500}
.ms-account-flow .ap-setting-row small{font-size:12px;font-weight:400;line-height:1.6;color:#45604e}
.ms-account-flow .ap-setting-row:hover{background:#eff4e9}
.ms-account-flow .ap-setting-chevron{width:7px;height:7px;flex:none;border-inline-start:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg)}
html[dir=ltr] .ms-account-flow .ap-setting-chevron{transform:rotate(225deg)}
.ms-account-flow #account-phone-panel{width:100%;max-width:600px;margin:0 0 20px;padding:18px 20px;background:#fffefa;box-sizing:border-box}
.ms-account-flow .ap-editor-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.ms-account-flow .ap-editor-head h2{font-size:17px;margin:0}
.ms-account-flow .ap-editor-head button{font-size:12px;padding:8px 10px;min-height:44px}
.ms-account-flow #account-phone-root{max-width:440px}
.ms-account-flow #account-phone-root .ap-auth{padding:0;margin:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
.ms-account-flow #account-phone-root .ap-auth h2{font-size:17px}
.ms-account-flow .account-view-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin:0 0 18px;padding:0 0 10px;border-bottom:1px solid #55704f2b}
.ms-account-flow .account-view-bar>.account-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:16px;width:auto;max-width:100%;margin:0;padding:0;background:transparent;border:0;border-radius:0}
.ms-account-flow .account-view-bar .account-tab{position:relative;flex:0 0 auto;min-height:44px;padding:7px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:#3a5a45;font-size:14px}
.ms-account-flow .account-view-bar .account-tab[aria-selected=true]{background:transparent;color:#173f32;font-weight:700;box-shadow:none}
.ms-account-flow .account-view-bar .account-tab[aria-selected=true]:after{content:'';position:absolute;inset-inline:0;bottom:0;height:2px;border-radius:1px;background:#285c43}
.ms-account-flow .account-toolbar{display:flex;align-items:center;gap:8px;margin:0}
.ms-account-flow .account-view-bar .account-refresh{display:grid;place-items:center;width:44px!important;height:44px;padding:10px!important;border:1px solid #94a88d66;border-radius:10px;background:#f4f7ee;color:#28523e}
.ms-account-flow .account-refresh svg{width:19px;height:19px}
.ms-account-flow .ms-order-filter{display:block;min-width:0}
.ms-account-flow .ms-order-filter select{width:auto;max-width:190px;min-height:44px;padding:8px 10px;border:1px solid #9eaf9d;border-radius:10px;background:#fffefa;color:#244f3b;font:500 13px/1.5 Thmanyah,sans-serif}
.ms-account-flow .account-order-journey{margin-top:12px;border-top:1px solid #d7dfd0}
.ms-account-flow .account-order-journey>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 0;color:#3b5e46;font-size:12px;cursor:pointer;list-style:none}
.ms-account-flow .account-order-journey>summary:before{content:'';width:6px;height:6px;border-inline-end:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-inline:3px}
.ms-account-flow .account-order-journey[open]>summary:before{transform:rotate(225deg)}
.ms-account-flow .account-card>.account-status{font-size:12px;color:#3c6248}
.ms-account-flow .account-card>.account-btn{margin-top:12px}
.ms-account-flow .account-detail{max-width:760px;margin-inline:auto}
.ms-account-flow .account-detail-head{align-items:center}
.ms-account-flow :is(.ap-profile-editor,.ap-skills-details,.ap-withdrawal-details,.ap-settings-list) :focus-visible,.ms-account-flow :is(.ap-contact-name,.ap-contact-phone,.ms-section-item,.account-tab,.ap-setting-row):focus-visible{outline:2px solid #376846;outline-offset:3px}
@media(max-width:700px){.ms-account-flow #account-main:has(#account-workspace:not([hidden])){padding:18px 14px}.ms-account-flow .ap-role-bar{align-items:flex-start;flex-wrap:wrap;gap:6px}.ms-account-flow #account-roles.ms-section-nav{width:100%;gap:6px}.ms-account-flow #account-roles .ms-section-label{font-size:12px}.ms-account-flow #account-main>.ap-welcome{gap:12px;padding-bottom:14px;margin-bottom:16px}.ms-account-flow .ap-account-actions{width:100%;justify-content:flex-start}.ms-account-flow .ap-account-avatar{width:48px;height:48px;flex-basis:48px}.ms-account-flow .ap-contact-name strong{font-size:17px}.ms-account-flow .ap-account-contact{gap:10px}.ms-account-flow .ap-admin-entry{margin-inline-start:auto}.ms-account-flow .account-view-bar{gap:8px;align-items:center}.ms-account-flow .account-view-bar>.account-tabs{gap:15px;flex:1 0 auto}.ms-account-flow .account-toolbar{margin-inline-start:auto}.ms-account-flow .ms-order-filter select{max-width:170px}.ms-account-flow #account-name-editor input{width:100%;flex:1 1 100%}.ms-account-flow #account-name-editor{max-width:100%}.ms-account-flow #account-phone-panel{padding:16px 14px}}
@media(prefers-reduced-motion:reduce){.ms-account-flow .ms-section-symbol{transition:none}}

/* Work first; editors and financial information follow in independent columns. */
.ms-account-flow .ap-performer-view>.ap-contact-card{max-width:none;width:100%}
.ms-account-flow .ap-performer-view>.ap-assigned-orders{width:100%}
.ms-account-flow .ap-assigned-orders>h2{margin:0 0 10px}
.ms-account-flow .ap-order-toolbar{display:flex;align-items:center;justify-content:flex-end;margin:-36px 0 12px;min-height:44px}
.ms-account-flow .ap-assigned-orders .ap-orders-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ms-account-flow .ap-performer-view .ap-contact-header{max-width:none;margin:10px 0 0;gap:12px}
.ms-account-flow .ap-performer-view .ap-contact-card>.ap-note{font-size:12px;margin:0 0 6px}
.ms-account-flow .ap-performer-view .ap-contact-biography{font-size:13px;max-width:65ch;margin:10px 0}
.ms-account-flow .ap-performer-view .ap-profile-details{margin-top:12px}
.ms-account-flow .ap-performer-view .ap-profile-details[open]{padding-top:12px;border-top:1px solid #d7e0d1}
.ms-account-flow .ap-performer-view .ap-profile-editor{max-width:640px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ms-account-flow .ap-performer-view .ap-profile-editor>.ap-field{max-width:none;width:100%}
.ms-account-flow .ap-performer-view .ap-profile-editor :is(input,textarea){width:100%;box-sizing:border-box}
.ms-account-flow .ap-performer-view .ap-language-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 8px}
.ms-account-flow .ap-performer-view .ap-skills-details>.ap-form{max-width:100%;gap:12px}
.ms-account-flow .ap-performer-view .ap-skills-details .ap-field{width:100%;max-width:none}
.ms-account-flow .ap-performer-view .ap-history>summary{min-height:44px;padding:10px 0;font-size:13px;color:#365e44;cursor:pointer}
.ms-account-flow .ap-performer-view .ap-history>p{margin:8px 0}
@media(max-width:700px){.ms-account-flow .ap-assigned-orders .ap-orders-grid{grid-template-columns:minmax(0,1fr)}.ms-account-flow .ap-order-toolbar{margin:0 0 12px;justify-content:flex-start}.ms-account-flow .ap-performer-view .ap-profile-editor{grid-template-columns:minmax(0,1fr)}.ms-account-flow .ap-performer-view .ap-language-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.ms-account-flow .ap-role-bar{justify-content:flex-start;gap:24px}
.ms-account-flow .account-view-bar{justify-content:flex-start;gap:16px 24px}
.ms-account-flow .account-view-bar .account-toolbar{margin-inline-start:0}
.ms-account-flow .account-grid:has(>.account-card:only-child){grid-template-columns:minmax(0,1fr);max-width:760px}
.ms-account-flow .ap-admin-entry{margin-inline-start:0}
@media(max-width:700px){.ms-account-flow .ap-role-bar{gap:8px}.ms-account-flow .account-view-bar{gap:6px 16px}}

.ms-account-flow .account-view-bar .account-refresh svg{display:block;width:20px;height:20px;min-width:20px;flex:0 0 20px;aspect-ratio:1;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* The exact supplied gold mark draws above task-specific activity; no logo re-creation. */
.ms-account-flow .ms-brand-draw{display:block;width:80px;height:112px;max-width:100%;object-fit:contain;flex:none;border-radius:10px}
.ms-account-flow .ms-brand-draw[hidden]{display:none!important}
.ms-account-flow #account-status.is-loading:not([hidden]){min-height:300px;gap:14px;padding:24px}
.ms-account-flow .ms-loading-note{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:210px;padding:20px 14px;text-align:center;box-sizing:border-box}
.ms-account-flow .ms-loading-note>.ms-brand-draw{width:56px;height:78px}
.ms-account-flow .phone-auth>.ms-brand-draw{margin:0 auto 18px;width:64px;height:90px}
@media(max-width:600px){.ms-account-flow #account-status.is-loading:not([hidden]){min-height:280px;padding:20px}.ms-account-flow #account-status>.ms-brand-draw{width:72px;height:101px}}

.ms-account-flow .ap-performer-view .ap-wallet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ms-account-flow .ap-performer-view .ap-wallet-grid>.ap-card{min-width:0;padding:10px 7px}
.ms-account-flow .ap-performer-view .ap-wallet-grid strong{font-size:18px;white-space:nowrap}
.ms-account-flow .ap-performer-view .ap-wallet-grid span{font-size:11px;line-height:1.6}
@media(max-width:360px){.ms-account-flow .ap-performer-view .ap-wallet-grid strong{font-size:16px}}

/* The mark is transparent: the loading card itself is the only background. */
.ms-account-flow .ms-brand-draw{border-radius:0;background:transparent}
.ms-account-flow #account-status.is-loading:not([hidden]){min-height:0;gap:12px;padding:24px}
.ms-account-flow #account-status>.ms-brand-draw{width:80px;height:112px}
.ms-account-flow #account-status>.ms-activity{width:30px;height:30px}
.ms-account-flow .ms-loading-note{min-height:0;padding:18px 14px;gap:10px}
@media(max-width:600px){.ms-account-flow #account-status.is-loading:not([hidden]){min-height:0;padding:22px 18px;gap:11px}.ms-account-flow #account-status>.ms-brand-draw{width:72px;height:101px}}

/* Reading width follows the settings task rather than leaving an unused dashboard column. */
.ms-account-flow #account-main[data-account-view=settings]:has(#account-workspace:not([hidden])){max-width:760px}
.ms-account-flow .ap-setting-chevron{display:block;width:18px;height:18px;flex:0 0 18px;border:0;transform:none}
.ms-account-flow .ap-setting-chevron svg{display:block;width:18px;height:18px}
html[dir=ltr] .ms-account-flow .ap-setting-chevron{transform:rotate(180deg)}
.ms-account-flow .account-order-journey>summary:before,.ms-account-flow .ap-profile-details>summary:before{border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(135deg)}
html[dir=ltr] .ms-account-flow .account-order-journey>summary:before,html[dir=ltr] .ms-account-flow .ap-profile-details>summary:before{transform:rotate(-45deg)}
.ms-account-flow .account-order-journey[open]>summary:before,.ms-account-flow .ap-profile-details[open]>summary:before{transform:rotate(45deg)}

/* Override the legacy mobile display:contents rule that separated identity fields from the avatar. */
.ms-account-flow #account-main>.ap-welcome>.ap-account-contact{display:flex;align-items:center;justify-content:flex-start;gap:14px;flex:0 1 auto;min-width:0;max-width:100%}
.ms-account-flow #account-main>.ap-welcome>.ap-account-contact>.ap-contact-fields{display:block;flex:0 1 auto;min-width:0}
.ms-account-flow #account-main .ap-account-avatar{width:60px;height:60px;flex:0 0 60px}
.ms-account-flow #account-main .ap-account-avatar svg{width:34px;height:34px}
.ms-account-flow #account-status.is-loading>.ms-activity{color:#285a46}
@media(max-width:600px){.ms-account-flow #account-main>.ap-welcome>.ap-account-contact{gap:12px}.ms-account-flow #account-main .ap-account-avatar{width:52px;height:52px;flex-basis:52px}.ms-account-flow #account-main .ap-account-avatar svg{width:32px;height:32px}}

.ms-account-flow #account-status.is-loading:not([hidden]){min-height:264px}

.ms-account-flow #account-phone-panel:has(.ap-auth){position:relative;max-width:500px}
.ms-account-flow #account-phone-panel:has(.ap-auth)>.ap-editor-head{position:absolute;inset-block-start:18px;inset-inline-end:18px;margin:0;z-index:1}
.ms-account-flow #account-phone-panel:has(.ap-auth)>.ap-editor-head>h2{display:none}
.ms-account-flow #account-phone-panel:has(.ap-auth) #account-phone-root{max-width:none}
.ms-account-flow #account-phone-panel .ap-auth-top{padding-inline-end:68px}
