@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Zen+Kaku+Gothic+New:wght@400;500;600;700&display=swap");

:root {
  --ink: #272320;
  --muted: #706861;
  --line: #e5ded7;
  --paper: #fffdfb;
  --soft: #f6f0ea;
  --accent: #d94f70;
  --accent-dark: #b93457;
  --green: #1f7a63;
  --teal: #2f8580;
  --gold: #b8822b;
  --shadow: 0 18px 48px rgba(63, 48, 38, 0.14);
  --homepage-font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --homepage-base-font-size: 16px;
  --homepage-heading-font-size: 34px;
  --homepage-button-font-size: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--homepage-font-family);
  font-size: var(--homepage-base-font-size);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 clamp(18px, 4vw, 52px);
  background: rgba(255, 253, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: background 0.18s ease, border-color 0.18s ease;
}

body[data-view="customer"] .admin-nav,
body[data-view="admin"] .customer-nav {
  display: none;
}

body[data-view="admin"] .topbar {
  background: rgba(39, 45, 39, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body[data-view="admin"] .brand {
  color: #fff;
}

body[data-view="admin"] .brand-mark {
  color: #2f342e;
  background: #f5efe8;
}

body[data-view="admin"] .user-badge {
  color: #f5efe8;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

body[data-view="admin"] .admin-nav .text-button {
  color: #f5efe8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

body[data-view="admin"] .admin-nav .text-button.active {
  color: #2f342e;
  background: #f5efe8;
  border-color: #f5efe8;
}

.brand,
.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.icon-button,
.text-button,
.link-button,
.chip,
.primary-button,
.outline-button {
  border: 0;
  font-size: var(--homepage-button-font-size);
  border-radius: 8px;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--soft);
  font-size: 22px;
}

.icon-button[data-tooltip]::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  color: #fff;
  background: rgba(43, 35, 30, 0.94);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(43, 35, 30, 0.16);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  white-space: nowrap;
}

.icon-button[data-tooltip]::before {
  position: absolute;
  right: 14px;
  bottom: calc(100% + 2px);
  z-index: 21;
  border: 6px solid transparent;
  border-top-color: rgba(43, 35, 30, 0.94);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.icon-button[data-tooltip]:hover::after,
.icon-button[data-tooltip]:hover::before,
.icon-button[data-tooltip]:focus-visible::after,
.icon-button[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.text-button,
.outline-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 700;
}

.text-button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.link-button {
  color: var(--accent-dark);
  background: transparent;
  font-weight: 700;
}

.primary-button {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(22px, 5vw, 70px);
  min-height: 520px;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 4vw, 52px) 34px;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(39, 35, 32, 0.72), rgba(39, 35, 32, 0.12)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 620'%3E%3Cdefs%3E%3ClinearGradient id='wall' x1='0' x2='1'%3E%3Cstop stop-color='%238b6f62'/%3E%3Cstop offset='.55' stop-color='%23d9c2ad'/%3E%3Cstop offset='1' stop-color='%23e7ddd1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='620' fill='url(%23wall)'/%3E%3Crect y='420' width='1200' height='200' fill='%23715f54'/%3E%3Crect x='92' y='72' width='255' height='318' rx='12' fill='%23f3eee9' opacity='.82'/%3E%3Crect x='128' y='108' width='183' height='230' rx='92' fill='%23c29679'/%3E%3Ccircle cx='220' cy='190' r='56' fill='%23352b27'/%3E%3Crect x='620' y='86' width='380' height='270' rx='20' fill='%23fff8f0' opacity='.9'/%3E%3Cpath d='M690 284c76-78 176-74 248 0' fill='none' stroke='%23b4745e' stroke-width='18' stroke-linecap='round'/%3E%3Ccircle cx='768' cy='190' r='54' fill='%23d55270'/%3E%3Ccircle cx='868' cy='190' r='54' fill='%232f8580'/%3E%3Crect x='520' y='382' width='590' height='52' rx='26' fill='%233b302b' opacity='.38'/%3E%3Crect x='488' y='414' width='650' height='112' rx='24' fill='%23f0e5da'/%3E%3Crect x='566' y='456' width='194' height='24' rx='12' fill='%239a7d6d'/%3E%3Crect x='810' y='456' width='214' height='24' rx='12' fill='%239a7d6d'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at center, rgba(226, 190, 111, 0.72) 0 22%, rgba(226, 190, 111, 0) 46%),
    radial-gradient(ellipse at center, rgba(247, 224, 159, 0.58) 0 18%, rgba(247, 224, 159, 0) 43%),
    radial-gradient(ellipse at center, rgba(176, 130, 49, 0.42) 0 20%, rgba(176, 130, 49, 0) 44%);
  background-position:
    92% 14%, 96% 23%, 86% 31%, 93% 39%,
    8% 82%, 14% 74%, 19% 88%, 4% 66%,
    72% 8%, 78% 18%, 64% 12%;
  background-size:
    11px 7px, 6px 10px, 9px 5px, 5px 7px,
    10px 6px, 6px 8px, 12px 7px, 5px 6px,
    7px 5px, 4px 6px, 8px 4px;
  background-repeat: no-repeat;
  content: "";
  filter: blur(0.15px);
  opacity: 0.42;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 720px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd8df;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-outline {
  min-height: 48px;
  background: rgba(255, 255, 255, 0.92);
}

.panel-intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}

.panel-intro strong {
  font-size: 20px;
}

.panel-intro span {
  color: var(--muted);
  line-height: 1.6;
}

.search-panel,
.filter-board,
.booking-dialog .dialog-card,
.owner-card {
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
}

label span,
.range-block span,
.stats-card span,
.owner-metrics span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

select,
input[type="search"],
input:not([type]),
input[type="text"],
input[type="number"],
input[type="time"],
textarea {
  width: 100%;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

select,
input[type="search"],
input:not([type]),
input[type="text"],
input[type="number"],
input[type="time"] {
  min-height: 46px;
}

textarea {
  min-height: 88px;
  padding-top: 11px;
  resize: vertical;
}

.quick-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--soft);
  font-weight: 800;
}

.chip.active {
  color: #fff;
  background: var(--green);
}

.content-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  padding: 32px clamp(18px, 4vw, 52px) 70px;
}

.filter-board {
  position: sticky;
  top: 88px;
  align-self: start;
  padding: 18px;
  border-radius: 8px;
}

.board-header,
.section-heading,
.card-top,
.owner-head,
.booking-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

