@font-face {
  font-family: DM Sans;
  src: url("fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #f7f6f3;
  --white: #fffefa;
  --ink: #292521;
  --muted: #6c655e;
  --line: #dedbd4;
  --dark: #272422;
  --rust: #924329;
  --peach: #f2d5c4;
  --sage: #e3ecd9;
  --serif: "Iowan Old Style", Baskerville, Georgia, serif;
  --minute: 1.72px;
  font:
    15px/1.5 "DM Sans",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(36px, 4.1vw, 66px);
  letter-spacing: -0.066em;
  font-weight: 580;
}
h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
h3 {
  font-size: 19px;
  font-weight: 620;
  letter-spacing: -0.025em;
}
p,
small {
  color: var(--muted);
}
p {
  line-height: 1.6;
}
small {
  display: block;
  font-size: 13px;
}
b,
strong {
  font-weight: 650;
}
a {
  color: var(--rust);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
input,
select,
button {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
.icon {
  width: 19px;
  height: 19px;
  flex: none;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
}
.actions,
.sectitle,
.mast nav,
.toolbar,
.previewbar,
.slip-head span,
.address,
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.actions,
.previewbar {
  flex-wrap: wrap;
}
.btn,
button,
.outline,
.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.outline,
.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn:hover,
button:hover {
  background: #443b33;
}
.outline:hover,
.secondary:hover {
  background: #f0ede7;
}
.compact {
  min-height: 37px;
  padding: 8px 12px;
  font-size: 13px;
}
.quiet,
.footlink {
  background: transparent;
  border: none;
  font-size: 13px;
  padding: 4px;
  min-height: 28px;
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quiet:hover,
.footlink:hover {
  background: transparent;
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  background: white;
  z-index: 10;
  padding: 12px;
}
.kicker,
.eyebrow {
  font-size: 11px;
  font-weight: 730;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 11px;
}
.kicker i {
  width: 22px;
  height: 2px;
  background: var(--rust);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 620;
  margin: 13px 0 5px;
}
input:not([type="checkbox"], [type="hidden"], [type="radio"]),
select {
  display: block;
  border: 1px solid #c7c2ba;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
  min-width: 0;
  min-height: 43px;
}
input:focus,
select:focus {
  border-color: var(--rust);
}
:focus-visible,
.slots input:focus-visible + span {
  outline: 3px solid #b5704f;
  outline-offset: 3px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
form,
p,
section,
aside,
.canvas,
.who {
  min-width: 0;
}
.alert,
.errorlist {
  color: #6c3e24;
  background: #faebd9;
  border: 1px solid #ebd4b5;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 20px;
  list-style: none;
}
.errorlist {
  margin: 8px 0;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: inherit;
  text-decoration: none;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.brandplus {
  font-weight: 400;
}
.brandmark {
  display: inline-flex;
  margin-right: 10px;
  align-items: center;
  gap: 2px;
  transform: rotate(-20deg);
}
.brandmark i {
  display: block;
  width: 5px;
  height: 21px;
  background: var(--rust);
  border-radius: 4px;
}
.brandmark i:first-child {
  height: 13px;
}
.brandmark i:last-child {
  height: 16px;
}
.rail .brandmark i {
  background: #efad8b;
}
.workspace {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--dark);
  color: #fff7ed;
  padding: 31px 19px 22px;
}
.rail .brand {
  padding-left: 10px;
}
.railnav {
  margin-top: 54px;
  display: grid;
  gap: 5px;
}
@media (min-width: 781px) {
  .railnav {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .railfoot {
    flex-shrink: 0;
  }
}
.railnav a,
.mast nav a:not(.outline) {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.railnav a {
  color: #d7d0c7;
  padding: 12px 13px;
  border-radius: 7px;
  font-weight: 520;
  font-size: 14px;
}
.railnav a[aria-current] {
  background: #48403a;
  color: #fff6eb;
}
.railnav a[aria-current] .icon {
  color: #f4b697;
}
.railnav a:hover {
  background: #38332e;
}
.railfoot {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid #524b44;
  padding: 19px 4px 0;
}
.railfoot strong {
  font-size: 14px;
}
.railfoot small,
.footlink {
  color: #cfc4b8;
  font-size: 12px;
}
.footlink {
  min-height: 20px;
  padding: 0;
}
.avatar,
.initial,
.tileicon,
.emptyicon,
.stamp {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f3e3d6;
  color: #79442f;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #51483f;
  color: #f3d9c9;
}
.initial.sage,
.stamp {
  color: #405f47;
  background: var(--sage);
}
.crumb {
  height: 65px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(20px, 4vw, 65px);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  background: #fbfaf7;
}
.crumb b {
  font-weight: 400;
  color: #b8b2a9;
}
.crumb strong {
  font-weight: 550;
  color: var(--ink);
}
.workspace main {
  padding: clamp(24px, 3vw, 46px) clamp(20px, 4vw, 65px) 64px;
  max-width: 1590px;
  margin: auto;
}
.mast {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(18px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.mast nav {
  gap: 22px;
}
.mast nav a {
  color: var(--ink);
  font-size: 14px;
}
.public main {
  max-width: 1390px;
  margin: auto;
  padding: clamp(24px, 4vw, 58px) clamp(18px, 6vw, 92px) 70px;
}
.landing {
  display: grid;
  align-items: stretch;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 5vw, 80px);
  min-height: min(660px, 73vh);
}
.intro {
  align-self: center;
  padding: 34px 0;
}
.intro h1 {
  font-family: var(--serif);
  font-size: clamp(60px, 6.9vw, 108px);
  font-weight: 400;
  line-height: 0.99;
}
.intro em {
  color: var(--rust);
  font-weight: 400;
}
.intro > p {
  font-size: 19px;
  max-width: 35ch;
  margin: 25px 0;
}
.landing-photo {
  position: relative;
  min-height: 490px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
}
.landing-photo > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 54% 45%;
  z-index: -1;
}
.visit-slip {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 290px;
  background: #fffcf5;
  padding: 18px 21px;
  border-radius: 9px;
  box-shadow: 0 8px 30px #21190f28;
}
.slip-head,
.slipline,
.sheet-head,
.prohead,
.pagehead,
.schedulebar,
.ticket-title,
.sectionline,
.pricerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.slip-head {
  font-size: 12px;
  color: var(--muted);
}
.slip-head .icon {
  width: 15px;
}
.visit-slip h2 {
  font: 32px/1.15 var(--serif);
  letter-spacing: -0.045em;
  margin: 12px 0;
}
.visit-slip em {
  color: var(--rust);
}
.slipline {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  font-size: 13px;
}
.slipline time {
  font-variant-numeric: tabular-nums;
  color: var(--rust);
}
.slipline strong {
  margin-right: auto;
}
.cover,
.bookinghead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 208px;
  padding: 34px 38px;
  border-radius: 13px;
  color: white;
  background: #302621;
}
.cover::before,
.bookinghead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #241e1bf7 4%, #302720e0 38%, #21191339 78%),
    url("images/barbier.jpg") right 42% / cover no-repeat;
}
.cover .kicker,
.bookinghead .kicker {
  color: #f1cdb4;
}
.cover h1,
.bookinghead h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 70px);
  font-weight: 400;
  letter-spacing: -0.045em;
}
.cover p:not(.kicker),
.bookinghead .address {
  color: #f1e9df;
  margin-top: 10px;
}
.desk,
.booklayout {
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(270px, 0.85fr);
  align-items: start;
  gap: 24px;
  margin-top: 24px;
}
.sheet,
.saloncard,
.letter,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.sheet-head,
.prohead {
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
}
.sectitle {
  color: var(--rust);
}
.sectitle h2 {
  color: var(--ink);
}
.count {
  color: var(--muted);
  background: #efede7;
  padding: 2px 9px;
  font-size: 13px;
  border-radius: 20px;
}
.salonrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.salonrow:last-child {
  border: 0;
}
.who {
  flex: 1;
  overflow-wrap: anywhere;
}
.who strong,
.pricerow strong {
  display: block;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 100px;
  background: #ebe7e0;
  font-size: 12px;
  font-weight: 600;
  color: #544c43;
}
.state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.state.live {
  color: #376048;
  background: #e6efdf;
}
.state.pending {
  color: #855a28;
  background: #f9ecd8;
}
.empty {
  text-align: center;
  padding: 40px 22px;
  max-width: 380px;
  margin: auto;
}
.empty strong {
  display: block;
  font-size: 17px;
  margin: 13px 0 5px;
}
.empty p,
.invite p,
.sectionline p {
  font-size: 14px;
}
.emptyicon {
  background: #eeeae2;
  color: #73695b;
}
.invite,
.saloncard,
.bookform,
.menubody {
  padding: 25px;
}
.invite h2 {
  margin: 16px 0 7px;
}
.invite button,
.authcontent button,
.booksubmit {
  margin-top: 19px;
}
.invite button,
.booksubmit {
  width: 100%;
}
.salongrid,
.people,
.diary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.salongrid {
  margin-top: 22px;
}
.saloncard h2 {
  margin: 8px 0;
}
.saloncard .state {
  margin-top: 17px;
}
.saloncard .actions {
  margin-top: 18px;
}
.pagehead {
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.pagehead .state {
  margin-top: 12px;
}
.pagehead h1 {
  font-size: clamp(34px, 3.7vw, 54px);
}
.identityfields {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr;
  gap: 18px;
  padding: 8px 23px 23px;
}
.sectionline {
  margin: 28px 0 15px;
}
.sectionline .kicker {
  margin-bottom: 6px;
}
.prohead {
  justify-content: flex-start;
}
.profields {
  padding: 0 22px 20px;
}
.profields > div:first-child,
.profields > div:last-child {
  grid-column: 1/-1;
}
.profields > div:nth-last-child(2) {
  grid-column: auto;
}
.profields fieldset {
  margin-top: 14px;
}
.profields legend,
.slotset legend {
  font-size: 13px;
  font-weight: 650;
}
.profields [id$="weekdays"] {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.profields [id$="weekdays"] label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 5px 0 0;
  padding: 4px 7px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
}
.profields [id$="weekdays"] input,
.slots input {
  position: absolute;
  opacity: 0;
}
.profields label:has(input:checked) {
  background: #eee5da;
  border-color: #b9a58b;
  color: #4b3928;
}
.profields label:focus-within {
  outline: 2px solid var(--rust);
}
.savebar {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 0;
}
.schedulebar {
  padding: 22px 24px;
  flex-wrap: wrap;
}
.schedulebar .kicker {
  margin: 0 0 3px;
}
.schedulebar small {
  margin-top: 5px;
}
.daytools,
.daytools input {
  display: flex;
  align-items: center;
  gap: 6px;
}
.daytools input {
  max-width: 150px;
  min-height: 37px !important;
  padding: 6px 8px !important;
  font-size: 14px;
}
.arrowbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-size: 24px;
}
.timeline {
  display: grid;
  grid-template-columns: 63px repeat(var(--pros), minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.timehead,
.trackhead {
  background: #f5f3ee;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.timehead {
  justify-content: center;
  color: #7c736a;
}
.trackhead,
.track {
  border-left: 1px solid var(--line);
}
.trackhead .initial {
  width: 33px;
  height: 33px;
  font-size: 14px;
  border-radius: 50%;
}
.trackhead small {
  line-height: 1.2;
}
.times time {
  height: calc(60 * var(--minute));
  display: block;
  padding: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.track {
  position: relative;
  height: calc(var(--span) * var(--minute));
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(30 * var(--minute) - 1px),
    #eeebe5 calc(30 * var(--minute) - 1px),
    #eeebe5 calc(30 * var(--minute))
  );
}
.event,
.unavailable {
  position: absolute;
  top: calc(var(--top) * var(--minute));
  height: calc(var(--length) * var(--minute));
}
.unavailable {
  inset-inline: 0;
  background: repeating-linear-gradient(
    135deg,
    #e9e6df88 0 1px,
    #f5f3ee88 1px 7px
  );
}
.event {
  left: 4px;
  right: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  overflow: hidden;
  border-left: 3px solid #ad6042;
  border-radius: 5px;
  padding: 0 8px;
  background: #f6e2d7;
  color: #663b25;
  font-size: 13px;
  line-height: 1.22;
  text-decoration: none;
}
.event.green {
  background: #e4eddf;
  color: #324e39;
  border-color: #6c8b65;
}
.event.short {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  font-size: 12px;
}
.event strong,
.event span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event strong {
  flex: none;
}
.event:hover {
  filter: brightness(0.97);
}
.previewbar {
  margin-bottom: 18px;
}
.bookinghead {
  min-height: 168px;
}
.bookinghead::before {
  background:
    linear-gradient(90deg, #312720 6%, #3b2d24ed 46%, #2d241b55),
    url("images/outils.jpg") right 45% / cover;
}
.bookform > .sectitle {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.filters .outline {
  margin-top: 10px;
}
.chosen-date {
  font-size: 15px;
  margin: 22px 0 10px;
  letter-spacing: -0.01em;
}
.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.week a {
  display: grid;
  text-align: center;
  padding: 6px 1px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
}
.week small {
  font-size: 12px;
}
.week strong {
  font-size: 20px;
}
.week [aria-current],
.slots input:checked + span {
  background: var(--dark);
  color: white;
  border-color: var(--dark);
}
.week [aria-current] small {
  color: #eee3d8;
}
.slotset {
  margin: 18px 0;
}
.slotset legend {
  margin-bottom: 9px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
  gap: 6px;
}
.slots label {
  margin: 0;
  position: relative;
}
.slots span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 38px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.slots span:hover {
  border-color: var(--rust);
}
.contactfields {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.menuimage {
  height: 138px;
  background: url("images/outils.jpg") center 57% / cover;
}
.menubody h2 {
  font: 36px var(--serif);
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}
.pricerow {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.pricerow b {
  white-space: nowrap;
}
.pricerow.package {
  color: var(--rust);
}
.booklayout {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
}
.authlayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 940px;
  margin: 16px auto;
  min-height: 495px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}
.authphoto {
  background: url("images/barbier.jpg") 48% center/cover;
}
.authcontent {
  padding: clamp(26px, 4vw, 58px);
  align-self: center;
}
.authcontent h1,
.narrow h1,
.receipt h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 63px);
  font-weight: 450;
  letter-spacing: -0.05em;
}
.authcontent > p:not(.kicker) {
  margin: 12px 0 21px;
}
.narrow,
.receipt {
  max-width: 580px;
  margin: 18px auto;
}
.narrow > p,
.narrow > form {
  margin-top: 16px;
}
.narrow .panel,
.letter {
  padding: 22px;
}
.panel button {
  margin-top: 15px;
}
.letter {
  overflow-wrap: anywhere;
  margin: 14px 0;
}
.letter h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.page-inbox h1 {
  margin-bottom: 12px;
}
.receipt {
  text-align: center;
}
.stamp {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}
.receipt .kicker,
.receipt .address {
  justify-content: center;
}
.receipt .address {
  margin: 12px 0;
}
.ticket {
  margin: 24px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.ticket-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.ticket-title {
  margin: 16px 0;
}
.ticket .slipline {
  justify-content: flex-start;
  gap: 20px;
}
.ticket .slipline time {
  font-size: 17px;
}
@media (max-width: 1060px) {
  .workspace {
    grid-template-columns: 182px minmax(0, 1fr);
  }
  .rail {
    padding-inline: 12px;
  }
  .desk {
    grid-template-columns: minmax(0, 1.1fr) minmax(235px, 0.85fr);
  }
  .salonrow {
    flex-wrap: wrap;
  }
  .workspace main {
    padding-inline: 24px;
  }
  .identityfields {
    grid-template-columns: 1fr 1fr;
  }
  .identityfields > div:last-child {
    grid-column: 1/-1;
    max-width: 235px;
  }
}
@media (max-width: 780px) {
  .workspace {
    display: block;
  }
  .rail {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 12px 17px;
    gap: 10px;
  }
  .rail .brand {
    padding: 0;
  }
  .railnav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    gap: 4px;
    grid-column: 1/-1;
    grid-row: 2;
  }
  .railnav a {
    font-size: 13px;
    padding: 7px 9px;
    gap: 5px;
  }
  .railnav .icon {
    width: 16px;
  }
  .railfoot {
    grid-column: 2;
    grid-row: 1;
    padding: 0;
    border: 0;
    margin: 0;
  }
  .railfoot .avatar,
  .railfoot small,
  .railfoot strong {
    display: none;
  }
  .crumb {
    display: none;
  }
  .desk,
  .booklayout {
    grid-template-columns: 1fr;
  }
  .menucard {
    order: 2;
  }
  .menuimage {
    height: 110px;
  }
  .landing {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .landing-photo {
    min-height: 390px;
  }
  .intro h1 {
    font-size: clamp(47px, 8.2vw, 70px);
  }
  .visit-slip {
    padding: 14px;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .workspace main {
    padding: 23px 18px 50px;
  }
  .people {
    gap: 12px;
  }
  .profields,
  .prohead {
    padding-inline: 15px;
  }
  .salongrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .mast {
    min-height: 60px;
    padding-inline: 16px;
  }
  .mast nav {
    gap: 9px;
  }
  .mast nav a {
    font-size: 12px;
  }
  .mast .brand,
  .rail .brand {
    font-size: 21px;
  }
  .mast .icon {
    width: 15px;
  }
  .public main {
    padding: 18px 16px 44px;
  }
  .landing {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .intro {
    align-self: stretch;
    padding: 15px 4px 0;
  }
  .intro h1 {
    font-size: 57px;
  }
  .intro > p {
    font-size: 16px;
    margin: 16px 0;
  }
  .landing-photo {
    min-height: 310px;
  }
  .landing-photo img {
    object-position: 50% 38%;
  }
  .visit-slip {
    max-width: 220px;
    left: auto;
  }
  .visit-slip h2 {
    font-size: 26px;
  }
  .cover,
  .bookinghead {
    padding: 23px;
    min-height: 160px;
  }
  .cover::before {
    background-position: 64% center;
  }
  .desk,
  .booklayout {
    gap: 14px;
    margin-top: 14px;
  }
  .people,
  .identityfields,
  .authlayout {
    grid-template-columns: 1fr;
  }
  .identityfields {
    gap: 0;
    padding: 5px 18px 18px;
  }
  .identityfields > div:last-child {
    max-width: none;
  }
  .pagehead {
    gap: 16px;
  }
  .authphoto {
    height: 150px;
    background-position: 50% 32%;
  }
  .authlayout {
    margin: 0;
    min-height: auto;
  }
  .authcontent {
    padding: 25px;
  }
  .daytools {
    gap: 4px;
    flex-wrap: wrap;
  }
  .schedulebar {
    padding: 15px 12px;
    gap: 14px;
  }
  .timeline {
    grid-template-columns: 42px repeat(var(--pros), minmax(0, 1fr));
  }
  .trackhead {
    padding: 8px 5px;
    gap: 5px;
  }
  .trackhead .initial {
    display: none;
  }
  .times time {
    font-size: 10px;
    padding: 6px 0;
  }
  .event {
    padding: 0 3px;
    left: 1px;
    right: 1px;
    font-size: 11px;
  }
  .event.short {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1.05;
    font-size: 11px;
  }
  .event span {
    max-width: 100%;
  }
  .menubody,
  .bookform,
  .invite {
    padding: 18px;
  }
  .bookform .pair {
    grid-template-columns: 1fr;
  }
  .slots {
    grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
  }
  .slots span {
    min-height: 42px;
  }
  .sectionline {
    margin: 21px 0 14px;
  }
  .sheet-head {
    padding: 16px;
  }
  .week {
    gap: 3px;
  }
  .week a {
    padding: 5px 0;
  }
  .ticket {
    padding: 18px;
  }
  .pagehead .actions {
    gap: 6px;
  }
  .pagehead .actions a {
    font-size: 12px;
    padding: 9px;
  }
  .brandmark {
    margin-right: 6px;
  }
  .cover p:not(.kicker) {
    font-size: 14px;
  }
}
@media (max-width: 580px) {
  .daytools {
    display: grid;
    width: 100%;
    grid-template-columns: 34px minmax(90px, 1fr) auto 34px;
    gap: 5px;
    align-items: center;
  }
  .daytools .arrowbtn {
    width: 34px;
  }
  .daytools input {
    width: 100%;
    max-width: none;
  }
  .eventservice {
    display: none;
  }
  .railnav {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .railnav a {
    flex: none;
  }
}

.salonsign {
  font: 600 clamp(20px, 3.4vw, 31px)/1.1 var(--serif);
  letter-spacing: -.04em;
  color: var(--ink);
  text-decoration: none;
}
.mast .reserve-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--rust);
}
.page-offer .bookinghead {
  min-height: clamp(180px, 23vw, 295px);
  border-radius: 4px;
}
.page-offer .bookinghead::before {
  background: linear-gradient(90deg, #201b18eb, #251e18a6 55%, #201b1820),
    url("images/barbier.jpg") center 43% / cover;
}
.reservation-layout {
  display: grid;
  grid-template-columns: minmax(240px, .84fr) minmax(0, 1.25fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 42px);
}
.service-list, #dispos { scroll-margin-top: 16px; }
.service-list h2 { font: 400 38px/1 var(--serif); margin: 0 0 18px; }
.service-choice {
  display: grid;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding: 16px 12px;
}
.service-choice strong { font-size: 16px; }
.service-choice b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.service-choice small { margin-top: 4px; }
.service-choice svg { width: 17px; color: var(--rust); }
.service-choice[aria-current], .service-choice:hover { background: #ece8df; }
.visit-summary, .date-heading, .demolinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.visit-summary { margin: 16px 0 8px; }
.visit-summary span { font-variant-numeric: tabular-nums; color: var(--rust); }
.visit-steps { margin: 0; padding: 0 0 0 20px; font-size: 14px; color: var(--muted); }
.date-heading { margin: 20px 0 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.date-heading h3 { font-size: 16px; }
.pickdate summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; color: var(--rust); font-size: 13px; }
.pickdate form button { margin-top: 6px; }
.demo-caption { font-size: 13px; margin: 18px 12px; }
.demolinks { justify-content: flex-start; gap: 18px; margin: 24px 0; }
@media (max-width: 760px) {
  .reservation-layout { grid-template-columns: minmax(0, 1fr); }
  .service-choice { padding-block: 12px; }
  .service-list h2 { font-size: 32px; }
}

/* Keep the public booking desk in view while each long column remains reachable. */
@media (min-width: 960px) and (min-height: 520px) {
  .public:has(.reservation-layout) {
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .public:has(.reservation-layout) > .canvas { min-height: 0; }
  .public main:has(.reservation-layout) {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-block: clamp(10px, 2vh, 24px);
  }
  .public main:has(.reservation-layout) .bookinghead {
    flex: none;
    min-height: 0;
    padding: clamp(10px, 1.7vh, 18px) 24px;
  }
  .public main:has(.reservation-layout) .bookinghead h1 { font-size: clamp(28px, 4.3vh, 46px); }
  .public .bookinghead .address { margin-top: 3px; }
  .public .reservation-layout {
    flex: 1;
    min-height: 0;
    margin-top: clamp(12px, 2vh, 24px);
    align-items: stretch;
    grid-template-rows: minmax(0, 1fr);
  }
  .public .reservation-layout > section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
  }
  .public .service-list h2 { margin-bottom: 12px; font-size: 31px; }
  .public .catalog-choices, .public .booking-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    padding: 3px 5px;
  }
  .public .catalog-choices { margin-inline: -5px; }
  .public .catalog-choices .service-choice { padding-block: clamp(8px, 1.35vh, 16px); }
  .public .reservation-layout .bookform { padding: clamp(12px, 2vh, 22px); }
  .public .booking-scroll { flex: 1; margin-inline: -5px; }
  .public .booksubmit { flex: none; margin-top: 10px; }
  .public .demo-caption { margin: 10px 0 0; }
}

@media (min-width: 960px) and (min-height: 520px) and (max-height: 780px) {
  .public:has(.reservation-layout) .mast { min-height: 54px; padding-block: 6px; }
  .public .reservation-layout .visit-summary { margin: 8px 0 4px; }
  .public .reservation-layout .visit-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 24px;
    padding-left: 18px;
  }
  .public .reservation-layout .date-heading,
  .public .reservation-layout .contactfields { margin-top: 12px; padding-top: 10px; }
  .public .reservation-layout .slotset { margin-block: 10px; }
  .public .reservation-layout .week a { padding-block: 3px; }
  .public .reservation-layout .slots span { min-height: 33px; }
}

.config-public { display:inline-flex; flex-wrap:wrap; gap:3px; padding:4px; background:#f1ede6; border-radius:8px; margin:8px 0 14px; }
.config-public a { padding:7px 13px; color:#5d554b; border-radius:5px; font-weight:600; text-decoration:none; }
.config-public a[aria-current] { background:#302a25; color:#fff; }
.config-public a:focus-visible { outline:2px solid #a94624; outline-offset:1px; }

.page-imports .procard, .page-demo_imports .procard {padding: clamp(16px, 3vw, 32px); margin-block: 16px; max-width: 74rem;}
.import-results {overflow: auto; max-height: 52vh; margin: 16px 0;}
.import-results table {border-collapse: collapse; width:100%; font-size: .92rem;}
.import-results th, .import-results td {text-align:left; padding: 8px 12px; border-bottom:1px solid var(--line); vertical-align:top;}
.import-results th {position:sticky; top:0; background:var(--white);}
.import-results caption {text-align:left;}
.import-results input {width:1.1rem;height:1.1rem;}
