:root {
  --bg: #faf8f6;
  --bg-deep: #f0ece8;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --panel-soft: rgba(220, 12, 18, 0.05);
  --border: rgba(32, 24, 24, 0.08);
  --border-strong: rgba(32, 24, 24, 0.16);
  --text: #141111;
  --muted: #6a6161;
  --brand: #dc0c12;
  --brand-deep: #0f0c0c;
  --brand-soft: #fde8e9;
  --accent: #dc0c12;
  --danger: #b85656;
  --success: #417a63;
  --warning: #c59a3d;
  --shadow: 0 22px 60px rgba(20, 17, 17, 0.08);
  --shadow-soft: 0 14px 34px rgba(20, 17, 17, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(220, 12, 18, 0.08), transparent 24%),
    linear-gradient(180deg, #fdfbfb 0%, #f8f4f4 42%, #f3efef 100%);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  min-height: 100vh;
  position: relative;
}

body.modal-open,
body.calendar-sheet-open {
  overflow: hidden;
}

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

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

.page-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(20px);
  z-index: 0;
}

.page-glow-one {
  top: -120px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: rgba(220, 12, 18, 0.06);
}

.page-glow-two {
  right: -120px;
  bottom: 80px;
  width: 320px;
  height: 320px;
  background: rgba(220, 12, 18, 0.04);
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 18px 18px 28px;
}

.topbar,
.hero,
.card,
.dashboard-header {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin: 0 auto 24px;
  max-width: var(--content-width);
  padding: 16px 22px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(20, 17, 17, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-text {
  font-family: "Segoe UI", sans-serif;
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand-deep);
  line-height: 1;
}

.brand-subtext {
  color: var(--brand-deep);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding-left: 2px;
}

.topnav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(220, 12, 18, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #514848;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 8px 18px rgba(20, 17, 17, 0.05);
}

.topnav a:hover {
  color: var(--brand-deep);
  background: rgba(220, 12, 18, 0.08);
  border-color: rgba(220, 12, 18, 0.22);
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(220, 12, 18, 0.72);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.page-content,
.messages,
.site-footer {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.hero,
.dashboard-header {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

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

.signboard-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  align-items: center;
  min-height: 320px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(20, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signboard-visual {
  height: 100%;
  min-height: 320px;
  background: #db0c12;
  position: relative;
  overflow: hidden;
}

.signboard-silhouette {
  position: absolute;
  inset: 0;
}

.hair,
.curl,
.face-profile {
  position: absolute;
  background: #fff;
}

.hair-top {
  width: 280px;
  height: 280px;
  left: -22px;
  top: -48px;
  border-bottom-right-radius: 180px;
  border-bottom-left-radius: 80px;
  border-top-right-radius: 30px;
}

.hair-side {
  width: 140px;
  height: 210px;
  left: 64px;
  top: 74px;
  border-radius: 100px 70px 90px 90px;
  transform: rotate(6deg);
}

.hair-flow {
  width: 220px;
  height: 150px;
  left: 122px;
  bottom: -8px;
  border-radius: 120px 120px 0 120px;
  transform: rotate(-12deg);
}

.face-profile {
  width: 118px;
  height: 168px;
  left: 118px;
  top: 58px;
  background: #fff;
  clip-path: polygon(25% 3%, 58% 11%, 74% 23%, 86% 37%, 86% 48%, 94% 58%, 88% 66%, 91% 74%, 83% 83%, 72% 92%, 58% 100%, 15% 95%, 2% 77%, 4% 48%, 10% 24%);
}

.curl {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 9px solid #fff;
  background: transparent;
}

.curl::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  border: 6px solid #db0c12;
}

.curl-one {
  left: 92px;
  top: 142px;
}

.curl-two {
  left: 72px;
  top: 236px;
}

.curl-three {
  left: 102px;
  top: 302px;
}

.signboard-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 28px 42px;
}

.signboard-logo {
  color: #0f0c0c;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 0.95;
}

.signboard-sub {
  color: #0f0c0c;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-left: 2px;
}

.signboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.hero::before,
.dashboard-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%);
  pointer-events: none;
}

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

.hero-panel {
  display: grid;
  gap: 10px;
}

.hero-panel-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid rgba(220, 12, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-panel-card.compact {
  align-content: center;
}

.hero-panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel-card strong {
  font-size: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
}

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

.action-cluster {
  display: grid;
  gap: 14px;
}

.quick-note {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 12, 18, 0.08);
  box-shadow: var(--shadow-soft);
}

.quick-note-label {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quick-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: var(--brand-deep);
}

.quick-note span:last-child {
  color: var(--muted);
}

.card {
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.install-guide-card {
  display: grid;
  gap: 12px;
}

.install-guide-card .action-row {
  align-items: stretch;
}

.install-guide-card .primary-button,
.install-guide-card .secondary-button {
  min-width: 180px;
}

.install-help-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.install-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 12, 0.52);
}