h2,
h3 {
  margin: 0;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.toggle-row span {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

.range-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.stats-card {
  margin-top: 18px;
  padding: 18px;
  background: #fbf6f1;
  border-radius: 8px;
}

.stats-card strong {
  font-size: 34px;
}

.salon-list {
  display: grid;
  gap: 18px;
}

.salon-card {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.salon-art {
  min-height: 190px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.art-hair {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Crect width='520' height='360' fill='%23e8d4c1'/%3E%3Crect y='238' width='520' height='122' fill='%23896d5c'/%3E%3Crect x='44' y='42' width='150' height='182' rx='14' fill='%23fff8ef'/%3E%3Ccircle cx='119' cy='118' r='48' fill='%23332521'/%3E%3Cpath d='M266 90h178v138H266z' fill='%23fffaf5'/%3E%3Cpath d='M292 198c34-46 82-46 128 0' fill='none' stroke='%23d94f70' stroke-width='14' stroke-linecap='round'/%3E%3Crect x='250' y='254' width='212' height='44' rx='22' fill='%233b302b' opacity='.34'/%3E%3C/svg%3E");
}

.art-nail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Crect width='520' height='360' fill='%23efe5dd'/%3E%3Ccircle cx='104' cy='104' r='54' fill='%23d94f70'/%3E%3Ccircle cx='176' cy='122' r='32' fill='%23f4be61'/%3E%3Crect x='250' y='70' width='60' height='190' rx='30' fill='%23f7c3c4'/%3E%3Crect x='322' y='54' width='60' height='212' rx='30' fill='%23e16785'/%3E%3Crect x='394' y='84' width='60' height='178' rx='30' fill='%232f8580'/%3E%3Crect x='56' y='248' width='408' height='48' rx='24' fill='%23856f66' opacity='.42'/%3E%3C/svg%3E");
}

.art-eye {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Crect width='520' height='360' fill='%23d9e5e2'/%3E%3Crect y='236' width='520' height='124' fill='%237a928d'/%3E%3Cellipse cx='260' cy='152' rx='160' ry='70' fill='%23fffaf3'/%3E%3Ccircle cx='260' cy='152' r='48' fill='%232f8580'/%3E%3Cpath d='M110 152c64-104 237-104 300 0' fill='none' stroke='%23272320' stroke-width='18' stroke-linecap='round'/%3E%3Cpath d='M150 100l-28-40M202 82l-12-48M260 75V30M318 82l12-48M370 100l28-40' stroke='%23272320' stroke-width='10' stroke-linecap='round'/%3E%3C/svg%3E");
}

.art-relax {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Crect width='520' height='360' fill='%23e7e0d0'/%3E%3Crect y='232' width='520' height='128' fill='%237c7464'/%3E%3Crect x='72' y='188' width='376' height='70' rx='35' fill='%233b302b' opacity='.55'/%3E%3Cellipse cx='188' cy='160' rx='62' ry='38' fill='%23c99973'/%3E%3Crect x='236' y='124' width='138' height='50' rx='25' fill='%23fff5e9'/%3E%3Cpath d='M398 74c-56 30-78 72-78 126' fill='none' stroke='%232f8580' stroke-width='13' stroke-linecap='round'/%3E%3Cpath d='M396 74c28 42 30 78 8 112' fill='none' stroke='%232f8580' stroke-width='13' stroke-linecap='round'/%3E%3C/svg%3E");
}

.salon-card h3 {
  font-size: 22px;
}

.meta-line,
.tag-row,
.slot-row,
.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-line {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.rating {
  color: var(--gold);
  font-weight: 900;
}

.tag,
.slot,
.benefit {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.tag {
  color: var(--teal);
  background: #e8f4f2;
}

.slot {
  color: var(--accent-dark);
  background: #fff0f3;
}

.benefit {
  color: #7a551f;
  background: #fff5df;
}

.card-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.price {
  color: var(--muted);
}

.price strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
}

.booking-dialog {
  width: min(720px, calc(100vw - 24px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.booking-dialog::backdrop {
  background: rgba(24, 22, 20, 0.42);
}

.dialog-card {
  position: relative;
  padding: 24px;
  border-radius: 8px;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.time-option {
  min-height: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.time-option.selected {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.booking-form .primary-button {
  grid-column: 1 / -1;
}

.owner-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 40;
  width: min(760px, 100vw);
  padding: 18px;
  transform: translateX(110%);
  transition: transform 180ms ease;
  pointer-events: none;
}

.owner-panel.open {
  transform: translateX(0);
  pointer-events: auto;
}

.owner-card {
  height: 100%;
  padding: 20px;
  overflow: auto;
  border-radius: 8px;
}

.owner-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
  margin: 18px 0;
  padding: 6px;
  background: var(--soft);
  border-radius: 8px;
}

.owner-tab {
  min-height: 40px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
}

.owner-tab.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(63, 48, 38, 0.08);
}

.owner-feature-grid,
.listing-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.listing-section-grid {
  margin-bottom: 14px;
}

.booking-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.booking-url-box div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.booking-url-box span {
  color: var(--muted);
  font-size: 13px;
}

.booking-url-box code {
  display: block;
  max-width: 100%;
  padding: 8px 10px;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: #fbf6f1;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.listing-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.listing-editor-block {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.listing-editor-block h3 {
  margin: 0;
}

.listing-editor-block label {
  display: grid;
  gap: 5px;
}

.listing-editor-block input,
.listing-editor-block select,
.listing-editor-block textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
}

.listing-editor-block textarea {
  min-height: 82px;
  resize: vertical;
}

.check-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.feature-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #fbf6f1;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.feature-card span,
.feature-card em {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.feature-card em {
  font-style: normal;
  font-weight: 900;
  color: var(--accent-dark);
}

.mini-action {
  min-height: 34px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  justify-self: start;
}

.workflow-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.workflow-list div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

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

.settings-subsection {
  margin-top: 16px;
}

.notification-status-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.notification-status-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.notification-status-header span,
.notification-status-card em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.notification-status-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fbf6f1;
  border-radius: 10px;
}

.notification-status-card.wide {
  grid-column: span 2;
}

.notification-status-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.notification-status-card strong {
  overflow-wrap: anywhere;
}

.readiness-summary {
  padding: 12px;
  border-radius: 10px;
  font-weight: 900;
}

.readiness-summary.ready {
  color: #356344;
  background: #edf8ef;
}

.readiness-summary.not-ready {
  color: #8a5b2e;
  background: #fff3df;
}

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

.readiness-check-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fbf6f1;
  border-radius: 10px;
  border: 1px solid transparent;
}

.readiness-check-item.ready {
  border-color: #cde8d2;
}

.readiness-check-item.not-ready {
  border-color: #efd2ad;
}

.readiness-check-item div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.readiness-check-item span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

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

.support-form label,
.emergency-notice-box,
.incident-response-flow {
  display: grid;
  gap: 6px;
}

.support-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.support-form input,
.support-form select,
.support-form textarea,
.emergency-notice-box textarea,
.improvement-editor textarea,
.improvement-editor select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #fff;
}

.support-ticket-item {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fbf6f1;
  border-radius: 10px;
}

.support-ticket-item div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.support-ticket-item p,
.support-ticket-item span,
.incident-response-flow li,
.improvement-summary span,
.improvement-editor label span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.incident-response-flow {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.incident-response-flow ol {
  margin: 0;
  padding-left: 18px;
}

.support-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.improvement-summary,
.improvement-editor {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.improvement-editor label {
  display: grid;
  gap: 4px;
}

.owner-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.owner-metrics div,
.reservation-item {
  padding: 14px;
  background: #fbf6f1;
  border-radius: 8px;
}

.owner-metrics strong {
  font-size: 20px;
}

.reservation-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.quick-filter {
  min-height: 36px;
  padding: 0 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.quick-filter.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.reservation-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  margin: 12px 0 8px;
  padding: 12px;
  background: #fbf6f1;
  border-radius: 8px;
}

.reservation-tools label span {
  margin-bottom: 6px;
}

.customer-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 12px 0;
  padding: 12px;
  background: #fbf6f1;
  border-radius: 8px;
}

.customer-tools label {
  display: grid;
  gap: 6px;
}

.customer-tools input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.salon-form small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.privacy-mini-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

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

.customer-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.customer-card-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.customer-card-main strong,
.customer-card-main span {
  display: block;
}

.customer-card-main span,
.customer-meta-grid,
.customer-note {
  color: var(--muted);
  font-size: 13px;
}

.customer-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 6px 12px;
}

.customer-note {
  margin: 0;
  line-height: 1.6;
}

.reservation-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 10px;
  padding: 12px;
  background: #fff8f8;
  border: 1px solid #f2d9df;
  border-radius: 8px;
}

.reservation-danger-zone strong,
.reservation-danger-zone span {
  display: block;
}

.reservation-danger-zone strong {
  font-size: 13px;
}

.reservation-danger-zone span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.danger-button {
  min-height: 38px;
  padding: 0 12px;
  color: #fff;
  background: #a33737;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.danger-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.reservation-filter-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.daily-board {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

.daily-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.daily-board-head strong,
.daily-board-head span {
  display: block;
}

.daily-board-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.board-settings-summary {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.legend-dot.pending { background: var(--accent); }
.legend-dot.warning { background: var(--gold); }
.legend-dot.ok { background: var(--green); }
.legend-dot.done { background: #8a8f98; }

.daily-board-grid {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.time-cell {
  padding: 14px 10px;
  color: var(--muted);
  background: #fbf6f1;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 900;
}

.slot-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 56px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}

.slot-cell.is-full {
  background: #fff8f8;
}

.capacity-pill {
  align-self: flex-start;
  min-width: 116px;
  padding: 6px 8px;
  color: var(--ink);
  background: #fbf6f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.slot-cell.is-full .capacity-pill {
  color: #9f2f2f;
  background: #ffecec;
  border-color: #f2c2c2;
}

.time-cell:last-of-type,
.slot-cell:last-child {
  border-bottom: 0;
}

.open-slot {
  align-self: center;
  color: #c3a895;
  font-size: 12px;
  font-weight: 800;
}

.reservation-block {
  min-width: 180px;
  max-width: 260px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: 10px;
  text-align: left;
}

.reservation-block strong,
.reservation-block span,
.reservation-block em {
  display: block;
}

.reservation-block strong {
  font-size: 13px;
}

.reservation-block span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.reservation-block em {
  margin-top: 6px;
  color: var(--accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.reservation-block.carry-over {
  opacity: 0.78;
  background: #fbf6f1;
  border-style: dashed;
}

.empty-state.compact {
  padding: 18px;
}

.reservation-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.reservation-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.reservation-table th,
.reservation-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.reservation-table th {
  color: var(--muted);
  background: #fbf6f1;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.reservation-table tr:last-child td {
  border-bottom: 0;
}

.reservation-table tr {
  border-left: 5px solid var(--line);
}

.reservation-status-unconfirmed {
  border-left-color: var(--accent) !important;
}

.reservation-status-change_requested {
  border-left-color: var(--gold) !important;
}

.reservation-status-confirmed {
  border-left-color: var(--green) !important;
}

.reservation-table strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.reservation-table span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.reservation-table .status-pill {
  display: inline-flex;
  margin-top: 0;
}

.owner-guidance {
  margin-bottom: 12px;
}

.task-guide {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #ead8c8;
  border-left: 5px solid var(--accent);
  border-radius: 10px;
}

.task-guide strong {
  font-size: 14px;
}

.task-guide ol {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.task-guide b {
  color: var(--ink);
}

.salon-admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
}

.salon-admin-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.salon-select-button {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  background: #fbf6f1;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.salon-select-button.active {
  background: #fff;
  border-color: var(--accent);
}

.salon-select-button span {
  color: var(--muted);
  font-size: 12px;
}

.salon-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: #fbf6f1;
  border-radius: 8px;
}

.wide-field {
  grid-column: 1 / -1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.check-grid label,
.mini-check {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.hours-editor {
  display: grid;
  gap: 8px;
}

.hours-row {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 48px;
  gap: 8px;
  align-items: center;
}

.hours-row > span {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  min-width: min(360px, calc(100vw - 36px));
  padding: 14px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: 180ms ease;
  pointer-events: none;
  text-align: center;
  font-weight: 800;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  padding: 42px 20px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
  text-align: center;
}

.admin-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px clamp(18px, 5vw, 64px);
}

.admin-landing h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.admin-landing p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.admin-action-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(74, 55, 40, 0.08);
}

.admin-action-card strong {
  font-size: 18px;
}

.admin-action-card ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero,
  .content-grid,
  .salon-card,
  .admin-landing {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    min-height: auto;
  }

  .filter-board {
    position: static;
  }

  .salon-art {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: 60px;
    padding: 0 14px;
  }

  .brand span:last-child,
  .top-actions .text-button {
    display: none;
  }

  .hero {
    padding: 34px 14px 20px;
  }

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

  .quick-strip,
  .content-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .booking-grid,
  .booking-form,
  .owner-metrics,
  .reservation-tools,
  .detail-grid,
  .setup-card,
  .salon-admin-layout,
  .salon-form,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .owner-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .owner-panel {
    padding: 0;
  }

  .owner-card {
    border-radius: 0;
  }

  .reservation-danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .reservation-main {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .status-button {
    border-radius: 8px;
  }

  .card-bottom {
    align-items: stretch;
    flex-direction: column;
  }
}

.user-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.auth-card,
.setup-card {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

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

.setup-card .eyebrow,
.setup-card h2,
.setup-card .auth-note {
  grid-column: 1 / -1;
}

.auth-card h2,
.auth-card p,
.setup-card h2,
.setup-card p {
  margin: 0;
}

.auth-note {
  color: var(--muted);
}

.setup-consent,
.ad-policy-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff8f8;
  border: 1px solid #f2d9df;
  border-radius: 8px;
}

.setup-consent label,
.ad-policy-confirm {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.ad-policy-box span,
#adPolicyResult {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.danger-text {
  color: #a33737;
}

.warning-text {
  color: #9a6500;
}

.reservation-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: var(--soft);
  color: var(--muted);
  white-space: nowrap;
}

.status-pill.ok,
.status-pill.done {
  color: var(--green);
  background: #e9f7f2;
}

.status-pill.warn {
  color: #9a6500;
  background: #fff4d8;
}

.status-pill.cancel {
  color: #a33737;
  background: #fde8e8;
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.status-button {
  min-height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-button.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 620px) {
  .status-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-button {
    min-height: 40px;
    border-radius: 12px;
  }
}

.primary-action {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.review-preview {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 10px 12px;
  color: var(--muted);
  background: #fff8f8;
  border: 1px solid #f2d9df;
  border-radius: 8px;
  font-size: 13px;
}

.review-preview p {
  margin: 0;
}

.review-preview strong {
  color: var(--gold);
}

.review-preview.empty {
  background: #fbf6f1;
  border-color: var(--line);
}

.detail-action {
  color: var(--green);
  border-color: #bfe0d5;
}

.review-action {
  color: var(--accent-dark);
  border-color: #f0b7c5;
}

.reservation-detail-card {
  display: grid;
  gap: 16px;
}

.privacy-note {
  margin: 8px 0 0;
  color: #8a5a00;
  font-size: 13px;
  font-weight: 800;
}

.customer-notice-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(86, 69, 51, 0.12);
  border-radius: 16px;
  background: #fffaf6;
}

.customer-notice-actions > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.customer-notice-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.detail-grid div {
  padding: 12px;
  background: #fbf6f1;
  border-radius: 8px;
}

.detail-grid dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.detail-grid dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.audit-list,
.policy-list,
.launch-checklist {
  display: grid;
  gap: 10px;
}

.audit-item,
.policy-box,
.policy-list div,
.launch-checklist label,
.terms-summary,
.incident-flow {
  padding: 12px;
  background: #fbf6f1;
  border-radius: 8px;
}

.audit-item div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.audit-item p,
.audit-item span,
.policy-box span,
.policy-list span {
  display: block;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.launch-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.checklist-progress {
  margin: 10px 0;
  color: var(--green);
  font-weight: 900;
}

.terms-summary,
.incident-flow {
  margin-top: 10px;
}

.terms-summary ul,
.incident-flow ol {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* Beauty app polish: customer booking UI */
:root {
  --ink: #302721;
  --muted: #7b6d64;
  --line: #eee2dc;
  --paper: #fffaf7;
  --soft: #f8eee8;
  --accent: #d96d86;
  --accent-dark: #b94d68;
  --green: #617b68;
  --teal: #7a9d95;
  --gold: #c18a3a;
  --shadow: 0 22px 60px rgba(102, 73, 56, 0.13);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

body {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 223, 226, 0.55), transparent 30%),
    linear-gradient(180deg, #fffaf7 0%, #f7eee8 100%);
}

.app-shell {
  background: linear-gradient(180deg, rgba(255, 250, 247, 0.75), rgba(255, 255, 255, 0.18));
}

.topbar {
  min-height: 72px;
  background: rgba(255, 250, 247, 0.82);
  border-bottom: 1px solid rgba(238, 226, 220, 0.78);
  box-shadow: 0 10px 30px rgba(91, 69, 57, 0.05);
}

.brand {
  gap: 10px;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #db7890, #876756);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(217, 109, 134, 0.25);
  font-family: Georgia, serif;
  font-size: 20px;
}

.text-button,
.outline-button,
.icon-button,
.chip,
.primary-button,
.link-button,
select,
input[type="search"],
input:not([type]),
input[type="text"],
input[type="number"],
input[type="time"],
textarea {
  border-radius: var(--radius-sm);
}

.text-button.active {
  background: #3b302a;
  border-color: #3b302a;
}

.primary-button {
  min-height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d96d86, #b4576c);
  box-shadow: 0 14px 26px rgba(185, 77, 104, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: linear-gradient(135deg, #df7890, #a94660);
  box-shadow: 0 18px 30px rgba(185, 77, 104, 0.27);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 650px;
  padding-top: clamp(46px, 7vw, 88px);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(42, 34, 30, 0.68), rgba(91, 68, 57, 0.28) 48%, rgba(255, 237, 229, 0.10)),
    radial-gradient(circle at 75% 18%, rgba(255, 226, 219, 0.88), transparent 26%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 720'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23897064'/%3E%3Cstop offset='.52' stop-color='%23d9bca8'/%3E%3Cstop offset='1' stop-color='%23f3e4dc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='720' fill='url(%23bg)'/%3E%3Crect y='470' width='1200' height='250' fill='%237b665d'/%3E%3Crect x='92' y='84' width='266' height='352' rx='32' fill='%23fff8f1' opacity='.9'/%3E%3Crect x='128' y='124' width='194' height='250' rx='97' fill='%23bd8b70'/%3E%3Ccircle cx='226' cy='213' r='62' fill='%23352824'/%3E%3Crect x='640' y='88' width='365' height='300' rx='30' fill='%23fffaf5' opacity='.88'/%3E%3Ccircle cx='748' cy='213' r='58' fill='%23d96d86' opacity='.92'/%3E%3Ccircle cx='876' cy='213' r='58' fill='%237a9d95' opacity='.92'/%3E%3Cpath d='M694 316c82-76 186-76 254 0' fill='none' stroke='%23ad735f' stroke-width='18' stroke-linecap='round'/%3E%3Crect x='515' y='438' width='625' height='118' rx='36' fill='%23f6eadf'/%3E%3Crect x='570' y='480' width='205' height='24' rx='12' fill='%238d7467'/%3E%3Crect x='818' y='480' width='242' height='24' rx='12' fill='%238d7467'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: -90px;
  width: min(300px, 48vw);
  height: min(520px, 70vw);
  border-radius: 42px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.08)) border-box;
  border: 10px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 80px rgba(57, 42, 35, 0.26);
  content: "";
  opacity: .35;
  transform: rotate(5deg);
}

.hero-copy,
.search-panel {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-highlights span {
  padding: 9px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 900;
}

.search-panel,
.filter-board,
.booking-dialog .dialog-card,
.owner-card {
  border-color: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
}

.search-panel {
  gap: 13px;
  padding: 22px;
  background: rgba(255, 250, 247, 0.93);
  box-shadow: 0 26px 70px rgba(57, 42, 35, 0.20);
  backdrop-filter: blur(16px);
}

.panel-intro strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

select,
input[type="search"] {
  min-height: 50px;
  background: #fffdfb;
}

.quick-strip {
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 20px;
  background: rgba(255, 250, 247, 0.75);
}

.chip {
  min-height: 42px;
  padding: 0 17px;
  color: #625249;
  background: #fff;
  border: 1px solid rgba(238, 226, 220, 0.95);
  box-shadow: 0 8px 18px rgba(91, 69, 57, 0.06);
}

.chip.active {
  background: #617b68;
  box-shadow: 0 12px 24px rgba(97, 123, 104, 0.22);
}

.content-grid {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 26px;
}

.customer-booking-entry {
  grid-template-columns: minmax(0, 1fr);
}

.customer-booking-entry .filter-board {
  display: none;
}

.reserve-preview-only {
  display: none;
}

.filter-board,
.salon-card,
.stats-card {
  border-radius: var(--radius-md);
}

.filter-board {
  background: rgba(255, 253, 251, 0.86);
  box-shadow: 0 18px 42px rgba(91, 69, 57, 0.09);
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.salon-list {
  gap: 22px;
}

.salon-card {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(238, 226, 220, 0.9);
  box-shadow: 0 18px 44px rgba(91, 69, 57, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.customer-booking-entry .salon-card {
  border-color: rgba(145, 111, 82, 0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,244,238,0.92));
}

.salon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(91, 69, 57, 0.12);
}

.salon-art {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 22px;
}

.salon-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(46, 34, 29, 0.48));
  content: "";
}

.salon-art-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 8px 11px;
  color: #fff;
  background: rgba(48, 39, 33, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 900;
}

.salon-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 6px 6px 6px 0;
}

.salon-card h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.favorite-button {
  flex: 0 0 auto;
  color: #c05a72;
  background: #fff3f5;
  border-radius: 999px;
}

.salon-description {
  margin: 0 0 14px;
  color: #5e5149;
  line-height: 1.75;
}

.meta-line {
  gap: 9px;
  align-items: center;
}

.rating {
  color: #b87d2c;
}

.tag,
.slot,
.benefit {
  border-radius: 999px;
}

.tag {
  color: #5c766b;
  background: #eef6f1;
}

.slot {
  color: #a84962;
  background: #fff1f4;
}

.benefit {
  color: #81551d;
  background: #fff6de;
}

.card-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.price strong {
  font-size: 25px;
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .hero::after {
    opacity: 0.18;
  }

  .salon-card {
    grid-template-columns: 1fr;
  }

  .salon-body {
    padding: 2px;
  }
}

@media (max-width: 620px) {
  body {
    background: #fffaf7;
  }

  .notification-status-header {
    display: grid;
  }

  .notification-status-grid {
    grid-template-columns: 1fr;
  }

  .notification-status-card.wide {
    grid-column: auto;
  }

  .support-form {
    grid-template-columns: 1fr;
  }

  .topbar {
    min-height: 58px;
    padding: 0 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .user-badge {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding: 28px 14px 18px;
    background-position: center top;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-highlights {
    margin-top: 16px;
  }

  .hero-highlights span {
    padding: 8px 10px;
    font-size: 12px;
  }

  .search-panel {
    margin-top: 12px;
    padding: 16px;
    border-radius: 24px;
  }

  .quick-strip {
    padding: 14px;
  }

  .content-grid {
    gap: 18px;
    padding-top: 18px;
  }

  .filter-board {
    display: none;
  }

  .section-heading {
    align-items: end;
  }

  .salon-card {
    gap: 12px;
    padding: 10px;
    border-radius: 26px;
  }

  .salon-art {
    min-height: 210px;
    border-radius: 20px;
  }

  .card-top {
    gap: 10px;
  }

  .salon-card h3 {
    font-size: 21px;
  }

  .meta-line {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .salon-description {
    font-size: 14px;
  }

  .tag-row,
  .slot-row,
  .benefit-row {
    gap: 6px;
  }

  .card-bottom {
    gap: 10px;
  }

  .card-bottom .primary-button {
    width: 100%;
  }
}

/* Mobile overflow fix after visual check */
.hero-copy,
.search-panel,
.salon-body,
.card-top > div {
  min-width: 0;
}

.hero h1,
.hero p,
.panel-intro strong,
.panel-intro span,
.salon-card h3,
.salon-description {
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .hero h1 {
    max-width: calc(100vw - 28px);
    font-size: 31px;
    letter-spacing: -0.04em;
  }

  .search-panel {
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 620px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow-x: hidden;
  }

  .search-panel {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  .search-panel > *,
  .search-panel label,
  .search-panel input,
  .search-panel select,
  .search-panel button {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .hero {
    display: block;
  }

  .hero-copy,
  .search-panel {
    width: auto;
    max-width: none;
  }

  .hero h1 {
    display: block;
    width: auto;
    max-width: 100%;
    font-size: 29px;
    line-height: 1.14;
  }

  .hero-copy p {
    max-width: 100%;
  }

  .search-panel {
    margin: 18px 0 0;
  }

  .quick-strip {
    scrollbar-width: none;
  }

  .quick-strip::-webkit-scrollbar {
    display: none;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 620px) {
  .hero,
  .quick-strip,
  .content-grid {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .hero-copy,
  .search-panel {
    box-sizing: border-box;
    max-width: calc(100vw - 28px);
  }

  .hero h1 {
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .search-panel {
    width: calc(100vw - 28px);
  }
}

@media (max-width: 620px) {
  .search-panel {
    position: relative;
    left: 50%;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin: 18px 0 0;
    transform: translateX(-50%);
  }

  .search-panel .primary-button {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .panel-intro span {
    display: block;
    line-height: 1.65;
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

/* Distinct salon-side workspace: separate feel from customer booking */
.admin-screen {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(circle at 12% 12%, rgba(168, 138, 107, 0.22), transparent 28%),
    linear-gradient(135deg, #f6f0ea 0%, #eef3ef 48%, #fffaf7 100%);
}

.admin-landing {
  position: relative;
}

.admin-landing::before {
  position: absolute;
  inset: 32px clamp(18px, 5vw, 64px);
  z-index: 0;
  border: 1px solid rgba(97, 123, 104, 0.18);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.44);
  content: "";
}

.admin-landing > * {
  position: relative;
  z-index: 1;
}

.admin-landing .eyebrow,
.owner-head .eyebrow {
  color: #617b68;
}

.admin-landing h1 {
  color: #2f342e;
  letter-spacing: -0.055em;
}

.admin-action-card {
  border: 1px solid rgba(97, 123, 104, 0.20);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 58px rgba(69, 82, 67, 0.12);
}

.owner-panel {
  background: rgba(44, 50, 43, 0.18);
  backdrop-filter: blur(6px);
}

.owner-card {
  border: 1px solid rgba(97, 123, 104, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 238, 0.94));
  box-shadow: 0 28px 72px rgba(43, 56, 45, 0.20);
}

.owner-tabs {
  background: #eaf0ea;
  border-radius: 18px;
}

.owner-tab {
  border-radius: 14px;
}

.owner-tab.active {
  color: #fff;
  background: #617b68;
  box-shadow: 0 10px 22px rgba(97, 123, 104, 0.22);
}

.policy-box.owner-guidance {
  border-left: 5px solid #617b68;
  background: #f4f8f3;
}

/* Final safety pass: avoid mobile clipping and tighten salon workspace landing */
@media (max-width: 620px) {
  .search-panel {
    left: auto !important;
    width: min(100%, 330px) !important;
    max-width: calc(100vw - 48px) !important;
    margin: 18px 0 0 !important;
    transform: none !important;
  }

  .search-panel .primary-button,
  .search-panel input,
  .search-panel select {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.admin-landing {
  align-items: start;
  min-height: calc(100vh - 72px);
  padding-top: clamp(42px, 6vw, 76px);
}

.admin-landing::before {
  inset-top: 24px;
}

.admin-action-card {
  align-self: start;
}

.work-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 24px;
}

.work-preview-cards div {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(97, 123, 104, 0.18);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(69, 82, 67, 0.07);
}

.work-preview-cards span {
  color: #617b68;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-preview-cards strong {
  color: #2f342e;
}

.work-preview-cards em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

#resultCount {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 620px) {
  .work-preview-cards {
    grid-template-columns: 1fr;
  }
}

.admin-landing {
  min-height: min(720px, calc(100vh - 72px));
}

/* Practical salon workflow additions */
.work-command-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 10px;
}

.work-command-card {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid #617b68;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(69, 82, 67, 0.06);
}

.work-command-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(69, 82, 67, 0.10);
}

.work-command-card.warn { border-top-color: #c96b47; background: #fff8f2; }
.work-command-card.caution { border-top-color: #c18a3a; background: #fffaf1; }
.work-command-card.info { border-top-color: #6888a6; }
.work-command-card.ok { border-top-color: #7a9d95; }
.work-command-card.neutral { border-top-color: #9b8b7c; }

.work-command-card span,
.work-command-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.work-command-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.05;
}

.action-digest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.action-card {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #617b68;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(69, 82, 67, 0.06);
}

.action-card.warn {
  border-left-color: #c96b47;
  background: #fff8f2;
}

.action-card.caution {
  border-left-color: #c18a3a;
}

.action-card.info {
  border-left-color: #617b68;
}

.action-card.ok {
  border-left-color: #7a9d95;
}

.action-card span,
.action-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.action-card strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.manual-reservation-box {
  margin: 16px 0;
  padding: 14px;
  background: #f8fbf7;
  border: 1px solid rgba(97, 123, 104, 0.22);
  border-radius: 18px;
}

.manual-reservation-box summary {
  cursor: pointer;
  color: #2f342e;
  font-weight: 900;
}

.owner-reservation-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.owner-reservation-form .wide-field {
  grid-column: 1 / -1;
}

.owner-reservation-form label {
  display: grid;
  gap: 6px;
}

.owner-reservation-form input,
.owner-reservation-form select {
  min-height: 42px;
  border-radius: 12px;
}

.empty-state.compact {
  padding: 18px 14px;
}

@media (max-width: 980px) {
  .work-command-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .work-command-board,
  .action-digest,
  .owner-reservation-form {
    grid-template-columns: 1fr;
  }
}

.reservation-note-line {
  display: block;
  margin-top: 4px;
  color: #617b68;
  font-size: 12px;
  font-weight: 800;
}

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

.owner-panel .owner-reservation-form select {
  text-overflow: ellipsis;
}

@media (max-width: 620px) {
  .owner-panel .owner-reservation-form {
    grid-template-columns: 1fr;
  }
}

/* Practical focus polish */
.workday-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(97, 123, 104, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(47, 52, 46, 0.94), rgba(78, 99, 82, 0.92));
  color: #fff;
  box-shadow: 0 20px 48px rgba(43, 56, 45, 0.16);
}

.workday-header .eyebrow {
  color: #d8ead9;
}

.workday-header h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.workday-header span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.6;
}

.workday-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.workday-actions .outline-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}

.workday-actions .primary-button {
  background: #d94f70;
}

@media (max-width: 760px) {
  .workday-header {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 20px;
  }

  .workday-actions {
    justify-content: stretch;
  }

  .workday-actions .outline-button,
  .workday-actions .primary-button {
    width: 100%;
  }
}

.compact-task-guide {
  margin-bottom: 12px;
}

.operation-note-box,
.danger-settings-box {
  margin: 10px 0 16px;
  border: 1px solid rgba(97, 123, 104, 0.16);
  border-radius: 18px;
  background: #fff;
}

.operation-note-box summary,
.danger-settings-box summary {
  padding: 13px 16px;
  color: #617b68;
  font-weight: 900;
  cursor: pointer;
}

.danger-settings-box {
  border-color: rgba(180, 52, 87, 0.18);
}

.danger-settings-box summary {
  color: #b93457;
}

.operation-note-box .policy-box {
  margin: 0 14px 14px;
}

.danger-settings-box .reservation-danger-zone {
  margin: 0 14px 14px;
}

.owner-panel {
  background: rgba(32, 38, 33, 0.46);
}

.toast {
  top: 82px;
  bottom: auto;
  transform: translate(-50%, -12px);
}

.toast.show {
  transform: translate(-50%, 0);
}

.customer-note-editor {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.customer-note-editor textarea {
  min-height: 76px;
  background: #fff;
}

.sales-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.accounting-note,
.sales-section-title {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.sales-section-title {
  font-weight: 700;
  color: var(--ink);
}

.sales-card,
.sales-row {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(69, 82, 67, 0.06);
}

.sales-card {
  display: grid;
  gap: 5px;
}

.sales-card span,
.sales-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.sales-card strong {
  font-size: 24px;
}

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

.sales-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 80px 120px;
  gap: 10px;
  align-items: center;
}

.accounting-row {
  grid-template-columns: minmax(180px, 1.3fr) 110px 110px 90px 150px 120px;
}

.contact-row {
  grid-template-columns: minmax(180px, 1.2fr) 90px minmax(150px, 1fr) 90px 100px minmax(180px, auto);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 760px) {
  .sales-summary,
  .sales-row {
    grid-template-columns: 1fr;
  }
}

/* Drawer focus refinements after practical review */
.owner-panel {
  width: 100vw;
  padding: 16px;
  background: rgba(26, 31, 27, 0.62);
}

.owner-card {
  width: min(1180px, 100%);
  margin-left: auto;
}

.toast {
  right: 22px;
  left: auto;
  top: 82px;
  min-width: min(320px, calc(100vw - 44px));
  transform: translateY(-12px);
}

.toast.show {
  transform: translateY(0);
}

.owner-tabs {
  gap: 6px;
  margin: 14px 0;
}

.owner-tab {
  min-height: 38px;
  font-size: 13px;
}

@media (max-width: 620px) {
  .owner-panel {
    padding: 0;
  }

  .toast {
    right: 14px;
    top: 68px;
  }
}

.guest-profile-box {
  display: grid;
  gap: 5px;
  margin: 16px 0 12px;
  padding: 13px;
  background: #f8fbf7;
  border: 1px solid rgba(97, 123, 104, 0.22);
  border-radius: 16px;
}

.guest-profile-box.has-profile {
  background: #fff8f2;
  border-color: rgba(201, 107, 71, 0.22);
}

.guest-profile-box span,
.remember-profile,
.payment-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guest-profile-box .link-button {
  justify-self: start;
  padding: 0;
}

.booking-form .wide-field,
.booking-form .payment-note {
  grid-column: 1 / -1;
}

.remember-profile {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 800;
}

.remember-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.remember-profile input {
  margin-top: 3px;
}

@media (max-width: 620px) {
  .booking-dialog {
    width: min(390px, calc(100vw - 20px));
  }

  .dialog-card {
    padding: 18px;
  }
}

/* 焦香 menu section */
.kouka-menu-section {
  padding: 56px clamp(18px, 4vw, 56px) 28px;
  background: linear-gradient(180deg, #fffdfb 0%, #fbf6f1 100%);
  border-bottom: 1px solid var(--line);
}

.menu-heading {
  align-items: flex-end;
  margin-bottom: 28px;
}

.menu-heading p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

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

.menu-category-card {
  display: grid;
  gap: 15px;
  align-content: start;
  padding: 24px;
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid rgba(229, 222, 215, 0.9);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(63, 48, 38, 0.075);
}

.featured-menu-card {
  grid-row: span 2;
  border-color: rgba(217, 79, 112, 0.24);
}

.compact-menu-card {
  align-self: start;
}

.menu-category-card h3 {
  display: grid;
  gap: 3px;
  margin: 0 0 2px;
  color: var(--accent-dark);
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.menu-category-card h3 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.menu-category-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
}

.menu-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(229, 222, 215, 0.68);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.menu-list li:first-child {
  border-top: 1px solid rgba(229, 222, 215, 0.68);
}

.menu-list span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.menu-list strong {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 86px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .menu-heading {
    display: grid;
    gap: 12px;
  }

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

@media (max-width: 520px) {
  .kouka-menu-section {
    padding-top: 42px;
  }

  .menu-category-card {
    padding: 18px;
    border-radius: 20px;
  }

  .menu-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px;
  }

  .menu-list strong {
    justify-content: flex-start;
    min-width: 0;
  }
}

/* Public page navigation and content sections */
.nav-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-reserve {
  color: var(--accent-dark);
}

.concept-section,
.products-section {
  padding: 42px clamp(18px, 4vw, 52px) 18px;
  background: #fffdfb;
}

.concept-card {
  max-width: 980px;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(135deg, #fff8f1 0%, #f6eee7 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(63, 48, 38, 0.08);
}

.concept-card h2 {
  margin-bottom: 14px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.25;
}

.concept-card p:not(.eyebrow),
.products-heading p {
  max-width: 780px;
  color: var(--muted);
  line-height: 1.9;
}

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

.product-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .top-actions .nav-link {
    display: none;
  }

  .product-card-grid {
    grid-template-columns: 1fr;
  }
}

.hero-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.reservation-guide-section {
  padding: 42px clamp(18px, 4vw, 52px) 0;
  background: #fffdfb;
}

.reservation-guide-card {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: #272320;
  color: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.reservation-guide-card .eyebrow {
  color: #ffd8df;
}

.reservation-guide-card h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.reservation-guide-card p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.reservation-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.reservation-guide-actions .outline-button {
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 760px) {
  .reservation-guide-card {
    display: grid;
  }

  .reservation-guide-actions {
    justify-content: flex-start;
  }
}

/* WEB予約風メニュー選択（焦香オリジナル） */
.web-reserve-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.reserve-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}

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

.reserve-check-link {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.reserve-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.reserve-steps li {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.reserve-steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
}

.reserve-steps li.active span {
  color: #fff;
  background: var(--ink);
}

.reserve-shop-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding: 14px;
  background: #fbf6f1;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.reserve-shop-photo {
  min-height: 88px;
  background: linear-gradient(135deg, #c8aa8f, #f2e5d8 52%, #8a6b5b);
  border-radius: 12px;
}

.reserve-shop-card strong,
.reserve-shop-card span,
.reserve-shop-card small {
  display: block;
}

.reserve-shop-card strong {
  font-size: 20px;
}

.reserve-shop-card span,
.reserve-shop-card small {
  color: var(--muted);
  line-height: 1.7;
}

.reserve-menu-title {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}

.reserve-menu-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.reserve-menu-group {
  margin-top: 16px;
}

.reserve-menu-group h4 {
  margin: 0 0 8px;
  padding: 9px 12px;
  background: #f1ede8;
  border-radius: 10px;
  font-size: 14px;
}

.reserve-menu-group label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(229, 222, 215, 0.7);
}

.reserve-menu-group label span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.reserve-menu-group em {
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.reserve-next-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 620px) {
  .reserve-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .reserve-shop-card {
    grid-template-columns: 1fr;
  }

  .reserve-menu-group label span {
    display: grid;
  }
}

.numbered-guide li {
  position: relative;
  padding: 12px 8px;
  background: #faf6f1;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.numbered-guide li::after {
  position: absolute;
  top: 25px;
  left: calc(100% - 4px);
  width: 16px;
  height: 2px;
  background: var(--line);
  content: "";
}

.numbered-guide li:last-child::after {
  display: none;
}

.numbered-guide small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.step-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 5px 9px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

@media (max-width: 620px) {
  .numbered-guide li::after {
    display: none;
  }
}

.reserve-schedule-panel {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.reserve-menu-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  background: #fbf6f1;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.reserve-menu-summary span,
.reserve-menu-summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.schedule-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.schedule-tabs button,
.week-nav button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f4eee8;
  color: var(--ink);
  font-weight: 800;
}

.schedule-tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.week-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  text-align: center;
}

.availability-table {
  display: grid;
  grid-template-columns: 72px repeat(7, minmax(54px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.availability-table > * {
  display: grid;
  place-items: center;
  min-height: 42px;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.availability-table > div:nth-child(-n+8),
.availability-table .time-head {
  background: #f1ede8;
  color: var(--muted);
  font-size: 12px;
}

.availability-table .sat {
  background: #edf4ff;
  color: #34639b;
}

.availability-table .sun {
  background: #fff0f2;
  color: #b93457;
}

.availability-table button {
  color: var(--green);
  background: #f7fbf8;
  cursor: pointer;
}

.availability-table .closed {
  background: #f7f2ed;
  color: var(--muted);
  writing-mode: vertical-rl;
  font-size: 12px;
}

@media (max-width: 760px) {
  .reserve-menu-summary {
    grid-template-columns: 1fr;
  }

  .availability-table {
    min-width: 680px;
  }

  .reserve-schedule-panel {
    overflow-x: auto;
  }
}

.reserve-flow-intro {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: #fff8f2;
  border: 1px solid rgba(217, 79, 112, 0.18);
  border-radius: 14px;
}

.reserve-flow-intro strong {
  font-size: 16px;
}

.reserve-flow-intro span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.reserve-flow-intro b {
  color: var(--accent-dark);
}

.next-step-callout {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  background: #f7fbf8;
  border: 1px solid rgba(31, 122, 99, 0.18);
  border-radius: 14px;
}

.next-step-callout span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.next-step-callout strong {
  color: var(--green);
}

.original-ui-note {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 11px;
  color: #7a5434;
  background: #f7eadb;
  border: 1px solid rgba(184, 130, 43, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.numbered-guide li.active {
  background: linear-gradient(180deg, #fff8f2, #fffdfb);
  border-color: rgba(217, 79, 112, 0.28);
}

.reserve-steps span {
  font-family: Georgia, "Times New Roman", serif;
}

.auto-check-note em {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 10px;
  color: var(--green);
  background: #f3faf6;
  border: 1px solid rgba(31, 122, 99, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.linked-salon-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  margin-bottom: 14px;
  color: var(--ink);
  background: #fff7ef;
  border: 1px solid #f1d8c2;
  border-radius: 16px;
}

.linked-salon-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.operation-quality-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #f7fbf6;
  border: 1px solid #d8ead2;
  border-radius: 16px;
}

.operation-quality-box span,
.operation-quality-box small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.operation-quality-box ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.ok-text {
  color: #2f7d32;
}

.first-choice-panel {
  align-self: center;
  box-shadow: 0 18px 48px rgba(63, 48, 38, 0.18);
}

.first-guide-section {
  padding: clamp(34px, 6vw, 76px) clamp(18px, 4vw, 52px);
  background: linear-gradient(180deg, #fffdfb 0%, #fbf4ee 100%);
}

.first-guide-heading {
  align-items: end;
  margin-bottom: 22px;
}

.first-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.first-guide-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 36px rgba(63, 48, 38, 0.08);
}

.first-guide-card span {
  width: fit-content;
  padding: 5px 10px;
  color: var(--accent-dark);
  background: #fff0f4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.first-guide-card strong {
  font-size: 18px;
  line-height: 1.55;
}

.first-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.first-guide-card a {
  width: fit-content;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.primary-guide-card {
  background: #fff8f0;
  border-color: #efd7c0;
}

@media (max-width: 860px) {
  .first-guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Luxury refresh for Kouka public homepage */
:root {
  --ink: #1f2524;
  --muted: #776f64;
  --line: #ded2bd;
  --paper: #fffdf8;
  --soft: #f5efe5;
  --accent: #b8914f;
  --accent-dark: #8f6a2d;
  --luxury-deep: #123b3c;
  --luxury-deeper: #071f21;
  --luxury-teal: #1f5e5e;
  --luxury-gold: #c8a45a;
  --luxury-cream: #fff7e8;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(200, 164, 90, 0.14), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #f7f0e4 100%);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

.topbar {
  background: rgba(255, 252, 244, 0.9);
  border-bottom: 1px solid rgba(200, 164, 90, 0.32);
}

.brand {
  letter-spacing: 0.08em;
}

.brand-mark {
  color: var(--luxury-cream);
  background: linear-gradient(145deg, var(--luxury-deeper), var(--luxury-teal));
  border: 1px solid rgba(200, 164, 90, 0.55);
  box-shadow: 0 10px 26px rgba(7, 31, 33, 0.24);
}

.text-button,
.outline-button {
  border-color: rgba(200, 164, 90, 0.38);
  font-family: inherit;
}

.text-button.active,
.primary-button {
  color: #fff8e8;
  background: linear-gradient(135deg, #b8914f, #8f6a2d);
  border-color: rgba(255, 238, 190, 0.38);
  box-shadow: 0 12px 30px rgba(143, 106, 45, 0.2);
}

.primary-button:hover {
  background: linear-gradient(135deg, #c7a463, #7d5c27);
}

.hero {
  position: relative;
  overflow: hidden;
  align-items: center;
  background:
    radial-gradient(circle at 78% 16%, rgba(224, 191, 110, 0.28), transparent 18%),
    radial-gradient(circle at 22% 18%, rgba(255, 246, 214, 0.16), transparent 18%),
    linear-gradient(115deg, rgba(4, 24, 26, 0.98), rgba(16, 68, 68, 0.9) 48%, rgba(8, 31, 35, 0.96)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 7px);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(231, 201, 132, 0.7) 0 1px, transparent 1.6px) 12px 20px / 86px 74px,
    radial-gradient(circle, rgba(255, 245, 205, 0.42) 0 1px, transparent 1.4px) 44px 52px / 128px 118px,
    linear-gradient(90deg, rgba(255,255,255,0.035), transparent 22%, rgba(255,255,255,0.025) 48%, transparent 72%);
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 22, 0.48), transparent 52%, rgba(4, 20, 22, 0.16));
  content: "";
  pointer-events: none;
}

.hero-copy,
.search-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: var(--luxury-cream);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.32);
}

.eyebrow,
.hero .eyebrow {
  color: var(--luxury-gold);
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.12;
}

.hero p {
  color: rgba(255, 248, 232, 0.9);
  font-size: 18px;
  letter-spacing: 0.03em;
}

.hero-highlights span {
  color: #fff4d8;
  background: rgba(255, 248, 232, 0.1);
  border: 1px solid rgba(200, 164, 90, 0.55);
  backdrop-filter: blur(6px);
}

.hero-outline {
  color: #fff7e8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(230, 203, 136, 0.56);
}

.search-panel {
  background: rgba(255, 250, 239, 0.92);
  border: 1px solid rgba(213, 182, 111, 0.48);
  box-shadow: 0 24px 70px rgba(2, 18, 20, 0.26);
}

.first-guide-section,
.concept-section,
.kouka-menu-section,
.products-section,
.reservation-guide-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(200, 164, 90, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf8, #f8f1e7);
}

.first-guide-card,
.concept-card,
.product-card,
.menu-category-card,
.web-reserve-card {
  border-color: rgba(200, 164, 90, 0.32);
  box-shadow: 0 18px 48px rgba(43, 35, 26, 0.09);
}

.first-guide-card span,
.tag,
.benefit {
  color: #7e5b22;
  background: #fbefd8;
}

@media (max-width: 760px) {
  .hero {
    min-height: 680px;
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions .hero-link-button {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile luxury layout fix */
@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px;
  }

  .top-actions {
    width: 100%;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .top-actions .nav-link,
  .top-actions .text-button,
  .top-actions .user-badge,
  .top-actions .logout-button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 16px 28px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.18;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
  }

  .hero p {
    max-width: 100%;
  }

  .hero-highlights {
    gap: 8px;
  }

  .hero-highlights span {
    font-size: 12px;
  }

  .search-panel {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(30px, 9.2vw, 40px);
    line-break: anywhere;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero p {
    line-height: 1.9;
    letter-spacing: 0.01em;
  }
}

/* Kouka luxury background: deep blue base + small gold dots */
:root {
  --luxury-deep: #081b2f;
  --luxury-deeper: #04101f;
  --luxury-teal: #102f48;
  --luxury-gold: #d2aa56;
}

.hero {
  background:
    radial-gradient(circle at 72% 14%, rgba(210, 170, 86, 0.24), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(255, 238, 184, 0.11), transparent 16%),
    linear-gradient(118deg, rgba(3, 12, 27, 0.99), rgba(7, 27, 50, 0.96) 45%, rgba(11, 42, 66, 0.94) 72%, rgba(3, 13, 26, 0.98)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 8px);
}

.hero::before {
  background:
    radial-gradient(circle, rgba(216, 179, 92, 0.72) 0 1.1px, transparent 1.8px) 14px 18px / 54px 48px,
    radial-gradient(circle, rgba(255, 238, 180, 0.5) 0 0.9px, transparent 1.6px) 34px 42px / 78px 70px,
    radial-gradient(circle, rgba(192, 145, 62, 0.38) 0 0.8px, transparent 1.5px) 8px 70px / 112px 94px,
    linear-gradient(90deg, rgba(255,255,255,0.026), transparent 24%, rgba(255,255,255,0.018) 50%, transparent 76%);
  opacity: 0.5;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(1, 7, 18, 0.58), rgba(1, 8, 18, 0.18) 54%, rgba(1, 7, 18, 0.28)),
    radial-gradient(circle at 70% 42%, rgba(210, 170, 86, 0.09), transparent 34%);
}

.brand-mark {
  background: linear-gradient(145deg, #03101f, #123858);
}

@media (max-width: 760px) {
  .hero::before {
    background:
      radial-gradient(circle, rgba(216, 179, 92, 0.72) 0 1px, transparent 1.7px) 10px 18px / 46px 42px,
      radial-gradient(circle, rgba(255, 238, 180, 0.48) 0 0.8px, transparent 1.5px) 30px 38px / 70px 64px;
    opacity: 0.46;
  }
}

/* Hand-drawn larger gold dots on deep blue hero */
.hero::before {
  background:
    radial-gradient(ellipse 4px 3px at center, rgba(218, 181, 91, 0.74) 0 58%, transparent 62%) 12px 18px / 76px 68px,
    radial-gradient(ellipse 3px 4.5px at center, rgba(244, 218, 147, 0.58) 0 56%, transparent 61%) 48px 42px / 118px 96px,
    radial-gradient(ellipse 5.5px 4px at center, rgba(190, 145, 62, 0.5) 0 52%, transparent 58%) 28px 82px / 154px 126px,
    radial-gradient(ellipse 2.8px 3.8px at center, rgba(227, 194, 112, 0.42) 0 58%, transparent 64%) 92px 24px / 184px 142px,
    linear-gradient(90deg, rgba(255,255,255,0.022), transparent 24%, rgba(255,255,255,0.016) 50%, transparent 76%);
  opacity: 0.56;
  filter: blur(0.05px);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(1, 7, 18, 0.62), rgba(1, 8, 18, 0.2) 54%, rgba(1, 7, 18, 0.3)),
    radial-gradient(ellipse at 74% 40%, rgba(210, 170, 86, 0.08), transparent 34%);
}

@media (max-width: 760px) {
  .hero::before {
    background:
      radial-gradient(ellipse 3.8px 3px at center, rgba(218, 181, 91, 0.72) 0 58%, transparent 63%) 12px 18px / 66px 58px,
      radial-gradient(ellipse 3px 4px at center, rgba(244, 218, 147, 0.54) 0 55%, transparent 62%) 42px 38px / 94px 82px,
      radial-gradient(ellipse 5px 3.8px at center, rgba(190, 145, 62, 0.44) 0 52%, transparent 59%) 20px 76px / 132px 108px;
    opacity: 0.52;
  }
}

.enzyme-color-value {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 4vw, 36px);
  margin: 0 0 24px;
  padding: clamp(22px, 4vw, 36px);
  color: #fff7e6;
  background:
    radial-gradient(circle at 88% 12%, rgba(210, 170, 86, 0.22), transparent 24%),
    linear-gradient(135deg, #061428, #0b2c4d 58%, #07182d);
  border: 1px solid rgba(210, 170, 86, 0.42);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(7, 18, 33, 0.18);
  overflow: hidden;
  position: relative;
}

.enzyme-color-value::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 4px 3px at center, rgba(218, 181, 91, 0.5) 0 58%, transparent 62%) 10px 14px / 82px 72px,
    radial-gradient(ellipse 3px 4px at center, rgba(244, 218, 147, 0.34) 0 56%, transparent 62%) 48px 38px / 128px 104px;
  content: "";
  opacity: 0.32;
  pointer-events: none;
}

.enzyme-value-copy,
.enzyme-value-points {
  position: relative;
  z-index: 1;
}

.enzyme-value-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.enzyme-value-copy p {
  margin: 0 0 12px;
  color: rgba(255, 247, 230, 0.9);
  line-height: 1.95;
}

.enzyme-value-points {
  display: grid;
  gap: 12px;
}

.enzyme-value-points article {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 250, 235, 0.08);
  border: 1px solid rgba(210, 170, 86, 0.35);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.enzyme-value-points span {
  color: #e7c987;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.enzyme-value-points strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.enzyme-value-points small {
  color: rgba(255, 247, 230, 0.78);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .enzyme-color-value {
    grid-template-columns: 1fr;
  }
}

/* Stronger hand-drawn gold polka dots */
.hero::before {
  background:
    radial-gradient(ellipse 8px 6px at 45% 52%, rgba(218, 181, 91, 0.78) 0 48%, rgba(218, 181, 91, 0.38) 55%, transparent 64%) 18px 24px / 118px 96px,
    radial-gradient(ellipse 6px 9px at 56% 46%, rgba(244, 218, 147, 0.6) 0 46%, rgba(244, 218, 147, 0.28) 57%, transparent 66%) 74px 54px / 168px 132px,
    radial-gradient(ellipse 10px 7px at 43% 58%, rgba(190, 145, 62, 0.52) 0 44%, rgba(190, 145, 62, 0.24) 56%, transparent 68%) 34px 106px / 204px 158px,
    radial-gradient(ellipse 5px 7px at 58% 42%, rgba(227, 194, 112, 0.46) 0 50%, rgba(227, 194, 112, 0.18) 60%, transparent 70%) 128px 28px / 232px 178px,
    radial-gradient(ellipse 7px 5px at 48% 54%, rgba(230, 193, 101, 0.36) 0 50%, transparent 66%) 8px 168px / 292px 216px,
    linear-gradient(90deg, rgba(255,255,255,0.018), transparent 24%, rgba(255,255,255,0.012) 50%, transparent 76%);
  opacity: 0.62;
  filter: blur(0.12px);
}

@media (max-width: 760px) {
  .hero::before {
    background:
      radial-gradient(ellipse 7px 5.5px at 44% 54%, rgba(218, 181, 91, 0.78) 0 48%, rgba(218, 181, 91, 0.36) 56%, transparent 66%) 14px 22px / 96px 82px,
      radial-gradient(ellipse 5.5px 8px at 58% 44%, rgba(244, 218, 147, 0.56) 0 46%, rgba(244, 218, 147, 0.24) 58%, transparent 68%) 62px 50px / 138px 112px,
      radial-gradient(ellipse 9px 6.5px at 42% 58%, rgba(190, 145, 62, 0.46) 0 44%, rgba(190, 145, 62, 0.2) 57%, transparent 69%) 28px 102px / 172px 142px,
      radial-gradient(ellipse 5px 6.5px at 58% 42%, rgba(227, 194, 112, 0.38) 0 50%, transparent 68%) 102px 28px / 206px 160px;
    opacity: 0.58;
  }
}

.enzyme-aftercare-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr);
  gap: 18px;
  margin: -6px 0 24px;
  padding: clamp(18px, 3vw, 26px);
  background: #fffaf0;
  border: 1px solid rgba(210, 170, 86, 0.34);
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(43, 35, 26, 0.08);
}

.enzyme-aftercare-note h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.5;
}

.enzyme-aftercare-note p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.9;
}

.enzyme-aftercare-note ul {
  display: grid;
  gap: 8px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.enzyme-aftercare-note li {
  padding: 10px 12px;
  color: #6f4f1d;
  background: #fbefd8;
  border-radius: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .enzyme-aftercare-note {
    grid-template-columns: 1fr;
  }
}

.enzyme-menu-compare article:nth-child(2) {
  background: rgba(255, 250, 235, 0.14);
  border-color: rgba(232, 204, 132, 0.58);
}

.reservation-policy-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(181, 122, 91, 0.28);
  border-radius: 16px;
  background: #fffaf6;
  color: var(--ink);
}

.reservation-policy-note strong {
  font-size: 14px;
}

.reservation-policy-note ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.cancel-url-box {
  display: block;
  grid-column: 1 / -1;
  padding: 12px;
  border-radius: 12px;
  background: #f7f3ed;
  color: var(--ink);
  white-space: normal;
  word-break: break-all;
  font-size: 12px;
}

.customer-reminder-panel {
  margin: 14px 0;
}

.customer-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.owner-global-search {
  display: grid;
  gap: 10px;
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid rgba(86, 69, 51, 0.12);
  border-radius: 18px;
  background: #fffaf6;
}

.owner-global-search label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.owner-global-search input {
  width: 100%;
  border: 1px solid rgba(86, 69, 51, 0.18);
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  background: #fff;
}

.owner-search-summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.owner-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-photo-uploader {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed rgba(181, 122, 91, 0.35);
  border-radius: 16px;
  background: #fffaf6;
}

.menu-photo-preview {
  min-height: 82px;
  border: 1px solid rgba(86, 69, 51, 0.1);
  border-radius: 14px;
  background: #fff;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  color: var(--muted);
  font-size: 13px;
}

.menu-photo-preview img {
  width: 96px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.homepage-style-editor {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(181, 122, 91, 0.18);
  border-radius: 16px;
  background: #fffaf6;
}

.homepage-style-editor > span,
.homepage-content-editor small {
  color: var(--muted);
  font-size: 13px;
}

.homepage-content-editor textarea {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
}

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

@media (max-width: 720px) {
  .style-size-grid {
    grid-template-columns: 1fr;
  }
}

.booking-menu-visual {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border-radius: 18px;
  background: #fffaf6;
}

.booking-menu-visual img,
.menu-photo-placeholder {
  width: 96px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: linear-gradient(135deg, #ead8c7, #f8efe6);
  color: rgba(86, 69, 51, 0.55);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.booking-menu-visual div {
  display: grid;
  gap: 4px;
}

.booking-menu-visual span,
.booking-menu-visual em,
.staff-availability-grid span,
.booking-summary-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.staff-availability-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.staff-availability-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(86, 69, 51, 0.12);
  border-radius: 16px;
  background: #fff;
}

.staff-availability-card.selected {
  border-color: rgba(181, 122, 91, 0.55);
  box-shadow: 0 8px 20px rgba(181, 122, 91, 0.12);
}

.staff-availability-card > button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  display: grid;
  gap: 3px;
  cursor: pointer;
}

.staff-availability-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mini-slot {
  border: 1px solid rgba(86, 69, 51, 0.16);
  background: #fffaf6;
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
  display: grid;
  gap: 2px;
  min-width: 76px;
}

.mini-slot.selected {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.mini-slot small {
  font-size: 10px;
  opacity: 0.72;
}

.booking-summary-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fbf7;
  border: 1px solid rgba(97, 123, 104, 0.18);
}

.booking-summary-box dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.booking-summary-box dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(86, 69, 51, 0.08);
  padding-bottom: 5px;
}

.booking-summary-box dt {
  color: var(--muted);
}

.booking-summary-box dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

/* Visual photo breaks: replace placeholders with real salon photos later */
.photo-break-section {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, minmax(0, 0.85fr));
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px) 42px;
  background: #fbf6f1;
}

.photo-break-card {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(229, 222, 215, 0.82);
  border-radius: 24px;
  color: #fffdfb;
  background:
    linear-gradient(180deg, rgba(37, 29, 24, 0.04) 0%, rgba(37, 29, 24, 0.66) 100%),
    radial-gradient(circle at 28% 26%, rgba(236, 214, 176, 0.9), transparent 34%),
    linear-gradient(135deg, #8f7664 0%, #d8c2a5 48%, #695449 100%);
  box-shadow: 0 18px 40px rgba(63, 48, 38, 0.1);
}

.photo-break-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 253, 251, 0.38);
  border-radius: 18px;
  pointer-events: none;
}

.photo-break-card span,
.photo-break-card strong,
.photo-break-card small {
  position: relative;
  z-index: 1;
}

.photo-break-card span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.photo-break-card strong {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.photo-break-card small {
  color: rgba(255, 253, 251, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.main-photo {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(37, 29, 24, 0.02) 0%, rgba(37, 29, 24, 0.62) 100%),
    radial-gradient(circle at 70% 20%, rgba(244, 223, 188, 0.86), transparent 30%),
    linear-gradient(135deg, #776052 0%, #c7a98b 52%, #4f4038 100%);
}

@media (max-width: 860px) {
  .photo-break-section {
    grid-template-columns: 1fr;
    padding-bottom: 30px;
  }

  .photo-break-card,
  .main-photo {
    min-height: 190px;
  }
}


.photo-hair-01 {
  background-image:
    linear-gradient(180deg, rgba(37, 29, 24, 0.02) 0%, rgba(37, 29, 24, 0.56) 100%),
    url("./assets/site-photos/kouka-gloss-hair-user-01.jpg");
  background-size: cover;
  background-position: center 46%;
}

.photo-hair-02 {
  background-image:
    linear-gradient(180deg, rgba(37, 29, 24, 0.02) 0%, rgba(37, 29, 24, 0.58) 100%),
    url("./assets/site-photos/kouka-gloss-hair-user-02.jpg");
  background-size: cover;
  background-position: center 42%;
}

.photo-hair-03 {
  background-image:
    linear-gradient(180deg, rgba(37, 29, 24, 0.02) 0%, rgba(37, 29, 24, 0.6) 100%),
    url("./assets/site-photos/glossy-hair-image-03.jpg");
  background-size: cover;
  background-position: center 36%;
}


.photo-shop-exterior {
  background-image:
    linear-gradient(180deg, rgba(37, 29, 24, 0.02) 0%, rgba(37, 29, 24, 0.58) 100%),
    url("./assets/site-photos/kouka-shop-exterior-01.jpg");
  background-size: cover;
  background-position: center 48%;
}


.salon-space-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
  padding: 0 clamp(18px, 4vw, 56px) 50px;
  background: #fbf6f1;
}

.salon-space-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(229, 222, 215, 0.82);
  border-radius: 24px;
  background: rgba(255, 253, 251, 0.82);
  box-shadow: 0 16px 38px rgba(63, 48, 38, 0.06);
}

.salon-space-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.salon-space-copy p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.salon-space-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 18px;
}

.salon-space-photo {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 6px;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(229, 222, 215, 0.82);
  color: #fffdfb;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(63, 48, 38, 0.1);
}

.salon-space-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 29, 24, 0.03) 0%, rgba(37, 29, 24, 0.58) 100%);
}

.salon-space-photo span,
.salon-space-photo strong {
  position: relative;
  z-index: 1;
}

.salon-space-photo span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 253, 251, 0.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.salon-space-photo strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.salon-interior-01 {
  background-image: url("./assets/site-photos/kouka-shop-interior-01.jpg");
  background-position: center 48%;
}

.salon-interior-02 {
  background-image: url("./assets/site-photos/kouka-shop-interior-02.jpg");
  background-position: center 46%;
}

.salon-info-section {
  padding: 46px clamp(18px, 4vw, 56px);
  background: #fffdfb;
}

.salon-info-heading {
  margin-bottom: 22px;
}

.salon-info-heading p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.salon-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.salon-basic-card,
.salon-route-card,
.salon-map-card {
  border: 1px solid rgba(229, 222, 215, 0.88);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(63, 48, 38, 0.06);
}

.salon-basic-card,
.salon-route-card {
  padding: clamp(22px, 3vw, 30px);
}

.salon-basic-card h3,
.salon-route-card h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 22px;
}

.salon-info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.salon-info-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(229, 222, 215, 0.75);
}

.salon-info-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.salon-info-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.salon-info-list a {
  color: var(--accent-dark);
}

.salon-info-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.salon-info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.salon-info-actions a {
  text-decoration: none;
}

.route-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.route-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f6eee7;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.route-list p {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.salon-map-card {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 320px;
}

.salon-map-card iframe {
  width: 100%;
  min-height: 320px;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .salon-space-section,
  .salon-space-grid,
  .salon-info-grid {
    grid-template-columns: 1fr;
  }

  .salon-space-section {
    padding-bottom: 36px;
  }

  .salon-space-photo {
    min-height: 220px;
  }

  .salon-info-heading {
    display: grid;
  }

  .salon-info-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

.homecare-message-card {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 22px;
  border: 1px solid rgba(200, 164, 90, 0.28);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 14px 34px rgba(63, 48, 38, 0.06);
}

.homecare-message-card p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.product-consult-card {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(217, 79, 112, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.product-consult-card strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.product-consult-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.75;
}

.product-consult-card a {
  width: fit-content;
  margin-top: 4px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (min-width: 861px) {
  .products-section .product-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Photo framing adjustment: show photos with a little more distance, less close-cropped */
.photo-break-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.photo-break-card {
  min-height: 320px;
  background-color: #6f5a4d;
  background-repeat: no-repeat;
}

.main-photo {
  min-height: 360px;
}

.photo-hair-01,
.photo-hair-02 {
  background-size: 100% 100%, auto 92%;
  background-position: center, center 42%;
}

.photo-shop-exterior {
  background-size: 100% 100%, 92% auto;
  background-position: center, center 48%;
}

.salon-space-photo {
  min-height: 330px;
  background-color: #6f5a4d;
  background-repeat: no-repeat;
}

.salon-interior-01,
.salon-interior-02 {
  background-size: contain;
  background-position: center;
}

@media (max-width: 860px) {
  .photo-break-section {
    grid-template-columns: 1fr;
  }

  .photo-break-card,
  .main-photo,
  .salon-space-photo {
    min-height: 300px;
  }
}

/* Remove gold dot pattern from navy areas */
.hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.018), transparent 28%, rgba(255,255,255,0.012) 56%, transparent 82%);
  opacity: 0.22;
  filter: none;
}

.hero::after {
  background: linear-gradient(90deg, rgba(1, 7, 18, 0.62), rgba(1, 8, 18, 0.2) 54%, rgba(1, 7, 18, 0.3));
}

.enzyme-color-value::before {
  display: none;
}

@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.016), transparent 30%, rgba(255,255,255,0.01) 60%, transparent 86%);
    opacity: 0.2;
  }
}

.enzyme-course-tabs {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 247, 230, 0.24);
  border-radius: 20px;
  background: rgba(255, 247, 230, 0.08);
}

.enzyme-tab-buttons {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
}

.enzyme-tab-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 247, 230, 0.28);
  border-radius: 999px;
  color: rgba(255, 247, 230, 0.86);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.enzyme-tab-button:hover,
.enzyme-tab-button:focus-visible {
  border-color: rgba(255, 232, 172, 0.72);
  color: #fff7e6;
  outline: none;
}

.enzyme-tab-button.active {
  color: #081b2f;
  background: linear-gradient(135deg, #fff0ba, #d2aa56);
  border-color: rgba(255, 240, 186, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.enzyme-tab-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 247, 230, 0.18);
  border-radius: 18px;
  background: rgba(2, 11, 24, 0.24);
}

.enzyme-tab-panel[hidden] {
  display: none;
}

.enzyme-tab-panel span {
  color: #f0d88b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.enzyme-tab-panel h4 {
  margin: 0;
  color: #fff7e6;
  font-size: 20px;
  line-height: 1.35;
}

.enzyme-tab-panel p {
  margin: 0;
  color: rgba(255, 247, 230, 0.86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.enzyme-tab-panel ul {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.enzyme-tab-panel li {
  position: relative;
  padding-left: 1.15em;
  color: rgba(255, 247, 230, 0.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.enzyme-tab-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d2aa56;
}

@media (max-width: 520px) {
  .enzyme-tab-buttons {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .enzyme-course-tabs {
    padding: 12px;
  }
}

.page-tab-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: #fffdfb;
}

.page-tab-card {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid rgba(229, 222, 215, 0.88);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8f1 0%, #fffdfb 100%);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(63, 48, 38, 0.06);
}

.page-tab-card span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-tab-card strong { font-size: 22px; }
.page-tab-card small { color: var(--muted); font-weight: 700; line-height: 1.7; }

.style-gallery-section {
  padding: 46px clamp(18px, 4vw, 56px);
  background: #fbf6f1;
}

.style-gallery-heading { margin-bottom: 22px; }
.style-gallery-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.style-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.style-photo-card {
  min-height: 310px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(229, 222, 215, 0.82);
  color: #fffdfb;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(63, 48, 38, 0.1);
  position: relative;
}

.style-photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 29, 24, 0.04) 0%, rgba(37, 29, 24, 0.62) 100%);
}

.style-photo-card span,
.style-photo-card strong,
.style-photo-card small {
  position: relative;
  z-index: 1;
}

.style-photo-card span { font-size: 18px; font-weight: 900; }
.style-photo-card small { margin-top: 4px; font-weight: 700; line-height: 1.6; opacity: 0.9; }

body[data-customer-page="styles"] .concept-section,
body[data-customer-page="styles"] .products-section,
body[data-customer-page="styles"] .photo-break-section,
body[data-customer-page="styles"] .salon-space-section,
body[data-customer-page="styles"] .salon-info-section,
body[data-customer-page="styles"] .kouka-menu-section,
body[data-customer-page="styles"] .reservation-guide-section,
body[data-customer-page="styles"] .content-grid {
  display: none;
}

body[data-customer-page="menu"] .concept-section,
body[data-customer-page="menu"] .products-section,
body[data-customer-page="menu"] .style-gallery-section,
body[data-customer-page="menu"] .photo-break-section,
body[data-customer-page="menu"] .salon-space-section,
body[data-customer-page="menu"] .salon-info-section,
body[data-customer-page="menu"] .reservation-guide-section,
body[data-customer-page="menu"] .content-grid {
  display: none;
}

@media (max-width: 860px) {
  .page-tab-section,
  .style-gallery-grid { grid-template-columns: 1fr; }
  .style-photo-card { min-height: 240px; }
}

.uploaded-style-card {
  display: grid;
  align-content: stretch;
  gap: 0;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: #fff;
}

.uploaded-style-card::before {
  display: none;
}

.uploaded-style-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.style-photo-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(37, 29, 24, 0.56);
  color: #fffdfb;
}

.uploaded-style-card .style-photo-copy {
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.style-photo-copy strong {
  font-size: 18px;
  line-height: 1.45;
}

.style-photo-copy p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  opacity: 0.88;
}

.style-photo-uploader input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

/* Public homepage simplification: keep the first view focused on the main CTA. */
body[data-view="customer"] .hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 480px;
}

body[data-view="customer"] .first-choice-panel {
  display: none;
}

.owner-module-grid .feature-card.ready {
  border-left: 5px solid #7a9d95;
}

.owner-module-grid .feature-card.planned {
  border-left: 5px solid #c18a3a;
}

.owner-module-grid .feature-card.excluded {
  color: #7a6f67;
  background: #f5f1ec;
  border-left: 5px solid #9b8b7c;
}

.listing-edit-hub {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(6, auto);
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: #fffaf3;
  border: 1px solid rgba(194, 154, 86, 0.28);
  border-radius: 18px;
}

.listing-edit-hub strong,
.listing-edit-hub span {
  display: block;
}

.listing-edit-hub span {
  color: var(--muted);
  font-size: 12px;
}

.listing-edit-hub a {
  padding: 9px 11px;
  color: #574536;
  background: #fff;
  border: 1px solid rgba(194, 154, 86, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .listing-edit-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .listing-edit-hub > div {
    grid-column: 1 / -1;
  }
}

.sales-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sales-mode-tab {
  min-height: 38px;
  padding: 0 13px;
  color: #574536;
  background: #fff;
  border: 1px solid rgba(194, 154, 86, 0.25);
  border-radius: 999px;
  font-weight: 800;
}

.sales-mode-tab.active {
  color: #fff8e8;
  background: #7d6a50;
  border-color: #7d6a50;
}

.customer-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.customer-history-box {
  padding: 10px;
  background: #fbf8f3;
  border: 1px solid rgba(194, 154, 86, 0.2);
  border-radius: 12px;
}

.customer-history-box summary {
  cursor: pointer;
  font-weight: 800;
}

.customer-history-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .customer-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .customer-summary-grid {
    grid-template-columns: 1fr;
  }
}

.operation-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.operation-settings-grid a {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid #7d6a50;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(69, 82, 67, 0.05);
}

.operation-settings-grid a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(69, 82, 67, 0.09);
}

.operation-settings-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .operation-settings-grid {
    grid-template-columns: 1fr;
  }
}

.register-setup-list label {
  display: grid;
  grid-template-columns: auto minmax(110px, 0.7fr) 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #fbf6f1;
  border: 1px solid #efe0d2;
  border-radius: 12px;
}

.register-setup-list label:has(input:checked) {
  border-color: #cde8d2;
  background: #f3fbf4;
}

.register-setup-list label span {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .register-setup-list label {
    grid-template-columns: auto 1fr;
  }
  .register-setup-list label span,
  .register-setup-list label button {
    grid-column: 2;
  }
}

.listing-menu-workspace {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #ead8c8;
  border-radius: 18px;
  background: #fffaf6;
}

.listing-menu-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.listing-menu-header strong {
  display: block;
  font-size: 1.05rem;
}

.listing-menu-header span,
.editor-tab-panel small {
  color: var(--muted);
  line-height: 1.7;
}

.editor-tab-panel {
  display: grid;
  gap: 12px;
}

.editable-menu-table {
  display: grid;
  gap: 10px;
}

.editable-menu-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 120px 110px auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid #efe0d2;
  border-radius: 12px;
  background: #fff;
  align-items: end;
}

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

.menu-category-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #efe0d2;
  border-radius: 12px;
  background: #fff;
}

.menu-category-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-category-card label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6eee7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .editable-menu-row {
    grid-template-columns: 1fr 1fr;
  }
}

.retail-product-editor {
  display: grid;
  gap: 12px;
}

.retail-product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.retail-product-head strong,
.retail-product-head span {
  display: block;
}

.retail-product-head span {
  color: var(--muted);
  line-height: 1.6;
}

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

.retail-product-row {
  display: grid;
  grid-template-columns: 80px 150px 100px minmax(180px, 1fr) 120px 80px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #efe0d2;
  border-radius: 12px;
  background: #fff;
}

.retail-description-field {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .retail-product-head {
    align-items: stretch;
    flex-direction: column;
  }
  .retail-product-row {
    grid-template-columns: 1fr 1fr;
  }
  .retail-name-field,
  .retail-description-field {
    grid-column: 1 / -1;
  }
}

.kouka-menu-editor,
.kouka-menu-list,
.kouka-option-list {
  display: grid;
  gap: 10px;
}

.kouka-menu-row,
.kouka-option-row {
  display: grid;
  grid-template-columns: 76px minmax(220px, 1.4fr) 120px 120px 100px 80px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #efe0d2;
  border-radius: 12px;
  background: #fff;
}

.kouka-menu-name {
  min-width: 0;
}

.kouka-menu-photo-url,
.kouka-option-row .wide-field {
  grid-column: 1 / -1;
}

.kouka-option-row {
  grid-template-columns: minmax(170px, 1fr) 110px minmax(160px, 1fr) 120px 80px;
}

@media (max-width: 900px) {
  .kouka-menu-row,
  .kouka-option-row {
    grid-template-columns: 1fr 1fr;
  }
  .kouka-menu-name,
  .kouka-menu-photo-url,
  .kouka-option-row .wide-field {
    grid-column: 1 / -1;
  }
}

.retail-sale-box {
  gap: 10px;
}

.retail-sale-list {
  display: grid;
  gap: 8px;
}

.retail-sale-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px 120px auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border-radius: 12px;
  background: #fffaf6;
  border: 1px solid #efe0d2;
}

.retail-sale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .retail-sale-row {
    grid-template-columns: 1fr 1fr;
  }
}

.staff-flow-head {
  gap: 12px;
}

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

.staff-flow-summary span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff6ed;
  border: 1px solid #ecd8c6;
  color: var(--muted);
}

