@layer components {
  .v-matcha-front {
    section[id] {
      scroll-margin-top: 72px;
    }

    &.v-matcha-home {
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  }

  .brush-stroke {
    background: url("data:image/svg+xml,%3Csvg width='400' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6 Q20 2 40 6 Q60 10 80 5 Q120 1 160 7 Q200 11 240 5 Q280 2 320 7 Q360 10 400 6' stroke='%232C2C2C' stroke-width='0.8' fill='none' opacity='0.2'/%3E%3C/svg%3E") center/contain no-repeat;
    height: 12px;
  }

  .booking-seat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0;
    border: 1.5px solid #9B9188;
    border-radius: 8px;
    background: #FAF7F2;
    color: #6B6560;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: "lnum", "tnum";
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  }

  .booking-seat.available {
    cursor: pointer;
  }

  @media (hover: hover) and (pointer: fine) {
    .booking-seat.available:hover {
      border-color: #5B7A5E;
      background: #EAF0E8;
      color: #5B7A5E;
    }
  }

  .booking-seat.selected {
    border-color: #5B7A5E;
    background: #5B7A5E;
    color: #FAF7F2;
  }

  .booking-seat.unavailable {
    border-style: dashed;
    border-color: #C0BAB4;
    background: #E8E4DF;
    color: #C0BAB4;
  }

  .booking-seat[data-tooltip]::before,
  .booking-seat[data-tooltip]::after {
    position: absolute;
    left: 50%;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .booking-seat[data-tooltip]::before {
    content: "";
    bottom: calc(100% + 5px);
    border-width: 7px 7px 0;
    border-style: solid;
    border-color: #2C2C2C transparent transparent;
  }

  .booking-seat[data-tooltip]::after {
    content: attr(data-tooltip);
    bottom: calc(100% + 12px);
    width: max-content;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #2C2C2C;
    color: #FAF7F2;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: normal;
    box-shadow: 0 10px 24px rgba(44, 44, 44, 0.18);
  }

  .booking-seat[data-tooltip][data-seat]::after {
    white-space: pre-line;
  }

  .booking-seat.tooltip-open::before,
  .booking-seat.tooltip-open::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  @media (hover: hover) and (pointer: fine) {
    .booking-seat[data-tooltip]:hover::before,
    .booking-seat[data-tooltip]:hover::after,
    .booking-seat[data-tooltip]:focus-within::before,
    .booking-seat[data-tooltip]:focus-within::after {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .floor-seat,
  .seat--mini {
    aspect-ratio: 1 / 1;
    min-height: auto;
  }

  .seat-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    color: rgba(107, 101, 96, 0.6);
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-align: center;
  }

  .seat-legend__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .seat-legend .swatch {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: #C0BAB4;
  }

  .seat-legend .sep {
    color: rgba(107, 101, 96, 0.35);
  }

  .policy-note {
    border: 1px solid rgba(91, 122, 94, 0.18);
    border-radius: 8px;
    background: rgba(240, 235, 227, 0.55);
  }

  .policy-note .kanji {
    color: #5B7A5E;
    font-family: var(--font-jp);
    letter-spacing: 0;
    line-height: 1;
  }

  .policy-note__marker {
    display: inline-flex;
    min-width: 2.35rem;
    flex-direction: column;
    align-items: center;
    gap: 0.08rem;
    font-size: 1.5rem;
    text-align: center;
  }

  .policy-note__marker span {
    display: block;
  }

  .reservation-cta {
    border: 1px solid rgba(250, 247, 242, 0.45);
    border-radius: 8px !important;
    box-shadow:
      0 14px 32px rgba(44, 44, 44, 0.18),
      0 2px 8px rgba(44, 44, 44, 0.12);
  }

  .reservation-cta:hover {
    box-shadow:
      0 16px 36px rgba(44, 44, 44, 0.22),
      0 4px 12px rgba(44, 44, 44, 0.16);
  }

  .customer-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-sans);
  }

  .customer-menu__trigger {
    display: inline-flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    gap: 0.24rem;
    color: #6B6560;
    line-height: 1;
    transform: translateY(-0.1em);
    transition: color 0.15s ease;
  }

  .customer-menu__trigger:hover {
    color: #5B7A5E;
  }

  .customer-menu__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .customer-menu__icon svg {
    width: 0.95rem;
    height: 0.95rem;
  }

  .customer-menu__chevron {
    display: inline-block;
    width: 0.32rem;
    height: 0.32rem;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.15s ease;
  }

  .customer-menu[open] .customer-menu__chevron {
    transform: rotate(225deg) translate(-0.5px, -0.5px);
  }

  .customer-menu__trigger::-webkit-details-marker {
    display: none;
  }

  .customer-menu__panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    z-index: 40;
    min-width: 11rem;
    overflow: hidden;
    border: 1px solid rgba(107, 101, 96, 0.18);
    border-radius: 4px;
    background: #FAF7F2;
    box-shadow:
      0 18px 38px rgba(44, 44, 44, 0.12),
      0 4px 10px rgba(44, 44, 44, 0.08);
  }

  .customer-menu__item {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    color: #2C2C2C;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .customer-menu__item:hover {
    background: rgba(91, 122, 94, 0.1);
    color: #5B7A5E;
  }

  .customer-menu__button {
    border-top: 1px solid rgba(44, 44, 44, 0.07);
  }


  .language-menu__trigger {
    gap: 0.28rem;
  }

  .language-menu__flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1;
  }

  .language-menu__panel {
    min-width: 9.5rem;
  }

  .language-menu__panel form {
    margin: 0;
  }

  .language-menu__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
  }

  .language-menu__item.is-current {
    color: #5B7A5E;
    background: rgba(91, 122, 94, 0.08);
  }

  .reservation-summary {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(91, 122, 94, 0.18);
    border-radius: 8px;
    background: rgba(240, 235, 227, 0.55);
    padding: 1.5rem;
  }

  .reservation-summary > div {
    display: grid;
    grid-template-columns: minmax(120px, 0.8fr) 1fr;
    gap: 1rem;
    align-items: baseline;
    border-bottom: 1px solid rgba(44, 44, 44, 0.08);
    padding-bottom: 1rem;
  }

  .reservation-summary > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .reservation-summary dt {
    color: #6B6560;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .reservation-summary dd {
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.25rem;
  }

  .v-toast {
    display: flex;
    justify-content: flex-end;
  }

  .v-toast__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: min(360px, calc(100vw - 2rem));
    max-width: min(800px, calc(100vw - 2rem));
    border: 1px solid rgba(44, 44, 44, 0.12);
    border-radius: 4px;
    background: rgba(250, 247, 242, 0.96);
    padding: 1rem 1.125rem;
    box-shadow:
      0 18px 40px rgba(44, 44, 44, 0.14),
      0 4px 12px rgba(44, 44, 44, 0.08);
    backdrop-filter: blur(8px);
  }

  .v-toast__card--warning {
    border-color: rgba(197, 57, 47, 0.28);
  }

  .v-toast__card--info {
    border-color: rgba(91, 122, 94, 0.28);
  }

  .v-toast__message {
    flex: 1;
    color: #2C2C2C;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .v-toast__close {
    color: #6B6560;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.15s ease;
  }

  .v-toast__close:hover {
    color: #C5392F;
  }

  @media (max-width: 767px) {
    &:not(.v-matcha-staff):not(:has([data-controller~="reservation-booking"])) footer {
      margin-bottom: 2rem;
    }
  }

  @media (max-width: 640px) {
    .customer-menu__trigger {
      gap: 0.2rem;
    }

    .customer-menu__icon svg {
      width: 0.9rem;
      height: 0.9rem;
    }

    .customer-menu__chevron {
      width: 0.28rem;
      height: 0.28rem;
    }

    .customer-menu__panel {
      min-width: 10rem;
    }

    .language-menu__panel {
      min-width: 8.5rem;
    }

    .language-menu__flag {
      min-width: 1rem;
      font-size: 0.9rem;
    }
  }

