/* MakeLED: единая шапка для makeled.ru, calc, hardware, cloud и player (26.11.2026).
   Самодостаточный файл: все свойства заданы явно и с повышенной специфичностью,
   чтобы стили конкретной страницы (кнопки, ссылки, шрифты) не меняли вид шапки. */
html body header.ml-shell.ml-shell{--h-bg:#13281F;--h-line:#3D5949;--h-text:#F7EFDB;--h-muted:#B6C6B8;--h-raised:#1B3529;--h-control:#688474;--h-action:#FFBF55;--h-on-action:#18251A;--h-focus:#FFE093;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin:0;padding:12px 24px;box-sizing:border-box;width:100%;
  background:var(--h-bg);border:0;border-bottom:1px solid var(--h-line);color:var(--h-text);font:400 16px/24px Arial,"Segoe UI",sans-serif;letter-spacing:normal;text-transform:none;position:relative;z-index:20;box-shadow:none}
html[data-theme="light"] body header.ml-shell.ml-shell{--h-bg:#FFFCF4;--h-line:#CCC2AE;--h-text:#182F24;--h-muted:#4E6253;--h-raised:#EEE8D8;--h-control:#757867;--h-focus:#86602B}
html body header.ml-shell.ml-shell *{box-sizing:border-box;letter-spacing:normal}
html body header.ml-shell.ml-shell .ml-shell-skip,html body .ml-shell-skip{position:absolute;left:-9999px}
html body .ml-shell-skip:focus{left:8px;top:8px;z-index:50;background:#FFBF55;color:#18251A;padding:8px 12px;border-radius:8px}
html body header.ml-shell.ml-shell .brand{display:flex;align-items:center;gap:16px;min-width:0;margin:0;padding:0;font:inherit;color:inherit;background:none}
html body header.ml-shell.ml-shell .ml-home{display:inline-flex;align-items:center;flex:none;padding:4px;margin:0;border-radius:8px;background:none;text-decoration:none}
html body header.ml-shell.ml-shell .ml-home img.ml-logo{display:block;width:180px;height:60px;max-width:none;object-fit:contain;margin:0}
html body header.ml-shell.ml-shell .ml-home img.ml-logo--light{display:none}
html[data-theme="light"] body header.ml-shell.ml-shell .ml-home img.ml-logo--dark{display:none}
html[data-theme="light"] body header.ml-shell.ml-shell .ml-home img.ml-logo--light{display:block}
html body header.ml-shell.ml-shell .brand small{display:block;margin:0;font:500 13px/18px Arial,"Segoe UI",sans-serif;color:var(--h-muted)}
html body header.ml-shell.ml-shell .ml-shell-right{display:flex;align-items:center;gap:12px;margin-left:auto}
html body header.ml-shell.ml-shell .theme-toggle,html body header.ml-shell.ml-shell #logout,html body header.ml-shell.ml-shell .ml-shell-btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:40px;height:40px;padding:0 14px;margin:0;border-radius:8px;
  background:var(--h-raised);color:var(--h-text);border:1px solid var(--h-control);font:700 13px/18px Arial,"Segoe UI",sans-serif;cursor:pointer;text-decoration:none;box-shadow:none;width:auto}
html body header.ml-shell.ml-shell .theme-toggle{margin-left:auto}
html body header.ml-shell.ml-shell .theme-toggle:hover,html body header.ml-shell.ml-shell #logout:hover,html body header.ml-shell.ml-shell .ml-shell-btn:hover{border-color:var(--h-action)}
html body header.ml-shell.ml-shell #account{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font:400 14px/24px Arial,"Segoe UI",sans-serif;color:var(--h-text);margin:0}
html body header.ml-shell.ml-shell #account span{color:var(--h-text)}
html body header.ml-shell.ml-shell .ml-shell-menu{flex:1 0 100%;min-width:0;margin:0;padding:0;border:0;background:transparent}
html body header.ml-shell.ml-shell .ml-shell-menu>summary{display:none}
html body header.ml-shell.ml-shell .ml-shell-menu nav{display:flex;flex-wrap:nowrap;align-items:center;gap:2px;margin:0;padding:0;overflow-x:auto;scrollbar-width:thin;background:none;border:0}
html body header.ml-shell.ml-shell .ml-shell-menu nav a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;min-height:40px;height:40px;padding:0 10px;margin:0;border-radius:8px;border:1px solid transparent;
  background:transparent;color:var(--h-muted);font:700 14px/20px Arial,"Segoe UI",sans-serif;white-space:nowrap;text-decoration:none;box-shadow:none}