.staff-flow-summary b {
  color: var(--ink);
}

.staff-flow-board {
  display: grid;
  grid-template-columns: 92px repeat(var(--slot-count), minmax(132px, 1fr));
  overflow-x: auto;
  border: 1px solid #ead8c8;
  border-radius: 16px;
  background: #fffaf6;
}

.staff-flow-corner,
.staff-flow-time,
.staff-flow-lane-name,
.staff-flow-slot {
  border-right: 1px solid #ead8c8;
  border-bottom: 1px solid #ead8c8;
  min-height: 72px;
}

.staff-flow-corner,
.staff-flow-time {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f5eadf;
  font-weight: 800;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.staff-flow-lane-name {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #f8efe7;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
}

.staff-flow-lane-name strong,
.staff-flow-lane-name span {
  display: block;
}

.staff-flow-lane-name span {
  color: var(--muted);
  font-size: 0.85rem;
}

.staff-flow-slot {
  padding: 8px;
  background: #fff;
  min-width: 132px;
}

.staff-flow-slot.is-open {
  background: #fffdf9;
}

.staff-flow-open {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f6ef;
  color: #6d8a62;
  font-size: 0.78rem;
}

.staff-flow-reservation {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  background: #eef7f0;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(84, 57, 36, 0.08);
}

.staff-flow-reservation + .staff-flow-reservation {
  margin-top: 6px;
}

.staff-flow-reservation strong,
.staff-flow-reservation span,
.staff-flow-reservation em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-flow-reservation span,
.staff-flow-reservation em {
  font-size: 0.78rem;
  color: var(--muted);
}

.staff-flow-reservation.reservation-status-unconfirmed {
  background: #fff4d8;
}

.staff-flow-reservation.reservation-status-change_requested {
  background: #ffe6df;
}

.staff-flow-reservation.reservation-status-visited {
  background: #e9edf7;
}

.staff-flow-reservation.carry-over {
  opacity: 0.72;
}

.reservation-quick-menu {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #dfc6b2;
  background: #fffaf4;
  box-shadow: 0 12px 24px rgba(84, 57, 36, 0.16);
  min-width: 260px;
  position: relative;
  z-index: 5;
}

.reservation-quick-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.reservation-quick-head strong,
.reservation-quick-head span {
  display: block;
}

.reservation-quick-head span,
.reservation-quick-status {
  color: var(--muted);
  font-size: 0.84rem;
}

.reservation-quick-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reservation-quick-status span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3ebe3;
}

