/* Shared M Digital palette; semantic status colors remain Plane's own. */
:root[data-mdigital]{
 --bg-canvas:#0d131c!important;--bg-surface-1:#131c28!important;--bg-surface-2:#182331!important;
 --bg-layer-1:#192535!important;--bg-layer-1-hover:#223348!important;--bg-layer-1-active:#263c48!important;--bg-layer-1-selected:#203c3b!important;
 --bg-layer-2:#1a2737!important;--bg-layer-2-hover:#25374c!important;--bg-layer-2-selected:#28413f!important;
 --bg-layer-3:#223044!important;--bg-layer-3-hover:#2b4055!important;
 --bg-accent-primary:#a7f3d0!important;--bg-accent-primary-hover:#c4ffe5!important;--bg-accent-primary-active:#8bdeb8!important;
 --bg-accent-subtle:#19372e!important;--bg-accent-subtle-hover:#245040!important;--bg-accent-subtle-active:#2a5f4b!important;
 --txt-primary:#edf5ff!important;--txt-secondary:#b8c8dc!important;--txt-tertiary:#93a8c0!important;--txt-placeholder:#8094ae!important;
 --txt-accent-primary:#b6f7d9!important;--txt-accent-secondary:#8bdeb8!important;--txt-on-color:#10281f!important;
 --txt-icon-primary:#d6e5f5!important;--txt-icon-secondary:#a3b7ce!important;--txt-icon-tertiary:#839bb7!important;--txt-icon-accent-primary:#a7f3d0!important;
 --border-subtle:#a7d9ed21!important;--border-subtle-1:#a7d9ed30!important;--border-strong:#a7d9ed48!important;--border-accent-strong:#8bdeb8!important;
 --brand-default:#a7f3d0!important;--scrollbar-thumb-background:#45546a!important;--scrollbar-thumb-hover:#62758d!important;
 color-scheme:dark;
}
html[data-mdigital] body{background:#0d131c;color:#edf5ff}
html[data-mdigital] .bg-surface-1{background-image:radial-gradient(ellipse at top right,#78d7da06,transparent 70%)}
html[data-mdigital] a[href*='/projects/'][href$='/issues/']{border-color:#a7f3d033;box-shadow:0 0 0 1px #78d7da08,0 0 22px #78d7da0b;transition:border-color .2s,box-shadow .2s}
html[data-mdigital] a[href*='/projects/'][href$='/issues/']:hover{border-color:#a7f3d070;box-shadow:0 0 0 1px #a7f3d021,0 0 25px #78d7da20}
html[data-mdigital] [class*='rounded'][class*='border'][class*='bg-surface'],html[data-mdigital] [data-rfd-draggable-id]{box-shadow:0 0 18px #78d7da09}
#mdigital-launcher{position:fixed;right:20px;bottom:16px;z-index:45;font:12px/1.3 Inter,ui-sans-serif,system-ui,sans-serif}
#mdigital-launcher a{display:flex;align-items:center;gap:10px;text-decoration:none;padding:9px 14px 9px 9px;color:#c0d2df;border:1px solid #a7f3d05c;border-radius:13px;background:#101c29f5;box-shadow:0 0 22px #78d7da24,0 8px 30px #0005;backdrop-filter:blur(16px)}
#mdigital-launcher a:hover,#mdigital-launcher a:focus-visible{color:#fff;border-color:#a7f3d0;outline:2px solid #a7f3d077;outline-offset:3px}
#mdigital-launcher strong{display:block;font-weight:650;color:#e0fff0;font-size:13px;margin-top:1px}
.mdigital-mini-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#a7f3d0;color:#123026;font-size:24px;font-weight:900}
@media(max-width:700px){#mdigital-launcher{right:12px;bottom:10px}#mdigital-launcher a{padding:7px 10px 7px 7px}#mdigital-launcher a>span:nth-child(2){font-size:10px}#mdigital-launcher strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){html[data-mdigital] a{transition:none!important}}
