/* Responsive, three-role structural contract. Requires theme.css first.
   Use semantic header/nav/main/section/table in page components, not div-only
   pseudo-interactions. Routes, state and RBAC remain owned by their modules. */
.mk-app__header { position: relative; z-index: 10; background: var(--mk-black); border-bottom: 1px solid var(--mk-rule); }
.mk-app__header-inner, .mk-container { width: min(100% - 2rem, var(--mk-width)); margin-inline: auto; }
.mk-app__header-inner { display: flex; gap: 1rem; min-height: 76px; padding-block: .7rem; align-items: center; justify-content: space-between; }
.mk-header-actions { display: flex; align-items: center; justify-content: end; gap: .5rem; min-width: 0; }
.mk-header-actions__item { position: relative; display: inline-grid; place-items: center; width: 44px; min-height: 44px; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-sm); background: var(--mk-surface); color: var(--mk-paper); cursor: pointer; }
.mk-header-actions__count { position: absolute; top: -.35rem; right: -.35rem; display: inline-grid; place-items: center; border: 2px solid var(--mk-black); border-radius: 999px; min-width: 1.35rem; min-height: 1.35rem; padding-inline: .15rem; background: var(--mk-paper); color: var(--mk-black); font-size: .7rem; font-weight: 800; }
.mk-main { width: min(100% - 2rem, var(--mk-width)); margin-inline: auto; min-width: 0; padding-block: 1.5rem max(2.5rem, env(safe-area-inset-bottom)); }
.mk-page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .8rem 1.5rem; margin-bottom: 1.4rem; }
.mk-page-header__heading { font-family: var(--mk-font-display); letter-spacing: .03em; font-size: var(--mk-title); line-height: 1.05; font-weight: 750; }
.mk-page-header__description { max-width: 55ch; color: var(--mk-muted); margin-top: .45rem; }
.mk-stack { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--mk-space-4); align-content: start; min-width: 0; }
.mk-stack--wide { gap: var(--mk-space-6); }
.mk-section { min-width: 0; margin-block: var(--mk-space-6); }
.mk-section__head { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.mk-section__title { font-family: var(--mk-font-display); letter-spacing: .025em; font-size: var(--mk-text-xl); line-height: 1.15; }
.mk-grid { display: grid; gap: var(--mk-space-4); min-width: 0; }
.mk-grid--2, .mk-grid--3, .mk-grid--4 { grid-template-columns: minmax(0, 1fr); }
.mk-grid > *, .mk-layout > *, .mk-hero > *, .mk-card > *, .mk-status > * { min-width: 0; }
.mk-card { display: grid; align-content: start; gap: .8rem; min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); background: var(--mk-surface); }
.mk-card--raised { background: var(--mk-raised); }
.mk-card--outlined { background: var(--mk-black); border-color: var(--mk-border); }
.mk-card__title { font-family: var(--mk-font-display); font-size: 1.45rem; line-height: 1.12; }
.mk-card__meta { color: var(--mk-muted); font-size: var(--mk-text-sm); }
.mk-card__footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--mk-rule); }
.mk-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 1.85rem; max-width: 100%; padding: .25rem .65rem; border: 1px solid var(--mk-border); border-radius: 999px; background: var(--mk-raised); color: var(--mk-paper); font-size: .8rem; font-weight: 700; line-height: 1.15; }
.mk-pill--pending { border-style: dashed; }
.mk-pill--blocked { border: 2px double var(--mk-paper); }
.mk-pill--success { background: var(--mk-paper); border-color: var(--mk-paper); color: var(--mk-black); }
.mk-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: stretch; }
.mk-actions > * { min-width: 0; }
.mk-align-end { text-align: end; }
.mk-divider { border-top: 1px solid var(--mk-rule); }

/* Hero uses the real SRC-01 poster; cards never sit on the artwork. */
.mk-hero { display: grid; gap: var(--mk-space-4); align-items: stretch; }
.mk-hero__copy { display: grid; gap: .8rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); background: radial-gradient(circle at 100% 0%, #343434 0 2px, transparent 3px), var(--mk-surface); }
.mk-hero__eyebrow { color: var(--mk-muted); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 760; }
.mk-hero__title { font-size: var(--mk-title); line-height: 1.03; letter-spacing: .02em; font-family: var(--mk-font-display); }
.mk-hero__description { color: var(--mk-muted); max-width: 52ch; }
.mk-hero__media { display: flex; align-items: center; min-width: 0; }
.mk-hero__media .mk-brand-mark { width: 100%; }
.mk-hero__media .mk-brand-mark__frame { min-height: 0; }
.mk-hero--home .mk-hero__copy { order: 2; }
.mk-hero--home .mk-hero__media { order: 1; }

/* Client role: branch picker, two distinct units, menu, quest and account. */
.mk-branch-switcher { display: grid; gap: .4rem; min-width: 0; }
.mk-branch-switcher__label { font-size: var(--mk-text-sm); font-weight: 700; color: var(--mk-muted); }
.mk-select { position: relative; min-width: 0; }
.mk-select__trigger, .mk-native-select {
  width: 100%; min-height: 44px; padding: .75rem .85rem; border: 1px solid var(--mk-border);
  border-radius: .8rem; color: var(--mk-paper);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02)), var(--mk-surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 14px 32px rgb(0 0 0 / 0.22);
}
.mk-select__trigger {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .85rem; align-items: center;
  text-align: start; cursor: pointer; appearance: none;
  transition: border-color var(--mk-motion-fast) var(--mk-ease), background-color var(--mk-motion-fast) var(--mk-ease), transform var(--mk-motion-fast) var(--mk-ease), box-shadow var(--mk-motion-fast) var(--mk-ease);
}
.mk-select__trigger:hover:not(:disabled), .mk-native-select:hover:not(:disabled) { border-color: color-mix(in srgb, var(--mk-paper) 48%, var(--mk-border)); }
.mk-select__trigger:focus-visible, .mk-native-select:focus-visible { outline: 3px solid var(--mk-focus); outline-offset: 3px; }
.mk-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.mk-select__value.is-placeholder { color: var(--mk-muted); font-weight: 580; }
.mk-select__glyph {
  display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.05); color: var(--mk-paper);
}
.mk-select__glyph .mk-icon { width: 16px; height: 16px; transition: transform 160ms ease; }
.mk-select.is-open .mk-select__glyph .mk-icon { transform: rotate(180deg); }
.mk-select__popover {
  position: absolute; inset: calc(100% + .45rem) 0 auto; z-index: 35; padding: .4rem;
  border: 1px solid rgb(255 255 255 / 0.12); border-radius: 1rem;
  background: linear-gradient(180deg, rgb(40 40 37 / 0.92), rgb(21 21 19 / 0.96));
  box-shadow: 0 22px 46px rgb(0 0 0 / 0.42), inset 0 1px 0 rgb(255 255 255 / 0.08);
  backdrop-filter: blur(18px);
}
.mk-select__list { display: grid; gap: .25rem; max-height: min(18rem, 50vh); padding: 0; margin: 0; overflow: auto; list-style: none; }
.mk-select__option {
  width: 100%; padding: .75rem .85rem; border: 1px solid transparent; border-radius: .75rem; background: transparent;
  color: var(--mk-paper); display: grid; grid-template-columns: auto minmax(0,1fr); gap: .7rem; align-items: start; text-align: start; cursor: pointer;
  transition: background-color var(--mk-motion-fast) var(--mk-ease), border-color var(--mk-motion-fast) var(--mk-ease), transform var(--mk-motion-fast) var(--mk-ease);
}
.mk-select__option:hover, .mk-select__option:focus-visible { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.12); }
.mk-select__option:active { transform: translateY(1px); }
.mk-select__option.is-selected { background: linear-gradient(180deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.07)); border-color: rgb(255 255 255 / 0.18); }
.mk-select__copy { min-width: 0; display: grid; gap: .14rem; }
.mk-select__copy strong { font-size: .92rem; line-height: 1.35; }
.mk-select__copy span { color: var(--mk-muted); font-size: .8rem; line-height: 1.35; }
.mk-select__check {
  width: 1.15rem; height: 1.15rem; margin-top: .15rem; border-radius: 999px; display: inline-grid; place-items: center;
  border: 1px solid rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.04); color: transparent;
}
.mk-select__check .mk-icon { width: 14px; height: 14px; }
.mk-select__option.is-selected .mk-select__check { color: var(--mk-paper); background: rgb(255 255 255 / 0.12); }
.mk-select.is-disabled .mk-select__trigger, .mk-native-select:disabled { opacity: .65; cursor: not-allowed; }
.mk-native-select {
  padding-right: 3.4rem; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23efebe1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px 18px;
}
textarea.mk-native-select, .mk-app input.mk-native-select { background-image: none; padding-right: .85rem; }
.mk-balance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.mk-balance { display: grid; gap: .35rem; padding: 1rem .8rem; border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); background: var(--mk-raised); }
.mk-balance__label { display: block; color: var(--mk-muted); font-size: .85rem; font-weight: 700; }
.mk-balance__amount { font-size: clamp(1.25rem, 3.8vw, 2.2rem); font-weight: 820; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-balance__note { color: var(--mk-muted); font-size: .75rem; }
.mk-balance--stale .mk-balance__amount { filter: blur(6px); user-select: none; }
.mk-quest-spotlight { border: 1px dashed var(--mk-paper); border-radius: var(--mk-radius); padding: 1.25rem; display: grid; gap: .65rem; background: radial-gradient(circle at top right, rgb(255 255 255 / 10%), transparent 42%), var(--mk-surface); }
.mk-quest-spotlight__step { color: var(--mk-muted); font-size: var(--mk-text-sm); }
.mk-quest-spotlight__title { font-family: var(--mk-font-display); font-size: 1.6rem; }
.mk-catalog-controls { display: grid; gap: .75rem; margin-bottom: 1rem; }
.mk-category-list { display: flex; gap: .5rem; align-items: center; overflow-x: auto; padding: .25rem .1rem .7rem; overscroll-behavior-x: contain; scrollbar-width: thin; }
.mk-category-list__item { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem .9rem; border: 1px solid var(--mk-border); border-radius: 999px; color: var(--mk-paper); background: var(--mk-surface); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.mk-category-list__item[aria-current='true'], .mk-category-list__item[aria-pressed='true'] { background: var(--mk-paper); color: var(--mk-ink); border-color: var(--mk-paper); }
.mk-product-grid { display: grid; grid-template-columns: repeat(1, minmax(0,1fr)); gap: .8rem; }
.mk-product { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem 1rem; padding: 1rem; background: var(--mk-surface); border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); }
.mk-product__name { font-size: 1.15rem; line-height: 1.25; font-weight: 760; }
.mk-product__description { color: var(--mk-muted); font-size: .9rem; margin-top: .25rem; }
.mk-product__price { white-space: nowrap; font-weight: 800; font-variant-numeric: tabular-nums; }
.mk-product__options { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .45rem; }
.mk-product__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; justify-content: space-between; }
.mk-product--unavailable { border-style: dashed; }
.mk-product--unavailable .mk-product__actions { color: var(--mk-muted); }
.mk-choice { display: inline-flex; min-height: 44px; gap: .5rem; align-items: center; padding: .5rem .8rem; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-sm); cursor: pointer; }
.mk-choice:has(input:checked) { background: var(--mk-paper); color: var(--mk-ink); }
.mk-choice input { width: 1.125rem; height: 1.125rem; accent-color: var(--mk-ink); }
.mk-checkout { display: grid; gap: 1rem; }
.mk-order-summary { display: grid; gap: .65rem; }
.mk-order-summary__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.mk-order-summary__row--total { padding-block-start: .65rem; border-top: 1px solid var(--mk-rule); font-size: 1.2rem; font-weight: 800; }
.mk-order-summary__value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-receipt { border: 2px solid var(--mk-paper); background: var(--mk-surface); border-radius: var(--mk-radius); padding: 1.25rem; display: grid; gap: 1rem; }
.mk-receipt__id { display: block; padding: .7rem .8rem; border: 1px dashed var(--mk-paper); border-radius: var(--mk-radius-sm); font-size: 1.1rem; font-weight: 760; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mk-receipt__notice { color: var(--mk-muted); font-size: .9rem; }
.mk-history-list { display: grid; gap: .55rem; padding: 0; list-style: none; }
.mk-history-list__item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .25rem .85rem; align-items: start; padding: .9rem; border-bottom: 1px solid var(--mk-rule); }
.mk-history-list__meta { color: var(--mk-muted); font-size: .875rem; }
.mk-history-list__amount { font-weight: 760; white-space: nowrap; }
.mk-notification-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }

/* Manager: phone lookup is always full-number before disclosure; transaction UI. */
.mk-staff-search { display: grid; gap: 1rem; max-width: 48rem; }
.mk-staff-search .mk-field__input { min-height: 56px; font-size: 1.2rem; letter-spacing: .035em; }
.mk-staff-profile { display: grid; gap: .9rem; }
.mk-staff-profile__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: start; }
.mk-staff-profile__actions { display: grid; gap: .6rem; grid-template-columns: minmax(0,1fr); }
.mk-segmented { display: flex; flex-wrap: wrap; gap: .4rem; }
.mk-segmented__item { min-height: 44px; min-width: 44px; padding: .6rem .9rem; border: 1px solid var(--mk-border); border-radius: var(--mk-radius-sm); background: var(--mk-surface); color: var(--mk-paper); cursor: pointer; }
.mk-segmented__item[aria-pressed='true'], .mk-segmented__item[aria-selected='true'] { background: var(--mk-paper); color: var(--mk-black); }
.mk-transaction-review { display: grid; gap: .75rem; padding: 1rem; background: var(--mk-black); border: 1px solid var(--mk-paper); border-radius: var(--mk-radius); }
.mk-transaction-review__total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; }
.mk-attachment { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; padding: .9rem; border: 1px dashed var(--mk-border); border-radius: var(--mk-radius-sm); }
.mk-attachment__note { color: var(--mk-muted); font-size: .875rem; }
.mk-filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem; }

/* Owner: network-wide cards, editable catalog, branches, roles, audit and settings. */
.mk-kpi-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.mk-kpi { display: grid; gap: .5rem; padding: 1rem; border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); background: var(--mk-surface); }
.mk-kpi__label { color: var(--mk-muted); font-size: var(--mk-text-sm); }
.mk-kpi__value { font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.15; font-weight: 820; font-variant-numeric: tabular-nums; }
.mk-kpi__context { color: var(--mk-muted); font-size: .75rem; }
.mk-data-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); }
.mk-data-table { width: 100%; min-width: 550px; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9rem; }
.mk-data-table caption { padding: .7rem 1rem; color: var(--mk-muted); text-align: start; }
.mk-data-table :is(th, td) { padding: .85rem 1rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--mk-rule); }
.mk-data-table thead { background: var(--mk-raised); }
.mk-data-table th { font-weight: 780; }
.mk-data-table tbody tr:last-child td { border-bottom: 0; }
.mk-data-table td[data-numeric] { text-align: end; white-space: nowrap; }
.mk-inline-editor { display: grid; gap: .75rem; }
.mk-inline-editor__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.mk-availability-grid { display: grid; gap: .75rem; }
.mk-availability-grid__row { display: grid; gap: .5rem; padding: .85rem; border: 1px solid var(--mk-rule); border-radius: var(--mk-radius-sm); }
.mk-availability-grid__switch { display: flex; gap: .7rem; align-items: center; min-height: 44px; }
.mk-availability-grid__switch input { height: 1.25rem; width: 1.25rem; accent-color: var(--mk-paper); }
.mk-timeline { list-style: none; padding-inline: .5rem 0; margin: 0; display: grid; }
.mk-timeline__item { display: grid; gap: .35rem; position: relative; padding: .2rem .5rem 1.1rem 1.3rem; border-inline-start: 1px solid var(--mk-border); }
.mk-timeline__item::before { content: ''; position: absolute; left: -.33rem; top: .4rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--mk-paper); }
.mk-timeline__date { color: var(--mk-muted); font-size: .82rem; }
.mk-form-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.mk-form-actions { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; padding-block: .9rem; }
.mk-empty { display: grid; gap: .65rem; justify-items: start; padding: 2rem 1.25rem; border: 1px dashed var(--mk-border); border-radius: var(--mk-radius); background: var(--mk-surface); }
.mk-empty__title { font-family: var(--mk-font-display); font-size: 1.5rem; }
.mk-empty__message { color: var(--mk-muted); max-width: 56ch; }

