/* Send Listy Core 0.510
 * Parent baseline: Core 0.504.
 * Scope: Settings -> Home & Widgets only.
 * No Home runtime, bottom navigation, Search, list hydration, editor or modal geometry overrides.
 */
.sl-home-widgets-settings-section .sl-home-widgets-settings-intro{
  margin:-2px 2px 9px;
  color:#6f7972;
  font-size:12px;
  line-height:1.45;
}
.sl-home-widgets-settings-card{overflow:hidden}
.sl-home-widget-setting-row{
  grid-template-columns:42px minmax(0,1fr) 50px 74px;
  gap:10px;
  min-height:68px;
}
.sl-home-widget-setting-icon{font-size:18px}
.sl-home-widget-switch{
  position:relative;
  display:block;
  width:50px;
  height:28px;
  margin:0;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.sl-home-widget-switch>input{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:pointer;
}
.sl-home-widget-switch>.sl-settings-toggle{
  display:block;
  width:50px;
  height:28px;
  pointer-events:none;
}
.sl-home-widget-switch>input:checked+.sl-settings-toggle{
  background:linear-gradient(180deg,#28b74d,#118c34);
}
.sl-home-widget-switch>input:checked+.sl-settings-toggle:after{
  transform:translateX(22px);
}
.send-list-app[dir=rtl] .sl-home-widget-switch>input:checked+.sl-settings-toggle:after{
  transform:translateX(-22px);
}
.sl-home-widget-order-controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
}
.sl-home-widget-order-controls button{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  padding:0;
  border:1px solid #d9e4da;
  border-radius:9px;
  background:#f7faf7;
  color:#21883a;
  font:800 16px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.sl-home-widget-order-controls button:hover:not(:disabled),
.sl-home-widget-order-controls button:focus-visible:not(:disabled){
  background:#edf8ee;
  border-color:#abd8b0;
  outline:none;
}
.sl-home-widget-order-controls button:disabled{
  opacity:.3;
  cursor:default;
}
.send-list-app.sl-dark-mode .sl-home-widgets-settings-section .sl-home-widgets-settings-intro{color:#a9b4c2}
.send-list-app.sl-dark-mode .sl-home-widget-order-controls button{
  background:#202c38;
  border-color:#3d4b5b;
  color:#84dc91;
}
@media(max-width:767px){
  .sl-home-widget-setting-row{
    grid-template-columns:36px minmax(0,1fr) 46px 66px;
    gap:7px;
    min-height:64px;
    padding:10px 10px;
  }
  .sl-home-widget-switch,
  .sl-home-widget-switch>.sl-settings-toggle{width:46px;height:26px}
  .sl-home-widget-switch>.sl-settings-toggle:after{width:20px;height:20px}
  .sl-home-widget-switch>input:checked+.sl-settings-toggle:after{transform:translateX(20px)}
  .send-list-app[dir=rtl] .sl-home-widget-switch>input:checked+.sl-settings-toggle:after{transform:translateX(-20px)}
  .sl-home-widget-order-controls{gap:4px}
  .sl-home-widget-order-controls button{width:30px;height:30px;font-size:15px}
}
@media(max-width:390px){
  .sl-home-widget-setting-row{
    grid-template-columns:36px minmax(0,1fr) 46px;
    row-gap:7px;
  }
  .sl-home-widget-order-controls{
    grid-column:2 / 4;
    justify-self:end;
  }
}
