:root{--font-sans:"Manrope","DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;--font-display:"Newsreader",Georgia,serif}
:root {
  --canvas: #f6f3ed;
  --canvas-raised: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f1eee7;
  --surface-hover: #f8f4ed;
  --text: #1d211d;
  --muted: #697068;
  --muted-2: #8a9189;
  --border: #dfddd6;
  --border-strong: #cbc8bf;
  --accent: #b95e2f;
  --accent-strong: #954721;
  --accent-soft: #f6e7dc;
  --green: #2f7655;
  --green-soft: #dff0e7;
  --gold: #a9700b;
  --gold-soft: #f8edcf;
  --red: #ad4845;
  --red-soft: #f7e2e1;
  --blue: #3f6f88;
  --blue-soft: #e1eef4;
  --shadow: 0 12px 35px rgba(44, 36, 26, 0.07);
}

html[data-theme="dark"] {
  --canvas: #101310;
  --canvas-raised: #141714;
  --surface: #191d19;
  --surface-2: #202520;
  --surface-hover: #242924;
  --text: #f1f1e9;
  --muted: #a2aaa1;
  --muted-2: #7f877f;
  --border: #303630;
  --border-strong: #424942;
  --accent: #dc7a43;
  --accent-strong: #ed9463;
  --accent-soft: #3b291e;
  --green: #6bb68e;
  --green-soft: #1c3528;
  --gold: #ddb75a;
  --gold-soft: #3b321c;
  --red: #e17b77;
  --red-soft: #3f2524;
  --blue: #79a8bd;
  --blue-soft: #203640;
  --shadow: 0 15px 45px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { background: var(--canvas); }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--text); font-family: var(--font-sans), sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 252px; display: flex; flex-direction: column; padding: 24px 18px 18px; background: var(--canvas-raised); border-right: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px 25px; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px 11px 11px 4px; background: var(--accent); color: #fff; font: 700 22px/1 var(--font-display), serif; box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 25%, transparent); }
.brand-name { font-size: 17px; font-weight: 750; letter-spacing: -0.035em; }.brand-name em { color: var(--accent); font-style: normal; }
.tenant-switcher { display: flex; gap: 10px; margin-bottom: 24px; padding: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--surface); cursor: pointer; }
.tenant-avatar { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--tenant-accent) 17%, var(--surface)); color: var(--tenant-accent); font-weight: 800; }
.tenant-copy { min-width: 0; display: flex; flex-direction: column; gap: 1px; }.tenant-copy small { color: var(--muted-2); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }.tenant-copy select { min-width: 0; max-width: 150px; padding: 0; border: 0; appearance: none; background: transparent; color: var(--text); font-size: 12px; font-weight: 750; cursor: pointer; }.tenant-copy > span { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.primary-nav { display: flex; flex-direction: column; gap: 5px; }.primary-nav a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 0 13px; border-radius: 11px; color: var(--muted); font-weight: 650; transition: .18s ease; }.primary-nav a:hover { background: var(--surface-hover); color: var(--text); }.primary-nav a.active { background: var(--accent-soft); color: var(--accent-strong); }
.sidebar-footer { margin-top: auto; }.demo-card { margin-bottom: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 11px; }.demo-card strong { margin-left: 4px; color: var(--text); }.demo-card button { display: block; margin: 8px 0 0 16px; padding: 0; border: 0; background: none; color: var(--accent); font-size: 10px; cursor: pointer; }.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.operator { display: flex; align-items: center; gap: 9px; padding-top: 14px; border-top: 1px solid var(--border); }.operator-avatar { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); font-size: 10px; font-weight: 800; }.operator > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }.operator strong { font-size: 11px; }.operator small { color: var(--muted); font-size: 9px; }
.icon-button { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; }.icon-button:hover { background: var(--surface-hover); }
.main-content { min-height: 100vh; margin-left: 252px; padding: 34px clamp(24px, 3vw, 48px) 60px; }
.compact-tenant-bar { display: none; }
.page-header { display: flex; min-height: 90px; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 auto 28px; max-width: 1440px; }.eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }.page-header h1 { margin: 4px 0 4px; font: 650 clamp(29px, 3vw, 38px)/1.05 var(--font-display), serif; letter-spacing: -.025em; }.page-header p { margin: 0; color: var(--muted); font-size: 13px; }.page-actions { display: flex; align-items: center; gap: 8px; padding-top: 8px; }.mobile-theme { display: none; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 750; cursor: pointer; transition: .18s ease; }.button:hover { background: var(--accent-strong); transform: translateY(-1px); }.button-secondary { border-color: var(--border); background: var(--surface); color: var(--text); }.button-secondary:hover { background: var(--surface-hover); }.button-ghost { border-color: transparent; background: transparent; color: var(--accent); }.button-danger { background: var(--red); }.button-small { min-height: 34px; padding: 0 11px; font-size: 11px; }.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.content-width { max-width: 1440px; margin: 0 auto; }
.card { border: 1px solid var(--border); border-radius: 15px; background: var(--surface); box-shadow: var(--shadow); }.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 15px; }.card-header h2, .card-header h3 { margin: 0; font-size: 14px; letter-spacing: -.01em; }.card-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }.card-body { padding: 0 22px 22px; }
.status { display: inline-flex; min-height: 23px; align-items: center; gap: 5px; padding: 0 8px; border-radius: 999px; font-size: 9px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }.status-neutral { background: var(--surface-2); color: var(--muted); }.status-success { background: var(--green-soft); color: var(--green); }.status-warning { background: var(--gold-soft); color: var(--gold); }.status-danger { background: var(--red-soft); color: var(--red); }.status-info { background: var(--blue-soft); color: var(--blue); }
.mobile-nav { display: none; }
.empty-state { display: grid; place-items: center; min-height: 220px; padding: 32px; text-align: center; }.empty-icon { display: grid; width: 44px; height: 44px; margin-bottom: 12px; place-items: center; border-radius: 13px; background: var(--surface-2); color: var(--muted); }.empty-state p { max-width: 320px; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }.field label, .field > span:first-child { font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }.field input, .field select, .field textarea, .search-input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--canvas-raised); color: var(--text); outline: none; }.field textarea { min-height: 100px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }.field-error { color: var(--red); font-size: 10px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.field-span-2 { grid-column: span 2; }.checkbox-row { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 11px; }.checkbox-row input { margin-top: 2px; accent-color: var(--accent); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }.search-wrap { position: relative; flex: 1; min-width: 240px; max-width: 420px; }.search-wrap svg { position: absolute; top: 50%; left: 13px; color: var(--muted); transform: translateY(-50%); }.search-input { padding-left: 39px; background: var(--surface); }.segments { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); }.segment { min-height: 32px; padding: 0 10px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; }.segment.active { background: var(--surface-2); color: var(--text); }
.progress-track { height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }.progress-fill { height: 100%; border-radius: inherit; background: var(--green); }.progress-label { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 10px; }.tabular { font-variant-numeric: tabular-nums; }
.demo-banner { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; padding: 10px 13px; border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: 10px; background: color-mix(in srgb, var(--accent-soft) 58%, var(--surface)); color: var(--muted); font-size: 10px; }.demo-banner svg { color: var(--accent); }.demo-banner strong { color: var(--text); }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }.metric-card { position: relative; display: grid; min-height: 142px; padding: 17px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); transition: .18s ease; }.metric-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }.metric-icon, .activity-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; }.metric-copper { background: var(--accent-soft); color: var(--accent); }.metric-green { background: var(--green-soft); color: var(--green); }.metric-blue { background: var(--blue-soft); color: var(--blue); }.metric-gold { background: var(--gold-soft); color: var(--gold); }.metric-red { background: var(--red-soft); color: var(--red); }.metric-value { margin-top: 14px; font: 650 27px/1 var(--font-display), serif; }.metric-label { margin-top: 5px; font-size: 10px; font-weight: 800; }.metric-card small { margin-top: 2px; color: var(--muted); font-size: 9px; }.metric-arrow { position: absolute; top: 20px; right: 17px; color: var(--muted-2); }
.pulse-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); gap: 16px; }.activity-card, .attention-card { min-height: 335px; }.activity-list { padding: 0 22px 18px; }.activity-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 58px; border-top: 1px solid var(--border); }.activity-row > span:nth-child(2), .regular-list > div > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }.activity-row strong { font-size: 11px; }.activity-row small, .activity-row time { color: var(--muted); font-size: 9px; }.attention-count { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 10px; font-weight: 800; }.attention-list { padding: 0 16px 16px; }.attention-list > a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 65px; padding: 8px; border-top: 1px solid var(--border); border-radius: 9px; }.attention-list > a:hover { background: var(--surface-hover); }.attention-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: var(--gold-soft); color: var(--gold); }.attention-list a > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }.attention-list strong { font-size: 10px; }.attention-list small { color: var(--muted); font-size: 9px; }.attention-list > a > svg { color: var(--muted-2); }.queue-clear { display: grid; min-height: 220px; place-items: center; align-content: center; color: var(--green); }.queue-clear strong { margin-top: 8px; color: var(--text); }.queue-clear small { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 10px; font-weight: 750; }.event-preview-list { padding: 0 22px 16px; }.event-preview { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 77px; border-top: 1px solid var(--border); }.date-tile { display: grid; width: 40px; height: 43px; place-items: center; align-content: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }.date-tile strong { font: 700 17px/1 var(--font-display), serif; }.date-tile small { font-size: 8px; font-weight: 800; text-transform: uppercase; }.event-preview-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.event-preview-copy > strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.event-preview-copy small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 9px; }.rsvp-count { display: flex; flex-direction: column; align-items: flex-end; }.rsvp-count strong { font: 650 17px/1 var(--font-display), serif; }.rsvp-count small { color: var(--muted); font-size: 8px; }.regular-list { padding: 0 22px 16px; }.regular-list > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 63px; align-items: center; gap: 10px; border-top: 1px solid var(--border); }.guest-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 800; }.regular-list strong { font-size: 10px; }.regular-list small { color: var(--muted); font-size: 9px; }.visit-pill { padding: 5px 7px; border-radius: 7px; background: var(--green-soft); color: var(--green); font-size: 8px; font-weight: 800; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; clip: rect(0,0,0,0); white-space: nowrap; }
.guest-summary { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); margin-bottom: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }.guest-summary > div { display: flex; min-height: 90px; align-items: center; gap: 11px; padding: 18px; border-left: 1px solid var(--border); }.guest-summary > div:first-child { border-left: 0; }.guest-summary > div:not(:first-child) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }.summary-icon { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }.guest-summary div > span:not(.summary-icon) { display: flex; flex-direction: column; }.guest-summary small { color: var(--muted); font-size: 9px; }.guest-summary strong { font: 650 23px/1.1 var(--font-display), serif; }.guest-summary > div > span:last-child { color: var(--muted); font-size: 8px; }.segment span { margin-left: 3px; color: var(--muted-2); }
.data-card { overflow: hidden; box-shadow: none; }.guest-table-wrap { overflow-x: auto; }.data-table { width: 100%; border-collapse: collapse; text-align: left; }.data-table th { height: 43px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--canvas-raised); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.data-table td { height: 70px; padding: 10px 16px; border-bottom: 1px solid var(--border); }.data-table tr:last-child td { border-bottom: 0; }.data-table tbody tr { cursor: pointer; transition: .15s ease; }.data-table tbody tr:hover { background: var(--surface-hover); }.guest-identity { display: flex; min-width: 175px; align-items: center; gap: 10px; }.guest-avatar-large { width: 36px; height: 36px; color: var(--accent); background: var(--accent-soft); }.guest-identity > span:last-child, .contact-cell, .last-visit { display: flex; flex-direction: column; }.guest-identity strong, .contact-cell strong, .last-visit strong { font-size: 10px; }.guest-identity small, .contact-cell small, .last-visit small { color: var(--muted); font-size: 8px; }.visit-number { font: 650 18px/1 var(--font-display), serif; }.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }.tag-list > span { padding: 4px 7px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 8px; font-weight: 700; }
.drawer-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(7, 10, 8, .38); backdrop-filter: blur(3px); }.detail-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(470px, 100%); overflow-y: auto; padding: 30px; background: var(--surface); box-shadow: -20px 0 60px rgba(0,0,0,.18); animation: drawer-in .2s ease-out; }.drawer-close { position: absolute; top: 18px; right: 18px; }.profile-hero { display: flex; align-items: center; gap: 15px; padding: 40px 0 26px; }.profile-avatar { width: 56px; height: 56px; background: var(--accent-soft); color: var(--accent); font-size: 15px; }.profile-hero > span:last-child { display: flex; flex-direction: column; }.profile-hero small { color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.profile-hero h2 { margin: 2px 0 3px; font: 650 26px/1 var(--font-display), serif; }.profile-hero p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 12px; background: var(--canvas-raised); }.profile-stats > div { display: flex; min-height: 72px; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--border); text-align: center; }.profile-stats > div:first-child { border-left: 0; }.profile-stats strong { font: 650 17px/1 var(--font-display), serif; }.profile-stats small { margin-top: 4px; color: var(--muted); font-size: 8px; }.profile-section { padding: 24px 0; border-bottom: 1px solid var(--border); }.profile-section h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 13px; font-size: 11px; }.visit-history > div { position: relative; display: flex; min-height: 50px; gap: 13px; padding-left: 3px; }.visit-history > div:not(:last-child)::before { position: absolute; top: 16px; bottom: 0; left: 6px; width: 1px; background: var(--border); content: ""; }.history-dot { z-index: 1; width: 8px; height: 8px; margin-top: 5px; border: 2px solid var(--surface); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }.visit-history div > span:last-child { display: flex; flex-direction: column; }.visit-history strong { font-size: 10px; }.visit-history small { color: var(--muted); font-size: 8px; }.profile-consent { padding-top: 20px; }
.checkin-page { min-height: 100vh; padding: 22px; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--tenant-accent) 11%, transparent), transparent 42%), var(--canvas); }.checkin-header { display: grid; max-width: 1040px; margin: 0 auto; grid-template-columns: 1fr auto 1fr; align-items: center; }.checkin-header > .status { justify-self: end; }.checkin-brand { display: flex; align-items: center; gap: 9px; }.checkin-brand > span:last-child { display: flex; flex-direction: column; }.checkin-brand strong { font-size: 11px; }.checkin-brand small { color: var(--muted); font-size: 8px; }.checkin-panel { width: min(570px, 100%); margin: 9vh auto 0; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: 0 25px 70px rgba(28, 24, 18, .12); }.checkin-intro, .checkin-success { display: flex; flex-direction: column; align-items: center; text-align: center; }.checkin-icon, .success-ring { display: grid; width: 52px; height: 52px; margin-bottom: 14px; place-items: center; border-radius: 15px; background: var(--accent-soft); color: var(--accent); }.checkin-intro h1, .checkin-success h1 { margin: 5px 0; font: 650 32px/1.1 var(--font-display), serif; }.checkin-intro p, .checkin-success p { max-width: 390px; margin: 0 0 26px; color: var(--muted); font-size: 11px; line-height: 1.6; }.field em { color: var(--muted); font-size: 8px; font-style: normal; font-weight: 500; text-transform: none; }.checkin-consent { margin: 18px 0; }.checkin-submit { width: 100%; min-height: 48px; }.success-ring { width: 68px; height: 68px; border-radius: 50%; background: var(--green-soft); color: var(--green); }.checkin-success .button { width: 100%; margin-top: 7px; }
@keyframes drawer-in { from { transform: translateX(100%); } }
.event-overview { display: grid; grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }.event-overview > div { display: flex; min-height: 90px; align-items: center; gap: 11px; padding: 18px; border-left: 1px solid var(--border); }.event-overview > div:first-child { border-left: 0; }.event-overview > div:not(:first-child) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }.event-overview > div > span:not(.summary-icon) { display: flex; flex-direction: column; }.event-overview small { color: var(--muted); font-size: 9px; }.event-overview strong { font: 650 23px/1.1 var(--font-display), serif; }.event-overview > div > span:last-child { color: var(--muted); font-size: 8px; }.event-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.event-card { padding: 19px; box-shadow: none; }.event-card-top { display: flex; align-items: flex-start; justify-content: space-between; }.event-date { display: grid; width: 45px; height: 48px; place-items: center; align-content: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }.event-date strong { font: 700 19px/1 var(--font-display), serif; }.event-date small { font-size: 8px; font-weight: 800; text-transform: uppercase; }.event-type { display: block; margin: 15px 0 3px; color: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.event-card h2 { overflow: hidden; margin: 0; font: 650 18px/1.15 var(--font-display), serif; text-overflow: ellipsis; white-space: nowrap; }.event-card > p { display: -webkit-box; min-height: 35px; overflow: hidden; margin: 7px 0 12px; color: var(--muted); font-size: 9px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.event-time { display: flex; align-items: center; gap: 6px; padding: 9px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 9px; }.event-capacity { margin: 8px 0 16px; }.event-capacity .progress-label span { display: inline-flex; align-items: center; gap: 4px; }.event-manage { width: 100%; }.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(7,10,8,.48); backdrop-filter: blur(3px); }.modal { width: min(620px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 25px 80px rgba(0,0,0,.25); }.modal-header { display: flex; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--border); }.modal-header h2 { margin: 4px 0 2px; font: 650 25px/1 var(--font-display), serif; }.modal-header p { margin: 0; color: var(--muted); font-size: 10px; }.modal-body { padding: 24px; }.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 17px 24px; border-top: 1px solid var(--border); background: var(--canvas-raised); }.event-detail-hero { padding: 52px 0 25px; }.event-detail-hero h2 { margin: 5px 0; font: 650 28px/1.1 var(--font-display), serif; }.event-detail-hero p { margin: 0; color: var(--muted); font-size: 10px; }.attendee-list > div { display: grid; grid-template-columns: 34px 1fr auto; min-height: 51px; align-items: center; gap: 9px; border-top: 1px solid var(--border); }.attendee-list > div > span:nth-child(2) { display: flex; flex-direction: column; }.attendee-list strong { font-size: 10px; }.attendee-list small { color: var(--muted); font-size: 8px; }.attendee-list svg { color: var(--green); }.rsvp-buttons { display: flex; flex-wrap: wrap; gap: 7px; }