.date-pill-list {
    --date-pill-columns: 4;
    --date-pill-gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--date-pill-gap);
    width: 100%;
  }

  .date-pill {
    width: calc((100% - (var(--date-pill-columns) - 1) * var(--date-pill-gap)) / var(--date-pill-columns));
    min-width: 0;
    border: 1px solid rgba(107, 101, 96, 0.3);
    border-radius: 8px;
    background: rgba(250, 247, 242, 0.35);
    padding: 1rem 0.5rem;
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .date-pill:hover {
    border-color: rgba(91, 122, 94, 0.5);
    color: #5B7A5E;
  }

  .date-pill.selected {
    border-color: #2C2C2C;
    background: #2C2C2C;
    color: #FAF7F2;
  }

  .v-matcha-field {
    margin-bottom: 1rem;
  }

  .v-matcha-field__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2C2C2C;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .v-matcha-field__input {
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid rgba(107, 101, 96, 0.38);
    border-radius: 8px;
    background: rgba(250, 247, 242, 0.82);
    padding: 0.875rem 1rem;
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  }

  .v-matcha-field__input::placeholder {
    color: rgba(107, 101, 96, 0.48);
  }

  .v-matcha-field__input:focus {
    border-color: #5B7A5E;
    background: #FAF7F2;
    box-shadow: 0 0 0 3px rgba(91, 122, 94, 0.14);
    outline: none;
  }

  .v-matcha-field__error {
    margin-top: 0.45rem;
    color: #C5392F;
    font-family: var(--font-sans);
    font-size: 0.875rem;
  }

  .v-matcha-field--invalid .v-matcha-field__input,
  .v-matcha-field--invalid .v-matcha-select__trigger {
    border-color: #C5392F;
  }

  .v-matcha-field--invalid .v-matcha-field__input:focus,
  .v-matcha-field--invalid .v-matcha-select__trigger:focus {
    box-shadow: 0 0 0 3px rgba(197, 57, 47, 0.14);
  }

  /* Native <select> for the booking time slot — bulletproof on old Safari,
     styled to match the surrounding fields (chevron via background SVG). */
  .v-matcha-native-select {
    display: block;
    width: 100%;
    min-height: 3.25rem;
    border: 1px solid rgba(107, 101, 96, 0.38);
    border-radius: 8px;
    background-color: rgba(250, 247, 242, 0.82);
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6560' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.7rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  }

  .v-matcha-native-select:focus {
    border-color: #5B7A5E;
    background-color: #FAF7F2;
    box-shadow: 0 0 0 3px rgba(91, 122, 94, 0.14);
    outline: none;
  }

  .v-matcha-native-select:disabled {
    cursor: not-allowed;
    border-color: rgba(107, 101, 96, 0.22);
    background-color: rgba(232, 228, 223, 0.58);
    color: rgba(107, 101, 96, 0.55);
  }

  .v-matcha-field--invalid .v-matcha-native-select {
    border-color: #C5392F;
  }

  .v-matcha-select {
    position: relative;
  }

  .v-matcha-select__trigger {
    display: flex;
    width: 100%;
    min-height: 3.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(107, 101, 96, 0.38);
    border-radius: 8px;
    background: rgba(250, 247, 242, 0.82);
    padding: 0.875rem 1rem;
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    text-align: left;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  }

  .v-matcha-select__trigger:focus {
    border-color: #5B7A5E;
    background: #FAF7F2;
    box-shadow: 0 0 0 3px rgba(91, 122, 94, 0.14);
    outline: none;
  }

  .v-matcha-select.is-disabled .v-matcha-select__trigger,
  .v-matcha-select__trigger:disabled {
    cursor: not-allowed;
    border-color: rgba(107, 101, 96, 0.22);
    background: rgba(232, 228, 223, 0.58);
    color: rgba(107, 101, 96, 0.55);
    box-shadow: none;
  }

  .v-matcha-select__label.is-placeholder {
    color: rgba(107, 101, 96, 0.48);
  }

  .v-matcha-select__chevron {
    display: inline-block;
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.1rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    color: #6B6560;
    font-size: 0;
    transform: rotate(45deg) translate(-1px, -1px);
    transform-origin: center;
    transition: transform 0.15s ease;
  }

  .v-matcha-select.is-open .v-matcha-select__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .v-matcha-select__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 30;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(107, 101, 96, 0.2);
    border-radius: 8px;
    background: #FAF7F2;
    box-shadow:
      0 18px 40px rgba(44, 44, 44, 0.12),
      0 4px 12px rgba(44, 44, 44, 0.08);
    padding: 0.5rem;
  }

  .v-matcha-select__option {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    border-radius: 6px;
    padding: 0.58rem 0.75rem 0.58rem 1.75rem;
    color: #2C2C2C;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.35;
    text-align: left;
    transition: background-color 0.15s ease, color 0.15s ease;
  }

  .v-matcha-select__option.is-selected::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 0.55rem;
    color: currentColor;
    line-height: 1;
    transform: translateY(-52%);
  }

  .v-matcha-select__option:hover,
  .v-matcha-select__option.is-selected {
    background: rgba(91, 122, 94, 0.1);
    color: #5B7A5E;
  }

  .v-matcha-select__option + .v-matcha-select__option {
    border-top: 0;
  }

  .v-matcha-submit {
    min-width: 16rem;
    border-radius: 8px;
    background: #5B7A5E;
    padding: 0.95rem 2.5rem;
    color: #FAF7F2;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow:
      0 14px 28px rgba(91, 122, 94, 0.2),
      0 3px 8px rgba(44, 44, 44, 0.08);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  }

  .v-matcha-submit:hover {
    background: #8FA88E;
    box-shadow:
      0 16px 32px rgba(91, 122, 94, 0.22),
      0 4px 10px rgba(44, 44, 44, 0.1);
  }

  .v-matcha-submit:active {
    transform: translateY(1px);
  }

  .reservation-history-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(91, 122, 94, 0.18);
    border-radius: 8px;
    background: rgba(240, 235, 227, 0.45);
    padding: 1rem 1.15rem;
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }

  .reservation-history-card:hover {
    border-color: rgba(91, 122, 94, 0.42);
    background: rgba(240, 235, 227, 0.72);
  }

  .reservation-history-card div {
    display: grid;
    gap: 0.18rem;
    color: #6B6560;
    font-family: var(--font-sans);
    font-size: 0.8rem;
  }

  .reservation-history-card strong {
    color: #2C2C2C;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
  }

  @media (max-width: 640px) {
    .policy-note {
      gap: 0.75rem;
      padding-inline: 1rem;
    }

    .policy-note__marker {
      min-width: 2rem;
      font-size: 1.35rem;
    }

    .policy-note p {
      line-height: 1.55;
    }

    .date-pill-list {
      --date-pill-columns: 2;
      --date-pill-gap: 0.75rem;
    }

    .date-pill {
      padding-inline: 0.25rem;
      font-size: clamp(0.82rem, 4vw, 0.95rem);
    }

    .v-matcha-select__trigger {
      gap: 0.75rem;
      padding-inline: 0.9rem;
    }

    .v-matcha-select__option {
      gap: 0.75rem;
      padding: 0.58rem 0.75rem 0.58rem 1.75rem;
      font-size: 0.92rem;
    }

    .reservation-summary {
      padding: 1.15rem;
    }

    .reservation-summary > div {
      grid-template-columns: 1fr;
      gap: 0.35rem;
      align-items: start;
    }
  }
  }
}

