* { box-sizing: border-box; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #f7f5f0;
    color: #1c2733;
    margin: 0;
}
header.topbar {
    background: #22303f;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header.topbar a { color: #fff; text-decoration: none; }
header.topbar nav a { margin-right: 16px; }
main {
    max-width: 960px;
    margin: 32px auto;
    padding: 0 16px;
}
h1, h2, h3 { color: #2c3e52; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; background: #fff; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid #e9e4d9; font-size: 14px; }
th { background: #e9e4d9; }
form.inline { display: inline; }
.card { background: #fff; border: 1px solid #e9e4d9; border-radius: 6px; padding: 16px; margin-bottom: 16px; }
label { display: block; margin: 8px 0 4px; font-size: 13px; font-weight: 600; }
input, select, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
button, .btn {
    background: #bd3832;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 12px;
    display: inline-block;
    text-decoration: none;
}
.btn-secondary { background: #2c3e52; }
.btn-muted { background: #7a838c; }
.flash { padding: 10px 14px; border-radius: 4px; margin-bottom: 16px; }
.flash-success { background: #d9ead6; }
.flash-error { background: #f4cccc; }
code.embed {
    display: block;
    background: #22303f;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 8px;
}
.status-idle { color: #2e7d4f; }
.status-pending { color: #8a5f0e; }
.status-error { color: #bd3832; }
