/* CentralRP Phone v1.8.18 */

/* Browser widget: CR at far left, real text field in the middle, search at far right. */
#phone .widget-browser.widget-v160{
  display:block!important;
  grid-template-columns:none!important;
  padding:5px 10px!important;
}
#phone .widget-browser .widget-browser-form{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) 30px!important;
  align-items:center!important;
  gap:7px!important;
}
#phone .widget-browser .widget-browser-logo{grid-column:1!important;justify-self:start!important}
#phone .widget-browser .widget-browser-form input{
  grid-column:2!important;
  min-width:0!important;
  width:100%!important;
  height:100%!important;
  padding:0 4px!important;
  text-align:left!important;
}
#phone .widget-browser .widget-browser-action{
  grid-column:3!important;
  justify-self:end!important;
  width:28px!important;
  height:28px!important;
  padding:3px!important;
}

/* Samsung-like Calendar agenda widget. */
#phone .widget-calendar.widget-v1818{
  padding:12px 14px 10px!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  align-items:stretch!important;
}
#phone .widget-calendar-head1818{min-height:29px}
#phone .widget-calendar-head1818 strong{
  font-size:.98rem!important;
  font-weight:800!important;
  color:#161c23!important;
}
#phone .widget-calendar-head1818 button{
  width:27px!important;height:27px!important;border-radius:50%!important;
  background:#d7dbe0!important;color:#fff!important;font-size:17px!important;
}
#phone .widget-calendar-body1818{
  display:block!important;
  min-height:0!important;
  padding:4px 0 0!important;
  overflow:hidden!important;
  text-align:left!important;
  color:#1a2028!important;
}
#phone .widget-calendar-event1818{
  display:grid!important;
  grid-template-columns:3px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:stretch!important;
  min-height:30px!important;
  padding:6px 0 5px!important;
  border-bottom:1px solid rgba(39,49,61,.16)!important;
}
#phone .widget-calendar-event1818>i{
  width:3px!important;
  min-height:20px!important;
  align-self:center!important;
  border-radius:3px!important;
  background:#2994e8!important;
}
#phone .widget-calendar-event1818>div{min-width:0!important}
#phone .widget-calendar-event-line1818{
  display:flex!important;
  align-items:baseline!important;
  gap:6px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
#phone .widget-calendar-event-line1818 time{
  flex:0 0 auto!important;
  color:#242b34!important;
  font-size:.76rem!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
}
#phone .widget-calendar-event-line1818 strong{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  color:#20262e!important;
  font-size:.78rem!important;
  font-weight:500!important;
}
#phone .widget-calendar-event1818 small{
  display:block!important;
  margin-top:2px!important;
  color:#7a828c!important;
  font-size:.68rem!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#phone .widget-calendar-empty1818{
  padding:9px 0 0 11px!important;
  color:#8b9099!important;
  font-size:.78rem!important;
  text-align:left!important;
}

/* Call screen fills the usable display to the bottom; the gesture bar stays visible above it. */
#phone .call-overlay1815{inset:41px 0 0!important}
#phone:has(.call-overlay1815) .navbar-gesture{z-index:790!important}

/* Answer / decline / hang-up are true circles in full and half-height incoming-call modes. */
#phone .call-actions1815 button{
  width:70px!important;
  height:70px!important;
  min-height:70px!important;
  border-radius:50%!important;
  padding:9px 5px!important;
}
#phone.notification-peek189 .call-actions1815 button{
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
  border-radius:50%!important;
  padding:6px 4px!important;
}
#phone .incoming-actions1813 button{
  width:52px!important;
  height:52px!important;
  min-height:52px!important;
  border-radius:50%!important;
}

/* Preserve the compact half-phone geometry for an incoming ringing call. */
#phone.notification-peek189 .call-overlay1815{
  left:12px!important;
  right:12px!important;
  top:45px!important;
  bottom:auto!important;
  height:calc(48% - 52px)!important;
}
#phone.notification-peek189 .call-overlay1815:has(.call-audio1815){
  height:calc(62% - 52px)!important;
}


/* v1.8.19: phone call action buttons are icon-only. */
#phone .call-actions1815 button,
#phone .incoming-actions1813 button{
  display:grid!important;
  place-items:center!important;
  gap:0!important;
  padding:0!important;
  line-height:1!important;
}
#phone .call-actions1815 button>i,
#phone .incoming-actions1813 button>i{display:none!important}
#phone .call-actions1815 button>svg{width:25px!important;height:25px!important;margin:0!important}
#phone.notification-peek189 .call-actions1815 button>svg,
#phone .incoming-actions1813 button>svg{width:21px!important;height:21px!important;margin:0!important}
#phone .call-main-actions187 button span{display:none!important}
