/* ============================================================
   Networking - pastel, mobile-first design system
   ============================================================ */

:root {
  /* palette */
  --ink:        #2B2740;
  --ink-soft:   #6B6683;
  --ink-faint:  #9A95B3;
  --paper:      #FFFFFF;
  --bg:         #F6F4FB;
  --bg-2:       #FBF8F3;

  --purple:     #7C6FE0;
  --purple-deep:#5F51C9;
  --purple-soft:#EDEAFC;
  --green:      #34B67A;
  --green-soft: #DFF5E9;
  --blue:       #4A90D9;
  --blue-soft:  #E3F0FD;
  --peach:      #F2994A;
  --peach-soft: #FFEDDD;
  --pink-soft:  #FCE9F1;
  --red:        #D64550;
  --red-soft:   #FCE5E7;

  --radius:     22px;
  --radius-sm:  14px;
  --shadow:     0 6px 24px rgba(84, 71, 158, .10);
  --shadow-lg:  0 12px 40px rgba(84, 71, 158, .16);
  --font: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -100px, #EFEAFF 0%, transparent 60%),
    radial-gradient(900px 420px at -10% 30%, #FDF1E6 0%, transparent 55%),
    var(--bg);
  min-height: 100dvh;
}

img { max-width: 100%; }
a { color: var(--purple-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 1.9rem; letter-spacing: -.02em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }

/* ---------------- layout ---------------- */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}
.page-has-nav { padding-bottom: 96px; }
.page-narrow { max-width: 560px; margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  padding-top: calc(12px + env(safe-area-inset-top));
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(124,111,224,.10);
}
.brand {
  font-weight: 800; font-size: 1.15rem; color: var(--ink);
  letter-spacing: -.02em; display: flex; align-items: center; gap: 8px;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), #A79BF0);
  color: #fff; font-size: .95rem;
}
.topbar-avatar { display: inline-flex; border-radius: 50%; }

