:root {
  --paper: #fff;
  --ink: #24231f;
  --muted: #767168;
  --line: #dfddd6;
  --sage: #6f7868;
  --sage-soft: #eef1eb;
  --coffee: #554238;
  --gold: #9a7a43;
  --vermilion: #9a5f51;
  --white: #fff;
  --shadow: 0 24px 70px rgba(42, 38, 32, 0.12);
  --gutter: clamp(20px, 4vw, 64px);
  --header-logo-width: 300px;
  --header-logo-height: 86px;
  --logo-zoom-compensation: 1;
  --layer-header: 9000;
  --layer-menu: 10000;
  --layer-map: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
  touch-action: manipulation;
}

img {
  display: block;
  width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  min-height: 108px;
  padding: 10px var(--gutter) 10px 24px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 221, 214, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  width: fit-content;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
}

.brand-logo {
  display: block;
  width: var(--header-logo-width);
  min-width: var(--header-logo-width);
  max-width: var(--header-logo-width);
  height: var(--header-logo-height);
  min-height: var(--header-logo-height);
  max-height: var(--header-logo-height);
  flex: 0 0 var(--header-logo-width);
  object-fit: contain;
  filter: none;
  transform: scale(var(--logo-zoom-compensation));
  transform-origin: left center;
  will-change: transform;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: var(--ink);
}

.brand-mark::before {
  bottom: 9px;
  transform: rotate(18deg);
}

.brand-mark::after {
  bottom: 6px;
  transform: rotate(-18deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 32px);
  font-size: 14px;
  color: var(--muted);
}

.site-nav a,
.text-link,
.footer-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.footer-links a:hover {
  color: var(--coffee);
}

