.queue-panel{margin-bottom:24px}.queue-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.queue-panel-heading h2{margin:10px 0 22px}.queue-progress-label{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}.queue-progress-label strong{font-size:22px;color:#243a59}.queue-progress-label span{color:#718096;font-size:13px}.queue-panel progress{width:100%;height:8px;display:block;border:0;border-radius:10px;overflow:hidden;background:#edf1f8;accent-color:#355af3}.queue-panel progress::-webkit-progress-bar{background:#edf1f8}.queue-panel progress::-webkit-progress-value{background:#355af3;border-radius:10px}.queue-message{font-size:14px;line-height:1.65;color:#4c617c}.queue-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.queue-hint{font-size:12px;color:#7a879b;line-height:1.7}.queue-items,.queue-budget,.queue-ledger{margin:24px 0}.queue-item{display:grid;grid-template-columns:40px minmax(0,1fr) 180px;align-items:start;gap:16px;border-top:1px solid #e9edf3;padding:18px 0}.queue-item a{font-size:14px;font-weight:600;line-height:1.6}.queue-item p{margin:6px 0 0;font-size:12px;color:#7b889a;line-height:1.6}.queue-item-number{color:#8491a4;font-size:13px;padding-top:3px}.queue-state{font-size:12px;padding:7px 10px;background:#f1f4fa;border-radius:6px;color:#60748e;text-align:center}.queue-budget h2{margin:12px 0 24px}.queue-budget-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.queue-budget-grid dt{font-size:12px;color:#7d899b}.queue-budget-grid dd{font-size:17px;font-weight:600;margin:10px 0;color:#314764;overflow-wrap:anywhere}.queue-budget-edit{border-top:1px solid #e9edf3;padding-top:18px;margin-top:18px}.queue-budget-edit summary,.queue-ledger summary{font-size:13px;font-weight:600;cursor:pointer}.queue-budget-edit form{margin-top:22px;max-width:650px}.queue-ledger-scroll{overflow-x:auto}.queue-ledger table{border-collapse:collapse;width:100%;min-width:600px;margin-top:18px;font-size:12px}.queue-ledger th,.queue-ledger td{text-align:left;padding:12px;border-bottom:1px solid #e9edf3}.queue-ledger th{color:#7e8c9f;font-weight:500}.queue-list{display:grid;gap:14px}.queue-list-row{display:flex;justify-content:space-between;gap:24px;align-items:center}.queue-list-row h2{font-size:17px;margin:12px 0 8px}.queue-list-row p{font-size:13px;color:#7c8899;line-height:1.6}.queue-list-row .badge{flex-shrink:0}.queue-filter{display:flex;gap:12px;align-items:center;margin-bottom:24px}.queue-filter label{font-size:13px;color:#7a879b}.queue-filter select{padding:11px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;max-width:100%}.badge-paused,.badge-partial{background:#fff2d9;color:#8d6823}.badge-cancelled{background:#eef1f6;color:#708096}
@media(max-width:760px){.queue-panel-heading{display:block}.queue-panel-heading>a{display:block;margin-bottom:22px}.queue-item{grid-template-columns:24px minmax(0,1fr);gap:10px}.queue-state{grid-column:2;justify-self:start}.queue-budget-grid{grid-template-columns:1fr 1fr}.queue-list-row{display:block}.queue-list-row .badge{display:inline-block;margin-top:8px}.queue-filter{flex-wrap:wrap}.queue-actions .button{padding:11px 15px;font-size:12px}.queue-budget{padding:22px}}

.diagnostic-panel{margin:20px 0}.diagnostic-panel .section-heading{flex-wrap:wrap;gap:12px}.diagnostic-events{max-height:480px;overflow:auto;overflow-wrap:anywhere}.diagnostic-events details{padding:12px 0;border-bottom:1px solid #dce3ef}.diagnostic-events summary{cursor:pointer;font-size:13px;line-height:1.6}.diagnostic-events p{font-size:12px;color:#536182}.diagnostic-events pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:#f5f7fc;padding:12px;border-radius:8px}.diagnostic-panel textarea{width:100%;box-sizing:border-box}