@layer components {
  .v-matcha-front {
    .reservation-history-filter {
      border: 1px solid rgba(91, 122, 94, 0.16);
      border-radius: 8px;
      background: rgba(250, 247, 242, 0.64);
      padding: 1rem;
      box-shadow: 0 14px 34px rgba(44, 44, 44, 0.045);
    }

    .reservation-history-filter__grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.7rem;
    }

    .reservation-history-filter .v-matcha-field {
      margin-bottom: 0;
    }

    .reservation-history-filter .v-matcha-field__label {
      margin-bottom: 0.28rem;
      color: rgba(107, 101, 96, 0.86);
      font-size: 0.68rem;
      letter-spacing: 0.1em;
      line-height: 1.1;
      text-transform: uppercase;
    }

    .reservation-history-filter .v-matcha-field__input,
    .reservation-history-filter__control {
      min-height: 2.45rem;
      border-color: rgba(107, 101, 96, 0.24);
      border-radius: 8px;
      background-color: rgba(255, 252, 247, 0.86);
      padding: 0.45rem 0.78rem;
      color: #2C2C2C;
      font-family: var(--font-sans);
      font-size: 0.82rem;
      line-height: 1.25;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    }

    .reservation-history-filter .v-matcha-field__input:focus,
    .reservation-history-filter__control:focus {
      border-color: rgba(91, 122, 94, 0.54);
      background-color: rgba(255, 252, 247, 0.98);
      box-shadow: 0 0 0 3px rgba(91, 122, 94, 0.11);
      outline: none;
    }

    .reservation-history-filter__select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.25 1.5 6 6.25 10.75 1.5' fill='none' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-position: right 0.78rem center;
      background-repeat: no-repeat;
      background-size: 0.62rem auto;
      padding-right: 2rem;
    }

    .reservation-history-filter__actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.85rem;
      margin-top: 0.8rem;
    }

    .reservation-history-filter__submit {
      min-width: 7.5rem;
      min-height: 2.35rem;
      border-radius: 8px;
      padding: 0.52rem 1.05rem;
      font-size: 0.66rem;
      letter-spacing: 0.14em;
      box-shadow: 0 8px 18px rgba(91, 122, 94, 0.18);
    }

    .reservation-history-filter__reset {
      color: #6B6560;
      font-family: var(--font-sans);
      font-size: 0.76rem;
      text-decoration: underline;
      text-underline-offset: 0.24rem;
      transition: color 0.15s ease;
    }

    .reservation-history-filter__reset:hover {
      color: #5B7A5E;
    }

    .reservation-history-card {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      align-items: center;
      gap: 0.85rem;
      border: 1px solid rgba(107, 101, 96, 0.14);
      border-radius: 8px;
      background: rgba(250, 247, 242, 0.68);
      padding: 1.15rem 1rem 0.88rem;
      box-shadow: 0 12px 30px rgba(44, 44, 44, 0.04);
      transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    }

    .reservation-history-list {
      display: grid;
      gap: 1.35rem;
    }

    .reservation-history-card--checked_in {
      border-color: rgba(91, 122, 94, 0.32);
    }

    .reservation-history-card--confirmed {
      border-color: rgba(198, 123, 92, 0.36);
    }

    .reservation-history-card--pending {
      border-color: rgba(107, 101, 96, 0.26);
    }

    .reservation-history-card--cancelled {
      border-color: rgba(197, 57, 47, 0.28);
    }

    .reservation-history-card__status {
      position: absolute;
      top: 0;
      right: 0.9rem;
      transform: translateY(-50%);
      box-shadow: 0 6px 16px rgba(44, 44, 44, 0.06);
    }

    .reservation-history-card:hover {
      border-color: rgba(91, 122, 94, 0.36);
      background: rgba(250, 247, 242, 0.92);
      transform: translateY(-1px);
    }

    .reservation-history-card__main {
      display: grid;
      grid-template-columns: minmax(9rem, 1.05fr) minmax(6.5rem, 0.65fr) minmax(9rem, 1fr);
      gap: 0.8rem;
      min-width: 0;
    }

    .reservation-history-card__item,
    .reservation-history-card__meta {
      display: grid;
      gap: 0.14rem;
      min-width: 0;
    }

    .reservation-history-card__item span {
      color: rgba(107, 101, 96, 0.78);
      font-family: var(--font-sans);
      font-size: 0.66rem;
      letter-spacing: 0.12em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    .reservation-history-card__item strong {
      overflow: hidden;
      color: #2C2C2C;
      font-family: var(--font-serif);
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .reservation-history-card__item small {
      overflow: hidden;
      color: #6B6560;
      font-family: var(--font-sans);
      font-size: 0.74rem;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .reservation-history-card__meta {
      justify-items: end;
      text-align: right;
    }

    .reservation-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(107, 101, 96, 0.22);
      border-radius: 999px;
      background: #FAF7F2;
      padding: 0.28rem 0.64rem;
      color: #6B6560;
      font-family: var(--font-sans);
      font-size: 0.66rem;
      line-height: 1;
      white-space: nowrap;
    }

    .reservation-status--checked_in {
      border-color: rgba(91, 122, 94, 0.32);
      color: #5B7A5E;
      background:
        linear-gradient(rgba(91, 122, 94, 0.08), rgba(91, 122, 94, 0.08)),
        #FAF7F2;
    }

    .reservation-status--confirmed {
      border-color: rgba(198, 123, 92, 0.34);
      color: #A76545;
      background:
        linear-gradient(rgba(198, 123, 92, 0.09), rgba(198, 123, 92, 0.09)),
        #FAF7F2;
    }

    .reservation-status--pending {
      border-color: rgba(107, 101, 96, 0.28);
      background:
        linear-gradient(rgba(245, 240, 232, 0.72), rgba(245, 240, 232, 0.72)),
        #FAF7F2;
    }

    .reservation-status--cancelled {
      border-color: rgba(197, 57, 47, 0.28);
      color: #C5392F;
      background:
        linear-gradient(rgba(197, 57, 47, 0.06), rgba(197, 57, 47, 0.06)),
        #FAF7F2;
    }

    .reservation-history-pagination {
      display: flex;
      justify-content: center;
    }

    .reservation-history-pagination nav.pagy,
    .reservation-history-pagination .pagy {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      border: 1px solid rgba(107, 101, 96, 0.12);
      border-radius: 8px;
      background: rgba(250, 247, 242, 0.58);
      padding: 0.34rem;
      color: #6B6560;
      font-family: var(--font-sans);
      font-size: 0.78rem;
      font-weight: 500;
      box-shadow: 0 12px 28px rgba(44, 44, 44, 0.045);
    }

    .reservation-history-pagination .pagy > :not([hidden]) ~ :not([hidden]) {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .reservation-history-pagination .pagy a:not([role="separator"]) {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      min-width: 2.15rem;
      height: 2.15rem;
      border: 1px solid transparent !important;
      border-radius: 8px !important;
      background: transparent !important;
      padding: 0 0.65rem !important;
      color: #6B6560 !important;
      line-height: 1;
      text-decoration: none !important;
      transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    }

    .reservation-history-pagination .pagy a:not([role="separator"]):first-child,
    .reservation-history-pagination .pagy a:not([role="separator"]):last-child {
      align-items: flex-start;
      padding-top: 0.48rem !important;
    }

    .reservation-history-pagination .pagy a:not([role="separator"]):hover {
      border-color: rgba(91, 122, 94, 0.24) !important;
      background: rgba(91, 122, 94, 0.08) !important;
      color: #5B7A5E !important;
      transform: translateY(-1px);
    }

    .reservation-history-pagination .pagy a:not([role="separator"])[aria-current] {
      border-color: #5B7A5E !important;
      background: #5B7A5E !important;
      color: #FAF7F2 !important;
      box-shadow: 0 8px 18px rgba(91, 122, 94, 0.2);
    }

    .reservation-history-pagination .pagy a:not([role="separator"]):not([href]) {
      cursor: default;
      opacity: 0.35;
      transform: none;
    }

    .reservation-history-pagination .pagy a[role="separator"] {
      padding: 0 0.15rem;
      color: rgba(107, 101, 96, 0.45);
    }

    @media (max-width: 640px) {
      .reservation-history-filter {
        padding: 1rem;
      }

      .reservation-history-filter__grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
      }

      .reservation-history-filter__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.6rem;
      }

      .reservation-history-filter__submit {
        width: 100%;
      }

      .reservation-history-filter__reset {
        text-align: center;
      }

      .reservation-history-card {
        grid-template-columns: 1fr;
        gap: 0.65rem;
        padding: 1.08rem 0.82rem 0.82rem;
      }

      .reservation-history-card__main {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
        column-gap: 0.7rem;
        row-gap: 0.5rem;
      }

      .reservation-history-card__item,
      .reservation-history-card__item--date,
      .reservation-history-card__item:nth-child(2),
      .reservation-history-card__item:nth-child(3) {
        order: initial;
        grid-column: auto;
        border-top: 0;
        padding-top: 0;
      }

      .reservation-history-card__item:first-child {
        grid-column: 1 / -1;
        display: flex;
        align-items: baseline;
        gap: 0.4rem;
      }

      .reservation-history-card__item:first-child strong,
      .reservation-history-card__item:first-child small {
        min-width: 0;
      }

      .reservation-history-card__item:first-child strong {
        flex: 0 1 auto;
        max-width: 58%;
      }

      .reservation-history-card__item:first-child small {
        flex: 1 1 auto;
      }

      .reservation-history-card__item:first-child small::before {
        content: "- ";
      }

      .reservation-history-card__item span {
        font-size: 0.56rem;
        letter-spacing: 0.1em;
      }

      .reservation-history-card__item strong {
        font-size: 0.9rem;
      }

      .reservation-history-card__item small {
        font-size: 0.66rem;
      }

      .reservation-history-card__meta {
        order: -1;
        justify-items: start;
        text-align: left;
      }
    }
  }
}

