:root {
  --dark: #07111f;
  --card: rgba(12, 24, 40, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  --gold: #d9a957;
  --gold-soft: #f1d59b;
  --white: #ffffff;
  --muted: #c7ced8;
  --green: #58d68d;
  --danger: #ff8f8f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background:
    linear-gradient(rgba(5, 12, 22, 0.6), rgba(5, 12, 22, 0.9)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

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

button {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
}

.app {
  min-height: 100vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.topbar,
.brand,
.topbar-right,
.status,
.panel-header,
.dashboard-toolbar,
.checkout-help {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
}

.brand {
  gap: 12px;
  font-size: 27px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #111827;
}

.topbar-right {
  gap: 22px;
}

.status {
  gap: 18px;
  text-align: right;
  font-size: 21px;
}

.status span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.language-switch button {
  min-width: 48px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #162032;
}

.main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  padding-top: 68px;
  padding-bottom: 205px;
}

.hero h2 {
  color: var(--muted);
  font-size: 34px;
  font-weight: 400;
}

.hero h1 {
  margin: 8px 0 20px;
  font-size: clamp(62px, 7vw, 108px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.wifi-card,
.panel,
.property-card,
.stay-card,
.stay-details,
.stay-editor,
.summary-card,
.recommendation-card,
.recommendation-form,
.recommendations-manager {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.wifi-card {
  justify-self: end;
  width: min(100%, 570px);
  margin-top: 35px;
  padding: 32px;
  border-radius: 28px;
}

.wifi-card h3 {
  margin-bottom: 22px;
  font-size: 29px;
}

.wifi-grid {
  display: grid;
  grid-template-columns: 1fr 165px;
  gap: 25px;
  align-items: center;
}

.page-wifi {
  grid-template-columns: 1fr 250px;
}

.label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 5px;
}

.value {
  font-size: 27px;
  font-weight: 900;
  margin-bottom: 22px;
}

.qr {
  width: 165px;
  height: 165px;
  padding: 12px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: white;
  overflow: hidden;
}

.big-qr {
  width: 250px;
  height: 250px;
}

.qr img,
.qr canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  border-radius: 10px;
}

.nav {
  position: fixed;
  left: 32px;
  right: 32px;
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 15px;
  z-index: 10;
}

.nav button {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(10, 22, 38, 0.84);
  color: #fff;
  cursor: pointer;
}

.nav button.active,
.nav button:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #172033;
}

.nav .icon {
  display: block;
  margin-bottom: 10px;
  font-size: 33px;
}

.page {
  display: none;
  min-height: calc(100vh - 110px);
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}

.page.active {
  display: flex;
}

.panel {
  width: min(1180px, 100%);
  padding: 38px;
  border-radius: 32px;
}

.panel-header {
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
}

.panel h2 {
  font-size: 42px;
}

.back,
.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.back {
  padding: 13px 17px;
  border-radius: 15px;
}

.mini-logo {
  color: var(--gold-soft);
  font-weight: 800;
  white-space: nowrap;
}

.page-text,
.item p,
.entertainment-intro {
  color: var(--muted);
  line-height: 1.5;
}

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

.item {
  min-height: 140px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.07);
}

.big-icon {
  display: block;
  margin-bottom: 14px;
  font-size: 32px;
}

.item h3 {
  margin-bottom: 8px;
}

.streaming-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.streaming {
  height: 112px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: 900;
}

.netflix { background: #050505; color: #e50914; }
.youtube { background: #fff; color: #f00; }
.prime { background: #0f79af; }
.disney { background: #12347f; }
.apple { background: #111; }
.spotify { background: #1db954; color: #07111f; }
.plex { background: #1f1f1f; color: #e5a00d; }
.airplay { background: #f5f7fb; color: #07111f; }

.privacy-banner,
.checkout-help,
.property-alert {
  padding: 17px 20px;
  border: 1px solid rgba(217, 169, 87, 0.4);
  border-radius: 18px;
  background: rgba(217, 169, 87, 0.11);
  color: var(--gold-soft);
}

.privacy-banner {
  margin-top: 20px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.check,
.reset-check {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
}

.access-panel {
  width: min(760px, 100%);
}

.access-box {
  max-width: 520px;
  margin: auto;
  padding: 36px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.08);
}

.access-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(217, 169, 87, 0.15);
  font-size: 34px;
}

.access-box p {
  margin: 12px 0 22px;
  color: var(--muted);
}

.access-box input {
  width: 100%;
  height: 62px;
  margin-bottom: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  font-size: 25px;
}

.access-box button,
.primary-btn,
.add-property-button,
.property-primary-button,
.recommendation-map-button {
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #162032;
  font-weight: 900;
  cursor: pointer;
}

.access-box button {
  width: 100%;
  padding: 18px;
  border-radius: 17px;
}

.access-error {
  min-height: 24px;
  margin-top: 12px;
  color: #ff9b9b;
  font-weight: 800;
}

.dashboard-panel,
.stay-panel,
.local-panel,
.recommendations-editor-panel {
  width: min(1380px, 100%);
  max-height: calc(100vh - 125px);
  overflow-y: auto;
}

.dashboard-subtitle {
  margin-top: 5px;
  color: var(--muted);
}

.dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 22px;
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
}

.summary-card strong {
  font-size: 27px;
}

.summary-card div {
  display: flex;
  flex-direction: column;
}

.summary-card span:last-child {
  color: var(--muted);
}

.dashboard-toolbar {
  gap: 16px;
  margin-bottom: 22px;
}

.dashboard-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.dashboard-search input {
  flex: 1;
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.add-property-button {
  min-height: 52px;
  padding: 0 19px;
  border-radius: 16px;
}

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

.property-card {
  overflow: hidden;
  border-radius: 24px;
}

.property-image {
  position: relative;
  height: 190px;
  background-size: cover;
  background-position: center;
}

.property-status {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.active-status { background: rgba(18, 101, 61, 0.9); }
.preparation-status { background: rgba(25, 74, 128, 0.9); }
.reset-status { background: rgba(153, 87, 21, 0.92); }

.property-menu-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.75);
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}

.property-content {
  padding: 19px;
}

.property-heading,
.property-stay-info,
.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.property-heading p,
.property-stay-info span {
  color: var(--muted);
}

.property-number {
  justify-self: end;
  color: var(--gold-soft);
}

.property-stay-info {
  margin-top: 18px;
}

.property-stay-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.property-options span,
.option-pill {
  padding: 7px 9px;
  border: 1px solid rgba(88, 214, 141, 0.3);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.11);
  color: #d9ffe8;
  font-size: 12px;
  font-weight: 700;
}

.property-alert {
  margin-top: 16px;
  font-size: 12px;
}

.property-actions {
  margin-top: 18px;
}

.property-actions button {
  min-height: 45px;
  border-radius: 14px;
  cursor: pointer;
}

.property-secondary-button {
  border: 1px solid rgba(217, 169, 87, 0.4);
  background: rgba(217, 169, 87, 0.08);
  color: var(--gold-soft);
}

.empty-search {
  display: none;
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
}

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

.property-form label,
.stay-editor label,
.recommendation-form label {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14px;
}

.property-form input,
.property-form select,
.stay-editor input,
.stay-editor select,
.stay-editor textarea,
.recommendation-form input,
.recommendation-form select,
.recommendation-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

select option {
  color: #111827;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 18px;
  border-radius: 17px;
}

.stay-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr;
  gap: 20px;
}

.stay-card,
.stay-details,
.stay-editor {
  padding: 21px;
  border-radius: 22px;
}

.stay-cover {
  height: 165px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-size: 25px;
  font-weight: 900;
}

.stay-info {
  margin-top: 16px;
}

.stay-info p,
.stay-message-preview p {
  color: var(--muted);
}

.stay-status {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.14);
  color: #d9ffe8;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-row span {
  color: var(--muted);
}

.stay-options-preview,
.stay-message-preview {
  margin-top: 20px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.option-editor {
  margin: 13px 0 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
}

.option-check {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.option-check input {
  width: 18px;
  margin: 0;
}

.stay-editor .secondary-btn,
.stay-main-btn {
  margin-top: 12px;
}

.host-reset {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.reset-check {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reset-home-btn {
  margin-top: 20px;
}

.save-confirmation {
  min-height: 22px;
  margin-top: 12px;
  text-align: center;
  color: #d9ffe8;
  font-weight: 800;
}

/* GUIDE PUBLIC */

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

.guide-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-height: 160px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.guide-card-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(217, 169, 87, 0.14);
  font-size: 27px;
}

.guide-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.guide-card p {
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-line;
}

/* ÉDITEUR DU GUIDE */

.guide-editor-panel {
  width: min(1380px, 100%);
  max-height: calc(100vh - 125px);
  overflow-y: auto;
}

.guide-editor-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.guide-form,
.guide-manager {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.guide-form h3 {
  margin-bottom: 18px;
}

.guide-form label {
  display: block;
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 14px;
}

.guide-form input,
.guide-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  outline: none;
}

.guide-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.guide-manager-header span {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(217, 169, 87, 0.15);
  color: var(--gold-soft);
  font-weight: 900;
}

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

.guide-manager-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.guide-manager-main {
  display: flex;
  gap: 13px;
}

.guide-manager-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(217, 169, 87, 0.13);
}

.guide-manager-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-line;
}

.guide-manager-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.guide-manager-actions button {
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
}

.edit-guide-button {
  border: 1px solid rgba(217, 169, 87, 0.4);
  background: rgba(217, 169, 87, 0.09);
  color: var(--gold-soft);
}

.delete-guide-button {
  border: 1px solid rgba(255, 143, 143, 0.35);
  background: rgba(255, 143, 143, 0.08);
  color: var(--danger);
}

/* RECOMMANDATIONS PUBLIQUES */

.local-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.local-filter-bar button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  cursor: pointer;
}

.local-filter-bar button.active,
.local-filter-bar button:hover {
  border-color: rgba(217, 169, 87, 0.55);
  background: rgba(217, 169, 87, 0.13);
  color: var(--gold-soft);
}

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

.recommendation-card {
  padding: 21px;
  border-radius: 22px;
}

.recommendation-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.recommendation-category-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(217, 169, 87, 0.13);
  font-size: 23px;
}

.recommendation-category-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.recommendation-description {
  min-height: 66px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.recommendation-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.recommendation-map-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 17px;
  padding: 12px 15px;
  border-radius: 14px;
  text-decoration: none;
}

/* ÉDITEUR RECOMMANDATIONS */

.recommendations-editor-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.recommendation-form,
.recommendations-manager {
  padding: 24px;
  border-radius: 23px;
}

.recommendation-form h3 {
  margin-bottom: 18px;
}

.recommendations-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.recommendations-manager-header span {
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(217, 169, 87, 0.15);
  color: var(--gold-soft);
  font-weight: 900;
}

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

.recommendation-manager-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.recommendation-manager-main {
  display: flex;
  gap: 13px;
}

.recommendation-manager-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(217, 169, 87, 0.13);
}

.recommendation-manager-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.recommendation-manager-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.recommendation-manager-actions button {
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
}

.edit-recommendation-button {
  border: 1px solid rgba(217, 169, 87, 0.4);
  background: rgba(217, 169, 87, 0.09);
  color: var(--gold-soft);
}

.delete-recommendation-button {
  border: 1px solid rgba(255, 143, 143, 0.35);
  background: rgba(255, 143, 143, 0.08);
  color: var(--danger);
}

/* MENU ... */

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 89;
}

.menu-overlay.open {
  display: block;
}

.property-menu {
  display: none;
  position: fixed;
  z-index: 90;
  width: 280px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 18, 32, 0.98);
  box-shadow: var(--shadow);
}

.property-menu.open {
  display: grid;
  gap: 4px;
}

.property-menu button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.property-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.property-menu .danger-action {
  color: var(--danger);
}

@media (max-width: 1100px) {
  .property-grid,
  .recommendations-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stay-layout,
  .recommendations-editor-layout,
  .guide-editor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main,
  .wifi-grid,
  .page-wifi,
  .grid,
  .streaming-grid,
  .checklist,
  .dashboard-summary,
  .property-grid,
  .form-grid,
  .recommendations-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar,
  .panel-header,
  .dashboard-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .app {
    padding: 20px;
  }
}


/* CONNEXION ET SYNCHRONISATION SUPABASE */

.auth-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  text-align: left;
  font-size: 14px;
}

.auth-label input {
  margin-top: 7px;
  text-align: left;
  font-size: 16px;
}

.dashboard-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-session > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

#connectedUserEmail {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.sync-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(88, 214, 141, 0.7);
}

.sync-dot.loading {
  background: var(--gold);
  animation: syncPulse 0.8s infinite alternate;
}

.sync-dot.error {
  background: var(--danger);
}

.logout-button {
  padding: 10px 13px;
  border: 1px solid rgba(255, 143, 143, 0.35);
  border-radius: 12px;
  background: rgba(255, 143, 143, 0.08);
  color: #ffb1b1;
  cursor: pointer;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(5, 12, 22, 0.72);
  backdrop-filter: blur(8px);
}

.loading-overlay.active {
  display: grid;
}

.loading-card {
  padding: 25px 31px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 18, 32, 0.96);
  box-shadow: var(--shadow);
  color: #fff;
  font-weight: 800;
}

@keyframes syncPulse {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .dashboard-session {
    justify-content: flex-start;
  }
}


/* CALENDRIER, VOYAGEURS ET MÉNAGE */
.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px}.checklist-card,.cleaning-availability-card{padding:24px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.055)}.cleaning-availability-card p{color:var(--muted);line-height:1.5;margin:10px 0 18px}.cleaning-availability-card label{display:block;color:var(--muted);font-size:14px;margin-bottom:15px}.cleaning-kicker{display:block;color:var(--gold-soft);font-size:12px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}.public-stay-summary{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.public-stay-summary span{padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;color:#e7ebef}.calendar-summary{grid-template-columns:repeat(4,1fr)}.dashboard-tabs{display:flex;gap:8px;margin-bottom:18px}.dashboard-tabs button,.calendar-view-switch button,.calendar-navigation button{border:1px solid var(--line);background:rgba(255,255,255,.055);color:var(--muted);padding:10px 13px;border-radius:12px}.dashboard-tabs button.active,.calendar-view-switch button.active{background:linear-gradient(135deg,var(--gold),var(--gold-soft));color:#162032}.dashboard-tab{display:none}.dashboard-tab.active{display:block}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.calendar-view-switch,.calendar-navigation{display:flex;align-items:center;gap:7px}.calendar-navigation strong{min-width:200px;text-align:center}.today-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.reservation-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.055)}.reservation-card-header{display:flex;justify-content:space-between;gap:12px}.reservation-card-header p{color:var(--muted);margin-top:4px}.reservation-type{padding:6px 9px;border-radius:999px;background:rgba(217,169,87,.13);color:var(--gold-soft);font-size:11px}.reservation-details{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:14px}.reservation-details div{padding:10px;border:1px solid var(--line);border-radius:11px;color:var(--muted);font-size:11px}.reservation-details strong{display:block;color:#fff;margin-top:4px}.week-grid,.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.week-day,.month-day{min-height:150px;padding:10px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.035)}.day-head{display:flex;justify-content:space-between;margin-bottom:8px}.day-head span{color:var(--muted);font-size:12px}.calendar-event{margin-top:6px;padding:7px;border-left:3px solid var(--gold);border-radius:7px;background:rgba(217,169,87,.1);font-size:11px;cursor:pointer}.calendar-event strong{display:block}.month-weekday{color:var(--muted);font-size:11px;padding:0 5px;text-transform:uppercase}.month-day.muted{opacity:.35}.month-day.today{border-color:rgba(217,169,87,.6)}.guest-count-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.guest-count-grid label{margin:0}.guest-count-grid input{margin-top:6px}@media(max-width:1000px){.calendar-summary{grid-template-columns:repeat(2,1fr)}.today-list{grid-template-columns:1fr}.week-grid{grid-template-columns:repeat(2,1fr)}.checkout-layout{grid-template-columns:1fr}}@media(max-width:700px){.calendar-summary,.week-grid,.month-grid,.guest-count-grid{grid-template-columns:1fr}.calendar-toolbar{align-items:stretch;flex-direction:column}.calendar-navigation{flex-wrap:wrap}.reservation-details{grid-template-columns:1fr 1fr}}


/* =====================================================
   RÉSERVATIONS — CRÉATION, MODIFICATION ET SUPPRESSION
===================================================== */

.add-reservation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 13px;
  padding: 11px 16px;
  background: var(--accent, #d6b37a);
  color: #17202a;
  font-weight: 850;
  white-space: nowrap;
}

.add-reservation-button span {
  font-size: 18px;
  line-height: 1;
}

.calendar-event-button {
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.calendar-event-button span {
  display: block;
  margin-top: 3px;
  opacity: .75;
}

.reservation-card {
  overflow: hidden;
}

.reservation-card-main {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.reservation-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.reservation-card-actions button {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
}

.reservation-card-actions .danger-link {
  color: var(--danger);
  border-color: rgba(255,155,155,.22);
}

.calendar-empty {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 220px;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

.calendar-empty button {
  border: 0;
  border-radius: 12px;
  padding: 11px 15px;
  background: var(--accent);
  color: #17202a;
  font-weight: 800;
}

.reservation-editor-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.danger-btn {
  width: 100%;
  border: 1px solid rgba(255,155,155,.28);
  border-radius: 13px;
  padding: 13px 17px;
  background: rgba(255,155,155,.07);
  color: #ffb2b2;
  font-weight: 750;
}

.cleaning-availability-card p {
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .add-reservation-button {
    width: 100%;
  }
}


/* RETOURS VISUELS ET VALIDATION DES RÉSERVATIONS */

.app-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 500;
  transform: translate(-50%, -18px);
  min-width: min(420px, calc(100vw - 36px));
  max-width: 620px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 23, 34, .96);
  color: var(--text);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  text-align: center;
  font-weight: 750;
}

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

.app-toast.success {
  border-color: rgba(105, 198, 154, .45);
  color: #bcebd1;
}

.app-toast.error {
  border-color: rgba(255, 155, 155, .45);
  color: #ffc0c0;
}

#saveReservationButton:disabled {
  opacity: .65;
  cursor: wait;
}

.recently-saved {
  animation: reservationSavedPulse 1.1s ease-in-out 2;
  border-color: rgba(214, 179, 122, .75) !important;
  box-shadow: 0 0 0 3px rgba(214, 179, 122, .12);
}

@keyframes reservationSavedPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}


/* =====================================================
   SYNCHRONISATION TEMPS RÉEL ET MODE TV
===================================================== */

.screen-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6b37a;
}

.live-dot.connecting {
  animation: livePulse .8s ease-in-out infinite alternate;
}

