/* Direction: Srinath Consultant — quiet corporate paper, burgundy accent, Inter throughout */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f6f3f2;
  --surface: #ffffff;
  --surface-2: #ebe7e6;
  --border: #d6d2d1;
  --border-strong: #b1abac;
  --ink: #241a1d;
  --muted: #656061;
  --accent: #7a1f35;
  --accent-hover: #681a2d;
  --accent-ink: #ffffff;
  --accent-text: #7a1f35;
  --accent-strong: #7a1f35;
  --accent-soft: #e5d5d8;
  --accent-border: #be949d;
  --success: #1f7a4d;
  --success-ink: #ffffff;
  --success-soft: #dce4de;
  --success-strong: #1d7047;
  --warning: #b7791f;
  --warning-ink: #241a1d;
  --warning-soft: #eee4d9;
  --warning-strong: #845617;
  --danger: #b42318;
  --danger-ink: #ffffff;
  --danger-soft: #eedad8;
  --danger-strong: #b42318;
  --chart-1: #7a1f35;
  --chart-2: #825307;
  --chart-3: #375807;
  --chart-4: #046571;
  --chart-5: #314593;
  --chart-6: #823c7f;

  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 650;
  --display-tracking: -0.02em;
  --radius-card: 14px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --shadow-card: 0 1px 2px rgba(60, 20, 30, 0.06), 0 4px 14px rgba(60, 20, 30, 0.05);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #110407;
  --surface: #291d20;
  --surface-2: #1d1113;
  --border: #32272a;
  --border-strong: #584f51;
  --ink: #f6f3f2;
  --muted: #9a9394;
  --accent: #7a1f35;
  --accent-hover: #8e4153;
  --accent-ink: #ffffff;
  --accent-text: #b58290;
  --accent-strong: #af7786;
  --accent-soft: #280a11;
  --accent-border: #40101c;
  --success: #1f7a4d;
  --success-ink: #ffffff;
  --success-soft: #141e16;
  --success-strong: #509874;
  --warning: #b7791f;
  --warning-ink: #ffffff;
  --warning-soft: #361e0c;
  --warning-strong: #bd8431;
  --danger: #b42318;
  --danger-ink: #ffffff;
  --danger-soft: #350b0b;
  --danger-strong: #ce6f66;
  --chart-1: #ae4f60;
  --chart-2: #be7d1c;
  --chart-3: #648f34;
  --chart-4: #1d9a95;
  --chart-5: #3d84cb;
  --chart-6: #a371c3;
}

/* Project report: on-screen paper + A4 print layout */
.report { border-radius: 6px; font-size: 13px; line-height: 1.45; }
.report h2 { margin: 22px 0 8px; padding-bottom: 4px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent-text); border-bottom: 2px solid var(--accent); break-after: avoid; page-break-after: avoid; }
.report section { margin-bottom: 4px; }
.rep-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); }
.rep-company { font-size: 22px; font-weight: 800; letter-spacing: 0.06em; color: var(--accent-text); }
.rep-sub { font-size: 12px; color: var(--muted); }
.rep-meta { text-align: right; font-size: 12px; }
.rep-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.rep-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--border-strong); font-size: 11px; color: var(--muted); }
.report table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.report th, .report td { border: 1px solid var(--border-strong); padding: 4px 6px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.report thead th { background: var(--surface-2); font-size: 11px; font-weight: 700; }
.report .kv th { width: 18%; background: var(--surface-2); font-weight: 600; font-size: 11px; }
.report .kv td { width: 32%; }
.report .kv td[colspan] { width: auto; }
.report .small { font-size: 11px; }
.report .pre { white-space: pre-line; }
.report .nw { white-space: nowrap; }
.report .w-no { width: 28px; }
.report .w-wide { width: 28%; }
.report .note-row { background: var(--surface-2); }
.muted-note { font-size: 11px; color: var(--muted); margin: 4px 0 6px; }
.report-body { overflow-x: hidden; }

@media (max-width: 640px) {
  .report { overflow-x: auto; padding: 16px; }
  .rep-head { flex-direction: column; }
  .rep-meta { text-align: left; }
  .report table { min-width: 560px; }
}

@page { size: A4 portrait; margin: 12mm 12mm 14mm 12mm; }

@media print {
  html, body, .report-body { background: transparent !important; color: var(--ink); }
  .no-print, .site-bar, footer:not(.rep-foot), dialog, [data-toast], .toast { display: none !important; }
  main { padding: 0 !important; max-width: none !important; }
  .report { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; font-size: 10pt; overflow: visible !important; }
  .report table { min-width: 0 !important; font-size: 9pt; page-break-inside: auto; }
  .report .small { font-size: 8.5pt; }
  .report thead { display: table-header-group; }
  .report tfoot { display: table-footer-group; }
  .report tr, .report .keep { break-inside: avoid; page-break-inside: avoid; }
  .report h2 { font-size: 11pt; margin-top: 14pt; }
  .report thead th, .report .kv th, .report .note-row { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rep-head { flex-direction: row !important; }
  .rep-meta { text-align: right !important; }
  a { text-decoration: none; color: inherit; }
}
