.bulk-progress{margin:0 0 28px;border:1px solid #dbe5ed;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(23,49,73,.08);overflow:hidden;color:#173149}
.bulk-progress__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 26px;background:linear-gradient(115deg,#122b45,#175570);color:#fff}
.bulk-progress__eyebrow{font-size:10px;letter-spacing:.18em;font-weight:700;color:#a9dfec}
.bulk-progress__title{margin:6px 0 0;font-size:22px;line-height:1.3;font-weight:700;color:inherit}
.bulk-progress__badge{border:1px solid #ffffff40;border-radius:30px;padding:7px 12px;white-space:nowrap;background:#ffffff12;font-size:12px}
.bulk-progress__body{padding:24px 26px}.bulk-progress__numbers{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.bulk-progress__detail{font-size:13px;color:#476175}.bulk-progress__percent{font-size:25px;color:#11647a;font-variant-numeric:tabular-nums}
.bulk-progress__track{height:12px;border-radius:20px;background:#eaf0f5;overflow:hidden}.bulk-progress__fill{height:100%;width:0;border-radius:20px;background:linear-gradient(90deg,#1682ac,#27b9a2);transition:width .55s ease;position:relative}
.bulk-progress__fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,#ffffff60,transparent);animation:bulk-sheen 1.8s infinite}
.bulk-progress.is-finished .bulk-progress__fill:after{animation:none;display:none}.bulk-progress__steps{display:flex;justify-content:space-between;gap:10px;margin:12px 0 24px;color:#647989;font-size:11px}
.bulk-progress__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bulk-progress__stat{border:1px solid #e4ebf1;border-radius:12px;padding:14px 12px;background:#f8fafc;display:flex;flex-direction:column;gap:4px}
.bulk-progress__stat strong{font-size:25px;line-height:1;font-variant-numeric:tabular-nums}.bulk-progress__stat span{font-size:12px;color:#526879}.bulk-progress__stat--completed strong{color:#087f69}.bulk-progress__stat--queued strong{color:#2263b4}.bulk-progress__stat--failed strong{color:#b33444}.bulk-progress__stat--unknown strong{color:#976009}
.bulk-progress__note{margin:18px 0;font-size:13px;line-height:1.6;color:#526879}.bulk-progress__actions{display:flex;flex-wrap:wrap;gap:8px}.bulk-progress__actions .btn{border-radius:9px;font-size:12px;padding:9px 13px}.bulk-progress__results{max-height:300px;overflow:auto;margin-top:18px}.bulk-progress__results:empty{display:none}.bulk-progress__results th{position:sticky;top:0;background:#f4f7fa;color:#526879;font-size:11px}.bulk-progress__results td{font-size:12px;font-variant-numeric:tabular-nums}
@keyframes bulk-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:575px){.bulk-progress__header,.bulk-progress__body{padding:18px}.bulk-progress__header{align-items:flex-start}.bulk-progress__title{font-size:19px}.bulk-progress__stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-progress__steps{font-size:10px}.bulk-progress__detail{font-size:12px}}
@media(prefers-reduced-motion:reduce){.bulk-progress__fill{transition:none}.bulk-progress__fill:after{animation:none}}
.bulk-template{display:flex;flex-direction:column;gap:18px;padding:24px;margin-bottom:20px;border:1px solid #b9ded1;border-radius:16px;background:linear-gradient(120deg,#effbf5,#f4f8ff);color:#173149}.bulk-template h6,.bulk-codes h6{font-size:19px;font-weight:700;margin:0 0 8px;color:#173149}.bulk-template p,.bulk-codes p{margin:0;font-size:14px;line-height:1.6;color:#476175}a.bulk-template__download{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 20px;border-radius:10px;background:#087443;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none;box-shadow:0 5px 14px #08744325}a.bulk-template__download:hover{background:#065b35}a.bulk-template__download:focus-visible{outline:3px solid #173149;outline-offset:4px}.bulk-template__download span{font-size:12px;font-weight:400;opacity:.85}.bulk-format-help{font-size:13px;line-height:1.7;color:#526879}.bulk-codes{margin-top:24px;border:1px solid #dbe5ed;border-radius:14px;padding:22px;background:#fff}.bulk-codes label{display:block;font-size:13px;margin:18px 0 8px;color:#173149}.bulk-codes__table{max-height:360px;overflow:auto;margin:16px 0}.bulk-codes__table table{margin:0;font-size:13px}.bulk-codes__table th{position:sticky;top:0;background:#eef4f8;color:#173149;z-index:1}.bulk-codes__table td{vertical-align:middle}.bulk-codes__table code{color:#075d42;user-select:all;white-space:nowrap;font-size:13px}.bulk-codes #bulkCodeCount{font-size:12px}@media(max-width:575px){.bulk-template,.bulk-codes{padding:18px}.bulk-template__download{flex-wrap:wrap}}
.bulk-progress__results .bulk-progress__response{min-width:220px;white-space:pre-wrap;overflow-wrap:anywhere}.bulk-progress__response small{display:block;margin-top:6px;color:#526879}
.bulk-review{color:#173149;font-size:14px;line-height:1.6}.bulk-review__notice{background:#edf8f4;border:1px solid #bee0d2;border-radius:12px;padding:16px 18px}.bulk-review__notice--error{background:#fff4f2;border-color:#f0c7c0;color:#8f302b}.bulk-review__notice strong{font-size:16px}.bulk-review__notice p{margin:5px 0 0;color:inherit}.bulk-review__totals{display:flex;gap:32px;flex-wrap:wrap;margin:20px 0}.bulk-review__totals span{display:block;font-size:12px;color:#526879}.bulk-review__totals strong{font-size:26px;color:#173149}.bulk-review__hint{font-size:13px;color:#526879}.bulk-review__errors{max-height:220px;overflow:auto;padding-left:24px;color:#8f302b}.bulk-review__errors li{padding:5px 0}.bulk-review__table{max-height:320px;overflow:auto}.bulk-review__table th{position:sticky;top:0;background:#f4f7fa}.bulk-review-dialog .modal-title{font-family:inherit;color:#173149}.bulk-review-dialog .modal-footer{gap:8px;flex-wrap:wrap}
.bulk-review-dialog .modal-header{display:flex;align-items:center;gap:16px}.bulk-review-dialog .modal-header .modal-title{flex:1;order:0}.bulk-review-dialog .modal-header .close{order:1;margin-left:auto;border:0;background:transparent;color:#526879;font-size:26px;line-height:1;padding:8px}.bulk-review-dialog .modal-header .close:focus-visible{outline:2px solid #173149;border-radius:4px}

/* Native disclosure keeps help available without interrupting the upload. */
.bulk-help{margin:-8px 0 22px;color:#173149;font-size:13px;line-height:1.6}
.bulk-help>summary{display:flex;align-items:center;gap:8px;width:fit-content;margin-left:auto;padding:7px 10px;border-radius:8px;cursor:pointer;color:#245779;font-weight:600;list-style:none}
.bulk-help>summary::-webkit-details-marker{display:none}.bulk-help>summary:after{content:'⌄';margin-left:3px}.bulk-help[open]>summary:after{content:'⌃'}.bulk-help>summary:hover{background:#edf4f8}.bulk-help>summary:focus-visible{outline:2px solid #245779;outline-offset:2px}
.bulk-help__icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid currentColor;border-radius:50%;font-size:13px}.bulk-help__hint{font-size:11px;color:#617788;font-weight:400}
.bulk-help__body{padding:22px;margin-top:10px;border:1px solid #dbe5ed;border-radius:16px;background:#f7fafc}.bulk-help__body>h6{font-size:18px;font-weight:700;color:#173149;margin:0 0 18px}
.bulk-help__steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}.bulk-help__steps li{padding:16px;border:1px solid #e2ebf0;border-radius:12px;background:#fff}.bulk-help__steps svg{display:block;width:100%;height:90px;margin:0 0 14px;border-radius:8px;background:#f0f6fa}.bulk-help__steps h6{color:#173149;font-size:15px;font-weight:700;margin:0 0 8px}.bulk-help p{font-size:13px;line-height:1.65;color:#405e71;margin:0}.bulk-help__tips{margin-top:18px;border-top:1px solid #dbe5ed;padding-top:16px}.bulk-help__tips p+p{margin-top:10px}
@media(max-width:575px){.bulk-help__steps{grid-template-columns:1fr}.bulk-help__body{padding:16px}.bulk-help__hint{display:none}}

/* Airtime page tabs and queue controls. */
.airtime-tabs { display:flex; gap:.5rem; margin-bottom:1.25rem; border-bottom:1px solid #dbe3ea; }
.airtime-tabs [role="tab"] { flex:1; padding:.8rem .5rem; border:0; border-bottom:3px solid transparent; background:transparent; color:#4b5563; font-weight:600; }
.airtime-tabs [aria-selected="true"] { color:#1d4ed8; border-bottom-color:#2563eb; background:#eff6ff; }
.airtime-tabs [role="tab"]:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
[id^="airtime-panel-"][hidden], #airtime-split-settings[hidden] { display:none !important; }
.airtime-queue-controls { display:flex; align-items:center; gap:.75rem; flex-wrap:wrap; margin:1rem 0; }
.airtime-queue-controls select { width:auto; min-width:160px; }
#airtime-queue-detail { margin-top:1.5rem; }
#airtime-queue-rows td { vertical-align:middle; }

.bulk-progress__stat[type="button"] { cursor: pointer; text-align: left; font: inherit; }
.bulk-progress__stat[aria-pressed="true"] { outline: 2px solid var(--bs-primary, #3467eb); outline-offset: 2px; }
.bulk-progress__stat[type="button"]:focus-visible { outline: 3px solid var(--bs-primary, #3467eb); }
.bulk-outcome-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; flex-wrap: wrap; }
.bulk-outcome-tools select { width: auto; }

/* Match the platform theme and preserve usable space on small screens. */
.bulk-tools-page {min-width:0; --bulk-accent:var(--primary,var(--bs-primary,#0d6efd));}
.bulk-tools-page :is(h3,h5,h6,.card-title) {font-family:inherit!important;}
.bulk-tools-page>.content-wrapper>.row>.col-lg-8>.card>.card-body>.card-title {background:none!important;-webkit-text-fill-color:var(--bs-body-color,#273444)!important;color:var(--bs-body-color,#273444)!important;text-align:left!important;border-color:var(--bulk-accent)!important;}
.bulk-tools-page .airtime-tabs [aria-selected=true] {color:var(--bulk-accent);border-color:var(--bulk-accent);background:color-mix(in srgb,var(--bulk-accent) 8%,var(--bs-body-bg,#fff));}
.bulk-tools-page :is(input:not([type=radio]):not([type=checkbox]),select,.btn,summary) {min-height:44px;}
.bulk-tools-page :is(button,input,select,summary):focus-visible {outline:3px solid var(--bulk-accent);outline-offset:2px;}
.bulk-advanced>summary,.bulk-ussd-help>summary {cursor:pointer;font-weight:600;padding:10px 0;}
.bulk-advanced[open]>summary {margin-bottom:10px;}
.bulk-copy-code {margin-left:8px;font-size:12px;}
.bulk-input-estimate {padding:12px;border:1px solid var(--bs-border-color,#dbe3ea);border-radius:8px;background:var(--bs-tertiary-bg,#f4f7fa);font-size:13px;line-height:1.6;}
.bulk-field-error {color:var(--bs-danger,#b42318);font-size:13px;margin:6px 0;}
.bulk-tools-page .bulk-codes__table code {white-space:normal;overflow-wrap:anywhere;}
@media(max-width:575px) {
 .bulk-tools-page {padding:12px!important;max-width:100%;}
 .bulk-tools-page .content-wrapper {padding:0!important;min-width:0;}
 .bulk-tools-page>.content-wrapper>.row {margin:0;}
 .bulk-tools-page>.content-wrapper>.row>div {padding:0;min-width:0;}
 .bulk-tools-page .card-body {padding:14px!important;}
 .bulk-tools-page :is(.bulk-template,.bulk-codes,.bulk-help__body) {padding:12px;}
 .bulk-tools-page .btn-group {max-width:100%;flex-wrap:wrap;}
 .bulk-tools-page :is(.btn,summary) {white-space:normal;overflow-wrap:anywhere;}
 #airtime-panel-queue>.table-responsive>table,#airtime-queue-rows {display:block;width:100%;}
 #airtime-panel-queue>.table-responsive>table>thead {display:none;}
 #airtime-queue-rows>tr {display:grid;gap:8px;border:1px solid var(--bs-border-color,#dbe3ea);border-radius:10px;padding:12px;margin-bottom:12px;}
 #airtime-queue-rows>tr>td {display:block;border:0;padding:0;white-space:normal;overflow-wrap:anywhere;}
 #airtime-queue-rows>tr>td::before {content:attr(data-label);display:block;font-size:11px;color:var(--bs-secondary-color,#526879);font-weight:600;}
 #airtime-queue-rows .btn {width:100%;}
 .bulk-tools-page .airtime-queue-controls>* {max-width:100%;}
}

/* Progress stays in a scrollable dialog rather than extending the page. */
.bulk-progress-modal .modal-dialog {max-width:1100px;width:calc(100% - 32px);margin:16px auto;}
.bulk-progress-modal .modal-content {max-height:calc(100dvh - 32px);background:var(--bs-body-bg,#fff);color:var(--bs-body-color,#273444);}
.bulk-progress-modal .modal-body {overflow:auto;padding:0;}
.bulk-progress-modal .modal-title {font-family:inherit;font-size:18px;}
.bulk-progress-modal .bulk-progress {margin:0;border:0;box-shadow:none;border-radius:0;}
.bulk-progress-modal .bulk-progress__results {max-height:none;overflow:auto;}
.bulk-progress-modal .modal-footer {justify-content:flex-start;}
.bulk-progress-modal .modal-header,.bulk-progress-modal .modal-footer {flex-shrink:0;}
.bulk-progress-modal .btn {min-height:44px;}
body:has(.bulk-progress-modal.show) #mobileBottomNav {visibility:hidden;}
@media(max-width:575px) {
 .bulk-progress-modal .modal-dialog {width:calc(100% - 16px);margin:8px auto;}
 .bulk-progress-modal .modal-content {max-height:calc(100dvh - 16px);}
 .bulk-progress-modal .modal-header,.bulk-progress-modal .modal-footer {padding:12px;}
}
.bulk-progress-modal .modal-header {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.bulk-progress-modal .bulk-progress-close {margin-left:auto;}

/* Delivery details: immediate feedback and compact, theme-aware controls. */
.bulk-progress__loading {display:none;align-items:center;gap:12px;padding:24px;color:var(--bs-body-color,#273444);}
.bulk-progress.is-loading .bulk-progress__loading {display:flex;}
.bulk-progress.is-loading .bulk-progress__body,.bulk-progress.is-loading .bulk-progress__badge {display:none;}
.bulk-progress.is-load-error .bulk-progress__numbers,.bulk-progress.is-load-error .bulk-progress__track,
.bulk-progress.is-load-error .bulk-progress__steps,.bulk-progress.is-load-error .bulk-progress__badge {display:none;}
.bulk-progress.is-durable .bulk-progress__steps {display:none;}
.bulk-progress.is-durable .bulk-progress__stats {margin-top:16px;}
.bulk-progress-modal .bulk-progress__title {font-family:inherit;}
.bulk-progress-modal .btn-outline-secondary {color:var(--bs-body-color,#273444);border-color:var(--bs-secondary-color,#687887);background:var(--bs-body-bg,#fff);}
.bulk-progress-modal .btn-outline-secondary:hover {background:var(--bs-tertiary-bg,#edf2f6);color:var(--bs-body-color,#273444);}
.bulk-progress-modal .btn:focus-visible {outline:3px solid var(--bs-primary,#3467eb);outline-offset:2px;}
@media(max-width:575px) {
 .bulk-progress-modal .bulk-progress__header {flex-direction:column;gap:8px;padding:14px 16px;}
 .bulk-progress-modal .bulk-progress__title {font-size:19px;margin-top:3px;}
 .bulk-progress-modal .bulk-progress__badge {white-space:normal;font-size:11px;padding:4px 8px;}
 .bulk-progress-modal .bulk-progress__body {padding:16px;}
 .bulk-progress-modal .bulk-progress__stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
 .bulk-progress-modal .bulk-progress__stat {padding:10px 8px;min-height:60px;}
 .bulk-progress-modal .bulk-progress__stat strong {font-size:20px;}
 .bulk-progress-modal .bulk-progress__stat span {font-size:11px;}
 .bulk-progress-modal .bulk-progress__note {margin:12px 0;font-size:12px;line-height:1.5;}
 .bulk-progress-modal .bulk-progress__actions {gap:6px;}
 .bulk-progress-modal .bulk-progress__actions .btn {flex:1 1 auto;padding:8px;}
 .bulk-progress-modal .bulk-progress__results {margin-top:12px;}
 .bulk-progress-modal .modal-footer {font-size:11px;}
}
@media(prefers-reduced-motion:reduce) {.bulk-progress__loading .spinner-border {animation:none;}}

.bulk-tools-page .bulk-recipient-row { display: flex; gap: .75rem; margin-bottom: .75rem; }
.bulk-tools-page .bulk-recipient-row input { min-width: 0; min-height: 48px; }
.bulk-tools-page .bulk-recipient-row button {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #27384a;
  background-color: #fff;
  border-color: #526170;
}
.bulk-tools-page .bulk-recipient-row button:hover,
.bulk-tools-page .bulk-recipient-row button:focus-visible {
  color: #fff;
  background-color: #27384a;
  border-color: #27384a;
}
.bulk-tools-page .bulk-recipient-row button:focus-visible {
  outline: 3px solid #245779;
  outline-offset: 2px;
}
.bulk-tools-page .bulk-recipient-entry button { min-height: 44px; }
.bulk-tools-page #phone_numbers[hidden] { display: none !important; }
.bulk-more-actions, .bulk-transaction-details { margin: 1rem 0; width: 100%; }
.bulk-more-actions summary, .bulk-transaction-details summary { cursor: pointer; padding: .8rem; border: 1px solid #bdc7d1; border-radius: .4rem; font-weight: 600; }
.bulk-progress__secondary { display: flex; flex-wrap: wrap; gap: .6rem; padding: .8rem 0; }
.bulk-review__table small { color: #526170; }
@media (max-width: 600px) {
  .bulk-review__table table, .bulk-review__table tbody, .bulk-review__table tr, .bulk-review__table td { display: block; }
  .bulk-review__table thead { display: none; }
  .bulk-review__table tr { border: 1px solid #bdc7d1; border-radius: .5rem; padding: .75rem; margin-bottom: .75rem; }
  .bulk-review__table td { border: 0; padding: .25rem; }
  .bulk-review__table td:nth-child(2)::before { content: 'Phone: '; font-weight: 600; }
  .bulk-review__table td:nth-child(4)::before { content: 'Airtime: '; font-weight: 600; }
  .bulk-review__table td:nth-child(5)::before { content: 'Estimated cost: '; font-weight: 600; }
}

/* Readable unselected choices: these options remain available. */
.bulk-tools-page .btn-check:not(:checked) + .btn-outline-primary {
  color: #245779;
  background: #fff;
  border-color: #245779;
  opacity: 1;
}
.bulk-tools-page .bulk-input-estimate { color: #405e71; }
body:has(.bulk-review-dialog.show) #mobileBottomNav { visibility: hidden; }
@media (max-width: 600px) {
  /* One dialog scroll area, rather than a second scrolling recipient list. */
  .bulk-review-dialog .modal-dialog { margin: 8px; }
  .bulk-review-dialog .modal-content { max-height: calc(100dvh - 16px); }
  .bulk-review-dialog .modal-body { overflow: auto; }
  .bulk-review-dialog .modal-header,
  .bulk-review-dialog .modal-footer { flex-shrink: 0; }
  .bulk-review-dialog .modal-footer .btn { min-height: 44px; white-space: normal; }
  .bulk-review__table { max-height: none; overflow: visible; }
  .bulk-tools-page .bulk-codes__table { max-height: none; overflow: visible; }
  .bulk-tools-page .bulk-codes__table table,
  .bulk-tools-page .bulk-codes__table tbody,
  .bulk-tools-page .bulk-codes__table tr,
  .bulk-tools-page .bulk-codes__table td,
  .bulk-progress__results table,
  .bulk-progress__results tbody,
  .bulk-progress__results tr,
  .bulk-progress__results td { display: block; width: 100%; }
  .bulk-tools-page .bulk-codes__table thead,
  .bulk-progress__results thead { display: none; }
  .bulk-tools-page .bulk-codes__table tbody tr,
  .bulk-progress__results tbody tr { border: 1px solid #bdc7d1; border-radius: 8px; padding: 10px; margin-bottom: 12px; }
  .bulk-tools-page .bulk-codes__table td,
  .bulk-progress__results td { border: 0; padding: 6px 0; overflow-wrap: anywhere; }
  .bulk-tools-page .bulk-codes__table td:nth-child(1)::before { content: 'Network / service: '; font-weight: 600; }
  .bulk-tools-page .bulk-codes__table td:nth-child(2)::before { content: 'Product: '; font-weight: 600; }
  .bulk-tools-page .bulk-codes__table td:nth-child(3)::before { content: 'Code: '; font-weight: 600; }
  .bulk-progress__results td:nth-child(2)::before { content: 'Payment: '; font-weight: 600; }
  .bulk-progress__results td:nth-child(3)::before { content: 'Phone: '; font-weight: 600; }
  .bulk-progress__results td:nth-child(4)::before { content: 'Amount: '; font-weight: 600; }
  .bulk-progress__results td:nth-child(5)::before { content: 'Status: '; font-weight: 600; }
  .bulk-progress__results .bulk-progress__response { min-width: 0; }
  .bulk-progress__results input[type="checkbox"] { width: 24px; height: 24px; }
  .bulk-progress__results .btn { min-height: 44px; }
}

/* Delivery and orders adapt to the available screen width. */
.bulk-tools-page {padding-bottom:80px;}
.bulk-tools-page .airtime-tabs [role="tab"] {min-width:0;line-height:1.4;}
.bulk-progress-modal .modal-dialog {width:calc(100% - 24px);max-width:1200px;}
.bulk-progress-modal .modal-content {max-height:calc(100dvh - 32px);}
.bulk-progress-modal .bulk-progress__header > div {min-width:0;}
.bulk-progress-modal .bulk-progress__title {overflow-wrap:anywhere;}
.bulk-progress-modal .bulk-progress__stat {min-width:0;min-height:76px;line-height:1.4;}
.bulk-progress-modal .bulk-progress__stat span {overflow-wrap:normal;}
.bulk-progress-modal .bulk-progress__secondary .btn,
.bulk-progress-modal .bulk-progress__actions .btn {min-height:44px;white-space:normal;}
.bulk-progress-modal summary {min-height:44px;line-height:1.5;}
.bulk-progress-modal .bulk-progress__results td {vertical-align:top;}
@media(min-width:1000px) {
 .bulk-progress-modal .bulk-progress__stats {grid-template-columns:repeat(6,minmax(0,1fr));}
}
@media(max-width:991px) {
 #airtime-panel-queue>.table-responsive {overflow:visible;}
 #airtime-panel-queue>.table-responsive>table {display:block;width:100%;}
 #airtime-panel-queue>.table-responsive>table>thead {display:none;}
 #airtime-queue-rows {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 #airtime-queue-rows>tr {display:grid;align-content:start;gap:12px;min-width:0;border:1px solid #bdc7d1;border-radius:12px;padding:16px;margin:0;background:var(--bs-body-bg,#fff);}
 #airtime-queue-rows>tr>td {display:block;border:0;padding:0;white-space:normal;overflow-wrap:anywhere;}
 #airtime-queue-rows>tr>td::before {content:attr(data-label);display:block;font-size:12px;color:#526879;font-weight:600;margin-bottom:3px;}
 #airtime-queue-rows .btn {width:100%;min-height:44px;}
 .bulk-tools-page .airtime-queue-controls {gap:10px;}
}
@media(max-width:600px) {
 .bulk-tools-page {padding-bottom:80px!important;}
 .bulk-progress-modal .bulk-progress__actions {display:flex;flex-direction:column;align-items:stretch;}
 .bulk-progress-modal .bulk-progress__actions>.btn,
 .bulk-progress-modal .bulk-progress__actions>details {width:100%;}
 #airtime-queue-rows {grid-template-columns:minmax(0,1fr);}
 .bulk-tools-page .airtime-queue-controls select {flex:1;min-width:0;}
 .bulk-tools-page #airtime-queue-toggle-refresh {flex-basis:100%;}
 .bulk-progress-modal .modal-dialog {width:calc(100% - 16px);margin:8px auto;}
 .bulk-progress-modal .modal-content {max-height:calc(100dvh - 16px);}
 .bulk-progress-modal .bulk-progress__stats {grid-template-columns:repeat(2,minmax(0,1fr));}
 .bulk-progress-modal .bulk-progress__stat {min-height:66px;padding:10px 12px;}
 .bulk-progress-modal .bulk-progress__stat span {font-size:12px;}
 .bulk-progress-modal .bulk-progress__secondary {display:grid;grid-template-columns:1fr;}
 .bulk-progress-modal .bulk-progress__secondary .btn {width:100%;}
 .bulk-progress-modal .modal-footer {padding:10px 12px;line-height:1.5;}
}
@media(max-width:380px) {
 .bulk-progress-modal .bulk-progress__numbers {align-items:flex-start;gap:8px;}
 .bulk-progress-modal .bulk-progress__detail {max-width:70%;}
 .bulk-progress-modal .bulk-progress__percent {font-size:22px;}
 .bulk-progress-modal .modal-title {font-size:16px;}
}

/* Large-amount controls remain readable and easy to tap on phones. */
.bulk-tools-page #airtime-split-settings .form-text {font-size:14px;line-height:1.6;color:#405e71;}
.bulk-tools-page #airtime-split-settings .bulk-advanced summary {min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;}
.bulk-tools-page #airtime-split-settings .bulk-advanced summary::before {content:'▸';}
.bulk-tools-page #airtime-split-settings .bulk-advanced[open] summary::before {content:'▾';}
.bulk-tools-page #airtime-split-settings .form-check {min-height:44px;padding-top:8px;padding-bottom:8px;}
@media(max-width:600px) {
 .bulk-tools-page #airtime-split-settings input[type="number"] {font-size:16px;min-height:44px;}
 .bulk-tools-page #airtime-split-settings legend {font-weight:600;line-height:1.5;}
}
