.gkqm-wrap { max-width: 1100px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; line-height: 1.5; }
.gkqm-wrap * { box-sizing: border-box; }
.gkqm-muted { color: #666; font-size: 0.92em; }

.gkqm-notice { padding: 12px 16px; border-radius: 6px; margin: 12px 0; background: #eef4ff; border: 1px solid #cfe0ff; }
.gkqm-notice-success { background: #eafaf0; border-color: #b7e4c7; color: #1b5e20; }
.gkqm-notice-error { background: #fdecea; border-color: #f5c6cb; color: #9a1c1c; }
.gkqm-notice-warning { background: #fff8e1; border-color: #ffe082; color: #7a5b00; }

.gkqm-btn { display: inline-block; padding: 9px 16px; border-radius: 6px; border: 1px solid transparent; font-size: 0.95em; cursor: pointer; text-decoration: none; }
.gkqm-btn-primary { background: #2854c9; color: #fff; }
.gkqm-btn-primary:hover { background: #1e409e; }
.gkqm-btn-secondary { background: #eef1f6; color: #222; border-color: #d7dce4; }
.gkqm-btn-secondary:hover { background: #e2e7ef; }
.gkqm-btn-danger { background: #c62828; color: #fff; }
.gkqm-btn-danger:hover { background: #a01f1f; }
.gkqm-link-btn { background: none; border: none; color: #c62828; cursor: pointer; text-decoration: underline; padding: 0; font-size: 0.9em; }

.gkqm-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.94em; }
.gkqm-table th, .gkqm-table td { border: 1px solid #e3e6ea; padding: 8px 10px; text-align: left; }
.gkqm-table thead th { background: #f6f8fb; }
.gkqm-table input[type="number"], .gkqm-table input[type="text"] { width: 100%; padding: 5px 7px; border: 1px solid #cfd5dd; border-radius: 4px; }

.gkqm-form, .gkqm-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.gkqm-inline-form input, .gkqm-inline-form select { padding: 8px 10px; border: 1px solid #cfd5dd; border-radius: 5px; }
.gkqm-search-form input, .gkqm-search-form select { padding: 8px 10px; border: 1px solid #cfd5dd; border-radius: 5px; }

.gkqm-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .gkqm-two-col { grid-template-columns: 1fr; } }

.gkqm-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e3e6ea; margin: 18px 0; }
.gkqm-tab-btn { background: none; border: none; padding: 10px 16px; cursor: pointer; font-size: 0.95em; color: #555; border-bottom: 3px solid transparent; }
.gkqm-tab-btn.active { color: #2854c9; border-bottom-color: #2854c9; font-weight: 600; }
.gkqm-tab-panel { display: none; }
.gkqm-tab-panel.active { display: block; }

.gkqm-dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }

.gkqm-status { padding: 2px 10px; border-radius: 12px; font-size: 0.82em; font-weight: 600; }
.gkqm-status-draft { background: #eef1f6; color: #444; }
.gkqm-status-submitted { background: #fff3cd; color: #7a5b00; }
.gkqm-status-final { background: #fdecea; color: #9a1c1c; }

.gkqm-error-list { color: #9a1c1c; font-size: 0.88em; max-height: 220px; overflow-y: auto; }

.gkqm-print-toolbar { display: flex; gap: 10px; margin-bottom: 18px; }
.gkqm-print-sheet { border: 1px solid #e3e6ea; padding: 24px; border-radius: 6px; }
.gkqm-print-header { text-align: center; margin-bottom: 18px; }
.gkqm-print-header h2 { margin: 0 0 4px; }
.gkqm-print-header h3 { margin: 0 0 4px; font-weight: 600; }
.gkqm-print-footer { display: flex; justify-content: space-between; margin-top: 60px; font-size: 0.9em; }
.gkqm-print-footer div { border-top: 1px solid #999; padding-top: 6px; width: 30%; text-align: center; }

@media print {
	.gkqm-no-print { display: none !important; }
	.gkqm-print-sheet { border: none; padding: 0; }
	body * { visibility: hidden; }
	.gkqm-print-wrap, .gkqm-print-wrap * { visibility: visible; }
	.gkqm-print-wrap { position: absolute; left: 0; top: 0; width: 100%; }
}

.gkqm-login-wrap { max-width: 380px; margin: 40px auto; }
.gkqm-login-wrap input[type="text"], .gkqm-login-wrap input[type="password"] { width: 100%; padding: 9px 10px; margin: 6px 0 14px; border: 1px solid #cfd5dd; border-radius: 5px; }
.gkqm-login-wrap .login-remember, .gkqm-login-wrap .login-submit { margin: 10px 0; }