.live-dot.online {
  background: #69c69a;
  box-shadow: 0 0 12px rgba(105,198,154,.55);
}

.live-dot.error {
  background: #ff9b9b;
  animation: livePulse .8s ease-in-out infinite alternate;
}

.tv-mode-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.tv-mode-button:hover {
  border-color: rgba(214,179,122,.45);
  color: var(--accent);
}

.tv-hint {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 400;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  border: 1px solid rgba(214,179,122,.28);
  border-radius: 999px;
  background: rgba(10,17,25,.92);
  color: #ead7b5;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  font-size: 12px;
}

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

body.public-guest-mode #hostNavButton {
  display: none;
}

body.public-guest-mode .nav {
  grid-template-columns: repeat(6, 1fr);
}

body.tv-mode {
  cursor: default;
}

body.tv-mode .app {
  padding: 22px 30px 30px;
}

body.tv-mode .topbar {
  min-height: 54px;
}

body.tv-mode .live-status {
  display: flex;
}

body.tv-mode .nav {
  bottom: 18px;
}

@keyframes livePulse {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  .topbar-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .screen-controls {
    order: 3;
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 650px) {
  .live-status {
    display: none;
  }

  .tv-mode-button {
    width: 100%;
  }

  body.public-guest-mode .nav {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* CORRECTION CONNEXION ADMIN */
#proAccessButton:disabled {
  opacity: .65;
  cursor: wait;
}


/* =====================================================
   MOT DE PASSE OUBLIÉ
===================================================== */

.forgot-password-button {
  margin-top: 10px;
  padding: 10px 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--gold-soft) !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.forgot-password-button:hover {
  color: #ffffff !important;
}

.forgot-password-button:disabled,
#updatePasswordButton:disabled {
  opacity: .6;
  cursor: wait;
}

.access-success {
  min-height: 24px;
  margin-top: 12px;
  color: #9ce0bb;
  font-weight: 800;
  line-height: 1.45;
}


/* =====================================================
   NOTIFICATIONS HÔTE — MODULE ISOLÉ V4.6
===================================================== */

.host-notifications-panel {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
}

.host-notifications-header,
.host-notifications-actions,
.host-notification-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.host-notifications-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.host-notifications-header h3 {
  margin: 0;
}

.host-notifications-actions button,
.host-notification-read-button {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: inherit;
}

.host-notifications-count {
  color: var(--gold-soft);
  font-weight: 850;
}

.host-notifications-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.host-notification-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 16px;
  background: rgba(0, 0, 0, .14);
}

.host-notification-item.unread {
  border-color: rgba(215, 181, 109, .4);
  background: rgba(215, 181, 109, .07);
}

.host-notification-item.read {
  opacity: .72;
}

.host-notification-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.host-notification-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .06);
}

.host-notification-content {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.host-notification-content > span:not(.host-notification-title-row) {
  line-height: 1.45;
}

.host-notification-content small {
  opacity: .62;
}

.host-notification-new {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #151515;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.host-notification-read-button {
  align-self: center;
  white-space: nowrap;
}

.host-notifications-empty,
.host-notifications-unavailable {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  opacity: .72;
}

.host-notifications-unavailable {
  border: 1px dashed rgba(255, 255, 255, .14);
}

@media (max-width: 760px) {
  .host-notifications-header,
  .host-notifications-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .host-notification-read-button {
    width: 100%;
  }
}


/* =====================================================
   SUIVI OPÉRATIONNEL DES SÉJOURS — V4.8
===================================================== */

.reservation-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.reservation-operational-status {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.reservation-operational-status.status-planned {
  background: rgba(255, 184, 77, .12);
  color: #ffd18b;
}

.reservation-operational-status.status-ready {
  background: rgba(88, 214, 141, .12);
  color: #9ce0bb;
}

.reservation-operational-status.status-occupied {
  background: rgba(91, 160, 255, .12);
  color: #a8ccff;
}

.reservation-operational-status.status-cleaning {
  background: rgba(180, 120, 255, .12);
  color: #d4b3ff;
}

.reservation-operational-status.status-completed {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .68);
}

.reservation-status-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--muted);
  font-size: 12px;
}

.reservation-status-control select {
  width: auto;
  min-width: 150px;
  margin: 0;
  padding: 9px 34px 9px 10px;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .reservation-badges {
    justify-content: flex-start;
  }

  .reservation-card-header {
    flex-direction: column;
  }

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

  .reservation-status-control {
    align-items: stretch;
    flex-direction: column;
    margin-right: 0;
  }

  .reservation-status-control select {
    width: 100%;
  }
}


/* =====================================================
   OPÉRATIONS DU JOUR — V4.9
===================================================== */

.daily-operations-panel {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, .08), transparent 42%),
    rgba(255, 255, 255, .025);
}

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

.daily-operations-header h3,
.daily-operations-header p {
  margin: 0;
}

.daily-operations-header p {
  margin-top: 5px;
  color: var(--muted);
  text-transform: capitalize;
}

.daily-operations-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.daily-operations-header > button {
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .05);
  color: inherit;
}

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

.daily-operation-column {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px;
  background: rgba(0, 0, 0, .15);
}

.daily-operation-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.daily-operation-title > span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}

.daily-operation-title div {
  display: grid;
  gap: 2px;
}

.daily-operation-title small {
  color: var(--muted);
}

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

.daily-operation-item {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, .065);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  color: inherit;
  text-align: left;
}

.daily-operation-item:hover {
  border-color: rgba(215, 181, 109, .45);
  transform: translateY(-1px);
}

.daily-operation-property {
  overflow: hidden;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-operation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

.daily-operation-meta span {
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
}

.daily-operation-empty {
  padding: 14px 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1100px) {
  .daily-operations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .daily-operations-header {
    flex-direction: column;
  }

  .daily-operations-header > button {
    width: 100%;
  }

  .daily-operations-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   CHECKLIST MÉNAGE — V5.0
===================================================== */

.cleaning-checklist-editor {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}

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

.cleaning-checklist-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.cleaning-checklist-header h4 {
  margin: 0;
}

.cleaning-checklist-header strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215, 181, 109, .1);
  color: var(--gold-soft);
}

.cleaning-checklist-items {
  display: grid;
  gap: 9px;
}

.cleaning-check-item {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(0, 0, 0, .12);
}

.cleaning-check-item input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.cleaning-check-item:has(input:checked) {
  border-color: rgba(88, 214, 141, .35);
  background: rgba(88, 214, 141, .07);
}

.cleaning-check-item:has(input:checked) span {
  color: #9ce0bb;
}

.cleaning-checklist-complete {
  width: 100%;
  margin-top: 14px;
}


/* =====================================================
   ASSIGNATION MÉNAGE — V5.1
===================================================== */

.cleaning-assignment-editor {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}

.cleaning-assignment-header {
  margin-bottom: 14px;
}

.cleaning-assignment-header span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.cleaning-assignment-header h4 {
  margin: 0;
}

.cleaning-assignment-help {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.reservation-internal-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid rgba(215, 181, 109, .55);
  border-radius: 10px;
  background: rgba(215, 181, 109, .055);
}

.reservation-internal-note span {
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reservation-internal-note p {
  margin: 5px 0 0;
  line-height: 1.5;
}


/* =====================================================
   PARAMÈTRES DU DASHBOARD — V5.2
===================================================== */

[hidden] {
  display: none !important;
}

.dashboard-settings-panel {
  max-width: 880px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(215, 181, 109, .07), transparent 45%),
    rgba(255, 255, 255, .025);
}

.dashboard-settings-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-settings-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.dashboard-settings-heading h3,
.dashboard-settings-heading p {
  margin: 0;
}

.dashboard-settings-heading p {
  max-width: 620px;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

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

.dashboard-setting-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 15px;
  background: rgba(0, 0, 0, .13);
}

.dashboard-setting-row > span {
  display: grid;
  gap: 4px;
}

.dashboard-setting-row small {
  color: var(--muted);
  line-height: 1.4;
}

.dashboard-setting-row input[type="checkbox"] {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 27px;
  margin: 0;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: .2s ease;
}

.dashboard-setting-row input[type="checkbox"]::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .74);
  content: "";
  transition: .2s ease;
}

.dashboard-setting-row input[type="checkbox"]:checked {
  border-color: rgba(215, 181, 109, .5);
  background: rgba(215, 181, 109, .3);
}

.dashboard-setting-row input[type="checkbox"]:checked::after {
  left: 24px;
  background: var(--gold-soft);
}

.dashboard-settings-info {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 700px) {
  .dashboard-settings-heading {
    flex-direction: column;
  }

  .dashboard-settings-heading button {
    width: 100%;
  }

  .dashboard-setting-row {
    align-items: flex-start;
  }
}


/* =====================================================
   FILTRES DU CALENDRIER — V5.3
===================================================== */

.calendar-filters-panel {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}

.calendar-filters-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.calendar-filters-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.calendar-filters-heading h3 {
  margin: 0;
}

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

.calendar-filters-grid label {
  min-width: 0;
}

.calendar-filters-grid select,
.calendar-filters-grid input {
  width: 100%;
}

.calendar-filters-result {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1000px) {
  .calendar-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .calendar-filters-heading {
    flex-direction: column;
  }

  .calendar-filters-heading button {
    width: 100%;
  }

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

  .calendar-filters-result {
    justify-content: flex-start;
  }
}


/* =====================================================
   EXPORT DU PLANNING — V5.4
===================================================== */

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

.calendar-export-actions button {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .calendar-export-actions {
    width: 100%;
    justify-content: stretch;
  }

  .calendar-export-actions button {
    flex: 1 1 140px;
  }
}


/* =====================================================
   ALERTES PRIORITAIRES — V5.5
===================================================== */

.priority-alerts-panel {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 111, 97, .08), transparent 45%),
    rgba(255, 255, 255, .025);
}

.priority-alerts-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.priority-alerts-header span {
  display: block;
  margin-bottom: 4px;
  color: #ff9b8f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.priority-alerts-header h3,
.priority-alerts-header p {
  margin: 0;
}

.priority-alerts-header p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.priority-alerts-header > strong {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 111, 97, .1);
  color: #ffb1a8;
  white-space: nowrap;
}

.priority-alerts-list {
  display: grid;
  gap: 9px;
}

.priority-alert-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 14px;
  background: rgba(0, 0, 0, .14);
  color: inherit;
  text-align: left;
}

.priority-alert-item:hover {
  transform: translateY(-1px);
}

.priority-alert-item.priority-urgent {
  border-color: rgba(255, 111, 97, .45);
  background: rgba(255, 111, 97, .07);
}

.priority-alert-item.priority-warning {
  border-color: rgba(255, 184, 77, .35);
  background: rgba(255, 184, 77, .055);
}

.priority-alert-item.priority-info {
  border-color: rgba(91, 160, 255, .28);
  background: rgba(91, 160, 255, .045);
}

.priority-alert-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

.priority-alert-content {
  display: grid;
  gap: 4px;
}

.priority-alert-content span {
  color: var(--muted);
  line-height: 1.4;
}

.priority-alert-arrow {
  opacity: .55;
  font-size: 18px;
}

.priority-alerts-empty {
  padding: 16px;
  border-radius: 14px;
  background: rgba(88, 214, 141, .055);
  color: #9ce0bb;
  text-align: center;
}

@media (max-width: 650px) {
  .priority-alerts-header {
    flex-direction: column;
  }

  .priority-alert-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .priority-alert-arrow {
    display: none;
  }
}


/* =====================================================
   INDICATEURS D’ACTIVITÉ — V5.6
===================================================== */

.activity-insights-panel {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(91, 160, 255, .08), transparent 45%),
    rgba(255, 255, 255, .025);
}

.activity-insights-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.activity-insights-header > div:first-child > span {
  display: block;
  margin-bottom: 4px;
  color: #a8ccff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.activity-insights-header h3,
.activity-insights-header p {
  margin: 0;
}

.activity-insights-header p {
  margin-top: 5px;
  color: var(--muted);
}

.activity-insights-periods {
  display: flex;
  gap: 7px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(0, 0, 0, .16);
}

.activity-insights-periods button {
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}

.activity-insights-periods button.active {
  background: rgba(91, 160, 255, .16);
  color: #c7ddff;
}

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

.activity-insights-grid article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 15px;
  background: rgba(0, 0, 0, .14);
}

.activity-insights-grid span {
  color: var(--muted);
  font-size: 11px;
}

.activity-insights-grid strong {
  font-size: 26px;
  line-height: 1;
}

.activity-insights-grid small {
  color: rgba(255, 255, 255, .5);
  line-height: 1.35;
}

@media (max-width: 1150px) {
  .activity-insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .activity-insights-header {
    flex-direction: column;
  }

  .activity-insights-periods {
    width: 100%;
  }

  .activity-insights-periods button {
    flex: 1;
  }

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

@media (max-width: 450px) {
  .activity-insights-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   ACCÈS VOYAGEUR SÉCURISÉ — V5.7
===================================================== */

.guest-access-editor {
  padding: 18px;
  border: 1px solid rgba(91, 160, 255, .22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(91, 160, 255, .08), transparent 55%),
    rgba(255, 255, 255, .025);
}

.guest-access-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.guest-access-header span {
  display: block;
  margin-bottom: 4px;
  color: #a8ccff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.guest-access-header h4 {
  margin: 0;
}

.guest-access-header > strong {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  font-size: 11px;
  white-space: nowrap;
}

.guest-access-editor[data-state="active"] .guest-access-header > strong {
  background: rgba(88, 214, 141, .12);
  color: #9ce0bb;
}

.guest-access-editor[data-state="scheduled"] .guest-access-header > strong {
  background: rgba(91, 160, 255, .12);
  color: #a8ccff;
}

.guest-access-editor[data-state="disabled"] .guest-access-header > strong,
.guest-access-editor[data-state="expired"] .guest-access-header > strong {
  background: rgba(255, 111, 97, .1);
  color: #ffb1a8;
}

.guest-access-period,
.guest-access-help {
  color: var(--muted);
  line-height: 1.5;
}

.guest-access-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 14px;
}

.guest-access-link-row input {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.guest-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.danger-outline-btn {
  border: 1px solid rgba(255, 111, 97, .3) !important;
  background: rgba(255, 111, 97, .055) !important;
  color: #ffb1a8 !important;
}

.guest-access-actions button:disabled,
.guest-access-link-row button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.guest-access-help {
  margin: 11px 0 0;
  font-size: 12px;
}

@media (max-width: 650px) {
  .guest-access-header {
    flex-direction: column;
  }

  .guest-access-link-row {
    grid-template-columns: 1fr;
  }

  .guest-access-link-row button,
  .guest-access-actions button {
    width: 100%;
  }
}


/* =====================================================
   STAYSCREEN V6.0 — REFONTE DASHBOARD PREMIUM
===================================================== */

body.pro-dashboard-open {
  overflow: hidden;
  background: #f5f7fb;
}

body.pro-dashboard-open > .app > .topbar {
  display: none;
}

body.pro-dashboard-open .app {
  min-height: 100vh;
  padding: 0;
  background: #f5f7fb;
}

#dashboard.page.active {
  display: block;
  height: 100vh;
  padding: 0;
}

#dashboard .dashboard-panel {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f5f7fb;
  color: #172033;
  box-shadow: none;
}

.pro-dashboard-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  height: 100vh;
}

.pro-sidebar {
  position: relative;
  z-index: 80;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 23px 17px;
  border-right: 1px solid #e7e9f0;
  background: #fff;
  color: #172033;
}

.pro-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 27px;
}

.pro-sidebar-logo {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #685cef, #5145d8);
  color: white;
  font-size: 21px;
  box-shadow: 0 8px 20px rgba(89, 75, 222, .22);
}

.pro-sidebar-brand > div:last-child {
  display: grid;
}

.pro-sidebar-brand strong {
  font-size: 18px;
}

.pro-sidebar-brand span {
  color: #9299a8;
  font-size: 11px;
}

.pro-sidebar-nav {
  display: grid;
  gap: 5px;
}

.pro-sidebar-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #6e778b;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.pro-sidebar-nav button:hover {
  background: #f2f0ff;
  color: #5549dc;
  transform: none;
}

.pro-sidebar-nav button.active {
  background: linear-gradient(135deg, #6659ec, #5549dc);
  color: white;
  box-shadow: 0 8px 17px rgba(89, 75, 222, .18);
}

.pro-sidebar-footer {
  display: grid;
  gap: 11px;
  margin-top: auto;
}

.pro-sidebar-help {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: #f7f8fc;
}

.pro-sidebar-help > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #ebe9ff;
  color: #594dde;
  font-weight: 900;
}

.pro-sidebar-help > div {
  display: grid;
}

.pro-sidebar-help strong {
  font-size: 12px;
}

.pro-sidebar-help small {
  color: #939aaa;
  font-size: 10px;
}

.pro-sidebar-logout {
  width: 100%;
  padding: 11px;
  border: 1px solid #e4e7ee;
  border-radius: 11px;
  background: white;
  color: #697286;
}

.pro-dashboard-main {
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 27px 30px 42px;
  background: #f5f7fb;
}

.pro-mobile-header {
  display: none;
}

#dashboard .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

.pro-dashboard-kicker {
  display: block;
  margin-bottom: 5px;
  color: #7468eb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

#dashboard .panel-header h2 {
  margin: 0;
  color: #131b2b;
  font-size: clamp(25px, 2.5vw, 34px);
  letter-spacing: -.035em;
}

#dashboard .dashboard-subtitle {
  margin: 6px 0 0;
  color: #8d95a7;
  font-size: 13px;
}

.pro-dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.pro-primary-action {
  min-height: 42px;
  padding: 10px 15px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #675aec, #5145d8);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 9px 20px rgba(89, 75, 222, .19);
}

#dashboard .dashboard-session {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e5e8ef;
  border-radius: 12px;
  background: #fff;
  color: #677186;
  box-shadow: 0 5px 15px rgba(28, 38, 65, .04);
}

#dashboard .dashboard-session > div:first-child,
#dashboard .logout-button,
.pro-dashboard-back {
  display: none;
}

#dashboard #connectedUserEmail {
  max-width: 155px;
  overflow: hidden;
  color: #2a3345;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#dashboard .language-switch {
  padding: 3px;
  border-radius: 8px;
  background: #f2f4f8;
}

#dashboard .language-switch button {
  min-width: 30px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #778094;
}

#dashboard .language-switch button.active {
  background: #fff;
  color: #574bdf;
  box-shadow: 0 2px 7px rgba(30, 39, 62, .08);
}

#dashboard .dashboard-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 18px;
}

#dashboard .summary-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 102px;
  padding: 17px;
  border: 1px solid #e7eaf1;
  border-radius: 16px;
  background: #fff;
  color: #1b2436;
  box-shadow: 0 7px 21px rgba(28, 38, 65, .045);
}

