/* One compact control system across public, customer, team and driver pages.
   Important declarations in this named layer supersede legacy page overrides. */
@layer eis-controls {
 :root {--eis-control-height:32px;--eis-control-font:13px;--eis-control-radius:5px;--eis-control-gap:4px}
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=button]),select:not([multiple]) {
  box-sizing:border-box!important;height:var(--eis-control-height)!important;min-height:var(--eis-control-height)!important;max-width:100%!important;min-width:0!important;
  font-size:var(--eis-control-font)!important;font-weight:400!important;line-height:1.2!important;padding:4px 8px!important;border-radius:var(--eis-control-radius)!important;
 }
 textarea,select[multiple],input[type=file] {box-sizing:border-box!important;max-width:100%!important;min-width:0!important;font-size:var(--eis-control-font)!important;font-weight:400!important;line-height:1.4!important;padding:6px 8px!important;border-radius:var(--eis-control-radius)!important}
 textarea {height:auto!important;min-height:64px!important;resize:vertical}
 label {font-size:13px!important;line-height:1.3!important}
 label>input:not([type=checkbox]):not([type=radio]):not([type=hidden]),label>select,label>textarea {margin-top:4px!important;margin-bottom:0!important}
 input[type=checkbox],input[type=radio] {box-sizing:border-box!important;width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;flex:0 0 16px!important;vertical-align:middle}
 button:not(.eis-cal-grid button,.eis-cal-slots button,.cal-grid button,.times button,.eis-tour-option),input[type=submit],input[type=button],a:is(.button,.btn,.eis-button),.day-controls a,.work-periods a,.work-share a,.financial-tabs a,.filters a,.ops-tabs a,.ops-range a,.ops-primary a,.workspace-shortcuts a {
  box-sizing:border-box!important;min-height:32px!important;height:auto!important;max-width:100%!important;font-size:13px!important;line-height:1.3!important;padding:5px 9px!important;border-radius:5px!important;white-space:normal!important;overflow-wrap:anywhere;
 }
 .eis-tour-trigger {height:32px!important;font-size:13px!important;font-weight:400!important;padding:4px 8px!important;line-height:1.2!important}
 .day-operation a,.filters a,.financial-tabs a {min-height:26px!important;font-size:11px!important;padding:4px 6px!important}
 [data-energy-total] {box-sizing:border-box!important;height:32px!important;min-height:32px!important;font-size:13px!important;padding:6px 8px!important;line-height:18px!important}
 .age-grid label {gap:3px!important}
 .age-grid label>input {margin:0!important}
 .age-grid span {min-height:0!important;font-size:12px!important}
 .eis-hero>*,.eis-columns>*,.eis-product>* {min-width:0}
 .eis-product dl>* {min-width:0;overflow-wrap:anywhere}
 .grid>*,.field-row>*,.fleet-grid>*,.ticket-row>* {min-width:0}
 .coupon-row input {flex:1 1 0;width:0!important}
 .coupon-row button {flex:0 0 auto;white-space:nowrap!important;overflow-wrap:normal}
 .workspace-category[open]>summary:after {content:'\2212'}
 .tour-net,.benefits-total {display:flex;justify-content:space-between;align-items:baseline;gap:12px}
 .tour-net>strong,.benefits-total>strong {white-space:nowrap}
 button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a.button:focus-visible {outline:2px solid #946300;outline-offset:2px}

 /* Day cells must fit their column: inherited button padding/min-height can
    otherwise force square cells to overlap the neighbouring days. */
 #eis-calendar :is(.eis-cal-week,.eis-cal-grid),.eis-calendar-ui .cal-grid,.ops-month,.work-days {
  grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;
 }
 #eis-calendar .eis-cal-grid>button,.eis-calendar-ui .cal-grid>button {
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:0!important;aspect-ratio:1!important;margin:0!important;padding:2px!important;
  font-size:12px!important;line-height:1.2!important;
 }
 .ops-month>*,.work-days>* {min-width:0!important;box-sizing:border-box!important}
 @media(max-width:360px){
  #eis-calendar :is(.eis-cal-week,.eis-cal-grid),.eis-calendar-ui .cal-grid,.ops-month,.work-days {gap:4px!important}
 }
}
