/* V77.156: presentation only; no accounting, booking or API changes. */
#crm-v72-open.aakash-crm-nav-tab{position:static!important;display:block!important;width:100%!important;max-width:none!important;margin:3px 0!important;padding:12px 14px!important;text-align:left!important;border-radius:10px!important;box-shadow:none!important;background:transparent!important;color:#dce8f8!important;font:750 13px inherit!important;white-space:normal!important}
#crm-v72-open.aakash-crm-nav-tab:hover,#crm-v72-open.aakash-crm-nav-tab:focus-visible{background:#24578f!important;color:#fff!important}
#crm-v72-modal{z-index:100001!important}
#crm-v72-modal .crm-v72-modal-card{width:min(1250px,calc(100vw - 28px))!important;max-height:calc(100dvh - 30px)!important;overflow:auto!important}
@media(max-width:760px){
  #crm-v72-open.aakash-crm-nav-tab{display:none!important}
  #crm-v72-modal .crm-v72-modal-card{width:100%!important;max-width:100%!important;max-height:100dvh!important;min-height:100dvh!important;margin:0!important;border-radius:0!important;box-sizing:border-box!important;padding:14px!important}
  #crm-v72-modal .crm-v72-toolbar{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  #crm-v72-modal .crm-v72-toolbar>*{min-width:0!important;max-width:100%!important}
  .filters.aakash-mobile-date-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;align-items:stretch!important;padding:12px!important}
  .filters.aakash-mobile-date-grid>label:nth-of-type(1),.filters.aakash-mobile-date-grid>label:nth-of-type(2){grid-column:span 3!important;min-width:0!important;width:100%!important;box-sizing:border-box!important}
  .filters.aakash-mobile-date-grid>label:nth-of-type(3){grid-column:span 6!important}
  .filters.aakash-mobile-date-grid>label input[type=date]{width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:12px!important}
  .filters.aakash-mobile-date-grid>button{grid-column:span 2!important;min-width:0!important;width:100%!important;height:46px!important;padding:5px 3px!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.15!important;font-size:11px!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
}

/* V77.157: target the actual React corporate date filter and its nested actions. */
@media (max-width:760px) {
  .filters.corporate-date-filter {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    align-items:stretch!important;
    min-width:0!important;
  }
  .filters.corporate-date-filter > label {
    grid-column:auto!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
  }
  .filters.corporate-date-filter > label input[type="date"] {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .filters.corporate-date-filter > .date-quick-actions {
    grid-column:1 / -1!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    min-width:0!important;
    align-items:stretch!important;
  }
  .filters.corporate-date-filter > .date-quick-actions > button,
  .filters.corporate-date-filter > .date-quick-actions > button:last-child {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    height:auto!important;
    margin:0!important;
    padding:7px 4px!important;
    font-size:11px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    box-sizing:border-box!important;
  }
}
