/* te to te ワークショップひろば — 公開ページ・出店者マイページ
   ロゴの水玉カラーを基調に、写真が主役の明るいデザイン */

.wsm {
  --wsm-ink: #2b2a33;
  --wsm-sub: #6a6773;
  --wsm-line: #ebe6dc;
  --wsm-bg: #fffdf8;
  --wsm-card: #ffffff;
  --wsm-soft: #fbf6ec;
  --wsm-main: #2f9e6b;      /* ロゴ「ワークショップひろば」の緑 */
  --wsm-main-dark: #237a52;
  --wsm-pink: #f0679a;
  --wsm-orange: #f7a23b;
  --wsm-yellow: #f6cf3f;
  --wsm-blue: #3d9be0;
  --wsm-purple: #9a6ad0;
  --wsm-red: #d64545;
  --wsm-radius: 16px;
  --wsm-shadow: 0 1px 2px rgba(43, 42, 51, .06), 0 6px 20px rgba(43, 42, 51, .06);
  color: var(--wsm-ink);
  font-size: 18px;
  line-height: 1.8;
  font-feature-settings: "palt";
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 48px;
  box-sizing: border-box;
}
.wsm *, .wsm *::before, .wsm *::after { box-sizing: border-box; }
.wsm img { max-width: 100%; height: auto; display: block; }
.wsm a { color: inherit; }
.wsm .wsm-link { color: var(--wsm-main-dark); text-decoration: underline; text-underline-offset: 3px; }

/* テーマ側の投稿者・日付・コメント表示は、このプラグインのページでは不要 */
.wsm-page .wp-block-post-author, .wsm-page .wp-block-post-author-name, .wsm-page .wp-block-post-date,
.wsm-page .wp-block-post-terms, .wsm-page .wp-block-post-navigation-link, .wsm-page .wp-block-comments,
.wsm-page .wp-block-group:has(> .wp-block-post-author-name), .wsm-page .entry-meta, .wsm-page .entry-footer,
.wsm-page .post-navigation, .wsm-page #comments,
.single-wsm_event .wp-block-post-title + .wp-block-group, .single-wsm_workshop .wp-block-post-title + .wp-block-group { display: none !important; }
/* トップはロゴが見出し代わり */
.home.wsm-page .wp-block-post-title, .home.wsm-page .entry-title, .home.wsm-page .entry-header { display: none !important; }

/* ナビ */
.wsm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 0 14px; margin-bottom: 8px; border-bottom: 1px dashed var(--wsm-line); }
.wsm-nav__brand img { width: 44px; height: 44px; border-radius: 50%; }
.wsm-nav ul { display: flex; flex-wrap: wrap; flex: 1; gap: 2px; list-style: none; margin: 0; padding: 0; }
.wsm-nav ul::-webkit-scrollbar { display: none; }
.wsm-nav li a { display: block; white-space: nowrap; padding: 6px 9px; border-radius: 999px; text-decoration: none; font-size: 16px; font-weight: 600; }
.wsm-nav li a:hover { background: var(--wsm-soft); }

/* ヒーロー（トップ） */
.wsm-hero { position: relative; text-align: center; padding: 40px 16px 36px; margin: 0 -16px 24px; overflow: hidden; background: var(--wsm-bg); }
.wsm-hero__dots { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(circle at 8% 22%, var(--wsm-pink) 0 18px, transparent 19px),
    radial-gradient(circle at 18% 78%, var(--wsm-yellow) 0 26px, transparent 27px),
    radial-gradient(circle at 30% 12%, var(--wsm-blue) 0 9px, transparent 10px),
    radial-gradient(circle at 88% 18%, var(--wsm-orange) 0 24px, transparent 25px),
    radial-gradient(circle at 94% 70%, var(--wsm-purple) 0 14px, transparent 15px),
    radial-gradient(circle at 76% 88%, var(--wsm-main) 0 20px, transparent 21px),
    radial-gradient(circle at 4% 52%, var(--wsm-blue) 0 12px, transparent 13px),
    radial-gradient(circle at 66% 6%, var(--wsm-pink) 0 8px, transparent 9px); }