.v-matcha-front .reservation-history-card__meta {
  display: none;
}

@media (max-width: 860px) {
  .v-matcha-front .reservation-history-card {
    grid-template-columns: 1fr;
    padding: 1.08rem 0.82rem 0.82rem;
  }

  .v-matcha-front .reservation-history-card__main {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
    column-gap: 0.7rem;
    row-gap: 0.5rem;
  }

  .v-matcha-front .reservation-history-card__item:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }

  .v-matcha-front .reservation-history-card__item:first-child strong,
  .v-matcha-front .reservation-history-card__item:first-child small {
    min-width: 0;
  }

  .v-matcha-front .reservation-history-card__item:first-child strong {
    flex: 0 1 auto;
    max-width: 58%;
  }

  .v-matcha-front .reservation-history-card__item:first-child small {
    flex: 1 1 auto;
  }

  .v-matcha-front .reservation-history-card__item:first-child small::before {
    content: "- ";
  }
}


/* Reservation history custom select: scoped outside @layer to keep it above form/base styles. */
.v-matcha-front .reservation-history-custom-select {
  position: relative;
  width: 100%;
  color: #2C2C2C;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.v-matcha-front .reservation-history-custom-select.is-open {
  z-index: 90;
}

.v-matcha-front .reservation-history-custom-select .custom-select__trigger {
  display: flex;
  width: 100%;
  min-height: 2.45rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid rgba(107, 101, 96, 0.24);
  border-radius: 8px;
  background: rgba(255, 252, 247, 0.96);
  padding: 0.45rem 0.9rem 0.45rem 0.78rem;
  color: #2C2C2C;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.v-matcha-front .reservation-history-custom-select .custom-select__trigger:focus,
.v-matcha-front .reservation-history-custom-select.is-open .custom-select__trigger {
  border-color: #5B7A5E;
  background: rgba(255, 252, 247, 0.98);
  outline: none;
  box-shadow:
    0 0 0 4px rgba(91, 122, 94, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.v-matcha-front .reservation-history-custom-select .custom-select__trigger span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-matcha-front .reservation-history-custom-select .custom-select__chevron {
  display: inline-block;
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid #6B6560;
  border-bottom: 1.5px solid #6B6560;
  transform: translateY(-20%) rotate(45deg);
  transition: transform 0.15s ease;
}

.v-matcha-front .reservation-history-custom-select.is-open .custom-select__chevron {
  transform: translateY(20%) rotate(225deg);
}

.v-matcha-front .reservation-history-custom-select .custom-select__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 100;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(107, 101, 96, 0.2);
  border-radius: 8px;
  background: #FAF7F2;
  padding: 0.5rem;
  color: #2C2C2C;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  box-shadow:
    0 18px 40px rgba(44, 44, 44, 0.12),
    0 4px 12px rgba(44, 44, 44, 0.08);
}

.v-matcha-front .reservation-history-custom-select .custom-select__option {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  border-radius: 6px;
  padding: 0.58rem 0.75rem 0.58rem 1.75rem;
  color: #2C2C2C;
  font-family: var(--font-sans);
  line-height: 1.35;
  text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.v-matcha-front .reservation-history-custom-select .custom-select__option.is-selected::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 0.55rem;
  color: currentColor;
  line-height: 1;
  transform: translateY(-52%);
}

.v-matcha-front .reservation-history-custom-select .custom-select__option:hover,
.v-matcha-front .reservation-history-custom-select .custom-select__option:focus,
.v-matcha-front .reservation-history-custom-select .custom-select__option.is-selected {
  background: rgba(91, 122, 94, 0.1);
  color: #5B7A5E;
  outline: none;
}

/* Reservation history date picker */
.v-matcha-front .reservation-history-filter .reservation-history-date-picker,
.v-matcha-front .reservation-history-filter .reservation-history-date-picker.flatpickr-input {
  width: 100%;
  min-height: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(107, 101, 96, 0.24);
  border-radius: 8px;
  background-color: rgba(255, 252, 247, 0.86);
  padding: 0.45rem 0.78rem;
  color: #2C2C2C;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.v-matcha-front .reservation-history-filter .reservation-history-date-picker::placeholder {
  color: rgba(107, 101, 96, 0.48);
}

.v-matcha-front .reservation-history-filter .reservation-history-date-picker:focus {
  border-color: #5B7A5E;
  background: rgba(255, 252, 247, 0.98);
  box-shadow:
    0 0 0 4px rgba(91, 122, 94, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  outline: none;
}

.v-matcha-front .flatpickr-calendar {
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  border: 1px solid rgba(107, 101, 96, 0.2);
  border-radius: 8px;
  background: #FAF7F2;
  color: #2C2C2C;
  font-family: var(--font-sans);
  box-shadow:
    0 18px 40px rgba(44, 44, 44, 0.12),
    0 4px 12px rgba(44, 44, 44, 0.08);
}

.v-matcha-front .flatpickr-calendar::before,
.v-matcha-front .flatpickr-calendar::after {
  display: none;
}

.v-matcha-front .flatpickr-months {
  padding-top: 0.35rem;
}

.v-matcha-front .flatpickr-months .flatpickr-month {
  color: #2C2C2C;
  fill: #2C2C2C;
}

.v-matcha-front .flatpickr-current-month {
  color: #2C2C2C;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.v-matcha-front .flatpickr-current-month input.cur-year {
  font-family: var(--font-serif);
  font-weight: 500;
}

.v-matcha-front .flatpickr-weekday {
  color: rgba(107, 101, 96, 0.78);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.v-matcha-front .flatpickr-day {
  border-radius: 6px;
  color: #2C2C2C;
  font-family: var(--font-sans);
}

.v-matcha-front .flatpickr-day:hover,
.v-matcha-front .flatpickr-day:focus {
  border-color: rgba(91, 122, 94, 0.1);
  background: rgba(91, 122, 94, 0.1);
  color: #5B7A5E;
}

.v-matcha-front .flatpickr-day.today {
  border-color: rgba(91, 122, 94, 0.45);
}

.v-matcha-front .flatpickr-day.selected,
.v-matcha-front .flatpickr-day.startRange,
.v-matcha-front .flatpickr-day.endRange {
  border-color: #5B7A5E;
  background: #5B7A5E;
  color: #FAF7F2;
}

.v-matcha-front .flatpickr-day.prevMonthDay,
.v-matcha-front .flatpickr-day.nextMonthDay {
  color: rgba(107, 101, 96, 0.35);
}

/* Reservation history date picker clear button */
.v-matcha-front .reservation-history-filter .v-matcha-field--with-date-clear {
  position: relative;
}

.v-matcha-front .reservation-history-filter .v-matcha-field--with-date-clear .reservation-history-date-picker {
  padding-right: 2.25rem;
}

.v-matcha-front .reservation-history-date-picker__clear {
  position: absolute;
  right: 0.65rem;
  bottom: 0.74rem;
  z-index: 2;
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(107, 101, 96, 0.78);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.v-matcha-front .reservation-history-date-picker__clear:hover,
.v-matcha-front .reservation-history-date-picker__clear:focus {
  background: rgba(91, 122, 94, 0.1);
  color: #5B7A5E;
  outline: none;
}

.v-matcha-front .reservation-history-date-picker__clear.hidden {
  display: none;
}

/* Flatpickr navigation polish */
.v-matcha-front .flatpickr-months .flatpickr-prev-month,
.v-matcha-front .flatpickr-months .flatpickr-next-month {
  top: 0.65rem;
  height: 1.8rem;
  padding: 0.42rem;
  color: #2C2C2C;
  fill: #2C2C2C;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease, fill 0.15s ease;
}

.v-matcha-front .flatpickr-months .flatpickr-prev-month:hover,
.v-matcha-front .flatpickr-months .flatpickr-next-month:hover,
.v-matcha-front .flatpickr-months .flatpickr-prev-month:focus,
.v-matcha-front .flatpickr-months .flatpickr-next-month:focus {
  background: rgba(91, 122, 94, 0.1);
  color: #5B7A5E;
  fill: #5B7A5E;
  outline: none;
}

.v-matcha-front .flatpickr-months .flatpickr-prev-month:hover svg,
.v-matcha-front .flatpickr-months .flatpickr-next-month:hover svg,
.v-matcha-front .flatpickr-months .flatpickr-prev-month:focus svg,
.v-matcha-front .flatpickr-months .flatpickr-next-month:focus svg {
  fill: #5B7A5E;
}

.v-matcha-front .flatpickr-months .flatpickr-prev-month svg,
.v-matcha-front .flatpickr-months .flatpickr-next-month svg {
  width: 0.82rem;
  height: 0.82rem;
}

.v-matcha-front .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.v-matcha-front .flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.v-matcha-front .flatpickr-current-month .numInputWrapper:hover {
  background: rgba(91, 122, 94, 0.08);
  border-radius: 8px;
}

/* Use flatpickr static month header instead of native select dropdown. */
.v-matcha-front .flatpickr-current-month span.cur-month {
  margin-left: 0;
  padding: 0 0.15rem;
  font-family: var(--font-serif);
  font-weight: 500;
}

.v-matcha-front .flatpickr-current-month span.cur-month:hover {
  background: transparent;
}

/* Staff area */
.v-matcha-front .staff-header {
  border-bottom: 1px solid rgba(245, 240, 225, 0.95);
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
}

.v-matcha-front .staff-header__inner {
  display: flex;
  max-width: 72rem;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
}

.v-matcha-front .staff-header__brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #2C2C2C;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.v-matcha-front .staff-header__logo {
  width: 3.25rem;
}

.v-matcha-front .staff-header__nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #6B6560;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.v-matcha-front .staff-header__nav a,
.v-matcha-front .staff-header__logout {
  transition: color 0.15s ease;
}

.v-matcha-front .staff-header__nav a:hover,
.v-matcha-front .staff-header__logout:hover {
  color: #5B7A5E;
}

.v-matcha-front .staff-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.v-matcha-front .staff-dashboard-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 13rem;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  border: 1px solid rgba(107, 101, 96, 0.16);
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.72);
  padding: 1rem 1.4rem 1.3rem;
  box-shadow: 0 18px 42px rgba(44, 44, 44, 0.06);
  transition: border-color 0.15s ease, transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.v-matcha-front .staff-dashboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.48), transparent 38%),
    linear-gradient(180deg, var(--staff-card-tint, rgba(91, 122, 94, 0.08)), rgba(250, 247, 242, 0.58));
}

