/* Approved account layout. Authentication dialogs keep their existing styles. */
.account-photo-editor:not([open]){display:none}
.account-logo-home{display:inline-flex;align-items:center;min-height:44px;flex:none}.account-brand>span{line-height:1.55}.account-home-companies{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px;margin:24px 0}.account-home-company{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:24px;border:1px solid var(--account-line);border-radius:12px;background:var(--account-paper);color:var(--account-ink);text-decoration:none}.account-home-company:hover{border-color:var(--account-brand);background:var(--account-canvas)}.account-home-company strong{font:var(--type-label);font-weight:600;overflow-wrap:anywhere}.account-home-company small{color:var(--account-muted);line-height:1.6;overflow-wrap:anywhere}.account-company-logo{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:var(--account-canvas);color:var(--account-ink);font-weight:600;overflow:hidden}.account-company-logo img{width:100%;height:100%;object-fit:contain}.account-company-logo [hidden]{display:none}.account-company-enter{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;margin-top:auto;padding-top:12px;font:var(--type-body-s);font-weight:600}.account-company-enter svg{height:20px;width:20px}.account-home-shortcuts{margin-top:0}.account-referral label{display:grid;gap:8px;color:var(--account-muted);font:var(--type-body-s)}.account-referral input{width:100%;min-width:0;font:var(--type-body-s);padding:12px;border:1px solid var(--account-line);border-radius:8px;color:var(--account-ink);background:var(--account-canvas)}.account-referral [role=status]:empty{display:none}.account-photo-action{display:block;padding:8px 0;min-height:44px;border:0;background:transparent;color:var(--account-brand);text-decoration:underline;text-underline-offset:4px;cursor:pointer;font:var(--type-body-s)}.account-photo-editor{margin:16px 0 28px;border:0}.account-workspace :focus-visible{outline:2px solid var(--account-brand);outline-offset:4px}.account-workspace ::selection{background:var(--account-selected);color:var(--account-ink)}
@media(max-width:600px){.account-home-companies{grid-template-columns:1fr;gap:12px}.account-home-company{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:16px;padding:20px}.account-company-logo{grid-row:1/3}.account-home-company small{grid-column:2}.account-company-enter{grid-column:1/-1}.account-referral .account-actions{align-items:stretch}.account-referral .account-actions button{flex:1 1 140px}}
.account-workspace{--account-ink:#102c3e;--account-muted:#526471;--account-paper:#fff;--account-canvas:#f6f8f7;--account-line:#dde5e5;--account-selected:#e5eeeb;--account-brand:#12394a;color:var(--account-ink);background:var(--account-paper);min-height:100dvh}
.account-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;padding:16px max(32px,calc((100vw - 1280px)/2));border-bottom:1px solid var(--account-line);background:var(--account-paper)}
.account-brand{display:flex;align-items:center;gap:28px;min-width:0}.account-topbar .brand-logo{display:block;width:132px;height:auto;max-height:none}.account-brand>span{border-left:1px solid var(--account-line);padding-left:28px;color:var(--account-muted);font:var(--type-body-s)}
.account-return{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--account-ink);text-decoration:none;font:var(--type-body-s)}.account-return svg{width:20px;height:20px;flex:none}.account-return:hover{text-decoration:underline;text-underline-offset:4px}
.enterprise-workspace.account-main{width:100%;max-width:1344px;min-width:0;margin:0 auto;padding:0;color:var(--account-ink,var(--ubyra-navy))}
.account-layout{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:stretch;min-height:calc(100dvh - 88px)}
.account-sidebar{background:var(--account-canvas,var(--ubyra-cloud));border-right:1px solid var(--account-line,var(--enterprise-line));padding:36px 20px 28px;min-width:0}
.account-sidebar-person{display:flex;align-items:center;gap:12px;padding:0 10px 32px}.account-sidebar-person>div{min-width:0}.account-sidebar-person strong{display:block;font:var(--type-label);font-weight:600;overflow-wrap:anywhere}.account-sidebar-person>div>span{display:block;font:var(--type-body-s);color:var(--account-muted);margin-top:6px}
.account-avatar{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--account-brand,var(--ubyra-navy));color:#fff;font-size:16px;font-weight:500}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-avatar [hidden]{display:none}
.account-sections>summary{display:none}.account-navigation{display:grid;gap:28px}.account-navigation-group>p{margin:0 12px 12px;text-transform:uppercase;letter-spacing:.12em;font:var(--type-body-s);font-size:12px;font-weight:600;color:var(--account-muted)}
.account-navigation a{display:flex;align-items:center;gap:12px;min-height:46px;padding:12px;margin:3px 0;border-radius:8px;text-decoration:none;color:var(--account-muted);font:var(--type-body-s);line-height:1.45}.account-navigation a svg,.account-sidebar-logout svg{width:21px;height:21px;flex:none}.account-navigation a[aria-current=page]{background:var(--account-selected);color:var(--account-ink);font-weight:600}.account-navigation a:hover{background:var(--account-selected);color:var(--account-ink)}
.account-sidebar-logout{display:flex;align-items:center;gap:12px;min-height:44px;margin-top:36px;padding:12px;border:0;background:transparent;color:var(--account-muted);font:var(--type-body-s);cursor:pointer}
.account-content{min-width:0;padding:44px 48px 0;background:var(--account-paper,#fff)}.account-heading{display:block;margin:0 0 36px}.account-main .account-heading h1{width:fit-content;max-width:100%;margin:0;font:var(--type-h2);font-size:36px;font-weight:600;line-height:1.2;letter-spacing:-.035em;color:var(--account-ink);overflow-wrap:anywhere}.account-main .account-context{margin:14px 0 0;font:var(--type-body);line-height:1.7;color:var(--account-muted)}
.account-main .account-content>.panel{padding:28px 0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}.account-main .account-content>.panel+.panel{border-top:1px solid var(--account-line)}.account-main .panel-head{margin:0 0 24px}.account-main h2{font:var(--type-h3);font-size:22px;font-weight:600;line-height:1.4;margin:0 0 10px;color:var(--account-ink)}.account-main h3{font:var(--type-label);font-size:17px;font-weight:600;line-height:1.5;margin:0;color:var(--account-ink)}.account-main p{max-width:70ch;line-height:1.7}.account-main .panel-head p,.account-main .panel-description{color:var(--account-muted)}
.account-profile-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:32px 0;border-block:1px solid var(--account-line)}.account-profile-person{display:flex;align-items:center;gap:24px;min-width:0}.account-profile-person>div{min-width:0}.account-profile-person h2{font-size:28px;letter-spacing:-.025em;overflow-wrap:anywhere}.account-profile-person p{margin:8px 0 0;font:var(--type-body-s);line-height:1.7;color:var(--account-muted);max-width:36ch}.account-avatar-large{width:88px;height:88px;border-radius:28px;font-size:30px}
.account-editor,.account-archive{border-top:1px solid var(--account-line,var(--enterprise-line));padding-top:8px;margin-top:24px}.account-editor summary,.account-archive summary{min-height:44px;cursor:pointer;font:var(--type-label);padding:12px 0;color:var(--account-ink,var(--ubyra-navy))}.account-editor>summary{display:list-item;width:fit-content;list-style-position:inside;padding:12px 18px;border:1px solid var(--account-line);border-radius:8px;background:var(--account-paper)}.account-editor[open]>summary{margin-bottom:24px}.account-profile-editor{border:0;padding:0;margin:0}.account-profile-editor>summary{list-style:none;color:#fff;background:var(--account-brand);border-color:var(--account-brand);text-align:center}.account-profile-editor>summary::-webkit-details-marker{display:none}.account-profile-editor[open]{grid-column:1/-1}
.account-contact-list{margin:0}.account-contact-list>div{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:76px;padding:18px 0;border-bottom:1px solid var(--account-line)}.account-contact-list dt{font:var(--type-body-s);color:var(--account-muted)}.account-contact-list dd{margin:0;overflow-wrap:anywhere;font:var(--type-body);font-weight:500}.account-contact-list .account-contact-state{display:flex;align-items:center;gap:6px;font:var(--type-body-s);color:var(--account-muted)}.account-contact-state svg{height:18px;width:18px}
.account-crosslinks{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:12px}.account-crosslinks a{display:flex;align-items:center;gap:14px;min-height:112px;padding:20px 0;border-bottom:1px solid var(--account-line);text-decoration:none;color:var(--account-ink)}.account-crosslinks a>svg{flex:none;width:24px;height:24px}.account-crosslinks a>svg:last-child{width:20px;height:20px}.account-crosslinks a>span{flex:1;min-width:0}.account-crosslinks strong{display:block;font:var(--type-label);font-weight:600}.account-crosslinks small{display:block;margin-top:8px;font:var(--type-body-s);color:var(--account-muted);line-height:1.6}
.account-private-note{display:flex;align-items:flex-start;gap:12px;margin:28px 0;color:var(--account-muted);font:var(--type-body-s)}.account-private-note svg{flex:none;width:20px;height:20px;margin-top:3px}
.account-activity-tabs{display:flex;gap:24px;margin:0 0 8px;border-bottom:1px solid var(--account-line)}.account-activity-tabs a{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:52px;padding:12px 4px;border-bottom:3px solid transparent;color:var(--account-muted);text-decoration:none;text-align:center;font:var(--type-label);line-height:1.5}.account-activity-tabs a[aria-current=page]{border-bottom-color:var(--account-brand);color:var(--account-ink);font-weight:600}
.account-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 0;border-bottom:1px solid var(--account-line)}.account-row>div{min-width:0}.account-row:first-of-type{padding-top:0}.account-row:last-child{border-bottom:0}.account-row p,.account-company>p{color:var(--account-muted);font:var(--type-body-s);line-height:1.7;margin:8px 0}.account-row h3,.account-company h3{overflow-wrap:anywhere}.account-company{padding:28px 0;border-bottom:1px solid var(--account-line)}.account-company:first-of-type{padding-top:12px}.account-company:last-child{border-bottom:0}
.account-main .account-data{display:grid;grid-template-columns:1fr 1fr;gap:24px 32px;margin:24px 0}.account-data dt{font:var(--type-body-s);color:var(--account-muted);margin-bottom:8px}.account-data dd{font:var(--type-body);margin:0;overflow-wrap:anywhere}
.account-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.account-actions [data-account-reviews-role][aria-pressed=true]{color:#fff;background:var(--account-brand);border-color:var(--account-brand)}.account-main .primary-button{background:var(--account-brand);border-color:var(--account-brand);color:#fff}.account-main .ghost-button{color:var(--account-ink);background:var(--account-paper);border:1px solid var(--account-line)}.account-main .primary-button,.account-main .ghost-button{min-height:44px;border-radius:8px}.account-main .account-danger-action{color:var(--ubyra-danger);background:transparent;border-color:transparent}.account-main .account-danger-action:hover{border-color:currentColor}.account-state{display:inline-block;font:var(--type-body-s);padding:4px 8px;background:var(--account-canvas);border-radius:6px}
.account-subsection-heading,.account-signout{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:24px 0}.account-signout{border-top:1px solid var(--account-line);padding:24px 0}.account-signout h2{font-size:18px}.account-signout p{margin:0;font:var(--type-body-s);color:var(--account-muted)}.account-signout .primary-button{background:transparent;color:var(--ubyra-danger);border-color:var(--account-line)}
.account-main .form-stack{display:grid;gap:20px}.account-main .form-stack>button{justify-self:start}.account-main .form-stack label:not(.account-check){display:grid;gap:8px}.account-main .enterprise-form-grid{min-width:0}.account-main .form-stack input,.account-main .form-stack select,.account-main .form-stack textarea{min-width:0;max-width:100%;font-size:16px}.account-main [data-account-form=skill] textarea{width:100%;min-height:128px;resize:vertical;padding:12px;font:inherit;font-size:16px;line-height:1.5;border:1px solid var(--account-line);border-radius:8px}
.account-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:8px 0;cursor:pointer}.account-check input{width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px;margin:0;accent-color:var(--account-brand)}.account-main .account-result:empty,.account-main .form-stack [role=alert]:empty{display:none}.account-main .account-result:not(:empty){margin:0 0 24px;padding:16px;background:var(--account-canvas);border:1px solid var(--account-line);border-radius:8px}.account-main .form-stack[aria-busy=true]{cursor:progress}
.account-photo-preview{display:block;max-width:100%;object-fit:cover;aspect-ratio:1;border-radius:8px}.account-photo-preview[hidden]{display:none}.account-main input[type=file]{max-width:100%;width:100%;white-space:normal}.account-main :focus-visible,.account-return:focus-visible,.account-leave-dialog :focus-visible{outline:3px solid var(--ubyra-info);outline-offset:3px}.account-main a{text-underline-offset:4px}.account-main ::selection{background:var(--account-brand);color:#fff}.account-main input,.account-main textarea{caret-color:var(--account-brand)}
.account-page-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--account-line);padding:20px 0;margin-top:40px;font:var(--type-body-s);color:var(--account-muted)}.account-page-footer .ghost-button{border:0;padding:8px 0}.account-workspace #maintenance-notice{margin:0;padding:12px 32px;border:0;border-bottom:1px solid var(--account-line);border-radius:0;background:var(--account-canvas);font:var(--type-body-s)}
.account-leave-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid var(--enterprise-line);border-radius:var(--radius-lg);color:var(--ubyra-navy);background:var(--ubyra-white)}.account-leave-dialog::backdrop{background:rgba(7,31,51,.48)}.account-leave-dialog h2{font:var(--type-h3);margin:0 0 16px;overflow-wrap:anywhere}.account-leave-dialog p{margin-bottom:20px}.account-leave-dialog [role=status]:empty{display:none}.account-leave-dialog [role=status]:not(:empty){padding:12px;background:var(--ubyra-cloud)}
@media(max-width:1100px){.account-layout{grid-template-columns:232px minmax(0,1fr)}.account-content{padding:36px 32px 0}.account-profile-identity{grid-template-columns:1fr}.account-profile-editor>summary{margin-left:112px}.account-profile-editor[open]>summary{margin-left:0}}
@media(max-width:900px){.account-topbar{padding:14px 24px;min-height:76px}.account-layout{display:block;min-height:0}.account-sidebar{padding:24px 24px 0;background:var(--account-paper);border:0}.account-sidebar-person{display:none}.account-sections{border:1px solid var(--account-line);border-radius:8px}.account-sections>summary{display:list-item;min-height:48px;padding:12px 16px;cursor:pointer;font:var(--type-body-s)}.account-sections>summary strong{margin-left:12px;font-weight:600}.account-navigation{padding:24px 16px 0}.account-sidebar-logout{margin:20px 16px}.account-content{padding:28px 24px 0}.account-crosslinks{gap:24px}}
@media(max-width:600px){.account-topbar{padding:12px 20px;gap:12px;min-height:68px}.account-topbar .brand-logo{width:104px}.account-brand>span{display:none}.account-return{font-size:13px;gap:8px}.account-sidebar{padding:20px 20px 0}.account-content{padding:28px 20px 0}.account-main .account-heading h1{font-size:28px}.account-heading{margin-bottom:26px}.account-main .account-context{font:var(--type-body-s);line-height:1.7}.account-profile-identity{padding:24px 0;gap:20px}.account-profile-person{gap:16px}.account-avatar-large{width:64px;height:64px;border-radius:20px;font-size:24px}.account-profile-person h2{font-size:24px}.account-profile-editor>summary{margin:0;width:100%}.account-contact-list>div{grid-template-columns:minmax(0,1fr) auto;gap:8px}.account-contact-list dt{grid-column:1/-1}.account-contact-list dd{font-size:14px}.account-contact-list .account-contact-state{font-size:12px}.account-crosslinks{grid-template-columns:1fr;gap:0}.account-crosslinks a{min-height:90px}.account-main .account-data{grid-template-columns:1fr}.account-activity-tabs{gap:8px}.account-activity-tabs a{font-size:13px}.account-row,.account-subsection-heading,.account-signout{align-items:flex-start;flex-direction:column;gap:16px}.account-workspace #maintenance-notice{padding:12px 20px}.account-leave-dialog{padding:20px}.account-leave-dialog .account-actions{flex-direction:column;align-items:stretch}}

.account-photo-control{display:flex;flex-direction:column;align-items:center;flex:none}.account-photo-control .account-photo-action{white-space:nowrap}.account-return{max-width:48ch;overflow-wrap:anywhere}.account-logo-home:focus-visible{border-radius:4px}

/* Personal address list and editor, sharing the existing account visual system. */
.account-address-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.account-address-heading h2{margin:0 0 8px}.account-address-heading p{margin:0;max-width:58ch}.account-address-heading>.primary-button{flex-shrink:0}.account-address-editor{padding:24px 0 32px;border-block:1px solid var(--account-line,#dbe5e7);margin-bottom:24px}.account-address-editor h3{margin:0 0 8px}.account-address-editor>p{margin:0 0 24px}.account-address-editor [hidden]{display:none!important}.account-address-lookup-status{grid-column:1/-1;margin:0;font-size:.875rem;line-height:1.5}.account-address-editor .account-actions{gap:12px}.account-address-list .account-row{gap:24px}.account-address-list .account-actions{flex-wrap:wrap;gap:8px}.account-address-list .account-row>div:first-child{min-width:0;overflow-wrap:anywhere}.account-address-note{margin-top:24px;font-size:.875rem}.account-address-empty{padding:32px 0;border-block:1px solid var(--account-line,#dbe5e7)}.account-address-empty h3{margin:0 0 8px}.account-address-empty p{margin:0}@media(max-width:640px){.account-address-heading{gap:16px;flex-wrap:wrap}.account-address-heading>.primary-button{margin-left:auto}.account-address-list .account-row{align-items:flex-start;flex-direction:column}.account-address-editor{padding-block:24px}.account-address-editor .enterprise-form-grid{grid-template-columns:minmax(0,1fr)}}
