.avent-datepicker.nsdp,.nsdp-portal-root{--nsdp-primary:var(--accent);--nsdp-primary-hover:var(--accent-hover);--nsdp-primary-active:var(--accent-hover);--nsdp-primary-contrast:#fff;--nsdp-secondary:var(--gold);--nsdp-soft-accent:var(--background-secondary);--nsdp-bg:var(--surface);--nsdp-surface:var(--surface);--nsdp-text:var(--foreground);--nsdp-muted:var(--muted-foreground);--nsdp-border:var(--border);--nsdp-range:var(--background-secondary);--nsdp-disabled:var(--muted-foreground);--nsdp-focus:color-mix(in srgb, var(--gold) 22%, transparent);--nsdp-shadow:var(--shadow-soft);--nsdp-radius:14px;--nsdp-width:100%;--nsdp-max-width:100%;--nsdp-input-height:52px;--nsdp-calendar-width:310px;--nsdp-day-size:40px;--nsdp-font-size:15px;--nsdp-danger:var(--destructive);--nsdp-font:var(--font-vazirmatn), Tahoma, Arial, sans-serif}.avent-datepicker.nsdp{width:100%;max-width:100%}.nsdp-portal-root{width:0;max-width:none;height:0;overflow:visible}.nsdp[dir=rtl]{--nsdp-font:var(--font-vazirmatn), Tahoma, Arial, sans-serif}.avent-datepicker .nsdp-input-wrap{border-color:var(--account-border,var(--border));background:var(--surface);border-radius:14px}.avent-datepicker .nsdp-input-wrap:hover:not(.is-disabled){border-color:var(--account-accent,var(--accent))}.avent-datepicker .nsdp-input-wrap.is-open{border-color:var(--account-accent,var(--accent));box-shadow:var(--shadow-focus-gold)}.avent-datepicker .nsdp-input-wrap.is-invalid{border-color:var(--account-danger,var(--destructive))}.avent-datepicker .nsdp-input{font-family:var(--font-fanum), var(--font-vazirmatn), Tahoma, Arial, sans-serif;color:var(--foreground);text-align:right}.avent-datepicker .nsdp-input::placeholder{color:var(--account-placeholder,var(--muted-foreground))}.avent-datepicker .nsdp-input-action{color:var(--account-muted,var(--muted-foreground))}.avent-datepicker .nsdp-error{font-family:var(--font-vazirmatn), Tahoma, Arial, sans-serif;color:var(--account-danger,var(--destructive));margin-top:.5rem;font-size:12px}.nsdp-popover{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow-soft)}.nsdp-header{direction:ltr}.nsdp-day.is-selected,.nsdp-choice-grid button.is-active{background:var(--accent);color:#fff}.nsdp-choice-grid button{text-overflow:clip;white-space:normal;word-break:keep-all;padding-inline:6px;font-size:13px;line-height:1.35;overflow:visible}.nsdp-footer button.nsdp-confirm,.nsdp-footer [data-action=confirm]{background:var(--accent);color:#fff}@media (max-width:640px){.avent-datepicker.nsdp,.nsdp-portal-root{--nsdp-calendar-width:100%;--nsdp-day-size:clamp(40px, 12vw, 48px);--nsdp-font-size:16px;--nsdp-radius:18px}.avent-datepicker .nsdp-input{font-size:16px}body:has(.nsdp-portal-root[data-mobile-mode=sheet]){overflow:hidden}.nsdp-portal-root[data-mobile-mode=sheet]{pointer-events:auto;background:color-mix(in srgb, var(--accent) 35%, transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);width:100%!important;max-width:none!important;height:100%!important;position:fixed!important;inset:0!important}.nsdp[data-mobile-mode=sheet] .nsdp-popover,.nsdp-portal-root[data-mobile-mode=sheet] .nsdp-popover{overscroll-behavior:contain;max-height:min(92dvh,640px);padding-bottom:env(safe-area-inset-bottom);border-bottom:0;border-radius:18px 18px 0 0;overflow:auto;box-shadow:0 -12px 40px #2c221d1a;width:100%!important;min-width:0!important;max-width:none!important;position:fixed!important;inset:auto 0 0!important}.nsdp[data-mobile-mode=sheet] .nsdp-mobile-handle{background:var(--border);border-radius:999px;width:38px;height:4px;margin:10px auto 4px;display:block}.nsdp[data-mobile-mode=sheet] .nsdp-panel{width:100%;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.nsdp[data-mobile-mode=sheet] .nsdp-months,.nsdp[data-mobile-mode=sheet] .nsdp-month{width:100%;max-width:none}.nsdp[data-mobile-mode=sheet] .nsdp-weekdays,.nsdp[data-mobile-mode=sheet] .nsdp-grid{width:100%}.nsdp[data-mobile-mode=sheet] .nsdp-header__title{gap:4px;min-width:0}.nsdp[data-mobile-mode=sheet] .nsdp-header__title button{padding-inline:4px;font-size:15px}.nsdp[data-mobile-mode=sheet] .nsdp-virtual-years button{touch-action:manipulation;min-height:44px}.nsdp[data-mobile-mode=sheet] .nsdp-header{grid-template-columns:44px minmax(0,1fr) 44px;min-height:48px}.nsdp[data-mobile-mode=sheet] .nsdp-icon-button{width:44px;height:44px}.nsdp[data-mobile-mode=sheet] .nsdp-day,.nsdp[data-mobile-mode=sheet] .nsdp-day--empty{touch-action:manipulation;width:100%;min-width:0;max-width:none;height:44px;min-height:44px}.nsdp[data-mobile-mode=sheet] .nsdp-weekdays span{height:36px;font-size:13px}.nsdp[data-mobile-mode=sheet] .nsdp-choice-grid button{min-height:48px}.nsdp[data-mobile-mode=sheet] .nsdp-footer{z-index:1;background:var(--surface);gap:8px;padding-top:12px;position:sticky;bottom:0}.nsdp[data-mobile-mode=sheet] .nsdp-footer button{min-height:44px;padding-inline:12px}}@media (max-width:380px){.nsdp[data-mobile-mode=sheet] .nsdp-panel{padding-inline:12px}.nsdp[data-mobile-mode=sheet] .nsdp-weekdays,.nsdp[data-mobile-mode=sheet] .nsdp-grid{gap:2px}}
