
/* ===== ckcard: the card typed right in the checkout (Stripe's own secure fields in the form), and the Order placed page ===== */
.ck .ckcardf{display:flex;flex-direction:column;gap:12px;padding:14px 16px 15px;border:1px solid var(--line);border-radius:14px;background:var(--bg);min-width:0}
.ck .ckcardf.bad{border-color:color-mix(in srgb,var(--bad) 55%,var(--line))}
.ck .ckcfh{display:flex;align-items:center;gap:8px;min-width:0}
.ck .ckcfh b{font:700 15px/1.25 var(--font-body);color:var(--ink)}
.ck .ckcfi{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:var(--good-bg);color:var(--good);flex:none}
.ck .ckcfi svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ck .ckcfs{margin-left:auto;font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--muted);white-space:nowrap}
.ck .ckstel{position:relative;min-height:96px}
.ck .ckstel .stload{padding:14px 2px}
.ck .ckcardf .sttest{margin:0;align-self:flex-start}
.ck .ckcardf .sterr{margin:0}
.ck .ckzip{gap:6px;font:500 14px/1.3 var(--font-body);color:var(--ink)}
.ck .ckzip input{max-width:200px;height:44px;font-size:16px;background:var(--surface)}
.ck .ckzip small{font-size:12.5px}
.ck .ckcardf .stkeep,.ck .ckcardf .stsaved{font-size:12.5px;line-height:1.35;margin:0}
.ck .ckcardf .stkeep b,.ck .ckcardf .stsaved b,.stf .stsaved b{color:var(--ink);font-weight:700}
.ck .ckcardf .stsafe{font-size:12.5px;line-height:1.45;align-items:center}
@media (max-width:700px){.ck .ckcardf{padding:13px 13px 14px}}