.install-help-dialog {
  position: relative;
  width: min(92vw, 440px);
  margin: 12vh auto 0;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(20, 17, 17, 0.08);
  box-shadow: 0 24px 60px rgba(15, 12, 12, 0.24);
}

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

.install-help-close {
  min-width: 64px;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(220, 12, 18, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  cursor: pointer;
}

.install-help-steps {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--brand-deep);
  line-height: 1.7;
}

.install-help-steps li + li {
  margin-top: 8px;
}

.narrow {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--brand-deep);
  letter-spacing: -0.03em;
}

h1 {
  margin-bottom: 14px;
  font-family: "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 3vw, 3.4rem);
  line-height: 1.06;
}

h2 {
  margin-bottom: 14px;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.45rem;
}

.lead,
.muted {
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-points,
.stats-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-points span,
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(220, 12, 18, 0.05);
  border: 1px solid rgba(220, 12, 18, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--brand-deep);
}

.stats-strip {
  margin: 0 0 16px;
}

.stat-pill {
  justify-content: space-between;
  min-width: 170px;
  padding: 16px 18px;
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-pill strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.info-card-wide {
  grid-column: 1 / -1;
}

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

.luxury-info-item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(220, 12, 18, 0.08);
}

.luxury-info-item strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand-deep);
}

.luxury-info-item span {
  color: var(--muted);
  line-height: 1.65;
}

.stack-form {
  display: grid;
  gap: 12px;
}

.stack-form label {
  color: var(--brand-deep);
  font-weight: 700;
}

.stack-form input,
.stack-form select,
.stack-form textarea,
.inputlike,
.share-box {
  width: 100%;
  padding: 14px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus,
.inputlike:focus,
.share-box:focus {
  outline: none;
  border-color: rgba(140, 91, 69, 0.56);
  box-shadow: 0 0 0 4px rgba(140, 91, 69, 0.09);
}

.primary-button,
.secondary-button,
.install-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.install-button:hover,
.chip:hover,
.chip-button:hover {
  transform: translateY(-1px);
}

.primary-button,
.install-button {
  background: linear-gradient(135deg, #df1017, #b8080e);
  color: #fff;
  box-shadow: 0 14px 26px rgba(220, 12, 18, 0.2);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-deep);
  border: 1px solid rgba(220, 12, 18, 0.12);
}

.danger-button {
  background: rgba(245, 221, 221, 0.95);
  color: var(--text);
}

.messages {
  margin-bottom: 20px;
}

.message {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.message.success {
  border-color: rgba(65, 122, 99, 0.22);
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
}

.action-row,
.inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.reservation-item {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(140, 91, 69, 0.16);
}

.reservation-item strong,
.simple-list-item strong,
.timeline-body strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--brand-deep);
}

.reservation-item:last-child {
  border-bottom: 0;
}

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