.reservation-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.reservation-quick-actions button {
  justify-content: center;
}

.accounting-box {
  gap: 14px;
}

.accounting-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.accounting-header strong,
.accounting-header span {
  display: block;
}

.accounting-header span:not(.status-pill) {
  color: var(--muted);
}

.accounting-lines {
  display: grid;
  gap: 8px;
}

.accounting-line {
  display: grid;
  grid-template-columns: 90px minmax(180px, 1fr) 60px 120px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #ead8c8;
  background: #fffaf6;
}

.accounting-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
}

.accounting-summary-grid > div,
.accounting-summary-grid label {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
  background: #fffaf6;
  border: 1px solid #ead8c8;
}

.accounting-summary-grid span {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .accounting-line,
  .accounting-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reservation-management-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 10px;
}

.reservation-workspace-panel {
  display: grid;
  gap: 12px;
}

.shift-setting-board,
.monthly-reception-board {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #ead8c8;
  border-radius: 18px;
  background: #fffaf6;
}

.shift-setting-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.shift-setting-head h3 {
  margin: 0;
}

.shift-actions,
.shift-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shift-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shift-chip,
.shift-day-cell {
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  border: 1px solid transparent;
}

.shift-chip.work,
.shift-day-cell.work { background: #eaf7ee; color: #3f704d; }
.shift-chip.holiday,
.shift-day-cell.holiday { background: #f5e5df; color: #8b4e3e; }
.shift-chip.phone,
.shift-day-cell.phone { background: #e8eefb; color: #4f628e; }
.shift-chip.closed,
.shift-day-cell.closed { background: #e9e2dc; color: #725f52; }

.shift-month-label {
  font-weight: 900;
  color: var(--ink);
}

.shift-grid {
  display: grid;
  grid-template-columns: 110px repeat(var(--days), minmax(48px, 1fr));
  overflow-x: auto;
  border: 1px solid #ead8c8;
  border-radius: 16px;
  background: #fff;
}

.shift-staff-head,
.shift-day-head,
.shift-staff-name,
.shift-day-cell {
  min-height: 56px;
  border-right: 1px solid #ead8c8;
  border-bottom: 1px solid #ead8c8;
}

.shift-staff-head,
.shift-day-head {
  display: grid;
  place-items: center;
  background: #f5eadf;
  font-weight: 900;
}

.shift-day-head span {
  font-size: 0.75rem;
  color: var(--muted);
}

.shift-day-head.weekend {
  background: #f8e6e0;
}

.shift-staff-name {
  position: sticky;
  left: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px;
  background: #fff6ed;
}

.shift-staff-name span {
  color: var(--muted);
  font-size: 0.78rem;
}

.shift-day-cell {
  border-radius: 0;
  cursor: pointer;
}

.shift-day-cell.weekend {
  box-shadow: inset 0 0 0 999px rgba(180, 82, 59, 0.04);
}

.monthly-reception-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 10px;
}

.monthly-reception-grid label {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #ead8c8;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 860px) {
  .shift-setting-head { flex-direction: column; }
  .monthly-reception-grid { grid-template-columns: 1fr; }
}

.detailed-monthly-reception {
  gap: 18px;
}

.monthly-setting-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #ead8c8;
  border-radius: 16px;
  background: #fff;
}

.monthly-section-title {
  display: grid;
  gap: 6px;
}

.monthly-section-title > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.monthly-section-title strong {
  font-size: 1.02rem;
}

.monthly-section-title p,
.compact-help p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.month-setting-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
}

.month-setting-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #ead8c8;
  background: #fffaf6;
}

