:root { color-scheme: light; --ink: #183449; --teal: #087e88; --dark: #075861; --line: #dbe5eb; --muted: #546a78; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f4f8fa; font: 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px max(24px, calc((100vw - 1200px) / 2)); background: white; border-bottom: 1px solid var(--line); }
header > span { font-size: 14px; color: var(--muted); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; color: var(--ink); }
.brand-icon { display: inline-grid; place-items: center; width: 35px; height: 35px; background: var(--teal); color: white; border-radius: 8px; }
main { max-width: 780px; margin: 48px auto; padding: 0 24px; }
main.wide { max-width: 1248px; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.16; margin: 20px 0 28px; letter-spacing: -1px; }
h2 { font-size: 24px; line-height: 1.3; margin: 10px 0 18px; }
p { margin: 16px 0; }
a { color: #076b78; text-underline-offset: 3px; }
a:hover { color: #04434b; }
.lead { font-size: 20px; }
.muted, .small { color: var(--muted); }
.small { font-size: 14px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: white; margin: 28px 0; box-shadow: 0 4px 18px #193b4d05; }
.eyebrow, .template-label { color: #08727d; font-size: 12px; font-weight: 800; letter-spacing: 1.3px; }
.template-label { display: inline-block; background: #dff2ee; padding: 5px 10px; border-radius: 5px; }
button, .button { display: inline-block; font: inherit; font-size: 16px; line-height: 1.4; font-weight: 650; border: 1px solid var(--teal); border-radius: 8px; padding: 12px 18px; background: var(--teal); color: white; text-decoration: none; cursor: pointer; }
button:hover, .button:hover { background: var(--dark); color: white; }
button.danger { background: #a32930; border-color: #a32930; }
label { display: block; font-weight: 650; margin: 16px 0 6px; }
input:not([type=checkbox]), textarea, select { width: 100%; border: 1px solid #a5b9c6; border-radius: 7px; padding: 11px 13px; font: inherit; color: var(--ink); background: white; margin-bottom: 16px; }
textarea { min-height: 260px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; }
input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--teal); }
:focus-visible { outline: 3px solid #eaa936; outline-offset: 4px; }
.notice { padding: 15px 20px; border: 1px solid #88c7b9; border-radius: 8px; background: #e7f7ef; }
.error { padding: 15px 20px; background: #ffeded; border-left: 4px solid #a32930; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
nav, .actions { display: flex; gap: 15px; flex-wrap: wrap; align-items: center; }
nav { border-bottom: 1px solid var(--line); padding-bottom: 16px; font-size: 15px; }
footer { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; border-top: 1px solid var(--line); padding: 28px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: white; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.stat strong { display: block; font-size: 32px; }
.table-wrap { overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); background: #f6fafc; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 20px; background: #e2f2ee; font-size: 13px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: white; border: 1px solid var(--line); padding: 20px; border-radius: 8px; font: 15px/1.65 system-ui; }
.grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.inline { display: inline-block; margin: 5px 8px 5px 0; }
@media (max-width: 720px) { header > span { display: none; } main { margin-top: 28px; } .card { padding: 20px; } .stats { grid-template-columns: 1fr 1fr; } .grid { grid-template-columns: 1fr; } }
