:root {
    --blue: #0b6f87;
    --blue-dark: #075469;
    --green: #9bd448;
    --light: #f5f8f9;
    --border: #d6e0e3;
    --text: #203238;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--light); }
.site-header { background: white; border-bottom: 4px solid var(--green); padding: 12px 5%; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 92px; height: 92px; object-fit: contain; }
.brand h1 { margin: 0; color: var(--blue-dark); font-size: 1.75rem; }
.brand p { margin: 4px 0 0; }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a, .button { display: inline-block; background: var(--blue); color: white; text-decoration: none; padding: 10px 14px; border-radius: 6px; border: 0; cursor: pointer; font-size: 1rem; }
nav a:hover, .button:hover { background: var(--blue-dark); }
.button.secondary { background: #60747b; }
.container { width: min(1100px, 92%); margin: 26px auto; }
.card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.05); margin-bottom: 20px; }
.login-card { max-width: 460px; margin: 40px auto; text-align: center; }
.login-card img { width: 190px; max-width: 80%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.stat { background: white; border-left: 6px solid var(--green); border-radius: 8px; padding: 20px; }
.stat strong { display: block; font-size: 2rem; color: var(--blue-dark); }
label { display: block; font-weight: bold; margin: 14px 0 6px; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #aebdc2; border-radius: 5px; font: inherit; }
textarea { min-height: 100px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 18px; }
.full { grid-column: 1 / -1; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #e8f3f5; }
.table-wrap { overflow-x: auto; }
.flash { background: #e8f6d4; border: 1px solid #b7d97a; padding: 12px; border-radius: 6px; margin-bottom: 18px; }
.error { background: #fde6e6; border: 1px solid #e2a0a0; padding: 12px; border-radius: 6px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
footer { text-align: center; padding: 24px; color: #5d6b70; }
@media (max-width: 700px) {
    .form-grid { grid-template-columns: 1fr; }
    .brand img { width: 72px; height: 72px; }
    .brand h1 { font-size: 1.35rem; }
}

.report-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 12px; margin-top: 18px; }
.report-link { display: block; border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: 8px; padding: 14px; color: var(--text); text-decoration: none; background: #fff; }
.report-link strong, .report-link span { display: block; }
.report-link span { margin-top: 5px; color: #5d6b70; font-size: .92rem; }
.report-link:hover, .report-link.active { background: #e8f3f5; border-left-color: var(--green); }
.report-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
td a { color: var(--blue-dark); }


/* Version 1.1 import module */
.import-table input[type="checkbox"] { width: auto; transform: scale(1.15); }
.import-table small { color: #5d6b70; }
.import-new td:first-child { border-left: 5px solid var(--green); }
.import-duplicate td:first-child { border-left: 5px solid #d7a62c; }
.import-invalid td:first-child { border-left: 5px solid #c65a5a; }
code { background: #eef3f4; padding: 2px 5px; border-radius: 4px; }
