/* Compact mobile supply cards and daily campaign totals */
@media(max-width:700px){
 .wb-rule-list{gap:8px}
 .wb-rule{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 8px!important;padding:11px!important;min-width:0;border-radius:12px!important}
 .wb-rule>div:first-child{min-width:0;gap:3px}.wb-rule>div:first-child b{font-size:13px;line-height:1.3}.wb-rule>div:first-child small{font-size:10px;line-height:1.35}
 .wb-rule .badge{grid-column:2!important;grid-row:1!important;align-self:start!important;justify-self:end!important;font-size:10px!important}
 .wb-rule-meta{grid-column:1/-1!important;font-size:10px;line-height:1.4}
 .wb-rule .panel-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;align-items:stretch!important;margin-top:4px}
 .wb-rule .panel-actions>.button{width:100%!important;min-width:0!important;max-width:100%!important;min-height:35px!important;height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:4px 5px!important;font-size:11px!important;line-height:1.1!important;border-radius:9px!important}
 .wb-rule .panel-actions>.button:only-child{grid-column:span 2}
 .wb-draft-list{gap:5px!important}
 .wb-draft-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:8px 10px!important;border-radius:10px!important}
 .wb-draft-card>div:first-child{min-width:0}.wb-draft-card b{font-size:12px!important}.wb-draft-card small{font-size:10px!important;line-height:1.35!important}
 .wb-draft-card .panel-actions{width:auto!important;display:flex!important;gap:5px!important;flex-wrap:nowrap!important}
 .wb-draft-card .panel-actions>.button{min-height:34px!important;padding:5px 7px!important;font-size:10px!important;border-radius:8px!important;white-space:nowrap!important}
 .wb-supply-history-wrap{width:100%!important;overflow-x:auto!important;scrollbar-width:thin}
 .wb-supply-history{min-width:660px!important}
 .wb-supply-history table{display:table!important;width:100%!important;min-width:660px!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0}
 .wb-supply-history thead{display:table-header-group!important}.wb-supply-history tbody{display:table-row-group!important}
 .wb-supply-history tr{display:table-row!important;padding:0!important;border:0!important}
 .wb-supply-history th,.wb-supply-history td,.wb-supply-history td:first-child,.wb-supply-history td:last-child{display:table-cell!important;width:auto!important;min-width:0!important;padding:8px 9px!important;border:0!important;border-bottom:1px solid var(--line)!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;vertical-align:middle!important}
 .wb-supply-history td::before{display:none!important;content:none!important}
 .wb-supply-history th:first-child,.wb-supply-history td:first-child{position:sticky!important;left:0!important;z-index:2!important;background:#fff!important;width:140px!important;min-width:140px!important;max-width:140px!important;box-shadow:1px 0 0 var(--line)}
 .wb-supply-history th:first-child{z-index:3!important;background:#f8f9fb!important}
}
.wb-draft-show-more{width:100%;margin-top:9px;min-height:38px}
.ad-period-totals td{background:#eef5ff!important;font-weight:750!important;color:#163f70!important;border-bottom:1px solid #cbdcf4!important}
.ad-period-totals .date{background:#eef5ff!important}
.ad-period-totals .ad-period-placement td{background:#f3f8ff!important;font-weight:650!important}
.ad-period-totals .ad-period-placement .date{background:#f3f8ff!important}
.ad-period-totals .ad-period-placement .date b{font-size:10px}
.ad-period-coverage{margin:9px 0 7px;color:var(--muted);font-size:10px;line-height:1.45}
.ad-deposit-result[hidden]{display:none!important}
.ad-deposit-result{display:grid;gap:6px;padding:13px 15px;margin:5px 0 14px;background:#ecf8f0;border:1px solid #a3d9b2;border-radius:12px;color:#246b39;line-height:1.45}
.ad-deposit-result b{font-size:15px}.ad-deposit-result span{font-size:12px}
@supports (-webkit-touch-callout:none){
 @media(max-width:767px){
  /* iPhone Safari auto-zooms controls when font is less than 16px. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important;min-width:0;max-width:100%}
 }
}
