/* Placeholder styles until the Tailwind build lands (WP0.11). Fimi brand tokens. */
:root {
  --fimi-teal: #0d7c66;
  --fimi-navy: #0f2b46;
  --fimi-bg: #f7f9fb;
  --fimi-text: #1c2733;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--fimi-bg);
  color: var(--fimi-text);
}

.shell-header {
  background: var(--fimi-navy);
  padding: 0.75rem 1.5rem;
}

.shell-brand {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.shell-main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--fimi-navy);
}

.shell-header { display: flex; align-items: center; justify-content: space-between; }
.shell-user { display: flex; gap: 1rem; align-items: center; color: #fff; }
.shell-user a, .shell-user .link { color: #fff; }
.shell-workspace { font-weight: 600; }
.card { background: #fff; border-radius: 12px; padding: 1.5rem 2rem; box-shadow: 0 1px 3px rgba(15, 43, 70, 0.12); }
.narrow { max-width: 28rem; margin: 2rem auto; }
form label { display: block; margin-top: 0.75rem; font-weight: 500; }
form input:not([type=checkbox]):not([type=hidden]) { width: 100%; padding: 0.5rem; margin-top: 0.25rem; box-sizing: border-box; }
form .checkbox { font-weight: 400; }
button { margin-top: 1rem; background: var(--fimi-teal); color: #fff; border: 0; border-radius: 6px; padding: 0.55rem 1rem; cursor: pointer; }
button.link { background: none; color: inherit; padding: 0; margin: 0; text-decoration: underline; }
form.inline { display: inline; }
.alert { background: #fdecea; color: #8a1c13; padding: 0.6rem 0.8rem; border-radius: 6px; }
.notice { background: #e6f4f0; color: var(--fimi-teal); padding: 0.6rem 0.8rem; border-radius: 6px; }
.field-error { color: #8a1c13; font-size: 0.9rem; }
.badge { font-size: 0.8rem; background: #eef2f6; border-radius: 999px; padding: 0.1rem 0.5rem; margin-left: 0.4rem; }
.choices { list-style: none; padding: 0; }
.muted { color: #5b6b7b; }
.qr svg { width: 180px; height: 180px; }
.audit-status p, .audit-anchor { margin: 0.4rem 0; }
.audit-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 1rem; align-items: end; }
.audit-filters select { width: 100%; padding: 0.5rem; margin-top: 0.25rem; }
table.audit-log { width: 100%; border-collapse: collapse; margin-top: 1rem; }
table.audit-log th, table.audit-log td { text-align: left; vertical-align: top; padding: 0.5rem 0.4rem; border-bottom: 1px solid #e3e8ee; }
table.audit-log details { margin-top: 0.3rem; }
.proof dt { font-weight: 500; margin-top: 0.3rem; }
.proof dd { margin: 0; }
.hash { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.85rem; word-break: break-all; }
pre.payload { white-space: pre-wrap; word-break: break-all; background: #f3f6f9; padding: 0.5rem; border-radius: 6px; font-size: 0.85rem; }
.pager { display: flex; gap: 1.5rem; margin-top: 1rem; }
