
/* ===== planmove (owner, Nov 5): Move all weeks 1 week later, ⏭ Skip this week on each week, Processing only due now (the quiet
   Later line), and the warehouse worker's Packing list: Due now / Next week, one step per box ===== */
/* Processing: the quiet Later line */
.olater{margin-top:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.olater-h{display:flex;align-items:center;gap:8px 12px;padding:10px 12px 10px 16px;background:var(--surface-2);font-size:15px;color:var(--muted)}
.olater-h>span{min-width:0;flex:1 1 auto}
.olater-h b{color:var(--ink)}
.olater-h .btn{margin-left:auto;min-height:40px;min-width:88px}
.olater .olater-l{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.olater-p{margin:0;padding:10px 16px;font-size:14px;border-top:1px solid var(--line)}
.olater>.olater-p:first-child{border-top:0;background:var(--surface-2)}
.olater-p .linkbtn{font-size:inherit;font-weight:700}
/* the order page: the move button, ⏭ Skip this week on each week */
.ogplan .ogmvb{white-space:nowrap}
.obx-a .obx-skip{white-space:nowrap;color:var(--muted)}
.obx-a .obx-skip:hover{color:var(--ink)}
.smp-plan{margin:0}
.smp-ib h4{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px}
.smp-ib h4 .smp-skip{min-height:38px;font-size:13.5px;font-weight:650;color:var(--muted)}
/* the move window: old and new dates, the money, Don't tell the customer */
.ogmvdlg .ogmvl{max-height:min(44vh,420px)}
.ogmvdlg .ogmvl li{align-items:baseline}
.ogmv-d{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:4px 8px;color:var(--ink)}
.ogmv-d s{color:var(--muted);text-decoration-thickness:1px}
.ogmv-d>span[aria-hidden]{color:var(--muted)}
.ogmvdlg .ogmv-m{border-radius:10px;padding:10px 12px;background:var(--surface-2);border:1px solid var(--line)}
.ogmvdlg .ogmv-m p{margin:0;font-size:14.5px}.ogmvdlg .ogmv-m p+p{margin-top:4px}
.ogmv-q,#modal .ogmv-q{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;width:auto;margin:14px 0 0;font-size:15.5px;font-weight:700;text-align:left;cursor:pointer}
#modal .ogmv-q input,.ogmv-q input{width:20px;height:20px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--accent)}
.ogmvdlg .ogmv-qh{margin:4px 0 0 30px;font-size:14px;text-align:left}
/* the worker's Packing list: two tabs, the Next week hint, the folded Ready to ship line */
.pkwtabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line)}
.pkwtab{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:6px 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:700 17px/1.2 var(--font-body);cursor:pointer}
.pkwtab b{min-width:30px;padding:3px 9px;border-radius:999px;background:var(--surface);color:var(--ink);font-size:15px;text-align:center}
.pkwtab.on{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(15,23,42,.16)}
.pkwtab.on b{background:var(--accent);color:var(--on-accent)}
.pkwtab:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.pknx{margin:0;padding:12px 20px;font-size:15.5px;color:var(--muted);border-bottom:1px solid var(--line)}
.pknx+.pkr{border-top:0}
.pkdone{border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}
.pkdone>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 20px;cursor:pointer;list-style:none;font-size:17px;font-weight:750;color:var(--good)}
.pkdone>summary::-webkit-details-marker{display:none}
.pkdone>summary b{min-width:30px;padding:3px 9px;border-radius:999px;background:var(--good-bg,var(--surface-2));color:var(--good);font-size:15px;text-align:center}
.pkdone>summary::after{content:"Show";margin-left:auto;font-size:15px;font-weight:650;color:var(--muted)}
.pkdone[open]>summary::after{content:"Hide"}
.pkdone>summary:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.pkdone[open]>summary{border-bottom:1px solid var(--line)}
.pkdone .pknx{border-bottom:0}
.pbx-rts{margin:0;font-size:16px;font-weight:750;color:var(--good)}
@media (max-width:760px){.pknx{padding:10px 16px}.pkdone>summary{padding:10px 16px}.pkwtab{font-size:16px;gap:8px}}


/* ===== picklist3 (owner, Nov 3: "a more professional Packing list page"; Nov 9). Only the looks and the order on the screen: every
   button, tick, print and step works as before. Ideas from the big warehouse programs:
   - the list: one compact card per box (ShipHero's card list): the shul and its step on one line, "Order # · Box 1 of 2 · 3 toys"
     on the next, the day under it; only the NEXT box has the solid blue button (NetSuite's "Next Order")
   - the box: each toy's place as a location tag (ShipStation / Shopify print the bin beside every line, sorted by location): the
     stop number of the walk, the room and rack on a sign in the room's color (Room 1 blue, Room 2 green, as on the stop-by-stop
     screen), then the shelf and side; "Take 2" in a dark box when more than one (PickKit: big and boxed when more than one);
     a box whose toys are all in says so on its Mark packed
   - the printed page: the same tag in a box like a shelf label, and the quantity boxed when more than one ===== */