.v-matcha-front .staff-dashboard-card > * {
  position: relative;
  z-index: 1;
}

.v-matcha-front .staff-dashboard-card__icon,
.v-matcha-front .staff-dashboard-card strong,
.v-matcha-front .staff-dashboard-card small {
  transform: translateY(-0.45rem);
}

.v-matcha-front .staff-dashboard-card--check-in {
  --staff-card-tint: rgba(91, 122, 94, 0.14);
  border-color: rgba(91, 122, 94, 0.2);
}

.v-matcha-front .staff-dashboard-card--find-seat {
  --staff-card-tint: rgba(183, 151, 95, 0.16);
  border-color: rgba(183, 151, 95, 0.2);
}

.v-matcha-front .staff-dashboard-card--points {
  --staff-card-tint: rgba(197, 57, 47, 0.09);
  border-color: rgba(197, 57, 47, 0.14);
}

.v-matcha-front .staff-dashboard-card--cancel {
  --staff-card-tint: rgba(197, 57, 47, 0.1);
  border-color: rgba(197, 57, 47, 0.16);
}

.v-matcha-front .staff-dashboard-card--cancel .staff-dashboard-card__icon {
  color: #C5392F;
}

.v-matcha-front .staff-dashboard-card--settings {
  --staff-card-tint: rgba(107, 101, 96, 0.1);
  border-color: rgba(107, 101, 96, 0.2);
}

.v-matcha-front .staff-dashboard-card:hover {
  border-color: rgba(91, 122, 94, 0.34);
  background: rgba(250, 247, 242, 0.96);
  box-shadow: 0 22px 46px rgba(44, 44, 44, 0.09);
  transform: translateY(-2px);
}

.v-matcha-front .staff-dashboard-card.is-disabled {
  opacity: 0.66;
  pointer-events: none;
}

.v-matcha-front .staff-dashboard-card__icon {
  align-self: end;
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  justify-self: center;
  color: #5B7A5E;
}

.v-matcha-front .staff-dashboard-card__icon svg {
  width: 2rem;
  height: 2rem;
}

.v-matcha-front .staff-dashboard-card strong {
  align-self: center;
  color: #2C2C2C;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.05;
}

.v-matcha-front .staff-dashboard-card small {
  align-self: start;
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.6;
  padding-top: 0.55rem;
}

.v-matcha-front .staff-reservation-filter__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.v-matcha-front .staff-reservation-filter .reservation-history-filter__actions {
  align-items: stretch;
  flex-direction: column;
}

.v-matcha-front .staff-reservation-filter .reservation-history-filter__submit {
  width: 100%;
}

.v-matcha-front .staff-reservation-filter__toggle-row {
  display: flex;
  justify-content: center;
  margin-top: 0.75rem;
}

.v-matcha-front .staff-reservation-filter__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #5B7A5E !important;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  cursor: pointer;
  transition: color 0.15s ease;
}

.v-matcha-front .staff-reservation-filter__toggle:focus,
.v-matcha-front .staff-reservation-filter__toggle:active,
.v-matcha-front .staff-reservation-filter__toggle[aria-expanded="true"] {
  color: #5B7A5E !important;
  outline: none;
}

.v-matcha-front .staff-reservation-filter__toggle:hover {
  color: #5B7A5E !important;
}

.v-matcha-front .staff-reservation-filter__toggle-icon {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 0.15s ease;
}

