/* 发票购买方信息核对：沿用工具大厅既有视觉变量，不引入外部字体或图标资源。 */

.tool-card-mark.invoice-audit,
.workspace-mark.invoice-audit {
    color: #115e59;
    background: #ccfbf1;
}

.ia-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border: 1px solid #e2e8e5;
    border-left: 4px solid #176b5b;
    border-radius: 10px;
    background: #f7fbfa;
    margin-bottom: 16px;
}

.ia-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    color: #176b5b;
    margin-bottom: 6px;
}

.ia-hero h2 {
    margin: 0 0 6px;
    font-size: 19px;
    color: #1b2b27;
}

.ia-hero p {
    margin: 0;
    font-size: 13px;
    color: #55635f;
    line-height: 1.7;
}

.ia-local {
    flex: 0 0 auto;
    text-align: center;
    font-size: 12px;
    color: #55635f;
    line-height: 1.7;
    padding: 10px 14px;
    border: 1px dashed #b8ccc6;
    border-radius: 8px;
    background: #fff;
}

.ia-local b {
    color: #176b5b;
}

.ia-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #55635f;
    margin-bottom: 14px;
}

.ia-steps span {
    padding: 5px 12px;
    border-radius: 999px;
    background: #eef5f3;
}

.ia-steps b {
    color: #176b5b;
}

.ia-steps i {
    color: #9fb3ad;
    font-style: normal;
}

.ia-service {
    font-size: 13px;
    color: #55635f;
    padding: 10px 14px;
    border-radius: 8px;
    background: #f4f6f5;
    margin-bottom: 14px;
}

.ia-service.error {
    background: #fdf1f0;
    color: #a3392f;
}

.ia-form {
    border: 1px solid #e2e8e5;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
}

.ia-standard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.ia-field label {
    display: block;
    font-size: 13px;
    color: #1b2b27;
    margin-bottom: 6px;
}

.ia-field small {
    display: block;
    font-size: 12px;
    color: #7b8a86;
    margin-top: 5px;
    line-height: 1.6;
}

.ia-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 11px;
    font-size: 14px;
    border: 1px solid #d3ddda;
    border-radius: 6px;
}

.ia-field input:focus {
    outline: none;
    border-color: #176b5b;
}

.ia-field.invalid input {
    border-color: #c0473c;
    background: #fdf7f6;
}

.ia-drop {
    display: block;
    border: 1px dashed #b8ccc6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fbfdfc;
    cursor: pointer;
}

.ia-drop.dragging {
    border-color: #176b5b;
    background: #eef5f3;
}

.ia-drop input {
    display: none;
}

.ia-drop strong {
    display: block;
    font-size: 14px;
    color: #1b2b27;
    margin-bottom: 4px;
}

.ia-drop small {
    display: block;
    font-size: 12px;
    color: #7b8a86;
    line-height: 1.7;
}

.ia-queue {
    margin-top: 12px;
    font-size: 13px;
    color: #55635f;
}

.ia-queue ul {
    margin: 8px 0 0;
    padding-left: 18px;
    max-height: 148px;
    overflow-y: auto;
}

.ia-queue li {
    line-height: 1.9;
}

.ia-queue li.rejected {
    color: #a3392f;
}

.ia-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.ia-submit-row span {
    font-size: 12px;
    color: #7b8a86;
}

.ia-progress {
    border: 1px solid #e2e8e5;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.ia-progress.error {
    border-color: #e6b5ae;
    background: #fdf7f6;
}

.ia-progress-head {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #55635f;
    margin-bottom: 8px;
}

.ia-progress progress {
    width: 100%;
    height: 8px;
}

.ia-result {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
    background: #f4f6f5;
    color: #35443f;
}

.ia-result.error {
    background: #fdf1f0;
    color: #a3392f;
}

.ia-result.warn {
    background: #fdf8ec;
    color: #8a6414;
}

.ia-standard-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border: 1px solid #e2e8e5;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #35443f;
}

.ia-standard-bar b {
    color: #176b5b;
}

.ia-standard-bar .ia-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef5f3;
    color: #176b5b;
    margin-right: 8px;
}

.ia-standard-bar .ia-badge.pending {
    background: #fdf8ec;
    color: #8a6414;
}

.ia-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.ia-card {
    border: 1px solid #e2e8e5;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.ia-card:hover {
    border-color: #176b5b;
}

.ia-card.active {
    border-color: #176b5b;
    background: #f7fbfa;
}

.ia-card small {
    display: block;
    font-size: 12px;
    color: #7b8a86;
    margin-bottom: 6px;
}

.ia-card strong {
    display: block;
    font-size: 20px;
    color: #1b2b27;
}

.ia-card.pass strong {
    color: #176b5b;
}

.ia-card.fail strong {
    color: #c0473c;
}

.ia-card.pending strong {
    color: #b98218;
}

.ia-card em {
    display: block;
    font-size: 11px;
    color: #9fb3ad;
    font-style: normal;
    margin-top: 4px;
}

.ia-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8e5;
    border-radius: 10px;
}

.ia-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 900px;
}

.ia-table th,
.ia-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f0;
    text-align: left;
    vertical-align: top;
}

.ia-table th {
    background: #f7fbfa;
    color: #35443f;
    font-weight: 600;
    white-space: nowrap;
}

.ia-table td.amount {
    text-align: right;
    white-space: nowrap;
}

.ia-table tr:last-child td {
    border-bottom: none;
}

.ia-status {
    display: inline-block;
    font-size: 12px;
    padding: 2px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.ia-status.pass {
    background: #e8f4f1;
    color: #176b5b;
}

.ia-status.fail {
    background: #fbe9e7;
    color: #c0473c;
}

.ia-status.pending {
    background: #fdf3e0;
    color: #8a6414;
}

.ia-status.excluded {
    background: #eef2f0;
    color: #7b8a86;
}

.ia-reasons {
    margin: 0;
    padding-left: 16px;
    color: #55635f;
    line-height: 1.8;
}

.ia-reasons li {
    margin-bottom: 2px;
}

.ia-empty {
    padding: 26px;
    text-align: center;
    color: #7b8a86;
    font-size: 13px;
}

.ia-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.ia-fix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 12px;
    background: #f7fbfa;
    border-radius: 8px;
    margin-top: 8px;
}

.ia-fix input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 9px;
    font-size: 13px;
    border: 1px solid #d3ddda;
    border-radius: 6px;
}

.ia-fix-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    align-items: center;
}

.ia-link {
    background: none;
    border: none;
    color: #176b5b;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

@media (max-width: 780px) {
    .ia-hero,
    .ia-standard {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}
