/* White-label design tokens.
 * Change brand accent, sidebar tone, or font family here to re-skin the entire CRM.
 */
@import url("../fonts/fonts.css");

:root {
  /* Brand palette (Private Banking / Editorial) */
  --brand-dark: #12161f;
  --brand-dark-2: #1b2230;
  --brand-dark-line: rgba(255, 255, 255, 0.09);
  --brand-accent: #a68246;
  --brand-accent-strong: #8c6a32;
  --brand-accent-soft: #f6f1e6;
  --brand-accent-border: #e4d5b8;

  /* Surfaces & Ink */
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e3e8ef;
  --line-strong: #cfd7e3;
  --ink: #151c28;
  --ink-2: #3b4657;
  --muted: #687588;

  /* Semantic access & status colors (reserved strictly for status meaning) */
  --ok: #1b7f5a;
  --ok-bg: #ebf7f1;
  --ok-border: #bfe5d3;
  --warn: #b4690e;
  --warn-bg: #fef5e7;
  --warn-border: #f4d39d;
  --danger: #b93838;
  --danger-bg: #fdf0f0;
  --danger-border: #f3c4c4;
  --info: #25589c;
  --info-bg: #eef4fc;
  --info-border: #c7dbf7;

  /* Typography & Radii */
  --font-head: "Montserrat", "Manrope", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 31, 0.05);
  --shadow-md: 0 10px 28px -10px rgba(18, 22, 31, 0.14);
  --shadow-lg: 0 24px 60px -16px rgba(18, 22, 31, 0.28);
  --sidebar-w: 248px;
  --topbar-h: 62px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

/* Print mode: render ONLY the confirmation letterhead cleanly */
@media print {
  body * {
    visibility: hidden !important;
  }
  #print-sheet, #print-sheet * {
    visibility: visible !important;
  }
  #print-sheet {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12mm !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
  }
}