/* Navigation: mobile customer/manager bottom bars, mobile owner native selector. */
.mk-nav { display: flex; align-items: stretch; justify-content: space-around; gap: .1rem; background: var(--mk-surface); }
.mk-nav__item { display: flex; flex: 1 1 0; min-width: 0; min-height: 54px; justify-content: center; align-items: center; gap: .2rem; flex-direction: column; padding: .6rem .25rem; font-size: .75rem; line-height: 1.2; font-weight: 720; color: var(--mk-muted); text-align: center; border: 0; text-decoration: none; }
.mk-nav__item[aria-current='page'] { color: var(--mk-white); background: var(--mk-raised); box-shadow: inset 0 3px 0 var(--mk-paper); }
.mk-nav__item:focus-visible { position: relative; z-index: 1; }
.mk-nav__glyph { font-size: 1.05rem; line-height: 1; }
.mk-owner-section-menu { display: grid; gap: .35rem; margin-block: 1rem; }
.mk-owner-section-menu label { font-weight: 700; }
.mk-app--client .mk-nav, .mk-app--manager .mk-nav { position: fixed; inset: auto 0 0; z-index: 30; width: 100%; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--mk-border); }
.mk-app--client .mk-main, .mk-app--manager .mk-main { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.mk-app--owner .mk-nav--owner { display: none; }
.mk-layout { min-width: 0; }
.mk-layout--staff .mk-main { width: min(100% - 2rem, var(--mk-width)); }
.mk-breadcrumb { margin-bottom: .85rem; color: var(--mk-muted); font-size: .86rem; }
.mk-breadcrumb a { min-height: 44px; display: inline-flex; align-items: center; }
.mk-page-state { margin-bottom: 1rem; }

@media (max-width: 359px) {
  .mk-app__header-inner, .mk-container, .mk-main { width: calc(100% - 1.5rem); }
  .mk-brand-mark--compact .mk-brand-mark__frame { flex-basis: 54px; width: 54px; height: 46px; }
  .mk-brand-mark__name { font-size: 1.04rem; }
  .mk-header-actions { gap: .25rem; }
  .mk-nav__item { font-size: .68rem; }
  .mk-balance__amount { font-size: 1.2rem; }
  .mk-status { grid-template-columns: minmax(0,1fr); }
  .mk-status__action { width: 100%; justify-self: stretch; }
  .mk-status__action .mk-button { width: 100%; }
}
@media (min-width: 480px) {
  .mk-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mk-grid--2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mk-staff-profile__actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mk-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mk-availability-grid__row { grid-template-columns: minmax(0,1fr) repeat(2,minmax(120px,1fr)); align-items: center; }
}
@media (min-width: 700px) {
  .mk-main { padding-block: 2.25rem 3rem; }
  .mk-hero { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
  .mk-hero--home .mk-hero__copy { order: 1; }
  .mk-hero--home .mk-hero__media { order: 2; }
  .mk-grid--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mk-catalog-controls { grid-template-columns: minmax(0,1fr) minmax(200px,.4fr); align-items: end; }
  .mk-kpi-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mk-checkout { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); align-items: start; }
}
@media (min-width: 900px) {
  .mk-layout--staff { display: grid; grid-template-columns: 215px minmax(0,1fr); align-items: start; max-width: calc(var(--mk-width) + 1rem); margin-inline: auto; }
  .mk-layout--staff .mk-main { width: 100%; padding-inline: 1.5rem; }
  .mk-app--manager .mk-nav, .mk-app--owner .mk-nav--owner { display: flex; position: sticky; top: .75rem; inset: auto; border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); flex-direction: column; padding: .6rem; margin-top: 1.6rem; gap: .25rem; z-index: 1; align-self: start; width: auto; background: var(--mk-surface); }
  .mk-app--manager .mk-nav__item, .mk-app--owner .mk-nav__item { flex: 0 0 auto; flex-direction: row; justify-content: start; text-align: start; padding: .8rem; font-size: .95rem; min-height: 46px; gap: .7rem; border-radius: var(--mk-radius-sm); }
  .mk-app--manager .mk-nav__item[aria-current='page'], .mk-app--owner .mk-nav__item[aria-current='page'] { box-shadow: inset 3px 0 0 var(--mk-paper); }
  .mk-app--manager .mk-main { padding-bottom: 3rem; }
  .mk-owner-section-menu { display: none; }
  .mk-grid--4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .mk-kpi-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .mk-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width: 1200px) {
  .mk-layout--staff { grid-template-columns: 242px minmax(0,1fr); }
  .mk-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .mk-main { padding-top: 2.8rem; }
  .mk-grid--3 { gap: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-app { scroll-behavior: auto; }
}

/* Ink & paper — shared composition and role-specific density. */
.mk-app__header { background: #141412; border-bottom: 1px solid var(--mk-rule); }
.mk-app__header-inner, .mk-main, .mk-container { width: min(100% - 3rem, var(--mk-width)); }
.mk-app__header-inner { min-height: 76px; gap: 1.3rem; padding-block: .7rem; }
.mk-header-actions { gap: .35rem; }
.mk-header-actions__item { width: 46px; min-height: 46px; border: 1px solid transparent; background: transparent; border-radius: .625rem; text-decoration: none; color: var(--mk-muted); transition: color 150ms ease, background 150ms ease; }
.mk-header-actions__item:hover { background: var(--mk-raised); color: var(--mk-paper); }
.mk-header-actions__count { min-width: 1.15rem; min-height: 1.15rem; font-size: .65rem; right: 0; top: 0; }
.mk-main { padding-top: clamp(1.5rem, 3.3vw, 3rem); }
.mk-stack { gap: 1rem; }
.mk-stack--wide { gap: 1.5rem; }
.mk-page-header { margin-bottom: .75rem; align-items: flex-end; gap: 1rem 2rem; }
.mk-page-header__heading { font-family: var(--mk-font-display); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; font-size: var(--mk-title); }
.mk-page-header__description { margin-top: .6rem; color: var(--mk-muted); line-height: 1.5; }
.mk-page-header .mk-overline { display: block; margin-bottom: .6rem; }
.mk-card { border: 1px solid var(--mk-rule); border-radius: var(--mk-radius); background: var(--mk-surface); padding: clamp(1rem, 2vw, 1.5rem); box-shadow: 0 1px 0 #fff05 inset, var(--mk-shadow); gap: .85rem; }
.mk-card--outlined { background: #151513; }
.mk-card__title { font-family: var(--mk-font-body); font-size: 1.2rem; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.mk-card__meta { font-size: .83rem; color: var(--mk-muted); }
.mk-section { margin: 0; }
.mk-section__title { font-family: var(--mk-font-display); font-size: clamp(1.55rem,2.4vw,2.05rem); font-weight: 400; letter-spacing: -.03em; }
.mk-section__head { margin-bottom: 1rem; align-items: center; }
.mk-section__head > .mk-icon { color: var(--mk-muted); }
.mk-branch-switcher__label { font-size: .75rem; font-weight: 550; }
.mk-select__trigger,.mk-native-select { background-color: #171715; border-color: var(--mk-border); color: var(--mk-paper); }
.mk-app select option { background: #1c1c1a; color: var(--mk-paper); }
.mk-app input[type=number] { color: inherit; background: transparent; border: 1px solid var(--mk-border); border-radius: .4rem; padding: .4rem; min-height: 40px; }
.mk-app :where(fieldset) { min-width: 0; }
.mk-nav__item { font-weight: 550; }
.mk-app--client .mk-nav--desktop { display: none; }
.mk-app--client .mk-nav--mobile { background: #191917; border-top: 1px solid var(--mk-rule); box-shadow: 0 -12px 35px #0004; padding-inline: max(8px,env(safe-area-inset-left)); }
.mk-app--client .mk-nav--mobile .mk-nav__item { padding: .55rem .15rem; gap: .3rem; min-height: 65px; font-size: .72rem; }
.mk-app--client .mk-nav--mobile .mk-nav__item[aria-current=page] { background: transparent; box-shadow: none; color: var(--mk-paper); }
.mk-nav__glyph { display: grid; place-items: center; width: 42px; height: 30px; border-radius: 9px; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.mk-nav__glyph .mk-icon { width: 21px; height: 21px; }
.mk-nav__item[aria-current=page] .mk-nav__glyph { background: var(--mk-paper); color: var(--mk-ink); }
.mk-app--client .mk-main { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
.mk-app--manager .mk-nav__item[aria-current=page],.mk-app--owner .mk-nav__item[aria-current=page] { background: var(--mk-paper); color: var(--mk-ink); box-shadow: none; }
.mk-kpi { background: var(--mk-surface); border-color: var(--mk-rule); box-shadow: var(--mk-shadow); }
.mk-kpi__value { font-weight: 650; letter-spacing: -.035em; }
.mk-data-table thead { background: #282724; }
.mk-data-table :is(th,td) { padding: .85rem .9rem; }
.mk-data-table th { font-size: .8rem; font-weight: 650; }
.mk-data-table tbody tr:hover { background: #ffffff04; }
.mk-empty { border-color: var(--mk-rule); background: #1a1a18; }
.mk-empty__title { font-size: 1.45rem; }
#root > .mk-status, #root > .mk-main { max-width: 42rem; margin: 12vh auto 0; width: calc(100% - 2rem); box-sizing: border-box; }

/* Home: a single brand composition, location rail, then two different materials. */
.mk-home { display: grid; gap: 1.55rem; min-width: 0; }
.mk-hero--home { background: #050505; border-radius: 1.125rem; border: 1px solid #33312c; min-height: 330px; overflow: hidden; gap: 0; box-shadow: 0 22px 40px -24px #000d; }
.mk-hero--home .mk-hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; order: 2; background: transparent; border: 0; padding: clamp(1.6rem, 3.8vw, 3.2rem); gap: 1.2rem; min-width: 0; }
.mk-hero__eyebrow { color: #c6c1b6; font-size: .68rem; letter-spacing: .14em; font-weight: 600; display: flex; align-items: center; gap: .55rem; }
.mk-hero__tick { display: inline-block; height: 1px; width: 24px; background: var(--mk-paper); }
.mk-hero__title { font-family: var(--mk-font-display); font-size: clamp(2.65rem, 5.2vw, 4.8rem); font-weight: 400; letter-spacing: -.06em; line-height: 1.01; max-width: 11ch; }
.mk-hero__title em { font-weight: 400; color: #e7e0d1; }
.mk-hero__description { color: #c6c1b6; font-size: .98rem; max-width: 35ch; }
.mk-hero__copy > .mk-button { margin-top: .3rem; }
.mk-hero--home .mk-hero__media { order: 1; background: #000; padding: .6rem 1.4rem 0; }
.mk-hero--home .mk-brand-mark--hero .mk-brand-mark__frame { box-shadow: none; }
.mk-location-strip { display: grid; grid-template-columns: minmax(0,1fr) minmax(14rem, .9fr) auto; align-items: center; gap: 1.1rem 1.4rem; padding: .4rem 0 1.55rem; border-bottom: 1px solid var(--mk-rule); }
.mk-location-strip__info { display: flex; gap: .85rem; align-items: center; min-width: 0; }
.mk-location-strip__pin { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; border: 1px solid var(--mk-rule); color: var(--mk-muted); background: var(--mk-surface); }
.mk-location-strip__info strong { font-size: .96rem; font-weight: 650; }
.mk-location-strip__info p { font-size: .78rem; color: var(--mk-muted); margin-top: .25rem; }
.mk-location-strip__info p span { padding-inline: .15rem; }
.mk-location-strip .mk-select__trigger { font-size: .83rem; }
.mk-location-strip__map { font-size: .85rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.mk-location-strip__map .mk-icon { width: 17px; }
.mk-home__daily { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr); gap: 1.5rem; align-items: stretch; }
.mk-home__wallet { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.mk-wallet-pass { background: var(--mk-paper); color: #24221d; border-radius: .9rem; padding: clamp(1.15rem, 2.4vw, 1.65rem); position: relative; overflow: hidden; box-shadow: 0 2px 0 #a9a396, 0 12px 24px -16px #000e; display: grid; align-content: space-between; gap: 1.05rem; }
.mk-wallet-pass__head { display: flex; align-items: center; justify-content: space-between; color: #575248; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.mk-wallet-pass__head > .mk-icon { width: 20px; height: 20px; }
.mk-wallet-pass .mk-balance-grid { gap: 1rem; grid-template-columns: repeat(2,minmax(0,1fr)); }
.mk-wallet-pass .mk-balance { background: none; padding: 0; border: 0; border-radius: 0; gap: .45rem; align-content: start; }
.mk-wallet-pass .mk-balance + .mk-balance { border-left: 1px solid #c7c1b3; padding-left: 1rem; }
.mk-wallet-pass .mk-balance__label { color: #5e594f; font-size: .8rem; font-weight: 600; }
.mk-wallet-pass .mk-balance__amount { font-size: clamp(1.45rem,3vw,2.55rem); font-weight: 650; letter-spacing: -.055em; white-space: normal; overflow-wrap: anywhere; }
.mk-wallet-pass .mk-balance__note { font-size: .73rem; color: #5e594f; }
.mk-wallet-pass__actions { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: 1rem; border-top: 1px dashed #a9a395; position: relative; }
.mk-wallet-pass__actions::before,.mk-wallet-pass__actions::after { content: ''; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--mk-black); top: -8px; }
.mk-wallet-pass__actions::before { left: calc(-1 * clamp(1.15rem,2.4vw,1.65rem) - 7.5px); }
.mk-wallet-pass__actions::after { right: calc(-1 * clamp(1.15rem,2.4vw,1.65rem) - 7.5px); }
.mk-wallet-pass .mk-button--primary { background: #23221f; border-color: #23221f; color: var(--mk-paper); box-shadow: 0 3px 0 #b1aa9c; }
.mk-wallet-pass .mk-button--primary:hover:not(:disabled) { background: #3c3932; }
.mk-wallet-pass .mk-button--secondary { background: transparent; border-color: #898375; color: #24221d; box-shadow: none; }
.mk-wallet-pass .mk-button--secondary:hover:not(:disabled) { background: #dcd7ca; }
.mk-wallet-pass :where(a,button):focus-visible { outline-color: #24221d; }
.mk-home__quest { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; overflow: hidden; border: 1px solid #45423a; border-radius: .9rem; background: #25241f; padding: clamp(1.3rem,2.7vw,2rem); box-shadow: var(--mk-shadow); }
.mk-home__quest::before,.mk-home__quest::after { content: ''; pointer-events: none; position: absolute; border: 1px solid #a29a853d; border-radius: 50%; width: 360px; height: 160px; right: -120px; top: 50%; transform: rotate(-42deg); }
.mk-home__quest::after { width: 310px; height: 112px; right: -100px; top: 58%; }
.mk-home__quest > * { position: relative; z-index: 1; }
.mk-quest-spotlight__head { display: flex; align-items: center; justify-content: space-between; }
.mk-quest-spotlight__head .mk-icon { width: 32px; height: 32px; color: #dcd4c1; }
.mk-quest-spotlight__step { text-transform: uppercase; letter-spacing: .12em; font-size: .69rem; color: var(--mk-muted); }
.mk-quest-spotlight__title { font-family: var(--mk-font-display); font-weight: 400; font-size: clamp(1.65rem,2.8vw,2.35rem); line-height: 1.13; letter-spacing: -.03em; }
.mk-quest-spotlight__content { display: grid; gap: .8rem; max-width: 32ch; }
.mk-quest-spotlight__content > p { font-size: .9rem; color: var(--mk-muted); }
.mk-quest-spotlight__link { display: inline-flex; align-items: center; gap: .75rem; font-size: .9rem; font-weight: 650; text-decoration: none; align-self: flex-start; min-height: 44px; border-bottom: 1px solid #aca696; }
.mk-quest-spotlight__link .mk-icon { transition: transform 160ms ease; }
.mk-quest-spotlight__link:hover .mk-icon { transform: translateX(4px); }

/* Sign in is a single task, not two competing panels. */
.mk-auth { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); border: 1px solid var(--mk-rule); border-radius: 1.125rem; overflow: hidden; box-shadow: var(--mk-shadow); max-width: 64rem; margin: .5rem auto; background: var(--mk-surface); }
.mk-auth__brand { background: #050505; padding: clamp(2rem,4vw,3rem); display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; justify-content: space-between; }
.mk-auth__brand .mk-brand-mark { width: 100%; margin-block: 1rem; }
.mk-auth__brand > p { font-family: var(--mk-font-display); font-size: clamp(1.5rem,3vw,2.45rem); letter-spacing: -.035em; line-height: 1.16; color: #d5cfc0; }
.mk-auth__form { padding: clamp(1.4rem,3.8vw,3rem); gap: 1.1rem; }
.mk-auth__intro { display: grid; gap: .7rem; margin-bottom: .65rem; }
.mk-auth__intro h1 { font-size: clamp(2rem,3.3vw,2.8rem); }
.mk-auth__intro > p { color: var(--mk-muted); font-size: .9rem; }
.mk-auth__email { gap: .85rem; }
.mk-auth__separator { display: flex; align-items: center; gap: 1rem; color: var(--mk-muted); font-size: .8rem; }
.mk-auth__separator::before,.mk-auth__separator::after { content:''; flex: 1; height: 1px; background: var(--mk-rule); }
.mk-auth__guest { display: inline-flex; align-items: center; justify-content: space-between; min-height: 44px; gap: .5rem; font-weight: 600; font-size: .87rem; text-decoration: none; border-top: 1px solid var(--mk-rule); padding-top: .65rem; }
.mk-auth__guest .mk-icon { width: 18px; }
.mk-access { display: grid; gap: 1rem; justify-items: start; max-width: 36rem; margin: 2rem auto; padding: clamp(1.5rem,4vw,3rem); background: var(--mk-surface); border-radius: var(--mk-radius); border: 1px solid var(--mk-rule); }
.mk-access > .mk-icon { width: 32px; height: 32px; color: var(--mk-muted); }
.mk-access h1 { font: 400 clamp(1.8rem,3vw,2.6rem)/1.1 var(--mk-font-display); letter-spacing: -.03em; }
.mk-access p { color: var(--mk-muted); }

/* Menu: editorial category lines and a compact, actionable product layout. */
.mk-menu__groups { display: grid; gap: 2.5rem; }
.mk-menu__group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--mk-border); padding-bottom: .75rem; margin-bottom: .35rem; }
.mk-menu__group-heading h2 { font: 400 clamp(1.55rem,2.6vw,2.1rem)/1.15 var(--mk-font-display); letter-spacing: -.025em; }
.mk-menu__group-heading span { color: var(--mk-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.mk-menu .mk-category-list { padding: .3rem 0 .85rem; border-bottom: 1px solid var(--mk-rule); }
.mk-category-list__item { font-size: .85rem; font-weight: 600; border-radius: .45rem; border-color: var(--mk-border); transition: background 160ms ease, color 160ms ease; }
.mk-menu .mk-product-grid { grid-template-columns: minmax(0,1fr); gap: 0 2.2rem; }
.mk-menu .mk-product { padding: 1.35rem 0; gap: .8rem .85rem; border: 0; border-bottom: 1px solid var(--mk-rule); border-radius: 0; background: transparent; align-content: start; grid-template-columns: minmax(0,1fr) auto; }
.mk-product__name { font-size: 1.12rem; font-weight: 650; letter-spacing: -.02em; }
.mk-product__price { font-weight: 650; font-size: 1.05rem; align-self: start; }
.mk-product__options { border: 0; padding: 0; margin: 0; gap: .35rem; }
.mk-product__options legend { font-size: .75rem; color: var(--mk-muted); margin-bottom: .5rem; }
.mk-choice { min-height: 44px; font-size: .79rem; border-radius: .5rem; border-color: var(--mk-border); padding: .45rem .7rem; transition: background 150ms ease,color 150ms ease; }
.mk-choice:has(input:checked) { color: var(--mk-ink); background: var(--mk-paper); border-color: var(--mk-paper); }
.mk-choice input { accent-color: var(--mk-ink); flex: 0 0 auto; margin: 0; }
.mk-product__addons { grid-column: 1/-1; border-top: 1px solid var(--mk-rule); }
.mk-product__addons summary { cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: .25rem; font-size: .85rem; color: var(--mk-muted); }
.mk-product__addons summary::-webkit-details-marker { display:none; }
.mk-product__addons summary .mk-icon { margin-left: auto; width: 17px; transition: transform 160ms ease; }
.mk-product__addons[open] summary .mk-icon { transform: rotate(180deg); }
.mk-product__addons[open] > fieldset { padding-bottom: .8rem; }
.mk-product__actions { justify-content: flex-start; gap: .7rem; padding-top: .2rem; }
.mk-product__actions > label { display: inline-flex; align-items: center; gap: .45rem; color: var(--mk-muted); font-size: .8rem; }
.mk-product__actions > strong { margin-left: auto; font-size: .93rem; }
.mk-product__actions > .mk-button { min-width: 108px; }
.mk-app--manager .mk-nav,.mk-app--owner .mk-nav { border-color: var(--mk-rule); }
.mk-layout--staff .mk-page-header__heading { font-size: clamp(1.9rem,3vw,2.7rem); }
.mk-layout--staff .mk-page-header__description { font-size: .88rem; }
.mk-layout--staff .mk-card { box-shadow: none; }
.mk-layout--staff .mk-card__title { font-size: 1.08rem; }

@media (min-width: 700px) { .mk-hero--home { grid-template-columns: minmax(0, .9fr) minmax(0,1.1fr); } .mk-hero--home .mk-hero__copy { order: 1; padding-right: 1.1rem; } .mk-hero--home .mk-hero__media { order: 2; padding: 1.3rem 2rem 1.3rem 0; } .mk-menu .mk-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 900px) {
 .mk-app--client .mk-nav--desktop { display: flex; position: static; inset: auto; width: auto; padding: 0; background: transparent; border: 0; flex: 0 1 auto; gap: .5rem; }
 .mk-app--client .mk-nav--desktop .mk-nav__item { min-height: 44px; padding: .6rem .8rem; font-size: .87rem; white-space: nowrap; border-radius: .5rem; flex: 0 1 auto; }
 .mk-app--client .mk-nav--desktop .mk-nav__glyph { display: none; }
 .mk-app--client .mk-nav--desktop .mk-nav__item[aria-current=page] { background: #282722; box-shadow: none; color: var(--mk-paper); }
 .mk-app--client .mk-nav--mobile { display: none; }
 .mk-app--client .mk-main { padding-bottom: 3.5rem; }
 .mk-app--manager .mk-nav,.mk-app--owner .mk-nav--owner { border-radius: .7rem; }
}
@media (max-width: 899px) { .mk-location-strip { grid-template-columns: minmax(0,1fr) auto; } .mk-location-strip__info { grid-column: 1/-1; } .mk-home__daily { grid-template-columns: minmax(0,1fr); gap: 1.6rem; } }
@media (max-width: 699px) {
 .mk-app__header-inner,.mk-main,.mk-container { width: calc(100% - 2rem); }
 .mk-app__header-inner { gap: .4rem; min-height: 66px; padding-block: .5rem; }
 .mk-header-actions { gap: .1rem; }
 .mk-header-actions__item { width: 44px; min-height: 44px; }
 .mk-header-actions__item .mk-icon { width: 21px; height: 21px; }
 .mk-brand-mark--compact .mk-brand-mark__frame { width: 46px; flex-basis: 46px; height: 38px; }
 .mk-brand-mark--compact .mk-brand-mark__name { font-size: .92rem; }
 .mk-brand-mark--compact .mk-brand-mark__type { font-size: .56rem; }
 .mk-main { padding-top: 1rem; }
 .mk-home { gap: 1.3rem; }
 .mk-hero--home { border-radius: .9rem; min-height: 0; }
 .mk-hero--home .mk-hero__copy { padding: .8rem 1.35rem 1.5rem; gap: .85rem; }
 .mk-hero--home .mk-hero__media { padding: .6rem .6rem 0; }
 .mk-hero__title { font-size: clamp(2.35rem,8.5vw,3.65rem); max-width: none; }
 .mk-hero__title br { display: none; }
 .mk-hero__description { font-size: .91rem; }
 .mk-hero__copy > .mk-button { width: 100%; justify-content: space-between; }
 .mk-location-strip { padding-bottom: 1.3rem; gap: .9rem; }
 .mk-location-strip .mk-branch-switcher { grid-column: 1/-1; }
 .mk-location-strip__map { grid-column: 1/-1; min-height: 36px; }
 .mk-home__daily { gap: 1.6rem; }
 .mk-home__quest { min-height: 245px; }
 .mk-auth { grid-template-columns: minmax(0,1fr); border: 0; background: transparent; box-shadow: none; margin: 0; }
 .mk-auth__brand { display: none; }
 .mk-auth__form { padding: .8rem 0 1rem; }
 .mk-auth__intro { margin-bottom: .5rem; }
 .mk-menu .mk-product-grid { grid-template-columns: minmax(0,1fr); }
 .mk-menu .mk-product__actions { gap: .6rem; }
 .mk-menu .mk-product__actions > label input { width: 4rem !important; }
 .mk-menu .mk-product__actions > strong { margin-left: auto; }
 .mk-menu .mk-product__actions > .mk-button { width: 100%; }
}
@media (max-width: 359px) {
 .mk-app__header-inner,.mk-main { width: calc(100% - 1.5rem); }
 .mk-brand-mark--compact { gap: .4rem; }
 .mk-brand-mark--compact .mk-brand-mark__frame { width: 36px; flex-basis: 36px; height: 32px; }
 .mk-brand-mark--compact .mk-brand-mark__name { font-size: .85rem; }
 .mk-header-actions { gap: 0; }
 .mk-header-actions__item { width: 42px; min-height: 44px; }
 .mk-wallet-pass .mk-balance-grid { gap: .6rem; }
 .mk-wallet-pass .mk-balance + .mk-balance { padding-left: .6rem; }
 .mk-wallet-pass__actions > .mk-button { width: 100%; }
 .mk-hero--home .mk-hero__copy { padding: .8rem 1.1rem 1.25rem; }
}
@keyframes mk-reveal { from { opacity: .65; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion:no-preference) { .mk-hero__copy,.mk-auth__form { animation: mk-reveal 260ms ease-out both; } }
@media (forced-colors:active) { .mk-wallet-pass { border: 1px solid CanvasText; } .mk-home__quest::before,.mk-home__quest::after { display: none; } }

/* Final optical corrections after first Chromium review. */
.mk-hero--home, .mk-hero--home .mk-hero__media, .mk-auth__brand { background: #000; }
.mk-hero--home .mk-hero__copy { gap: .95rem; }
.mk-hero__title { font-size: clamp(2.6rem,4.7vw,4.35rem); }
.mk-brand-mark--compact .mk-brand-mark__frame { height: 36px; width: 65px; flex-basis: 65px; }
.mk-brand-mark--compact .mk-brand-mark__image { object-fit: cover; object-position: center top; }
.mk-menu__branch { display: flex; gap: .8rem; align-items: end; flex-wrap: wrap; }
.mk-menu__branch > .mk-icon { align-self: center; margin-top: 1.15rem; color: var(--mk-muted); }
.mk-menu__branch > .mk-branch-switcher { min-width: 0; width: min(100% - 34px,30rem); }
.mk-menu__branch > p { align-self: center; margin-top: 1.15rem; }
.mk-product__single-size { color: var(--mk-muted); font-size: .85rem; grid-column: 1/-1; margin-top: -.25rem; }
.mk-product__sizes .mk-choice { position: relative; min-height: 38px; padding: .5rem .75rem; background: transparent; }
.mk-product__sizes .mk-choice:has(input:checked) { background: var(--mk-paper); color: var(--mk-ink); }
.mk-product__sizes .mk-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mk-product__sizes .mk-choice:focus-within { outline: 2px solid var(--mk-focus); outline-offset: 3px; }
.mk-product__actions { align-self: end; margin-top: auto; }
.mk-stepper { display: inline-flex; align-items: center; border: 1px solid var(--mk-border); border-radius: .55rem; background: #171715; flex: 0 0 auto; }
.mk-stepper button { width: 40px; min-height: 44px; padding: 0; color: var(--mk-paper); background: transparent; border: 0; font-size: 1.15rem; cursor: pointer; border-radius: .4rem; }
.mk-stepper button:hover:not(:disabled) { background: var(--mk-hover); }
.mk-stepper button:disabled { opacity: .35; cursor: default; }
.mk-app .mk-stepper input { width: 2rem; min-height: 44px; text-align: center; font-size: .85rem; padding: 0; border: 0; appearance: textfield; -moz-appearance: textfield; }
.mk-stepper input::-webkit-outer-spin-button,.mk-stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.mk-product__actions > .mk-button { margin-left: auto; justify-content: center; }
.mk-product__total { padding-left: .55rem; border-left: 1px solid var(--mk-rule); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-menu .mk-product { grid-template-rows: auto auto 1fr auto; }
.mk-menu .mk-product__actions { grid-row: -2/-1; }
.mk-menu .mk-product__addons { grid-row: 3; }
.mk-header-offline { font-size: .65rem; }
@media (min-width: 900px) { .mk-app--client .mk-route--home { padding-top: 2rem; } .mk-hero--home .mk-hero__copy { padding-block: 2.45rem; } }
@media (max-width: 699px) {
 .mk-brand-mark--compact .mk-brand-mark__frame { width: 49px; flex-basis: 49px; height: 29px; }
 .mk-hero__title { font-size: clamp(2.35rem,8.5vw,3.65rem); }
 .mk-menu .mk-product__actions > .mk-button { width: auto; flex: 1 1 9rem; margin-left: 0; }
 .mk-header-offline { position: absolute; top: 100%; right: 1rem; z-index: 20; }
}
@media (max-width: 359px) { .mk-brand-mark--compact .mk-brand-mark__frame { width: 38px; flex-basis: 38px; height: 24px; } .mk-menu .mk-product__actions > .mk-button { flex-basis: 100%; } }
.mk-nav__item { background: transparent; cursor: pointer; }
.mk-app--manager .mk-nav__item:hover:not([aria-current=page]),.mk-app--owner .mk-nav__item:hover:not([aria-current=page]) { background: var(--mk-raised); color: var(--mk-paper); }

.mk-app--client .mk-route--home { scroll-margin-top: 12px; }
.mk-app :where(button, a, input, select, summary) { scroll-margin-bottom: 90px; }
@media (forced-colors:active) { .mk-nav__item[aria-current=page] { border: 1px solid Highlight; } .mk-choice:has(input:checked) { border: 2px solid Highlight; } }


/* Interaction polish for call-to-action arrows and select controls. */
.mk-button .mk-icon,
.mk-location-strip__map .mk-icon,
.mk-quest-spotlight__link .mk-icon {
  width: 1rem; height: 1rem; flex: 0 0 auto;
}
.mk-button .mk-icon,
.mk-location-strip__map .mk-icon,
.mk-quest-spotlight__link .mk-icon {
  padding: .35rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.05); box-sizing: content-box;
}
.mk-button--primary .mk-icon { border-color: rgb(0 0 0 / 0.12); background: rgb(0 0 0 / 0.05); }
.mk-button:hover .mk-icon,
.mk-location-strip__map:hover .mk-icon,
.mk-quest-spotlight__link:hover .mk-icon { transform: translateX(2px); }

/* Warm pastel polish: cleaner black + coffee foam, less dirty grey. */
.mk-button {
  border-radius: .85rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 10px 24px rgb(0 0 0 / 0.22);
  transition: background-color var(--mk-motion-fast) var(--mk-ease),
    border-color var(--mk-motion-fast) var(--mk-ease),
    color var(--mk-motion-fast) var(--mk-ease),
    transform var(--mk-motion-fast) var(--mk-ease),
    box-shadow var(--mk-motion-fast) var(--mk-ease);
}
.mk-button:hover:not(:disabled) { transform: translateY(-1px); }
.mk-button:active:not(:disabled) { transform: translateY(1px); }

.mk-button--primary {
  color: var(--mk-ink-on-paper);
  background: linear-gradient(180deg, #f7efe5 0%, var(--mk-paper) 48%, #e1d2be 100%);
  border-color: #d7c4ae;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.72), 0 2px 0 #bfa98f, 0 14px 30px rgb(0 0 0 / 0.28);
}
.mk-button--primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #fbf4ea 0%, #f3e9dc 48%, #e8dac7 100%);
  border-color: #dfccba;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.78), 0 3px 0 #c7b198, 0 18px 34px rgb(0 0 0 / 0.3);
}

.mk-button--secondary {
  color: var(--mk-paper);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015)), var(--mk-surface-elevated);
  border-color: rgb(226 207 184 / 0.45);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 26px rgb(0 0 0 / 0.22);
}
.mk-button--secondary:hover:not(:disabled) {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.025)), #201915;
  border-color: rgb(236 219 199 / 0.7);
}

.mk-button--ghost {
  color: var(--mk-paper);
  background: rgb(255 255 255 / 0.02);
  border-color: rgb(255 255 255 / 0.04);
}
.mk-button--ghost:hover:not(:disabled) { background: rgb(255 255 255 / 0.05); }

.mk-header-actions__item {
  border-color: rgb(226 207 184 / 0.18);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.01));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}
.mk-header-actions__item:hover { background: #1d1713; color: var(--mk-paper); border-color: rgb(232 214 193 / 0.42); }

.mk-app--client .mk-nav--desktop .mk-nav__item,
.mk-app--manager .mk-nav__item,
.mk-app--owner .mk-nav__item {
  border: 1px solid transparent;
  border-radius: .9rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.mk-app--client .mk-nav--desktop .mk-nav__item:hover:not([aria-current=page]),
.mk-app--manager .mk-nav__item:hover:not([aria-current=page]),
.mk-app--owner .mk-nav__item:hover:not([aria-current=page]) {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015));
  border-color: rgb(226 207 184 / 0.18);
  color: var(--mk-paper);
}
.mk-app--client .mk-nav--desktop .mk-nav__item[aria-current=page] {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.02)), #211b16;
  border-color: rgb(228 210 190 / 0.22);
  color: var(--mk-paper);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 10px 24px rgb(0 0 0 / 0.2);
}

.mk-status {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.01)), #171310;
  border-color: rgb(224 205 183 / 0.28);
  border-inline-start-color: var(--mk-foam-soft);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 14px 28px rgb(0 0 0 / 0.16);
}

.mk-select__trigger,.mk-native-select,.mk-field__control {
  border-color: rgb(224 205 183 / 0.34);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015)), var(--mk-surface);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05), 0 10px 24px rgb(0 0 0 / 0.18);
}
.mk-select__trigger:hover:not(:disabled), .mk-native-select:hover:not(:disabled), .mk-field__control:hover {
  border-color: rgb(234 216 196 / 0.56);
}

.mk-category-list {
  gap: .7rem;
  padding-bottom: .2rem;
}
.mk-category-list__item {
  min-height: 46px;
  padding: .75rem 1.05rem;
  border-radius: .95rem;
  color: var(--mk-paper);
  border-color: rgb(226 207 184 / 0.28);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), rgb(255 255 255 / 0.015)), #15110f;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 8px 18px rgb(0 0 0 / 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.mk-category-list__item:hover {
  transform: translateY(-1px);
  border-color: rgb(236 219 199 / 0.44);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.02)), #1b1612;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 12px 24px rgb(0 0 0 / 0.2);
}
.mk-category-list__item[aria-current='true'], .mk-category-list__item[aria-pressed='true'] {
  color: var(--mk-ink-on-paper);
  background: linear-gradient(180deg, #f8f0e5 0%, var(--mk-paper) 55%, #deceb9 100%);
  border-color: #d9c4aa;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.78), 0 2px 0 #bfa98f, 0 14px 28px rgb(0 0 0 / 0.26);
}

.mk-product__sizes .mk-choice,
.mk-choice {
  border-radius: .8rem;
  border-color: rgb(226 207 184 / 0.24);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.01));
}
.mk-product__sizes .mk-choice:hover,
.mk-choice:hover { border-color: rgb(236 219 199 / 0.42); }
.mk-product__sizes .mk-choice:has(input:checked),
.mk-choice:has(input:checked) {
  background: linear-gradient(180deg, #f5ecdf 0%, #ecdfcf 100%);
  color: var(--mk-ink-on-paper);
  border-color: #d8c2a6;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65);
}

.mk-menu .mk-product {
  border-bottom-color: rgb(225 206 184 / 0.18);
}

/* Finishing pass: one material system for purchase, account and navigation. */
.mk-app__header { background: #141414; }
.mk-card--outlined { background: #141414; }
.mk-button--secondary { background: linear-gradient(180deg,#292929,#1e1e1e); border-color:#6f685f; }
.mk-button--secondary:hover:not(:disabled) { background: linear-gradient(180deg,#343331,#242322); border-color:#a89c8a; }
.mk-button--primary { background: linear-gradient(180deg,#fff5e8,#f3e7d5 68%,#e7d5bc); border-color:#dac3a5; }
.mk-category-list__item { background: linear-gradient(180deg,#282828,#1c1c1c); border-color:#6d665e; }
.mk-category-list__item:hover { background:#303030; }
.mk-category-list__item[aria-pressed=true],.mk-category-list__item[aria-current=true] { background:linear-gradient(180deg,#fff5e7,#eddfcb); }
.mk-select__trigger,.mk-native-select,.mk-field__control { background:linear-gradient(180deg,#242424,#1a1a1a); border-color:#756d63; box-shadow:inset 0 1px 1px #ffffff08,0 2px 6px #0003; }
select.mk-native-select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f3e7d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; }
.mk-select__popover { background:#202020; border-color:#746b5f; box-shadow:0 12px 30px #0008,0 1px 0 #fff1 inset; }
.mk-select__option.is-selected { color:var(--mk-ink-on-paper); background:var(--mk-paper); border-color:#dac6a8; }
.mk-select__option.is-selected .mk-select__copy span { color:#66584b; }
.mk-select__option.is-selected .mk-select__check { color:var(--mk-ink-on-paper); background:#e2cdb1; border-color:#9c8467; }
.mk-phone-field .mk-field__affix { flex:0 0 auto; align-self:stretch; display:grid; place-items:center; padding:0 .9rem; font-variant-numeric:tabular-nums; color:var(--mk-text); border-right:1px solid var(--mk-rule); background:#ffffff04; font-weight:650; }
.mk-phone-field .mk-field__input { font-variant-numeric:tabular-nums; letter-spacing:.025em; }
.mk-route--profile > section,.mk-route--onboarding > section { width:min(100%,54rem); margin-inline:auto; }
.mk-route--profile .mk-card > .mk-button,.mk-route--onboarding .mk-card > .mk-button { justify-self:start; }
.mk-history-arrow { display:inline-block; vertical-align:middle; width:15px; height:15px; margin-inline:.2rem; }

/* Menu: compact, aligned purchase units, consistent size choices and footers. */
.mk-menu { gap:1.15rem; }
.mk-menu .mk-page-header { margin-bottom:.2rem; }
.mk-menu .mk-page-header__description { max-width:55ch; }
.mk-menu__branch { gap:.7rem; }
.mk-menu__branch-pin { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; align-self:end; border:1px solid var(--mk-rule); border-radius:50%; background:#1b1b1b; color:var(--mk-muted); margin-bottom:3px; }
.mk-menu__branch > .mk-branch-switcher { flex:1 1 14rem; width:auto; max-width:32rem; }
.mk-menu .mk-category-list { flex-wrap:wrap; gap:.5rem; overflow:visible; padding:.1rem 0 .85rem; }
.mk-menu .mk-category-list__item { min-height:44px; padding:.6rem .9rem; border-radius:999px; font-size:.83rem; white-space:normal; max-width:100%; }
.mk-menu__groups { gap:2.1rem; }
.mk-menu__group-heading { border:0; margin-bottom:.7rem; padding:0; align-items:center; }
.mk-menu__group-heading h2 { font-size:clamp(1.5rem,2.4vw,2.05rem); }
.mk-menu__group-heading > span { min-width:2rem; height:2rem; padding:0 .45rem; display:grid; place-items:center; border-radius:999px; border:1px solid var(--mk-rule); background:#191919; font-size:.75rem; }
.mk-menu .mk-product-grid { grid-template-columns:minmax(0,1fr); gap:.85rem; align-items:stretch; }
.mk-menu .mk-product.mk-menu-tile { min-width:0; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto 1fr auto; gap:.85rem; padding:1.05rem; border:1px solid #49433c; border-radius:1.1rem; background:linear-gradient(155deg,#232323,#191919 58%,#171717); box-shadow:inset 0 1px 0 #ffffff0b,0 8px 18px #0004; }
.mk-product__head { min-width:0; display:grid; gap:.3rem; }
.mk-product__name { font-size:1.15rem; font-weight:680; line-height:1.22; letter-spacing:-.025em; }
.mk-product__description { font-size:.83rem; line-height:1.4; margin:0; }
.mk-product__details { min-width:0; display:grid; align-content:start; gap:.5rem; }
.mk-product__fixed { display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:56px; padding:.65rem .8rem; background:#141414; border:1px solid #3e3933; border-radius:.8rem; }
.mk-product__fixed span { font-size:.82rem; color:var(--mk-muted); }
.mk-product__fixed strong { font-size:1.04rem; font-variant-numeric:tabular-nums; white-space:nowrap; font-weight:650; }
.mk-menu .mk-product__sizes { display:grid; grid-template-columns:repeat(auto-fit,minmax(69px,1fr)); gap:.4rem; width:100%; padding:0; margin:0; }
.mk-menu .mk-size-tile { display:grid; place-items:center; align-content:center; min-width:0; min-height:56px; text-align:center; gap:.12rem; padding:.35rem .2rem; background:#141414; border:1px solid #74695e; border-radius:.8rem; font-size:.73rem; line-height:1.25; box-shadow:inset 0 2px 4px #0003; }
.mk-size-tile > span { color:var(--mk-muted); }
.mk-size-tile > strong { font-size:.9rem; font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; }
.mk-menu .mk-size-tile:has(input:checked) { background:linear-gradient(180deg,#fff6e8,#eee0cb); color:var(--mk-ink-on-paper); border-color:#e4cbaa; box-shadow:inset 0 1px 0 #fff8,0 2px 0 #b9a083,0 5px 10px #0002; }
.mk-size-tile:has(input:checked) > span { color:#655447; }
.mk-menu .mk-product__addons { grid-row:auto; grid-column:auto; border-top:0; }
.mk-product__addons summary { padding-inline:.2rem; min-height:40px; }
.mk-addons-count { margin-left:.25rem; display:grid; place-items:center; min-width:1.3rem; height:1.3rem; background:var(--mk-paper); color:var(--mk-ink-on-paper); border-radius:999px; font-size:.72rem; }
.mk-product__addons .mk-product__options { display:grid; gap:.35rem; }
.mk-addon-row { display:flex; min-width:0; align-items:center; gap:.35rem; }
.mk-addon-row .mk-choice { flex:1; min-width:0; justify-content:flex-start; background:#181818; font-size:.77rem; padding:.5rem; }
.mk-addon-row .mk-choice > span { min-width:0; flex:1; }
.mk-addon-row .mk-choice > strong { font-weight:600; white-space:nowrap; }
.mk-addon-row > input { width:3.25rem; min-width:0; flex:0 0 3.25rem; }
.mk-menu .mk-product__actions { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.55rem; grid-row:auto; grid-column:auto; align-items:stretch; align-self:end; margin:0; padding:0; }
.mk-menu .mk-stepper { border-radius:.8rem; background:#131313; border-color:#71685d; box-shadow:inset 0 2px 6px #0006; }
.mk-menu .mk-stepper button { width:2.05rem; min-height:48px; display:grid; place-items:center; }
.mk-menu .mk-stepper button .mk-icon { width:17px; height:17px; }
.mk-app .mk-menu .mk-stepper input { width:1.55rem; min-height:48px; font-weight:650; font-size:.92rem; }
.mk-menu .mk-product__actions > .mk-button { width:100%; min-width:0; min-height:50px; margin:0; padding:.48rem .6rem; border-radius:.8rem; }
.mk-product__buy .mk-button__label { gap:.45rem; min-width:0; width:100%; }
.mk-product__buy .mk-icon { padding:0; border:0; background:transparent; width:17px; height:17px; }
.mk-product__buy-copy { min-width:0; display:grid; justify-items:start; gap:.07rem; font-size:.75rem; line-height:1.2; text-align:left; }
.mk-product__buy .mk-product__total { border:0; padding:0; font-size:1rem; font-weight:750; letter-spacing:-.02em; }
@media (min-width:650px) { .mk-menu .mk-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; } }
@media (min-width:1040px) { .mk-menu .mk-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; } }
@media (max-width:359px) { .mk-menu .mk-product.mk-menu-tile { padding:.85rem; } .mk-menu .mk-product__sizes { grid-template-columns:repeat(auto-fit,minmax(61px,1fr)); } .mk-menu .mk-product__buy .mk-icon { width:14px; height:14px; } .mk-menu .mk-stepper button { width:1.95rem; } }

/* Sign-in: warm paper form, quiet black artwork, explicit feedback. */
.mk-auth { max-width:60rem; grid-template-columns:minmax(0,.95fr) minmax(0,1fr); border-color:#3e3933; border-radius:1.45rem; align-items:stretch; background:#080808; }
.mk-auth__brand { justify-content:center; gap:1.6rem; padding:clamp(1.5rem,4vw,3rem); }
.mk-auth__brand > p { color:var(--mk-paper); font-size:clamp(1.6rem,2.8vw,2.35rem); }
.mk-auth__brand-note { display:flex; align-items:center; gap:.6rem; font-size:.75rem; color:var(--mk-muted); }
.mk-auth__brand-note .mk-icon { width:17px; height:17px; }
.mk-auth__form { --mk-text:#241c15; --mk-muted:#675747; --mk-subtle:#7b6959; --mk-rule:#cdbba5; --mk-border:#97816a; --mk-focus:#5b4835; color:var(--mk-text); background:linear-gradient(145deg,#fff6e8,#f3e7d5 58%,#ebdcc6); gap:.95rem; padding:clamp(1.4rem,3.8vw,2.65rem); }
.mk-auth__intro { gap:.65rem; margin-bottom:.3rem; }
.mk-auth__eyebrow { display:flex; align-items:center; gap:.55rem; font-size:.77rem; font-weight:700; color:#6c5845; }
.mk-auth__eyebrow .mk-icon { width:18px; height:18px; }
.mk-auth__intro h1 { font-size:clamp(2rem,3.5vw,3.05rem); }
.mk-auth__intro > p { font-size:.91rem; line-height:1.5; }
.mk-auth__email { gap:.75rem; }
.mk-auth__form .mk-field__control { background:#fffaf2; border-color:#a39079; box-shadow:inset 0 2px 4px #6e503311; border-radius:.8rem; }
.mk-auth__form .mk-field__control:focus-within { border-color:#7c6347; box-shadow:0 0 0 3px #8e694a26; }
.mk-auth__form .mk-field__input { color:var(--mk-text); min-height:52px; }
.mk-auth__form .mk-field__input::placeholder { color:#8a7764; }
.mk-auth__form .mk-field__error { color:#813e2d; }
.mk-auth__form .mk-button--primary { color:#fff2df; border-color:#211b16; background:linear-gradient(180deg,#302a24,#161412); box-shadow:inset 0 1px 0 #fff2,0 3px 0 #9c8165,0 8px 16px #77563525; }
.mk-auth__form .mk-button--primary:hover:not(:disabled) { background:linear-gradient(180deg,#40362c,#241f19); border-color:#211b16; }
.mk-auth__form .mk-button--secondary { color:#2b2118; border-color:#a48d72; background:linear-gradient(180deg,#fff9ee,#f5e8d6); box-shadow:inset 0 1px 0 #fff8,0 2px 4px #76533712; }
.mk-auth__form .mk-button--secondary:hover:not(:disabled) { color:#2b2118; border-color:#796149; background:#fff8ed; }
.mk-auth__form .mk-button--ghost { color:#584432; background:transparent; border:0; box-shadow:none; justify-self:start; }
.mk-auth__form .mk-button .mk-icon { border:0; padding:0; background:transparent; width:19px; height:19px; }
.mk-auth__form .mk-status { color:var(--mk-text); background:#e8d7bf; border:1px solid #aa8e6e; border-inline-start:4px solid #86674b; box-shadow:none; }
.mk-auth__notice { display:flex; align-items:flex-start; gap:.65rem; color:#55422e; background:#eadac2; border:1px solid #c9ad8b; padding:.8rem .85rem; border-radius:.8rem; font-size:.8rem; }
.mk-auth__notice .mk-icon { width:19px; height:19px; }
.mk-auth__form .mk-auth__code { font-size:1.3rem; font-variant-numeric:tabular-nums; letter-spacing:.23em; }
.mk-auth__guest { color:#463522; border-color:#ccb69a; }
@media (max-width:699px) {
  .mk-auth { grid-template-columns:minmax(0,1fr); background:none; border:0; box-shadow:none; margin:0 auto; max-width:29rem; border-radius:1.25rem; overflow:visible; }
  .mk-auth__form { padding:1.4rem 1.15rem; border:1px solid #cdb598; border-radius:1.25rem; box-shadow:0 12px 30px #0005; }
  .mk-auth__intro h1 { font-size:2.2rem; }
  .mk-route--profile .mk-card > .mk-button,.mk-route--onboarding .mk-card > .mk-button { justify-self:stretch; }
}

/* One floating, tactile bottom rail. Safe areas stay outside the content. */
@media(max-width:899px) {
  .mk-app--client .mk-nav--mobile { position:fixed; z-index:40; inset:auto auto max(.5rem,env(safe-area-inset-bottom)) 50%; transform:translateX(-50%); width:min(calc(100% - 1rem),32rem); padding:.35rem; gap:.25rem; border:1px solid #655c51; border-radius:1.25rem; background:#1c1c1c; box-shadow:0 12px 34px #0009,inset 0 1px 0 #ffffff12; }
  .mk-app--client .mk-nav--mobile .mk-nav__item { min-height:58px; border:1px solid transparent; border-radius:.9rem; gap:.22rem; padding:.35rem .1rem; color:#d5c9b8; font-size:.7rem; font-weight:600; transition:background 180ms ease,color 180ms ease,box-shadow 180ms ease,transform 160ms ease; }
  .mk-app--client .mk-nav--mobile .mk-nav__glyph { width:29px; height:25px; background:transparent; color:inherit; border-radius:0; }
  .mk-app--client .mk-nav--mobile .mk-nav__glyph .mk-icon { width:22px; height:22px; }
  .mk-app--client .mk-nav--mobile .mk-nav__item[aria-current=page] { background:linear-gradient(180deg,#fff5e8,#ead9bf); border-color:#e7ceb1; color:#231a13; box-shadow:inset 0 1px 0 #fff9,0 3px 0 #bba082,0 5px 12px #0005; }
  .mk-app--client .mk-nav--mobile .mk-nav__item[aria-current=page] .mk-nav__glyph { background:transparent; color:inherit; }
  .mk-app--client .mk-nav--mobile .mk-nav__item:active { transform:scale(.96); }
  .mk-app--client .mk-main { padding-bottom:calc(108px + env(safe-area-inset-bottom)); }
}
.mk-cart-toast { position:fixed; z-index:45; right:1.3rem; bottom:1.3rem; width:min(calc(100% - 2rem),25rem); display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:.75rem; align-items:center; padding:.8rem; background:#f3e7d5; border:1px solid #dfc7a6; color:#221a13; border-radius:1.1rem; box-shadow:0 14px 40px #0008,inset 0 1px 0 #fff9; }
.mk-cart-toast__mark { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#24201b; color:#fff0d9; }
.mk-cart-toast__copy { display:grid; gap:.15rem; font-size:.8rem; }
.mk-cart-toast__copy strong { font-weight:700; line-height:1.35; }
.mk-cart-toast__copy a { display:inline-flex; align-items:center; gap:.25rem; color:#654e35; font-size:.75rem; text-decoration:none; min-height:24px; }
.mk-cart-toast__copy a .mk-icon { width:14px; height:14px; }
.mk-cart-toast__close { display:grid; place-items:center; width:40px; height:44px; border:0; border-radius:.7rem; background:transparent; color:#51412f; cursor:pointer; }
.mk-cart-toast__close:hover { background:#dfcbb1; }
.mk-cart-toast :focus-visible { outline-color:#624b35; }
@media(max-width:899px) { .mk-cart-toast { bottom:calc(5.8rem + env(safe-area-inset-bottom)); right:50%; transform:translateX(50%); width:min(calc(100% - 1rem),32rem); } }
@keyframes mk-toast-in { from { opacity:0; translate:0 8px; } to { opacity:1; translate:0 0; } }
@keyframes mk-count-in { from { transform:scale(.8); } to { transform:scale(1); } }
@keyframes mk-popover-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:no-preference) {
  .mk-cart-toast { animation:mk-toast-in 200ms var(--mk-ease) both; }
  .mk-cart-count { animation:mk-count-in 200ms var(--mk-ease); }
  .mk-select__popover { animation:mk-popover-in 160ms var(--mk-ease) both; }
  .mk-menu .mk-size-tile,.mk-menu .mk-stepper button { transition:background 160ms ease,color 160ms ease,border-color 160ms ease,box-shadow 160ms ease,transform 120ms ease; }
  .mk-menu .mk-stepper button:active:not(:disabled),.mk-menu .mk-size-tile:active { transform:scale(.97); }
  .mk-field__control { transition:border-color 150ms ease,box-shadow 150ms ease; }
}
@media(forced-colors:active) { .mk-cart-toast,.mk-menu .mk-product.mk-menu-tile,.mk-auth__form { border:1px solid CanvasText; } .mk-app--client .mk-nav--mobile .mk-nav__item[aria-current=page] { border:2px solid Highlight; } }
.mk-select__value { display:grid; gap:.1rem; text-overflow:clip; white-space:normal; overflow-wrap:anywhere; }
.mk-select__value > strong { font-size:.9rem; line-height:1.25; font-weight:650; }
.mk-select__value > small { font-size:.73rem; font-weight:450; color:var(--mk-muted); line-height:1.3; }
@media (max-width:699px) {
  .mk-menu .mk-page-header > .mk-button { display:none; }
  .mk-menu .mk-page-header__description { font-size:.83rem; }
  .mk-menu__branch-pin { align-self:center; margin-top:.85rem; }
  .mk-menu .mk-category-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.45rem; }
  .mk-menu .mk-category-list__item { min-width:0; border-radius:.8rem; min-height:44px; padding:.45rem .25rem; font-size:.75rem; line-height:1.2; }
  .mk-menu .mk-page-header { gap:.4rem; }
  .mk-menu .mk-product.mk-menu-tile { gap:.75rem; }
}
.mk-select--up .mk-select__popover { inset:auto 0 calc(100% + .45rem); }
.mk-select__option:focus-visible { outline:2px solid var(--mk-paper); outline-offset:-3px; }
.mk-select__option.is-selected:focus-visible { outline-color:#5c4936; }


/* Branch contact details: fixed reading order, independent of wrapping. */
.mk-location-strip { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) auto; align-items:start; column-gap:1.6rem; row-gap:.75rem; }
.mk-location-strip__info { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:center; gap:.75rem; }
.mk-location-strip__pin { width:42px; height:42px; }
.mk-location-strip__address { display:grid; gap:.16rem; min-width:0; }
.mk-location-strip__city { color:var(--mk-muted); font-size:.75rem; line-height:1.35; }
.mk-location-strip__address strong { font-size:1.05rem; font-weight:650; line-height:1.35; overflow-wrap:normal; }
.mk-location-strip__details { grid-column:1; grid-row:1; display:grid; gap:.3rem; min-width:0; }
.mk-location-strip__contacts { display:grid; gap:0; min-width:0; padding-left:3.375rem; }
.mk-location-strip__phone { display:inline-flex; align-items:center; justify-self:start; gap:.5rem; min-height:44px; color:var(--mk-paper); text-decoration:none; font-size:.91rem; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.mk-location-strip__phone .mk-icon { width:17px; height:17px; }
.mk-location-strip__phone:hover span { text-decoration:underline; text-underline-offset:.2em; }
.mk-location-strip__hours { color:var(--mk-muted); font-size:.75rem; line-height:1.45; }
.mk-location-strip > .mk-branch-switcher { grid-column:2; grid-row:1; }
.mk-location-strip__map { grid-column:3; grid-row:1; align-self:center; justify-self:end; }
.mk-location-strip > .mk-status { grid-column:1/-1; }
.mk-menu-state { display:flex; align-items:center; gap:.65rem; min-height:44px; font-size:.88rem; color:var(--mk-muted); }
.mk-menu-state .mk-button__spinner { flex:0 0 auto; }
@media (max-width:899px) {
  .mk-location-strip { grid-template-columns:minmax(0,1fr); row-gap:1rem; }
  .mk-location-strip__details,.mk-location-strip .mk-branch-switcher,.mk-location-strip__map { grid-column:1; grid-row:auto; }
  .mk-location-strip__contacts { padding-left:3.375rem; }
  .mk-location-strip__map { justify-self:start; min-height:44px; }
}
@media(max-width:359px) {
  .mk-location-strip__info { grid-template-columns:36px minmax(0,1fr); gap:.6rem; }
  .mk-location-strip__pin { width:36px; height:36px; }
  .mk-location-strip__contacts { padding-left:2.85rem; }
  .mk-location-strip__address strong { font-size:1rem; }
}
