/* Shared NX identity: scale to each surface, leave labels and status text intact. */
.nx-module-icon{display:inline-flex;position:relative;width:32px;height:32px;flex:0 0 auto;vertical-align:middle;line-height:1;font-style:normal}
.nx-module-icon>img,.nx-module-initials{width:100%;height:100%;display:block;border-radius:25%;filter:drop-shadow(0 2px 2px #0002)}
.nx-module-initials{display:grid;place-items:center;color:#fff;font:700 12px/1 system-ui,sans-serif;letter-spacing:.02em}
.nx-plugin-badge{position:absolute;right:-4px;bottom:-3px;width:15px;height:15px;filter:drop-shadow(0 1px 1px #0003)}
.app-glyph:has(.nx-module-icon),.program-glyph:has(.nx-module-icon){background:none;box-shadow:none;border:0;padding:0}
.app-glyph>.nx-module-icon{width:100%;height:100%}
.program-glyph>.nx-module-icon{width:100%;height:100%}
.window-app-icon:has(.nx-module-icon){display:inline-flex}
.window-app-icon>.nx-module-icon{width:23px;height:23px}
.task-app-glyph:has(.nx-module-icon),.pinned-glyph:has(.nx-module-icon),.global-search-glyph:has(.nx-module-icon){background:none;border:0;padding:0}
.task-app-glyph>.nx-module-icon,.pinned-glyph>.nx-module-icon{width:23px;height:23px}
.global-search-glyph>.nx-module-icon{width:30px;height:30px}
.nx-module-heading{display:flex;align-items:center;gap:12px}
.nx-module-heading>.nx-module-icon{width:42px;height:42px}
.nx-license-name{display:flex;align-items:flex-start;gap:10px}
.nx-license-name>.nx-module-icon{width:34px;height:34px;margin-top:3px}
.nx-module-heading h3{margin-top:4px}
@media (forced-colors:active){.nx-module-icon{outline:1px solid CanvasText;border-radius:25%}.nx-module-initials{color:CanvasText;background:Canvas!important}}

/* NX-BUG-000010: fixed Office identity shared by app, file and create icons.
   Local semantic tokens intentionally do not inherit branding or theme accents. */
:is(.nx-module-icon[data-nx-office="writer"],.nx-icon-word,.ctx-new-icon.writer){--nx-office-color:#2f6fce}
:is(.nx-module-icon[data-nx-office="calc"],.nx-icon-sheet,.ctx-new-icon.calc){--nx-office-color:#238657}
:is(.nx-module-icon[data-nx-office="presentation"],.nx-icon-slides,.ctx-new-icon.impress){--nx-office-color:#d5633e}
.nx-module-icon[data-nx-office]>.nx-module-initials,
:is(.nx-icon-word,.nx-icon-sheet,.nx-icon-slides) .nx-file-badge,
.ctx-new-icon:is(.writer,.calc,.impress){background:var(--nx-office-color);color:#fff}
@media (forced-colors:active){
 .nx-module-icon[data-nx-office]>.nx-module-initials,
 :is(.nx-icon-word,.nx-icon-sheet,.nx-icon-slides) .nx-file-badge,
 .ctx-new-icon:is(.writer,.calc,.impress){background:Canvas!important;color:CanvasText;outline:1px solid CanvasText}
}

/* Central colorful NX application identities; document file-type icons are unchanged. */
.nx-module-emoji{width:100%;height:100%;display:grid;place-items:center;font-size:calc(100% + 12px);font-family:"Segoe UI Emoji","Apple Color Emoji","Noto Color Emoji",sans-serif;line-height:1;filter:drop-shadow(0 2px 2px #0004)}