#dashboard .summary-card > span:first-child {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 12px;
  background: #f0eeff;
  color: #5d51e4;
}

#dashboard .summary-card.warning > span:first-child {
  background: #fff4e8;
}

#dashboard .summary-card strong {
  display: block;
  margin-bottom: 3px;
  color: #121a2a;
  font-size: 26px;
  line-height: 1;
}

#dashboard .summary-card div > span {
  color: #9098a8;
  font-size: 11px;
}

#dashboard .activity-insights-panel,
#dashboard .priority-alerts-panel,
#dashboard .daily-operations-panel,
#dashboard .host-notifications-panel,
#dashboard .calendar-filters-panel,
#dashboard .dashboard-settings-panel {
  border: 1px solid #e7e9f0;
  background: #fff;
  color: #1a2335;
  box-shadow: 0 8px 23px rgba(28, 38, 65, .04);
}

#dashboard .activity-insights-panel,
#dashboard .priority-alerts-panel,
#dashboard .daily-operations-panel,
#dashboard .host-notifications-panel {
  margin: 0 0 18px;
  border-radius: 17px;
}

#dashboard .activity-insights-header h3,
#dashboard .priority-alerts-header h3,
#dashboard .daily-operations-header h3,
#dashboard .host-notifications-header h3,
#dashboard .calendar-filters-heading h3,
#dashboard .dashboard-settings-heading h3 {
  color: #182135;
}

#dashboard .activity-insights-header p,
#dashboard .priority-alerts-header p,
#dashboard .daily-operations-header p,
#dashboard .dashboard-settings-heading p,
#dashboard .daily-operation-title small,
#dashboard .daily-operation-meta,
#dashboard .host-notification-content small {
  color: #9299aa;
}

#dashboard .activity-insights-grid article,
#dashboard .daily-operation-column,
#dashboard .priority-alert-item,
#dashboard .host-notification-item,
#dashboard .dashboard-setting-row {
  border-color: #eceef3;
  background: #fafbfe;
}

#dashboard .activity-insights-grid strong,
#dashboard .reservation-card h3,
#dashboard .property-card h3,
#dashboard .reservation-details strong {
  color: #152034;
}

#dashboard .activity-insights-periods {
  background: #f2f4f8;
}

#dashboard .activity-insights-periods button.active {
  background: #fff;
  color: #574bdf;
  box-shadow: 0 2px 8px rgba(28, 38, 65, .08);
}

#dashboard .dashboard-tabs {
  position: sticky;
  top: -27px;
  z-index: 25;
  display: flex;
  gap: 5px;
  margin: 8px 0 16px;
  padding: 8px;
  border: 1px solid #e4e7ee;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(28, 38, 65, .05);
}

#dashboard .dashboard-tabs button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #778095;
}

#dashboard .dashboard-tabs button.active {
  background: #eeeaff;
  color: #584cdf;
}

#dashboard .calendar-filters-panel,
#dashboard .calendar-toolbar {
  padding: 16px;
  border: 1px solid #e7e9f0;
  border-radius: 15px;
  background: #fff;
  color: #1b2436;
  box-shadow: 0 8px 20px rgba(28, 38, 65, .04);
}

#dashboard input,
#dashboard select,
#dashboard textarea {
  border-color: #e2e5ed;
  background: #fff;
  color: #1d2638;
}

#dashboard .add-reservation-button,
#dashboard .add-property-button {
  border: 0;
  background: linear-gradient(135deg, #675aec, #5145d8);
  color: #fff;
  box-shadow: 0 7px 16px rgba(89, 75, 222, .17);
}

#dashboard .calendar-view-switch,
#dashboard .calendar-navigation,
#dashboard .dashboard-search {
  border-color: #e7e9f0;
  background: #f7f8fb;
  color: #687287;
}

#dashboard .reservation-card,
#dashboard .property-card {
  border-color: #e5e8ef;
  background: #fff;
  color: #1e2738;
  box-shadow: 0 7px 20px rgba(28, 38, 65, .045);
}

#dashboard .reservation-details > div,
#dashboard .reservation-internal-note {
  background: #f8f9fc;
  color: #697286;
}

#dashboard .secondary-btn,
#dashboard .calendar-export-actions button,
#dashboard .host-notifications-actions button,
#dashboard .daily-operations-header button,
#dashboard .reservation-card-actions button {
  border-color: #e1e4ec;
  background: #fff;
  color: #626c82;
}

@media (max-width: 1180px) {
  .pro-dashboard-shell {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .pro-dashboard-main {
    padding-inline: 22px;
  }

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

  .pro-primary-action {
    display: none;
  }
}

@media (max-width: 860px) {
  body.pro-dashboard-open {
    overflow: auto;
  }

  #dashboard.page.active,
  .pro-dashboard-shell,
  .pro-dashboard-main {
    height: auto;
    min-height: 100vh;
  }

  .pro-dashboard-shell {
    display: block;
  }

  .pro-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(82vw, 280px);
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 38px rgba(22, 32, 51, .16);
  }

  .pro-sidebar.open {
    transform: translateX(0);
  }

  .pro-dashboard-main {
    overflow: visible;
    padding: 0 16px 30px;
  }

  .pro-mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -16px 20px;
    padding: 13px 16px;
    border-bottom: 1px solid #e6e9f0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
  }

  .pro-mobile-header button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #e3e6ed;
    border-radius: 10px;
    background: #fff;
    color: #556078;
  }

  #dashboard .panel-header {
    align-items: flex-start;
  }

  #dashboard #connectedUserEmail,
  #dashboard .language-switch {
    display: none;
  }

  #dashboard .dashboard-tabs {
    top: 64px;
    overflow-x: auto;
  }
}

@media (max-width: 620px) {
  .pro-dashboard-main {
    padding-inline: 12px;
  }

  .pro-mobile-header {
    margin-inline: -12px;
  }

  #dashboard .dashboard-summary {
    gap: 9px;
  }

  #dashboard .summary-card {
    min-height: 92px;
    padding: 13px;
    gap: 8px;
  }

  #dashboard .summary-card > span:first-child {
    width: 34px;
    height: 34px;
  }

  #dashboard .summary-card strong {
    font-size: 22px;
  }

  #dashboard .activity-insights-panel,
  #dashboard .priority-alerts-panel,
  #dashboard .daily-operations-panel,
  #dashboard .host-notifications-panel {
    padding: 15px;
  }
}


/* =====================================================
   STAYSCREEN V6.1 — AFFINAGE VISUEL FIDÈLE À L'ÉBAUCHE
===================================================== */

/* La navigation latérale remplace les anciens onglets horizontaux. */
#dashboard .dashboard-tabs {
  display: none !important;
}

/* Sidebar plus fine et plus proche de la maquette. */
.pro-dashboard-shell {
  grid-template-columns: 228px minmax(0, 1fr);
}

.pro-sidebar {
  padding: 20px 14px 18px;
}

.pro-sidebar-brand {
  gap: 10px;
  padding: 2px 8px 24px;
}

.pro-sidebar-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 18px;
}

.pro-sidebar-brand strong {
  font-size: 16px;
  letter-spacing: -.02em;
}

.pro-sidebar-brand span {
  font-size: 10px;
}

.pro-sidebar-nav {
  gap: 4px;
}

.pro-sidebar-nav button {
  min-height: 40px;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
}

.pro-sidebar-nav button.active {
  background: #5b50df;
  box-shadow: 0 6px 14px rgba(91, 80, 223, .18);
}

.pro-sidebar-nav button:hover:not(.active) {
  background: #f3f1ff;
}

.pro-nav-icon {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  flex: 0 0 21px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.pro-sidebar-footer {
  gap: 9px;
}

.pro-sidebar-help {
  padding: 10px;
}

.pro-sidebar-logout {
  padding: 9px;
  font-size: 11px;
}

/* Contenu plus compact et mieux proportionné. */
.pro-dashboard-main {
  padding: 24px 28px 38px;
}

#dashboard .panel-header {
  margin-bottom: 18px;
}

#dashboard .panel-header h2 {
  font-size: 29px;
}

#dashboard .dashboard-subtitle {
  font-size: 12px;
}

.pro-primary-action {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12px;
}

#dashboard .dashboard-session {
  min-height: 38px;
  padding: 5px 7px;
}

#dashboard .dashboard-summary {
  gap: 11px;
  margin-bottom: 15px;
}

#dashboard .summary-card {
  min-height: 92px;
  padding: 15px;
  border-radius: 13px;
}

#dashboard .summary-card > span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

#dashboard .summary-card strong {
  font-size: 23px;
}

/* Titre interne des pages. */
.pro-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 2px 0 14px;
}

.pro-section-heading span {
  display: block;
  margin-bottom: 3px;
  color: #6d61e8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.pro-section-heading h3,
.pro-section-heading p {
  margin: 0;
}

.pro-section-heading h3 {
  color: #171f31;
  font-size: 18px;
  letter-spacing: -.02em;
}

.pro-section-heading p {
  margin-top: 4px;
  color: #9299aa;
  font-size: 11px;
}

/* Filtres compacts, sans grand espace vide. */
#dashboard .calendar-filters-panel {
  display: grid;
  gap: 13px;
  margin-bottom: 12px;
  padding: 14px 15px;
  border-radius: 13px;
}

#dashboard .calendar-filters-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 0;
  margin: 0;
}

#dashboard .calendar-filters-heading > div:first-child {
  min-width: 0;
}

#dashboard .calendar-filters-heading span {
  margin-bottom: 2px;
  font-size: 8px;
  letter-spacing: .13em;
}

#dashboard .calendar-filters-heading h3 {
  font-size: 15px;
  line-height: 1.2;
}

#dashboard .calendar-export-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: auto;
}

#dashboard .calendar-export-actions button {
  flex: 0 0 auto;
  width: auto;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

#dashboard .calendar-filters-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1.1fr 1.2fr;
  gap: 10px;
  align-items: end;
}

#dashboard .calendar-filters-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #737c8e;
  font-size: 10px;
  font-weight: 700;
}

#dashboard .calendar-filters-grid select,
#dashboard .calendar-filters-grid input {
  width: 100%;
  min-width: 0;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #e3e6ed;
  border-radius: 8px;
  background: #f9fafd;
  color: #293246;
  font-size: 11px;
  box-shadow: none;
}

#dashboard .calendar-filters-result {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin: -2px 0 0;
  color: #a0a7b5;
  font-size: 9px;
}

/* Barre du calendrier alignée comme dans la maquette. */
#dashboard .calendar-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 13px;
}

#dashboard .add-reservation-button {
  width: auto;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 11px;
  white-space: nowrap;
}

#dashboard .calendar-view-switch {
  justify-self: center;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 0;
  border-radius: 9px;
  background: #f3f5f9;
}

#dashboard .calendar-view-switch button {
  min-height: 30px;
  padding: 6px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #a0a7b6;
  font-size: 10px;
}

#dashboard .calendar-view-switch button.active {
  background: #5b50df;
  color: #fff;
  box-shadow: 0 3px 8px rgba(91, 80, 223, .16);
}

#dashboard .calendar-navigation {
  justify-self: end;
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 0;
  border-radius: 9px;
  background: #f3f5f9;
}

#dashboard .calendar-navigation button {
  min-width: 30px;
  min-height: 30px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #7f8899;
  font-size: 10px;
}

#dashboard .calendar-navigation button:last-child {
  min-width: auto;
  padding-inline: 10px;
}

#dashboard .calendar-navigation strong {
  min-width: 120px;
  padding: 7px 8px;
  color: #505a70;
  font-size: 11px;
  text-align: center;
}

/* Les cartes principales sont plus fines et régulières. */
#dashboard .activity-insights-panel,
#dashboard .priority-alerts-panel,
#dashboard .daily-operations-panel,
#dashboard .host-notifications-panel {
  padding: 16px;
  border-radius: 14px;
}

#dashboard .activity-insights-grid {
  gap: 8px;
}

#dashboard .activity-insights-grid article {
  padding: 12px;
  border-radius: 11px;
}

#dashboard .activity-insights-grid strong {
  font-size: 22px;
}

#dashboard .priority-alert-item,
#dashboard .daily-operation-item,
#dashboard .host-notification-item {
  border-radius: 10px;
}

/* Supprime tout effet de bouton énorme venant des anciens styles. */
#dashboard button {
  max-width: none;
}

#dashboard .secondary-btn,
#dashboard .calendar-export-actions button,
#dashboard .reservation-card-actions button,
#dashboard .host-notifications-actions button {
  min-height: 32px;
}

/* Responsive fidèle à la maquette. */
@media (max-width: 1100px) {
  .pro-dashboard-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  #dashboard .calendar-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #dashboard .calendar-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  #dashboard .add-reservation-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  #dashboard .calendar-view-switch {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .pro-dashboard-main {
    padding: 0 15px 28px;
  }

  #dashboard .calendar-filters-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  #dashboard .calendar-export-actions {
    width: 100%;
    overflow-x: auto;
  }

  #dashboard .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  #dashboard .calendar-view-switch,
  #dashboard .calendar-navigation,
  #dashboard .add-reservation-button {
    justify-self: stretch;
    width: 100%;
  }

  #dashboard .calendar-view-switch button {
    flex: 1;
  }

  #dashboard .calendar-navigation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
}

@media (max-width: 620px) {
  #dashboard .calendar-filters-grid {
    grid-template-columns: 1fr;
  }

  #dashboard .calendar-export-actions button {
    flex: 1 0 auto;
  }

  #dashboard .calendar-navigation strong {
    min-width: 0;
  }
}


/* =====================================================
   STAYSCREEN V6.2 — TYPOGRAPHIE ET BOUTONS AFFINÉS
===================================================== */

/* Sidebar : textes plus grands et plus lisibles */
.pro-sidebar {
  padding: 22px 16px 20px;
}

.pro-sidebar-brand {
  padding: 4px 10px 28px;
}

.pro-sidebar-logo {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.pro-sidebar-brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.pro-sidebar-brand span {
  margin-top: 2px;
  font-size: 12px;
}

.pro-sidebar-nav {
  gap: 7px;
}

.pro-sidebar-nav button {
  min-height: 48px;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.15;
}

.pro-nav-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  font-size: 16px;
}

.pro-sidebar-help {
  padding: 14px;
  border-radius: 15px;
}

.pro-sidebar-help > span {
  width: 34px;
  height: 34px;
  font-size: 17px;
}

.pro-sidebar-help strong {
  font-size: 14px;
}

.pro-sidebar-help small {
  font-size: 12px;
}

.pro-sidebar-logout {
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
}

/* Textes généraux légèrement agrandis */
#dashboard .dashboard-subtitle {
  font-size: 14px;
}

.pro-dashboard-kicker,
.pro-section-heading span,
#dashboard .calendar-filters-heading span,
#dashboard .activity-insights-header > div:first-child > span,
#dashboard .priority-alerts-header > div:first-child > span,
#dashboard .daily-operations-eyebrow,
#dashboard .host-notifications-eyebrow {
  font-size: 11px;
}

.pro-section-heading h3 {
  font-size: 21px;
}

.pro-section-heading p {
  font-size: 13px;
}

#dashboard .calendar-filters-heading h3 {
  font-size: 18px;
}

#dashboard .calendar-filters-grid label {
  font-size: 12px;
}

#dashboard .calendar-filters-grid select,
#dashboard .calendar-filters-grid input {
  height: 38px;
  font-size: 13px;
}

#dashboard .calendar-filters-result {
  font-size: 11px;
}

#dashboard .summary-card div > span {
  font-size: 12px;
}

#dashboard .activity-insights-grid span,
#dashboard .activity-insights-grid small,
#dashboard .daily-operation-title small,
#dashboard .daily-operation-meta,
#dashboard .host-notification-content small {
  font-size: 12px;
}

/* Boutons Voir le calendrier / Tout marquer comme lu */
#dashboard .daily-operations-header > button,
#dashboard .host-notifications-actions > button {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #dedff0;
  border-radius: 10px;
  background: #f6f4ff;
  color: #5a4fe0;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

#dashboard .daily-operations-header > button:hover,
#dashboard .host-notifications-actions > button:hover {
  border-color: #cfcaf8;
  background: #ebe8ff;
  color: #4f44d3;
  transform: none;
}

#dashboard .host-notifications-actions {
  align-items: center;
  gap: 10px;
}

#dashboard .host-notifications-count {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff6df;
  color: #c58a16;
  font-size: 12px;
  font-weight: 850;
}

/* Boutons export et actions du calendrier un peu plus lisibles */
#dashboard .calendar-export-actions button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}

#dashboard .add-reservation-button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
}

#dashboard .calendar-view-switch button,
#dashboard .calendar-navigation button,
#dashboard .calendar-navigation strong {
  font-size: 12px;
}

/* Titres des blocs */
#dashboard .activity-insights-header h3,
#dashboard .priority-alerts-header h3,
#dashboard .daily-operations-header h3,
#dashboard .host-notifications-header h3 {
  font-size: 20px;
}

#dashboard .activity-insights-header p,
#dashboard .priority-alerts-header p,
#dashboard .daily-operations-header p {
  font-size: 13px;
}

#dashboard .daily-operation-title strong,
#dashboard .host-notification-title-row strong {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 860px) {
  .pro-sidebar-nav button {
    min-height: 50px;
    font-size: 16px;
  }

  .pro-sidebar-brand strong {
    font-size: 20px;
  }

  #dashboard .daily-operations-header,
  #dashboard .host-notifications-header {
    align-items: flex-start;
  }

  #dashboard .host-notifications-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  #dashboard .daily-operations-header > button,
  #dashboard .host-notifications-actions > button {
    width: auto;
    min-width: 150px;
  }

  #dashboard .calendar-export-actions button {
    font-size: 11px;
  }
}


/* =====================================================
   STAYSCREEN V6.3 — LOGO, TYPOGRAPHIE ET ACTIONS
===================================================== */

/* Logo identique à l'esprit de l'ébauche */
.pro-sidebar-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #7064f4 0%, #5548df 100%);
  box-shadow: 0 12px 25px rgba(91, 76, 225, .25);
}

.pro-sidebar-logo svg {
  width: 27px;
  height: 27px;
  overflow: visible;
}

.pro-sidebar-logo svg path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Barre latérale plus lisible */
.pro-dashboard-shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

.pro-sidebar {
  padding: 24px 18px 20px;
}

.pro-sidebar-brand {
  gap: 13px;
  padding: 4px 10px 31px;
}

.pro-sidebar-brand strong {
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.035em;
}

.pro-sidebar-brand span {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.2;
}

.pro-sidebar-nav {
  gap: 8px;
}

.pro-sidebar-nav button {
  min-height: 52px;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 13px;
  font-size: 17px;
  font-weight: 760;
}

.pro-nav-icon {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  font-size: 17px;
}