/* the list: one card per box */
.pklist .pkr-who{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:3px}
.pklist .pkr-who>b{flex:0 1 auto;min-width:0}
.pklist .pkr-who>.rushb{align-self:center;margin:0}
.pklist .pkr-who::after{content:"";order:1;flex:0 0 100%;height:0}
.pklist .pkr-who>span:not(.rushb){order:2}
.pklist .pkr-who>span.pkr-note{order:3}
.pkr-note{order:3;flex:0 0 100%;border:1.5px dashed var(--bad);background:var(--bad-bg);color:var(--ink)!important;border-radius:8px;padding:5px 10px;margin-top:4px;font-size:14.5px!important;line-height:1.3;white-space:pre-line}.pkr-note b{color:var(--bad)}
.pklist .pkr-who>.pkr-n::before{content:"·";margin-right:8px;color:var(--muted);font-weight:500}
.pklist .pkr-act .btn.pkr-go:not(.primary){background:var(--surface);color:var(--accent);border:1.5px solid color-mix(in srgb,var(--accent) 50%,var(--line))}
.pklist .pkr-act .btn.pkr-go:not(.primary):hover{background:var(--info-bg);border-color:var(--accent)}
.pklist .pkr-act .btn.pkr-go.primary{box-shadow:0 2px 0 color-mix(in srgb,var(--accent) 55%,#000)}
@media (max-width:760px){
  .pklist .pkr{gap:8px 12px;padding:14px 16px 16px}
  .pklist .pkr-day{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:8px}
  .pklist .pkr-day b{font-size:16px}
  .pklist .pkr-day small{font-size:14.5px}
  .pklist .pkr-day small::before{content:"·";margin-right:8px;color:var(--muted);font-weight:500}
}
/* the day: a plain back button on the left, like every other page */
.pkday>.pkback{justify-self:start;align-self:flex-start;width:auto;padding:8px 16px 8px 12px;font-weight:700}
/* the box: location tags, the stop numbers, Take N */
.pk4 .pbx .pk3loc{display:block;margin-top:5px;font-size:14px;line-height:1.55;color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.pk4 .pbx .pk3loc[data-n]::before{content:attr(data-n);display:inline-grid;place-items:center;box-sizing:border-box;min-width:22px;height:22px;padding:0 4px;margin-right:6px;border-radius:999px;background:#FFD54A;color:#1B2232;border:1.5px solid #1B2232;font-size:12px;font-weight:800;line-height:1;vertical-align:1px}
.pk4 .pbx .pk3rr{display:inline-block;padding:1px 9px;border-radius:7px;background:#23479A;color:#fff;font-weight:800;letter-spacing:.01em;white-space:nowrap}
.pk4 .pbx .pk3loc.r2 .pk3rr{background:#1F6B4A}
/* (the shelf goes on its own line by a line break made in the styles, so the words stay one line of text: "Room 1 · Rack 8 · Top shelf") */
.pk4 .pbx .pk3sep{font-size:0}.pk4 .pbx .pk3sep::after{content:"\A";white-space:pre}
.pk4 .pbx .pk3sh{font-weight:700;color:var(--ink)}
.pk4 .pbx .pk3loc.free{display:inline-block;padding:1px 9px;border-radius:7px;background:var(--surface-2);border:1px solid var(--line);font-weight:700}
.pk4 .pbx .pk3loc.none{font-weight:600}
.pk4 .pbx .pkq.many{background:var(--ink);color:var(--surface)}
.pk4 .pbx .pkq.many small{color:inherit;opacity:.85}
.pk4 .pbx .pkrow.done .pkq.many{background:var(--good-bg);color:var(--ink)}
/* every toy in: the progress turns green and Mark packed is the next step */
.pk4 .pbx.allin:not(.st-packed):not(.st-shipped) .pbx-done{box-shadow:0 0 0 4px color-mix(in srgb,var(--good) 32%,transparent)}
@media (max-width:400px){.pk4 .pbx .pk3loc{font-size:13.5px}.pk4 .pbx .pk3rr{padding:1px 7px}}
@media print{.pk4 .pbx .pk3rr{background:none!important;color:#000!important;border:1.5px solid #000}}


/* ordersonly: the simple Orders list and order window (only with the ui switch "orders") */
/* Orders, simple */
.smp-otop{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.smp-otop .smp-tabs{flex:1 1 auto;min-width:0}
.smp-oadd{display:inline-flex;gap:6px;align-items:center}
.smp-ord .smp-osq{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0 0 10px}.smp-ord .smp-osq .osqi{flex:none}
.smp-osq input{flex:1;min-width:0}
.smp-ohead,.smp-ord .smp-orow{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr) 44px;gap:12px;align-items:center}
.smp-ohead{padding:8px 14px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line)}
.smp-ord .smp-orow{padding:12px 14px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none;transform:none!important;margin:0}
.smp-ord .smp-orow:hover{background:color-mix(in srgb,var(--accent) 4%,transparent)}
.smp-orow.late{box-shadow:inset 3px 0 0 var(--bad)}
.sor-who{display:flex;flex-direction:column;min-width:0}.sor-who b{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sor-who .oc-no{color:var(--muted);font-size:13px}
.sor-d{display:flex;flex-direction:column}.sor-d small{color:var(--bad);font-weight:700;font-size:12px}
.sor-t{font-weight:700;font-variant-numeric:tabular-nums}
@media (max-width:760px){.smp-ohead{display:none}
  .smp-ord .smp-orow{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-areas:"w t m" "d p m" "s s m";row-gap:4px}
  .smp-ord .smp-orow>.sor-who{grid-area:w}.smp-ord .smp-orow>.sor-t{grid-area:t;text-align:right}.smp-ord .smp-orow>.oc-more{grid-area:m;grid-row:1/3;align-self:center}.smp-ord .smp-orow>.sor-d{grid-area:d;flex-direction:row;gap:6px;align-items:baseline;font-size:14px;white-space:nowrap}.smp-ord .smp-orow>.sor-p{grid-area:p;text-align:right}.smp-ord .smp-orow>.sor-s{grid-area:s}
  .smp-oadd{width:100%}.smp-oadd .btn.primary{flex:1}}
.smp-mi{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:1px;text-align:left;white-space:normal!important}
.smp-mi small{color:var(--muted);font-weight:500;font-size:12px;line-height:1.3}
.smp-mi.dz span{color:var(--bad)}
.omenu .smp-mi{min-width:250px}
/* the order window, simple */
.smp-og{display:flex;flex-direction:column;gap:16px;min-width:0}
.smp-oh{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.smp-oh h2{margin:0;font-size:24px}.smp-oh h2 span{color:var(--muted);font-weight:600;font-size:18px;margin-left:6px}
.smp-sl{margin:6px 0 0;font-size:16px;font-weight:600}
.smp-ohr{display:inline-flex;align-items:center;gap:8px;flex:none}
.smp-nav{display:inline-flex;align-items:center;gap:6px}.smp-nav small{color:var(--muted);font-size:13px;white-space:nowrap}
.smp-arw{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);font-size:18px;font-weight:700;cursor:pointer}.smp-arw:disabled{opacity:.35;cursor:default}
@media (max-width:640px){.smp-oh{flex-wrap:wrap}.smp-ohr{width:100%;justify-content:space-between}}
.smp-act{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.smp-nb{min-height:50px;padding:10px 22px;font-size:17px;font-weight:800;border-radius:12px}
.smp-act .omore summary{min-height:44px;min-width:44px}
#modal .smpt{margin:-6px 0 0}
#modal .smp-quiet,.smp-quiet{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;font-size:14px;font-weight:600;color:var(--muted);cursor:pointer;margin:-6px 0 0;width:auto;text-align:left}
#modal .smp-quiet input,.smp-quiet input{width:18px;height:18px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--accent)}
.smp-items{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface)}
.smp-items h3,.smp-ob h3{margin:0 0 8px;font-size:16px}
.smp-ib+.smp-ib{margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.smp-ib h4{margin:0 0 6px;font-size:14px;color:var(--muted)}
.smp-ib ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.smp-ib li{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:baseline;font-size:15px}
.smp-iq{font-weight:800;text-align:right;font-variant-numeric:tabular-nums}.smp-iq::after{content:" ×";color:var(--muted);font-weight:500}
.smp-ip{font-variant-numeric:tabular-nums;color:var(--muted)}
.smp-ocols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.smp-ob{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface);min-width:0}
.smp-ob p{margin:0;line-height:1.5}
.smp-dl{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:0}.smp-dl dt{color:var(--muted)}.smp-dl dd{margin:0;font-weight:700;text-align:right}.smp-dl dd.owe{color:var(--bad)}
.smp-mpay{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.smp-pays{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:4px;font-size:14px}
.smp-pays li{display:flex;justify-content:space-between;gap:10px}
.smp-hist summary{cursor:pointer;font-weight:700;color:var(--muted)}
@media (max-width:640px){.smp-ocols{grid-template-columns:1fr}.smp-nb{flex:1 1 100%}}
