.audit-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audit-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.audit-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.audit-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.audit-filter-panel {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #f8fafc;
}

.audit-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
    align-items: start;
}

.audit-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.audit-filter-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
}

.audit-filter-field .form-control,
.audit-filter-field .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    min-height: 40px;
}

.audit-filter-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.audit-user-select {
    position: relative;
}

.audit-user-select-toggle {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    padding: 0.55rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    color: #1e293b;
}

.audit-user-select-toggle i {
    color: #64748b;
    font-size: 0.75rem;
}

.audit-user-select-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: 100%;
    max-height: 280px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    z-index: 30;
    padding: 0.6rem;
    display: none;
}

.audit-user-select-menu.open {
    display: block;
}

.audit-user-search-box {
    position: relative;
    margin-bottom: 0.55rem;
}

.audit-user-search-box i {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.78rem;
}

.audit-user-search-box input {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.5rem 0.65rem 0.5rem 2rem;
}

.audit-user-options {
    max-height: 190px;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
}

.audit-user-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.audit-user-option:last-child {
    border-bottom: none;
}

.audit-user-option:hover {
    background: #f8fafc;
}

.audit-user-option input {
    margin: 0;
}

.audit-selected-chips {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.audit-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    line-height: 1;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}

.audit-search {
    position: relative;
}

.audit-search input {
    padding: 0.65rem 0.9rem 0.65rem 2.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    font-size: 0.875rem;
}

.audit-search i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 0.85rem;
}

#audit-table tbody tr.audit-log-row {
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

#audit-table tbody tr.audit-log-row:hover {
    background: #f8fafc;
    box-shadow: inset 3px 0 0 rgba(137, 27, 184, 0.28);
}

#audit-table tbody tr.audit-log-row:focus {
    outline: 2px solid rgba(137, 27, 184, 0.28);
    outline-offset: -2px;
}

.audit-vendor-link {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-weight: 700;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.audit-vendor-link:hover,
.audit-vendor-link:focus {
    color: #6d28d9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.audit-status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.audit-status-badge.success {
    background: #dcfce7;
    color: #15803d;
}

.audit-status-badge.warning {
    background: #fef3c7;
    color: #92400e;
}

.audit-status-badge.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.audit-status-badge.neutral {
    background: #e2e8f0;
    color: #334155;
}

.audit-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.audit-row-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    min-height: 32px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.document-log-modal {
    --log-ink: #0f172a;
    --log-muted: #64748b;
    --log-border: rgba(226, 232, 240, 0.92);
    --log-purple: #7c3aed;
    --log-blue: #2563eb;
    z-index: 1065;
}

.document-log-modal + .modal-backdrop,
.modal-backdrop.show {
    z-index: 1060;
}

.document-log-modal .modal-dialog {
    width: min(980px, calc(100vw - 48px));
    max-width: min(980px, calc(100vw - 48px));
    margin: 1.5rem auto;
}

.document-log-modal .modal-content {
    height: min(86vh, 780px);
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.32);
}

.document-log-modal .modal-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.18), transparent 18rem),
        linear-gradient(135deg, #111827 0%, #312e81 52%, #6d28d9 100%);
}

.document-log-modal .modal-header::after {
    content: "";
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent);
}

.document-log-modal .modal-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0;
}

.document-log-modal .modal-subtitle {
    margin: 6px 0 0;
    max-width: 640px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.45;
}

.document-log-modal .modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.document-log-modal .modal-actions .btn {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
}

.document-log-modal .modal-actions .btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.document-log-modal .btn-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    background-image: none;
    opacity: 1;
    filter: none;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
}

.document-log-modal .btn-close::before {
    content: "\00d7";
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.document-log-modal .btn-close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.document-log-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 26px;
    overflow: auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(124, 58, 237, 0.06), transparent 20rem),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.document-log-modal .modal-footer {
    padding: 16px 26px;
    border-top: 1px solid var(--log-border);
    background: #f8fafc;
}

.document-log-modal .modal-footer .btn {
    min-height: 40px;
    border-radius: 12px;
    padding-inline: 18px;
    font-weight: 700;
}

.document-log-modal .document-log-panels {
    display: block;
}

.document-log-modal .document-log-panel {
    display: none;
}

.document-log-modal .document-log-panel.is-active {
    display: block;
}

