
/* ===== The alerts card (askal): "Allow alerts" on top of the staff screens (owner, admins, the warehouse) ===== */
.askal{display:flex;align-items:center;flex-wrap:wrap;gap:12px 14px;margin:0 0 16px;padding:14px 16px;border-radius:16px;
  border:1.5px solid color-mix(in srgb,var(--accent) 45%,var(--line));background:color-mix(in srgb,var(--accent) 7%,var(--surface));color:var(--ink);box-shadow:var(--shadow);min-width:0}
.askal-i{flex:none;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent)}
.askal-i svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform-origin:50% 8%}
.askal:not(.deny) .askal-i svg{animation:askal-ring 2.4s ease-in-out 0.4s 2}
@keyframes askal-ring{0%,40%,100%{transform:rotate(0)}5%{transform:rotate(14deg)}10%{transform:rotate(-12deg)}15%{transform:rotate(9deg)}20%{transform:rotate(-6deg)}25%{transform:rotate(3deg)}}
@media (prefers-reduced-motion:reduce){.askal-i svg{animation:none!important}}
.askal-t{flex:1 1 240px;min-width:0;display:grid;gap:4px}
.askal-t strong{font-family:var(--font-display);font-size:18px;line-height:1.25;font-weight:700}
.askal-t small{color:var(--muted);font-size:14.5px;line-height:1.45}
.askal-b{flex:0 1 auto;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.askal-b .btn{min-height:48px;padding:10px 18px;font-size:16px;border-radius:12px}
.askal-b .btn.primary{font-weight:750;padding:10px 22px}
.askal-b .btn[disabled]{opacity:.75;cursor:default}
.askal.deny{border-color:color-mix(in srgb,var(--warn) 50%,var(--line));background:color-mix(in srgb,var(--warn-bg) 55%,var(--surface))}
.askal.deny .askal-i{background:var(--warn-bg);color:var(--warn)}
.askal-steps{flex:1 1 100%;margin:0;padding:0;list-style:none;counter-reset:as;display:grid;gap:8px;min-width:0}
.askal-steps li{counter-increment:as;display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;align-items:start;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.askal-steps li::before{content:counter(as);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-weight:750;font-size:14px}
.askal-other{flex:1 1 100%;min-width:0;font-size:14.5px}
.askal-other>summary{cursor:pointer;color:var(--accent);font-weight:650;min-height:44px;display:flex;align-items:center}
.askal-other .askal-steps{margin-top:6px}
@media (max-width:560px){
  .askal{padding:14px;gap:12px;align-items:flex-start}
  .askal-i{width:42px;height:42px}
  .askal-t{flex-basis:calc(100% - 60px)}
  .askal-b{flex:1 1 100%}
  .askal-b .btn{flex:1 1 auto}
  .askal-b .btn.primary{flex:2 1 auto}
}


/* ===== Oct 29 (owner: "organize this part nicer"): Extras for the kids, one clean block =====
   the heading · a slim "last order" line · the kids row · three equal cards (Small prizes · Nosh / snacks · Candy); stacked on a phone */
.xremn{display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;margin:0;padding:7px 12px;border-radius:10px;background:var(--good-bg);color:var(--good);font-size:13.5px;font-weight:600;line-height:1.35}
.xremn .linkbtn{font-size:13.5px;font-weight:700;color:var(--good);text-decoration:underline;padding:0;min-height:0}
#qo-shulinfo .xremn{margin:0 0 6px}
#main .of-rb .rbq3 .rbxe-body{display:flex!important;flex-direction:column!important;gap:12px!important;align-items:stretch!important}
#main .of-rb .rbq3 .rbkids{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:6px 12px!important;height:auto!important;min-height:0!important;text-align:start}
#main .of-rb .rbq3 .rbkids>*{flex-grow:0;height:auto!important;min-height:0!important;align-self:center!important;text-align:start!important}
#main .of-rb .rbq3 .rbkids .pmfl{margin:0;font-size:14.5px;font-weight:700}
#main .of-rb .rbq3 .rbkids-row{flex:0 0 auto;flex-wrap:nowrap}
#main .of-rb .rbq3 .rbkids .kidin{width:140px!important;max-width:140px!important;flex:0 0 140px}
#main .of-rb .rbq3 .rbkids .kidu{display:block!important}
/* "✓ Saved" keeps its place while hidden: when it shows (the kids box loses focus because the switch below was tapped), the row
   does not grow and push the switches down under the finger, so the tap is not lost */
#main .of-rb .rbq3 .rbkids .kidok[hidden]{display:inline-flex!important;visibility:hidden}
#main .of-rb .rbq3 .rbkids .pmfh{min-height:0!important;flex:1 1 220px;margin:0;font-size:12.5px;color:var(--muted)}
#main .of-rb .rbq3 .xtogs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;align-items:stretch}
#main .of-rb .rbq3 .xtog{min-width:0;margin:0!important}
#main .of-rb .rbq3 .smtog{height:100%;box-sizing:border-box;align-items:center!important;padding:10px 12px!important;gap:10px!important}
#main .of-rb .rbq3 .smtog-ic{display:inline-flex!important;flex:0 0 auto;font-size:20px}
#main .of-rb .rbq3 .smtog-t{flex:1 1 auto;min-width:0}
#main .of-rb .rbq3 .smtog-t b{white-space:normal;overflow-wrap:break-word}
#main .of-rb .rbq3 .smtog-t small{display:block}
@media (min-width:700px){#main .of-rb .rbq3 .smtog-ic{display:none!important}}
#main .of-rb .rbq3 .smtog-ex{display:none}
#main .of-rb .rbq3 .smtog input.sw{flex:0 0 auto;margin-left:auto}
#main .of-rb .rbq3 .xsplitp:empty{display:none}
.rbxo{margin:0;font-size:13.5px}.rbxo .linkbtn{font-size:13.5px;font-weight:600;min-height:32px}
@media (max-width:699px){
  #main .of-rb .rbq3 .xtogs{grid-template-columns:1fr}
  #main .of-rb .rbq3 .rbkids .pmfh{flex-basis:100%}
  #main .of-rb .rbq3 .rbkids .pmfl{flex-basis:100%}
}
/* the boxes-and-dates column: even spacing down to "Or a later week" */
#main .of-rb .rbq1 .rbwhen{display:flex;flex-direction:column;gap:10px}
#main .of-rb .rbq1 .rbwhen>*{margin:0}
#main .of-rb .rbq1 .rbother{display:flex;flex-direction:column;gap:6px;margin-top:4px}