.v-matcha-front .staff-reservation-filter__toggle[aria-expanded="true"] .staff-reservation-filter__toggle-icon {
  transform: translateY(0.12rem) rotate(225deg);
}

.v-matcha-front .staff-reservation-filter__advanced {
  margin-top: 0.85rem;
}

.v-matcha-front .staff-reservation-list {
  display: grid;
  gap: 1.35rem;
}

.v-matcha-front .staff-reservation-card {
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 0.9rem;
}

.v-matcha-front .staff-reservation-card--confirmed {
  border-color: rgba(91, 122, 94, 0.32);
}

.v-matcha-front .staff-reservation-card--checked_in {
  border-color: rgba(198, 123, 92, 0.36);
}

.v-matcha-front .staff-reservation-card--pending {
  border-color: rgba(107, 101, 96, 0.26);
}

.v-matcha-front .staff-reservation-card--cancelled {
  border-color: rgba(197, 57, 47, 0.28);
}

.v-matcha-front .staff-reservation-card__status {
  right: 0.9rem;
}

.v-matcha-front .staff-reservation-card__main {
  grid-template-columns: minmax(9rem, 1.05fr) minmax(6.5rem, 0.65fr) minmax(9rem, 1fr);
}

.v-matcha-front .staff-reservation-card__actions {
  display: grid;
  justify-items: end;
  gap: 0.6rem;
  width: 12rem;
}

.v-matcha-front .staff-reservation-card__hint {
  color: rgba(107, 101, 96, 0.78);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v-matcha-front .staff-action-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.v-matcha-front .staff-action {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 101, 96, 0.18);
  border-radius: 8px;
  padding: 0.42rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.v-matcha-front .staff-action--primary {
  border-color: rgba(91, 122, 94, 0.36);
  background: rgba(91, 122, 94, 0.92);
  color: #FAF7F2;
}

.v-matcha-front .staff-action--primary:hover {
  background: #5B7A5E;
}

.v-matcha-front .staff-action--danger {
  border-color: rgba(197, 57, 47, 0.24);
  color: #C5392F;
}

.v-matcha-front .staff-action--danger:hover {
  background: rgba(197, 57, 47, 0.07);
}

.v-matcha-front .staff-action--ghost {
  color: #6B6560;
}

.v-matcha-front .staff-action--ghost:hover {
  border-color: rgba(91, 122, 94, 0.3);
  color: #5B7A5E;
}

/* Booking-success actions (see docs/design-language.md §6). */

/* Forward action — quiet matcha text link. */
.v-matcha-front .reservation-history-link {
  padding: 0;
  border: none;
  background: transparent;
  color: #5B7A5E;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.18s ease;
}

.v-matcha-front .reservation-history-link:hover {
  color: #8FA88E;
}

/* Destructive action — red outline button (8px); fills solid red on the confirm tap. */
.v-matcha-front .reservation-cancel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.75rem;
  border: 1px solid rgba(197, 57, 47, 0.45);
  border-radius: 8px;
  background: transparent;
  color: #C5392F;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.v-matcha-front .reservation-cancel-button:hover {
  border-color: #C5392F;
  background: rgba(197, 57, 47, 0.06);
}

/* Two-tap confirm ("Xác nhận huỷ?"): solid red fill. */
.v-matcha-front .reservation-cancel-button.is-armed {
  background: #C5392F;
  border-color: #C5392F;
  color: #FAF7F2;
}

/* Upcoming-reservation card — flat & paper, anchored by a time chip (echoes the old check-in card). */
.v-matcha-front .upcoming-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(44, 44, 44, 0.1);
  border-radius: 8px;
  background: rgba(245, 240, 225, 0.4);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.v-matcha-front .upcoming-card:hover {
  border-color: rgba(91, 122, 94, 0.4);
  background: rgba(245, 240, 225, 0.7);
}

.v-matcha-front .upcoming-card__time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 4.25rem;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  background: #F0EBE3;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: #2C2C2C;
  font-variant-numeric: tabular-nums;
}

.v-matcha-front .upcoming-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.v-matcha-front .upcoming-card__date {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.25;
  color: #2C2C2C;
}

.v-matcha-front .upcoming-card__seats {
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #6B6560;
}

.v-matcha-front .staff-reservation-new .policy-note {
  display: none;
}

@media (max-width: 860px) {
  .v-matcha-front .staff-reservation-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .v-matcha-front .staff-reservation-card__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    column-gap: 0.7rem;
    row-gap: 0.5rem;
  }

  .v-matcha-front .staff-reservation-card__item:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }

  .v-matcha-front .staff-reservation-card__item:first-child strong,
  .v-matcha-front .staff-reservation-card__item:first-child small {
    min-width: 0;
  }

  .v-matcha-front .staff-reservation-card__item:first-child strong {
    flex: 0 1 auto;
    max-width: 58%;
  }

  .v-matcha-front .staff-reservation-card__item:first-child small {
    flex: 1 1 auto;
  }

  .v-matcha-front .staff-reservation-card__item:first-child small::before {
    content: "- ";
  }

  .v-matcha-front .staff-reservation-card__actions {
    justify-items: end;
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }

  .v-matcha-front .staff-reservation-card__status {
    right: 0.85rem;
  }

  .v-matcha-front .staff-action-group {
    justify-content: flex-start;
  }
}

@media (min-width: 900px) {
  .v-matcha-front .staff-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .v-matcha-front .staff-header__inner {
    min-height: 4.6rem;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
    padding-inline: 0.9rem;
  }

  .v-matcha-front .staff-header__nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 0.52rem;
    font-size: 0.9rem;
  }

  .v-matcha-front .staff-header__logo {
    width: 2.85rem;
  }

  .v-matcha-front .staff-dashboard-card {
    min-height: 9.5rem;
  }

  .v-matcha-front .staff-dashboard-card__icon,
  .v-matcha-front .staff-dashboard-card strong,
  .v-matcha-front .staff-dashboard-card small {
    transform: translateY(0);
  }
}

.v-matcha-front .staff-booking-panel {
  border: 1px solid rgba(107, 101, 96, 0.14);
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.66);
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(44, 44, 44, 0.04);
}

.v-matcha-front .staff-booking-panel__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.v-matcha-front .staff-booking-panel__heading span {
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.v-matcha-front .staff-booking-panel__heading small {
  color: rgba(107, 101, 96, 0.7);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
}

.v-matcha-front .staff-booking-form .date-pill-list {
  --date-pill-columns: 4;
}

@media (max-width: 640px) {
  .v-matcha-front .staff-booking-panel {
    padding: 1rem;
  }

  .v-matcha-front .staff-booking-panel__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .v-matcha-front .staff-booking-form .date-pill-list {
    --date-pill-columns: 2;
  }
}

/* Staff login */
.v-matcha-front .staff-language-menu {
  margin-left: 0.25rem;
}

.v-matcha-front .staff-login__card {
  border: 1px solid rgba(107, 101, 96, 0.14);
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.72);
  padding: 1.6rem;
  box-shadow: 0 18px 42px rgba(44, 44, 44, 0.055);
}

.v-matcha-front .staff-login__remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}

.v-matcha-front .staff-login__remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #5B7A5E;
}

.v-matcha-front .staff-login__submit {
  width: 100%;
  margin-top: 0.75rem;
}

/* Staff header refinement */
.v-matcha-front .staff-header__nav {
  gap: 0.9rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
}

.v-matcha-front .staff-header__separator {
  color: rgba(245, 240, 225, 0.95);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  transform: translateY(-0.02em);
}

.v-matcha-front .staff-user-menu,
.v-matcha-front .staff-language-menu {
  position: relative;
}

.v-matcha-front .staff-user-menu .customer-menu__trigger,
.v-matcha-front .staff-language-menu .customer-menu__trigger {
  color: #6B6560;
  transform: none;
}

