.fk-wrap { max-width: 960px; margin: 0 auto; font-size: 15px; }
.fk-notice { padding: 12px 16px; background: #fff3cd; border: 1px solid #ffe08a; border-radius: 4px; }

.fk-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.fk-search-form { display: flex; gap: 8px; align-items: center; }
.fk-search-form input[type=search] { padding: 6px 10px; min-width: 240px; }

.fk-btn { display: inline-block; padding: 7px 14px; border: 1px solid #ccc; border-radius: 4px; background: #f5f5f5; color: #222; text-decoration: none; cursor: pointer; }
.fk-btn-primary { background: #2c5b3f; border-color: #2c5b3f; color: #fff; }
.fk-btn-danger { background: #a83232; border-color: #a83232; color: #fff; }

.fk-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.fk-table th, .fk-table td { padding: 8px 10px; border-bottom: 1px solid #e2e2e2; text-align: left; }
.fk-table th { background: #f0f0f0; }

.fk-pagination { display: flex; gap: 6px; }
.fk-pagination a, .fk-pagination span { padding: 4px 9px; border: 1px solid #ccc; border-radius: 3px; text-decoration: none; }
.fk-pagination .fk-page-current { background: #2c5b3f; color: #fff; border-color: #2c5b3f; }

.fk-detail-group { margin-bottom: 20px; }
.fk-detail-group h3 { margin-bottom: 6px; border-bottom: 1px solid #ddd; padding-bottom: 4px; }
.fk-detail-group dl { display: grid; grid-template-columns: 220px 1fr; row-gap: 4px; column-gap: 12px; margin: 0; }
.fk-detail-group dt { font-weight: 600; color: #444; }
.fk-detail-group dd { margin: 0; }

.fk-fieldset { border: 1px solid #ddd; border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.fk-fieldset legend { font-weight: 600; padding: 0 6px; }
.fk-field { margin-bottom: 12px; }
.fk-field label { display: block; font-weight: 500; margin-bottom: 3px; }
.fk-field input[type=text], .fk-field input[type=date], .fk-field input[type=email],
.fk-field input[type=tel], .fk-field select, .fk-field textarea {
	width: 100%; max-width: 420px; padding: 6px 8px; border: 1px solid #ccc; border-radius: 4px;
}
.fk-field textarea { min-height: 70px; }
.fk-checkbox { display: inline-flex; align-items: center; gap: 4px; margin-right: 16px; font-weight: normal; }
.fk-field-note { font-size: 12px; color: #a83232; margin: 4px 0 0; }
.fk-relation-input.fk-no-match { border-color: #a83232; background: #fff5f5; }

.fk-actions { margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.fk-inline-form { display: inline; }
