/* The workshop comes from the dashboard renderer, which also renders hidden routes. */
body.fs-dashboard:has(.ws-page:not([hidden])) {
  --ws-width: min(91%, 1312px);
  background: #fbf3e7;
}
body.fs-dashboard:has(.ws-page:not([hidden])) :is(.atelier-header-inner, .workshop-footer-inner) {
  width: var(--ws-width);
  max-width: 1312px;
}
body.fs-dashboard:has(.ws-page:not([hidden])) .atelier-header {
  background: #f9efe2;
  border-color: #dbcaaf;
}
body.fs-dashboard:has(.ws-page:not([hidden])) .atelier-nav a[href="#workshop"] {
  color: #843d21;
  text-decoration: underline;
  text-underline-offset: .27em;
}
.fs-dashboard:not(.in-admin) .fs-main:has(> .ws-page:not([hidden])) {
  width: var(--ws-width);
  max-width: none;
  padding: 0;
}
body.fs-dashboard:has(.ws-page:not([hidden])) .workshop-footer {
  margin-top: clamp(38px, 4.6vw, 72px);
}
body.fs-dashboard:has(.ws-page:not([hidden])) #app > .chat-launch {
  background: #4b2819;
  color: #fff9ef;
  border-radius: 7px;
}

.fs-dashboard.v2 #workshop.ws-page {
  --ws-ink: #382013;
  --ws-copy: #573e2e;
  --ws-muted: #6c513e;
  --ws-paper: #fff9ef;
  --ws-line: #dcc8ae;
  --ws-brown: #4b2819;
  --ws-copper: #8a4328;
  --glyph-light: #efd6b7;
  --glyph-deep: #be8159;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ws-ink);
  box-shadow: none;
}
.ws-page .ws-shell { min-width: 0; }
.ws-page :is(h1, h2, h3, p, figure, ol) { margin: 0; }
.ws-page :is(a, button) { -webkit-tap-highlight-color: #8f3c1822; }
.ws-page .ws-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: clamp(5px, .8vw, 12px) 0;
  padding-inline: 1px;
  color: var(--ws-muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.ws-page .ws-back svg { width: 17px; height: 17px; transform: rotate(180deg); }
.ws-page .ws-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--ws-line);
  border-radius: 12px;
  background: #f6e9d6;
}
.ws-page .ws-intro {
  align-self: center;
  min-width: 0;
  padding: clamp(25px, 3.3vw, 52px);
}
.fs-dashboard.v2 .ws-page h1 {
  margin: 0;
  max-width: 12.7em;
  color: var(--ws-ink);
  font-size: clamp(43px, 4.85vw, 74px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.015;
  text-wrap: balance;
}
.ws-page .ws-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(17px, 1.7vw, 26px);
  color: var(--ws-copy);
}
.ws-page .ws-identity > div { display: grid; gap: 1px; }
.ws-page .ws-identity strong {
  color: var(--ws-ink);
  font-size: clamp(18px, 1.42vw, 22px);
  line-height: 1.32;
}
.ws-page .ws-identity .ws-portrait {
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid #c8ab89;
  border-radius: 8px;
  object-fit: contain;
  background: #eedac0;
}
.ws-page .ws-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ws-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ws-page .ws-location svg { width: 16px; height: 16px; color: var(--ws-copper); }
.ws-page p.ws-lead {
  max-width: 49ch;
  margin: clamp(15px, 1.55vw, 23px) 0 0;
  color: var(--ws-copy);
  font-size: clamp(17px, 1.31vw, 20px);
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.ws-page .ws-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(18px, 2vw, 30px); }
.ws-page :is(.ws-primary, .ws-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  min-height: 50px;
  padding: 12px clamp(14px, 1.45vw, 22px);
  border: 1px solid var(--ws-brown);
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.ws-page .ws-primary { color: #fff9ef; background: var(--ws-brown); }
.ws-page .ws-secondary { color: var(--ws-brown); background: #fff8ec; border-color: #ba9976; }
.ws-page .ws-actions svg { width: 19px; height: 19px; }
.ws-page .ws-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: stretch;
  min-height: clamp(318px, 27vw, 438px);
  border-left: 1px solid #d8bea1;
  background: #ecdbc6;
}
.ws-page .ws-visual > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ws-page .ws-visual.ws-visual-portrait > img { object-fit: contain; }
.ws-page .ws-visual.ws-visual-illustrated {
  background: linear-gradient(110deg, #f6e9d6d6, #f6e9d600 58%),
              url('assets/home-bench-mobile.webp') center 52% / cover no-repeat;
}
.ws-page .ws-visual.ws-visual-illustrated > img {
  inset: 2% auto auto 53%;
  width: auto;
  max-width: none;
  height: 186%;
  max-height: none;
  transform: translateX(-50%);
}
.ws-page .ws-visual figcaption {
  position: absolute;
  z-index: 1;
  inset: auto .85rem .8rem auto;
  max-width: calc(100% - 1.7rem);
  border-radius: 4px;
  padding: 4px 8px;
  color: #fffaf0;
  background: #332116e8;
  font-size: clamp(11px, .85vw, 13px);
  line-height: 1.35;
}
.ws-page :is(.ws-explore,.ws-process,.ws-gallery) { margin-top: clamp(30px, 3.15vw, 52px); }
.fs-dashboard.v2 .ws-page :is(.ws-explore,.ws-process,.ws-gallery) h2 {
  margin: 0 0 clamp(15px, 1.45vw, 23px);
  color: var(--ws-ink);
  font-size: clamp(30px, 2.65vw, 43px);
  letter-spacing: -.045em;
  line-height: 1.12;
}
.ws-page .ws-destinations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 24px); }
.ws-page .ws-link {
  display: grid;
  grid-template-columns: clamp(82px, 8.5vw, 135px) minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 1.55vw, 23px);
  min-height: clamp(116px, 9.7vw, 150px);
  padding: clamp(12px, 1.4vw, 20px);
  border: 1px solid var(--ws-line);
  border-radius: 9px;
  background: var(--ws-paper);
  color: var(--ws-ink);
  text-decoration: none;
}
.ws-page .ws-link-art {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 80px;
  padding: 4px 0;
}
.ws-page .ws-link-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 111px;
  object-fit: contain;
}
.fs-dashboard.v2 .ws-page .ws-link h3 {
  margin: 0;
  color: var(--ws-ink);
  font-size: clamp(21px, 1.85vw, 29px);
  letter-spacing: -.03em;
  line-height: 1.16;
}
.ws-page .ws-link p {
  margin: 6px 0 0;
  max-width: 34ch;
  color: var(--ws-muted);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.42;
}
.ws-page .ws-link-arrow {
  display: grid;
  place-items: center;
  width: clamp(31px, 2.9vw, 43px);
  height: clamp(31px, 2.9vw, 43px);
  border: 1px solid #c7a98a;
  border-radius: 5px;
  color: var(--ws-brown);
}
.ws-page .ws-link-arrow svg { width: 19px; height: 19px; }
.ws-page .ws-process {
  border-top: 1px solid var(--ws-line);
  padding-top: clamp(24px, 2.45vw, 38px);
}
.ws-page .ws-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 40px);
  padding: 0;
  list-style: none;
}
.ws-page .ws-steps li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 11px;
  padding: 4px 0;
  color: var(--ws-copy);
}
.ws-page .ws-steps li > svg {
  width: 32px;
  height: 32px;
  padding: 4px;
  color: var(--ws-copper);
}
.fs-dashboard.v2 .ws-page .ws-steps h3 { margin: 3px 0 5px; color: var(--ws-ink); font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.ws-page .ws-steps p { color: var(--ws-muted); font-size: 16px; line-height: 1.5; }
.ws-page .ws-gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: 14px; }
.ws-page .ws-gallery-grid img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; border-radius: 7px; background: #f2e3d0; }

