/* Mofeed Creative Night — independent, reversible theme layer, v136. */
:root,.dark,html body#mf-creative-app .mf-outdoor{
 --background:218 49% 9%;--foreground:218 53% 94%;--card:222 39% 13%;--card-foreground:218 53% 94%;--popover:222 39% 13%;--popover-foreground:218 53% 94%;--primary:173 80% 40%;--primary-foreground:0 0% 100%;--secondary:219 38% 18%;--secondary-foreground:218 53% 94%;--muted:219 38% 16%;--muted-foreground:217 25% 65%;--accent:199 89% 48%;--accent-foreground:0 0% 100%;--destructive:0 80% 66%;--border:219 37% 21%;--input:219 37% 21%;--ring:173 80% 40%;--radius:1.25rem;
 --ios-blue:199 89% 48%;--ios-gray:222 39% 13%;--ios-separator:219 37% 21%;--ios-text:218 53% 94%;--ios-text-secondary:217 25% 65%;--ios-grouped-bg:218 49% 9%;--ios-card-bg:222 39% 13%;--chat-bg:218 49% 9%;--chat-text:218 53% 94%;--chat-text-muted:217 25% 65%;--chat-border:219 37% 21%;--chat-header-bg:222 39% 13%;--chat-input-bg:219 38% 16%;--chat-accent:173 80% 40%;--bubble-bg-dark:219 38% 16%;--bubble-bg-light:222 39% 13%;--bubble-border:219 37% 21%;--bubble-text-primary:218 53% 94%;--bubble-text-secondary:217 25% 76%;--bubble-text-muted:217 25% 65%;--bubble-accent:173 80% 40%;--bubble-overlay-start:218 49% 9%;--bubble-overlay-mid:219 38% 16%;--bubble-overlay-end:218 49% 9%;--heritage-paper:222 39% 13%;--mofeed-composer-bg:218 49% 9%;--mofeed-composer-text:218 53% 94%;--mofeed-composer-border:219 37% 21%;--navigation-aligned:173 80% 55%;--navigation-near:218 53% 94%;--navigation-deviated:0 80% 70%;
 --mf-night:#0B1220;--mf-panel:#141C2E;--mf-line:#22304A;--mf-text:#E8EEF8;--mf-muted:#8A9BB8;--mf-gold:#F5B942;--mf-gradient:linear-gradient(125deg,#14B8A6,#0EA5E9);
 color-scheme:dark;
}
html,body,#root{background-color:var(--mf-night)!important;color:var(--mf-text)!important}
body{background-image:radial-gradient(ellipse at 90% 0%,#14b8a612,transparent 40%),radial-gradient(ellipse at 0% 65%,#0ea5e912,transparent 42%),linear-gradient(160deg,#0B1220,#0F1A2E)!important;background-attachment:fixed;font-family:Tajawal,"IBM Plex Sans Arabic",system-ui,sans-serif}
#root{background:transparent!important}
/* Tailwind surfaces: keep overlays transparent and maps/images intact. */
html body#mf-creative-app :is(.bg-white,.bg-background,[class*="bg-white/"],.bg-gray-50,.bg-gray-100,.bg-gray-200,.bg-slate-50,.bg-slate-100,.bg-slate-200,.bg-zinc-50,.bg-zinc-100,.bg-neutral-50,.bg-neutral-100){background-color:var(--mf-panel)!important;color:var(--mf-text)}
html body#mf-creative-app :is(.bg-card,.bg-popover,.bg-muted,.bg-secondary){background-color:var(--mf-panel)!important}
html body#mf-creative-app :is([class*="from-white"],[class*="from-gray-50"],[class*="from-slate-50"]){--tw-gradient-from:#141C2E var(--tw-gradient-from-position)!important;--tw-gradient-to:#141C2E00 var(--tw-gradient-to-position)!important}
html body#mf-creative-app :is([class*="to-white"],[class*="to-gray-50"],[class*="to-slate-50"]){--tw-gradient-to:#0F1A2E var(--tw-gradient-to-position)!important}
html body#mf-creative-app :is([class*="bg-emerald-50"],[class*="bg-green-50"],[class*="bg-teal-50"]){background-color:#102D2D!important}
html body#mf-creative-app :is([class*="bg-amber-50"],[class*="bg-yellow-50"],[class*="bg-orange-50"]){background-color:#332919!important}
html body#mf-creative-app :is([class*="bg-red-50"],[class*="bg-rose-50"]){background-color:#35202B!important}
html body#mf-creative-app :is([class*="bg-blue-50"],[class*="bg-sky-50"],[class*="bg-indigo-50"],[class*="bg-purple-50"]){background-color:#172743!important}
html body#mf-creative-app :is([class*="text-gray-9"],[class*="text-gray-8"],[class*="text-gray-7"],[class*="text-slate-9"],[class*="text-slate-8"],[class*="text-slate-7"],[class*="text-zinc-9"],[class*="text-neutral-9"],.text-black,[class*="text-black/"]){color:var(--mf-text)!important}
html body#mf-creative-app :is([class*="text-gray-6"],[class*="text-gray-5"],[class*="text-gray-4"],[class*="text-slate-6"],[class*="text-slate-5"],[class*="text-slate-4"],.text-muted-foreground){color:#9BAAC3!important}
html body#mf-creative-app :is([class*="text-emerald-7"],[class*="text-emerald-8"],[class*="text-emerald-9"],[class*="text-green-7"],[class*="text-teal-7"]){color:#5EEAD4!important}
html body#mf-creative-app :is([class*="text-amber-7"],[class*="text-amber-8"],[class*="text-amber-9"],[class*="text-yellow-7"],[class*="text-orange-7"]){color:#F5B942!important}
html body#mf-creative-app :is([class*="text-blue-7"],[class*="text-blue-8"],[class*="text-blue-9"],[class*="text-indigo-7"],[class*="text-sky-7"]){color:#7DD3FC!important}
html body#mf-creative-app :is([class*="text-red-7"],[class*="text-red-8"],[class*="text-rose-6"],[class*="text-rose-7"]){color:#FDA4AF!important}
html body#mf-creative-app :is([class*="border-gray-"],[class*="border-slate-"],.border-border,[class*="border-white/"]){border-color:var(--mf-line)!important}
html body#mf-creative-app :is(.rounded-xl.bg-white,.rounded-2xl.bg-white,.rounded-3xl.bg-white,.bg-card.border){border:1px solid var(--mf-line)!important;border-radius:20px;box-shadow:0 12px 32px #0003,inset 0 1px 0 #ffffff05}
html body#mf-creative-app :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){background-color:#0F1829!important;color:var(--mf-text)!important;border-color:#2B3B56!important;caret-color:#5EEAD4;-webkit-text-fill-color:var(--mf-text);border-radius:14px}
html body#mf-creative-app :is(input,textarea)::placeholder{color:var(--mf-muted)!important;opacity:1}
html body#mf-creative-app :is(input,textarea,select):focus{outline:none;border-color:#14B8A6!important;box-shadow:0 0 0 3px #14b8a620}
html body#mf-creative-app :is(button,a):focus-visible{outline:2px solid #5EEAD4;outline-offset:3px}
html body#mf-creative-app :is(.bg-primary,button.bg-slate-700,button.bg-slate-800,button.bg-blue-600){background:var(--mf-gradient)!important;color:#fff!important;border-radius:999px;box-shadow:0 7px 20px #0ea5e922}
html body#mf-creative-app button:not(:disabled){transition:transform .18s ease,box-shadow .18s ease}
html body#mf-creative-app button:active,html body#mf-creative-app a.mf-app-tile:active{transform:scale(.97)}
html body#mf-creative-app button:disabled{opacity:.6}
html body#mf-creative-app :is([role=dialog],[data-radix-popper-content-wrapper]>div,[role=menu],.mf-sheet,[data-sonner-toast]){background-color:var(--mf-panel)!important;color:var(--mf-text)!important;border-color:var(--mf-line)!important;box-shadow:0 22px 80px #0006}
html body#mf-creative-app :is(.mf-chat-header,.mofeed-chat-composer,nav.fixed,[class*="fixed bottom-0"][class*="bg-white"]){background:linear-gradient(140deg,#141c2ee8,#0b1220f0)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-color:var(--mf-line)!important;color:var(--mf-text)!important}
html body#mf-creative-app .mf-chat-header{border-bottom:1px solid #22304A!important}
html body#mf-creative-app .mf-chat-header-inner{color:var(--mf-text)!important}
html body#mf-creative-app :is(.mf-service-sheet,.mf-docked-layer,.mf-chat-shell){color:var(--mf-text)!important}
/* Legacy inline light surfaces, selected narrowly (never overwrite a map canvas). */
html body#mf-creative-app :is([style*="background: rgb(255, 255, 255)"],[style*="background-color: rgb(255, 255, 255)"],[style*="background: rgb(248, 250, 252)"],[style*="background: rgb(249, 250, 251)"],[style*="background: rgb(245, 245, 245)"],[style*="background: linear-gradient"][style*="rgb(255, 255, 255)"]):not(canvas):not(img){background:var(--mf-panel)!important;color:var(--mf-text)!important}
html body#mf-creative-app [style*="color: rgb(23, 35, 51)"]{color:var(--mf-text)!important}
#mf-boot-rescue{background:linear-gradient(160deg,#0B1220,#0F1A2E)!important;color:var(--mf-text)!important}
#mf-boot-rescue button{background:var(--mf-gradient)!important;color:#fff}
#mf-save-status{background:#182339!important;color:#E8EEF8!important;border:1px solid #2E405C!important;border-radius:999px!important;padding:8px 12px!important;font:600 11px Tajawal,system-ui!important;max-width:170px!important;box-shadow:0 4px 18px #0004!important;backdrop-filter:blur(16px);bottom:max(10px,env(safe-area-inset-bottom))!important;right:12px!important}
#mf-save-status::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#F5B942;margin-left:6px;box-shadow:0 0 9px #F5B94240}
#mf-save-status[data-ready=true]::before{background:#14B8A6}
#mf-save-panel .mf-sheet{border:1px solid #2A3B55;padding:22px!important;border-radius:26px!important;background:linear-gradient(155deg,#18253C,#10192B)!important}
#mf-save-panel button{border-color:#2B3B56!important;color:var(--mf-text)!important;background:#1D2A42!important;border-radius:999px!important}
#mf-save-panel .mf-primary{background:var(--mf-gradient)!important;color:#fff!important}
#mf-save-panel .mf-small{color:#9BAAC3!important;font-size:13px!important}
#mf-save-panel .mf-error{color:#FDA4AF!important}
progress{appearance:none;-webkit-appearance:none;height:7px!important;border:0;border-radius:999px;overflow:hidden;background:#22304A;color:#14B8A6}
progress::-webkit-progress-bar{background:#22304A;border-radius:999px}progress::-webkit-progress-value{background:var(--mf-gradient);border-radius:999px}progress::-moz-progress-bar{background:var(--mf-gradient);border-radius:999px}
/* Native offline services launcher. */
body.mf-creative-offline #root{display:none!important}
body.mf-creative-offline{overflow:hidden!important}
body.mf-creative-offline #mf-save-status{bottom:calc(88px + env(safe-area-inset-bottom))!important;display:none}
.mf-offline-launcher{position:fixed;inset:0;z-index:12000;overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(ellipse at 90% 0%,#14b8a61b,transparent 42%),radial-gradient(ellipse at 0 55%,#0ea5e915,transparent 46%),linear-gradient(165deg,#0B1220,#0F1A2E);color:#E8EEF8;padding:calc(22px + env(safe-area-inset-top)) 22px calc(110px + env(safe-area-inset-bottom));font:15px/1.6 Tajawal,system-ui;box-sizing:border-box}
.mf-launch-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}
.mf-launch-brand{display:flex;gap:10px;align-items:center}
.mf-brand-mark{width:42px;height:42px;border-radius:14px;background:var(--mf-gradient);display:grid;place-items:center;box-shadow:0 5px 22px #14b8a633}
.mf-brand-mark svg{width:25px;height:25px}
.mf-brand-name{font-size:21px;font-weight:800;line-height:1.1}.mf-brand-caption{color:#8A9BB8;font-size:10px;letter-spacing:.4px}
.mf-launch-close{width:38px;height:38px;border-radius:50%;background:#17243A;border:1px solid #293952;color:#B6C5DC;display:grid;place-items:center;text-decoration:none}
.mf-launch-close svg{width:18px;height:18px}
.mf-launch-eyebrow{font-size:11px;font-weight:700;color:#5EEAD4;letter-spacing:.6px;margin:0 0 5px}
.mf-launch-title{font-size:30px;font-weight:800;line-height:1.45;margin:0 0 5px;letter-spacing:-.7px}
.mf-launch-subtitle{font-size:13px;color:#8A9BB8;margin:0 0 22px}
.mf-save-card{display:flex;gap:13px;align-items:center;padding:14px;background:linear-gradient(120deg,#162A37,#152138);border:1px solid #23424D;border-radius:20px;margin-bottom:26px;width:100%;color:#E8EEF8;text-align:right;font:inherit;cursor:pointer;box-shadow:0 8px 28px #0002}
.mf-save-ring{width:43px;height:43px;position:relative;flex:none;display:grid;place-items:center}.mf-save-ring svg{position:absolute;inset:0;width:43px;height:43px;transform:rotate(-90deg)}.mf-save-ring circle{fill:none;stroke-width:3}.mf-save-ring .mf-ring-track{stroke:#2B3B50}.mf-save-ring .mf-ring-fill{stroke:#14B8A6;stroke-linecap:round;stroke-dasharray:113;stroke-dashoffset:113;transition:stroke-dashoffset .4s}.mf-ring-label{font-size:10px;font-weight:800;direction:ltr}.mf-save-copy{flex:1;min-width:0}.mf-save-copy strong{font-size:13px;display:block}.mf-save-copy small{color:#8A9BB8;font-size:10px;display:block;margin-top:3px}.mf-save-arrow{width:17px;height:17px;color:#5EEAD4}.mf-save-copy progress{width:100%;margin-top:7px;display:block;height:4px!important}
.mf-launch-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.mf-launch-section h2{margin:0;font-size:15px;font-weight:800}.mf-launch-section span{font-size:10px;color:#8A9BB8}
.mf-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 12px}
.mf-app-tile{display:flex;flex-direction:column;align-items:center;text-decoration:none;color:#E8EEF8;text-align:center;min-width:0;gap:9px;font-weight:700;font-size:11px;line-height:1.4}
.mf-app-icon{width:68px;height:68px;border-radius:22px;display:grid;place-items:center;position:relative;box-shadow:0 10px 20px #0003,inset 0 1px 0 #ffffff55;overflow:hidden;background:linear-gradient(145deg,var(--tile-start),var(--tile-end))}
.mf-app-icon::after{content:"";position:absolute;inset:0;background:linear-gradient(155deg,#ffffff26,transparent 55%);pointer-events:none;border-radius:inherit;border:1px solid #ffffff18}
.mf-app-icon svg{width:31px;height:31px;color:white;filter:drop-shadow(0 2px 3px #0002);stroke-width:1.7}
.mf-app-name{min-height:16px;max-width:100%;color:#DFE8F7}.mf-tile-soon{font-size:8px;color:#8A9BB8;margin-top:-6px}
.mf-launch-footnote{font-size:10px;color:#7F91AD;text-align:center;margin:28px 0 0}
.mf-launch-nav{position:fixed;bottom:0;right:0;left:0;z-index:12001;display:flex;justify-content:space-around;align-items:center;padding:14px 22px calc(15px + env(safe-area-inset-bottom));background:linear-gradient(120deg,#141c2ef5,#0b1220e8);border-top:1px solid #22304A;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
.mf-launch-nav a,.mf-launch-nav button{background:none!important;border:0;box-shadow:none!important;color:#8A9BB8;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:5px;font:600 10px Tajawal,system-ui;min-width:60px;padding:0}.mf-launch-nav svg{width:21px;height:21px}.mf-launch-nav .is-active{color:#5EEAD4}.mf-launch-nav .is-active svg{filter:drop-shadow(0 0 8px #14b8a680)}
@media(min-width:600px){.mf-offline-launcher{padding-left:max(22px,calc((100vw - 520px)/2));padding-right:max(22px,calc((100vw - 520px)/2))}.mf-app-grid{grid-template-columns:repeat(4,1fr)}.mf-launch-nav{padding-left:calc((100vw - 520px)/2);padding-right:calc((100vw - 520px)/2)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The shipped bundle also contains a legacy 'mf-google-ui' white theme.
   Override its explicit !important rules, not just Tailwind variables. */
:root,html body#mf-creative-app,html body#mf-creative-app.mf-google-ui,html body#mf-creative-app .mf-light-surface,html body#mf-creative-app .mf-solid-panel{
 --g-bg:#0B1220;--g-surface:#141C2E;--g-surface-2:#1A2840;--g-text:#E8EEF8;--g-text-soft:#8A9BB8;--g-accent:#5EEAD4;--g-line:#22304A;--g-shadow:0 8px 28px #0003;--g-shadow-lg:0 20px 65px #0005;
 --app-top-surface:218 49% 9%;--app-top-ink:218 53% 94%;--chat-surface:222 39% 13%;--chat-ink:218 53% 94%;--chat-line:219 37% 21%;--chat-muted:217 25% 65%;
 --background:218 49% 9%;--foreground:218 53% 94%;--card:222 39% 13%;--card-foreground:218 53% 94%;--popover:222 39% 13%;--popover-foreground:218 53% 94%;--secondary:219 38% 18%;--secondary-foreground:218 53% 94%;--muted:219 38% 16%;--muted-foreground:217 25% 65%;--border:219 37% 21%;--input:219 37% 21%;--accent:199 89% 48%;--accent-foreground:0 0% 100%;color-scheme:dark!important;
}
html body#mf-creative-app.mf-google-ui,html body#mf-creative-app.mf-google-ui #root{background-color:#0B1220!important;background-image:linear-gradient(155deg,#0B1220,#0F1A2E)!important;color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui :is(.mf-light-surface,.mf-solid-panel,.g-card,[data-slot=card],.rounded-2xl.border,.rounded-xl.border,[role=dialog],[role=menu],[data-radix-popper-content-wrapper]>*){background:linear-gradient(155deg,#141C2E,#101B30)!important;border:1px solid #22304A!important;color:#E8EEF8!important;border-radius:20px!important}
html body#mf-creative-app.mf-google-ui .mf-docked-layer>div.mf-solid-panel{border-style:solid!important;box-shadow:0 22px 80px #0005!important}
html body#mf-creative-app.mf-google-ui .mf-light-surface [class*=bg-white],html body#mf-creative-app.mf-google-ui .mf-solid-panel [class*=bg-white],html body#mf-creative-app.mf-google-ui :is(.bg-white,[class*="bg-white/"],.bg-slate-50,.bg-slate-100,.bg-slate-200,.bg-gray-50,.bg-gray-100){background:#141C2E!important;color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui :is([class*=bg-slate-3],[class*=bg-slate-4],[class*=bg-slate-5],[class*=bg-slate-6],[class*=bg-slate-7],[class*=bg-slate-8],[class*=bg-slate-9]){background-color:#17253D!important;color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui .mf-light-surface *:not(svg):not(path),html body#mf-creative-app.mf-google-ui .mf-solid-panel [class*=bg-white] *:not(svg):not(path),html body#mf-creative-app.mf-google-ui .mf-on-light,html body#mf-creative-app.mf-google-ui .mf-on-light *{color:#E8EEF8!important;-webkit-text-fill-color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui :is([class*=text-slate-],[class*=text-gray-],[class*=text-zinc-],[class*=text-neutral-],.text-muted-foreground){color:#A3B2CB!important;-webkit-text-fill-color:#A3B2CB!important}
html body#mf-creative-app.mf-google-ui :is([class*=text-slate-9],[class*=text-slate-8],[class*=text-slate-7],[class*=text-gray-9],[class*=text-gray-8]){color:#E8EEF8!important;-webkit-text-fill-color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui :is(.g-btn,.bg-primary,button.bg-slate-700,button.bg-slate-800){background:linear-gradient(125deg,#14B8A6,#0EA5E9)!important;color:#fff!important;box-shadow:0 6px 22px #0ea5e929!important}
html body#mf-creative-app.mf-google-ui :is(.g-btn-soft,.g-searchbar,.mf-pill-composer){background:#19263C!important;color:#E8EEF8!important;border-color:#22304A!important}
html body#mf-creative-app.mf-google-ui input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),html body#mf-creative-app.mf-google-ui textarea,html body#mf-creative-app.mf-google-ui select,html body#mf-creative-app.mf-google-ui [contenteditable=true]{background:#0F1829!important;color:#E8EEF8!important;-webkit-text-fill-color:#E8EEF8!important;caret-color:#5EEAD4!important;border-color:#2B3B56!important}
html body#mf-creative-app.mf-google-ui input:focus,html body#mf-creative-app.mf-google-ui textarea:focus,html body#mf-creative-app.mf-google-ui select:focus{border-color:#14B8A6!important;box-shadow:0 0 0 3px #14b8a620!important}
html body#mf-creative-app.mf-google-ui svg:not(.mf-keep-style){color:inherit}
html body#mf-creative-app.mf-google-ui :is(.mf-chat-header,.mofeed-actions-bar,.mofeed-topbar-icons) svg{color:#E8EEF8!important;stroke:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui .mf-chat-header :is(h1,button,svg){color:#E8EEF8!important;-webkit-text-fill-color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui :is(.mf-profile-light,.mf-fullscreen-layer,.mf-fullscreen-layer:after,.mf-profile-light section,.mf-profile-light header){background:#141C2E!important;color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher :is(h1,h2,p,a,span,button){-webkit-text-fill-color:currentColor}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-launch-title{color:#E8EEF8!important;font-size:30px!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-launch-eyebrow{color:#5EEAD4!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-launch-subtitle{color:#8A9BB8!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-card{width:100%!important;min-height:0!important;height:auto!important;display:flex!important;flex-direction:row!important;border-radius:20px!important;padding:14px!important;background:linear-gradient(120deg,#162A37,#152138)!important;border:1px solid #23424D!important;font-size:13px!important;color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-ring{width:43px!important;height:43px!important;flex:0 0 43px!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-ring svg{width:43px!important;height:43px!important;stroke:initial!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-ring circle{stroke-width:3!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-ring .mf-ring-track{stroke:#2B3B50!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-ring .mf-ring-fill{stroke:#14B8A6!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-card>svg{width:17px!important;height:17px!important;flex:0 0 17px!important;color:#5EEAD4!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-save-copy{display:block!important;flex:1!important;color:#E8EEF8!important;min-width:0!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-app-tile{color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-app-icon svg{width:31px!important;height:31px!important;color:white!important;stroke:white!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-brand-mark svg{width:25px!important;height:25px!important;color:white!important;stroke:white!important}
html body#mf-creative-app.mf-google-ui .mf-offline-launcher .mf-launch-close svg{width:18px!important;height:18px!important;color:#B6C5DC!important;stroke:#B6C5DC!important}
html body#mf-creative-app.mf-google-ui .mf-launch-nav :is(a,button){color:#8A9BB8!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app.mf-google-ui .mf-launch-nav .is-active{color:#5EEAD4!important}
html body#mf-creative-app.mf-google-ui .mf-launch-nav svg{width:21px!important;height:21px!important;color:inherit!important;stroke:currentColor!important}
html body#mf-creative-app.mf-google-ui #mf-save-panel{background:#050a15bb!important;border:none!important;border-radius:0!important;box-shadow:none!important}
html body#mf-creative-app.mf-google-ui #mf-save-panel:before{display:none!important}
html body#mf-creative-app.mf-google-ui #mf-save-panel .mf-sheet{color:#E8EEF8!important}
html body#mf-creative-app.mf-google-ui #mf-save-panel :is(h2,p,button){-webkit-text-fill-color:currentColor!important}

/* Service tiles across the app, plus legacy header icon surfaces. */
html body#mf-creative-app .mf-member-menu{background:#18263D!important;border:1px solid #2A3B56!important;color:#E8EEF8!important}
html body#mf-creative-app .mf-member-menu svg{color:#E8EEF8!important;stroke:#E8EEF8!important}
html body#mf-creative-app :is(.mf-service-header,.mf-chat-header) svg{color:#E8EEF8!important;stroke:currentColor!important}
html body#mf-creative-app .mf-chat-home button[class*="shadow-lg"]{background:linear-gradient(125deg,#14B8A6,#0EA5E9)!important;border-radius:999px!important;box-shadow:0 8px 22px #14b8a622!important}
html body#mf-creative-app .mf-chat-home [class*="w-20"][class*="h-20"]{background:linear-gradient(140deg,#14B8A6,#0EA5E9)!important;color:#fff!important;box-shadow:0 15px 32px #0ea5e930}
html body#mf-creative-app .mf-chat-home [class*="w-20"][class*="h-20"] svg{color:#fff!important;stroke:#fff!important}
html body#mf-creative-app :is(.mf-light-surface,.mf-solid-panel) .grid button [class*="h-9"][class*="w-9"]{background:linear-gradient(145deg,#0EA5E9,#2563EB)!important;border:1px solid #ffffff22!important;border-radius:13px!important;box-shadow:0 5px 12px #0002}
html body#mf-creative-app :is(.mf-light-surface,.mf-solid-panel) .grid button:nth-child(4n+2) [class*="h-9"][class*="w-9"]{background:linear-gradient(145deg,#14B8A6,#0F7E8B)!important}
html body#mf-creative-app :is(.mf-light-surface,.mf-solid-panel) .grid button:nth-child(4n+3) [class*="h-9"][class*="w-9"]{background:linear-gradient(145deg,#8B5CF6,#5B3BD6)!important}
html body#mf-creative-app :is(.mf-light-surface,.mf-solid-panel) .grid button:nth-child(4n) [class*="h-9"][class*="w-9"]{background:linear-gradient(145deg,#F5B942,#DB7B28)!important}
html body#mf-creative-app [role=menuitem] svg{background:linear-gradient(145deg,#14B8A6,#0EA5E9);color:white!important;stroke:white!important;padding:6px;box-sizing:content-box;border-radius:11px}
html body#mf-creative-app [role=menuitem]:nth-child(3n+2) svg{background:linear-gradient(145deg,#8B5CF6,#5B3BD6)}
html body#mf-creative-app [role=menuitem]:nth-child(3n) svg{background:linear-gradient(145deg,#F5B942,#DB7B28)}
html body#mf-creative-app main.bg-slate-900{background:radial-gradient(ellipse at 85% 15%,#14b8a61a,transparent 45%),linear-gradient(160deg,#0B1220,#0F1A2E)!important}
html body#mf-creative-app main.bg-slate-900 section.bg-slate-900{background:transparent!important}
html body#mf-creative-app main.bg-slate-900 img{filter:brightness(0) invert(1);opacity:.95}
html body#mf-creative-app main.bg-slate-900 button[type=submit]{background:linear-gradient(125deg,#14B8A6,#0EA5E9)!important;box-shadow:0 8px 25px #14b8a622!important}
html body#mf-creative-app main.bg-slate-900 input::placeholder{color:#8A9BB8!important;-webkit-text-fill-color:#8A9BB8!important}

body#mf-creative-app .mf-calc-tile span:last-child,body .mf-calc-tile span:last-child{font-size:11.5px!important;line-height:15px!important;font-weight:800!important}
body#mf-creative-app .mf-calc-tile span:first-child{font-size:22px!important}

/* v136 readability repair — CSS only. Scoped to the opt-in Creative Night body.
   The shipped legacy/chat styles use !important color AND -webkit-text-fill-color;
   both must be overridden. No image/map/canvas contents are recolored. */
html body#mf-creative-app,
html body#mf-creative-app.mf-google-ui {
  --mf-text:#F1F5F9;
  --mf-muted:#94A3B8;
  --g-text:#F1F5F9;
  --g-text-soft:#CBD5E1;
  --foreground:210 40% 96%;
  --card-foreground:210 40% 96%;
  --muted-foreground:215 20% 65%;
  --chat-ink:210 40% 96%;
  --chat-muted:215 20% 65%;
  --mofeed-composer-text:210 40% 96%;
  --mofeed-composer-bg:222 47% 11%;
  color:#F1F5F9!important;
}
html body#mf-creative-app :is(#root,.mf-outdoor,.mf-fullscreen-layer,.mf-chat-shell,.mf-light-surface,.mf-solid-panel) {
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
}
/* Legacy semantic text has explicit #111 even without a Tailwind text class. */
html body#mf-creative-app :is(h1,h2,h3,h4,h5,h6,b,strong,label,legend,summary,dt,th,caption) {
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is(p,li,dd,td,blockquote,figcaption) {
  color:#CBD5E1!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is(a,small,time,code,kbd) {
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is(.prose,.markdown-body) {
  --tw-prose-body:#CBD5E1;
  --tw-prose-headings:#F1F5F9;
  --tw-prose-lead:#CBD5E1;
  --tw-prose-links:#5EEAD4;
  --tw-prose-bold:#F1F5F9;
  --tw-prose-counters:#94A3B8;
  --tw-prose-bullets:#94A3B8;
  --tw-prose-quotes:#F1F5F9;
  --tw-prose-code:#E2E8F0;
  --tw-prose-captions:#94A3B8;
  color:#CBD5E1!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is([class*="text-black"],[class*="text-slate-"],[class*="text-gray-"],[class*="text-zinc-"],[class*="text-neutral-"],[class*="text-stone-"],[class*="text-[#111"],[class*="text-[#000"]) {
  color:#CBD5E1!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is([class*="text-black"],[class*="text-slate-7"],[class*="text-slate-8"],[class*="text-slate-9"],[class*="text-gray-7"],[class*="text-gray-8"],[class*="text-gray-9"],[class*="text-zinc-7"],[class*="text-zinc-8"],[class*="text-zinc-9"],[class*="text-neutral-7"],[class*="text-neutral-8"],[class*="text-neutral-9"],[class*="text-stone-7"],[class*="text-stone-8"],[class*="text-stone-9"]) {
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is(.text-muted-foreground,[class*="text-slate-4"],[class*="text-slate-5"],[class*="text-gray-4"],[class*="text-gray-5"],[class*="text-zinc-4"],[class*="text-zinc-5"],[class*="text-neutral-4"],[class*="text-neutral-5"],.mf-brand-caption,.mf-launch-subtitle,.mf-tile-soon,.mf-launch-footnote) {
  color:#94A3B8!important;
  -webkit-text-fill-color:currentColor!important;
}
/* Common dark inline inks; leave unrelated colored inline annotations intact. */
html body#mf-creative-app :is([style*="color: rgb(0, 0, 0)"],[style*="color: rgb(17, 17, 17)"],[style*="color:rgb(17,17,17)"],[style*="color: rgb(20, 20, 20)"],[style*="color: rgb(15, 23, 42)"],[style*="color: rgb(23, 35, 51)"],[style*="color: rgb(31, 41, 55)"],[style*="color: rgb(51, 65, 85)"],[style*="color: rgb(55, 65, 81)"],[style*="color:#111"],[style*="color: #111"],[style*="color:#000"],[style*="color: #000"]) {
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
}
/* Keep status badges recognizable, using light accent inks on dark tinted cards. */
html body#mf-creative-app :is([class*="text-emerald-"],[class*="text-green-"],[class*="text-teal-"]) {color:#5EEAD4!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is([class*="text-red-"],[class*="text-rose-"],.text-destructive,.mf-error) {color:#FDA4AF!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is([class*="text-amber-"],[class*="text-yellow-"],[class*="text-orange-"]) {color:#FCD34D!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is([class*="text-blue-"],[class*="text-sky-"],[class*="text-indigo-"]) {color:#7DD3FC!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is([class*="text-purple-"],[class*="text-violet-"]) {color:#C4B5FD!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is(.bg-destructive,button.bg-red-500,a.bg-red-500) {background:#9F1239!important;color:#F1F5F9!important;-webkit-text-fill-color:currentColor!important}
html body#mf-creative-app :is(.bg-primary,.g-btn,button.bg-slate-700,button.bg-slate-800,button.bg-blue-600) {background:linear-gradient(125deg,#0F766E,#0369A1)!important;color:#F1F5F9!important;-webkit-text-fill-color:currentColor!important}
/* Chat text must win against descendant variants such as [&_*]:!text-black. */
html body#mf-creative-app .mf-chat-home :is([data-mofeed-msg],.mf-chat-bubble,.mofeed-msg-bubble,.prose,.markdown-body),
html body#mf-creative-app .mf-chat-home :is([data-mofeed-msg],.mf-chat-bubble,.mofeed-msg-bubble,.prose,.markdown-body) :is(p,span,div,b,strong,em,i,a,li,ul,ol,blockquote,h1,h2,h3,h4,h5,h6,td,th,code,pre) {
  color:#F1F5F9!important;
  -webkit-text-fill-color:#F1F5F9!important;
}
/* Replace both the inline white pill and the Tailwind light action bar. */
html body#mf-creative-app .mofeed-actions-bar {
  background:rgba(255,255,255,.08)!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#E2E8F0!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:0 4px 14px rgba(0,0,0,.18)!important;
}
html body#mf-creative-app .mofeed-actions-bar :is(button,span,svg),
html body#mf-creative-app .mf-chat-home .mofeed-actions-bar :is(button,span,svg) {
  color:#E2E8F0!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
}
html body#mf-creative-app .mofeed-actions-bar button {background:transparent!important;box-shadow:none!important}
html body#mf-creative-app .mofeed-actions-bar svg,
html body#mf-creative-app .mofeed-actions-bar svg * {stroke:currentColor!important;filter:none!important}
html body#mf-creative-app .mofeed-actions-bar button:hover {background:rgba(255,255,255,.08)!important}
html body#mf-creative-app .mofeed-actions-bar :is(button:active,button[aria-pressed="true"],button[data-state="on"],button.is-active),
html body#mf-creative-app .mofeed-actions-bar :is(button:active,button[aria-pressed="true"],button[data-state="on"],button.is-active) :is(svg,span),
html body#mf-creative-app .mf-chat-home .mofeed-actions-bar svg.fill-current {
  color:#2DD4BF!important;
  -webkit-text-fill-color:currentColor!important;
}
/* Dark composer shell, dark editable field, legible placeholder (including iOS). */
html body#mf-creative-app :is(.mofeed-chat-composer-field,.mf-composer-field,.mf-pill-composer),
html body#mf-creative-app.mf-google-ui :is(.mofeed-chat-composer-field,.mf-composer-field,.mf-pill-composer) {
  background:#0F172A!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.14)!important;
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
  color-scheme:dark!important;
}
html body#mf-creative-app :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),textarea,select,[contenteditable="true"]),
html body#mf-creative-app .mf-chat-home :is(.mofeed-chat-composer-field,.mf-composer-field,.mf-pill-composer) :is(input,textarea,[contenteditable="true"]) {
  background:#0F172A!important;
  color:#F1F5F9!important;
  -webkit-text-fill-color:#F1F5F9!important;
  border-color:rgba(255,255,255,.14)!important;
  caret-color:#2DD4BF!important;
  color-scheme:dark!important;
}
html body#mf-creative-app :is(input,textarea)::placeholder,
html body#mf-creative-app .mf-chat-home :is(input,textarea)::placeholder {
  color:#94A3B8!important;
  -webkit-text-fill-color:#94A3B8!important;
  opacity:1!important;
}
html body#mf-creative-app :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer,.mofeed-topbar-icons) :is(button,svg),
html body#mf-creative-app .mf-chat-home :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer) :is(button,svg) {
  color:#E2E8F0!important;
  -webkit-text-fill-color:currentColor!important;
}
html body#mf-creative-app :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer,.mofeed-topbar-icons) svg,
html body#mf-creative-app .mf-chat-home :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer) svg * {stroke:currentColor!important}
/* Disabled SOS controls remain visibly disabled without dimming text below AA. */
html body#mf-creative-app a.bg-destructive.opacity-50 {opacity:.85!important}
/* Undo the old night-theme photo inversion; leave image layout/transforms untouched. */
html body#mf-creative-app main.bg-slate-900 img {filter:none!important;opacity:1!important}

/* Scientific sources, image credits and map attribution inherit a readable link ink. */
html body#mf-creative-app a.underline {
  color:#5EEAD4!important;
  -webkit-text-fill-color:currentColor!important;
}

/* Some legacy chat rules color every descendant, including SVG paths, #141414.
   Resolve currentColor on the geometry itself, not only on its parent SVG. */
html body#mf-creative-app.mf-google-ui .mf-chat-home :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer,.mofeed-actions-bar) svg *,
html body#mf-creative-app .mf-chat-home :is(.mofeed-chat-composer,.mf-composer-field,.mf-pill-composer,.mofeed-actions-bar) svg * {
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  stroke:currentColor!important;
}
html body#mf-creative-app.mf-google-ui .mofeed-actions-bar svg,
html body#mf-creative-app.mf-google-ui .mofeed-actions-bar svg * {
  stroke:currentColor!important;
}

/* Override the higher-specificity Google-UI primary gradient too: white labels
   need a darker teal/blue surface than the original bright decorative gradient. */
html body#mf-creative-app.mf-google-ui :is(.bg-primary,.g-btn,button.bg-slate-700,button.bg-slate-800,button.bg-blue-600) {
  background:linear-gradient(125deg,#0F766E,#0369A1)!important;
  color:#F1F5F9!important;
  -webkit-text-fill-color:currentColor!important;
}