.document-log-modal.show-workflow #document-log-details {
    display: none;
}

.document-log-modal.show-workflow #document-log-workflow {
    display: block;
}

.document-log-modal .document-log-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.document-log-modal .log-summary-card,
.document-log-modal .log-approver-card {
    background: #ffffff;
    border: 1px solid var(--log-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.document-log-modal .log-summary-card {
    position: relative;
    overflow: hidden;
}

.document-log-modal .log-summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--log-blue), var(--log-purple));
}

.document-log-modal .log-summary-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-left: 4px;
}

.document-log-modal .log-title {
    color: var(--log-ink);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.document-log-modal .log-subtitle {
    margin-top: 4px;
    color: var(--log-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.document-log-modal .log-status {
    flex: 1 1 260px;
    min-width: min(100%, 230px);
    display: flex;
    justify-content: flex-end;
}

.document-log-modal .log-status .status-badge {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.25;
}

.document-log-modal .log-meta-grid,
.document-log-modal .log-field-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.document-log-modal .log-meta-item,
.document-log-modal .log-field-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: #f8fafc;
}

.document-log-modal .log-label {
    display: block;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
}

.document-log-modal .log-value {
    display: block;
    margin-top: 5px;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    line-height: 1.45;
}

.document-log-modal .log-comment-block {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.16);
    background: rgba(124, 58, 237, 0.06);
}

.document-log-modal .log-change-block {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: rgba(239, 246, 255, 0.86);
}

.document-log-modal .log-change-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1d4ed8;
    font-size: 0.84rem;
    font-weight: 700;
}

.document-log-modal .log-change-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.document-log-modal .log-change-row > span {
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.document-log-modal .log-change-row div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.document-log-modal .log-change-row small {
    color: #64748b;
    font-weight: 700;
}

.document-log-modal .log-change-row del {
    color: #b91c1c;
    font-weight: 700;
}

.document-log-modal .log-change-row strong {
    color: #047857;
    font-weight: 700;
}

.document-log-modal .log-approver-card h6,
.document-log-modal .detail-section h6 {
    margin: 0 0 12px;
    color: var(--log-ink);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.document-log-modal .log-approver-card h6 i,
.document-log-modal .detail-section h6 i {
    color: var(--log-purple);
}

.document-log-modal .document-workflow-card {
    display: grid;
    gap: 14px;
}

.document-log-modal .document-workflow-card .log-subtitle {
    margin-top: -6px;
}

.document-log-modal .log-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.document-log-modal .log-chip {
    padding: 7px 12px;
    border-radius: 999px;
    color: #0369a1;
    background: #e0f2fe;
    border: 1px solid rgba(14, 165, 233, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.document-log-modal .log-field-block {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.document-log-modal .log-empty {
    color: #94a3b8;
    font-size: 0.86rem;
}

.document-log-modal .workflow-timeline {
    position: relative;
    padding: 4px 0 4px 34px;
}

.document-log-modal .timeline-item {
    position: relative;
    padding-bottom: 18px;
}

.document-log-modal .timeline-item::before {
    content: "";
    position: absolute;
    left: -23px;
    top: 26px;
    bottom: -6px;
    width: 2px;
    background: #e2e8f0;
}

.document-log-modal .timeline-item:last-child::before {
    display: none;
}

.document-log-modal .timeline-marker {
    position: absolute;
    left: -31px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #f59e0b;
    box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.14);
}

.document-log-modal .timeline-approved .timeline-marker {
    background: #16a34a;
    box-shadow: 0 0 0 7px rgba(22, 163, 74, 0.14);
}

.document-log-modal .timeline-rejected .timeline-marker {
    background: #dc2626;
    box-shadow: 0 0 0 7px rgba(220, 38, 38, 0.14);
}

.document-log-modal .timeline-forwarded .timeline-marker,
.document-log-modal .timeline-assigned .timeline-marker {
    background: #2563eb;
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.14);
}

.document-log-modal .timeline-delegated .timeline-marker {
    background: #7c3aed;
    box-shadow: 0 0 0 7px rgba(124, 58, 237, 0.14);
}

.document-log-modal .timeline-content {
    background: #ffffff;
    border: 1px solid var(--log-border);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.document-log-modal .timeline-title {
    color: var(--log-ink);
    font-weight: 700;
}

.document-log-modal .timeline-detail {
    margin-top: 5px;
    color: #475569;
    font-size: 0.9rem;
}

.document-log-modal .timeline-time {
    margin-top: 9px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
}

.document-log-modal .timeline-reason {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    font-size: 0.84rem;
    font-weight: 700;
}

.document-log-modal .timeline-reason.is-rejected {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.document-log-modal .table-responsive {
    overflow: auto;
    border: 1px solid var(--log-border);
    border-radius: 14px;
    background: #ffffff;
}

.document-log-modal .table {
    margin: 0;
    min-width: 520px;
    border-color: transparent;
}

.document-log-modal .table thead th {
    border: 0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.document-log-modal .table tbody td {
    border-color: #eef2f7;
    color: #1e293b;
    font-size: 0.84rem;
    vertical-align: middle;
}

.document-log-modal .table tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
}

@media (max-width: 760px) {
    .document-log-modal .modal-dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 0.75rem auto;
    }

    .document-log-modal .modal-content {
        height: min(90vh, 780px);
        border-radius: 18px;
    }

    .document-log-modal .modal-header {
        padding: 18px;
        flex-direction: column;
    }

    .document-log-modal .modal-actions {
        width: 100%;
        justify-content: space-between;
    }

    .document-log-modal .modal-body {
        padding: 18px;
    }

    .document-log-modal .log-summary-header {
        flex-direction: column;
    }

    .document-log-modal .log-status {
        align-self: flex-start;
        justify-content: flex-start;
    }

    .document-log-modal .log-meta-grid,
    .document-log-modal .log-field-grid {
        grid-template-columns: 1fr;
    }

    .document-log-modal .log-change-row {
        grid-template-columns: 1fr;
    }
}

.audit-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.audit-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.audit-pill {
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(137, 27, 184, 0.1);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.audit-tabs {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.audit-tab-btn {
    border: none;
    background: none;
    padding: 0.75rem 0.5rem;
    font-weight: 600;
    color: var(--medium-gray);
    cursor: pointer;
    position: relative;
}

.audit-tab-btn.active {
    color: var(--primary-color);
}

.audit-tab-btn.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--primary-color);
}

.audit-tab-content {
    display: none;
}

.audit-tab-content.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.audit-detail-group {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
}

.audit-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--medium-gray);
    margin-bottom: 0.4rem;
}

.audit-detail-value {
    font-weight: 600;
    color: var(--dark-color);
    word-break: break-word;
}

.audit-section-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.audit-line-items {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.audit-line-items th,
.audit-line-items td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.85rem;
}

.audit-line-items thead {
    background: var(--light-bg);
}

.audit-raw-block {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: var(--radius);
    padding: 1rem;
    font-size: 0.75rem;
    max-height: 320px;
    overflow: auto;
}

.audit-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--medium-gray);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius);
}