.ws-page :is(a, button):focus-visible { outline: 3px solid #9c4e2c; outline-offset: 4px; }
@media (hover: hover) {
  .ws-page .ws-back:hover { text-decoration: underline; text-underline-offset: .17em; }
  .ws-page .ws-primary:hover { background: #683a22; }
  .ws-page .ws-secondary:hover, .ws-page .ws-link:hover { background: #fff2df; border-color: #a77652; }
  .ws-page .ws-link:hover .ws-link-arrow { color: #fffaf1; background: var(--ws-brown); border-color: var(--ws-brown); }
}
@media (prefers-reduced-motion: no-preference) {
  .ws-page :is(.ws-link, .ws-primary, .ws-secondary, .ws-link-arrow) { transition: background-color .17s, color .17s, border-color .17s; }
}
@media (max-width: 1000px) {
  body.fs-dashboard:has(.ws-page:not([hidden])) { --ws-width: 93%; }
  .ws-page .ws-hero { grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); }
  .ws-page .ws-intro { padding: clamp(21px, 2.7vw, 30px); }
  .ws-page .ws-link { grid-template-columns: minmax(55px, 21%) minmax(0,1fr) auto; gap: 10px; }
}
@media (max-width: 730px) {
  body.fs-dashboard:has(.ws-page:not([hidden])) { --ws-width: calc(100% - 30px); }
  .ws-page .ws-hero { grid-template-columns: minmax(0,1fr); }
  .ws-page .ws-intro { padding: clamp(20px, 5vw, 30px); }
  .fs-dashboard.v2 .ws-page h1 { font-size: clamp(38px, 7.6vw, 53px); }
  .ws-page .ws-actions { margin-top: 20px; }
  .ws-page .ws-visual {
    min-height: 0;
    height: clamp(215px, 48vw, 280px);
    border-top: 1px solid #dec8ad;
    border-left: 0;
  }
  .ws-page .ws-visual.ws-visual-illustrated { background-position: center 46%; }
  .ws-page .ws-visual.ws-visual-illustrated > img { left: 50%; }
  .ws-page .ws-visual figcaption { right: 7px; bottom: 7px; font-size: 11px; }
  .ws-page .ws-destinations, .ws-page .ws-steps { grid-template-columns: minmax(0,1fr); }
  .ws-page .ws-link { grid-template-columns: clamp(66px,18vw,100px) minmax(0,1fr) auto; gap: 12px; min-height: 100px; padding: 10px 14px; }
  .ws-page .ws-link-art { min-height: 0; }
  .ws-page .ws-steps { gap: 14px; }
  .ws-page .ws-steps li { max-width: 57ch; }
}
@media (max-width: 460px) {
  .ws-page .ws-actions { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
  .ws-page :is(.ws-primary, .ws-secondary) { min-height: 50px; }
  .ws-page .ws-link { grid-template-columns: 56px minmax(0,1fr) 28px; column-gap: 9px; padding: 12px 10px; }
  .ws-page .ws-link-arrow { width: 28px; height: 30px; }
}
