@font-face {
  font-family: "Pretendard";
  src: url("/pretendard-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/pretendard-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("/pretendard-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --brand: #431826;
  --pistachio: #e5eccb;
  --ink: #291e23;
  --muted: #62565a;
  --action: var(--brand);
  --action-hover: #63273c;
  --surface: #ffffff;
  --canvas: #fafbf6;
  --line: #d8dcd0;
  --outline: #777367;
  --tint: #eff3e4;
  --plum: #6a3046;
  --plum-tint: #f5e9ec;
  --success: #345136;
  --danger: #9b2d39;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --page-width: 77rem;
  --gutter: clamp(1rem,4vw,3rem);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font: 400 1.0625rem/1.62 var(--sans);
  letter-spacing: -.014em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
header, main, footer { padding: 1.15rem var(--gutter); }
main, footer { max-width: var(--page-width); margin-inline: auto; }
main:not(#app) { max-width: 52rem; }
main { padding-block: clamp(1.5rem, 4vw, 3rem); }
body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding-inline: max(var(--gutter), calc((100% - var(--page-width)) / 2 + var(--gutter)));
  border-bottom: 1px solid var(--line);
  background: var(--pistachio);
  color: var(--brand);
}
.wordmark {
  display: inline-flex; align-items: center; width: fit-content; max-width: 100%;
  min-height: 44px; text-decoration: none;
}
.wordmark-image {
  display: block; width: 6rem; max-width: 100%; height: auto; border-radius: 0;
}
.operator-details { display: block; flex-basis: 100%; padding-top: .35rem; font-size: .88rem; }
.guest-nav { display: none; align-items: center; gap: clamp(.8rem,3vw,2rem); }
body > header:has(#account:empty) .guest-nav { display: flex; }
.guest-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 610; font-size: .96rem; text-decoration: none; color: var(--ink); }
.guest-nav .login-nav { border: 1px solid var(--line); border-radius: 99px; padding: .38rem 1.2rem; color: var(--brand); }
#account:empty { display: none; }
footer { padding-block: 1.3rem 2rem; color: var(--muted); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.25rem; }
small, .meta, footer, .room-context { font-size: .94rem; color: var(--muted); }
header small { color: var(--muted); }
h1, h2, h3 { color: var(--brand); line-height: 1.3; letter-spacing: -.012em; }
h1 {
  font: 730 clamp(1.95rem,3.65vw,3rem)/1.21 var(--sans);
  color: var(--ink); letter-spacing: -.055em; margin: 0 0 1.25rem;
}
h2 { color: var(--ink); font-weight: 705; letter-spacing: -.044em; font-size: clamp(1.4rem, 2.75vw, 1.9rem); margin: 2rem 0 .75rem; }
h3, .card h3 { font-size: 1.24rem; font-weight: 680; letter-spacing: -.031em; margin: .55rem 0; }
p { white-space: pre-line; margin: .6em 0 1em; }
main:not(#app) p, .card > p, form > p, .offer-terms dd { max-width: 36em; }
.request-title { margin-bottom: .35rem; }
.request-title + .meta { margin: 0 0 1.25rem; }
a, .visit a { color: var(--action); text-decoration-thickness: .09em; text-underline-offset: .2em; }
header a { color: var(--action); }
footer a { padding-block: .35rem; color: var(--muted); text-decoration: none; }
.card, form, .hero {
  min-width: 0;
  margin: .85rem 0;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .75rem;
}
.card > :first-child, form > :first-child, .hero > h1 { margin-top: 0; }
.card > :last-child, form > :last-child, .hero > :last-child { margin-bottom: 0; }
form .card, .card form:not(.chat-compose) { box-shadow: none; }
.card > h2 { margin-block: 0 .65rem; }
.card b + p, .details p { margin: .1rem 0 1rem; }
.row { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; }
.split { justify-content: space-between; }

button, .join-link, .photo-picker {
  min-height: 3rem;
  max-width: 100%;
  padding: .55rem 1.05rem;
  border: 1px solid var(--action);
  border-radius: .65rem;
  background: var(--action);
  color: var(--surface);
  font: inherit; font-size: 1rem; font-weight: 640; line-height: 1.45;
  text-align: center; cursor: pointer; overflow-wrap: anywhere;
}
.soft, .photo-picker.soft {
  background: var(--surface); border-color: var(--outline); color: var(--brand);
}
.join-link { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.back { padding-inline: 0; background: transparent; border-color: transparent; color: var(--action); text-decoration: underline; text-underline-offset: .2em; }
button:disabled, .photo-picker:has(input:disabled) { border-color: var(--outline); color: var(--muted); background: #e5e6df; cursor: default; }
:focus-visible, .photo-picker:focus-within {
  outline: 3px solid var(--brand); outline-offset: 3px; box-shadow: 0 0 0 3px var(--surface);
}
.hero :focus-visible {
  outline-color: var(--pistachio); box-shadow: 0 0 0 3px var(--brand);
}
@media (hover: hover) {
  button:not(:disabled):not([class]):hover, button.primary:not(:disabled):hover,
  button[class=""]:hover:not(:disabled), .join-link:hover { background: var(--action-hover); border-color: var(--action-hover); color: var(--surface); }
  .soft:not(:disabled):not([aria-pressed=true]):hover, .room-entry:hover { background: var(--tint); }
  .back:hover, main a:not(.join-link):hover, footer a:hover { text-decoration-thickness: .16em; }
}
.card > button + button, dialog form button + button { margin-inline-start: .35rem; }
.card-actions { border-top: 1px solid var(--line); padding-top: .95rem; margin-top: 1rem; }
.card-actions [data-act="safety"] { color: var(--danger); }
button[data-act="removeProject"], button[data-act^="removeReview:"] { color: var(--surface); background: var(--danger); border-color: var(--danger); }
#deleteForm button, button[data-act="blockAuthor"] { color: var(--surface); background: var(--danger); border-color: var(--danger); }
.tag { display: inline-block; width: fit-content; max-width: 100%; padding: .15rem .6rem; font-size: 1rem; font-weight: 650; border-radius: .25rem; background: var(--tint); color: var(--brand); }
.tag.completed { background: #e7ebdf; color: var(--success); }
.tag.completed::before { content: ""; display: inline-block; width: .57em; height: .29em; margin: 0 .43em .2em .04em; border: solid currentColor; border-width: 0 0 .14em .14em; transform: rotate(-45deg); }
.tag.pending { color: #694821; background: #f7e8cc; }
details:not(.bubble-menu, .account-menu) > summary { min-height: 2.8rem; padding-block: .45rem; font-weight: 700; cursor: pointer; color: var(--brand); }
details > summary::marker { color: var(--action); }

.hero, .shop-home { position: relative; isolation: isolate; overflow: hidden; background: var(--brand); color: var(--surface); padding: clamp(1.25rem, 4vw, 2.5rem); border-color: var(--brand); }
.hero h1, .shop-home h1 { color: var(--surface); margin: 0 0 1rem; }
.hero p, .shop-home p { color: var(--surface); margin: 0 0 1.25rem; }
.hero h1, .hero p { max-width: 65%; }
.hero button, .shop-home button, .hero .login { background: var(--surface); border-color: var(--surface); color: var(--brand); }
.samples { position: absolute; z-index: -1; inset: 0 2% 0 auto; width: 29%; pointer-events: none; perspective: 680px; }
.samples i { position: absolute; width: 80%; height: 33%; left: 8%; top: 40%; border-radius: 6px; transform: rotateX(47deg) rotateZ(-29deg) skewX(5deg); }
.samples .wood { top: 54%; background: url(walnut.jpg) center/cover; border: 1px solid #ac886b; box-shadow: 2px 4px #72513b, 4px 8px #513726; }
.samples .steel { background: linear-gradient(115deg,#9daab6,#e7edf1 45%,#9aa6af); border: 1px solid #f3f5f7; box-shadow: 2px 4px #77838e; }
.samples .clear { top: 24%; background: linear-gradient(130deg,#fffefa35,#fffefa0a 40%,#d8f5ff42); border: 2px solid #d3e5ec; }
.home-intro { margin: 0 0 1rem; }
.home-intro h1 { margin-bottom: .75rem; }
.home-intro p { max-width: 34em; }
.home-menu { align-items: baseline; column-gap: 1.3rem; row-gap: .15rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); margin: .75rem 0 1.5rem; }
.card-actions .soft {
  background: transparent; color: var(--action); border-color: transparent;
  padding-inline: .15rem; text-decoration: underline; text-underline-offset: .22em;
}
.card-actions { column-gap: 1rem; }
.card-actions [data-act="safety"] { margin-inline-start: auto; }
.home-menu .unread-count { display: inline-block; text-decoration: none; }

.roles { width: fit-content; padding: .25rem; border: 1px solid var(--outline); border-radius: .65rem; background: var(--surface); gap: .25rem; margin-bottom: 1rem; }
.roles button { border-color: transparent; }
.roles [aria-pressed=true] { background: var(--brand); color: var(--surface); border-color: var(--brand); }
.join-start { max-width: 42rem; margin-inline: auto; padding-block: clamp(.25rem,2vw,1.3rem); }
.join-roles { display: grid; gap: .75rem; }
.role-choice {
  --role-color: var(--brand);
  position: relative; display: grid; gap: .4rem; width: 100%; min-width: 0;
  padding: 1.35rem 1.5rem 1.35rem 2rem; text-align: start; font: inherit;
  border: 1px solid var(--line); border-radius: .6rem; color: var(--ink);
  background: var(--tint); text-decoration: none;
}
.role-choice.workshop { --role-color: var(--plum); background: var(--plum-tint); border-color: var(--line); }
.role-choice::before {
  content: ""; position: absolute; inset: 1.45rem auto 1.45rem .85rem;
  width: 3px; background: var(--role-color); border-radius: 3px;
}
.role-choice strong { width: fit-content; color: var(--role-color); font-size: 1.35rem; letter-spacing: -.025em; }
.role-choice span { color: var(--muted); font-weight: 400; font-size: 1.0625rem; }
@media (hover: hover) {
  .role-choice:hover { border-color: var(--role-color); }
  .role-choice:hover strong { text-decoration: underline; text-underline-offset: .18em; }
}
.role-choice:focus-visible { z-index: 1; }
.signin-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .55rem; color: var(--muted); }
.signin-line a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; }
label, legend { color: var(--ink); font-weight: 650; }
label { display: block; margin: 1.15rem 0 .35rem; }
input, textarea, select { max-width: 100%; min-width: 0; width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--surface); padding: .65rem .75rem; border: 1px solid var(--outline); border-radius: .45rem; accent-color: var(--action); }
input[type=checkbox], input[type=radio] { width: 1.15rem; height: 1.15rem; flex-shrink: 0; vertical-align: middle; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { min-height: 5rem; }
form button { margin-top: 1rem; }
fieldset { min-width: 0; }
#photoGuide { margin: 0 0 .5rem; }
#photoCount, #craftExample:not(:empty) { display: block; margin-top: .35rem; }
#photoHelp:not(:empty) { margin-top: .5rem; color: var(--muted); }
#error { color: var(--danger); font-weight: 700; }
dialog { max-width: min(36rem,calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1rem,3vw,2rem); background: var(--surface); color: var(--ink); border: 2px solid var(--brand); border-radius: .75rem; }
dialog::backdrop { background: rgb(44 26 35 / 62%); }
dialog h2 { margin-top: 0; }
dialog form[method=dialog] { padding: 0; border: 0; margin-bottom: 0; }
img { max-width: 100%; max-height: 240px; border-radius: .4rem; }
.shop-photos,.upload-previews,.request-gallery { display: flex; flex-wrap: wrap; gap: .55rem; align-items: flex-start; margin: .65rem 0; }
.shop-photos img { width: min(100%,220px); height: 160px; object-fit: contain; background: var(--tint); }
.upload-previews img,form .shop-photos img { width: 72px; height: 72px; object-fit: cover; }
.request-gallery img { max-height: 360px; object-fit: contain; }
#finishedPreview img { max-width: 9rem; max-height: 8rem; object-fit: contain; }
.profile-byline { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.profile-byline img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.shop-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1rem; padding: 1rem 1.25rem; }
.shop-summary { min-width: 0; display: grid; gap: .65rem; overflow-wrap: anywhere; }
.shop-summary h1, .shop-summary h2, .shop-summary p { margin: 0; }
.shop-summary h2 { color: var(--brand); font-size: 1.2rem; }
.shop-summary .profile-byline img { flex: none; }
.shop-summary .row { gap: .35rem .5rem; }
.workshop-detail .shop-summary { margin-bottom: 1.25rem; }
.card .inbox-photo { display: block; width: 96px; height: 80px; object-fit: cover; margin: .5rem 0; }
.request-photo, .craft-fields { margin: 1.25rem 0 .5rem; padding: 0; border: 0; }
.request-photo legend, .craft-fields legend { padding: 0; margin-bottom: .35rem; }
.craft-question-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: .25rem 1rem; }
.craft-answer-list { display: grid; gap: .75rem; }
.craft-answer-list dt { font-weight: 700; color: var(--brand); }
.craft-answer-list dd { margin: .15rem 0 0; overflow-wrap: anywhere; }
.photo-actions button, .photo-actions label, .photo-tile button { margin: 0; }
.photo-picker { position: relative; display: inline-flex; align-items: center; overflow: hidden; }
.photo-picker input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; cursor: pointer; }
.native-camera { display: none; }
@media (pointer: coarse) { .native-camera { display: inline-flex; } .web-camera { display: none; } }
.photo-tile { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.scope-line, .craft-choices, .region-chips { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .85rem; }
.scope-line { margin-top: 1rem; }
.scope-line > label:first-child { margin: 0 auto 0 0; }
.scope-line .scope-option, .craft-choices label, .district-options label { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; margin: 0; font-size: 1rem; }
.scope-option input,.craft-choices input,.district-options input { margin: 0; }
.visit-regions { margin: 1rem 0; padding: .85rem; border: 1px solid var(--outline); border-radius: .55rem; }
.visit-regions legend { padding: 0 .3rem; }
.district-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: .25rem .55rem; max-height: 16rem; overflow-y: auto; }
.district-options:not(:empty),.region-chips { margin: .65rem 0; }
.region-chip button { margin: 0; }
.audience { border-left: 4px solid var(--action); }
.audience p { margin: .4rem 0; }
.check-line { display: flex; align-items: flex-start; gap: .65rem; }
.check-line input { flex: none; margin-top: .35rem; }
#deleteForm[hidden],#deleteLogin[hidden] { display: none; }
#postcodePanel { padding-block: .65rem; }
#postcodeSlot:not(:empty) { height: 360px; width: 100%; margin-top: .5rem; }
#address { margin-top: .5rem; }
.browse-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: .5rem 1rem; }
.browse-filters label { margin-top: 0; }
.workshop-map { width: 100%; height: clamp(270px,46vh,420px); margin: 1rem 0 .5rem; border: 1px solid var(--outline); border-radius: .6rem; background: var(--tint); isolation: isolate; }
.workshop-pin { background: var(--action); border: 3px solid var(--surface); border-radius: 50%; box-shadow: 0 0 0 1px var(--brand); }
.workshop-map img { max-width: none; max-height: none; border-radius: 0; }
.workshop-map .leaflet-control-attribution { font-size: 12px; }
#pinPanel { margin-top: 1rem; }
.visit-date { font-size: 1rem; color: var(--plum); font-weight: 650; }
.visit-heading h3 { margin: 0; }
.visit-heading { align-items: baseline; }
.visit .visit-date { margin: .45rem 0; font-weight: 500; }
.visit a { display: inline-block; padding: .25rem; }
.offer-tags { margin-block: .65rem; }
.offer-terms { margin: 1rem 0; }
.offer-terms > div { display: grid; align-items: baseline; grid-template-columns: minmax(7rem,30%) minmax(0,1fr); gap: .9rem; border-top: 1px solid var(--line); padding: .7rem 0; }
.offer-terms dt { color: var(--muted); font-weight: 600; }
.offer-terms dd { min-width: 0; margin: 0; white-space: pre-line; }
.offer-cost { color: var(--ink); font-size: 1.25rem; font-weight: 730; font-variant-numeric: tabular-nums; }
.consultation + .consultation { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }

.chat-room { display: flex; flex-direction: column; height: clamp(350px,76dvh,800px); max-width: 46rem; margin: 0 auto; border: 1px solid var(--outline); border-radius: .75rem; overflow: hidden; background: var(--canvas); }
.chat-heading, .chat-compose { background: var(--surface); padding: .75rem 1rem; }
.chat-heading { border-bottom: 1px solid var(--line); }
.chat-heading h1 { font-size: 1.5rem; margin: 0; }
.chat-heading p { margin: .2rem 0; color: var(--muted); font-size: 1rem; }
.chat-heading .back { min-height: 2.75rem; padding-block: .25rem; }
.chat-log { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: .75rem; padding: 1rem; overflow-y: auto; overscroll-behavior: contain; }
.chat-line { max-width: 87%; align-self: flex-start; }
.chat-line.outgoing { align-self: flex-end; }
.chat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .9375rem; color: var(--muted); }
.outgoing .chat-meta { justify-content: flex-end; }
.bubble { margin: .15rem 0 0; padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 3px 14px 14px; background: var(--surface); white-space: pre-wrap; }
.outgoing .bubble { background: var(--brand); color: var(--surface); border-color: var(--brand); border-radius: 14px 3px 14px 14px; }
.bubble-menu summary { list-style: none; min-width: 2.75rem; text-align: center; cursor: pointer; }
.bubble-menu summary::-webkit-details-marker { display: none; }
.chat-action { padding: .25rem .5rem; min-height: 2.75rem; font-size: 1rem; background: var(--surface); color: var(--ink); border-color: var(--outline); }
.empty-chat { margin: auto; color: var(--muted); }
.chat-compose { display: flex; gap: .5rem; align-items: flex-end; margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.chat-compose textarea { flex: 1; min-width: 0; min-height: 3rem; max-height: 8rem; resize: vertical; }
.chat-compose button { margin: 0; white-space: nowrap; }
#chatSync:not(:empty) { background: var(--surface); padding: 0 1rem .5rem; }
.room-list { display: grid; gap: .5rem; max-width: 48rem; }
.room-entry { display: grid; width: 100%; min-width: 0; gap: .3rem; background: var(--surface); color: var(--ink); border: 1px solid var(--outline); padding: .9rem 1rem; text-align: left; }
.room-heading,.room-tail { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .6rem; justify-content: space-between; }
.room-heading time,.room-context { font-size: .9375rem; color: var(--muted); font-weight: 500; }
.room-tail { font-weight: 400; }
.unread-count { display: inline-block; min-width: 1.6rem; text-align: center; border-radius: 1rem; padding: .05rem .4rem; font-size: .9375rem; font-weight: 750; background: var(--action); color: var(--surface); }

@media (max-width: 37rem) {
  header { padding-block: .85rem; }
  main { padding-block: 1.25rem; }
  .home-menu { column-gap: .9rem; }
  .role-choice { padding: 1rem 1rem 1rem 1.65rem; }
  .role-choice::before { inset: 1.15rem auto 1.15rem .65rem; }
  .samples { display: none; }
  .hero h1, .hero p { max-width: 100%; }
  .offer-terms > div { grid-template-columns: 6rem minmax(0,1fr); gap: .6rem; }
  .card-actions [data-act="safety"] { margin-inline-start: 0; }
}
@media (max-width: 24rem) {
  .offer-terms > div { grid-template-columns: 1fr; gap: .12rem; }
}
@media (forced-colors: active) {
  .tag, .unread-count, .home-menu, .roles [aria-pressed=true] { border: 1px solid CanvasText; }
  :focus-visible, .photo-picker:focus-within { outline: 3px solid Highlight; }
}

.social-entry { max-width: 31rem; margin: clamp(1rem,7vh,4.5rem) auto; }
.social-entry > p { max-width: 32ch; }
.social-options { display: grid; gap: .75rem; margin: 1.65rem 0; }
.social-choice, .social-choice:disabled {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem;
  width: 100%; min-height: 3.4rem; margin: 0; padding: .8rem 1.1rem; border: 1px solid var(--outline);
  border-radius: .6rem; font: inherit; font-weight: 700; text-decoration: none; opacity: 1;
}
.social-choice.google { background: white; color: #202124; }
.social-choice.kakao { background: #fee500; color: #241e00; border-color: #d6be00; }
.social-choice.naver { background: #007d40; color: white; border-color: #006936; }
.social-choice small { color: inherit; font-size: .875rem; font-weight: 500; }
.social-choice:disabled { cursor: default; }
.social-entry .signin-line { max-width: none; margin-top: 1.25rem; }
.social-logout { display: inline; margin: 0; padding: 0; border: 0; background: none; }
.social-logout button { margin: 0; padding: .2rem; background: none; color: inherit; border: 0; text-decoration: underline; }

.enroll-page, .enroll-guide { max-width: 42rem; margin-inline: auto; }
.enroll-page form { margin-top: 1.25rem; }
.enroll-page fieldset, .optional-nick { padding: .9rem 1rem; border: 1px solid var(--outline); border-radius: .5rem; }
.enroll-page .policy-link { margin: .2rem 0 .9rem 1.7rem; }
.enroll-notice { border-inline-start: .25rem solid var(--brand); padding: .7rem 1rem; background: var(--tint); }
.enroll-guide ol { padding-inline-start: 1.4rem; }
.enroll-guide li { padding: .3rem 0; }
.enroll-guide h2 { margin-top: 1.75rem; }

.application-reason { white-space: pre-wrap; }

.postcode-field { display: flex; align-items: stretch; gap: .5rem; }
.postcode-field input { flex: 1; min-width: 0; margin: 0; cursor: pointer; }
.postcode-field button { flex: none; margin: 0; }
@media(max-width: 480px){.postcode-field { flex-direction: column; }.postcode-field button { align-self: flex-start; }}

/* Pin the row labels while comparing several workshops on a narrow screen. */
#receivedOffers { display: flex; align-items: baseline; gap: .55rem; scroll-margin-top: 1rem; }
.proposal-count { font: 650 1rem/1.5 var(--sans); color: var(--action); }
.proposal-scroll {
  --label-width: 6.5rem; --offer-width: 12rem;
  overflow-x: auto; border: 1px solid var(--line); border-radius: .7rem;
  background: var(--surface); margin-bottom: 1.25rem;
}
.proposal-table {
  table-layout: fixed; border-collapse: separate; border-spacing: 0;
  width: 100%; min-width: calc(var(--label-width) + var(--offers) * var(--offer-width));
  font-size: 1rem; line-height: 1.6;
}
.proposal-label { width: var(--label-width); }
.proposal-table th, .proposal-table td {
  padding: .8rem; vertical-align: top; text-align: start; border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line); overflow-wrap: anywhere;
}
.proposal-table td { white-space: pre-line; }
.proposal-table th:last-child, .proposal-table td:last-child { border-inline-end: 0; }
.proposal-table tbody tr:last-child > * { border-bottom: 0; }
.proposal-table tr > th:first-child { position: sticky; left: 0; background: var(--canvas); color: var(--brand); }
.proposal-table thead th, .proposal-table thead tr > th:first-child { background: var(--brand); color: var(--surface); }
.proposal-table thead strong { display: block; font-size: 1.15rem; }
.proposal-table thead small { display: block; margin-top: .25rem; color: var(--tint); font-size: .875rem; }
.proposal-table thead .tag { margin-top: .35rem; font-size: .875rem; }
.proposal-cost td { color: var(--plum); font-weight: 700; font-variant-numeric: tabular-nums; }
.proposal-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .45rem; white-space: normal; }
.proposal-actions button { min-height: 2.75rem; font-size: 1rem; padding: .45rem .65rem; }
.proposal-actions [data-act="safety"] { border-color: transparent; color: var(--muted); text-decoration: underline; }
@media (max-width: 38rem) {
  .proposal-scroll { --label-width: 4.3rem; --offer-width: 7.65rem; }
  .proposal-table th, .proposal-table td { padding: .65rem .45rem; }
  .proposal-table thead strong { font-size: 1.0625rem; }
  .proposal-actions { flex-direction: column; align-items: stretch; }
  .proposal-actions button { padding-inline: .35rem; font-size: .9375rem; }
}

.request-summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1rem 1.2rem; }
.request-summary h3, .request-summary .meta { margin: 0; }
.request-summary .meta { margin-top: .25rem; }
.request-summary > div { min-width: 0; }
.request-summary > button { flex: none; }
button.danger-action { background: var(--danger); border-color: var(--danger); color: var(--surface); }
@media (max-width: 28rem) { .request-summary { flex-wrap: wrap; } }

.removal-footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.removal-response { border-inline-start: .3rem solid var(--danger); }
.removal-response .row { margin-top: .8rem; }

/* Public workshop directory */
.customer-dashboard > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: cover; object-position: 53% 50%; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.6rem,3vw,2.15rem); }
.craft-grid {
  display: grid; grid-template-columns: repeat(5,minmax(0,1fr));
  gap: clamp(1.5rem,3vw,2.6rem) clamp(.8rem,2vw,1.55rem);
}
.craft-tile { display: block; min-width: 0; text-decoration: none; color: var(--ink); }
.craft-tile img {
  display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 1.22;
  object-fit: cover; background: var(--tint); border-radius: .25rem;
}
.craft-tile strong, .craft-tile span { display: block; }
.craft-tile strong { margin-top: .6rem; color: var(--brand); font-size: 1.22rem; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.craft-tile span { margin-top: .12rem; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.craft-brief { display: grid; grid-template-columns: 1fr; gap: clamp(1.3rem,4vw,3.5rem); align-items: start; padding-block: 1.5rem; }
.craft-brief:has(> img) { grid-template-columns: 1fr minmax(0,48%); }
.craft-brief > img { width: 100%; height: auto; max-height: 34rem; aspect-ratio: 1.05; object-fit: cover; border-radius: .25rem; }
.craft-brief h1 { color: var(--brand); font-size: clamp(2.4rem,4.8vw,4rem); }
.craft-brief h2 { margin-block: 1.75rem .75rem; font-size: 1.35rem; }
.craft-brief ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.craft-brief li { padding-block: .5rem; border-top: 1px solid var(--line); }
@media (min-width: 48.01rem) and (max-width: 68rem) { .craft-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--action); text-underline-offset: .23em; }
main:has(> .enroll-page), main:has(> .guest-access) { max-width: 48rem; }
.guest-access { max-width: 32rem; }
.guest-access .join-roles { margin-top: 1.5rem; }
#emailLogin > button[type=submit], #emailJoin > button[type=submit] { width: 100%; }
.social-choice:disabled { background: var(--tint); border-color: var(--line); color: var(--muted); }
.enroll-page form { padding: clamp(1rem,3.6vw,2rem); }
.enroll-page fieldset { margin: 1.6rem 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: .75rem 0 0; }
.enroll-page legend { padding: 0 .65rem 0 0; font-size: 1.12rem; }
.enroll-notice { background: var(--tint); color: var(--brand); border: 0; border-radius: .55rem; font-size: .96rem; }
.customer-dashboard { border-radius: .95rem; overflow: hidden; position: relative; }
.dashboard-copy { padding: clamp(1.2rem,3.7vw,2.9rem); }
.customer-dashboard { background: var(--brand); display: grid; grid-template-columns: 62% 38%; }
.customer-dashboard h1 { color: var(--surface); font-size: clamp(1.85rem,3.3vw,2.65rem); }
.customer-dashboard > img { left: 62%; width: 38%; }
.customer-dashboard .primary { color: var(--brand); background: var(--surface); border-color: var(--surface); }
.home-menu { align-items: center; gap: .55rem; padding-block: .45rem 1.1rem; }
.home-menu button { background: var(--surface); color: var(--brand); border: 1px solid var(--line); border-radius: 99px; padding: .5rem 1.05rem; }
#shopResults { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,23rem),1fr)); gap: .85rem; }
#shopResults > .shop-result { margin: 0; }
#shopCount:not(:empty) { display: block; margin: 1.15rem 0 .7rem; }
#findShops { max-width: none; }
#findShops .browse-filters { grid-template-columns: minmax(9rem,1fr) minmax(12rem,2fr) auto; align-items: end; gap: .9rem; }
#findShops .browse-filters:has(#workModeFilter) { grid-template-columns: repeat(2,minmax(8rem,1fr)) minmax(12rem,1.7fr) auto; }
#findShops .search-keyword { min-width: 0; }
#searchShops { margin: 0; padding-inline: 1.4rem; }
#craftExample:not(:empty) { margin-top: .7rem; }
.guest-access .role-choice { background: var(--surface); border-color: var(--line); padding: 1rem 1.15rem; }
.guest-access .role-choice::before { display: none; }
.guest-access .role-choice.workshop { background: var(--plum-tint); }
.guest-access .role-choice.customer { background: var(--tint); }
.guest-access .role-choice strong { font-size: 1.1rem; }
.guest-access .role-choice span { font-size: .95rem; }
#request { max-width: 54rem; }
.card-actions .soft { padding: .4rem .85rem; background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; text-decoration: none; }
@media (max-width: 48rem) {
  #findShops .browse-filters, #findShops .browse-filters:has(#workModeFilter) { grid-template-columns: 1fr; align-items: stretch; }
  #searchShops { justify-self: start; }
}
.shop-summary .tag { border-radius: 99px; padding: .18rem .65rem; color: var(--action); background: var(--tint); font-size: .9rem; }
.workshop-detail > .shop-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),17rem)); gap: .9rem; }
.workshop-detail > .shop-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--tint); }
@media (hover:hover) {
  .guest-nav a:hover, .craft-tile:hover strong { text-decoration: underline; text-underline-offset: .24em; }
  .customer-dashboard button.primary:hover { color: var(--brand); background: var(--surface); }
}
@media (max-width: 48rem) {
  .craft-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.25rem; }
}
@media (max-width: 37rem) {
  .guest-nav { gap: .75rem; }
  .guest-nav a { font-size: .9rem; }
  .guest-nav .login-nav { padding-inline: .78rem; }
  .wordmark-image { width: 5rem; }
  .craft-brief:has(> img) { grid-template-columns: 1fr; }
  .craft-brief > img { grid-row: 1; max-height: 13rem; }
  .craft-tile strong { font-size: 1.08rem; }
  .customer-dashboard { grid-template-columns: 68% 32%; }
  .customer-dashboard > img { left: 68%; width: 32%; }
  .customer-dashboard h1 { font-size: 1.78rem; }
}
@media (max-width: 25rem) {
  .guest-nav a[href="/join-guide.html"] { display: none; }
}