.wsm-hero > *:not(.wsm-hero__dots) { position: relative; }
.wsm-hero__logo { width: 140px; height: 140px; margin: 0 auto 12px; border-radius: 50%; box-shadow: var(--wsm-shadow); background: #fff; }
.wsm-hero__lead { font-weight: 700; font-size: 17px; color: var(--wsm-main-dark); margin: 0 0 6px; }
.wsm-hero__sub { font-size: 17px; color: var(--wsm-sub); margin: 0 0 20px; }
.wsm-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 見出し */
.wsm-h2 { font-size: 25px; line-height: 1.4; margin: 32px 0 16px; padding-left: 14px; position: relative; }
.wsm-h2::before { content: ""; position: absolute; left: 0; top: .2em; width: 8px; height: 8px; border-radius: 50%; background: var(--wsm-pink); box-shadow: 0 12px 0 var(--wsm-yellow); }
.wsm-h2 span { font-size: 16px; font-weight: 500; color: var(--wsm-sub); margin-left: 8px; }
.wsm-h3 { font-size: 20px; margin: 24px 0 12px; }
.wsm-h4 { font-size: 17px; margin: 16px 0 8px; }
.wsm-section { margin-top: 8px; }
.wsm-lead { color: var(--wsm-sub); font-size: 17px; }
.wsm-muted { color: var(--wsm-sub); }
.wsm-small { font-size: 15px; }
.wsm-help { display: block; font-size: 15px; color: var(--wsm-sub); font-weight: 400; }
.wsm-center { text-align: center; }
.wsm-red { color: var(--wsm-red); }
.wsm-more { text-align: right; margin-top: 12px; }
.wsm-back { margin: 8px 0 16px; font-size: 16px; }

/* ボタン */
.wsm .wsm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--wsm-main); background: var(--wsm-main); color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; line-height: 1.3; }
.wsm .wsm-btn:hover { background: var(--wsm-main-dark); border-color: var(--wsm-main-dark); color: #fff; }
.wsm .wsm-btn:active { transform: translateY(1px); }
.wsm .wsm-btn--ghost { background: #fff; color: var(--wsm-main-dark); }
.wsm .wsm-btn--ghost:hover { background: var(--wsm-soft); color: var(--wsm-main-dark); }
.wsm .wsm-btn--block { display: flex; width: 100%; margin-top: 8px; }
.wsm .wsm-btn--sm { min-height: 46px; padding: 8px 16px; font-size: 16px; }
.wsm .wsm-btn--danger { background: #fff; color: var(--wsm-red); border-color: var(--wsm-red); }
.wsm .wsm-btn--danger:hover { background: #fdf0f0; color: var(--wsm-red); }
.wsm .wsm-btn--insta { background: linear-gradient(45deg, #f7a23b, #f0679a, #9a6ad0); border: 0; }
.wsm .wsm-linkbtn { background: none; border: 0; padding: 4px 0; color: var(--wsm-sub); text-decoration: underline; font-size: 16px; cursor: pointer; }
.wsm-inline { display: inline; }

/* カード */
.wsm-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.wsm-grid--people { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 600px) { .wsm-grid { grid-template-columns: repeat(2, 1fr); } .wsm-grid--ws, .wsm-grid--people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .wsm-grid { grid-template-columns: repeat(3, 1fr); } .wsm-grid--ws, .wsm-grid--people { grid-template-columns: repeat(4, 1fr); } }
.wsm-grid--small .wsm-card__media { aspect-ratio: 16 / 9; }
.wsm-card { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.wsm-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(43, 42, 51, .08), 0 12px 28px rgba(43, 42, 51, .1); }
.wsm-card__link { display: block; text-decoration: none; height: 100%; }
.wsm-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--wsm-soft); overflow: hidden; }
.wsm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wsm-card--person .wsm-card__media { aspect-ratio: 1 / 1; }
.wsm-card__media .wsm-badge { position: absolute; left: 10px; top: 10px; }
.wsm-card__body { padding: 12px 14px 16px; }
.wsm-card__title { font-size: 19px; line-height: 1.45; margin: 2px 0 6px; }
.wsm-card--ws .wsm-card__title { font-size: 17px; }
.wsm-meta { margin: 2px 0; font-size: 16px; color: var(--wsm-sub); }
.wsm-ico { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--wsm-pink); }
.wsm-ico--ws { background: var(--wsm-blue); }
.wsm-date { margin: 0; font-weight: 700; font-size: 17px; color: var(--wsm-main-dark); }
.wsm-date span { font-weight: 500; color: var(--wsm-ink); margin-left: 4px; }
.wsm-date--lg { font-size: 22px; }
.wsm-noimg { width: 100%; height: 100%; min-height: 120px; background:
  radial-gradient(circle at 30% 40%, rgba(240, 103, 154, .35) 0 14px, transparent 15px),
  radial-gradient(circle at 62% 62%, rgba(61, 155, 224, .3) 0 20px, transparent 21px),
  radial-gradient(circle at 72% 30%, rgba(246, 207, 63, .45) 0 10px, transparent 11px),
  var(--wsm-soft); }

.wsm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; padding: 0; }
.wsm-chips span { font-size: 15px; padding: 2px 10px; border-radius: 999px; background: var(--wsm-soft); border: 1px solid var(--wsm-line); }

/* バッジ */
.wsm-badge { display: inline-block; font-size: 14px; font-weight: 700; line-height: 1.6; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--wsm-ink); border: 1px solid var(--wsm-line); }
.wsm-badge--recruiting, .wsm-badge--scheduled, .wsm-badge--booked, .wsm-badge--approved { background: var(--wsm-main); color: #fff; border-color: var(--wsm-main); }
.wsm-badge--closed, .wsm-badge--pending, .wsm-badge--waitlist { background: var(--wsm-yellow); color: #4a3b00; border-color: var(--wsm-yellow); }
.wsm-badge--cancelled, .wsm-badge--rejected, .wsm-badge--cancelled_user, .wsm-badge--cancelled_staff, .wsm-badge--no_show { background: #fdecec; color: var(--wsm-red); border-color: #f5c7c7; }
.wsm-badge--postponed { background: #fff1e0; color: #a4560a; border-color: #f7cf9f; }
.wsm-badge--held, .wsm-badge--draft, .wsm-badge--withdrawn { background: #eeeef1; color: var(--wsm-sub); }
.wsm-badge--attended { background: var(--wsm-blue); color: #fff; border-color: var(--wsm-blue); }

/* イベント詳細 */
.wsm-alert { border-radius: var(--wsm-radius); padding: 14px 18px; margin: 12px 0 16px; background: #fff6e6; border: 2px solid var(--wsm-orange); }
.wsm-alert--cancelled { background: #fdecec; border-color: var(--wsm-red); }
.wsm-alert p { margin: 4px 0 0; }
.wsm-hero-event { margin: 8px 0 20px; }
.wsm-hero-event__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--wsm-radius); margin-bottom: 14px; }
.wsm-hero-event__info .wsm-badge { margin-bottom: 6px; }
.wsm-prose { margin: 12px 0; }
.wsm-prose p { margin: 0 0 1em; }

.wsm-offer { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); overflow: hidden; margin-bottom: 20px; scroll-margin-top: 80px; }
@media (min-width: 760px) { .wsm-offer { display: grid; grid-template-columns: 44% 1fr; } }
.wsm-offer__body { padding: 16px 18px 20px; }
.wsm-offer__title { font-size: 22px; line-height: 1.4; margin: 0 0 4px; }
.wsm-offer__by { margin: 0 0 6px; font-weight: 600; font-size: 17px; }
.wsm-offer__by a { color: var(--wsm-main-dark); }
.wsm-offer__desc { font-size: 17px; }
.wsm-booth { display: inline-block; margin-left: 8px; font-size: 14px; padding: 0 8px; border-radius: 6px; background: var(--wsm-soft); color: var(--wsm-sub); font-weight: 500; }

/* 写真は枠の比率を固定し、画像は枠いっぱいに切り抜く */
.wsm-gallery { display: grid; gap: 3px; background: var(--wsm-soft); aspect-ratio: 4 / 3; overflow: hidden; }
.wsm .wsm-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.wsm-gallery--2 { grid-template-columns: 1fr 1fr; }
.wsm-gallery--3 { grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.wsm-gallery--3 img:first-child { grid-row: 1 / 3; }
@media (min-width: 760px) { .wsm-offer .wsm-gallery { aspect-ratio: auto; height: 100%; min-height: 300px; } }
.wsm > .wsm-gallery, .wsm-profile + .wsm-gallery { border-radius: var(--wsm-radius); overflow: hidden; margin: 12px 0; }
.wsm-gallery--empty { min-height: 160px; }

/* 時間枠ボタン */
.wsm-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 8px; }
.wsm-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 68px; padding: 8px; border-radius: 12px; border: 2px solid var(--wsm-main); background: #fff; text-decoration: none; text-align: center; line-height: 1.3; transition: background .15s; }
a.wsm-slot:hover { background: #eaf7f0; }
.wsm-slot__time { font-weight: 700; font-size: 18px; color: var(--wsm-main-dark); }
.wsm-slot__left { font-size: 14px; color: var(--wsm-sub); }
.wsm-slot--few { border-color: var(--wsm-orange); }
.wsm-slot--few .wsm-slot__left { color: #a4560a; font-weight: 700; }
.wsm-slot--off { border-color: var(--wsm-line); background: #f6f5f2; }
.wsm-slot--off .wsm-slot__time { color: var(--wsm-sub); }

/* 会場 */
.wsm-venue__box { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); padding: 16px 18px; }
.wsm-venue__img { width: 100%; max-height: 280px; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.wsm-dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; margin: 0; }
.wsm-dl dt { font-weight: 700; color: var(--wsm-sub); font-size: 16px; }
.wsm-dl dd { margin: 0; }
.wsm-dl--compact { font-size: 16px; grid-template-columns: 4.5em 1fr; }

/* 参加のしかた */
.wsm-steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .wsm-steps ol { grid-template-columns: repeat(3, 1fr); } }
.wsm-steps li { counter-increment: s; background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); padding: 16px 18px 16px 64px; position: relative; font-size: 17px; }
.wsm-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--wsm-pink); }
.wsm-steps li:nth-child(2)::before { background: var(--wsm-orange); }
.wsm-steps li:nth-child(3)::before { background: var(--wsm-blue); }
.wsm-steps li strong { display: block; font-size: 18px; }

.wsm-cta { margin: 32px 0 8px; padding: 20px; border-radius: var(--wsm-radius); background: var(--wsm-soft); border: 2px dashed #e4dccb; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.wsm-cta p { margin: 0; }
.wsm-insta { text-align: center; margin-top: 16px; }

.wsm-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.wsm-filter a { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--wsm-line); text-decoration: none; font-size: 16px; background: #fff; }
.wsm-filter a.is-on { background: var(--wsm-ink); border-color: var(--wsm-ink); color: #fff; }
.wsm-past { margin-top: 32px; }
.wsm-past summary { cursor: pointer; font-weight: 700; color: var(--wsm-sub); padding: 8px 0; }

/* フォーム */
.wsm-form { max-width: 560px; display: grid; gap: 14px; }
.wsm-form--row { max-width: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.wsm-form--row .wsm-label { flex: 1 1 110px; }
.wsm-label { display: block; font-weight: 700; font-size: 17px; }
.wsm-label input, .wsm-label select, .wsm-label textarea { display: block; margin-top: 6px; }
.wsm-label .wsm-help { margin-top: 4px; }
.wsm-label input, .wsm-label select, .wsm-label textarea, .wsm-form input[type=file] { width: 100%; font: inherit; font-weight: 400; font-size: 18px; padding: 11px 12px; border: 1.5px solid #d9d3c7; border-radius: 10px; background: #fff; color: var(--wsm-ink); }
.wsm-label input:focus, .wsm-label select:focus, .wsm-label textarea:focus { outline: 3px solid rgba(47, 158, 107, .25); border-color: var(--wsm-main); }
.wsm-req, .wsm-opt { display: inline-block; font-size: 13px; font-weight: 700; padding: 0 6px; border-radius: 4px; margin-left: 4px; vertical-align: 2px; }
.wsm-req { background: var(--wsm-pink); color: #fff; }
.wsm-opt { background: #eeeef1; color: var(--wsm-sub); }
.wsm-check { display: flex; gap: 8px; align-items: flex-start; font-size: 17px; }
.wsm-check input { width: 26px; height: 26px; margin-top: 3px; flex: none; accent-color: var(--wsm-main); }
.wsm-check--box { padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--wsm-line); background: #fff; }
.wsm-fieldset, .wsm-photos { border: 1.5px solid var(--wsm-line); border-radius: 12px; padding: 10px 14px 14px; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.wsm-fieldset legend, .wsm-photos legend { font-weight: 700; font-size: 17px; padding: 0 4px; }
.wsm-photos { display: block; }
.wsm-photos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wsm-photo { display: grid; gap: 6px; align-content: start; }
.wsm-photo img, .wsm-photo .wsm-noimg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; min-height: 0; }
.wsm-photo input[type=file] { font-size: 14px; padding: 6px; }
.wsm-cols2 { display: grid; gap: 14px; }
@media (min-width: 560px) { .wsm-cols2 { grid-template-columns: 1fr 1fr; } }
.wsm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* お知らせ */
.wsm-notice { padding: 12px 16px; border-radius: 12px; margin: 12px 0; font-weight: 600; background: #eaf7f0; border: 1.5px solid #b9e3cc; color: #1d5e40; }
.wsm-notice--error { background: #fdecec; border-color: #f5c7c7; color: #9b2c2c; }
.wsm-notice--warn { background: #fff6e0; border-color: #f4dc9b; color: #6b4e00; }

/* 予約 */
.wsm-summary { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: var(--wsm-card); padding: 12px; border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); margin-bottom: 20px; }
.wsm-summary__img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; min-height: 0; }
.wsm-summary__title { font-size: 19px; margin: 0; line-height: 1.4; }
.wsm-done { text-align: center; padding: 20px; border-radius: var(--wsm-radius); background: #eaf7f0; margin-bottom: 16px; }
.wsm-done__title { font-size: 22px; font-weight: 700; color: var(--wsm-main-dark); margin: 0 0 4px; }
.wsm-ticket { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); padding: 18px; border-top: 6px solid var(--wsm-main); margin-bottom: 16px; }
.wsm-ticket__code { margin: 0 0 6px; }
.wsm-ticket__code strong { font-size: 27px; letter-spacing: .12em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.wsm-ticket__status { margin: 0 0 12px; }
.wsm-form--cancel { margin-top: 8px; }

/* マイページ */
.wsm-my__hello { margin: 8px 0; }
.wsm-my__hello .wsm-link { margin-left: 8px; white-space: nowrap; }
.wsm-tabs { display: flex; flex-wrap: wrap; gap: 0 2px; margin: 0 0 16px; border-bottom: 2px solid var(--wsm-line); }
.wsm-tabs::-webkit-scrollbar { display: none; }
.wsm-tabs a { white-space: nowrap; padding: 10px 10px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--wsm-sub); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.wsm-tabs a.is-on { color: var(--wsm-main-dark); border-bottom-color: var(--wsm-main); }
.wsm-box { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); padding: 14px 16px; margin: 0 0 14px; }
.wsm-box--todo { border-left: 6px solid var(--wsm-orange); }
.wsm-box ul { margin: 0; padding-left: 1.2em; }
.wsm-list { list-style: none; padding: 0 !important; }
.wsm-list li { padding: 8px 0; border-bottom: 1px dashed var(--wsm-line); }
.wsm-cards-list { list-style: none; padding: 0; margin: 0; }
.wsm-apply summary { cursor: pointer; list-style: none; }
.wsm-apply summary::after { content: "申し込む ▾"; display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--wsm-main-dark); }
.wsm-apply[open] summary::after { content: "閉じる ▴"; }
.wsm-apply .wsm-form { margin-top: 12px; }
.wsm-rows { list-style: none; padding: 0; margin: 0 0 16px; }
.wsm-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--wsm-line); flex-wrap: wrap; }
.wsm-row__img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; min-height: 0; flex: none; }
.wsm-row__body { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.wsm-actions { display: flex; gap: 6px; align-items: center; }
.wsm-slotedit { border-top: 1px dashed var(--wsm-line); padding-top: 10px; margin-top: 10px; }
.wsm-table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 6px 0 10px; }
.wsm-table th, .wsm-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--wsm-line); }
.wsm-profile .wsm-h2 { margin-bottom: 4px; }

/* 運営スタッフ用ページ（スマホ） */
.wsm-staff__pick { margin: 8px 0 4px; }
.wsm-staff__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.wsm-staff__stats div { background: var(--wsm-card); border-radius: 14px; box-shadow: var(--wsm-shadow); padding: 10px 8px; text-align: center; }
.wsm-staff__stats span { display: block; font-size: 15px; color: var(--wsm-sub); }
.wsm-staff__stats strong { font-size: 24px; line-height: 1.2; }
.wsm-staff__stats small { font-size: 14px; font-weight: 500; color: var(--wsm-sub); }
.wsm-tabs--fill { flex-wrap: nowrap; }
.wsm-tabs--fill a { flex: 1; text-align: center; padding: 12px 4px; font-size: 17px; }
.wsm-tabs b { display: inline-block; min-width: 24px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--wsm-red); color: #fff; font-size: 14px; line-height: 24px; }
.wsm-staff__card.is-todo { border-left: 6px solid var(--wsm-orange); }
.wsm-staff__head { margin: 0 0 8px; font-size: 19px; }
.wsm-staff__actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.wsm-staff__actions form { flex: 1 1 auto; }
.wsm-staff__actions .wsm-btn { width: 100%; }
.wsm-staff__booth { display: flex; gap: 8px; align-items: flex-end; margin: 12px 0; }
.wsm-staff__booth .wsm-label { flex: 1; }
.wsm-staff__listing { border-top: 1px dashed var(--wsm-line); padding-top: 10px; }
.wsm-staff__ws { list-style: none; padding: 0 !important; margin: 0; }
.wsm-staff__ws li { display: flex; gap: 10px; padding: 8px 0; }
.wsm-staff__fees, .wsm-staff__people { list-style: none; padding: 0; margin: 0; }
.wsm-staff__feehead { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.wsm-staff__yen { font-size: 24px; font-weight: 700; margin: 0; white-space: nowrap; }
.wsm-staff__paid { margin: 8px 0; font-weight: 700; color: var(--wsm-main-dark); font-size: 19px; }
.wsm .wsm-btn--big { min-height: 60px; font-size: 20px; }
.wsm-staff__slot { position: sticky; top: 0; z-index: 2; background: var(--wsm-bg); margin: 20px -16px 8px; padding: 10px 16px; font-size: 22px; border-bottom: 2px solid var(--wsm-line); }
.wsm-staff__slot span { display: block; font-size: 16px; font-weight: 500; color: var(--wsm-sub); }
.wsm-staff__people .is-off { opacity: .55; }
.wsm-staff__search { margin: 8px 0; }

.wsm-done--wait { background: #fff6e0; }
.wsm-done--wait .wsm-done__title { color: #8a5a00; }
.wsm-badge--pending { background: var(--wsm-yellow); color: #4a3b00; border-color: var(--wsm-yellow); }
.wsm-badge--expired { background: #eeeef1; color: var(--wsm-sub); border-color: #eeeef1; }

/* ===== 専用レイアウト（ヘッダー・フッター） ===== */
body.wsm-layout { margin: 0; background: #fffdf8; color: #2b2a33; font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; -webkit-text-size-adjust: 100%; }
.wsm-layout * { box-sizing: border-box; }
.wsm-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .96); backdrop-filter: blur(6px); border-bottom: 1px solid #ebe6dc; }


.wsm-header__inner { max-width: 1080px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 10px; }
.wsm-header__logo { flex: none; display: block; }
.wsm-header__logo img { display: block; width: 60px; height: 60px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.wsm-header__nav { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (min-width: 640px) { .wsm-header__nav { display: flex; justify-content: flex-end; gap: 6px; } }
.wsm-header__nav a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 4px 10px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; color: #2b2a33; white-space: nowrap; }
.wsm-header__nav a.is-on { background: #2f9e6b; color: #fff; }
.wsm-header__nav a:not(.is-on):hover { background: #fbf6ec; }
.wsm-main { min-height: 60vh; padding-top: 12px; }
.wsm-main > .wsm { padding-top: 4px; }
.wsm-footer { margin-top: 40px; padding: 28px 16px 36px; text-align: center; background: #fbf6ec; border-top: 1px solid #ebe6dc; font-size: 15px; color: #6a6773; }
.wsm-footer__logo { width: 56px; height: 56px; border-radius: 50%; display: block; margin: 0 auto 6px; background: #fff; }
.wsm-footer__name { margin: 0 0 10px; font-weight: 700; color: #2b2a33; }
.wsm-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0 0 10px; }
.wsm-footer__links a { color: #237a52; }
.wsm-footer__copy { margin: 0; font-size: 13px; }
.wsm .wsm-h1 { font-size: 27px; line-height: 1.35; margin: 8px 0 12px; }

/* ===== カレンダー ===== */
.wsm-cal { background: var(--wsm-card); border-radius: var(--wsm-radius); box-shadow: var(--wsm-shadow); padding: 12px 10px 16px; margin: 8px 0 24px; }
.wsm-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 8px; }
.wsm-cal__title { margin: 0; font-size: 22px; }
.wsm-cal__nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--wsm-line); text-decoration: none; font-size: 28px; line-height: 1; color: var(--wsm-main-dark); font-weight: 700; }
.wsm-cal__nav:hover { background: var(--wsm-soft); }
.wsm-cal__today { text-align: center; margin: -4px 0 6px; font-size: 15px; }
.wsm-cal__grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.wsm-cal__grid th { font-size: 15px; color: var(--wsm-sub); font-weight: 700; padding: 4px 0; text-align: center; }
.wsm-cal__grid th.is-sun, .wsm-cal__grid td.is-sun .wsm-cal__num { color: #d64545; }
.wsm-cal__grid th.is-sat, .wsm-cal__grid td.is-sat .wsm-cal__num { color: #2f6fb8; }
.wsm-cal__grid td { vertical-align: top; height: 60px; border-radius: 10px; background: #faf8f3; padding: 0; overflow: hidden; }
.wsm-cal__grid td.is-empty { background: transparent; }
.wsm-cal__grid td.is-past { opacity: .5; }
.wsm-cal__grid td.is-today { box-shadow: inset 0 0 0 2px var(--wsm-orange); }
.wsm-cal__grid td.has-event { background: #e6f5ec; }
.wsm-cal__num { display: block; font-size: 16px; font-weight: 700; padding: 4px 6px 2px; }
.wsm-cal__day { display: block; height: 100%; min-height: 60px; text-decoration: none; color: inherit; }
.wsm-cal__ev { display: block; margin: 1px 3px; padding: 1px 4px; border-radius: 6px; background: var(--wsm-main); color: #fff; font-size: 11px; line-height: 1.35; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wsm-cal__ev--cancelled { background: var(--wsm-red); }
.wsm-cal__ev--postponed { background: var(--wsm-orange); }
.wsm-cal__ev--held { background: #a7a4ad; }
@media (max-width: 420px) { .wsm-cal__ev { font-size: 0; height: 8px; width: 8px; padding: 0; margin: 2px auto; border-radius: 50%; } }
.wsm-cal__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.wsm-cal__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--wsm-line); text-decoration: none; color: inherit; background: #fff; }
.wsm-cal__list a:hover { background: var(--wsm-soft); }
.wsm-cal__date { flex: none; width: 56px; text-align: center; font-size: 14px; color: var(--wsm-sub); line-height: 1.2; }
.wsm-cal__date b { display: block; font-size: 26px; color: var(--wsm-main-dark); }
.wsm-cal__info { flex: 1; min-width: 0; display: grid; }
.wsm-cal__info strong { font-size: 17px; line-height: 1.4; }
.wsm-cal__info span { font-size: 14px; color: var(--wsm-sub); }

/* ===== 運営ページ（拡張） ===== */
.wsm-staff__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.wsm-staff__top .wsm-h1 { margin-bottom: 4px; }
.wsm-staff__menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 8px 0 18px; background: var(--wsm-soft); padding: 4px; border-radius: 14px; }
.wsm-staff__menu a { position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 4px 2px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.25; color: var(--wsm-ink); }
.wsm-staff__menu a.is-on { background: #fff; color: var(--wsm-main-dark); box-shadow: var(--wsm-shadow); }
.wsm-staff__menu b { position: absolute; top: 2px; right: 2px; min-width: 22px; padding: 0 5px; border-radius: 999px; background: var(--wsm-red); color: #fff; font-size: 13px; line-height: 22px; }
.wsm-staff__head2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wsm-staff__head2 .wsm-h2 { margin: 18px 0 12px; }
.wsm-staff__events { list-style: none; margin: 0; padding: 0; }
.wsm-staff__events .is-todo { border-left: 6px solid var(--wsm-orange); }
.wsm-staff__evlink { display: grid; gap: 4px; text-decoration: none; color: inherit; font-size: 17px; }
.wsm-staff__evmeta { font-size: 15px; color: var(--wsm-sub); }
.wsm-staff__evnums { font-size: 15px; }
.wsm-staff__evnums b { color: var(--wsm-red); }
.wsm-staff__evhead { margin-bottom: 8px; }
.wsm-staff__evbtns { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.wsm-staff__more { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wsm-staff__more a { display: grid; gap: 4px; text-decoration: none; color: inherit; font-size: 18px; }
.wsm-staff__more span { font-size: 15px; color: var(--wsm-sub); }
.wsm-staff__photos { display: flex; gap: 6px; margin: 0 0 12px; }
.wsm-staff__photos img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.wsm-staff__adjust { margin: 10px 0 4px; }
.wsm-staff__adjust summary { cursor: pointer; font-size: 15px; color: var(--wsm-main-dark); font-weight: 700; }
.wsm-staff__adjust .wsm-form { margin-top: 10px; }
.wsm-photo--one { max-width: 240px; margin-top: 6px; }
.wsm-photo--one img, .wsm-photo--one .wsm-noimg { aspect-ratio: 4 / 3; }
.wsm-staff-login { margin-top: 24px; max-width: 560px; }

/* ---------- v1.3 ---------- */
.wsm-cal__mine { display: block; color: var(--wsm-red); font-weight: 700; font-size: 12px; line-height: 1.25; padding: 0 3px; }
.wsm-cal__grid td.has-mine { box-shadow: inset 0 0 0 2px var(--wsm-red); }
.wsm-cal__minebox { border: 2px solid var(--wsm-red); background: #fff5f5; border-radius: 12px; padding: 10px 14px; margin: 10px 0 4px; }
.wsm-cal__minebox p { margin: 0 0 4px; }
.wsm-cal__minebox ul { list-style: none; margin: 0 0 4px; padding: 0; }
.wsm-cal__minebox li.wsm-cal__mine { font-size: 16px; padding: 2px 0; }
.wsm-guide .wsm-cal__mine { display: inline; font-size: inherit; }
.wsm-slot--undecided { border-style: dashed; }
.wsm-pay { margin: 6px 0; }
.wsm-paygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 10px; }
.wsm-check.is-off { opacity: .5; }
.wsm-ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.wsm-ticket { margin-bottom: 14px; }
.wsm-noticebox { margin-bottom: 10px; }
.wsm-noticebox .wsm-h4 { margin: 2px 0 4px; }
.wsm-noticeform summary { cursor: pointer; font-size: 17px; padding: 4px 0; }
.wsm-noticeform { margin-bottom: 16px; }
.wsm-toc ol { margin: 4px 0 0; padding-left: 1.4em; }
.wsm-toc a { color: var(--wsm-main-dark); }
.wsm-guide section { scroll-margin-top: 90px; }
.wsm-steplist { padding-left: 1.4em; }
.wsm-steplist li { margin-bottom: 6px; }
.wsm-hero__guide { margin: 12px 0 0; font-size: 16px; }
.wsm-undecided { margin-top: 10px; }

/* ---------- ログイン状態の色分け（運営＝オレンジ／出店者＝青／お客様＝いつもの色） ---------- */
.wsm-rolebar { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; padding: 6px 16px; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; }
.wsm-rolebar__label { white-space: nowrap; }
.wsm-rolebar__label::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #fff; margin-right: 6px; vertical-align: 1px; }
.wsm-rolebar__name { flex: 1 1 auto; min-width: 0; font-weight: 400; opacity: .95; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsm-rolebar__out { flex: none; margin-left: auto; color: inherit; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 3px 12px; text-decoration: none; font-size: 14px; white-space: nowrap; }
.wsm-role-staff .wsm-rolebar { background: #c8571b; }
.wsm-role-exhibitor .wsm-rolebar { background: #1f6fb5; }
body.wsm-layout.wsm-role-staff { background: #fff4ea; }
body.wsm-layout.wsm-role-exhibitor { background: #eef5fc; }
.wsm-role-staff .wsm-header { background: rgba(251, 227, 207, .97); border-bottom-color: #efc4a3; }
.wsm-role-exhibitor .wsm-header { background: rgba(220, 235, 250, .97); border-bottom-color: #b5d2ee; }
.wsm-role-staff .wsm-footer { background: #fbe3cf; }
.wsm-role-exhibitor .wsm-footer { background: #dcebfa; }
