/* Démo deep-research — style sobre, palette « Ivoire » de la vitrine */
:root {
  --papier: #F4F1E9;
  --encre: #16223F;
  --or: #A9823F;
  --muted: #5c6478;
  --card: #ffffff;
  --line: #e4ddcc;
  --ok-bg: #e9f3e7;
  --ok-bd: #9cc184;
  --warn-bg: #faf3e2;
  --warn-bd: #d9b45c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.wrap.narrow { max-width: 560px; }
.brand {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
  color: var(--or); margin: 0 0 .5rem;
  font-family: system-ui, -apple-system, sans-serif;
}
h1 { font-size: 1.9rem; margin: 0 0 .5rem; font-weight: 600; }
h2 { font-size: 1.25rem; margin: 0 0 1rem; font-weight: 600; }
.lede { color: var(--muted); margin-top: 0; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.5rem; margin: 1.25rem 0;
  box-shadow: 0 1px 3px rgba(22, 34, 63, .06);
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .95rem; font-weight: 600; }
label.wide { grid-column: 1 / -1; }
input, select {
  display: block; width: 100%; margin-top: .35rem; padding: .65rem .8rem;
  border: 1px solid var(--line); border-radius: 8px; font-size: 1rem;
  font-family: system-ui, -apple-system, sans-serif; background: #fff; color: var(--encre);
}
input:focus, select:focus { outline: 2px solid var(--or); border-color: var(--or); }
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; display: block; margin-top: .35rem; }
.btn {
  display: inline-block; margin-top: 1.25rem; padding: .8rem 1.6rem;
  background: var(--encre); color: #fff; border: 1px solid var(--or);
  border-radius: 999px; font-size: 1rem; cursor: pointer; text-decoration: none;
  font-family: system-ui, -apple-system, sans-serif;
}
.btn:hover { background: #1f2f57; }
.btn.ghost { background: transparent; color: var(--encre); border-color: var(--line); }
.badge {
  font-family: system-ui, sans-serif; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .08em; background: var(--encre); color: #fff;
  border-radius: 999px; padding: .25rem .8rem; vertical-align: middle;
}
table.profile { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.profile th, table.profile td {
  text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.profile th { width: 11rem; font-family: system-ui, sans-serif; font-size: .85rem; }
td.conf { font-family: system-ui, sans-serif; font-size: .8rem; color: var(--muted); white-space: nowrap; }
pre {
  background: #0f1526; color: #e8e2d2; padding: 1rem; border-radius: 8px;
  overflow-x: auto; font-size: .82rem; line-height: 1.5; white-space: pre-wrap;
}
pre.prompt { max-height: 28rem; overflow-y: auto; }
blockquote.begin {
  border-left: 3px solid var(--or); margin: 0; padding: .5rem 1rem;
  font-style: italic; background: var(--warn-bg); border-radius: 0 8px 8px 0;
}
.ok, .warn {
  border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1rem;
  font-family: system-ui, sans-serif; font-size: .92rem;
}
.ok { background: var(--ok-bg); border: 1px solid var(--ok-bd); }
.warn { background: var(--warn-bg); border: 1px solid var(--warn-bd); }
code { font-size: .85em; background: rgba(0,0,0,.06); padding: .1em .35em; border-radius: 4px; }
.ok code, .warn code { background: rgba(0,0,0,.08); }
ul.notes { font-size: .92rem; color: var(--muted); }
.muted { color: var(--muted); }
.status { font-size: 1.05rem; }
.timer { font-size: 2rem; font-variant-numeric: tabular-nums; margin: .5rem 0; }
.row { display: flex; gap: .75rem; align-items: center; }
.row .btn { margin-top: 0; }
a { color: var(--encre); }
