/* Maison Invités — extended public platform demo */
.platform-view {
  --platform-ink: #18211e;
  --platform-muted: #817c73;
  --platform-line: #e2ddd4;
  --platform-soft: #f5f1ea;
  --platform-green: #23443b;
  --platform-wine: #713443;
  --platform-gold: #b49b64;
  min-width: 0;
}

.platform-view *,
.platform-view *::before,
.platform-view *::after {
  box-sizing: border-box;
}

.platform-view button,
.platform-view input,
.platform-view select,
.platform-view textarea {
  min-width: 0;
}

.platform-demo-chip,
.platform-presence,
.platform-heading-stats {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--platform-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .74);
  color: var(--platform-muted);
  font-size: 8px;
  gap: 8px;
}

.platform-demo-chip i,
.platform-presence i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4f816c;
  box-shadow: 0 0 0 4px rgba(79, 129, 108, .11);
}

.platform-presence {
  padding-left: 10px;
}

.platform-presence i {
  width: 23px;
  height: 23px;
  margin-left: -8px;
  border: 2px solid white;
  background: linear-gradient(135deg, #d9c5a2, var(--platform-wine));
  box-shadow: none;
}

.platform-presence i:nth-child(2) { background: linear-gradient(135deg, #92a89c, var(--platform-green)); }
.platform-presence i:nth-child(3) { background: linear-gradient(135deg, #dfc4bc, #9a5766); }
.platform-presence strong { margin-left: 2px; font-size: 8px; font-weight: 500; }

.platform-heading-stats {
  gap: 14px;
}

.platform-heading-stats span {
  position: relative;
  white-space: nowrap;
}

.platform-heading-stats span + span::before {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -7px;
  width: 1px;
  background: var(--platform-line);
  content: "";
}

.platform-heading-stats strong {
  color: var(--platform-ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}

.platform-metric-grid {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-metric-grid-budget,
.platform-crm-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-metric {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 112px;
  justify-content: center;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(32, 27, 21, .035);
  flex-direction: column;
}

.platform-metric::after {
  position: absolute;
  right: -22px;
  bottom: -28px;
  width: 75px;
  height: 75px;
  border: 1px solid rgba(113, 52, 67, .07);
  border-radius: 50%;
  content: "";
}

.platform-metric-emphasis {
  border-color: transparent;
  background:
    radial-gradient(circle at 85% 20%, rgba(205, 191, 157, .14), transparent 32%),
    var(--platform-green);
  color: white;
}

.platform-metric > span {
  color: var(--platform-muted);
  font-size: 8px;
}

.platform-metric-emphasis > span,
.platform-metric-emphasis small {
  color: rgba(255, 255, 255, .6);
}

.platform-metric strong {
  overflow: hidden;
  margin: 3px 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 400;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-metric strong.platform-metric-date {
  font-size: 25px;
}

.platform-metric small {
  color: #9e998f;
  font-size: 7px;
}

.platform-metric small b,
.platform-metric small.is-positive {
  color: #39735d;
  font-weight: 500;
}

.platform-card {
  min-width: 0;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 32px rgba(32, 27, 21, .035);
}

.platform-card-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 14px;
}

.platform-card-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.platform-card-head p {
  margin: 0;
  color: var(--platform-ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.2;
}

.platform-card-head span {
  color: #969087;
  font-size: 8px;
}

.platform-card-head > strong {
  color: var(--platform-wine);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.platform-card-mark {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #f1ece5;
  color: var(--platform-wine) !important;
  font-size: 10px !important;
}

.platform-stack {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.platform-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #efede8;
  color: #777168;
  font-size: 6px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
}

.platform-status.is-confirmed { background: #e8f1ec; color: #37654f; }
.platform-status.is-review { background: #f2ead7; color: #786334; }
.platform-status.is-pending { background: #f2e7e8; color: #8a4f5d; }

.platform-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #eee3dc;
  color: var(--platform-wine);
  font-family: var(--serif);
  font-size: 10px;
}

.platform-avatar-green { background: #e2ece6; color: var(--platform-green); }
.platform-avatar-sand { background: #eee8d8; color: #746441; }
.platform-avatar-rose { background: #f0e3e6; color: #8c4d5c; }

.platform-empty {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 28px;
  color: #958f86;
  text-align: center;
}

.platform-empty > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--platform-soft);
  color: var(--platform-wine);
  font-family: var(--serif);
}

.platform-empty strong {
  margin-top: 8px;
  color: var(--platform-ink);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
}

.platform-empty p {
  margin: 2px 0 0;
  font-size: 8px;
}

.platform-compact-select select,
.platform-search,
.platform-heading-search {
  height: 36px;
  border: 1px solid #ddd8cf;
  border-radius: 5px;
  background: white;
}

.platform-compact-select select {
  min-width: 125px;
  padding: 0 28px 0 10px;
  outline: 0;
  color: #6e6961;
  font-size: 8px;
}

.platform-heading-control,
.platform-heading-search {
  flex: 0 0 auto;
}

.platform-search {
  display: flex;
  width: min(230px, 100%);
  align-items: center;
  padding: 0 11px;
  color: #9b958d;
  gap: 7px;
}

.platform-search i {
  font-style: normal;
}

.platform-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 8px;
}

.platform-form {
  display: grid;
  padding: 18px;
  align-content: start;
  gap: 12px;
}

.platform-form .platform-card-head {
  margin-bottom: 2px;
}

.platform-field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.platform-field > span {
  color: #777168;
  font-size: 7px;
  font-weight: 500;
}

.platform-field input,
.platform-field select,
.platform-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #ddd8cf;
  border-radius: 5px;
  outline: 0;
  background: #fdfcf9;
  color: var(--platform-ink);
  font-size: 8px;
}

.platform-field input,
.platform-field select {
  height: 39px;
  padding: 0 10px;
}

.platform-field textarea {
  min-height: 64px;
  padding: 9px 10px;
  line-height: 1.55;
  resize: vertical;
}

.platform-field input:focus,
.platform-field select:focus,
.platform-field textarea:focus,
.platform-search:focus-within {
  border-color: var(--platform-wine);
  box-shadow: 0 0 0 3px rgba(113, 52, 67, .07);
}

.platform-form-row {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.platform-check {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 10px;
  border: 1px solid #e1ddd5;
  border-radius: 5px;
  background: #fbfaf7;
  cursor: pointer;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}

.platform-check > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-check > span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #cfc9bf;
  border-radius: 4px;
}

.platform-check > input:checked + span {
  border-color: var(--platform-green);
  background: var(--platform-green);
}

.platform-check > input:checked + span::after {
  color: white;
  font-size: 7px;
  content: "✓";
}

.platform-check p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.platform-check strong { font-size: 8px; font-weight: 500; }
.platform-check small { color: #9a948c; font-size: 7px; }
.platform-check-compact { padding: 8px; }

.platform-submit {
  display: inline-flex;
  width: 100%;
  min-height: 39px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border: 1px solid var(--platform-green);
  border-radius: 5px;
  background: var(--platform-green);
  color: white;
  font-size: 8px;
  font-weight: 500;
  transition: background .2s, border-color .2s, transform .2s;
}

.platform-submit:hover {
  border-color: var(--platform-wine);
  background: var(--platform-wine);
  transform: translateY(-1px);
}

.platform-safety-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--champagne);
  background: rgba(255, 255, 255, .42);
  color: #8c867d;
  font-size: 7px;
}

/* Budget */
.platform-budget-grid {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: minmax(0, 1.35fr) minmax(275px, .65fr);
  gap: 10px;
}

.platform-budget-chart,
.platform-ledger {
  padding: 18px;
}

.platform-budget-visual {
  display: grid;
  align-items: center;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
}

.platform-donut {
  position: relative;
  display: grid;
  width: 154px;
  height: 154px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--platform-wine) 0 42%, var(--platform-gold) 42% 58%, #698375 58% 76%, #e3ded5 76% 100%);
}

.platform-donut::before {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: white;
  content: "";
}

.platform-donut > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.platform-donut strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.platform-donut span { color: #969087; font-size: 7px; }

.platform-bar-list {
  display: grid;
  gap: 10px;
}

.platform-bar-list > div {
  display: grid;
  gap: 4px;
}

.platform-bar-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  color: #777168;
  font-size: 7px;
  gap: 12px;
}

.platform-bar-list p strong { color: var(--platform-ink); font-weight: 500; }

.platform-bar-list i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #ece8e1;
}

.platform-bar-list i span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--platform-wine), #a76e78); }
.platform-bar-w100 { width: 100%; }
.platform-bar-w33 { width: 33%; }
.platform-bar-w26 { width: 26%; }
.platform-bar-w22 { width: 22%; }
.platform-bar-w18 { width: 18%; }

.platform-ledger {
  overflow: hidden;
}

.platform-ledger-head,
.platform-ledger-list > article {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: minmax(210px, 1.6fr) .7fr .7fr .7fr .75fr;
  gap: 10px;
}

.platform-ledger-head {
  min-height: 31px;
  padding: 0 11px;
  border-radius: 4px;
  background: #f4f1eb;
  color: #989188;
  font-size: 6px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.platform-ledger-list > article {
  min-height: 62px;
  padding: 9px 11px;
  border-bottom: 1px solid #eeeae3;
  color: #746f67;
  font-size: 7px;
}

.platform-list-primary {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 9px;
}

.platform-expense-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #efe3e5;
  color: var(--platform-wine);
  font-family: var(--serif);
  font-style: normal;
}

.platform-expense-icon-sand { background: #eee8d9; color: #756540; }
.platform-expense-icon-green { background: #e3ece7; color: var(--platform-green); }

.platform-list-primary p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.platform-list-primary strong {
  overflow: hidden;
  color: var(--platform-ink);
  font-size: 8px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-list-primary small { color: #9a948c; font-size: 6px; }
.platform-ledger-list > article > strong { color: var(--platform-ink); font-size: 8px; font-weight: 500; }
.platform-ledger-list time { white-space: nowrap; }

.platform-ledger-list button,
.platform-vendor-actions button,
.platform-vendor-actions a {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid #dcd7cf;
  border-radius: 4px;
  background: white;
  color: #6f6961;
  font-size: 6px;
  white-space: nowrap;
}

.platform-ledger-list article.is-paid button {
  border-color: transparent;
  background: #e8f1ec;
  color: #37654f;
}

/* Vendors */
.platform-vendor-grid {
  display: grid;
  margin-bottom: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-vendor-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: white;
}

.platform-vendor-cover {
  position: relative;
  display: grid;
  min-height: 102px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .13), transparent 30%),
    linear-gradient(135deg, #243b34, #14241f);
  color: white;
}

.platform-vendor-cover::after {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
}

.platform-vendor-cover span { position: relative; z-index: 1; font-family: var(--serif); font-size: 25px; }
.platform-vendor-cover em { position: absolute; z-index: 1; right: 12px; bottom: 10px; color: rgba(255,255,255,.65); font-size: 6px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.platform-vendor-cover-flower { background: linear-gradient(135deg, #8e655f, #60303c); }
.platform-vendor-cover-music { background: linear-gradient(135deg, #8c794e, #4d452e); }

.platform-vendor-body { padding: 15px; }
.platform-vendor-title { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 8px; }
.platform-vendor-title > div { min-width: 0; }
.platform-vendor-title h3 { overflow: hidden; margin: 0 0 2px; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.platform-vendor-title p { margin: 0; color: #918b82; font-size: 7px; }

.platform-vendor-body dl { display: grid; margin: 14px 0; padding: 9px 0; border-block: 1px solid #ede9e2; gap: 6px; }
.platform-vendor-body dl > div { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 7px; }
.platform-vendor-body dt { color: #9a948c; font-size: 6px; }
.platform-vendor-body dd { overflow: hidden; margin: 0; color: #625d56; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.platform-vendor-actions { display: flex; justify-content: flex-end; gap: 6px; }
.platform-vendor-actions a { display: inline-flex; align-items: center; }
.platform-vendor-actions .is-primary { border-color: var(--platform-green); background: var(--platform-green); color: white; }

.platform-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Seating */
.venue-heading-summary { display: flex; align-items: flex-end; flex-direction: column; gap: 2px; }
.venue-heading-summary strong { color: var(--platform-green); font-size: 8px; font-weight: 600; }
.venue-heading-summary span { color: #969087; font-size: 6px; }

.platform-seating-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: white;
  gap: 16px;
}

.platform-seating-toolbar > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.platform-seating-toolbar p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.platform-seating-toolbar p strong { font-size: 8px; font-weight: 500; }
.platform-seating-toolbar p small { color: #98928a; font-size: 7px; }

.platform-seating-layout {
  display: grid;
  min-width: 0;
  margin-bottom: 10px;
  grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.platform-guest-pool {
  padding: 16px;
}

.platform-unseated-list {
  display: grid;
  gap: 7px;
}

.platform-unseated-list > article {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 10px;
  border: 1px solid #e8e4dc;
  border-radius: 6px;
  background: #fbfaf7;
  grid-template-columns: 34px minmax(0, 1fr) 85px 28px;
  gap: 7px;
}

.platform-unseated-list p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.platform-unseated-list strong { overflow: hidden; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.platform-unseated-list small { color: #969087; font-size: 6px; }
.platform-unseated-list select { width: 100%; height: 28px; padding: 0 4px; border: 1px solid #ddd8cf; border-radius: 4px; background: white; font-size: 6px; }
.platform-unseated-list button { display: grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 50%; background: var(--platform-green); color: white; font-size: 9px; }

.platform-seating-stage {
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #d9d3ca;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(66,70,59,.035) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(66,70,59,.035) 23px 24px),
    #ebe7de;
}

.platform-room-label {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #8e887e;
  font-size: 6px;
  letter-spacing: .12em;
  text-transform: uppercase;
  gap: 10px;
}

.platform-room-label i { height: 1px; flex: 1; background: rgba(63,67,58,.13); }
.platform-room-label-bottom { margin: 12px 0 0; }

.platform-table-board {
  display: grid;
  min-width: 580px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 10px;
}

.platform-table-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(65, 62, 54, .13);
  border-radius: 11px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 25px rgba(51,47,40,.055);
}

.platform-table-long { border-radius: 5px; }

.platform-table-top {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  gap: 8px;
}

.platform-table-top > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--platform-wine); color: white; font-family: var(--serif); font-size: 8px; }
.platform-table-top p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-table-top strong { font-family: var(--serif); font-size: 14px; font-weight: 400; }
.platform-table-top small { color: #989188; font-size: 6px; }
.platform-table-top em { padding: 3px 6px; border-radius: 999px; background: #e8f0eb; color: #3e6855; font-size: 5px; font-style: normal; }
.platform-table-top em.is-full { background: #eeeae4; color: #7c766e; }

.platform-seats { display: flex; min-width: 0; margin: 12px 0; flex-wrap: wrap; gap: 5px; }
.platform-seats span,
.platform-seats i { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #dfdad1; border-radius: 50%; background: #f5f1ea; color: #6f6961; font-size: 6px; font-style: normal; }
.platform-seats i { border-style: dashed; background: transparent; color: #aaa39a; }
.platform-table-card > button { padding: 0; border: 0; background: transparent; color: var(--platform-wine); font-size: 6px; }

.platform-inline-form {
  align-items: end;
  grid-template-columns: minmax(150px, 1.2fr) 1fr .8fr .8fr auto;
}

.platform-inline-form .platform-card-head { margin: 0; }
.platform-inline-form .platform-submit { min-width: 120px; }

/* Interactive venue designer */
.venue-editor {
  margin-bottom: 12px;
  overflow: visible;
  border: 1px solid #d8d2c8;
  border-radius: 10px;
  background: #f8f6f1;
  box-shadow: 0 18px 55px rgba(42, 38, 31, .08);
}

.venue-editor-toolbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-bottom: 1px solid #ddd7cd;
  background: rgba(255, 255, 255, .92);
  gap: 14px;
  border-radius: 10px 10px 0 0;
}

.venue-room-identity,
.venue-editor-actions,
.venue-room-identity p {
  display: flex;
  align-items: center;
}

.venue-room-identity { min-width: 0; gap: 9px; }
.venue-room-identity p { min-width: 0; margin: 0; flex-direction: column; align-items: flex-start; }
.venue-room-identity strong { overflow: hidden; max-width: 240px; font-family: var(--serif); font-size: 14px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.venue-room-identity small { color: #8c867d; font-size: 6px; }

.venue-room-icon {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  background: var(--platform-green);
  color: white;
  font-size: 13px;
}

.venue-editor-actions { justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.venue-editor-actions > button,
.venue-mode-switch button,
.venue-view-options button,
.venue-zoom-control {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #ded9d0;
  border-radius: 5px;
  background: #fbfaf7;
  color: #69635b;
  font-size: 6px;
  gap: 5px;
}

.venue-editor-actions > button:hover,
.venue-editor-actions > button.is-active,
.venue-mode-switch button:hover,
.venue-mode-switch button.is-active,
.venue-view-options button:hover,
.venue-view-options button.is-active { border-color: #a9b8af; background: #edf2ef; color: var(--platform-green); }
.venue-mode-switch { display: inline-flex; padding: 2px; border: 1px solid #d9d3ca; border-radius: 6px; background: #f5f2ec; }
.venue-mode-switch button { min-height: 25px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: #837c73; font-size: 6px; }
.venue-mode-switch button.is-active { background: white; box-shadow: 0 2px 7px rgba(45, 39, 33, .08); }
.venue-view-options { position: relative; }
.venue-view-options > summary { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #ded9d0; border-radius: 5px; background: #fbfaf7; color: #716b63; cursor: pointer; font-size: 9px; letter-spacing: .08em; list-style: none; }
.venue-view-options > summary::-webkit-details-marker { display: none; }
.venue-view-options[open] > summary { border-color: #a9b8af; background: #edf2ef; color: var(--platform-green); }
.venue-view-options > div { position: absolute; z-index: 60; top: calc(100% + 7px); right: 0; display: flex; min-width: 285px; padding: 7px; border: 1px solid #ddd7cd; border-radius: 7px; background: rgba(255,255,255,.98); box-shadow: 0 14px 35px rgba(42, 38, 31, .16); gap: 5px; }
.venue-view-options:not([open]) > div { display: none; }
.venue-zoom-control { padding: 0; overflow: hidden; }
.venue-zoom-control button { width: 27px; height: 28px; padding: 0; border: 0; background: transparent; color: #5f5a53; font-size: 11px; }
.venue-zoom-control button:hover { background: #eeeae3; }
.venue-zoom-control strong { min-width: 35px; color: #777168; font-size: 6px; font-weight: 500; text-align: center; }

.venue-editor-workspace {
  display: grid;
  min-width: 0;
  grid-template-columns: 150px minmax(510px, 1fr) 188px;
  background: #e7e3da;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
}
.venue-editor.is-seating-mode .venue-editor-workspace { grid-template-columns: 185px minmax(520px, 1fr) 190px; }

.venue-library,
.venue-inspector {
  min-width: 0;
  background: #fcfbf8;
}

.venue-library { padding: 14px 11px; border-right: 1px solid #d7d1c7; }
.venue-inspector { padding: 14px 12px; border-left: 1px solid #d7d1c7; }
.venue-layout-library { display: none; }
.venue-editor.is-layout-mode .venue-layout-library { display: block; }
.venue-editor.is-layout-mode .venue-guest-dock { display: none; }

.venue-panel-heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.venue-panel-heading > div { display: flex; min-width: 0; flex-direction: column; }
.venue-panel-heading p { margin: 0; font-family: var(--serif); font-size: 13px; }
.venue-panel-heading span { color: #989188; font-size: 6px; }
.venue-panel-heading b { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #eee9df; color: var(--platform-wine); font-size: 7px; font-weight: 500; }
.venue-panel-heading > button { width: 23px; height: 23px; padding: 0; border: 1px solid #e2ddd4; border-radius: 50%; background: transparent; color: #8b857c; }

.venue-palette { display: grid; gap: 5px; }
.venue-palette > button {
  display: grid;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  padding: 6px 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f5f2ec;
  color: #5d5850;
  cursor: grab;
  grid-template-columns: 26px minmax(0, 1fr) 12px;
  gap: 6px;
  text-align: left;
}

.venue-palette > button:hover { border-color: #d4cbbb; background: white; box-shadow: 0 8px 20px rgba(52, 45, 36, .07); transform: translateY(-1px); }
.venue-palette > button:active { cursor: grabbing; }
.venue-palette i { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 5px; background: white; color: var(--platform-wine); font-size: 10px; font-style: normal; box-shadow: inset 0 0 0 1px #e6e0d7; }
.venue-palette span { display: flex; min-width: 0; flex-direction: column; }
.venue-palette strong { overflow: hidden; font-size: 7px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-palette small { overflow: hidden; color: #a09a91; font-size: 5px; text-overflow: ellipsis; white-space: nowrap; }
.venue-palette em { color: #a39d93; font-size: 9px; font-style: normal; }

.venue-room-settings { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e6e1d9; }
.venue-room-settings summary { display: flex; align-items: center; justify-content: space-between; color: #68625b; cursor: pointer; font-size: 7px; list-style: none; }
.venue-room-settings summary::-webkit-details-marker { display: none; }
.venue-room-settings form { display: grid; margin-top: 10px; gap: 7px; }
.venue-room-settings form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.venue-room-settings label,
.venue-inspector-fields > label,
.venue-layout-properties > label,
.venue-property-grid label { display: flex; min-width: 0; flex-direction: column; color: #7f786f; font-size: 6px; gap: 4px; }
.venue-room-settings input,
.venue-inspector-fields input:not([type="range"]),
.venue-property-grid input { width: 100%; height: 29px; min-width: 0; padding: 0 7px; border: 1px solid #dfd9d0; border-radius: 4px; background: white; color: #4c4741; font-size: 7px; }
.venue-room-settings .platform-submit { min-height: 30px; font-size: 6px; }

.venue-guest-dock { display: grid; gap: 9px; }
.venue-guest-search { display: grid; height: 31px; align-items: center; padding: 0 8px; border: 1px solid #e1ddd5; border-radius: 6px; background: white; grid-template-columns: 18px minmax(0, 1fr); }
.venue-guest-search > span { color: #9a938b; font-size: 9px; }
.venue-guest-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #57524b; font-size: 6px; }
.venue-guest-search input::placeholder { color: #aaa39a; }
.venue-seating-guide { display: grid; min-width: 0; align-items: center; padding: 9px; border: 1px solid #d7e2dc; border-radius: 7px; background: #edf4f0; grid-template-columns: 24px minmax(0, 1fr); gap: 7px; }
.venue-seating-guide > span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--platform-green); color: white; font-family: var(--serif); font-size: 8px; }
.venue-seating-guide p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-seating-guide strong { overflow: hidden; color: #315849; font-size: 6px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-seating-guide small { margin-top: 2px; color: #72857b; font-size: 5px; line-height: 1.35; }
.venue-seating-guide.has-selection { border-color: #bda36c; background: #f6f0df; }
.venue-seating-guide.has-selection > span { background: #ad8645; }
.venue-seating-guide.has-selection strong { color: #735925; }
.venue-guest-filters { display: grid; padding: 2px; border: 1px solid #e1ddd5; border-radius: 6px; background: #eeebe5; grid-template-columns: 1fr 1fr; gap: 2px; }
.venue-guest-filters button { min-height: 25px; padding: 0 6px; border: 0; border-radius: 4px; background: transparent; color: #817a72; font-size: 6px; }
.venue-guest-filters button.is-active { background: white; color: var(--platform-green); box-shadow: 0 2px 6px rgba(45, 40, 33, .07); font-weight: 600; }
.venue-guest-filters b { display: inline-grid; min-width: 14px; height: 14px; place-items: center; margin-left: 2px; border-radius: 8px; background: #e8e2d8; color: var(--platform-wine); font-size: 5px; }
.venue-guest-roster { display: grid; max-height: 330px; padding-right: 2px; overflow-y: auto; gap: 5px; scrollbar-width: thin; }
.venue-guest-card { display: grid; min-width: 0; min-height: 43px; align-items: center; padding: 6px; border: 1px solid #e1ddd5; border-radius: 7px; outline: 0; background: white; box-shadow: 0 2px 6px rgba(44, 38, 32, .035); cursor: grab; grid-template-columns: 28px minmax(0, 1fr) auto 8px; gap: 6px; transition: border-color .16s, box-shadow .16s, transform .16s; }
.venue-guest-card:hover { border-color: #c5b9aa; transform: translateY(-1px); }
.venue-guest-card:focus-visible { outline: 2px solid rgba(117, 43, 58, .3); outline-offset: 2px; }
.venue-guest-card.is-selected { border-color: #b28d54; background: #fffaf0; box-shadow: 0 0 0 2px rgba(178, 141, 84, .16); }
.venue-guest-card .guest-avatar { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #efe8df; color: var(--platform-wine); font-size: 6px; }
.venue-guest-card p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-guest-card strong { overflow: hidden; font-size: 6px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-guest-card small { margin-top: 2px; color: #9a938a; font-size: 5px; }
.venue-guest-card em { overflow: hidden; max-width: 54px; padding: 3px 5px; border-radius: 8px; font-size: 5px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.venue-guest-card em.is-seated { background: #e4f0e9; color: #376650; }
.venue-guest-card em.is-unseated { background: #f5e8e8; color: #8b4b55; }
.venue-guest-card > i { color: #b0aaa1; font-size: 7px; font-style: normal; }
.venue-guest-roster-empty { min-height: 120px; align-content: center; justify-items: center; color: #938c83; text-align: center; }
.venue-guest-roster-empty:not([hidden]) { display: grid; }
.venue-guest-roster-empty > span { color: var(--platform-green); font-size: 16px; }
.venue-guest-roster-empty strong { margin-top: 4px; font-family: var(--serif); font-size: 11px; font-weight: 400; }
.venue-guest-roster-empty p { margin: 3px 0 0; font-size: 5px; }
.venue-unseat-zone { display: grid; min-width: 0; min-height: 44px; align-items: center; padding: 7px; border: 1px dashed #d1c9bd; border-radius: 7px; color: #8c857c; grid-template-columns: 25px minmax(0, 1fr); gap: 7px; transition: background .16s, border-color .16s; }
.venue-unseat-zone > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #eeeae3; color: var(--platform-wine); font-size: 8px; }
.venue-unseat-zone p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-unseat-zone strong { font-size: 6px; font-weight: 600; }
.venue-unseat-zone small { color: #a19a91; font-size: 5px; }
.venue-unseat-zone.is-drop-target { border-color: var(--platform-wine); background: #f5e9eb; color: var(--platform-wine); }

.venue-canvas-column { min-width: 0; padding: 12px; }
.venue-canvas-meta { display: flex; min-width: 0; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #817a71; font-size: 6px; gap: 10px; }
.venue-canvas-meta > span { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 999px; background: white; color: var(--platform-green); font-weight: 600; gap: 5px; }
.venue-canvas-meta > span b { font-size: inherit; font-weight: 600; white-space: nowrap; }
.venue-canvas-meta > span i { width: 5px; height: 5px; border-radius: 50%; background: #55a77c; box-shadow: 0 0 0 3px #dff0e7; }
.venue-canvas-meta p { overflow: hidden; margin: 0; flex: 1; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.venue-canvas-meta strong { color: #6a8b78; font-size: 6px; font-weight: 500; }
.venue-canvas-meta strong.is-saving { color: #ad8244; }

.venue-canvas-viewport {
  position: relative;
  min-width: 0;
  min-height: 510px;
  padding: 30px 24px 24px 34px;
  overflow: auto;
  border: 1px solid #cfc8bc;
  border-radius: 7px;
  background: #d8d2c8;
  box-shadow: inset 0 0 35px rgba(42, 38, 31, .07);
  overscroll-behavior: contain;
}

.venue-canvas {
  --venue-grid-x: 4%;
  --venue-grid-y: 6%;
  position: relative;
  width: max(100%, 700px);
  min-height: 450px;
  aspect-ratio: 14 / 9;
  border: 5px solid #363b35;
  border-radius: 3px;
  background: #f6f2e9;
  box-shadow: 0 24px 55px rgba(41, 36, 29, .18), inset 0 0 0 1px rgba(255,255,255,.7);
  transform: scale(var(--venue-zoom, 1));
  transform-origin: top left;
  transition: box-shadow .2s ease;
}

.venue-canvas.has-grid {
  background-image:
    linear-gradient(to right, rgba(67, 74, 65, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(67, 74, 65, .07) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255,255,255,.6), transparent 55%);
  background-size: var(--venue-grid-x) var(--venue-grid-y), var(--venue-grid-x) var(--venue-grid-y), 100% 100%;
}

.venue-canvas:focus-visible { outline: 3px solid rgba(117, 43, 58, .28); outline-offset: 3px; }
.venue-canvas.is-drop-ready { box-shadow: 0 0 0 5px rgba(73, 125, 99, .28), 0 24px 55px rgba(41, 36, 29, .18); }
.venue-layout-elements { position: absolute; inset: 0; }

.venue-dimension { position: absolute; z-index: 12; color: #756f66; font-size: 6px; pointer-events: none; }
.venue-dimension-width { top: -23px; right: 0; left: 0; height: 15px; border-top: 1px solid #8c857b; text-align: center; }
.venue-dimension-width::before,
.venue-dimension-width::after { position: absolute; top: -3px; width: 1px; height: 7px; background: #8c857b; content: ""; }
.venue-dimension-width::before { left: 0; }
.venue-dimension-width::after { right: 0; }
.venue-dimension-height { top: 0; bottom: 0; left: -25px; width: 15px; border-left: 1px solid #8c857b; }
.venue-dimension-height::before,
.venue-dimension-height::after { position: absolute; left: -3px; width: 7px; height: 1px; background: #8c857b; content: ""; }
.venue-dimension-height::before { top: 0; }
.venue-dimension-height::after { bottom: 0; }
.venue-dimension-height b { position: absolute; top: 50%; left: -2px; padding: 3px; background: #d8d2c8; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; }

.venue-element {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border: 1px solid rgba(48, 47, 42, .22);
  border-radius: 6px;
  background: rgba(255,255,255,.9);
  color: #48443e;
  box-shadow: 0 7px 18px rgba(52, 45, 37, .11);
  cursor: grab;
  touch-action: none;
  transform: rotate(var(--venue-rotation, 0deg));
  transform-origin: center;
  user-select: none;
}

.venue-element:active { cursor: grabbing; }
.venue-element.is-selected { z-index: 8; outline: 2px solid var(--platform-wine); outline-offset: 3px; box-shadow: 0 13px 30px rgba(75, 37, 45, .2); }
.venue-element.is-drop-target { outline: 3px solid #5f9e7c; outline-offset: 4px; }
.venue-element.is-type-table.can-seat-selected,
.venue-element.is-type-table.can-accept-guest { outline: 3px solid #5d9c79; outline-offset: 4px; box-shadow: 0 0 0 8px rgba(74, 139, 104, .1), 0 13px 30px rgba(42, 91, 67, .17); }
.venue-element.is-type-table.cannot-seat-selected,
.venue-element.is-type-table.cannot-accept-guest { opacity: .48; outline: 2px dashed #b56b75; outline-offset: 4px; filter: grayscale(.35); }
.venue-element.is-type-table.is-over-capacity { border-color: #b25361; background: #f7e8e9; }
.venue-element.is-type-table.is-full:not(.can-seat-selected) { border-color: #b8a587; }
.venue-editor.is-dragging-guest .venue-element:not(.is-type-table) { opacity: .28; pointer-events: none; }
.venue-editor.is-seating-mode .venue-element:not(.is-type-table) { cursor: default; }
.venue-editor.is-seating-mode .venue-element.is-type-table { cursor: pointer; }
.venue-element.is-locked { cursor: not-allowed; }
.venue-element.is-locked::after { position: absolute; top: 4px; right: 4px; color: #766e64; content: "⌑"; font-size: 7px; }
.venue-element.is-dragging { z-index: 15; transition: none; }

.venue-element-core { display: flex; width: 100%; height: 100%; min-width: 0; align-items: center; justify-content: center; padding: 5px; flex-direction: column; gap: 2px; text-align: center; }
.venue-element-core > i { color: currentColor; font-size: 13px; font-style: normal; opacity: .72; }
.venue-element-core strong { overflow: hidden; max-width: 94%; font-family: var(--serif); font-size: clamp(7px, 1vw, 11px); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.venue-element-core small { color: currentColor; font-size: 5px; opacity: .62; }
.venue-element.is-forest { border-color: #8ea398; background: #e5eee9; color: #234b3d; }
.venue-element.is-wine { border-color: #b999a0; background: #f2e4e7; color: #702c3d; }
.venue-element.is-sand { border-color: #d4bd86; background: #f3ead2; color: #80652c; }
.venue-element.is-stone { border-color: #c8c2b8; background: #ebe8e1; color: #655f57; }
.venue-element.is-rose { border-color: #d6b7b3; background: #f2e4e1; color: #8a554f; }

.venue-element.is-type-dance_floor { border: 2px dashed #af9461; border-radius: 2px; background: repeating-linear-gradient(45deg, #efe4c8 0 12px, #e7d9b8 12px 24px); }
.venue-element.is-type-stage { border-radius: 3px; background-image: linear-gradient(135deg, rgba(255,255,255,.14), transparent), repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, transparent 1px 14px); }
.venue-element.is-type-entrance { border: 0; border-bottom: 4px double currentColor; border-radius: 0; background: transparent; box-shadow: none; }
.venue-element.is-type-column { border-radius: 50%; }
.venue-element.is-type-plant { border-radius: 50% 50% 44% 44%; }
.venue-element.is-type-table { border-radius: 50%; background: #fffdf8; }
.venue-element.is-table-long { border-radius: 9px; }
.venue-element.is-table-square { border-radius: 7px; }

.venue-table-topline { display: flex; align-items: center; justify-content: center; gap: 4px; }
.venue-table-topline b { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: var(--platform-wine); color: white; font-family: var(--serif); font-size: 6px; font-weight: 400; }
.venue-table-topline strong { max-width: 95px; font-size: 9px; }
.venue-element-core .venue-table-occupancy { font-size: 5px; }
.venue-table-guest-stack { display: flex; min-height: 17px; align-items: center; justify-content: center; margin-top: 2px; }
.venue-table-guest-stack > span { display: grid; width: 16px; height: 16px; place-items: center; margin-left: -3px; border: 1px solid white; border-radius: 50%; background: var(--platform-green); color: white; box-shadow: 0 1px 4px rgba(34, 52, 43, .18); font-size: 5px; }
.venue-table-guest-stack > span:first-child { margin-left: 0; }
.venue-table-guest-stack > span.is-more { background: #eee4d9; color: var(--platform-wine); }
.venue-table-guest-stack > em { color: #9b9288; font-size: 5px; font-style: normal; }
.venue-chair { position: absolute; width: 8px; height: 8px; border: 1px solid #c9c1b4; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(52,45,37,.1); pointer-events: none; }
.venue-chair.is-occupied { border-color: #315b4c; background: #497764; box-shadow: 0 0 0 2px rgba(73, 119, 100, .12); }

.venue-resize-handle {
  position: absolute;
  z-index: 20;
  right: -6px;
  bottom: -6px;
  display: none;
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--platform-wine);
  box-shadow: 0 2px 7px rgba(58,35,39,.25);
  cursor: nwse-resize;
  touch-action: none;
}
.venue-element.is-selected:not(.is-locked) .venue-resize-handle { display: block; }

.venue-canvas-empty { position: absolute; top: 50%; left: 50%; min-width: 220px; transform: translate(-50%, -50%); }
.venue-canvas-footer { display: flex; align-items: center; margin-top: 8px; color: #777168; font-size: 6px; flex-wrap: wrap; gap: 10px; }
.venue-canvas-footer > span { display: inline-flex; align-items: center; gap: 4px; }
.venue-canvas-footer i { width: 6px; height: 6px; border-radius: 50%; background: #9e9589; }
.venue-canvas-footer i.is-table { background: var(--platform-wine); }
.venue-canvas-footer i.is-production { background: var(--platform-green); }
.venue-canvas-footer i.is-service { background: #b69651; }
.venue-canvas-footer p { margin: 0 0 0 auto; color: #918b82; }
.venue-canvas-footer kbd { display: inline-grid; min-width: 15px; height: 15px; place-items: center; margin-right: 2px; border: 1px solid #c9c2b7; border-radius: 3px; background: #f7f5ef; box-shadow: 0 1px 0 #bbb4aa; font-family: inherit; font-size: 6px; }
.venue-editor.is-seating-mode .venue-canvas-footer { display: none; }

.venue-inspector-empty { display: grid; min-height: 315px; align-content: center; justify-items: center; padding: 20px 10px; color: #918a81; text-align: center; }
.venue-inspector-empty > span { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 10px; border: 1px dashed #cfc7bc; border-radius: 50%; color: var(--platform-wine); font-size: 16px; }
.venue-inspector-empty strong { font-family: var(--serif); font-size: 14px; font-weight: 400; }
.venue-inspector-empty p { margin: 6px 0 0; font-size: 6px; line-height: 1.6; }
.venue-inspector-fields { display: grid; gap: 10px; }
.venue-layout-properties { display: grid; gap: 10px; }
.venue-editor.is-seating-mode .venue-layout-properties { display: none; }
.venue-editor.is-layout-mode .venue-table-seating { display: none; }
.venue-selection-name { display: flex; align-items: center; padding: 9px; border: 1px solid #e2ddd4; border-radius: 6px; background: #f6f3ed; gap: 8px; }
.venue-selection-name > i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 6px; background: white; color: var(--platform-wine); font-size: 12px; font-style: normal; }
.venue-selection-name p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-selection-name strong { overflow: hidden; font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-selection-name small { color: #9d968d; font-size: 5px; }
.venue-property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.venue-range > span { display: flex; justify-content: space-between; }
.venue-range input { width: 100%; accent-color: var(--platform-wine); }
.venue-colors > span { display: block; margin-bottom: 5px; color: #7f786f; font-size: 6px; }
.venue-colors > div { display: flex; gap: 7px; }
.venue-colors button { width: 21px; height: 21px; padding: 0; border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #d5cfc6; }
.venue-colors button.is-selected { box-shadow: 0 0 0 2px var(--platform-wine); }
.venue-colors .is-forest { background: #315b4c; }
.venue-colors .is-wine { background: #7b2e40; }
.venue-colors .is-sand { background: #c8ab66; }
.venue-colors .is-stone { background: #aaa297; }
.venue-colors .is-rose { background: #c89a94; }
.venue-lock { display: grid !important; align-items: center; padding: 8px; border: 1px solid #e3ded5; border-radius: 6px; background: #faf8f4; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; }
.venue-lock input { position: absolute; opacity: 0; }
.venue-lock > span { display: grid; width: 22px; height: 13px; padding: 2px; border-radius: 999px; background: #cbc5bc; transition: background .2s; }
.venue-lock > span::before { width: 9px; height: 9px; border-radius: 50%; background: white; content: ""; transition: transform .2s; }
.venue-lock input:checked + span { background: var(--platform-green); }
.venue-lock input:checked + span::before { transform: translateX(9px); }
.venue-lock p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-lock strong { color: #625d56; font-size: 7px; }
.venue-lock small { color: #9b958c; font-size: 5px; }
.venue-inspector-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.venue-inspector-actions button { min-height: 31px; border: 1px solid #dcd6cd; border-radius: 5px; background: white; color: #625c55; font-size: 6px; }
.venue-inspector-actions button:last-child { border-color: #e0c8cc; color: var(--platform-wine); }
.venue-inspector-fields.is-locked input:not([type="checkbox"]),
.venue-inspector-fields.is-locked .venue-colors,
.venue-inspector-fields.is-locked .venue-inspector-actions { opacity: .45; pointer-events: none; }

.venue-table-seating { display: grid; grid-column: 1 / -1; gap: 8px; }
.venue-table-seating[hidden] { display: none; }
.venue-table-seating-summary { display: grid; padding: 9px; border: 1px solid #dbe3dd; border-radius: 7px; background: #f0f5f2; gap: 7px; }
.venue-table-seating-summary p { display: flex; align-items: center; justify-content: space-between; margin: 0; gap: 8px; }
.venue-table-seating-summary strong { color: #315849; font-size: 7px; }
.venue-table-seating-summary small { color: #75847c; font-size: 5px; }
.venue-seat-meter { height: 4px; overflow: hidden; border-radius: 4px; background: #d9e1dc; }
.venue-seat-meter i { display: block; height: 100%; border-radius: inherit; background: #4e816a; transition: width .25s ease; }
.venue-seat-meter.is-full i { background: #ae8c4c; }
.venue-seat-meter.is-over i { background: #a94e5c; }
.venue-table-guests-heading { display: flex; align-items: center; justify-content: space-between; padding-top: 2px; }
.venue-table-guests-heading strong { font-size: 6px; font-weight: 600; }
.venue-table-guests-heading span { color: #999289; font-size: 5px; }
.venue-table-guests-list { display: grid; max-height: 190px; overflow-y: auto; gap: 5px; }
.venue-seated-guest { display: grid; min-width: 0; align-items: center; padding: 6px; border: 1px solid #e5e0d8; border-radius: 6px; background: #fdfcf9; cursor: grab; grid-template-columns: 25px minmax(0, 1fr) 22px; gap: 6px; }
.venue-seated-guest .guest-avatar { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #efe7dd; color: var(--platform-wine); font-size: 5px; }
.venue-seated-guest p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-seated-guest strong { overflow: hidden; font-size: 6px; text-overflow: ellipsis; white-space: nowrap; }
.venue-seated-guest small { margin-top: 1px; color: #9a938b; font-size: 5px; }
.venue-seated-guest button { width: 21px; height: 21px; padding: 0; border: 1px solid #e1cdd0; border-radius: 50%; background: white; color: var(--platform-wine); font-size: 9px; }
.venue-table-guests-empty { display: grid; min-height: 62px; align-items: center; padding: 9px; border: 1px dashed #dcd5cb; border-radius: 7px; color: #938c83; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; }
.venue-table-guests-empty > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #eee9e1; color: var(--platform-green); }
.venue-table-guests-empty p { display: flex; margin: 0; flex-direction: column; }
.venue-table-guests-empty strong { font-size: 6px; }
.venue-table-guests-empty small { margin-top: 2px; font-size: 5px; }
.venue-seat-quick-add { display: grid; padding-top: 8px; border-top: 1px solid #e8e4dd; gap: 5px; }
.venue-seat-quick-add > strong { font-size: 6px; font-weight: 600; }
.venue-seat-quick-add > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px; }
.venue-seat-quick-add select { width: 100%; min-width: 0; height: 29px; padding: 0 5px; border: 1px solid #ddd7ce; border-radius: 5px; background: white; font-size: 5px; }
.venue-seat-quick-add button { min-width: 55px; padding: 0 7px; border: 0; border-radius: 5px; background: var(--platform-green); color: white; font-size: 5px; }
.venue-seat-quick-add button:disabled { opacity: .45; }

.venue-seating-lower { display: grid; margin-bottom: 10px; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 10px; }
.venue-table-register { padding: 16px; }
.venue-table-register > div:last-child { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.venue-table-register-item { display: grid; min-width: 0; align-items: center; padding: 9px; border: 1px solid #e5e0d8; border-radius: 6px; background: #fbfaf7; grid-template-columns: 29px minmax(0, 1fr) auto; gap: 7px; }
.venue-table-register-item > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #ece5da; color: var(--platform-wine); font-family: var(--serif); font-size: 8px; }
.venue-table-register-item.is-long > span { border-radius: 5px; }
.venue-table-register-item p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-table-register-item strong { overflow: hidden; font-size: 7px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.venue-table-register-item small { color: #958f86; font-size: 6px; }
.venue-table-register-item button { padding: 4px 6px; border: 0; background: transparent; color: var(--platform-wine); font-size: 6px; }
.venue-table-form { margin-bottom: 10px; }
.venue-compact-tools { display: grid; margin-bottom: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.venue-compact-panel { overflow: hidden; border: 1px solid #e1ddd5; border-radius: 8px; background: white; }
.venue-compact-panel > summary { display: grid; min-height: 54px; align-items: center; padding: 10px 13px; cursor: pointer; grid-template-columns: minmax(0, 1fr) 24px 14px; gap: 8px; list-style: none; }
.venue-compact-panel > summary::-webkit-details-marker { display: none; }
.venue-compact-panel > summary > span { display: flex; min-width: 0; flex-direction: column; }
.venue-compact-panel > summary strong { font-size: 8px; font-weight: 600; }
.venue-compact-panel > summary small { margin-top: 2px; color: #999289; font-size: 6px; }
.venue-compact-panel > summary > b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f0ebe3; color: var(--platform-wine); font-size: 7px; font-weight: 500; }
.venue-compact-panel > summary > i { color: #989188; font-size: 8px; font-style: normal; transition: transform .2s; }
.venue-compact-panel[open] > summary { border-bottom: 1px solid #ebe7e0; background: #fcfbf8; }
.venue-compact-panel[open] > summary > i { transform: rotate(180deg); }
.venue-compact-panel .venue-table-register { padding: 12px; }
.venue-compact-panel .venue-table-register > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.venue-compact-panel .venue-table-form { margin: 0; padding: 13px; border: 0; border-radius: 0; box-shadow: none; }
.venue-compact-panel[open] { grid-column: 1 / -1; }
.venue-compact-panel:not([open]) > :not(summary) { display: none; }
.venue-compact-panel .venue-table-form { grid-template-columns: minmax(150px, 1.2fr) .65fr .85fr auto; }
.venue-compact-panel .venue-table-form .platform-safety-note { grid-column: 1 / -1; margin: 0; }
.venue-plan-notices { margin: -2px 0 10px; }
.venue-plan-notice { overflow: hidden; border: 1px solid #e4d7bf; border-radius: 8px; background: #fffdf7; }
.venue-plan-notice > summary { display: grid; min-height: 48px; align-items: center; padding: 8px 12px; cursor: pointer; grid-template-columns: 25px minmax(0, 1fr) 22px 12px; gap: 8px; list-style: none; }
.venue-plan-notice > summary::-webkit-details-marker { display: none; }
.venue-plan-notice > summary > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f1e6cf; color: #8d692c; font-size: 8px; }
.venue-plan-notice > summary p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-plan-notice > summary strong { font-size: 7px; font-weight: 600; }
.venue-plan-notice > summary small { margin-top: 1px; color: #9b9386; font-size: 5px; }
.venue-plan-notice > summary b { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; background: #eee4d1; color: #846326; font-size: 6px; }
.venue-plan-notice > summary i { color: #9d9589; font-size: 7px; font-style: normal; transition: transform .2s; }
.venue-plan-notice[open] > summary i { transform: rotate(180deg); }
.venue-plan-notice-list { display: grid; padding: 0 12px 10px; gap: 5px; }
.venue-plan-notice-list article { display: grid; align-items: center; padding: 7px 8px; border-radius: 6px; background: rgba(244,239,226,.58); grid-template-columns: 19px minmax(0, 1fr); gap: 7px; }
.venue-plan-notice-list article > span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #e9dfcb; color: #856727; }
.venue-plan-notice-list article.is-error > span { background: #f1dfe2; color: var(--platform-wine); }
.venue-plan-notice-list p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.venue-plan-notice-list strong { font-size: 6px; }
.venue-plan-notice-list small { color: #81796e; font-size: 6px; line-height: 1.4; }

/* Collaboration */
.platform-collaboration-layout {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: minmax(275px, .7fr) minmax(0, 1.3fr);
  gap: 10px;
}

.platform-members-card,
.platform-discussion-card,
.platform-activity-stream {
  padding: 18px;
}

.platform-member-list {
  display: grid;
}

.platform-member-list > article {
  display: grid;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  border-top: 1px solid #ede9e2;
  grid-template-columns: 34px minmax(0, 1fr) auto 24px;
  gap: 8px;
}

.platform-member-list p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-member-list strong { overflow: hidden; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.platform-member-list small { color: #969087; font-size: 6px; }
.platform-member-list em { color: #928c83; font-size: 6px; font-style: normal; }
.platform-member-list em.is-online { color: #39725c; }
.platform-member-list button { width: 24px; height: 24px; border: 0; background: transparent; color: #8e887f; font-size: 7px; }

.platform-comment-list {
  display: grid;
  max-height: 365px;
  padding-right: 3px;
  overflow-y: auto;
  gap: 9px;
}

.platform-comment-list > article {
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
}

.platform-comment-list > article > div { min-width: 0; padding: 10px 11px; border: 1px solid #e6e2da; border-radius: 2px 8px 8px 8px; background: #faf8f4; }
.platform-comment-list p { display: flex; justify-content: space-between; margin: 0 0 5px; gap: 10px; }
.platform-comment-list strong { font-size: 8px; font-weight: 500; }
.platform-comment-list time { color: #9a948c; font-size: 6px; }
.platform-comment-list div > span { display: block; color: #69645d; font-size: 8px; line-height: 1.6; }
.platform-comment-list footer { display: flex; align-items: center; margin-top: 7px; gap: 7px; }
.platform-comment-list footer button { padding: 0; border: 0; background: transparent; color: var(--platform-wine); font-size: 6px; }
.platform-comment-list footer em { padding: 2px 5px; border-radius: 10px; background: #eeeae3; color: #858077; font-size: 5px; font-style: normal; }

.platform-comment-form {
  display: grid;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #e7e3db;
  gap: 7px;
}

.platform-comment-form select,
.platform-comment-form textarea {
  width: 100%;
  border: 1px solid #ddd8cf;
  border-radius: 5px;
  outline: 0;
  background: #fdfcf9;
  font-size: 8px;
}

.platform-comment-form select { height: 32px; padding: 0 8px; }
.platform-comment-form textarea { min-height: 72px; padding: 9px; resize: vertical; }
.platform-comment-form > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.platform-comment-form small { color: #989188; font-size: 6px; }
.platform-comment-form .platform-submit { width: auto; min-width: 120px; }

.platform-activity-stream ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.platform-activity-stream li { display: grid; min-width: 0; align-items: center; padding: 10px; border: 1px solid #ece8e1; border-radius: 6px; background: #fbfaf7; grid-template-columns: 29px minmax(0,1fr); gap: 8px; }
.platform-activity-stream li > i { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #eee5df; color: var(--platform-wine); font-style: normal; }
.platform-activity-stream p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-activity-stream strong { overflow: hidden; font-size: 7px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.platform-activity-stream span { color: #99938b; font-size: 6px; }

/* Guest CRM */
.platform-crm-layout {
  display: grid;
  margin-bottom: 10px;
  grid-template-columns: minmax(0, 1.35fr) minmax(275px, .65fr);
  gap: 10px;
}

.platform-households-card,
.platform-question-builder,
.platform-reminder-studio {
  padding: 18px;
}

.platform-household-list {
  display: grid;
  gap: 8px;
}

.platform-household-list > article {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e6e2da;
  border-radius: 7px;
  background: #fdfcf9;
}

.platform-household-list > article.needs-attention {
  border-color: rgba(180, 155, 100, .44);
  background: #fcfaf3;
}

.platform-household-list header {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
}

.platform-household-list header > div { min-width: 0; }
.platform-household-list h3 { overflow: hidden; margin: 0 0 1px; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.platform-household-list header p { margin: 0; color: #969087; font-size: 6px; }

.platform-household-facts {
  display: flex;
  margin: 10px 0;
  padding: 8px 0;
  overflow-x: auto;
  border-block: 1px solid #eeeae3;
  gap: 12px;
  scrollbar-width: none;
}

.platform-household-facts::-webkit-scrollbar { display: none; }
.platform-household-facts span { flex: 0 0 auto; color: #777168; font-size: 7px; }
.platform-household-facts i { color: var(--platform-wine); font-style: normal; }

.platform-household-list footer { display: flex; min-width: 0; align-items: flex-end; justify-content: space-between; gap: 12px; }
.platform-household-list footer p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-household-list footer strong { color: #8d877e; font-size: 6px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; }
.platform-household-list footer span { overflow: hidden; color: #67625b; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.platform-household-list footer button { flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--platform-wine); font-size: 6px; }

.platform-crm-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-question-list,
.platform-reminder-history {
  display: grid;
  margin-bottom: 13px;
}

.platform-question-list > article,
.platform-reminder-history > article {
  display: grid;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  border-top: 1px solid #ece8e1;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 8px;
}

.platform-question-list > article > i,
.platform-reminder-history > article > i { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #eee7e1; color: var(--platform-wine); font-size: 7px; font-style: normal; }
.platform-question-list p,
.platform-reminder-history p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-question-list strong,
.platform-reminder-history strong { overflow: hidden; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.platform-question-list small,
.platform-reminder-history small { color: #989188; font-size: 6px; }

.platform-subform {
  display: grid;
  padding: 13px;
  border: 1px solid #e4dfd7;
  border-radius: 6px;
  background: #f8f6f1;
  gap: 9px;
}

.platform-reminder-preview {
  padding: 11px;
  border-left: 2px solid var(--platform-wine);
  border-radius: 0 5px 5px 0;
  background: white;
}

.platform-reminder-preview > span { color: var(--platform-wine); font-size: 5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.platform-reminder-preview p { display: flex; margin: 5px 0 0; flex-direction: column; }
.platform-reminder-preview strong { font-size: 8px; font-weight: 500; }
.platform-reminder-preview small { overflow: hidden; color: #8e887f; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }

/* Timeline */
.platform-timeline-clock {
  display: grid;
  min-width: 160px;
  padding: 10px 13px;
  border: 1px solid var(--platform-line);
  border-radius: 7px;
  background: white;
  grid-template-columns: 55px minmax(0,1fr);
  gap: 0 10px;
}

.platform-timeline-clock > span { color: #989188; font-size: 6px; grid-column: 1 / -1; }
.platform-timeline-clock strong { font-family: var(--serif); font-size: 22px; font-weight: 400; grid-row: 2 / span 2; }
.platform-timeline-clock small { align-self: center; color: #706a62; font-size: 6px; }

.platform-timeline-summary {
  display: grid;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid var(--platform-line);
  border-radius: 8px;
  background: white;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-timeline-summary > span {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 5px 12px;
  border-right: 1px solid #ece8e1;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 9px;
}

.platform-timeline-summary > span:last-child { border-right: 0; }
.platform-timeline-summary i { width: 7px; height: 7px; border-radius: 50%; background: var(--platform-wine); box-shadow: 0 0 0 4px rgba(113,52,67,.08); }
.platform-timeline-summary > span:nth-child(2) i { background: var(--platform-green); }
.platform-timeline-summary > span:nth-child(3) i { background: var(--platform-gold); }
.platform-timeline-summary > span:nth-child(4) i { background: #985165; }
.platform-timeline-summary p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-timeline-summary strong { overflow: hidden; font-family: var(--serif); font-size: 16px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.platform-timeline-summary small { color: #979188; font-size: 6px; }

.platform-timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(275px, .62fr);
  gap: 10px;
}

.platform-run-sheet {
  padding: 18px;
}

.platform-run-list {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-run-list::before {
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 65px;
  width: 1px;
  background: #dcd7ce;
  content: "";
}

.platform-run-list > li {
  position: relative;
  display: grid;
  min-width: 0;
  align-items: start;
  grid-template-columns: 52px 17px minmax(0, 1fr);
  gap: 7px;
}

.platform-run-list > li > time {
  padding-top: 13px;
  font-family: var(--serif);
  font-size: 14px;
}

.platform-run-list > li > i {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  margin: 17px 0 0 3px;
  border: 2px solid var(--platform-wine);
  border-radius: 50%;
  background: white;
}

.platform-run-list > li.is-complete > i { background: var(--platform-green); border-color: var(--platform-green); box-shadow: 0 0 0 4px rgba(35,68,59,.08); }
.platform-run-list > li.is-critical > i { background: var(--platform-wine); box-shadow: 0 0 0 5px rgba(113,52,67,.1); }

.platform-run-list > li > article {
  min-width: 0;
  margin-bottom: 9px;
  padding: 12px;
  border: 1px solid #e5e1d9;
  border-radius: 6px;
  background: #fdfcf9;
}

.platform-run-list > li.is-critical > article { border-left: 3px solid var(--platform-wine); background: #fcf8f7; }
.platform-run-list header { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 10px; }
.platform-run-list header > div { display: flex; min-width: 0; flex-direction: column; }
.platform-run-list header strong { font-size: 9px; font-weight: 500; }
.platform-run-list header span { color: #969087; font-size: 6px; }
.platform-run-list header em { flex: 0 0 auto; padding: 3px 6px; border-radius: 10px; background: #efebe5; color: #7f7970; font-size: 5px; font-style: normal; }
.platform-run-list article > p { margin: 8px 0; color: #706a62; font-size: 7px; line-height: 1.6; }
.platform-run-list footer { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; border-top: 1px solid #ece8e1; gap: 10px; }
.platform-owner { display: inline-flex; min-width: 0; align-items: center; color: #817b72; font-size: 6px; gap: 6px; }
.platform-owner b { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: #eae4dc; color: var(--platform-wine); font-size: 5px; font-weight: 500; }
.platform-run-list footer button { flex: 0 0 auto; min-height: 27px; padding: 0 8px; border: 1px solid #dcd7cf; border-radius: 4px; background: white; color: #6e6860; font-size: 6px; }
.platform-run-list li.is-complete footer button { border-color: transparent; background: #e8f0eb; color: #37654f; }

.platform-critical-card,
.platform-contact-strip {
  display: grid;
  align-items: start;
  padding: 15px;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 10px;
}

.platform-critical-card > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #f1e5e7; color: var(--platform-wine); font-family: var(--serif); }
.platform-critical-card > div { display: flex; min-width: 0; flex-direction: column; }
.platform-critical-card p { margin: 0 0 4px; color: var(--platform-wine); font-size: 6px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.platform-critical-card strong { font-family: var(--serif); font-size: 13px; font-weight: 400; }
.platform-critical-card small { margin-top: 4px; color: #827c73; font-size: 7px; line-height: 1.5; }
.platform-critical-card a { margin-top: 9px; color: var(--platform-wine); font-size: 6px; }

.platform-contact-strip { align-items: center; grid-template-columns: minmax(0,1fr) auto; }
.platform-contact-strip p { display: flex; min-width: 0; margin: 0; flex-direction: column; }
.platform-contact-strip span { color: #969087; font-size: 6px; }
.platform-contact-strip strong { overflow: hidden; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.platform-contact-strip small { color: #918b82; font-size: 6px; }
.platform-contact-strip button { min-height: 29px; padding: 0 8px; border: 1px solid #ddd8cf; border-radius: 4px; background: white; color: var(--platform-wine); font-size: 6px; }

.platform-couple-portrait {
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border: 4px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(56, 41, 30, .18);
}

.platform-alerts {
  display: grid;
  margin: -3px 0 13px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.platform-alert {
  position: relative;
  min-width: 0;
  padding: 11px 12px 11px 31px;
  border: 1px solid #e4d8bd;
  border-radius: 7px;
  background: linear-gradient(135deg, #fffdf8, #f7f1e5);
}

.platform-alert::before {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 11px;
  height: 11px;
  place-items: center;
  border-radius: 50%;
  background: #b08e48;
  color: white;
  content: "!";
  font-size: 6px;
  font-weight: 700;
}

.platform-alert strong,
.platform-alert p {
  display: block;
  margin: 0;
}

.platform-alert strong {
  color: #3d342c;
  font-size: 8px;
  font-weight: 600;
}

.platform-alert p {
  margin-top: 3px;
  color: #81766c;
  font-size: 7px;
  line-height: 1.45;
}

.platform-alert.is-error {
  border-color: #dfc3c5;
  background: linear-gradient(135deg, #fffafa, #f6e8e8);
}

.platform-alert.is-error::before {
  background: var(--platform-wine);
}

@media (max-width: 1100px) {
  .platform-metric-grid-budget,
  .platform-crm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-budget-grid,
  .platform-seating-layout,
  .platform-collaboration-layout,
  .platform-crm-layout,
  .platform-timeline-layout {
    grid-template-columns: 1fr;
  }

  .platform-vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-guest-pool {
    order: 2;
  }

  .platform-seating-stage {
    order: 1;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .platform-inline-form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .platform-inline-form .platform-card-head {
    grid-column: 1 / -1;
  }

  .platform-inline-form .platform-submit {
    width: auto;
  }

  .venue-editor-workspace {
    grid-template-columns: 135px minmax(585px, 1fr) 175px;
    overflow-x: auto;
  }

  .venue-editor.is-seating-mode .venue-editor-workspace {
    grid-template-columns: 175px minmax(540px, 1fr) 185px;
  }

  .venue-canvas-viewport {
    min-height: 470px;
  }

  .venue-seating-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .platform-demo-chip,
  .platform-presence,
  .platform-heading-stats,
  .platform-heading-control,
  .platform-heading-search,
  .platform-timeline-clock {
    align-self: flex-start;
  }

  .platform-heading-search {
    width: 100%;
  }

  .platform-metric-grid,
  .platform-metric-grid-budget,
  .platform-crm-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-metric {
    min-height: 102px;
    padding: 14px;
  }

  .platform-budget-visual {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 15px;
  }

  .platform-donut {
    width: 128px;
    height: 128px;
  }

  .platform-donut::before {
    width: 90px;
    height: 90px;
  }

  .platform-ledger-head {
    display: none;
  }

  .platform-ledger-list {
    display: grid;
    gap: 8px;
  }

  .platform-ledger-list > article {
    min-height: 0;
    padding: 11px;
    border: 1px solid #e7e3db;
    border-radius: 6px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
  }

  .platform-ledger-list .platform-list-primary {
    grid-column: 1 / -1;
  }

  .platform-ledger-list > article > time {
    text-align: right;
  }

  .platform-ledger-list > article > strong {
    align-self: center;
  }

  .platform-vendor-grid,
  .platform-form-grid,
  .platform-crm-tools {
    grid-template-columns: 1fr;
  }

  .platform-vendor-cover {
    min-height: 90px;
  }

  .platform-table-board {
    min-width: 540px;
  }

  .platform-inline-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-inline-form .platform-submit {
    width: 100%;
  }

  .platform-activity-stream ol {
    grid-template-columns: 1fr;
  }

  .platform-activity-stream strong {
    white-space: normal;
  }

  .platform-timeline-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-timeline-summary > span:nth-child(2) {
    border-right: 0;
  }

  .platform-timeline-summary > span:nth-child(-n+2) {
    border-bottom: 1px solid #ece8e1;
  }

  .venue-editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .venue-editor-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .venue-heading-summary {
    align-items: flex-start;
  }

  .venue-mode-switch {
    flex: 1 1 100%;
  }

  .venue-mode-switch button {
    flex: 1;
  }

  .venue-view-options {
    margin-left: auto;
  }

  .venue-editor-workspace {
    display: block;
    overflow: visible;
  }

  .venue-library,
  .venue-inspector {
    border: 0;
  }

  .venue-library {
    border-bottom: 1px solid #d7d1c7;
  }

  .venue-guest-roster {
    max-height: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .venue-palette {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .venue-palette > button {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .venue-palette em {
    display: none;
  }

  .venue-room-settings form {
    max-width: 430px;
  }

  .venue-canvas-column {
    padding: 10px;
  }

  .venue-canvas-viewport {
    min-height: 475px;
  }

  .venue-canvas {
    width: 720px;
  }

  .venue-inspector {
    border-top: 1px solid #d7d1c7;
  }

  .venue-inspector-empty {
    min-height: 130px;
  }

  .venue-inspector-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-selection-name,
  .venue-lock,
  .venue-inspector-actions {
    grid-column: 1 / -1;
  }

  .venue-table-register > div:last-child {
    grid-template-columns: 1fr;
  }

  .venue-compact-tools {
    grid-template-columns: 1fr;
  }

  .venue-compact-panel .venue-table-register > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .platform-demo-chip,
  .platform-presence,
  .platform-heading-stats {
    max-width: 100%;
  }

  .platform-heading-stats {
    width: 100%;
    justify-content: space-between;
  }

  .platform-metric-grid,
  .platform-metric-grid-budget,
  .platform-crm-metrics {
    gap: 8px;
  }

  .platform-metric {
    min-height: 96px;
    padding: 12px;
  }

  .platform-metric strong {
    font-size: 20px;
  }

  .platform-budget-chart,
  .platform-ledger,
  .platform-members-card,
  .platform-discussion-card,
  .platform-activity-stream,
  .platform-households-card,
  .platform-question-builder,
  .platform-reminder-studio,
  .platform-run-sheet,
  .platform-form {
    padding: 14px;
  }

  .platform-budget-visual {
    grid-template-columns: 1fr;
  }

  .platform-donut {
    margin-inline: auto;
  }

  .platform-form-row,
  .platform-inline-form {
    grid-template-columns: 1fr;
  }

  .platform-inline-form .platform-card-head {
    grid-column: auto;
  }

  .platform-seating-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-seating-toolbar .platform-search {
    width: 100%;
  }

  .platform-unseated-list > article {
    grid-template-columns: 32px minmax(0, 1fr) 27px;
  }

  .platform-unseated-list label {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .platform-unseated-list button {
    grid-column: 3;
    grid-row: 1;
  }

  .platform-table-board {
    min-width: 500px;
  }

  .venue-palette {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-guest-roster {
    grid-template-columns: 1fr;
  }

  .venue-editor-actions > button {
    flex: 1 1 auto;
  }

  .venue-canvas-meta p,
  .venue-canvas-footer p {
    display: none;
  }

  .venue-canvas-viewport {
    min-height: 430px;
    padding: 28px 18px 18px 31px;
  }

  .venue-canvas {
    width: 680px;
  }

  .venue-inspector-fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .venue-selection-name,
  .venue-lock,
  .venue-inspector-actions {
    grid-column: auto;
  }

  .platform-comment-form > div {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-comment-form .platform-submit {
    width: 100%;
  }

  .platform-member-list > article {
    grid-template-columns: 32px minmax(0, 1fr) auto 22px;
  }

  .platform-household-list header {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .platform-household-list header .platform-status {
    grid-column: 2;
    justify-self: start;
  }

  .platform-household-list footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-household-list footer span,
  .platform-question-list strong,
  .platform-reminder-history strong {
    white-space: normal;
  }

  .platform-timeline-summary {
    padding-inline: 6px;
  }

  .platform-timeline-summary > span {
    padding-inline: 8px;
  }

  .platform-run-list::before {
    left: 49px;
  }

  .platform-run-list > li {
    grid-template-columns: 37px 17px minmax(0, 1fr);
  }

  .platform-run-list > li > time {
    font-size: 12px;
  }

  .platform-run-list header,
  .platform-run-list footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-run-list footer button {
    align-self: stretch;
  }

  .platform-contact-strip {
    grid-template-columns: 1fr;
  }

  .platform-contact-strip button {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-view *,
  .platform-view *::before,
  .platform-view *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Accessible density: the editor stays compact without relying on 5–6 px labels. */
.venue-panel-heading span,
.venue-guest-card small,
.venue-guest-card em,
.venue-unseat-zone small,
.venue-element-core small,
.venue-element-core .venue-table-occupancy,
.venue-inspector-empty p,
.venue-table-seating-summary small { font-size: 8px; line-height: 1.35; }
.venue-guest-search input,
.venue-guest-filters button,
.venue-guest-card strong,
.venue-unseat-zone strong,
.venue-canvas-meta,
.venue-canvas-meta strong,
.venue-inspector-actions button { font-size: 9px; }
.venue-guest-card { min-height: 50px; }
.venue-guest-card .guest-avatar { font-size: 9px; }
.venue-accessibility-help { border: 1px solid #ddd7ce; border-radius: 6px; background: #faf8f3; }
.venue-accessibility-help summary { padding: 8px 9px; color: var(--platform-green); font-size: 9px; font-weight: 600; }
.venue-accessibility-help p { margin: 0; padding: 0 9px 9px; color: #726c64; font-size: 9px; line-height: 1.55; }
.venue-element:focus-visible,
.venue-guest-card:focus-visible,
.venue-accessibility-help summary:focus-visible { outline: 3px solid rgba(103, 44, 56, .55); outline-offset: 3px; }

@media (max-width: 760px) {
  .venue-accessibility-help summary,
  .venue-accessibility-help p,
  .venue-guest-search input,
  .venue-guest-filters button,
  .venue-guest-card strong,
  .venue-guest-card small,
  .venue-guest-card em { font-size: 10px; }
}
