/* Production adaptations of Menu Atlas 001/003/005/007/019 (MIT).
   Menu links point to sections in this page. Native details handles mobile navigation. */
.studio-menu{display:flex;gap:24px;align-items:center;justify-content:space-between;background:var(--paper);color:var(--ink);padding:20px 5%;border-bottom:1px solid color-mix(in srgb,var(--ink) 12%,transparent);position:relative;flex-wrap:wrap}.studio-menu-brand{font-size:18px;letter-spacing:-.5px;font-weight:700;flex-shrink:0}.studio-menu-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.studio-menu a{color:inherit;text-decoration:none}.studio-menu-links a{min-height:44px;display:flex;align-items:center;padding:10px 12px;font-size:11px;border-radius:6px}.studio-menu-links a:hover,.studio-menu-links a:focus-visible{background:color-mix(in srgb,var(--accent) 30%,var(--paper))}.studio-menu a:focus-visible,.studio-mobile-menu summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}.studio-mobile-menu{display:none}.studio-menu.mode-pill .studio-menu-links a{border:1px solid var(--accent);border-radius:30px}.studio-menu.mode-underline{border-top:3px solid var(--accent)}.studio-menu.mode-underline .studio-menu-links a{border-radius:0;border-bottom:2px solid transparent}.studio-menu.mode-underline .studio-menu-links a:hover{border-color:var(--ink);background:transparent}.studio-menu.mode-glass{background:linear-gradient(130deg,var(--paper),color-mix(in srgb,var(--accent) 20%,var(--paper)));box-shadow:0 12px 28px #0000000a}.studio-menu.mode-editorial{border-top:2px solid var(--ink);border-bottom:1px solid var(--ink)}.studio-menu.mode-editorial .studio-menu-links a{font-family:Georgia,serif;letter-spacing:1px}
@media(max-width:900px){.studio-menu-links{display:none}.studio-menu{padding:14px 5%;gap:15px}.studio-menu-brand{font-size:17px;max-width:65%;overflow-wrap:anywhere}.studio-mobile-menu{display:block;position:static;min-width:75px}.studio-mobile-menu summary{cursor:pointer;list-style:none;border:1px solid var(--accent);border-radius:6px;padding:12px;font:12px system-ui;min-height:44px}.studio-mobile-menu summary span{margin-left:9px}.studio-mobile-menu[open] summary{background:var(--accent)}.studio-mobile-menu nav{position:absolute;top:100%;left:0;right:0;z-index:6;display:grid;padding:12px 5%;background:var(--paper);border-bottom:1px solid var(--accent);box-shadow:0 10px 20px #0001}.studio-mobile-menu nav a{padding:13px 10px;font:12px system-ui;border-radius:6px;min-height:44px}.studio-mobile-menu nav a:hover{background:var(--accent)}}
@media(prefers-reduced-motion:reduce){.studio-menu *{animation:none!important;transition:none!important}}

/*
MIT License

Copyright (c) 2026 Menu Atlas contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

*/

.render-section:has(.studio-menu){overflow:visible;z-index:5}
.render-section:has(.existing-menu)~.render-section .demo-nav{display:none}
