body {
    margin: 0;
    color: #1d2327;
    background: #f3f5f7;
    font: 14px/1.5 Verdana, Geneva, sans-serif;
}

a { color: #0a5d85; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: #10212b;
    color: #fff;
}

.brand { font-size: 16px; font-weight: 700; }
.topbar a { color: #fff; margin-left: 18px; }

.container {
    max-width: 1180px;
    margin: 24px auto;
    padding: 0 18px;
}

.panel {
    background: #fff;
    border: 1px solid #d9e0e6;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

label { display: block; font-weight: 700; margin: 0 0 6px; }
input, textarea, select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #c3ccd5;
    border-radius: 4px;
    padding: 9px 10px;
    font: inherit;
}

textarea { min-height: 130px; font-family: Consolas, monospace; }

button, .button {
    display: inline-block;
    border: 0;
    border-radius: 4px;
    padding: 9px 13px;
    background: #115e67;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

button.secondary { background: #667085; }
button.danger { background: #a12828; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    border-bottom: 1px solid #e2e8ee;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th { background: #eef3f6; }
.notice { padding: 12px 14px; border-radius: 4px; margin-bottom: 18px; background: #e8f4ff; border: 1px solid #b7dbf5; }
.notice.error { background: #fff1f0; border-color: #f0b8b2; }
.notice.success { background: #eef9f0; border-color: #bfe5c6; }
.muted { color: #6b7280; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 800px) {
    .grid { grid-template-columns: 1fr; }
    .topbar { align-items: flex-start; flex-direction: column; gap: 8px; }
}
