/* report.css — Lailara Design System v2 type and table styling.
   Targets HTML output only; PDF uses the LaTeX defaults. */

@import url('../../assets/fonts/fonts.css');

:root {
  --ll-canvas:      #f5f3ee;
  --ll-ink:         #0d0d0d;
  --ll-text:        #333333;
  --ll-text-sec:    #595959;
  --ll-gridline:    #d9d9d9;
  --ll-red-42:      #cc100a;
  --ll-chicago-20:  #1f2e7a;
  --ll-serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
  --ll-sans:        'Source Sans 3', 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--ll-sans);
  color: var(--ll-text);
  background: var(--ll-canvas);
  line-height: 1.6;
  font-size: 17px;
}

main.content,
#quarto-document-content {
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
  box-sizing: border-box !important;
}

.quarto-figure,
.quarto-figure img,
figure,
figure img,
main.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4 {
  font-family: var(--ll-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ll-ink);
}

h1 { font-size: 1.85rem; border-bottom: 1px solid var(--ll-gridline); padding-bottom: 0.3rem; }
h2 { font-size: 1.4rem;  margin-top: 2rem; }
h3 { font-size: 1.15rem; color: var(--ll-text-sec); }

a       { color: var(--ll-text); text-decoration: underline; }
a:hover { color: var(--ll-chicago-20); }

p, li { font-size: 1rem; max-width: 660px; }

strong { color: var(--ll-ink); }

blockquote, .callout {
  border-left: 3px solid var(--ll-gridline);
  background: #f2f2f2;
  padding: 0.6rem 1rem;
  margin: 1rem 0;
  border-radius: 0 2px 2px 0;
}

/* Wrap tables in a scroll container so wide tables never force horizontal page scroll */
.table-wrapper,
div.cell-output-display {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  font-family: var(--ll-sans);
  font-size: 0.92rem;
  border-collapse: collapse;
  margin: 1rem 0;
  max-width: 100%;
  width: 100%;
}
th { border-bottom: 2px solid var(--ll-text); text-align: left; padding: 0.4rem 0.6rem; white-space: nowrap; }
td { border-bottom: 1px solid var(--ll-gridline); padding: 0.35rem 0.6rem; }

figure { margin: 1.5rem 0; }
figcaption { font-size: 0.88rem; color: var(--ll-text-sec); font-style: italic; }

hr { border: 0; border-top: 1px solid var(--ll-gridline); margin: 2rem 0; }

@media print {
  body { background-color: #ffffff; }
}
