body {
  margin: 0;
  background: #f7f3ed;
  color: #23302e;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: #35564d;
}

.floating-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(380px, calc(100% - 36px));
  padding: 18px 46px 18px 18px;
  border: 1px solid rgba(53, 86, 77, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #23302e;
  box-shadow: 0 18px 58px rgba(39, 49, 46, 0.18);
  backdrop-filter: blur(10px);
}

.floating-notice[hidden] {
  display: none;
}

.floating-notice strong {
  display: block;
  margin-bottom: 6px;
  color: #35564d;
  font-size: 14px;
}

.floating-notice p {
  margin: 0 0 8px;
  color: #61706d;
  font-size: 13px;
  line-height: 1.42;
}

.floating-notice p:last-child {
  margin-bottom: 0;
}

.floating-notice button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(53, 86, 77, 0.1);
  color: #35564d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.top-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #35564d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -8px 0 18px;
}

.admin-bar p {
  margin: 0;
}

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

.summary-card {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 44px rgba(39, 49, 46, 0.08);
}

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

.summary-card span,
.summary-card small {
  color: #61706d;
  font-size: 13px;
  font-weight: 800;
}

.summary-card strong {
  color: #35564d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2,
.section-head p {
  margin: 0;
}

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

.appointment-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(35, 48, 46, 0.12);
  border-radius: 8px;
  background: #fbfaf6;
}

.appointment-date {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(53, 86, 77, 0.1);
  color: #35564d;
}

.appointment-date strong {
  font-size: 18px;
}

.appointment-date span {
  font-size: 13px;
  font-weight: 800;
}

.appointment-main h3 {
  margin: 0 0 4px;
  color: #23302e;
  font-size: 17px;
}

.appointment-main p {
  margin: 0 0 8px;
  color: #61706d;
  font-size: 14px;
  font-weight: 700;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-row a,
.ghost-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 999px;
  background: white;
  color: #35564d;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ghost-button {
  cursor: pointer;
}

.danger-text {
  color: #8a3e2d;
}

.empty-state {
  margin: 0;
  padding: 20px;
  border-radius: 8px;
  background: #fbfaf6;
  color: #61706d;
  font-weight: 700;
}

.admin-page {
  width: min(1280px, calc(100% - 28px));
}

.compact-summary .summary-card {
  min-height: 92px;
  padding: 14px 16px;
}

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

.dense-panel {
  padding: 18px;
}

.quick-add-panel {
  border-color: rgba(53, 86, 77, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
}

.admin-search-panel {
  margin-top: 18px;
  border-color: rgba(53, 86, 77, 0.22);
  background: #fffefb;
}

.admin-search-head {
  align-items: flex-start;
}

.admin-search-field {
  margin-bottom: 12px;
}

.admin-search-field input {
  min-height: 52px;
  border-color: rgba(53, 86, 77, 0.28);
  background: white;
  font-size: 17px;
}

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

.admin-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 999px;
  background: #fdfcf9;
  color: #35564d;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: #35564d;
  background: #35564d;
  color: white;
}

.manual-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) minmax(130px, 0.8fr) minmax(110px, 0.7fr) minmax(210px, 1.2fr);
  gap: 12px;
  align-items: end;
}

.manual-grid label {
  margin-bottom: 0;
}

.manual-submit {
  display: flex;
  align-items: end;
}

.manual-submit .button {
  width: 100%;
  min-height: 48px;
}

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

.schedule-day {
  overflow: hidden;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 8px;
  background: #fdfcf9;
}

.schedule-day.is-hidden,
.schedule-row.is-hidden {
  display: none;
}

.schedule-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: #35564d;
  color: #35564d;
}

.schedule-day-head h3 {
  margin: 0;
  color: white;
  font-size: 15px;
}

.schedule-day-head span {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.schedule-row {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(210px, 1fr) minmax(88px, auto) 76px;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 6px 8px 6px 14px;
  border-top: 1px solid rgba(35, 48, 46, 0.1);
  background: #ffffff;
}

.schedule-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #7a927b;
  content: "";
}

.schedule-row:nth-child(even) {
  background: #fbfaf6;
}

.schedule-row.service-consultation::before {
  background: #6f8a7a;
}

.schedule-row.service-monpsy::before {
  background: #c9a56a;
}

.schedule-row.service-emdr::before {
  background: #8a7b9d;
}

.schedule-row.service-bilan::before {
  background: #8b6f62;
}

.schedule-row.service-expats::before {
  background: #4c7f8f;
}

.day-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid rgba(35, 48, 46, 0.1);
  background: #f7f3ed;
  color: #61706d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.day-separator::before,
.day-separator::after {
  height: 1px;
  flex: 1;
  background: rgba(53, 86, 77, 0.18);
  content: "";
}

