:root { font-family: Segoe UI, system-ui, sans-serif; color: #1a1a1a; background: #f4f6f8; }
body { margin: 0; padding: 1.5rem; max-width: 1100px; }
h1 { margin-top: 0; font-size: 1.4rem; }
h2 { font-size: 1.05rem; margin: 0 0 0.65rem; }
.card { background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
button { margin: 0.25rem 0.35rem 0.25rem 0; padding: 0.45rem 0.85rem; cursor: pointer; border-radius: 6px; border: 1px solid #8c959f; background: #f6f8fa; }
button.primary { background: #0969da; color: #fff; border-color: #0969da; }
button.success { background: #1a7f37; color: #fff; border-color: #1a7f37; }
button.danger { background: #cf222e; color: #fff; border-color: #cf222e; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.small { padding: 0.25rem 0.55rem; font-size: 0.82rem; }
select, input[type="text"], textarea { padding: 0.35rem; font: inherit; }
textarea { width: 100%; box-sizing: border-box; min-height: 4.5rem; }
.muted { color: #57606a; font-size: 0.9rem; }
.err { color: #a40e26; font-size: 0.9rem; }
.ok { color: #1a7f37; font-size: 0.9rem; }
label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.85rem; margin-bottom: 0.65rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: center; margin-bottom: 0.35rem; }
.layout { display: grid; grid-template-columns: 16rem 1fr; gap: 1rem; }
@media (max-width: 800px) { .layout { grid-template-columns: 1fr; } }
.clientList { list-style: none; margin: 0; padding: 0; max-height: 28rem; overflow: auto; border: 1px solid #eaeef2; border-radius: 6px; }
.clientList li { padding: 0.4rem 0.55rem; cursor: pointer; border-bottom: 1px solid #eaeef2; font-size: 0.88rem; }
.clientList li:hover { background: #f6f8fa; }
.clientList li.selected { background: #ddf4ff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.check { flex-direction: row; align-items: center; gap: 0.4rem; }
#compileOut { min-height: 12rem; font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; }
footer { margin-top: 1rem; color: #57606a; font-size: 0.85rem; }
