/* Evently Afterparty: dark, bright, and happily over the top. */
:root {
  color-scheme: dark;
  --bg: #101019;
  --paper: #1a1926;
  --ink: #fbf5ff;
  --muted: #b7afc8;
  --line: #373147;
  --teal: #a8ffdf;
  --deep: #e64ba8;
  --mint: #a8ffdf;
  --red: #ff6e91;
  --amber: #ffd36e;
  --shadow: 0 16px 45px #05040d70;
  --radius: 22px;
  --party-pink: #ff59b8;
  --party-cyan: #66e6ff;
  --party-lime: #c7ff70;
  --party-purple: #a68bff;
  accent-color: var(--party-pink);
}

* { scrollbar-color: #514566 #171522; scrollbar-width: thin; }
body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 80% -10%, #63377844, transparent 35%),
    radial-gradient(ellipse at 5% 60%, #154b5540, transparent 35%), var(--bg);
  color: var(--ink);
  font: 15px/1.5 'Nunito', 'DM Sans', sans-serif;
}
body::before {
  position: fixed; inset: 0; z-index: -1; content: ''; pointer-events: none; opacity: .16;
  background-image: radial-gradient(#c7ff70 1px, transparent 1px), radial-gradient(#ff59b8 1px, transparent 1px);
  background-size: 42px 42px, 67px 67px; background-position: 0 0, 22px 19px;
}
button, input, textarea, select { font: inherit; }
button, a, select { cursor: pointer; }
button { transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease; }
button:active { transform: scale(.97); }
button:disabled { cursor: not-allowed; opacity: .62; transform: none !important; filter: none !important; }
:focus-visible { outline: 3px solid #72e9ff !important; outline-offset: 3px !important; }
.boot { color: #bdb5d2; }
.loader { border-color: #413752; border-top-color: var(--party-pink); }

/* Auth screens */
.auth-page { background: #12111b; grid-template-columns: minmax(300px, 1.1fr) minmax(380px, 560px); }
.auth-brand-panel {
  background: radial-gradient(circle at 76% 66%, #ff59b833 0 9%, transparent 9.5%),
    radial-gradient(circle at 90% 28%, #66e6ff33 0 7%, transparent 7.5%),
    linear-gradient(145deg, #28203c, #161522 65%, #1c2435);
  padding: 42px 7vw;
}
.auth-brand-panel::before { width: 360px; height: 360px; background: linear-gradient(135deg, #ff59b888, #a68bff77); left: auto; right: -155px; bottom: -150px; }
.auth-brand-panel::after { width: 180px; height: 180px; background: #c7ff7066; right: 13%; bottom: 8%; }
.brand { color: #fff; font: 1000 25px 'Nunito', sans-serif; letter-spacing: -1px; }
.brand svg { color: var(--party-lime); filter: drop-shadow(0 0 10px #c7ff7066); }
.brand-copy h1 { color: white; font: 1000 clamp(42px, 6vw, 76px)/.98 'Nunito', sans-serif; letter-spacing: -3px; }
.brand-copy p { color: #d4cae8; font-size: 17px; }
.auth-tagline { color: #b9a8dc; font-weight: 900; letter-spacing: 2px; }
.auth-card-wrap { background: radial-gradient(circle at 90% 10%, #a68bff15, transparent 30%); padding: 36px; }
.auth-card { max-width: 420px; }
.auth-card h2 { font: 1000 30px 'Nunito', sans-serif; letter-spacing: -.8px; }
.auth-card > p { color: var(--muted); font-size: 14px; }
.auth-tabs { padding: 5px; border-radius: 999px; background: #12111b; border: 1px solid #393149; }
.auth-tabs button { padding: 11px; border-radius: 999px; color: #b9afcb; font-size: 13px; }
.auth-tabs button.active { background: linear-gradient(100deg, #ff59b8, #a68bff); color: #1a1021; box-shadow: 0 5px 20px #ff59b844; }
.auth-switch, .auth-inline button, .link-btn { color: #ff8acd; }
.auth-error, .inline-error { color: #ff8fa7; }

/* Workspace frame */
.app-shell { background: transparent; }
.sidebar {
  width: 258px; padding: 24px 15px 14px; background: linear-gradient(180deg, #1a1727, #15141f 75%, #20182c);
  border-right: 1px solid #373047; box-shadow: 12px 0 45px #06050b35;
}
.sidebar .brand { padding: 1px 12px 27px; font-size: 23px; }
.ws-label, .nav-label { color: #9c91b3; font-size: 10px; letter-spacing: 1.7px; font-weight: 1000; }
.ws-select { margin: 10px 0 24px; border-radius: 17px; background: #242035; border: 1px solid #433958; padding: 8px 10px; min-height: 49px; }
.ws-select select { font-size: 13px; font-weight: 800; }
.ws-select option { background: #201d2b; color: #fff; }
.ws-select select { appearance: none; background-image: none; }
.ws-avatar { width: 32px; height: 32px; border-radius: 12px; background: linear-gradient(135deg, var(--party-lime), var(--party-cyan)); color: #192027; }
.nav-list { gap: 5px; }
.nav-link { min-height: 45px; border-radius: 14px; padding: 0 12px; font-size: 13px; font-weight: 800; color: #c2bad3; }
.nav-link svg { width: 17px; height: 17px; }
.nav-link:hover { background: #2a2538; color: white; transform: translateX(2px); }
.nav-link.active { background: linear-gradient(100deg, #ff59b833, #a68bff22); border: 1px solid #d955aa55; color: #fff; box-shadow: inset 3px 0 #ff59b8; }
.nav-link.active::before { display: none; }
.side-bottom .nav-link { margin-bottom: 9px; }
.profile { border-color: #373047; padding: 14px 7px 5px; }
.avatar { width: 34px; height: 34px; background: linear-gradient(135deg, #c7ff70, #66e6ff); color: #1b2026; font-size: 11px; }
.profile-copy { font-size: 12px; }
.profile-copy small { font-size: 10px; color: #b3a9c6; }
.main { margin-left: 258px; }
.topbar { position: sticky; top: 0; z-index: 4; height: 68px; padding: 0 34px; background: #14131eee; border-color: #302a40; backdrop-filter: blur(18px); }
.crumb { color: #b8afca; font-size: 13px; font-weight: 800; }
.top-actions { gap: 8px; }
.top-actions .icon-btn { width: 42px; height: 42px; border: 1px solid #393248; background: #1d1a2a; color: #e6dff2; border-radius: 14px; }
.top-actions .icon-btn:hover { border-color: #ff59b8; background: #2a2035; }
.top-actions .avatar { margin-left: 5px; }
.icon-btn { color: #c8bfd7; border-radius: 13px; width: 38px; height: 38px; }
.icon-btn:hover { background: #302a3f; color: #fff; }
.menu-toggle { display: none; }
.content { max-width: 1450px; padding: 34px 38px 32px; }
.page-head { align-items: center; margin-bottom: 24px; }
.eyebrow, .kicker { color: #a69bbd; font-size: 10px; letter-spacing: 1.7px; font-weight: 1000; }
.page-head h1 { font: 1000 clamp(27px, 3vw, 38px)/1.1 'Nunito', sans-serif; letter-spacing: -1px; margin: 7px 0; }
.page-head p { color: #b8afca; font-size: 14px; }
.head-actions { gap: 9px; flex-wrap: wrap; }

/* Candy buttons, panels, chips */
.button { min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 1000; letter-spacing: .1px; }
.button svg { width: 17px; height: 17px; }
.primary { background: linear-gradient(110deg, #ff59b8, #ff8d78 55%, #ffc368); border: 0; color: #251327; box-shadow: 0 7px 22px #ff59b844; }
.primary:hover { background: linear-gradient(110deg, #ff75c5, #ffa080 55%, #ffda82); transform: translateY(-2px); filter: saturate(1.12); }
.secondary { background: #252134; border: 1px solid #49405d; color: #f0eaff; }
.secondary:hover { background: #332940; border-color: #ff74c4; transform: translateY(-2px); }
.danger { background: #3a1d33; border: 1px solid #813856; color: #ffabc4; }
.full { width: 100%; }
.small-btn { min-height: 34px; padding: 6px 12px; border: 1px solid #484058; border-radius: 999px; background: #252134; color: #e8e0f4; font-size: 11px; font-weight: 900; }
.small-btn:hover { background: #342940; border-color: #ff67bd; }
.auth-card .button { min-height: 48px; }
.card { position: relative; overflow: hidden; background: linear-gradient(145deg, #201e2e 0%, #1a1926 72%); border: 1px solid #393349; border-radius: 22px; padding: 19px; box-shadow: 0 12px 35px #05040b38; }
.card:hover { border-color: #615075; box-shadow: 0 18px 42px #05040b55; }
.metric { min-height: 143px; border-radius: 24px; }
.metrics .metric:nth-child(4n+1) .metric-icon { background: #ff59b825; color: #ff8dcc; }
.metrics .metric:nth-child(4n+2) .metric-icon { background: #66e6ff20; color: #80eaff; }
.metrics .metric:nth-child(4n+3) .metric-icon { background: #c7ff701e; color: #cbff81; }
.metrics .metric:nth-child(4n+4) .metric-icon { background: #a68bff24; color: #c1afff; }
.metric-icon { width: 38px; height: 38px; border-radius: 15px; background: #2e293c; color: #ffc0e3; }
.metric-icon svg { width: 19px; }
.metric-label { color: #b7afc8; font-size: 12px; font-weight: 900; }
.metric-value { font: 1000 30px 'Nunito', sans-serif; letter-spacing: -1px; }
.metric-note { color: #aaa1bc; font-size: 11px; }
.card-head h2, .section-head h2 { font: 1000 19px 'Nunito', sans-serif; letter-spacing: -.3px; }
.muted { color: #b5acc7; font-size: 12px; }
.status, .pill { border-radius: 999px; padding: 5px 10px; font-size: 10px; font-weight: 1000; background: #262538; color: #d7c9ff; }
.status { background: #16342f; color: #a8ffdf; }
.status::before { width: 7px; height: 7px; background: #75ffc7; box-shadow: 0 0 9px #75ffc7; }
.pill.red { background: #492333; color: #ff9caf; }
.pill.amber { background: #45351e; color: #ffe093; }
.pill.green { background: #16372f; color: #a8ffdf; }
.pill.blue { background: #202b4c; color: #a9c8ff; }
.event-meta { color: #c0b7d0; font-size: 12px; }
.progress-line { height: 10px; background: #302b3d; }
.progress-line i { background: linear-gradient(90deg, #61e2ff, #c7ff70, #ff59b8); }
.progress-legend { color: #b7adc7; }
.event-footer { border-color: #373147; }
.donut::before { background: var(--paper); }
.donut b { font: 1000 21px 'Nunito', sans-serif; }
.att-row { color: #b8afc9; font-size: 12px; }
.att-row b { color: #fff; }
.section-head { margin: 29px 0 15px; }
.section-head h2 { font-size: 20px; }
.row { border-color: #343044; min-height: 56px; }
.row-main b { font-size: 12px; color: #f4edff; }
.row-main small { font-size: 10px; color: #b3a9c5; }
.row-time { color: #b7adc9; }
.row-icon { width: 34px; height: 34px; border-radius: 13px; background: #29243a; color: #bca9ff; }
.row-icon svg { width: 17px; }
.risk-callout { background: #252a3b; color: #dbd2f0; border: 1px solid #403954; border-radius: 15px; padding: 14px; font-size: 12px; }
.empty-state { border: 1px dashed #534766; border-radius: 23px; color: #b7aec9; background: #1a1825; }
.empty-state .empty-icon { width: 52px; height: 52px; border-radius: 18px; background: #302640; color: #ff8bcc; }
.empty-state h2 { font: 1000 21px 'Nunito', sans-serif; color: #fff; }
.empty-state p { font-size: 13px; }
.event-card { border-radius: 25px; gap: 10px; }
.event-card h2, .card h2 { font: 1000 19px 'Nunito', sans-serif; }
.event-card .event-footer { border-color: #3a334b; }
.event-card:nth-child(3n+1) { background: radial-gradient(circle at 96% 4%, #ff59b81d, transparent 36%), linear-gradient(145deg, #221d31, #1a1926); }
.event-card:nth-child(3n+2) { background: radial-gradient(circle at 96% 4%, #66e6ff1c, transparent 36%), linear-gradient(145deg, #1d2431, #1a1926); }
.event-card:nth-child(3n) { background: radial-gradient(circle at 96% 4%, #c7ff7017, transparent 36%), linear-gradient(145deg, #23242d, #1a1926); }

/* Inputs and decorative selectors */
.field { gap: 7px; color: #ddd4ed; font-size: 12px; font-weight: 1000; }
.field input, .field select, .field textarea, .control, .toolbar select {
  width: 100%; min-height: 45px; border: 1px solid #453d57; border-radius: 14px; background-color: #171521; color: #fff; padding: 10px 13px; font-size: 13px; outline: 0;
}
.field select, .toolbar select, select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d6c4ed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; padding-right: 39px;
}
.field select option, .toolbar select option { background: #1b1927; color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus, .control:focus, .toolbar select:focus { border-color: #ff70c3; box-shadow: 0 0 0 4px #ff59b81c; }
.field input::placeholder { color: #80778f; }
.field textarea { min-height: 105px; }
.search { height: 43px; width: 260px; border-radius: 999px; background: #171521; border-color: #423a53; padding: 0 15px; }
.search svg { color: #bba9d6; }
.search input { font-size: 12px; color: #fff; }
.search input::placeholder { color: #9188a1; }
.toolbar { gap: 10px; }
.toolbar .search { width: 260px; }
.toolbar select { width: auto; min-width: 145px; }
.check-field { color: #e8e0f1; }
.check-field input { width: 20px; height: 20px; accent-color: #ff59b8; }
.form-grid { gap: 16px; }
.form-two { gap: 13px; }
.discover-search { width: min(100%, 550px); margin-bottom: 20px; }

/* Tables, tasks, camera */
.data-table-wrap { border: 1px solid #373147; border-radius: 17px; background: #191724; }
.data-table { min-width: 720px; }
.data-table th { background: #242032; color: #b8adca; padding: 12px; font-size: 10px; letter-spacing: .4px; }
.data-table td { border-color: #332f40; color: #e3dced; padding: 12px; font-size: 12px; }
.data-table tr:hover td { background: #242033; }
.table-title { color: #fff; }
.toolbar .muted { font-size: 12px; }
.kanban { gap: 13px; }
.kanban-col { padding: 13px; border: 1px solid #3b344a; border-radius: 21px; background: #1c1a27; }
.kanban-head { font-size: 13px; }
.task-card { padding: 14px; background: #262234; border: 1px solid #403950; border-radius: 17px; box-shadow: 0 6px 20px #08071140; }
.task-card b { font-size: 12px; color: #fff; }
.task-card small { color: #b6abc8; font-size: 10px; }
.task-card select { background-color: #201d2c; color: #eee; }
.scanner-box { border: 1px dashed #6d5786; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #47264c, #151420 70%); min-height: 320px; }
.scanner-inner p { color: #d5c7e5; }
.scanner-inner svg { color: #ff8bcf; filter: drop-shadow(0 0 12px #ff59b855); }
#qrRegion { width: 100%; max-width: 520px; }
#qrRegion video { border-radius: 15px; }

/* Custom popups and feedback */
.dialog { width: min(560px, calc(100vw - 28px)); max-height: min(88vh, 860px); overflow: auto; border: 1px solid #524466; border-radius: 28px; background: linear-gradient(145deg, #272136, #181622 70%); color: #fff; box-shadow: 0 35px 120px #05040cbb; }
.dialog::backdrop { background: #080710c9; backdrop-filter: blur(9px); }
.dialog form, .dialog-body { padding: 26px; }
.dialog-head { margin-bottom: 21px; }
.dialog-head h2 { font: 1000 23px 'Nunito', sans-serif; }
.dialog-head .kicker { color: #ff91d2; }
.dialog-actions { margin-top: 24px; padding-top: 17px; border-top: 1px solid #3a334a; }
.notice { padding: 13px 15px; background: #332b1e; border: 1px solid #66512b; border-radius: 15px; color: #ffe29a; font-size: 12px; }
.auth-error, .inline-error { font-size: 12px; }
.toast-region { right: 22px; bottom: 22px; gap: 10px; }
.toast { min-height: 48px; padding: 12px 17px; border: 1px solid #584266; border-radius: 18px; background: linear-gradient(105deg, #32233c, #211d32); box-shadow: 0 16px 44px #08050c99; font-size: 13px; font-weight: 900; }
.toast svg { color: #ff83cb; }
.cert-preview { border: 7px double #d9b873; background: linear-gradient(135deg, #fff9dd, #f5d88b); color: #37283d; border-radius: 12px; }
.cert-preview h2 { font-family: Georgia; }
.link-btn { font-size: 12px; font-weight: 1000; }
.nav-badge { border-radius: 999px; background: #582449; color: #ffc3e6; }
[style*="#fae9e5"], [style*="#f8e9e5"] { background-color: #492333 !important; color: #ff9caf !important; }
[style*="#faf1df"], [style*="#fff5e4"] { background-color: #45351e !important; color: #ffe093 !important; }
[style*="#e7f3eb"] { background-color: #16372f !important; color: #a8ffdf !important; }

/* Organizer plan cards */
.paywall-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 260px; padding: 38px; border: 1px solid #634061; border-radius: 30px; background: radial-gradient(circle at 85% 20%, #ffca6e44 0 7%, transparent 7.5%), radial-gradient(circle at 72% 90%, #65e8ff38 0 11%, transparent 11.5%), linear-gradient(115deg, #302044, #512a62 55%, #253651); box-shadow: 0 20px 54px #08050e77; }
.paywall-copy { position: relative; z-index: 2; max-width: 650px; }
.paywall-copy h2 { font: 1000 clamp(34px, 5vw, 58px)/.98 'Nunito', sans-serif; letter-spacing: -1.5px; margin: 19px 0 10px; }
.paywall-copy h2 em { font-style: normal; color: #ffc86e; }
.paywall-copy p { color: #e2d4ef; font-size: 15px; }
.plan-tier-tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #16142088; border: 1px solid #f7ce7d66; color: #ffe095; font-size: 10px; font-weight: 1000; letter-spacing: 1.2px; }
.paywall-orbit { position: absolute; z-index: -1; border: 1px solid #f9b9e344; border-radius: 50%; width: 340px; height: 340px; right: 4%; top: -40px; box-shadow: 0 0 0 24px #f9b9e30b, 0 0 0 50px #f9b9e307; }
.orbit-two { width: 220px; height: 220px; right: 15%; top: 25px; border-color: #83e9ff55; }
.paywall-sticker { position: absolute; right: 9%; top: 37%; display: grid; place-content: center; text-align: center; width: 95px; height: 95px; border-radius: 30px 50% 45% 50%; transform: rotate(12deg); background: linear-gradient(135deg, #c7ff70, #60e7c7); color: #201c31; font-size: 30px; box-shadow: 0 12px 30px #11182777; }
.paywall-sticker b { font-size: 12px; line-height: 1; }
.plan-current { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 18px 0; color: #e9e1f3; font-size: 13px; }
.plan-current .muted { max-width: 490px; text-align: right; }
.plan-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #c7ff70; box-shadow: 0 0 12px #c7ff70; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { position: relative; overflow: hidden; padding: 22px; border: 1px solid #40394f; border-radius: 25px; background: linear-gradient(145deg, #211e2e, #191824); box-shadow: 0 12px 30px #05040b4a; }
.plan-card.selected { border-color: #c7ff70; box-shadow: 0 0 0 2px #c7ff7022, 0 16px 38px #05040b65; }
.plan-card h3 { font: 1000 23px 'Nunito', sans-serif; margin: 13px 0 2px; }
.plan-blurb { min-height: 40px; margin: 0; color: #bdb4cc; font-size: 12px; }
.plan-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 16px; background: #30283d; color: #ff8dce; }
.plan-icon svg { width: 22px; }
.plan-price { margin: 18px 0 15px; font: 1000 34px 'Nunito', sans-serif; letter-spacing: -1px; }
.plan-price small { font: 900 12px 'Nunito', sans-serif; color: #b7adc7; letter-spacing: 0; }
.plan-card ul { display: grid; gap: 11px; list-style: none; margin: 0 0 23px; padding: 0; }
.plan-card li { display: flex; align-items: center; gap: 9px; color: #e1d9eb; font-size: 12px; font-weight: 800; }
.plan-card li svg { width: 16px; height: 16px; color: #c7ff70; }
.plan-pink { background: radial-gradient(circle at 100% 0, #ff59b81e, transparent 43%), linear-gradient(145deg, #282032, #191824); }
.plan-violet { background: radial-gradient(circle at 100% 0, #a68bff20, transparent 43%), linear-gradient(145deg, #242035, #191824); }
.plan-mint { background: radial-gradient(circle at 100% 0, #c7ff7018, transparent 43%), linear-gradient(145deg, #22252e, #191824); }
.popular-ribbon { position: absolute; right: -35px; top: 17px; transform: rotate(36deg); width: 140px; text-align: center; padding: 5px 0; background: #ff59b8; color: #241427; font-size: 9px; font-weight: 1000; letter-spacing: .6px; }
.plan-confirm { text-align: center; padding: 12px 5px; }
.plan-confirm h3 { font: 1000 24px 'Nunito', sans-serif; }
.plan-confirm p { color: #c0b6d0; font-size: 13px; line-height: 1.6; }

@media (max-width: 1100px) {
  .sidebar { width: 230px; } .main { margin-left: 230px; } .content { padding: 28px 24px; }
  .plan-grid { gap: 11px; } .plan-card { padding: 18px; }
}
@media (max-width: 850px) {
  .sidebar { width: 258px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 40px #05040caa; }
  .sidebar.open { transform: translateX(0); } .main { margin-left: 0; } .menu-toggle { display: grid; }
  .mobile-backdrop.open { background: #080710c9; backdrop-filter: blur(4px); }
  .topbar { height: 62px; padding: 0 18px; } .content { padding: 25px 18px; }
  .plan-grid { grid-template-columns: 1fr 1fr; } .plan-card:last-child { grid-column: 1 / -1; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panels, .section-grid, .scanner-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .auth-page { grid-template-columns: 1fr; } .auth-brand-panel { min-height: 210px; padding: 22px 24px; }
  .auth-brand-panel::before { width: 230px; height: 230px; right: -100px; bottom: -120px; }
  .brand-copy { margin: 20px 0 0; } .brand-copy h1 { font-size: 38px; letter-spacing: -1.7px; }
  .brand-copy p { font-size: 14px; } .auth-tagline { display: none; } .auth-card-wrap { padding: 27px 21px; }
  .auth-card h2 { font-size: 26px; } .content { padding: 22px 12px; }
  .page-head { align-items: flex-start; gap: 12px; flex-direction: column; } .page-head h1 { font-size: 29px; }
  .head-actions { width: 100%; flex-wrap: wrap; } .head-actions .button { flex: 1 1 auto; }
  .metrics { gap: 9px; } .metric { min-height: 124px; padding: 14px; } .metric-value { font-size: 27px; }
  .card { padding: 15px; border-radius: 20px; } .topbar { padding: 0 11px; } .crumb { font-size: 11px; }
  .top-actions { gap: 3px; } .top-actions .icon-btn { width: 34px; height: 34px; } .top-actions .avatar { display: none; }
  .search { width: 42px; padding: 0; justify-content: center; border: 0; background: transparent; }
  .search input { display: none; } .search:focus-within { position: absolute; left: 55px; right: 105px; width: auto; z-index: 2; background: #171521; border: 1px solid #514363; padding: 0 12px; }
  .search:focus-within input { display: block; } .toolbar .search { width: 42px; }
  .toolbar select { min-width: 130px; } .form-two { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; } .plan-card:last-child { grid-column: auto; }
  .paywall-hero { min-height: 300px; padding: 25px 21px; } .paywall-copy h2 { font-size: 39px; }
  .paywall-sticker { right: 9%; top: auto; bottom: 20px; width: 72px; height: 72px; border-radius: 25px; font-size: 23px; }
  .plan-current { align-items: flex-start; flex-direction: column; } .plan-current .muted { text-align: left; }
  .dialog { border-radius: 23px; } .dialog form, .dialog-body { padding: 20px; }
  .dialog-actions { flex-wrap: wrap; } .dialog-actions .button { flex: 1; }
  .toast-region { left: 12px; right: 12px; bottom: 12px; } .toast { max-width: none; }
  .data-table { min-width: 690px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.paywall-mini-plan { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; max-width: 360px; margin: 18px auto 4px; padding: 16px 18px; text-align: left; border: 1px solid #e68fdc66; border-radius: 20px; background: linear-gradient(135deg,#392542,#2a2340); box-shadow: 0 10px 28px #100b1d66; }
.paywall-mini-plan b { color: #ffb8ed; font-size: 16px; }
.paywall-mini-plan strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #ffe082; font-size: 21px; }
.paywall-mini-plan small { color: #c0b6d0; font-size: 11px; }
.paywall-mini-plan span { color: #c0b6d0; font-size: 12px; }

/* Community chat shares the workspace's dark card and input language. */
.community-panel { display: block; }
.community-room {
  overflow: hidden;
  border: 1px solid #393349;
  border-radius: 22px;
  background: linear-gradient(145deg, #201e2e 0%, #1a1926 72%);
  box-shadow: 0 12px 35px #05040b38;
}
.community-room-header {
  gap: 13px;
  padding: 18px 20px;
  border-bottom: 1px solid #373147;
  background: linear-gradient(105deg, #ff59b80d, #a68bff0b 55%, transparent);
}
.community-room-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #ff59b833;
  border-radius: 14px;
  background: #ff59b817;
  color: #ff9ad4;
}
.community-room-icon svg { width: 19px; height: 19px; }
.community-room-header h2 {
  color: #fbf5ff;
  font: 1000 16px 'Nunito', sans-serif;
  letter-spacing: -.2px;
}
.community-room-header p { color: #b7afc8; font-size: 12px; }
.community-room-badge {
  padding: 5px 9px;
  border: 1px solid #51405d;
  border-radius: 999px;
  background: #272033;
  color: #d7b4e7;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .8px;
}
.community-feed {
  min-height: 310px;
  max-height: min(54vh, 580px);
  gap: 18px;
  padding: 22px;
  background: #171521;
}
.community-message {
  max-width: min(88%, 760px);
  gap: 10px;
}
.community-message.mine { background: transparent; }
.community-avatar {
  width: 32px;
  height: 32px;
  border: 1px solid #514363;
  background: linear-gradient(135deg, #302940, #242235);
  color: #d4b9ff;
  font-size: 10px;
  font-weight: 1000;
}
.community-message.mine .community-avatar {
  border-color: #714163;
  background: linear-gradient(135deg, #42283e, #2d2338);
  color: #ffaad9;
}
.community-message-content {
  padding: 10px 13px;
  border: 1px solid #393349;
  border-radius: 4px 16px 16px 16px;
  background: #211e2d;
  box-shadow: 0 5px 15px #05040b26;
}
.community-message.mine .community-message-content {
  border-color: #59405a;
  border-radius: 16px 4px 16px 16px;
  background: linear-gradient(135deg, #2c2337, #282132);
}
.community-message-head { gap: 10px; }
.community-message-head b { color: #f5efff; font: 1000 12px 'Nunito', sans-serif; }
.community-message-head small { color: #a69bbd; font-size: 10px; }
.community-message-head time { color: #988da9; font-size: 9px; }
.community-message-head .small-btn {
  width: 28px;
  height: 28px;
  min-height: 28px;
  margin: -4px -5px -4px 0;
  padding: 5px;
  border-radius: 9px;
}
.community-message-content>p {
  margin: 5px 0 0;
  color: #ded6eb;
  font-size: 13px;
  line-height: 1.55;
}
.community-composer {
  padding: 16px 20px 19px;
  border: 0;
  border-top: 1px solid #373147;
  border-radius: 0;
  background: #1a1926;
  box-shadow: none;
}
.community-composer-label { margin-bottom: 8px; }
.community-composer-label label { color: #e7def3; font-size: 12px; font-weight: 1000; }
.community-composer-label small { color: #978ca8; font-size: 10px; }
.community-room .community-composer textarea {
  min-height: 90px;
  padding: 11px 14px;
  border: 1px solid #453d57;
  border-radius: 14px;
  background: #171521;
  color: #fbf5ff;
  font-size: 13px;
}
.community-room .community-composer textarea::placeholder { color: #80778f; }
.community-room .community-composer textarea:focus {
  border-color: #ff70c3;
  box-shadow: 0 0 0 4px #ff59b81c;
}
.community-composer .composer-footer { margin-top: 11px; }
.community-composer .composer-footer .muted { color: #a69bbd; font-size: 11px; }
.community-feed>.empty-state {
  align-self: center;
  margin: auto;
  background: #1a1825;
}
.community-feed>.empty-state .empty-icon { background: #302640; color: #ff8bcc; }

@media (max-width: 560px) {
  .community-room-header { padding: 14px; }
  .community-room-header p { max-width: 235px; }
  .community-room-badge { padding: 4px 7px; font-size: 8px; }
  .community-feed { min-height: 260px; max-height: 56vh; gap: 14px; padding: 16px 12px; }
  .community-message { max-width: 100%; gap: 7px; }
  .community-avatar { width: 28px; height: 28px; }
  .community-message-content { padding: 9px 10px; }
  .community-message-head { gap: 6px; }
  .community-message-head time { font-size: 8px; }
  .community-composer { padding: 14px; }
  .community-composer .composer-footer { align-items: stretch; flex-direction: column; }
  .community-composer .composer-footer .button { width: 100%; }
}

/* Shared workspace polish */
:root {
  --bg: #11131a;
  --paper: #1a1d26;
  --ink: #edf0f6;
  --muted: #a0a7b6;
  --line: #303542;
  --teal: #83dfd0;
  --deep: #ce79bd;
  --mint: #203b39;
  --shadow: 0 8px 24px #080a101f;
  --radius: 15px;
}
body {
  background: #11131a;
  color: var(--ink);
  font: 14px/1.55 'DM Sans', sans-serif;
}
body::before { display: none; }
b, strong { font-weight: 700; }
.sidebar {
  background: #171a22;
  border-color: #292e39;
  box-shadow: none;
}
.sidebar .brand {
  font: 800 22px 'Manrope', sans-serif;
  letter-spacing: -.7px;
}
.sidebar .brand svg { filter: none; }
.ws-label, .nav-label {
  color: #858d9d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.ws-select {
  min-height: 42px;
  border-color: #343a48;
  border-radius: 10px;
  background: #1e222c;
}
.ws-avatar {
  border-radius: 9px;
  background: #293c3a;
  color: #a2e6dc;
}
.nav-list { gap: 3px; }
.nav-link {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #b2b8c5;
  font-size: 12px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.nav-link:hover { transform: none; background: #222731; color: #f5f6f9; }
.nav-link.active {
  border-color: #3c3447;
  background: #282331;
  color: #f5eaf4;
  box-shadow: inset 2px 0 #d995c8;
}
.nav-link.active::before { display: none; }
.avatar {
  background: #30413f;
  color: #b9e4da;
}
.profile { border-color: #303542; }
.main { min-width: 0; }
.topbar {
  height: 62px;
  background: #151820ed;
  border-color: #292e39;
  backdrop-filter: blur(12px);
}
.crumb { color: #a0a7b6; font-size: 12px; font-weight: 600; }
.top-actions .icon-btn, .icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #b7bdc9;
}
.top-actions .icon-btn:hover, .icon-btn:hover {
  border-color: #343a48;
  background: #222630;
  color: #f4f5f8;
}
.top-actions .avatar { margin-left: 2px; }
.content { max-width: 1400px; padding: 30px 34px 32px; }
.page-head { align-items: flex-end; margin-bottom: 22px; }
.eyebrow, .kicker {
  color: #9299a9;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.15px;
}
.page-head h1 {
  color: #f0f2f7;
  font: 700 clamp(25px, 2.5vw, 32px)/1.2 'Manrope', sans-serif;
  letter-spacing: -.8px;
}
.page-head p { color: #a3aab8; font-size: 13px; }
.head-actions { gap: 8px; }
.button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  font: 600 12px 'DM Sans', sans-serif;
  letter-spacing: 0;
  box-shadow: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.button svg { width: 15px; height: 15px; }
.button:active { transform: none; }
.primary, .primary:hover {
  border: 1px solid #c77db6;
  background: #c77db6;
  color: #211723;
  box-shadow: none;
  filter: none;
}
.primary:hover { border-color: #d696c6; background: #d696c6; transform: none; }
.secondary, .secondary:hover {
  border: 1px solid #3b414f;
  background: #222630;
  color: #e0e4ed;
}
.secondary:hover { border-color: #535b6b; background: #292e39; transform: none; }
.danger {
  border-color: #68404d;
  background: #34232b;
  color: #f0acba;
}
.small-btn, .small-btn:hover {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #3b414f;
  border-radius: 8px;
  background: #222630;
  color: #d3d8e2;
  font-size: 11px;
  font-weight: 600;
}
.small-btn:hover { border-color: #535b6b; background: #292e39; }
.card, .card:hover {
  border: 1px solid #303542;
  border-radius: 15px;
  background: #1a1d26;
  box-shadow: 0 5px 18px #080a101a;
}
.card:hover { border-color: #414857; }
.metric { min-height: 132px; border-radius: 15px; }
.metric-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #394c4a;
  border-radius: 10px;
  background: #222f30;
  color: #9ddfd5;
}
.metrics .metric:nth-child(4n+1) .metric-icon,
.metrics .metric:nth-child(4n+2) .metric-icon,
.metrics .metric:nth-child(4n+3) .metric-icon,
.metrics .metric:nth-child(4n+4) .metric-icon {
  border-color: #394c4a;
  background: #222f30;
  color: #9ddfd5;
}
.metric-label { color: #a5acba; font-size: 11px; font-weight: 600; }
.metric-value { font: 700 26px 'Manrope', sans-serif; letter-spacing: -.5px; }
.metric-note { color: #9ba3b2; font-size: 10px; }
.card-head h2, .section-head h2, .event-card h2, .card h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -.2px;
}
.card-head h2, .section-head h2 { font-size: 16px; }
.event-card h2, .card h2 { font-size: 17px; }
.muted { color: #a0a7b6; font-size: 11px; }
.status, .pill {
  border: 1px solid #39404d;
  border-radius: 7px;
  padding: 4px 8px;
  background: #242833;
  color: #d6dbe5;
  font-size: 10px;
  font-weight: 600;
}
.status { border-color: #35534c; background: #20312f; color: #a9dfd1; }
.status::before { box-shadow: none; }
.pill.red { border-color: #573942; background: #34262c; color: #e5a5b1; }
.pill.amber { border-color: #594c36; background: #332e24; color: #dfc58d; }
.pill.green { border-color: #35534c; background: #20312f; color: #a9dfd1; }
.pill.blue { border-color: #394a60; background: #242d3a; color: #adc7e7; }
.event-card { border-radius: 15px; }
.event-card:nth-child(3n+1), .event-card:nth-child(3n+2), .event-card:nth-child(3n) {
  background: #1a1d26;
}
.event-tags .pill { border-color: #354541; background: #222e2d; color: #a8d5ca; }
.event-footer { border-color: #303542; }
.section-head { margin: 25px 0 12px; }
.row { border-color: #303542; }
.row-main b, .row-main small { color: #dce0e9; }
.row-main b { font-weight: 600; }
.row-main small { color: #a0a7b6; }
.row-icon {
  width: 32px;
  height: 32px;
  border: 1px solid #39424f;
  border-radius: 9px;
  background: #242a34;
  color: #aab8d0;
}
.empty-state {
  border-color: #3a414e;
  border-radius: 15px;
  background: #191c24;
  color: #aab1bf;
}
.empty-state .empty-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #3d3948;
  border-radius: 12px;
  background: #292532;
  color: #d4a0c9;
}
.empty-state h2 { color: #edf0f6; font: 700 18px 'Manrope', sans-serif; }
.empty-state p { font-size: 12px; }
.field { gap: 6px; color: #cdd2dd; font-size: 12px; font-weight: 600; }
.field input, .field select, .field textarea, .control, .toolbar select, select {
  min-height: 40px;
  border: 1px solid #373d4a;
  border-radius: 9px;
  background-color: #171a22;
  color: #edf0f6;
  padding: 9px 11px;
  font: 400 13px 'DM Sans', sans-serif;
}
.field select, .toolbar select, select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23aeb7c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 15px;
}
.ws-select select { min-height: auto; padding: 0 22px 0 0; border: 0; background: transparent; }
.field select option, .toolbar select option, select option { background: #1a1d26; color: #edf0f6; }
.field input:focus, .field select:focus, .field textarea:focus, .control:focus, .toolbar select:focus, select:focus {
  border-color: #8c77a1;
  box-shadow: 0 0 0 3px #b980b51c;
}
.field input::placeholder, .field textarea::placeholder { color: #818998; }
.field textarea { min-height: 100px; }
.search {
  border: 1px solid #373d4a;
  border-radius: 9px;
  background: #171a22;
}
.search svg { color: #919aaa; }
.search input { color: #edf0f6; }
.search input::placeholder { color: #818998; }
.data-table-wrap { border-color: #303542; border-radius: 12px; background: #191c24; }
.data-table th { background: #222630; color: #aeb5c2; }
.data-table td { border-color: #303542; color: #d7dce5; }
.data-table tr:hover td { background: #222630; }
.table-title { color: #edf0f6; }
.kanban-col { border-color: #303542; border-radius: 14px; background: #191c24; }
.task-card {
  border-color: #343a47;
  border-radius: 11px;
  background: #222630;
  box-shadow: none;
}
.task-card b { color: #edf0f6; font-weight: 600; }
.task-card small { color: #a0a7b6; }
.task-card select { background-color: #171a22; }
.scanner-box {
  border-color: #484452;
  border-radius: 16px;
  background: #191c24;
}
.scanner-inner svg { filter: none; }
.dialog {
  border-color: #414754;
  border-radius: 17px;
  background: #1c1f28;
  box-shadow: 0 24px 70px #05060a99;
}
.dialog-head h2 { font: 700 22px 'Manrope', sans-serif; }
.dialog-head .kicker { color: #c88cb8; }
.dialog-actions { border-color: #343a47; }
.notice { border-radius: 10px; }
.toast {
  border-color: #414754;
  border-radius: 11px;
  background: #222630;
  box-shadow: 0 12px 35px #05060a66;
  font-size: 12px;
  font-weight: 600;
}
.toast svg { color: #c88cb8; }
.link-btn { font-size: 12px; font-weight: 600; }
.nav-badge { border: 1px solid #5a394d; border-radius: 6px; background: #342630; color: #e8b6d3; }
.paywall-hero {
  border-color: #484051;
  border-radius: 18px;
  background: linear-gradient(120deg, #30273a, #262536 65%, #202b35);
  box-shadow: 0 10px 28px #080a102f;
}
.paywall-copy h2 { font: 700 clamp(32px, 4vw, 48px)/1.05 'Manrope', sans-serif; letter-spacing: -1px; }
.paywall-sticker { transform: none; box-shadow: 0 8px 20px #080a1033; }
.plan-card {
  border-color: #303542;
  border-radius: 15px;
  background: #1a1d26;
  box-shadow: none;
}
.plan-card.selected { border-color: #83998e; box-shadow: 0 0 0 1px #83998e33; }
.plan-card h3 { font: 700 21px 'Manrope', sans-serif; }
.plan-price { font: 700 32px 'Manrope', sans-serif; }
.plan-pink, .plan-violet, .plan-mint { background: #1a1d26; }
.popular-ribbon { background: #c77db6; color: #211723; }
.plan-dot { box-shadow: none; }
.dialog, .community-room, .card, .plan-card { scroll-margin-top: 76px; }
.brand { text-decoration: none; }
.auth-page {
  background: #11131a;
  grid-template-columns: minmax(300px, 1fr) minmax(380px, 520px);
}
.auth-brand-panel {
  background: linear-gradient(145deg, #202530, #171a22 75%);
  padding: 38px 7vw;
}
.auth-brand-panel::before {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #83dfd022, #c77db622);
  right: -140px;
  bottom: -170px;
  left: auto;
}
.auth-brand-panel::after { display: none; }
.brand-copy h1 {
  color: #f0f2f7;
  font: 700 clamp(38px, 5vw, 58px)/1.06 'Manrope', sans-serif;
  letter-spacing: -1.8px;
}
.brand-copy p { color: #b4bbc8; font-size: 15px; }
.auth-tagline { color: #929aab; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.auth-card-wrap { background: #14171f; }
.auth-card h2 {
  color: #edf0f6;
  font: 700 25px 'Manrope', sans-serif;
  letter-spacing: -.4px;
}
.auth-card>p { color: #a0a7b6; font-size: 13px; }
.auth-tabs {
  border: 1px solid #303542;
  border-radius: 10px;
  background: #191c24;
}
.auth-tabs button {
  border-radius: 7px;
  color: #a0a7b6;
  font: 600 12px 'DM Sans', sans-serif;
}
.auth-tabs button.active {
  border: 1px solid #414754;
  background: #28232d;
  color: #f0e5ef;
  box-shadow: none;
}
.auth-inline { color: #a0a7b6; font-size: 11px; }
.auth-inline button, .auth-switch, .link-btn { color: #d596c7; }
.auth-switch { font-size: 11px; }
.auth-card .button { min-height: 42px; }
.auth-card .field { font-size: 12px; }
.auth-error, .inline-error { color: #e8a3ad; }
.community-room-header h2, .community-message-head b {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.community-composer-label label { font-family: 'DM Sans', sans-serif; font-weight: 600; }
.attendee-upcoming { display: flex; flex-direction: column; align-items: flex-start; }
.attendee-upcoming h2 { margin: 8px 0 2px; }
.attendee-upcoming>p { margin: 0 0 12px; }
.attendee-upcoming-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: auto;
}
.attendee-upcoming-actions .button { margin-left: auto; }
.attendee-upcoming-actions>.muted { flex-basis: 100%; margin: 0; }
::selection { background: #71526f; color: #fff; }

@media (max-width: 850px) {
  .sidebar { box-shadow: 12px 0 35px #05060a88; }
  .mobile-backdrop.open { background: #090b11b8; backdrop-filter: blur(3px); }
  .content { padding: 25px 22px; }
}
@media (max-width: 560px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: 190px; padding: 20px 23px; }
  .brand-copy h1 { font-size: 34px; letter-spacing: -1px; }
  .brand-copy p { font-size: 13px; }
  .auth-card-wrap { padding: 25px 22px; }
  .auth-card h2 { font-size: 23px; }
  .content { padding: 20px 14px 25px; }
  .page-head { gap: 9px; margin-bottom: 18px; }
  .page-head h1 { font-size: 25px; }
  .head-actions { gap: 7px; }
  .head-actions .button { flex: 0 1 auto; }
  .button { min-height: 38px; padding: 0 11px; }
  .card { padding: 14px; border-radius: 13px; }
  .metric { min-height: 116px; padding: 12px; }
  .metric-value { font-size: 23px; }
  .attendee-upcoming-actions { align-items: stretch; flex-direction: column; }
  .attendee-upcoming-actions .button { width: 100%; margin-left: 0; }
  .topbar { height: 58px; }
  .top-actions .icon-btn { width: 34px; height: 34px; }
  .field input, .field select, .field textarea, .control, .toolbar select, select { min-height: 40px; }
  .dialog { border-radius: 15px; }
}

/* A little motion adds atmosphere without competing with the content. */
body {
  background: #11131a;
  background-attachment: fixed;
}
body::before {
  display: block;
  position: fixed;
  inset: -18%;
  z-index: 0;
  opacity: .46;
  background:
    radial-gradient(ellipse at 18% 18%, #7c4e8330, transparent 32%),
    radial-gradient(ellipse at 82% 28%, #39738124, transparent 30%),
    radial-gradient(ellipse at 70% 88%, #8a65731c, transparent 32%);
  background-size: 125% 125%;
  animation: evently-ambient 34s ease-in-out infinite alternate;
  will-change: background-position;
}
#app { position: relative; z-index: 1; }
.auth-brand-panel::before {
  width: 360px;
  height: 360px;
  right: 8%;
  bottom: 15%;
  background: linear-gradient(135deg, #83dfd066, #c77db670 58%, #d6a68955);
  box-shadow: 0 0 100px #c77db638;
  animation: evently-orbit 5s ease-in-out infinite alternate;
  will-change: transform;
}
.auth-brand-panel::after {
  width: 175px;
  height: 175px;
  right: 48%;
  bottom: 22%;
  border: 1px solid #a9e7dc68;
  background: radial-gradient(circle at 35% 30%, #a9e7dc77, #83dfd040 58%, #83dfd014);
  box-shadow: 0 0 55px #83dfd02d;
  animation: evently-orbit 7s ease-in-out -3s infinite alternate-reverse;
  will-change: transform;
}
.brand svg { animation: evently-logo-bob 3s ease-in-out infinite; }
.paywall-orbit { animation: evently-turn 48s linear infinite; }
.paywall-sticker { animation: evently-float 5s ease-in-out infinite; }
.button { transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.primary, .primary:hover {
  background: linear-gradient(110deg, #c77db6, #d293a7 55%, #d6a689);
  background-size: 180% 100%;
  background-position: 0% 50%;
  transition: transform .18s ease, background-position .35s ease, box-shadow .18s ease;
}
.primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 5px 16px #c77db626;
  transform: translateY(-1px);
}
.primary:active { transform: translateY(0); }
.secondary, .small-btn { transition: transform .16s ease, background .16s ease, border-color .16s ease; }
.secondary:hover, .small-btn:hover { transform: translateY(-1px); }
.card, .card:hover {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px #080a102b;
}
.metric[data-metric-view], .event-card, .task-card, .plan-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.event-card:hover, .metric[data-metric-view]:hover, .task-card:hover, .plan-card:hover {
  transform: translateY(-2px);
}
.nav-link { transition: background .16s ease, border-color .16s ease, color .16s ease; }
.nav-link.active { background-size: 200% 100%; animation: evently-nav-glow 9s ease-in-out infinite alternate; }
.community-room-icon { animation: evently-icon-glow 4s ease-in-out infinite; }

@keyframes evently-ambient {
  0% { background-position: 0% 0%; }
  50% { background-position: 45% 25%; }
  100% { background-position: 100% 75%; }
}
@keyframes evently-orbit {
  from { transform: translate3d(-14px, 12px, 0) scale(.96); }
  to { transform: translate3d(26px, -20px, 0) scale(1.08); }
}
@keyframes evently-turn { to { transform: rotate(360deg); } }
@keyframes evently-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes evently-nav-glow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
@keyframes evently-icon-glow {
  0%, 100% { box-shadow: 0 0 0 0 #c77db600; }
  50% { box-shadow: 0 0 0 4px #c77db60d; }
}
@keyframes evently-logo-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (hover: none) {
  .card:hover, .event-card:hover, .metric[data-metric-view]:hover, .task-card:hover, .plan-card:hover {
    transform: none;
  }
}

/* Carry the party palette and motion through every workspace view. */
:root {
  --party-pink: #ed83c4;
  --party-cyan: #77cfdf;
  --party-lime: #b7dc83;
  --party-purple: #a998e6;
}
body::before {
  opacity: .72;
  background:
    radial-gradient(ellipse at 12% 16%, #a966bd28, transparent 32%),
    radial-gradient(ellipse at 88% 22%, #50b9d023, transparent 31%),
    radial-gradient(ellipse at 68% 90%, #d48b9f1e, transparent 35%);
  animation-duration: 21s;
}
body::after {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: .2;
  background-image:
    radial-gradient(ellipse, #e998cf45 0 1px, transparent 2px),
    radial-gradient(ellipse, #85d6df40 0 1px, transparent 2px),
    radial-gradient(ellipse, #c8df9340 0 1px, transparent 2px);
  background-size: 97px 103px, 137px 149px, 179px 167px;
  background-position: 7px 13px, 55px 71px, 101px 29px;
  animation: evently-sparkle-drift 44s linear infinite;
}
.app-shell { position: relative; isolation: isolate; }
.app-shell::before {
  content: '';
  position: fixed;
  inset: 62px 0 0 258px;
  z-index: -1;
  pointer-events: none;
  opacity: .52;
  background:
    radial-gradient(ellipse at 12% 4%, #94569a21, transparent 34%),
    radial-gradient(ellipse at 94% 44%, #438f9b1c, transparent 32%),
    radial-gradient(ellipse at 46% 100%, #ac66851a, transparent 40%);
  background-size: 150% 150%;
  animation: evently-ambient 27s ease-in-out infinite alternate;
}
.sidebar {
  background:
    radial-gradient(ellipse at 100% 0, #9a5c9419, transparent 42%),
    linear-gradient(180deg, #1a1a26, #171a22 72%, #1b1a27);
}
.sidebar .brand svg { color: #d5df9b; }
.nav-link.active {
  border-color: #554054;
  background: linear-gradient(100deg, #a64e8d38, #685b9230 58%, #387a8430);
  background-size: 180% 100%;
  box-shadow: inset 2px 0 #ee94cd, 0 3px 14px #9c578315;
}
.topbar {
  background:
    linear-gradient(100deg, #211c2ae8, #181a24ed 58%, #1b2029ed);
  border-bottom-color: #3a3443;
}
.primary, .primary:hover {
  border-color: #dc8bbf;
  background: linear-gradient(110deg, #d77bb7, #da8e9f 48%, #d6a66e);
  background-size: 200% 100%;
  box-shadow: 0 3px 12px #c475a51c;
}
.primary:hover {
  border-color: #eca1d1;
  background-position: 100% 50%;
  box-shadow: 0 5px 18px #c475a535;
}
.metric-icon,
.metrics .metric:nth-child(4n+1) .metric-icon,
.metrics .metric:nth-child(4n+2) .metric-icon,
.metrics .metric:nth-child(4n+3) .metric-icon,
.metrics .metric:nth-child(4n+4) .metric-icon {
  border-color: #554056;
  background: linear-gradient(145deg, #3a2b40, #292c38);
  color: #e6a8d1;
}
.metrics .metric:nth-child(4n+2) .metric-icon { color: #94d7e1; }
.metrics .metric:nth-child(4n+3) .metric-icon { color: #c4dc8d; }
.metrics .metric:nth-child(4n+4) .metric-icon { color: #b8a9ef; }
.card, .card:hover {
  border-color: #3b3948;
  background: linear-gradient(145deg, #201f2b, #1a1d26 78%);
}
.card:hover {
  border-color: #625064;
  box-shadow: 0 10px 26px #080a1038, 0 0 0 1px #bd78a30b;
}
.event-card:nth-child(3n+1) {
  border-color: #50394d;
  background: radial-gradient(ellipse at 100% 0, #bd64951c, transparent 45%), linear-gradient(145deg, #25202d, #1a1d26 78%);
}
.event-card:nth-child(3n+2) {
  border-color: #354951;
  background: radial-gradient(ellipse at 100% 0, #5daaba1a, transparent 45%), linear-gradient(145deg, #20252e, #1a1d26 78%);
}
.event-card:nth-child(3n) {
  border-color: #4a4939;
  background: radial-gradient(ellipse at 100% 0, #b0bd6917, transparent 45%), linear-gradient(145deg, #24252b, #1a1d26 78%);
}
.event-tags .pill:nth-child(3n+1) { border-color: #594357; background: #302633; color: #e4afd0; }
.event-tags .pill:nth-child(3n+2) { border-color: #38515a; background: #222e34; color: #a5d8df; }
.event-tags .pill:nth-child(3n) { border-color: #50513d; background: #2c2d25; color: #cfdb9b; }
.metric[data-metric-view]:hover, .event-card:hover, .task-card:hover, .plan-card:hover {
  border-color: #756079;
  box-shadow: 0 10px 26px #080a1038, 0 0 18px #b76c9b12;
}
.status, .pill.green { border-color: #3c5a4e; background: #24362f; color: #b6e3c5; }
.pill.red { border-color: #62404b; background: #38272f; color: #efb0bd; }
.pill.amber { border-color: #63533b; background: #393125; color: #e8cf96; }
.pill.blue { border-color: #3e5069; background: #252f3d; color: #b7cdec; }
.row-icon {
  border-color: #4b4053;
  background: linear-gradient(145deg, #322b3a, #252a34);
  color: #d0a7d0;
}
.kanban-col:nth-child(3n+1) { border-color: #50404f; background: linear-gradient(145deg, #211e29, #1b1c25); }
.kanban-col:nth-child(3n+2) { border-color: #394b53; background: linear-gradient(145deg, #1d242a, #1b1c25); }
.kanban-col:nth-child(3n) { border-color: #4a4a3d; background: linear-gradient(145deg, #22231f, #1b1c25); }
.task-card:hover { border-color: #83628a; }
.plan-card.selected { border-color: #b7c987; box-shadow: 0 0 0 1px #b7c98730, 0 10px 24px #080a1030; }
.paywall-hero {
  background:
    radial-gradient(ellipse at 85% 10%, #e5a3cd2b, transparent 32%),
    radial-gradient(ellipse at 70% 100%, #85cbd524, transparent 38%),
    linear-gradient(115deg, #35283e, #292637 60%, #223039);
}
.auth-brand-panel {
  background:
    radial-gradient(ellipse at 82% 76%, #bf6fa12a, transparent 33%),
    linear-gradient(145deg, #242231, #171a22 75%);
}
.auth-brand-panel::before {
  background: linear-gradient(135deg, #83dfd075, #c77db680 58%, #e1b17870);
  box-shadow: 0 0 110px #c77db650;
}
.auth-brand-panel::after {
  background: radial-gradient(circle at 35% 30%, #c8f3e4a0, #83dfd060 58%, #83dfd020);
}
#viewContent > * { animation: evently-arrive .38s both; }
#viewContent > :nth-child(2) { animation-delay: .04s; }
#viewContent > :nth-child(3) { animation-delay: .08s; }
#viewContent > :nth-child(4) { animation-delay: .12s; }
.community-room-icon { border-color: #654962; background: linear-gradient(145deg, #402b41, #2b2d3a); color: #efacd5; }
.community-room {
  border-color: #484050;
  background: linear-gradient(145deg, #211f2b, #1a1d26 75%);
}
.community-room-header {
  background: linear-gradient(100deg, #38263a55, #23273399 55%, #1c242c88);
}
.community-message.mine .community-message-content {
  border-color: #61445c;
  background: linear-gradient(135deg, #332638, #282532);
}
@keyframes evently-sparkle-drift {
  from { background-position: 7px 13px, 55px 71px, 101px 29px; }
  to { background-position: 70px 90px, -35px 20px, 210px 140px; }
}
@keyframes evently-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 850px) {
  .app-shell::before { inset: 62px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  body::after, .app-shell::before, #viewContent > * {
    animation: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .auth-brand-panel::before, .auth-brand-panel::after,
  .paywall-orbit, .paywall-sticker, .nav-link.active, .community-room-icon {
    animation: none !important;
    will-change: auto;
  }
  .brand svg {
    animation: none !important;
    will-change: auto;
  }
  .button, .card, .metric[data-metric-view], .event-card, .task-card, .plan-card {
    transition: none !important;
  }
  .card:hover, .event-card:hover, .metric[data-metric-view]:hover, .task-card:hover, .plan-card:hover {
    transform: none;
  }
}
