.trf-date-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;padding:0 14px;height:48px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#0f172a;font:inherit;cursor:pointer}
.trf-date-trigger svg{width:20px;height:20px;flex:none;color:#52647e}
.trf-date-trigger[aria-expanded="true"]{border-color:#2563eb;box-shadow:0 0 0 2px #dbeafe}
.trf-calendar{position:absolute;inset:auto 0;top:calc(100% + 8px);margin-inline:auto;width:min(650px,100%);box-sizing:border-box;z-index:40;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 20px 52px #101b3033}
:is([data-trf], [data-trf-catalog-form]) [hidden]{display:none!important}
.trf-cal-head,.trf-cal-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.trf-cal-arrow,.trf-cal-day{font:inherit;color:inherit;cursor:pointer;border:1px solid #e2e8f0;background:#fff;border-radius:8px;padding:0}
.trf-cal-arrow{width:40px;height:40px;background:#f3f6fb;font-size:22px}
.trf-cal-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0}
.trf-cal-month{text-align:center}
.trf-cal-month h3{font-size:14px;margin:0 0 8px;text-transform:capitalize}
.trf-cal-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.trf-cal-days small{color:#64748b}
.trf-cal-day{height:34px}
.trf-cal-day[aria-pressed="true"]{background:#eff6ff;border-color:#2563eb;color:#1d4ed8;font-weight:700}
.trf-cal-actions{align-items:end;border-top:1px solid #e2e8f0;padding-top:12px}
.trf-cal-time{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.trf-cal-time select{display:block;margin-top:4px}
.trf-cal-scrim{display:none}
@media (max-width:767px){
  .trf-cal-scrim{display:block;position:fixed;inset:0;z-index:39;background:#101b3066}
  .trf-calendar{position:fixed;inset:auto 0 0;width:100%;max-height:92dvh;overflow:auto;border-radius:18px 18px 0 0;padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .trf-cal-months,.trf-cal-actions{display:grid;grid-template-columns:1fr}
  .trf-cal-month:nth-child(2){display:none}
  .trf-cal-day{height:38px}
}
