/* Sightline app shell (dashboard + trace pages) */
html, body { height: 100%; }
body { font-size: 13.5px; }
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); height: 100%; }
@media (max-width: 860px) { .shell { grid-template-columns: minmax(0, 1fr); } .shell > .side { display: none; } }
.shell > .side { height: 100%; overflow-y: auto; position: sticky; top: 0; }
.side .foot { margin-top: auto; padding: 10px 8px 4px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; font-size: 13px; }
.side .foot small { display: block; color: var(--fg-3); font-size: 11.5px; }
.usage .row { gap: 8px; }
.usage { margin: 12px 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--fg-2); display: grid; gap: 8px; }
.usage .trk { height: 4px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.usage .trk i { display: block; height: 100%; width: 71%; background: var(--accent); }
.content { min-width: 0; overflow-y: auto; height: 100%; }
.topbar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: 52px; padding: 0 24px; }

.m-menu { display: none; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; margin-right: 4px; }
.kpis .l { gap: 8px; align-items: flex-start; }
@media (max-width: 860px) {
  .m-menu { display: inline-flex; }
  body.side-open .shell > .side { display: flex; position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 30; box-shadow: 20px 0 60px rgba(0,0,0,.7); }
  body.side-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 20; }
  .topbar { padding: 0 16px; }
  .page { padding: 16px; }
}
