/* MDesk 2026.5.0.1 • Website Studio & reliable admin navigation */
@media (min-width:921px){
  .app-frame>.sidebar{height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;min-height:0;}
  .app-frame>.sidebar>.sidebar-brand,.app-frame>.sidebar>.sidebar-workspace,.app-frame>.sidebar>.sidebar-section{flex:none;}
  .app-frame>.sidebar>.sidebar-nav{flex:1 1 auto;min-height:0;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6577a2 transparent;padding:0 4px 18px 0;}
  .app-frame>.sidebar>.sidebar-nav::-webkit-scrollbar{width:7px}
  .app-frame>.sidebar>.sidebar-nav::-webkit-scrollbar-thumb{background:#53658d;border:2px solid #111a40;border-radius:15px}
  .app-frame>.sidebar>.sidebar-bottom{flex:0 0 auto;margin-top:8px;max-height:170px;overflow-y:auto;scrollbar-width:thin;}
  .app-frame>.sidebar .sidebar-help{padding:13px 15px;margin-bottom:6px}
  .app-frame>.sidebar .sidebar-help p{font-size:10px}
}
.app-frame>.sidebar .nav-link:focus-visible{outline:2px solid #8cf3dc;outline-offset:-2px;color:#fff}
/* Public website theme controls - values are validated on the server */
.md-site-flow{display:flex;flex-direction:column;min-width:0}
.md-site-flow>[hidden]{display:none!important}
body.public{--blue:var(--studio-accent_color,#5c5ff3);--blue2:var(--studio-accent_color,#4849d7);--mint:var(--studio-mint_color,#5ee6c7)}
body.public .hero-2026{background:var(--studio-hero_bg_color,#0b1230)}
body.public .hero-2026:after{background:linear-gradient(110deg,var(--studio-hero_bg_color,#0b1230),color-mix(in srgb,var(--studio-hero_bg_color,#0b1230) 87%,#5467c8 13%))}
body.public .btn-primary,body.public .btn-dark{background:var(--studio-accent_color,#5c5ff3)}
body.public .hero-gradient{background:linear-gradient(93deg,#fff 0%,var(--studio-mint_color,#5ee6c7) 88%);-webkit-background-clip:text;background-clip:text;color:transparent}
body.public .hero-2026 .pulse-dot{background:var(--studio-mint_color,#5ee6c7)}
body.public .section-heading h2>span,body.public .faq-intro h2>span,body.public .contact-section h2>span{color:var(--studio-accent_color,#5c5ff3)}
body.public .studio-hero-photo{position:absolute;inset:9% 4% 4%;width:92%;height:87%;object-fit:cover;border-radius:28px;box-shadow:0 34px 68px #02081b99;z-index:4;border:1px solid #ffffff33}
body.public .hero-visual.has-photo .nova-window,body.public .hero-visual.has-photo .nova-floating,body.public .hero-visual.has-photo .nova-spark{display:none!important}
body.public .hero-visual.has-photo{min-height:400px}
body.public .studio-hero-reverse .hero-copy{order:2}
body.public .studio-hero-reverse .hero-visual{order:1}
body.public .studio-hero-center .hero-layout{grid-template-columns:1fr;justify-content:center;text-align:center;max-width:940px}
body.public .studio-hero-center .hero-copy{max-width:840px;align-items:center;margin-inline:auto}
body.public .studio-hero-center .hero-buttons,body.public .studio-hero-center .hero-proof{justify-content:center}
body.public .studio-hero-center .hero-visual{margin-inline:auto;width:min(100%,620px);min-height:460px}
body.public.studio-theme-minimal .hero-2026{color:#12224c}
body.public.studio-theme-minimal .hero-2026:after{background:linear-gradient(120deg,#f7f9ff,#dce8ff)}
body.public.studio-theme-minimal .hero-2026 h1,body.public.studio-theme-minimal .hero-2026 .hero-copy>p{color:#172650}
body.public.studio-theme-minimal .hero-gradient{background:linear-gradient(93deg,var(--studio-accent_color),#537ab9);-webkit-background-clip:text;background-clip:text}
body.public.studio-theme-minimal .hero-pill{background:#dfeaff;border-color:#b9caf6;color:#293c80}
body.public.studio-theme-minimal .hero-proof{color:#485985}
body.public.studio-theme-midnight .hero-2026:after{background:linear-gradient(135deg,#070918 0%,var(--studio-hero_bg_color,#0b1230) 70%,#252346 100%)}
body.public.studio-font-classic{font-family:Georgia,'Times New Roman',serif}
body.public.studio-font-classic h1,body.public.studio-font-classic h2,body.public.studio-font-classic h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.035em}
body.public.studio-font-compact{font-family:'Arial Narrow',Arial,sans-serif;letter-spacing:-.01em}
body.public.studio-header-glass .site-header{background:#ffffffde;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.public.studio-cards-outline .service-card,body.public.studio-cards-outline .product-card{box-shadow:none!important;border:2px solid #dfe5f3}
body.public.studio-cards-glass .service-card,body.public.studio-cards-glass .product-card{background:#ffffffbb;backdrop-filter:blur(16px);box-shadow:0 20px 45px #25336c16}
.studio-brand-custom{max-width:230px;display:flex;align-items:center}.studio-brand-image{max-width:220px;width:auto;height:46px;object-fit:contain}
.site-footer .studio-brand-image,.sidebar .studio-brand-image{filter:brightness(0) invert(1);max-height:38px}
/* Site Studio layout */
.studio-intro{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:31px 35px;background:radial-gradient(circle at 91% 14%,#444bab 0%,transparent 34%),linear-gradient(111deg,#111d46,#27376c);border-radius:22px;color:white;margin-bottom:19px;position:relative;overflow:hidden;min-height:212px}
.studio-intro>div{position:relative;z-index:1}.studio-kicker{font-size:10px;letter-spacing:.2em;color:#86edcc;font-weight:850}
.studio-intro h2{font-size:clamp(23px,3vw,33px);line-height:1.2;letter-spacing:-.05em;margin:12px 0 10px;color:white}
.studio-intro p{font-size:13px;line-height:1.7;color:#cad6f0;max-width:620px;margin:0}
.studio-info{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;color:#cee1f5;font-size:11px}
.studio-info span{display:inline-flex;align-items:center;gap:7px}.studio-info .icon{width:15px;height:15px;color:#82eac9}
.studio-intro-actions{display:flex;flex-direction:column;gap:10px;flex:none}.studio-intro-actions .btn{min-width:170px;justify-content:center}
.studio-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid #e5eaf4;border-radius:16px;padding:16px 19px;margin-bottom:16px;box-shadow:0 8px 30px #15234a05}
.studio-toolbar>div{min-width:0}.studio-toolbar strong{font-size:13px;color:#253554}.studio-toolbar small{font-size:11px;color:#8190a8;display:block;margin:5px 0 0 15px}
.studio-toolbar form{flex:none}.studio-toolbar button:disabled{opacity:.45;cursor:not-allowed}.studio-status-dot{width:8px;height:8px;background:#42c9a3;display:inline-block;border-radius:50%;margin-right:8px}
.studio-tabs{display:flex;overflow-x:auto;gap:6px;padding:5px;margin:0 0 20px;background:#e9edf7;border-radius:13px;scrollbar-width:thin;max-width:100%}
.studio-tab{flex:none;padding:12px 13px;border-radius:10px;font-size:12px;font-weight:750;color:#62718b;white-space:nowrap}
.studio-tab:hover{background:#f7f9ff;color:#2f3b57}.studio-tab.is-active{background:#fff;color:#4b59da;box-shadow:0 4px 15px #202d5f0d}
.studio-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:start;gap:20px}
.studio-editor-panel,.studio-preview-panel{border:1px solid #e6eaf4;background:white;border-radius:19px;box-shadow:0 8px 32px #111d4308;min-width:0}
.studio-editor-panel{padding:25px 26px}.studio-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:20px;border-bottom:1px solid #edf0f6;margin-bottom:22px}
.studio-panel-title h3{font-size:21px;margin:7px 0 0;color:#273553}.studio-panel-title .studio-kicker{color:#6b74c9}
.studio-count{font-size:11px;font-weight:800;border-radius:8px;padding:7px 10px;color:#5468bb;background:#eff2ff;white-space:nowrap}
.studio-hint{color:#657899;font-size:12px;margin:-3px 0 18px;line-height:1.7}
.studio-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.studio-field{display:flex;flex-direction:column;gap:7px;min-width:0}.studio-field>span{font-size:11px;font-weight:800;color:#384861}
.studio-field input:not([type=color]),.studio-field textarea,.studio-field select{border:1px solid #dce4f1;border-radius:10px;outline:none;padding:11px 12px;font-family:inherit;background:#fbfcff;color:#223653;font-size:12px;width:100%;min-width:0}
.studio-field input[type=color]{border:1px solid #dce4f1;border-radius:10px;width:100%;height:44px;padding:4px;background:white;cursor:pointer}
.studio-field textarea{min-height:91px;resize:vertical}.studio-field:has(textarea),.studio-field:has(.studio-field-image){grid-column:span 2}
.studio-field input:focus,.studio-field textarea:focus,.studio-field select:focus{border-color:#646ce7;box-shadow:0 0 0 3px #626de918}
.studio-field small{font-size:10px;color:#8996a9}.studio-field small a{color:#5867cf;text-decoration:underline}
.studio-field-image{width:100%;max-height:185px;object-fit:cover;border-radius:10px;border:1px solid #dce4f1}
.studio-toggle{display:flex;align-items:center;gap:9px;font-weight:700;font-size:12px;color:#384861;background:#f6f8fe;border-radius:10px;padding:13px 12px;min-height:44px}.studio-toggle input{accent-color:#6267eb;width:17px;height:17px}
.studio-save{grid-column:1/-1;margin-top:8px;border-top:1px solid #edf0f6;padding-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}.studio-save span{font-size:11px;color:#8998ae}
.studio-preview-panel{position:sticky;top:22px;padding:0;overflow:hidden}
.studio-preview-top{display:flex;align-items:center;justify-content:space-between;gap:11px;padding:17px 20px;border-bottom:1px solid #e8ecf4}
.studio-preview-top strong,.studio-preview-top small{display:block}.studio-preview-top strong{font-size:13px}.studio-preview-top small{font-size:10px;color:#98a5b8;margin-top:4px}
.studio-device-switch{display:flex;padding:3px;background:#f0f3fa;border-radius:10px;gap:3px}
.studio-device-switch button{padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#7183a1;font-size:11px;cursor:pointer}
.studio-device-switch .is-active{background:#fff;color:#344bcc;box-shadow:0 3px 9px #18265b14}
.studio-preview-stage{background:#e9ecf5;display:flex;align-items:stretch;justify-content:center;min-height:520px;padding:18px;overflow:hidden}
.studio-preview-stage iframe{border:1px solid #d8deec;border-radius:11px;width:100%;height:500px;background:white;box-shadow:0 18px 32px #14224312;transition:width .25s ease}
.studio-preview-stage.is-mobile iframe{width:360px;max-width:100%;height:610px}.studio-preview-stage.is-mobile{min-height:650px}
.studio-preview-caption{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;gap:10px;color:#8290a7;font-size:10px}
.studio-preview-caption button{border:0;background:none;color:#586fe4;font-size:11px;font-weight:800;cursor:pointer}
.studio-media-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px}.studio-media-layout .panel{min-width:0}
.studio-upload{display:grid;gap:14px}.studio-upload label{font-size:12px;font-weight:800}.studio-upload input{width:100%;font-size:12px}
.studio-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:13px}.studio-media-card{border:1px solid #e7ecf4;padding:7px;border-radius:12px;min-width:0}
.studio-media-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:#f2f5fc}.studio-media-card code{display:block;color:#6f80a0;font-size:9px;margin-top:8px}.studio-media-card form{margin-top:6px}
.studio-revision{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 4px;border-bottom:1px solid #eef1f5;font-size:12px}
@media(max-width:1300px){.studio-layout{grid-template-columns:1fr}.studio-preview-panel{position:static}.studio-media-layout{grid-template-columns:1fr}}
@media(max-width:920px){.app-frame>.sidebar>.sidebar-nav{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.studio-intro{padding:25px;align-items:flex-start}.studio-intro-actions{align-items:flex-start}.studio-toolbar{flex-wrap:wrap}}
@media(max-width:670px){.studio-intro{display:block;padding:25px 20px}.studio-intro-actions{flex-direction:row;flex-wrap:wrap;margin-top:20px}.studio-toolbar{padding:15px}.studio-toolbar form,.studio-toolbar .btn{width:100%}.studio-tabs{border-radius:9px}.studio-tab{font-size:11px;padding:9px 11px}.studio-editor-panel{padding:19px 15px}.studio-form{grid-template-columns:1fr}.studio-field:has(textarea),.studio-field:has(.studio-field-image){grid-column:auto}.studio-preview-top{padding:14px;flex-wrap:wrap}.studio-preview-stage{padding:10px}.studio-preview-stage iframe{height:440px}.studio-preview-caption{padding:10px}.studio-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-intro h2{font-size:25px}.studio-info{gap:7px}}

/* MDesk Signature Brand 2026.5.1.0 — supplied logo is never redrawn */
.brand-official{display:inline-flex;align-items:center;justify-content:flex-start;max-width:100%;line-height:0}
.brand-official .official-logo{display:block;width:auto;height:43px;max-width:100%;object-fit:contain;object-position:left center}
.site-header .brand-official .official-logo{height:42px}
.site-footer .brand-official .official-logo{height:47px}
.auth-top .brand-official .official-logo{height:43px}
.sidebar .sidebar-brand{padding:5px 12px 25px}
.sidebar .brand-official .official-logo{height:58px;max-width:205px}
body.public .mdesk-brand-banner{position:relative;display:block;width:100%;overflow:hidden;background:#091b34;box-shadow:0 20px 60px rgba(12,26,60,.11)}
body.public .mdesk-brand-banner>img{display:block;width:100%;height:auto;aspect-ratio:2081/756;object-fit:cover;object-position:center}
body.public .mdesk-banner-bottom{position:absolute;bottom:0;left:0;right:0;padding:14px clamp(16px,5vw,100px);display:flex;justify-content:space-between;gap:12px;color:#eaf8ff;background:linear-gradient(90deg,rgba(4,22,48,.87),rgba(4,22,48,.36));font-size:clamp(10px,1.1vw,13px);font-weight:760;letter-spacing:.09em;text-transform:uppercase}
body.public .mdesk-brand-banner + .hero-2026 .hero-layout{padding-top:clamp(55px,6vw,100px)}
@media(max-width:920px){.sidebar .brand-official .official-logo{height:39px;max-width:151px}.sidebar .sidebar-brand{padding:7px 7px 13px}}
@media(max-width:640px){.site-header .brand-official .official-logo{height:34px;max-width:145px}.sidebar .brand-official .official-logo{height:33px}body.public .mdesk-brand-banner>img{height:270px;aspect-ratio:auto;object-fit:cover;object-position:center center}body.public .mdesk-banner-bottom{font-size:9px;padding:10px 17px}body.public .mdesk-banner-bottom span:last-child{display:none}}

/* MDesk 2026.5.4.0 – coordinated public/private polish */
:root{--md-focus:#20c4d8}
:focus-visible{outline:3px solid var(--md-focus);outline-offset:3px}
body.public .mdesk-brand-banner{isolation:isolate}
body.public .mdesk-brand-banner>img{object-position:center 52%}
body.public .site-header{box-shadow:0 10px 32px rgba(7,22,50,.06)}
body.public .service-card:focus-visible,body.public .product-card:focus-within{border-color:#28b5d5;box-shadow:0 0 0 3px #28b5d525,0 20px 46px #102e4810}
body.public .site-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.app-frame>.sidebar>.sidebar-nav{scrollbar-gutter:stable;overscroll-behavior:contain}
.app-frame>.sidebar .nav-link{transition:background-color .16s ease,color .16s ease}
.app-frame>.app-main .panel,.app-frame>.app-main .stat{box-shadow:0 12px 32px rgba(9,33,68,.035)}
.app-frame>.app-main .app-header{position:sticky;top:0;z-index:15;box-shadow:0 8px 24px rgba(9,33,68,.035)}
.app-frame>.app-main .table-wrap{max-width:100%;overscroll-behavior-x:contain}
.app-frame>.app-main .workspace-content{min-width:0}
@media (min-width:921px){.app-frame>.sidebar>.sidebar-nav{min-height:0;overflow-y:auto;max-height:100%;padding-bottom:20px}.app-frame>.sidebar>.sidebar-bottom{flex-shrink:0}}
@media (max-width:640px){body.public .mdesk-brand-banner>img{height:230px;object-position:center 48%}.app-frame>.app-main .app-header{position:relative}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body.public *,body.admin *,body.customer *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
