/* DOM/computed CSS и mx-datepicker из исходного отчёта, 04.10.2026.
   Семантические классы и standalone-поведение, без Vue/API админки. */
.gmb-period { position: relative; display: inline-block; flex-shrink: 0; width: 200px; max-width: 100%; }
.gmb-period__input { box-sizing: border-box; display: block; width: 100%; height: 36px; padding: 6px 30px 6px 10px; border: 1px solid #b0bac3; border-radius: 8px; background: #fff; color: rgb(0 0 0 / 87%); box-shadow: none; font: 500 13px/1.4 Arial, HelveticaNeue, Helvetica, sans-serif; }
.gmb-period__input:hover { border-color: #858c92; }
.gmb-period__input:focus,.gmb-period__input[aria-expanded="true"] { outline: none; border-color: #26b99a; }
.gmb-period__input[aria-invalid="true"] { border-color: #ff5252; }
.gmb-period__input:disabled { color: #ccc; background: #f3f3f3; border-color: #ccc; cursor: not-allowed; }
.gmb-period__icon { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0; padding: 0; background: none; color: rgb(0 0 0 / 50%); font: 16px/1 Arial,sans-serif; cursor: pointer; }
.gmb-period__icon svg { display: block; fill: currentColor; }
.gmb-period__popup { position: absolute; top: calc(100% + 1px); left: 0; z-index: 2001; display: flex; width: 669px; max-width: calc(100vw - 40px); border: 1px solid #e8e8e8; background: #fff; color: #73879c; box-shadow: 0 6px 12px rgb(0 0 0 / 17.6%); font: 400 14px/1.5 'Helvetica Neue',Helvetica,Arial,'Microsoft Yahei',sans-serif; }
.gmb-period [hidden] { display: none !important; }
.gmb-period__shortcuts { flex: 0 0 170px; padding: 6px; }
.gmb-period__button { box-sizing: border-box; color: inherit; background: transparent; border: 0; border-radius: 4px; margin: 0; padding: 0 4px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 34px; cursor: pointer; white-space: nowrap; }
.gmb-period__button:hover { color: #26b99a; }
.gmb-period__button:focus-visible,.gmb-period__day:focus-visible { outline: 2px solid #26b99a; outline-offset: -2px; }
.gmb-period__shortcut { display: block; padding: 0 6px; text-align: left; font: 400 14px/28px Arial,HelveticaNeue,Helvetica,sans-serif; }
.gmb-period__calendars { display: flex; border-left: 1px solid #e8e8e8; user-select: none; }
.gmb-period__calendar { box-sizing: border-box; width: 248px; flex-shrink: 0; padding: 6px 12px; }
.gmb-period__calendar + .gmb-period__calendar { width: 249px; border-left: 1px solid #e8e8e8; }
.gmb-period__header { display: flex; align-items: center; justify-content: space-between; height: 34px; text-align: center; }
.gmb-period__header .gmb-period__button { font-family: inherit; font-size: 14px; font-weight: 500; line-height: 34px; }
.gmb-period__arrow::before,.gmb-period__arrow--double::after { content: ''; display: inline-block; position: relative; top: -1px; vertical-align: middle; width: 10px; height: 10px; border: 0 solid; border-width: 2px 0 0 2px; border-radius: 1px; transform: rotate(-45deg) scale(.7); }
.gmb-period__arrow--double::after { margin-left: -4px; }
.gmb-period__arrow--next::before,.gmb-period__arrow--next::after { transform: rotate(135deg) scale(.7); }
.gmb-period__table { table-layout: fixed; border-collapse: separate; border-spacing: 0; text-align: center; width: 100%; height: 224px; }
.gmb-period__table th,.gmb-period__table td { height: 32px; padding: 0; border: 0; vertical-align: middle; font-size: 12px; line-height: 18px; }
.gmb-period__table th { font-family: var(--gmb-font-heading); font-weight: 500; }
.gmb-period__day { display: block; width: 100%; height: 32px; border: 0; border-radius: 0; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.gmb-period__table .is-today { color: #26b99a; }
.gmb-period__table .is-in-range { color: #73879c; background: #dbedfb; }
.gmb-period__table .is-outside { color: #ccc; background: transparent; }
.gmb-period__table .is-active { color: #fff; background: #26b99a; }
.gmb-period__day:hover,.gmb-period__table .is-hover-range { background: #e6fff9; }
.gmb-period__choices { display: grid; grid-template-columns: repeat(3,1fr); height: 224px; }
.gmb-period__choices .gmb-period__button.is-active { background: #26b99a; color: #fff; border-radius: 0; }
.gmb-period__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Локальная адаптация: оригинальный desktop-popup не помещается в узкий iframe. */
@media (max-width: 710px) {
  .gmb-period__popup { flex-direction: column; width: 272px; max-height: 75vh; overflow-y: auto; }
  .gmb-period__shortcuts { display: flex; flex-wrap: wrap; flex-basis: auto; border-bottom: 1px solid #e8e8e8; }
  .gmb-period__calendars { flex-direction: column; border-left: 0; }
  .gmb-period__calendar,.gmb-period__calendar + .gmb-period__calendar { width: 100%; border-left: 0; }
  .gmb-period__calendar + .gmb-period__calendar { border-top: 1px solid #e8e8e8; }
}
