:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --azul-900: #102c5c;
  --azul-700: #1359b0;
  --azul-100: #e8f2ff;
  --fundo: #f4f8fe;
  --texto: #173154;
  --borda: #dbe7f5;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fundo); color: var(--texto); }
button { font: inherit; cursor: pointer; }
.app-shell { display: grid; grid-template-columns: 255px minmax(0,1fr); min-height: 100vh; }
.sidebar { padding: 20px 14px; background: #fff; border-right: 1px solid var(--borda); }
.brand { display: flex; gap: 10px; align-items: center; padding: 0 8px 22px; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: #667b98; font-size: 12px; }
.brand-mark { display: grid; place-items: center; background: var(--azul-700); color: white; border-radius: 12px; width: 42px; height: 42px; font-weight: 800; }
#menu { display: grid; gap: 3px; }
#menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #38577f; text-decoration: none; font-size: 14px; }
#menu a:hover, #menu a[aria-current="page"] { background: var(--azul-100); color: var(--azul-900); font-weight: 650; }
.workspace { min-width: 0; }
.topbar { display: flex; gap: 14px; align-items: center; min-height: 72px; padding: 12px 26px; background: white; border-bottom: 1px solid var(--borda); }
#menu-toggle { display: none; color: var(--azul-900); border: 1px solid var(--borda); background: white; border-radius: 8px; padding: 7px 12px; }
#conteudo { max-width: 1180px; margin: 0 auto; padding: 34px 28px; }
#conteudo h1 { margin-top: 0; }
.placeholder { background: white; border: 1px solid var(--borda); border-radius: 14px; padding: 28px; box-shadow: 0 10px 25px #17315408; }
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { display: none; border-bottom: 1px solid var(--borda); }
  .app-shell.menu-open .sidebar { display: block; }
  .topbar { min-height: 60px; padding: 10px 16px; }
  #menu-toggle { display: inline-block; }
  #conteudo { padding: 22px 16px; }
}
