/* Customer enquiries, in the Warm Workshop palette. */
body.fs-dashboard:has(.rq-page) {
  --rq-page-width: min(90%, 1250px);
  background: #f9f1e5;
}
body.fs-dashboard:has(.rq-page) :is(.atelier-header-inner, .workshop-footer-inner) {
  width: var(--rq-page-width);
  max-width: 1250px;
}
body.fs-dashboard:has(.rq-page) .atelier-header {
  background: #f9efe2;
  border-color: #dfcbb2;
}
body.fs-dashboard:has(.rq-page) .workshop-footer {
  margin-top: clamp(44px, 5vw, 80px);
}
body.fs-dashboard:has(.rq-page) #app > .chat-launch {
  display: none;
}
.fs-dashboard #app > main.rq-page {
  --rq-ink: #351e13;
  --rq-body: #5d4535;
  --rq-muted: #725848;
  --rq-rust: #884328;
  --rq-line: #dbcab5;
  --glyph-light: #efd6b7;
  --glyph-deep: #bd8159;
  --rq-card: #fffbf4;
  --rq-action: #492718;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--rq-ink);
}
.rq-page .rq-shell {
  width: var(--rq-page-width);
  margin-inline: auto;
  padding: clamp(16px, 2.2vw, 33px) 0 0;
}
.rq-page a.rq-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--rq-muted);
  font-size: 15px;
  font-weight: 700;
}
.rq-page .rq-back .icon { width: 17px; height: 17px; transform: rotate(180deg); }
.rq-page .rq-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 36px;
  margin: clamp(12px, 1.3vw, 22px) 0 clamp(25px, 2.6vw, 40px);
}
.rq-page .rq-heading h1 {
  margin: 0;
  color: var(--rq-ink);
  font-size: clamp(46px, 5.05vw, 74px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.rq-page .rq-heading p {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--rq-body);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
}
.rq-page .rq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(270px, 1fr);
  gap: clamp(18px, 2.2vw, 32px);
  align-items: start;
}
.rq-page :is(.rq-content, .rq-aside, .rq-list, .rq-card-main) { min-width: 0; }
.rq-page :is(.rq-aside, .rq-list) { display: grid; gap: 16px; }
.rq-page :is(.rq-panel, .rq-card, .rq-empty) {
  border: 1px solid var(--rq-line);
  border-radius: 12px;
  background: var(--rq-card);
}
.rq-page .rq-empty {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: clamp(334px, 27vw, 398px);
  padding: clamp(24px, 2.75vw, 44px);
  background: #f3e4ce;
}
.rq-page .rq-empty-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f6e8d4 3%, #f6e8d4f7 24%, #f6e8d4d9 43%, #f6e8d455 64%, transparent 78%),
              url('assets/catalogue-bench.webp') 70% center / cover no-repeat;
  pointer-events: none;
}
.rq-page .rq-empty-copy { position: relative; width: min(63%, 505px); }
.rq-page .rq-empty h2 {
  margin: 0;
  color: var(--rq-ink);
  font-size: clamp(31px, 2.7vw, 44px);
  font-weight: 800;
  letter-spacing: -.047em;
  line-height: 1.08;
  text-wrap: balance;
}
.rq-page .rq-empty p {
  max-width: 34ch;
  margin: 12px 0 0;
  color: #4f3828;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.48;
}
.rq-page .rq-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rq-page .rq-empty .rq-actions { margin-top: clamp(22px, 2.45vw, 32px); }
.rq-page .rq-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid currentColor;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.rq-page .rq-primary { border-color: var(--rq-action); background: var(--rq-action); color: #fffaf1; }
.rq-page .rq-secondary { border-color: #ac896b; background: #fff8ec; color: var(--rq-action); }
.rq-page .rq-btn .icon { width: 18px; height: 18px; }
.rq-page .rq-panel { padding: clamp(20px, 1.9vw, 29px); }
.rq-page .rq-panel h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: var(--rq-ink);
  font-size: clamp(23px, 1.8vw, 28px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.2;
}
.rq-page .rq-panel h2 > .icon { width: 23px; height: 23px; color: var(--rq-rust); }
.rq-page .rq-panel p {
  margin: 12px 0 0;
  color: var(--rq-body);
  font-size: 16px;
  line-height: 1.5;
}
.rq-page .rq-preview { background: #f2e5d2; border-color: #ddc8ad; }
.rq-page .rq-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 16px;
  border-top: 1px solid #d8bfa0;
  padding-top: 10px;
  color: var(--rq-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.rq-page .rq-toggle input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--rq-action);
}
.rq-page :is(.rq-clear, .rq-cancel) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  border-radius: 3px;
  background: none;
  color: #8b3925;
  font-size: 15px;
  font-weight: 700;
}
.rq-page :is(.rq-clear, .rq-cancel) .icon { width: 16px; height: 16px; }
.rq-page .rq-card { padding: clamp(20px, 2vw, 30px); overflow-wrap: anywhere; }
.rq-page .rq-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.rq-page .rq-card-main { flex: 1 1 250px; }
.rq-page .rq-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--rq-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.rq-page .rq-meta-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--rq-rust); font-weight: 700; }
.rq-page .rq-meta .icon { width: 18px; height: 18px; }
.rq-page .rq-sample { padding: 2px 7px; border: 1px solid #d9c5ae; border-radius: 4px; color: var(--rq-body); }
.rq-page .rq-card h2 {
  margin: 8px 0 0;
  color: var(--rq-ink);
  font-size: clamp(24px, 2.05vw, 32px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.rq-page .rq-card .status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 6px 10px;
  background: #f0e7da;
  color: #5c4f44;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: normal;
}
.rq-page .rq-card .status::before { content: ''; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rq-page .rq-card :is(.pending, .review, .paused) { color: #795014; background: #f8e8c6; }
.rq-page .rq-card :is(.confirmed, .accepted, .completed, .active) { color: #295541; background: #e3eddf; }
.rq-page .rq-card .offer { color: #75411f; background: #f3dfc6; }
.rq-page .rq-card :is(.declined, .cancelled, .rejected, .expired) { color: #754132; background: #f3e2d8; }
.rq-page .rq-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: 17px 0 0;
  border-top: 1px solid #e7d9c7;
  padding: 14px 0 0;
  color: var(--rq-body);
  font-size: 15px;
  line-height: 1.5;
}
.rq-page .rq-facts span { display: inline-flex; align-items: center; gap: 7px; }
.rq-page .rq-facts .icon { width: 17px; height: 17px; color: var(--rq-rust); }
.rq-page :is(.rq-note, .rq-owner) {
  margin: 15px 0 0;
  color: var(--rq-body);
  font-size: 16px;
  line-height: 1.55;
}
.rq-page .rq-model { margin: 8px 0 0; color: var(--rq-body); font-size: 17px; line-height: 1.45; }
.rq-page .rq-note, .rq-page .rq-owner p { white-space: pre-line; }
.rq-page .rq-owner p { margin: 3px 0 0; }
.rq-page .rq-owner { padding-inline-start: 13px; border-inline-start: 3px solid #b47855; }
.rq-page .rq-cancel { margin-top: 9px; }
.rq-page .rq-offer {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border-radius: 7px;
  padding: clamp(16px, 1.6vw, 24px);
  background: #f3e7d3;
  color: var(--rq-ink);
}
.rq-page .rq-offer h3 { margin: 0 0 4px; color: var(--rq-body); font-size: 16px; line-height: 1.35; }
.rq-page .rq-offer-terms p { margin: 2px 0 0; }
.rq-page .rq-offer-price { display: block; font-size: clamp(33px, 3.2vw, 50px); line-height: 1.1; letter-spacing: -.05em; }
.rq-page .rq-offer-terms { margin: 0; color: var(--rq-body); font-size: 15px; line-height: 1.5; }
.rq-page .rq-update { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e6d7c4; }
.rq-page .rq-update:last-child { padding-bottom: 0; border-bottom: 0; }
.rq-page .rq-update > .icon { width: 19px; height: 19px; margin-top: 3px; color: var(--rq-rust); }
.rq-page .rq-update-copy { min-width: 0; overflow-wrap: anywhere; }
.rq-page .rq-update p { margin: 0; }
.rq-page .rq-update small { display: block; margin-top: 4px; color: var(--rq-muted); font-size: 13px; line-height: 1.4; }
.rq-page :is(button, a, input):focus-visible { outline: 3px solid #914a2b; outline-offset: 4px; }
@media (hover: hover) {
  .rq-page .rq-primary:hover { border-color: #663c25; background: #663c25; color: #fffaf1; }
  .rq-page .rq-secondary:hover { border-color: var(--rq-action); background: #faedda; }
  .rq-page :is(.rq-back, .rq-cancel, .rq-clear):hover { text-decoration: underline; text-underline-offset: .17em; }
}
@media (max-width: 1000px) {
  body.fs-dashboard:has(.rq-page) { --rq-page-width: min(92%, 870px); }
  .rq-page .rq-layout { grid-template-columns: minmax(0, 1fr); }
  .rq-page .rq-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rq-page .rq-empty { min-height: clamp(264px, 36vw, 335px); }
}
@media (max-width: 650px) {
  body.fs-dashboard:has(.rq-page) { --rq-page-width: calc(100% - 32px); }
  .rq-page .rq-shell { padding-top: 9px; }
  .rq-page .rq-heading { display: grid; gap: 15px; margin: 10px 0 21px; }
  .rq-page .rq-heading h1 { font-size: clamp(40px, 9.6vw, 56px); }
  .rq-page .rq-heading p { margin-top: 8px; }
  .rq-page .rq-aside { grid-template-columns: minmax(0, 1fr); }
  .rq-page .rq-empty { min-height: 0; padding: clamp(21px, 5vw, 31px); padding-bottom: clamp(115px, 25vw, 150px); }
  .rq-page .rq-empty-copy { width: 100%; }
  .rq-page .rq-empty-art {
    inset: auto 0 0;
    height: clamp(125px, 30vw, 180px);
    background: linear-gradient(180deg, #f3e4ce 0%, transparent 48%), url('assets/catalogue-bench.webp') 65% 61% / cover no-repeat;
  }
  .rq-page .rq-empty .rq-actions { margin-top: 19px; }
  .rq-page .rq-empty h2 { font-size: clamp(29px, 6.8vw, 37px); }
  .rq-page .rq-btn { min-height: 50px; }
  .rq-page .rq-card-head { flex-direction: column; }
  .rq-page .rq-card-main { flex: auto; }
}
@media (max-width: 440px) {
  .rq-page .rq-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  body.fs-dashboard:has(.rq-page) { --rq-page-width: calc(100% - 26px); }
}
