/* Shared by TylerLegal's public pages, sign-in and workspace. */
:root {
  --tl-paper: #f6f2eb;
  --tl-surface: #fffdf9;
  --tl-ink: #101a2d;
  --tl-navy: #0f2438;
  --tl-muted: #47586a;
  --tl-link: #0d5d86;
  --tl-focus: #9c4817;
  --tl-rule: #cdc5b8;
  --tl-selected: #e4eef4;
  --tl-display: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --tl-body: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}
.tyler-wordmark {
  color: var(--tl-ink);
  font: 600 1.75rem/1 var(--tl-display);
  letter-spacing: -.045em;
  text-decoration: none;
  white-space: nowrap;
}
.tyler-wordmark span { color: var(--tl-link); }
/* TylerLegal. Colours from the Gopsco design tokens
   (Gopsco/frontend/public/assets/css/tokens.css). No web fonts are loaded:
   the system stacks below keep every page local and fast. */
:root {
  --bg: #e8e1d5; --bg-2: var(--tl-paper); --surface: var(--tl-surface); --surface-dark: var(--tl-navy);
  --text: var(--tl-ink); --muted: var(--tl-muted); --primary: var(--tl-link); --primary-2: #2d89b5;
  --accent: var(--tl-focus); --signal: #165d57; --danger: #973442;
  --border: rgba(16, 26, 45, 0.14); --radius: 18px; --radius-sm: 12px;
  --shadow: 0 12px 28px rgba(16, 26, 45, 0.08);
  --font-body: var(--tl-body);
  --font-display: var(--tl-display);
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; background: var(--bg-2); color: var(--text); font-family: var(--font-body); line-height: 1.55; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; z-index: 9; }
header.top { background: var(--surface); color: var(--text); border-bottom: 1px solid var(--tl-rule); padding: .8rem 1.25rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
header.top .brand { font-size: 1.5rem; }
header.top nav a { color: var(--text); margin-right: 1rem; text-decoration: none; padding: .3rem 0; }
header.top nav a[aria-current="page"] { color: var(--primary); border-bottom: 3px solid var(--accent); }
.tenant { padding: .6rem 1.25rem; font-weight: 600; }
.tenant.sample { background: #fdebd5; color: #6b3712; }
.beta-note { display: block; font-weight: 400; font-size: .85rem; margin-top: .25rem; }
.tenant.private { background: #dcefe9; color: #0e3f3a; }
.tenant.training { background: #5b1a1a; color: #fff; border-bottom: 4px solid #f2b705; }
main { max-width: 860px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
h1 { font-family: var(--font-display); font-size: 2rem; margin: .5rem 0 .25rem; }
h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 1.75rem 0 .5rem; }
.lead { color: var(--muted); margin-top: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1rem 0; box-shadow: var(--shadow); }
.tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.tasks a.card { display: block; text-decoration: none; color: var(--text); margin: 0; }
.tasks a.card strong { display: block; font-size: 1.1rem; color: var(--primary); }
label { display: block; font-weight: 600; margin: .9rem 0 .25rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
input, select, textarea { width: 100%; font: inherit; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text); }
textarea { min-height: 10rem; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }
button { font: inherit; font-weight: 700; background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: .7rem 1.4rem; margin-top: 1.1rem; cursor: pointer; min-height: 44px; }
button.secondary { background: var(--surface); color: var(--primary); border: 2px solid var(--primary); }
.status { border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 1rem 0; font-weight: 600; }
.status.ok { background: #dcefe9; color: #0e3f3a; }
.status.warn { background: #fdebd5; color: #6b3712; }
.status.bad { background: #f6dde1; color: var(--danger); }
.big-date { font-family: var(--font-display); font-size: 2.2rem; margin: .2rem 0; }
ol.steps li, ul.plain li { margin: .3rem 0; }
pre.draft { white-space: pre-wrap; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; font-size: .85rem; max-height: 32rem; overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.small { font-size: .85rem; color: var(--muted); }
footer { max-width: 860px; margin: 0 auto; padding: 0 1.25rem 2rem; color: var(--muted); font-size: .85rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
header.top .beta { display: inline-block; margin-left: -1rem; padding: .1rem .55rem; border-radius: 999px; background: #f2b705; color: #101a2d; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 36rem) {
  header.top nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; min-width: 0; }
  header.top nav a { margin-right: 0; }
  .card table { overflow-wrap: anywhere; }
  main ol li { overflow-wrap: anywhere; }
  td .status { display: inline-block; margin: 0; padding: .25rem .4rem; }
}
