/* Drawer do X7, inclusive quando a pessoa escolhe um tema de aparência. */
@media screen {
  #drawer {
    background: #fff;
    border: 0;
    box-shadow: 2px 0 8px #20253214;
    /* Evita que as entradas se desloquem entre pressionar e soltar o clique. */
    transition: none;
  }
  #drawer[inert] { visibility: hidden; }
  #drawer .drawer-nav {
    padding: 0 0 16px;
    overflow-anchor: none;
    overscroll-behavior-y: contain;
  }
  #drawer .drawer-head { background: #fff; padding: 16px 18px 6px; }
  #drawer .drawer-brand { margin-bottom: 8px; }
  #drawer .dgroup { padding: 0; }
  #drawer :is(.ditem, .ditem-construcao, .dgrp) {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    min-height: 44px;
    padding: 9px 18px;
    gap: 12px;
    justify-content: flex-start;
    background: #fff;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: normal;
  }
  #drawer :is(.ditem, .dgrp) i {
    width: 20px;
    height: 20px;
    color: currentColor;
    transform: none;
  }
  #drawer .dgroup:not(.dgroup-solto) .ditem { padding-left: 34px; }
  #drawer .dgrp-sinal { margin-left: auto; font-size: 20px; font-weight: 400; }
  #drawer .dgrp-sinal::before { content: "+"; }
  #drawer [aria-expanded="true"] .dgrp-sinal::before { content: "−"; }
  #drawer :is(.ditem, .dgrp):hover { background: #f5f5f5; }
  #drawer .ditem.on, #drawer .ditem.on:hover {
    background: #efe9b5;
    border-left-color: #8289dc;
    color: #333;
    box-shadow: none;
  }
  #drawer .ditem-construcao { color: #626262; }
  #drawer :is(.ditem, .dgrp):focus-visible { outline-offset: -3px; }
  #drawer #menu-ver-recepcao {
    background: #fff;
    border: 0;
    border-radius: 0;
    text-transform: none;
    font-weight: 500;
    box-shadow: none;
  }
}
