/* Stand meetings and the show package (shows.meetings, shows.package): the meeting form, "Your meetings", the
   featured strip, sponsored notes and the package page. Builds on lux.css tokens; mobile first (375px). */

.sm { color: var(--lux-ink); }
.sm-wrap { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 56px; }
.sm-wrap h1 { font-family: var(--lux-serif); font-weight: 500; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 8px 0 12px; overflow-wrap: anywhere; }
.sm-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lux-text-mute); margin: 0; }
.sm-kicker a { color: inherit; }
.sm-lede { color: var(--lux-text-mute); max-width: 60ch; margin: 0 0 20px; }
.sm-card { border: 1px solid var(--lux-rule); background: #fff; padding: 20px; margin: 0 0 20px; }
.sm-card h2 { font-family: var(--lux-serif); font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.sm-fine { font-size: 13px; color: var(--lux-text-mute); }
.sm-error { color: #9b1c1c; font-size: 14px; margin: 4px 0 0; }
.sm-ok { background: var(--lux-ivory); border-left: 3px solid var(--lux-gold); padding: 12px 16px; margin: 0 0 20px; }

/* Forms */
.sm-field { display: grid; gap: 6px; margin: 0 0 16px; }
.sm-field > label, .sm-field > legend { font-weight: 600; font-size: 14px; }
.sm-field input[type="text"], .sm-field input[type="email"], .sm-field input[type="url"], .sm-field input[type="time"],
.sm-field input[type="search"], .sm-field select, .sm-field textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--lux-rule);
  background: #fff; font: inherit; color: var(--lux-ink); border-radius: 0;
}
.sm-field textarea { resize: vertical; }
.sm-field input:focus-visible, .sm-field select:focus-visible, .sm-field textarea:focus-visible,
.sm-btn:focus-visible, .sm-link:focus-visible, .sm-chip:focus-visible { outline: 2px solid var(--lux-gold); outline-offset: 2px; }
fieldset.sm-field { border: 0; padding: 0; min-width: 0; }
.sm-field ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sm-field ul label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--lux-rule); background: #fff; font-weight: 400; cursor: pointer; }
.sm-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sm-check input { margin-top: 3px; }
.sm-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sm-row { grid-template-columns: repeat(3, 1fr); } }

.sm-btn {
  display: inline-block; padding: 12px 20px; border: 1px solid var(--lux-gold); background: var(--lux-gold);
  color: var(--lux-ink); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.sm-btn:hover { background: var(--lux-gold-soft); border-color: var(--lux-gold-soft); text-decoration: none; }
.sm-btn--line { background: transparent; border-color: var(--lux-ink); }
.sm-btn--small { padding: 8px 14px; font-size: 12px; }
.sm-link { color: var(--lux-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Picked exhibitors and search results */
.sm-picks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.sm-picks li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--lux-rule); background: var(--lux-ivory); }
.sm-picks li span { overflow-wrap: anywhere; }
.sm-search { display: flex; gap: 8px; flex-wrap: wrap; }
.sm-search input { flex: 1 1 180px; min-width: 0; }

/* "Your meetings at ..." */
.sm-meetings { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sm-meeting { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--lux-rule); background: #fff; }
.sm-meeting__name { font-weight: 600; overflow-wrap: anywhere; }
.sm-meeting__when { font-family: var(--lux-serif); font-size: 18px; }
.sm-meeting__actions { display: flex; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.sm-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; background: var(--lux-ivory); border: 1px solid var(--lux-rule); }
.sm-pill--ok { border-color: var(--lux-gold); }

/* Show page: featured strip, badges and sponsored notes */
.sm-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--lux-gold); color: var(--lux-ink); background: var(--lux-ivory); }
.sm-badge { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 1px 7px; border: 1px solid var(--lux-gold); background: var(--lux-ivory); white-space: nowrap; }
.sm-strip { border: 1px solid var(--lux-gold); background: var(--lux-ivory); padding: 16px; margin: 0 0 8px; }
.sm-strip ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sm-strip li { overflow-wrap: anywhere; }
.sm-meet-link { margin-left: 6px; font-size: 13px; white-space: nowrap; }
.sm-notes { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sm-notes { grid-template-columns: repeat(2, 1fr); } }
.sm-note { border: 1px solid var(--lux-rule); background: #fff; padding: 18px; }
.sm-note h3 { font-family: var(--lux-serif); font-weight: 500; font-size: 20px; margin: 8px 0; overflow-wrap: anywhere; }
.sm-note__body { white-space: pre-line; overflow-wrap: anywhere; }
.sm-cta { display: grid; gap: 12px; border: 1px solid var(--lux-rule); background: var(--lux-ivory); padding: 18px; margin: 0 0 16px; }
@media (min-width: 760px) { .sm-cta { grid-template-columns: 1fr auto; align-items: center; } }
.sm-cta p { margin: 0; }

/* The package page */
.sm-what { margin: 0 0 16px; padding-left: 20px; }
.sm-what li { margin: 0 0 6px; }
.sm-price { font-family: var(--lux-serif); font-size: 30px; margin: 0; }
.sm-search input { padding: 10px 12px; border: 1px solid var(--lux-rule); background: #fff; font: inherit; color: var(--lux-ink); }
.sm-search input:focus-visible { outline: 2px solid var(--lux-gold); outline-offset: 2px; }
.sm-btn[disabled] { opacity: 0.5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .sm *, .sm-strip, .sm-note { transition: none !important; scroll-behavior: auto !important; } }
/* Django's checkbox lists render as nested divs */
.sm-days > div { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-days > div > div label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--lux-rule); background: #fff; font-weight: 400; cursor: pointer; }