/* ---------------- cards ---------------- */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 16px;
}
.card-soft-purple { background: linear-gradient(140deg, #F1EEFF, #FBFAFF); }
.card-soft-green  { background: linear-gradient(140deg, #E7F8EF, #FBFFFC); }
.card-soft-blue   { background: linear-gradient(140deg, #E9F3FE, #FBFDFF); }
.card-soft-peach  { background: linear-gradient(140deg, #FFF0E2, #FFFDF9); }
.card h2 { margin-bottom: 10px; }
.card-kicker {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--purple-deep); margin-bottom: 6px;
}
.card-row { display: flex; align-items: center; gap: 14px; }

.grid-2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  h1 { font-size: 2.3rem; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  padding: 13px 24px; border-radius: 999px;
  background: var(--purple-soft); color: var(--purple-deep);
  transition: transform .06s ease, box-shadow .15s ease, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--purple), #9487EA); color: #fff; box-shadow: 0 6px 18px rgba(124,111,224,.35); }
.btn-green   { background: linear-gradient(135deg, #3FBF83, #6BD3A2); color: #fff; box-shadow: 0 6px 18px rgba(63,191,131,.30); }
.btn-ghost   { background: transparent; box-shadow: inset 0 0 0 2px var(--purple-soft); }
.btn-danger  { background: var(--red-soft); color: var(--red); }
.btn-small   { padding: 8px 16px; font-size: .9rem; }
.btn-big     { padding: 16px 30px; font-size: 1.1rem; width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn-icon { font-size: 1.1em; line-height: 1; }
.btn-stack { display: flex; flex-direction: column; gap: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------- forms ---------------- */
label.f-label, .f-label {
  display: block; font-size: .88rem; font-weight: 700;
  color: var(--ink-soft); margin: 0 0 6px 4px;
}
.f-input, .f-select, .f-textarea {
  width: 100%; font-family: inherit; font-size: 1.05rem;
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid #E7E3F5; background: #FDFDFF; color: var(--ink);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124,111,224,.14);
}
.f-textarea { min-height: 110px; resize: vertical; }
.f-group { margin-bottom: 16px; }
.f-help { font-size: .82rem; color: var(--ink-faint); margin: 4px 4px 0; }
.f-grid { display: grid; gap: 12px 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .f-grid { grid-template-columns: 1fr 1fr; } }
.f-grid .f-wide { grid-column: 1 / -1; }

/* toggle switch */
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px;
  background: #E4E1F0; transition: background .18s; cursor: pointer;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .18s;
}
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(22px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 4px rgba(52,182,122,.25); }

.switch-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 4px; border-bottom: 1px solid #F1EFF8;
}
.switch-row:last-child { border-bottom: 0; }
.switch-row .sr-label { font-weight: 600; }
.switch-row .sr-sub { display: block; font-size: .8rem; color: var(--ink-faint); font-weight: 400; }

/* ---------------- pills ---------------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  --pill-h: 255;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  font-size: .86rem; font-weight: 700;
  background: hsl(var(--pill-h), 70%, 93%);
  color: hsl(var(--pill-h), 45%, 38%);
  border: 2px solid transparent;
}
.pill-select {
  cursor: pointer; user-select: none;
  background: #F2F0FA; color: var(--ink-soft);
  border-color: #E7E3F5;
  padding: 9px 18px; font-size: .95rem;
  transition: all .15s;
}
.pill-select:hover { border-color: var(--purple); }
.pill-select.on {
  background: var(--green-soft); color: #1E7A50; border-color: #9FE0BF;
}
.pill-select.on::before { content: "✓ "; font-weight: 800; }
.pill-add { background: transparent; border: 2px dashed #D8D3EC; color: var(--ink-faint); }

/* ---------------- avatars ---------------- */
.avatar {
  border-radius: 50%; object-fit: cover; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--purple-soft);
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(84,71,158,.15);
}
.avatar-ini { font-weight: 800; }
.avatar-xl { box-shadow: 0 0 0 5px #fff, 0 10px 30px rgba(84,71,158,.22); }

/* ---------------- flash messages ---------------- */
.flash-stack { max-width: 980px; margin: 12px auto 0; padding: 0 16px; }
.flash {
  padding: 13px 18px; border-radius: var(--radius-sm);
  font-weight: 600; margin-bottom: 8px;
}
.flash-success { background: var(--green-soft); color: #1E7A50; }
.flash-error   { background: var(--red-soft);   color: var(--red); }
.flash-info    { background: var(--blue-soft);  color: #21618F; }

/* ---------------- bottom navigation ---------------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(124,111,224,.12);
}
.bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 58px; padding: 6px 8px; border-radius: 14px;
  color: var(--ink-faint); font-size: .68rem; font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.bn-item:hover { text-decoration: none; }
.bn-icon svg { width: 24px; height: 24px; display: block; }
.bn-item.active { color: var(--purple-deep); background: var(--purple-soft); }
@media (min-width: 900px) {
  .bottomnav { max-width: 560px; margin: 0 auto 14px; border-radius: 999px;
    border: 1px solid rgba(124,111,224,.12); box-shadow: var(--shadow-lg); }
}

/* ---------------- attendee directory ---------------- */
.people-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .people-grid { grid-template-columns: 1fr 1fr 1fr; } }

.person-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.person-card .pc-body { min-width: 0; flex: 1; }
.person-card .pc-name { font-weight: 800; font-size: 1.05rem; }
.person-card .pc-sub  { color: var(--ink-soft); font-size: .88rem; margin-bottom: 8px; }
.person-card .pills { margin-bottom: 10px; }
.person-card .pill { font-size: .74rem; padding: 4px 10px; }

/* filter chips row */
.chips-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 2px solid #E7E3F5;
  font-weight: 700; font-size: .9rem; color: var(--ink-soft);
}
.chip.on { background: var(--purple); border-color: var(--purple); color: #fff; }

/* ---------------- profile page ---------------- */
.profile-hero { text-align: center; padding: 26px 22px; }
.profile-hero .avatar { margin-bottom: 12px; }
.profile-hero h1 { margin-bottom: 2px; }
.profile-hero .ph-sub { color: var(--ink-soft); font-weight: 600; }
.profile-hero .ph-company { color: var(--ink-faint); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }

/* ---------------- QR ---------------- */
.qr-card { text-align: center; }
.qr-frame {
  display: inline-block; background: #fff; border-radius: 24px;
  padding: 16px; box-shadow: var(--shadow);
  border: 2px solid var(--purple-soft);
}
.qr-frame img { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.qr-frame.qr-big img { width: min(78vw, 340px); height: min(78vw, 340px); }

/* ---------------- meeting cards ---------------- */
.meeting-card { display: flex; gap: 16px; align-items: center; }
.date-badge {
  flex: none; width: 62px; text-align: center;
  background: var(--purple-soft); border-radius: 16px; padding: 8px 4px;
  color: var(--purple-deep); font-weight: 800; line-height: 1.15;
}
.date-badge .db-mon { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; display: block; }
.date-badge .db-day { font-size: 1.5rem; display: block; }
.meeting-meta { color: var(--ink-soft); font-size: .9rem; }

/* ---------------- steps (onboarding) ---------------- */
.steps-dots { display: flex; gap: 6px; justify-content: center; margin: 4px 0 18px; }
.steps-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #DDD8F0; transition: all .2s;
}
.steps-dots i.on { background: var(--purple); width: 22px; border-radius: 99px; }

/* option tiles (choose card / voice / manual) */
.option-tile {
  display: flex; align-items: center; gap: 14px; width: 100%;
  text-align: left; background: var(--paper); border: 2px solid #EDEAF8;
  border-radius: var(--radius); padding: 18px; cursor: pointer;
  font: inherit; color: inherit; margin-bottom: 12px;
  transition: border-color .15s, transform .06s;
}
.option-tile:hover { border-color: var(--purple); text-decoration: none; }
.option-tile:active { transform: scale(.99); }
.option-tile .ot-emoji {
  flex: none; width: 48px; height: 48px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.option-tile .ot-title { font-weight: 800; }
.option-tile .ot-sub { font-size: .85rem; color: var(--ink-faint); }

/* ---------------- stats (admin + host) ---------------- */
.stat-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--paper); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 16px 18px;
}
.stat .st-num { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stat .st-label { font-size: .8rem; color: var(--ink-soft); font-weight: 700; }
.stat-purple .st-num { color: var(--purple-deep); }
.stat-green  .st-num { color: #1E7A50; }
.stat-blue   .st-num { color: #21618F; }
.stat-peach  .st-num { color: #B4661B; }

/* ---------------- tables (admin) ---------------- */
.tbl-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th {
  text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink-faint); padding: 14px 16px 8px; border-bottom: 1px solid #F0EDF8;
}
.tbl td { padding: 12px 16px; border-bottom: 1px solid #F6F4FB; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }

.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 800;
}
.badge-green { background: var(--green-soft); color: #1E7A50; }
.badge-red   { background: var(--red-soft); color: var(--red); }
.badge-amber { background: #FFF2D6; color: #9A6B00; }
.badge-gray  { background: #EFEDF6; color: var(--ink-soft); }

/* ---------------- admin shell ---------------- */
.admin-wrap { display: flex; min-height: 100dvh; }
.admin-side {
  display: none; flex: none; width: 230px; padding: 22px 14px;
  background: #fff; border-right: 1px solid #EFECF8;
}
.admin-side .brand { margin: 0 8px 22px; display: flex; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 12px; color: var(--ink-soft);
  font-weight: 700; font-size: .95rem; margin-bottom: 2px;
}
.admin-nav a:hover { text-decoration: none; background: var(--bg); }
.admin-nav a.active { background: var(--purple-soft); color: var(--purple-deep); }
.admin-main { flex: 1; min-width: 0; padding: 20px 16px 60px; max-width: 1080px; }
.admin-topmenu {
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px;
  background: #fff; border-bottom: 1px solid #EFECF8;
  position: sticky; top: 0; z-index: 30; scrollbar-width: none;
}
.admin-topmenu::-webkit-scrollbar { display: none; }
.admin-topmenu a {
  flex: none; padding: 8px 14px; border-radius: 999px;
  font-size: .87rem; font-weight: 700; color: var(--ink-soft);
}
.admin-topmenu a.active { background: var(--purple-soft); color: var(--purple-deep); }
.admin-topmenu a:hover { text-decoration: none; }
@media (min-width: 980px) {
  .admin-side { display: block; }
  .admin-topmenu { display: none; }
  .admin-main { padding: 30px 34px 60px; }
}

/* live check-in */
.live-count {
  font-size: clamp(3rem, 12vw, 5.5rem); font-weight: 800;
  color: var(--purple-deep); letter-spacing: -.03em; line-height: 1;
}
.live-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 4px; border-bottom: 1px solid #F1EFF8;
  animation: fadeIn .4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------------- hero (public landing) ---------------- */
.hero { text-align: center; padding: 44px 18px 26px; }
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  background: linear-gradient(120deg, var(--purple-deep), #A66BD9 60%, var(--peach));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.hero .hero-tag { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.hero .hero-intro { max-width: 560px; margin: 0 auto 22px; color: var(--ink-soft); }

.section-title { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; }
.section-title h2 { margin: 0; }
.section-title .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--purple); }

/* voice recorder */
.rec-btn {
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--purple), #9487EA);
  color: #fff; font-size: 2rem; box-shadow: 0 8px 26px rgba(124,111,224,.45);
  transition: transform .1s;
}
.rec-btn:active { transform: scale(.94); }
.rec-btn.recording {
  background: linear-gradient(135deg, #E25563, #F2994A);
  animation: pulse 1.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226,85,99,.45); }
  70% { box-shadow: 0 0 0 22px rgba(226,85,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,85,99,0); }
}

/* misc */
.muted { color: var(--ink-faint); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.spacer { height: 18px; }
.divider { border: 0; border-top: 1px solid #EEEBF7; margin: 18px 0; }
.hidden { display: none !important; }

.loading-dots::after {
  content: "…"; animation: dots 1.2s steps(4) infinite;
}
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "…"; } }

/* print (QR signs) */
@media print {
  .topbar, .bottomnav, .sitefooter, .no-print, .admin-side, .admin-topmenu { display: none !important; }
  body { background: #fff; }
  .print-sign { text-align: center; padding-top: 4vh; }
  .print-sign h1 { font-size: 44pt; }
  .print-sign .qr-frame img { width: 420px; height: 420px; }
}

/* ---------------- v1.2 additions ---------------- */

/* announcement banner (host messages) */
.announce-banner {
  max-width: 980px; margin: 10px auto 0; padding: 12px 18px;
  background: linear-gradient(135deg, #FFF3D6, #FFEDDD);
  color: #7A5200; font-weight: 700; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); margin-left: 16px; margin-right: 16px;
}
@media (min-width: 1012px) { .announce-banner { margin-left: auto; margin-right: auto; } }

/* announcement voting (v1.4.1: spaced pills, subtle hint) */
.announce-banner a { color: #7A5200; font-weight: 800; text-decoration: underline; }
.ann-votes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ann-vote-btn {
  -webkit-appearance: none; appearance: none;
  border: 2px solid #EAD9AF; background: #fff; cursor: pointer;
  padding: 10px 22px; border-radius: 999px; font-family: inherit;
  font-size: .95rem; font-weight: 700; color: #7A5200; line-height: 1.2;
  box-shadow: 0 2px 8px rgba(122, 82, 0, .10);
  transition: transform .08s, border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.ann-vote-btn:hover { border-color: #C9A227; }
.ann-vote-btn:active { transform: scale(.96); }
.ann-vote-btn.on {
  background: linear-gradient(135deg, #3FBF83, #6BD3A2);
  border-color: #3FBF83; color: #fff;
  box-shadow: 0 4px 14px rgba(63, 191, 131, .35);
}
.ann-vote-btn .ann-count {
  display: inline-block; min-width: 20px; text-align: center;
  background: rgba(0, 0, 0, .08); border-radius: 999px; padding: 1px 8px;
  font-size: .78rem; margin-left: 6px;
}
.ann-vote-btn.on .ann-count { background: rgba(255, 255, 255, .25); }
.ann-hint {
  font-size: .72rem; font-weight: 400; margin-top: 8px;
  color: var(--ink-faint); opacity: 1;
}

/* profile completion progress */
.progress-track {
  height: 12px; border-radius: 999px; background: #EEEBF7; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--green), #6BD3A2);
  transition: width .4s ease;
}

/* favorite star */
.fav-star {
  border: 0; background: transparent; cursor: pointer;
  font-size: 1.25rem; line-height: 1; color: #DDD8F0;
  padding: 2px 6px; vertical-align: middle;
  transition: transform .12s, color .15s;
}
.fav-star:hover { transform: scale(1.2); }
.fav-star.on { color: #F2B01E; }

/* private note box */
.note-box .note-preview {
  margin: 8px 0 0; padding: 8px 12px; border-radius: 12px;
  background: #FBFAF3; border: 1px dashed #E8E2C9;
  font-size: .86rem; color: #6B6350;
}

/* drag & drop zones (v1.3) */
.dropzone {
  border: 2px dashed #C9C2E8; border-radius: var(--radius);
  background: #FBFAFF; padding: 26px 18px; text-align: center;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag-over { border-color: var(--purple); background: var(--purple-soft); }
.dropzone .dz-icon { font-size: 1.8rem; }
.dropzone .dz-hint { color: var(--ink-faint); font-size: .85rem; }

/* meeting photo gallery */
.gallery-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-grid .g-item { position: relative; }
.gallery-grid img { height: 110px; width: auto; border-radius: 12px; box-shadow: var(--shadow); display: block; }
.gallery-grid .g-del {
  position: absolute; top: -6px; right: -6px; width: 24px; height: 24px;
  border-radius: 50%; border: 0; cursor: pointer; background: var(--red);
  color: #fff; font-size: .8rem; line-height: 1;
}
.meeting-gallery img { border-radius: 16px; width: 100%; height: auto; box-shadow: var(--shadow); }
.meeting-gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.meeting-gallery .mg-wide { grid-column: 1 / -1; }
@media (min-width: 640px) { .meeting-gallery { grid-template-columns: 1fr 1fr 1fr; } }

/* homepage hero banner image */
.hero-banner {
  max-width: 1500px; margin: 0 auto;
}
.hero-banner img {
  width: 100%; height: auto; display: block;
  border-radius: 0 0 22px 22px; box-shadow: var(--shadow);
}

/* custom html section wrapper (AI page builder) */
.custom-html-section { margin-bottom: 16px; overflow-wrap: break-word; }

.produced-by { text-align: center; }
.produced-by a { color: var(--ink-faint); }

.sitefooter {
  text-align: center; color: var(--ink-faint); font-size: .85rem;
  padding: 26px 16px calc(26px + env(safe-area-inset-bottom));
}
