:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #1f2937; background: #f3f6fb; }
* { box-sizing: border-box; }
body { margin: 0; }
.page { max-width: 1100px; margin: 0 auto; padding: 18px 14px 42px; }
header { display: flex; justify-content: space-between; align-items: baseline; }
h1 { font-size: 22px; margin: 0 0 14px; color: #1e5ed8; }
h2 { margin: 0 0 12px; font-size: 17px; }
.card { background: #fff; border-radius: 10px; box-shadow: 0 1px 5px #dce3ef; padding: 16px; margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
label { display: grid; gap: 6px; font-size: 13px; color: #4b5563; }
input, select, button { font: inherit; border-radius: 6px; }
input, select { width: 100%; border: 1px solid #cbd5e1; padding: 9px; background: #fff; }
.checkbox { display: flex; align-items: center; gap: 8px; padding-top: 25px; }
.checkbox input { width: auto; }
.actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
button { border: 0; padding: 9px 14px; color: #1e5ed8; background: #e7efff; cursor: pointer; }
button.primary { color: #fff; background: #2468e8; }
#notice { min-height: 20px; color: #b42318; white-space: pre-wrap; }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.summary div { padding: 9px; background: #f7faff; border-radius: 6px; }
.summary strong { display: block; color: #1e5ed8; font-size: 18px; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 850px; font-size: 13px; }
th, td { padding: 9px; border-bottom: 1px solid #e5e7eb; text-align: left; }
th { color: #475569; background: #f8fafc; }
@media (max-width: 720px) { .form-grid, .summary { grid-template-columns: 1fr 1fr; } }