.pro-sidebar-help {
  padding: 15px;
  border-radius: 16px;
}

.pro-sidebar-help > span {
  width: 38px;
  height: 38px;
  font-size: 20px;
}

.pro-sidebar-help strong {
  font-size: 16px;
}

.pro-sidebar-help small {
  font-size: 13px;
}

.pro-sidebar-logout {
  min-height: 48px;
  font-size: 15px;
}

/* Tous les petits textes du dashboard sont renforcés */
#dashboard .dashboard-subtitle,
#dashboard .activity-insights-header p,
#dashboard .priority-alerts-header p,
#dashboard .daily-operations-header p,
#dashboard .dashboard-settings-heading p,
.pro-section-heading p {
  font-size: 14px;
}

.pro-dashboard-kicker,
.pro-section-heading span,
#dashboard .calendar-filters-heading span,
#dashboard .activity-insights-header > div:first-child > span,
#dashboard .priority-alerts-header > div:first-child > span,
#dashboard .daily-operations-eyebrow,
#dashboard .host-notifications-eyebrow {
  font-size: 12px;
}

#dashboard .activity-insights-grid span,
#dashboard .activity-insights-grid small,
#dashboard .daily-operation-title small,
#dashboard .daily-operation-meta,
#dashboard .host-notification-content small,
#dashboard .calendar-filters-result {
  font-size: 13px;
}

#dashboard .calendar-filters-grid label {
  font-size: 13px;
}

#dashboard .calendar-filters-grid select,
#dashboard .calendar-filters-grid input {
  height: 41px;
  font-size: 14px;
}

#dashboard .summary-card div > span {
  font-size: 13px;
}

#dashboard .daily-operation-title strong,
#dashboard .host-notification-title-row strong {
  font-size: 15px;
}

/* Boutons propres, comme dans l'ébauche */
#dashboard .dashboard-link-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto !important;
  min-width: 164px;
  min-height: 42px;
  padding: 10px 15px !important;
  border: 1px solid #ddd9ff !important;
  border-radius: 11px !important;
  background: #f2f0ff !important;
  color: #574bdf !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(88, 76, 223, .08) !important;
  cursor: pointer;
}

#dashboard .dashboard-link-button:hover {
  border-color: #cbc5ff !important;
  background: #e8e4ff !important;
  color: #493ed0 !important;
  transform: translateY(-1px);
}

#dashboard .dashboard-link-button-compact {
  min-width: 190px;
}

#dashboard .dashboard-link-arrow,
#dashboard .dashboard-link-check {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: #574bdf;
  font-size: 14px;
  box-shadow: 0 2px 7px rgba(88, 76, 223, .1);
}

#dashboard .host-notifications-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#dashboard .host-notifications-count {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff5dc;
  color: #b77b0b;
  font-size: 13px;
  font-weight: 850;
}

/* Titres légèrement plus présents */
#dashboard .activity-insights-header h3,
#dashboard .priority-alerts-header h3,
#dashboard .daily-operations-header h3,
#dashboard .host-notifications-header h3 {
  font-size: 22px;
}

/* Responsive */
@media (max-width: 1180px) {
  .pro-dashboard-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .pro-sidebar-brand strong {
    font-size: 21px;
  }

  .pro-sidebar-nav button {
    font-size: 16px;
  }
}

@media (max-width: 860px) {
  .pro-sidebar {
    width: min(86vw, 300px);
  }

  .pro-sidebar-brand strong {
    font-size: 23px;
  }

  .pro-sidebar-nav button {
    min-height: 54px;
    font-size: 17px;
  }

  #dashboard .host-notifications-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  #dashboard .dashboard-link-button,
  #dashboard .dashboard-link-button-compact {
    width: 100% !important;
    min-width: 0;
  }
}


/* =====================================================
   STAYSCREEN V6.4 — SIDEBAR FIDÈLE À LA MAQUETTE
===================================================== */

.pro-dashboard-shell {
  grid-template-columns: 222px minmax(0, 1fr);
}

.pro-sidebar {
  padding: 22px 14px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 15% 0%, rgba(78,70,216,.16), transparent 32%),
    linear-gradient(180deg, #0d1a34 0%, #09162e 100%);
  color: #ffffff;
}

.pro-sidebar-brand {
  gap: 9px;
  padding: 3px 10px 25px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.pro-sidebar-logo {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 9px;
  background: transparent;
  box-shadow: none;
}

.pro-sidebar-logo svg {
  width: 32px;
  height: 32px;
}

.pro-sidebar-logo .logo-tile {
  fill: url(#stayLogoGradient);
  stroke: rgba(255,255,255,.16);
  stroke-width: .6;
}

.pro-sidebar-logo .logo-house,
.pro-sidebar-logo .logo-door,
.pro-sidebar-logo .logo-lock {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pro-sidebar-brand-copy {
  display: grid;
  align-items: center;
}

.pro-sidebar-brand strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.pro-sidebar-nav {
  gap: 4px;
  padding-top: 16px;
}

.pro-sidebar-nav button {
  min-height: 40px;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 9px;
  background: transparent;
  color: rgba(234,239,250,.72);
  font-size: 12px;
  font-weight: 650;
}

.pro-sidebar-nav button:hover:not(.active) {
  background: rgba(255,255,255,.055);
  color: #ffffff;
}

.pro-sidebar-nav button.active {
  background: linear-gradient(135deg, #6b5df1 0%, #5144db 100%);
  color: #ffffff;
  box-shadow: 0 8px 19px rgba(65,53,204,.28);
}

.pro-nav-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
}

.pro-nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pro-sidebar-divider {
  height: 1px;
  margin: 9px 7px;
  background: rgba(255,255,255,.07);
}

.pro-sidebar-footer {
  margin-top: auto;
}

.pro-sidebar-help {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(234,239,250,.72);
  font-size: 11px;
  font-weight: 650;
  text-align: left;
}

.pro-sidebar-help:hover {
  background: rgba(255,255,255,.055);
  color: #ffffff;
  transform: none;
}

.pro-sidebar-help .pro-nav-icon {
  color: rgba(234,239,250,.78);
}

.pro-sidebar-logout {
  display: none !important;
}

/* L’en-tête principal se rapproche également de la maquette. */
.pro-dashboard-main {
  padding: 25px 28px 40px;
  background:
    radial-gradient(circle at 82% 3%, rgba(100,88,235,.055), transparent 24%),
    #f6f7fb;
}

#dashboard .panel-header {
  margin-bottom: 20px;
}

.pro-dashboard-kicker {
  display: none;
}

#dashboard .panel-header h2 {
  font-size: 27px;
  font-weight: 830;
}

#dashboard .dashboard-subtitle {
  margin-top: 4px;
  font-size: 12px;
}

#dashboard .summary-card {
  min-height: 118px;
  padding: 18px 17px;
  border-radius: 15px;
}

#dashboard .summary-card > span:first-child {
  display: none;
}

#dashboard .summary-card {
  grid-template-columns: 1fr;
}

#dashboard .summary-card strong {
  margin-top: 12px;
  font-size: 31px;
}

#dashboard .summary-card div > span {
  font-size: 12px;
}

/* Taille cohérente sur les petits écrans. */
@media (max-width: 1180px) {
  .pro-dashboard-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .pro-sidebar {
    width: min(82vw, 248px);
  }

  .pro-sidebar-brand strong {
    font-size: 15px;
  }

  .pro-sidebar-nav button {
    min-height: 44px;
    font-size: 13px;
  }
}


/* =====================================================
   STAYSCREEN V6.5 — AIDE + TRADUCTION
===================================================== */

.pro-sidebar-help {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 11px 12px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.055) !important;
  color: #ffffff !important;
  text-align: left;
  overflow: hidden;
}

.pro-sidebar-help:hover {
  border-color: rgba(121,107,246,.45) !important;
  background: rgba(112,98,240,.13) !important;
  transform: translateY(-1px);
}

.pro-sidebar-help-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #7468f4, #5548df);
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(73,60,204,.24);
}

.pro-sidebar-help-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pro-sidebar-help-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
  line-height: 1.2;
}

.pro-sidebar-help-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-sidebar-help-copy small {
  overflow: hidden;
  color: rgba(224,230,244,.62);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-sidebar-help-arrow {
  color: rgba(255,255,255,.62);
  font-size: 15px;
  transition: transform .18s ease;
}

.pro-sidebar-help:hover .pro-sidebar-help-arrow {
  transform: translateX(2px);
  color: #ffffff;
}

@media (max-width: 860px) {
  .pro-sidebar-help-copy strong {
    font-size: 13px;
  }

  .pro-sidebar-help-copy small {
    font-size: 11px;
  }
}


/* =====================================================
   STAYSCREEN V6.6 — LOGO ET NOM PLUS GRANDS
===================================================== */

.pro-sidebar-brand {
  gap: 14px;
  padding: 8px 12px 30px;
}

.pro-sidebar-logo {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 13px;
}

.pro-sidebar-logo svg {
  width: 50px;
  height: 50px;
}

.pro-sidebar-brand-copy {
  min-width: 0;
}

.pro-sidebar-brand strong {
  display: block;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .pro-sidebar-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .pro-sidebar-logo svg {
    width: 46px;
    height: 46px;
  }

  .pro-sidebar-brand strong {
    font-size: 22px;
  }
}

@media (max-width: 860px) {
  .pro-sidebar-brand {
    padding-top: 10px;
  }

  .pro-sidebar-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .pro-sidebar-logo svg {
    width: 52px;
    height: 52px;
  }

  .pro-sidebar-brand strong {
    font-size: 26px;
  }
}


/* =====================================================
   STAYSCREEN V6.7 — BOUTON AIDE CORRIGÉ
===================================================== */

.pro-sidebar-help-card {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 28px !important;
  align-items: center !important;
  gap: 11px !important;
  width: 100% !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.045) !important;
  color: #ffffff !important;
  text-align: left !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.pro-sidebar-help-card:hover {
  border-color: rgba(116,104,244,.45) !important;
  background: rgba(116,104,244,.11) !important;
  transform: translateY(-1px) !important;
}

.pro-sidebar-help-card-icon {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, #7569f5, #584adf) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(80,65,205,.24) !important;
}

.pro-sidebar-help-card-icon svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.pro-sidebar-help-card-copy {
  display: grid !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 3px !important;
  background: transparent !important;
  color: inherit !important;
  overflow: hidden !important;
}

.pro-sidebar-help-card-copy strong {
  display: block !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.pro-sidebar-help-card-copy small {
  display: block !important;
  margin: 0 !important;
  color: rgba(224,230,244,.62) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.pro-sidebar-help-card-chevron {
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center !important;
  border-radius: 9px !important;
  background: rgba(255,255,255,.07) !important;
  color: rgba(255,255,255,.72) !important;
}

.pro-sidebar-help-card-chevron svg {
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.pro-sidebar-help-card:hover .pro-sidebar-help-card-chevron {
  background: rgba(116,104,244,.22) !important;
  color: #ffffff !important;
}

@media (max-width: 860px) {
  .pro-sidebar-help-card {
    min-height: 76px !important;
  }

  .pro-sidebar-help-card-copy strong {
    font-size: 15px !important;
  }

  .pro-sidebar-help-card-copy small {
    font-size: 12px !important;
  }
}


/* =====================================================
   STAYSCREEN V6.8 — FICHE RÉSERVATION PREMIUM
===================================================== */

body:not(.pro-dashboard-open) #stay.page.active {
  display: block;
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at 82% 0%, rgba(103, 90, 236, .08), transparent 30%),
    #f6f7fb;
}

#stay .stay-panel {
  width: min(1500px, 100%);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #e5e8ef;
  border-radius: 22px;
  background: #ffffff;
  color: #172033;
  box-shadow: 0 18px 48px rgba(28, 38, 65, .08);
  overflow: hidden;
}

#stay .panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 22px 26px;
  border-bottom: 1px solid #eceef3;
  background: #ffffff;
}

#stay .panel-header .back {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #e1e4ec;
  border-radius: 10px;
  background: #ffffff;
  color: #667085;
  font-size: 13px;
  font-weight: 750;
}

#stay .panel-header h2 {
  margin: 0;
  color: #151d2e;
  font-size: 26px;
  letter-spacing: -.03em;
}

#stay .dashboard-subtitle {
  margin: 5px 0 0;
  color: #8c94a6;
  font-size: 13px;
}

#stay .language-switch {
  padding: 4px;
  border-radius: 10px;
  background: #f2f4f8;
}

#stay .language-switch button {
  min-width: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #717b8e;
}

#stay .language-switch button.active {
  background: #ffffff;
  color: #584cdf;
  box-shadow: 0 3px 8px rgba(28, 38, 65, .08);
}

.stay-premium-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 5px;
  padding: 10px 26px;
  border-bottom: 1px solid #eceef3;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.stay-premium-tabs button {
  min-height: 38px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #7c8597;
  font-size: 12px;
  font-weight: 800;
}

.stay-premium-tabs button.active {
  background: #eeeaff;
  color: #584cdf;
}

#stay .stay-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) minmax(460px, 1.35fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: #f8f9fc;
}

#stay .stay-summary-card,
#stay .stay-details,
#stay .stay-editor {
  border: 1px solid #e5e8ef;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(28, 38, 65, .045);
}

#stay .stay-summary-card {
  position: sticky;
  top: 76px;
  overflow: hidden;
}

#stay .stay-cover {
  min-height: 190px;
  border-radius: 0;
}

#stay .stay-cover::after {
  background: linear-gradient(180deg, transparent 35%, rgba(9, 18, 36, .74));
}

#stay .stay-cover span {
  left: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
}

#stay .stay-info {
  padding: 17px;
}

#stay .stay-info h3 {
  margin: 0;
  color: #151e31;
  font-size: 18px;
}

#stay .stay-info p {
  margin: 5px 0 12px;
  color: #8c94a5;
  font-size: 12px;
}

#stay .stay-status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #27875d;
  font-size: 11px;
  font-weight: 850;
}

#stay .stay-details {
  padding: 18px;
}

.stay-details-heading,
.stay-editor-heading {
  margin-bottom: 15px;
}

.stay-details-heading > span,
.stay-editor-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: #6a5ee8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.stay-details-heading h3,
.stay-editor-heading h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
}

#stay .detail-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0f4;
}

#stay .detail-row span {
  color: #8a92a3;
  font-size: 12px;
}

#stay .detail-row strong {
  max-width: 190px;
  color: #263044;
  font-size: 12px;
  text-align: right;
}

#stay .stay-options-preview,
#stay .stay-message-preview {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f8f9fc;
}

#stay .stay-options-preview h3,
#stay .stay-message-preview h3 {
  margin: 0 0 9px;
  color: #263044;
  font-size: 13px;
}

#stay .stay-message-preview p {
  color: #70798c;
  line-height: 1.5;
}

#stay .stay-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  scroll-margin-top: 74px;
}

.stay-editor-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eceef3;
}

.stay-editor-heading p {
  margin: 5px 0 0;
  color: #8b93a4;
  font-size: 12px;
}

.stay-editor-security {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef8f3;
  color: #27875d;
  font-size: 10px;
  font-weight: 850;
}

#stay .stay-editor > label,
#stay .guest-count-grid label,
#stay .cleaning-assignment-editor label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

#stay input,
#stay select,
#stay textarea {
  width: 100%;
  min-height: 41px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #dfe3eb;
  border-radius: 9px;
  background: #ffffff;
  color: #222c3f;
  font-size: 13px;
  box-shadow: none;
}

#stay textarea {
  min-height: 92px;
  resize: vertical;
}

#stay input:focus,
#stay select:focus,
#stay textarea:focus {
  border-color: #8176ee;
  outline: 3px solid rgba(103, 90, 236, .1);
}

#stay .guest-count-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

#stay .guest-access-editor,
#stay .option-editor,
#stay .cleaning-assignment-editor,
#stay .cleaning-checklist-editor {
  grid-column: 1 / -1;
  scroll-margin-top: 74px;
}

#stay .guest-access-editor,
#stay .cleaning-assignment-editor,
#stay .cleaning-checklist-editor,
#stay .option-editor {
  padding: 17px;
  border: 1px solid #e5e8ef;
  border-radius: 14px;
  background: #fafbfe;
  box-shadow: none;
}

#stay .guest-access-editor {
  border-color: #ded9ff;
  background:
    linear-gradient(135deg, rgba(103, 90, 236, .06), transparent 58%),
    #fbfaff;
}

#stay .guest-access-header h4,
#stay .cleaning-assignment-header h4,
#stay .cleaning-checklist-header h4,
#stay .option-editor h4 {
  color: #202a3d;
  font-size: 15px;
}

#stay .option-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

#stay .option-editor h4 {
  grid-column: 1 / -1;
  margin: 0 0 3px;
}

#stay .option-check,
#stay .cleaning-check-item {
  display: flex !important;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  background: #ffffff;
  color: #596376;
  font-size: 12px;
}

#stay .option-check input,
#stay .cleaning-check-item input {
  width: 17px;
  height: 17px;
  min-height: 0;
  padding: 0;
}

#stay .reservation-editor-actions {
  position: sticky;
  bottom: 0;
  z-index: 15;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px -20px -20px;
  padding: 14px 20px;
  border-top: 1px solid #e7e9ef;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

#stay .reservation-editor-actions button {
  min-height: 39px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

#stay .reservation-editor-actions .primary-btn {
  margin-right: auto;
  background: linear-gradient(135deg, #675aec, #5145d8);
  color: #ffffff;
  box-shadow: 0 7px 17px rgba(89, 75, 222, .18);
}

#stay .reservation-editor-actions .secondary-btn {
  border: 1px solid #dfe2e9;
  background: #ffffff;
  color: #616b7e;
}

#stay .reservation-editor-actions .danger-btn {
  border: 1px solid #ffd6d1;
  background: #fff5f3;
  color: #c94d42;
}

#stay #saveConfirmation {
  grid-column: 1 / -1;
}

@media (max-width: 1180px) {
  #stay .stay-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  #stay .stay-editor {
    grid-column: 1 / -1;
  }

  #stay .stay-summary-card {
    position: static;
  }
}

@media (max-width: 760px) {
  body:not(.pro-dashboard-open) #stay.page.active {
    padding: 0;
  }

  #stay .stay-panel {
    border: 0;
    border-radius: 0;
  }

  #stay .panel-header {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
  }

  #stay .panel-header .language-switch {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .stay-premium-tabs {
    padding: 9px 12px;
    overflow-x: auto;
  }

  .stay-premium-tabs button {
    flex: 0 0 auto;
  }

  #stay .stay-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  #stay .stay-editor {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  #stay .stay-editor > *,
  #stay .guest-count-grid,
  #stay .guest-access-editor,
  #stay .option-editor,
  #stay .cleaning-assignment-editor,
  #stay .cleaning-checklist-editor {
    grid-column: 1;
  }

  #stay .guest-count-grid {
    grid-template-columns: 1fr;
  }

  #stay .option-editor {
    grid-template-columns: 1fr;
  }

  #stay .reservation-editor-actions {
    margin-inline: -16px;
    margin-bottom: -16px;
    padding: 12px 16px;
  }

  #stay .reservation-editor-actions button {
    flex: 1 1 100%;
  }

  #stay .reservation-editor-actions .primary-btn {
    margin-right: 0;
  }
}