.v-matcha-front .staff-user-menu .customer-menu__trigger:hover,
.v-matcha-front .staff-language-menu .customer-menu__trigger:hover {
  color: #5B7A5E;
}

.v-matcha-front .staff-user-menu__panel {
  right: 0;
  left: auto;
  min-width: 9.5rem;
}

.v-matcha-front .staff-user-menu__button {
  width: 100%;
  text-align: left;
  text-transform: none;
}

@media (max-width: 640px) {
  .v-matcha-front .staff-header__nav {
    gap: 0.6rem;
    font-size: 0.9rem;
  }

  .v-matcha-front .staff-header__separator {
    display: none;
  }

  .v-matcha-front .staff-reservation-filter__grid {
    grid-template-columns: 1fr;
  }

  .v-matcha-front .staff-action-group {
    gap: 0.35rem;
  }

  .v-matcha-front .staff-action {
    min-height: 1.55rem;
    padding: 0.26rem 0.42rem;
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }
}

/* Staff loyalty points */
.v-matcha-front .staff-loyalty-card {
  border: 1px solid rgba(197, 57, 47, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.52), transparent 38%),
    linear-gradient(180deg, rgba(197, 57, 47, 0.055), rgba(250, 247, 242, 0.72));
  padding: 1.3rem;
  box-shadow: 0 18px 44px rgba(44, 44, 44, 0.06);
}

.v-matcha-front .staff-loyalty-card__intro {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(107, 101, 96, 0.12);
  padding-bottom: 1.15rem;
}

.v-matcha-front .staff-loyalty-card__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
  color: #5B7A5E;
}

.v-matcha-front .staff-loyalty-card__icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

.v-matcha-front .staff-loyalty-card__intro h2 {
  color: #2C2C2C;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
}

.v-matcha-front .staff-loyalty-card__intro p {
  margin-top: 0.25rem;
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.6;
}

.v-matcha-front .staff-loyalty-result {
  border: 1px solid rgba(91, 122, 94, 0.16);
  border-radius: 8px;
  background: rgba(245, 240, 225, 0.48);
  padding: 1rem;
}

