.szdxx-tool {
    width: 100%;
}
.szdxx-intro {
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    color: #555;
    font-size: 14px;
}
.szdxx-input-area {
    margin-bottom: 30px;
}
.szdxx-input-area label {
    font-weight: bold;
    margin-right: 12px;
}
.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
#numInput {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 18px;
    transition: 0.2s;
}
#numInput:focus {
    border-color: #4A90D9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.2);
}
#convertBtn {
    padding: 10px 28px;
    background: #4A90D9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}
#convertBtn:hover {
    background: #357ABD;
}
.error-hint {
    min-height: 24px;
    margin-top: 6px;
    color: #d9534f;
    font-size: 14px;
}

/* 四宫格布局 */
.szdxx-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) {
    .szdxx-grid {
        grid-template-columns: 1fr;
    }
}

.result-box {
    background: #f9fafb;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}
.result-box .label {
    font-weight: bold;
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
}
.result-box .value {
    background: white;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 22px;
    min-height: 50px;
    word-break: break-all;
    border: 1px dashed #ccc;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
    color: #1a1a1a;
}
.copy-btn {
    align-self: flex-start;
    padding: 6px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.15s;
}
.copy-btn:hover {
    background: #218838;
}
.copy-btn.copied {
    background: #6c757d;
}


/* ===== 使用说明 & 对照表 ===== */
.szdxx-footer {
    margin-top: 40px;
    border-top: 2px solid #e9ecef;
    padding-top: 24px;
}
.szdxx-usage h3,
.szdxx-reference h3 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.szdxx-usage ul {
    padding-left: 20px;
    margin-bottom: 28px;
    line-height: 1.8;
    color: #333;
}
.szdxx-usage ul li {
    margin-bottom: 2px;
}
.szdxx-usage code {
    background: #f1f3f5;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #d63384;
}

/* 对照表容器 - 两个表水平并排 */
.ref-tables {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.ref-table {
    flex: 1;
    min-width: 200px;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ref-table thead {
    background: #e9ecef;
}
.ref-table th,
.ref-table td {
    padding: 8px 14px;
    text-align: center;
    border: 1px solid #dee2e6;
    font-size: 15px;
}
.ref-table th {
    font-weight: 600;
    color: #1a1a1a;
}
.ref-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.ref-table tbody tr:hover {
    background: #eef4ff;
}
.ref-note {
    margin-top: 12px;
    font-size: 14px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 4px;
    border-left: 4px solid #4A90D9;
}