/* =====================================================
   STAYSCREEN V6.9 — FICHE RÉSERVATION CENTRÉE ET SCROLLABLE
===================================================== */

/* La page entière défile : aucun contenu ne reste bloqué ou masqué. */
body:not(.pro-dashboard-open) {
  overflow-y: auto;
}

body:not(.pro-dashboard-open) .app {
  min-height: 100vh;
  overflow: visible;
}

body:not(.pro-dashboard-open) #stay.page.active {
  display: block;
  min-height: 100vh;
  height: auto;
  padding: 26px;
  overflow: visible;
}

#stay .stay-panel {
  width: min(1320px, 100%);
  max-width: 1320px;
  max-height: none !important;
  height: auto;
  margin: 0 auto;
  overflow: visible !important;
}

/* En-tête et onglets gardent leurs coins sans couper le contenu. */
#stay .panel-header {
  border-radius: 22px 22px 0 0;
}

#stay .stay-premium-tabs {
  top: 0;
}

/* Deux vraies colonnes :
   résumé à gauche, formulaire complet à droite. */
#stay .stay-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  grid-template-areas:
    "summary editor"
    "details editor";
  gap: 18px;
  align-items: start;
  width: 100%;
  padding: 20px;
  overflow: visible;
}

#stay .stay-summary-card {
  grid-area: summary;
  position: sticky;
  top: 72px;
  min-width: 0;
}

#stay .stay-details {
  grid-area: details;
  min-width: 0;
}

#stay .stay-editor {
  grid-area: editor;
  width: 100%;
  min-width: 0;
  align-self: start;
  overflow: visible;
}

/* Tous les blocs du formulaire restent dans la largeur disponible. */
#stay .stay-editor > *,
#stay .guest-count-grid,
#stay .guest-access-editor,
#stay .option-editor,
#stay .cleaning-assignment-editor,
#stay .cleaning-checklist-editor,
#stay .reservation-editor-actions {
  min-width: 0;
  max-width: 100%;
}

#stay .guest-access-link-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

#stay .guest-access-link-row input {
  min-width: 0;
}

/* Les options affichent toutes les lignes sans hauteur forcée. */
#stay .option-editor {
  height: auto;
  max-height: none;
  overflow: visible;
}

#stay .option-check {
  min-width: 0;
}

/* La barre d’actions reste visible, sans bloquer le défilement. */
#stay .reservation-editor-actions {
  position: sticky;
  bottom: 12px;
  z-index: 30;
  margin: 8px -20px -20px;
  border: 1px solid #e7e9ef;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 24px rgba(28, 38, 65, .07);
}

/* Les ancres ne sont plus cachées sous les onglets collants. */
#stay #stayEditorCore,
#stay #stayOptionsEditor,
#stay #cleaningAssignmentEditor,
#stay #guestAccessEditor,
#stay #cleaningChecklistEditor {
  scroll-margin-top: 78px;
}

/* Évite toute coupure horizontale. */
#stay,
#stay .stay-panel,
#stay .stay-layout,
#stay .stay-editor {
  box-sizing: border-box;
}

/* Tablette : résumé en haut, formulaire ensuite. */
@media (max-width: 1080px) {
  body:not(.pro-dashboard-open) #stay.page.active {
    padding: 18px;
  }

  #stay .stay-layout {
    grid-template-columns: minmax(250px, .75fr) minmax(0, 1.6fr);
  }

  #stay .stay-editor {
    grid-template-columns: 1fr;
  }

  #stay .stay-editor > *,
  #stay .guest-count-grid,
  #stay .guest-access-editor,
  #stay .option-editor,
  #stay .cleaning-assignment-editor,
  #stay .cleaning-checklist-editor {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body:not(.pro-dashboard-open) #stay.page.active {
    padding: 0;
  }

  #stay .stay-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  #stay .stay-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "details"
      "editor";
    padding: 12px;
  }

  #stay .stay-summary-card {
    position: static;
  }

  #stay .stay-editor {
    grid-template-columns: 1fr;
  }

  #stay .guest-count-grid,
  #stay .option-editor {
    grid-template-columns: 1fr;
  }

  #stay .reservation-editor-actions {
    position: static;
    margin: 8px -16px -16px;
    border-radius: 0;
    box-shadow: none;
  }
}


/* =====================================================
   STAYSCREEN V6.10 — RÉSERVATION DANS L’INTERFACE PRO
===================================================== */

body.stay-editor-open {
  overflow: hidden;
  background: #f6f7fb;
}

body.stay-editor-open > .app > .topbar {
  display: none !important;
}

body.stay-editor-open .app {
  min-height: 100vh;
  padding: 0 !important;
  background: #f6f7fb !important;
}

body.stay-editor-open #stay.page.active {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: 0 !important;
  overflow: hidden;
  background: #f6f7fb !important;
}

.stay-pro-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  background: #f6f7fb;
}

/* Barre latérale identique au nouveau dashboard */
.stay-pro-sidebar {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 22px 14px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 15% 0%, rgba(78,70,216,.16), transparent 32%),
    linear-gradient(180deg, #0d1a34 0%, #09162e 100%);
  color: #ffffff;
}

.stay-pro-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.stay-pro-logo {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
}

.stay-pro-logo svg {
  width: 38px;
  height: 38px;
}

.stay-editor-logo-tile {
  fill: url(#stayEditorLogoGradient);
  stroke: rgba(255,255,255,.16);
  stroke-width: .6;
}

.stay-editor-logo-house,
.stay-editor-logo-door,
.stay-editor-logo-lock {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stay-pro-brand strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.stay-pro-back {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 18px 0 20px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: #ffffff;
  text-align: left;
}

.stay-pro-back:hover {
  background: rgba(112,98,240,.13);
  transform: none;
}

.stay-pro-back-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7468f4, #5548df);
  font-size: 17px;
}

.stay-pro-back > span:last-child {
  display: grid;
  gap: 2px;
}

.stay-pro-back strong {
  color: #ffffff;
  font-size: 13px;
}

.stay-pro-back small {
  color: rgba(224,230,244,.62);
  font-size: 10px;
}

.stay-pro-section-label {
  padding: 0 10px 8px;
  color: rgba(224,230,244,.42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.stay-pro-nav {
  display: grid;
  gap: 5px;
}

.stay-pro-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(234,239,250,.72);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.stay-pro-nav button > span {
  display: grid;
  width: 20px;
  place-items: center;
}

.stay-pro-nav button:hover {
  background: rgba(255,255,255,.055);
  color: #ffffff;
  transform: none;
}

.stay-pro-nav button.active {
  background: linear-gradient(135deg, #6b5df1, #5144db);
  color: #ffffff;
  box-shadow: 0 8px 19px rgba(65,53,204,.28);
}

.stay-pro-sidebar-footer {
  margin-top: auto;
}

.stay-pro-sidebar-footer button {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: transparent;
  color: rgba(234,239,250,.68);
  font-size: 11px;
}

.stay-pro-sidebar-footer button:hover {
  background: rgba(255,255,255,.055);
  color: #ffffff;
  transform: none;
}

/* Partie principale : centrée et scrollable */
.stay-pro-main {
  height: 100vh;
  min-width: 0;
  overflow-y: auto;
  padding: 24px 28px 40px;
  background:
    radial-gradient(circle at 82% 0%, rgba(103,90,236,.06), transparent 28%),
    #f6f7fb;
}

body.stay-editor-open #stay .stay-panel {
  width: min(1320px, 100%);
  max-width: 1320px;
  min-height: auto;
  height: auto;
  margin: 0 auto;
  overflow: visible !important;
  border: 1px solid #e5e8ef;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(28,38,65,.08);
}

body.stay-editor-open #stay .panel-header {
  position: sticky;
  top: 0;
  z-index: 35;
  grid-template-columns: auto minmax(0, 1fr) auto;
  border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
}

body.stay-editor-open #stay .stay-header-back {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #ddd9ff;
  border-radius: 10px;
  background: #f2f0ff;
  color: #574bdf;
  font-size: 12px;
  font-weight: 800;
}

body.stay-editor-open #stay .stay-header-back:hover {
  background: #e8e4ff;
  transform: none;
}

body.stay-editor-open #stay .stay-premium-tabs {
  top: 85px;
}

body.stay-editor-open #stay .stay-layout {
  grid-template-columns: 310px minmax(0, 1fr);
  grid-template-areas:
    "summary editor"
    "details editor";
  width: 100%;
  min-height: auto;
  overflow: visible;
}

body.stay-editor-open #stay .stay-editor {
  overflow: visible;
}

body.stay-editor-open #stay .reservation-editor-actions {
  position: sticky;
  bottom: 0;
}

/* Tablette */
@media (max-width: 1050px) {
  .stay-pro-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .stay-pro-main {
    padding: 18px;
  }

  body.stay-editor-open #stay .stay-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

/* Mobile : barre latérale supprimée, bouton retour maintenu en haut */
@media (max-width: 820px) {
  body.stay-editor-open {
    overflow-y: auto;
  }

  body.stay-editor-open #stay.page.active,
  .stay-pro-shell,
  .stay-pro-main {
    height: auto;
    min-height: 100vh;
  }

  .stay-pro-shell {
    display: block;
  }

  .stay-pro-sidebar {
    display: none;
  }

  .stay-pro-main {
    overflow: visible;
    padding: 0;
  }

  body.stay-editor-open #stay .stay-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  body.stay-editor-open #stay .panel-header {
    top: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 0;
  }

  body.stay-editor-open #stay .stay-header-back {
    justify-self: start;
  }

  body.stay-editor-open #stay .stay-premium-tabs {
    top: 147px;
  }

  body.stay-editor-open #stay .stay-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "summary"
      "details"
      "editor";
  }
}


/* =====================================================
   STAYSCREEN V6.11 — FICHE LOGEMENT PREMIUM
===================================================== */

body.property-editor-open {
  overflow: hidden;
  background: #f6f7fb;
}

body.property-editor-open > .app > .topbar {
  display: none !important;
}

body.property-editor-open .app {
  min-height: 100vh;
  padding: 0 !important;
  background: #f6f7fb !important;
}

body.property-editor-open #propertyFormPage.page.active {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: 0 !important;
  overflow: hidden;
  background: #f6f7fb !important;
}

.property-pro-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
}

.property-pro-sidebar {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 22px 14px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(circle at 15% 0%, rgba(78,70,216,.16), transparent 32%),
    linear-gradient(180deg, #0d1a34 0%, #09162e 100%);
  color: #ffffff;
}

.property-pro-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.property-pro-logo {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
}

.property-pro-logo svg {
  width: 38px;
  height: 38px;
}

.property-editor-logo-tile {
  fill: url(#propertyEditorLogoGradient);
  stroke: rgba(255,255,255,.16);
  stroke-width: .6;
}

.property-editor-logo-house,
.property-editor-logo-door {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.property-pro-brand strong {
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.property-pro-back {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 18px 0 20px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: #ffffff;
  text-align: left;
}

.property-pro-back:hover {
  background: rgba(112,98,240,.13);
  transform: none;
}

.property-pro-back-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7468f4, #5548df);
  font-size: 17px;
}

.property-pro-back > span:last-child {
  display: grid;
  gap: 2px;
}

.property-pro-back strong {
  color: #ffffff;
  font-size: 13px;
}

.property-pro-back small {
  color: rgba(224,230,244,.62);
  font-size: 10px;
}

.property-pro-section-label {
  padding: 0 10px 8px;
  color: rgba(224,230,244,.42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.property-pro-nav {
  display: grid;
  gap: 5px;
}

.property-pro-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(234,239,250,.72);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.property-pro-nav button > span {
  display: grid;
  width: 20px;
  place-items: center;
}

.property-pro-nav button:hover {
  background: rgba(255,255,255,.055);
  color: #ffffff;
  transform: none;
}

.property-pro-nav button.active {
  background: linear-gradient(135deg, #6b5df1, #5144db);
  color: #ffffff;
  box-shadow: 0 8px 19px rgba(65,53,204,.28);
}

.property-pro-sidebar-footer {
  margin-top: auto;
}

.property-pro-sidebar-footer button {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: transparent;
  color: rgba(234,239,250,.68);
  font-size: 11px;
}

.property-pro-sidebar-footer button:hover {
  background: rgba(255,255,255,.055);
  color: #ffffff;
  transform: none;
}

.property-pro-main {
  height: 100vh;
  min-width: 0;
  overflow-y: auto;
  padding: 24px 28px 40px;
  background:
    radial-gradient(circle at 82% 0%, rgba(103,90,236,.06), transparent 28%),
    #f6f7fb;
}

body.property-editor-open .property-form-panel {
  width: min(1260px, 100%);
  max-width: 1260px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 1px solid #e5e8ef;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(28,38,65,.08);
}

body.property-editor-open .property-form-panel > .panel-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 20px 22px;
  border-bottom: 1px solid #eceef3;
  border-radius: 20px 20px 0 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
}

.property-header-back {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #ddd9ff !important;
  border-radius: 10px !important;
  background: #f2f0ff !important;
  color: #574bdf !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.property-editor-kicker {
  display: block;
  margin-bottom: 4px;
  color: #6a5ee8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

body.property-editor-open .property-form-panel h2 {
  margin: 0;
  color: #172033;
  font-size: 25px;
  letter-spacing: -.03em;
}

body.property-editor-open .property-form-panel .panel-header p {
  margin: 4px 0 0;
  color: #8b93a4;
  font-size: 12px;
}

.property-editor-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef8f3;
  color: #27875d;
  font-size: 10px;
  font-weight: 850;
}

.property-editor-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35a875;
}

.property-editor-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  background: #f8f9fc;
}

.property-preview-card {
  position: sticky;
  top: 98px;
  overflow: hidden;
  border: 1px solid #e5e8ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(28,38,65,.045);
}

.property-preview-image {
  position: relative;
  min-height: 210px;
  background-position: center;
  background-size: cover;
}

.property-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(9,18,36,.78));
}

.property-preview-image > span {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 15px;
  z-index: 2;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-preview-content {
  padding: 17px;
}

.property-preview-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #6a5ee8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.property-preview-content h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
}

.property-preview-content p {
  margin: 4px 0 13px;
  color: #8b93a4;
  font-size: 12px;
}

.property-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.property-preview-meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f2f4f8;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
}

.property-preview-meta span:last-child {
  background: #eaf8f1;
  color: #27875d;
}

.property-form-premium {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.property-editor-section {
  scroll-margin-top: 95px;
  padding: 18px;
  border: 1px solid #e5e8ef;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(28,38,65,.04);
}

.property-editor-section-heading {
  margin-bottom: 15px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eef0f4;
}

.property-editor-section-heading span {
  display: block;
  margin-bottom: 4px;
  color: #6a5ee8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.property-editor-section-heading h3 {
  margin: 0;
  color: #172033;
  font-size: 18px;
}

.property-editor-section-heading p {
  margin: 4px 0 0;
  color: #8b93a4;
  font-size: 12px;
}

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

.property-form-premium label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.property-form-premium input,
.property-form-premium select {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #dfe3eb;
  border-radius: 9px;
  background: #ffffff;
  color: #222c3f;
  font-size: 13px;
  box-shadow: none;
}

.property-form-premium input:focus,
.property-form-premium select:focus {
  border-color: #8176ee;
  outline: 3px solid rgba(103,90,236,.1);
}

.property-image-field small {
  color: #9aa1b0;
  font-size: 10px;
  font-weight: 500;
}

.property-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 13px 0 0;
  background: linear-gradient(180deg, transparent, #f8f9fc 24%);
}

.property-form-actions button {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.property-form-actions .primary-btn {
  background: linear-gradient(135deg, #675aec, #5145d8);
  color: #ffffff;
  box-shadow: 0 7px 17px rgba(89,75,222,.18);
}

.property-form-actions .secondary-btn {
  border: 1px solid #dfe2e9;
  background: #ffffff;
  color: #616b7e;
}

@media (max-width: 1050px) {
  .property-pro-shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .property-pro-main {
    padding: 18px;
  }

  .property-editor-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

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

@media (max-width: 820px) {
  body.property-editor-open {
    overflow-y: auto;
  }

  body.property-editor-open #propertyFormPage.page.active,
  .property-pro-shell,
  .property-pro-main {
    height: auto;
    min-height: 100vh;
  }

  .property-pro-shell {
    display: block;
  }

  .property-pro-sidebar {
    display: none;
  }

  .property-pro-main {
    overflow: visible;
    padding: 0;
  }

  body.property-editor-open .property-form-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  body.property-editor-open .property-form-panel > .panel-header {
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .property-header-back {
    justify-self: start;
  }

  .property-editor-status {
    justify-self: start;
  }

  .property-editor-layout {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .property-preview-card {
    position: static;
  }

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

  .property-form-actions {
    position: static;
    flex-direction: column-reverse;
  }

  .property-form-actions button {
    width: 100%;
  }
}


/* =====================================================
   STAYSCREEN V6.12 — MENU LOGEMENT + MESSAGES + DEMANDES
===================================================== */

/* Menu logement : tous les éléments sont accessibles */
.property-menu {
  width: 280px;
  max-height: calc(100vh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(128,115,244,.7) rgba(255,255,255,.05);
}

.property-menu::-webkit-scrollbar {
  width: 7px;
}

.property-menu::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}

.property-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(128,115,244,.7);
}

.property-menu.open {
  display: grid;
  gap: 4px;
}

.property-menu button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 12px 13px;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}

/* Pages professionnelles Messages et Demandes */
.professional-module-page {
  padding: 21px;
  border: 1px solid #e6e9f0;
  border-radius: 17px;
  background: #ffffff;
  color: #172033;
  box-shadow: 0 8px 24px rgba(28,38,65,.045);
}

.professional-module-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eceef3;
}

.professional-module-header > div > span {
  display: block;
  margin-bottom: 4px;
  color: #6659e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.professional-module-header h3,
.professional-module-header p {
  margin: 0;
}

.professional-module-header h3 {
  color: #172033;
  font-size: 23px;
  letter-spacing: -.025em;
}

.professional-module-header p {
  margin-top: 5px;
  color: #8b93a4;
  font-size: 13px;
}

.professional-module-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 17px;
}

.professional-module-stats article {
  display: grid;
  gap: 9px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid #e8eaf1;
  border-radius: 13px;
  background: #fafbfe;
}

.professional-module-stats span {
  color: #81899b;
  font-size: 12px;
  font-weight: 700;
}

.professional-module-stats strong {
  color: #182135;
  font-size: 27px;
  line-height: 1;
}

.professional-module-list {
  display: grid;
  gap: 9px;
}

.professional-module-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border: 1px solid #e8eaf0;
  border-radius: 13px;
  background: #ffffff;
}

.professional-module-item.unread {
  border-color: #d8d3ff;
  background: #fbfaff;
}

.professional-module-item-main {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #202a3d;
  text-align: left;
}

.professional-module-item-main:hover {
  transform: none;
}

.professional-module-item-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: #eeeaff;
  color: #584cdf;
  font-size: 17px;
  font-weight: 900;
}

.professional-module-item-content {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.professional-module-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.professional-module-item-title strong {
  overflow: hidden;
  color: #202a3d;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.professional-module-item-title > span {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eeeaff;
  color: #584cdf;
  font-size: 9px;
  font-weight: 850;
}

.professional-module-item-content > span:nth-child(2) {
  color: #697286;
  font-size: 12px;
  line-height: 1.45;
}

.professional-module-item-content small {
  color: #9aa1b0;
  font-size: 10px;
}

.professional-module-item-arrow {
  color: #9aa1b0;
  font-size: 17px;
}

.professional-module-read {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #e1e4eb;
  border-radius: 9px;
  background: #ffffff;
  color: #697286;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.professional-module-empty {
  padding: 34px 18px;
  border: 1px dashed #dfe2e9;
  border-radius: 13px;
  background: #fafbfe;
  color: #8a92a4;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .professional-module-header {
    flex-direction: column;
  }

  .professional-module-header button {
    width: 100%;
  }

  .professional-module-stats {
    grid-template-columns: 1fr;
  }

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

  .professional-module-read {
    width: 100%;
  }
}


/* =====================================================
   STAYSCREEN V6.13 — CALENDRIER PREMIUM
===================================================== */

.premium-calendar-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 3px 0 13px;
}

