* { box-sizing: border-box; }
body { margin: 0; background: #f3f5f7; color: #1d2939; font: 16px/1.55 system-ui, sans-serif; }
header { background: #16334b; padding: 20px max(24px, calc((100% - 1200px)/2)); display: flex; gap: 24px; justify-content: space-between; align-items: center; }
header a { color: white; text-decoration: none; }
header a:hover { text-decoration: underline; }
.brand { font-size: 24px; font-weight: 750; }
nav { display: flex; gap: 24px; }
main { max-width: 1248px; margin: 44px auto; padding: 0 24px; }
h1 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0; line-height: 1.2; }
h2, h3 { line-height: 1.3; }
.eyebrow { color: #345c72; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
form, #detail, .table-wrap { background: white; border: 1px solid #d6dee4; border-radius: 8px; }
form { max-width: 800px; padding: 28px; margin-top: 28px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
label { display: block; font-weight: 600; margin-bottom: 20px; }
input, select, textarea { display: block; width: 100%; margin-top: 7px; padding: 11px; border: 1px solid #8495a3; border-radius: 4px; font: inherit; background: white; color: inherit; }
textarea { resize: vertical; }
button { background: #205a76; color: white; padding: 10px 16px; border: 0; border-radius: 4px; font: inherit; cursor: pointer; }
button:hover { background: #163e52; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #dd8a16; outline-offset: 3px; }
.error { color: #9c2323; }
.success { color: #216242; }
.workspace { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 14px; border-bottom: 1px solid #e3e8ed; }
th { font-size: 13px; background: #eaf0f4; }
.badge { display: inline-block; background: #e7eff7; color: #22445e; border-radius: 20px; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
#detail { padding: 24px; overflow-wrap: anywhere; }
#detail h2 { margin-top: 0; }
dt { font-weight: 650; font-size: 13px; color: #536373; margin-top: 12px; }
dd { margin: 2px 0; white-space: pre-wrap; }
.controls { display: flex; gap: 8px; flex-wrap: wrap; }
ol { padding-left: 20px; font-size: 14px; }
li { margin: 12px 0; }
footer { max-width: 1248px; margin: 40px auto; padding: 0 24px; color: #596a79; font-size: 13px; }
@media (max-width: 850px) { .workspace { grid-template-columns: 1fr; } }
@media (max-width: 540px) { header { align-items: start; flex-direction: column; } .grid { grid-template-columns: 1fr; } form { padding: 20px; } nav { font-size: 14px; } }
