/* One visual language, layered over the existing Nexus lighting engine. */
body.lux-unified-ui #corals-nexus-app {
 --lux-shell-accent:var(--cn-light-color,#6b4ea0);--lux-shell-edge:color-mix(in srgb,var(--lux-shell-accent) 65%,white);
 --lux-shell-ink:#f7f5f8;--lux-shell-muted:#cbd1da;--lux-shell-line:rgba(215,226,238,.25);
 --lux-shell-base:#0c1017;--lux-shell-panel:#2b333c;--lux-shell-control:#36414d;
 --lux-shell-spot:radial-gradient(ellipse 48% 150% at 40% -25%,rgba(255,255,255,.30),rgba(255,255,255,.10) 40%,transparent 75%);
 --lux-shell-glass:linear-gradient(135deg,rgba(255,255,255,.08),color-mix(in srgb,var(--lux-shell-accent) 9%,transparent)),linear-gradient(var(--lux-shell-panel),var(--lux-shell-panel));
 --lux-shell-glow:inset 0 1px 0 rgba(255,255,255,.4),0 0 2px 1px color-mix(in srgb,var(--lux-shell-edge) 55%,transparent),0 0 30px color-mix(in srgb,var(--lux-shell-accent) 40%,transparent),0 24px 70px rgba(0,0,0,.35);
}
html.cn-theme-light body.lux-unified-ui #corals-nexus-app,
body.lux-unified-ui #corals-nexus-app[data-lighting=sun]{--lux-shell-ink:#171d26;--lux-shell-muted:#384451;--lux-shell-line:rgba(32,45,61,.28);--lux-shell-base:#929ca6;--lux-shell-panel:#c2cbd4;--lux-shell-control:#e0e5eb}
.lux-shop-loading.lux-popup-load-slow{padding:24px;text-align:center;font-size:17px;letter-spacing:0;text-transform:none}
.lux-shop-loading.lux-popup-load-slow:before{display:none}
.lux-popup-load-slow p{margin:0 0 10px;color:inherit}
.lux-popup-recovery-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.lux-popup-recovery-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid rgba(255,255,255,.55);border-radius:22px;background:rgba(255,255,255,.1);color:#fff;font:inherit;text-decoration:none;cursor:pointer}
.lux-popup-recovery-actions :is(button,a):is(:hover,:focus-visible){background:rgba(255,255,255,.22);outline:2px solid var(--lux-popup-accent);outline-offset:3px}
html:not(.lux-shop-frame-mode):has(body.lux-unified-ui){background:#07090f!important}
body.lux-unified-ui:not(.home){background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--cn-light-color,#6b4ea0) 22%,transparent),transparent 48%),#07090f!important}
/* The accepted homepage already has this shell. Extend it to standalone pages. */
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-app{
 box-sizing:border-box;width:calc(100% - 32px);max-width:1540px;min-height:calc(100svh - 64px);margin:16px auto;padding:0!important;
 border:1px solid var(--lux-shell-edge)!important;border-radius:28px!important;color:var(--lux-shell-ink)!important;
 background-image:linear-gradient(145deg,rgba(255,255,255,.14),transparent 30%,color-mix(in srgb,var(--lux-shell-accent) 10%,transparent)),linear-gradient(var(--lux-shell-base),var(--lux-shell-base))!important;box-shadow:var(--lux-shell-glow)!important;
}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-app>.cn-brandbar{
 box-sizing:border-box;width:100%;margin:0!important;min-height:78px;padding:14px 24px!important;border:0!important;border-bottom:1px solid color-mix(in srgb,var(--lux-shell-edge) 45%,transparent)!important;border-radius:28px 28px 0 0!important;
 background:var(--lux-shell-spot),linear-gradient(90deg,color-mix(in srgb,var(--lux-shell-accent) 24%,transparent),rgba(255,255,255,.05) 52%,color-mix(in srgb,var(--lux-shell-accent) 10%,transparent))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)!important;
}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app>main.cn-content{
 box-sizing:border-box;width:calc(100% - 24px);max-width:none;min-width:0;margin:12px;padding:clamp(16px,3vw,36px);border:1px solid color-mix(in srgb,var(--lux-shell-edge) 50%,var(--lux-shell-line));border-radius:22px;
 color:var(--lux-shell-ink)!important;background:var(--lux-shell-spot),var(--lux-shell-glass)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 0 16px color-mix(in srgb,var(--lux-shell-accent) 20%,transparent);
}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app main :is(.lux-education-guide,.lux-shopify-products,.lux-nexus-product,.glass-card){
 color:var(--lux-shell-ink)!important;background:transparent!important;box-shadow:none!important;
}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app main :is(h1,h2,h3,h4,p,li,strong,label){color:var(--lux-shell-ink)}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app main a:not(.button){color:color-mix(in srgb,var(--lux-shell-accent) 25%,var(--lux-shell-ink))}
html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app .lux-nexus-product{margin:0 auto!important;padding:0!important}
/* Nexus panels gain the same gray glass; status/gauge colors are not overridden. */
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app :is(.cn-tabs,.cn-panel,.cn-card,.cn-kpi,.cn-dashboard-collapsible,.cn-dashboard-lower-panel,.cn-task-section,.cn-people-module,.cn-development-module,.cn-theme-editor,.cn-theme-section,.cn-detail,.cn-modal){
 background:var(--lux-shell-glass)!important;border-color:color-mix(in srgb,var(--cn-module-color,var(--lux-shell-accent)) 46%,var(--lux-shell-line))!important;color:var(--lux-shell-ink)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 28px rgba(0,0,0,.16)!important;border-radius:20px!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app>.cn-tabs{margin:16px!important;padding:16px!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog{
 --lux-shell-accent:var(--cn-module-color,var(--cn-light-color));border:1px solid var(--lux-shell-edge)!important;border-radius:28px!important;padding:0!important;box-shadow:var(--lux-shell-glow)!important;overflow:hidden;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-header{
 margin:0!important;padding:20px 26px!important;background:var(--lux-shell-spot),linear-gradient(90deg,color-mix(in srgb,var(--cn-module-color) 24%,transparent),rgba(255,255,255,.06) 52%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--cn-module-color) 45%,transparent)!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-body{padding:14px!important;min-height:0}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-body>.cn-panel{padding:20px!important;background:var(--lux-shell-spot),var(--lux-shell-glass)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app :is(input:not([type=color]):not([type=checkbox]):not([type=radio]),select,textarea){background:var(--lux-shell-control)!important;color:var(--lux-shell-ink)!important;border-color:var(--lux-shell-line)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app[data-lighting=sun]{--cn-engine-text:#171d26;--cn-text:#171d26;--cn-engine-muted:#384451;--cn-muted:#384451}
/* A permanent top-layer control also survives native modal dialogs. */
body.lux-menu-ready .cn-storefront-nav{display:none!important}
body.lux-menu-ready #corals-nexus-app.cn-app>.cn-brandbar{padding-right:128px!important}
#lux-site-menu#lux-site-menu{
 --lux-shell-accent:#6b4ea0;--lux-menu-ink:#f7f5f8;--lux-menu-muted:#cbd1da;--lux-menu-surface:#303941;--lux-menu-border:rgba(224,231,238,.3);
 position:fixed!important;inset:var(--lux-menu-top,12px) 14px auto auto!important;z-index:2147483647!important;width:auto!important;max-width:calc(100vw - 28px)!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;color:var(--lux-menu-ink)!important;font:500 15px/1.4 ui-sans-serif,system-ui,-apple-system,sans-serif;isolation:isolate;text-align:left;
}
#lux-site-menu#lux-site-menu[data-lighting=sun]{--lux-menu-ink:#171d26;--lux-menu-muted:#3b4755;--lux-menu-surface:#d2d9e1;--lux-menu-border:rgba(30,42,56,.3)}
#lux-site-menu#lux-site-menu::backdrop{background:transparent;pointer-events:none}
#lux-site-menu#lux-site-menu *{box-sizing:border-box}
#lux-site-menu#lux-site-menu [hidden]{display:none!important}
#lux-site-menu#lux-site-menu :is(button,a){font:600 14px/1.35 ui-sans-serif,system-ui,-apple-system,sans-serif!important;text-transform:none!important;letter-spacing:normal!important;color:var(--lux-menu-ink)!important;text-shadow:none!important;text-decoration:none!important;cursor:pointer;min-height:42px;transition:background .18s,border-color .18s,box-shadow .18s}
#lux-site-menu#lux-site-menu .lux-menu-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;margin:0 0 0 auto;padding:10px 18px;border:1px solid color-mix(in srgb,var(--lux-shell-accent) 55%,white)!important;border-radius:999px;background:radial-gradient(ellipse at 36% 0,rgba(255,255,255,.28),transparent 65%),var(--lux-menu-surface)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 0 22px color-mix(in srgb,var(--lux-shell-accent) 45%,transparent),0 8px 24px rgba(0,0,0,.3)!important}
#lux-site-menu .lux-menu-icon{width:15px;display:grid;gap:3px}
#lux-site-menu .lux-menu-icon i{height:1.5px;border-radius:2px;background:currentColor}
#lux-site-menu#lux-site-menu #lux-site-menu-panel{
 position:absolute;right:0;top:56px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:340px;max-width:calc(100vw - 28px);max-height:calc(100dvh - var(--lux-menu-top,12px) - 72px);overflow:auto;overscroll-behavior:contain;padding:18px;border:1px solid color-mix(in srgb,var(--lux-shell-accent) 55%,white);border-radius:22px;background:radial-gradient(ellipse 90% 40% at 35% 0,rgba(255,255,255,.14),transparent),var(--lux-menu-surface);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 24px color-mix(in srgb,var(--lux-shell-accent) 35%,transparent),0 20px 65px rgba(0,0,0,.5);scrollbar-width:thin;scrollbar-color:var(--lux-menu-muted) transparent;
}
#lux-site-menu#lux-site-menu :is(.lux-menu-eyebrow,.lux-menu-group){grid-column:1/-1;margin:0 0 5px;padding:0;color:var(--lux-menu-muted)!important;font:700 10px/1.5 ui-sans-serif,system-ui!important;letter-spacing:.15em!important}
#lux-site-menu#lux-site-menu .lux-menu-group{margin:12px 0 3px}
#lux-site-menu#lux-site-menu #lux-site-menu-panel :is(a,button){display:flex;align-items:center;width:100%;margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--lux-item-color,var(--lux-shell-accent)) 50%,var(--lux-menu-border));border-radius:12px;background:color-mix(in srgb,var(--lux-item-color,var(--lux-shell-accent)) 13%,transparent)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;text-align:left}
#lux-site-menu#lux-site-menu :is(button,a):hover{background:color-mix(in srgb,var(--lux-item-color,var(--lux-shell-accent)) 28%,var(--lux-menu-surface))!important;box-shadow:0 0 14px color-mix(in srgb,var(--lux-item-color,var(--lux-shell-accent)) 25%,transparent)!important}
#lux-site-menu#lux-site-menu :is(button,a):focus-visible{outline:3px solid color-mix(in srgb,var(--lux-shell-accent) 35%,white)!important;outline-offset:3px}
/* Leave a clear lane for the persistent menu and the popup close controls. */
body.lux-menu-ready .lux-shop-modal{padding-top:var(--lux-menu-space,70px)!important}
body.lux-menu-ready .lux-shop-shell{height:min(930px,calc(100dvh - var(--lux-menu-space,70px) - 12px))!important}
body.lux-menu-ready dialog.lux-care-list-dialog{top:var(--lux-menu-space,70px);bottom:12px;margin:auto;height:min(930px,calc(100dvh - var(--lux-menu-space,70px) - 12px));max-height:calc(100dvh - var(--lux-menu-space,70px) - 12px)}
body.lux-menu-ready #corals-nexus-app .cn-module-backdrop{padding-top:var(--lux-menu-space,70px)!important;padding-bottom:12px!important}
body.lux-menu-ready #corals-nexus-app .cn-module-dialog{max-height:calc(100dvh - var(--lux-menu-space,70px) - 12px)!important}
@media(max-width:767px){
 html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-app{width:calc(100% - 12px);margin:6px auto;border-radius:20px!important}
 html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-app>.cn-brandbar{border-radius:20px 20px 0 0!important;padding:12px!important}
 body.lux-menu-ready #corals-nexus-app.cn-app>.cn-brandbar{padding-right:112px!important}
 html:not(.lux-shop-frame-mode) body.lux-unified-ui:not(.home) #corals-nexus-app.cn-public-app>main.cn-content{width:calc(100% - 12px);margin:6px;padding:14px;border-radius:16px}
 body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-header{padding:16px!important}
 body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-body>.cn-panel{padding:12px!important}
 #lux-site-menu#lux-site-menu{right:10px!important;max-width:calc(100vw - 20px)!important}
 #lux-site-menu#lux-site-menu .lux-menu-button{padding:10px 14px}
}
@media(prefers-reduced-motion:reduce){#lux-site-menu#lux-site-menu *{transition:none!important}}

/* Cover the theme's inline base color without altering its engine value. */
body.lux-unified-ui.toplevel_page_corals-nexus.coralsnexus-active-theme :is(#wpcontent,#wpbody-content){background-image:linear-gradient(#07090f,#07090f)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog{
 --lux-shell-edge:color-mix(in srgb,var(--cn-module-color) 65%,white);
 background:linear-gradient(145deg,rgba(255,255,255,.14),transparent 35%),linear-gradient(var(--lux-shell-base),var(--lux-shell-base))!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-header{color:var(--lux-shell-ink)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-header :is(h3,p,.cn-eyebrow){color:var(--lux-shell-ink)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog-body>.cn-panel{background:var(--lux-shell-spot),var(--lux-shell-glass)!important}

body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-backdrop{padding-left:20px!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-module-dialog{width:min(1480px,100%)!important;max-width:100%!important;min-width:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 0 2px 1px color-mix(in srgb,var(--cn-module-color) 55%,transparent),0 0 30px color-mix(in srgb,var(--cn-module-color) 40%,transparent),0 24px 70px rgba(0,0,0,.35)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .notice{background:var(--lux-shell-control)!important;color:var(--lux-shell-ink)!important;border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .notice :is(p,strong,a){color:var(--lux-shell-ink)!important}

/* Elevate the isolated Nexus app while a popup is open so its viewport
   backdrop covers the WordPress sidebar. The WP toolbar remains above it. */
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app:has(.cn-modal-backdrop){z-index:10000!important}

/* Reserve the same measured Menu lane for module, coral-record, and nested
   settings windows. Border-box keeps padding within the viewport. */
body.lux-menu-ready.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-modal-backdrop{
 box-sizing:border-box!important;padding-top:var(--lux-menu-space,100px)!important;padding-bottom:12px!important;
}
body.lux-menu-ready.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app.cn-app .cn-modal-backdrop>.cn-modal{
 box-sizing:border-box!important;max-height:calc(100dvh - var(--lux-menu-space,100px) - 12px)!important;max-width:100%!important;margin-top:0!important;margin-bottom:0!important;
}

/* Inventory editors are attached directly to body, outside the app shell. */
body.lux-menu-ready.toplevel_page_corals-nexus.coralsnexus-active-theme>.cn-modal-backdrop{
 box-sizing:border-box!important;padding-top:var(--lux-menu-space,100px)!important;padding-bottom:12px!important;
}
body.lux-menu-ready.toplevel_page_corals-nexus.coralsnexus-active-theme>.cn-modal-backdrop>.cn-modal{
 box-sizing:border-box!important;max-height:calc(100dvh - var(--lux-menu-space,100px) - 12px)!important;max-width:100%!important;margin-top:0!important;margin-bottom:0!important;
}

/* Native select menus need an explicit scheme and solid option colors,
   including record editors mounted directly beneath body. */
body.lux-unified-ui.toplevel_page_corals-nexus{
 --lux-nexus-select-scheme:dark;--lux-nexus-select-ink:#f7f5f8;--lux-nexus-select-surface:#28313b;
}
html.cn-theme-light body.lux-unified-ui.toplevel_page_corals-nexus,
body.lux-unified-ui.toplevel_page_corals-nexus.cn-theme-light,
body.lux-unified-ui.toplevel_page_corals-nexus:has(#corals-nexus-app[data-lighting=sun]){
 --lux-nexus-select-scheme:light;--lux-nexus-select-ink:#171d26;--lux-nexus-select-surface:#e0e5eb;
}
body.lux-unified-ui.toplevel_page_corals-nexus :is(#corals-nexus-app#corals-nexus-app.cn-app,.cn-modal-backdrop) :is(select,option,optgroup){
 color-scheme:var(--lux-nexus-select-scheme)!important;
 color:var(--lux-nexus-select-ink)!important;
 background-color:var(--lux-nexus-select-surface)!important;
 text-shadow:none!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus>.cn-modal-backdrop>.cn-modal :is(h1,h2,h3,h4){
 color:var(--lux-nexus-select-ink)!important;
}

/* Catalog is the entry workspace; Inventory is a compact view of the same LC records. */
#cn-catalog-workspace [hidden]{display:none!important}
#cn-catalog-workspace .cn-catalog-view-switch{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}
#cn-catalog-workspace .cn-catalog-view-switch button[aria-pressed="true"]{border-color:var(--cn-module-color,#9bbacf);box-shadow:0 0 18px color-mix(in srgb,var(--cn-module-color,#9bbacf) 24%,transparent);background:color-mix(in srgb,var(--cn-module-color,#9bbacf) 24%,var(--cn-surface,#252b33))}
#cn-catalog-workspace #cn-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;align-items:stretch}
#cn-catalog-workspace #cn-list>.cn-empty-state{grid-column:1/-1}
#cn-catalog-workspace .cn-inventory-select-card{min-width:0;height:100%}
#cn-catalog-workspace .cn-inventory-card{display:flex!important;flex-direction:column;align-items:stretch;text-align:left;width:100%;height:100%;min-width:0;gap:14px;padding:14px;border-radius:24px}
#cn-catalog-workspace .cn-inventory-photo{display:flex;width:100%!important;height:200px!important;min-width:0;border-radius:18px;overflow:hidden;align-items:center;justify-content:center;background:rgba(0,0,0,.19)}
#cn-catalog-workspace .cn-inventory-photo img{width:100%;height:100%;object-fit:contain;display:block}
#cn-catalog-workspace .cn-inventory-photo-placeholder{font-size:15px;opacity:.7}
#cn-catalog-workspace .cn-inventory-card-body{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%}
#cn-catalog-workspace .cn-inventory-card-title{display:flex;flex-direction:column;align-items:flex-start;gap:6px;white-space:normal}
#cn-catalog-workspace .cn-inventory-card-title strong{font-size:20px;line-height:1.3;overflow-wrap:anywhere}
#cn-catalog-workspace .cn-inventory-card-title em{font-size:14px}
#cn-catalog-workspace .cn-meta-chips{justify-content:flex-start;flex-wrap:wrap;gap:6px}
#cn-catalog-workspace .cn-meta-chips>span{font-size:12px;padding:5px 8px;white-space:normal}
#cn-catalog-workspace .cn-inventory-value{margin-top:auto;text-align:left;font-size:17px}
#cn-catalog-workspace .cn-inventory-transfer-check{z-index:2}
#cn-catalog-workspace .cn-inventory-toolbar{flex-wrap:wrap}
#cn-catalog-workspace .cn-inventory-toolbar select{flex:1 1 150px;min-width:0}
#cn-catalog-workspace .cn-inventory-toolbar .cn-search-field{flex:1 1 100%}
:is(#cn-stock-overview,#cn-growout-root) .cn-toolbar{display:flex;flex-wrap:wrap;gap:12px}
:is(#cn-stock-overview,#cn-growout-root) .cn-search-field{flex:1 1 220px}
:is(#cn-stock-overview,#cn-growout-root) .cn-search-field input{width:100%}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-rows{display:grid;gap:12px}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-row{display:grid;grid-template-columns:72px minmax(160px,1fr) minmax(100px,auto) auto;gap:16px;align-items:center;padding:16px;border:1px solid color-mix(in srgb,var(--cn-module-color,#9bbacf) 35%,transparent);border-radius:22px;background:color-mix(in srgb,var(--cn-module-color,#9bbacf) 8%,transparent)}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-thumb{width:72px;height:72px;display:flex;align-items:center;justify-content:center;border-radius:14px;overflow:hidden;background:rgba(0,0,0,.17);font-size:12px;text-align:center}
:is(#cn-stock-overview,#cn-growout-root) img{width:100%;height:100%;object-fit:contain}
:is(#cn-stock-overview,#cn-growout-root) small{display:block;margin-top:5px;opacity:.8}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-quantity strong{font-size:24px}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
:is(#cn-stock-overview,#cn-growout-root) .cn-stock-actions button{font-size:14px}
.cn-stock-modal{max-width:780px!important}
.cn-stock-modal .cn-inventory-form-grid{padding:24px}
@media(max-width:700px){
 #cn-catalog-workspace #cn-list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
 :is(#cn-stock-overview,#cn-growout-root) .cn-stock-row{grid-template-columns:56px minmax(0,1fr)}
 :is(#cn-stock-overview,#cn-growout-root) .cn-stock-thumb{width:56px;height:56px}
 :is(#cn-stock-overview,#cn-growout-root) .cn-stock-quantity{grid-column:2}
 :is(#cn-stock-overview,#cn-growout-root) .cn-stock-actions{grid-column:1/-1;justify-content:flex-start}
 #cn-catalog-workspace .cn-inventory-heading{flex-wrap:wrap}
}

#cn-catalog-workspace .cn-photo-credit{font-size:13px;line-height:1.5;margin:8px 14px 14px;color:inherit}#cn-catalog-workspace .cn-photo-credit a{color:inherit;text-decoration:underline}
#cn-catalog-workspace .cn-inventory-toolbar{position:static!important}
#cn-catalog-workspace .cn-inventory-select-card{display:flex;flex-direction:column;height:auto}
#cn-catalog-workspace .cn-inventory-card{height:auto;flex:1}
#cn-catalog-workspace .cn-photo-credit{flex:none}

/* Catalog reference captions and separated Grow-out workspace. */
#corals-nexus-app .cn-catalog-readiness{margin:0;padding:0 16px 14px;font-size:.8rem;line-height:1.5;color:var(--cn-muted,#b7c2ca)}
#corals-nexus-app #cn-growout-root .cn-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
#corals-nexus-app #cn-growout-root .cn-toolbar input{flex:1;min-width:180px}
#corals-nexus-app .cn-stock-row>div>small{display:block}
/* Longer color descriptions must wrap inside their Catalog card. */
#cn-catalog-workspace .cn-inventory-card-title,
#cn-catalog-workspace .cn-inventory-card-title strong,
#cn-catalog-workspace .cn-inventory-card-body>small{white-space:normal!important;min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
#cn-catalog-workspace .cn-inventory-card-title{width:100%;box-sizing:border-box}

/* Recoverable Catalog references */
.cn-trash-reference{display:flex;align-items:center;gap:20px;padding:20px;border:1px solid #657783;border-radius:20px;margin:12px 0;color:#f8fafc;background:#303943}
.cn-trash-reference img{width:90px;height:90px;object-fit:cover;border-radius:16px}
.cn-trash-reference div{flex:1;min-width:0}.cn-trash-reference h4,.cn-trash-reference p{margin:4px 0;color:inherit}
.cn-trash-reference button{flex-shrink:0}.cn-inventory-modal .cn-sticky-save-actions{flex-wrap:wrap}
@media(max-width:600px){.cn-trash-reference{flex-wrap:wrap}.cn-trash-reference button{width:100%}}
/* Vendor sourcing shares the site's dark glass and accent lighting. */
#cn-vendors-root .cn-vendor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:20px;margin-top:20px}
.cn-vendor-card,.cn-vendor-accounting-entry,.cn-vendor-setup{padding:24px;border:1px solid color-mix(in srgb,var(--cn-module-color,#74b5c5) 55%,transparent);border-radius:24px;background:radial-gradient(ellipse at 25% 0%,#ffffff17,transparent 58%),#ffffff07;box-shadow:inset 0 1px 0 #ffffff29,0 0 24px color-mix(in srgb,var(--cn-module-color,#74b5c5) 9%,transparent)}
.cn-vendor-card h3{margin:8px 0 20px!important;font-size:24px!important}.cn-vendor-card dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;margin:12px 0}.cn-vendor-card dt{opacity:.7}.cn-vendor-card dd{margin:0;overflow-wrap:anywhere}.cn-vendor-card p,.cn-vendor-card small{line-height:1.55}.cn-vendor-card footer,.cn-vendor-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.cn-vendor-link{display:inline-block;color:inherit!important;text-decoration:underline!important;text-underline-offset:4px;line-height:1.5}.cn-vendor-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:18px 0}.cn-vendor-toolbar label{display:grid;gap:7px;min-width:min(100%,230px)}.cn-vendor-toolbar select,.cn-vendor-toolbar input{max-width:100%;min-height:44px}.cn-vendor-toolbar select option{background:#242b32;color:#f5f6f8}.cn-vendor-toolbar #cn-catalog-vendor-links{flex:1;min-width:220px;line-height:1.6}.cn-vendor-caption{padding:0 20px 16px;line-height:1.6;margin:0;overflow-wrap:anywhere}.cn-vendor-text-button{font:inherit!important;padding:2px 8px!important;min-height:0!important}.cn-vendor-accounting-entry{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:24px}.cn-vendor-card{min-width:0}.cn-vendor-card button{white-space:normal!important}.cn-vendor-backdrop .cn-inventory-field textarea{min-height:90px}
@media(max-width:650px){.cn-vendor-accounting-entry{display:block}.cn-vendor-toolbar>*{width:100%}.cn-vendor-card{padding:18px}.cn-vendor-card dl{grid-template-columns:1fr;gap:4px}.cn-vendor-card dd{margin-bottom:10px}}


/* Dashboard's clear glass face, with separate rainbow edge lighting. */
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color],
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button{
 color:var(--lux-shell-ink,#f8f9fc)!important;background:rgba(255,255,255,.043)!important;
 border:1px solid color-mix(in srgb,var(--lux-module-button-color) 45%,rgba(255,255,255,.6))!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.82),inset 0 -1px 0 rgba(255,255,255,.14),0 9px 24px color-mix(in srgb,var(--lux-module-button-color) 22%,transparent)!important;
 transition:background .2s,border-color .2s,box-shadow .2s!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color]::before,
/* Center the Nex word's visible outline, compensating for its asymmetric side bearings. */
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button[data-brand="nexus"] .lux-brand-text{
 transform:translate(-.0195em,.0225em)!important;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button::before{background:linear-gradient(135deg,rgba(255,255,255,.30),rgba(255,255,255,.07) 58%,transparent 76%)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color]::after,
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button::after{background:var(--lux-module-button-color)!important;box-shadow:0 0 10px color-mix(in srgb,var(--lux-module-button-color) 60%,transparent)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color]:is(:hover,:focus-visible,[aria-pressed="true"]),
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button:is(:hover,:focus-visible,[aria-pressed="true"]){
 background:rgba(255,255,255,.11)!important;border-color:color-mix(in srgb,var(--lux-module-button-color) 58%,white)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.92),inset 0 -1px 0 rgba(255,255,255,.25),0 0 25px color-mix(in srgb,var(--lux-module-button-color) 42%,transparent)!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color]:focus-visible,
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button:focus-visible{outline:2px solid var(--lux-shell-ink,#fff)!important;outline-offset:4px}
#lux-site-menu#lux-site-menu #lux-site-menu-panel .lux-nexus-module-link{background:linear-gradient(135deg,#ffffff24,#ffffff09 58%,transparent 76%),rgba(255,255,255,.043)!important;border-color:color-mix(in srgb,var(--lux-item-color) 50%,var(--lux-menu-border))!important;box-shadow:inset 0 1px 0 #ffffff85,0 0 12px color-mix(in srgb,var(--lux-item-color) 18%,transparent)!important}
#lux-site-menu#lux-site-menu #lux-site-menu-panel .lux-nexus-module-link:is(:hover,:focus-visible){background:linear-gradient(135deg,#ffffff38,#ffffff12 58%,transparent 76%),rgba(255,255,255,.11)!important;box-shadow:inset 0 1px 0 #ffffffb0,0 0 20px color-mix(in srgb,var(--lux-item-color) 40%,transparent)!important}
@media(prefers-reduced-motion:reduce){body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app#corals-nexus-app .cn-module-launcher[data-module-button-color],
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button{transition:none!important}}

/* Recompute glass and edge lighting at each module so its rainbow accent
   remains consistent in the header, content, and nested record windows. */
body.lux-unified-ui.toplevel_page_corals-nexus .cn-modal[data-lux-module-accent]{
 --lux-shell-accent:var(--cn-module-color);
 --lux-shell-edge:color-mix(in srgb,var(--cn-module-color) 65%,white);
 --lux-shell-glass:linear-gradient(135deg,rgba(255,255,255,.08),color-mix(in srgb,var(--cn-module-color) 9%,transparent)),linear-gradient(var(--lux-shell-panel,#2b333c),var(--lux-shell-panel,#2b333c));
 --lux-shell-glow:inset 0 1px 0 rgba(255,255,255,.4),0 0 2px 1px color-mix(in srgb,var(--cn-module-color) 55%,transparent),0 0 30px color-mix(in srgb,var(--cn-module-color) 40%,transparent),0 24px 70px rgba(0,0,0,.35);
 border-color:var(--lux-shell-edge)!important;
}
body.lux-unified-ui.toplevel_page_corals-nexus .cn-modal[data-lux-module-accent]:not(.cn-module-dialog){box-shadow:var(--lux-shell-glow)!important}
body.lux-unified-ui.toplevel_page_corals-nexus .cn-modal[data-lux-module-accent]>header{
 border-bottom-color:color-mix(in srgb,var(--cn-module-color) 45%,transparent)!important;
}

/* Added modules also need identity tokens above the legacy engine fallback. */
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app :is([data-module-key="vendors"],[data-cn-module="vendors"]){--cn-module-color:var(--cn-module-vendors)!important}
body.lux-unified-ui.toplevel_page_corals-nexus #corals-nexus-app :is([data-module-key="grow-out"],[data-cn-module="grow-out"]){--cn-module-color:var(--cn-module-grow-out)!important}


/* Original Lux Flow display family; self-hosted native webfonts. */
@font-face{font-family:"Lux Flow";src:url("../fonts/LuxFlow-Regular.woff2?v=2cbb26334d6e") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Lux Flow";src:url("../fonts/LuxFlow-Bold.woff2?v=a57bd102f57b") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Lux Flow";src:url("../fonts/LuxFlow-Italic.woff2?v=3b247309b1cd") format("woff2");font-weight:400;font-style:italic;font-display:swap;}
@font-face{font-family:"Lux Flow Narrow";src:url("../fonts/LuxFlow-Narrow.woff2?v=4a661734aeba") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Lux Flow Script";src:url("../fonts/LuxFlow-Script.woff2?v=bfff4e429091") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Lux Flow Cursive";src:url("../fonts/LuxFlow-Cursive.woff2?v=b47ef6294a25") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
.lux-flow-cursive{font-family:"Lux Flow Cursive",cursive;letter-spacing:0;font-feature-settings:"calt" 1;font-synthesis:none;}
/* Native lettering etched into the glossy disc: all shading stays inside the glyph. */
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-text-brandmark{
 display:block!important;position:relative!important;box-sizing:border-box!important;
 width:112px!important;height:112px!important;min-width:112px!important;max-width:112px!important;flex:0 0 112px!important;
 margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:50%!important;
 box-shadow:none!important;filter:none!important;backdrop-filter:none!important;overflow:visible!important;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-text-brandmark::before,
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-text-brandmark::after{content:none!important}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button{
 --lux-brand-font:"Lux Flow",cursive;--lux-brand-weight:700;
 --lux-etch-ink:#b8c5d2;--lux-etch-opacity:.64;
 position:relative!important;display:grid!important;place-items:center!important;isolation:isolate;box-sizing:border-box!important;
 width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;
 margin:0!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;
 font-family:var(--lux-brand-font,Inter,"Segoe UI",Arial,sans-serif)!important;font-weight:var(--lux-brand-weight,700)!important;
 font-style:var(--lux-brand-style,normal)!important;font-size:60px!important;line-height:1!important;letter-spacing:-.04em!important;font-synthesis:none!important;
 text-align:center!important;text-decoration:none!important;text-transform:none!important;
 text-shadow:none!important;
 filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;cursor:pointer!important;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button[data-brand="nexus"]{font-size:50px!important;letter-spacing:0!important}
html.cn-theme-light body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button,
body.lux-unified-ui #corals-nexus-app#corals-nexus-app[data-lighting=sun] .cn-brandbar .lux-brand-button{
 --lux-etch-ink:#3b4a59;--lux-etch-opacity:.64;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-text{
 display:block!important;position:relative!important;z-index:1;pointer-events:none;font:inherit!important;
 color:var(--lux-etch-ink)!important;-webkit-text-fill-color:currentColor!important;
 -webkit-text-stroke:0!important;paint-order:stroke fill;
 opacity:var(--lux-etch-opacity)!important;text-shadow:none!important;
 background:none!important;border:0!important;box-shadow:none!important;
 filter:url(#lux-brand-engraved)!important;transform:none!important;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button::before{
 content:""!important;position:absolute!important;pointer-events:none;display:block!important;
 top:4px!important;left:8px!important;right:8px!important;bottom:auto!important;width:auto!important;height:37%!important;
 border:0!important;border-radius:50% 50% 36% 36%!important;opacity:1!important;
 background:linear-gradient(150deg,rgba(255,255,255,.51),rgba(255,255,255,.13) 58%,transparent 90%)!important;
 box-shadow:none!important;filter:none!important;transform:none!important;
}
body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button::after{
 content:none!important;display:none!important;
}
@media(max-width:767px){
 body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-text-brandmark{width:82px!important;height:82px!important;min-width:82px!important;max-width:82px!important;flex-basis:82px!important}
 body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button{font-size:44px!important}
 body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button[data-brand="nexus"]{font-size:36.6px!important;letter-spacing:0!important}
 body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .cn-brandlockup{min-width:0!important;gap:14px!important}
}
@media(prefers-reduced-motion:reduce){body.lux-unified-ui #corals-nexus-app#corals-nexus-app .cn-brandbar .lux-brand-button{transition:none!important}}