.month-setting-card strong,
.month-setting-card span {
  display: block;
}

.month-setting-card span {
  font-weight: 800;
  color: #3f704d;
}

.month-setting-card.unset span {
  color: #b24c3a;
}

.compact-help {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fffaf6;
}

.compact-help summary {
  cursor: pointer;
  font-weight: 800;
}

.radio-setting-row,
.radio-setting-column {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  background: #fffaf6;
  border: 1px solid #ead8c8;
}

.radio-setting-column {
  align-items: stretch;
  flex-direction: column;
}

.radio-setting-row label,
.radio-setting-column label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

@media (max-width: 900px) {
  .month-setting-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .month-setting-grid {
    grid-template-columns: 1fr;
  }
}

.month-setting-card.active {
  border-color: #b7835f;
  box-shadow: 0 12px 30px rgba(128, 82, 48, 0.16);
}

.monthly-setting-editor {
  border: 1px solid rgba(128, 82, 48, 0.22);
  background: #fffaf6;
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.salon-reception-editor,
.staff-reception-editor {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.salon-reception-editor label,
.staff-reception-editor label,
.monthly-wide-input {
  display: grid;
  gap: 6px;
  color: #69584c;
  font-size: 0.88rem;
}

.salon-reception-editor input,
.staff-reception-editor select,
.monthly-wide-input input,
.monthly-wide-input textarea {
  width: 100%;
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  color: #3b302a;
  font: inherit;
}

.monthly-wide-input textarea {
  resize: vertical;
  min-height: 72px;
}

@media (max-width: 760px) {
  .salon-reception-editor,
  .staff-reception-editor {
    grid-template-columns: 1fr;
  }
}

.time-slot-setting-block {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(128, 82, 48, 0.16);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 16px;
  padding: 14px;
  overflow-x: auto;
}

.monthly-section-title.compact {
  margin-bottom: 0;
}

.weekly-reception-matrix {
  min-width: 760px;
  display: grid;
  grid-template-columns: 72px repeat(var(--slot-count), minmax(74px, 1fr));
  gap: 6px;
  align-items: stretch;
}

.weekly-reception-corner,
.weekly-reception-head,
.weekly-reception-day {
  border-radius: 10px;
  background: #efe5dc;
  color: #6c5749;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 8px 6px;
}

.weekly-reception-day {
  background: #f7eee7;
}

.weekly-reception-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(128, 82, 48, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  color: #7a675a;
  font-size: 0.76rem;
}

.weekly-reception-cell input,
.weekly-reception-cell select {
  width: 56px;
  border: 0;
  border-bottom: 1px solid rgba(128, 82, 48, 0.22);
  text-align: center;
  color: #3b302a;
  font: inherit;
  background: transparent;
}

.reception-preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reception-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #eaf7ee;
  color: #3f704d;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.reception-preview-pill.closed {
  background: #f5e5df;
  color: #8b4e3e;
}

.reception-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bulk-input-actions {
  padding: 10px;
  border: 1px solid rgba(128, 82, 48, 0.14);
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.72);
}

.bulk-input-actions .inline-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #69584c;
  font-size: 0.84rem;
  font-weight: 700;
}

.bulk-input-actions input,
.bulk-input-actions select {
  width: 96px;
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  color: #3b302a;
  font: inherit;
}

.bulk-input-actions select { width: 140px; }

.outline-button.danger-soft {
  color: #8b4e3e;
  border-color: rgba(139, 78, 62, 0.28);
  background: #fff7f4;
}

.reception-board-shell {
  display: grid;
  gap: 10px;
  min-width: 860px;
}

.reception-board-note {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  background: #f4ece5;
  color: #6c5749;
  padding: 10px 12px;
  font-size: 0.84rem;
}

.weekly-reception-matrix.easy {
  gap: 8px;
  background: #fbf6f1;
  border: 1px solid rgba(128, 82, 48, 0.12);
  border-radius: 18px;
  padding: 10px;
}

.weekly-reception-matrix.easy .weekly-reception-head,
.weekly-reception-matrix.easy .weekly-reception-day,
.weekly-reception-matrix.easy .weekly-reception-corner {
  min-height: 58px;
  box-shadow: inset 0 -1px 0 rgba(128, 82, 48, 0.08);
}

.weekly-reception-head,
.weekly-reception-day {
  gap: 2px;
}

.weekly-reception-head span,
.weekly-reception-day span {
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0.72;
}

.weekly-reception-day.closed {
  background: #eadfd8;
  color: #8b4e3e;
}

.weekly-reception-cell.closed {
  background: #f6e8e2;
  border-color: rgba(139, 78, 62, 0.22);
  color: #8b4e3e;
}

.weekly-reception-cell.normal {
  background: #f7fff9;
  border-color: rgba(63, 112, 77, 0.18);
  color: #3f704d;
}

.weekly-reception-cell.busy {
  background: #eef4ff;
  border-color: rgba(79, 98, 142, 0.22);
  color: #4f628e;
}

.weekly-reception-cell {
  min-height: 54px;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.weekly-reception-cell:focus-within,
.weekly-reception-cell:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(83, 58, 40, 0.12);
}

.weekly-reception-cell input,
.weekly-reception-cell select {
  width: 52px;
  font-size: 1rem;
  font-weight: 800;
}

@media (max-width: 760px) {
  .reception-board-note {
    align-items: flex-start;
    flex-direction: column;
  }
}

