#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]){--agenda-ink:#10273c;background:#f8f7f2!important;color:var(--agenda-ink)!important;padding:clamp(12px,2vw,28px);border-radius:14px}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) :is(.page-title-action h1,.page-subtitle){color:#122c42!important}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .page-title-action button,#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .rental-agenda-layout :is(button,input,select){background:#fff!important;color:#172f43!important;border:1px solid #c9d3d8!important;border-radius:8px}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) #new-direct-rental{background:#ffcd19!important;color:#102636!important}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .master-calendar-panel{background:transparent!important;border:0!important;padding:0!important;color:#163046!important}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .master-calendar-panel:has(.rental-agenda-layout)>:is(.calendar-master-toolbar,.calendar-search-bar){display:none!important}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .master-calendar-panel>summary{background:transparent!important;color:#425563!important;padding:6px!important}
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .master-calendar-panel>summary :is(b,small,i){color:#425563!important}
.rental-agenda-layout{display:grid;grid-template-columns:minmax(210px,250px) minmax(0,1fr);gap:14px;align-items:start;margin:10px 0}
.rental-agenda-layout :is(aside,.agenda-main){min-width:0;padding:clamp(12px,1.5vw,24px);border:1px solid #d5dcdf;border-radius:14px;background:#fff}
.rental-agenda-layout h2{margin:0 0 14px;color:#112d44!important;font-size:clamp(19px,2vw,26px)}
.rental-agenda-layout .mini-heading,.rental-agenda-layout .agenda-tools,.rental-agenda-layout .agenda-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rental-agenda-layout .mini-heading{justify-content:space-between;text-transform:capitalize}
.rental-agenda-layout .mini-heading button{width:32px;min-height:34px}
.rental-agenda-layout .mini-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:14px 0;text-align:center}
#dispatches-tab .rental-agenda-layout .mini-days button{border:0!important;padding:0;min-height:31px;font-size:13px}
#dispatches-tab .rental-agenda-layout .mini-days [aria-pressed=true],#dispatches-tab .rental-agenda-layout .calendar-view-switch .active{background:#ffda54!important}
.rental-agenda-layout .agenda-resources{display:grid;gap:14px;border-top:1px solid #d9dfe1;padding-top:16px}
.rental-agenda-layout label,.rental-agenda-layout small{color:#445966!important}
.rental-agenda-layout label:not(.calendar-check){display:grid;gap:5px}
.rental-agenda-layout .agenda-tools{justify-content:space-between}
.rental-agenda-layout .agenda-tools h2{margin:0}
.rental-agenda-layout .agenda-search{margin:15px 0;align-items:end}
.rental-agenda-layout .agenda-search label:first-child{flex:1 1 200px}
#dispatches-tab .rental-agenda-layout :is(.calendar-heading,.calendar-view-switch,.calendar-agenda,.calendar-agenda-jobs,.calendar-master-summary,.calendar-agenda-day header){background:transparent!important;color:#17364a!important}
#dispatches-tab .rental-agenda-layout :is(.calendar-kpi,.calendar-agenda-day,.calendar-agenda-empty,.calendar-day,.calendar-job-info,.calendar-job-time,.agenda-empty-group,.calendar-day-detail){background:#fff!important;color:#123049!important;border-color:#d6dee1!important}
#dispatches-tab .rental-agenda-layout :is(strong,b,.calendar-kpi small,.calendar-heading strong){color:#133047!important}
#dispatches-tab .rental-agenda-layout .calendar-agenda-day{border:1px solid #d6dee1;border-radius:11px;overflow:hidden;margin:8px 0}
#dispatches-tab .rental-agenda-layout .calendar-agenda-day.today{border-color:#d5a900!important;background:#fff9e4!important}
#dispatches-tab .rental-agenda-layout .calendar-agenda-day header button{background:transparent!important;border:0!important}
#dispatches-tab .rental-agenda-layout .agenda-empty-group{padding:12px;border:1px solid;border-radius:9px;margin:8px 0}
.rental-agenda-layout .agenda-empty-group summary{cursor:pointer;font-weight:650}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job{width:100%;text-align:left;padding:12px}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job>span:last-child{font-size:0}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job.rental>span:last-child::after{content:"Ver alquiler ›";font-size:13px;color:#162e40;background:#ffd022;padding:7px 10px;border-radius:7px}
@media(min-width:900px){.rental-agenda-layout .calendar-agenda:not(.calendar-agenda-week) .calendar-agenda-day{display:grid;grid-template-columns:minmax(140px,20%) 1fr;align-items:center}.rental-agenda-layout .calendar-agenda-job .calendar-job-info{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.rental-agenda-layout .calendar-job-info strong{flex-basis:100%}}
@media(max-width:760px){.rental-agenda-layout{grid-template-columns:minmax(0,1fr)}.rental-agenda-layout aside{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}.rental-agenda-layout aside h2{grid-column:1/-1}.rental-agenda-layout .mini-heading,.rental-agenda-layout .mini-days{grid-column:1}.rental-agenda-layout .agenda-resources{grid-column:2;grid-row:2/4;border:0;padding:0}.rental-agenda-layout .agenda-tools h2{width:100%}}

#dispatches-tab .rental-agenda-layout .calendar-agenda-job:not(.rental)>span:last-child{font-size:20px;color:#223c50}

#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) > :is(.dispatch-filters,.dispatch-client-picker,#dispatch-summary,#dispatch-list){display:none!important}
#dispatches-tab .rental-agenda-layout *{box-sizing:border-box}
#dispatches-tab .rental-agenda-layout .mini-heading{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:2px;align-items:center}
#dispatches-tab .rental-agenda-layout .mini-heading strong{min-width:0;text-align:center;font-size:14px;width:auto}
#dispatches-tab .rental-agenda-layout .agenda-tools{display:flex;gap:10px;align-items:center;justify-content:flex-start}
#dispatches-tab .rental-agenda-layout .agenda-tools .calendar-heading{width:auto;flex:1 1 235px;grid-template-columns:36px minmax(0,1fr) 36px;gap:4px}
#dispatches-tab .rental-agenda-layout .calendar-heading button{width:36px}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job{display:grid!important;grid-template-columns:minmax(72px,105px) minmax(0,1fr) max-content!important;align-items:center;gap:12px}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job>span{min-width:0}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job>span:last-child{width:auto;white-space:nowrap;justify-self:end}
#dispatches-tab .rental-agenda-layout .calendar-job-info :is(small,strong){white-space:normal;overflow-wrap:anywhere}
#dispatches-tab .rental-agenda-layout :is(input,select,.calendar-view-switch,.calendar-heading){max-width:100%;min-width:0}
@media(max-width:760px){
#dispatches-tab .rental-agenda-layout aside{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
#dispatches-tab .rental-agenda-layout .agenda-tools .calendar-heading{flex-basis:100%}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job{grid-template-columns:minmax(0,1fr) auto!important}
#dispatches-tab .rental-agenda-layout .calendar-job-time{grid-column:1/-1}
#dispatches-tab .rental-agenda-layout .calendar-view-switch{flex-wrap:wrap}
#dispatches-tab .rental-agenda-layout .calendar-agenda-day header button{flex-wrap:wrap;white-space:normal}
#dispatches-tab .rental-agenda-layout #calendar-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
#dispatches-tab .rental-agenda-layout aside{display:block}
#dispatches-tab .rental-agenda-layout .agenda-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job{grid-template-columns:minmax(0,1fr)!important}
#dispatches-tab .rental-agenda-layout .agenda-search>*{flex:1 1 100%;min-width:0}
}

/* Let the calendar title occupy its natural height at either breakpoint. */
#dispatches-tab:is([data-business-kind=rental],[data-business-kind=production]) .master-calendar-panel>summary {
 display:flex!important;align-items:center;justify-content:space-between;gap:12px;
 height:auto!important;max-height:none!important;min-height:54px;overflow:visible!important;padding:10px 12px!important;line-height:1.4!important
}
#dispatches-tab .master-calendar-panel>summary>span {min-width:0;height:auto!important;overflow:visible!important}
#dispatches-tab .master-calendar-panel>summary :is(b,small){display:block;white-space:normal!important;height:auto!important;line-height:1.4!important;overflow:visible!important}
#dispatches-tab .master-calendar-panel>summary i{flex:none}
#dispatches-tab .rental-agenda-layout h2,#dispatch-page-title {height:auto!important;line-height:1.25!important;padding-block:3px;white-space:normal;overflow:visible}
#dispatches-tab[data-business-kind=production] #new-direct-production {background:#ffd022!important;color:#11283a!important}
#dispatches-tab[data-business-kind=production] :is(.production-overview,.production-overview-grid article){background:#fff!important;color:#153449!important;border-color:#d2dcdf!important}
#dispatches-tab[data-business-kind=production] .production-overview :is(h2,b,small,span){color:#183749!important}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job.production>span:last-child::after{content:"Ver producción ›";font-size:13px;color:#162e40;background:#ffd022;padding:7px 10px;border-radius:7px}
#dispatches-tab .rental-agenda-layout .calendar-agenda-job.production>span:last-child{font-size:0}
#dispatch-sheet .dispatch-sheet-card:has(.production-section-nav){background:#f8f7f2!important;color:#18374b!important;border-color:#d1dadc!important;padding:clamp(15px,3vw,30px)!important;padding-top:55px!important}
#dispatch-detail:has(.production-section-nav) :is(section,details,article,.dispatch-time-cta,.dispatch-scan,.dispatch-item,.dispatch-title-row,.signature-capture,.production-detail-grid,.guided-extra-panel){background:white!important;color:#17354a!important;border-color:#d0dade!important;border-radius:12px}
#dispatch-detail:has(.production-section-nav) .dispatch-title-row{padding:16px}
#dispatch-detail:has(.production-section-nav) :is(h2,h3,h4,p,label,b,strong,small,summary,.eyebrow){color:#1b394d!important}
#dispatch-detail:has(.production-section-nav) :is(button,input,select,textarea){background:#fff!important;border:1px solid #bdcbd0!important;color:#17374a!important;border-radius:8px}
#dispatch-detail:has(.production-section-nav) :is(button.primary,.production-section-nav button.active,.simple-flow-hero button){background:#ffcf19!important;color:#122c3a!important}
#dispatch-detail:has(.production-section-nav) .production-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}
#dispatch-detail:has(.production-section-nav) .production-section-nav button{min-width:0;white-space:normal;min-height:44px}