.schedule-time,
.schedule-patient {
  display: grid;
  gap: 1px;
}

.schedule-time strong {
  color: #1f2b29;
  font-size: 19px;
  line-height: 1;
}

.schedule-time span,
.schedule-patient span {
  color: #61706d;
  font-size: 11px;
  font-weight: 700;
}

.schedule-patient strong {
  color: #23302e;
  font-size: 14px;
  line-height: 1.15;
}

.schedule-patient mark {
  display: inline-flex;
  margin-right: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(53, 86, 77, 0.1);
  color: #35564d;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.schedule-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.schedule-contact a {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(53, 86, 77, 0.18);
  border-radius: 999px;
  background: white;
  color: #35564d;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.mini-danger {
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid rgba(138, 62, 45, 0.22);
  border-radius: 999px;
  background: white;
  color: #8a3e2d;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.mini-panel {
  padding: 16px;
  border: 1px solid rgba(35, 48, 46, 0.12);
  border-radius: 8px;
  background: #fbfaf6;
}

.mini-panel h3 {
  margin: 0 0 12px;
  color: #23302e;
  font-size: 16px;
}

.panel {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 60px rgba(39, 49, 46, 0.1);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
}

label,
legend {
  display: block;
  margin-bottom: 14px;
  color: #61706d;
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid rgba(35, 48, 46, 0.18);
  border-radius: 6px;
  background: #fdfcf9;
  color: #23302e;
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.booking-sidebar {
  position: sticky;
  top: 18px;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 76px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 8px;
  background: #fdfcf9;
  cursor: pointer;
}

.service-card input {
  position: absolute;
  opacity: 0;
}

.service-card span {
  color: #23302e;
  font-weight: 800;
}

.service-card small {
  color: #61706d;
  font-weight: 600;
}

.service-card:has(input:checked) {
  border-color: #35564d;
  background: rgba(122, 146, 123, 0.16);
  box-shadow: inset 4px 0 0 #35564d;
}

.service-note {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid rgba(53, 86, 77, 0.16);
  border-radius: 6px;
  background: rgba(122, 146, 123, 0.14);
  color: #35564d;
}

.service-note strong {
  color: #23302e;
}

.service-note span {
  color: #61706d;
  font-size: 13px;
  font-weight: 700;
}

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

.choice-grid label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px;
  border: 1px solid rgba(35, 48, 46, 0.14);
  border-radius: 6px;
  background: #fdfcf9;
}

.choice-grid input,
.checkbox-label input {
  width: auto;
  margin: 0;
}

.compact {
  grid-template-columns: 1fr;
}

.appointment-board {
  min-width: 0;
}

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

.period-nav strong,
.period-nav span {
  display: block;
}

.period-nav strong {
  color: #23302e;
  font-size: 18px;
}

.period-nav span {
  color: #61706d;
  font-size: 13px;
  font-weight: 700;
}

.period-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 48, 46, 0.18);
  border-radius: 999px;
  background: #fdfcf9;
  color: #35564d;
  font-weight: 800;
  text-decoration: none;
}

.period-button.disabled {
  pointer-events: none;
  opacity: 0.35;
}

.period-button.highlight {
  border-color: #35564d;
  background: #35564d;
  color: white;
}

.agenda-nav {
  grid-template-columns: 104px minmax(0, 1fr) 104px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgba(35, 48, 46, 0.1);
  border-radius: 8px;
  background: #fbfaf6;
}

.agenda-nav .period-button {
  min-height: 38px;
  padding: 0 14px;
  background: white;
  font-size: 13px;
}

.agenda-nav strong {
  font-size: 17px;
}

.next-availability-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(53, 86, 77, 0.16);
  border-left: 5px solid #35564d;
  border-radius: 8px;
  background: #fbfaf6;
}

.next-availability-strip div {
  display: grid;
  gap: 3px;
}

.next-availability-strip strong {
  color: #23302e;
  font-size: 16px;
}

.next-availability-strip span {
  color: #61706d;
  font-size: 13px;
  font-weight: 750;
}

.next-availability-strip .period-button {
  min-width: 142px;
  min-height: 40px;
  padding: 0 16px;
  flex: 0 0 auto;
  font-size: 13px;
}

.next-availability-box {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 22px 24px;
  border: 1px solid rgba(53, 86, 77, 0.14);
  border-radius: 8px;
  background: #eef3ee;
}

.next-availability-box strong {
  color: #244b43;
  font-size: 19px;
}

.next-availability-box p {
  margin: 0;
  max-width: 680px;
  color: #465a56;
  font-weight: 650;
}

.next-slot-button {
  max-width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  white-space: normal;
}

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

