@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#080a10;--panel:#10141e;--panel2:#141a26;--line:#242c3b;--muted:#929caf;--text:#edf1f8;--purple:#9c8cff;--cyan:#65dff3;--green:#55d7a5;--amber:#e7bc74;--radius:18px;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth;background:var(--bg)}body{margin:0;background:radial-gradient(ellipse at 75% 0%,#1a1d38 0%,transparent 34%),var(--bg);color:var(--text);font-family:'DM Sans',system-ui,sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{color:inherit}.mono,.eyebrow,.kicker,.tag,.meta,.nav-label{font-family:'DM Mono',monospace;letter-spacing:.08em;text-transform:uppercase}.mono,.eyebrow,.kicker{font-size:10px;color:var(--cyan)}.muted{color:var(--muted)}.container{width:min(var(--max),calc(100% - 52px));margin:auto}.site-header{height:74px;position:sticky;top:0;z-index:100;background:#090b11df;border-bottom:1px solid #ffffff12;backdrop-filter:blur(18px)}.header-inner{height:100%;width:min(1460px,calc(100% - 42px));margin:auto;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.brand-mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none}.brand-name{font:700 13px 'Space Grotesk';letter-spacing:.16em}.brand-sub{display:block;color:#748095;font:8px 'DM Mono';letter-spacing:.18em;margin-top:1px}.main-nav{display:flex;align-items:center;gap:22px;margin-left:auto}.main-nav a{font-size:11px;color:#aeb7c8;transition:.2s}.main-nav a:hover,.main-nav a[aria-current=page]{color:#fff}.header-actions{display:flex;align-items:center;gap:8px}.language-switch{display:flex;border:1px solid var(--line);border-radius:10px;padding:3px;gap:2px}.language-switch button{border:0;background:none;padding:5px 7px;color:#8792a5;border-radius:7px;font:9px 'DM Mono';cursor:pointer}.language-switch button.active{color:#fff;background:#30344a}.aura-btn,.edit-btn,.button,.icon-btn{border:1px solid var(--line);border-radius:10px;background:#131927;padding:9px 12px;font-size:10px;font-weight:700;letter-spacing:.07em;cursor:pointer;transition:.2s}.aura-btn{border-color:#65dff35c;color:#a6f1ff;background:#65dff30b}.aura-btn.active{background:#65dff31a;color:#d5fbff;border-color:#65dff3}.edit-btn{display:inline-flex;border-color:#a88fff77;background:#a88fff16;color:#d5caff}.edit-btn.visible{display:inline-flex}.button.primary{background:#d8d1ff;color:#111321;border-color:#d8d1ff}.button.secondary{background:#121724}.button:hover,.icon-btn:hover,.edit-btn:hover,.aura-btn:hover{transform:translateY(-1px);border-color:#a99aff}.menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;border:1px solid var(--line);background:#111722;border-radius:10px;width:38px;height:38px;color:#e8eaf4;font-size:20px;line-height:1;cursor:pointer}.mobile-nav{display:none}.mobile-nav.open{display:grid;position:fixed;top:66px;left:0;right:0;z-index:1000;padding:12px 18px 18px;background:#0b0e16f7;border-bottom:1px solid var(--line);grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:4px;backdrop-filter:blur(15px)}.mobile-nav a{padding:12px;border-bottom:1px solid #ffffff0e;color:#c8d0df;font-size:12px;text-decoration:none}.mobile-nav a:hover{color:#fff;background:#ffffff0a}.aura-cam{position:fixed;width:1px;height:1px;left:-10000px;opacity:0;pointer-events:none}.aura-pointer{position:fixed;z-index:10000;left:0;top:0;width:24px;height:32px;pointer-events:none;visibility:hidden;transform:none}.aura-pointer svg{width:24px;height:32px;filter:drop-shadow(0 1px 2px #000b)}html.aura-active,html.aura-active *{cursor:none!important}.aura-status{position:fixed;z-index:9999;left:16px;bottom:16px;display:none;max-width:min(90vw,420px);padding:9px 12px;border:1px solid #65dff35c;border-radius:12px;background:#0b1521ee;color:#baf4ff;font:9px 'DM Mono';letter-spacing:.06em;backdrop-filter:blur(16px)}html.veyrost-layout-editing [data-veyrost-layout-item]{outline:1px dashed #a99affb5;outline-offset:4px;cursor:grab!important;user-select:none!important;-webkit-user-select:none!important;touch-action:none!important}html.veyrost-layout-editing [data-veyrost-layout-item]:active{cursor:grabbing!important}.move-hint{display:none;color:#cfc4ff;font:9px 'DM Mono';text-transform:uppercase;letter-spacing:.08em}html.veyrost-layout-editing .move-hint{display:block}
main{min-height:70vh}.page-hero{padding:76px 0 56px;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;right:-110px;top:-170px;width:520px;height:520px;border-radius:50%;border:1px solid #a99aff18;box-shadow:0 0 0 42px #a99aff08,0 0 0 84px #65dff306;pointer-events:none}.hero-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,.8fr);gap:45px;align-items:end;position:relative;z-index:1}.eyebrow{margin-bottom:18px}.hero-title{font:700 clamp(44px,7vw,88px)/.98 'Space Grotesk';letter-spacing:-.065em;max-width:850px;margin:0}.hero-title .gradient{background:linear-gradient(90deg,#e9e7ff 0%,#a69bff 48%,#69dff0 100%);color:transparent;background-clip:text}.hero-copy{max-width:650px;color:#a6b0c2;font-size:15px;line-height:1.8;margin:22px 0 25px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-aside{border:1px solid #ffffff16;border-radius:18px;background:linear-gradient(145deg,#151b29e8,#0d1119e8);padding:20px;box-shadow:0 22px 65px #0004}.aside-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.live-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 12px var(--green);display:inline-block;margin-right:7px}.aside-value{font:600 27px 'Space Grotesk';letter-spacing:-.04em}.aside-label{font:9px 'DM Mono';color:#8792a6;letter-spacing:.11em;text-transform:uppercase}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:17px}.metric{border-top:1px solid #ffffff17;padding-top:12px}.metric strong{display:block;font:600 20px 'Space Grotesk'}.metric span{font:8px 'DM Mono';color:#8792a6;text-transform:uppercase}
.section{padding:64px 0;border-bottom:1px solid #ffffff12}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:26px}.section-head h2{font:600 clamp(25px,3.3vw,38px)/1.1 'Space Grotesk';letter-spacing:-.045em;margin:8px 0 0}.section-head p{max-width:460px;color:var(--muted);font-size:12px;margin:0}.kicker{color:#a99aff;font-size:9px}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{position:relative;border:1px solid #ffffff14;border-radius:var(--radius);background:linear-gradient(145deg,#141a26,#0f131c);padding:20px;min-height:185px;transition:border-color .2s,transform .2s,background .2s;overflow:hidden}.card:hover{transform:translateY(-3px);border-color:#a99aff70;background:linear-gradient(145deg,#191f30,#101722)}.card:before{content:"";position:absolute;right:-42px;bottom:-65px;width:140px;height:140px;border:1px solid #9f91ff18;border-radius:50%;box-shadow:0 0 0 18px #9f91ff05,0 0 0 38px #9f91ff04}.card-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:#a99aff16;color:#c6bdff;border:1px solid #a99aff20;font:600 13px 'DM Mono'}.card h3{font:600 17px 'Space Grotesk';margin:15px 0 7px;letter-spacing:-.025em}.card p{color:#a1adbf;font-size:11px;line-height:1.75;margin:0;max-width:440px}.card-foot{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:10px}.lab-note-card .card-foot{justify-content:flex-start;align-items:flex-start;flex-wrap:wrap}.lab-note-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.tag{font-size:8px;color:#9da8bb;border:1px solid #ffffff16;border-radius:6px;padding:5px 7px;white-space:nowrap}.tag.purple{color:#c8beff;border-color:#a99aff38;background:#a99aff0b}.tag.green{color:#8ee9c7;border-color:#55d7a538}.arrow-link{font:10px 'DM Mono';color:#bcb4ff}.split{display:grid;grid-template-columns:1fr 1fr;gap:15px}.feature-panel{border:1px solid #ffffff15;border-radius:18px;background:#111722;padding:26px}.feature-panel h3{font:600 22px 'Space Grotesk';margin:5px 0 10px}.feature-panel p{color:var(--muted);font-size:12px;line-height:1.8}.list-clean{list-style:none;margin:15px 0 0;padding:0}.list-clean li{border-top:1px solid #ffffff10;padding:11px 0;color:#c5ccda;font-size:11px}.list-clean li:before{content:"↗";color:var(--cyan);margin-right:10px}.stats-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #ffffff15;border-radius:17px;background:#101520;overflow:hidden}.stat{padding:20px;border-right:1px solid #ffffff12}.stat:last-child{border:0}.stat strong{font:600 29px 'Space Grotesk';display:block}.stat span{color:#8995a9;font:9px 'DM Mono';text-transform:uppercase;letter-spacing:.08em}
.project-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.search-box{flex:1;min-width:220px;position:relative}.search-box input{width:100%;height:42px;padding:0 14px 0 39px;border:1px solid var(--line);border-radius:11px;background:#0e131c;color:var(--text);outline:0}.search-box:before{content:"⌕";position:absolute;left:14px;top:3px;color:#8d9bb0;font-size:23px}.filter-select{height:42px;min-width:160px;border:1px solid var(--line);border-radius:11px;background:#0e131c;color:var(--text);padding:0 12px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.project-card{min-height:245px;display:flex;flex-direction:column}.project-card h3{margin-top:12px}.project-card .description{flex:1}.project-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.project-card .card-foot{margin-top:16px}.project-repo{font:9px 'DM Mono';color:#8290a5}.empty-state{border:1px dashed #465064;border-radius:16px;padding:50px;text-align:center;color:var(--muted);grid-column:1/-1}
.studio-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:18px;align-items:start}.studio-sidebar,.studio-canvas{border:1px solid #ffffff16;border-radius:17px;background:#101520;padding:18px}.studio-sidebar h3{font:600 16px 'Space Grotesk';margin:6px 0 14px}.studio-tool{display:flex;justify-content:space-between;padding:11px 0;border-top:1px solid #ffffff12;color:#aeb9ca;font-size:11px}.studio-canvas{min-height:550px;background-image:linear-gradient(#2630442b 1px,transparent 1px),linear-gradient(90deg,#2630442b 1px,transparent 1px);background-size:32px 32px;background-color:#0d121b}.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.workspace-module{min-height:190px}.workspace-module .card-foot{margin-top:auto}.module-stat{font:600 28px 'Space Grotesk';margin-top:14px}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.setting-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #ffffff14;align-items:center}.switch{width:36px;height:20px;border:1px solid #465064;border-radius:20px;background:#222a38;position:relative;cursor:pointer}.switch:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;left:2px;top:2px;background:#aab4c5;transition:.2s}.switch[aria-checked=true]{background:#6355a7;border-color:#9385ec}.switch[aria-checked=true]:after{left:18px;background:#fff}
.company-banner{padding:28px;border:1px solid #a99aff2a;background:linear-gradient(120deg,#a99aff15,#65dff308);border-radius:19px;display:flex;justify-content:space-between;gap:30px;align-items:center}.company-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.company-banner h2{font:600 26px 'Space Grotesk';margin:0 0 8px}.company-banner p{color:var(--muted);font-size:12px;max-width:700px;margin:0}.agent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.agent-card{border:1px solid #ffffff15;border-radius:15px;padding:18px;background:#111722}.agent-card h3{font:600 15px 'Space Grotesk';margin:10px 0 6px}.agent-card p{font-size:11px;color:var(--muted);margin:0}.agent-card small{font:8px 'DM Mono';color:#a99aff;text-transform:uppercase}
.footer{padding:30px 0 42px}.footer-top{display:flex;justify-content:space-between;gap:20px;align-items:start;border-bottom:1px solid #ffffff13;padding-bottom:22px}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.footer-links a{color:#9ba6b8;font-size:10px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;color:#758197;font:9px 'DM Mono';padding-top:16px}.toast{position:fixed;right:18px;bottom:18px;z-index:11000;border:1px solid #65dff355;border-radius:12px;background:#0d1724;padding:11px 15px;color:#c5faff;font:10px 'DM Mono';opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.toast.show{opacity:1;transform:translateY(0)}
@media(max-width:980px){.main-nav{display:none!important}.menu-toggle{display:inline-flex!important}.main-nav a{font-size:10px}.card-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:1fr 270px;gap:25px}.header-inner{gap:15px}}
@media(max-width:760px){.header-inner{gap:8px}.header-actions{gap:4px}.language-switch{display:flex}.language-switch button{padding:4px 4px;font-size:8px}.aura-btn,.edit-btn{padding:7px 6px;font-size:8px}.menu-toggle{width:30px;height:30px}.container{width:calc(100% - 32px)}.site-header{height:66px}.header-inner{width:calc(100% - 28px)}.main-nav{display:none}.menu-toggle{display:block}.header-actions{margin-left:auto}.language-switch{display:none}.mobile-nav.open{display:grid;position:fixed;top:66px;left:0;right:0;z-index:99;padding:10px 18px 18px;background:#0b0e16f7;border-bottom:1px solid var(--line);grid-template-columns:repeat(2,1fr);gap:4px;backdrop-filter:blur(15px)}.mobile-nav a{padding:11px;border-bottom:1px solid #ffffff0e;color:#aeb8ca;font-size:12px}.hero-grid{grid-template-columns:1fr}.page-hero{padding:54px 0 42px}.hero-aside{max-width:440px}.section{padding:48px 0}.section-head{display:block}.section-head p{margin-top:12px}.card-grid,.project-grid{grid-template-columns:1fr}.split{grid-template-columns:1fr}.stats-strip{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid #ffffff12}.studio-layout{grid-template-columns:1fr}.studio-sidebar{display:none}.workspace-grid,.settings-grid{grid-template-columns:1fr}.agent-grid{grid-template-columns:1fr}.company-banner{display:block}.company-banner .button{display:inline-block;margin-top:15px}.company-banner .company-actions{justify-content:flex-start}.footer-top,.footer-bottom{display:block}.footer-links{margin-top:18px}.footer-bottom span{display:block;margin-top:7px}.aura-status{left:10px;bottom:10px;max-width:calc(100vw - 20px)}}
@media(max-width:410px){.brand-name,.brand-sub{display:none}.edit-btn{padding:7px 5px;font-size:7px}.brand-name{font-size:11px}.brand-sub{font-size:7px}.aura-btn{padding:8px 9px;font-size:9px}.hero-title{font-size:44px}.metric-row{gap:6px}.metric strong{font-size:17px}.project-toolbar{display:grid;grid-template-columns:1fr}.search-box{min-width:0}}


/* VEYROST unified animated navigation — single menu on desktop and mobile */
.site-header{position:sticky;top:0;z-index:1000;overflow:visible}
.header-inner{display:flex;align-items:center;gap:16px}
.menu-toggle{order:0;display:flex!important;flex:0 0 42px;width:42px;height:42px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;border:1px solid var(--line);border-radius:12px;background:#111722;color:#eef1fb;cursor:pointer}
.menu-toggle span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor;transition:transform .28s ease,opacity .2s ease}
.menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(7px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-7px) rotate(-45deg)}
.brand{order:1}
.main-nav{display:none!important}
.header-actions{order:2;margin-left:auto}
.mobile-nav{position:absolute;top:100%;left:20px;width:min(340px,calc(100vw - 40px));display:grid!important;grid-template-columns:1fr;gap:0;padding:10px 14px 14px;background:rgba(10,13,22,.97);border:1px solid #ffffff18;border-top:2px solid #a99aff;border-radius:0 0 16px 16px;box-shadow:0 22px 55px #0009;backdrop-filter:blur(22px);visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-14px) scale(.985);transform-origin:top left;transition:opacity .24s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility .32s}
.mobile-nav.open{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0) scale(1)}
.mobile-nav a{display:flex;align-items:center;gap:15px;min-height:48px;padding:10px 12px;border-bottom:1px solid #ffffff0d;border-radius:8px;color:#cbd3e3;font-size:13px;letter-spacing:.025em;opacity:0;transform:translateY(-9px);transition:background .2s,color .2s,opacity .25s ease,transform .3s ease}
.mobile-nav.open a{opacity:1;transform:translateY(0)}
.mobile-nav.open a:nth-child(1){transition-delay:.035s}
.mobile-nav.open a:nth-child(2){transition-delay:.075s}
.mobile-nav.open a:nth-child(3){transition-delay:.115s}
.mobile-nav.open a:nth-child(4){transition-delay:.155s}
.mobile-nav.open a:nth-child(5){transition-delay:.195s}
.mobile-nav.open a:nth-child(6){transition-delay:.235s}
.mobile-nav.open a:nth-child(8){transition-delay:.285s}
.mobile-nav a:hover,.mobile-nav a[aria-current="page"]{background:#a99aff12;color:#fff}
.menu-index{width:25px;color:#8992aa;font:10px 'DM Mono';letter-spacing:.08em}
.menu-divider{height:1px;margin:8px 8px;border-top:1px solid #ffffff18}
@media(max-width:760px){.header-inner{gap:10px}.site-header{height:66px}.menu-toggle{width:36px;height:36px;flex-basis:36px}.mobile-nav{left:12px;width:min(330px,calc(100vw - 24px))}.header-actions{gap:5px}.aura-btn,.edit-btn{padding:7px 7px;font-size:8px}}
@media(max-width:410px){.brand-name,.brand-sub{display:block}.brand-name{font-size:10px}.brand-sub{font-size:6px}.header-inner{gap:7px}.menu-toggle{width:33px;height:33px;flex-basis:33px}.aura-btn,.edit-btn{font-size:7px;padding:7px 5px}}


/* Final menu layout correction: one full-width row per destination. */
.mobile-nav.open{grid-template-columns:1fr!important}
.mobile-nav a{width:100%;justify-content:flex-start;gap:14px}
.menu-settings-icon{display:block;flex:0 0 18px;width:18px;height:18px;color:#b8a9ff}
.mobile-nav a[href*="#workspace-settings"]{border-top:1px solid #ffffff18;margin-top:8px;padding-top:15px;color:#d7ccff}

/* Hard override: the dropdown is a vertical flex stack, never a grid. */
#mobile-nav.mobile-nav{display:none;grid-template-columns:none!important;grid-auto-flow:row!important;flex-direction:column!important;align-items:stretch!important}
#mobile-nav.mobile-nav.open{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;grid-template-columns:none!important;grid-auto-flow:row!important}
#mobile-nav.mobile-nav>a{display:flex!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;min-height:48px;box-sizing:border-box}
#mobile-nav.mobile-nav>.menu-divider{display:block!important;flex:0 0 1px!important;width:auto!important}

/* Header controls join the layout editor, with two-step drag arming. */
html.veyrost-layout-editing #menu-toggle[data-veyrost-layout-item],
html.veyrost-layout-editing #mobile-nav a[data-two-step-drag]{outline:1px dashed #a99affb5;outline-offset:4px;cursor:grab!important;touch-action:none!important}
html.veyrost-layout-editing #menu-toggle[data-veyrost-layout-item]:active,
html.veyrost-layout-editing #mobile-nav a[data-two-step-drag]:active{cursor:grabbing!important}

/* Primary Menu recovery alert: visible only while the Menu control is displaced. */
.menu-repair-notice{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);right:12px;z-index:10050;display:flex;align-items:center;gap:10px;max-width:min(440px,calc(100vw - 24px));padding:10px 12px;border:1px solid rgba(255,105,105,.55);border-radius:13px;background:rgba(22,12,20,.96);box-shadow:0 12px 36px rgba(0,0,0,.42);backdrop-filter:blur(14px);color:#ffe4e4;font:600 11px/1.35 Inter,system-ui,sans-serif}
.menu-repair-notice[hidden]{display:none!important}
.menu-repair-message{flex:1;min-width:0;letter-spacing:.045em}
.menu-repair-button{flex:0 0 auto;border:1px solid rgba(190,170,255,.65);border-radius:8px;background:#cfc0ff;color:#171326;padding:9px 11px;font:800 10px/1 Inter,system-ui,sans-serif;letter-spacing:.045em;cursor:pointer}
.menu-repair-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:520px){.menu-repair-notice{right:8px;top:calc(env(safe-area-inset-top,0px) + 8px);max-width:calc(100vw - 16px);gap:7px;padding:8px}.menu-repair-button{padding:8px;font-size:9px}.menu-repair-message{font-size:9px}}

/* A detached primary Menu control is visually and functionally disabled. */
html.veyrost-menu-detached #menu-toggle{pointer-events:none!important;opacity:.42!important;filter:grayscale(1);cursor:not-allowed!important}
html.veyrost-menu-detached #menu-toggle:focus{outline:none}
html.veyrost-layout-editing #menu-toggle{touch-action:none!important}


/* Cross-browser header controls: keep the language selector visible on compact screens. */
@media(max-width:760px){
  .language-switch{display:flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important}
  .header-actions{display:flex!important;min-width:0;flex:0 1 auto;align-items:center}
  .language-switch button{display:inline-flex!important;align-items:center;justify-content:center;min-width:22px;padding:4px 3px}
}
@media(max-width:520px){
  .brand-name,.brand-sub{display:none!important}
  .header-inner{gap:7px}
  .header-actions{gap:4px}
  .language-switch{padding:2px;gap:1px}
  .language-switch button{min-width:20px;padding:4px 2px;font-size:8px}
  .aura-btn,.edit-btn{white-space:nowrap;padding:6px 5px;font-size:7px}
}
@media(max-width:360px){
  .header-inner{width:calc(100% - 18px);gap:5px}
  .menu-toggle{width:32px;height:32px;flex-basis:32px}
  .header-actions{gap:3px}
  .aura-btn,.edit-btn{padding:5px 4px;font-size:6.5px}
  .language-switch button{min-width:18px;font-size:7px}
}
.menu-repair-notice[hidden]{display:none!important}


/* Mobile header: reserve a stable visible slot for EN / RU / TJ. */
@media screen and (max-width: 760px) {
  .site-header .header-inner { width: calc(100% - 20px) !important; gap: 6px !important; }
  .site-header .brand { display: none !important; }
  .site-header .header-actions { display: flex !important; flex: 1 1 auto !important; min-width: 0 !important; justify-content: flex-end !important; gap: 5px !important; }
  .site-header .header-actions > .language-switch { display: flex !important; flex: 0 0 auto !important; visibility: visible !important; opacity: 1 !important; position: static !important; width: auto !important; height: auto !important; overflow: visible !important; }
  .site-header .language-switch button { display: inline-flex !important; visibility: visible !important; opacity: 1 !important; flex: 0 0 auto !important; min-width: 23px !important; padding: 5px 4px !important; font-size: 8px !important; }
  .site-header .aura-btn, .site-header .edit-btn { flex: 0 0 auto !important; white-space: nowrap !important; padding: 6px 6px !important; font-size: 7px !important; }
}
@media screen and (max-width: 380px) {
  .site-header .header-inner { width: calc(100% - 14px) !important; gap: 4px !important; }
  .site-header .header-actions { gap: 3px !important; }
  .site-header .language-switch button { min-width: 20px !important; padding: 4px 2px !important; font-size: 7px !important; }
  .site-header .aura-btn, .site-header .edit-btn { padding: 5px 4px !important; font-size: 6px !important; letter-spacing: 0 !important; }
}

/* Detached Menu remains disabled for navigation, but becomes draggable in edit mode. */
html.veyrost-menu-detached.veyrost-layout-editing #menu-toggle {
  pointer-events: auto !important;
  opacity: .72 !important;
  filter: none !important;
  cursor: grab !important;
  touch-action: none !important;
}
html.veyrost-menu-detached.veyrost-layout-editing #menu-toggle:active { cursor: grabbing !important; }


/* Highest-specificity recovery: detached Menu must receive pointer input while editing. */
html.veyrost-menu-detached.veyrost-layout-editing #menu-toggle[data-veyrost-layout-item] {
  pointer-events: auto !important;
  opacity: 1 !important;
  filter: none !important;
  cursor: grab !important;
  touch-action: none !important;
  z-index: 10060 !important;
}
html.veyrost-menu-detached.veyrost-layout-editing #menu-toggle[data-veyrost-layout-item]:active {
  cursor: grabbing !important;
}


/* VEYROST repair robot: walks to the detached Menu and escorts it home. */
.veyrost-repair-robot{
  position:fixed;left:0;top:0;width:72px;z-index:2147483000;
  display:flex;flex-direction:column;align-items:center;gap:2px;
  pointer-events:none;will-change:transform;
  transition:transform 720ms cubic-bezier(.2,.75,.25,1),opacity 260ms ease;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.55));
}
.veyrost-repair-robot svg{width:66px;height:78px;overflow:visible}
.veyrost-repair-robot span{
  padding:3px 6px;border:1px solid rgba(157,235,255,.4);border-radius:5px;
  background:#101522;color:#9DEBFF;font:700 7px/1.2 monospace;letter-spacing:1px;
}
.veyrost-repair-robot.is-working svg{animation:veyrost-robot-hover .45s ease-in-out infinite alternate}
.veyrost-repair-robot.is-working .robot-arm-left{transform-origin:23px 54px;animation:veyrost-robot-grab .35s ease-in-out infinite alternate}
.veyrost-repair-robot.is-working .robot-arm-right{transform-origin:49px 54px;animation:veyrost-robot-grab .35s ease-in-out infinite alternate-reverse}
.veyrost-repair-robot.is-lifting{filter:drop-shadow(0 0 14px rgba(111,230,208,.8))}
.veyrost-repair-robot.is-leaving{opacity:0;transform:translate3d(105vw,-30px,0)!important}
.menu-repair-notice.is-repairing .menu-repair-button{opacity:.55;cursor:wait}
.menu-repair-button:disabled{pointer-events:none}
@keyframes veyrost-robot-hover{from{transform:translateY(0)}to{transform:translateY(-5px)}}
@keyframes veyrost-robot-grab{from{rotate:-8deg}to{rotate:18deg}}



/* Robot visibility and deliberate repair timing across mobile browsers. */
.veyrost-repair-robot{
  display:flex!important;visibility:visible!important;opacity:1!important;
  position:fixed!important;z-index:2147483647!important;
  width:max-content!important;min-width:72px!important;
  transform-origin:center center!important;pointer-events:none!important;
  isolation:isolate!important;
}
.veyrost-repair-robot svg{display:block!important;visibility:visible!important;opacity:1!important;width:72px!important;height:84px!important}
.veyrost-repair-robot span{display:block!important;white-space:nowrap!important;font-size:8px!important}
.veyrost-repair-robot.is-leaving{opacity:0!important;transform:translate3d(110vw,-40px,0)!important}


/* Mobile-safe robot portal: render above browser content from the root viewport. */
.veyrost-repair-layer{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
  z-index:2147483647!important;display:block!important;visibility:visible!important;
  opacity:1!important;pointer-events:none!important;overflow:visible!important;
  contain:none!important;transform:none!important;filter:none!important;
}
.veyrost-repair-layer .veyrost-repair-robot{
  position:fixed!important;display:flex!important;visibility:visible!important;
  opacity:1!important;z-index:2147483647!important;left:0;top:0;
  width:72px!important;min-width:72px!important;height:auto!important;
  flex-direction:column!important;align-items:center!important;gap:3px!important;
  pointer-events:none!important;will-change:left,top,opacity!important;
  transition:left 1400ms cubic-bezier(.2,.75,.25,1),top 1400ms cubic-bezier(.2,.75,.25,1),opacity 500ms ease!important;
  transform:none!important;filter:drop-shadow(0 8px 18px rgba(0,0,0,.65))!important;
}
.veyrost-repair-layer .veyrost-repair-robot svg{display:block!important;width:72px!important;height:84px!important;visibility:visible!important;opacity:1!important}
.veyrost-repair-layer .veyrost-repair-robot span{display:block!important;white-space:nowrap!important;padding:4px 6px;background:#101522;color:#9DEBFF;border:1px solid #9DEBFF80;border-radius:5px;font:700 8px/1.2 monospace}
.veyrost-repair-layer .veyrost-repair-robot.is-working svg{animation:veyrost-robot-hover .45s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-repair-robot.is-working .robot-arm-left{transform-origin:23px 54px;animation:veyrost-robot-grab .35s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-repair-robot.is-working .robot-arm-right{transform-origin:49px 54px;animation:veyrost-robot-grab .35s ease-in-out infinite alternate-reverse!important}
.veyrost-repair-layer .veyrost-repair-robot.is-leaving{opacity:0!important}
@media(max-width:760px){
 .veyrost-repair-layer{position:fixed!important;inset:0!important;height:100dvh!important;z-index:2147483647!important}
 .veyrost-repair-layer .veyrost-repair-robot{width:76px!important;min-width:76px!important}
 .veyrost-repair-layer .veyrost-repair-robot svg{width:76px!important;height:88px!important}
}

/* VEYROST physical button bodies: collision-ready controls in layout edit mode. */
html.veyrost-layout-editing button:not(#layout-toggle):not(#aura-toggle):not(.menu-repair-button){touch-action:none!important;will-change:translate,scale;transform-origin:center;transition:scale 70ms linear;cursor:grab!important}
html.veyrost-layout-editing button:not(#layout-toggle):not(#aura-toggle):not(.menu-repair-button):active{cursor:grabbing!important}



/* Directional soft-body silhouette deformation for catalog cards. */
html.veyrost-layout-editing [data-veyrost-layout-item]{will-change:translate,clip-path;}

/* Two-person technical repair crew arriving in a tracked service vehicle. */
.veyrost-repair-layer .veyrost-tech-vehicle{position:fixed;left:0;top:0;width:220px;height:100px;z-index:2147483646;display:flex;flex-direction:column;align-items:center;gap:0;will-change:left,top;transition:left 1500ms cubic-bezier(.2,.75,.2,1);filter:drop-shadow(0 9px 16px #0009)}
.veyrost-tech-vehicle svg{display:block;width:220px;height:100px}
.veyrost-tech-vehicle span{margin-top:-5px;padding:3px 6px;border:1px solid #75e6e080;border-radius:5px;background:#0c1723;color:#9defff;font:700 7px/1.2 monospace;letter-spacing:.08em;white-space:nowrap}
.veyrost-tech-vehicle.is-parked{filter:drop-shadow(0 0 13px #6fe6d055)}
.veyrost-tech-vehicle.is-driving-away{opacity:.9}
.veyrost-repair-layer .veyrost-tech-person{z-index:2147483647;transition:left 700ms cubic-bezier(.2,.75,.25,1),top 700ms cubic-bezier(.2,.75,.25,1),opacity 300ms ease}
.veyrost-repair-layer .veyrost-tech-person svg{width:54px!important;height:64px!important}
.veyrost-repair-layer .veyrost-tech-person span{font-size:6px!important}
.veyrost-repair-layer .veyrost-tech-person.is-working svg{animation:veyrost-robot-hover .42s ease-in-out infinite alternate}
@media(max-width:760px){
 .veyrost-repair-layer .veyrost-tech-vehicle{transform:scale(.82);transform-origin:left top}
 .veyrost-repair-layer .veyrost-tech-person svg{width:48px!important;height:58px!important}
}


/* Stable in-viewport repair choreography: technicians deploy from and return to the parked vehicle. */
.veyrost-repair-layer .veyrost-tech-person{position:fixed!important;left:0;top:0;z-index:2147483647;opacity:0;transition:left 620ms cubic-bezier(.2,.75,.25,1),top 620ms cubic-bezier(.2,.75,.25,1),opacity 220ms ease!important;pointer-events:none}
.veyrost-repair-layer .veyrost-tech-person svg{width:62px!important;height:74px!important}
.veyrost-repair-layer .veyrost-tech-person span{font-size:6px!important}
.veyrost-repair-layer .veyrost-tech-vehicle{position:fixed!important;left:0;top:0;width:220px;height:100px;z-index:2147483646;display:flex;flex-direction:column;align-items:center;gap:0;will-change:left,top;transition:left 1450ms cubic-bezier(.2,.75,.2,1)!important}
.veyrost-repair-layer .veyrost-tech-vehicle.is-driving-away{transition:left 1150ms cubic-bezier(.4,0,.8,.4)!important}


/* Field-technician visual identity and grounded walking/repair motion. */
.veyrost-repair-layer .veyrost-tech-person{width:82px!important;min-width:82px!important;gap:2px!important;filter:drop-shadow(0 7px 12px #000b)!important}
.veyrost-repair-layer .veyrost-tech-person svg{width:82px!important;height:96px!important;overflow:visible!important}
.veyrost-repair-layer .veyrost-tech-person span{font-size:6px!important;letter-spacing:.04em!important;color:#d9f8ff!important;border-color:#6fe6d080!important;background:linear-gradient(135deg,#101c2c,#182b3c)!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking svg{animation:veyrost-tech-walk .22s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-arm-left{transform-origin:31px 66px;animation:veyrost-tech-arm .22s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-arm-right{transform-origin:69px 66px;animation:veyrost-tech-arm .22s ease-in-out infinite alternate-reverse!important}
.veyrost-repair-layer .veyrost-tech-person.is-working svg{animation:veyrost-tech-repair .32s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-working .robot-arm-right{transform-origin:69px 66px;animation:veyrost-tech-tool .28s ease-in-out infinite alternate!important}
@keyframes veyrost-tech-walk{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-3px) rotate(1deg)}}
@keyframes veyrost-tech-arm{from{rotate:-10deg}to{rotate:13deg}}
@keyframes veyrost-tech-repair{from{transform:translateY(0)}to{transform:translateY(-2px)}}
@keyframes veyrost-tech-tool{from{rotate:-18deg}to{rotate:24deg}}
@media(max-width:760px){
 .veyrost-repair-layer .veyrost-tech-person{width:72px!important;min-width:72px!important}
 .veyrost-repair-layer .veyrost-tech-person svg{width:72px!important;height:86px!important}
}



/* Vehicle-deployed crew: compact paired robots physically escort the detached MENU control. */
.veyrost-repair-layer .veyrost-tech-person{width:58px!important;min-width:58px!important;height:68px!important;gap:1px!important;opacity:0;transition:left 760ms cubic-bezier(.2,.75,.25,1),top 760ms cubic-bezier(.2,.75,.25,1),opacity 260ms ease!important}
.veyrost-repair-layer .veyrost-tech-person svg{width:58px!important;height:58px!important;overflow:visible!important}
.veyrost-repair-layer .veyrost-tech-person span{font-size:5px!important;padding:2px 4px!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking svg{animation:veyrost-tech-walk .22s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-carrying svg{animation:veyrost-tech-carry .34s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-arm-left,
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-arm-right{stroke:#8ff4e4!important;stroke-width:9!important}
.veyrost-repair-layer .veyrost-carried-menu{z-index:2147483645!important;box-sizing:border-box!important;filter:drop-shadow(0 5px 12px #000b)!important}
.veyrost-repair-layer .veyrost-tech-vehicle{transition:left 1580ms cubic-bezier(.2,.75,.2,1)!important}
.veyrost-repair-layer .veyrost-tech-vehicle.is-driving-away{transition:left 1250ms cubic-bezier(.4,0,.8,.4)!important}
@keyframes veyrost-tech-carry{from{transform:translateY(0)}to{transform:translateY(-2px)}}
@media(max-width:760px){
 .veyrost-repair-layer .veyrost-tech-person{width:54px!important;min-width:54px!important;height:64px!important}
 .veyrost-repair-layer .veyrost-tech-person svg{width:54px!important;height:54px!important}
}


/* On-location repair: tool movement, sparks, and a clear boarding phase before departure. */
.veyrost-repair-layer .veyrost-menu-repair-fx{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;opacity:0;transform:scale(.7);animation:veyrost-repair-tool-arrive .28s ease-out forwards}
.veyrost-repair-layer .veyrost-menu-repair-fx svg{width:78px;height:58px;filter:drop-shadow(0 0 8px #6fe6d0aa);animation:veyrost-repair-tool-work .32s ease-in-out infinite alternate}
.veyrost-repair-layer .veyrost-menu-repair-fx span{font:700 7px/1 monospace;letter-spacing:.16em;color:#a9fff0;text-shadow:0 0 8px #52e6d2}
.veyrost-repair-layer .veyrost-menu-repair-fx.is-complete{animation:veyrost-repair-tool-done .35s ease-out forwards}
.veyrost-repair-layer .veyrost-menu-repair-fx.is-complete svg{animation:none;filter:drop-shadow(0 0 13px #8ff4e4)}
.veyrost-repair-layer .veyrost-tech-person.is-boarding{transform:scale(.55);transform-origin:bottom center;filter:brightness(1.6) drop-shadow(0 0 8px #7de6ed);transition:opacity 380ms ease,transform 380ms ease!important}
.veyrost-repair-layer .veyrost-carried-menu.is-being-repaired{filter:drop-shadow(0 0 10px #8ff4e4aa);animation:veyrost-menu-repair-pulse .65s ease-in-out infinite alternate}
@keyframes veyrost-repair-tool-arrive{to{opacity:1;transform:scale(1)}}
@keyframes veyrost-repair-tool-work{from{transform:rotate(-12deg) translateY(1px)}to{transform:rotate(12deg) translateY(-2px)}}
@keyframes veyrost-repair-tool-done{to{opacity:0;transform:scale(1.25)}}
@keyframes veyrost-menu-repair-pulse{from{filter:drop-shadow(0 0 3px #8ff4e466)}to{filter:drop-shadow(0 0 13px #8ff4e4)}}


/* Repair crew v2: isolated positioning; never inherit legacy robot transforms. */
.veyrost-repair-layer .veyrost-tech-person{
  position:fixed!important;left:0;top:0;right:auto!important;bottom:auto!important;
  width:82px!important;min-width:82px!important;height:auto!important;margin:0!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  opacity:0;transform:none!important;translate:none!important;scale:1!important;
  z-index:2147483647!important;pointer-events:none!important;will-change:left,top,opacity!important;
  transition:left 620ms cubic-bezier(.2,.75,.25,1),top 620ms cubic-bezier(.2,.75,.25,1),opacity 260ms ease!important;
}
.veyrost-repair-layer .veyrost-tech-person svg{
  display:block!important;width:82px!important;height:96px!important;max-width:none!important;
}
.veyrost-repair-layer .veyrost-tech-person.is-boarding{
  opacity:0!important;transform:scale(.45)!important;transform-origin:bottom center!important;
  transition:opacity 420ms ease,transform 420ms ease!important;
}
@media(max-width:760px){
  .veyrost-repair-layer .veyrost-tech-person{width:58px!important;min-width:58px!important}
  .veyrost-repair-layer .veyrost-tech-person svg{width:58px!important;height:68px!important}
}

/* Repair crew v3: explicit viewport anchors and cabin boarding; no legacy robot selectors. */
.veyrost-repair-layer .veyrost-tech-person{
 position:fixed!important;display:flex!important;flex-direction:column!important;align-items:center!important;
 right:auto!important;bottom:auto!important;margin:0!important;transform:none!important;translate:none!important;
 opacity:0;z-index:2147483647!important;pointer-events:none!important;
 transition:left 650ms cubic-bezier(.2,.75,.25,1),top 650ms cubic-bezier(.2,.75,.25,1),opacity 260ms ease!important;
}
.veyrost-repair-layer .veyrost-tech-person svg{display:block!important;width:82px!important;height:96px!important;max-width:none!important}
.veyrost-repair-layer .veyrost-tech-person.is-boarding{opacity:0!important;transform:scale(.3)!important;transform-origin:center center!important;transition:opacity 460ms ease,transform 460ms ease!important}
.veyrost-repair-layer .veyrost-tech-vehicle{position:fixed!important;display:flex!important;left:0;top:0;width:220px;height:100px;z-index:2147483646!important;transition:left 1580ms cubic-bezier(.2,.75,.2,1)!important}
@media(max-width:760px){
 .veyrost-repair-layer .veyrost-tech-person{width:58px!important;min-width:58px!important}
 .veyrost-repair-layer .veyrost-tech-person svg{width:58px!important;height:68px!important}
}

/* Transparent exposed cables: preserve the page's existing background without drawing a wall. */
.veyrost-detached-wires{
 position:fixed;width:176px;height:112px;z-index:1;pointer-events:none;
 opacity:1;filter:drop-shadow(0 3px 4px rgba(0,0,0,.52));
}
.veyrost-detached-wires svg{display:block;width:100%;height:100%;overflow:visible}
.veyrost-detached-wires path{vector-effect:non-scaling-stroke}




/* Subtle cable life: short, flexible leads with restrained independent movement. */
 .veyrost-detached-wires svg path:nth-of-type(7),
.veyrost-detached-wires svg path:nth-of-type(8),
.veyrost-detached-wires svg path:nth-of-type(9){
  transform-box:fill-box;transform-origin:center;
}
.veyrost-detached-wires svg path:nth-of-type(7){animation:veyrost-cable-upper 2.8s ease-in-out infinite alternate}
.veyrost-detached-wires svg path:nth-of-type(8){animation:veyrost-cable-lower 3.2s ease-in-out infinite alternate}
.veyrost-detached-wires svg path:nth-of-type(9){animation:veyrost-cable-side 2.5s ease-in-out infinite alternate}
@keyframes veyrost-cable-upper{from{translate:0 0}to{translate:-1.2px -1px}}
@keyframes veyrost-cable-lower{from{translate:0 0}to{translate:1px 1.4px}}
@keyframes veyrost-cable-side{from{translate:0 0}to{translate:1.5px -.6px}}



/* The original header plane must always sit above the wall aperture and its cables. */
.site-header{position:sticky!important;z-index:1000!important;isolation:isolate!important}
#menu-toggle{position:relative!important;z-index:10060!important}
.site-header .veyrost-detached-wires{position:fixed!important;z-index:1!important;pointer-events:none!important}
.site-header #menu-toggle{position:relative!important;z-index:10060!important}

/* Seven independent, restrained live leads. Keep the aperture visible and the MENU control above it. */
.site-header{position:sticky!important;z-index:1000!important;isolation:isolate!important}
.site-header .veyrost-detached-wires{position:fixed!important;z-index:10050!important;pointer-events:none!important}
.site-header #menu-toggle{position:relative!important;z-index:10060!important}
.veyrost-detached-wires .wire{transform-box:fill-box;transform-origin:center}
.veyrost-detached-wires .wire-a{animation:veyrost-wire-a 3.1s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-b{animation:veyrost-wire-b 2.8s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-c{animation:veyrost-wire-c 3.4s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-d{animation:veyrost-wire-d 2.7s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-e{animation:veyrost-wire-e 3.2s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-f{animation:veyrost-wire-f 2.9s ease-in-out infinite alternate}
.veyrost-detached-wires .wire-g{animation:veyrost-wire-g 3.5s ease-in-out infinite alternate}
@keyframes veyrost-wire-a{to{translate:-1px -1px}}
@keyframes veyrost-wire-b{to{translate:.4px -1.2px}}
@keyframes veyrost-wire-c{to{translate:1px -.8px}}
@keyframes veyrost-wire-d{to{translate:1.2px .2px}}
@keyframes veyrost-wire-e{to{translate:1px 1px}}
@keyframes veyrost-wire-f{to{translate:-.3px 1.2px}}
@keyframes veyrost-wire-g{to{translate:-1px .8px}}


/* Exposed industrial service robots: no clothing, matching chassis, distinct circuit-line colors. */
.veyrost-repair-layer .veyrost-tech-person span{display:none!important}
.veyrost-repair-layer .veyrost-tech-person svg{filter:drop-shadow(0 5px 8px rgba(0,0,0,.65)) drop-shadow(0 0 5px currentColor)!important}
.veyrost-repair-layer .veyrost-tech-person{color:#6fe6d0}
.veyrost-repair-layer .veyrost-tech-person:nth-of-type(2){color:#a98cff}
.veyrost-repair-layer .veyrost-tech-person:nth-of-type(3){color:#a98cff}

/* Two robots perform separate repair jobs: one carries the MENU, the other reconnects the seven wall leads. */
.veyrost-repair-layer .veyrost-tech-person.is-wiring svg{animation:veyrost-wire-tech  .38s ease-in-out infinite alternate!important}
.veyrost-repair-layer .veyrost-tech-person.is-wiring svg path:nth-of-type(7),
.veyrost-repair-layer .veyrost-tech-person.is-wiring svg path:nth-of-type(8){transform-box:fill-box;transform-origin:center;animation:veyrost-wire-hand .24s ease-in-out infinite alternate}
.veyrost-detached-wires.is-reconnecting svg{filter:drop-shadow(0 0 3px rgba(111,230,208,.9))!important}
.veyrost-detached-wires.is-reconnecting .wire{animation-duration:.24s!important;filter:drop-shadow(0 0 3px rgba(111,230,208,.8))}
@keyframes veyrost-wire-tech{to{transform:translateY(-2px) rotate(-1deg)}}
@keyframes veyrost-wire-hand{to{translate:0 -2px}}

/* Fully articulated repair robots: visible grippers, independent elbows and powered cable tool. */
.veyrost-repair-layer .veyrost-tech-person{z-index:2147483646!important}
.veyrost-repair-layer .veyrost-tech-person svg{overflow:visible!important}
.veyrost-repair-layer .robot-arm{transform-box:view-box;transform-origin:center;transition:transform .42s cubic-bezier(.2,.8,.2,1)}
.veyrost-repair-layer .robot-arm-left{transform-origin:31px 47px}
.veyrost-repair-layer .robot-arm-right{transform-origin:69px 47px}
.veyrost-repair-layer .robot-hand{transform-box:view-box;transform-origin:center;transition:transform .22s ease}
.veyrost-repair-layer .robot-welder{opacity:0;transition:opacity .18s ease}
.veyrost-repair-layer .robot-welder .welder-beam{opacity:0;stroke-dasharray:2 2}
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-arm-left{transform:rotate(-38deg) translate(1px,2px)}
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-arm-right{transform:rotate(38deg) translate(-1px,2px)}
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-hand{transform:scale(.72)}
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-arm-left{transform:rotate(-48deg) translate(2px,3px)}
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-arm-right{transform:rotate(48deg) translate(-2px,3px)}
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-hand{transform:scale(.62)}
.veyrost-repair-layer .veyrost-tech-person.is-setting-down .robot-arm-left{transform:rotate(-18deg)}
.veyrost-repair-layer .veyrost-tech-person.is-setting-down .robot-arm-right{transform:rotate(18deg)}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-arm-right{transform:rotate(27deg) translate(-1px,2px)}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-arm-left{transform:rotate(-12deg)}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-welder{opacity:1}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-arm-right{transform:rotate(43deg) translate(-2px,4px)}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-welder .welder-beam{opacity:1;animation:veyrost-welder-spark .16s steps(2,end) infinite}
.veyrost-repair-layer .veyrost-tech-person.is-working .robot-arm-right{transform:rotate(32deg)}
.veyrost-repair-layer .veyrost-carried-menu{z-index:2147483647!important;transform-origin:center;box-shadow:0 0 0 1px rgba(210,235,245,.18),0 8px 20px rgba(0,0,0,.45)}
.veyrost-repair-layer .veyrost-carried-menu.is-lifting{transform:translateY(-8px) rotate(-4deg);filter:drop-shadow(0 0 13px rgba(111,230,208,.65))!important}
.veyrost-detached-wires .wire{transition:filter .2s ease,opacity .2s ease}
.veyrost-detached-wires .wire.is-connecting{filter:drop-shadow(0 0 5px rgba(117,239,222,.95))!important;animation:veyrost-wire-connect .24s ease-in-out infinite alternate}
.veyrost-detached-wires .wire.is-connecting path:nth-child(3){stroke:#bffff5!important;stroke-width:2.1!important}
.veyrost-detached-wires .wire.is-connected{filter:drop-shadow(0 0 2px rgba(117,239,222,.48))}
@keyframes veyrost-wire-connect{from{opacity:.72}to{opacity:1}}
@keyframes veyrost-welder-spark{0%{opacity:.1}50%{opacity:1}100%{opacity:.25}}


/* Synchronize carrier travel with the MENU clone so its hands visibly hold the moving control. */
.veyrost-repair-layer .veyrost-tech-person.is-carrying{
 transition:left 1850ms cubic-bezier(.22,.72,.25,1),top 1850ms cubic-bezier(.22,.72,.25,1),opacity 260ms ease!important
}
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-hand,
.veyrost-repair-layer .veyrost-tech-person.is-carrying .robot-hand{filter:drop-shadow(0 0 5px rgba(121,240,222,.9))}
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-arm-left,
.veyrost-repair-layer .veyrost-tech-person.is-grabbing .robot-arm-right{transition-duration:.32s!important}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-welder{filter:drop-shadow(0 0 5px currentColor)}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-welder .welder-beam{filter:drop-shadow(0 0 5px currentColor);stroke-width:2.3}
@media(max-width:760px){
 .veyrost-repair-layer .veyrost-tech-person{width:58px!important;min-width:58px!important}
 .veyrost-repair-layer .veyrost-tech-person svg{width:58px!important;height:67px!important}
}

/* Cable technician stands shoulder-close to the aperture; the right tool arm reaches into the cable fan. */
.veyrost-repair-layer .veyrost-tech-person.is-wiring{z-index:2147483647!important}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-arm-right{
 transform:rotate(42deg) translate(2px,3px)!important;
 transform-origin:69px 47px!important;
}
.veyrost-repair-layer .veyrost-tech-person.is-wiring .robot-arm-left{
 transform:rotate(-12deg) translate(0,1px)!important;
 transform-origin:31px 47px!important;
}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-arm-right{
 transition:transform .22s cubic-bezier(.2,.8,.2,1)!important;
}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-0 .robot-arm-right{transform:rotate(78deg) translate(3px,1px)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-1 .robot-arm-right{transform:rotate(54deg) translate(2px,0)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-2 .robot-arm-right{transform:rotate(28deg) translate(1px,1px)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-3 .robot-arm-right{transform:rotate(4deg) translate(0,2px)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-4 .robot-arm-right{transform:rotate(-24deg) translate(1px,3px)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-5 .robot-arm-right{transform:rotate(-48deg) translate(2px,3px)!important}
.veyrost-repair-layer .veyrost-tech-person.wire-reach-6 .robot-arm-right{transform:rotate(-72deg) translate(3px,2px)!important}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-welder{opacity:1!important}
.veyrost-repair-layer .veyrost-tech-person.is-wire-reach .robot-welder .welder-beam{opacity:1!important;animation:veyrost-welder-spark .13s steps(2,end) infinite!important}
.veyrost-detached-wires .wire.is-connecting{filter:drop-shadow(0 0 6px rgba(137,255,235,.95))!important}


/* Mechanical service-vehicle doors, grounded robot shadows and a visible walk cycle. */
.veyrost-repair-layer .veyrost-tech-vehicle{perspective:700px!important;transform-style:preserve-3d!important}
.veyrost-repair-layer .vehicle-door{
  transform-box:fill-box;transform-origin:0% 50%;transform-style:preserve-3d;
  transition:transform .42s cubic-bezier(.2,.78,.25,1),filter .32s ease;backface-visibility:visible
}
.veyrost-repair-layer .vehicle-door-b{transform-origin:100% 50%}
.veyrost-repair-layer .veyrost-tech-vehicle.is-door-open .vehicle-door-a{
  transform:rotateY(-72deg) translateX(-3px);filter:drop-shadow(0 0 5px rgba(111,230,208,.55))
}
.veyrost-repair-layer .veyrost-tech-vehicle.is-door-open .vehicle-door-b{
  transform:rotateY(72deg) translateX(3px);filter:drop-shadow(0 0 5px rgba(111,230,208,.55))
}
.veyrost-repair-layer .veyrost-tech-person{position:fixed!important;isolation:isolate!important}
.veyrost-repair-layer .veyrost-tech-person .robot-ground-shadow{
  position:absolute!important;z-index:0!important;left:15%!important;bottom:-1px!important;
  width:70%!important;height:8px!important;display:block!important;border-radius:50%!important;
  background:radial-gradient(ellipse at center,rgba(0,0,0,.78) 0%,rgba(0,0,0,.48) 48%,rgba(0,0,0,0) 76%)!important;
  filter:blur(1.3px)!important;opacity:.78!important;transform:scaleX(1)!important;
  transform-origin:center!important;transition:opacity .28s ease,transform .22s ease!important;pointer-events:none!important
}
.veyrost-repair-layer .veyrost-tech-person>svg{position:relative!important;z-index:1!important;overflow:visible!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-ground-shadow{
  animation:veyrost-ground-shadow-step .32s ease-in-out infinite alternate!important
}
.veyrost-repair-layer .veyrost-tech-person.is-boarding .robot-ground-shadow{opacity:.18!important;transform:scaleX(.56)!important}
.veyrost-repair-layer .veyrost-tech-person.is-walking>svg{
  transform-origin:50% 82%!important;animation:veyrost-robot-walk-body .32s ease-in-out infinite alternate!important
}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-arm-left{
  transform-box:view-box!important;transform-origin:33px 44px!important;
  animation:veyrost-robot-walk-arm .32s ease-in-out infinite alternate!important
}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-arm-right{
  transform-box:view-box!important;transform-origin:67px 44px!important;
  animation:veyrost-robot-walk-arm .32s ease-in-out infinite alternate-reverse!important
}
.veyrost-repair-layer .veyrost-tech-person.is-boarding{
  transform:translateY(-8px) scale(.42)!important;transform-origin:50% 85%!important;
  transition:opacity .42s ease,transform .42s cubic-bezier(.2,.8,.25,1)!important
}
@keyframes veyrost-robot-walk-body{
  0%{transform:translateY(1px) rotate(-1.3deg)}
  50%{transform:translateY(-1.5px) rotate(0deg)}
  100%{transform:translateY(1px) rotate(1.3deg)}
}
@keyframes veyrost-robot-walk-arm{from{transform:rotate(-19deg)}to{transform:rotate(19deg)}}
@keyframes veyrost-ground-shadow-step{
  from{transform:scaleX(.84) scaleY(.9);opacity:.58}
  to{transform:scaleX(1.08) scaleY(1.08);opacity:.86}
}



/* Alternating articulated legs complete the robot's walking cycle. */
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-leg{
  transform-box:view-box!important;
  transform-origin:50% 88px!important;
}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-leg-left{
  transform-origin:44px 88px!important;
  animation:veyrost-robot-step .32s ease-in-out infinite alternate!important;
}
.veyrost-repair-layer .veyrost-tech-person.is-walking .robot-leg-right{
  transform-origin:56px 88px!important;
  animation:veyrost-robot-step .32s ease-in-out infinite alternate-reverse!important;
}
@keyframes veyrost-robot-step{
  from{transform:rotate(-23deg) translateY(0)}
  to{transform:rotate(23deg) translateY(-1px)}
}


/* Honor the saved, per-browser reduced-motion preference on every corporate page. */
html.reduced-motion,
html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}


/* Mobile recovery: retain the brand mark and reflow workspace quick access instead of hiding it. */
@media(max-width:760px){
  .site-header .header-inner{width:calc(100% - 16px)!important;gap:5px!important}
  .site-header .brand{display:flex!important;flex:0 0 auto!important;min-width:30px!important;pointer-events:auto}
  .site-header .brand-mark{width:32px!important;height:32px!important}
  .site-header .brand-name,.site-header .brand-sub{display:none!important}
  .site-header .header-actions{display:flex!important;flex:1 1 auto!important;min-width:0!important;justify-content:flex-end!important;gap:4px!important}
  .site-header .header-actions>.language-switch{display:flex!important;flex:0 0 auto!important;visibility:visible!important;opacity:1!important;position:static!important;width:auto!important;height:auto!important;overflow:visible!important}
  .site-header .language-switch button{display:inline-flex!important;align-items:center;justify-content:center;min-width:21px!important;padding:4px 3px!important;font-size:7px!important}
  .site-header .aura-btn,.site-header .edit-btn{flex:0 0 auto!important;white-space:nowrap!important;padding:6px 5px!important;font-size:7px!important;letter-spacing:0!important}
  .studio-layout{grid-template-columns:minmax(0,1fr)!important}
  .studio-sidebar{display:block!important;grid-column:1/-1;padding:12px!important}
  .studio-sidebar h3{margin:4px 0 8px}
  .studio-sidebar .studio-tool{gap:8px;padding:8px 0;font-size:10px}
  .studio-sidebar p{font-size:9px!important;line-height:1.5}
  .studio-canvas{min-height:0}
}
@media(max-width:380px){
  .site-header .header-inner{width:calc(100% - 12px)!important;gap:4px!important}
  .site-header .menu-toggle{flex:0 0 30px!important;width:30px!important;height:30px!important}
  .site-header .brand-mark{width:28px!important;height:28px!important}
  .site-header .header-actions{gap:3px!important}
  .site-header .language-switch button{min-width:18px!important;padding:4px 2px!important;font-size:7px!important}
  .site-header .aura-btn,.site-header .edit-btn{padding:5px 4px!important;font-size:6px!important}
}

/* Respect OS reduced motion by default; Workspace settings can explicitly restore full motion. */
@media(prefers-reduced-motion:reduce){
  html:not(.veyrost-motion-full){scroll-behavior:auto!important}
  html:not(.veyrost-motion-full) *,
  html:not(.veyrost-motion-full) *::before,
  html:not(.veyrost-motion-full) *::after{animation:none!important;transition:none!important}
}


/* Mobile language access: the existing selector is moved into the menu at phone widths. */
@media(max-width:760px){
#mobile-nav .language-switch{display:flex!important;align-self:flex-start;justify-content:center;gap:4px;margin:10px 8px 8px;padding:4px;border-color:#a99aff50;background:#111722;border-radius:11px}
#mobile-nav.mobile-nav.open{max-height:calc(100vh - 80px);max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#mobile-nav .language-switch button{min-width:44px;min-height:44px;padding:10px 12px;font-size:10px;touch-action:manipulation}
}

/* Public project comparison: keyboard/touch controls and an adaptive native dialog. */
.project-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.project-compare-toggle,.project-compare-remove,.project-compare-clear{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;padding:9px 12px;border:1px solid #a99aff55;border-radius:10px;background:#171629;color:#e4ddff;font:600 10px 'DM Mono';letter-spacing:.035em;cursor:pointer;touch-action:manipulation}
.project-compare-toggle[aria-pressed="true"]{border-color:#65dff3a8;background:#10262b;color:#baf8ff}
.project-compare-toggle:hover,.project-compare-remove:hover,.project-compare-clear:hover{border-color:#65dff3;color:#fff}
.project-compare-toggle:focus-visible,.project-compare-remove:focus-visible,.project-compare-clear:focus-visible,.project-compare-dialog button:focus-visible,.project-compare-dialog a:focus-visible{outline:2px solid #65dff3;outline-offset:3px}
.project-compare-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:14px 16px;border:1px solid #65dff34d;border-radius:15px;background:linear-gradient(110deg,#10222a,#171629 78%);box-shadow:0 12px 30px #0003}
.project-compare-bar[hidden]{display:none!important}
.project-compare-summary{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:12px;row-gap:4px;min-width:0}
.project-compare-summary strong{font:600 18px 'Space Grotesk';color:#baf8ff;white-space:nowrap}
.project-compare-summary span{font-size:11px;color:#d6deed}
.project-compare-summary small{grid-column:2;color:#8f9bb0;font:9px 'DM Mono'}
.project-compare-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.project-compare-actions .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.project-compare-actions button:disabled{opacity:.42;cursor:not-allowed}
.project-compare-clear{border-color:#ffffff2b;background:#101722;color:#b5c0d1}
.project-compare-dialog{width:min(980px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow:auto;padding:24px;border:1px solid #8d83d65c;border-radius:20px;background:#0c111b;color:#eef2fb;box-shadow:0 28px 90px #000b}
.project-compare-dialog::backdrop{background:rgba(3,6,12,.82);backdrop-filter:blur(6px)}
.project-compare-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.project-compare-header h2{margin:7px 0 6px;font:600 clamp(22px,3vw,30px) 'Space Grotesk'}
.project-compare-header p{margin:0;color:#9ca9bc;font-size:12px;line-height:1.6}
.project-compare-close{flex:0 0 44px;width:44px;height:44px;border:1px solid #ffffff2a;border-radius:12px;background:#151c29;color:#e8edfa;font-size:24px;cursor:pointer}
.project-compare-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.project-compare-column{min-width:0;padding:16px;border:1px solid #ffffff1c;border-radius:15px;background:#111925}
.project-compare-column h3{margin:12px 0 14px;font:600 18px 'Space Grotesk';overflow-wrap:anywhere}
.project-compare-column dl{display:grid;gap:0;margin:0 0 14px}
.project-compare-column dl>div{padding:10px 0;border-top:1px solid #ffffff13}
.project-compare-column dt{margin:0 0 4px;color:#8794aa;font:9px 'DM Mono';text-transform:uppercase;letter-spacing:.06em}
.project-compare-column dd{margin:0;color:#dbe3f1;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.project-compare-column .arrow-link{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
.project-compare-remove{width:100%;margin-top:8px}
@media(max-width:760px){.project-compare-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:13px}.project-compare-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.project-compare-actions .button,.project-compare-clear{width:100%;min-width:0;white-space:normal}.project-compare-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:16px}.project-compare-columns{grid-template-columns:minmax(0,1fr)}.project-compare-column{padding:14px}}
@media(max-width:380px){.project-compare-summary{grid-template-columns:1fr;gap:5px}.project-compare-summary small{grid-column:1}.project-compare-actions{grid-template-columns:1fr}.project-compare-header{gap:8px}}


/* 2026-12-03: clear selected-language state and restore readable mobile hierarchy. */
.language-switch button.active,
.language-switch button[aria-pressed="true"]{
  color:#fff!important;
  background:linear-gradient(135deg,#7668d8,#3c7990)!important;
  box-shadow:0 0 0 1px #b7adff88,0 3px 12px #0006!important;
  font-weight:700!important;
}
.language-switch button:focus-visible{outline:2px solid #65dff3;outline-offset:3px}
@media(max-width:900px){
  .container{width:calc(100% - 36px)}
  .page-hero{padding:48px 0 38px}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .hero-title{font-size:clamp(38px,8vw,64px);line-height:1.02}
  .hero-copy{font-size:14px;line-height:1.7}
  .hero-aside{width:100%;max-width:none}
  .card-grid,.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .section{padding:42px 0}
  .section-head{align-items:flex-start}
}
@media(max-width:600px){
  .site-header{height:auto;min-height:64px}
  .header-inner{min-height:64px;height:auto;flex-wrap:nowrap;width:calc(100% - 20px);gap:7px}
  .brand{min-width:30px}
  .brand-name,.brand-sub{display:none!important}
  .header-actions{min-width:0;gap:4px;flex:1 1 auto;justify-content:flex-end}
  .header-actions .language-switch{display:flex!important;flex:0 0 auto}
  .language-switch button{min-width:30px;min-height:34px;padding:6px 5px;font-size:9px}
  .aura-btn,.edit-btn{min-height:34px;padding:5px 6px;font-size:7px;letter-spacing:0}
  .container{width:calc(100% - 28px)}
  .hero-title{font-size:clamp(35px,10vw,48px)}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:8px}
  .hero-actions .button{display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center}
  .card-grid,.project-grid,.split{grid-template-columns:minmax(0,1fr)}
  .card{min-height:0;padding:18px}
  .section{padding:36px 0}
  .section-head{display:block}
  .section-head h2{font-size:26px;line-height:1.15}
  .section-head p{font-size:12px;line-height:1.65;margin-top:10px}
  .feature-panel{padding:19px}
  .feature-panel h3{font-size:19px}
  .company-banner{padding:20px}
  .footer-links{gap:12px}
  .footer-bottom{font-size:9px;line-height:1.6}
}
@media(max-width:380px){
  .site-header .header-inner{gap:4px;width:calc(100% - 12px)}
  .site-header .menu-toggle{width:29px;height:29px;flex-basis:29px}
  .site-header .brand-mark{width:27px;height:27px}
  .language-switch button{min-width:26px;font-size:8px}
  .aura-btn,.edit-btn{font-size:6px;padding:5px 4px}
}


/* Language selector state is driven by the active locale, not DOM position. */
.language-switch[data-active-language="en"] [data-lang="en"],
.language-switch[data-active-language="ru"] [data-lang="ru"],
.language-switch[data-active-language="tj"] [data-lang="tj"],
.language-switch [data-language-selected="true"]{
  color:#fff!important;
  background:linear-gradient(135deg,#7668d8,#3c7990)!important;
  box-shadow:0 0 0 1px #b7adff88,0 3px 12px #0006!important;
  font-weight:800!important;
}
.language-switch[data-active-language="en"] [data-lang]:not([data-lang="en"]),
.language-switch[data-active-language="ru"] [data-lang]:not([data-lang="ru"]),
.language-switch[data-active-language="tj"] [data-lang]:not([data-lang="tj"]){
  color:#8792a5!important;background:transparent!important;box-shadow:none!important;
}

/* Keep the two primary header controls directly hit-testable on touch screens. */
.site-header .header-actions #aura-toggle,
.site-header .header-actions #layout-toggle{
  position:relative!important;
  z-index:1001!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}


/* Stable mobile viewport sizing and thumb-friendly, always-visible locale controls. */
html,body{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
.site-header .header-actions .language-switch{flex:0 0 auto;white-space:nowrap}
@media(max-width:600px){
 .site-header .header-actions .language-switch{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 .site-header .header-actions .language-switch button{min-width:32px;min-height:40px;padding:6px 5px;touch-action:manipulation}
 .site-header .header-actions{min-width:0;max-width:calc(100% - 76px)}
}
@media(max-width:380px){
 .site-header .header-actions .language-switch button{min-width:27px;min-height:38px;padding:5px 3px}
}


/* The language selector remains visible throughout the complete mobile breakpoint. */
@media(max-width:760px){
 .site-header .header-actions .language-switch{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
 .site-header .header-actions .language-switch button{min-height:40px;touch-action:manipulation}
}


/* Responsive acceptance fixes: reliable touch targets and compact contact actions. */
#copy-email{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:6px!important;
  touch-action:manipulation;
}
@media(max-width:900px){
  .site-header .header-actions .language-switch{
    flex:0 0 auto!important;
    flex-shrink:0!important;
    gap:3px!important;
  }
  .site-header .header-actions .language-switch button{
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    min-height:44px!important;
    padding:8px 4px!important;
    font-size:10px!important;
    touch-action:manipulation!important;
  }
  .site-header .header-actions #aura-toggle,
  .site-header .header-actions #layout-toggle{
    min-height:44px!important;
    touch-action:manipulation!important;
  }
}
@media(max-width:360px){
  .site-header .header-inner{gap:4px!important}
  .site-header .header-actions{gap:3px!important}
  .site-header .header-actions .language-switch button{
    flex-basis:42px!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
  }
}
.project-card .tag,
.project-meta .tag{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}


/* Native range inputs and preference switches need a real touch hit area. */
#mass,#elasticity{
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  height:44px;
  padding:0;
  touch-action:pan-y;
}
.switch{
  box-sizing:border-box!important;
  position:relative!important;
  flex:0 0 52px!important;
  width:52px!important;
  min-width:52px!important;
  max-width:52px!important;
  height:44px!important;
  min-height:44px!important;
  padding:0!important;
  border:0!important;
  border-radius:22px!important;
  background:transparent!important;
  touch-action:manipulation;
}
.switch:before{
  content:"";
  position:absolute;
  left:4px;
  top:12px;
  width:36px;
  height:20px;
  border:1px solid #465064;
  border-radius:20px;
  background:#222a38;
  transition:background .2s,border-color .2s;
}
.switch:after{
  left:8px!important;
  top:15px!important;
  width:14px!important;
  height:14px!important;
  z-index:1;
}
.switch[aria-checked=true]{background:transparent!important;border-color:transparent!important}
.switch[aria-checked=true]:before{background:#6355a7;border-color:#9385ec}
.switch[aria-checked=true]:after{left:26px!important}


/* Compact, stable mobile header controls — prevents long localized labels from expanding the toolbar. */
@media screen and (max-width:760px){
  .site-header{height:62px!important;min-height:62px}
  .site-header .header-inner{width:calc(100% - 24px)!important;gap:7px!important;justify-content:flex-start!important}
  .site-header .menu-toggle{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:10px!important}
  .site-header .brand{display:flex!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;gap:0!important}
  .site-header .brand-mark{width:32px!important;height:32px!important;flex:0 0 32px!important}
  .site-header .brand-name,.site-header .brand-sub{display:none!important}
  .site-header .header-actions{display:flex!important;flex:0 1 auto!important;min-width:0!important;width:auto!important;margin-left:auto!important;gap:4px!important;align-items:center!important}
  .site-header .language-switch{display:flex!important;flex:0 0 auto!important;height:30px!important;align-items:center!important;gap:1px!important;padding:2px!important;border-radius:8px!important}
  .site-header .language-switch button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 23px!important;width:23px!important;min-width:23px!important;max-width:23px!important;height:25px!important;min-height:25px!important;padding:0!important;margin:0!important;font:500 8px/1 'DM Mono',monospace!important;letter-spacing:0!important;border-radius:6px!important}
  .site-header .aura-btn,.site-header .edit-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;height:30px!important;min-height:30px!important;max-height:30px!important;padding:0 7px!important;margin:0!important;border-radius:8px!important;font:700 7px/1 'DM Mono',monospace!important;letter-spacing:.025em!important;white-space:nowrap!important;transform:none!important}
  .site-header .aura-btn{width:43px!important;min-width:43px!important}
  .site-header .edit-btn{width:49px!important;min-width:49px!important}
  .site-header .aura-btn[aria-pressed="true"]{background:#65dff326!important;border-color:#65dff3!important;box-shadow:0 0 14px #65dff326}
  .site-header .edit-btn[aria-pressed="true"]{background:#a88fff35!important;border-color:#b9a6ff!important;box-shadow:0 0 14px #a88fff24}
}
@media screen and (max-width:380px){
  .site-header .header-inner{width:calc(100% - 16px)!important;gap:5px!important}
  .site-header .menu-toggle{width:32px!important;height:32px!important;flex-basis:32px!important}
  .site-header .brand,.site-header .brand-mark{width:29px!important;min-width:29px!important;height:29px!important;flex-basis:29px!important}
  .site-header .language-switch button{width:21px!important;min-width:21px!important;max-width:21px!important}
  .site-header .aura-btn{width:39px!important;min-width:39px!important;padding:0 4px!important}
  .site-header .edit-btn{width:43px!important;min-width:43px!important;padding:0 4px!important}
}


/* VEYROST header refresh: compact globe menu and consistent AURA control. */
.site-header .header-actions{align-items:center;gap:9px}
.site-header .language-switch{position:relative;display:flex;align-items:center;flex:0 0 auto}
.site-header .language-trigger{
 display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
 min-width:76px;height:38px;padding:0 11px!important;border:1px solid #46516b!important;
 border-radius:12px!important;color:#e9edff!important;
 background:linear-gradient(145deg,#171d2a,#0c111a)!important;
 box-shadow:inset 0 1px 0 #ffffff10,0 5px 16px #0005!important;
 font:700 11px/1 'DM Mono',monospace!important;letter-spacing:.06em!important;
}
.site-header .language-trigger svg:first-child{color:#a9b5ff}
.site-header .language-trigger[aria-expanded="true"]{border-color:#9b8cff!important;box-shadow:0 0 0 3px #9b8cff20,0 8px 22px #0008!important}
.site-header .language-chevron{transition:transform .18s ease}
.site-header .language-trigger[aria-expanded="true"] .language-chevron{transform:rotate(180deg)}
.site-header .language-menu{
 position:absolute;top:calc(100% + 9px);right:0;z-index:1200;width:174px;padding:6px;
 border:1px solid #424d67;border-radius:14px;
 background:linear-gradient(155deg,#171d2bfa,#090e17fa);
 box-shadow:0 14px 36px #000b, inset 0 1px 0 #ffffff0c;
 backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.site-header .language-menu[hidden]{display:none!important}
.site-header .language-menu button{
 display:grid!important;grid-template-columns:24px 1fr 22px;align-items:center;gap:8px;
 width:100%;height:40px;min-height:40px;padding:0 9px!important;margin:2px 0;
 border:1px solid transparent!important;border-radius:9px!important;
 background:transparent!important;color:#dce4f5!important;text-align:left;
 font:500 12px/1.1 system-ui,sans-serif!important;letter-spacing:0!important;
}
.site-header .language-menu button:hover,.site-header .language-menu button[aria-pressed="true"]{
 border-color:#7770bd88!important;background:linear-gradient(100deg,#7765d933,#47cce522)!important;color:#fff!important;
}
.site-header .language-flag{font-size:16px;line-height:1}
.site-header .language-code{justify-self:end;color:#aab4ce;font:600 9px/1 'DM Mono',monospace}
.site-header .aura-btn{
 display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
 min-width:76px;height:38px;padding:0 11px!important;border:1px solid #286b78!important;
 border-radius:12px!important;color:#b8f5f4!important;
 background:linear-gradient(145deg,#10242b,#0b151d)!important;
 box-shadow:inset 0 1px 0 #ffffff10,0 5px 16px #0005!important;
 font:700 10px/1 'DM Mono',monospace!important;letter-spacing:.07em!important;
}
.site-header .aura-btn::before{content:"";width:7px;height:7px;border-radius:50%;background:#6b8791;box-shadow:0 0 0 3px #6b879122}
.site-header .aura-btn[aria-pressed="true"]{border-color:#58d9d0!important;background:linear-gradient(145deg,#123a3b,#10232d)!important;color:#bffff5!important;box-shadow:0 0 0 3px #58d9d01c,0 0 18px #3dd9d044!important}
.site-header .aura-btn[aria-pressed="true"]::before{background:#65f2d4;box-shadow:0 0 10px #65f2d4}
@media(max-width:760px){
 .site-header{height:62px!important;min-height:62px}
 .site-header .header-inner{width:calc(100% - 20px)!important;gap:6px!important}
 .site-header .header-actions{gap:5px!important;max-width:none!important;margin-left:auto!important}
 .site-header .language-trigger,.site-header .aura-btn{height:34px!important;min-height:34px!important;padding:0 8px!important;gap:5px!important;border-radius:10px!important}
 .site-header .language-trigger{min-width:61px!important;font-size:10px!important}
 .site-header .language-trigger svg:first-child{width:16px;height:16px}
 .site-header .aura-btn{min-width:60px!important;font-size:9px!important}
 .site-header .language-menu{width:162px;top:calc(100% + 7px)}
}
@media(max-width:380px){
 .site-header .header-inner{gap:4px!important}
 .site-header .header-actions{gap:4px!important}
 .site-header .language-trigger{min-width:55px!important;padding:0 6px!important}
 .site-header .aura-btn{min-width:54px!important;padding:0 6px!important}
}

.site-header .language-menu button{display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important}
.site-header .language-menu .language-code{justify-self:auto;font-size:12px!important;letter-spacing:.12em!important}