html body header.ml-shell.ml-shell .ml-shell-menu nav a[hidden]{display:none}
html body header.ml-shell.ml-shell .ml-shell-menu nav a:hover{background:var(--h-raised);color:var(--h-text)}
html body header.ml-shell.ml-shell .ml-shell-menu nav a[aria-current]{background:var(--h-action);border-color:var(--h-action);color:var(--h-on-action)}
html body header.ml-shell.ml-shell .ml-shell-menu nav a .ml-icon,html body header.ml-shell.ml-shell .ml-shell-menu nav a svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
html body header.ml-shell.ml-shell .ml-shell-menu nav a.ml-shell-tool{padding:0 9px}
html body header.ml-shell.ml-shell .ml-shell-menu nav a[data-ml-section="profile"]{margin-left:auto}
html body header.ml-shell.ml-shell .ml-shell-menu nav .ml-shell-tool-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body header.ml-shell.ml-shell a:focus-visible,html body header.ml-shell.ml-shell button:focus-visible,html body header.ml-shell.ml-shell summary:focus-visible{outline:2px solid var(--h-focus);outline-offset:2px}
@media (max-width:760px){
  html body header.ml-shell.ml-shell{padding:10px 14px;gap:8px}
  html body header.ml-shell.ml-shell .ml-home img.ml-logo{width:120px;height:40px}
  html body header.ml-shell.ml-shell .brand small{display:none}
  html body header.ml-shell.ml-shell .ml-shell-menu>summary{display:flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid var(--h-control);border-radius:8px;background:var(--h-raised);color:var(--h-text);font:700 14px/20px Arial,sans-serif;cursor:pointer;list-style:none}
  html body header.ml-shell.ml-shell .ml-shell-menu[open]>summary{margin-bottom:8px}
  html body header.ml-shell.ml-shell .ml-shell-menu nav{flex-direction:column;align-items:stretch;overflow:visible}
  html body header.ml-shell.ml-shell .ml-shell-menu nav a{width:100%}
  html body header.ml-shell.ml-shell .ml-shell-menu nav .ml-shell-tool-label{position:static;width:auto;height:auto;clip:auto}
  html body header.ml-shell.ml-shell .ml-shell-menu nav a[data-ml-section="profile"]{margin-left:0}
}
@media (prefers-color-scheme:light){html[data-theme="system"] body header.ml-shell.ml-shell{--h-bg:#FFFCF4;--h-line:#CCC2AE;--h-text:#182F24;--h-muted:#4E6253;--h-raised:#EEE8D8;--h-control:#757867;--h-focus:#86602B}
  html[data-theme="system"] body header.ml-shell.ml-shell .ml-home img.ml-logo--dark{display:none}html[data-theme="system"] body header.ml-shell.ml-shell .ml-home img.ml-logo--light{display:block}}
html body header.ml-shell.ml-shell kbd{font:600 11px/1 Arial,sans-serif;border:1px solid var(--h-control);border-radius:4px;padding:2px 4px;margin-left:6px;color:var(--h-muted);background:transparent}
html body header.ml-shell.ml-shell #account form{margin:0;display:inline}
html body header.ml-shell.ml-shell #account .ml-org{color:var(--h-muted)}
html body header.ml-shell.ml-shell .ml-mobile-only{display:none}
@media (max-width:760px){html body header.ml-shell.ml-shell .ml-mobile-only{display:inline-flex}html body header.ml-shell.ml-shell .ml-hide-mobile{display:none}}
html body header.ml-shell.ml-shell summary{list-style:none}html body header.ml-shell.ml-shell summary::-webkit-details-marker{display:none}html body header.ml-shell.ml-shell summary::after{content:none}
