/* Phone layout: collapse the side menu into a top bar with a Menu button. */
.menu-toggle{display:none}
@media (max-width: 839px){
  .side{max-height:70px;overflow:hidden;transition:max-height .25s ease}
  .side.menu-open{max-height:900px}
  .menu-toggle{display:inline-flex;align-items:center;gap:6px;position:absolute;top:14px;right:16px;z-index:10;min-height:40px;padding:0 14px;border:1px solid #E6E6E3;border-radius:8px;background:#FFFFFF;color:#1A1A1C;font:500 13px Inter,system-ui,sans-serif;cursor:pointer}
}

/* Dotted canvas stays put while the content scrolls over it.
   A fixed layer (rather than background-attachment: fixed) so it also works on iOS. */
.canvasbg{position:relative;isolation:isolate;clip-path:inset(0);background:#F4F4F3 !important}
.canvasbg::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 1px 1px,rgba(26,26,28,.09) 1px,transparent 0) 0 0/20px 20px}