.agenda-availability {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}

.availability-day {
  padding: 16px;
  border: 1px solid rgba(35, 48, 46, 0.12);
  border-radius: 8px;
  background: #fbfaf6;
}

.agenda-availability .availability-day {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: white;
}

.availability-day h2 {
  margin: 0 0 14px;
  color: #23302e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.agenda-availability .availability-day h2 {
  margin: 0;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(35, 48, 46, 0.1);
  background: #fbfaf6;
  color: #35564d;
  font-size: 13px;
  text-align: center;
}

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

.agenda-availability .time-list {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 10px;
}

.time-pill {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 8px;
  border: 1px solid rgba(53, 86, 77, 0.22);
  border-radius: 6px;
  background: white;
  color: #35564d;
  cursor: pointer;
}

.agenda-availability .time-pill {
  min-height: 37px;
  border-color: rgba(53, 86, 77, 0.26);
  background: #fdfcf9;
}

.time-pill input {
  position: absolute;
  opacity: 0;
}

.time-pill span {
  font-weight: 800;
}

.agenda-availability .time-pill span {
  font-size: 14px;
}

.time-pill:has(input:checked) {
  border-color: #35564d;
  background: #35564d;
  color: white;
}

.patient-details {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(35, 48, 46, 0.12);
}

.patient-details h2 {
  margin: 0 0 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.selected-slot-summary {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(53, 86, 77, 0.18);
  border-radius: 8px;
  background: rgba(122, 146, 123, 0.14);
  color: #35564d;
  font-size: 14px;
  font-weight: 800;
}

.selected-slot-summary[hidden] {
  display: none;
}

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

.button {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #35564d;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.notice {
  padding: 14px;
  border-radius: 8px;
  background: rgba(122, 146, 123, 0.14);
  color: #35564d;
  font-weight: 700;
}

.inline-notice {
  margin-top: 16px;
}

.danger {
  background: rgba(184, 116, 93, 0.14);
  color: #8a3e2d;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.compact-table td {
  padding-top: 11px;
  padding-bottom: 11px;
}

.compact-table td strong {
  display: block;
  color: #23302e;
}

.compact-table td small {
  display: block;
  margin-top: 2px;
  color: #61706d;
  font-size: 12px;
  font-weight: 800;
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 1px solid rgba(35, 48, 46, 0.14);
  text-align: left;
  vertical-align: top;
}

.muted {
  color: #61706d;
}

.small-note {
  font-size: 13px;
}

.agenda-pro-panel {
  padding: 18px;
  background: #f4f0e8;
  border-color: #d7d9d1;
}

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

.agenda-pro-top h2 {
  margin-bottom: 4px;
  color: #35564d;
}

.agenda-week-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.agenda-week-nav a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(53, 86, 77, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #35564d;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.agenda-week-nav a:hover,
.agenda-week-nav a:focus {
  border-color: rgba(53, 86, 77, 0.32);
  background: #fffdf8;
}

.agenda-pro-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agenda-pro-tabs button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #d9ded6;
  border-radius: 999px;
  background: #fffdf8;
  color: #35564d;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.agenda-pro-tabs button:hover,
.agenda-pro-tabs button:focus {
  border-color: #9fb4aa;
  background: #f2f5ef;
}

.agenda-pro-tabs button.is-active {
  border-color: #35564d;
  background: #35564d;
  color: #fffdf8;
}

.agenda-pro-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 14px;
}

.agenda-pro-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #61706d;
  font-size: 12px;
  font-weight: 850;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #dff1e6;
  border: 1px solid #a8cbb6;
}

