/* pandabu V2.0.4 RC16.200 – Push Notifications V1 + 3-column task schedule */
.push-status-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--border,#dfe4ea);border-radius:18px;background:var(--surface,#fff);margin-bottom:14px}
.push-status-card>div{display:grid;gap:4px}.push-status-card small{color:var(--muted,#6c7480)}.push-status-card.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-soft)}.push-status-card.active>span{color:var(--accent);font-weight:800}
.push-overdue-row{margin:12px 0}.push-overdue-row>span:first-child{display:grid;gap:3px}.push-overdue-row small{display:block;color:var(--muted,#6c7480);font-weight:500}
.push-device-actions{flex-wrap:wrap}.push-device-actions button{min-height:44px}
#task-form [data-push-task-fields][hidden]{display:none!important}
@media(max-width:720px){.push-device-actions{display:grid;grid-template-columns:1fr}.push-device-actions button{width:100%}.push-status-card{padding:14px}}

/* RC16.202: kompakte Terminzeile. Datum/Uhrzeit kleiner, Erinnerung breiter; alle Controls exakt gleich hoch. */
#task-form .task-schedule-wrap{margin:4px 0 2px}
#task-form .task-schedule-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.76fr) minmax(0,1.32fr);
  gap:8px;
  align-items:end;
}
#task-form .task-schedule-grid .field{min-width:0;margin:12px 0 0;display:flex;flex-direction:column}
#task-form .task-schedule-grid .field label{margin-bottom:7px}
#task-form .task-schedule-grid .field input,
#task-form .task-schedule-grid .field select{
  min-width:0;
  width:100%;
  height:52px;
  min-height:52px;
  max-height:52px;
  box-sizing:border-box;
  margin:0;
  line-height:1.15;
}
#task-form .task-schedule-grid .field input[type=date],
#task-form .task-schedule-grid .field input[type=time]{text-align:center}
#task-form .task-reminder-hint{margin:8px 4px 0;min-height:17px}
#task-form [data-push-task-fields][hidden]{display:none!important}

@media(max-width:720px){
  #task-form .task-schedule-grid{
    grid-template-columns:minmax(0,1.02fr) minmax(0,.74fr) minmax(0,1.30fr);
    gap:6px;
  }
  #task-form .task-schedule-grid .field label{margin:0 0 6px 2px;font-size:11px;white-space:nowrap}
  #task-form .task-schedule-grid .field input,
  #task-form .task-schedule-grid .field select{
    height:50px;
    min-height:50px;
    max-height:50px;
    padding:8px 7px;
    font-size:13.5px;
  }
  #task-form .task-schedule-grid .field input[type=date]{padding-left:5px;padding-right:5px}
  #task-form .task-schedule-grid .field input[type=time]{padding-left:4px;padding-right:4px}
  #task-form .task-reminder-hint{font-size:11px;line-height:1.35}
}

@media(max-width:390px){
  #task-form .task-schedule-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,.72fr) minmax(0,1.30fr);
    gap:5px;
  }
  #task-form .task-schedule-grid .field input,
  #task-form .task-schedule-grid .field select{font-size:13px;padding-left:5px;padding-right:5px}
}


/* RC16.203 – task schedule compact spacing + empty-time clock placeholder */
#task-form .task-schedule-grid{
  grid-template-columns:minmax(0,.90fr) minmax(0,.65fr) minmax(0,1.45fr);
  column-gap:10px;
  row-gap:0;
  align-items:end;
}
#task-form .task-schedule-grid .field{
  min-width:0;
}
#task-form .task-schedule-grid .field input[type="date"],
#task-form .task-schedule-grid .field input[type="time"],
#task-form .task-schedule-grid .field select{
  width:100% !important;
  height:52px !important;
  min-height:52px !important;
  max-height:52px !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
#task-form .task-time-control{
  position:relative;
  width:100%;
  height:52px;
}
#task-form .task-time-control input[type="time"]{
  position:relative;
  z-index:1;
  background:transparent;
}
#task-form .task-time-empty-icon{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:2;
  font-size:20px;
  line-height:1;
  opacity:.78;
}
#task-form .task-time-control.has-value .task-time-empty-icon,
#task-form .task-time-control:focus-within .task-time-empty-icon{
  opacity:0;
}

@media(max-width:720px){
  #task-form .task-schedule-grid{
    grid-template-columns:minmax(0,.90fr) minmax(0,.62fr) minmax(0,1.48fr);
    column-gap:9px;
  }
  #task-form .task-schedule-grid .field input[type="date"],
  #task-form .task-schedule-grid .field input[type="time"],
  #task-form .task-schedule-grid .field select,
  #task-form .task-time-control{
    height:50px !important;
    min-height:50px !important;
    max-height:50px !important;
  }
  #task-form .task-schedule-grid .field label{
    overflow:hidden;
    text-overflow:ellipsis;
  }
}

@media(max-width:390px){
  #task-form .task-schedule-grid{
    grid-template-columns:minmax(0,.88fr) minmax(0,.60fr) minmax(0,1.52fr);
    column-gap:8px;
  }
  #task-form .task-schedule-grid .field input[type="date"]{font-size:12.5px !important}
  #task-form .task-schedule-grid .field input[type="time"]{font-size:12.5px !important}
  #task-form .task-schedule-grid .field select{font-size:13px !important}
}