.site-nav .nav-icon {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .nav-icon:hover,
.site-nav .nav-icon:focus-visible,
.site-nav .nav-icon[aria-current="page"] {
  color: var(--coffee);
}

.site-nav .nav-icon::before {
  content: none;
}

.site-nav .nav-icon span {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  line-height: 1;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.header-action,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px 11px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-action {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
}

.login-action {
  position: relative;
  width: auto;
  min-width: 0;
  padding: 10px 16px 11px;
  border-radius: 6px;
}

.login-action::before {
  content: none;
}

.login-action::after {
  content: none;
}

.login-action span {
  position: static;
  width: auto;
  padding: 0;
  background: transparent;
  color: currentColor;
  font-size: 14px;
  line-height: 1.2;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.member-menu {
  position: relative;
  z-index: var(--layer-menu);
  justify-self: end;
}

.member-menu-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.member-menu-button:hover,
.member-menu-button:focus-visible {
  background: var(--coffee);
  transform: translateY(-1px);
}

.member-menu-lines,
.member-menu-lines::before,
.member-menu-lines::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  background: currentColor;
}

.member-menu-lines {
  position: relative;
}

.member-menu-lines::before,
.member-menu-lines::after {
  position: absolute;
  left: 0;
}

.member-menu-lines::before {
  top: -5px;
}

.member-menu-lines::after {
  top: 5px;
}

.member-menu-initial {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.member-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: var(--layer-menu);
  width: min(310px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.member-mini-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.member-mini-card span,
.member-mini-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.member-mini-card strong {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
}

.member-menu-panel nav {
  display: grid;
  margin: 10px 0;
}

.member-menu-panel nav a,
.member-logout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.member-menu-panel nav a::after {
  content: "→";
  color: var(--muted);
}

.member-logout {
  width: 100%;
  border-bottom: 0;
  color: var(--vermilion);
}

.primary-button {
  background: var(--ink);
  color: var(--paper);
}

.header-action:hover,
.login-action[aria-current="page"],
.primary-button:hover {
  background: var(--coffee);
  transform: translateY(-1px);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(460px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding: clamp(38px, 5vw, 84px) var(--gutter) clamp(42px, 6vw, 84px);
}

.hero-copy {
  position: relative;
  max-width: 690px;
  padding-left: clamp(0px, 4vw, 52px);
}

.vertical-word {
  position: absolute;
  left: 0;
  top: 8px;
  writing-mode: vertical-rl;
  color: var(--sage);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.24;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(42px, 7vw, 84px);
}

.hero-copy > p:not(.vertical-word) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
}

.text-link {
  color: var(--coffee);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 460px;
  aspect-ratio: 720 / 506;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sage-soft);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(310px, calc(100% - 44px));
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(216, 216, 214, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.hero-note span {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.hero-note strong {
  display: block;
  margin-top: 3px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.section {
  padding: clamp(76px, 9vw, 132px) var(--gutter);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading p {
  margin: 0 0 10px;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 700;
}

.section-heading h2 {
  font-size: clamp(29px, 4vw, 52px);
}

.shop-map-section {
  padding-bottom: 28px;
}

.shop-map-section .section-heading {
  margin-bottom: 22px;
}

.shop-map-frame {
  position: relative;
  z-index: var(--layer-map);
  isolation: isolate;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sage-soft);
}

.shop-map-frame .leaflet-pane,
.shop-map-frame .leaflet-tile,
.shop-map-frame .leaflet-marker-icon,
.shop-map-frame .leaflet-marker-shadow,
.shop-map-frame .leaflet-tile-container,
.shop-map-frame .leaflet-pane > svg,
.shop-map-frame .leaflet-pane > canvas,
.shop-map-frame .leaflet-layer,
.shop-map-frame .leaflet-image-layer,
.shop-map-frame .leaflet-zoom-box {
  position: absolute;
  left: 0;
  top: 0;
}

.shop-map-frame .leaflet-container {
  overflow: hidden;
}

.shop-map-frame .leaflet-tile {
  user-select: none;
}

.shop-map-frame .leaflet-map-pane {
  z-index: 400;
}

.shop-map-frame .leaflet-tile-pane {
  z-index: 200;
}

.shop-map-frame .leaflet-marker-pane {
  z-index: 600;
}

.shop-map-frame .leaflet-popup-pane {
  z-index: 700;
}

.shop-map-frame .leaflet-control-container {
  position: relative;
  z-index: 800;
}

.shop-map-frame .leaflet-control-container,
.shop-map-frame .leaflet-pane {
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
}

.shop-map-frame .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.shop-map-frame .leaflet-popup-content {
  margin: 12px 14px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.shop-map-pin {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--vermilion);
  box-shadow: 0 6px 18px rgba(36, 35, 31, 0.28);
}

.shop-map-pin span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
}

.shop-list {
  border-top: 1px solid var(--line);
}

.shop-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.shop-place span {
  display: block;
  margin-bottom: 6px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.shop-place h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.45;
}

.shop-detail {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shop-detail div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
}

.shop-detail dt {
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.shop-detail dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.shop-row a {
  min-width: 94px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-note[data-state="error"] {
  color: var(--vermilion);
  font-weight: 700;
}

.menu {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(320px, 0.92fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  background: var(--white);
}

.menu-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.menu-image img {
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
}

.menu-copy > p {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.menu-list {
  margin: 0 0 32px;
}

.menu-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.menu-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.menu-list dt {
  font-weight: 700;
  color: var(--coffee);
}

.menu-list dd {
  margin: 0;
  color: var(--muted);
}

.menu-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding: clamp(54px, 8vw, 120px) var(--gutter);
}

.menu-page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 600;
  line-height: 1.22;
}

.menu-page-section {
  padding-top: clamp(64px, 8vw, 110px);
}

.all-menu-section {
  background: var(--white);
}

.menu-filter-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -72px;
  margin-bottom: 30px;
}

.menu-filter-row label {
  display: grid;
  gap: 8px;
  min-width: min(280px, 100%);
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.menu-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-card.has-image {
  grid-template-columns: 88px minmax(0, 1fr);
}

.menu-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: var(--sage-soft);
}

.menu-image-slide {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--sage-soft);
  cursor: pointer;
  font: inherit;
}

.menu-card .menu-image-slide {
  width: 88px;
  height: 88px;
}

.menu-image-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-image-slide span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(36, 35, 31, 0.72);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.menu-card div {
  padding: 16px 18px;
}

.menu-card span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.menu-card h3 {
  margin: 8px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  line-height: 1.4;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
}

.menu-card .menu-price {
  margin-bottom: 8px;
  color: var(--coffee);
  font-weight: 700;
}

.menu-category-list {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}

.menu-category-section {
  display: grid;
  gap: 18px;
}

.menu-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.menu-category-heading span {
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 700;
}

.menu-category-heading h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
}

.menu-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.menu-feature-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.menu-feature-card > img,
.menu-feature-card .menu-image-slide {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  background: var(--sage-soft);
}

.menu-feature-card div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
}

.menu-feature-card h4,
.menu-simple-row h4 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.4;
}

.menu-feature-card h4 {
  font-size: clamp(20px, 2.4vw, 28px);
}

.menu-feature-card p,
.menu-simple-row p {
  margin: 0;
  color: var(--muted);
}

.menu-feature-card .menu-price {
  color: var(--coffee);
  font-weight: 700;
}

.menu-simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.menu-simple-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.menu-simple-row:nth-child(odd) {
  padding-right: 18px;
}

.menu-simple-row:nth-child(even) {
  padding-left: 18px;
}

.menu-simple-row h4 {
  font-size: 18px;
}

.menu-simple-row strong {
  color: var(--coffee);
  white-space: nowrap;
}

.page-heading {
  padding-bottom: clamp(28px, 4vw, 56px);
}

.page-heading h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 600;
  line-height: 1.2;
}

.page-heading > p:not(.admin-label) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.compact-section {
  padding-top: 32px;
}

.section-lead {
  max-width: 720px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.account-grid,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.48fr);
  gap: 24px;
  align-items: start;
}

.account-panel,
.checkout-panel,
.product-card,
.coupon-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.account-panel {
  display: grid;
  gap: 16px;
}

.account-delete-panel,
.account-profile-panel,
.pass-terms-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.account-delete-panel h2,
.account-profile-panel h2,
.pass-terms-box strong {
  margin: 0;
  font-family: "Noto Serif JP", serif;
}

.account-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-profile-form button,
.profile-summary {
  grid-column: 1 / -1;
}

.profile-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-summary span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.account-delete-panel p,
.pass-terms-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.pass-terms-box .check-label {
  align-items: flex-start;
}

.pass-terms-box a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-actions,
.oauth-buttons {
  display: grid;
  gap: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.oauth-button:hover {
  border-color: var(--ink);
}

.oauth-button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.member-card-panel {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(125, 151, 126, 0.16), transparent 48%),
    var(--white);
  overflow: hidden;
}

.member-card-panel span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.member-card-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
}

.member-card-panel p {
  color: var(--muted);
}

.member-card-panel > strong {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(36, 35, 31, 0.1);
  font-family: "Noto Serif JP", serif;
  font-size: 86px;
  line-height: 0.8;
}

.payment-management {
  display: grid;
  gap: 12px;
}

.payment-management h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
}

.member-order-row {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.member-order-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.member-order-row p,
.member-order-row small {
  margin: 0;
  color: var(--muted);
}

.member-actions {
  justify-content: flex-start;
}

.account-panel h2,
.checkout-panel h2,
.coupon-card h3,
.product-card h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.35;
}

.account-panel p,
.coupon-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
}

.coupon-grid,
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.coupon-card,
.product-card,
.checkout-panel {
  display: grid;
  gap: 14px;
}

.coupon-card-media,
.coupon-image-preview img,
.news-image-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sage-soft);
}

.coupon-card-media img,
.coupon-image-preview img,
.news-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coupon-card span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.product-card {
  grid-template-rows: 140px minmax(88px, 1fr) auto;
  min-height: 508px;
  height: 508px;
  padding: 18px;
}

.product-card-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(125, 151, 126, 0.12), rgba(255, 255, 255, 0.96));
}