.toast { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 11px 13px; border: 1px solid color-mix(in srgb, var(--green) 25%, var(--border)); border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 10px; font-weight: 650; }.toast button { margin-left: auto; padding: 0; border: 0; background: none; color: inherit; font-size: 9px; cursor: pointer; text-decoration: underline; }
.toast-error { border-color: color-mix(in srgb, var(--red) 28%, var(--border)); background: var(--red-soft); color: var(--red); }
.booking-summary { display: grid; grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }.booking-summary > div { display: flex; min-height: 90px; align-items: center; gap: 11px; padding: 18px; border-left: 1px solid var(--border); }.booking-summary > div:first-child { border-left: 0; }.booking-summary > div:not(:first-child) { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }.booking-summary > div > span:not(.summary-icon) { display: flex; flex-direction: column; }.booking-summary small { color: var(--muted); font-size: 9px; }.booking-summary strong { font: 650 23px/1.1 var(--font-display), serif; }.booking-summary > div > span:last-child { color: var(--muted); font-size: 8px; }.booking-tabs { overflow-x: auto; }.booking-list { display: flex; flex-direction: column; gap: 11px; }.booking-card { display: grid; grid-template-columns: 75px minmax(0, 1fr) 180px; overflow: hidden; box-shadow: none; }.booking-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); background: var(--canvas-raised); }.booking-date strong { font: 650 24px/1 var(--font-display), serif; }.booking-date small { color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }.booking-date span { margin-top: 6px; color: var(--muted); font-size: 8px; }.booking-main { padding: 17px 20px; }.booking-title { display: flex; justify-content: space-between; gap: 12px; }.booking-title span { display: flex; flex-direction: column; }.booking-title small { color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }.booking-title h2 { margin: 2px 0 8px; font: 650 18px/1 var(--font-display), serif; }.booking-facts { display: flex; flex-wrap: wrap; gap: 13px; color: var(--muted); font-size: 8px; }.booking-facts span { display: inline-flex; align-items: center; gap: 4px; }.booking-main p { margin: 10px 0 0; color: var(--muted); font-size: 9px; }.booking-deposit { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 16px; border-left: 1px solid var(--border); background: var(--canvas-raised); }.booking-deposit > small { color: var(--muted); font-size: 8px; text-transform: uppercase; }.booking-deposit > strong { font: 650 20px/1 var(--font-display), serif; }.booking-actions { display: flex; flex-direction: column; align-items: stretch; gap: 5px; width: 100%; margin-top: 5px; }.booking-actions .button { width: 100%; }
.review-summary { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); margin-bottom: 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }.review-summary > div { display: flex; min-height: 90px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 18px; border-left: 1px solid var(--border); }.review-summary > div:first-child { border-left: 0; }.review-summary small { color: var(--muted); font-size: 9px; }.review-summary > div > strong { font: 650 23px/1.1 var(--font-display), serif; }.review-summary > div > span:last-child { color: var(--muted); font-size: 8px; }.rating-orb { display: flex; align-items: center; gap: 12px; }.rating-orb > strong { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font: 650 20px/1 var(--font-display), serif; }.rating-orb > span { display: flex; align-items: center; gap: 4px; color: var(--gold); font-size: 9px; font-weight: 750; }.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.review-list > .card:only-child { grid-column: span 2; }.review-card { display: flex; flex-direction: column; overflow: hidden; padding: 20px; box-shadow: none; }.review-source { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 9px; }.platform { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #fff; font-weight: 850; }.platform-google { background: #4285f4; }.platform-yelp { background: #d32323; }.review-source > span:nth-child(2) { display: flex; flex-direction: column; }.review-source strong { font-size: 10px; }.review-source small { color: var(--muted); font-size: 8px; }.stars { display: flex; color: var(--gold); }.review-card blockquote { min-height: 50px; margin: 18px 0; color: var(--text); font: 500 14px/1.5 var(--font-display), serif; }.response-editor { padding: 13px; border: 1px solid var(--border); border-radius: 11px; background: var(--canvas-raised); }.response-editor > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }.response-editor > div > span:first-child { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 8px; font-weight: 800; text-transform: uppercase; }.response-editor textarea { width: 100%; min-height: 100px; padding: 0; border: 0; resize: vertical; background: transparent; color: var(--text); font-size: 10px; line-height: 1.6; outline: none; }.review-actions { display: flex; min-height: 57px; align-items: flex-end; justify-content: flex-end; gap: 7px; }.posted-note { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 750; }

@media (max-width: 1023px) {
  .sidebar { width: 78px; padding: 22px 12px; }.brand { justify-content: center; padding-inline: 0; }.brand-name, .tenant-copy, .primary-nav span, .sidebar-footer { display: none; }.tenant-switcher { justify-content: center; padding: 9px; }.primary-nav a { justify-content: center; padding: 0; }.main-content { margin-left: 78px; }.metric-grid { grid-template-columns: repeat(3, 1fr); }.pulse-grid { grid-template-columns: 1fr 1fr; }.guest-summary { grid-template-columns: 1fr 1fr; }.guest-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }.guest-summary > div:nth-child(4) { border-top: 1px solid var(--border); }.event-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .sidebar { display: none; }.main-content { margin-left: 0; padding: 22px 16px calc(92px + env(safe-area-inset-bottom)); }.page-header { min-height: auto; align-items: center; margin-bottom: 22px; }.page-header h1 { font-size: 27px; }.page-header p { display: none; }.page-actions { padding-top: 0; }.page-actions .button { width: 42px; padding: 0; font-size: 0; }.mobile-theme { display: inline; }.mobile-nav { position: fixed; z-index: 30; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 10px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 3px; border: 1px solid var(--border); border-radius: 17px; background: color-mix(in srgb, var(--surface) 93%, transparent); box-shadow: 0 15px 40px rgba(0,0,0,.18); backdrop-filter: blur(18px); }.mobile-nav a { display: flex; min-width: 0; min-height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 10px; color: var(--muted); font-size: 8px; font-weight: 700; }.mobile-nav a.active { background: var(--accent-soft); color: var(--accent); }.form-grid { grid-template-columns: 1fr; }.field-span-2 { grid-column: auto; }.card-header, .card-body { padding-inline: 16px; }.toolbar { align-items: stretch; }.search-wrap { max-width: none; }.segments { width: 100%; overflow-x: auto; }.segment { flex: 1; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 130px; }.metric-grid .metric-card:last-child { grid-column: span 2; }.pulse-grid { grid-template-columns: 1fr; }.activity-card, .attention-card { min-height: auto; }.demo-banner { align-items: flex-start; }.guest-summary { grid-template-columns: 1fr 1fr; }.guest-summary > div { min-height: 75px; padding: 13px; }.guest-summary > div:first-child { grid-column: span 2; }.guest-summary > div:nth-child(2) { border-left: 0; border-top: 1px solid var(--border); }.guest-summary > div:nth-child(3) { border-left: 1px solid var(--border); }.guest-summary > div:nth-child(4) { border-left: 0; }.data-table thead { display: none; }.data-table, .data-table tbody { display: block; }.data-table tr { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 14px; border-bottom: 1px solid var(--border); }.data-table td { display: block; height: auto; padding: 6px 4px; border: 0; }.data-table td::before { display: block; margin-bottom: 3px; color: var(--muted-2); content: attr(data-label); font-size: 7px; font-weight: 800; text-transform: uppercase; }.data-table td:first-child { grid-column: span 2; }.data-table td:last-child { position: absolute; top: 24px; right: 14px; }.detail-drawer { padding: 22px; }.checkin-page { padding: 14px; }.checkin-header { grid-template-columns: auto 1fr; gap: 12px; }.checkin-brand { justify-self: start; }.checkin-header > .status { display: none; }.checkin-panel { margin-top: 5vh; }.checkin-intro h1 { font-size: 28px; }.event-overview { grid-template-columns: 1fr 1fr; }.event-overview > div:first-child { grid-column: span 2; }.event-overview > div:nth-child(2) { border-left: 0; border-top: 1px solid var(--border); }.event-overview > div:nth-child(3) { border-top: 1px solid var(--border); }.event-card-grid { grid-template-columns: 1fr; }.modal-backdrop { align-items: end; padding: 0; }.modal { max-height: 92vh; border-radius: 18px 18px 0 0; }.modal-footer .button { flex: 1; }
}