/* the Order placed page */
#main .opl{max-width:920px;margin:6px auto 0;display:flex;flex-direction:column;gap:16px;min-width:0}
#main .opl-top{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:28px 20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
#main .opl-ok{width:64px;height:64px;border-radius:50%;background:var(--good);display:grid;place-items:center;margin:0 0 10px;box-shadow:0 0 0 8px var(--good-bg)}
#main .opl-ok svg{width:34px;height:34px;fill:none;stroke:var(--surface);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
@media (prefers-reduced-motion:no-preference){#main .opl-ok{animation:oplpop .45s var(--ease-out,ease) both}@keyframes oplpop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}}
#main .opl-top h1{font-size:30px;line-height:1.15}
#main .opl-lead{margin:2px 0 0;color:var(--muted);font-size:16px;overflow-wrap:anywhere}
#main .opl-sub{margin:2px 0 0;color:var(--muted);font-size:14px;max-width:560px;overflow-wrap:anywhere}
#main .opl-no{display:inline-flex;align-items:baseline;flex-wrap:wrap;justify-content:center;gap:4px 8px;margin:12px 0 0;padding:8px 16px;border-radius:999px;background:var(--surface-2);font-size:13px;font-weight:700;color:var(--muted);letter-spacing:.02em}
#main .opl-no b{font:800 18px/1.2 var(--font-display);color:var(--ink);letter-spacing:0;overflow-wrap:anywhere}
#main .opl-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}
#main .opl-side{display:flex;flex-direction:column;gap:16px;min-width:0}
#main .opl-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:16px 18px;min-width:0;box-shadow:0 1px 2px rgba(15,23,42,.04)}
#main .opl-card h2{font:800 12.5px/1.2 var(--font-body);text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin:0 0 8px}
#main .opl-card .cklist{margin-top:0}
#main .opl-tot{margin-top:6px;border-top:1px dashed var(--line);padding-top:10px;display:flex;flex-direction:column;gap:4px}
#main .opl-tot>div{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:14px}
#main .opl-tot .ckbig{color:var(--ink);font:800 18px/1.25 var(--font-display);align-items:baseline}
#main .opl-tot .ckbig strong{font-size:21px}
#main .opl-amt{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
#main .opl-amt span{font-weight:700;font-size:15px}
#main .opl-amt b{font:800 24px/1.15 var(--font-display);white-space:nowrap}
#main .opl-how{display:flex;align-items:center;gap:10px;margin:10px 0 0;font-weight:600;font-size:15px;overflow-wrap:anywhere}
#main .opl-how .cardico{width:40px;height:26px}
#main .opl-acct{font-weight:600;color:var(--ink)}
#main .opl-note{margin:10px 0 0;padding:9px 11px;border-radius:10px;background:var(--bg);color:var(--muted);font-size:13.5px;line-height:1.45}
#main .opl-to{display:flex;flex-direction:column;gap:2px;margin:0 0 10px;font-size:14.5px;line-height:1.4;overflow-wrap:anywhere}
#main .opl-to b{font-size:15.5px}
#main .opl-to span{color:var(--muted)}
#main .opl-days{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
#main .opl-days li{display:flex;flex-direction:column;gap:1px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
#main .opl-days li b{font-weight:700}
#main .opl-days li span{color:var(--ink)}
#main .opl-days .opl-more span{color:var(--muted)}
#main .opl-mail{margin:0;text-align:center;color:var(--muted);font-size:14.5px;overflow-wrap:anywhere}
#main .opl-mail b{color:var(--ink)}
.ck .ckresume{padding:11px 13px;border-radius:12px;background:var(--warn-bg);border:1px solid color-mix(in srgb,var(--warn) 35%,transparent);color:var(--ink);font-size:14px;line-height:1.45}
.ck .ckresume b{display:block;margin-bottom:2px}
.ck .ckagain{padding:8px 11px;border-radius:10px;background:var(--info-bg);color:var(--ink);font-size:13.5px}
#main .opl-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:2px}
#main .opl-btns .btn{min-width:190px}
@media (max-width:760px){#main .opl-grid{grid-template-columns:minmax(0,1fr)}#main .opl-top{padding:24px 16px 20px}#main .opl-top h1{font-size:26px}
  #main .opl-btns{flex-direction:column;align-items:stretch}#main .opl-btns .btn{min-width:0;width:100%}#main .opl-card{padding:14px 15px}}


/* ===== orderpage (owner, Nov 12): the order page and the shul page, much simpler. Presentation only. ===== */
.opx-pg-on .opx-sl{margin:2px 0 12px;font-size:16px;font-weight:650;color:var(--ink)}
.opx-pg-on .odhead .hint{font-size:14px}
.opx-pg-on .opx-hide{display:none!important}
.opx-box{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:14px 0;min-width:0;background:var(--surface,transparent)}
.opx-box>h3,.opx-h h3{margin:0 0 8px;font-size:18px}
.opx-h,.opx-h.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin:0 0 6px}.opx-h h3{margin:0}
.opx-box .tablewrap{overflow-x:auto;max-width:100%}
#odpay.opx-pay{outline-offset:6px;margin:14px 0;padding:0;border:0;background:transparent}
#odpay.opx-pay>h3{margin:0 0 8px;font-size:18px}
.opx-pbtns{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.opx-pbtns .btn{min-height:44px}
.opx-more{margin:16px 0 8px;border:1px solid var(--line);border-radius:14px;background:var(--surface-2,transparent)}
.opx-more>summary{cursor:pointer;list-style:none;padding:13px 18px;font-weight:750;font-size:16px;display:flex;align-items:center;gap:8px;min-height:44px}
.opx-more>summary::-webkit-details-marker{display:none}
.opx-more>summary::after{content:"▾";margin-left:auto;color:var(--muted)}
.opx-more[open]>summary::after{content:"▴"}
.opx-mg{padding:2px 18px 16px;display:flex;flex-direction:column;gap:16px;min-width:0}
.opx-g>h4{margin:0 0 8px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.opx-row,.opx-row.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;margin-top:0;min-width:0}
.opx-g .payopts,.opx-g .trmbox,.opx-g .ocard{max-width:100%}
.opx-g .payask{margin-top:10px}
.opx-g .oddl{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.opx-delw{margin:6px 0 0;flex-basis:100%}
.opx-fold{margin:10px 0;border:1px solid var(--line);border-radius:14px}
.opx-fold>summary{cursor:pointer;padding:12px 18px;font-weight:700;min-height:44px;display:flex;align-items:center}
.opx-fold>.opx-fb{padding:0 18px 16px;min-width:0}
.opx-fold .oprog{margin-top:0}
.opx-fold .opx-fb.odright{background:none;border:0;padding:0 18px 16px}
.opx-pg-on .odcols{display:block}
/* the shul page */
.shp-top{margin:6px 0 16px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;display:flex;flex-direction:column;gap:8px;min-width:0}
.shp-top .shp-owe{font-size:22px;font-weight:800}.shp-top .shp-owe.owe{color:var(--warn)}
.shp-top p{margin:0}
.shp-top .btn{align-self:flex-start;min-height:44px}
.shp-sec{margin:12px 0;border:1px solid var(--line);border-radius:14px;min-width:0}
.shp-sec>summary{cursor:pointer;padding:12px 18px;font-weight:750;min-height:44px;display:flex;align-items:center;font-size:16px}
.shp-sec>.shp-b{padding:0 18px 16px;min-width:0;overflow-wrap:anywhere}
.shp-ord .tablewrap{overflow-x:auto;max-width:100%}
/* shulweeks (Nov 19): the weeks of one weekly plan under one heading card */
.shwk{border:1px solid var(--line);border-radius:14px;margin:12px 0;min-width:0;background:var(--surface,transparent);overflow:hidden}
.shwk-h{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:12px 16px;background:var(--surface-2,transparent);border-bottom:1px solid var(--line)}
.shwk-ht{font-size:17px;line-height:1.35;min-width:0;overflow-wrap:anywhere}.shwk-ht b{font-weight:800}
.shwk-go{font-weight:700;min-height:36px}
.shwk-oh{margin:18px 0 6px;font-size:16px}
.shwk .tablewrap{overflow-x:auto;max-width:100%}
.shwk-t{table-layout:fixed;width:100%;min-width:0}
.shwk-t th:nth-child(1),.shwk-t td:nth-child(1){width:19%}.shwk-t th:nth-child(2),.shwk-t td:nth-child(2){width:19%}.shwk-t th:nth-child(3),.shwk-t td:nth-child(3){width:15%}.shwk-t th:nth-child(4),.shwk-t td:nth-child(4){width:11%}.shwk-t th:nth-child(5),.shwk-t td:nth-child(5){width:13%}.shwk-t th:nth-child(6),.shwk-t td:nth-child(6){width:20%}.shwk-t th:nth-child(7),.shwk-t td:nth-child(7){width:3%}
.shwk-t .oagb{white-space:normal;max-width:100%}.shwk-t td.oigo{padding-left:0;padding-right:6px;overflow:visible}
.shwk-t td{overflow-wrap:anywhere;min-width:0}.shwk-t td:nth-child(4){white-space:nowrap}
.shwk-n{font-size:19px;font-weight:800;line-height:1.2}
.shwk-d{font-size:15px;font-weight:650;margin-top:2px}.shwk-d .wkn{color:var(--muted);font-weight:500;font-size:13px}
.shwk-no{font-size:12.5px}
.shwk-tag{display:inline-block;margin-left:8px;padding:1px 9px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:800;vertical-align:middle}
.shwk-s{font-weight:750;font-size:15px;line-height:1.3}.shwk-s.t-good{color:var(--good)}.shwk-s.t-warn{color:var(--warn)}.shwk-s.t-bad{color:var(--bad)}.shwk-s.t-info{color:var(--info)}.shwk-s.t-mute{color:var(--muted)}
.shwk-r.x td{opacity:.7}
.dlg .shwk-r.now,.shwk-r.now{background:color-mix(in srgb,var(--accent) 9%,var(--surface));box-shadow:inset 4px 0 0 var(--accent)}
.shwk-fold{border-bottom:1px solid var(--line)}
.shwk-fold>summary{cursor:pointer;padding:11px 16px;font-weight:700;font-size:15px;min-height:44px;display:flex;align-items:center;color:var(--muted)}
@media (max-width:640px){
  .dlg .shwk-t tbody tr{padding:12px 12px}
  .dlg .shwk-t tbody td{min-width:0;overflow-wrap:anywhere}
  .dlg .shwk-t tbody td:nth-child(1),.dlg .shwk-t tbody td:nth-child(2),.dlg .shwk-t tbody td:nth-child(3),.dlg .shwk-t tbody td:nth-child(4),.dlg .shwk-t tbody td:nth-child(5){width:auto}
  .shwk-h{padding:10px 12px}.shwk-ht{font-size:16px}
}
.shp-pg{max-width:900px}
