/* ==========================================================================
   PALMAS BRASIL - CONTROLE FINANCEIRO & PRESTAÇÃO DE CONTAS
   Design System: Google Premium (Material 3 / Google Workspace Style)
   Domínio: contas.palmasbr.com.br
   ========================================================================== */

:root {
  /* Paleta Oficial Estilo Google */
  --google-blue: #1a73e8;
  --google-blue-hover: #1557b0;
  --google-blue-active: #174ea6;
  --google-blue-light: #e8f0fe;
  --google-blue-subtle: #f1f6fd;

  --google-green: #1e8e3e;
  --google-green-dark: #137333;
  --google-green-light: #e6f4ea;

  --google-red: #d93025;
  --google-red-dark: #b31412;
  --google-red-light: #fce8e6;

  --google-yellow: #f9ab00;
  --google-yellow-dark: #e37400;
  --google-yellow-light: #fef7e0;

  /* Superfícies & Fundos Google */
  --bg-page: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-hover: #f1f3f4;
  --bg-active: #e8eaed;

  /* Textos & Hierarquia */
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-tertiary: #80868b;
  --text-inverse: #ffffff;

  /* Bordas & Divisores */
  --border-color: #dadce0;
  --border-subtle: #eceff1;
  --border-focus: #1a73e8;

  /* Sombras Google Material */
  --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-md: 0 2px 6px 2px rgba(60,64,67,0.15), 0 1px 2px 0 rgba(60,64,67,0.3);
  --shadow-lg: 0 8px 24px rgba(60,64,67,0.18);
  --shadow-modal: 0 24px 48px rgba(0,0,0,0.16), 0 12px 24px rgba(0,0,0,0.08);

  /* Dimensões & Raios */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --font-family: 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   TOPBAR / APPBAR ESTILO GOOGLE WORKSPACE
   ========================================================================== */
.google-appbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,0.08);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-badge {
  background: var(--google-blue-light);
  color: var(--google-blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Centro: URL e Status de Conexão */
.appbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
}

.domain-pill:hover {
  background: #fff;
  border-color: var(--google-blue);
  color: var(--google-blue);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--google-green);
  box-shadow: 0 0 0 2px var(--google-green-light);
}

/* Direita: Ações Rápidas & Usuário Master */
.appbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.admin-pill:hover {
  background: var(--bg-hover);
  border-color: #bdc1c6;
}

.admin-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--google-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   CONTAINER PRINCIPAL / SHELL
   ========================================================================== */
.main-shell {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 64px 24px;
  flex: 1;
}

/* ==========================================================================
   COMPONENTES DE BOTÃO ESTILO GOOGLE
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--google-blue);
  color: var(--text-inverse);
  box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3);
}

.btn-primary:hover {
  background-color: var(--google-blue-hover);
  box-shadow: 0 2px 6px 1px rgba(60,64,67,0.25);
}

.btn-primary:active {
  background-color: var(--google-blue-active);
}

.btn-outline {
  background-color: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--google-blue);
}

.btn-outline:hover {
  background-color: var(--google-blue-light);
  border-color: var(--google-blue);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.btn-danger-ghost {
  background-color: transparent;
  color: var(--google-red);
}

.btn-danger-ghost:hover {
  background-color: var(--google-red-light);
  color: var(--google-red-dark);
}

.btn-icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   CARDS DE MÉTRICAS (KPIs) GOOGLE
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kpi-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.kpi-badge.blue {
  background: var(--google-blue-light);
  color: var(--google-blue);
}

.kpi-badge.green {
  background: var(--google-green-light);
  color: var(--google-green);
}

.kpi-badge.red {
  background: var(--google-red-light);
  color: var(--google-red);
}

.kpi-badge.yellow {
  background: var(--google-yellow-light);
  color: var(--google-yellow-dark);
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.kpi-value.green { color: var(--google-green); }
.kpi-value.red { color: var(--google-red); }
.kpi-value.blue { color: var(--google-blue); }

.kpi-footer {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   BARRA DE FERRAMENTAS & PESQUISA
   ========================================================================== */
.toolbar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--google-blue);
  box-shadow: 0 1px 4px rgba(26,115,232,0.25);
  background: #ffffff;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-filter {
  padding: 9px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.select-filter:hover, .select-filter:focus {
  border-color: var(--google-blue);
}

