/* Billing Online Approval - V86.62.0 */
.boa-primary-action,
.boa-secondary-action,
.boa-inbox-action {
    min-height: 41px;
    border: 0;
    border-radius: 9px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.boa-primary-action:hover,
.boa-secondary-action:hover,
.boa-inbox-action:hover { transform: translateY(-1px); }
.boa-primary-action:disabled,
.boa-secondary-action:disabled,
.boa-inbox-action:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.boa-primary-action {
    color: #fff;
    background: linear-gradient(135deg, #0f9f6e, #10b981);
    box-shadow: 0 8px 18px rgba(16, 185, 129, .22);
}
.boa-secondary-action {
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
}
.boa-inbox-action {
    position: relative;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.boa-inbox-badge {
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #dc2626;
    color: #fff;
    font-size: .69rem;
    line-height: 1;
    font-weight: 850;
}
.boa-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(15, 23, 42, .68);
    backdrop-filter: blur(3px);
}
.boa-modal {
    width: min(920px, 100%);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .34);
    color: #0f172a;
}
.boa-modal.boa-modal-wide { width: min(1240px, 100%); }
.boa-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #16a34a);
}
.boa-modal-header h2 { margin: 0; font-size: 1.16rem; line-height: 1.3; }
.boa-modal-header p { margin: 5px 0 0; font-size: .84rem; color: rgba(255,255,255,.84); }
.boa-close {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.17);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}
.boa-modal-body { padding: 22px; overflow: auto; }
.boa-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.boa-summary-card {
    min-height: 76px;
    padding: 12px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}