.v-matcha-front .staff-loyalty-found {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.v-matcha-front .staff-loyalty-found span {
  display: block;
  margin-bottom: 0.2rem;
  color: #8A837D;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v-matcha-front .staff-loyalty-found strong {
  color: #2C2C2C;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
}

.v-matcha-front .staff-loyalty-first-visit {
  color: #5B7A5E;
  font-family: var(--font-sans);
  text-align: center;
}

.v-matcha-front .staff-loyalty-first-visit strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.v-matcha-front .staff-loyalty-first-visit p,
.v-matcha-front .staff-loyalty-message {
  color: #6B6560;
  font-size: 0.78rem;
  line-height: 1.6;
}

.v-matcha-front .staff-loyalty-submit {
  width: 100%;
}

@media (max-width: 640px) {
  .v-matcha-front .staff-loyalty-card {
    padding: 1rem;
  }

  .v-matcha-front .staff-loyalty-card__intro {
    align-items: flex-start;
  }

  .v-matcha-front .staff-loyalty-found {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Reservation membership badge */
.v-matcha-front .reservation-history-card__membership {
  position: absolute;
  top: 0;
  left: 0.9rem;
  transform: translateY(-50%);
  box-shadow: 0 6px 16px rgba(44, 44, 44, 0.055);
}

.v-matcha-front .reservation-membership {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(183, 151, 95, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(rgba(183, 151, 95, 0.09), rgba(183, 151, 95, 0.09)),
    #FAF7F2;
  padding: 0.28rem 0.64rem;
  color: #8A6F3D;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .v-matcha-front .reservation-membership,
  .v-matcha-front .reservation-status {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }

  .v-matcha-front .reservation-history-card__membership {
    left: 0.65rem;
  }

  .v-matcha-front .reservation-history-card__status,
  .v-matcha-front .staff-reservation-card__status {
    right: 0.65rem;
  }
}

/* Staff loyalty result refinement */
.v-matcha-front .staff-loyalty-result {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.5), transparent 46%),
    rgba(245, 240, 225, 0.42);
}

.v-matcha-front .staff-loyalty-found {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.v-matcha-front .staff-loyalty-stat {
  border: 1px solid rgba(91, 122, 94, 0.14);
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.76);
  padding: 0.85rem 0.95rem;
}

.v-matcha-front .staff-loyalty-stat span {
  color: #8A837D;
}

.v-matcha-front .staff-loyalty-stat strong {
  color: #5B7A5E;
  font-size: 1.25rem;
}

.v-matcha-front .staff-loyalty-message {
  text-align: center;
}

@media (max-width: 640px) {
  .v-matcha-front .staff-loyalty-found {
    grid-template-columns: 1fr;
  }
}

/* Staff loyalty result placement/compactness */
.v-matcha-front .staff-loyalty-result {
  margin-top: -0.25rem;
}

.v-matcha-front .staff-loyalty-stat strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
}

.v-matcha-front .staff-loyalty-found.hidden,
.v-matcha-front .staff-loyalty-first-visit.hidden,
.v-matcha-front .staff-loyalty-message.hidden {
  display: none;
}

/* Staff check-in filter defaults */
.v-matcha-front .staff-reservation-filter__quick-grid,
.v-matcha-front .staff-reservation-filter__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.v-matcha-front .staff-reservation-filter__actions {
  margin-top: 0.9rem;
}

@media (max-width: 640px) {
  .v-matcha-front .staff-reservation-filter__quick-grid,
  .v-matcha-front .staff-reservation-filter__grid {
    grid-template-columns: 1fr;
  }
}

/* Prevent iOS input zoom and improve staff mobile cards */
.v-matcha-front input,
.v-matcha-front select,
.v-matcha-front textarea,
.v-matcha-front button {
  font-size: max(16px, 1em);
}

@media (max-width: 640px) {
  .v-matcha-front .staff-reservation-card {
    padding: 1.25rem 1rem 1rem;
  }

  .v-matcha-front .staff-reservation-card__main {
    row-gap: 0.8rem;
  }

  .v-matcha-front .staff-reservation-card__item:first-child {
    gap: 0.45rem;
  }

  .v-matcha-front .staff-reservation-card__item:first-child strong {
    max-width: 62%;
    font-size: 1.08rem;
    line-height: 1.2;
  }

  .v-matcha-front .staff-reservation-card__item:first-child small {
    font-size: 0.86rem;
    line-height: 1.2;
  }

  .v-matcha-front .staff-reservation-card__item:not(:first-child) strong {
    font-size: 0.98rem;
  }

  .v-matcha-front .staff-reservation-card__item:not(:first-child) small {
    font-size: 0.82rem;
  }
}

/* Booking floor plan — synced with latest V matcha static layout */
.v-matcha-front .floor-plan {
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px dashed rgba(107, 101, 96, 0.3);
  border-radius: 8px;
  background: rgba(245, 240, 232, 0.4);
}

.v-matcha-front .entrance-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px dashed rgba(107, 101, 96, 0.3);
  background: rgba(91, 122, 94, 0.06);
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.v-matcha-front .entrance-label .arrow {
  color: #5B7A5E;
  font-size: 14px;
  line-height: 1;
}

.v-matcha-front .floor-row {
  display: flex;
}

.v-matcha-front .floor-row + .floor-row {
  border-top: 1px dashed rgba(107, 101, 96, 0.3);
}

.v-matcha-front .zone {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 22px;
}

.v-matcha-front .zone--bench-v {
  align-items: flex-start;
  border-right: 1px dashed rgba(107, 101, 96, 0.3);
}

.v-matcha-front .zone--bench-v .zone__label {
  text-align: left;
}

.v-matcha-front .zone--tables-v {
  align-items: flex-end;
}

.v-matcha-front .tables-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v-matcha-front .tables-group .zone__label {
  text-align: center;
}

.v-matcha-front .zone__label {
  margin-bottom: 14px;
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.v-matcha-front .seat--mini {
  width: 40px;
  font-size: 0.95rem;
}

.v-matcha-front .table-rect {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #6B6560;
  border-radius: 3px;
  background: #F5F0E8;
  color: #6B6560;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.v-matcha-front .table-rect--mini {
  width: 44px;
  height: 84px;
}

.v-matcha-front .seat-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.v-matcha-front .bar-wrap-v {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.v-matcha-front .zone--bar-v .seat-stack > .booking-seat {
  width: 40px;
  height: 40px;
  min-height: 40px;
  aspect-ratio: auto;
  font-size: 0.95rem;
}

.v-matcha-front .bar-counter-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  border: 1px solid #6B6560;
  border-radius: 3px;
  background: #F5F0E8;
  color: #6B6560;
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 5px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.v-matcha-front .tables-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.v-matcha-front .mini-table {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.v-matcha-front .mini-table .seat-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

/* Table 3 — landscape table (2 seats top, 2 bottom) with its label on top, like the
   other zones. Shares the Tables 4 & 5 row, pinned bottom-left and bottom-aligned so
   it sits parallel to Table 4. Always locked. */
.v-matcha-front .floor-row--tables {
  align-items: flex-end;
}

.v-matcha-front .table-3-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 22px 14px;
}

.v-matcha-front .table-3-label {
  max-width: 140px;
  line-height: 1.5;
}

.v-matcha-front .table-3-seats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.v-matcha-front .seat-row--h {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.v-matcha-front .table-rect--wide {
  width: 96px;
  height: 44px;
}

@media (max-width: 640px) {
  .v-matcha-front .zone {
    padding: 14px 10px 18px;
  }

  .v-matcha-front .zone__label {
    margin-bottom: 10px;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .v-matcha-front .seat--mini,
  .v-matcha-front .zone--bar-v .seat-stack > .booking-seat {
    width: 34px;
    height: 34px;
    min-height: 34px;
    font-size: 0.85rem;
  }

  .v-matcha-front .table-rect--mini {
    width: 42px;
    height: 70px;
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .v-matcha-front .table-rect--wide {
    width: 82px;
    height: 38px;
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .v-matcha-front .bar-counter-strip {
    padding: 10px 4px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .v-matcha-front .seat-stack {
    gap: 6px;
  }

  .v-matcha-front .seat-row {
    gap: 5px;
  }

  .v-matcha-front .tables-stack {
    gap: 14px;
  }

  .v-matcha-front .entrance-label {
    padding: 8px 12px;
    font-size: 9px;
  }
}

/* Header compactness after adding Ishimoto */
.v-matcha-front .public-header__inner {
  gap: 0.75rem;
}

.v-matcha-front .public-header__nav {
  gap: 0.55rem;
  white-space: nowrap;
}

.v-matcha-front .public-header__link,
.v-matcha-front .public-header__separator,
.v-matcha-front .customer-menu,
.v-matcha-front .language-menu {
  flex-shrink: 0;
}

.v-matcha-front .public-header__link {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .v-matcha-front .public-header__nav {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .v-matcha-front .public-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .v-matcha-front .public-header__nav {
    gap: 0.46rem;
    font-size: 0.68rem;
    letter-spacing: 0.01em;
  }

  .v-matcha-front .public-header__separator {
    opacity: 0.55;
  }
}

/* Public hotline CTA */
.v-matcha-front .public-floating-actions {
  display: none;
}

.v-matcha-front .hotline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid rgba(91, 122, 94, 0.24);
  border-radius: 8px;
  background: rgba(250, 247, 242, 0.96);
  color: #5B7A5E;
  box-shadow:
    0 14px 34px rgba(44, 44, 44, 0.12),
    0 3px 10px rgba(44, 44, 44, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.v-matcha-front .hotline-cta:hover {
  color: #48684B;
  border-color: rgba(91, 122, 94, 0.42);
  box-shadow:
    0 16px 38px rgba(44, 44, 44, 0.15),
    0 4px 12px rgba(44, 44, 44, 0.1);
  transform: translateY(-1px);
}

.v-matcha-front .hotline-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-matcha-front .hotline-cta__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.v-matcha-front .hotline-cta__content {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1;
}

.v-matcha-front .hotline-cta__label {
  color: #8A837D;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.v-matcha-front .hotline-cta__phone {
  color: #2C2C2C;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .v-matcha-front .public-floating-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .v-matcha-front .public-floating-actions--without-cta {
    gap: 0;
  }

  .v-matcha-front .hotline-cta {
    padding: 0.7rem 0.9rem;
  }

  .v-matcha-front .public-floating-actions__reservation {
    border-radius: 8px !important;
  }
}

@media (max-width: 767px) {
  .v-matcha-front .public-floating-actions {
    display: block;
  }

  .v-matcha-front .hotline-cta {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 999px;
    background: #FAF7F2;
  }

  .v-matcha-front .hotline-cta__icon svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .v-matcha-front .hotline-cta__content {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .v-matcha-front .public-floating-actions--without-cta .hotline-cta {
    transform: translateY(5.25rem);
  }
}

@media (max-width: 767px) {
  .v-matcha-front .public-floating-actions__reservation {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .v-matcha-front .reservation-cta:hover {
    box-shadow:
      0 14px 32px rgba(44, 44, 44, 0.18),
      0 2px 8px rgba(44, 44, 44, 0.12);
  }

  .v-matcha-front .customer-menu__trigger:hover {
    color: #6B6560;
  }

  .v-matcha-front .customer-menu__item:hover {
    background: transparent;
    color: #2C2C2C;
  }

  .v-matcha-front .v-matcha-submit:hover {
    background: #5B7A5E;
    box-shadow:
      0 14px 28px rgba(91, 122, 94, 0.2),
      0 3px 8px rgba(44, 44, 44, 0.08);
  }

  .v-matcha-front .reservation-history-card:hover {
    border-color: rgba(91, 122, 94, 0.18);
    background: rgba(240, 235, 227, 0.45);
  }

  .v-matcha-front .staff-header__nav a:hover,
  .v-matcha-front .staff-header__logout:hover {
    color: #6B6560;
  }

  .v-matcha-front .staff-dashboard-card:hover {
    border-color: rgba(107, 101, 96, 0.16);
    background: rgba(250, 247, 242, 0.72);
    box-shadow: 0 18px 42px rgba(44, 44, 44, 0.06);
    transform: none;
  }

  .v-matcha-front .hotline-cta:hover {
    color: #5B7A5E;
    border-color: rgba(91, 122, 94, 0.24);
    box-shadow:
      0 14px 34px rgba(44, 44, 44, 0.12),
      0 3px 10px rgba(44, 44, 44, 0.08);
    transform: none;
  }

  .v-matcha-front .v-matcha-select__option:hover,
  .v-matcha-front .reservation-history-custom-select .custom-select__option:hover,
  .v-matcha-front .reservation-history-date-picker__clear:hover,
  .v-matcha-front .flatpickr-months .flatpickr-prev-month:hover,
  .v-matcha-front .flatpickr-months .flatpickr-next-month:hover,
  .v-matcha-front .flatpickr-current-month .flatpickr-monthDropdown-months:hover,
  .v-matcha-front .flatpickr-current-month .numInputWrapper:hover,
  .v-matcha-front .staff-reservation-filter__toggle:hover,
  .v-matcha-front .staff-action--danger:hover,
  .v-matcha-front .staff-action--ghost:hover {
    box-shadow: none;
    transform: none;
  }

  .v-matcha-front .staff-action--primary:hover {
    background: rgba(91, 122, 94, 0.92);
  }

  .v-matcha-front .reservation-history-link:hover {
    color: #5B7A5E;
  }

  .v-matcha-front .reservation-cancel-button:hover:not(.is-armed) {
    background: transparent;
    border-color: rgba(197, 57, 47, 0.45);
  }
}
