* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a2e;
    background: #f4f6f9;
    font-size: 14px;
}
a { color: #01144b; }

.header { background: #01144b; color: #fff; }
.header-content {
    max-width: 1100px; margin: 0 auto; padding: 0.6rem 1rem;
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.logo a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-link { color: #cdd6ea; text-decoration: none; font-size: 0.9rem; }
.nav-link:hover, .nav-active { color: #fff; }
.nav-user { color: #9fb0d0; font-size: 0.85rem; }

.main { max-width: 1100px; margin: 1.25rem auto; padding: 0 1rem; }
.page h1 { font-size: 1.4rem; margin: 0 0 1rem; }
.section { background: #fff; border-radius: 8px; padding: 1rem 1.25rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.section h2 { font-size: 1.05rem; margin: 0 0 0.75rem; }

.footer { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; color: #8a93a6; font-size: 0.8rem; }

.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid #e6e9ef; text-align: left; }
.table thead th { background: #eef1f6; font-size: 0.82rem; }
.table-compact th, .table-compact td { padding: 0.3rem 0.45rem; font-size: 0.85rem; }

.form-group { margin-bottom: 0.6rem; display: flex; flex-direction: column; gap: 0.2rem; }
.form-group label { font-size: 0.8rem; color: #555; }
.form input[type=text], .form input[type=email], .form input[type=password],
.form input[type=number], .form input[type=date], .form select, .inline-edit input, .inline-edit select {
    padding: 0.4rem 0.5rem; border: 1px solid #c9d0db; border-radius: 4px; font-size: 0.9rem;
}
.inline-edit { margin-top: 0.4rem; padding: 0.5rem; background: #f8f9fb; border-radius: 6px; }

.btn {
    display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid #c9d0db; border-radius: 4px;
    background: #fff; color: #1a1a2e; text-decoration: none; font-size: 0.88rem; cursor: pointer;
}
.btn-primary { background: #01144b; color: #fff; border-color: #01144b; }
.btn-danger { background: #c0392b; color: #fff; border-color: #c0392b; }
.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.82rem; }
.btn-xs { padding: 0.2rem 0.5rem; font-size: 0.78rem; }

.alert { padding: 0.6rem 0.9rem; border-radius: 6px; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

.text-muted { color: #8a93a6; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }
