/* =============================================================
   1. BOOKING ROOT
   ============================================================= */

#mt-booking-root {
  font-family: GT-Zirkon, system-ui, -apple-system, sans-serif;
  border: 1px solid var(--mf-color-gray-500);
  background: var(--mf-color-base);
  color: var(--mf-color-ink);
  max-width: 100%;
}


/* =============================================================
   2. TOOLBAR
   ============================================================= */

.mt-toolbar {
  background: var(--mf-color-gray-200);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--mf-color-gray-500);
  flex-wrap: wrap;
}

.mt-toolbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mt-toolbar__nav-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-md);
  background: var(--mf-color-base);
  cursor: pointer;
  font-size: var(--mf-text-lg);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mf-color-gray-dark);
  transition: border-color .15s, color .15s;
}
.mt-toolbar__nav-btn:hover {
  border-color: var(--mf-color-brand);
  color: var(--mf-color-brand);
}

#mt-wklbl {
  font-size: var(--mf-text-lg);
  font-weight: 700;
  min-width: 180px;
  text-align: center;
  color: var(--mf-color-ink);
  line-height: var(--mf-leading);
}

@media (max-width: 767px) {
  #mt-wklbl {
    min-width: unset;
  }
}

.mt-toolbar__today-btn {
  display: none;
  padding: 4px 12px;
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-md);
  background: var(--mf-color-base);
  color: var(--mf-color-brand);
  font-size: var(--mf-text-xs);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s, background .15s;
}
.mt-toolbar__today-btn:hover {
  border-color: var(--mf-color-brand);
  background: var(--mf-color-brand);
  color: var(--mf-color-base);
}

/* Duration buttons */
.mt-dur-btns {
  display: flex;
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-md);
  overflow: hidden;
  background: var(--mf-color-base);
  margin-left: auto;
}

.mt-dur-btn {
  padding: 5px 13px;
  border: 0;
  border-right: 1px solid var(--mf-color-gray-500);
  font-size: var(--mf-text-xs);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  color: var(--mf-color-gray-dark);
  transition: background .15s, color .15s;
}
.mt-dur-btn:last-child { border-right: none; }
.mt-dur-btn--active {
  background: var(--mf-color-brand);
  color: var(--mf-color-base);
}


/* =============================================================
   3. LEGEND
   ============================================================= */

.mt-legend {
  padding: 7px 14px;
  border-bottom: 1px solid var(--mf-color-gray-600);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--mf-text-xs);
  font-weight: 500;
  color: var(--mf-color-gray-text);
  align-items: center;
  line-height: var(--mf-leading);
}

.mt-legend__items {
  display: flex;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  flex-wrap: wrap;
}

.mt-legend__item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mt-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--mf-r-xs);
  flex-shrink: 0;
}
.mt-legend__dot--free    { background: var(--mf-color-success); }
.mt-legend__dot--limited { background: var(--mf-color-warning); }
.mt-legend__dot--critical { background: var(--mf-color-danger); }
.mt-legend__dot--full    { background: var(--mf-color-gray-700); }

.mt-legend__info {
  margin-left: auto;
  color: var(--mf-color-surface);
  flex-grow: 1;
  text-align: right;
}


/* =============================================================
   4. DAY SWITCHER (mobile)
   ============================================================= */

#mt-dsw {
  display: none;
  overflow-x: auto;
  padding: 9px 12px;
  gap: 5px;
  border-bottom: 1px solid var(--mf-color-gray-600);
  scrollbar-width: none;
}
#mt-dsw.mt-dsw--visible { display: flex; }

.mt-day-btn {
  min-height: 78px;
  flex-shrink: 0;
  background: var(--mf-color-base);
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-md);
  padding: 6px 8px;
  cursor: pointer;
  color: var(--mf-color-ink);
  text-align: center;
  min-width: 52px;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s;
}
.mt-day-btn:hover        { opacity: 1; }
.mt-day-btn--active      { background: var(--mf-color-brand); border-color: var(--mf-color-brand); color: var(--mf-color-base); }
.mt-day-btn--past        { color: var(--mf-color-gray-ccc); }

.mt-day-btn__label {
  font-size: var(--mf-text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .65;
  line-height: var(--mf-leading);
}
.mt-day-btn__date {
  font-size: var(--mf-text-lg);
  font-weight: 700;
  line-height: var(--mf-leading);
  margin: 2px 0;
}
.mt-day-btn__today {
  font-size: 10px;
  font-weight: 600;
  opacity: .8;
  line-height: 0.8em;
}
.mt-day-btn__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--mf-r-xs);
  margin: 2px auto 0;
}

/* =============================================================
   5. GRID
   ============================================================= */

.mt-grid-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#mt-grid { background: var(--mf-color-base); }

.mt-grid-desktop {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-width: 490px;
}

.mt-grid-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
}

.mt-grid-loading {
  text-align: center;
  padding: 36px;
  color: var(--mf-color-gray-900);
  font-size: var(--mf-text-base);
  line-height: var(--mf-leading);
}

.mt-grid-error {
  text-align: center;
  padding: 36px;
  color: var(--mf-color-danger);
  font-size: var(--mf-text-base);
  line-height: var(--mf-leading);
}
.mt-grid-error__btn {
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--mf-color-brand);
  color: var(--mf-color-base);
  border: 0;
  border-radius: var(--mf-r-sm);
  cursor: pointer;
  font-size: var(--mf-text-sm);
  font-family: inherit;
}


/* =============================================================
   6. DAY HEADERS (desktop)
   ============================================================= */

.mt-day-header {
  text-align: center;
  padding: 16px 4px;
  background: var(--mf-color-gray-200);
  border-left: 1px solid var(--mf-color-gray-600);
  border-bottom: 1px solid var(--mf-color-gray-500);
  position: relative;
}
.mt-day-header--today   { 
  border-bottom: 2px solid var(--mf-color-brand);
  background: var(--mf-color-brand-lite);
}
.mt-day-header--past    { opacity: .32; }

.mt-day-header__label {
  font-size: var(--mf-text-md);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-color-gray-900);
  line-height: var(--mf-leading);
}
.mt-day-header__sep {
  font-size: var(--mf-text-md);
  margin-left: 2px;
  margin-right: 2px;
  line-height: 1em;
}
.mt-day-header__date {
  font-size: var(--mf-text-md);
  font-weight: 700;
  color: var(--mf-color-ink);
  line-height: var(--mf-leading);
}
/*.mt-day-header--today .mt-day-header__date { color: var(--mf-color-brand); }*/

.mt-day-header__today {
  font-size: 11px;
  font-weight: 600;
  color: var(--mf-color-brand);
  letter-spacing: .03em;
  line-height: var(--mf-leading);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}


/* =============================================================
   7. SLOT CELLS (desktop)
   ============================================================= */

.mt-slot {
  padding: 10px 4px 4px 4px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--mf-color-gray-600);
  border-left: 1px solid var(--mf-color-gray-600);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  background: var(--mf-color-base);
}

.mt-slot--free,
.mt-slot--limited  { background: var(--mf-color-base); cursor: pointer; }
.mt-slot--full     { background: var(--mf-color-gray-200); }
.mt-slot--past     { background: var(--mf-color-gray-200); }
.mt-slot--closed   { background: var(--mf-color-gray-100); }
.mt-slot--sel {
  background: var(--mf-color-base);
  border-bottom: 1px solid var(--mf-color-brand-dim);
  box-shadow: inset 0 0 0 2px var(--mf-color-brand);
  cursor: pointer;
}
.mt-slot--sel-chain {
  background: var(--mf-color-base);
  border-bottom: 1px solid var(--mf-color-brand-dimmer);
  box-shadow:
    inset  2px 0 0 var(--mf-color-brand),
    inset  0  2px 0 var(--mf-color-brand),
    inset -2px 0 0 var(--mf-color-brand);
  cursor: pointer;
}
.mt-slot-hover:hover { background: var(--mf-color-gray-300) !important; }

.mt-slot__time {
  font-size: var(--mf-text-lg);
  font-weight: 700;
  color: var(--mf-color-ink);
  line-height: 1.2em;
}
.mt-slot--full .mt-slot__time,
.mt-slot--past .mt-slot__time { color: var(--mf-color-gray-700); }
.mt-slot--full .mt-slot__time { text-decoration: line-through; }

.mt-slot__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: var(--mf-r-xs);
}
.mt-slot--free .mt-slot__dot    { background: var(--mf-color-success); }
.mt-slot--limited .mt-slot__dot { background: var(--mf-color-warning); }
.mt-slot--full .mt-slot__dot    { background: var(--mf-color-gray-700); }
.mt-slot--sel .mt-slot__dot     { background: var(--mf-color-brand); }

.mt-slot__capacity {
  font-size: var(--mf-text-sm);
  font-weight: 500;
  line-height: var(--mf-leading);
  color: var(--mf-color-gray-800);
}
.mt-slot--limited .mt-slot__capacity { color: var(--mf-color-warning); }
.mt-slot--sel .mt-slot__capacity     { color: var(--mf-color-brand); }


/* =============================================================
   8. SLOT CELLS (mobile)
   ============================================================= */

.mt-slot-m {
  position: relative;
  height: 72px;
  box-sizing: border-box;
  border-radius: var(--mf-r-md);
  border: 1px solid var(--mf-color-gray-400);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: default;
  background: var(--mf-color-base);
}
.mt-slot-m--free,
.mt-slot-m--limited,
.mt-slot-m--critical { cursor: pointer; }
.mt-slot-m--full    { background: var(--mf-color-gray-200); }
.mt-slot-m--past    { background: var(--mf-color-gray-200); }
.mt-slot-m--sel {
  border: 0;
  box-shadow: inset 0 0 0 2px var(--mf-color-brand);
  cursor: pointer;
}

.mt-slot-m__dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: var(--mf-r-xs);
}
.mt-slot-m--free .mt-slot-m__dot     { background: var(--mf-color-success); }
.mt-slot-m--limited .mt-slot-m__dot  { background: var(--mf-color-warning); }
.mt-slot-m--critical .mt-slot-m__dot { background: var(--mf-color-danger); } /* Added critical dot */
.mt-slot-m--full .mt-slot-m__dot     { background: var(--mf-color-gray-700); }
.mt-slot-m--sel .mt-slot-m__dot      { background: var(--mf-color-brand); }

.mt-slot-m__time {
  font-size: var(--mf-text-xl);
  font-weight: 700;
  line-height: var(--mf-leading);
  color: var(--mf-color-ink);
}
.mt-slot-m--full .mt-slot-m__time,
.mt-slot-m--past .mt-slot-m__time {
  text-decoration: line-through;
  color: var(--mf-color-gray-ccc);
}

.mt-slot-m__sub {
  font-size: var(--mf-text-sm);
  font-weight: 500;
  line-height: var(--mf-leading);
  color: var(--mf-color-gray-800);
}
.mt-slot-m--free .mt-slot-m__sub     { color: var(--mf-color-success); }
.mt-slot-m--limited .mt-slot-m__sub  { color: var(--mf-color-warning); }
.mt-slot-m--critical .mt-slot-m__sub { color: var(--mf-color-danger); }
.mt-slot-m--sel .mt-slot-m__sub      { color: var(--mf-color-brand); }


/* =============================================================
   9. BOOKING PANEL
   ============================================================= */

#mt-sep {
  display: none;
  padding: 20px;
  background: var(--mf-color-gray-200);
  border-top: 2px solid var(--mf-color-brand);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .1);
}

.mt-panel__label {
  font-size: var(--mf-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-color-gray-text);
  margin-bottom: 3px;
  line-height: var(--mf-leading);
}

#mt-sinfo {
  font-size: var(--mf-text-lg);
  font-weight: 600;
  color: var(--mf-color-ink);
  line-height: var(--mf-leading);
}

#mt-sdur {
  font-size: var(--mf-text-base);
  color: var(--mf-color-gray-text);
  margin-top: 2px;
  line-height: var(--mf-leading);
}

#mt-sprice {
  font-size: var(--mf-text-xl);
  font-weight: 700;
  color: var(--mf-color-brand);
  line-height: 1.2;
}

/* Qty stepper */
.mt-qty-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.mt-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-xs);
  background: var(--mf-color-base);
  cursor: pointer;
  font-size: var(--mf-text-sm);
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mf-color-ink);
  transition: border-color .15s, color .15s;
}
.mt-qty-btn:hover {
  border-color: var(--mf-color-brand);
  color: var(--mf-color-brand);
}
#mt-qty {
  font-size: var(--mf-text-sm);
  font-weight: 700;
  color: var(--mf-color-ink);
  min-width: 20px;
  text-align: center;
  line-height: var(--mf-leading);
}

/* Add to cart button */
.mt-btn-cart {
  background: var(--mf-color-brand);
  color: var(--mf-color-base);
  border: 0;
  padding: 9px 18px;
  border-radius: var(--mf-r-md);
  font-size: var(--mf-text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: inherit;
  min-height: 47px;
}
.mt-btn-cart:hover {
  background: var(--mf-color-brand-dark, #cc3000);
  transition: background 0.2s;
}
.mt-btn-cart--kassa:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  transition: background 0.2s;
}

@media (max-width: 767px) {
  .mt-btn-cart {
    min-height: auto;
  }
}

/* =============================================================
   10. CART PANEL (timer)
   ============================================================= */

#mt-crt {
  display: none;
  padding: 20px;
  background: var(--mf-color-gray-200);
  border-top: 2px solid var(--mf-color-brand);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, .1);
}

.mt-timer-box {
  background: var(--mf-color-base);
  border: 1px solid var(--mf-color-gray-500);
  border-radius: var(--mf-r-md);
  padding: 7px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mt-timer-box__label {
  font-size: var(--mf-text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mf-color-gray-800);
  margin-bottom: 2px;
  line-height: var(--mf-leading);
}
#mt-tmr {
  font-size: var(--mf-text-2xl);
  font-weight: 700;
  color: var(--mf-color-brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

#mt-cinfo {
  font-size: var(--mf-text-base);
  color: var(--mf-color-ink);
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 767px) {
  #mt-crt {
    padding-top: 10px;
  }
}

/* =============================================================
   11. RESPONSIVE
   ============================================================= */

@media (max-width: 767px) {
  .mt-toolbar { gap: 6px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  #mt-sinfo {
    font-size: var(--mf-text-md);
  }
}



/* =============================================================
   12. WEEKEND & HOLIDAY HIGHLIGHTING (UX)
   ============================================================= */

/* Desktop: highlight weekend day label (Sa, So) in accent color */
.mt-day-header--weekend:not(.mt-day-header--past) .mt-day-header__label {
  color: var(--mf-color-brand);
  opacity: 1;
}

/* Mobile: highlight weekend day label (Sa, So) in accent color */
.mt-day-btn--weekend:not(.mt-day-btn--past) .mt-day-btn__label {
  color: var(--mf-color-brand);
  opacity: 1;
}

/* Mobile: if day is selected (button turns accent), set text to white */
.mt-day-btn--weekend.mt-day-btn--active .mt-day-btn__label {
  color: var(--mf-color-base);
}

/* =============================================================
   13. CURRENT BOOKING (Reschedule UX)
   ============================================================= */

/* Desktop: blue square indicator for current booking */
.mt-slot--current {
  background: var(--mf-color-base);
  border-bottom: 1px solid var(--mf-color-info-dim);
  box-shadow: inset 0 0 0 2px var(--mf-color-info);
  cursor: pointer;
}
.mt-slot--current-chain {
  background: var(--mf-color-base);
  border-bottom: 1px solid var(--mf-color-info-dimmer);
  box-shadow:
    inset  2px 0 0 var(--mf-color-info),
    inset  0  2px 0 var(--mf-color-info),
    inset -2px 0 0 var(--mf-color-info);
  cursor: pointer;
}
.mt-slot--current .mt-slot__dot { background: var(--mf-color-info); }
.mt-slot--current .mt-slot__capacity { color: var(--mf-color-info); }

/* Mobile: blue square indicator for current booking */
.mt-slot-m--current {
  border: 0;
  box-shadow: inset 0 0 0 2px var(--mf-color-info);
  cursor: pointer;
}
.mt-slot-m--current .mt-slot-m__dot { background: var(--mf-color-info); }
.mt-slot-m--current .mt-slot-m__sub { 
  color: var(--mf-color-info); 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
}

/* =============================================================
   SPECIAL DATES
   ============================================================= */

.mt-day-header--closed {
  opacity: 0.45;
}

.mt-day-header__closed {
  color: var(--mf-color-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: var(--mf-leading);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Mobile special dates */
.mt-day-btn--closed {
  opacity: 0.45;
}

.mt-day-btn__closed {
  color: var(--mf-color-gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  font-weight: 700;
  line-height: 0.8em;
}

.mt-day-btn--active .mt-day-btn__closed {
  color: var(--mf-color-surface);
}

/* =============================================================
   RESCHEDULE BAR
   ============================================================= */

.mt-reschedule-bar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mt-reschedule-bar__info {
    text-align: right;
    color: var(--mf-color-gray-text);
    font-size: var(--mf-text-sm);
    line-height: var(--mf-leading);
}

.mt-reschedule-bar__value {
    color: var(--mf-color-brand);
}

.mt-cart-bar {
    display: flex;
    gap: 12px;
}

.mt-price-accent {
    color: var(--mf-color-brand);
    font-weight: 600;
}

@media (max-width: 767px) {
  #mt-sep {
    padding-top: 10px;
  }

  .mt-cart-bar {
      flex-wrap: wrap;
  }

  .mt-cart-bar__item:first-child {
    flex: 1;
  }

  .mt-cart-bar__item:last-child {
      margin-left: auto;
  }

  .mt-btn-cart {
      flex-basis: 100%;
  }
}

/* =============================================================
   SLOT AVAILABILITY COLORS
   ============================================================= */

/* Dot colors */
.mt-slot--free     .mt-slot__dot { background: var(--mf-color-success); }
.mt-slot--limited  .mt-slot__dot { background: var(--mf-color-warning); }
.mt-slot--critical .mt-slot__dot { background: var(--mf-color-danger); }
.mt-slot--critical { cursor: pointer; }
.mt-slot--full     .mt-slot__dot { background: var(--mf-color-gray-700); }

/* Time colors */
.mt-slot__time--limited,
.mt-slot-m--limited .mt-slot-m__time  { color: var(--mf-color-warning); }

.mt-slot__time--critical,
.mt-slot-m--critical .mt-slot-m__time { color: var(--mf-color-danger); }

.mt-slot__time--full,
.mt-slot-m--full .mt-slot-m__time     { color: var(--mf-color-gray-text); }

.mt-slot__time--sel,
.mt-slot__time--current,
.mt-slot-m--sel .mt-slot-m__time,
.mt-slot-m--current .mt-slot-m__time  { color: var(--mf-color-brand); }

/* Capacity colors — slightly dimmed */
.mt-slot__capacity--free     { color: var(--mf-color-success); }
.mt-slot__capacity--limited  { color: var(--mf-color-warning); }
.mt-slot__capacity--critical { color: var(--mf-color-danger); }
.mt-slot__capacity--sel,
.mt-slot__capacity--current  { color: var(--mf-color-brand); }


/* =============================================================
   14. POS PANEL (STAFF MODE)
   ============================================================= */

/* Wrapper: sinfo block + expand button + fields in one row */
.mt-pos-info-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Expand container: toggle button + inline fields */
.mt-pos-expand {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

/* Green kassa button */
.mt-btn-cart--kassa {
    background: #16a34a !important;
    border-color: #16a34a !important;
}
.mt-btn-cart--kassa:hover {
    background: #15803d !important;
    border-color: #15803d !important;
}

/* Toggle button */
.mt-pos-toggle-btn {
    background: transparent;
    border: 1px solid var(--mf-color-gray-500);
    border-radius: var(--mf-r-sm);
    color: var(--mf-color-gray-text);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.5em;
}
.mt-pos-toggle-btn:hover,
.mt-pos-toggle-btn.active {
    border-color: var(--mf-color-brand);
    color: var(--mf-color-brand);
}

/* Customer fields — hidden by default */
.mt-pos-fields {
    display: none;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.mt-pos-fields--open {
    display: flex;
}
.mt-pos-fields input {
    flex: 1;
    min-width: 170px;
    max-width: 200px;
    padding: 8px 10px;
    border: 1px solid var(--mf-color-gray-500);
    border-radius: var(--mf-r-sm);
    font-size: 13px;
    background: transparent;
    color: var(--mf-color-ink);
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.mt-pos-fields input:focus {
    border-color: var(--mf-color-brand);
}