.custom-date-picker{-webkit-user-select:none;user-select:none;box-sizing:border-box;width:100%;font-family:inherit;font-size:clamp(13px,1.2cqi,14px);position:relative;container:datepicker/inline-size}.custom-date-trigger{background:var(--bg-input,#0000004d);border:1px solid var(--border-light,#ffffff1f);border-radius:var(--radius-sm,10px);cursor:text;min-height:var(--touch-min-size,44px);color:var(--text-primary,#fff);box-sizing:border-box;outline:none;justify-content:space-between;align-items:center;padding:6px 12px;transition:all .3s cubic-bezier(.2,.8,.2,1);display:flex;box-shadow:inset 0 2px 4px #0000001a}.custom-date-picker.open .custom-date-trigger,.custom-date-trigger:focus-within,.custom-date-trigger:focus,.custom-date-trigger:focus-visible{border-color:var(--accent-start,#0078d4);box-shadow:0 0 0 3px var(--accent-glow,#0078d44d), inset 0 2px 4px #0000001a}.custom-date-input{color:var(--text-primary,#fff);font-family:inherit;font-size:var(--font-body,14px);letter-spacing:.2px;background:0 0;border:none;outline:none;width:100%;margin:0;padding:2px 0;font-weight:500}[data-theme=light] .custom-date-input,[data-theme=clean-light] .custom-date-input{color:#111827}.custom-date-input::placeholder{color:var(--text-secondary,#ffffff80);opacity:.65;font-weight:400}.custom-date-display{color:var(--text-primary,#fff);letter-spacing:.2px;font-size:13px;font-weight:500}.custom-date-display.placeholder{color:var(--text-secondary,#ffffff80);opacity:.65;font-weight:400}.custom-date-calendar-btn{cursor:pointer;color:var(--accent-start,#60cdff);opacity:.85;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .2s cubic-bezier(.2,.8,.2,1);display:flex}.custom-date-calendar-btn:hover{opacity:1;background:#ffffff1a;transform:scale(1.08)}[data-theme=light] .custom-date-calendar-btn:hover,[data-theme=clean-light] .custom-date-calendar-btn:hover{background:#0000000f}.custom-date-icons{align-items:center;gap:8px;display:flex}.custom-date-clear-btn{color:var(--text-secondary,#fff9);cursor:pointer;opacity:.6;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:2px;transition:all .2s;display:flex}.custom-date-clear-btn:hover{opacity:1;color:#ef4444;background:#ef444426}.custom-date-calendar-icon{color:var(--accent-start,#60cdff);opacity:.85;justify-content:center;align-items:center;transition:opacity .2s;display:flex}.custom-date-trigger:hover .custom-date-calendar-icon{opacity:1}.custom-date-popover{z-index:9999;background:var(--bg-sticky,#141821f5);-webkit-backdrop-filter:blur(28px);border:1px solid var(--border-highlight,#ffffff29);width:clamp(280px,100%,340px);max-width:min(100vw - 20px,360px);color:var(--text-primary,#fff);overscroll-behavior:contain;box-sizing:border-box;border-radius:clamp(12px,3cqi,18px);max-height:min(420px,100dvh - 110px);padding:clamp(10px,3.5cqi,16px);animation:.2s cubic-bezier(.16,1,.3,1) customDateFadeIn;position:absolute;top:calc(100% + clamp(4px,1cqi,8px));overflow-y:auto;box-shadow:0 16px 40px #0009,inset 0 1px #ffffff1a}.custom-date-popover.align-right{left:auto;right:0}.custom-date-popover.align-left{left:0;right:auto}.custom-date-popover.open-up{animation:.2s cubic-bezier(.16,1,.3,1) customDateFadeInUp;top:auto;bottom:calc(100% + clamp(4px,1cqi,8px))}@keyframes customDateFadeIn{0%{opacity:0;transform:translateY(-8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes customDateFadeInUp{0%{opacity:0;transform:translateY(8px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.custom-date-header{border-bottom:1px solid var(--border-light,#ffffff1a);flex-wrap:wrap;justify-content:space-between;align-items:center;min-inline-size:0;margin-bottom:clamp(6px,1.8cqi,12px);padding-bottom:clamp(6px,1.5cqi,8px);display:flex}.custom-date-nav-btn{border:1px solid var(--border-light,#ffffff1a);width:clamp(28px,6.8cqi,32px);height:clamp(28px,6.8cqi,32px);color:var(--text-primary,#fff);cursor:pointer;background:#ffffff0d;border-radius:clamp(6px,1.5cqi,8px);flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:flex}.custom-date-nav-btn:hover{border-color:var(--border-highlight,#ffffff40);color:var(--accent-start,#60cdff);background:#ffffff26}.custom-date-title-wrapper{flex-wrap:wrap;align-items:center;min-inline-size:0;display:flex}.custom-date-view-title-btn{color:var(--text-primary,#fff);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:clamp(6px,1.5cqi,8px);align-items:center;gap:clamp(4px,1cqi,6px);padding:4px clamp(6px,1.5cqi,8px);transition:all .2s;display:flex}.custom-date-view-title-btn:hover{border-color:var(--border-light,#ffffff1a);background:#ffffff14}.custom-date-month-title{font-size:clamp(12.5px,2.8cqi,14.5px);font-weight:700}.custom-date-year-title{color:var(--accent-start,#60cdff);font-size:clamp(12.5px,2.8cqi,14.5px);font-weight:700}.custom-date-view-title-btn .dropdown-arrow{opacity:.6;transition:transform .2s}.custom-date-view-title-btn:hover .dropdown-arrow{opacity:1}.custom-date-years-range{color:var(--text-primary,#fff);padding:4px clamp(6px,1.5cqi,8px);font-size:clamp(12.5px,2.8cqi,14px);font-weight:700}.custom-date-weekdays{text-align:center;grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(2px,.8cqi,5px);margin-bottom:clamp(4px,1cqi,6px);display:grid}.custom-date-weekday{text-transform:uppercase;color:var(--text-secondary,#ffffff80);opacity:.75;padding:2px 0;font-size:clamp(9.5px,1.8cqi,11px);font-weight:700}.custom-date-days-grid{grid-template-columns:repeat(7,minmax(0,1fr));align-items:center;gap:clamp(2px,.8cqi,5px);display:grid}.custom-date-day-cell{min-inline-size:0;aspect-ratio:1;width:100%;min-height:clamp(26px,6.2cqi,34px);color:var(--text-primary,#fff);cursor:pointer;box-sizing:border-box;background:0 0;border:1px solid #0000;border-radius:clamp(6px,1.5cqi,9px);justify-content:center;align-items:center;font-size:clamp(11.5px,2.2cqi,13px);font-weight:600;transition:all .15s;display:flex}.custom-date-day-cell:hover:not(:disabled){border-color:var(--border-light,#ffffff26);background:#ffffff1f}.custom-date-day-cell.other-month{color:var(--text-secondary,#fff6);opacity:.35}.custom-date-day-cell.today{border-color:var(--accent-start,#60cdff);color:var(--accent-start,#60cdff);font-weight:700}.custom-date-day-cell.selected{box-shadow:0 2px 10px var(--accent-glow,#0078d466);font-weight:700;background:linear-gradient(135deg, var(--accent-start,#0078d4), var(--accent-end,#00b4d8))!important;color:#fff!important;border-color:#0000!important}.custom-date-day-cell:disabled{opacity:.2;cursor:not-allowed}.custom-date-months-grid,.custom-date-years-grid{grid-template-columns:repeat(auto-fit,minmax(clamp(65px,28cqi,88px),1fr));gap:clamp(6px,1.8cqi,10px);padding:clamp(4px,1cqi,8px) 0;display:grid}.custom-date-month-cell,.custom-date-year-cell{border:1px solid var(--border-light,#ffffff1a);min-height:clamp(34px,7.5cqi,42px);color:var(--text-primary,#fff);cursor:pointer;box-sizing:border-box;background:#ffffff0d;border-radius:clamp(6px,1.5cqi,10px);justify-content:center;align-items:center;font-size:clamp(12px,2.4cqi,13.5px);font-weight:600;transition:all .2s;display:flex}.custom-date-month-cell:hover,.custom-date-year-cell:hover{border-color:var(--border-highlight,#ffffff40);color:var(--accent-start,#60cdff);background:#ffffff26}.custom-date-month-cell.current,.custom-date-year-cell.current{border-color:var(--accent-start,#60cdff);color:var(--accent-start,#60cdff)}.custom-date-month-cell.selected,.custom-date-year-cell.selected{box-shadow:0 2px 10px var(--accent-glow,#0078d466);background:linear-gradient(135deg, var(--accent-start,#0078d4), var(--accent-end,#00b4d8))!important;color:#fff!important;border-color:#0000!important}.custom-date-footer{border-top:1px solid var(--border-light,#ffffff1a);grid-template-columns:repeat(auto-fit,minmax(clamp(75px,35cqi,110px),1fr));gap:clamp(6px,1.8cqi,12px);margin-top:clamp(8px,2cqi,12px);padding-top:clamp(8px,2cqi,10px);display:grid}.custom-date-footer-btn{cursor:pointer;box-sizing:border-box;border-radius:clamp(6px,1.2cqi,8px);justify-content:center;align-items:center;width:100%;min-height:clamp(28px,6.5cqi,34px);padding:4px clamp(8px,2cqi,14px);font-size:clamp(10.5px,2.2cqi,12px);font-weight:600;transition:all .2s;display:inline-flex}.custom-date-footer-btn.clear{border:1px solid var(--border-light,#ffffff26);color:var(--text-secondary,#fff9);background:0 0}.custom-date-footer-btn.clear:hover{color:#ef4444;background:#ef444414;border-color:#ef444466}.custom-date-footer-btn.today{border:1px solid var(--border-light,#ffffff26);color:var(--text-primary,#fff);background:#ffffff14}.custom-date-footer-btn.today:hover{border-color:var(--accent-start,#60cdff);color:var(--accent-start,#60cdff);background:#ffffff29}[data-theme=light] .custom-date-popover,[data-theme=clean-light] .custom-date-popover{color:#111827;background:#fff;border:1px solid #0000001f;box-shadow:0 16px 36px #00000026}[data-theme=light] .custom-date-nav-btn,[data-theme=clean-light] .custom-date-nav-btn{color:#111827;background:#f3f4f6;border:1px solid #e5e7eb}[data-theme=light] .custom-date-nav-btn:hover,[data-theme=clean-light] .custom-date-nav-btn:hover{background:#e5e7eb}[data-theme=light] .custom-date-day-cell,[data-theme=clean-light] .custom-date-day-cell{color:#111827}[data-theme=light] .custom-date-day-cell:hover:not(:disabled),[data-theme=clean-light] .custom-date-day-cell:hover:not(:disabled){background:#f3f4f6}[data-theme=light] .custom-date-day-cell.other-month,[data-theme=clean-light] .custom-date-day-cell.other-month{color:#9ca3af;opacity:.5}[data-theme=light] .custom-date-month-cell,[data-theme=clean-light] .custom-date-month-cell,[data-theme=light] .custom-date-year-cell,[data-theme=clean-light] .custom-date-year-cell{color:#111827;background:#f9fafb;border-color:#e5e7eb}[data-theme=light] .custom-date-footer-btn.today,[data-theme=clean-light] .custom-date-footer-btn.today{color:#111827;background:#f3f4f6;border-color:#e5e7eb}.custom-date-picker.fluent-dark .custom-date-trigger{color:#fff;background:#ffffff14;border-color:#ffffff2e;border-radius:12px;min-height:40px}.custom-date-picker.fluent-dark .custom-date-popover{background:#141821fa;border-color:#ffffff2e;border-radius:16px;box-shadow:0 20px 48px #000000b3}.custom-date-picker.portal-calendar-layer{z-index:10020;pointer-events:none;block-size:0;inline-size:0;position:fixed;inset:0}.custom-date-picker.portal-calendar-layer .custom-date-popover{pointer-events:auto;overflow:auto;left:var(--calendar-left)!important;right:auto!important;top:var(--calendar-top)!important;width:var(--calendar-width)!important;inline-size:var(--calendar-width)!important;max-inline-size:calc(100vw - 1rem)!important;max-height:var(--calendar-height)!important;position:fixed!important;bottom:auto!important}.custom-date-picker.portal-calendar-layer :is(.custom-date-day-cell,.custom-date-nav-btn){min-width:0!important;min-inline-size:0!important}.custom-date-picker.fluent-dark.portal-calendar-layer :is(.custom-date-day-cell,.custom-date-nav-btn,.custom-date-month-title,.custom-date-year-title,.custom-date-footer-btn){color:var(--text-primary)}@container datepicker (max-width:320px){.custom-date-popover{border-radius:12px;width:min(100vw - 16px,290px);max-width:calc(100vw - 16px);padding:clamp(8px,2.5cqi,12px)}.custom-date-day-cell{border-radius:5px;min-height:clamp(24px,6cqi,28px);font-size:clamp(10px,2cqi,11.5px)}.custom-date-weekday{font-size:9px}}@media (max-width:480px){.custom-date-popover{width:min(340px,100vw - 20px);max-width:calc(100vw - 20px);left:auto!important;right:0!important}}@media (max-width:320px){.custom-date-popover{padding:10px 8px;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;left:auto!important;right:0!important}.custom-date-day-cell{min-height:25px;font-size:11px}.custom-date-weekday{font-size:9px}}
