/* Shared portal finish: compact, calm and readable in both directions. */
:root{--radius-control:13px;--radius-panel:20px}
.signed-in .topbar{padding:12px 24px;gap:16px}.signed-in .brand{gap:16px}.signed-in .brand img{width:185px;max-height:48px}.signed-in .brand strong{font-size:16px;padding-inline-start:16px}.signed-in .top-actions{gap:7px}.signed-in .top-actions .button,.signed-in .top-actions button{border-radius:var(--radius-control);min-height:42px;padding:8px 12px}.signed-in .top-actions .languages button{padding:7px 9px;min-height:36px}.signed-in .guide-shortcut{font-size:13px}.signed-in .guide-shortcut .en{font-size:10px}.signed-in .account-shortcut{gap:8px;font-size:12px}.signed-in .account-shortcut .avatar{width:36px;height:36px}.signed-in .account-shortcut>span{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.signed-in .hub-navigation{padding-block:3px}.signed-in .nav-group>summary{padding:12px 16px;font-size:14px}.signed-in .nav-group>summary .en{font-size:10px}.signed-in .mega-panel{border-radius:18px}.signed-in .mega-link{border-radius:12px;padding:12px}.signed-in .mega-link small{line-height:1.7}
.signed-in main{padding:30px clamp(20px,3.5vw,52px)}.signed-in h1{font-size:clamp(26px,2.6vw,36px);line-height:1.5;letter-spacing:0;margin-bottom:12px}.signed-in h1 .en{font-size:.52em;margin-top:4px}.signed-in h2{font-size:21px;line-height:1.6;margin-bottom:14px}.signed-in h2 .en{font-size:.65em}.signed-in h3{font-size:17px;line-height:1.6}.signed-in p{line-height:1.85}.signed-in .page-heading{margin-bottom:24px}.signed-in .page-heading p{font-size:14px;margin-bottom:0}.signed-in .eyebrow{font-size:10px;letter-spacing:1.4px;margin-bottom:10px}.signed-in .panel{padding:22px;border-radius:var(--radius-panel);margin-bottom:20px;box-shadow:0 3px 16px #00000002}
.signed-in button,.signed-in .button{border-radius:var(--radius-control);min-height:44px;padding:9px 15px;transition:background .15s,border-color .15s,transform .15s}.signed-in button:active,.signed-in .button:active{transform:translateY(1px)}.signed-in input,.signed-in select,.signed-in textarea{border-radius:12px;min-height:46px;border-color:var(--line);font-size:14px}.signed-in textarea{line-height:1.8;padding:12px;min-height:90px}.signed-in label{font-size:13px;gap:7px;margin-bottom:16px}.signed-in label .en{font-size:11px}.signed-in .form-grid,.signed-in .manage-grid{gap:18px}.signed-in .form-actions{gap:10px}.signed-in .form-actions .small{flex-basis:100%}.signed-in .badge,.signed-in .role{font-size:11px;padding:4px 10px}
.signed-in .presence-panel h2{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:8px;font-size:19px}.signed-in .presence-panel h2 .ar,.signed-in .presence-panel h2 .en{display:inline}.signed-in .presence-panel h2 .en{font-size:12px;color:var(--muted);font-weight:400}.signed-in .presence-panel [data-presence-count]{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:20px;background:var(--soft);font-size:14px}.signed-in .presence-panel>p{font-size:11px;line-height:1.65;max-width:90ch;margin:0 0 12px}.signed-in .presence-panel [data-presence-list]{gap:8px}.signed-in .presence-person{font-size:12px}.signed-in .presence-person summary{padding:8px 12px;min-height:42px}
.signed-in .group-card,.signed-in .team-card,.signed-in .bank-card,.signed-in .entry-card{border-radius:18px}.signed-in .section-tabs{gap:8px;margin:14px 0 20px}.signed-in .section-tabs .button{padding:8px 13px;font-size:13px}.signed-in .team-heading{gap:14px}.signed-in .team-heading p{font-size:14px}.signed-in .team-board-help{font-size:12px}.signed-in .team-person{border-radius:12px}.signed-in .empty-team,.signed-in .empty{border-radius:15px;font-size:13px}.signed-in .empty{padding:28px 20px}.signed-in .hub-stats{gap:14px}.signed-in .hub-stats .panel{padding:18px}.signed-in .hub-stats strong{font-size:28px}.signed-in .stage-counts{gap:8px}.signed-in .stage-counts a{border-radius:14px;padding:12px;font-size:12px}
.signed-in .people-filters,.signed-in .directory-filter{gap:12px}.signed-in .person-row{padding-block:18px;gap:14px}.signed-in .person-actions{gap:7px}.signed-in .person-actions button{font-size:12px;min-width:0}.signed-in .person-identity strong{font-size:14px}.signed-in dialog{border-radius:22px}.signed-in .account-dialog{padding:24px}.signed-in .profile-summary{text-align:start}.signed-in table{font-size:12px}.signed-in th,.signed-in td{padding:12px}.signed-in .notification{border-radius:14px}.signed-in .notification time{font-size:11px}
.signed-in .chat-workspace{border-radius:18px}.signed-in .chat-page-heading{margin-bottom:16px}.signed-in .chat-page-heading h1{font-size:26px}.signed-in .chat-bubble{border-radius:16px}.signed-in .chat-thread-heading{padding:14px 18px}.signed-in .chat-thread-heading h2{font-size:18px;margin:0}.signed-in .chat-compose textarea{min-height:56px}.signed-in .chat-receipt{line-height:1.6}.signed-in .chat-toast{border-radius:18px;background:var(--surface);color:var(--ink)}
.signed-in .mobile-bottom{padding-top:5px;padding-bottom:max(5px,env(safe-area-inset-bottom))}.signed-in .mobile-bottom a{border-radius:12px;font-size:11px;min-height:52px}.signed-in .mobile-bottom .en{font-size:9px}.signed-in .site-footer{font-size:11px;padding:20px}.login-wave{background:var(--soft)}
[data-language=ar] .signed-in .presence-panel h2 .en,[data-language=en] .signed-in .presence-panel h2 .ar{display:none}
@media(max-width:1100px){.signed-in .brand strong,.signed-in .account-shortcut>span{display:none}.signed-in .top-actions{gap:5px}.signed-in .topbar{padding-inline:18px}}
@media(max-width:760px){.signed-in .topbar{padding:10px 14px;gap:10px}.signed-in .brand img{width:130px;height:38px}.signed-in .top-actions{gap:4px}.signed-in .top-actions .button,.signed-in .top-actions button{min-height:42px;padding:8px}.signed-in .guide-shortcut{font-size:11px!important;padding:8px!important}.signed-in .guide-shortcut .en{display:none}.signed-in .account-shortcut .avatar{width:32px;height:32px}.signed-in .top-actions .message-shortcut{gap:3px}.signed-in main{padding:20px 15px 105px}.signed-in h1{font-size:27px}.signed-in h1 .en{font-size:14px;margin-top:5px}.signed-in h2{font-size:20px}.signed-in .page-heading{margin-bottom:20px}.signed-in .page-heading p{font-size:13px}.signed-in .panel{padding:18px;border-radius:19px;margin-bottom:18px}.signed-in .presence-panel{padding:16px}.signed-in .presence-panel>p{font-size:10px;line-height:1.65}.signed-in .presence-panel h2{font-size:17px}.signed-in .presence-panel h2 .en{font-size:11px}.signed-in .team-heading .badge{display:inline-block;margin-top:10px}.signed-in .hub-stats{gap:10px}.signed-in .hub-stats .panel{padding:15px}.signed-in .people-filters{grid-template-columns:1fr 1fr}.signed-in .account-dialog{padding:20px;max-width:calc(100vw - 24px)}.signed-in .person-actions{justify-content:flex-start;flex-wrap:wrap}.signed-in .person-actions button{min-height:44px}.signed-in .chat-page-heading h1{font-size:23px}.signed-in main:has(.chat-workspace){padding:14px 12px 105px}.signed-in .chat-thread-heading{padding:12px}.signed-in .chat-thread-heading h2{font-size:16px}.signed-in .chat-compose{padding:10px}.signed-in .chat-compose textarea{font-size:15px}.signed-in .chat-compose-row button{min-width:70px}.signed-in .section-tabs .button{flex:0 1 auto}.signed-in .profile-layout{gap:0}}
@media(prefers-reduced-motion:reduce){.signed-in button,.signed-in .button{transition:none;transform:none}}

.signed-in input[type=checkbox],.signed-in input[type=radio]{min-height:0;width:18px;height:18px;flex-shrink:0}

.signed-in .account-shortcut{min-height:44px;min-width:44px}.signed-in .presence-person summary{min-height:44px}.signed-in .person-identity,.signed-in .person-copy{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.signed-in .top-actions button,.signed-in .top-actions .button{min-height:44px}.signed-in .form-grid>*{min-width:0}}

.signed-in .account-shortcut>.avatar{display:grid!important}@media(max-width:760px){.signed-in .mobile-menu-toggle{width:44px;height:44px;min-width:44px;font-size:0!important;padding:8px!important}.signed-in .mobile-menu-toggle .ar,.signed-in .mobile-menu-toggle .en{display:none}.signed-in .mobile-menu-toggle:after{content:"☰";font-size:19px}.signed-in .message-shortcut{min-width:44px}}

.signed-in .project-picker label{margin-bottom:0}.signed-in main>p>a[href="?page=team_roles"]{background:transparent;border:0;padding:0;font-size:12px;min-height:44px;justify-content:flex-start}@media(max-width:760px){.signed-in .project-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:12px}.signed-in .project-picker label{min-width:0}.signed-in .project-picker>button{padding:8px 10px;min-width:64px}.signed-in .project-picker>a.button{grid-column:1/-1;background:transparent;border:0;justify-self:start;width:auto;padding:4px 0;font-size:12px}.signed-in .project-picker>a.button .ar,.signed-in .project-picker>a.button .en{display:inline}.signed-in .project-picker>a.button .en{font-size:10px}}

.signed-in .inspiration-filter{gap:12px}.signed-in .inspiration-filter label{margin-bottom:0}@media(max-width:760px){.signed-in .bank-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}.signed-in .bank-actions .button{padding:8px 6px;min-height:58px;font-size:11px;min-width:0}.signed-in .bank-actions .en{font-size:9px;line-height:1.4}.signed-in .inspiration-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-bottom:20px}.signed-in .inspiration-filter>label:first-of-type{grid-column:1/-1}.signed-in .inspiration-filter label{min-width:0;margin:0;gap:4px}.signed-in .inspiration-filter>button{min-width:64px;min-height:46px;padding:8px 10px}.signed-in .inspiration-filter label .en{font-size:10px}}

@media(max-width:760px){.signed-in input,.signed-in select,.signed-in textarea,.signed-in .chat-compose textarea{font-size:16px}}

html[data-theme=dark] .signed-in .top-actions .button,html[data-theme=dark] .signed-in .top-actions button{background:var(--surface);color:var(--ink);border-color:var(--line)}html[data-theme=dark] .signed-in .top-actions .languages button[aria-pressed=true]{background:var(--soft)}.signed-in .brand img{border-radius:9px}

@media(max-width:760px){.signed-in div.bank-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.signed-in div.bank-actions>.primary{grid-column:1/-1}}
