.screen { min-height: 100vh; padding: 20px; }
.screen-login {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a3358 0%, #1f4e79 60%, #2c5f8a 100%);
}

.card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 480px;
}

.app-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 1500px;
  margin: 0 auto;
  min-height: 100vh;
}

.sidebar {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.main { min-width: 0; }

/* Dashboard master */
.master-header {
  background: var(--primary); color: #fff;
  padding: 20px 28px; border-radius: var(--radius-md);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 20px;
}
.master-content { max-width: 1200px; margin: 0 auto; }

@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
}

@media print {
  .no-print, .sidebar, .master-header { display: none !important; }
  .app-shell { display: block; padding: 0; max-width: none; }
  .main { width: 100%; }
}