/* GemLooM Finance C29A5 EOD / Cash Drawer Real Workflow */
/* FCUI-C29A5-EOD-CASH-DRAWER-REAL-WORKFLOW-20260703 */
.gl-c29a5-shell {
  padding: 24px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f5f7fb;
  min-height: 100vh;
}
.gl-c29a5-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: white;
  margin-bottom: 20px;
  box-shadow: 0 18px 44px rgba(15,23,42,.18);
}
.gl-c29a5-kicker { letter-spacing: .12em; text-transform: uppercase; font-size: 12px; opacity: .8; margin: 0 0 8px; }
.gl-c29a5-hero h1 { margin: 0 0 8px; font-size: 30px; }
.gl-c29a5-hero p { margin: 0; opacity: .88; max-width: 860px; }
.gl-c29a5-status { text-align: right; display: grid; gap: 8px; }
#c29a5-status-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-weight: 700;
}
#c29a5-status-pill.is-error { background: rgba(239,68,68,.26); }
#c29a5-status-pill.is-ok { background: rgba(34,197,94,.22); }
.gl-c29a5-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 18px; }
.gl-c29a5-card {
  background: white; border: 1px solid #e5e7eb; border-radius: 18px; padding: 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06); margin-bottom: 18px;
}
.gl-c29a5-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.gl-c29a5-card h2 { margin: 0 0 4px; font-size: 18px; }
.gl-c29a5-card p, .muted { color: #64748b; }
.gl-c29a5-version { font-size: 11px; color: #64748b; }
.gl-c29a5-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gl-c29a5-fields label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; color: #334155; }
.gl-c29a5-fields input, .gl-c29a5-fields select, .gl-c29a5-fields textarea {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 10px 12px;
  font: inherit; background: #fff;
}
.gl-c29a5-fields textarea { grid-column: span 3; resize: vertical; }
.gl-c29a5-actions, .gl-c29a5-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.gl-c29a5-actions { margin-top: 16px; }
.gl-c29a5-card button {
  border: 0; background: #0f172a; color: white; border-radius: 12px; padding: 9px 13px; font-weight: 800; cursor: pointer;
}
.gl-c29a5-card button.secondary { background: #e2e8f0; color: #0f172a; }
.gl-c29a5-row-actions button { padding: 7px 9px; font-size: 12px; }
.gl-c29a5-preview dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; margin: 0; }
.gl-c29a5-preview dt { color: #64748b; }
.gl-c29a5-preview dd { margin: 0; font-weight: 900; }
.gl-c29a5-table-wrap { overflow: auto; }
.gl-c29a5-table { width: 100%; border-collapse: collapse; }
.gl-c29a5-table th, .gl-c29a5-table td { padding: 10px 9px; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: middle; }
.gl-c29a5-table th { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }
.gl-c29a5-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e2e8f0; color: #334155; font-weight: 900; font-size: 12px; }
.gl-c29a5-pill.s-submitted { background: #dbeafe; color: #1d4ed8; }
.gl-c29a5-pill.s-reviewed { background: #ede9fe; color: #6d28d9; }
.gl-c29a5-pill.s-closed { background: #fef3c7; color: #92400e; }
.gl-c29a5-pill.s-reconciled { background: #dcfce7; color: #166534; }
.gl-c29a5-pill.s-exception { background: #fee2e2; color: #b91c1c; }
.error { border-color: #fecaca; background: #fff1f2; color: #991b1b; }
@media (max-width: 980px) {
  .gl-c29a5-grid, .gl-c29a5-fields { grid-template-columns: 1fr; }
  .gl-c29a5-fields textarea { grid-column: auto; }
  .gl-c29a5-hero { flex-direction: column; }
  .gl-c29a5-status { text-align: left; }
}