.simple-list-item {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(220, 12, 18, 0.08);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.chip {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(247, 236, 228, 0.92);
  border: 1px solid rgba(220, 12, 18, 0.08);
  box-shadow: 0 8px 16px rgba(20, 17, 17, 0.05);
}

.chip-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.chip.positive {
  background: rgba(217, 239, 230, 0.95);
}

.chip.negative {
  background: rgba(245, 221, 221, 0.95);
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-requested {
  background: rgba(245, 227, 176, 0.92);
  color: #7b5c16;
}

.status-confirmed {
  background: rgba(217, 239, 230, 0.95);
  color: #2f6a54;
}

.status-cancelled {
  background: rgba(245, 221, 221, 0.95);
  color: #9a4646;
}

.status-completed {
  background: rgba(228, 237, 249, 0.96);
  color: #476786;
}

.install-button {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.ios-tip {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 15px;
  border-radius: 20px;
  background: rgba(47, 34, 26, 0.93);
  color: #fff;
  box-shadow: var(--shadow);
}

.hidden {
  display: none !important;
}

.field-error {
  color: var(--danger);
  font-size: 0.92rem;
}

.form-errors {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(253, 241, 241, 0.96);
  color: var(--danger);
  border: 1px solid rgba(184, 86, 86, 0.16);
}

/* =========================================================
   Owner monthly calendar
   ========================================================= */

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

.calendar-title-box {
  text-align: center;
  min-width: 0;
}

.calendar-toolbar h1 {
  margin: 0;
  white-space: nowrap;
  word-break: keep-all;
}

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

.calendar-weekday,
.calendar-cell {
  min-width: 0;
}

.calendar-weekday {
  padding: 10px 6px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.calendar-cell {
  min-height: 144px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.calendar-cell.dimmed {
  opacity: 0.46;
}

.calendar-cell.today {
  border-color: rgba(220, 12, 18, 0.32);
  box-shadow: inset 0 0 0 1px rgba(220, 12, 18, 0.25), var(--shadow-soft);
}

.calendar-cell-button {
  width: 100%;
  min-height: 144px;
  padding: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-radius: inherit;
}

.calendar-cell-button:active {
  transform: scale(0.99);
}

.calendar-date {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
}

.calendar-day-number {
  font-weight: 800;
}

.calendar-count {
  color: var(--brand);
  font-size: 0.82rem;
}

.calendar-count.active {
  color: var(--brand);
}

.calendar-cell-summary {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
}

.calendar-summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(217, 239, 230, 0.92);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 700;
}

.calendar-empty-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.calendar-entry {
  display: block;
  margin-bottom: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  background: #f8efe8;
  font-size: 0.88rem;
}

.calendar-entry.requested {
  background: rgba(245, 227, 176, 0.9);
}

.calendar-entry.confirmed {
  background: rgba(217, 239, 230, 0.9);
}

.calendar-entry.completed {
  background: rgba(228, 237, 249, 0.92);
}

.calendar-sheet[hidden] {
  display: none !important;
}

.calendar-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.calendar-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.28);
  backdrop-filter: blur(4px);
}

.calendar-sheet-panel {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 28px));
  max-height: min(78vh, 620px);
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.calendar-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.calendar-sheet-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.calendar-sheet-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

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

.calendar-sheet-entry {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(248, 239, 232, 0.92);
  color: inherit;
  text-decoration: none;
}

.calendar-sheet-entry.requested {
  background: rgba(245, 227, 176, 0.9);
}

.calendar-sheet-entry.confirmed {
  background: rgba(217, 239, 230, 0.9);
}

.calendar-sheet-entry.completed {
  background: rgba(228, 237, 249, 0.92);
}

.calendar-sheet-time {
  font-weight: 800;
  color: var(--brand-deep);
}

.calendar-sheet-name {
  font-weight: 700;
}

.calendar-sheet-more {
  color: var(--muted);
  font-size: 0.88rem;
}

.calendar-sheet-empty {
  padding: 24px 14px;
  text-align: center;
  color: var(--muted);
}

.calendar-sheet-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.search-row input {
  flex: 1;
}

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

.history-item {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.78);
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.timeline-time {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-deep);
  font-family: Georgia, "Times New Roman", serif;
}

.timeline-body {
  display: grid;
  gap: 7px;
}

.share-box {
  min-height: 140px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 8px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.owner-links-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 8px;
}