.product-card-media.has-image {
  background: var(--white);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-media span {
  color: rgba(36, 35, 31, 0.54);
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 600;
}

.product-card-body {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
}

.product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.coupon-card.is-used {
  opacity: 0.58;
}

.coupon-present {
  display: grid;
  gap: 4px;
  margin: 4px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.coupon-present small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.coupon-present b {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.coupon-use-check {
  margin-top: 4px;
}

.coupon-image-preview,
.news-image-preview {
  display: grid;
  gap: 8px;
}

.coupon-image-preview:empty,
.news-image-preview:empty {
  display: none;
}

.coupon-image-preview-actions,
.news-image-preview-actions {
  display: flex;
  justify-content: flex-end;
}

.product-card strong,
.checkout-total {
  color: var(--coffee);
  font-size: 20px;
  font-weight: 700;
}

.admin-item-thumb {
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.admin-item-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row button {
  border: 0;
  background: transparent;
  color: var(--vermilion);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.cart-row span {
  display: grid;
  gap: 4px;
}

.cart-row small {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.embedded-checkout {
  min-height: 0;
}

.pass-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(231, 237, 225, 0.28), transparent 40%),
    var(--paper);
}

.pass-screen {
  min-height: 100vh;
  padding: 0;
}

.pass-panel {
  display: grid;
  gap: 14px;
  min-height: 100vh;
  padding: 16px;
}

.pass-state-card,
.coffee-pass-card,
.pass-action-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pass-state-card {
  display: grid;
  gap: 14px;
  min-height: calc(100vh - 32px);
  align-content: center;
}

.pass-state-card span,
.coffee-pass-card span {
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
}

.pass-state-card h2,
.coffee-pass-card h2,
.coffee-pass-card h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.25;
}

.pass-state-card p,
.coffee-pass-card p,
.pass-action-panel p {
  margin: 0;
  color: var(--muted);
}

.coffee-pass-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: calc(100vh - 170px);
  border-color: var(--ink);
  background:
    linear-gradient(135deg, rgba(111, 120, 104, 0.16), transparent 52%),
    var(--white);
}

.coffee-pass-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.coffee-pass-card-top > strong {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
}

.coffee-pass-card.is-authenticated .coffee-pass-card-top > strong {
  background: var(--sage);
}

.coffee-pass-card.is-used {
  opacity: 0.72;
}

.coffee-pass-store {
  padding: 16px 18px;
  border: 1px solid rgba(36, 35, 31, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 9vw, 58px);
  font-weight: 600;
  line-height: 1.15;
}

.coffee-pass-body {
  display: grid;
  align-content: center;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.coffee-pass-body h1 {
  font-size: clamp(42px, 11vw, 72px);
  line-height: 1.08;
}

.coffee-pass-body p {
  font-size: clamp(18px, 4vw, 24px);
}

.coffee-pass-body small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pass-action-panel {
  display: grid;
  gap: 16px;
}

.pass-store-field {
  display: grid;
  gap: 8px;
}

.pass-store-field small {
  color: var(--muted);
  font-size: 12px;
}

.calendar-section {
  background:
    linear-gradient(180deg, rgba(231, 237, 225, 0.44), transparent 42%),
    var(--paper);
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.calendar-toolbar label,
.admin-panel label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

select,
input {
  min-height: 44px;
  padding: 9px 12px;
}

textarea {
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.65;
}

.calendar-toolbar select {
  min-width: min(320px, 100%);
}

.calendar-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.location-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  align-items: center;
}

.location-tools p {
  max-width: 420px;
  text-align: right;
}

.public-calendar {
  margin: 18px 0 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.public-month-controls {
  margin-bottom: 12px;
}

.public-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.public-month-day {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.public-month-day.has-detail {
  cursor: pointer;
}

.public-month-day.has-detail:hover,
.public-month-day.has-detail:focus-visible {
  z-index: 5;
  border-color: rgba(85, 66, 56, 0.24);
  background: var(--white);
  transform: translateY(-1px);
}

.public-month-day.is-muted {
  background: rgba(255, 255, 255, 0.58);
  color: rgba(118, 113, 104, 0.5);
}

.public-month-day.is-closed {
  background: #f3eeeb;
  border-color: #ddd2cb;
}

.public-day-number {
  display: block;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.public-month-day em {
  position: absolute;
  right: 4px;
  top: 4px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.public-day-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: min(260px, 70vw);
  padding: 10px 12px;
  border: 1px solid rgba(42, 38, 32, 0.14);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(42, 38, 32, 0.16);
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.public-day-tooltip strong,
.public-day-tooltip span {
  display: block;
}

.public-day-tooltip strong {
  color: var(--white);
  font-size: 13px;
}

.public-month-day.has-detail:hover .public-day-tooltip,
.public-month-day.has-detail:focus-visible .public-day-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.calendar-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.calendar-card,
.calendar-empty {
  min-height: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.calendar-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  color: var(--muted);
}

.calendar-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.calendar-date time {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.calendar-type {
  padding: 5px 10px 6px;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.calendar-type.closed {
  background: #eef1eb;
  color: var(--vermilion);
}

.calendar-type.short {
  background: #f0eadf;
  color: var(--gold);
}

.calendar-type.event {
  background: #eef1eb;
  color: #6f7868;
}

.calendar-card h3 {
  margin: 0 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 17px;
  line-height: 1.45;
}

.calendar-meta,
.calendar-card p {
  margin: 0;
  color: var(--muted);
}

.calendar-meta {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
  font-size: 13px;
}

.news {
  background:
    linear-gradient(90deg, rgba(231, 237, 225, 0.68), transparent 34%),
    var(--paper);
}

.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  min-height: 0;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.news-list article:last-child {
  border-bottom: 0;
}

.news-list time {
  grid-row: 1 / span 2;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-list-body {
  display: grid;
  gap: 8px;
}

.news-list-image {
  width: min(180px, 100%);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--sage-soft);
}

.news-list h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.news-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.recruit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.64fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.recruit-panel {
  padding: 34px;
  background: var(--sage-soft);
  border: 1px solid #d7ddd0;
  border-radius: 8px;
}

.recruit-panel h3 {
  margin: 0 0 18px;
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
}

.recruit-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding-left: 1.2em;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.site-footer strong {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.legal-page {
  max-width: 920px;
}

.legal-page h1 {
  margin-bottom: 32px;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}

.legal-page p {
  max-width: 760px;
  color: var(--muted);
  line-height: 2;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
}

.legal-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.legal-list dt {
  color: var(--ink);
  font-weight: 700;
}

.legal-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.pass-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
}

.admin-entry {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
}

.admin-entry:hover,
.admin-entry:focus-visible {
  color: var(--paper);
}

.admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 35, 31, 0.56);
}

.admin-backdrop[hidden] {
  display: none;
}

.admin-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.3);
}

.admin-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-label {
  margin: 0 0 8px;
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 700;
}

.admin-panel h2,
.admin-panel h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.3;
}

.admin-panel h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.admin-login > p:not(.admin-label),
.admin-error {
  color: var(--muted);
}

.admin-password-form {
  display: grid;
  grid-template-columns: minmax(180px, 320px) auto;
  gap: 14px;
  align-items: end;
  margin-top: 26px;
}

.admin-error {
  grid-column: 1 / -1;
  min-height: 1.6em;
  margin: 0;
  color: var(--vermilion);
  font-size: 13px;
}

.admin-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.notification-options {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.push-registration-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.push-registration-box [data-state="error"] {
  color: var(--vermilion);
}

.compact-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.admin-heading,
.admin-saved-heading,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--coffee);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.secondary-button.danger {
  color: var(--vermilion);
}

.service-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f8f5 48%, #ffffff 100%);
}

.service-page .primary-button,
.service-page .header-action {
  border-color: var(--sage);
  background: var(--sage);
  color: #fff;
}

.service-page .primary-button:hover,
.service-page .header-action:hover {
  background: #596451;
}

.service-header {
  min-height: 86px;
}

.service-brand {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.storeon-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.storeon-logo-link img {
  display: block;
  width: clamp(126px, 16vw, 190px);
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.tenant-app-brand.storeon-logo-link {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  gap: 8px;
}

.tenant-app-brand.storeon-logo-link img {
  width: clamp(132px, 22vw, 196px);
  height: 46px;
}

.storeon-hero-logo {
  display: block;
  width: min(620px, 100%);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(36, 35, 31, 0.16);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(48px, 7vw, 92px) var(--gutter) clamp(36px, 5vw, 68px);
}

.service-hero-copy {
  display: grid;
  gap: 26px;
}

.service-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(46px, 7vw, 84px);
  font-weight: 600;
  line-height: 1.14;
}

.service-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 2;
}

.service-actions,
.service-demo-section .demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 780px;
  margin: 10px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-proof div {
  padding: 18px 18px 18px 0;
}

.service-proof dt {
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.service-proof dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.service-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(200px, 0.7fr);
  gap: 18px;
  align-items: end;
  justify-content: center;
}

.phone-demo {
  overflow: hidden;
  border: 10px solid #24231f;
  border-radius: 34px;
  background: #24231f;
  box-shadow: 0 30px 70px rgba(36, 35, 31, 0.22);
}

.phone-topbar {
  display: flex;
  justify-content: center;
  padding: 12px 18px 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.phone-screen {
  display: grid;
  gap: 16px;
  min-height: 520px;
  padding: 28px 22px;
  border-radius: 24px 24px 18px 18px;
  background:
    linear-gradient(160deg, rgba(238, 241, 235, 0.96), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 20% 5%, rgba(154, 122, 67, 0.2), transparent 35%);
}

.phone-store {
  margin: 0;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.phone-screen h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  line-height: 1.25;
}

.phone-screen > p:not(.phone-store) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.coupon-ticket {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-top: 8px;
  border: 1px dashed rgba(85, 66, 56, 0.45);
  border-radius: 8px;
  background: #fff;
  color: var(--vermilion);
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.stamp-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: auto;
}

.stamp-row span {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.stamp-row .is-filled {
  background: var(--sage);
}

.service-status-panel,
.pricing-plan,
.service-checkout-panel,
.service-form,
.demo-details article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.service-status-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.service-status-panel h2,
.service-section-heading h2,
.pricing-plan h3,
.service-checkout-panel h3,
.demo-details h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.35;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.status-row strong {
  color: var(--sage);
}

.service-section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 32px;
}

.service-section-heading h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.service-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.demo-layout,
.pricing-layout,
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.5fr);
  gap: 24px;
  align-items: start;
}

.demo-controls {
  align-content: start;
}

.demo-tab {
  min-height: 52px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--coffee);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.demo-tab.is-active {
  border-color: var(--coffee);
  background: var(--coffee);
  color: #fff;
}

.demo-details {
  display: grid;
  gap: 16px;
}

.demo-details article,
.pricing-plan,
.service-checkout-panel,
.service-form {
  padding: clamp(20px, 3vw, 32px);
}

.demo-details p,
.service-checkout-panel p {
  color: var(--muted);
}

.demo-details ul,
.pricing-plan ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.pricing-plan {
  display: grid;
  gap: 20px;
}

.pricing-plans {
  display: grid;
  gap: 16px;
}

.pricing-plan > p:not(.price) {
  margin: 0;
  color: var(--muted);
}

.price {
  margin: 0;
  color: var(--coffee);
  font-weight: 700;
}

.price span {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
}

.billing-flow {
  display: grid;
  gap: 12px;
}

.billing-flow div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(238, 241, 235, 0.45);
}

.billing-flow strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
}

