.email-outbox{padding:24px;min-width:0}
.outbox-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.outbox-heading h2{margin:0 0 6px}.outbox-heading p{margin:0;color:#64748b;line-height:1.5}
.outbox-header-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.outbox-header-actions button{white-space:nowrap}
.outbox-filters{display:grid;grid-template-columns:minmax(210px,1.6fr) minmax(160px,1.2fr) minmax(140px,1fr) minmax(180px,1.2fr);gap:12px;align-items:end;padding:18px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:12px;margin:18px 0}
.outbox-filters .field{margin:0;min-width:0}.outbox-filters .field label{display:block;font-size:12px;font-weight:650;margin-bottom:6px;color:#475569}.outbox-filters input,.outbox-filters select{width:100%;min-width:0;box-sizing:border-box}
.outbox-filter-actions{display:flex;gap:8px;grid-column:1/-1;justify-content:flex-end}
.outbox-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 24px}
.outbox-summary>div{display:flex;flex-direction:column;gap:6px;border:1px solid #dfe6ef;border-radius:10px;padding:16px 18px;background:#fff}
.outbox-summary span{font-size:12px;font-weight:650;color:#475569}.outbox-summary strong{font-size:28px;font-weight:700;line-height:1.1;color:#17263d;font-variant-numeric:tabular-nums}.outbox-summary small{color:#64748b;font-size:12px}
.outbox-summary>div.outbox-summary-attention{border-color:#f2c4bd;background:#fff8f6}.outbox-summary-attention strong{color:#a43726}
.outbox-list-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:18px 0 12px}.outbox-list-heading strong{font-size:14px}.outbox-list-heading>span{font-size:12px;color:#64748b}
.outbox-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #e2e8f0;border-radius:10px}.outbox-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1040px;margin:0}
.outbox-table th{background:#f7f9fc;color:#64748b;text-align:left;font-size:11px;font-weight:700;letter-spacing:.025em;padding:12px 14px;border-bottom:1px solid #e2e8f0;white-space:nowrap}.outbox-table td{white-space:normal;vertical-align:top;padding:16px 14px;border-bottom:1px solid #e9eef5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.outbox-table tbody tr:last-child td{border-bottom:0}.outbox-table tbody tr:hover{background:#fcfdff}.outbox-table th:nth-child(1){width:15%}.outbox-table th:nth-child(2){width:20%}.outbox-table th:nth-child(3){width:21%}.outbox-table th:nth-child(4){width:21%}.outbox-table th:nth-child(5){width:15%}.outbox-table th:nth-child(6){width:8%}
.outbox-table strong{display:block;font-weight:600;color:#26364c}.outbox-table small{display:block;font-size:11px;color:#64748b;margin-top:5px;line-height:1.5}.outbox-time strong{font-weight:500;line-height:1.6;font-variant-numeric:tabular-nums}.outbox-row-actions button{font-size:11px;min-height:30px;padding:5px 9px}.outbox-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;line-height:1.4;font-weight:650;padding:5px 8px;border-radius:6px;white-space:normal}
.outbox-status:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 auto}.outbox-status-neutral{background:#f1f5f9;color:#58667b}.outbox-status-sent{background:#eaf2ff;color:#315a93}.outbox-status-success{background:#eaf7ef;color:#226445}.outbox-status-pending{background:#fff5dc;color:#8b641b}.outbox-status-error{background:#ffefec;color:#a43726}.outbox-table .outbox-error-text{color:#a43726}.outbox-use{font-weight:650;color:#226445}
.outbox-notice{padding:13px 16px;background:#eff5ff;color:#365376;border:1px solid #d9e5f6;border-radius:8px;line-height:1.6;font-size:13px;margin:14px 0;overflow-wrap:anywhere}.outbox-notice-error{background:#fff3f0;color:#9e3b2b;border-color:#f4d1c9}.outbox-notice button{font-size:12px;margin-left:6px}
.outbox-empty{text-align:center;border:1px dashed #d7e0eb;border-radius:10px;padding:42px 20px;color:#64748b}.outbox-empty strong{font-size:16px;color:#334155}.outbox-empty p{margin:8px 0 0;font-size:13px}
.outbox-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:16px;color:#64748b;font-size:12px}.outbox-pagination>div{display:flex;align-items:center;gap:12px}.outbox-pagination button{min-height:32px;font-size:12px;padding:6px 10px}
.outbox-explainer{margin-top:22px;border-top:1px solid #e5ebf3;padding-top:14px;color:#64748b;font-size:12px;line-height:1.7}.outbox-explainer p{margin:0 0 6px}.outbox-explainer strong{color:#475569;font-weight:650}
.outbox-details{margin:0 0 18px;display:grid;gap:0}.outbox-details>div{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(0,1.35fr);gap:16px;padding:10px 0;border-bottom:1px solid #e8edf4}.outbox-details dt{font-weight:600;color:#64748b;font-size:12px}.outbox-details dd{margin:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.outbox-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1200px){.outbox-heading{flex-direction:column;gap:14px}.outbox-header-actions{justify-content:flex-start}.outbox-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.email-outbox{padding:16px}.outbox-filters{grid-template-columns:1fr;padding:14px}.outbox-filter-actions{justify-content:flex-start}.outbox-summary{gap:8px}.outbox-summary>div{padding:12px 10px}.outbox-summary strong{font-size:24px}.outbox-summary small{font-size:10px}.outbox-summary span{font-size:11px}.outbox-header-actions{width:100%}.outbox-header-actions button{white-space:normal;flex:1}.outbox-list-heading{align-items:flex-start;flex-direction:column;gap:5px}.outbox-pagination{align-items:flex-start;flex-direction:column;gap:12px}.outbox-details>div{grid-template-columns:1fr;gap:4px}}