.premium-calendar-heading > div:first-child > span {
  display: block;
  margin-bottom: 4px;
  color: #6659e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.premium-calendar-heading h3,
.premium-calendar-heading p {
  margin: 0;
}

.premium-calendar-heading h3 {
  color: #172033;
  font-size: 23px;
  letter-spacing: -.025em;
}

.premium-calendar-heading p {
  margin-top: 5px;
  color: #8b93a4;
  font-size: 13px;
}

.premium-calendar-heading-actions {
  display: flex;
  gap: 8px;
}

.premium-calendar-heading-actions button {
  min-height: 39px;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.premium-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 14px;
  padding: 11px 14px;
  border: 1px solid #e7e9f0;
  border-radius: 12px;
  background: #ffffff;
  color: #6f788b;
  font-size: 11px;
  font-weight: 700;
}

.premium-calendar-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-arrival { background: #23b6a8; }
.legend-departure { background: #ec6978; }
.legend-cleaning { background: #f3a833; }
.legend-ready { background: #6d61e8; }
.legend-occupied { background: #4287f5; }

#dashboard .calendar-toolbar {
  grid-template-columns: 1fr auto;
}

#dashboard .calendar-view-switch {
  justify-self: start;
}

#dashboard .calendar-navigation {
  justify-self: end;
}

.premium-calendar-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 13px 0 9px;
  padding: 10px 13px;
  border: 1px solid #e6e9ef;
  border-radius: 11px;
  background: #ffffff;
}

.premium-calendar-statusbar > div:first-child {
  display: grid;
  gap: 2px;
}

.premium-calendar-statusbar > div:first-child > span {
  color: #253044;
  font-size: 12px;
  font-weight: 800;
}

.premium-calendar-statusbar small {
  color: #979eac;
  font-size: 10px;
}

.premium-calendar-status-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.calendar-summary-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.calendar-summary-pill strong {
  font-size: 10px;
}

.calendar-summary-pill.status-planned {
  background: #fff4df;
  color: #a66a06;
}

.calendar-summary-pill.status-ready {
  background: #eeeaff;
  color: #584cdf;
}

.calendar-summary-pill.status-occupied {
  background: #e9f2ff;
  color: #286fca;
}

.calendar-summary-pill.status-cleaning {
  background: #fff0e8;
  color: #bb5b1e;
}

.premium-calendar-container {
  min-width: 0;
}

/* Vue aujourd'hui */
.premium-today-grid {
  display: grid;
  gap: 9px;
}

.premium-today-card {
  overflow: hidden;
  border: 1px solid #e6e9ef;
  border-left-width: 4px;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(28,38,65,.035);
}

.premium-today-card.status-planned { border-left-color: #f3a833; }
.premium-today-card.status-ready { border-left-color: #6d61e8; }
.premium-today-card.status-occupied { border-left-color: #4287f5; }
.premium-today-card.status-cleaning { border-left-color: #e7783f; }
.premium-today-card.status-completed { border-left-color: #36a875; }

.premium-today-main {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: #202a3d;
  text-align: left;
}

.premium-today-main:hover {
  background: #fafbfe;
  transform: none;
}

.premium-today-time {
  display: grid;
  gap: 3px;
  padding-right: 13px;
  border-right: 1px solid #eceef3;
}

.premium-today-time strong {
  color: #172033;
  font-size: 17px;
}

.premium-today-time span {
  color: #8b93a4;
  font-size: 10px;
}

.premium-today-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.premium-today-content h4,
.premium-today-content p {
  margin: 0;
}

.premium-today-content h4 {
  overflow: hidden;
  color: #172033;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-today-content p {
  margin-top: 4px;
  color: #7d8698;
  font-size: 11px;
}

.premium-today-status {
  flex: 0 0 auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f2f4f8;
  color: #667085;
  font-size: 9px;
  font-weight: 850;
}

.premium-today-arrow {
  color: #9aa1b0;
  font-size: 17px;
}

/* Vue semaine façon planning horizontal */
.premium-week-scroll {
  overflow-x: auto;
  border: 1px solid #e5e8ef;
  border-radius: 14px;
  background: #ffffff;
}

.premium-week-grid {
  display: grid;
  grid-template-columns: 180px repeat(7, minmax(135px, 1fr));
  min-width: 1125px;
}

.premium-week-corner,
.premium-week-day-head,
.premium-week-property,
.premium-week-cell {
  min-height: 74px;
  border-right: 1px solid #eceef3;
  border-bottom: 1px solid #eceef3;
}

.premium-week-corner {
  display: flex;
  align-items: center;
  padding: 13px;
  background: #f8f9fc;
  color: #7d8698;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.premium-week-day-head {
  display: grid;
  place-content: center;
  gap: 4px;
  background: #f8f9fc;
  color: #7e8798;
  text-align: center;
}

.premium-week-day-head span {
  font-size: 10px;
  text-transform: capitalize;
}

.premium-week-day-head strong {
  color: #263044;
  font-size: 16px;
}

.premium-week-day-head.today {
  background: #eeeaff;
}

.premium-week-day-head.today strong {
  color: #584cdf;
}

.premium-week-property {
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 13px;
  background: #fbfcfe;
}

.premium-week-property strong {
  overflow: hidden;
  color: #253044;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-week-property span {
  overflow: hidden;
  color: #949baa;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-week-cell {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 7px;
  background: #ffffff;
}

.premium-week-cell.today {
  background: #fbfaff;
}

.premium-week-event {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 47px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  text-align: left;
  box-shadow: none;
}

.premium-week-event:hover {
  filter: brightness(.97);
  transform: translateY(-1px);
}

.premium-week-event.status-planned { background: #eea02b; }
.premium-week-event.status-ready { background: #6558e8; }
.premium-week-event.status-occupied { background: #3586e9; }
.premium-week-event.status-cleaning { background: #e46f3a; }
.premium-week-event.status-completed { background: #2ca476; }

.premium-week-event strong,
.premium-week-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-week-event strong {
  font-size: 10px;
}

.premium-week-event span {
  opacity: .85;
  font-size: 8px;
}

/* Vue mensuelle */
.premium-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #e5e8ef;
  border-radius: 14px;
  background: #ffffff;
}

.premium-month-weekday {
  padding: 10px;
  border-right: 1px solid #eceef3;
  border-bottom: 1px solid #eceef3;
  background: #f8f9fc;
  color: #7d8698;
  font-size: 10px;
  font-weight: 850;
  text-align: center;
}

.premium-month-day {
  min-height: 126px;
  padding: 8px;
  border-right: 1px solid #eceef3;
  border-bottom: 1px solid #eceef3;
  background: #ffffff;
}

.premium-month-day.muted {
  background: #fafbfe;
  opacity: .58;
}

.premium-month-day.today {
  box-shadow: inset 0 0 0 2px #6d61e8;
}

.premium-month-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.premium-month-day-head strong {
  color: #273146;
  font-size: 12px;
}

.premium-month-day-head span {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  background: #eeeaff;
  color: #584cdf;
  font-size: 8px;
  font-weight: 850;
}

.premium-month-events {
  display: grid;
  gap: 4px;
}

.premium-month-event {
  display: grid;
  gap: 1px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 6px;
  background: #f6f7fb;
  color: #344054;
  text-align: left;
}

.premium-month-event:hover {
  background: #f0efff;
  transform: none;
}

.premium-month-event.status-planned { border-left-color: #f3a833; }
.premium-month-event.status-ready { border-left-color: #6d61e8; }
.premium-month-event.status-occupied { border-left-color: #4287f5; }
.premium-month-event.status-cleaning { border-left-color: #e7783f; }
.premium-month-event.status-completed { border-left-color: #36a875; }

.premium-month-event strong,
.premium-month-event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-month-event strong {
  font-size: 8px;
}

.premium-month-event span {
  color: #8a92a4;
  font-size: 7px;
}

.premium-month-more {
  color: #6659e8;
  font-size: 8px;
  font-weight: 850;
}

.premium-calendar-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 250px;
  padding: 42px 20px;
  border: 1px dashed #dcdfe7;
  border-radius: 14px;
  background: #fafbfe;
  text-align: center;
}

.premium-calendar-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #eeeaff;
  color: #584cdf;
  font-size: 21px;
}

.premium-calendar-empty h4,
.premium-calendar-empty p {
  margin: 0;
}

.premium-calendar-empty h4 {
  color: #273146;
  font-size: 15px;
}

.premium-calendar-empty p {
  color: #8c94a5;
  font-size: 11px;
}

.premium-calendar-empty button {
  min-height: 37px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #675aec, #5145d8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .premium-calendar-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-calendar-heading-actions {
    width: 100%;
  }

  .premium-calendar-heading-actions button {
    flex: 1;
  }

  .premium-calendar-statusbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-calendar-status-summary {
    justify-content: flex-start;
  }

  #dashboard .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  #dashboard .calendar-view-switch,
  #dashboard .calendar-navigation {
    justify-self: stretch;
    width: 100%;
  }

  .premium-today-main {
    grid-template-columns: 78px minmax(0, 1fr) 20px;
  }
}

@media (max-width: 620px) {
  .premium-calendar-legend {
    gap: 9px;
  }

  .premium-calendar-heading-actions {
    flex-direction: column;
  }

  .premium-today-main {
    grid-template-columns: 1fr;
  }

  .premium-today-time {
    grid-template-columns: auto auto;
    justify-content: start;
    padding: 0 0 8px;
    border-right: 0;
    border-bottom: 1px solid #eceef3;
  }

  .premium-today-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-today-arrow {
    display: none;
  }

  .premium-month-day {
    min-height: 105px;
    padding: 5px;
  }

  .premium-month-event span {
    display: none;
  }
}


/* =====================================================
   STAYSCREEN V6.14 — GESTION DU CONTENU VOYAGEUR
===================================================== */

body.guest-content-editor-open {
  overflow: hidden;
  background: #f6f7fb;
}

body.guest-content-editor-open > .app > .topbar {
  display: none !important;
}

body.guest-content-editor-open .app {
  min-height: 100vh;
  padding: 0 !important;
  background: #f6f7fb !important;
}

body.guest-content-editor-open #recommendationsEditor.page.active {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  padding: 0 !important;
  overflow: hidden;
  background: #f6f7fb !important;
}

.content-pro-shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  width: 100%;
  height: 100vh;
}

.content-pro-sidebar {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 22px 14px 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(78,70,216,.16), transparent 32%),
    linear-gradient(180deg, #0d1a34 0%, #09162e 100%);
  color: #ffffff;
}

.content-pro-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 10px 22px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.content-pro-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7367f5, #4f46d8);
  color: #ffffff;
  font-size: 20px;
}

.content-pro-brand strong {
  font-size: 17px;
  font-weight: 850;
}

.content-pro-back {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 18px 0 20px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
  color: #ffffff;
  text-align: left;
}

.content-pro-back:hover {
  background: rgba(112,98,240,.13);
  transform: none;
}

.content-pro-back > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #7468f4, #5548df);
}

.content-pro-back > div {
  display: grid;
  gap: 2px;
}

.content-pro-back strong {
  font-size: 13px;
}

.content-pro-back small {
  color: rgba(224,230,244,.62);
  font-size: 10px;
}

.content-pro-label {
  padding: 0 10px 8px;
  color: rgba(224,230,244,.42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.content-pro-nav {
  display: grid;
  gap: 5px;
}

.content-pro-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(234,239,250,.72);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.content-pro-nav button:hover,
.content-pro-nav button.active {
  background: linear-gradient(135deg, #6b5df1, #5144db);
  color: #ffffff;
  transform: none;
}

.content-pro-main {
  height: 100vh;
  min-width: 0;
  overflow-y: auto;
  padding: 24px 28px 40px;
  background:
    radial-gradient(circle at 82% 0%, rgba(103,90,236,.06), transparent 28%),
    #f6f7fb;
}

.content-pro-panel {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.content-pro-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border: 1px solid #e5e8ef;
  border-radius: 17px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(28,38,65,.045);
}

.content-mobile-back {
  display: none;
}

.content-pro-header > div:nth-child(2) > span {
  display: block;
  margin-bottom: 4px;
  color: #6659e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.content-pro-header h2,
.content-pro-header p {
  margin: 0;
}

.content-pro-header h2 {
  color: #172033;
  font-size: 25px;
}

.content-pro-header p {
  margin-top: 4px;
  color: #8b93a4;
  font-size: 12px;
}

.guest-content-section {
  display: none;
}

.guest-content-section.active {
  display: block;
}

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

.content-section-heading span {
  display: block;
  margin-bottom: 4px;
  color: #6659e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.content-section-heading h3,
.content-section-heading p {
  margin: 0;
}

.content-section-heading h3 {
  color: #172033;
  font-size: 23px;
}

.content-section-heading p {
  margin-top: 5px;
  color: #8b93a4;
  font-size: 13px;
}

.recommendation-category-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 16px;
}

.recommendation-category-card {
  display: grid;
  justify-items: start;
  gap: 4px;
  min-height: 100px;
  padding: 13px;
  border: 1px solid #e6e9ef;
  border-radius: 13px;
  background: #ffffff;
  color: #253044;
  text-align: left;
  box-shadow: 0 5px 16px rgba(28,38,65,.035);
}

.recommendation-category-card:hover {
  border-color: #d5d0ff;
  background: #fbfaff;
  transform: translateY(-1px);
}

.recommendation-category-card > span {
  font-size: 22px;
}

.recommendation-category-card strong {
  font-size: 12px;
}

.recommendation-category-card small {
  color: #949baa;
  font-size: 9px;
}

.recommendation-workspace {
  display: grid;
  grid-template-columns: minmax(360px, .85fr) minmax(0, 1.35fr);
  gap: 16px;
  align-items: start;
}

.recommendation-form-premium,
.recommendations-manager-premium,
.guide-content-overview {
  padding: 18px;
  border: 1px solid #e5e8ef;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(28,38,65,.04);
}

.recommendation-form-premium {
  position: sticky;
  top: 116px;
}

.recommendation-form-heading,
.recommendations-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eceef3;
}

.recommendation-form-heading span,
.recommendations-manager-header span {
  display: block;
  margin-bottom: 3px;
  color: #6659e8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.recommendation-form-heading h3,
.recommendations-manager-header h3 {
  margin: 0;
  color: #172033;
  font-size: 17px;
}

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

.recommendation-form-grid label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.recommendation-form-grid input,
.recommendation-form-grid select,
.recommendation-form-grid textarea,
.recommendation-manager-tools input,
.recommendation-manager-tools select {
  width: 100%;
  min-height: 41px;
  margin: 0;
  padding: 10px 11px;
  border: 1px solid #dfe3eb;
  border-radius: 9px;
  background: #ffffff;
  color: #222c3f;
  font-size: 12px;
}

.recommendation-full-field {
  grid-column: 1 / -1;
}

.recommendation-form-actions {
  margin-top: 13px;
}

.recommendation-form-actions button {
  width: 100%;
  min-height: 40px;
}

.text-button {
  border: 0;
  background: transparent;
  color: #6659e8;
  font-size: 11px;
  font-weight: 800;
}

.recommendation-manager-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 9px;
  margin-bottom: 12px;
}

.recommendation-manager-item-premium {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px;
  border: 1px solid #e7e9ef;
  border-radius: 12px;
  background: #ffffff;
}

.recommendation-manager-copy {
  min-width: 0;
}

.recommendation-manager-copy > span {
  color: #6659e8;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.recommendation-manager-copy strong {
  display: block;
  margin-top: 3px;
  color: #202a3d;
  font-size: 13px;
}

.recommendation-manager-copy p {
  margin: 4px 0 0;
  color: #737c8f;
  font-size: 11px;
  line-height: 1.45;
}

.recommendation-manager-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.recommendation-manager-meta span {
  color: #939aa9;
  font-size: 9px;
}

.guide-content-overview {
  display: grid;
  gap: 13px;
}

.guide-content-overview > article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 12px;
  background: #fafbfe;
}

.guide-content-overview > article span {
  color: #7b8496;
  font-size: 12px;
}

.guide-content-overview > article strong {
  color: #172033;
  font-size: 24px;
}

.guide-content-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.guide-content-preview-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid #e7e9ef;
  border-radius: 11px;
  background: #ffffff;
}

.guide-content-preview-item > span {
  font-size: 22px;
}

.guide-content-preview-item strong {
  color: #253044;
  font-size: 12px;
}

.guide-content-preview-item p {
  display: -webkit-box;
  margin: 4px 0 0;
  overflow: hidden;
  color: #7b8496;
  font-size: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 1180px) {
  .recommendation-category-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .recommendation-workspace {
    grid-template-columns: 1fr;
  }

  .recommendation-form-premium {
    position: static;
  }
}

@media (max-width: 820px) {
  body.guest-content-editor-open {
    overflow-y: auto;
  }

  body.guest-content-editor-open #recommendationsEditor.page.active,
  .content-pro-shell,
  .content-pro-main {
    height: auto;
    min-height: 100vh;
  }

  .content-pro-shell {
    display: block;
  }

  .content-pro-sidebar {
    display: none;
  }

  .content-pro-main {
    overflow: visible;
    padding: 12px;
  }

  .content-pro-header {
    grid-template-columns: 1fr;
    position: static;
  }

  .content-mobile-back {
    display: inline-flex;
    justify-self: start;
  }

  .content-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-section-heading button {
    width: 100%;
  }

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

  .recommendation-form-grid,
  .guide-content-preview {
    grid-template-columns: 1fr;
  }

  .recommendation-full-field {
    grid-column: 1;
  }

  .recommendation-manager-tools {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   STAYSCREEN V6.15 — UPLOAD DES PHOTOS DE LOGEMENT
===================================================== */

.property-photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.property-photo-uploader {
  display: grid;
  align-content: start;
  gap: 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e5e8ef;
  border-radius: 13px;
  background: #fafbfe;
}

.property-photo-uploader-heading span {
  display: block;
  margin-bottom: 4px;
  color: #6659e8;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.property-photo-uploader-heading h4,
.property-photo-uploader-heading p {
  margin: 0;
}

.property-photo-uploader-heading h4 {
  color: #253044;
  font-size: 14px;
}

.property-photo-uploader-heading p {
  margin-top: 4px;
  color: #8b93a4;
  font-size: 10px;
  line-height: 1.4;
}

.property-photo-dropzone {
  display: grid;
  justify-items: center;
  gap: 5px;
  width: 100%;
  min-height: 164px;
  padding: 20px 14px;
  border: 1.5px dashed #cfd3df;
  border-radius: 12px;
  background: #ffffff;
  color: #596376;
  text-align: center;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.property-photo-dropzone:hover,
.property-photo-dropzone.dragging {
  border-color: #7569ed;
  background: #f8f6ff;
  transform: translateY(-1px);
}

.property-photo-dropzone.uploading {
  cursor: wait;
  opacity: .65;
}

.property-photo-dropzone-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 12px;
  background: #eeeaff;
  color: #584cdf;
  font-size: 21px;
  font-weight: 850;
}

.property-photo-dropzone strong {
  color: #273146;
  font-size: 13px;
}

.property-photo-dropzone small {
  color: #7d8698;
  font-size: 11px;
}

.property-photo-dropzone em {
  color: #a0a6b3;
  font-size: 9px;
  font-style: normal;
}

.property-photo-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.property-photo-preview {
  display: none;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid #e1e4eb;
  border-radius: 11px;
  background: #ffffff;
}

.property-photo-preview.visible {
  display: grid;
}

.property-photo-preview img {
  width: 62px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef0f4;
}

.property-photo-preview > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.property-photo-preview strong,
.property-photo-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-photo-preview strong {
  color: #253044;
  font-size: 10px;
}

.property-photo-preview span {
  color: #8b93a4;
  font-size: 9px;
}

.property-photo-preview button {
  min-height: 31px;
  padding: 6px 8px;
  border: 1px solid #ffd6d1;
  border-radius: 8px;
  background: #fff5f3;
  color: #c94d42;
  font-size: 9px;
  font-weight: 800;
}

.property-photo-url-fallback {
  display: grid;
  gap: 5px;
  color: #8b93a4 !important;
  font-size: 9px !important;
  font-weight: 650 !important;
}

.property-photo-url-fallback input {
  min-height: 36px !important;
  font-size: 10px !important;
}

@media (max-width: 1050px) {
  .property-photo-upload-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .property-photo-dropzone {
    min-height: 145px;
  }

  .property-photo-preview {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .property-photo-preview img {
    width: 56px;
    height: 48px;
  }

  .property-photo-preview button {
    grid-column: 1 / -1;
    width: 100%;
  }
}


/* =====================================================
   STAYSCREEN V6.16 — RECOMMANDATIONS VOYAGEUR ÉPURÉES
===================================================== */

#localFilterBar[hidden],
#localFilterBar button[hidden] {
  display: none !important;
}


/* =====================================================
   STAYSCREEN V6.17 — INTERFACE VOYAGEUR PREMIUM
===================================================== */

body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .app {
  min-height: 100vh;
  padding: 18px 22px 112px;
  background:
    linear-gradient(180deg, rgba(6,14,28,.26), rgba(6,14,28,.72));
}

body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .topbar {
  position: sticky;
  top: 14px;
  z-index: 80;
  max-width: 1440px;
  margin: 0 auto 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(11,24,45,.72);
  box-shadow: 0 12px 34px rgba(0,0,0,.14);
  backdrop-filter: blur(20px);
}

body:not(.pro-dashboard-open) .brand {
  gap: 10px;
}

body:not(.pro-dashboard-open) .brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3d28d, #d8aa54);
  color: #132038;
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

body:not(.pro-dashboard-open) .brand strong {
  color: #ffffff;
  font-size: 19px;
  letter-spacing: -.025em;
}

.guest-home-premium {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
}

.guest-home-content {
  display: grid;
  gap: 16px;
}

.guest-welcome-card {
  position: relative;
  display: flex;
  min-height: 330px;
  align-items: flex-end;
  overflow: hidden;
  padding: 36px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(6,15,30,.90), rgba(6,15,30,.48) 55%, rgba(6,15,30,.18));
  box-shadow: 0 22px 54px rgba(0,0,0,.2);
}

.guest-welcome-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(244,209,137,.18), transparent 22%),
    linear-gradient(180deg, transparent 30%, rgba(5,13,26,.38));
  pointer-events: none;
}

.guest-welcome-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.guest-welcome-kicker {
  display: block;
  margin-bottom: 8px;
  color: #efd392;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.guest-welcome-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: .98;
}

.guest-welcome-copy > p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(238,243,250,.82);
  font-size: 17px;
  line-height: 1.55;
}

.guest-welcome-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(11,25,47,.62);
  color: #ffffff;
  font-size: 11px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.guest-welcome-badge > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #51cf97;
  box-shadow: 0 0 0 5px rgba(81,207,151,.12);
}

.guest-stay-summary {
  margin-top: 22px;
}

.guest-stay-summary,
.guest-stay-summary > * {
  color: #ffffff;
}

.guest-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  gap: 16px;
}

.guest-wifi-card,
.guest-help-card {
  padding: 23px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(13,28,51,.84);
  color: #ffffff;
  box-shadow: 0 15px 38px rgba(0,0,0,.14);
  backdrop-filter: blur(16px);
}

.guest-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.guest-card-heading span {
  display: block;
  margin-bottom: 4px;
  color: #efd392;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.guest-card-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: 21px;
  letter-spacing: -.025em;
}

.guest-card-heading button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  color: rgba(245,247,252,.82);
  font-size: 10px;
  font-weight: 750;
}

.guest-wifi-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 22px;
  align-items: center;
  margin-top: 21px;
}

.guest-wifi-values {
  display: grid;
  gap: 13px;
}

.guest-wifi-values > div {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.guest-wifi-values span {
  color: rgba(229,235,246,.58);
  font-size: 10px;
  font-weight: 700;
}

.guest-wifi-values strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-home-qr {
  width: 118px;
  height: 118px;
  border: 8px solid #ffffff;
  border-radius: 14px;
  background: #ffffff;
}

.guest-help-card > p {
  margin: 14px 0 18px;
  color: rgba(231,237,247,.68);
  font-size: 12px;
  line-height: 1.55;
}

.guest-help-actions {
  display: grid;
  gap: 8px;
}

.guest-help-actions button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.guest-help-actions button:hover {
  background: rgba(255,255,255,.09);
  transform: translateX(2px);
}

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

.guest-shortcuts > button {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 16px;
  background: rgba(13,28,51,.78);
  color: #ffffff;
  text-align: left;
  backdrop-filter: blur(15px);
}

.guest-shortcuts > button:hover {
  border-color: rgba(239,211,146,.28);
  background: rgba(18,36,63,.92);
  transform: translateY(-2px);
}

.guest-shortcut-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  background: rgba(239,211,146,.12);
  font-size: 20px;
}

.guest-shortcuts > button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.guest-shortcuts strong,
.guest-shortcuts small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-shortcuts strong {
  color: #ffffff;
  font-size: 12px;
}

.guest-shortcuts small {
  color: rgba(230,236,247,.52);
  font-size: 9px;
}

.guest-shortcuts em {
  color: rgba(255,255,255,.42);
  font-size: 17px;
  font-style: normal;
}

.guest-navigation {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  width: min(860px, calc(100vw - 32px));
  justify-content: center;
  gap: 4px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(10,22,42,.88);
  box-shadow: 0 18px 46px rgba(0,0,0,.25);
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
}

.guest-navigation button {
  display: grid;
  min-width: 88px;
  min-height: 54px;
  place-items: center;
  gap: 2px;
  padding: 7px 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(232,238,248,.62);
  font-size: 9px;
  font-weight: 750;
}

.guest-navigation button .icon {
  font-size: 16px;
}

.guest-navigation button:hover,
.guest-navigation button.active {
  background: linear-gradient(135deg, #7164ed, #5144d8);
  color: #ffffff;
  transform: none;
}

/* Pages voyageur cohérentes */
.guest-page-panel {
  width: min(1380px, 100%);
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(10,23,43,.91);
  color: #ffffff;
  box-shadow: 0 20px 54px rgba(0,0,0,.2);
  backdrop-filter: blur(20px);
}

.guest-page-panel .panel-header {
  margin-bottom: 22px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.guest-page-panel .panel-header h2 {
  color: #ffffff;
  font-size: 30px;
  letter-spacing: -.035em;
}

.guest-page-panel .panel-header .back {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: #ffffff;
}

.guest-page-panel .mini-logo {
  color: #efd392;
}

.guest-page-panel .guide-card,
.guest-page-panel .recommendation-card,
.guest-page-panel .checklist-card,
.guest-page-panel .cleaning-availability-card {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
  color: #ffffff;
}

.guest-page-panel .guide-card h3,
.guest-page-panel .recommendation-card h3,
.guest-page-panel .checklist-card h3,
.guest-page-panel .cleaning-availability-card h3 {
  color: #ffffff;
}

.guest-page-panel .guide-card p,
.guest-page-panel .recommendation-card p,
.guest-page-panel .page-text,
.guest-page-panel .entertainment-intro,
.guest-page-panel .cleaning-availability-card p {
  color: rgba(230,236,247,.68);
}

.guest-page-panel .local-filter-bar button {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  color: rgba(240,244,251,.76);
}

.guest-page-panel .local-filter-bar button.active {
  border-color: rgba(239,211,146,.42);
  background: rgba(239,211,146,.12);
  color: #efd392;
}

@media (max-width: 1000px) {
  .guest-home-grid {
    grid-template-columns: 1fr;
  }

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

  .guest-navigation button {
    min-width: 72px;
  }
}

@media (max-width: 720px) {
  body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .app {
    padding: 10px 10px 105px;
  }

  body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .topbar {
    top: 8px;
    margin-bottom: 10px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .topbar-right .status,
  .screen-controls .live-status {
    display: none;
  }

  .guest-welcome-card {
    min-height: 310px;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .guest-welcome-badge {
    top: 15px;
    right: 15px;
  }

  .guest-welcome-copy h1 {
    font-size: 42px;
  }

  .guest-welcome-copy > p {
    font-size: 14px;
  }

  .guest-home-grid,
  .guest-shortcuts {
    grid-template-columns: 1fr;
  }

  .guest-wifi-content {
    grid-template-columns: 1fr;
  }

  .guest-home-qr {
    justify-self: start;
  }

  .guest-navigation {
    bottom: 9px;
    width: calc(100vw - 18px);
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px;
    border-radius: 15px;
  }

  .guest-navigation button {
    min-width: 68px;
    min-height: 52px;
  }

  .guest-page-panel {
    min-height: calc(100vh - 115px);
    padding: 16px;
    border-radius: 18px;
  }

  .guest-page-panel .panel-header {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .guest-page-panel .panel-header h2 {
    font-size: 25px;
  }

  .guest-page-panel .mini-logo {
    display: none;
  }
}


/* =====================================================
   STAYSCREEN V6.18 — INTERFACE VOYAGEUR ÉPURÉE
===================================================== */

/* Désactivation des éléments trop chargés de la V6.17 */
.guest-home-premium,
.guest-home-content,
.guest-welcome-card,
.guest-home-grid,
.guest-shortcuts,
.guest-navigation {
  all: unset;
}

/* Accueil simple et lisible */
.guest-home-clean {
  display: block;
  width: min(1380px, 100%);
  margin: 0 auto;
}

.guest-clean-main {
  display: grid;
  gap: 18px;
}

.guest-clean-hero {
  position: relative;
  display: flex;
  min-height: 440px;
  align-items: flex-end;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(5,14,28,.92), rgba(5,14,28,.52) 58%, rgba(5,14,28,.18));
  box-shadow: 0 24px 58px rgba(0,0,0,.22);
}

.guest-clean-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(244,209,137,.16), transparent 24%),
    linear-gradient(180deg, transparent 28%, rgba(5,14,28,.45));
}

.guest-clean-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.guest-clean-kicker {
  display: block;
  margin-bottom: 12px;
  color: #efd392;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.guest-clean-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: .95;
}

.guest-clean-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(239,244,250,.82);
  font-size: 20px;
  line-height: 1.5;
}

.guest-clean-status {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(11,25,47,.68);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.guest-clean-status > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4fd194;
  box-shadow: 0 0 0 6px rgba(79,209,148,.13);
}

.guest-clean-summary {
  margin-top: 24px;
}

.guest-clean-wifi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(12,27,50,.88);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
}

.guest-clean-wifi-copy > span {
  display: block;
  margin-bottom: 6px;
  color: #efd392;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.guest-clean-wifi-copy h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 28px;
  letter-spacing: -.03em;
}

.guest-clean-wifi-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
}

.guest-clean-wifi-values > div {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  background: rgba(255,255,255,.05);
}

.guest-clean-wifi-values small {
  color: rgba(229,235,246,.58);
  font-size: 11px;
  font-weight: 700;
}

.guest-clean-wifi-values strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-clean-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.guest-clean-qr {
  width: 138px;
  height: 138px;
  border: 9px solid #ffffff;
  border-radius: 16px;
  background: #ffffff;
}

.guest-clean-qr-wrap button {
  min-width: 138px;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

/* Navigation plus grande, pensée pour télévision et écran tactile */
.guest-clean-navigation {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 95;
  display: flex;
  width: min(1080px, calc(100vw - 36px));
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  background: rgba(8,20,39,.92);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
}

.guest-clean-navigation button {
  display: grid;
  min-width: 124px;
  min-height: 78px;
  place-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: rgba(235,240,249,.68);
  font-size: 12px;
  font-weight: 800;
}

.guest-clean-navigation button .icon {
  font-size: 28px;
  line-height: 1;
}

.guest-clean-navigation button:hover,
.guest-clean-navigation button.active {
  background: linear-gradient(135deg, #7568ef, #5144d8);
  color: #ffffff;
  transform: none;
}

@media (max-width: 1100px) {
  .guest-clean-hero {
    min-height: 390px;
  }

  .guest-clean-wifi-values {
    grid-template-columns: 1fr;
  }

  .guest-clean-navigation {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .guest-clean-navigation button {
    min-width: 112px;
  }
}

@media (max-width: 720px) {
  .guest-clean-hero {
    min-height: 360px;
    padding: 28px 22px;
    border-radius: 20px;
  }

  .guest-clean-hero h1 {
    font-size: 52px;
  }

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

  .guest-clean-status {
    top: 16px;
    right: 16px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .guest-clean-wifi {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .guest-clean-wifi-values {
    grid-template-columns: 1fr;
  }

  .guest-clean-qr-wrap {
    justify-items: start;
  }

  .guest-clean-navigation {
    bottom: 9px;
    width: calc(100vw - 18px);
    justify-content: flex-start;
    overflow-x: auto;
    padding: 7px;
    border-radius: 17px;
  }

  .guest-clean-navigation button {
    min-width: 92px;
    min-height: 66px;
    font-size: 10px;
  }

  .guest-clean-navigation button .icon {
    font-size: 23px;
  }
}


/* =====================================================
   STAYSCREEN V6.19 — INTERFACE VOYAGEUR CLAIRE + VERTE
   Ébauche A, palette inspirée de l'ébauche C
===================================================== */

:root {
  --guest-green: #5e9c69;
  --guest-green-dark: #3e7d50;
  --guest-green-soft: #edf6ef;
  --guest-ink: #16304a;
  --guest-text: #536274;
  --guest-line: #dfe8df;
  --guest-card: rgba(255,255,255,.92);
}

/* Neutraliser le rendu sombre des versions précédentes sur l'accueil */
body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) {
  background: #f5f1e9;
  background-position: center;
  background-size: cover;
}

body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .app {
  min-height: 100vh;
  padding: 18px 24px 124px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(245,241,233,.92));
}

body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .topbar {
  position: sticky;
  top: 12px;
  z-index: 90;
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: 1px solid rgba(22,48,74,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 10px 30px rgba(29,53,42,.08);
  backdrop-filter: blur(18px);
}

body:not(.pro-dashboard-open) .brand-mark {
  background: var(--guest-green-soft);
  color: var(--guest-green-dark);
}

body:not(.pro-dashboard-open) .brand strong {
  color: var(--guest-ink);
}

body:not(.pro-dashboard-open) .topbar button,
body:not(.pro-dashboard-open) .topbar .status,
body:not(.pro-dashboard-open) .topbar .temperature {
  color: var(--guest-ink);
}

.guest-home-a {
  display: block;
  width: min(1540px, 100%);
  margin: 0 auto;
}

.guest-a-main {
  width: 100%;
}

.guest-a-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  align-items: center;
  min-height: 610px;
  overflow: hidden;
  padding: 52px 56px;
  border: 1px solid rgba(22,48,74,.08);
  border-radius: 30px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 60px rgba(53,72,56,.10);
}

.guest-a-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 39%, rgba(255,255,255,.26) 72%, rgba(255,255,255,.10)),
    var(--property-public-background, url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85"));
  background-position: center;
  background-size: cover;
}

.guest-a-copy,
.guest-a-wifi-card {
  position: relative;
  z-index: 2;
}

.guest-a-copy {
  max-width: 720px;
  padding-right: 40px;
}

.guest-a-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--guest-green-dark);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.guest-a-copy h1 {
  margin: 0;
  color: var(--guest-ink);
  font-size: clamp(62px, 7vw, 104px);
  font-weight: 850;
  letter-spacing: -.06em;
  line-height: .94;
}

.guest-a-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--guest-text);
  font-size: 22px;
  line-height: 1.5;
}

.guest-a-summary {
  margin-top: 28px;
}

.guest-a-summary > * {
  border: 1px solid rgba(22,48,74,.10);
  background: rgba(255,255,255,.76);
  color: var(--guest-ink);
}

.guest-a-wifi-card {
  align-self: center;
  padding: 28px;
  border: 1px solid rgba(22,48,74,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 46px rgba(57,77,61,.10);
  backdrop-filter: blur(16px);
}

.guest-a-wifi-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.guest-a-wifi-heading span:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--guest-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.guest-a-wifi-heading h2 {
  margin: 0;
  color: var(--guest-ink);
  font-size: 24px;
  letter-spacing: -.03em;
}

.guest-a-wifi-symbol {
  color: var(--guest-green);
  font-size: 27px;
}

.guest-a-wifi-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 18px;
  align-items: center;
}

.guest-a-wifi-values {
  display: grid;
  gap: 11px;
}

.guest-a-wifi-values > div {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid var(--guest-line);
  border-radius: 12px;
  background: #fbfdfb;
}

.guest-a-wifi-values small {
  color: #7c8b91;
  font-size: 11px;
  font-weight: 750;
}

.guest-a-wifi-values strong {
  overflow: hidden;
  color: var(--guest-ink);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-a-qr {
  width: 132px;
  height: 132px;
  border: 8px solid #ffffff;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(36,64,49,.08);
}

.guest-a-wifi-card > button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid var(--guest-green);
  border-radius: 11px;
  background: var(--guest-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 850;
}

.guest-a-wifi-card > button:hover {
  background: var(--guest-green-dark);
  transform: none;
}

/* Grande navigation TV, claire, simple et lisible */
.guest-a-navigation {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  width: min(1440px, calc(100vw - 48px));
  padding: 10px;
  border: 1px solid rgba(22,48,74,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 48px rgba(41,68,50,.12);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.guest-a-navigation button {
  display: grid;
  min-height: 88px;
  place-items: center;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--guest-ink);
  font-size: 13px;
  font-weight: 800;
}

.guest-a-navigation button .icon {
  font-size: 31px;
  line-height: 1;
}

.guest-a-navigation button:hover,
.guest-a-navigation button.active {
  border-color: var(--guest-green);
  background: var(--guest-green-soft);
  color: var(--guest-green-dark);
  transform: none;
}

.guest-a-navigation button.active {
  box-shadow: inset 0 0 0 1px rgba(94,156,105,.18);
}

/* Les pages secondaires passent aussi sur un thème clair */
body:not(.pro-dashboard-open) .guest-page-panel {
  border: 1px solid rgba(22,48,74,.08);
  background: rgba(255,255,255,.95);
  color: var(--guest-ink);
  box-shadow: 0 20px 54px rgba(43,67,50,.10);
}

body:not(.pro-dashboard-open) .guest-page-panel .panel-header {
  border-bottom-color: #e7ece8;
}

body:not(.pro-dashboard-open) .guest-page-panel .panel-header h2,
body:not(.pro-dashboard-open) .guest-page-panel .guide-card h3,
body:not(.pro-dashboard-open) .guest-page-panel .recommendation-card h3,
body:not(.pro-dashboard-open) .guest-page-panel .checklist-card h3 {
  color: var(--guest-ink);
}

body:not(.pro-dashboard-open) .guest-page-panel .page-text,
body:not(.pro-dashboard-open) .guest-page-panel .guide-card p,
body:not(.pro-dashboard-open) .guest-page-panel .recommendation-card p,
body:not(.pro-dashboard-open) .guest-page-panel .cleaning-availability-card p {
  color: var(--guest-text);
}

body:not(.pro-dashboard-open) .guest-page-panel .guide-card,
body:not(.pro-dashboard-open) .guest-page-panel .recommendation-card,
body:not(.pro-dashboard-open) .guest-page-panel .checklist-card,
body:not(.pro-dashboard-open) .guest-page-panel .cleaning-availability-card {
  border-color: #e3ebe5;
  background: #fbfdfb;
  color: var(--guest-ink);
}

body:not(.pro-dashboard-open) .guest-page-panel .local-filter-bar button {
  border-color: #dce6df;
  background: #ffffff;
  color: var(--guest-text);
}

body:not(.pro-dashboard-open) .guest-page-panel .local-filter-bar button.active {
  border-color: var(--guest-green);
  background: var(--guest-green-soft);
  color: var(--guest-green-dark);
}

@media (max-width: 1180px) {
  .guest-a-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 44px;
  }

  .guest-a-copy {
    padding-right: 0;
  }

  .guest-a-wifi-card {
    max-width: 720px;
  }

  .guest-a-navigation {
    grid-template-columns: repeat(7, minmax(108px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .app {
    padding: 10px 10px 108px;
  }

  body:not(.pro-dashboard-open):not(.stay-editor-open):not(.property-editor-open):not(.guest-content-editor-open) .topbar {
    width: calc(100vw - 20px);
  }

  .guest-a-hero {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .guest-a-copy h1 {
    font-size: 54px;
  }

  .guest-a-copy > p {
    font-size: 16px;
  }

  .guest-a-wifi-body {
    grid-template-columns: 1fr;
  }

  .guest-a-qr {
    justify-self: start;
  }

  .guest-a-navigation {
    bottom: 8px;
    width: calc(100vw - 16px);
    grid-template-columns: repeat(7, 92px);
    justify-content: flex-start;
    overflow-x: auto;
    padding: 7px;
    border-radius: 16px;
  }

  .guest-a-navigation button {
    min-height: 70px;
    font-size: 10px;
  }

  .guest-a-navigation button .icon {
    font-size: 24px;
  }
}

/* V6.20 */
.brand-home-button{border:0;background:transparent;cursor:pointer}.brand-home-button:hover{transform:none}
.guest-a-navigation .icon{display:grid;width:34px;height:34px;place-items:center}.guest-a-navigation .icon svg,.guest-back-button svg,.pro-access-symbol svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.guest-a-navigation button .icon{font-size:0!important}
.guest-standard-header{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center;gap:18px}
.guest-back-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-width:120px;min-height:48px;padding:10px 16px!important;border:1px solid #dbe5dd!important;border-radius:12px!important;background:#f7faf7!important;color:var(--guest-ink)!important;font-size:13px!important;font-weight:800!important}.guest-back-button svg{width:20px;height:20px}.guest-back-button:hover{border-color:var(--guest-green)!important;background:var(--guest-green-soft)!important;transform:none!important}
.guest-page-kicker{display:block;margin-bottom:5px;color:var(--guest-green-dark);font-size:10px;font-weight:900;letter-spacing:.14em}
.pro-access-modern{min-height:calc(100vh - 170px)}.pro-access-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:28px;align-items:stretch;max-width:1080px;margin:34px auto 0}.pro-access-intro,.pro-access-form{padding:30px;border:1px solid #e1e9e3;border-radius:20px;background:#fbfdfb}.pro-access-intro{display:grid;align-content:center;justify-items:start;min-height:420px}.pro-access-symbol{display:grid;width:64px;height:64px;margin-bottom:22px;place-items:center;border-radius:18px;background:var(--guest-green-soft);color:var(--guest-green-dark)}.pro-access-symbol svg{width:34px;height:34px}.pro-access-intro>span{color:var(--guest-green-dark);font-size:10px;font-weight:900;letter-spacing:.14em}.pro-access-intro h3{max-width:420px;margin:8px 0 12px;color:var(--guest-ink);font-size:28px;line-height:1.15}.pro-access-intro p{margin:0;color:var(--guest-text);font-size:14px;line-height:1.6}.pro-access-form{display:grid;align-content:center;gap:18px;background:#fff}.pro-access-form label{display:grid;gap:7px;color:var(--guest-ink);font-size:12px;font-weight:800}.pro-access-form input{min-height:52px;padding:12px 14px;border:1px solid #dce5df;border-radius:12px;background:#fbfdfb;color:var(--guest-ink);font-size:15px}.pro-access-form input:focus{border-color:var(--guest-green);outline:3px solid rgba(94,156,105,.12)}.pro-access-submit{min-height:52px;border:0;border-radius:12px;background:var(--guest-green);color:#fff;font-size:14px;font-weight:900}.pro-access-submit:hover{background:var(--guest-green-dark);transform:none}.pro-access-forgot{border:0;background:transparent;color:var(--guest-green-dark);font-size:12px;font-weight:800}
.streaming-grid-elegant,.streaming-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.streaming-card-elegant,.streaming-card{position:relative;display:grid;min-height:150px;place-items:center;overflow:hidden;padding:22px;border:1px solid #e1e8e2!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#f8fbf8)!important;color:var(--guest-ink)!important;box-shadow:0 12px 28px rgba(44,71,50,.06)}.streaming-card-elegant:hover,.streaming-card:hover{border-color:var(--guest-green)!important;background:var(--guest-green-soft)!important;transform:translateY(-3px)}.streaming-card-elegant img,.streaming-card img{max-width:150px;max-height:54px;object-fit:contain;filter:none!important}.guest-page-panel .entertainment-intro{color:var(--guest-text)!important;font-size:15px}.guest-page-panel .streaming-warning,.guest-page-panel .entertainment-warning{border:1px solid #dfe8df!important;background:#f7faf7!important;color:var(--guest-text)!important}
.checkout-premium .checkout-grid,.checkout-premium .checkout-layout{gap:22px}.checkout-premium .checklist-card,.checkout-premium .cleaning-availability-card{padding:26px!important;border:1px solid #e0e8e2!important;border-radius:18px!important;background:#fbfdfb!important;box-shadow:0 10px 26px rgba(44,71,50,.05)}.checkout-premium .checklist-card h3,.checkout-premium .cleaning-availability-card h3{margin-bottom:18px;color:var(--guest-ink)!important;font-size:24px}.checkout-premium .checklist-item,.checkout-premium label{color:var(--guest-ink)!important;font-size:15px}.checkout-premium input[type=checkbox]{accent-color:var(--guest-green)}.checkout-premium input[type=time]{min-height:48px;padding:8px 12px;border:1px solid #dbe5dd;border-radius:10px;background:#fff;color:var(--guest-ink);font-size:18px}.checkout-premium button[type=submit],.checkout-premium .primary-btn{min-height:54px;border:0;border-radius:12px;background:var(--guest-green)!important;color:#fff!important;font-size:15px;font-weight:900}
@media(max-width:1000px){.pro-access-layout{grid-template-columns:1fr}.streaming-grid-elegant,.streaming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.guest-standard-header{grid-template-columns:1fr!important}.guest-back-button{justify-self:start}.streaming-grid-elegant,.streaming-grid{grid-template-columns:1fr}}


/* =====================================================
   STAYSCREEN V6.22 — CORRECTIONS EXPÉRIENCE COMPLÈTE
===================================================== */

:root {
  --ss-logo-color: #101820;
}

/* Logo officiel noir, transparent, sans tuile violette */
.ss-official-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ss-logo-color);
}

.ss-official-brand:hover {
  transform: none;
}

.ss-official-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
}

.ss-official-mark svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ss-official-word {
  color: currentColor;
  font-family:
    Inter,
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.055em;
}

.ss-official-brand-mini {
  justify-self: end;
}

.ss-official-brand-mini .ss-official-mark {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.ss-official-brand-mini .ss-official-mark svg {
  width: 24px;
  height: 24px;
}

.ss-official-brand-mini .ss-official-word {
  font-size: 14px;
}

/* Neutralise l’ancien logo violet V6.21, au cas où */
.ss-logo-mark {
  background: transparent !important;
  box-shadow: none !important;
}

.ss-logo-mark::after {
  display: none !important;
}

.ss-logo-mark svg {
  stroke: #101820 !important;
}

.ss-logo-roof {
  fill: none !important;
  stroke: #101820 !important;
}

.ss-logo-house,
.ss-logo-door,
.ss-logo-lock {
  stroke: #101820 !important;
}

/* Titres de pages */
.guest-section-title {
  text-align: center;
}

.guest-section-title > span {
  display: block;
  margin-bottom: 5px;
  color: var(--guest-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.guest-section-title h2,
.guest-section-title p {
  margin: 0;
}

.guest-section-title h2 {
  color: var(--guest-ink);
  font-size: 30px;
  letter-spacing: -.035em;
}

.guest-section-title p {
  margin-top: 5px;
  color: var(--guest-text);
  font-size: 12px;
}

/* Divertissement */
.entertainment-premium {
  min-height: calc(100vh - 150px);
}

.entertainment-notice {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 8px 0 22px;
  padding: 15px 17px;
  border: 1px solid #dce8df;
  border-radius: 14px;
  background: #f5faf6;
}

.entertainment-notice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 13px;
  background: #e7f3e9;
  color: var(--guest-green-dark);
}

.entertainment-notice-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entertainment-notice strong {
  color: var(--guest-ink);
  font-size: 14px;
}

.entertainment-notice p {
  margin: 4px 0 0;
  color: var(--guest-text);
  font-size: 11px;
}

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

.streaming-app-card {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 170px;
  padding: 22px;
  border: 1px solid #e1e8e3;
  border-radius: 18px;
  background: #ffffff;
  color: var(--guest-ink);
  text-align: left;
  box-shadow: 0 12px 30px rgba(40,65,48,.06);
}

.streaming-app-card:hover,
.streaming-app-card:focus-visible {
  border-color: var(--guest-green);
  background: #f7fbf8;
  outline: 4px solid rgba(94,156,105,.13);
  transform: translateY(-3px);
}

.streaming-logo {
  min-height: 38px;
  color: var(--guest-ink);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.netflix-logo { color: #e50914; letter-spacing: -.06em; }
.youtube-logo { color: #ff0000; }
.youtube-logo b { font-size: 21px; }
.prime-logo { color: #0878b8; }
.disney-logo { color: #173f8d; }
.apple-logo { color: #111111; }
.spotify-logo { color: #1db954; }
.plex-logo { color: #d79a00; }
.airplay-logo { color: #26384f; }

.streaming-app-card small {
  margin-top: 14px;
  color: #7d8995;
  font-size: 11px;
}

.streaming-app-card em {
  margin-top: 18px;
  color: var(--guest-green-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

/* Check-out V2 */
.checkout-v2 {
  min-height: calc(100vh - 150px);
}

.checkout-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 20px;
  margin-top: 8px;
}

.checkout-v2-card {
  padding: 28px;
  border: 1px solid #dfe8e1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(40,65,48,.06);
}

.checkout-v2-card-heading {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.checkout-v2-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  background: var(--guest-green-soft);
  color: var(--guest-green-dark);
}

.checkout-v2-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-v2-card-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--guest-green-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.checkout-v2-card-heading h3 {
  margin: 0;
  color: var(--guest-ink);
  font-size: 22px;
  line-height: 1.2;
}

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

.checkout-v2-items label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 54px;
  padding: 11px 13px;
  border: 1px solid #e5ebe6;
  border-radius: 12px;
  background: #fbfdfb;
  color: var(--guest-ink) !important;
  font-size: 13px !important;
  font-weight: 700;
}

.checkout-v2-items input {
  width: 20px;
  height: 20px;
  accent-color: var(--guest-green);
}

.checkout-v2-time > p {
  margin: 0 0 24px;
  color: var(--guest-text);
  font-size: 13px;
  line-height: 1.65;
}

.checkout-v2-time-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid #e0e8e2;
  border-radius: 13px;
  background: #fbfdfb;
  color: var(--guest-ink) !important;
  font-size: 13px !important;
  font-weight: 750;
}

.checkout-v2-time-field input {
  width: 130px;
  min-height: 48px;
  margin: 0;
  border: 1px solid #d4dfd7;
  border-radius: 10px;
  background: #ffffff;
  color: var(--guest-ink);
  font-size: 18px;
  text-align: center;
}

.checkout-v2-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: var(--guest-green);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.checkout-v2-submit:hover {
  background: var(--guest-green-dark);
  transform: none;
}

@media (max-width: 1050px) {
  .streaming-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-v2-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .streaming-app-grid {
    grid-template-columns: 1fr;
  }

  .checkout-v2-card {
    padding: 20px;
  }

  .checkout-v2-time-field {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   STAYSCREEN V6.23 — NAVIGATION TÉLÉCOMMANDE
===================================================== */

.remote-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 7px 10px;
  border: 1px solid #dfe7e1;
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  color: #6f7c76;
  font-size: 9px;
  font-weight: 750;
}

.remote-help strong {
  display: grid;
  min-width: 25px;
  height: 25px;
  padding: 0 5px;
  place-items: center;
  border-radius: 7px;
  background: var(--guest-green-soft);
  color: var(--guest-green-dark);
  font-size: 9px;
}

/* Focus télécommande très visible mais élégant */
.remote-focused,
*:focus-visible {
  position: relative;
  z-index: 5;
  outline: 4px solid rgba(42, 112, 74, .30) !important;
  outline-offset: 4px !important;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 7px rgba(94, 156, 105, .26),
    0 12px 30px rgba(36, 75, 51, .16) !important;
  transform: translateY(-2px) scale(1.015);
  transition:
    outline-color .12s ease,
    box-shadow .12s ease,
    transform .12s ease,
    background .12s ease;
}

.pointer-navigation-active .remote-focused:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
  transform: none;
}

/* Les boutons de navigation TV ont une sélection renforcée */
.guest-a-navigation button.remote-focused,
.guest-clean-navigation button.remote-focused,
.guest-navigation button.remote-focused {
  border-color: var(--guest-green-dark) !important;
  background: var(--guest-green-soft) !important;
  color: var(--guest-green-dark) !important;
}

.guest-a-navigation button.remote-focused .icon,
.guest-clean-navigation button.remote-focused .icon,
.guest-navigation button.remote-focused .icon {
  transform: scale(1.08);
}

/* Cartes sélectionnées */
.streaming-app-card.remote-focused,
.recommendation-card.remote-focused,
.guide-card.remote-focused,
.checkout-v2-items label.remote-focused {
  border-color: var(--guest-green-dark) !important;
  background: #f3faf5 !important;
}

/* Champs sélectionnés */
input.remote-focused,
select.remote-focused,
textarea.remote-focused {
  border-color: var(--guest-green-dark) !important;
  background: #ffffff !important;
}

/* Assure une zone d'action confortable sur TV */
body.tv-mode button,
body.tv-mode a,
body.tv-mode input,
body.tv-mode select {
  min-height: 52px;
}

body.tv-mode .guest-a-navigation button {
  min-height: 96px;
}

body.tv-mode .guest-a-navigation button .icon {
  width: 38px;
  height: 38px;
}

@media (max-width: 900px) {
  .remote-help {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .remote-focused,
  *:focus-visible {
    transition: none;
    transform: none;
  }
}
