/* Fire is the fixed visual benchmark; these rules only adapt other service shells. */
.service-topbar{box-sizing:border-box;display:grid;grid-template-columns:var(--side,264px) minmax(0,1fr);gap:0;min-width:0;height:var(--header,56px);min-height:var(--header,56px);padding:var(--safe-top,0px) 0 0;border-bottom:1px solid var(--line,#56616b);background:var(--theme-surface,var(--panel,#10171b));color:var(--text,#f3f5f6);z-index:20}
.service-topbar .brand-zone{display:flex;align-items:center;gap:10px;min-width:0;padding:0 16px;border-right:1px solid var(--line,#56616b)}
.service-topbar .brand-logo{width:38px;height:38px;object-fit:contain;flex-shrink:0}
.service-topbar h2{font:700 14px/1.2 'SIRIS Inter',Inter,Arial,sans-serif;margin:0;white-space:normal;letter-spacing:normal}
.service-topbar .top-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:8px;padding:0 16px;min-width:0;border:0;background:transparent}
.service-topbar :is(button,select){font:500 13px 'SIRIS Inter',Inter,Arial,sans-serif;color:var(--text,#fff);background:var(--raised,#202830);border:1px solid var(--line,#59616a);border-radius:4px;min-height:36px;padding:6px 10px;cursor:pointer}
.service-topbar button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
.service-topbar .site-control{width:auto;max-width:180px;border:0;background:transparent;color:var(--muted,#b7c5ce)}
.service-topbar .preview-tag{font-size:10px;text-transform:uppercase;white-space:nowrap}
.service-header-scope{font-size:12px;max-width:180px;overflow-wrap:anywhere}
.service-topbar [data-service-header=account]{max-width:125px;overflow:hidden;text-overflow:ellipsis}
.service-topbar [data-service-header=more]{display:none}
.service-header-dialog{background:var(--theme-surface,var(--panel,#10171b));color:var(--text,#f3f5f6);border:1px solid var(--line,#59616a);border-radius:8px;width:min(440px,calc(100vw - 24px));max-height:90dvh;padding:20px}
.service-header-dialog::backdrop{background:#0009}.service-dialog-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.service-dialog-title h2{margin:0;font-size:20px}
.service-header-options{display:grid;gap:10px;grid-template-columns:1fr 1fr}.service-header-dialog button{min-height:40px;background:var(--raised,#202830);color:var(--text,#fff);border:1px solid var(--line,#59616a);border-radius:4px;padding:8px;font:inherit;cursor:pointer}
#app.executive-app{display:flex;flex-direction:column}#app.executive-app>.topbar{flex:none}#app.executive-app>.executive-workspace{flex:1;height:auto}
#app.service-home{display:flex;flex-direction:column;height:var(--viewport-height,100dvh);overflow:hidden}
.service-home>.workspace{flex:1;min-height:0;padding:20px;display:flex;align-items:flex-start}.service-home .service-entry{width:100%;padding:20px;background:var(--theme-surface,var(--panel));border:1px solid var(--line);border-radius:8px}
.service-home .service-entry .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
body.service-standalone{background:var(--page) url('/Assets/backgrounds/siris-dark-display.webp') center/cover fixed}
@media(max-width:1350px){.service-topbar .preview-tag{display:none}.service-topbar [data-service-header=account] span{max-width:70px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:1050px){.service-topbar .top-actions>[data-service-header]{display:none}.service-topbar .top-actions>[data-service-header=more]{display:inline-flex}.service-topbar h2{font-size:14px}.service-topbar .site-control{max-width:160px}}
@media(max-width:1439px){.service-topbar{grid-template-columns:var(--side,240px) minmax(0,1fr)}}
@media(max-width:1050px){.service-topbar{grid-template-columns:minmax(0,1fr) auto}.service-topbar .brand-zone{border:0;padding:0 10px;gap:8px}.service-topbar h2{max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-topbar .top-actions{gap:4px;padding:0 10px}}
@media(max-width:640px){.service-topbar{grid-template-columns:minmax(0,1fr);grid-template-rows:44px 48px;height:var(--header,calc(100px + env(safe-area-inset-top,0px)));min-height:var(--header,calc(100px + env(safe-area-inset-top,0px)));padding-bottom:8px}.service-topbar .top-actions{justify-content:space-between;padding-inline:max(6px,var(--safe-left,0px)) max(6px,var(--safe-right,0px))}.service-topbar .top-actions .button{min-height:44px}.service-topbar .site-control,.service-topbar .service-header-scope{display:none}}
@media(max-width:600px){.service-topbar .brand-zone{padding:0 8px;gap:4px}.service-topbar .brand-logo{width:32px;height:32px}.service-topbar h2{max-width:146px;font-size:13px}.service-topbar .top-actions{gap:2px}.service-topbar .top-actions .button{width:38px;min-width:38px;padding:6px}.service-topbar .top-actions .button span{display:none}.service-home>.workspace{padding:10px}}
html[lang="ar"] .service-topbar h2,html[lang="ar"] .service-topbar :is(button,select){font-family:Tahoma,Arial,sans-serif}

.service-topbar [data-service-language]{width:90px;max-width:90px}.service-header-dialog [data-service-language]{font:inherit;min-height:40px;background:var(--raised);color:var(--text);border:1px solid var(--line);margin:0 0 10px;padding:6px;max-width:100%}@media(max-width:1050px){.service-topbar [data-service-language]{display:none}}

.account-access-paged .account-service-settings{margin:0;padding:8px 12px;flex:none}
.account-service-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:4px 0 10px}
.account-access-paged .account-service-choices>label{display:flex;align-items:center;gap:8px;margin:0;min-height:36px;font-size:12px}
.account-access-paged .account-service-choices input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;padding:0;margin:0;accent-color:var(--red)}
.account-service-positions{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.account-service-positions>.field{min-width:0;margin:0}
.account-service-settings>p{margin:8px 0 0}
@media(max-width:900px){.account-service-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.account-service-positions{grid-template-columns:1fr;gap:8px}}