/* A searchable masthead with one continuous, touch-scrollable row of disciplines. */
body > header.site-header { display: block; padding: 0; background: var(--surface); }
.masthead, .category-bar-inner {
  width: 100%; max-width: 86rem; margin-inline: auto; padding-inline: var(--gutter);
}
.masthead {
  --nav-gap: clamp(.75rem, 1.55vw, 1.4rem);
  display: flex; align-items: center; gap: var(--nav-gap); padding-block: .6rem;
}
.masthead .wordmark { flex: none; margin-inline-end: clamp(.25rem,2vw,2.2rem); }
.masthead .wordmark-image { width: clamp(5.4rem, 8vw, 6.25rem); }
.masthead .catalog-search {
  display: flex; align-items: center; flex: 1 1 0%; min-width: 0; gap: .25rem;
  margin: 0; padding: .18rem .28rem .18rem 1rem;
  border: 1px solid var(--outline); border-radius: 99px; background: var(--canvas);
}
.catalog-search:focus-within { outline: 2px solid var(--action); outline-offset: 2px; }
.catalog-search input[type=search] { flex: 1; min-width: 0; width: 100%; min-height: 2.5rem; margin: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: transparent; font-size: 1rem; color: var(--ink); }
.catalog-search input::placeholder { color: var(--muted); opacity: 1; }
.catalog-search button { flex: none; display: grid; place-items: center; width: 2.6rem; min-height: 2.6rem; margin: 0; padding: 0; border-radius: 50%; }
.search-lens { display: block; position: relative; width: .91rem; height: .91rem; border: 2px solid currentColor; border-radius: 50%; margin: -.18rem .15rem 0 0; }
.search-lens::after { content: ''; position: absolute; width: .46rem; height: 2px; background: currentColor; right: -.35rem; bottom: -.16rem; transform: rotate(45deg); }
.mast-actions, .member-menu, .masthead #account:not(:empty) {
  display: flex; flex: none; align-items: center; gap: var(--nav-gap);
}
.mast-actions a, .member-menu a, .category-bar a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); text-decoration: none; font-size: .96rem; font-weight: 600; white-space: nowrap;
}
.masthead .guest-nav { flex: none; gap: .65rem; }
.masthead .guest-nav .login-nav { padding-inline: .45rem; border: 0; }
.masthead .signup-nav { padding: .35rem .95rem; background: var(--brand); border-radius: 99px; color: var(--surface); }
.masthead #account { margin-inline-start: auto; }
.account-menu { position: relative; }
.account-menu > summary {
  display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px;
  padding: .35rem .85rem; border: 1px solid var(--outline); border-radius: 99px; background: var(--surface);
  color: var(--ink); font-size: .96rem; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none;
}
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu > summary::after {
  content: ""; width: .46rem; height: .46rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.11rem) rotate(45deg);
}
.account-menu[open] > summary::after { transform: translateY(.11rem) rotate(225deg); }
.account-panel {
  position: absolute; z-index: 10; inset-inline-end: 0; top: calc(100% + .4rem);
  display: grid; width: min(16rem, calc(100vw - 2 * var(--gutter))); padding: .4rem;
  border: 1px solid var(--line); border-radius: .75rem; background: var(--surface);
  box-shadow: 0 .45rem 1.4rem rgb(67 24 38 / 14%);
}
.account-panel small { padding: .55rem .65rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.account-panel a, .account-panel button {
  display: flex; align-items: center; justify-content: flex-start; width: 100%; min-height: 44px;
  margin: 0; padding: .45rem .65rem; color: var(--ink); border: 0; border-radius: .4rem;
  background: transparent; text-decoration: none; font: inherit; font-size: .96rem; text-align: start;
}
.account-panel button[data-switch-view] { font-weight: 600; }
.account-panel .compact-member-menu { display: none; }
.site-header:has(#account:not(:empty)):not(:has(.account-role)) :is(.catalog-search,.category-bar,.mast-actions),
.site-header:has([data-role="workshop"]) :is(.mast-actions,.mobile-service) { display: none; }
.category-bar { background: var(--pistachio); border-top: 1px solid var(--line); }
.category-bar-inner { display: flex; align-items: center; gap: clamp(.85rem,1.8vw,1.6rem); overflow-x: auto; scrollbar-width: thin; }
.category-bar-inner > a, .nav-crafts a { flex: none; }
.category-bar .all-crafts { color: var(--brand); font-weight: 700; }
.all-crafts::before { content: ''; width: .85rem; height: .62rem; margin-right: .5rem; border-block: 1.5px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; }
.nav-crafts { display: contents; }
.category-bar .guide-nav { margin-left: auto; color: var(--muted); }
.category-bar .mobile-service { display: none; }
.category-bar a[aria-current=page] { box-shadow: inset 0 -3px var(--brand); color: var(--brand); }
.all-link { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .22em; color: var(--action); font-size: .97rem; font-weight: 650; }
main:has(> .catalog-page) { max-width: none; padding: 0; }
.catalog-page { max-width: 108rem; margin: auto; }
.catalog-intro {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(24rem,34vw,35rem); background: #27080f; color: #fffaf2; overflow: hidden;
}
.catalog-intro picture, .catalog-intro picture img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; border-radius: 0;
}
.catalog-intro picture { z-index: -2; mask-image: linear-gradient(90deg,transparent 0%,#000 43%); }
.catalog-intro picture img { object-fit: contain; object-position: right center; }
.catalog-intro::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg,rgba(28,7,15,.64),rgba(28,7,15,.26) 40%,transparent 62%);
}
.catalog-copy, .catalog-list, .studio-guide {
  width: 100%; max-width: 86rem; margin-inline: auto; padding-inline: var(--gutter);
}
.catalog-copy { padding-block: clamp(2rem,4.5vw,4.75rem); }
.brand-headline {
  margin: 0; font-size: clamp(2.7rem,5.4vw,5.2rem); line-height: 1.08;
  font-weight: 700; letter-spacing: -.065em;
}
.brand-headline em { color: var(--pistachio); font-style: normal; }
.catalog-lead { width: 39%; max-width: 22em; margin: .9rem 0 1.45rem; font-size: clamp(1.02rem,1.45vw,1.2rem); line-height: 1.55; }
.catalog-actions, .catalog-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; }
.catalog-actions a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.35rem;
  border: 1px solid transparent; border-radius: 99px; text-decoration: none; font-size: 1rem; font-weight: 600;
}
.cover-primary { color: var(--brand); background: var(--pistachio); }
.catalog-actions .cover-secondary { color: #fff; background: rgba(37,12,20,.46); border-color: #dbc4c9; }
.catalog-actions a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px var(--brand); }
.catalog-tools a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .4rem; font-weight: 600; }
.catalog-list { padding-block: clamp(2rem,4vw,4rem); scroll-margin-block-start: .75rem; }
.catalog-page h1 { margin: 0; color: var(--brand); }
.catalog-heading { flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: .8rem; }
.catalog-heading h1 { font-size: clamp(1.9rem,3.1vw,3rem); letter-spacing: -.055em; }
.catalog-entry-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0 1.1rem; }
.catalog-entry-actions a { min-height: 44px; }
.catalog-entry-actions .soft:hover { background: var(--tint); color: var(--brand); border-color: var(--brand); }
.craft-classes { border-top: 1px solid var(--line); padding-block: clamp(1.5rem,4vw,3rem); scroll-margin-block-start: 1rem; }
.craft-classes .section-heading { flex-wrap: wrap; align-items: baseline; }
.catalog-filter-row {
  display: flex; align-items: center; justify-content: space-between; gap: .45rem 1rem;
  border-bottom: 1px solid var(--line); margin-bottom: clamp(1.15rem,2vw,1.65rem);
}
.collection-nav { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .12rem clamp(.85rem,2.2vw,1.65rem); }
.collection-nav a {
  display: inline-flex; align-items: center; min-height: 44px; text-align: center; text-decoration: none;
  border-block-end: 3px solid transparent; font-size: 1rem; font-weight: 600; color: var(--muted);
}
.collection-nav a[aria-current=page] { color: var(--brand); border-color: var(--brand); font-weight: 700; }
.collection-count { flex: none; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.studio-guide {
  margin-bottom: clamp(2rem,5vw,5rem); display: grid; grid-template-columns: 1fr 1fr;
}
.studio-guide img { display: block; width: 100%; height: 100%; max-height: none; min-height: 0; border-radius: 0; object-fit: cover; }
.studio-guide > div { padding: clamp(1.5rem,3.5vw,3.5rem); background: var(--pistachio); color: var(--brand); }
.studio-guide h2 { margin: 0; color: inherit; line-height: 1.16; font-size: clamp(1.65rem,2.75vw,2.65rem); }
.studio-guide dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem .9rem; align-items: baseline; margin-block: 1.2rem .65rem; font-size: 1rem; }
.studio-guide dt { font-weight: 700; }
.studio-guide dd { margin: 0; color: var(--ink); }
@media (hover: hover) {
  .cover-primary:hover { background: white; }
  .catalog-actions .cover-secondary:hover { background: #421b2a; }
  .collection-nav a:hover { color: var(--brand); }
}
@media (max-width: 42rem) {
  .catalog-intro { display: flex; align-items: end; min-height: 0; }
  .catalog-intro picture { height: auto; bottom: auto; aspect-ratio: 824 / 429; mask-image: none; }
  .catalog-intro picture img { object-fit: fill; }
  .catalog-intro::after { background: linear-gradient(to bottom,transparent 0,transparent 35vw,#27080f 52vw); }
  .catalog-copy { padding-block: 44vw 1.45rem; }
  .brand-headline { font-size: clamp(2.1rem,7.8vw,3rem); line-height: 1.1; }
  .catalog-lead { width: 100%; max-width: 24em; font-size: 1rem; margin: .65rem 0 1rem; }
  .catalog-actions a { padding-inline: 1.1rem; }
  .catalog-filter-row { align-items: start; flex-wrap: wrap; gap: 0; }
  .collection-nav { flex: 1 0 100%; gap: .1rem .95rem; }
  .collection-nav a { font-size: .94rem; }
  .collection-count { display: none; }
  .studio-guide { grid-template-columns: 1fr; }
  .studio-guide img { height: auto; max-height: 14rem; }
}
.catalog-count { margin-top: -.5rem; color: var(--muted); }
.finder-start { max-width: 39rem; margin: 1.3rem auto; }
.craft-actions { margin: 1rem 0 2rem; }
@media (hover:hover) {
  .category-bar a:hover, .mast-actions a:hover, .member-menu a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .account-menu summary:hover, .account-panel :is(a,button):hover { background: var(--tint); color: var(--ink); }
}
@media (max-width: 58rem) {
  .mast-actions { display: none; }
  .category-bar .mobile-service { display: inline-flex; color: var(--brand); }
}
@media (max-width: 42rem) {
  .masthead { flex-wrap: wrap; justify-content: space-between; gap: .5rem .75rem; padding-block: .55rem .7rem; }
  .masthead .wordmark-image { width: 4.9rem; }
  .masthead .catalog-search { order: 1; flex-basis: 100%; }
  .member-menu { display: none; }
  .account-panel .compact-member-menu { display: grid; }
  .category-bar-inner { gap: 1.25rem; scrollbar-width: none; }
  .category-bar-inner::-webkit-scrollbar { display: none; }
}

/* Workshop account */
.workshop-rail { display: none; }
.site-header:has(.account-role[data-role="workshop"]) :is(.category-bar,.member-menu,.compact-member-menu) { display: none; }
.site-header:has(.account-role[data-role="workshop"]) .workshop-rail { display: block; background: var(--brand); }
.workshop-rail > div { display: flex; align-items: center; gap: clamp(.85rem,2.6vw,2rem); max-width: 86rem; margin: auto; padding-inline: var(--gutter); }
.workshop-rail a { display: inline-flex; align-items: center; min-height: 46px; color: #fff9f0; font-size: .97rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.workshop-rail a:first-child { color: var(--pistachio); }
.workshop-rail a:last-child { margin-left: auto; }
.workshop-rail a:hover, .workshop-rail a:focus-visible { text-decoration: underline; }
.workshop-rail a:focus-visible { outline-color: var(--pistachio); }
.account-menu:has([data-role="workshop"]) > summary { background: var(--brand); border-color: var(--brand); color: white; }
.account-menu:has([data-role="workshop"]) .account-panel { padding: .55rem; border-top: .22rem solid var(--brand); border-radius: .45rem; }
.account-menu:has([data-role="workshop"]) [data-switch-view] { margin-block: .3rem; background: var(--tint); color: var(--brand); }

.work-landing {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  max-width: 86rem; margin: clamp(1rem,2vw,1.65rem) auto 0; padding-inline: var(--gutter);
}
.work-landing-copy { padding: clamp(1.5rem,4vw,3.5rem); background: var(--pistachio); align-content: center; }
.work-landing-copy h2 { margin: 0; font-size: clamp(2.15rem,4.4vw,4.1rem); line-height: 1.04; letter-spacing: -.065em; color: var(--brand); }
.work-landing-copy p { max-width: 25em; color: var(--ink); margin: .9rem 0 1.3rem; }
.work-landing > img { width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; border-radius: 0; }
.desk-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem; color: white; background: var(--brand); border-radius: .35rem; font-size: 1rem; font-weight: 600; text-decoration: none; }
.work-landing .catalog-tools { grid-column: 1 / -1; gap: 1rem; padding-block: .25rem; border-bottom: 1px solid var(--line); }
.work-landing .catalog-tools a { text-decoration: none; }
.work-landing .catalog-tools a:hover { text-decoration: underline; }

main:has(> .work-board) { max-width: 86rem; }
.work-board { --desk-rule: #d6d8ce; }
.work-board h1,.work-board h2 { color: var(--brand); }
.desk-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0; margin-bottom: 1.25rem; }
.desk-heading > div { min-width: 0; }
.desk-heading p { font-size: 1rem; color: var(--muted); margin: .1rem 0 .22rem; }
.desk-heading h1 { margin: 0; font-size: clamp(2.2rem,4.3vw,3.8rem); line-height: 1.12; }
.desk-heading .desk-location { margin: .45rem 0 0; }
.desk-notices { display: flex; flex: none; align-items: center; gap: .35rem; min-height: 44px; border-radius: 99px; color: var(--brand); background: white; border-color: var(--desk-rule); }
.desk-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); background: var(--pistachio); margin: 0 0 clamp(1.6rem,3.5vw,3rem); border-radius: .4rem; overflow: hidden; }
.desk-stats > :is(a,button) {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0; margin: 0; padding: clamp(1rem,2vw,1.6rem);
  border: 0; border-radius: 0; text-align: start; color: var(--brand); background: transparent; text-decoration: none;
}
.desk-stats > :is(a,button) + * { border-inline-start: 1px solid #bcc4a9; }
.desk-stats span { font-size: .96rem; font-weight: 600; }
.desk-stats strong { display: flex; gap: .3rem; align-items: baseline; padding-top: .35rem; font-size: clamp(2rem,3.6vw,3rem); line-height: 1.05; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.desk-stats small { font-size: .95rem; color: inherit; letter-spacing: 0; }
.desk-stats > :is(a,button):focus-visible { outline-offset: -4px; }
.desk-stats > :is(a,button):hover { background: #d7e1b8; }
.desk-layout { display: grid; grid-template-columns: minmax(0,1.52fr) minmax(0,1fr); gap: clamp(1.35rem,3.5vw,3.25rem); align-items: start; }
.desk-requests { min-width: 0; scroll-margin-top: 1rem; }
.desk-sidebar { min-width: 0; display: grid; gap: 1.65rem; }
.desk-panel-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; }
.desk-panel-title h2,.desk-schedule h2 { font-size: clamp(1.35rem,2vw,1.7rem); margin: 0; line-height: 1.22; }
.desk-requests > .desk-panel-title { padding-bottom: .85rem; border-bottom: 2px solid var(--brand); }
.desk-request-group { margin: 1.25rem 0; }
.desk-request-group > h3 { font-size: 1rem; margin: 0; padding: .65rem .85rem; color: var(--brand); background: #ecede5; }
.desk-request-group > h3 span { font-size: .9rem; font-weight: 600; margin-left: .25rem; }
.desk-request-group .request-summary { background: transparent; border: 0; border-bottom: 1px solid var(--desk-rule); border-radius: 0; margin: 0; padding: 1rem .15rem; }
.desk-request-group .request-summary h3 { font-size: 1.13rem; color: var(--ink); }
.desk-request-group .request-summary button { min-height: 44px; padding: .45rem .85rem; border-radius: .35rem; background: white; color: var(--brand); border-color: #aa9a9f; }
.desk-empty,.profile-note { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: .85rem 0; }
.desk-requests > .desk-empty { padding: 1.4rem 1rem; background: var(--surface); border-bottom: 1px solid var(--desk-rule); margin: 0; }
.studio-side-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.studio-side-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.04em; }
.studio-text-control { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: .2rem .1rem; background: transparent; border: 0; border-radius: .2rem; color: var(--muted); font-size: .91rem; font-weight: 600; text-decoration: none; }
.studio-text-control:hover,.agenda-place:hover { color: var(--brand); text-decoration: underline; }
.desk-schedule .studio-side-heading { margin-bottom: .65rem; }
.desk-schedule .agenda-entry,.desk-schedule section > p { margin: 0; padding: 1.2rem; background: var(--surface); border: 1px solid var(--desk-rule); border-radius: .75rem; }
.desk-schedule section > p { color: var(--muted); }
.agenda-overview { display: grid; grid-template-columns: 3.6rem minmax(0,1fr); gap: .9rem; align-items: start; }
.agenda-date { display: grid; align-content: center; justify-items: center; width: 3.6rem; min-height: 3.9rem; background: var(--tint); color: #34432b; border-radius: .5rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.agenda-date small { font-size: .75rem; font-weight: 600; color: inherit; }
.agenda-date b { font-size: 1.65rem; letter-spacing: -.05em; }
.agenda-date.unset i { position: relative; width: 23px; height: 21px; margin-top: 3px; border: 1.8px solid currentColor; border-radius: 4px; background: linear-gradient(currentColor,currentColor) center 5px / 100% 1.5px no-repeat; }
.agenda-date.unset i::before,.agenda-date.unset i::after { content: ""; position: absolute; top: -4px; width: 2px; height: 5px; background: currentColor; }
.agenda-date.unset i::before { left: 4px; } .agenda-date.unset i::after { right: 4px; }
.agenda-state { margin: 0 0 .22rem; color: #556444; font-weight: 600; font-size: .875rem; line-height: 1.4; }
.agenda-entry h3,.studio-identity h3 { margin: 0; color: var(--ink); font-size: 1.15rem; line-height: 1.38; letter-spacing: -.035em; }
.agenda-place { display: inline-block; margin-top: .3rem; color: var(--muted); font-size: .94rem; text-decoration: underline; text-decoration-color: #bcb9b7; text-underline-offset: .2em; }
.agenda-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: .8rem 0 -.25rem; }
.agenda-actions p { flex-basis: 100%; margin: .1rem 0; }
.agenda-actions button { min-height: 44px; margin: 0; padding: .45rem .8rem; border: 0; border-radius: .45rem; background: #f3f3ef; color: var(--ink); font-size: .94rem; }
.agenda-actions button.primary { background: var(--brand); color: white; }
.desk-schedule details { margin-top: .45rem; }
.desk-schedule details > summary { color: var(--muted); font-size: .94rem; }
.desk-schedule details .agenda-entry + .agenda-entry { margin-top: .5rem; }
.studio-settings { min-width: 0; padding: .85rem clamp(.9rem,1.55vw,1.3rem) 0; border: 1px solid var(--desk-rule); border-radius: .75rem; background: #f1f3ea; }
.studio-identity { display: flex; align-items: center; gap: .8rem; margin: .6rem 0 0; }
.studio-identity img { width: 3.6rem; height: 3.6rem; max-height: none; margin: 0; object-fit: cover; border-radius: .65rem; }
.studio-status { display: inline-flex; gap: .35rem; align-items: center; color: var(--muted); font-size: .875rem; }
.studio-status::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.studio-status[data-state="approved"] { color: #435c42; }
.studio-status[data-state="pending"] { color: #795318; }
.studio-status[data-state="rejected"] { color: var(--danger); }
.desk-profile { padding-bottom: 1rem; }
.desk-profile .desk-categories,.desk-profile .profile-note { margin: .65rem 0 0; color: var(--muted); font-size: .94rem; }
.studio-settings .inbox-radius { margin: 0; border-top: 1px solid #ccd2c1; }
.studio-settings .inbox-radius > summary { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .5rem; list-style: none; min-height: 3.6rem; color: var(--ink); font-weight: 600; font-size: .94rem; }
.studio-settings .inbox-radius > summary::-webkit-details-marker { display: none; }
.studio-settings .inbox-radius > summary strong { font-weight: 600; color: #475940; }
.studio-settings .inbox-radius > summary::after { content: ""; width: .47rem; height: .47rem; margin: 0 .2rem .2rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.studio-settings .inbox-radius[open] > summary::after { transform: rotate(225deg); margin-block: .2rem 0; }
.studio-settings .inbox-radius form { margin: 0; padding: 0 0 1rem; border: 0; background: transparent; }
.profile-editor { max-width: 53rem; margin-inline: auto; }
.profile-editor > p,.studio-enroll > p { color: var(--muted); }
.profile-editor #shopProfile { display: grid; gap: 1.15rem; border: 0; padding: 0; background: transparent; }
.profile-editor #shopProfile > section { min-width: 0; background: white; border: 1px solid var(--line); border-radius: .45rem; padding: clamp(1rem,3vw,1.75rem); }
.profile-editor #shopProfile > section h2,.studio-enroll form h2 { font-size: 1.32rem; margin: 0 0 .8rem; color: var(--brand); }
.profile-editor #shopProfile > button { margin: 0; justify-self: start; }
.participation-field { margin: 1.3rem 0 0; padding: 0; border: 0; }
.participation-field legend { padding: 0; }
.participation-field p { margin: .2rem 0 .55rem; color: var(--muted); font-size: .95rem; }
.participation-field > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.participation-field label { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; margin: 0; padding: .45rem .8rem; border: 1px solid var(--outline); border-radius: .45rem; cursor: pointer; }
.participation-field input { margin: 0; }
.participation-field label:has(:checked) { background: var(--tint); border-color: var(--brand); color: var(--brand); }
.review-reason { border-inline-start: 3px solid var(--danger); padding: .7rem 1rem; background: var(--plum-tint); }
.studio-enroll form h2:not(:first-child) { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
:where(.profile-editor,.studio-enroll) input[type=file]::file-selector-button { font: inherit; font-weight: 600; color: var(--brand); background: var(--tint); border: 0; padding: .45rem .65rem; border-radius: .25rem; margin-right: .6rem; }
@media (max-width: 52rem) {
  .desk-layout { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
}
@media (max-width: 42rem) {
  .workshop-rail > div { gap: clamp(.6rem,3vw,1.1rem); overflow-x: auto; }
  .workshop-rail a { font-size: .91rem; }
  .work-landing { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
  .work-landing-copy { padding: 1.15rem .9rem; }
  .work-landing-copy h2 { font-size: clamp(1.55rem,5.7vw,2.15rem); }
  .work-landing-copy p { font-size: .95rem; margin: .6rem 0 .85rem; }
  .desk-stats > :is(a,button) { padding: .9rem .6rem; justify-content: space-between; }
  .desk-stats span { font-size: .9rem; line-height: 1.35; }
  .desk-heading { align-items: flex-start; }
  .desk-heading h1 { font-size: 2rem; }
  .desk-request-group .request-summary { gap: .45rem; flex-wrap: nowrap; }
}

/* Operator inbox and application review */
main:has(> .operator-desk) { max-width: 76rem; }
.operator-detail { max-width: 52rem; margin-inline: auto; }
.op-back { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-weight: 600; font-size: .94rem; text-underline-offset: .2em; }
.op-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1rem; padding: .7rem 0 1.2rem; border-bottom: 2px solid var(--brand); }
.op-title h1 { color: var(--brand); margin: 0; font-size: clamp(2rem,4vw,3.3rem); letter-spacing: -.055em; }
.op-total { display: inline-flex; align-items: baseline; gap: .25rem; padding: .38rem .9rem; background: var(--pistachio); color: var(--brand); border-radius: 2rem; font-weight: 600; }
.op-total b { margin-left: .15rem; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.op-notice { border-inline-start: .23rem solid var(--success); padding: .7rem 1rem; color: #254f34; background: var(--tint); }
.op-layout { display: grid; grid-template-columns: minmax(12rem,15.5rem) minmax(0,1fr); gap: clamp(1.6rem,4vw,3.5rem); align-items: start; padding-block: 1.5rem; }
.op-menu { display: grid; gap: .15rem; }
.op-menu a { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem .85rem; color: var(--ink); border-radius: .4rem; text-decoration: none; font-weight: 600; }
.op-menu strong { color: var(--muted); font-size: .94rem; font-variant-numeric: tabular-nums; }
.op-menu a:hover { background: var(--tint); }
.op-menu a[aria-current] { background: var(--brand); color: white; }
.op-menu a[aria-current] strong { color: white; }
.op-menu a:last-child { margin-top: .6rem; }
.op-mobile-menu { display: none; }
.op-list { min-width: 0; }
.op-list-head,.op-record-head { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; flex-wrap: wrap; }
.op-list-head { padding: .25rem 0 .85rem; border-bottom: 1px solid var(--outline); }
.op-list-head h2,.op-decision h2 { margin: 0; font-size: clamp(1.25rem,2.8vw,1.55rem); }
.op-list-head span,.op-meta,.operator-desk time,.operator-detail time { color: var(--muted); font-size: .93rem; font-variant-numeric: tabular-nums; }
.op-entry,.op-record { margin: 0; padding: 1rem .25rem; border-bottom: 1px solid var(--line); }
.op-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .7rem; }
.op-entry h3,.op-record h3 { color: var(--ink); font-size: 1.15rem; line-height: 1.4; margin: 0; }
.op-entry .op-meta { margin: .24rem 0 0; }
.op-empty { color: var(--muted); background: var(--surface); padding: clamp(1.5rem,4vw,2.75rem) 1rem; margin: 0; text-align: center; border-bottom: 1px solid var(--line); }
.op-entry button,.op-actions button,.op-decision button,.op-disclosure button { min-height: 44px; border-radius: .4rem; padding: .48rem .85rem; }
.op-record { padding-block: 1.15rem; }
.op-record .request-gallery img { max-height: 18rem; max-width: 100%; border-radius: .45rem; }
.op-record .op-body { margin: .65rem 0 .85rem; line-height: 1.65; }
.op-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .7rem; }
.op-disclosure { margin: .5rem 0 0; }
.op-disclosure form,.op-decision form { margin: .25rem 0 .6rem; padding: 0; border: 0; background: transparent; }
.op-disclosure label,.op-decision label { margin-top: .2rem; }
.op-disclosure textarea,.op-decision textarea { display: block; }
.op-record .case-evidence:not(:empty) { padding: .8rem 1rem; margin-top: .8rem; border-inline-start: 3px solid var(--outline); background: white; }
.op-sheet,.op-decision { margin: 1.1rem 0; padding: clamp(1rem,3vw,1.65rem); border: 1px solid var(--line); background: var(--surface); border-radius: .65rem; }
.op-sheet > h2 { font-size: 1.4rem; margin: 0 0 .75rem; }
.op-sheet > h3 { font-size: 1.05rem; margin: 1.25rem 0 .45rem; }
.operator-facts { margin: .5rem 0; }
.operator-facts > div { display: grid; grid-template-columns: minmax(6rem,8.5rem) minmax(0,1fr); gap: .5rem 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.operator-facts dt { color: var(--muted); font-weight: 600; font-size: .96rem; }
.operator-facts dd { margin: 0; color: var(--ink); white-space: pre-line; }
.op-decision > button { margin-top: .8rem; }
.op-decision details { margin-top: .85rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.op-decision details > summary,.op-record details:has([data-act^="restrict:"]) > summary { color: var(--danger); }
.op-decision form button,.op-record [data-act^="restrict:"] { border-color: var(--danger); color: var(--danger); background: white; }
@media (max-width: 46rem) {
  .op-layout { grid-template-columns: minmax(0,1fr); gap: 1.15rem; padding-top: 1rem; }
  .op-menu { display: none; }
  .op-mobile-menu { display: grid; gap: .3rem; }
  .op-mobile-menu label { font-size: .94rem; margin: 0; }
  .op-mobile-menu select { min-height: 44px; }
  .op-title { padding-block: .4rem .85rem; }
}
@media (max-width: 30rem) {
  .op-entry { grid-template-columns: minmax(0,1fr); }
  .op-entry button { justify-self: start; }
  .operator-facts > div { grid-template-columns: minmax(0,1fr); gap: .1rem; }
}
