body {
    background-color: #f5f7fb;
}

.container {
    max-width: 1080px;
}

h1 {
    font-weight: 700;
    color: #1f2937;
}

.level-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.level-chip-group .level-chip {
    border-radius: 999px;
    white-space: nowrap;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.scroll-box {
    min-height: 140px;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
}

.word-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: #fafafa;
}

.word-item:last-child {
    margin-bottom: 0;
}

.word-value {
    overflow-wrap: anywhere;
}

.property-list {
    display: grid;
    gap: 10px;
}

.property-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    background: #fff;
}

.property-meta {
    margin-bottom: 6px;
}

.property-key {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: #374151;
}

.property-name {
    font-size: 13px;
    color: #6b7280;
}

.property-row-title {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.property-help {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.property-help-action {
    margin-top: 6px;
}

.badge-supported {
    background: #e8f8ee;
    color: #0f766e;
}

.badge-limited {
    background: #fff7d6;
    color: #a16207;
}

.badge-unsupported {
    background: #fde8e8;
    color: #b91c1c;
}

textarea.form-control {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
}

#filterSupport ul {
    padding-left: 18px;
}

#filterResult {
    min-height: 320px;
    overflow-y: hidden;
    resize: none;
}

.field-requirement {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    border-radius: 999px;
    padding: 2px 8px;
    font-weight: 600;
}

.field-requirement-required {
    background: #fde8e8;
    color: #b91c1c;
}

.field-requirement-conditional {
    background: #fff7d6;
    color: #a16207;
}

.field-requirement-recommended {
    background: #e8f8ee;
    color: #0f766e;
}

.field-requirement-optional {
    background: #eef2ff;
    color: #4338ca;
}

.field-error {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 4px;
}

.is-invalid-demo {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.16);
}

#inputModeSwitch {
    display: inline-flex;
    gap: 6px;
}

#validationSummary ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

.catalog-summary {
    border-top: 1px dashed #d1d5db;
    margin-top: 10px;
    padding-top: 8px;
}

.catalog-summary-title {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.catalog-summary-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: transparent;
}

.catalog-summary-table th,
.catalog-summary-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding: 6px 8px;
    vertical-align: top;
}

.catalog-summary-key {
    font-weight: 600;
    color: #374151;
    width: 110px;
    background: rgba(148, 163, 184, 0.08);
}

.catalog-summary-value {
    color: #111827;
}

.catalog-summary-table tr:last-child th,
.catalog-summary-table tr:last-child td {
    border-bottom: none;
}

#contactCard.contact-card-highlight {
    border-color: #93c5fd;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.18);
}
