/* GTIR 5.37.0 – shared responsive advertising workspace */
@media (max-width: 760px) {
  :is(.billing,.calendar,.delivery,.report,.ad-settings,.history,.ad-edit,.my-ads,.customer-report) {
    box-sizing: border-box;
    width: 100%;
    margin: 18px auto 108px;
    padding: 0 14px;
  }
  :is(.billing,.calendar,.delivery,.report,.ad-settings,.history,.ad-edit,.my-ads,.customer-report) h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  :is(.billing,.calendar,.delivery,.report,.ad-settings,.history,.ad-edit,.my-ads,.customer-report) :is(input,select,textarea,button) {
    min-height: 46px;
    font-size: 16px;
  }
  .billing form,.ad-settings form,.ad-edit form,.ad-edit aside { padding: 14px; border-radius: 15px; }
  .calendar>header,.delivery>header,.report>header { gap: 10px; }
  .calendar nav { position: sticky; top: 74px; z-index: 3; padding: 7px; border: 1px solid #D9C7AD; border-radius: 12px; background: rgba(250,247,240,.96); }
  .calendar-list article { gap: 8px; padding: 12px; }
  .calendar-list article time { font-weight: 800; }
  .calendar-list article>a { display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #D9C7AD; border-radius: 10px; text-decoration: none; }
  .delivery article,.delivery .empty { padding: 14px; border-radius: 15px; }
  .delivery .top>strong { font-size: 23px; }
  .delivery dl { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .delivery dl div { min-width: 0; padding: 9px; overflow-wrap: anywhere; }
  .report-stats { gap: 8px; }.report-stats div { padding: 12px; }.report-stats strong { overflow-wrap: anywhere; }
  .table-wrap { margin-right: -14px; border-radius: 12px 0 0 12px; }
  .report table,.daily-report table { min-width: 680px; }
  .history article { gap: 6px; padding: 12px; }.history article time { font-weight: 800; opacity: 1; }
  .ad-edit-layout { gap: 12px; }.ad-live-preview :is(small,strong,p) { overflow-wrap: anywhere; }
  .ad-media input[type=file] { padding: 8px; }
  .my-ads>header { margin-bottom: 12px; }.campaign-card { margin: 12px 0; border-radius: 16px; }
  .campaign-card>picture { margin: -13px -13px 12px; max-width: none; }.campaign-card>picture img { border-radius: 15px 15px 0 0; }
  .campaign-heading h2 { font-size: 1.5rem; line-height: 1.18; overflow-wrap: anywhere; }
  .status { width: fit-content; white-space: normal; }.ad-workflow { gap: 6px; }.ad-workflow li { padding: 7px; line-height: 1.2; }
  .campaign-links { display: grid; grid-template-columns: 1fr 1fr; }.campaign-links a { text-align: center; }
  .customer-report>header { padding: 15px; }.report-info,.report-kpis { gap: 8px; }
}
@media (max-width: 420px) {
  .delivery dl,.report-stats,.report-info,.report-kpis { grid-template-columns: 1fr 1fr !important; }
  .report-info div:last-child { grid-column: 1 / -1; }
  .ad-workflow { display: flex; overflow-x: auto; padding-bottom: 5px; scroll-snap-type: x proximity; }
  .ad-workflow li { flex: 0 0 145px; scroll-snap-align: start; }
}
