/* Quiet navbar controls and a compact, theme-aware seasonal strand. */
.ng-garland { --ng-wire: #7d858b; --ng-socket: #535d62; --ng-glow-theme: .38; position: absolute; top: calc(100% - 2px); left: 0; width: 100%; pointer-events: none; overflow: hidden; z-index: 1; }
.ng-garland svg { display: block; overflow: visible; }
.ng-wire, .ng-stem { fill: none; stroke: var(--ng-wire); stroke-linecap: round; stroke-width: 1; opacity: .7; }
.ng-stem { stroke-width: .8; }
.ng-socket { fill: var(--ng-socket); }
.ng-glass { stroke: rgb(92 79 53 / .3); stroke-width: .45; }
.ng-highlight { fill: none; stroke: #fff8ed; stroke-width: .8; stroke-linecap: round; opacity: .85; }
.ng-glow { opacity: calc(var(--ng-glow-strength) * var(--ng-glow-theme)); }
.ng-bulb { animation: ng-breathe var(--ng-duration) ease-in-out var(--ng-delay) infinite; }
.ng-paused .ng-bulb { animation-play-state: paused; }
.ng-static .ng-bulb { animation: none; }
html.dark-mode .ng-garland, body.dark-mode .ng-garland, [data-bs-theme=dark] .ng-garland, .ng-preview[data-theme=dark] .ng-garland { --ng-wire: #69716c; --ng-socket: #434b48; --ng-glow-theme: 1; }
.ng-preview[data-theme=light] .ng-garland { --ng-wire: #7d858b; --ng-socket: #535d62; --ng-glow-theme: .38; }
.modern-navbar.has-navbar-garland:not(.has-navbar-pumpkins), html.has-navbar-garland:not(.has-navbar-pumpkins) .modern-navbar { margin-bottom: var(--ng-clearance, 31px); }
/* Halloween ornaments are overlays: no margin, padding or navbar height changes. */
.ng-pumpkins { --ng-wire: #94795a; --ng-glow-theme: .52; }
.ng-pumpkins, .ng-pumpkins * { pointer-events: none; user-select: none; }
.ng-pumpkins .ng-wire { stroke-width: .7; opacity: .5; }
.ng-pumpkins .ng-stem { stroke: #8a6943; stroke-width: .65; }
.ng-large-pumpkins { top: calc(100% - 10px); }
.ng-navbar-foreground { z-index: 2; }
.ng-navbar-pattern {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  z-index: 0; overflow: hidden; border-radius: inherit;
  opacity: var(--ng-pattern-opacity, .48); pointer-events: none; user-select: none;
}
.ng-navbar-pattern[hidden] { display: none !important; }
.ng-navbar-pattern * { pointer-events: none; }
/* Frost runs along the top; two individually cropped compositions frame the sides. */
.ng-winter-pattern { color: #527d94; }
.ng-winter-pattern[data-kind=pine] .ng-winter-art { filter: sepia(.24) saturate(1.3); }
.ng-winter-pattern[data-kind=pine] .ng-winter-rim { opacity: .58; }
html.dark-mode .ng-winter-pattern, body.dark-mode .ng-winter-pattern, [data-bs-theme=dark] .ng-winter-pattern, .ng-preview[data-theme=dark] .ng-winter-pattern { color: #a9cbdb; }
.ng-preview[data-theme=light] .ng-winter-pattern { color: #527d94; }
/* One all-over wallpaper, with local quiet pockets around the live icons. */
.ng-navbar-pattern.ng-raster-pattern { opacity:min(1, calc(var(--ng-pattern-opacity, .48) * 2.1)); }
.ng-raster-art { filter:saturate(1.1) brightness(.9) contrast(1.08); }
html.dark-mode .ng-raster-art, body.dark-mode .ng-raster-art, .ng-preview[data-theme=dark] .ng-raster-art { filter:saturate(1.16) brightness(1.5) contrast(1.12); }
.ng-preview[data-theme=light] .ng-raster-art { filter:saturate(1.1) brightness(.9) contrast(1.08); }
.ng-large-pumpkins { --ng-lantern-theme:.82; }
html.dark-mode .ng-large-pumpkins, body.dark-mode .ng-large-pumpkins, .ng-preview[data-theme=dark] .ng-large-pumpkins { --ng-lantern-theme:1.2; }
.ng-preview[data-theme=light] .ng-large-pumpkins { --ng-lantern-theme:.82; }
.ng-large-pumpkins .ng-wire { stroke:#cc8d46; opacity:.55; }
.ng-large-pumpkins .ng-stem { stroke:#c99b61; stroke-width:.8; opacity:.9; }
.ng-lantern-body { stroke:#a64b0c; stroke-width:.75; }
.ng-lantern-stalk { fill:#6c4923; stroke:#d8a65a; stroke-width:.7; }
.ng-lantern-tendril { fill:none; stroke:#d39643; stroke-width:.7; stroke-linecap:round; }
.ng-lantern-ribs { fill:none; stroke:#8a3008; stroke-opacity:.5; stroke-width:1; }
.ng-lantern-rib-light { fill:none; stroke:#ffd76b; stroke-opacity:.45; stroke-width:.55; }
.ng-large-pumpkins .ng-lantern-halo { opacity:calc(var(--ng-glow-strength) * var(--ng-lantern-theme)); }
.ng-lantern-emission { opacity:calc(var(--ng-glow-strength) * var(--ng-lantern-theme) * .85); }
.ng-lantern-cut { fill:#943506; stroke:#8f3307; stroke-width:1.65; stroke-linejoin:round; }
.ng-lantern-face { stroke:#ffdc7e; stroke-width:.22; stroke-linejoin:round; }
.ng-lantern-glaze { opacity:.6; }
.ng-lantern-shine { fill:none; stroke:#fff3bc; stroke-width:.65; stroke-linecap:round; opacity:.85; }
.ng-pumpkin-body { stroke: #9b4b10; stroke-width: .65; }
.ng-pumpkin-stalk { fill: #7b6532; stroke: #c5a568; stroke-width: .65; }
.ng-pumpkin-ribs { fill: none; stroke: #853209; stroke-opacity: .35; stroke-width: .85; }
.ng-pumpkin-highlight { fill: none; stroke: #fff0bc; stroke-opacity: .72; stroke-width: 1.1; stroke-linecap: round; }
.ng-pumpkin-face { fill: #fff1a9; stroke: #ad4b06; stroke-width: .65; stroke-linejoin: round; }
.ng-bulb.ng-occluded { visibility: hidden; }
.ng-pumpkin { animation-name: ng-pumpkin-glow; }
@keyframes ng-pumpkin-glow { 0%, 100% { opacity: .86; } 50% { opacity: 1; } }
@keyframes ng-breathe { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
.modern-navbar .navbar-actions :is(.modern-btn, .mobile-action-btn) { background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none; transform: none !important; transition: background-color .15s ease; }
.modern-navbar .navbar-actions :is(.modern-btn, .mobile-action-btn):hover { background: rgb(111 129 159 / .09) !important; }
.modern-navbar .navbar-actions :is(.modern-btn, .mobile-action-btn):focus-visible { outline: 2px solid #5279e8; outline-offset: 2px; }
:is(.modern-navbar, .mobile-nav-menu-shell) { --nav-neutral: #60718c; }
body.dark-mode :is(.modern-navbar, .mobile-nav-menu-shell) { --nav-neutral: #bdc9dc; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph { --nav-icon-color: var(--nav-neutral); display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-style: normal; color: var(--nav-icon-color) !important; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph::before { display: none !important; }
.ag-nav-icon { width: 24px; height: 24px; flex: none; overflow: visible; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=folder-fill] { --nav-icon-color: #f2a024; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=file-earmark-richtext-fill] { --nav-icon-color: #3187e5; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=check2-circle] { --nav-icon-color: #ed5266; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=fingerprint] { --nav-icon-color: #9570e9; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=shield-shaded] { --nav-icon-color: #36ae81; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph[data-icon=chat-dots-fill] { --nav-icon-color: #9468ef; }
:is(.modern-navbar, .mobile-nav-menu-shell) .ag-nav-glyph.has-notifications { filter: none !important; animation: none !important; }
.mobile-nav-menu-shell .mobile-nav-menu-grid .btn-inner { background: rgb(111 129 159 / .08) !important; box-shadow: none !important; }
.modern-navbar .mobile-nav-menu-toggle { background: transparent; box-shadow: none; border-color: transparent; }
:is(.modern-navbar, .mobile-nav-menu-shell) .logout-btn .ag-nav-glyph { --nav-icon-color: #d96775; }
.modern-navbar .mobile-actions :is(.mobile-action-btn, .mobile-nav-menu-toggle) { min-width: 44px; min-height: 44px; }
@media (max-width: 1399px) {
  .modern-navbar .desktop-actions { display: none !important; }
  .modern-navbar .mobile-actions.d-md-none { display: flex !important; }
  .modern-navbar .navbar-actions { flex: 0 0 auto; }
}
.ng-preview { position: relative; background: #f3f6fa; color: #213046; border-radius: 14px; padding-bottom: 22px; overflow: hidden; min-height: 128px; }
.ng-preview[data-theme=dark] { background: #111315; color: #d9e0ec; }
.ng-preview-nav { position: relative; background: #fff; display: flex; align-items: center; justify-content: space-between; height: 55px; padding: 0 18px; }
.ng-preview[data-theme=dark] .ng-preview-nav { background: #202326; }
.ng-preview-nav strong { font-size: .9rem; }
.ng-preview-nav span { display: flex; gap: 14px; align-items: center; }
.ng-preview-nav > span svg { width: 19px; height: 19px; }
.ng-garland > svg { width: 100%; height: 100%; }
.ng-preview > p { margin: 38px 18px 0; font-size: .8rem; color: inherit; opacity: .7; }
.ng-preview[data-decoration=pumpkins] > p { margin-top: 34px; }
.ng-preview-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.ng-preview-tools label { font-size: .8rem; margin: 0; }
.ng-preview-tools select { width: auto; padding: 7px 10px; border-radius: 8px; border: 1px solid #7d858b55; background: transparent; color: inherit; }
.ng-preview-wrap[data-device=mobile] .ng-preview { max-width: 390px; margin-inline: auto; }
.ng-preview-wrap .preview-label { display: none; }
.preview-area.ng-preview-wrap { height: auto; min-height: 168px; background: transparent; overflow: visible; }
@media (max-width: 767px) { html.has-navbar-garland:not(.has-navbar-pumpkins) .modern-navbar { margin-bottom: var(--ng-clearance, 22px); } }
@media (prefers-reduced-motion: reduce) { .ng-bulb { animation: none !important; } }