.legend-dot.soft { background: #e8f3ec; border-color: #c5d8ca; }
.legend-dot.lunch { background: #e7e1d8; border-color: #d6cec1; }
.legend-dot.monpsy { background: #d4ad67; border-color: #d4ad67; }
.legend-dot.emdr { background: #8d7aa2; border-color: #8d7aa2; }
.legend-dot.expats { background: #4f8797; border-color: #4f8797; }

.agenda-pro-board {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid #cfd9d1;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 1px 0 rgba(53, 86, 77, 0.06);
}

.agenda-pro-head,
.agenda-pro-grid {
  display: grid;
  min-width: 1180px;
  grid-template-columns: 76px repeat(5, minmax(210px, 1fr));
}

.agenda-pro-head {
  background: #eef2ec;
  border-bottom: 2px solid #cbd6ce;
}

.agenda-pro-corner,
.agenda-pro-day-head {
  min-height: 76px;
  padding: 10px;
  border-right: 2px solid #cbd6ce;
  display: grid;
  align-content: center;
  gap: 3px;
}

.agenda-pro-day-head strong {
  color: #35564d;
  font-size: 17px;
}

.agenda-pro-day-head small,
.agenda-pro-day-head span {
  color: #61706d;
  font-size: 12px;
  font-weight: 800;
}

.agenda-pro-time-col {
  display: grid;
  height: var(--agenda-day-height);
  grid-template-rows: repeat(22, 36px);
  border-right: 2px solid #cbd6ce;
  background: #faf8f2;
}

.agenda-pro-time-col span {
  display: flex;
  align-items: flex-start;
  padding: 5px 7px 0;
  border-bottom: 1px solid #e1e6df;
  color: #61706d;
  font-size: 11px;
  font-weight: 850;
}

.agenda-pro-time-col span:nth-child(odd) {
  border-bottom-color: #cfd9d1;
  color: #35564d;
}

.agenda-pro-day {
  position: relative;
  height: var(--agenda-day-height);
  min-width: 0;
  border-right: 2px solid #d4ddd5;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 35px, rgba(205, 216, 207, 0.38) 35px, rgba(205, 216, 207, 0.38) 36px, transparent 36px, transparent 71px, rgba(177, 194, 181, 0.72) 71px, rgba(177, 194, 181, 0.72) 72px),
    #fffdf8;
}

.agenda-bg {
  position: absolute;
  right: 0;
  left: 0;
}

.soft-zone {
  background: rgba(232, 243, 236, 0.42);
}

.work-zone {
  background: rgba(232, 243, 236, 0.62);
  border-top: 2px solid rgba(111, 138, 122, 0.28);
  border-bottom: 2px solid rgba(111, 138, 122, 0.28);
}

.expat-zone {
  background: rgba(210, 234, 239, 0.92);
  border-top-color: rgba(79, 135, 151, 0.46);
  border-bottom-color: rgba(79, 135, 151, 0.46);
}

.adaptable-zone {
  background: rgba(226, 226, 219, 0.78);
  border-top: 1px solid rgba(116, 126, 121, 0.24);
  border-bottom: 1px solid rgba(116, 126, 121, 0.24);
}

.lunch-zone {
  background:
    repeating-linear-gradient(135deg, rgba(231, 225, 216, 0.62) 0 7px, rgba(250, 247, 241, 0.42) 7px 14px),
    rgba(231, 225, 216, 0.38);
  border-top: 1px solid rgba(214, 206, 193, 0.88);
  border-bottom: 1px solid rgba(214, 206, 193, 0.88);
}

.agenda-zone-label {
  position: absolute;
  z-index: 2;
  right: 12px;
  left: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(111, 138, 122, 0.22);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.58);
  color: #61706d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agenda-pro-item {
  position: absolute;
  z-index: 4;
  right: 8px;
  left: 8px;
  display: grid;
  min-height: 32px;
  align-content: center;
  gap: 1px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(190, 202, 193, 0.86);
  border-left: 4px solid #6f8a7a;
  border-radius: 6px;
  background: #ecefeb;
  box-shadow: 0 1px 2px rgba(53, 86, 77, 0.08);
}

.agenda-pro-item.is-hidden {
  display: none;
}

.agenda-pro-item.service-consultation { border-left-color: #6f8a7a; background: #ecefeb; }
.agenda-pro-item.service-monpsy { border-left-color: #d4ad67; background: #f6efdf; }
.agenda-pro-item.service-emdr { border-left-color: #8d7aa2; background: #f0ebf0; }
.agenda-pro-item.service-bilan { border-left-color: #8b6f62; background: #f1ece8; }
.agenda-pro-item.service-expats { border-left-color: #4f8797; background: #e5eef0; }

.agenda-pro-item strong,
.agenda-pro-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-pro-item strong {
  color: #23302e;
  font-size: 12px;
  line-height: 1.15;
}

.agenda-pro-item span {
  color: #61706d;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}

.agenda-pro-actions {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.agenda-pro-actions a {
  display: inline-flex;
  min-height: 16px;
  align-items: center;
  padding: 0 6px;
  border: 1px solid rgba(53, 86, 77, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
  color: #35564d;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

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

  .booking-shell {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

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

  .agenda-availability {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

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

  .schedule-row {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .schedule-contact,
  .schedule-row form {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .floating-notice {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .admin-bar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-grid,
  .summary-card.wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

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

  .choice-grid,
  .period-nav,
  .manual-grid {
    grid-template-columns: 1fr;
  }

  .agenda-nav {
    grid-template-columns: 1fr 1fr;
  }

  .agenda-nav div {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .next-availability-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .next-availability-strip .period-button {
    width: 100%;
  }

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

  .agenda-availability .time-list {
    grid-template-columns: 1fr;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
  }

  .table thead {
    display: none;
  }
}
