:root {
  --host-gold: #9b7628;
  --host-charcoal: #2b241c;
  --host-cream: #fff9ed;
}

body {
  background:
    linear-gradient(180deg, rgba(155, 118, 40, .12), transparent 340px),
    var(--paper);
}

.host-home-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.host-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 42px;
  align-items: end;
  padding: 48px;
  border: 1px solid rgba(117, 84, 24, .42);
  border-top: 8px solid var(--host-gold);
  background: var(--host-charcoal);
  color: var(--host-cream);
  box-shadow: var(--shadow);
}

.host-home-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(4rem, 10vw, 7.6rem);
  line-height: .85;
  font-weight: 500;
}

.host-home-hero h1 span { color: #d9bb76; }
.host-home-hero p { color: rgba(255, 249, 237, .76); line-height: 1.65; }
.host-home-privacy { padding: 24px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.host-home-privacy strong { display: block; margin-bottom: 8px; color: #fff; }

.host-home-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin: 30px 0 70px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.46);
}

.manifest-import { display: grid; gap: 7px; font-weight: 800; }
.manifest-import small { color: var(--muted); font-weight: 500; }
.manifest-import input { max-width: 360px; }
.host-home-toolbar .form-status { flex-basis: 100%; margin: 0; }

.host-record-list { display: grid; gap: 18px; }
.host-record-list.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.host-empty { padding: 34px; border: 1px dashed var(--line); color: var(--muted); background: rgba(255,255,255,.32); }

.host-event-card,
.host-standalone-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(55, 38, 18, .07);
}

.host-event-card { border-top: 6px solid var(--host-gold); }
.host-event-head,
.host-standalone-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding: 26px 28px 20px;
}

.host-event-head h3,
.host-standalone-head h3 { margin: 4px 0 6px; font-size: 1.8rem; }
.host-meta { margin: 0; color: var(--muted); font-size: .9rem; }
.host-record-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 28px 26px; }
.host-record-actions a,
.host-record-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--crimson);
  background: transparent;
  color: var(--crimson-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.host-record-actions a.primary { background: var(--crimson); color: #fff; }
.host-record-actions button.danger { margin-left: auto; border-color: var(--line); color: var(--muted); }

.host-table-list { border-top: 1px solid var(--line); }
.host-table-heading { padding: 18px 28px 8px; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.host-table-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto; gap: 18px; align-items: center; padding: 15px 28px; border-top: 1px solid rgba(55,38,18,.09); }
.host-table-row strong { display: block; }
.host-table-row small { color: var(--muted); }
.host-table-row .host-record-actions { padding: 0; }
.host-no-tables { padding: 18px 28px 26px; color: var(--muted); }
.standalone-section { margin-top: 76px; }

@media (max-width: 780px) {
  .host-home-main { width: min(100% - 24px, 1180px); padding-top: 28px; }
  .host-home-hero { grid-template-columns: 1fr; padding: 30px 24px; }
  .host-record-list.compact { grid-template-columns: 1fr; }
  .host-event-head,
  .host-standalone-head { display: block; }
  .host-table-row { grid-template-columns: 1fr; }
  .host-record-actions button.danger { margin-left: 0; }
}
