/* Admin duotone icons. Current-section badge stays on physical right in both languages. */
.with-sidebar .spm-icon {--icon-ink:#2563eb;--icon-tint:#eaf1ff;color:var(--icon-ink);}
.with-sidebar .spm-icon svg {stroke:currentColor;}
.with-sidebar .spm-icon svg > :first-child {fill:var(--icon-tint);}
.with-sidebar .spm-icon svg > :nth-child(even) {stroke:var(--icon-accent,var(--icon-ink));}
.with-sidebar .workspace-nav a .spm-icon {color:var(--icon-ink);background:var(--icon-tint);width:30px;height:30px;flex:0 0 30px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px rgb(255 255 255 / .35);}
.with-sidebar .workspace-nav a .spm-icon svg {width:19px;height:19px;}
.with-sidebar .workspace-nav a[style] .spm-icon {color:var(--nav-ink);background:var(--nav-tint);--icon-tint:var(--nav-tint);}
.with-sidebar .workspace-nav a:hover .spm-icon,.with-sidebar .workspace-nav a.is-active .spm-icon {box-shadow:0 3px 10px rgb(0 0 0 / .14);}
.with-sidebar .grid.menu .spm-icon {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:var(--icon-tint);flex:0 0 44px;}
.page-section-row {display:flex;justify-content:flex-end;direction:ltr;margin:0 0 22px;}
.page-section-badge {display:flex;align-items:center;gap:14px;padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 6px 22px rgb(15 23 42 / .045);max-width:100%;}
.page-section-copy {text-align:right;display:flex;flex-direction:column;gap:3px;min-width:0;}
.page-section-copy small {font-size:11px;color:#64748b;letter-spacing:.02em;}
.page-section-copy strong {font-size:16px;color:#142641;overflow-wrap:anywhere;}
.with-sidebar .page-section-icon {--icon-ink:var(--section-ink);--icon-tint:var(--section-tint);color:var(--section-ink);display:inline-flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border-radius:16px;background:var(--section-tint);}
.page-section-icon svg {width:30px;height:30px;}
html[dir=rtl] .page-section-copy {direction:rtl;}
@media(max-width:600px){.page-section-row{margin-bottom:16px;}.page-section-badge{padding:10px 12px;gap:10px;}.page-section-copy strong{font-size:14px;}.with-sidebar .page-section-icon{width:44px;height:44px;flex-basis:44px;}.page-section-icon svg{width:25px;height:25px;}}

.with-sidebar .workspace-main .spm-icon[data-spm-icon="building"]:not(.page-section-icon){--icon-ink:#0f766e;--icon-tint:#dff8f1;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="users"]:not(.page-section-icon){--icon-ink:#7c3aed;--icon-tint:#f0e7ff;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="device"]:not(.page-section-icon){--icon-ink:#0369a1;--icon-tint:#e0f2fe;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="tools"]:not(.page-section-icon){--icon-ink:#c2410c;--icon-tint:#fff0df;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="clipboard"]:not(.page-section-icon){--icon-ink:#6d28d9;--icon-tint:#ede9fe;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="engineer"]:not(.page-section-icon){--icon-ink:#047857;--icon-tint:#d1fae5;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="user"]:not(.page-section-icon){--icon-ink:#be185d;--icon-tint:#fce7f3;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="shield"]:not(.page-section-icon){--icon-ink:#be185d;--icon-tint:#fce7f3;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="globe"]:not(.page-section-icon){--icon-ink:#0284c7;--icon-tint:#e0f2fe;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="settings"]:not(.page-section-icon){--icon-ink:#0891b2;--icon-tint:#cffafe;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="star"]:not(.page-section-icon){--icon-ink:#b45309;--icon-tint:#fef3c7;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="briefcase"]:not(.page-section-icon){--icon-ink:#15803d;--icon-tint:#dcfce7;}
.with-sidebar .workspace-main .spm-icon[data-spm-icon="document"]:not(.page-section-icon){--icon-ink:#4f46e5;--icon-tint:#e0e7ff;}
.with-sidebar .workspace-main .menu a[style] .spm-icon:not(.page-section-icon){--icon-ink:var(--tile-ink);--icon-tint:var(--tile-tint);color:var(--tile-ink);background:var(--tile-tint);box-sizing:border-box;padding:10px;width:46px;height:46px;flex-basis:46px;}
.with-sidebar .workspace-main .menu a .spm-icon svg{width:26px;height:26px;}

/* Section badge shares the heading/action row. Physical right in Arabic and English. */
.spm-workspace .page-header-inline{display:flex;flex-direction:row;direction:ltr;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:nowrap;margin-bottom:22px;}
.page-header-inline>.page-header-title{flex:1 1 auto;min-width:0;margin-right:auto;}
.page-header-inline>h1{margin-top:0;margin-bottom:0;}
.page-header-inline .page-header-title h1{margin-top:0;}
.page-header-inline .page-header-title p:last-child{margin-bottom:0;}
.page-header-inline>.btn,.page-header-inline>form{flex:0 0 auto;}
.page-header-inline>.page-section-inline{flex:0 0 auto;margin:0;align-self:center;}
.page-section-inline .page-section-badge{padding:8px 12px;gap:10px;border-radius:15px;}
.with-sidebar .page-section-inline .page-section-icon{width:42px;height:42px;flex-basis:42px;border-radius:12px;}
.page-section-inline .page-section-icon svg{width:25px;height:25px;}
.page-section-inline .page-section-copy strong{font-size:14px;}
html[dir=rtl] .page-header-inline>.page-header-title{direction:rtl;text-align:right;}
@media(max-width:700px){.spm-workspace .page-header-inline{gap:8px;flex-wrap:wrap;}.page-header-inline>.page-header-title{flex:1 1 140px;}.page-section-inline .page-section-copy{display:none;}.page-section-inline .page-section-badge{padding:6px;}.with-sidebar .page-section-inline .page-section-icon{width:36px;height:36px;flex-basis:36px;}}