.billing-flow span {
  font-weight: 700;
}

.service-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-form label {
  display: grid;
  gap: 8px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.service-form textarea {
  resize: vertical;
}

.service-form-wide {
  grid-column: 1 / -1;
}

.service-checkout-panel {
  position: sticky;
  top: 110px;
}

.service-account-status {
  display: grid;
  gap: 2px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sage-soft);
}

.service-account-status strong {
  color: var(--coffee);
}

.service-account-status span {
  color: var(--muted);
  font-size: 13px;
}

.tenant-app-page,
.merchant-page {
  --tenant-theme: #6f7868;
  background: #f6f7f4;
}

.tenant-app-page {
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.tenant-app-header {
  position: sticky;
  top: 0;
  z-index: var(--layer-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 12px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.tenant-app-brand {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

.tenant-app-shell {
  max-width: 980px;
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 36px);
}

.tenant-hero {
  overflow: hidden;
  display: grid;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tenant-hero > img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tenant-hero > div {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 5vw, 40px);
}

.tenant-logo {
  width: 82px;
  height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.tenant-hero p,
.tenant-card span,
.tenant-list span,
.tenant-coupon span {
  margin: 0;
  color: var(--tenant-theme);
  font-size: 13px;
  font-weight: 700;
}

.tenant-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 8vw, 66px);
  line-height: 1.16;
}

.tenant-hero span {
  color: var(--muted);
  font-size: 16px;
}

.tenant-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.tenant-tabs button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--coffee);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.tenant-tabs button.is-active {
  border-color: var(--tenant-theme);
  background: var(--tenant-theme);
  color: #fff;
}

.tenant-panel {
  display: none;
}

.tenant-panel.is-active {
  display: block;
}

.tenant-footer-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--layer-header);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 0;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 38px rgba(36, 35, 31, 0.08);
}

