* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    padding: 15px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    gap: 10px;
}

.header h1 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.back-link:hover {
    text-decoration: underline;
}

.js-status {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
}

.js-disabled {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.category-section {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 4px;
}

h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 15px;
}

.item {
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
}

.item:last-child {
    border-bottom: none;
}

.label {
    color: #444;
    float: left;
    max-width: 70%;
}

.status {
    text-align: right;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    float: right;
    max-width: 30%;
}

.status-pass {
    color: #27ae60;
}

.status-fail {
    color: #c0392b;
    border: 1px solid #c0392b;
    padding: 1px 4px;
    border-radius: 3px;
}

.status-unknown {
    color: #f39c12;
    border: 1px dashed #f39c12;
    padding: 1px 4px;
    border-radius: 3px;
}

.prefix-info {
    color: #888;
    font-size: 11px;
    font-weight: normal;
}

.deprecated-info {
    color: #e67e22;
    font-size: 11px;
    font-weight: normal;
}

.conflict-warning {
    color: #f0ad4e;
    font-size: 12px;
    cursor: help;
    margin-left: 4px;
}

.error-info {
    color: #e74c3c;
    font-size: 11px;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

.async-checking {
    color: #6c757d;
    font-style: italic;
}

.site-footer {
    margin-top: 20px;
    padding: 12px 15px;
    text-align: center;
    font-size: 12px;
    color: #888;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.site-footer a {
    color: #3498db;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-separator {
    margin: 0 10px;
    color: #ccc;
}

.version-tag {
    font-size: 11px;
    color: #888;
    margin-left: 4px;
}

.low-confidence {
    color: #e67e22;
    font-size: 11px;
    font-weight: normal;
}

.error-log {
    margin-top: 20px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e74c3c;
    border-radius: 4px;
}

.error-log h3 {
    color: #e74c3c;
    font-size: 14px;
    margin-bottom: 10px;
}

.error-list {
    font-size: 12px;
    color: #666;
}

.error-item {
    padding: 4px 0;
    border-bottom: 1px solid #f5f5f5;
}

.error-item:last-child {
    border-bottom: none;
}
