/* Accounting-only shell refinements, aligned with the main Soon workspace. */
@media screen {
html.ux480.vp560.soon-brand.soon-portal body #root .topbar{min-height:80px;padding-inline:24px;gap:20px}
html.ux480.vp560.soon-brand.soon-portal body #root .topbar-title{min-width:0;gap:12px}
html.ux480.vp560.soon-brand.soon-portal body #root .topbar-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.8}
html.ux480.vp560.soon-brand.soon-portal body #root .topbar-actions{flex-shrink:0;gap:10px!important;align-items:center}
html.ux480.vp560.soon-brand.soon-portal body #root .topbar-actions #today{order:0;margin:0 0 0 8px;white-space:nowrap}
html.ux480.vp560.soon-brand.soon-portal body #root #theme-toggle{order:1}
html.ux480.vp560.soon-brand.soon-portal body #root .sp-header-tools{order:2;gap:8px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account{order:3}
html.ux480.vp560.soon-brand.soon-portal body #root :is(#theme-toggle,.sp-header-tools>button){display:grid!important;place-items:center!important;position:relative;width:40px!important;height:40px!important;min-width:40px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--brand-soft)!important;color:var(--brand-ink)!important;line-height:1;cursor:pointer}
html.ux480.vp560.soon-brand.soon-portal body #root :is(#theme-toggle,.sp-header-tools>button):hover{background:var(--brand-tint)!important;color:var(--brand-link)!important}
html.ux480.vp560.soon-brand.soon-portal body #root :is(#theme-toggle,.sp-header-tools>button) svg{display:block!important;width:20px!important;height:20px!important;margin:0!important;position:static!important;transform:none!important}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-trigger{border:0!important;padding:0 4px!important;min-height:44px;gap:10px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-avatar{width:44px;height:44px;border-radius:50%;border:1px solid var(--brand-line);box-shadow:inset 0 0 0 4px var(--brand-card);font-size:17px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-copy{gap:5px;max-width:230px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-copy small{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover{top:calc(100% + 18px);padding:8px;width:260px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover .sp-account-links{border-bottom:1px solid var(--brand-line);padding:0 0 6px;margin:0 0 6px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover button{min-height:44px;margin:0;padding:12px 14px!important}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover .sp-account-links button{display:flex;align-items:center;gap:12px}
html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover svg{position:static;display:block;width:19px;height:19px;flex-shrink:0;margin:0;transform:none}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search{position:relative!important;display:flex!important;align-items:center!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid var(--brand-line)!important;border-radius:9px!important;background:var(--brand-soft)!important;overflow:hidden;box-sizing:border-box}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search>span[data-icon]{position:absolute!important;inset:auto!important;inset-inline-start:12px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:20px!important;height:20px!important;pointer-events:none;color:var(--brand-muted);margin:0!important;padding:0!important}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search>span[data-icon] svg{display:block!important;position:static!important;transform:none!important;inset:auto!important;width:18px!important;height:18px!important;margin:0!important}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search input{width:100%!important;height:44px!important;min-width:0;box-sizing:border-box;padding:0 40px 0 12px!important;margin:0!important;line-height:normal!important;border:0!important;border-radius:0!important;outline:0!important;background:transparent!important;color:var(--brand-ink)!important;text-align:right}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search kbd{display:none!important}
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar .ux-menu-search:focus-within{border-color:var(--brand-link)!important;box-shadow:0 0 0 3px var(--brand-tint)!important}
html.ux480.vp560.soon-brand.soon-portal body #root :is(.soon-account-trigger,.sp-header-tools button,#theme-toggle):focus-visible,.soon-personal-dialog button:focus-visible,.soon-personal-dialog input:focus-visible,.soon-personal-dialog textarea:focus-visible{outline:2px solid var(--brand-link)!important;outline-offset:3px}
.soon-personal-dialog :is(button,input,textarea){font-family:inherit}
.soon-personal-dialog .btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;border:1px solid var(--brand-line);border-radius:9px;background:var(--brand-card);color:var(--brand-ink);font-size:13px;cursor:pointer}
.soon-personal-dialog .btn-primary{background:var(--brand-action);border-color:var(--brand-action);color:#fff}
.soon-personal-dialog button:disabled{opacity:.6;cursor:wait}
.soon-personal-dialog .sp-dialog-head button{display:grid;place-items:center;padding:0;line-height:1}
.soon-personal-dialog .sp-compose textarea{resize:vertical;max-height:180px}
.soon-personal-dialog .sp-bubbles{overscroll-behavior:contain}
html.ux480.vp560.soon-brand.soon-portal body #root .ar-tabs button{min-height:44px}
html.ux480.vp560.soon-brand.soon-portal body #root .ar-tabs button.active{background:var(--brand-action)!important;color:#fff!important}
html.ux480.vp560.soon-brand.soon-portal body #root .ar-panel :is(td,th){line-height:1.9}
@media(max-width:1100px){html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-copy{max-width:150px}html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-copy small{max-width:150px}}
@media(max-width:900px){html.ux480.vp560.soon-brand.soon-portal body #root .topbar{min-height:72px;padding-inline:14px;gap:12px}html.ux480.vp560.soon-brand.soon-portal body #root .topbar-actions{gap:6px!important}html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-trigger{padding:0!important;gap:0}html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-trigger>svg{display:none}html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-popover{top:calc(100% + 14px)}}
@media(max-width:480px){html.ux480.vp560.soon-brand.soon-portal body #root .topbar{padding-inline:10px;gap:8px}html.ux480.vp560.soon-brand.soon-portal body #root .topbar-title{gap:6px}html.ux480.vp560.soon-brand.soon-portal body #root .topbar-title strong{font-size:12px!important;max-width:125px}html.ux480.vp560.soon-brand.soon-portal body #root .topbar-title .ux-breadcrumb{display:none}html.ux480.vp560.soon-brand.soon-portal body #root :is(#theme-toggle,.sp-header-tools>button){width:34px!important;height:34px!important;min-width:34px}html.ux480.vp560.soon-brand.soon-portal body #root .sp-header-tools{gap:4px}html.ux480.vp560.soon-brand.soon-portal body #root .topbar-actions{gap:4px!important}html.ux480.vp560.soon-brand.soon-portal body #root .soon-account-avatar{width:36px;height:36px;font-size:14px}}
@media(prefers-reduced-motion:reduce){html.soon-portal .soon-account-trigger>svg{transition:none}}
}
/* Use the shared navigation selection tone rather than the primary action color. */
@media screen {
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar #navigation>button.ux-current,
html.ux480.vp560.soon-brand.soon-portal body #root .sidebar #navigation>button.ux-current:hover{
 background:var(--brand-tint)!important;
 color:var(--brand-ink)!important;
 box-shadow:none!important;
 border-color:transparent!important;
}
}