.owner-tabs,
.owner-tab,
.reservation-management-tabs,
.sales-mode-tab {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

.owner-tab,
.sales-mode-tab {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(128, 82, 48, 0.16);
  touch-action: manipulation;
}

.customer-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.status-pill.warning,
.status-pill.attention {
  color: #9a6500;
  background: #fff4d8;
}

.status-pill.neutral {
  color: #5f6470;
  background: #f1f3f5;
}

.customer-card.needs-follow {
  border-left: 5px solid #c29a56;
}

.customer-lifecycle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.customer-lifecycle-row span {
  padding: 5px 9px;
  color: #574536;
  background: #fbf8f3;
  border: 1px solid rgba(194, 154, 86, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.customer-history-list {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.customer-history-list div {
  display: grid;
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(194, 154, 86, 0.16);
  border-radius: 8px;
}

.customer-history-list strong,
.customer-history-list span {
  display: block;
  font-size: 12px;
}

.customer-history-list span {
  color: var(--muted);
}

.memo-warning {
  padding: 9px 10px;
  color: #9a6500;
  background: #fff7df;
  border: 1px solid #f1d38a;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

/* 2026-07-16 mobile final check fixes */
@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-shell,
  main,
  .customer-screen,
  .admin-screen,
  .admin-landing,
  .hero,
  .hero-copy,
  .admin-action-card,
  .owner-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }

  .admin-landing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    padding: 28px 16px 36px;
  }

  .admin-landing::before {
    inset: 12px 8px;
    border-radius: 24px;
  }

  .admin-landing h1,
  .hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .admin-landing p,
  .hero p {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.8;
  }

  .work-preview-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .owner-tabs,
  .reservation-quick-filters,
  .chip-row,
  .filter-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .owner-tab,
  .quick-filter,
  .chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .primary-button,
  .hero-actions .outline-button,
  .admin-action-card .primary-button,
  .admin-action-card .outline-button {
    width: 100%;
    justify-content: center;
  }
}

/* 2026-07-16 stricter mobile overflow guard */
@media (max-width: 620px) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .app-shell,
  .topbar,
  main,
  section,
  article,
  .customer-screen,
  .admin-screen,
  .hero,
  .hero-copy,
  .hero-card,
  .admin-landing,
  .admin-action-card,
  .owner-card,
  .content-grid,
  .filter-board,
  .results-panel,
  .reservation-guide-section {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .topbar,
  .hero,
  .admin-landing,
  .content-grid,
  .reservation-guide-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero h1,
  .admin-landing h1 {
    font-size: clamp(27px, 8.6vw, 34px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.025em !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .hero p,
  .admin-landing p,
  .section-heading p,
  .policy-box span {
    font-size: 14px !important;
    line-height: 1.75 !important;
    overflow-wrap: anywhere !important;
  }

  .hero-actions,
  .admin-action-card .hero-actions,
  .salon-info-actions,
  .sales-actions,
  .workday-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .primary-button,
  .outline-button,
  .text-button {
    max-width: 100% !important;
    white-space: normal !important;
  }

  .owner-tabs,
  .reservation-management-tabs,
  .sales-mode-tabs,
  .reservation-quick-filters,
  .filter-chips {
    max-width: calc(100vw - 28px) !important;
    overflow-x: auto !important;
  }
}

/* 2026-07-16 emergency mobile no-overflow override */
@media (max-width: 620px) {
  .hero,
  .quick-strip,
  .content-grid,
  .admin-landing,
  .reservation-guide-section,
  .kouka-menu-section,
  .concept-section,
  .products-section,
  .salon-info-section,
  .style-gallery-section,
  .results-panel,
  .filter-board {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-copy,
  .search-panel,
  .section-heading,
  .enzyme-value-copy,
  .menu-heading,
  .admin-landing > div,
  .admin-action-card,
  .work-preview-cards,
  .owner-global-search,
  .owner-head,
  .workday-header,
  .policy-box,
  .listing-section-grid,
  .sales-card,
  .feature-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero h1,
  .admin-landing h1,
  .section-heading h2,
  .enzyme-value-copy h3,
  .menu-heading h2 {
    white-space: normal !important;
    word-break: auto-phrase !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .hero p,
  .admin-landing p,
  .section-heading p,
  .enzyme-value-copy p,
  .menu-lead,
  .policy-box span,
  .feature-card span,
  .work-preview-cards em {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }

  .quick-strip,
  .owner-tabs,
  .reservation-management-tabs,
  .sales-mode-tabs,
  .reservation-quick-filters,
  .filter-chips {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 16px !important;
  }
}

/* 2026-07-16 force one-column mobile layout */
@media (max-width: 620px) {
  .hero,
  .admin-landing,
  .content-grid,
  .concept-grid,
  .products-grid,
  .style-gallery-grid,
  .salon-info-grid,
  .menu-category-grid,
  .enzyme-color-value,
  .reservation-shell,
  .results-layout,
  .owner-head,
  .workday-header,
  .owner-metrics,
  .work-command-board,
  .action-digest,
  .listing-section-grid,
  .notification-status-grid,
  .sales-grid,
  .feature-grid,
  .reserve-shop-card,
  .reserve-flow-intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .hero > *,
  .admin-landing > *,
  .content-grid > *,
  .concept-grid > *,
  .products-grid > *,
  .salon-info-grid > *,
  .menu-category-grid > *,
  .enzyme-color-value > *,
  .reservation-shell > *,
  .results-layout > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .hero-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-copy {
    padding-right: 0 !important;
  }

  .topbar {
    grid-template-columns: 1fr !important;
  }

  .nav-links,
  .admin-nav,
  .customer-nav {
    display: flex !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }
}

/* 2026-07-23 smartphone final polish: prevent narrow-screen clipping */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 620px) {
  body,
  .app-shell,
  main,
  .main-content,
  .homepage-section,
  .first-guide-section,
  .concept-section,
  .kouka-menu-section,
  .products-section,
  .reservation-guide-section,
  .customer-booking-entry,
  .salon-list,
  .salon-card,
  .menu-category-card,
  .product-card,
  .web-reserve-card,
  .first-guide-card,
  .concept-card,
  .enzyme-course-tabs,
  .enzyme-tab-panel,
  .enzyme-aftercare-note {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .hero,
  .quick-strip,
  .content-grid,
  .kouka-menu-section,
  .products-section,
  .reservation-guide-section {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-copy,
  .hero p,
  .hero h1,
  .search-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero p,
  .salon-description,
  .menu-category-note,
  .enzyme-value-copy p,
  .enzyme-tab-panel p,
  .enzyme-aftercare-note p,
  .web-reserve-card p,
  .product-card p {
    word-break: normal !important;
    line-break: strict;
    overflow-wrap: anywhere !important;
  }

  .enzyme-aftercare-note {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px 16px !important;
  }

  .enzyme-aftercare-note h3 {
    font-size: 21px !important;
    line-height: 1.55 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .enzyme-aftercare-note ul {
    width: 100% !important;
    min-width: 0 !important;
  }

  .enzyme-aftercare-note li {
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    white-space: normal !important;
  }

  .enzyme-tab-buttons,
  .quick-strip,
  .filter-chips,
  .reservation-quick-filters,
  .owner-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .enzyme-tab-buttons::-webkit-scrollbar,
  .quick-strip::-webkit-scrollbar,
  .filter-chips::-webkit-scrollbar,
  .reservation-quick-filters::-webkit-scrollbar,
  .owner-tabs::-webkit-scrollbar {
    display: none;
  }

  .enzyme-tab-button,
  .chip,
  .quick-filter,
  .owner-tabs button {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

/* 2026-07-23 final mobile section-heading/homecare fix */
@media (max-width: 620px) {
  .section-heading,
  .products-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .section-heading > *,
  .products-heading > *,
  .products-heading > div,
  .products-heading p,
  .products-heading h2,
  .homecare-message-card,
  .homecare-message-card p,
  .product-card-grid,
  .product-card,
  .product-card span,
  .product-consult-card,
  .product-consult-card span {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .products-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .products-heading h2 {
    font-size: clamp(23px, 7.2vw, 30px) !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .products-lead,
  .homecare-message-card p,
  .product-card span,
  .product-consult-card span {
    font-size: 14px !important;
    line-height: 1.85 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .homecare-message-card {
    padding: 18px 16px !important;
  }
}

/* 2026-07-23 typography direction: uka-like readability + quiet luxury */
:root {
  --homepage-font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
}

body {
  font-family: var(--homepage-font-family) !important;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.025em;
}

.brand,
.nav-link,
.text-button,
.outline-button,
.primary-button,
.hero-link-button,
.owner-tab,
.chip,
.eyebrow,
.salon-art-badge,
.tag,
.benefit {
  font-family: var(--homepage-font-family) !important;
}

.hero h1,
.concept-card h2,
.section-heading h2,
.menu-heading h2,
.enzyme-value-copy h3,
.enzyme-aftercare-note h3,
.menu-category-card h3,
.product-card strong,
.web-reserve-card strong {
  font-family: var(--homepage-font-family) !important;
  font-weight: 500 !important;
  letter-spacing: 0.045em !important;
  line-height: 1.38;
}

.hero p,
.concept-card p:not(.eyebrow),
.products-heading p,
.homecare-message-card p,
.menu-lead,
.menu-category-note,
.enzyme-value-copy p,
.enzyme-tab-panel p,
.enzyme-aftercare-note p,
.product-card span,
.web-reserve-card p,
.salon-description {
  font-family: var(--homepage-font-family) !important;
  font-weight: 400 !important;
  letter-spacing: 0.035em;
  line-height: 2;
}

.eyebrow {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 70px);
}

.hero p {
  max-width: 680px;
  font-size: 16px;
}

.concept-section,
.products-section,
.kouka-menu-section,
.reservation-guide-section,
.first-guide-section {
  padding-top: clamp(46px, 7vw, 86px);
}

.concept-card,
.homecare-message-card,
.menu-category-card,
.product-card,
.web-reserve-card,
.enzyme-aftercare-note {
  border-radius: 18px;
}

@media (max-width: 620px) {
  body {
    letter-spacing: 0.01em;
  }

  .hero h1,
  .concept-card h2,
  .section-heading h2,
  .menu-heading h2,
  .enzyme-value-copy h3,
  .enzyme-aftercare-note h3 {
    letter-spacing: 0.02em !important;
    line-height: 1.5 !important;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  .hero p,
  .concept-card p:not(.eyebrow),
  .products-heading p,
  .homecare-message-card p,
  .menu-lead,
  .menu-category-note,
  .enzyme-value-copy p,
  .enzyme-tab-panel p,
  .enzyme-aftercare-note p,
  .product-card span,
  .web-reserve-card p,
  .salon-description {
    font-size: 14px !important;
    letter-spacing: 0.015em !important;
    line-height: 1.9 !important;
  }

  .eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.18em !important;
  }
}

/* 2026-07-23 airy salon mood + technical trust section */
.style-gallery-section,
.photo-break-section,
.salon-space-section {
  background: linear-gradient(180deg, #fffdf8 0%, #f8f2e8 100%);
}

.style-gallery-section {
  padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 72px) clamp(36px, 5vw, 64px);
}

.style-gallery-grid,
.photo-break-section,
.salon-space-grid {
  gap: clamp(18px, 3vw, 34px) !important;
}

.style-photo-card,
.photo-break-card,
.salon-space-photo {
  border-radius: 26px !important;
  box-shadow: 0 18px 46px rgba(26, 31, 33, 0.08) !important;
  filter: saturate(0.94) contrast(0.98);
}

.photo-break-card::before,
.style-photo-card::before,
.salon-space-photo::before {
  background: linear-gradient(180deg, rgba(7, 16, 22, 0.03), rgba(7, 16, 22, 0.35)) !important;
}

.style-photo-copy,
.photo-break-card strong,
.salon-space-photo strong {
  letter-spacing: 0.035em;
}

.technical-care-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.technical-care-strip article {
  display: grid;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid rgba(210, 170, 86, 0.28);
  border-radius: 18px;
  background: rgba(255, 250, 235, 0.08);
  backdrop-filter: blur(5px);
}

.technical-care-strip span {
  color: #e7c987;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.technical-care-strip strong {
  color: #fff7e6;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.technical-care-strip small {
  color: rgba(255, 247, 230, 0.78);
  line-height: 1.75;
}

.menu-category-card {
  box-shadow: 0 12px 34px rgba(43, 35, 26, 0.06) !important;
}

.menu-list li {
  align-items: baseline;
  border-bottom: 1px solid rgba(222, 210, 189, 0.5);
}

.menu-list li:last-child {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .technical-care-strip {
    grid-template-columns: 1fr;
  }

  .style-gallery-section,
  .photo-break-section,
  .salon-space-section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .style-photo-card,
  .photo-break-card,
  .salon-space-photo {
    border-radius: 22px !important;
  }
}

/* 2026-07-23 closer uka typography: Zen Kaku Gothic New + Instrument Sans */
:root {
  --homepage-font-family: "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --homepage-latin-font: "Instrument Sans", "Zen Kaku Gothic New", Arial, sans-serif;
}

body {
  font-family: var(--homepage-font-family) !important;
  color: #333333;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.025em;
}

.eyebrow,
.hero-link-button,
.nav-link,
.text-button,
.outline-button,
.primary-button,
.chip,
.owner-tab,
.salon-art-badge,
.photo-break-card span,
.style-photo-card span,
.enzyme-value-points span,
.technical-care-strip span,
.menu-category-card h3 span {
  font-family: var(--homepage-latin-font) !important;
}

.hero h1,
.concept-card h2,
.section-heading h2,
.menu-heading h2,
.enzyme-value-copy h3,
.enzyme-aftercare-note h3,
.salon-space-copy h2,
.salon-info-heading h2 {
  font-family: var(--homepage-font-family) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.12em !important;
}

.hero p,
.concept-card p:not(.eyebrow),
.products-heading p,
.homecare-message-card p,
.menu-lead,
.menu-category-note,
.enzyme-value-copy p,
.enzyme-tab-panel p,
.enzyme-aftercare-note p,
.product-card span,
.product-consult-card span,
.web-reserve-card p,
.salon-description,
.salon-space-copy p,
.salon-info-note,
.route-list p {
  font-family: var(--homepage-font-family) !important;
  font-weight: 400 !important;
  line-height: 2.15 !important;
  letter-spacing: 0.045em !important;
}

.eyebrow {
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
}

.section-heading h2,
.concept-card h2,
.salon-space-copy h2 {
  color: #333333;
}

.menu-category-card h3 small,
.product-card strong,
.web-reserve-card strong,
.technical-care-strip strong,
.enzyme-value-points strong {
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}

@media (max-width: 620px) {
  .hero h1,
  .concept-card h2,
  .section-heading h2,
  .menu-heading h2,
  .enzyme-value-copy h3,
  .enzyme-aftercare-note h3,
  .salon-space-copy h2,
  .salon-info-heading h2 {
    font-weight: 400 !important;
    letter-spacing: 0.075em !important;
    line-height: 1.55 !important;
  }

  .hero p,
  .concept-card p:not(.eyebrow),
  .products-heading p,
  .homecare-message-card p,
  .menu-lead,
  .menu-category-note,
  .enzyme-value-copy p,
  .enzyme-tab-panel p,
  .enzyme-aftercare-note p,
  .product-card span,
  .product-consult-card span,
  .web-reserve-card p,
  .salon-description,
  .salon-space-copy p,
  .salon-info-note,
  .route-list p {
    line-height: 2.05 !important;
    letter-spacing: 0.025em !important;
  }
}

/* 2026-07-23 color direction: warm brown instead of heavy navy */
:root {
  --luxury-deep: #5a4031;
  --luxury-deeper: #2f211a;
  --luxury-teal: #7a5b46;
  --luxury-gold: #b8955f;
  --luxury-cream: #fff8ee;
  --ink: #332b26;
  --muted: #776b62;
  --accent: #a77b50;
  --accent-dark: #735137;
}

.hero {
  background:
    radial-gradient(circle at 72% 14%, rgba(210, 176, 120, 0.2), transparent 18%),
    radial-gradient(circle at 18% 20%, rgba(255, 242, 214, 0.15), transparent 16%),
    linear-gradient(118deg, rgba(47, 33, 26, 0.98), rgba(89, 64, 49, 0.94) 48%, rgba(126, 94, 70, 0.9) 74%, rgba(48, 34, 27, 0.96)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 8px) !important;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(37, 24, 18, 0.5), rgba(54, 38, 30, 0.12) 54%, rgba(37, 24, 18, 0.22)),
    radial-gradient(ellipse at 74% 40%, rgba(211, 176, 118, 0.08), transparent 34%) !important;
}

.hero::before {
  background:
    radial-gradient(ellipse 7px 5.5px at 44% 54%, rgba(218, 181, 122, 0.48) 0 48%, rgba(218, 181, 122, 0.22) 56%, transparent 66%) 14px 22px / 104px 88px,
    radial-gradient(ellipse 5.5px 8px at 58% 44%, rgba(255, 230, 180, 0.34) 0 46%, rgba(255, 230, 180, 0.16) 58%, transparent 68%) 62px 50px / 148px 118px,
    radial-gradient(ellipse 9px 6.5px at 42% 58%, rgba(154, 104, 66, 0.28) 0 44%, rgba(154, 104, 66, 0.12) 57%, transparent 69%) 28px 102px / 182px 148px,
    linear-gradient(90deg, rgba(255,255,255,0.018), transparent 24%, rgba(255,255,255,0.012) 50%, transparent 76%) !important;
  opacity: 0.52 !important;
}

.brand-mark {
  background: linear-gradient(145deg, #3a281f, #7a5b46) !important;
}

.enzyme-color-value {
  background:
    radial-gradient(circle at 88% 12%, rgba(210, 176, 120, 0.18), transparent 24%),
    linear-gradient(135deg, #33241c, #674934 58%, #3c2a21) !important;
  box-shadow: 0 22px 60px rgba(55, 38, 29, 0.16) !important;
}

.primary-button,
.text-button.active {
  background: linear-gradient(135deg, #b28a5c, #7c5838) !important;
  border-color: rgba(255, 238, 210, 0.38) !important;
  box-shadow: 0 12px 30px rgba(124, 88, 56, 0.16) !important;
}

.primary-button:hover {
  background: linear-gradient(135deg, #be986b, #6f4d31) !important;
}

.chip.active,
.benefit,
.tag,
.first-guide-card span {
  color: #765434 !important;
  background: #f5eadb !important;
}

/* 2026-07-23 remove polka dots: cleaner uka-like background */
.hero::before,
.enzyme-color-value::before {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

.hero {
  background:
    radial-gradient(circle at 76% 10%, rgba(218, 190, 150, 0.16), transparent 24%),
    linear-gradient(118deg, rgba(47, 33, 26, 0.98), rgba(88, 64, 50, 0.94) 52%, rgba(126, 94, 70, 0.88) 100%) !important;
}

.enzyme-color-value {
  background:
    radial-gradient(circle at 88% 12%, rgba(218, 190, 150, 0.14), transparent 28%),
    linear-gradient(135deg, #33241c, #674934 58%, #3c2a21) !important;
}

/* 2026-07-23 readability-first polish */
:root {
  --readable-ink: #302923;
  --readable-muted: #6f655d;
  --readable-paper: #fffdf8;
  --readable-soft: #f7f0e8;
  --readable-brown: #74533b;
  --readable-brown-dark: #4a3327;
}

body {
  color: var(--readable-ink) !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f0e8 100%) !important;
}

.hero {
  min-height: auto !important;
  padding-top: clamp(46px, 7vw, 86px) !important;
  padding-bottom: clamp(42px, 6vw, 76px) !important;
  background:
    linear-gradient(118deg, rgba(74, 51, 39, 0.96), rgba(116, 83, 59, 0.9) 56%, rgba(151, 119, 88, 0.82) 100%) !important;
}

.hero::after {
  background: linear-gradient(90deg, rgba(44, 30, 23, 0.34), rgba(44, 30, 23, 0.08) 58%, rgba(44, 30, 23, 0.1)) !important;
}

.hero h1 {
  max-width: 720px !important;
  margin-bottom: 16px !important;
  color: #fffaf2 !important;
  text-wrap: balance;
}

.hero p {
  max-width: 680px !important;
  color: rgba(255, 250, 242, 0.94) !important;
}

.hero-actions {
  margin-top: 22px !important;
}

.primary-button,
.hero-link-button.primary-button {
  min-height: 48px !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}

.concept-section,
.products-section,
.style-gallery-section,
.salon-space-section,
.salon-info-section,
.kouka-menu-section,
.reservation-guide-section {
  padding-left: clamp(20px, 5vw, 72px) !important;
  padding-right: clamp(20px, 5vw, 72px) !important;
}

.concept-card,
.homecare-message-card,
.product-card,
.product-consult-card,
.menu-category-card,
.enzyme-aftercare-note,
.salon-basic-card,
.salon-route-card,
.web-reserve-card,
.first-guide-card {
  background: rgba(255, 253, 248, 0.94) !important;
  border-color: rgba(168, 132, 93, 0.24) !important;
  box-shadow: 0 12px 34px rgba(55, 38, 29, 0.055) !important;
}

.section-heading,
.products-heading,
.menu-heading,
.salon-info-heading,
.style-gallery-heading {
  margin-bottom: 22px !important;
}

.section-heading h2,
.concept-card h2,
.menu-heading h2,
.salon-space-copy h2,
.salon-info-heading h2 {
  color: var(--readable-ink) !important;
}

.section-heading p,
.products-heading p,
.menu-lead,
.concept-card p:not(.eyebrow),
.homecare-message-card p,
.menu-category-note,
.product-card span,
.product-consult-card span,
.salon-info-note,
.route-list p,
.enzyme-aftercare-note p {
  color: var(--readable-muted) !important;
}

.menu-list li {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding: 12px 0 !important;
}

.menu-list span {
  min-width: 0 !important;
  line-height: 1.75 !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

.menu-list strong {
  color: var(--readable-brown-dark) !important;
  white-space: nowrap !important;
}

.enzyme-color-value {
  padding: clamp(24px, 4vw, 40px) !important;
  background:
    linear-gradient(135deg, #4a3327, #74533b 58%, #5f432f) !important;
}

.technical-care-strip article,
.enzyme-value-points article {
  background: rgba(255, 250, 235, 0.1) !important;
}

@media (max-width: 620px) {
  .hero {
    padding: 38px 18px 34px !important;
  }

  .hero h1 {
    margin-bottom: 12px !important;
    font-size: clamp(27px, 7.6vw, 32px) !important;
    letter-spacing: 0.055em !important;
  }

  .hero p {
    font-size: 14px !important;
    line-height: 1.95 !important;
  }

  .concept-section,
  .products-section,
  .style-gallery-section,
  .photo-break-section,
  .salon-space-section,
  .salon-info-section,
  .kouka-menu-section,
  .reservation-guide-section,
  .first-guide-section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .concept-card,
  .homecare-message-card,
  .product-card,
  .product-consult-card,
  .menu-category-card,
  .enzyme-aftercare-note,
  .salon-basic-card,
  .salon-route-card,
  .web-reserve-card,
  .first-guide-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .section-heading,
  .products-heading,
  .menu-heading,
  .salon-info-heading,
  .style-gallery-heading {
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  .section-heading h2,
  .concept-card h2,
  .menu-heading h2,
  .salon-space-copy h2,
  .salon-info-heading h2 {
    font-size: clamp(23px, 6.6vw, 29px) !important;
    letter-spacing: 0.05em !important;
  }

  .menu-list li {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
  }

  .menu-list strong {
    justify-self: start !important;
  }

  .primary-button,
  .outline-button,
  .hero-link-button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* 2026-08-12: koga様指定写真を色調整して、トップ「年齢とともに」系の背景へ反映 */
.hero {
  background:
    linear-gradient(105deg, rgba(24, 18, 15, 0.76), rgba(72, 48, 38, 0.34) 48%, rgba(246, 222, 198, 0.12)),
    url("./assets/site-photos/kouka-hero-age-care-20260812.jpg");
  background-size: cover;
  background-position: center 46%;
}

.hero::before {
  background:
    radial-gradient(circle at 74% 18%, rgba(219, 181, 104, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255,255,255,0.035), transparent 30%, rgba(255,255,255,0.02) 64%, transparent 100%);
  opacity: 0.62;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.54), rgba(7, 5, 4, 0.16) 55%, rgba(7, 5, 4, 0.28)),
    radial-gradient(ellipse at 75% 36%, rgba(210, 170, 86, 0.08), transparent 36%);
}

@media (max-width: 760px) {
  .hero {
    background-position: center top;
  }
}

/* 2026-08-12: 全体を無機質から、温かみ＋見やすさ重視へ再調整 */
:root {
  --warm-ink: #342b25;
  --warm-muted: #74685f;
  --warm-paper: #fffaf3;
  --warm-paper-2: #f8efe5;
  --warm-card: rgba(255, 252, 246, 0.96);
  --warm-line: rgba(170, 132, 96, 0.22);
  --warm-brown: #8b6242;
  --warm-brown-dark: #5a3c2c;
  --warm-pink: #b77478;
  --warm-shadow: 0 16px 42px rgba(80, 52, 36, 0.075);
}

body {
  color: var(--warm-ink) !important;
  background:
    radial-gradient(circle at 8% 2%, rgba(220, 188, 146, 0.22), transparent 28%),
    linear-gradient(180deg, #fffbf6 0%, #fbf3eb 44%, #fffaf4 100%) !important;
}

.topbar {
  background: rgba(255, 250, 244, 0.9) !important;
  border-bottom-color: rgba(164, 124, 89, 0.16) !important;
  box-shadow: 0 8px 24px rgba(80, 52, 36, 0.035) !important;
}

.brand {
  color: var(--warm-ink) !important;
  letter-spacing: 0.08em !important;
}

.brand-mark {
  background: linear-gradient(145deg, #5f3f2e, #a87954) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(93, 61, 42, 0.16) !important;
}

.nav-link,
.text-button,
.outline-button {
  color: #5f493a !important;
  background: rgba(255, 252, 247, 0.72) !important;
  border-color: rgba(160, 123, 88, 0.22) !important;
}

.nav-reserve,
.primary-button,
.hero-link-button.primary-button,
.text-button.active {
  color: #fffaf4 !important;
  background: linear-gradient(135deg, #ad8059, #79513a) !important;
  border-color: rgba(255, 239, 219, 0.42) !important;
  box-shadow: 0 12px 28px rgba(121, 81, 58, 0.18) !important;
}

.primary-button:hover,
.nav-reserve:hover {
  background: linear-gradient(135deg, #bc9067, #69452f) !important;
}

.hero {
  min-height: clamp(560px, 72vh, 720px) !important;
  padding-top: clamp(54px, 7vw, 96px) !important;
  padding-bottom: clamp(46px, 6vw, 84px) !important;
  background:
    linear-gradient(100deg, rgba(48, 32, 24, 0.74), rgba(78, 53, 40, 0.36) 46%, rgba(255, 235, 214, 0.16) 100%),
    radial-gradient(circle at 76% 18%, rgba(236, 204, 156, 0.16), transparent 24%),
    url("./assets/site-photos/kouka-hero-age-care-20260812.jpg") !important;
  background-size: cover !important;
  background-position: center 47% !important;
}

.hero::before {
  display: block !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(255, 246, 232, 0.06), transparent 32%, rgba(255, 246, 232, 0.035) 68%, transparent 100%),
    radial-gradient(ellipse at 16% 82%, rgba(242, 214, 174, 0.14), transparent 34%) !important;
  opacity: 1 !important;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(32, 21, 16, 0.48), rgba(32, 21, 16, 0.10) 58%, rgba(32, 21, 16, 0.18)),
    linear-gradient(180deg, rgba(0,0,0,0.08), transparent 38%, rgba(45, 29, 22, 0.16)) !important;
}

.hero-copy {
  max-width: 760px !important;
  text-shadow: 0 3px 24px rgba(39, 25, 18, 0.30) !important;
}

.hero h1 {
  color: #fffaf3 !important;
  font-weight: 500 !important;
  letter-spacing: 0.065em !important;
  line-height: 1.38 !important;
}

.hero p {
  color: rgba(255, 250, 243, 0.94) !important;
  font-size: clamp(15px, 1.35vw, 17px) !important;
  line-height: 1.95 !important;
  letter-spacing: 0.035em !important;
}

.hero .eyebrow {
  color: #efd4a3 !important;
  font-weight: 600 !important;
}

.hero-highlights span {
  color: #fff9ed !important;
  background: rgba(255, 248, 238, 0.15) !important;
  border-color: rgba(245, 219, 184, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12) !important;
}

.search-panel {
  color: var(--warm-ink) !important;
  background: rgba(255, 250, 242, 0.94) !important;
  border-color: rgba(172, 126, 83, 0.24) !important;
  box-shadow: 0 22px 54px rgba(70, 45, 31, 0.16) !important;
}

.search-panel input,
.search-panel select,
.booking-dialog input,
.booking-dialog select,
.booking-dialog textarea {
  background: #fffdf8 !important;
  border-color: rgba(165, 124, 88, 0.28) !important;
  color: var(--warm-ink) !important;
}

.quick-strip {
  background: rgba(255, 250, 244, 0.78) !important;
  border-color: rgba(170, 132, 96, 0.18) !important;
}

.chip {
  background: #fffdf8 !important;
  border: 1px solid rgba(170, 132, 96, 0.18) !important;
  color: #745642 !important;
}

.chip.active,
.benefit,
.tag,
.first-guide-card span {
  color: #69452f !important;
  background: #f4e5d4 !important;
  border-color: rgba(167, 123, 80, 0.22) !important;
}

.concept-section,
.products-section,
.style-gallery-section,
.salon-space-section,
.salon-info-section,
.kouka-menu-section,
.reservation-guide-section,
.first-guide-section {
  background:
    radial-gradient(circle at 92% 4%, rgba(221, 190, 151, 0.15), transparent 26%),
    linear-gradient(180deg, var(--warm-paper), var(--warm-paper-2)) !important;
}

.products-section,
.salon-info-section,
.reservation-guide-section {
  background:
    radial-gradient(circle at 10% 6%, rgba(211, 170, 127, 0.12), transparent 24%),
    linear-gradient(180deg, #fffdf8, #f7eee5) !important;
}

.concept-card,
.homecare-message-card,
.product-card,
.product-consult-card,
.menu-category-card,
.enzyme-aftercare-note,
.salon-basic-card,
.salon-route-card,
.web-reserve-card,
.first-guide-card,
.page-tab-card,
.style-photo-card,
.photo-break-card,
.salon-space-photo {
  background-color: var(--warm-card) !important;
  border-color: var(--warm-line) !important;
  border-radius: 22px !important;
  box-shadow: var(--warm-shadow) !important;
}

.section-heading h2,
.concept-card h2,
.menu-heading h2,
.salon-space-copy h2,
.salon-info-heading h2,
.products-heading h2 {
  color: var(--warm-ink) !important;
  font-weight: 500 !important;
  letter-spacing: 0.055em !important;
  line-height: 1.55 !important;
}

.section-heading p,
.products-heading p,
.menu-lead,
.concept-card p:not(.eyebrow),
.homecare-message-card p,
.menu-category-note,
.product-card span,
.product-consult-card span,
.salon-info-note,
.route-list p,
.enzyme-aftercare-note p,
.salon-space-copy p {
  color: var(--warm-muted) !important;
  line-height: 1.95 !important;
  letter-spacing: 0.025em !important;
}

.eyebrow {
  color: #a5794e !important;
  font-weight: 600 !important;
}

.enzyme-color-value {
  color: #fff8ed !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 204, 150, 0.18), transparent 28%),
    linear-gradient(135deg, #5b3b2a, #936844 58%, #6f4a33) !important;
  border-color: rgba(230, 198, 154, 0.32) !important;
  box-shadow: 0 20px 50px rgba(91, 59, 42, 0.16) !important;
}

.menu-list li {
  border-bottom-color: rgba(170, 132, 96, 0.16) !important;
}

.menu-list strong {
  color: var(--warm-brown-dark) !important;
}

@media (max-width: 760px) {
  .hero {
    min-height: auto !important;
    padding: 44px 18px 38px !important;
    background-position: center top !important;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px) !important;
    letter-spacing: 0.045em !important;
    line-height: 1.45 !important;
  }

  .hero p {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .section-heading h2,
  .concept-card h2,
  .menu-heading h2,
  .salon-space-copy h2,
  .salon-info-heading h2,
  .products-heading h2 {
    letter-spacing: 0.035em !important;
    line-height: 1.55 !important;
  }
}

/* 2026-08-12: PC版ホームページも温かみ＋見やすさ重視へ調整 */
@media (min-width: 901px) {
  .app-shell {
    background:
      radial-gradient(circle at 0% 0%, rgba(218, 186, 145, 0.18), transparent 30%),
      linear-gradient(180deg, #fffaf4 0%, #f9f0e8 100%) !important;
  }

  .topbar {
    min-height: 76px !important;
    padding-left: clamp(48px, 6vw, 92px) !important;
    padding-right: clamp(48px, 6vw, 92px) !important;
  }

  .brand {
    gap: 14px !important;
    font-size: 18px !important;
  }

  .customer-nav {
    gap: 10px !important;
  }

  .nav-link {
    min-height: 40px !important;
    padding: 9px 13px !important;
    border-radius: 999px !important;
    text-decoration: none !important;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px) !important;
    gap: clamp(34px, 5vw, 76px) !important;
    padding-left: clamp(56px, 7vw, 108px) !important;
    padding-right: clamp(56px, 7vw, 108px) !important;
    border-bottom-left-radius: 34px !important;
    border-bottom-right-radius: 34px !important;
  }

  .hero-copy {
    padding: 14px 0 18px !important;
  }

  .hero h1 {
    max-width: 700px !important;
    font-size: clamp(48px, 5.2vw, 72px) !important;
  }

  .hero-actions {
    gap: 13px !important;
  }

  .hero-link-button {
    min-width: 148px !important;
  }

  .search-panel {
    align-self: center !important;
    padding: 28px !important;
    border-radius: 26px !important;
    backdrop-filter: blur(12px) !important;
  }

  .panel-intro strong {
    color: #4f3729 !important;
    font-size: 22px !important;
    letter-spacing: 0.04em !important;
  }

  .quick-strip {
    width: min(1120px, calc(100% - 96px)) !important;
    margin: 28px auto 0 !important;
    padding: 10px !important;
    border-radius: 999px !important;
    box-shadow: 0 12px 34px rgba(80, 52, 36, 0.055) !important;
  }

  .concept-section,
  .products-section,
  .style-gallery-section,
  .photo-break-section,
  .salon-space-section,
  .salon-info-section,
  .kouka-menu-section,
  .reservation-guide-section,
  .first-guide-section,
  .page-tab-section {
    padding-left: clamp(56px, 7vw, 108px) !important;
    padding-right: clamp(56px, 7vw, 108px) !important;
  }

  .concept-card,
  .homecare-message-card,
  .product-card,
  .product-consult-card,
  .menu-category-card,
  .enzyme-aftercare-note,
  .salon-basic-card,
  .salon-route-card,
  .web-reserve-card,
  .first-guide-card,
  .page-tab-card,
  .style-photo-card,
  .photo-break-card,
  .salon-space-photo {
    border-radius: 26px !important;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease !important;
  }

  .product-card:hover,
  .menu-category-card:hover,
  .page-tab-card:hover,
  .style-photo-card:hover,
  .web-reserve-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(170, 132, 96, 0.34) !important;
    box-shadow: 0 20px 48px rgba(80, 52, 36, 0.10) !important;
  }

  .section-heading,
  .products-heading,
  .menu-heading,
  .salon-info-heading,
  .style-gallery-heading {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .product-card-grid,
  .style-gallery-grid,
  .photo-break-section,
  .salon-space-grid,
  .salon-info-grid,
  .page-tab-section {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .concept-card {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(34px, 4vw, 54px) !important;
  }

  .homecare-message-card {
    max-width: 980px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 30px 34px !important;
  }

  .kouka-menu-section > .enzyme-color-value,
  .kouka-menu-section > .menu-category-grid,
  .kouka-menu-section > .enzyme-tabs,
  .kouka-menu-section > .enzyme-aftercare-note {
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 2026-08-12: 登録なしの簡単予約 訴求 */
.simple-reserve-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.simple-reserve-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  color: #6f4a33;
  background: #f5e7d7;
  border: 1px solid rgba(170, 132, 96, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero .simple-reserve-badges span {
  color: #fff9ef;
  background: rgba(255, 246, 232, 0.16);
  border-color: rgba(245, 219, 184, 0.34);
}

.original-ui-note {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  padding: 8px 13px !important;
  color: #714d35 !important;
  background: #f4e5d4 !important;
  border: 1px solid rgba(170, 132, 96, 0.22) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
}

@media (max-width: 620px) {
  .simple-reserve-badges {
    gap: 6px;
  }

  .simple-reserve-badges span {
    font-size: 11px;
    padding: 5px 9px;
  }
}

/* 2026-08-12: PC版トップ背景を少し引きに調整 */
@media (min-width: 901px) {
  .hero {
    background:
      linear-gradient(100deg, rgba(48, 32, 24, 0.78), rgba(78, 53, 40, 0.42) 46%, rgba(255, 235, 214, 0.18) 100%),
      radial-gradient(circle at 76% 18%, rgba(236, 204, 156, 0.16), transparent 24%),
      url("./assets/site-photos/kouka-hero-age-care-20260812.jpg") !important;
    background-size: auto, auto, min(82vw, 1320px) auto !important;
    background-repeat: no-repeat !important;
    background-position: center, center, right 46% center !important;
  }
}

/* 2026-08-12: 予約メニューをクリックしたら説明を表示 */
.reserve-menu-group label {
  cursor: pointer !important;
  border-radius: 14px !important;
  padding: 14px 12px !important;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease !important;
}

.reserve-menu-group label:hover {
  background: rgba(255, 250, 243, 0.82) !important;
  box-shadow: 0 10px 24px rgba(80, 52, 36, 0.055) !important;
}

.reserve-menu-group label:has(input:checked) {
  background: #fff8ef !important;
  border: 1px solid rgba(170, 132, 96, 0.28) !important;
  box-shadow: 0 12px 28px rgba(80, 52, 36, 0.07) !important;
}

.reserve-menu-group label input {
  margin-top: 4px !important;
  accent-color: #8b6242 !important;
}

.menu-choice-description {
  display: none;
  grid-column: 2;
  margin-top: 8px;
  padding: 11px 13px;
  color: #6f6258;
  background: #f8eee3;
  border: 1px solid rgba(170, 132, 96, 0.2);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.025em;
}

.reserve-menu-group label:has(input:checked) .menu-choice-description {
  display: block;
}

.reserve-menu-title p::after {
  content: " メニューを押すと説明が開きます。";
  color: #9a6f4f;
  font-weight: 600;
}

@media (max-width: 620px) {
  .reserve-menu-group label {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    padding: 13px 10px !important;
  }

  .menu-choice-description {
    grid-column: 1 / -1;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.75;
  }
}

/* 2026-08-12: お客様側 予約モーダル内メニュー選択 */
.customer-menu-choice-list {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(255, 252, 246, 0.96);
  border: 1px solid rgba(170, 132, 96, 0.22);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(80, 52, 36, 0.06);
}

.customer-menu-choice-list > strong {
  color: #4f3729;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.customer-menu-choice-list > span {
  color: #74685f;
  font-size: 13px;
  line-height: 1.7;
}

.customer-menu-choice-grid {
  display: grid;
  gap: 10px;
}

.customer-menu-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  width: 100%;
  padding: 14px 15px;
  color: #342b25;
  text-align: left;
  background: #fffaf3;
  border: 1px solid rgba(170, 132, 96, 0.2);
  border-radius: 16px;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.customer-menu-choice:hover,
.customer-menu-choice.selected {
  background: #f6e9da;
  border-color: rgba(139, 98, 66, 0.38);
  box-shadow: 0 12px 26px rgba(80, 52, 36, 0.08);
  transform: translateY(-1px);
}

.customer-menu-choice span {
  font-weight: 700;
  line-height: 1.55;
}

.customer-menu-choice em {
  color: #7b5238;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.customer-menu-choice small {
  display: none;
  grid-column: 1 / -1;
  color: #6f6258;
  font-size: 13px;
  line-height: 1.75;
}

.customer-menu-choice.selected small {
  display: block;
}

@media (max-width: 620px) {
  .customer-menu-choice {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-menu-choice em {
    white-space: normal;
  }
}

/* 2026-08-12: スマホでも確実に開くメニュー説明カード */
.reserve-menu-group label.is-open,
.reserve-menu-group label:has(input:checked) {
  background: #fff8ef !important;
  border: 1px solid rgba(170, 132, 96, 0.32) !important;
  box-shadow: 0 12px 28px rgba(80, 52, 36, 0.08) !important;
}

.reserve-menu-group label.is-open .menu-choice-description,
.reserve-menu-group label:has(input:checked) .menu-choice-description {
  display: block !important;
}

.reserve-menu-group label span::after {
  content: "詳しく見る";
  flex: 0 0 auto;
  align-self: center;
  margin-left: 8px;
  padding: 4px 8px;
  color: #7b5238;
  background: #f4e5d4;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.reserve-menu-group label.is-open span::after,
.reserve-menu-group label:has(input:checked) span::after {
  content: "説明を閉じる";
}

.customer-menu-choice.is-open small,
.customer-menu-choice.selected small {
  display: block !important;
}

@media (max-width: 620px) {
  .reserve-menu-group label span {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }

  .reserve-menu-group label span em {
    grid-column: 1;
  }

  .reserve-menu-group label span::after {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
}

/* 2026-08-12: メニュー税抜価格表記 */
.tax-note {
  display: inline-flex !important;
  width: fit-content !important;
  margin: 8px 0 4px !important;
  padding: 5px 10px !important;
  color: #7a543b !important;
  background: #f4e5d4 !important;
  border: 1px solid rgba(170, 132, 96, 0.22) !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
}

/* 2026-08-12: メニュー説明の入口を分かりやすく */
.customer-menu-choice b {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 5px 10px;
  color: #7b5238;
  background: #f4e5d4;
  border: 1px solid rgba(170, 132, 96, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.customer-menu-choice.selected b,
.customer-menu-choice.is-open b {
  color: #fffaf4;
  background: #8b6242;
}

.customer-menu-choice.selected b::before,
.customer-menu-choice.is-open b::before {
  content: "選択中・";
}

.customer-menu-choice.selected small,
.customer-menu-choice.is-open small {
  display: block !important;
  margin-top: 4px;
  padding: 10px 12px;
  background: rgba(255, 252, 246, 0.86);
  border-radius: 12px;
}

/* 2026-08-12: 予約画面を直接開くボタン */
.direct-booking-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-width: min(100%, 240px) !important;
  margin-top: 16px !important;
}

.reserve-flow-intro .direct-booking-button {
  width: 100% !important;
  max-width: 320px !important;
}

@media (max-width: 620px) {
  .direct-booking-button,
  .reserve-flow-intro .direct-booking-button {
    width: 100% !important;
    max-width: none !important;
  }
}

/* 2026-08-12: サロン管理側 確定予約追加後の反映 */
.reservation-add-complete,
.primary-button.reservation-add-complete,
button.reservation-add-complete:disabled {
  color: #8a8178 !important;
  background: #e5ded7 !important;
  border: 1px solid rgba(128, 111, 96, 0.24) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 0.72 !important;
  transform: none !important;
}

/* 2026-08-15: Customer booking staff availability - original next-week board */
.staff-week-board {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(86, 69, 51, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf9 0%, #fff8f1 100%);
  overflow: hidden;
}

.staff-week-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.staff-week-head div {
  display: grid;
  gap: 3px;
}

.staff-week-head strong {
  color: var(--ink);
  font-size: 16px;
}

.staff-week-head em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(181, 122, 91, 0.12);
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  padding: 6px 10px;
}

.staff-week-scroll {
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}

.staff-week-grid {
  display: grid;
  grid-template-columns: 92px repeat(var(--staff-week-days), minmax(104px, 1fr));
  min-width: min(850px, calc(92px + var(--staff-week-days) * 108px));
  border: 1px solid rgba(86, 69, 51, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.staff-week-corner,
.staff-week-day,
.staff-week-member,
.staff-week-cell {
  border-right: 1px solid rgba(86, 69, 51, 0.09);
  border-bottom: 1px solid rgba(86, 69, 51, 0.09);
}

.staff-week-corner,
.staff-week-day {
  background: #f8efe7;
  color: var(--ink);
  min-height: 78px;
  padding: 9px 8px;
}

.staff-week-corner {
  display: grid;
  align-content: center;
  gap: 2px;
  font-weight: 900;
}

.staff-week-corner small {
  color: var(--muted);
  font-size: 11px;
}

.staff-week-day {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "month badge"
    "date weekday";
  align-items: center;
  column-gap: 6px;
  row-gap: 1px;
  text-align: left;
}

.staff-week-day small {
  grid-area: month;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.staff-week-day strong {
  grid-area: date;
  color: var(--ink);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.staff-week-day b {
  grid-area: weekday;
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 950;
}

.staff-week-day em {
  grid-area: badge;
  justify-self: end;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  padding: 3px 7px;
}

.staff-week-day.saturday {
  background: #eef5ff;
}

.staff-week-day.saturday b {
  color: #3e6fa8;
}

.staff-week-day.sunday {
  background: #fff0ed;
}

.staff-week-day.sunday b {
  color: #bd5d4f;
}

.staff-week-member {
  background: #fffaf6;
  min-height: 88px;
  padding: 8px;
}

.staff-week-member.selected {
  background: #fff3e9;
}

.staff-week-member button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: left;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.staff-week-member strong {
  font-size: 15px;
  color: var(--ink);
}

.staff-week-member span {
  font-size: 11px;
  color: var(--muted);
}

.staff-week-cell {
  min-height: 88px;
  padding: 7px;
  display: grid;
  align-content: start;
  gap: 5px;
  background: #fff;
}

.staff-week-cell.saturday {
  background: #fbfdff;
}

.staff-week-cell.sunday {
  background: #fffafa;
}

.staff-week-slot {
  width: 100%;
  min-width: 0;
  padding: 7px 6px;
  border-radius: 11px;
  text-align: center;
}

.staff-week-slot span {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.staff-week-none {
  display: grid;
  place-items: center;
  min-height: 34px;
  color: rgba(86, 69, 51, 0.35);
  font-weight: 800;
}

.staff-week-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.staff-week-empty {
  display: grid;
  gap: 4px;
  padding: 10px;
}

@media (max-width: 520px) {
  .staff-week-board {
    margin-left: -2px;
    margin-right: -2px;
    padding: 10px;
  }

  .staff-week-head {
    display: grid;
  }

  .staff-week-grid {
    grid-template-columns: 82px repeat(var(--staff-week-days), 98px);
  }

  .staff-week-day strong {
    font-size: 30px;
  }
}
.map-placeholder {
  min-height: 260px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8f1 0%, #f4eadf 100%);
  border: 1px solid rgba(86, 69, 51, 0.12);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  color: var(--ink);
  padding: 24px;
}

.map-placeholder strong {
  font-size: 22px;
}

.map-placeholder span {
  font-weight: 800;
}

.map-placeholder small {
  color: var(--muted);
  font-size: 13px;
}
/* 2026-08-15: Customer booking menu category sections */
.customer-menu-grouped-list {
  display: grid;
  gap: 14px;
}

.customer-menu-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(86, 69, 51, 0.1);
  border-radius: 18px;
  background: #fffdf9;
}

.customer-menu-section:first-child {
  border-color: rgba(181, 122, 91, 0.28);
  background: linear-gradient(180deg, #fff8f1 0%, #fffdf9 100%);
}

.customer-menu-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.customer-menu-section-head > span {
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  border-radius: 999px;
  background: rgba(181, 122, 91, 0.12);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  padding: 7px 9px;
}

.customer-menu-section-head div {
  display: grid;
  gap: 2px;
}

.customer-menu-section-head strong {
  color: var(--ink);
  font-size: 15px;
}

.customer-menu-section-head small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .customer-menu-section {
    padding: 10px;
  }

  .customer-menu-section-head {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .customer-menu-section-head > span {
    justify-self: start;
  }
}
.staff-week-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}

.staff-week-actions em {
  flex: 0 0 auto;
}

.staff-week-nav {
  border: 1px solid rgba(181, 122, 91, 0.22);
  background: #fff;
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.staff-week-nav.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.staff-week-nav:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  background: #f4f0eb;
  color: var(--muted);
}

@media (max-width: 520px) {
  .staff-week-actions {
    justify-content: flex-start;
  }
}

.manual-reservation-total-box {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(132, 94, 67, 0.24);
  border-radius: 14px;
  background: #fff8f2;
  color: #4a3427;
}
.manual-reservation-total-box strong { font-size: 1rem; }
.manual-reservation-total-box span { font-weight: 700; }
.manual-reservation-total-box small { color: #806757; }

.manual-extra-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(132, 94, 67, 0.18);
  border-radius: 14px;
  background: rgba(255, 248, 242, 0.58);
}
.manual-extra-list-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.manual-extra-rows { display:grid; gap:10px; }
.manual-extra-row { display:grid; grid-template-columns: minmax(180px, 1.2fr) minmax(110px, .7fr) minmax(180px, 1fr) auto; gap:10px; align-items:end; padding:10px; border:1px solid rgba(132,94,67,.14); border-radius:12px; background:#fff; }
.manual-extra-row .text-button { margin-bottom: 4px; }
@media (max-width: 760px) { .manual-extra-row { grid-template-columns: 1fr; } }

.staff-flow-manual-controls {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}
.staff-flow-manual-controls label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #7a6251;
}
.staff-flow-manual-controls input,
.staff-flow-manual-controls select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(132,94,67,.22);
  border-radius: 8px;
  padding: 5px 6px;
  font-size: 11px;
  background: #fffdfa;
}
.staff-flow-slot.manual-closed {
  background: #fff0ed;
}

.manual-reservation-live-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 119, 74, 0.24);
  border-radius: 14px;
  background: #f4fbf2;
  color: #31462c;
  font-weight: 800;
}
.manual-reservation-live-total span { font-size: .9rem; font-weight: 700; color: #5d7357; }
@media (max-width: 760px) { .manual-reservation-live-total { align-items: flex-start; flex-direction: column; } }

.shift-bulk-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(128, 82, 48, 0.16);
  border-radius: 18px;
  background: #fffaf5;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(80, 55, 35, 0.06);
}

.shift-bulk-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  color: #4d3f36;
}

.shift-bulk-title strong { font-size: 1.08rem; }
.shift-bulk-title span { color: #7a675a; font-size: 0.9rem; }

.shift-bulk-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(300px, 2fr) minmax(160px, 0.9fr);
  gap: 14px;
}

.shift-bulk-section {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid rgba(128, 82, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  color: #5f5046;
  font-size: 0.88rem;
}

.shift-bulk-section.wide { min-width: 0; }
.shift-bulk-section strong { color: #4d3f36; }
.shift-bulk-section small { color: #8f7b6c; font-weight: 500; }

.shift-bulk-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shift-bulk-inline select {
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 10px;
  background: #fff;
  padding: 7px 9px;
  color: #3b302a;
  font: inherit;
}

.shift-bulk-day {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #f8efe8;
}

.shift-bulk-everyday { margin-top: 2px; }

.shift-bulk-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #7a675a;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .shift-bulk-grid { grid-template-columns: 1fr; }
  .shift-bulk-footer { justify-content: flex-start; }
}

.daily-bulk-panel,
.editor-bulk-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(128, 82, 48, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.78);
  padding: 14px;
  margin: 10px 0;
}

.daily-bulk-grid,
.editor-bulk-panel {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.editor-bulk-panel label,
.daily-bulk-panel label {
  display: grid;
  gap: 6px;
  color: #69584c;
  font-size: 0.86rem;
  font-weight: 700;
}

.daily-bulk-panel .shift-bulk-section label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.editor-bulk-panel input,
.editor-bulk-panel select,
.daily-bulk-panel input,
.daily-bulk-panel select {
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  color: #3b302a;
  font: inherit;
}

@media (max-width: 760px) {
  .daily-bulk-grid,
  .editor-bulk-panel { grid-template-columns: 1fr; }
}

.daily-bulk-grid { display: grid; }

.daily-reception-editor {
  display: grid;
  gap: 14px;
}

.daily-reception-bulk-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(128, 82, 48, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.78);
  padding: 14px;
}

.daily-reception-bulk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.daily-reception-bulk-grid label {
  display: grid;
  gap: 6px;
  color: #69584c;
  font-size: 0.86rem;
  font-weight: 700;
}

.daily-reception-bulk-grid input,
.daily-reception-bulk-grid select {
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  color: #3b302a;
  font: inherit;
}

.daily-reception-list {
  display: grid;
  gap: 8px;
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.daily-reception-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) 90px repeat(3, minmax(115px, 1fr)) minmax(160px, 1.2fr);
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(128, 82, 48, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 10px;
}

.daily-reception-row.weekend { background: rgba(255, 247, 240, 0.9); }
.daily-reception-row.closed { background: rgba(245, 229, 223, 0.72); opacity: 0.92; }

.daily-reception-date {
  display: grid;
  gap: 3px;
  color: #4d3f36;
}

.daily-reception-date span {
  color: #7a675a;
  font-size: 0.78rem;
}

.daily-reception-row label {
  display: grid;
  gap: 5px;
  color: #69584c;
  font-size: 0.82rem;
  font-weight: 700;
}

.daily-reception-row .mini-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 8px;
}

.daily-reception-row input {
  border: 1px solid rgba(128, 82, 48, 0.22);
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
  color: #3b302a;
  font: inherit;
}

.daily-reception-row input:disabled {
  background: #f0e6de;
  color: #9a8778;
}

@media (max-width: 980px) {
  .daily-reception-row { grid-template-columns: 1fr 1fr; }
  .daily-reception-note { grid-column: 1 / -1; }
}

.month-calendar-shell {
  display: grid;
  gap: 10px;
  overflow-x: auto;
}

.month-calendar-weekdays,
.month-calendar-grid {
  min-width: 860px;
  display: grid;
  grid-template-columns: repeat(7, minmax(118px, 1fr));
  gap: 8px;
}

.month-calendar-weekdays span {
  border-radius: 12px;
  background: #efe5dc;
  color: #6c5749;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  padding: 8px 6px;
}

.month-calendar-weekdays .sunday { color: #9a4d3e; background: #f7e7df; }
.month-calendar-weekdays .saturday { color: #426785; background: #e7f0f7; }

.month-calendar-empty {
  min-height: 96px;
  border-radius: 14px;
  background: rgba(128, 82, 48, 0.05);
  border: 1px dashed rgba(128, 82, 48, 0.12);
}

.month-calendar-day {
  min-height: 132px;
  border: 1px solid rgba(128, 82, 48, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.month-calendar-day.sunday { background: rgba(255, 247, 242, 0.94); }
.month-calendar-day.saturday { background: rgba(246, 251, 255, 0.94); }
.month-calendar-day.closed { background: rgba(245, 229, 223, 0.8); }

.month-calendar-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: #4d3f36;
}

.month-calendar-date strong { font-size: 1.02rem; }
.month-calendar-date span { color: #7a675a; font-size: 0.76rem; font-weight: 700; }

.shift-calendar-staff-list {
  display: grid;
  gap: 6px;
}

.shift-calendar-staff {
  width: 100%;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  text-align: left;
}

.shift-calendar-staff span { font-weight: 700; }
.shift-calendar-staff b { font-size: 0.78rem; }

.daily-reception-calendar-grid .daily-reception-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-height: 230px;
  padding: 10px;
}

.daily-reception-closed {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}

.daily-reception-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 70px;
  gap: 6px;
}

.daily-reception-calendar-grid .daily-reception-row label {
  font-size: 0.76rem;
}

.daily-reception-calendar-grid .daily-reception-row input {
  width: 100%;
  padding: 7px 8px;
  font-size: 0.78rem;
}

.daily-reception-calendar-grid .daily-reception-note {
  grid-column: auto;
}

@media (max-width: 760px) {
  .month-calendar-weekdays,
  .month-calendar-grid { min-width: 780px; grid-template-columns: repeat(7, minmax(108px, 1fr)); }
  .daily-reception-fields { grid-template-columns: 1fr; }
}

.daily-time-capacity-grid {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(128, 82, 48, 0.12);
  border-radius: 12px;
  background: rgba(255, 250, 245, 0.7);
  padding: 8px;
}

.daily-time-capacity-grid > strong {
  color: #5f5046;
  font-size: 0.78rem;
}

.daily-time-capacity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.daily-reception-calendar-grid .daily-time-capacity-list label {
  display: grid;
  gap: 2px;
  font-size: 0.68rem;
  color: #7a675a;
}

.daily-time-capacity-list input {
  min-width: 0;
  text-align: center;
  padding: 5px 4px !important;
  font-size: 0.76rem !important;
}

.daily-reception-bulk-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

@media (max-width: 760px) {
  .daily-time-capacity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.staff-flow-band-start {
  position: relative;
  z-index: 2;
  border-radius: 12px 12px 8px 8px;
  box-shadow: 0 8px 18px rgba(92, 64, 42, 0.12);
}

.staff-flow-treatment-band {
  min-height: 54px;
  width: 100%;
  border: 1px solid rgba(128, 82, 48, 0.16);
  border-left: 0;
  border-right: 0;
  background: linear-gradient(90deg, rgba(171, 126, 88, 0.20), rgba(171, 126, 88, 0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a675a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.staff-flow-treatment-band.band-middle {
  border-radius: 0;
}

.staff-flow-treatment-band.band-end {
  border-radius: 0 12px 12px 0;
  border-right: 1px solid rgba(128, 82, 48, 0.16);
}

.staff-flow-treatment-band.reservation-status-unconfirmed {
  background: linear-gradient(90deg, rgba(214, 165, 83, 0.24), rgba(214, 165, 83, 0.10));
}

.staff-flow-treatment-band.reservation-status-change_requested {
  background: linear-gradient(90deg, rgba(176, 103, 86, 0.22), rgba(176, 103, 86, 0.10));
}

.staff-flow-treatment-band.reservation-status-visited {
  background: linear-gradient(90deg, rgba(83, 132, 91, 0.22), rgba(83, 132, 91, 0.10));
}

.staff-flow-slot.has-reservation .staff-flow-manual-controls {
  opacity: 0.52;
}
