/* Free tool pages (locum-invoice-template.html, locum-rate-calculator.html): the app's look, no app code. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/instrument-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ink: #14213D; --muted: #5B6576; --line: #E3E6EB; --paper: #F6F7F9; --card: #FFFFFF; --card2: #F1F3F6;
  --brand: #2563EB; --brand-fg: #FFFFFF; --brand-soft: #EAF1FE; --danger: #B42318;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #E8EBF0; --muted: #9AA4B2; --line: #262C36; --paper: #0E1116; --card: #161A21; --card2: #1C212A;
    --brand: #60A5FA; --brand-fg: #04152D; --brand-soft: #15233A; --danger: #F97066; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
a { color: var(--brand); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo span { width: 34px; height: 34px; border-radius: 9px; background: #2563EB; color: #fff; display: grid; place-items: center; font-size: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--card); color: var(--brand); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-fg); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 18px 0 10px; text-wrap: balance; }
h2 { font-size: 22px; letter-spacing: -0.01em; margin: 0 0 12px; }
h3 { font-size: 16px; margin: 0 0 10px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 640px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; min-height: 44px; }
textarea { min-height: 72px; resize: vertical; }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.out { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.out:last-child { border-bottom: 0; }
.out b { font-size: 17px; }
.big { font-size: 28px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pitch { background: var(--brand-soft); border-radius: 14px; padding: 22px; margin: 28px 0; }
.pitch h2 { margin-bottom: 6px; }
.pitch p { margin: 0 0 14px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 32px 0 44px; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.bad { border-color: var(--danger) !important; box-shadow: 0 0 0 1px var(--danger); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