@media (max-width: 940px) {
  .signboard-hero,
  .hero,
  .dashboard-header,
  .public-grid {
    grid-template-columns: 1fr;
  }

  .luxury-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .app-shell {
    padding: 14px 14px 28px;
  }

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

  .signboard-visual {
    min-height: 220px;
  }

  .signboard-copy {
    padding: 22px 20px 24px;
  }

  .signboard-logo {
    font-size: 3.2rem;
    letter-spacing: 0.12em;
  }

  .signboard-sub {
    font-size: 1.7rem;
  }

  .signboard-meta {
    display: grid;
    gap: 8px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 26px;
  }

  .topnav {
    gap: 10px 16px;
    justify-content: flex-start;
  }

  .topnav a {
    font-size: 0.95rem;
  }

  .brand-text {
    font-size: 1.7rem;
    letter-spacing: 0.12em;
  }

  .calendar-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    column-gap: 12px;
    align-items: center;
    margin-bottom: 14px;
  }

  .calendar-title-box,
  .calendar-toolbar > div {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
    min-width: 0;
  }

  .calendar-toolbar > a:first-child {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .calendar-toolbar > a:last-child {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .calendar-toolbar .eyebrow {
    display: none;
  }

  .calendar-toolbar h1 {
    white-space: nowrap;
    word-break: keep-all;
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.05;
  }

  .calendar-toolbar .secondary-button {
    padding: 8px 10px;
    border-radius: 16px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

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

  .calendar-weekday {
    padding: 4px 0;
    font-size: 0.75rem;
  }

  .calendar-cell {
    min-height: auto;
    border-radius: 14px;
    box-shadow: none;
  }

  .calendar-cell-button {
    min-height: 66px;
    padding: 7px 4px;
  }

  .calendar-date {
    display: grid;
    gap: 2px;
    margin-bottom: 4px;
  }

  .calendar-day-number {
    font-size: 0.92rem;
  }

  .calendar-count {
    font-size: 0.66rem;
    line-height: 1.1;
  }

  .calendar-cell-summary {
    min-height: auto;
  }

  .calendar-summary-badge {
    padding: 3px 5px;
    font-size: 0.62rem;
    line-height: 1.1;
  }

  .calendar-empty-label {
    display: none;
  }

  .calendar-sheet-panel {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    max-height: 82vh;
    padding: 20px 18px 18px;
    border-radius: 28px 28px 0 0;
  }

  .calendar-sheet-entry {
    grid-template-columns: 62px 1fr auto;
    padding: 14px 13px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-time {
    font-size: 1rem;
  }

  .stats-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .install-guide-card .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .install-help-dialog {
    margin-top: 10vh;
    width: min(94vw, 420px);
    padding: 20px 18px;
  }
}

/* =========================================================
   Public booking landing page
   ========================================================= */

.public-book-page .topbar {
  display: none;
}

.public-book-page .site-footer {
  display: none;
}

.public-book-page .install-button {
  display: none !important;
}

.public-book-page .app-shell {
  padding-top: 18px;
}

.public-book-page .page-content {
  max-width: 860px;
}

.public-book-shell {
  display: grid;
  gap: 18px;
}

.public-sign-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(20, 17, 17, 0.06);
  box-shadow: var(--shadow);
}

.public-sign-image {
  display: block;
  width: 100%;
  height: auto;
}

.public-reservation-intro,
.public-mini-guide,
.public-info-strip {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.public-reservation-intro {
  padding: 30px 28px;
  border-radius: 30px;
}

.public-reservation-intro h1 {
  max-width: 680px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  line-height: 1.08;
}

.public-reservation-intro .lead {
  margin-bottom: 22px;
}

.public-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.public-main-cta,
.public-sub-cta,
.public-submit-button {
  min-height: 56px;
}

.public-mini-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
}

.public-mini-guide div,
.public-info-strip div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(220, 12, 18, 0.08);
}

.public-mini-guide strong,
.public-info-strip strong {
  color: var(--brand-deep);
}

.public-mini-guide span,
.public-info-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.public-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.public-form-card {
  margin-bottom: 0;
}

.public-primary-card {
  border-color: rgba(220, 12, 18, 0.12);
}

.public-section-heading {
  margin-bottom: 12px;
}

.public-card-note {
  margin-top: -4px;
  margin-bottom: 16px;
  line-height: 1.65;
}

.public-install-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.public-install-card h2 {
  margin-bottom: 8px;
}

.public-info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border-radius: 28px;
}

@media (max-width: 768px) {
  .public-book-page .app-shell {
    padding: 14px 14px 24px;
  }

  .public-book-page .page-content {
    max-width: 100%;
  }

  .public-book-shell {
    gap: 14px;
  }

  .public-sign-card {
    border-radius: 28px;
  }

  .public-sign-image {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .public-reservation-intro {
    padding: 24px 22px;
    border-radius: 28px;
  }

  .public-reservation-intro h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

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

  .public-mini-guide,
  .public-form-grid,
  .public-install-card,
  .public-info-strip {
    grid-template-columns: 1fr;
  }

  .public-install-card .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-form-card {
    padding: 18px;
  }
}

/* END Public booking landing page */

/* BEGIN owner separated top banner and menu */
.brand-only-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.owner-menu-card {
    width: 100%;
    margin: 0 0 26px;
    padding: 26px 22px 28px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px rgba(70, 46, 36, 0.08);
    backdrop-filter: blur(16px);
}

.owner-menu-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 16px;
}

.owner-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid rgba(190, 120, 120, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #4b4545;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(130, 70, 70, 0.06);
}

.owner-menu-nav a:active {
    transform: translateY(1px);
}

body.owner-page .install-button,
body.owner-page .ios-tip,
body.owner-page #install-app-button,
body.owner-page #ios-install-tip {
    display: none !important;
}

@media (max-width: 430px) {
    .owner-menu-card {
        padding: 24px 18px 26px;
        border-radius: 28px;
    }

    .owner-menu-nav {
        gap: 12px 12px;
    }

    .owner-menu-nav a {
        min-height: 50px;
        font-size: 16px;
    }
}
/* END owner separated top banner and menu */

/* BEGIN owner top banner spacing fix */
body.owner-page .app-shell > .owner-menu-card {
    margin-top: 22px !important;
}

body.owner-page .app-shell > header,
body.owner-page .app-shell > .topbar,
body.owner-page .app-shell > .customer-style-topbar {
    margin-bottom: 0 !important;
}
/* END owner top banner spacing fix */

/* BEGIN owner banner menu real spacing fix */
.app-shell > .owner-menu-card {
    margin-top: 24px !important;
}

.app-shell > .owner-menu-card {
    margin-bottom: 30px !important;
}
/* END owner banner menu real spacing fix */
