/* Wedding VenueOS product pass - readability, booking flow and mobile polish */
body { font-size: 16px; }
.system-label, .eyebrow, .kicker { font-size: 10px; }
.hero-row > div:first-child > p:last-child,
.page-heading > div > p { font-size: 14px; max-width: 680px; }
.metric-strip span, .hero-action > span { font-size: 11px; }
.metric-strip small, .hero-action > small { font-size: 10px; }
.space-availability b, .lead-contact b, .today-panel label b { font-size: 12px; }
.space-availability small, .lead-contact small, .today-panel label small { font-size: 10px; }
.kanban article h3 { font-size: 13px; }
.kanban article p, .kanban article footer small { font-size: 10px; }

.licence-trigger { width: 100%; margin-top: 14px; padding: 10px 0 0; border: 0; border-top: 1px solid #343735; background: transparent; color: var(--ivory); display: flex; justify-content: space-between; align-items: center; text-align: left; }
.licence-trigger span { color: var(--amber); font-size: 9px; }
.licence-trigger b { font-size: 9px; }

.demo-path { margin-top: 12px; padding: 20px; }
.demo-path > header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.demo-path h3 { margin: 5px 0 0; font-size: 18px; }
.demo-path > header button { border: 0; background: transparent; font-size: 10px; font-weight: 750; }
.demo-steps { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.demo-steps button { min-height: 96px; display: flex; align-items: flex-start; gap: 10px; padding: 16px 12px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; position: relative; }
.demo-steps button:last-child { border-right: 0; background: var(--ink); color: var(--ivory); }
.demo-steps button:hover { background: #eee8dd; }
.demo-steps button:last-child:hover { background: #292c2a; }
.demo-steps i { width: 25px; height: 25px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--amber); font: 8px "IBM Plex Mono"; font-style: normal; }
.demo-steps button:last-child i { background: var(--amber); color: var(--ink); }
.demo-steps span { display: flex; flex-direction: column; }
.demo-steps b { font-size: 11px; }
.demo-steps small { margin-top: 5px; color: var(--graphite); font-size: 9px; line-height: 1.4; }
.demo-steps button:last-child small { color: #aeb3af; }
.mobile-plans { display: none; }

.pricing-drawer { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.pricing-drawer.open { pointer-events: auto; }
.pricing-shade { position: absolute; inset: 0; background: rgba(12,13,12,.68); opacity: 0; transition: opacity .25s ease; }
.pricing-drawer.open .pricing-shade { opacity: 1; }
.pricing-drawer > aside { position: absolute; inset: 0 0 0 auto; width: min(1050px, 96vw); padding: 40px; overflow: auto; background: var(--ivory); transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.8,.24,1); }
.pricing-drawer.open > aside { transform: none; }
.close-pricing { position: absolute; right: 20px; top: 18px; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 25px; }
.pricing-intro { max-width: 700px; }
.pricing-intro h2 { margin: 11px 0 14px; font-size: 48px; line-height: 1.02; letter-spacing: -.045em; }
.pricing-intro h2 em { font-family: "Instrument Serif"; font-weight: 400; }
.pricing-intro > p { max-width: 650px; margin: 0; color: var(--graphite); font-size: 14px; line-height: 1.7; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.pricing-grid article { position: relative; min-height: 410px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); padding: 24px; overflow: hidden; }
.pricing-grid article.recommended { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pricing-grid .plan-index { position: absolute; right: 18px; top: 5px; font: 72px "Instrument Serif"; color: #e5dfd4; }
.pricing-grid .recommended .plan-index { color: #343735; }
.pricing-grid .recommended .eyebrow { color: var(--amber); }
.pricing-grid h3 { position: relative; margin: 20px 0 12px; font-size: 28px; letter-spacing: -.035em; }
.pricing-grid h3 small { font-size: 10px; color: var(--graphite); font-weight: 600; letter-spacing: 0; }
.pricing-grid .recommended h3 small { color: #aeb3af; }
.pricing-grid ul { list-style: none; padding: 18px 0; margin: 8px 0 22px; border-top: 1px solid var(--line); }
.pricing-grid .recommended ul { border-color: #3a3d3b; }
.pricing-grid li { padding: 7px 0; font-size: 11px; }
.pricing-grid li::before { content: "—"; margin-right: 8px; color: var(--amber); }
.pricing-grid button { margin-top: auto; }
.licence-terms { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.licence-terms span { display: flex; flex-direction: column; padding: 15px; border-right: 1px solid var(--line); }
.licence-terms span:last-child { border-right: 0; }
.licence-terms b { font-size: 11px; }
.licence-terms small { margin-top: 5px; color: var(--graphite); font-size: 9px; line-height: 1.5; }
.pricing-note { margin: 12px 0 0; color: var(--graphite); font: 9px "IBM Plex Mono"; line-height: 1.6; }
.hold-active { background: #f3e1c8; border-color: #d3a56a; color: #805a28; }

.slot-board { margin-top: 12px; padding: 20px; }
.slot-board > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.slot-board h3 { margin: 5px 0 0; font-size: 18px; }
.slot-legend { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--graphite); }
.slot-legend .dot { margin-left: 10px; }
.slot-legend .dot:first-child { margin-left: 0; }
.open-dot { background: #7d936f; }
.hold-dot { background: var(--amber); }
.booked-dot { background: var(--ink); }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.slot-grid article { border: 1px solid var(--line); border-radius: 9px; padding: 14px; }
.slot-grid article > b { font: 600 13px "IBM Plex Mono"; }
.slot-grid article > small { display: block; margin: 4px 0 14px; color: var(--graphite); font-size: 10px; }
.slot-grid article > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.slot-grid article > div span { font-size: 11px; font-weight: 700; }
.slot-grid em { font: 500 9px "IBM Plex Mono"; font-style: normal; padding: 5px 7px; border-radius: 5px; }
.slot-open { background: #e2e9de; color: #53674b; }
.slot-hold { background: #f3e1c8; color: #805a28; }
.slot-booked { background: var(--ink); color: var(--ivory); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(370px, .8fr); gap: 12px; }
.bookings-list, .booking-file { padding: 20px; }
.bookings-list > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.bookings-list > header h3 { margin: 5px 0 0; font-size: 18px; }
.bookings-list > header button { border: 0; background: transparent; font-size: 10px; font-weight: 750; }
.bookings-list article { display: grid; grid-template-columns: 48px 1fr 80px auto; align-items: center; gap: 13px; padding: 15px 8px; border-top: 1px solid var(--line); }
.bookings-list article.active { margin: 0 -8px; padding-left: 16px; padding-right: 16px; background: #efe7d8; box-shadow: inset 3px 0 var(--amber); }
.booking-date { width: 42px; height: 48px; border: 1px solid var(--line); border-radius: 7px; display: grid; place-items: center; align-content: center; }
.booking-date b { font-size: 17px; line-height: 1; }
.booking-date small { font: 8px "IBM Plex Mono"; color: var(--graphite); margin-top: 4px; }
.bookings-list article > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.bookings-list article > span:nth-child(2) b { font-size: 12px; }
.bookings-list article > span:nth-child(2) small { margin-top: 4px; color: var(--graphite); font-size: 10px; }
.bookings-list article > strong { font: 600 11px "IBM Plex Mono"; }
.bookings-list article > em { font-size: 8px; font-style: normal; padding: 5px 7px; border-radius: 5px; white-space: nowrap; }
.booking-file > h3 { margin: 12px 0 4px; font-size: 27px; letter-spacing: -.035em; }
.booking-file > p { margin: 0 0 18px; font-size: 11px; color: var(--graphite); }
.family-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.family-strip > span { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.family-strip small { font-size: 9px; color: var(--graphite); }
.family-strip b { margin: 6px 0 3px; font-size: 11px; }
.family-strip em { font: 9px "IBM Plex Mono"; font-style: normal; color: var(--graphite); }
.function-plan { margin-top: 14px; }
.function-plan > span { display: grid; grid-template-columns: 31px 1fr; padding: 12px 0; border-top: 1px solid var(--line); }
.function-plan i { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--amber); font: 8px "IBM Plex Mono"; font-style: normal; }
.function-plan b { font-size: 11px; }
.function-plan small { margin-top: 4px; font-size: 9px; color: var(--graphite); }
.quote-mini { display: flex; align-items: flex-end; justify-content: space-between; padding: 15px; background: var(--ink); color: var(--ivory); border-radius: 8px; }
.quote-mini span { display: flex; flex-direction: column; }
.quote-mini small { color: #aeb2af; font-size: 9px; }
.quote-mini b { margin-top: 5px; font-size: 12px; }
.quote-mini strong { font-size: 19px; color: var(--amber); }
.booking-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }

@media (max-width: 1100px) {
  .demo-steps { grid-template-columns: repeat(3, 1fr); }
  .demo-steps button:nth-child(3) { border-right: 0; }
  .demo-steps button:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
}

/* Secure product entry */
.auth-loading .app-shell,
.auth-loading .login-screen { opacity: 0; pointer-events: none; }
.authenticated .login-screen { display: none; }
.signed-out .app-shell { display: none; }

.login-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr);
  background: #181919;
  color: #F4F0E7;
}
.login-editorial {
  min-height: 100dvh;
  padding: clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(244, 240, 231, .16);
  background: linear-gradient(120deg, transparent 0 56%, rgba(244, 187, 98, .05) 56% 57%, transparent 57%), radial-gradient(circle at 78% 24%, rgba(244, 187, 98, .12), transparent 34%), #181919;
}
.login-brand { display: flex; align-items: center; gap: 12px; }
.login-brand > span:last-child { display: grid; }
.login-brand b { font-size: 17px; letter-spacing: -.02em; }
.login-brand small { color: #C6CAC8; font: 11px/1.4 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .11em; }
.login-story { max-width: 760px; padding: 10vh 0; }
.login-story h1 { margin: 20px 0 24px; font-size: clamp(50px, 6.2vw, 92px); line-height: .98; letter-spacing: -.065em; }
.login-story h1 em { color: #F4BB62; font-family: "Instrument Serif", serif; font-weight: 400; }
.login-story p { max-width: 620px; color: #C6CAC8; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.7; }
.login-proof { display: flex; gap: clamp(24px, 5vw, 72px); padding-top: 28px; border-top: 1px solid rgba(244, 240, 231, .16); }
.login-proof span { display: grid; gap: 5px; }
.login-proof b { color: #F4BB62; font: 600 22px/1 "IBM Plex Mono", monospace; }
.login-proof small { color: #C6CAC8; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.login-panel { display: grid; place-items: center; padding: clamp(28px, 5vw, 72px); background: #F4F0E7; color: #181919; }
.login-panel form { width: min(100%, 430px); }
.login-panel h2 { margin: 12px 0 6px; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.045em; }
.login-panel form > p { margin-bottom: 36px; color: #646965; font-size: 16px; }
.login-panel label { display: grid; gap: 9px; margin: 18px 0; font-size: 13px; font-weight: 700; }
.login-panel input { width: 100%; height: 52px; border: 1px solid rgba(24, 25, 25, .24); border-radius: 10px; padding: 0 15px; background: rgba(255,255,255,.52); color: #181919; font: 500 15px/1 "Manrope", sans-serif; outline: none; }
.login-panel input:focus { border-color: #181919; box-shadow: 0 0 0 3px rgba(244,187,98,.32); }
.login-panel .button { height: 54px; margin-top: 12px; justify-content: center; }
.login-panel .button svg { width: 17px; height: 17px; }
.login-error { min-height: 22px; margin-top: 14px; color: #9d352e; font-size: 13px; }
.demo-access { display: block; margin-top: 22px; color: #646965; font: 11px/1.5 "IBM Plex Mono", monospace; text-align: center; }
.backend-badge { display: inline-flex; align-items: center; gap: 7px; color: #646965; font: 11px/1.4 "IBM Plex Mono", monospace; }
.backend-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #F4BB62; box-shadow: 0 0 0 3px rgba(244,187,98,.18); }
@media (max-width: 850px) {
  .login-screen { grid-template-columns: 1fr; }
  .login-editorial { min-height: 48dvh; padding: 28px 24px; }
  .login-story { padding: 48px 0 38px; }
  .login-story h1 { font-size: clamp(44px, 12vw, 72px); }
  .login-story p { font-size: 15px; }
  .login-proof { gap: 22px; flex-wrap: wrap; }
  .login-panel { min-height: 52dvh; padding: 42px 24px max(42px, env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar h1 { font-size: 18px; }
  .hero-row h2, .page-heading h2 { font-size: 36px; line-height: 1.05; }
  .system-label, .eyebrow, .kicker { font-size: 10px; letter-spacing: .11em; }
  .hero-row > div:first-child > p:last-child, .page-heading > div > p { font-size: 14px; line-height: 1.7; }
  .demo-path { padding: 16px; }
  .demo-path > header { display: block; }
  .demo-path > header button { margin-top: 12px; padding: 0; }
  .demo-steps { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; border-right: 0; border-radius: 8px 0 0 8px; scrollbar-width: none; }
  .demo-steps button { flex: 0 0 170px; border-bottom: 0 !important; }
  .pricing-drawer > aside { width: 100%; padding: 30px 18px calc(110px + env(safe-area-inset-bottom)); }
  .pricing-intro h2 { font-size: 37px; padding-right: 35px; }
  .pricing-intro > p { font-size: 14px; }
  .pricing-grid { display: block; }
  .pricing-grid article { min-height: auto; margin-bottom: 10px; }
  .pricing-grid h3 { font-size: 27px; }
  .pricing-grid li { font-size: 12px; }
  .licence-terms { grid-template-columns: 1fr; }
  .licence-terms span { border-right: 0; border-bottom: 1px solid var(--line); }
  .licence-terms span:last-child { border-bottom: 0; }
  .mobile-plans { position: fixed; left: 14px; bottom: 86px; z-index: 69; display: block; min-height: 38px; padding: 0 13px; border: 3px solid var(--ivory); border-radius: 8px; background: var(--ink); color: var(--amber); font-size: 10px; font-weight: 750; }
  .slot-board { padding: 16px; }
  .slot-board > header { display: block; }
  .slot-legend { margin-top: 12px; flex-wrap: wrap; }
  .slot-grid { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .slot-grid article { flex: 0 0 190px; }
  .bookings-list, .booking-file { padding: 16px; }
  .bookings-list { overflow: hidden; }
  .bookings-list article { grid-template-columns: 46px 1fr auto; gap: 10px; }
  .bookings-list article > strong { grid-column: 2; }
  .bookings-list article > em { grid-column: 3; grid-row: 1 / 3; }
  .family-strip { grid-template-columns: 1fr; }
  .booking-actions { grid-template-columns: 1fr; }
  .mobile-nav { overflow: hidden; }
  .mobile-nav button { flex: 1 1 20%; min-width: 0; font-size: 9px; }
  .month-cell > b { font-size: 10px; }
  .date-inspector b { font-size: 11px; }
  .date-inspector small { font-size: 9px; }
}

/* Team and property setup */
.setup-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.setup-summary article { min-height: 126px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.setup-summary article > span { color: var(--muted); font-size: 12px; font-weight: 650; }
.setup-summary article > b { margin-top: 14px; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.setup-summary article > small { margin-top: auto; color: var(--muted); font-size: 11px; }
.team-panel { padding: 0; overflow: hidden; }
.team-panel > header { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.team-panel > header > small { color: var(--muted); }
.team-table { width: 100%; }
.team-row { min-height: 70px; display: grid; grid-template-columns: minmax(250px, 1.35fr) .65fr .55fr .8fr; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.team-row:last-child { border-bottom: 0; }
.team-row > span:first-child { display: flex; align-items: center; gap: 12px; min-width: 0; }
.team-row > span:first-child > i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--ink); color: var(--amber); font: 600 10px/1 "IBM Plex Mono", monospace; font-style: normal; }
.team-row > span:first-child > em { min-width: 0; display: grid; font-style: normal; }
.team-row b { text-transform: capitalize; }
.team-row small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.team-row > span:last-child { color: var(--muted); font-size: 12px; }
.team-head { min-height: 42px; background: var(--surface-muted); color: var(--muted); font: 600 10px/1.2 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.team-head > span:first-child { display: block; }
.team-head + .team-row { border-top: 0; }

@media (max-width: 900px) {
  .setup-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-panel { overflow-x: auto; }
  .team-table { min-width: 760px; }
}

@media (max-width: 560px) {
  .setup-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
  .setup-summary article { min-height: 112px; padding: 16px; }
  .setup-summary article > b { font-size: 25px; }
}

/* Final editorial readability pass — human-scale type, higher contrast, no micro-copy */
:root { --graphite: #535754; --line: #cbc6bc; }
body { font-size: 15px; letter-spacing: -.008em; }
.sidebar nav button { font-size: 13px; }
.sidebar nav button > span,
.sidebar nav button > em,
.brand-lockup small,
.venue-switcher small,
.profile small,
.side-footer span,
.side-footer small,
.system-label,
.eyebrow,
.kicker,
.date-line span { font-size: 10px; line-height: 1.45; }
.venue-switcher b { font-size: 13px; }
.profile b { font-size: 11px; }
.topbar h1 { font-size: 21px; }
.hero-row h2 { max-width: 760px; font-size: 47px; line-height: .98; }
.hero-row > div:first-child > p:last-child { font-size: 15px; line-height: 1.65; }
.hero-action > span,
.hero-action > small,
.metric-strip span,
.metric-strip small,
.space-availability small,
.lead-contact small,
.today-panel label small,
.kanban article p,
.kanban article footer small,
.bookings-list article > span:nth-child(2) small,
.booking-file > p,
.family-strip small,
.function-plan small,
.collection-card > div:last-child small,
.dues-panel > div p small { font-size: 10.5px; }
.metric-strip b { font-size: 30px; }
.demo-steps b,
.space-availability b,
.lead-contact b,
.today-panel label b,
.bookings-list article > span:nth-child(2) b,
.family-strip b,
.function-plan b,
.dues-panel > div p b { font-size: 12px; }
.demo-steps small { font-size: 10px; }
.page-heading h2 { max-width: 820px; font-size: 42px; }
.page-heading > div > p { font-size: 15px; }
.filter-row button,
.segmented button,
.panel header > button,
.bookings-list > header button { font-size: 11px; }
.kanban article h3 { font-size: 14px; }
.pricing-intro > p { font-size: 15px; }
.pricing-grid li { font-size: 12px; }
.licence-terms b { font-size: 12px; }
.licence-terms small,
.pricing-note { font-size: 10px; }
.sidebar nav > p,
.licence-trigger b,
.profile > span:first-child,
.demo-steps i,
.week-strip span,
.week-strip small,
.space-availability em,
.priority-card header em,
.signal-list span,
.lead-contact > span:first-child,
.funnel small,
.funnel em,
.today-panel header > em,
.journey i,
.journey small,
.drawer-value span,
.drawer-value em { font-size: 10px; }

@media (max-width: 760px) {
  .topbar h1 { font-size: 19px; }
  .hero-row h2 { font-size: 34px; line-height: 1.02; }
  .hero-row > div:first-child > p:last-child,
  .page-heading > div > p { font-size: 15px; }
  .page-heading h2 { font-size: 34px; }
  .metric-strip span,
  .metric-strip small,
  .space-availability small,
  .lead-contact small,
  .today-panel label small,
  .kanban article p,
  .kanban article footer small,
  .date-inspector small,
  .bookings-list article > span:nth-child(2) small,
  .family-strip small,
  .function-plan small { font-size: 11px; }
  .metric-strip b { font-size: 28px; }
  .mobile-nav button { font-size: 10px; }
  .mobile-nav button span { font-size: 9px; }
  .mobile-plans { font-size: 11px; }
  .demo-steps b { font-size: 12px; }
  .demo-steps small { font-size: 11px; }
  .week-strip span,
  .week-strip small,
  .space-availability em,
  .signal-list span,
  .funnel small,
  .funnel em,
  .journey small { font-size: 10.5px; }
}
