@media (max-width: 991px) {
    .tz-page-search.is-open [data-page-date-range].is-enhanced .tz-quick-range-trigger {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 54px;
        padding: 10px 14px;
        border: 1px solid #dfe3e9;
        border-radius: 12px;
        background: #f9fafb;
        color: #344054;
        font: inherit;
        text-align: left;
    }

    .tz-page-search.is-open [data-page-date-range].is-enhanced .tz-quick-range-trigger .material-symbols-outlined {
        color: #e35000;
        font-size: 22px;
    }

    .tz-page-search.is-open [data-page-date-range].is-enhanced .tz-quick-range-value {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tz-page-search.is-open [data-page-date-range].is-enhanced .tz-page-date-inputs {
        display: none !important;
    }
}

.tz-page-range-calendar { position: fixed; margin: 0; width: 680px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 20px 70px #0f172a33; color: #172033; background: #fff; font-family: inherit; overflow: auto; box-sizing: border-box; }
.tz-page-range-calendar::backdrop { background: #0f172a66; }
.tz-page-range-calendar button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
.tz-page-range-top, .tz-page-range-nav, .tz-page-range-footer { display: flex; align-items: center; justify-content: space-between; }
.tz-page-range-top { padding: 12px 20px 0; font-size: 18px; }
.tz-page-range-top button, .tz-page-range-nav button { width: 44px; height: 44px; font-size: 28px; }
.tz-page-range-summary { margin: 8px 20px; padding: 12px; background: #fff4eb; border-radius: 10px; color: #a93800; font-size: 14px; }
.tz-page-range-nav { padding: 0 16px; color: #64748b; font-size: 12px; }
.tz-page-range-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0 20px 20px; }
.tz-page-range-month h3 { margin: 8px 0 16px; text-align: center; font-size: 16px; font-weight: 700; }
.tz-page-range-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; }
.tz-page-range-weekday { padding-bottom: 8px; color: #64748b; font-size: 12px; text-align: center; }
.tz-page-range-day { height: 40px; min-width: 0; border-radius: 8px !important; font-size: 14px; }
.tz-page-range-day.is-between { border-radius: 0 !important; background: #fff0e5; color: #a93800; }
.tz-page-range-day.is-selected, .tz-page-range-footer [data-action="apply"] { background: #e35000; color: #fff; font-weight: 700; }
.tz-page-range-footer { gap: 16px; padding: 14px 20px; border-top: 1px solid #edf0f3; background: #fff; position: sticky; bottom: 0; }
.tz-page-range-footer button { min-height: 44px; padding: 8px 20px; border-radius: 10px; }
.tz-page-range-footer [data-action="clear"] { text-decoration: underline; }
.tz-page-range-footer [data-action="apply"]:disabled { background: #e5e7eb; color: #64748b; cursor: default; }
@media (max-width: 767px) {
    .tz-page-range-calendar { inset: auto 0 0; width: 100%; max-width: 100%; max-height: 90dvh; border-radius: 20px 20px 0 0; }
    .tz-page-range-months { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-inline: 16px; }
    .tz-page-range-day { height: 44px; }
    .tz-page-range-footer { padding-bottom: max(14px, env(safe-area-inset-bottom)); }
}