.checkin-brand select { max-width: 220px; padding: 0; border: 0; appearance: none; background: transparent; color: var(--text); font-size: 11px; font-weight: 750; cursor: pointer; }

@media (max-width: 1023px) {
  .sidebar .tenant-switcher { display: none; }
  .compact-tenant-bar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; margin: -12px auto 24px; padding: 8px 12px; max-width: 1440px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
  .compact-tenant-switcher { display: flex; min-width: 0; align-items: center; gap: 9px; cursor: pointer; }
  .compact-tenant-switcher > span:last-child { display: flex; min-width: 0; flex-direction: column; }
  .compact-tenant-switcher small { color: var(--muted-2); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .compact-tenant-switcher select { max-width: 260px; padding: 0 20px 0 0; border: 0; background: transparent; color: var(--text); font-size: 11px; font-weight: 750; cursor: pointer; }
  .compact-tenant-location { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 767px) {
  .compact-tenant-bar { margin: -8px 0 18px; }
  .compact-tenant-location { display: none; }
  .compact-tenant-switcher select { max-width: min(245px, calc(100vw - 105px)); }
}

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

@media (max-width: 1023px) {
  .booking-card { grid-template-columns: 70px minmax(0, 1fr); }
  .booking-deposit { grid-column: span 2; flex-direction: row; align-items: center; border-top: 1px solid var(--border); border-left: 0; }
  .booking-actions { width: auto; margin: 0 0 0 auto; flex-direction: row; }
  .review-list { grid-template-columns: 1fr; }
  .review-list > .card:only-child { grid-column: auto; }
}

@media (max-width: 767px) {
  .booking-summary { grid-template-columns: 1fr 1fr; }
  .booking-summary > div:first-child { grid-column: span 2; }
  .booking-summary > div:nth-child(2) { border-top: 1px solid var(--border); border-left: 0; }
  .booking-summary > div:nth-child(3) { border-top: 1px solid var(--border); }
  .booking-card { grid-template-columns: 58px minmax(0, 1fr); }
  .booking-main { padding: 14px; }
  .booking-facts { flex-direction: column; gap: 5px; }
  .booking-deposit { padding: 13px; flex-wrap: wrap; }
  .booking-actions { width: 100%; margin-left: 0; flex-direction: column; }
  .review-summary { grid-template-columns: 1fr 1fr; }
  .review-summary > div:first-child { grid-column: span 2; }
  .review-summary > div:nth-child(2) { border-top: 1px solid var(--border); border-left: 0; }
  .review-summary > div:nth-child(3), .review-summary > div:nth-child(4) { border-top: 1px solid var(--border); }
  .review-summary > div:nth-child(4) { border-left: 0; }
  .review-list { grid-template-columns: 1fr; }
  .review-card { padding: 16px; }
  .review-actions .button { flex: 1; }
  .stars { flex-wrap: wrap; width: 42px; }
}

/* Fluxworks demo additions (static build) */
.fw-demo-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 18px;background:var(--text);color:var(--canvas);font-size:12px;font-weight:600}
.fw-demo-bar a{color:var(--canvas);text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);white-space:nowrap}
.fw-demo-bar__title{opacity:.75;text-align:center;flex:1;font-weight:500}
.fw-demo-bar__cta{border:1px solid rgba(255,255,255,.4);border-radius:999px;padding:4px 10px;text-decoration:none!important}
@media (max-width:700px){.fw-demo-bar__title{display:none}}
.fw-sidebar-back{display:block;margin:0 7px 14px;font-size:12px;color:var(--muted)}.fw-sidebar-back:hover{color:var(--text)}
.tap-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px}
.tap-summary > div,.guest-summary > div,.event-overview > div,.booking-summary > div,.review-summary > div{min-width:0}
.tap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.tap-card{display:flex;flex-direction:column;gap:10px}
.tap-card .tap-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.tap-card .tap-no{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700}
.tap-card h2{margin:2px 0 0;font-size:17px;font-family:var(--font-display);font-weight:500}
.tap-card .tap-style{color:var(--muted);font-size:12px}
.keg{position:relative;height:84px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface-2);overflow:hidden}
.keg-fill{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(180deg,color-mix(in srgb,var(--tenant-accent,var(--accent)) 70%,#fff),var(--tenant-accent,var(--accent)));transition:height .5s}
.keg-fill.low{background:linear-gradient(180deg,#e9a07d,var(--red))}
.keg-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;font-variant-numeric:tabular-nums;mix-blend-mode:difference;color:#fff}
.tap-facts{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}
.tap-facts strong{color:var(--text)}
.tap-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}
.tap-card.is-86{border-color:var(--red)}
.pulse-taps .tap-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--border)}
.pulse-taps .tap-row:first-child{border-top:0}
.pulse-taps .tap-row strong{display:block;font-size:13px}.pulse-taps .tap-row small{color:var(--muted);font-size:11px}
.pulse-taps .mini-keg{width:92px;height:8px;border-radius:999px;background:var(--surface-2);overflow:hidden;border:1px solid var(--border)}
.pulse-taps .mini-keg i{display:block;height:100%;background:var(--accent)}.pulse-taps .mini-keg i.low{background:var(--red)}
@media (max-width:900px){.tap-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

.page-actions .button .btn-ico{font-size:16px;line-height:1}
.pulse-page .metric-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
.tap-summary .card{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:90px;padding:16px 18px}
.tap-summary .card small{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.tap-summary .card strong{font:650 23px/1.1 var(--font-display),serif}
.tap-summary .card span{color:var(--muted);font-size:10px}
@media (max-width:1250px){.pulse-page .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.pulse-page .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tap-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