.boa-summary-card span { display: block; color: #64748b; font-size: .74rem; margin-bottom: 5px; }
.boa-summary-card strong { display: block; color: #0f172a; font-size: .94rem; line-height: 1.3; overflow-wrap: anywhere; }
.boa-field { margin-bottom: 16px; }
.boa-field > label { display: block; margin-bottom: 6px; color: #334155; font-size: .83rem; font-weight: 750; }
.boa-required { color: #dc2626; }
.boa-input,
.boa-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    font-size: .9rem;
    outline: none;
}
.boa-input { min-height: 43px; padding: 9px 12px; }
.boa-textarea { min-height: 88px; padding: 10px 12px; resize: vertical; }
.boa-input:focus,
.boa-textarea:focus { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.boa-person-search { position: relative; }
.boa-person-results {
    position: absolute;
    z-index: 10;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    max-height: 290px;
    overflow: auto;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}
.boa-person-option {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    text-align: left;
    cursor: pointer;
}
.boa-person-option:last-child { border-bottom: 0; }
.boa-person-option:hover { background: #f0fdf4; }
.boa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    font-size: .78rem;
    font-weight: 850;
}
.boa-person-option strong,
.boa-selected-person strong { display: block; color: #0f172a; font-size: .88rem; }
.boa-person-option small,
.boa-selected-person small { display: block; margin-top: 2px; color: #64748b; font-size: .75rem; line-height: 1.35; overflow-wrap: anywhere; }
.boa-search-empty { padding: 14px; color: #64748b; font-size: .83rem; text-align: center; }
.boa-selected-person {
    margin-top: 9px;
    padding: 11px 12px;
    border: 1px solid #86efac;
    border-radius: 12px;
    background: #f0fdf4;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}
.boa-clear-person { border: 0; background: transparent; color: #dc2626; font-size: .8rem; font-weight: 750; cursor: pointer; }
.boa-info-box,
.boa-warning-box,
.boa-error-box {
    padding: 11px 13px;
    border-radius: 10px;
    font-size: .81rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.boa-info-box { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.boa-warning-box { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.boa-error-box { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.boa-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.boa-inbox-shell { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 560px; }
.boa-inbox-left { border-right: 1px solid #e2e8f0; background: #f8fafc; }
.boa-inbox-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; border-bottom: 1px solid #e2e8f0; }
.boa-tab {
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #475569;
    padding: 9px 8px;
    font: inherit;
    font-size: .79rem;
    font-weight: 750;
    cursor: pointer;
}
.boa-tab.active { background: #166534; border-color: #166534; color: #fff; }
.boa-request-list { max-height: 620px; overflow: auto; padding: 8px; }
.boa-request-item {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: #fff;
    padding: 11px;
    margin-bottom: 7px;
    text-align: left;
    cursor: pointer;
}
.boa-request-item:hover,
.boa-request-item.active { border-color: #4ade80; box-shadow: 0 0 0 2px rgba(74, 222, 128, .13); }
.boa-request-item-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.boa-request-item strong { font-size: .85rem; color: #0f172a; }
.boa-request-item small { display: block; margin-top: 5px; color: #64748b; font-size: .73rem; line-height: 1.4; }
.boa-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 4px 7px;
    font-size: .66rem;
    font-weight: 850;
    text-transform: uppercase;
}
.boa-status-pending { background: #fef3c7; color: #92400e; }
.boa-status-approved { background: #dcfce7; color: #166534; }
.boa-status-rejected { background: #fee2e2; color: #991b1b; }
.boa-status-cancelled { background: #e2e8f0; color: #475569; }
.boa-inbox-detail { padding: 18px; overflow: auto; max-height: 680px; }
.boa-detail-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.boa-detail-title h3 { margin: 0; font-size: 1.03rem; }
.boa-detail-title p { margin: 4px 0 0; color: #64748b; font-size: .78rem; }
.boa-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-bottom: 14px; }
.boa-detail-field { padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px; }
.boa-detail-field span { display: block; color: #64748b; font-size: .7rem; margin-bottom: 3px; }
.boa-detail-field strong { display: block; color: #0f172a; font-size: .82rem; overflow-wrap: anywhere; }
.boa-preview-wrap { border: 1px solid #cbd5e1; border-radius: 12px; background: #e2e8f0; padding: 10px; overflow: auto; max-height: 460px; }
.boa-preview-document { width: 1120px; transform-origin: top left; background: #fff; }
.boa-preview-document .no-print { display: none !important; }
.boa-preview-document .billing-print-wrapper { border-radius: 0 !important; }
.boa-decision-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e2e8f0; }
.boa-decision-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 9px; }
.boa-approve-btn,
.boa-reject-btn,
.boa-cancel-request-btn {
    border: 0;
    border-radius: 9px;
    padding: 10px 15px;
    color: #fff;
    font: inherit;
    font-size: .83rem;
    font-weight: 800;
    cursor: pointer;
}
.boa-approve-btn { background: #16a34a; }
.boa-reject-btn { background: #dc2626; }
.boa-cancel-request-btn { background: #64748b; }
.boa-loader { padding: 50px 20px; text-align: center; color: #64748b; }
.boa-spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto 10px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 999px;
    animation: boa-spin .8s linear infinite;
}
@keyframes boa-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
    .boa-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .boa-inbox-shell { grid-template-columns: 1fr; }
    .boa-inbox-left { border-right: 0; border-bottom: 1px solid #e2e8f0; }
    .boa-request-list { max-height: 260px; }
    .boa-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .boa-modal-backdrop { padding: 8px; }
    .boa-modal { max-height: calc(100vh - 16px); border-radius: 13px; }
    .boa-modal-header, .boa-modal-body, .boa-modal-actions { padding-left: 14px; padding-right: 14px; }
    .boa-summary-grid, .boa-detail-grid { grid-template-columns: 1fr; }
    .boa-modal-actions { flex-direction: column-reverse; }
    .boa-modal-actions button { width: 100%; }
}
@media print {
    .boa-modal-backdrop,
    .boa-primary-action,
    .boa-secondary-action,
    .boa-inbox-action { display: none !important; }
}


/* V86.58: fixed four-step approval sequence */
.boa-modal.boa-modal-sequence { width: min(1180px, 100%); }
.boa-chain-section,
.boa-progress-section {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.boa-chain-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.boa-chain-heading h3 { margin: 0; color: #0f172a; font-size: .98rem; }
.boa-chain-heading p { margin: 3px 0 0; color: #64748b; font-size: .77rem; }
.boa-chain-heading > span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: .72rem;
    font-weight: 800;
}
.boa-chain-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.boa-chain-item {
    position: relative;
    min-width: 0;
    padding: 15px 12px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 13px;
    background: #fff;
    text-align: center;
}
.boa-chain-item.resolved { border-color: #86efac; box-shadow: 0 5px 16px rgba(22, 163, 74, .08); }
.boa-chain-item.missing { border-color: #fca5a5; background: #fff7f7; }
.boa-chain-step,
.boa-progress-number {
    width: 29px;
    height: 29px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #166534;
    color: #fff;
    font-size: .77rem;
    font-weight: 850;
}
.boa-chain-role { margin: 8px 0 4px; color: #166534; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .03em; }
.boa-chain-item strong { display: block; color: #0f172a; font-size: .86rem; line-height: 1.3; }
.boa-chain-position { display: block; min-height: 39px; margin-top: 5px; color: #475569; font-size: .72rem; line-height: 1.35; }
.boa-chain-item small { display: block; margin-top: 8px; color: #1d4ed8; font-size: .7rem; overflow-wrap: anywhere; }
.boa-chain-item em { display: inline-block; margin-top: 9px; color: #166534; font-size: .67rem; font-style: normal; font-weight: 800; }
.boa-chain-item.missing em { color: #b91c1c; }
.boa-chain-arrow {
    position: absolute;
    top: 50%;
    right: -20px;
    z-index: 2;
    width: 24px;
    color: #94a3b8;
    font-size: 1.25rem;
    font-style: normal;
    transform: translateY(-50%);
}
.boa-progress-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.boa-progress-step {
    position: relative;
    min-width: 0;
    min-height: 128px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}
.boa-progress-step .boa-progress-number { margin-bottom: 8px; background: #94a3b8; }
.boa-progress-step b { display: block; color: #64748b; font-size: .67rem; text-transform: uppercase; }
.boa-progress-step strong { display: block; margin-top: 3px; color: #0f172a; font-size: .79rem; line-height: 1.3; }
.boa-progress-step small { display: block; margin-top: 6px; color: #64748b; font-size: .68rem; line-height: 1.35; overflow-wrap: anywhere; }
.boa-progress-step em { position: absolute; top: 10px; right: 10px; padding: 3px 6px; border-radius: 999px; background: #e2e8f0; color: #475569; font-size: .61rem; font-style: normal; font-weight: 850; text-transform: uppercase; }
.boa-progress-step.pending { border-color: #fbbf24; background: #fffbeb; }
.boa-progress-step.pending .boa-progress-number { background: #d97706; }
.boa-progress-step.pending em { background: #fef3c7; color: #92400e; }
.boa-progress-step.approved { border-color: #86efac; background: #f0fdf4; }
.boa-progress-step.approved .boa-progress-number { background: #16a34a; }
.boa-progress-step.approved em { background: #dcfce7; color: #166534; }
.boa-progress-step.rejected { border-color: #fca5a5; background: #fef2f2; }
.boa-progress-step.rejected .boa-progress-number { background: #dc2626; }
.boa-progress-step.rejected em { background: #fee2e2; color: #991b1b; }
.boa-progress-step.cancelled { opacity: .68; }
@media (max-width: 980px) {
    .boa-chain-grid,
    .boa-progress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .boa-chain-arrow { display: none; }
}
@media (max-width: 560px) {
    .boa-chain-grid,
    .boa-progress-grid { grid-template-columns: 1fr; }
}

/* Executive email preview with UAT routing */
.boa-email-preview-section {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
}
.boa-email-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}
.boa-email-preview-heading h3 { margin: 0; color: #0f172a; font-size: .98rem; }
.boa-email-preview-heading p { margin: 3px 0 0; color: #64748b; font-size: .77rem; }
.boa-email-preview-heading > span {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 800;
}
.boa-email-step-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.boa-email-step-tab {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.boa-email-step-tab:hover { border-color: #86efac; background: #f0fdf4; }
.boa-email-step-tab.active {
    border-color: #16a34a;
    background: #ecfdf5;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .12);
}
.boa-email-step-tab span {
    width: 23px;
    height: 23px;
    margin-right: 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #64748b;
    color: #fff;
    font-size: .68rem;
    font-weight: 850;
    vertical-align: middle;
}
.boa-email-step-tab.active span { background: #16a34a; }
.boa-email-step-tab b { color: #0f172a; font-size: .73rem; text-transform: uppercase; }
.boa-email-step-tab small { display: block; margin-top: 5px; color: #64748b; font-size: .69rem; overflow-wrap: anywhere; }
.boa-email-envelope {
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
}
.boa-email-meta-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: .78rem;
}
.boa-email-meta-row span { color: #64748b; font-weight: 700; }
.boa-email-meta-row strong { color: #0f172a; overflow-wrap: anywhere; }
.boa-email-preview-body {
    max-height: 520px;
    overflow: auto;
    padding: 12px;
    background: #e2e8f0;
}
.boa-email-preview-body > div { min-width: 620px; }
@media (max-width: 980px) {
    .boa-email-step-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .boa-email-step-tabs { grid-template-columns: 1fr; }
    .boa-email-preview-body > div { min-width: 560px; }
}


/* V86.62.0 - approval actions at top, improved preview, final delivery */
.boa-test-mode-banner {
    display:flex; align-items:center; gap:12px; margin:0 0 14px; padding:11px 13px;
    border:1px solid #f59e0b; border-radius:11px; background:#fffbeb; color:#92400e;
}
.boa-test-mode-icon { display:grid; place-items:center; min-width:48px; height:30px; border-radius:7px; background:#f59e0b; color:#fff; font-size:.7rem; font-weight:900; letter-spacing:.08em; }
.boa-test-mode-banner strong { display:block; font-size:.85rem; }
.boa-test-mode-banner small { display:block; margin-top:2px; font-size:.76rem; line-height:1.45; }
.boa-test-recipient-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,390px); gap:16px; align-items:center; margin:0 0 16px; padding:14px; border:1px solid #bfdbfe; border-radius:12px; background:#eff6ff; }
.boa-test-recipient-card label { display:block; color:#1e3a8a; font-size:.84rem; font-weight:800; }
.boa-test-recipient-card small { display:block; margin-top:3px; color:#475569; font-size:.74rem; }
.boa-action-panel { position:sticky; top:0; z-index:8; margin:0 0 14px; padding:14px; border:1px solid #86efac; border-radius:13px; background:linear-gradient(135deg,#f0fdf4,#ecfdf5); box-shadow:0 7px 20px rgba(22,101,52,.12); }
.boa-action-panel-muted { border-color:#cbd5e1; background:#f8fafc; box-shadow:none; }
.boa-action-panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.boa-action-panel-head span { display:block; color:#166534; font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.boa-action-panel-head h4 { margin:2px 0 0; color:#0f172a; font-size:1rem; }
.boa-action-panel-head p { margin:3px 0 0; color:#475569; font-size:.78rem; }
.boa-action-panel-buttons { display:flex; align-items:center; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.boa-action-comment { display:grid; grid-template-columns:210px minmax(0,1fr); align-items:center; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid #bbf7d0; }
.boa-action-comment label { color:#334155; font-size:.79rem; font-weight:800; }
.boa-action-comment .boa-textarea { min-height:62px; }
.boa-final-delivery-panel { margin:0 0 14px; padding:15px; border:1px solid #4ade80; border-radius:13px; background:#f0fdf4; box-shadow:0 7px 20px rgba(22,101,52,.1); }
.boa-final-delivery-status { display:flex; align-items:center; gap:12px; margin-bottom:13px; }
.boa-final-delivery-status > span { display:grid; place-items:center; width:40px; height:40px; border-radius:999px; background:#16a34a; color:#fff; font-size:1.25rem; font-weight:900; }
.boa-final-delivery-status h4 { margin:0; color:#14532d; font-size:1rem; }
.boa-final-delivery-status p { margin:3px 0 0; color:#475569; font-size:.78rem; }
.boa-final-delivery-actions { display:grid; grid-template-columns:auto minmax(260px,1fr) auto; gap:10px; align-items:end; }
.boa-accounting-email-group label { display:block; margin-bottom:5px; color:#334155; font-size:.75rem; font-weight:800; }
.boa-print-approved-btn,.boa-send-accounting-btn,.boa-mini-print-btn { border:0; border-radius:9px; padding:10px 14px; font:inherit; font-size:.8rem; font-weight:850; cursor:pointer; }
.boa-print-approved-btn,.boa-mini-print-btn { background:#2563eb; color:#fff; }
.boa-send-accounting-btn { background:#16a34a; color:#fff; }
.boa-final-success { margin-top:10px; padding:9px 11px; border:1px solid #86efac; border-radius:9px; background:#dcfce7; color:#166534; font-size:.78rem; font-weight:700; }
.boa-final-history { margin-top:8px; color:#64748b; font-size:.72rem; }
.boa-result-banner { display:flex; flex-direction:column; gap:3px; margin-bottom:14px; padding:12px 14px; border:1px solid #86efac; border-radius:11px; background:#f0fdf4; color:#166534; font-size:.8rem; }
.boa-result-banner.rejected { border-color:#fecaca; background:#fef2f2; color:#991b1b; }
.boa-preview-heading-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:14px 0 7px; }
.boa-preview-heading-bar strong { display:block; color:#0f172a; font-size:.86rem; }
.boa-preview-heading-bar small { display:block; margin-top:2px; color:#64748b; font-size:.72rem; }
.boa-mini-print-btn { padding:8px 11px; font-size:.73rem; }
.boa-preview-wrap { max-height:560px; padding:16px; background:#cbd5e1; }
.boa-preview-document { width:1120px; zoom:.72; margin:0 auto; box-shadow:0 4px 16px rgba(15,23,42,.16); }
.boa-email-preview-body { background:#eef2f6 !important; padding:12px !important; }
.boa-email-preview-body > table,.boa-email-preview-body > div { margin:0 auto !important; }
.boa-inbox-detail { padding-top:14px; }
@media (max-width:1000px) {
    .boa-test-recipient-card,.boa-final-delivery-actions,.boa-action-comment { grid-template-columns:1fr; }
    .boa-action-panel { position:relative; top:auto; }
    .boa-action-panel-head { align-items:flex-start; flex-direction:column; }
    .boa-action-panel-buttons { width:100%; justify-content:flex-start; }
}
@media print {
    .boa-final-delivery-panel,.boa-action-panel,.boa-preview-heading-bar { display:none!important; }
}
