
/* Lynzz Cloud UI/UX Refresh v1: homepage + shared portal shell.
   Loaded after existing CSS. No API, payment or login behavior changes. */
:root{--lynzz-motion-fast: 160ms;--lynzz-motion-standard: 240ms;--lynzz-motion-curve: cubic-bezier(.2,.72,.22,1);}
html{scroll-behavior:smooth}
/* Theme toggles: shared by landing header, mobile menu, and dashboard header. */
.lynzz-theme-toggle{display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:7px !important;flex:0 0 auto;min-width:39px;min-height:39px;padding:0 11px !important;color:#dce8ff !important;border:1px solid rgba(154,178,233,.25) !important;border-radius:11px !important;background:rgba(122,152,218,.09) !important;font-family:inherit !important;font-size:12px !important;font-weight:650 !important;line-height:1.2 !important;cursor:pointer;transition:transform var(--lynzz-motion-fast) ease, background var(--lynzz-motion-standard) ease,
    border-color var(--lynzz-motion-standard) ease, color var(--lynzz-motion-standard) ease !important}
.lynzz-theme-toggle:hover{background:rgba(140,169,236,.17) !important;border-color:rgba(155,183,244,.44) !important}
.lynzz-theme-toggle:active{transform:scale(.96)}
.lynzz-theme-toggle:focus-visible{outline:2px solid #729af8;outline-offset:3px}
.lynzz-theme-toggle .lynzz-theme-icon{width:17px !important;height:17px !important;fill:none !important;stroke:currentColor !important;stroke-width:1.9 !important;stroke-linecap:round !important;stroke-linejoin:round !important}
html[data-lynzz-theme="dark"] .lynzz-theme-sun,
html[data-lynzz-theme="light"] .lynzz-theme-moon{display:block}
html[data-lynzz-theme="dark"] .lynzz-theme-moon,
html[data-lynzz-theme="light"] .lynzz-theme-sun{display:none}
#landing .mobile-nav-actions .lynzz-theme-toggle{width:100%;justify-content:flex-start !important}
#landing .site-header-actions .lynzz-theme-label,
#dashboard .topbar-actions .lynzz-theme-label{display:none}
@media (max-width: 850px){
#landing .site-header-actions .lynzz-theme-toggle{padding:0 8px !important;min-width:38px}
#dashboard .topbar-actions .lynzz-theme-toggle{min-width:38px;padding:0 8px !important}}
/* Subtle transitions and a real state-based shimmer, never an artificial blocking overlay. */
#landing:not(.hidden), #dashboard:not(.hidden){animation:lynzz-ui-page-enter 260ms var(--lynzz-motion-curve) both}
#dashboard .view-panel.active{animation:lynzz-ui-view-enter 240ms var(--lynzz-motion-curve) both !important}
@keyframes lynzz-ui-page-enter{
from{opacity:.72}
to{opacity:1}}
@keyframes lynzz-ui-view-enter{
from{opacity:.35;transform:translateY(7px)}
to{opacity:1;transform:translateY(0)}}
@view-transition{navigation:auto}
::view-transition-old(root){animation:130ms ease-out both lynzz-ui-fade-out}
::view-transition-new(root){animation:200ms ease-out both lynzz-ui-fade-in}
@keyframes lynzz-ui-fade-out{
to{opacity:0}}
@keyframes lynzz-ui-fade-in{
from{opacity:0}
to{opacity:1}}
#landing a, #landing button, #dashboard button, #dashboard a, #dashboard .surface{transition-duration:var(--lynzz-motion-standard)}
#landing a:active, #landing button:active, #dashboard button:active{filter:brightness(.95)}
#landing .site-nav-links a, #landing .lynzz-hero-links a,
#landing .home-route-list a, #landing .home-social-link,
#landing .button-market, #dashboard .nav-item{transition:color var(--lynzz-motion-fast) ease, background var(--lynzz-motion-standard) ease,
    border-color var(--lynzz-motion-standard) ease, box-shadow var(--lynzz-motion-standard) ease,
    transform var(--lynzz-motion-fast) var(--lynzz-motion-curve) !important}
#landing .home-route-list a:hover{transform:translateY(-2px)}
#landing .button-market:active, #dashboard .button:active{transform:scale(.985)}
#landing .server-showcase-skeleton, #landing .pricing-skeleton,
#dashboard [aria-busy="true"].surface, #dashboard .admin-loading-row{background-size:220% 100% !important;animation:lynzz-ui-skeleton 1.6s linear infinite}
@keyframes lynzz-ui-skeleton{
to{background-position:-220% 0}}
#landing [aria-busy="true"], #dashboard [aria-busy="true"]{cursor:progress}
/* LIGHT: deliberately separate surfaces and typography; not a brightness filter. */
html[data-lynzz-theme="light"]{--bg: #f5f8fe;--surface: #ffffff;--surface-subtle: #f8faff;--text: #172b48;--muted: #5d6f88;--line: #dce5f3;--line-strong: #c8d5e9;--v11-text: #172b48;--v11-line: rgba(69,105,161,.17);--v318-line: rgba(69,105,161,.17);color-scheme:light !important;background:#f5f8fe !important}
html[data-lynzz-theme="light"] body{color:#172b48 !important;background:#f5f8fe !important}
html[data-lynzz-theme="light"] .lynzz-theme-toggle{color:#244b89 !important;background:rgba(51,104,199,.06) !important;border-color:rgba(48,95,170,.24) !important}
html[data-lynzz-theme="light"] .lynzz-theme-toggle:hover{background:#e7effe !important}
/* Landing: keep the distinctive grid, but soften it for daytime reading. */
html[data-lynzz-theme="light"] #landing.marketing-site,
html[data-lynzz-theme="light"] #landing #landing-home{background:#f5f8fe !important;color:#172b48 !important}
html[data-lynzz-theme="light"] #landing #landing-home::before{background-image:linear-gradient(90deg, rgba(96,135,193,.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(96,135,193,.12) 1px, transparent 1px) !important;opacity:.66 !important}
html[data-lynzz-theme="light"] #landing .site-header{background:rgba(255,255,255,.92) !important;border-bottom-color:rgba(92,125,178,.2) !important;box-shadow:0 8px 30px rgba(40,75,127,.05) !important}
html[data-lynzz-theme="light"] #landing .site-brand-name,
html[data-lynzz-theme="light"] #landing .mobile-nav-brand,
html[data-lynzz-theme="light"] #landing .marketing-hero-copy h1,
html[data-lynzz-theme="light"] #landing .marketing-hero-copy h1 em,
html[data-lynzz-theme="light"] #landing .pricing-heading h2,
html[data-lynzz-theme="light"] #landing .home-section-heading h2{color:#15294b !important}
html[data-lynzz-theme="light"] #landing .site-brand-by,
html[data-lynzz-theme="light"] #landing .brand-overline,
html[data-lynzz-theme="light"] #landing .hero-assurance,
html[data-lynzz-theme="light"] #landing .marketing-hero-copy > p{color:#5f7290 !important}
html[data-lynzz-theme="light"] #landing .site-nav-links a,
html[data-lynzz-theme="light"] #landing .site-login-link,
html[data-lynzz-theme="light"] #landing .language-switch{color:#314b70 !important}
html[data-lynzz-theme="light"] #landing .site-nav-links a:hover,
html[data-lynzz-theme="light"] #landing .site-login-link:hover{color:#174eaa !important;background:#eaf1fc !important}
html[data-lynzz-theme="light"] #landing .button-market-secondary,
html[data-lynzz-theme="light"] #landing .lynzz-hero-links a{color:#26436a !important;background:rgba(255,255,255,.84) !important;border-color:rgba(77,112,165,.24) !important}
html[data-lynzz-theme="light"] #landing .button-market-primary,
html[data-lynzz-theme="light"] #landing .site-cta-small{color:#fff !important;background:#315fce !important;border-color:#315fce !important;box-shadow:0 10px 26px rgba(34,88,192,.18) !important}
html[data-lynzz-theme="light"] #landing #landing-home .home-route-console,
html[data-lynzz-theme="light"] #landing #landing-home .home-spotlight,
html[data-lynzz-theme="light"] #landing #landing-home .home-spotlight-donation,
html[data-lynzz-theme="light"] #landing #landing-home .home-social-grid > .home-social-link,
html[data-lynzz-theme="light"] #landing .pricing-card,
html[data-lynzz-theme="light"] #landing .feature-story,
html[data-lynzz-theme="light"] #landing .home-route-list a{background:#fff !important;border-color:rgba(76,115,176,.18) !important;box-shadow:0 12px 32px rgba(36,69,123,.06) !important}
html[data-lynzz-theme="light"] #landing .hosting-console-top,
html[data-lynzz-theme="light"] #landing .home-route-list a{color:#1f3b60 !important}
html[data-lynzz-theme="light"] #landing .home-route-list a b,
html[data-lynzz-theme="light"] #landing .home-spotlight p,
html[data-lynzz-theme="light"] #landing .home-spotlight small,
html[data-lynzz-theme="light"] #landing .home-social-link span,
html[data-lynzz-theme="light"] #landing .pricing-card p{color:#60748f !important}
html[data-lynzz-theme="light"] #landing .home-route-list a:hover,
html[data-lynzz-theme="light"] #landing .home-social-grid > .home-social-link:hover{background:#f0f5fe !important;border-color:rgba(55,104,190,.37) !important}
html[data-lynzz-theme="light"] #landing #landing-home > .home-final.market-final{background:#dfeafe !important;border-color:rgba(60,103,171,.18) !important;color:#1e3b62 !important}
html[data-lynzz-theme="light"] #landing #landing-home > .home-footer.market-footer{background:#eaf1fa !important;border-color:rgba(70,114,179,.2) !important;color:#385372 !important}
/* Portal core. Scope this to common containers only; individual complex billing,
   Pterodactyl and authentication widgets stay on their validated styles in v1. */
html[data-lynzz-theme="light"] #dashboard.app-shell{--portal-bg: #f5f8fe;--portal-panel: #fff;--portal-text: #162b49;--portal-muted: #60728e;--portal-line: #dfe7f2;background:#f5f8fe !important;color:#172b48 !important}
html[data-lynzz-theme="light"] #dashboard .app-frame{background:#f5f8fe !important;color:#172b48 !important}
html[data-lynzz-theme="light"] #dashboard .app-content,
html[data-lynzz-theme="light"] #dashboard .view-panel{background:transparent !important;color:#172b48 !important}
html[data-lynzz-theme="light"] #dashboard .topbar,
html[data-lynzz-theme="light"] #dashboard.app-shell .topbar{background:rgba(255,255,255,.94) !important;border-bottom-color:#dde7f3 !important;box-shadow:none !important}
html[data-lynzz-theme="light"] #dashboard .sidebar,
html[data-lynzz-theme="light"] #dashboard.app-shell .sidebar{background:#ffffff !important;color:#213951 !important;border-right:1px solid #dfe8f4 !important;box-shadow:12px 0 40px rgba(40,76,131,.04) !important}
html[data-lynzz-theme="light"] #dashboard .sidebar .nav-item,
html[data-lynzz-theme="light"] #dashboard .sidebar .nav-section-label,
html[data-lynzz-theme="light"] #dashboard .sidebar-brand-copy,
html[data-lynzz-theme="light"] #dashboard .sidebar-profile-copy,
html[data-lynzz-theme="light"] #dashboard .sidebar-home-link{color:#526987 !important}
html[data-lynzz-theme="light"] #dashboard .sidebar .nav-item:hover{background:#edf3fc !important;color:#244d91 !important}
html[data-lynzz-theme="light"] #dashboard .sidebar .nav-item.active{background:#e5edff !important;color:#2853ad !important;box-shadow:inset 3px 0 0 #426ed4 !important}
html[data-lynzz-theme="light"] #dashboard .surface,
html[data-lynzz-theme="light"] #dashboard .workspace-services,
html[data-lynzz-theme="light"] #dashboard .workspace-feed,
html[data-lynzz-theme="light"] #dashboard .stats-strip,
html[data-lynzz-theme="light"] #dashboard .onboarding-card{color:#183451 !important;background:#ffffff !important;border-color:#dfe7f3 !important;box-shadow:0 12px 34px rgba(37,72,125,.045) !important}
html[data-lynzz-theme="light"] #dashboard .topbar .breadcrumb,
html[data-lynzz-theme="light"] #dashboard .topbar .breadcrumb strong,
html[data-lynzz-theme="light"] #dashboard .page-heading h1,
html[data-lynzz-theme="light"] #dashboard .portal-heading h1,
html[data-lynzz-theme="light"] #dashboard .workspace-heading h1,
html[data-lynzz-theme="light"] #dashboard .page-description,
html[data-lynzz-theme="light"] #dashboard .portal-heading .page-description{color:#243b5d !important}
html[data-lynzz-theme="light"] #dashboard .topbar .icon-button,
html[data-lynzz-theme="light"] #dashboard .topbar .language-switch{background:#f4f7fd !important;color:#344f76 !important;border-color:#d9e4f4 !important}
/* Mobile nav has fixed dark paint in the old stylesheet; override explicitly. */
@media (max-width: 850px){
html[data-lynzz-theme="light"] #landing .site-nav{background:#fff !important;border-color:#e0e9f4 !important;box-shadow:-18px 0 55px rgba(31,70,122,.15) !important}
html[data-lynzz-theme="light"] #landing .mobile-nav-close,
  html[data-lynzz-theme="light"] #landing .mobile-nav-brand,
  html[data-lynzz-theme="light"] #landing .mobile-nav-login{color:#234267 !important}
html[data-lynzz-theme="light"] #dashboard .sidebar{background:#fff !important}}
/* Accessibility: never force motion, shimmer or smooth scrolling. */
@media (prefers-reduced-motion: reduce){
html{scroll-behavior:auto !important}
#landing:not(.hidden), #dashboard:not(.hidden), #dashboard .view-panel.active,
  #landing .server-showcase-skeleton, #landing .pricing-skeleton,
  #dashboard [aria-busy="true"].surface, #dashboard .admin-loading-row{animation:none !important}
#landing *, #dashboard *, .lynzz-theme-toggle{transition-duration:.01ms !important;animation-duration:.01ms !important}
::view-transition-old(root), ::view-transition-new(root){animation:none !important}}
/* Contrast pass: original visual layers use explicit white/transparent text paint. */
html[data-lynzz-theme="light"] #landing #landing-home .marketing-hero-copy h1{color:#142a4b !important;-webkit-text-fill-color:#142a4b !important;text-shadow:none !important}
html[data-lynzz-theme="light"] #landing #landing-home .marketing-hero-copy h1 em{background-image:linear-gradient(105deg,#514ec4,#286ac8,#057f85) !important;-webkit-background-clip:text !important;background-clip:text !important;-webkit-text-fill-color:transparent !important}
html[data-lynzz-theme="light"] #landing #landing-home .marketing-hero-copy > p,
html[data-lynzz-theme="light"] #landing #landing-home .hero-assurance,
html[data-lynzz-theme="light"] #landing #landing-home .hero-assurance span{color:#526a8b !important;-webkit-text-fill-color:#526a8b !important}
html[data-lynzz-theme="light"] #landing #landing-home .home-route-list a span,
html[data-lynzz-theme="light"] #landing #landing-home .home-route-list a strong,
html[data-lynzz-theme="light"] #landing #landing-home .hosting-console-top strong,
html[data-lynzz-theme="light"] #landing #landing-home .home-spotlight strong,
html[data-lynzz-theme="light"] #landing #landing-home .home-spotlight h2{color:#193451 !important;-webkit-text-fill-color:#193451 !important}
html[data-lynzz-theme="light"] #landing #landing-home .home-route-list a b,
html[data-lynzz-theme="light"] #landing #landing-home .home-route-list a i,
html[data-lynzz-theme="light"] #landing #landing-home .hosting-console-top > span,
html[data-lynzz-theme="light"] #landing #landing-home .home-spotlight p{color:#536d91 !important;-webkit-text-fill-color:#536d91 !important}
html[data-lynzz-theme="light"] #landing #landing-home .server-showcase h2,
html[data-lynzz-theme="light"] #landing #landing-home .market-process h2,
html[data-lynzz-theme="light"] #landing #landing-home .market-pricing h2,
html[data-lynzz-theme="light"] #landing #landing-home .market-community h2,
html[data-lynzz-theme="light"] #landing #landing-home .market-faq h2,
html[data-lynzz-theme="light"] #landing #landing-home .home-final h2{color:#152c50 !important;-webkit-text-fill-color:#152c50 !important}
html[data-lynzz-theme="light"] #landing .language-switch{background:#eff4fc !important;border-color:#d7e3f4 !important;color:#26446e !important}
html[data-lynzz-theme="light"] #landing .site-menu-toggle,
html[data-lynzz-theme="light"] #landing .mobile-nav-close{background:#f2f6fc !important;border-color:#d9e4f2 !important}
html[data-lynzz-theme="light"] #landing .site-menu-toggle span{background:#28466d !important}
@media (max-width: 600px){
/* Keep the header breathable; mobile theme control lives inside the menu. */
#landing .site-header-actions > .lynzz-theme-toggle{display:none !important}}
/* Dashboard light-mode overview surfaces and readable section labels. */
html[data-lynzz-theme="light"] #dashboard .workspace-section-heading h2,
html[data-lynzz-theme="light"] #dashboard .workspace-heading h1,
html[data-lynzz-theme="light"] #dashboard .workspace-section-heading button,
html[data-lynzz-theme="light"] #dashboard .workspace-section-heading a{color:#1a365d !important;-webkit-text-fill-color:#1a365d !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-strip,
html[data-lynzz-theme="light"] #dashboard .workspace-balance,
html[data-lynzz-theme="light"] #dashboard .workspace-kpis,
html[data-lynzz-theme="light"] #dashboard .role-quick-grid button{background:#ffffff !important;color:#1d385a !important;border-color:#dae5f5 !important;box-shadow:0 7px 22px rgba(35,79,143,.045) !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-strip strong,
html[data-lynzz-theme="light"] #dashboard .workspace-balance strong,
html[data-lynzz-theme="light"] #dashboard .workspace-kpis strong,
html[data-lynzz-theme="light"] #dashboard .role-quick-grid strong{color:#17375d !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-strip small,
html[data-lynzz-theme="light"] #dashboard .cloud-command-strip b,
html[data-lynzz-theme="light"] #dashboard .workspace-balance span,
html[data-lynzz-theme="light"] #dashboard .workspace-balance p,
html[data-lynzz-theme="light"] #dashboard .workspace-kpis span,
html[data-lynzz-theme="light"] #dashboard .role-quick-grid small{color:#5e7492 !important}
html[data-lynzz-theme="light"] #dashboard .role-quick-grid button:hover{background:#ecf3ff !important;border-color:#adc5e8 !important;transform:translateY(-2px)}
html[data-lynzz-theme="light"] #dashboard .role-quick-grid button > span{color:#3b63bf !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-strip{background:linear-gradient(115deg,#eaf2ff,#f6faff) !important;background-image:linear-gradient(115deg,#eaf2ff,#f6faff) !important;border-color:#ccdcf0 !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-item{color:#294a73 !important;border-color:#d1dff1 !important}
html[data-lynzz-theme="light"] #dashboard .cloud-command-item b,
html[data-lynzz-theme="light"] #dashboard .cloud-command-item strong{color:#23476d !important}