.tenant-footer-nav button {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.tenant-footer-nav button::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: var(--tenant-nav-icon) center / contain no-repeat;
  -webkit-mask: var(--tenant-nav-icon) center / contain no-repeat;
}

.tenant-footer-nav button.is-active {
  background: color-mix(in srgb, var(--tenant-theme) 12%, #fff);
  color: var(--tenant-theme);
}

.tenant-footer-nav .nav-menu {
  --tenant-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v16H5z'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M8 16h5'/%3E%3C/svg%3E");
}

.tenant-footer-nav .nav-calendar {
  --tenant-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3C/svg%3E");
}

.tenant-footer-nav .nav-coupon {
  --tenant-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a3 3 0 0 0 0 6v3h18v-3a3 3 0 0 0 0-6V6H3z'/%3E%3Cpath d='M13 6v12'/%3E%3C/svg%3E");
}

.tenant-footer-nav .nav-news {
  --tenant-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h10'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
}

.tenant-footer-nav .nav-shop {
  --tenant-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v10h16V10'/%3E%3Cpath d='M3 10h18l-2-6H5z'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.tenant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.tenant-card,
.tenant-coupon,
.tenant-list article,
.tenant-info,
.merchant-panel,
.merchant-status,
.merchant-lookup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tenant-card,
.tenant-coupon,
.tenant-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.tenant-saved-shop {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.tenant-saved-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tenant-card img {
  width: calc(100% + 36px);
  max-width: none;
  aspect-ratio: 4 / 3;
  margin: -18px -18px 8px;
  object-fit: cover;
}

.tenant-card h3,
.tenant-coupon h3,
.tenant-list strong,
.merchant-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  line-height: 1.35;
}

.tenant-card p,
.tenant-coupon p,
.tenant-list p {
  margin: 0;
  color: var(--muted);
}

.tenant-list {
  display: grid;
  gap: 10px;
}

.tenant-coupon {
  border-color: color-mix(in srgb, var(--tenant-theme) 48%, var(--line));
  background: #fff;
}

.tenant-info {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
}

.tenant-info p {
  margin: 0;
  color: var(--muted);
}

.tenant-info strong {
  display: inline-block;
  min-width: 86px;
  color: var(--coffee);
}

.tenant-switcher {
  position: fixed;
  inset: 0;
  z-index: var(--layer-menu);
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 35, 31, 0.52);
}

.tenant-switcher-panel {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tenant-switcher-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
}

.tenant-switcher-panel p {
  margin: 0;
  color: var(--muted);
}

.tenant-switcher video {
  width: 100%;
  max-height: 320px;
  border-radius: 8px;
  background: #111;
  object-fit: cover;
}

.tenant-code-form,
.merchant-lookup {
  display: grid;
  gap: 12px;
}

.tenant-code-form label,
.merchant-lookup label,
.merchant-row label {
  display: grid;
  gap: 6px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.tenant-code-form input,
.merchant-lookup input,
.merchant-row input,
.merchant-row select {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.merchant-admin {
  max-width: 1120px;
  margin: 0 auto;
}

.merchant-lookup {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
  align-items: end;
  padding: 18px;
}

.merchant-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.merchant-auth-grid .merchant-lookup {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.merchant-lookup h2,
.merchant-lookup p {
  margin: 0;
}

.merchant-lookup h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  line-height: 1.35;
}

.merchant-lookup p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.merchant-image-drop {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 132px;
  padding: 18px;
  border: 1px dashed var(--sage);
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--coffee);
  cursor: pointer;
  text-align: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.merchant-image-drop.compact {
  min-height: 104px;
  padding: 14px;
}

.merchant-image-drop:hover,
.merchant-image-drop:focus-visible,
.merchant-image-drop.is-dragging {
  border-color: var(--coffee);
  background: #f7f8f5;
  outline: none;
}

.merchant-image-drop.is-dragging {
  transform: translateY(-1px);
}

.merchant-image-drop.is-uploading {
  cursor: wait;
  opacity: 0.72;
}

.merchant-image-drop strong {
  color: var(--ink);
  font-size: 15px;
}

.merchant-image-drop span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.merchant-image-drop-preview {
  width: min(100%, 220px);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.merchant-image-drop.compact .merchant-image-drop-preview {
  width: min(100%, 140px);
  aspect-ratio: 1;
}

.merchant-feature-settings {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.merchant-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.merchant-switch {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.merchant-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.merchant-switch > span {
  position: relative;
  width: 46px;
  height: 26px;
  grid-row: 1 / span 2;
  border-radius: 999px;
  background: #d9d8d1;
  transition: background 160ms ease;
}

.merchant-switch > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(36, 35, 31, 0.18);
  transition: transform 160ms ease;
}

.merchant-switch input:checked + span {
  background: var(--sage);
}

.merchant-switch input:checked + span::after {
  transform: translateX(20px);
}

.merchant-switch input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.merchant-switch strong,
.merchant-switch small {
  min-width: 0;
}

.merchant-switch strong {
  color: var(--ink);
  font-size: 14px;
}

.merchant-switch small {
  color: var(--muted);
  line-height: 1.45;
}

.merchant-dashboard {
  display: grid;
  gap: 18px;
}

.merchant-dashboard .admin-heading {
  margin-bottom: 0;
}

.merchant-editor-form {
  display: contents;
}

.merchant-dashboard .admin-tab-panel.is-active {
  display: grid;
  gap: 18px;
}

.merchant-editor {
  display: grid;
  gap: 18px;
}

.merchant-status {
  display: grid;
  gap: 3px;
  padding: 16px;
}

.merchant-status strong {
  color: var(--sage);
}

.merchant-status span {
  color: var(--muted);
  font-size: 13px;
}

.merchant-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
}

.merchant-rows {
  display: grid;
  gap: 12px;
}

.merchant-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.compact-button {
  min-height: 34px;
  margin: 0 0 12px;
  padding: 6px 12px;
  font-size: 13px;
}

.admin-filter-actions {
  display: flex;
  align-items: end;
  gap: 12px;
}

.admin-filter-actions label {
  min-width: 180px;
}

.compact-check {
  min-height: auto;
  font-size: 13px;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
}

.payment-admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.payment-admin-header h3 {
  margin: 0 0 4px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
}

.payment-admin-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.payment-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.payment-summary-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.payment-summary-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.payment-summary-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.pass-store-summary {
  margin: 18px 0;
}

.pass-store-summary:empty {
  display: none;
}

.pass-store-summary-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.pass-store-summary-heading h4 {
  margin: 0;
  font-size: 15px;
}

.pass-store-summary-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.pass-store-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.pass-store-summary-grid article {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.pass-store-summary-grid span,
.pass-store-summary-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.pass-store-summary-grid strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.pass-store-summary-grid p {
  margin: 0;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.payment-order-list {
  display: grid;
  gap: 12px;
}

.payment-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.payment-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.payment-order-main h4 {
  margin: 6px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
}

.payment-order-main p,
.payment-order-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.payment-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-status-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  align-content: start;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--coffee);
  font-size: 12px;
  font-weight: 700;
}

.payment-chip.success {
  border-color: rgba(96, 125, 88, 0.32);
  color: var(--leaf);
}

.payment-chip.pending {
  border-color: rgba(168, 126, 64, 0.32);
  color: var(--gold);
}

.payment-chip.danger {
  border-color: rgba(160, 92, 76, 0.32);
  color: var(--vermilion);
}

.payment-chip.manual {
  border-color: rgba(95, 80, 69, 0.28);
  color: var(--muted);
}

.payment-order-controls {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.admin-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.admin-tab.is-active {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.is-active {
  display: block;
}

.calendar-admin-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 0.72fr);
  gap: 22px;
  margin-top: 24px;
}

.calendar-editor,
.calendar-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.calendar-editor {
  padding: 20px;
}

.month-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.month-controls h3 {
  font-size: 24px;
  text-align: center;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.month-weekday {
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.month-day {
  position: relative;
  min-height: 68px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.month-day:hover,
.month-day:focus-visible {
  border-color: var(--sage);
}

.month-day.is-muted {
  color: rgba(118, 113, 104, 0.46);
  background: rgba(255, 255, 255, 0.58);
}

.month-day.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.month-day em {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.selected-date {
  padding: 13px 16px;
  border-radius: 6px;
  background: var(--sage-soft);
  color: var(--coffee);
  font-weight: 700;
}

.calendar-form {
  display: grid;
  gap: 18px;
  margin: 24px 0 34px;
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-label {
  align-content: end;
  grid-template-columns: auto 1fr;
  gap: 10px;
  min-height: 72px;
}

.check-label input {
  width: 18px;
  min-height: 18px;
}

.menu-admin-form input[type="file"] {
  padding: 9px 12px;
}

.menu-drop-zone {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 148px;
  padding: 22px;
  border: 1px dashed var(--sage);
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--coffee);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.menu-drop-zone:hover,
.menu-drop-zone:focus-within,
.menu-drop-zone.is-dragging {
  border-color: var(--coffee);
  background: #f7f8f5;
}

.menu-drop-zone.is-dragging {
  transform: translateY(-1px);
}

.menu-drop-zone strong {
  color: var(--ink);
  font-size: 18px;
}

.menu-drop-zone small {
  color: var(--muted);
}

.menu-drop-zone input[type="file"] {
  width: 100%;
  max-width: 320px;
  border: 0;
  background: transparent;
}

.menu-image-preview {
  display: grid;
  gap: 10px;
}

.menu-image-preview > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.menu-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.menu-image-preview-grid figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.menu-image-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--sage-soft);
}

.menu-edit-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(36, 35, 31, 0.42);
}

.menu-edit-scrim[hidden] {
  display: none;
}

.menu-admin-form.is-edit-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 90;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 80px rgba(36, 35, 31, 0.26);
}

.menu-admin-form.is-edit-modal .form-actions {
  position: sticky;
  bottom: -24px;
  z-index: 2;
  margin: 8px -24px -24px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.checkbox-group {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.checkbox-group legend {
  padding: 0 6px;
  color: var(--coffee);
  font-size: 13px;
  font-weight: 700;
}

.store-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.store-check input {
  width: 16px;
  min-height: 16px;
}

.store-sale-list {
  font-size: 13px;
  line-height: 1.55;
}

.admin-saved {
  display: grid;
  gap: 16px;
}

.admin-items {
  display: grid;
  gap: 10px;
}

.admin-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-item.is-clickable {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.admin-item.is-clickable:hover {
  border-color: var(--accent);
  background: var(--white);
  transform: translateY(-1px);
}

.admin-item h4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 16px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border: 1px solid rgba(160, 92, 76, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.admin-badge-master {
  border-color: rgba(34, 34, 31, 0.28);
  color: var(--ink);
}

.admin-access-summary {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  max-width: min(100%, 560px);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.admin-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  align-items: start;
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .admin-filter-bar,
  .payment-admin-header,
  .payment-order-main,
  .payment-order-controls {
    grid-template-columns: 1fr;
  }

  .payment-admin-header {
    display: grid;
    align-items: stretch;
  }

  .payment-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-status-stack {
    justify-content: flex-start;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
    padding-top: 2px;
  }

  .header-action {
    min-height: 40px;
    padding: 9px 14px;
  }

  .login-action {
    width: auto;
    min-width: 0;
    padding: 9px 14px;
  }

  .member-menu {
    justify-self: end;
  }

  .hero,
  .menu,
  .recruit,
  .service-hero,
  .service-showcase,
  .demo-layout,
  .pricing-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-left: 0;
  }

  .vertical-word {
    position: static;
    writing-mode: horizontal-tb;
    margin: 0 0 10px;
  }

  .hero-media {
    min-height: 460px;
  }

  .service-hero {
    min-height: auto;
  }

  .service-showcase {
    max-width: 660px;
    justify-self: center;
  }

  .service-checkout-panel {
    position: static;
  }

  .merchant-lookup,
  .merchant-auth-grid,
  .merchant-feature-grid,
  .merchant-row {
    grid-template-columns: 1fr 1fr;
  }

  .shop-row {
    grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr);
  }

  .shop-row > a {
    grid-column: 2;
    width: fit-content;
  }

  .news-list {
    grid-template-columns: 1fr;
  }

  .calendar-list,
  .menu-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-feature-grid {
    grid-template-columns: 1fr;
  }

  .menu-image-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-grid,
  .calendar-admin-layout,
  .account-grid,
  .checkout-layout,
  .menu-page-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: sticky;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    min-height: 76px;
    padding: 8px max(10px, env(safe-area-inset-right)) 8px max(6px, env(safe-area-inset-left));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .unomachi-ios-app .site-header {
    min-height: calc(76px + env(safe-area-inset-top));
    padding-top: calc(8px + env(safe-area-inset-top));
    padding-right: calc(10px + env(safe-area-inset-right));
    padding-left: calc(6px + env(safe-area-inset-left));
  }

  .brand {
    font-size: 16px;
    min-width: 0;
    justify-self: start;
  }

  .brand-logo {
    width: 161px;
    min-width: 161px;
    max-width: 161px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    flex-basis: 161px;
  }

  .login-action {
    display: inline-grid;
    place-items: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 999px;
  }

  .login-action::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 50%;
    display: block;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: none;
  }

  .login-action::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: block;
    width: 22px;
    height: 13px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    transform: translateX(-50%);
  }

  .login-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .site-nav {
    position: fixed;
    z-index: var(--layer-header);
    inset: auto 0 0 0;
    grid-column: auto;
    order: initial;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    width: 100vw;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 36px rgba(42, 38, 32, 0.08);
    backdrop-filter: blur(18px);
    overflow-x: auto;
    justify-content: stretch;
  }

  .site-nav .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    flex: 0 0 auto;
    border-radius: 8px;
    font-size: 12px;
  }

  .site-nav .nav-icon span {
    font-size: 12px;
  }

  .unomachi-ios-app .site-nav {
    gap: 6px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  }

  .unomachi-ios-app .site-nav .nav-icon {
    min-height: 58px;
    flex-direction: column;
    gap: 5px;
    color: var(--muted);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .unomachi-ios-app .site-nav .nav-icon::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: currentColor;
    mask: var(--mobile-nav-icon) center / contain no-repeat;
    -webkit-mask: var(--mobile-nav-icon) center / contain no-repeat;
  }

  .unomachi-ios-app .site-nav .nav-icon span {
    padding: 0;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
  }

  .unomachi-ios-app .site-nav .nav-icon:hover,
  .unomachi-ios-app .site-nav .nav-icon:focus-visible,
  .unomachi-ios-app .site-nav .nav-icon[aria-current="page"] {
    background: var(--sage-soft);
    color: var(--coffee);
  }

  .unomachi-ios-app .site-nav .nav-news {
    --mobile-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16'/%3E%3Cpath d='M4 12h10'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
  }

  .unomachi-ios-app .site-nav .nav-shop {
    --mobile-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10v10h16V10'/%3E%3Cpath d='M3 10h18l-2-6H5z'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
  }

  .unomachi-ios-app .site-nav .nav-menu {
    --mobile-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v16H5z'/%3E%3Cpath d='M8 8h8'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M8 16h5'/%3E%3C/svg%3E");
  }

  .unomachi-ios-app .site-nav .nav-calendar {
    --mobile-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M4 10h16'/%3E%3C/svg%3E");
  }

  .unomachi-ios-app .site-nav .nav-cart {
    --mobile-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1'/%3E%3Ccircle cx='18' cy='20' r='1'/%3E%3Cpath d='M3 4h2l3 12h10l3-8H7'/%3E%3C/svg%3E");
  }

  .member-menu-panel {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top));
    right: calc(14px + env(safe-area-inset-right));
    left: calc(14px + env(safe-area-inset-left));
    width: auto;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: clamp(230px, 72vw, 330px);
    aspect-ratio: auto;
  }

  .hero-media img {
    width: 100%;
  }

  .hero-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .shop-row,
  .menu-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .shop-map-frame {
    height: 320px;
  }

  .shop-detail div {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }

  .shop-row a {
    grid-column: auto;
    width: fit-content;
  }

  .news-list article,
  .recruit-panel {
    padding: 24px 20px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .news-list time {
    grid-row: auto;
  }

  .product-card {
    height: auto;
    min-height: 460px;
  }

  .menu-page-hero {
    grid-template-columns: 1fr;
  }

  .menu-page-hero h1 {
    font-size: 40px;
  }

  .menu-filter-row {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    margin-top: 0;
  }

  .menu-filter-row label,
  .menu-filter-row select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .calendar-toolbar,
  .admin-heading,
  .admin-saved-heading,
  .form-actions,
  .service-actions,
  .tenant-tabs,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .merchant-lookup,
  .merchant-auth-grid,
  .merchant-feature-grid,
  .tenant-tabs,
  .merchant-row {
    grid-template-columns: 1fr;
  }

  .calendar-list,
  .menu-card-grid,
  .menu-feature-grid,
  .menu-simple-list,
  .coupon-grid,
  .product-list,
  .form-grid,
  .form-grid.compact,
  .account-profile-form,
  .account-grid,
  .checkout-layout,
  .service-form,
  .service-proof,
  .admin-password-form,
  .admin-item {
    grid-template-columns: 1fr;
  }

  .service-header .site-nav {
    display: none;
  }

  .service-brand {
    white-space: normal;
  }

  .service-hero {
    padding-top: 34px;
  }

  .service-showcase {
    grid-template-columns: 1fr;
  }

  .phone-demo {
    max-width: 320px;
    justify-self: center;
  }

  .phone-screen {
    min-height: 440px;
  }

  .service-status-panel {
    box-shadow: none;
  }

  .demo-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-tab {
    min-width: 0;
  }

  .menu-feature-card,
  .menu-simple-row {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .menu-card,
  .menu-feature-card,
  .menu-simple-row,
  .menu-card div,
  .menu-feature-card div,
  .menu-simple-row div {
    min-width: 0;
  }

  .menu-card h3,
  .menu-card p,
  .menu-feature-card h4,
  .menu-feature-card p,
  .menu-simple-row h4,
  .menu-simple-row p {
    overflow-wrap: anywhere;
  }

  .menu-image-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-simple-row:nth-child(odd),
  .menu-simple-row:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .cart-row {
    grid-template-columns: 1fr;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .member-order-row div,
  .member-actions,
  .tenant-saved-shop,
  .pass-action-panel,
  .coffee-pass-card {
    align-items: stretch;
    flex-direction: column;
  }

  .coffee-pass-card {
    display: flex;
  }

  .tenant-saved-shop {
    display: flex;
  }

  .tenant-saved-actions {
    justify-content: flex-start;
  }

  .store-checkboxes {
    grid-template-columns: 1fr;
  }

  .public-calendar {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    overflow: visible;
  }

  .public-month-grid {
    min-width: 0;
    gap: 3px;
  }

  .public-month-day {
    min-width: 0;
    min-height: clamp(38px, 11vw, 46px);
    padding: 3px 2px;
    border-radius: 5px;
  }

  .public-day-number {
    font-size: clamp(12px, 3.8vw, 15px);
  }

  .public-month-day em {
    right: 2px;
    top: 2px;
    width: 15px;
    height: 15px;
    font-size: 8px;
  }

  .public-day-tooltip {
    max-width: min(240px, 86vw);
  }

  .admin-tabs {
    overflow-x: auto;
  }

  .admin-panel {
    padding: 24px 18px;
  }

  .menu-admin-form.is-edit-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 18px;
  }

  .menu-admin-form.is-edit-modal .form-actions {
    bottom: -18px;
    margin: 8px -18px -18px;
    padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  }

  .month-day {
    min-height: 54px;
    padding: 6px;
  }

  .admin-item-actions {
    flex-wrap: wrap;
  }

  .site-footer {
    flex-direction: column;
  }
}

.stamp-card-page {
  display: grid;
  gap: 28px;
}

.stamp-empty,
.stamp-status-card,
.stamp-benefits,
.stamp-history {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.stamp-status-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
}

.stamp-status-card h2 {
  margin: 8px 0;
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1;
}

.stamp-next {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--subtle);
}

.stamp-next strong {
  font-size: 32px;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.stamp-dot {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}

.stamp-dot.is-filled {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.stamp-actions {
  display: grid;
  grid-template-columns: minmax(0, 360px) auto;
  gap: 12px;
  align-items: center;
}

.stamp-scan-button {
  min-height: 72px;
  width: 100%;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.25;
  box-shadow: 0 10px 22px rgba(36, 35, 31, 0.13);
}

.stamp-camera-icon {
  position: relative;
  display: inline-block;
  width: 31px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 7px;
  flex: 0 0 auto;
}

.stamp-camera-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -9px;
  width: 12px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.stamp-camera-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.stamp-location-note {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.stamp-video {
  width: min(100%, 640px);
  border-radius: 8px;
  background: #111;
}

.stamp-benefits,
.stamp-history {
  display: grid;
  gap: 14px;
}

.stamp-benefits h3,
.stamp-history h3 {
  margin: 0 0 8px;
}

.stamp-benefits article,
.stamp-history article {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.stamp-benefits article.is-unlocked strong {
  color: var(--accent);
}

.stamp-benefit-editor {
  display: grid;
  gap: 12px;
}

.stamp-benefit-row {
  display: grid;
  grid-template-columns: 90px minmax(160px, 1fr) minmax(220px, 1.5fr) auto auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stamp-qr-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.stamp-qr-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stamp-qr-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.qr-token {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12px;
}

.admin-item.compact {
  padding: 14px 0;
}

@media (max-width: 760px) {
  .stamp-status-card,
  .stamp-benefit-row,
  .stamp-qr-card {
    grid-template-columns: 1fr;
  }

  .stamp-actions {
    grid-template-columns: 1fr;
  }

  .stamp-scan-button {
    min-height: 68px;
    font-size: 17px;
  }

  .stamp-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .stamp-empty,
  .stamp-status-card,
  .stamp-benefits,
  .stamp-history {
    padding: 20px;
  }
}
