
:root {
  --ink: #202033;
  --muted: #727286;
  --line: #e7e4ef;
  --paper: #fff;
  --canvas: #f8f7fb;
  --violet: #5b4bdb;
  --violet-dark: #4435bd;
  --violet-soft: #eeebff;
  --lime: #c9f46a;
  --green: #26a96c;
  --green-soft: #e5f8ef;
  --amber: #e4a92e;
  --amber-soft: #fff4d8;
  --red: #d45555;
  --red-soft: #fdeaea;
  --shadow: 0 18px 55px rgba(40, 34, 91, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(1px); pointer-events: none; }
.ambient-one { width: 520px; height: 520px; right: -260px; top: 80px; background: radial-gradient(circle, rgba(204,197,255,.45), rgba(204,197,255,0) 70%); }
.ambient-two { width: 420px; height: 420px; left: -230px; bottom: -80px; background: radial-gradient(circle, rgba(201,244,106,.18), rgba(201,244,106,0) 70%); }

.site-header { height: 78px; padding: 0 max(24px, calc((100vw - 1200px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(224,221,234,.8); background: rgba(250,249,252,.82); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 820; letter-spacing: -.6px; }
.brand-mark { width: 33px; height: 30px; display: flex; gap: 3px; align-items: end; padding: 5px; border-radius: 10px; background: var(--violet); transform: rotate(-2deg); box-shadow: 0 6px 15px rgba(91,75,219,.25); }
.brand-mark i { display: block; width: 6px; border-radius: 5px; background: white; }
.brand-mark i:nth-child(1) { height: 9px; }.brand-mark i:nth-child(2) { height: 17px; background: var(--lime); }.brand-mark i:nth-child(3) { height: 13px; }
.desktop-nav { display: flex; gap: 34px; margin-left: 70px; font-size: 14px; font-weight: 650; color: #59586c; }
.desktop-nav a:hover { color: var(--violet); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.guest-actions > a:first-child { padding: 10px; font-weight: 700; }
.profile-menu { position: relative; }
.profile-menu summary { list-style: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: #ddd8ff; color: var(--violet-dark); font-weight: 800; border: 2px solid white; box-shadow: 0 0 0 1px var(--line); }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-menu > div { position: absolute; right: 0; top: 48px; width: 230px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); display: grid; gap: 3px; }
.profile-menu small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.text-button { border: 0; background: none; padding: 10px 0 0; color: var(--violet); font-weight: 750; cursor: pointer; }
.page-shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }

.button { min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 760; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--violet); color: white; box-shadow: 0 8px 22px rgba(91,75,219,.2); }
.button.primary:hover { background: var(--violet-dark); box-shadow: 0 10px 25px rgba(91,75,219,.27); }
.button.quiet { background: white; border-color: var(--line); color: var(--ink); box-shadow: 0 4px 12px rgba(32,32,51,.04); }
.button.small { min-height: 38px; padding: 7px 13px; font-size: 13px; border-radius: 10px; }
.button.large { min-height: 54px; padding: 14px 22px; }
.button.full { width: 100%; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(39,35,74,.045); }
.eyebrow, .mini-label { display: block; color: var(--violet); font-size: 11px; font-weight: 850; letter-spacing: 1.7px; }
.mini-label { font-size: 10px; }
.muted { color: var(--muted); }
.toast { position: fixed; z-index: 50; top: 90px; left: 50%; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; font-weight: 700; animation: toastin .25s ease; }
.toast.success { color: #126540; background: #e7f9f0; border: 1px solid #baeacf; }.toast.error { color: #9f3434; background: #fff0f0; border: 1px solid #f1c8c8; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%,-8px); } }

/* Landing */
.landing-page .page-shell { padding-top: 70px; }
.hero { min-height: 570px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero-copy h1 { margin: 15px 0 22px; font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -4px; }
.hero-copy h1 em { color: var(--violet); font-style: normal; }
.hero-copy > p { max-width: 590px; color: #676579; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin: 30px 0 24px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; color: #737184; font-size: 12px; font-weight: 650; }
.hero-preview { position: relative; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid #e7e3f3; box-shadow: 0 35px 90px rgba(56,43,130,.16); transform: rotate(1deg); }
.hero-preview::before { content: ""; position: absolute; inset: -18px 20px auto -20px; height: 100%; border-radius: 30px; background: #eae6ff; z-index: -1; transform: rotate(-3deg); }
.preview-head { display: flex; justify-content: space-between; gap: 20px; }.preview-head h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.7px; }
.avatar-stack { display: flex; }.avatar-stack b { width: 34px; height: 34px; display: grid; place-items: center; margin-left: -8px; border: 2px solid white; background: #e9e5ff; color: var(--violet); border-radius: 50%; font-size: 10px; }.avatar-stack b:nth-child(2) { background: #ddf7b1; color: #4b7220; }.avatar-stack b:nth-child(3) { background: #f2f0f5; color: #656374; }
.preview-sub { color: var(--muted); font-size: 13px; margin: 8px 0 24px; }
.preview-option { display: grid; grid-template-columns: 1fr 90px 25px; gap: 12px; align-items: center; margin: 10px 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }.preview-option.winner { border-color: #bcb4ff; background: #faf9ff; }.preview-option strong,.preview-option small { display: block; }.preview-option strong { font-size: 14px; }.preview-option small { margin-top: 2px; color: var(--muted); font-size: 11px; }.preview-option > b { color: var(--violet); }
.mini-bar { height: 7px; overflow: hidden; border-radius: 8px; background: #ebe9ef; }.mini-bar i { display: block; height: 100%; background: var(--violet); border-radius: inherit; }
.preview-best { display: inline-block; margin-top: 10px; padding: 8px 11px; border-radius: 9px; background: var(--lime); color: #344118; font-size: 11px; font-weight: 820; transform: rotate(-1deg); }
.feature-strip { margin-top: 60px; padding: 28px 0; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }.feature-strip article { padding: 10px 34px; border-right: 1px solid var(--line); }.feature-strip article:last-child { border: 0; }.feature-strip span { color: var(--violet); font-size: 11px; font-weight: 850; }.feature-strip h3 { margin: 7px 0 4px; font-size: 17px; }.feature-strip p { margin: 0; color: var(--muted); font-size: 13px; }

/* Forms and auth */
.auth-wrap { min-height: calc(100vh - 180px); display: grid; grid-template-columns: 1fr 470px; gap: 90px; align-items: center; max-width: 1050px; margin: 0 auto; }.auth-aside h1 { font-size: 51px; line-height: 1.04; letter-spacing: -2.4px; margin: 14px 0 22px; }.auth-aside > p { color: var(--muted); font-size: 17px; max-width: 470px; }.auth-quote { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 17px; border-radius: 12px; background: var(--violet-soft); color: #5b5382; font-size: 13px; font-weight: 650; }.auth-quote span { font-size: 26px; color: var(--violet); }
.auth-card { padding: 42px; }.auth-title { margin-bottom: 28px; }.auth-title h2,.auth-card > h2 { margin: 7px 0; font-size: 30px; letter-spacing: -1px; }.stack-form { display: grid; gap: 18px; }.stack-form button { margin-top: 4px; }
label { display: grid; gap: 7px; color: #424153; font-size: 13px; font-weight: 720; }label > span { color: #9996a6; font-size: 11px; font-weight: 500; }
input, textarea { width: 100%; border: 1px solid #dcd9e6; border-radius: 11px; padding: 12px 13px; background: white; color: var(--ink); outline: 0; transition: border .15s, box-shadow .15s; }input:focus,textarea:focus { border-color: #9d93ed; box-shadow: 0 0 0 3px rgba(91,75,219,.1); }textarea { resize: vertical; }
.auth-switch { text-align: center; color: var(--muted); font-size: 13px; margin: 25px 0 0; }.auth-switch a { color: var(--violet); font-weight: 760; }.inline-error { padding: 10px 12px; border-radius: 9px; background: var(--red-soft); color: #a64040; font-size: 13px; margin-bottom: 18px; }.success-orb { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 26px; }.dev-box { margin: 22px 0; padding: 16px; background: var(--amber-soft); border: 1px solid #efd99d; border-radius: 12px; font-size: 13px; overflow-wrap: anywhere; }.dev-box p { margin: 5px 0; }.dev-box a { color: var(--violet-dark); font-weight: 800; }.empty-state { max-width: 520px; margin: 90px auto; padding: 45px; text-align: center; display: grid; justify-items: center; }.empty-state h1 { margin-bottom: 0; }.empty-state p { color: var(--muted); }

/* Headings & dashboard */
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }.page-heading h1 { font-size: 45px; line-height: 1.03; letter-spacing: -2px; margin: 8px 0 0; }.page-heading p { color: var(--muted); margin: 10px 0 0; }.compact-heading { align-items: center; }.compact-heading h1 { font-size: 39px; }
.welcome-banner { padding: 16px 20px; margin: 0 0 25px; display: flex; align-items: center; gap: 14px; border: 1px solid #bceace; border-radius: 14px; background: #edfbf3; color: #236947; }.welcome-banner > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: white; }.welcome-banner strong,.welcome-banner p { display: block; margin: 0; }.welcome-banner p { font-size: 13px; opacity: .82; }
.event-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }.event-card { min-height: 310px; display: flex; flex-direction: column; padding: 24px; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 30px rgba(39,35,74,.045); transition: transform .18s, box-shadow .18s, border-color .18s; }.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbc5ee; }.event-card-top { display: flex; align-items: center; justify-content: space-between; }.status-pill { display: inline-flex; width: fit-content; padding: 6px 9px; border-radius: 8px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 820; letter-spacing: .4px; text-transform: uppercase; }.status-pill.done { background: var(--green-soft); color: #267752; }.arrow { color: #aaa6b6; font-size: 18px; }.event-card h2 { font-size: 23px; letter-spacing: -.6px; margin: 22px 0 4px; }.event-card > p { margin: 0; font-size: 13px; }.event-card-result { min-height: 85px; display: flex; align-items: center; gap: 14px; padding: 18px 0; margin-top: auto; }.event-card-result > div:last-child { min-width: 0; }.event-card-result small,.event-card-result strong,.event-card-result span { display: block; }.event-card-result > div > small { color: var(--violet); font-size: 9px; font-weight: 850; letter-spacing: 1px; }.event-card-result strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }.event-card-result span { color: var(--muted); font-size: 11px; }.date-tile { flex: 0 0 auto; width: 49px; height: 54px; display: grid; place-content: center; text-align: center; border-radius: 11px; background: var(--violet-soft); color: var(--violet); }.date-tile b { font-size: 20px; line-height: 1; }.date-tile small { margin-top: 3px; color: inherit!important; font-size: 8px!important; font-weight: 850; letter-spacing: 1px; }.waiting-icon { width: 49px; height: 49px; border-radius: 50%; display: grid; place-items: center; background: #f1eff5; color: #908c9c; font-weight: 900; letter-spacing: 2px; }.event-card-foot { border-top: 1px solid var(--line); padding-top: 14px; }.event-card-foot > span { font-size: 11px; color: var(--muted); }.event-card-foot b { color: var(--ink); }.progress { margin-top: 8px; height: 5px; overflow: hidden; border-radius: 6px; background: #ebe9ef; }.progress i { display: block; height: 100%; border-radius: inherit; background: var(--violet); }.new-card { justify-content: center; align-items: center; text-align: center; border-style: dashed; background: rgba(255,255,255,.45); }.new-card > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: 26px; }.new-card h2 { margin: 15px 0 2px; }.new-card p { color: var(--muted); font-size: 12px; }.first-event { max-width: 700px; margin: 55px auto; padding: 55px; text-align: center; }.first-event h2 { font-size: 28px; margin-bottom: 5px; }.first-event > p { max-width: 480px; margin: 0 auto 24px; color: var(--muted); }.first-illustration { height: 100px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; }.first-illustration > span { width: 61px; height: 70px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 20px rgba(0,0,0,.05); font-weight: 850; color: var(--violet); }.first-illustration > span:nth-child(2) { transform: translateY(-8px); background: var(--violet); color: white; }.first-illustration i { position: absolute; margin: 38px 0 0 122px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-style: normal; }

/* Contacts */
.section-block { margin-top: 40px; }.section-title { min-height: 45px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }.section-title > div { display: flex; align-items: center; gap: 9px; }.section-title h2 { margin: 0; font-size: 20px; }.section-title > div > span { min-width: 23px; height: 23px; padding: 3px 7px; display: grid; place-items: center; border-radius: 12px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 800; }.section-title > small { color: var(--muted); }
.group-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }.group-card { padding: 21px; display: flex; align-items: center; gap: 15px; position: relative; }.group-icon { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg,#ddd8ff,#f0eeff); color: var(--violet); font-weight: 850; }.group-main { min-width: 0; flex: 1; }.group-main h3 { margin: 0; font-size: 16px; }.group-main p { margin: 1px 0 9px; color: var(--muted); font-size: 11px; }.avatar-row { display: flex; }.avatar-row span { width: 24px; height: 24px; display: grid; place-items: center; margin-right: -5px; border: 2px solid white; border-radius: 50%; background: #e9e7ed; color: #656171; font-size: 8px; font-weight: 800; }.card-menu { position: relative; align-self: start; }.card-menu summary { list-style: none; cursor: pointer; color: #9b98a6; }.card-menu summary::-webkit-details-marker { display:none; }.menu-pop { position: absolute; z-index: 2; right: 0; top: 25px; width: 130px; padding: 7px; display: grid; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: var(--shadow); }.menu-pop button { width: 100%; padding: 7px; text-align: left; border: 0; background: none; cursor: pointer; font-size: 12px; }.danger-text { color: var(--red)!important; }
.contact-list { overflow: hidden; }.contact-row,.invite-row { min-height: 73px; padding: 12px 18px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }.contact-row:last-child,.invite-row:last-child { border: 0; }.contact-avatar { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: 12px; font-weight: 850; }.contact-row > div:nth-child(2),.invite-row > div:nth-child(2) { min-width: 0; flex: 1; }.contact-row strong,.contact-row small,.invite-row strong,.invite-row small { display: block; }.contact-row strong,.invite-row strong { font-size: 13px; }.contact-row small,.invite-row small { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }.last-used { color: #9996a6; font-size: 10px; }.icon-button { width: 35px; height: 35px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #878393; cursor: pointer; font-size: 19px; }.icon-button:hover { background: #f3f1f6; }.soft-empty { min-height: 100px; padding: 24px; display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px dashed #d7d3e1; border-radius: 16px; color: var(--muted); }.soft-empty > span { color: var(--violet); font-size: 24px; }.soft-empty strong,.soft-empty p { display: block; margin: 0; }.soft-empty strong { color: var(--ink); }.soft-empty p { font-size: 12px; }

/* Dialog */
.modal { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: visible; }.modal::backdrop { background: rgba(27,25,42,.52); backdrop-filter: blur(3px); }.modal-card { max-height: calc(100vh - 40px); overflow: auto; position: relative; padding: 32px; display: grid; gap: 18px; border-radius: 22px; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.24); }.modal-card h2 { margin: -8px 0 3px; font-size: 27px; }.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f0f5; color: #686576; cursor: pointer; font-size: 21px; }.check-list { max-height: 235px; overflow: auto; margin: 0; padding: 10px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 12px; }.check-list legend { padding: 0 6px; color: var(--muted); font-size: 11px; font-weight: 750; }.check-list label { padding: 8px; display: flex; align-items: center; gap: 9px; border-radius: 8px; cursor: pointer; }.check-list label:hover { background: #f8f7fb; }.check-list input,.simple-check input { width: 17px; height: 17px; accent-color: var(--violet); }.check-list span { color: var(--ink); font-size: 12px; }.check-list span small { display: block; color: var(--muted); font-size: 10px; }.contact-picker { border: 1px solid var(--line); border-radius: 11px; }.contact-picker summary { padding: 12px 14px; cursor: pointer; color: #4a4859; font-size: 12px; font-weight: 720; }.contact-picker summary span { float: right; color: var(--muted); font-size: 10px; }.contact-picker .check-list { border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* Create event */
.wizard-head { max-width: 940px; margin: -12px auto 35px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }.wizard-head > a { font-weight: 700; }.wizard-steps { display: flex; align-items: center; }.wizard-steps span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #d6d2e1; background: white; font-size: 9px; font-weight: 800; }.wizard-steps span.active { background: var(--violet); color: white; border-color: var(--violet); }.wizard-steps i { width: 33px; height: 1px; background: #d6d2e1; }.form-hero { max-width: 720px; margin: 0 auto 38px; text-align: center; }.form-hero h1 { margin: 8px 0 10px; font-size: 48px; line-height: 1.03; letter-spacing: -2.2px; }.form-hero p { color: var(--muted); }.form-layout { display: grid; grid-template-columns: minmax(0,1fr) 285px; gap: 22px; align-items: start; }.form-main { display: grid; gap: 18px; }.form-section { padding: 30px; display: grid; grid-template-columns: 42px 1fr; gap: 17px; }.number-badge { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-weight: 850; }.form-section-body { min-width: 0; display: grid; gap: 18px; }.form-section-body > h2 { margin: 0; font-size: 22px; }.form-section-body > p { margin: -15px 0 2px; color: var(--muted); font-size: 12px; }.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.option-editor { display: grid; gap: 8px; }.option-row { display: grid; grid-template-columns: 19px 1.3fr .75fr .75fr 1fr 28px; gap: 8px; align-items: end; padding: 10px; border-radius: 12px; background: #faf9fc; border: 1px solid #ece9f2; }.option-row label { gap: 4px; }.option-row label > span { font-size: 9px; font-weight: 760; color: var(--muted); }.option-row input { padding: 9px; font-size: 12px; }.drag-handle { align-self: center; color: #aaa7b3; font-size: 12px; letter-spacing: -2px; }.remove-option { align-self: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #9a96a5; cursor: pointer; font-size: 18px; }.remove-option:hover { color: var(--red); background: var(--red-soft); }.add-row-button { width: 100%; padding: 10px; border: 1px dashed #cbc6dc; border-radius: 10px; background: white; color: var(--violet); font-size: 12px; font-weight: 760; cursor: pointer; }.toggle-row { padding: 14px 0 0; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); cursor: pointer; }.toggle-row strong,.toggle-row small { display: block; }.toggle-row small { color: var(--muted); font-size: 10px; }.toggle-row input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.toggle-row i { width: 42px; height: 24px; position: relative; border-radius: 14px; background: #d8d5df; transition: background .2s; }.toggle-row i::after { content:""; width: 18px; height: 18px; position: absolute; left: 3px; top: 3px; border-radius: 50%; background: white; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }.toggle-row input:checked + i { background: var(--violet); }.toggle-row input:checked + i::after { transform: translateX(18px); }.picker-block { display: grid; gap: 7px; }.field-title { color: #424153; font-size: 13px; font-weight: 720; }.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }.choice-chips input { position: absolute; width: 1px; height: 1px; opacity: 0; }.choice-chips label { display: block; cursor: pointer; }.choice-chips label > span { padding: 8px 11px 8px 7px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 20px; background: white; color: #555264; font-size: 11px; font-weight: 720; }.choice-chips b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: 9px; }.choice-chips small { color: var(--muted); }.choice-chips input:checked + span { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-dark); }.inline-list { grid-template-columns: repeat(2,1fr); }.simple-check { display: flex; align-items: center; gap: 9px; cursor: pointer; }.simple-check span { color: #4f4d5d; font-size: 12px; font-weight: 650; }.mail-note { padding: 12px; border-radius: 10px; background: #f5f3fb; color: #6e6980; font-size: 11px; }.create-summary { position: sticky; top: 100px; padding: 25px; }.create-summary h3 { margin: 7px 0 18px; font-size: 19px; }.create-summary ul { margin: 0 0 24px; padding: 0; display: grid; gap: 12px; list-style: none; color: #5f5c6c; font-size: 12px; }.create-summary li { display: flex; align-items: center; gap: 8px; }.create-summary li i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 10px; font-style: normal; }.create-summary > small { display: block; margin-top: 10px; text-align: center; color: var(--muted); }

/* Detail and results */
.detail-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; }.back-link { display: inline-block; margin-bottom: 17px; color: var(--muted); font-size: 12px; font-weight: 700; }.detail-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.detail-title-row h1 { margin: 0; font-size: 42px; line-height: 1.1; letter-spacing: -1.8px; }.detail-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; color: var(--muted); font-size: 12px; }.event-description { max-width: 760px; color: #676477; line-height: 1.7; }.final-banner { margin: 24px 0; padding: 23px 26px; display: flex; align-items: center; gap: 17px; border-radius: 18px; background: linear-gradient(135deg,#493bc3,#6858e5); color: white; box-shadow: 0 15px 35px rgba(73,59,195,.2); }.final-banner > span { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: #3b471d; }.final-banner > div { flex: 1; }.final-banner small { font-size: 9px; letter-spacing: 1.3px; opacity: .75; }.final-banner h2,.final-banner p { margin: 0; }.final-banner h2 { font-size: 20px; }.final-banner p { font-size: 12px; opacity: .8; }.detail-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 245px; gap: 18px; }.results-card { padding: 26px; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }.panel-heading h2 { margin: 4px 0 0; font-size: 22px; }.legend { display: flex; gap: 12px; color: var(--muted); font-size: 10px; }.legend span { display: inline-flex; align-items: center; gap: 4px; }.legend i { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }.legend .yes { background: var(--violet); }.legend .maybe { background: var(--amber); }.legend .no { background: var(--red); }.result-bars { display: grid; gap: 9px; }.result-row { display: grid; grid-template-columns: 50px minmax(160px,1fr) 64px 48px; align-items: center; gap: 13px; padding: 11px; border-radius: 12px; border: 1px solid transparent; }.result-row.best { background: #faf9ff; border-color: #d9d4fa; }.result-date { width: 44px; height: 49px; display: grid; place-content: center; text-align: center; border-radius: 10px; background: #f0eef5; color: #595667; }.result-row.best .result-date { background: var(--violet); color: white; }.result-date strong,.result-date span { display: block; }.result-date strong { font-size: 17px; line-height: 1; }.result-date span { font-size: 7px; font-weight: 850; letter-spacing: 1px; }.result-info { min-width: 0; }.result-info > div:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 7px; }.result-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }.result-info small { color: var(--violet); font-size: 8px; font-weight: 850; }.bar-track { height: 7px; display: flex; overflow: hidden; border-radius: 8px; background: #ebe9ef; }.bar-track i { display: block; height: 100%; }.bar-yes { background: var(--violet); }.bar-maybe { background: var(--amber); }.result-count b,.result-count small { display: block; }.result-count b { font-size: 18px; }.result-count small { color: var(--muted); font-size: 8px; }.choose-button { padding: 6px 8px; border: 1px solid #d9d5e4; border-radius: 7px; background: white; color: var(--violet); font-size: 9px; font-weight: 800; cursor: pointer; }.response-summary { padding: 26px; text-align: center; }.response-summary .eyebrow { text-align: left; }.big-ratio { margin-top: 22px; }.big-ratio b { font-size: 44px; line-height: 1; }.big-ratio span { color: var(--muted); font-size: 17px; }.response-summary > p { margin: 3px 0 20px; color: var(--muted); font-size: 11px; }.donut { --p:0; width: 104px; height: 104px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--violet) calc(var(--p)*1%),#ebe9ef 0); position: relative; }.donut::after { content:""; position: absolute; inset: 10px; border-radius: 50%; background: white; }.donut span { z-index: 1; font-weight: 850; font-size: 15px; }.matrix-wrap { overflow-x: auto; }.vote-matrix { width: 100%; border-collapse: collapse; white-space: nowrap; }.vote-matrix th,.vote-matrix td { min-width: 68px; padding: 13px 10px; text-align: center; border-bottom: 1px solid var(--line); font-size: 11px; }.vote-matrix tr:last-child th,.vote-matrix tr:last-child td { border-bottom: 0; }.vote-matrix thead th { background: #faf9fc; color: var(--muted); font-weight: 600; }.vote-matrix th:first-child { min-width: 180px; position: sticky; left: 0; z-index: 1; text-align: left; background: white; }.vote-matrix thead th:first-child { background: #faf9fc; z-index: 2; }.vote-matrix th strong,.vote-matrix th small { display: block; }.vote-matrix th small { color: var(--muted); font-size: 9px; font-weight: 500; }.vote-matrix thead th b,.vote-matrix thead th span,.vote-matrix thead th small { display: block; }.vote-matrix thead th b { font-size: 16px; color: var(--ink); }.vote-matrix thead th span { font-size: 8px; font-weight: 850; letter-spacing: .8px; }.matrix-choice { width: 27px; height: 27px; display: grid; place-items: center; margin: auto; border-radius: 50%; font-size: 12px; font-weight: 850; }.matrix-choice.yes { background: var(--green-soft); color: var(--green); }.matrix-choice.maybe { background: var(--amber-soft); color: #a87713; }.matrix-choice.no { background: var(--red-soft); color: var(--red); }.matrix-choice.empty { color: #c3c0ca; }.invite-status { padding: 5px 7px; border-radius: 7px; background: #f0eef4; color: #777483; font-size: 8px; font-weight: 800; text-transform: uppercase; }.invite-status.responded { background: var(--green-soft); color: #267752; }.invite-status.opened { background: var(--amber-soft); color: #916b16; }.comment-row td { padding: 5px 20px 12px; text-align: left; color: var(--muted); font-style: italic; font-size: 10px; }.invite-list { overflow: hidden; }.invite-row .copy-button { margin-left: auto; }

/* Guest ballot */
.vote-page .site-header { position: static; }.vote-page .guest-actions { display: none; }.vote-shell { max-width: 780px; margin: 0 auto; }.vote-head { margin-bottom: 25px; text-align: center; }.vote-head h1 { margin: 8px 0 8px; font-size: 43px; letter-spacing: -1.7px; }.vote-head > p { max-width: 610px; margin: 0 auto; color: var(--muted); white-space: pre-line; }.vote-head .detail-meta { justify-content: center; }.ballot { padding: 30px; }.ballot.disabled { opacity: .88; }.ballot-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }.ballot-intro h2 { margin: 3px 0 0; }.ballot-options { display: grid; gap: 10px; margin: 20px 0; }.ballot-options fieldset { margin: 0; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--line); border-radius: 14px; }.ballot-options legend { width: auto; min-width: 0; padding: 0; display: flex; align-items: center; gap: 12px; float: left; }.ballot-options legend > span:last-child { min-width: 0; }.ballot-options legend strong,.ballot-options legend small { display: block; }.ballot-options legend strong { max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }.ballot-options legend small { color: var(--muted); font-size: 10px; }.vote-choices { display: flex; flex-shrink: 0; gap: 5px; }.vote-choices label { cursor: pointer; }.vote-choices input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }.vote-choices label > span { width: 52px; height: 50px; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); border-radius: 10px; color: #85818f; font-size: 16px; font-weight: 850; transition: .15s; }.vote-choices span small { display: block; color: inherit; font-size: 8px; font-weight: 700; }.vote-choices input:checked + span.yes { border-color: var(--green); background: var(--green-soft); color: var(--green); }.vote-choices input:checked + span.maybe { border-color: var(--amber); background: var(--amber-soft); color: #a47512; }.vote-choices input:checked + span.no { border-color: var(--red); background: var(--red-soft); color: var(--red); }.closed-note { padding: 14px; border-radius: 10px; background: #f0eef4; color: var(--muted); text-align: center; font-size: 12px; }.guest-results { margin-top: 18px; padding: 27px; }.guest-result-row { display: grid; grid-template-columns: 1fr 180px 20px; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }.guest-result-row:last-child { border: 0; }.guest-result-row strong,.guest-result-row small { display: block; }.guest-result-row strong { font-size: 11px; }.guest-result-row small { color: var(--muted); font-size: 9px; }.guest-result-row > span { color: var(--violet); }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .desktop-nav { display:none; }.page-shell { width: min(100% - 28px, 700px); padding-top: 30px; }.hero { grid-template-columns: 1fr; min-height: auto; }.hero-copy { text-align: center; }.hero-copy > p { margin-left: auto; margin-right: auto; }.hero-actions,.trust-row { justify-content: center; }.hero-preview { max-width: 570px; margin: 30px auto; }.feature-strip { margin-top: 25px; }.feature-strip article { padding: 10px 18px; }.auth-wrap { grid-template-columns: 1fr; gap: 30px; }.auth-aside { display:none; }.auth-card { max-width: 500px; width: 100%; margin: 20px auto; }.event-grid { grid-template-columns: repeat(2,1fr); }.group-grid { grid-template-columns: repeat(2,1fr); }.form-layout { grid-template-columns: 1fr; }.create-summary { position: static; }.detail-grid { grid-template-columns: 1fr; }.response-summary { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }.response-summary .eyebrow { grid-column: 1/-1; }.result-row { grid-template-columns: 50px minmax(150px,1fr) 60px 44px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 73px; }.site-header { height: 64px; padding: 0 15px; }.brand { font-size: 19px; }.brand-mark { width: 30px; height: 28px; }.header-actions .button { display:none; }.guest-actions .button { display:inline-flex; }.page-shell { width: calc(100% - 24px); padding: 25px 0 45px; }.mobile-nav { height: 68px; padding: 6px max(20px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); background: rgba(255,255,255,.95); border-top: 1px solid var(--line); backdrop-filter: blur(15px); }.mobile-nav a { display: grid; place-content: center; text-align: center; gap: 0; color: #777486; font-size: 9px; font-weight: 700; }.mobile-nav a span { font-size: 20px; line-height: 1.1; }.mobile-nav .mobile-create { color: var(--violet); }.mobile-nav .mobile-create span { width: 39px; height: 39px; margin: -20px auto 0; display: grid; place-items: center; border: 4px solid var(--canvas); border-radius: 50%; background: var(--violet); color: white; box-sizing: content-box; }.landing-page .page-shell { padding-top: 40px; }.landing-page { padding-bottom: 0; }.hero { gap: 20px; }.hero-copy h1 { font-size: 46px; letter-spacing: -2.8px; }.hero-copy > p { font-size: 15px; }.hero-actions { flex-direction: column; }.trust-row { gap: 8px 15px; }.hero-preview { padding: 19px; transform: none; }.preview-head h2 { font-size: 19px; }.preview-option { grid-template-columns: 1fr 50px 20px; padding: 12px; }.preview-option strong { font-size: 12px; }.feature-strip { grid-template-columns: 1fr; }.feature-strip article { border-right: 0; border-bottom: 1px solid var(--line); }.auth-card { padding: 27px 22px; }.page-heading { align-items: center; }.page-heading h1 { font-size: 34px; }.compact-heading { align-items: flex-end; }.compact-heading .button { padding: 9px 12px; font-size: 12px; }.event-grid,.group-grid { grid-template-columns: 1fr; }.event-card { min-height: 285px; }.first-event { padding: 35px 20px; }.last-used { display:none; }.contact-row,.invite-row { padding: 11px; }.modal { width: calc(100% - 18px); }.modal-card { padding: 25px 19px; }.wizard-head { margin-top: -8px; }.wizard-head > small { display:none; }.form-hero h1 { font-size: 39px; }.form-section { padding: 20px 16px; grid-template-columns: 31px 1fr; gap: 10px; }.number-badge { width: 29px; height: 29px; font-size: 11px; }.two-cols { grid-template-columns: 1fr; }.option-row { grid-template-columns: 14px 1.3fr .9fr 28px; }.option-row label:nth-of-type(3),.option-label { grid-column: 2 / 4; }.option-row .remove-option { grid-column: 4; grid-row: 1; }.inline-list { grid-template-columns: 1fr; }.detail-head { align-items: center; }.detail-head .button { padding: 9px 11px; font-size: 11px; }.detail-title-row { display: grid; gap: 8px; }.detail-title-row h1 { font-size: 33px; }.final-banner { padding: 18px; flex-wrap: wrap; }.final-banner form { width: 100%; }.final-banner .button { width: 100%; }.results-card { padding: 18px 12px; }.panel-heading { align-items: end; }.result-row { grid-template-columns: 44px minmax(100px,1fr) 45px; gap: 8px; padding: 9px 5px; }.result-row form { grid-column: 2 / 4; }.choose-button { width: 100%; }.result-info small { display:none; }.result-count small { display:none; }.section-title > small { max-width: 130px; text-align: right; }.invite-row .copy-button { padding: 6px 8px; font-size: 9px; }.vote-page { padding-bottom: 0; }.vote-head h1 { font-size: 34px; }.ballot { padding: 20px 14px; }.ballot-intro { align-items: start; }.ballot-intro .legend { display: grid; gap: 3px; }.ballot-options fieldset { align-items: stretch; flex-direction: column; }.ballot-options legend { width: 100%; float: none; }.ballot-options legend strong { max-width: 220px; }.vote-choices { width: 100%; }.vote-choices label { flex: 1; }.vote-choices label > span { width: 100%; }.guest-results { padding: 20px 15px; }.guest-result-row { grid-template-columns: 1fr 85px 15px; }.toast { top: 72px; max-width: calc(100% - 24px); width: max-content; }.desktop-only { display:none!important; }
}

