/* Shared bottom-sheet pickers: scroll wheel + range calendar.
 * Sizes follow the 1080px reference screenshots; --p = 1 reference px. Used with assets/js/ui-pickers.js */
:root{--p:.092593cqw}
@supports not (width:1cqw){:root{--p:calc(min(100vw,480px)/1080)}}

.up-ov{position:fixed;inset:0;z-index:200;background:rgba(0,0,0,.7);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.up-ov.open{opacity:1;visibility:visible}
.up-sheet{position:absolute;left:50%;bottom:0;width:100%;max-width:480px;transform:translate(-50%,100%);transition:transform .3s cubic-bezier(.22,.8,.3,1);background:#fff;border-radius:calc(var(--p)*50) calc(var(--p)*50) 0 0;container-type:inline-size;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:#1f2a44}
.up-ov.open .up-sheet{transform:translate(-50%,0)}

/* ---- scroll wheel ---- */
.up-sh{display:flex;justify-content:space-between;align-items:center;height:calc(var(--p)*116);padding:0 calc(var(--p)*46);font-size:calc(var(--p)*40)}
.up-sh .c{color:#7a8299;cursor:pointer}
.up-sh .ok{color:#f44b50;cursor:pointer;font-weight:500}
.up-wheels{position:relative;display:flex;height:calc(var(--p)*726)}
.up-wheel{flex:1;height:100%;overflow-y:scroll;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior:contain;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 82%,transparent 100%)}
.up-wheel::-webkit-scrollbar{display:none}
.up-wheel .pad{height:calc(var(--p)*303);flex:none}
.up-wheel .it{height:calc(var(--p)*121);display:flex;align-items:center;justify-content:center;scroll-snap-align:center;scroll-snap-stop:always;padding:0 calc(var(--p)*14);text-align:center;font-size:calc(var(--p)*44);color:#5f6b8a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}

/* ---- range calendar ---- */
.rc{display:flex;flex-direction:column;height:calc(var(--p)*1711);max-height:86vh}
.rc-top{flex:none;position:relative;background:#fff;box-shadow:0 calc(var(--p)*6) calc(var(--p)*18) rgba(30,40,80,.06);z-index:2}
.rc-title{height:calc(var(--p)*120);display:flex;align-items:center;justify-content:center;font-size:calc(var(--p)*48);font-weight:600}
.rc-x{position:absolute;right:calc(var(--p)*34);top:calc(var(--p)*24);width:calc(var(--p)*72);height:calc(var(--p)*72);display:flex;align-items:center;justify-content:center;cursor:pointer;color:#c3c7d0}
.rc-x svg{width:calc(var(--p)*44);height:calc(var(--p)*44)}
.rc-sub{height:calc(var(--p)*84);display:flex;align-items:center;justify-content:center;font-size:calc(var(--p)*40);font-weight:700}
.rc-wk{display:flex;height:calc(var(--p)*112);align-items:center}
.rc-wk span{flex:1;text-align:center;font-size:calc(var(--p)*38)}
.rc-body{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;position:relative;scrollbar-width:none}
.rc-body::-webkit-scrollbar{display:none}
.rc-m{position:relative}
.rc-mt{height:calc(var(--p)*105);display:flex;align-items:flex-end;justify-content:center;padding-bottom:calc(var(--p)*18);font-size:calc(var(--p)*40);font-weight:700}
.rc-m:first-child .rc-mt{display:none}
.rc-wm{position:absolute;left:0;right:0;top:50%;transform:translateY(-35%);text-align:center;font-size:calc(var(--p)*430);font-weight:700;color:#f3f4f8;line-height:1;pointer-events:none;user-select:none}
.rc-g{position:relative;display:grid;grid-template-columns:repeat(7,1fr);row-gap:calc(var(--p)*11)}
.rc-b{height:calc(var(--p)*176)}
.rc-d{position:relative;height:calc(var(--p)*176);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:calc(var(--p)*46);cursor:pointer;user-select:none;color:#111}
.rc-d i{position:absolute;left:0;right:0;bottom:calc(var(--p)*22);text-align:center;font-style:normal;font-size:calc(var(--p)*30);line-height:1}
.rc-d.off{color:#c9cdd8;cursor:default}
.rc-d.m{background:#e7f2fe;color:#2b8cf2}
.rc-d.s,.rc-d.e{background:#fa5a5a;color:#fff}
.rc-d.s{border-radius:calc(var(--p)*12) 0 0 calc(var(--p)*12)}
.rc-d.e{border-radius:0 calc(var(--p)*12) calc(var(--p)*12) 0}
.rc-d.s.e{border-radius:calc(var(--p)*12)}
.rc-d.s.e i{font-size:calc(var(--p)*26)}
.rc-d b{font-weight:400;position:relative;top:calc(var(--p)*-12)}
.rc-d:not(.s):not(.e) b{top:0}
.rc-foot{flex:none;padding:calc(var(--p)*0) calc(var(--p)*44) calc(var(--p)*19);background:#fff}
.rc-ok{height:calc(var(--p)*99);border-radius:calc(var(--p)*50);background:#fa5a5a;color:#fff;font-size:calc(var(--p)*46);display:flex;align-items:center;justify-content:center;cursor:pointer;user-select:none;margin-top:calc(var(--p)*18)}
.rc-ok:active{opacity:.9}