.audit-comment-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audit-comment-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    background: var(--white);
}

.audit-comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.audit-history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.audit-queue-history-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.audit-queue-history-table {
    min-width: 960px;
}

.audit-detail-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .audit-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .audit-table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .audit-controls {
        width: 100%;
        flex-wrap: wrap;
    }

    .audit-search {
        width: 100%;
    }

    .audit-search input {
        width: 100%;
    }

    .audit-filter-actions .btn {
        flex: 1 1 160px;
    }
}

.audit-history-actions {
    margin-top: 1.25rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    grid-column: 1 / -1;
}

.audit-history-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.audit-history-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.audit-history-item + .audit-history-item {
    margin-top: 0.6rem;
}

.audit-history-stage {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 0.15rem;
}

.audit-history-action {
    font-weight: 600;
    color: #4c1d95;
    text-transform: capitalize;
}

.audit-history-meta {
    font-size: 0.8rem;
    color: var(--medium-gray);
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.audit-history-remark {
    font-size: 0.85rem;
    color: var(--dark-color);
    background: #f1f5f9;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
}

.audit-po-indicator {
    margin-top: 1rem;
}

.audit-grm-indicator {
    margin-top: 0.75rem;
}

.audit-po-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    font-size: 0.85rem;
    color: #0f172a;
}

.audit-po-banner.is-muted {
    color: rgba(100, 116, 139, 0.85);
}

.audit-po-preview {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    overflow: hidden;
    min-height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audit-po-preview iframe,
.audit-po-preview img {
    width: 100%;
    min-height: 320px;
    border: none;
}
