/* Central screen-only calendar presentation v103. Loaded last. */

/* v103 — All weeks and actions visible without an internal scrollbar.
   The JS closes the picker when neither side has room for its full height. */
.hammelk-jalali-picker-v35,
.hammelk-jalali-picker-v35:popover-open {
  max-height:none!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  overscroll-behavior:auto;
}
/* A measured compact arrangement, not a clipped/scrollable one. */
.hammelk-jalali-picker-v35.hammelk-jp-tight-v103 {
  padding:8px!important;
}
.hammelk-jp-tight-v103 .hammelk-jp-title-v35 {margin-bottom:5px;padding-bottom:5px}
.hammelk-jp-tight-v103 .hammelk-jp-week-v35 {margin:6px 0 2px}
.hammelk-jp-tight-v103 .hammelk-jp-week-v35,
.hammelk-jp-tight-v103 .hammelk-jp-days-v35 {gap:2px!important}
.hammelk-jp-tight-v103 .hammelk-jp-days-v35>span,
.hammelk-jp-tight-v103 .hammelk-jp-days-v35>button {height:36px!important}
.hammelk-jp-tight-v103 .hammelk-jp-head-v35>button {height:38px!important}
.hammelk-jp-tight-v103 .hammelk-jp-heading-part-v35 {height:38px!important}
.hammelk-jp-tight-v103 .hammelk-jp-actions-v35 {margin-top:6px;padding-top:6px}
.hammelk-jp-tight-v103 .hammelk-jp-actions-v35 button {min-height:38px!important}
.hammelk-jp-tight-v103 .hammelk-jp-choice-grid-v35 {min-height:0!important;gap:5px;margin-top:8px}
.hammelk-jp-tight-v103 .hammelk-jp-choice-grid-v35 button {height:40px!important}
.hammelk-jp-tight-v103 .hammelk-jp-hint-v35 {margin-top:6px;padding:5px}


/* v103 — Date digits must never share the icon's space.
   Use the full text lane (to the right of the icon in LTR date inputs).
   In narrow two-column mobile forms reserve less icon width, not date text. */
@media screen {
  .hm-date-field-v57 > input.hm-date-input-v57,
  .acct-v49-date-control.hm-date-field-v57 > input.hm-date-input-v57,
  .smart-date-control-v52.hm-date-field-v57 > input.hm-date-input-v57 {
    direction:ltr!important;
    text-align:right!important;
    font-family:inherit;
    font-variant-numeric:tabular-nums!important;
    letter-spacing:0!important;
    padding:9px 10px 9px 49px!important;
    text-overflow:clip!important;
    box-sizing:border-box!important;
  }
  .hm-date-field-v57 > input.hm-date-input-v57:not(:focus) {text-align:right!important;}
}
@media screen and (max-width:640px) {
  .hm-date-field-v57 > input.hm-date-input-v57,
  .acct-v49-date-control.hm-date-field-v57 > input.hm-date-input-v57,
  .smart-date-control-v52.hm-date-field-v57 > input.hm-date-input-v57 {
    /* A complete 10-character Jalali date remains readable in narrow grids. */
    font-size:clamp(14px,3.75vw,16px)!important;
    padding-left:45px!important;
    padding-right:6px!important;
  }
  .hm-date-field-v57 > .hm-date-trigger-v57 {left:5px!important;width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important}
}