/* ==========================================================================
   GRID DE PROJETOS ESTILO GOOGLE
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  border-color: #bdc1c6;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.project-top {
  margin-bottom: 16px;
}

.project-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tag-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--google-blue-light);
  color: var(--google-blue);
}

.tag-convenio {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.project-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-finance-box {
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0;
  border: 1px solid var(--border-subtle);
}

.finance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.finance-row:last-child {
  margin-bottom: 0;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}

.finance-label {
  color: var(--text-secondary);
}

.finance-amount {
  font-weight: 600;
}

.finance-amount.green { color: var(--google-green); }
.finance-amount.red { color: var(--google-red); }
.finance-amount.blue { color: var(--google-blue); font-size: 1rem; }

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   VISÃO DETALHADA DO PROJETO (LANÇAMENTOS)
   ========================================================================== */
.project-header-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--google-blue);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.breadcrumb-back:hover {
  background: var(--google-blue-light);
}

.project-heading-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.project-heading-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.project-heading-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.45;
}

/* Tabela de Movimentações */
.table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #ffffff;
}

.table-tabs {
  display: flex;
  gap: 6px;
}

.tab-btn {
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--google-blue-light);
  color: var(--google-blue);
  font-weight: 600;
}

.movements-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.movements-table th {
  background: var(--bg-page);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.movements-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

.movements-table tr:hover td {
  background: var(--google-blue-subtle);
}

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.type-pill.entrada {
  background: var(--google-green-light);
  color: var(--google-green-dark);
}

.type-pill.saida {
  background: var(--google-red-light);
  color: var(--google-red-dark);
}

.val-col {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.val-col.entrada { color: var(--google-green); }
.val-col.saida { color: var(--google-red); }

/* ==========================================================================
   MODAIS ESTILO GOOGLE (DIALOGS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32,33,36,0.6);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: scaleIn 0.2s ease-out;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Formulários Modernos Google */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  background: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--google-blue);
  box-shadow: 0 0 0 2px var(--google-blue-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.type-toggle-pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-page);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.type-toggle-pill label {
  cursor: pointer;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.type-toggle-pill input[type="radio"] {
  display: none;
}

.type-toggle-pill input[type="radio"]:checked + span {
  display: block;
  font-weight: 600;
}

.type-toggle-pill label:has(input[value="entrada"]:checked) {
  background: var(--google-green);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.type-toggle-pill label:has(input[value="saida"]:checked) {
  background: var(--google-red);
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ==========================================================================
   ESTADOS VAZIOS (EMPTY STATES)
   ========================================================================== */
.empty-box {
  background: var(--bg-surface);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--google-blue-light);
  color: var(--google-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 24px;
}

/* ==========================================================================
   TOAST / SNACKBAR NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #323232;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideUp 0.25s cubic-bezier(0, 0, 0.2, 1);
}

.toast.success { border-left: 4px solid var(--google-green); }
.toast.error { border-left: 4px solid var(--google-red); }
.toast.info { border-left: 4px solid var(--google-blue); }

/* Animações */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.hidden { display: none !important; }

/* ==========================================================================
   FOLHA DE ESTILO PARA IMPRESSÃO DE PRESTAÇÃO DE CONTAS OFICIAL
   ========================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .google-appbar,
  .breadcrumb-back,
  .table-toolbar,
  .toolbar-section,
  .btn,
  .modal-overlay,
  .toast-container,
  .no-print {
    display: none !important;
  }
  .main-shell {
    padding: 0 !important;
    max-width: 100% !important;
  }
  .print-official-header {
    display: block !important;
    border-bottom: 2px solid #000;
    padding-bottom: 16px;
    margin-bottom: 24px;
  }
  .print-official-header .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .print-logo {
    height: 60px;
  }
  .movements-table th {
    background: #eee !important;
    color: #000 !important;
    border: 1px solid #999 !important;
  }
  .movements-table td {
    border: 1px solid #ccc !important;
    color: #000 !important;
  }
  .signatures-block {
    display: flex !important;
    justify-content: space-around;
    margin-top: 60px;
    page-break-inside: avoid;
  }
  .signature-line {
    width: 250px;
    border-top: 1px solid #000;
    text-align: center;
    padding-top: 8px;
    font-size: 0.85rem;
  }
}

.print-official-header,
.signatures-block {
  display: none;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .google-appbar {
    padding: 0 16px;
    height: auto;
    min-height: 60px;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .appbar-center {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .main-shell {
    padding: 16px 12px 48px 12px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .movements-table {
    display: block;
    overflow-x: auto;
  }
}
