:root {
    --ink: #18201e;
    --muted: #68726f;
    --paper: #f6f5f0;
    --surface: #fffefa;
    --line: #dedfd9;
    --line-strong: #c8cbc3;
    --primary: #6047d9;
    --primary-dark: #4932b7;
    --primary-soft: #e9e4ff;
    --teal: #197560;
    --teal-soft: #dff3eb;
    --group-fill-color: #b7ea37;
    --gold: #c48616;
    --danger: #b73b49;
    --danger-soft: #fbe5e8;
    --shadow: 0 20px 60px rgba(29, 37, 35, .08);
    --radius: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: var(--ink); color: white; font-size: 17px; font-weight: 800; box-shadow: 0 5px 16px rgba(24,32,30,.18); }
.eyebrow { margin-bottom: 8px; color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }

.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 9px 16px; font-weight: 720; line-height: 1.15; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button:focus-visible, .icon-button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(96,71,217,.25); outline-offset: 2px; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button-primary { background: var(--primary); color: white; box-shadow: 0 7px 20px rgba(96,71,217,.22); }
.button-primary:hover { background: var(--primary-dark); }
.button-secondary { border-color: var(--line-strong); background: white; color: var(--ink); }
.button-secondary:hover { border-color: var(--primary); }
.button-ghost { border-color: transparent; background: transparent; color: var(--muted); }
.button-ghost:hover { background: rgba(24,32,30,.06); color: var(--ink); }
.button-danger { background: var(--danger-soft); color: var(--danger); }
.button-small { min-height: 36px; padding: 7px 12px; font-size: .88rem; }
.button-large { min-height: 52px; padding: 13px 21px; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 25px; cursor: pointer; }
.icon-button:hover { background: rgba(24,32,30,.06); color: var(--ink); }

label { display: grid; gap: 7px; color: #3e4744; font-size: .88rem; font-weight: 700; }
input, textarea, select { width: 100%; border: 1px solid var(--line-strong); border-radius: 11px; background: white; color: var(--ink); padding: 11px 12px; font-weight: 500; transition: border .15s ease, box-shadow .15s ease; }
input:hover, textarea:hover, select:hover { border-color: #aeb3aa; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(96,71,217,.12); }
textarea { resize: vertical; }
small { color: var(--muted); font-weight: 500; }
.form-stack { display: grid; gap: 17px; }
.form-actions { display: flex; justify-content: flex-end; }
.notice { border: 1px solid; border-radius: 13px; padding: 12px 15px; margin-bottom: 18px; font-weight: 620; }
.notice-error { border-color: #edb8be; background: var(--danger-soft); color: #8e2633; }
.notice-success { border-color: #a9d8c8; background: var(--teal-soft); color: #0c5b48; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 32px rgba(29,37,35,.045); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.panel-heading h2 { margin-bottom: 0; }

/* Landing */
.landing-body { overflow-x: hidden; background: radial-gradient(circle at 84% 15%, #e6e0ff 0, transparent 32%), var(--paper); }
.landing-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 50px; }
.landing-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.landing-header nav { display: flex; align-items: center; gap: 7px; }
.landing-hero { display: grid; min-height: 65vh; align-content: center; max-width: 820px; padding: 70px 0; }
.landing-hero h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(3.1rem, 8vw, 6.5rem); line-height: .93; }
.landing-hero > p:not(.eyebrow) { max-width: 620px; margin-bottom: 30px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.55; }
.landing-hero .button { justify-self: start; }
.landing-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.landing-points article { padding: 25px; border-top: 1px solid var(--line-strong); }
.landing-points span { color: var(--primary); font-size: .78rem; font-weight: 800; }
.landing-points h2 { margin: 13px 0 8px; font-size: 1.1rem; }
.landing-points p { margin: 0; color: var(--muted); line-height: 1.5; }

/* Admin */
.admin-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0 max(24px, calc((100% - 1120px) / 2)); background: rgba(246,245,240,.88); backdrop-filter: blur(12px); }
.admin-main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 70px; }
.account-header { display: flex; align-items: center; gap: 10px; }
.account-name { color: var(--muted); font-size: .87rem; font-weight: 750; }
.account-name::first-letter { color: var(--teal); }
.account-nav { display: flex; align-items: center; gap: 10px; }
.account-auth-intro { max-width: 720px; margin: 3vh auto 28px; text-align: center; }
.account-auth-intro h1 { margin-bottom: 11px; font-size: clamp(2.2rem, 6vw, 4rem); }
.account-auth-intro > p:last-child { color: var(--muted); font-size: 1.03rem; line-height: 1.55; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(920px, 100%); margin: 0 auto; align-items: start; }
.auth-card { width: min(470px, 100%); margin: 7vh auto 0; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); padding: clamp(25px, 5vw, 42px); box-shadow: var(--shadow); }
.auth-card-inline { width: 100%; margin: 0; }
.auth-card h1 { margin-bottom: 11px; font-size: 2rem; }
.auth-card h2 { margin-bottom: 22px; font-size: 1.7rem; }
.form-link { justify-self: center; color: var(--primary); font-size: .8rem; font-weight: 700; text-decoration: none; }
.form-link:hover { text-decoration: underline; }
.auth-card .muted { margin-bottom: 25px; line-height: 1.55; }
.admin-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.admin-intro h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.1rem); }
.admin-intro p:last-child { margin-bottom: 0; }
.create-panel { margin-bottom: 23px; padding: 24px; }
.create-panel[hidden] { display: none; }
.event-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 22px; }
.field-wide { grid-column: 1 / -1; }
.event-admin-list { display: grid; gap: 17px; }
.event-admin-card { padding: 22px; }
.event-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.event-card-top h2, .event-card-top h3 { margin: 9px 0 5px; font-size: 1.45rem; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 4px 9px; font-size: .7rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.status-open { background: var(--teal-soft); color: var(--teal); }
.status-closed { background: #eeeae1; color: #716a5e; }
.status-archived { background: #ececef; color: #74747c; }
.event-stats { display: grid; min-width: 95px; text-align: right; }
.event-stats strong { font-size: 1.6rem; }
.event-stats span { color: var(--muted); font-size: .78rem; }
.share-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: 19px; }
.share-row input { color: var(--muted); font-size: .86rem; }
.admin-details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.admin-details summary { display: inline-flex; border-radius: 8px; color: var(--muted); padding: 5px 0; font-weight: 700; cursor: pointer; }
.compact-form { padding-top: 4px; }
.event-participant-manager { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 19px; }
.participant-manager-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.participant-manager-heading small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.participant-manager-empty { border: 1px dashed var(--line-strong); border-radius: 11px; padding: 14px; margin: 0; color: var(--muted); font-size: .82rem; text-align: center; }
.event-participant-list { display: grid; gap: 7px; }
.event-participant-admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 12px; background: #faf9f5; padding: 10px 11px 10px 14px; }
.event-participant-person { display: flex; min-width: 0; align-items: center; gap: 10px; }
.event-participant-person > div { min-width: 0; }
.event-participant-person strong, .event-participant-person span, .event-participant-person small { display: block; }
.event-participant-person strong { overflow: hidden; font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.event-participant-person small { margin-top: 3px; color: var(--gold); font-size: .67rem; }
.participant-admin-color { width: 8px; height: 34px; flex: 0 0 auto; border-radius: 99px; background: var(--participant-color); }
.participant-admin-status { margin-top: 3px; color: var(--muted); font-size: .69rem; font-weight: 680; }
.participant-admin-status.is-confirmed { color: var(--teal); }
.participant-admin-status.is-empty { color: var(--danger); }
.participant-admin-days { min-width: 92px; text-align: right; }
.participant-admin-days strong, .participant-admin-days span { display: block; }
.participant-admin-days strong { font-size: 1.05rem; }
.participant-admin-days span { color: var(--muted); font-size: .65rem; }
.event-participant-admin-row form { margin: 0; }
.image-upload-field { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: start; gap: 13px 18px; border: 1px solid var(--line); border-radius: 13px; background: #faf9f5; padding: 14px; }
.image-upload-field:has(.event-image-preview[hidden]) > label:first-child { grid-column: 1 / -1; }
.image-upload-field input[type="file"] { padding: 7px; background: white; cursor: pointer; }
.image-upload-field input[type="file"]::file-selector-button { min-height: 36px; border: 0; border-radius: 8px; background: var(--primary-soft); padding: 7px 12px; margin-right: 11px; color: var(--primary-dark); font-weight: 760; cursor: pointer; }
.event-image-preview { display: grid; gap: 6px; }
.event-image-preview[hidden] { display: none; }
.event-image-preview img { display: block; width: 100%; height: 112px; border: 1px solid var(--line); border-radius: 10px; background: white; object-fit: cover; }
.event-image-preview span { color: var(--muted); font-size: .68rem; font-weight: 650; text-align: center; }
.image-remove-option { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; justify-self: start; color: var(--danger); cursor: pointer; }
.image-remove-option input { width: 18px; height: 18px; accent-color: var(--danger); }
.editor-field { display: grid; gap: 7px; }
.editor-label { color: #3e4744; font-size: .88rem; font-weight: 700; }
.rich-editor { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: white; }
.rich-editor:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(96,71,217,.12); }
.rich-editor-toolbar { display: flex; flex-wrap: wrap; gap: 3px; border-bottom: 1px solid var(--line); background: #f7f6f2; padding: 6px; }
.rich-editor-toolbar button { min-height: 32px; border: 0; border-radius: 7px; background: transparent; padding: 5px 8px; color: #4b5552; font-size: .76rem; font-weight: 730; cursor: pointer; }
.rich-editor-toolbar button:hover { background: white; color: var(--primary-dark); box-shadow: 0 1px 5px rgba(29,37,35,.08); }
.rich-editor-content { min-height: 150px; max-height: 520px; overflow-y: auto; padding: 14px; color: var(--ink); font-size: .9rem; font-weight: 500; line-height: 1.55; outline: 0; }
.rich-editor-content:empty::before { content: attr(data-placeholder); color: #959c99; pointer-events: none; }
.rich-editor-content p:first-child, .rich-editor-content h2:first-child, .rich-editor-content h3:first-child { margin-top: 0; }
.rich-editor-content p:last-child, .rich-editor-content ul:last-child, .rich-editor-content ol:last-child, .rich-editor-content blockquote:last-child { margin-bottom: 0; }
.delete-event-form { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #edc7cc; margin-top: 22px; padding-top: 18px; }
.delete-event-form strong, .delete-event-form small { display: block; }
.delete-event-form strong { margin-bottom: 4px; color: var(--danger); font-size: .88rem; }
.delete-event-form .button { flex: 0 0 auto; }
.empty-card { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-card h2 { margin: 13px 0 8px; color: var(--ink); }
.empty-card p { margin: 0; }
.empty-icon { font-size: 2rem; color: var(--primary); }
.dashboard-section { margin-top: 38px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding: 0 3px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 1.5rem; }
.invitation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.invitation-grid > .empty-card { grid-column: 1 / -1; }
.invitation-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; gap: 22px; padding: 21px; }
.invitation-card h3 { margin: 11px 0 7px; font-size: 1.3rem; }
.invitation-card p { margin-bottom: 0; font-size: .84rem; }
.invitation-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.participant-status { color: var(--gold); font-size: .75rem; font-weight: 760; }
.participant-status.is-confirmed { color: var(--teal); }
.account-main { max-width: 1120px; }
.account-page-heading { max-width: 760px; margin-bottom: 28px; }
.account-page-heading h1 { margin-bottom: 10px; font-size: clamp(2.3rem, 6vw, 4.2rem); }
.account-page-heading > p:last-child { color: var(--muted); line-height: 1.55; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.settings-card { padding: clamp(21px, 4vw, 30px); }
.settings-card h2 { margin-bottom: 22px; font-size: 1.6rem; }
.settings-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.profile-color-preview { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--profile-color) 20%, white); color: var(--profile-color); font-size: 1.1rem; font-weight: 850; box-shadow: 0 0 0 2px white, 0 0 0 4px var(--profile-color); text-transform: uppercase; }
.account-facts { display: grid; gap: 0; margin: 0 0 22px; }
.account-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 13px; border-bottom: 1px solid var(--line); padding: 11px 0; }
.account-facts dt { color: var(--muted); font-size: .78rem; font-weight: 700; }
.account-facts dd { margin: 0; overflow-wrap: anywhere; font-size: .87rem; font-weight: 700; }
.verified-badge { display: inline-flex; margin-left: 5px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); padding: 2px 6px; font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.pending-badge { display: inline-flex; margin-left: 5px; border-radius: 99px; background: #fff1cc; color: #795616; padding: 2px 6px; font-size: .61rem; font-weight: 800; text-transform: uppercase; }
.email-explainer { border: 1px solid #ead6a8; border-radius: 12px; background: #fff8e9; padding: 13px; margin-bottom: 15px; }
.email-explainer strong { font-size: .84rem; }
.email-explainer p { margin: 5px 0 0; color: #786847; font-size: .77rem; line-height: 1.45; }
.email-details form { padding-top: 16px; }
.security-action { border-top: 1px solid var(--line); padding-top: 18px; }
.security-action p { margin: 0; font-size: .82rem; line-height: 1.5; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.admin-stat-card { display: grid; gap: 5px; padding: 21px; }
.admin-stat-card span { color: var(--muted); font-size: .76rem; font-weight: 760; text-transform: uppercase; }
.admin-stat-card strong { font-size: 2.2rem; line-height: 1; }
.admin-stat-card .admin-stat-size { font-size: 1.55rem; }
.project-admin-main .dashboard-section { scroll-margin-top: 20px; }
.admin-settings-panel { padding: clamp(20px, 4vw, 30px); }
.admin-settings-form { max-width: 720px; }
.technical-settings { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px; scroll-margin-top: 20px; }
.technical-settings > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 11px; padding: 10px 12px; color: var(--muted); cursor: pointer; }
.technical-settings > summary:hover { background: #f5f4ef; color: var(--ink); }
.technical-settings > summary span { font-weight: 780; }
.technical-settings > summary small { font-size: .72rem; }
.technical-settings[open] > summary { margin-bottom: 16px; background: #f5f4ef; color: var(--ink); }
.technical-settings-note { border-radius: 10px; background: #fff8e9; padding: 10px 12px; margin: 0 0 15px; color: #786847; font-size: .73rem; line-height: 1.5; }
.technical-settings-note code { font-size: .7rem; }
.admin-mail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: #faf9f5; padding: 18px; }
.admin-mail-grid label, .admin-test-mail label { display: grid; gap: 7px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.admin-mail-grid label small { color: var(--muted); font-size: .7rem; font-weight: 500; }
.admin-clear-secret, .admin-mail-password, .admin-mail-actions { grid-column: 1 / -1; }
.admin-clear-secret { color: var(--danger) !important; }
.admin-template-editor { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; border-top: 1px dashed var(--line-strong); padding-top: 18px; margin-top: 4px; }
.admin-template-editor > div, .admin-template-editor > label { grid-column: 1 / -1; }
.admin-template-editor h4 { margin: 0 0 5px; font-size: 1rem; }
.admin-template-editor p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.admin-template-editor textarea { min-height: 128px; resize: vertical; font-family: inherit; line-height: 1.45; }
.admin-template-editor code { border-radius: 4px; background: #eceae3; padding: 1px 4px; color: #4d5653; font-size: .72rem; }
.admin-test-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px; border-top: 1px dashed var(--line-strong); padding-top: 18px; margin-top: 18px; }
.admin-users-table { min-width: 1160px; }
.admin-events-table { min-width: 1080px; }
.admin-inline-delete { margin: 0; }
.admin-inline-delete .button { white-space: nowrap; }
.protected-data { display: inline-flex; border-radius: 99px; background: #efede7; padding: 5px 8px; color: var(--muted); font-size: .68rem; font-weight: 750; white-space: nowrap; }
.admin-cleanup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; }
.cleanup-card { padding: 21px; }
.cleanup-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.cleanup-card > p { min-height: 76px; color: var(--muted); font-size: .79rem; line-height: 1.5; }
.cleanup-card.is-danger { border-color: #e4b9be; }
.cleanup-card.is-critical { border-color: var(--danger); box-shadow: inset 0 3px 0 var(--danger); }
.cleanup-card form label { font-size: .75rem; }
.cleanup-card form label strong { display: block; margin: 2px 0 5px; color: var(--danger); font-size: .72rem; }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 13px 15px; text-align: left; vertical-align: top; }
.data-table th { background: #f5f4ef; color: var(--muted); font-size: .69rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table td { color: #46504d; font-size: .8rem; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td > strong, .data-table td > small { display: block; }
.data-table td > small { margin-top: 4px; }
.data-table a { color: var(--primary-dark); text-decoration: none; }
.data-table a:hover { text-decoration: underline; }
.data-table .verified-badge, .data-table .pending-badge { margin: 0 0 4px; }
.table-empty { color: var(--muted); text-align: center !important; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; transform: translateY(18px); border-radius: 12px; background: var(--ink); color: white; padding: 12px 16px; opacity: 0; pointer-events: none; transition: .2s ease; box-shadow: var(--shadow); }
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* Event shell */
.event-body { background: #f3f2ed; }
.app-loading, .centered-state { display: grid; min-height: 100vh; place-content: center; justify-items: center; padding: 30px; text-align: center; color: var(--muted); }
.centered-state h1 { margin: 22px 0 8px; color: var(--ink); }
.spinner { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.event-app { min-height: 100vh; }
.event-topbar { position: sticky; top: 0; z-index: 40; display: flex; min-height: 67px; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); padding: 0 max(18px, calc((100% - 1480px) / 2)); background: rgba(246,245,240,.94); backdrop-filter: blur(14px); }
.event-topbar-actions { display: flex; align-items: center; gap: 8px; }
.profile-button { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-color-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot-color) 18%, white); }
.short-label { display: none; }
.event-layout { display: grid; grid-template-columns: 282px minmax(0, 1fr); width: min(1480px, 100%); margin: 0 auto; }
.participants-sidebar { position: sticky; top: 67px; height: calc(100vh - 67px); overflow-y: auto; border-right: 1px solid var(--line); padding: 25px 18px 90px; background: #eeede7; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 14px; }
.sidebar-heading h2 { margin: 0; font-size: 1rem; }
.count-badge { display: inline-grid; min-width: 27px; height: 27px; place-items: center; border-radius: 999px; background: white; color: var(--muted); font-size: .78rem; font-weight: 800; }
.participant-list { display: grid; gap: 5px; }
.participant-row { min-width: 0; }
.participant-item { display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 9px; width: 100%; border: 1px solid transparent; border-radius: 12px; background: transparent; padding: 8px; color: var(--ink); text-align: left; cursor: pointer; }
.participant-item:hover { background: rgba(255,255,255,.62); }
.participant-item.is-active { border-color: #cfc5ff; background: white; box-shadow: 0 5px 17px rgba(29,37,35,.05); }
.participant-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--avatar-color, #69736f) 20%, white); color: var(--avatar-color, #303936); font-size: .74rem; font-weight: 850; text-transform: uppercase; }
.participant-meta { min-width: 0; }
.participant-name { display: block; overflow: hidden; text-overflow: ellipsis; font-size: .86rem; font-weight: 720; white-space: nowrap; }
.participant-state { display: block; color: var(--muted); font-size: .69rem; }
.participant-state.is-empty-choice { color: var(--danger); font-weight: 740; }
.state-check { display: grid; width: 17px; height: 17px; place-items: center; color: transparent; font-size: .8rem; font-weight: 900; line-height: 1; }
.state-check.confirmed { color: var(--teal); }
.sidebar-hint { margin: 16px 6px 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.mobile-participants-panel { display: none; }
.event-content { min-width: 0; padding: clamp(20px, 3vw, 42px) clamp(14px, 3vw, 42px) 125px; }
.event-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.event-heading-copy { flex: 1 1 auto; min-width: 0; }
.event-heading-side { display: flex; flex: 0 0 auto; align-items: flex-end; flex-direction: column; gap: 10px; }
.event-heading-side.has-image { flex-basis: min(35%, 380px); }
.event-image { display: block; width: 100%; max-height: 260px; border: 1px solid var(--line); border-radius: 17px; object-fit: cover; box-shadow: 0 10px 30px rgba(31,39,37,.1); }
.event-heading h1 { margin-bottom: 7px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1; }
.event-description { max-width: 760px; margin-top: 15px; overflow-wrap: anywhere; color: #4f5956; line-height: 1.58; }
.rich-event-content > :first-child { margin-top: 0; }
.rich-event-content > :last-child { margin-bottom: 0; }
.rich-event-content h2 { margin: 1.25em 0 .45em; color: var(--ink); font-size: 1.35rem; }
.rich-event-content h3 { margin: 1.15em 0 .4em; color: var(--ink); font-size: 1.1rem; }
.rich-event-content p, .rich-event-content ul, .rich-event-content ol, .rich-event-content blockquote { margin-bottom: .8em; }
.rich-event-content blockquote { border-left: 3px solid var(--primary); margin-left: 0; padding-left: 14px; color: var(--muted); }
.rich-event-content a { color: var(--primary-dark); font-weight: 700; }
.event-edit-link { display: inline-flex; margin-top: 11px; color: var(--primary-dark); font-size: .76rem; font-weight: 760; }
.event-range { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.55); padding: 9px 12px; color: var(--muted); font-size: .78rem; font-weight: 680; }
.closed-banner { display: flex; align-items: center; gap: 9px; border: 1px solid #d4cdbf; border-radius: 13px; background: #eeeae1; padding: 11px 14px; margin-bottom: 17px; color: #625d54; font-weight: 680; }

.summary-strip { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.summary-card { min-height: 86px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); padding: 15px; }
.summary-card > span, .best-date-copy > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .7rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.summary-card strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.summary-card small { display: block; margin-top: 4px; }
.best-date-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-color: #d0c7ff; background: linear-gradient(135deg, #f7f5ff, var(--surface)); }
.best-date-copy { min-width: 0; }
.vote-button { flex: 0 0 auto; border: 1px solid #789c22; background: var(--group-fill-color); color: #24310b; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 7px 18px rgba(91,124,17,.18); }
.vote-button:hover { border-color: #648418; background: #c4f24c; color: #1d2807; transform: translateY(-1px); }

.calendar-toolbar { position: sticky; top: 78px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,254,250,.95); padding: 9px; margin-bottom: 18px; box-shadow: 0 8px 28px rgba(29,37,35,.08); backdrop-filter: blur(12px); }
.tool-group { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; margin-left: auto; }
.tool-button { display: inline-flex; min-height: 39px; align-items: center; gap: 7px; border: 1px solid transparent; border-radius: 10px; background: transparent; padding: 8px 11px; color: #505956; font-size: .82rem; font-weight: 730; cursor: pointer; }
.tool-button:hover { background: #f1f0eb; color: var(--ink); }
.tool-button.is-active { border-color: #cfc6ff; background: var(--primary-soft); color: var(--primary-dark); }
.details-mode-toggle { display: inline-flex; min-height: 39px; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 8px 11px; color: #505956; font-size: .82rem; font-weight: 730; cursor: pointer; }
.details-mode-toggle:hover { background: #f1f0eb; color: var(--ink); }
.details-mode-toggle:has(input:checked) { border-color: #e5c27c; background: #fff2d7; color: #8b5a06; }
.details-mode-toggle:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.details-mode-toggle input { width: 17px; height: 17px; margin: 0; accent-color: var(--gold); }
.details-label-short { display: none; }
.tool-button:disabled { opacity: .4; cursor: not-allowed; }
.tool-divider { width: 1px; height: 27px; margin: 0 3px; background: var(--line); }
.selection-help { min-width: 0; flex: 1 1 auto; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.calendar-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin: -3px 3px 16px; color: var(--muted); font-size: .72rem; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 15px; height: 15px; border: 1px solid var(--line-strong); border-radius: 4px; background: white; }
.legend-swatch.own { border: 2px solid var(--own-color, var(--primary)); background: color-mix(in srgb, var(--own-color, var(--primary)) 17%, white); }
.legend-swatch.group { border-color: #789c22; background: linear-gradient(to top, var(--group-fill-color) 60%, white 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

.calendar-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 390px), 1fr)); align-items: start; gap: 17px; }
.calendar-month { border: 1px solid var(--line); border-radius: 17px; background: var(--surface); padding: 13px; box-shadow: 0 8px 26px rgba(29,37,35,.035); }
.month-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 3px 8px; }
.month-heading h2 { margin: 0; font-size: 1.05rem; }
.month-action { border: 0; border-radius: 9px; background: transparent; padding: 7px 9px; color: var(--primary); font-size: .7rem; font-weight: 800; cursor: pointer; }
.month-action:hover { background: var(--primary-soft); }
.month-action:disabled { opacity: .35; cursor: not-allowed; }
.weekday-row, .calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.weekday-row { margin-bottom: 4px; }
.weekday-row span { padding: 4px 0; color: #7c8582; font-size: .63rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-week { margin-bottom: 3px; }
.day-cell { position: relative; display: flex; min-width: 0; min-height: 48px; appearance: none; -webkit-appearance: none; align-items: flex-start; justify-content: flex-start; overflow: hidden; border: 1px solid transparent; border-radius: 10px; background: transparent; padding: 7px; color: var(--ink); cursor: pointer; user-select: none; touch-action: manipulation; transition: border .1s ease, transform .1s ease, background .12s ease; }
.day-cell.is-selectable { background: #f6f6f6; }
.day-cell::before { content: ''; position: absolute; inset: auto 0 0; z-index: 0; height: var(--group-fill, 0%); background: linear-gradient(135deg, rgba(255,255,255,.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.18) 75%, transparent 75%) 0 0 / 10px 10px, var(--group-fill-color); pointer-events: none; transition: height .18s ease; }
.day-cell.has-group-fill::before { border-top: 2px solid #759d13; }
.day-cell:hover:not(:disabled) { border-color: #aeb6b2; z-index: 2; }
.day-cell:active:not(:disabled) { transform: scale(.96); }
.day-cell:disabled { background: transparent; color: #c2c5c1; cursor: default; }
.day-cell:disabled::before { display: none; }
.day-cell.is-own { border: 2px solid var(--own-color, var(--primary)); background: color-mix(in srgb, var(--own-color, var(--primary)) 18%, white); padding: 6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--own-color, var(--primary)) 12%, transparent); }
.day-cell.is-filtered, .day-cell.is-filtered.is-own { z-index: 2; background: color-mix(in srgb, var(--filter-color, #16806a) 14%, white); }
.day-cell.is-filtered::after { content: ''; position: absolute; inset: 0; z-index: 4; border: 3px solid var(--filter-color, #16806a); border-radius: inherit; pointer-events: none; }
.day-number { position: relative; z-index: 1; font-size: .76rem; font-weight: 780; line-height: 1; }
.day-detail-mark { position: absolute; right: 5px; top: 4px; display: grid; width: 15px; height: 15px; place-items: center; border: 1px solid #b6780c; border-radius: 50%; background: #fff4d5; color: #8a5904; font-size: .62rem; font-style: normal; font-weight: 900; line-height: 1; }
.day-detail-mark::after { content: 'i'; }
.day-detail-hit { position: absolute; right: 1px; top: 1px; z-index: 3; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.day-detail-hit.has-details::after { content: 'i'; position: absolute; right: 2px; top: 2px; display: grid; width: 15px; height: 15px; place-items: center; border: 1px solid #b6780c; border-radius: 50%; background: #fff4d5; color: #8a5904; font-size: .62rem; font-weight: 900; line-height: 1; box-shadow: 0 0 0 1px rgba(255,255,255,.85); }
.day-detail-hit:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; }
.day-own-check { position: absolute; left: 5px; bottom: 2px; z-index: 2; color: var(--own-color, var(--primary)); font-size: 1rem; font-weight: 900; line-height: 1; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.day-participant-tooltip { position: fixed; z-index: 80; width: max-content; max-width: min(300px, calc(100vw - 16px)); border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: #202b28; color: white; padding: 10px 12px; pointer-events: none; box-shadow: 0 12px 34px rgba(24,32,30,.28); }
.day-participant-tooltip[hidden] { display: none; }
.day-participant-tooltip::after { content: ''; position: absolute; width: 10px; height: 10px; background: #202b28; transform: rotate(45deg); }
.day-participant-tooltip[data-side="right"]::after { left: -5px; top: calc(50% - 5px); }
.day-participant-tooltip[data-side="left"]::after { right: -5px; top: calc(50% - 5px); }
.day-participant-tooltip[data-side="above"]::after { bottom: -5px; left: calc(50% - 5px); }
.day-participant-tooltip[data-side="below"]::after { top: -5px; left: calc(50% - 5px); }
.day-participant-tooltip strong { display: block; color: #d4f77d; font-size: .62rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.day-participant-tooltip > span { display: block; margin-top: 4px; font-size: .79rem; line-height: 1.4; }
.day-participant-tooltip b { font-weight: 720; }

.confirm-bar { position: fixed; right: max(18px, calc((100vw - 1480px) / 2 + 25px)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; display: flex; width: min(680px, calc(100vw - 36px)); align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #cfc7f2; border-radius: 17px; background: rgba(255,254,250,.97); padding: 10px 11px 10px 16px; box-shadow: 0 14px 45px rgba(29,37,35,.18); backdrop-filter: blur(14px); }
.confirm-messages { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; gap: 14px; }
.confirm-copy { min-width: 0; flex: 1 1 auto; }
.confirm-copy strong { display: block; font-size: .87rem; }
.confirm-copy span { display: block; overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.save-indicator { color: var(--muted); font-size: .7rem; }
.save-indicator.is-error { color: var(--danger); }
.confirm-bar > .button { flex: 0 0 auto; margin-left: auto; }
.event-body .toast { right: max(18px, calc((100vw - 1480px) / 2 + 25px)); bottom: max(104px, calc(env(safe-area-inset-bottom) + 92px)); max-width: min(680px, calc(100vw - 36px)); }

/* Dialogs */
dialog { width: min(520px, calc(100% - 28px)); max-height: calc(100vh - 30px); overflow: auto; border: 1px solid var(--line); border-radius: 21px; background: var(--surface); color: var(--ink); padding: 0; box-shadow: 0 25px 90px rgba(24,32,30,.25); }
#availabilityDetailsDialog, #editDetailsDialog { width: min(650px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(20,27,25,.46); backdrop-filter: blur(3px); }
.dialog-body { padding: 24px; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.dialog-header h2 { margin: 0; font-size: 1.45rem; }
.dialog-header p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 21px; }
.join-dialog { width: min(480px, calc(100% - 28px)); }
.join-dialog .dialog-body { padding: clamp(25px, 6vw, 40px); }
.join-dialog h1 { margin-bottom: 10px; font-size: 2rem; }
.join-event-name { margin-bottom: 24px; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
.field-error { min-height: 18px; margin: -2px 0 0; color: var(--danger); font-size: .78rem; font-weight: 650; }
.detail-targets { display: flex; flex-wrap: wrap; gap: 5px; max-height: 84px; overflow: auto; border: 1px solid var(--line); border-radius: 11px; background: #f5f4ef; padding: 8px; margin-bottom: 17px; }
.date-chip { border-radius: 7px; background: white; padding: 4px 7px; color: #4f5855; font-size: .7rem; font-weight: 700; }
.time-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 15px; }
.checkbox-label { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--primary); }
.day-details-list { display: grid; gap: 10px; margin-top: 18px; }
.participant-details { display: grid; gap: 8px; }
.participant-detail-card { display: grid; gap: 9px; border: 1px solid var(--line); border-left: 5px solid var(--person-color, var(--primary)); border-radius: 12px; background: white; padding: 12px 14px; }
.participant-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.participant-detail-heading strong { font-size: .9rem; }
.participant-detail-heading span { border-radius: 99px; background: #fff1cc; padding: 3px 7px; color: #795616; font-size: .65rem; font-weight: 760; }
.participant-detail-note { margin: 0; color: #414b48; font-size: .86rem; line-height: 1.55; white-space: pre-wrap; }
.participant-detail-time { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.participant-detail-time span { color: var(--muted); font-size: .69rem; font-weight: 650; }
.participant-detail-time strong { color: var(--person-color, var(--primary)); font-size: .84rem; white-space: nowrap; }
.common-time-card { display: grid; gap: 5px; border: 1px solid #87b021; border-radius: 13px; background: color-mix(in srgb, var(--group-fill-color) 30%, white); padding: 13px 15px; }
.common-time-card span { color: #506221; font-size: .72rem; font-weight: 760; text-transform: uppercase; }
.common-time-card strong { font-size: 1.15rem; }
.common-time-card.no-overlap { border-color: #e0b5ba; background: var(--danger-soft); }
.common-time-card.no-overlap span { color: #8e3c46; }
.details-list-heading { margin: 0 2px 2px; }
.details-pending-note { border-radius: 10px; background: #fff5dc; padding: 10px 12px; margin: 0; color: #765619; font-size: .78rem; line-height: 1.45; }
@media (max-width: 1050px) {
    .tool-button .tool-label { display: none; }
    .details-mode-toggle .tool-label { display: none; }
    .details-mode-toggle .details-label-short { display: inline; }
}

@media (max-width: 820px) {
    .landing-points { grid-template-columns: 1fr; }
    .landing-points article { padding-left: 0; }
    .admin-intro { align-items: flex-start; flex-direction: column; }
    .auth-grid, .invitation-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .admin-cleanup-grid { grid-template-columns: 1fr; }
    .cleanup-card > p { min-height: 0; }
    .admin-mail-grid, .admin-test-mail, .admin-template-editor { grid-template-columns: 1fr; }
    .admin-clear-secret, .admin-mail-password, .admin-mail-actions { grid-column: 1; }
    .share-row { grid-template-columns: 1fr auto; }
    .share-row .button-ghost { grid-column: 1 / -1; }
    .event-layout { display: block; }
    .participants-sidebar { display: none; }
    .mobile-participants-panel { display: block; border: 1px solid var(--line); border-radius: 15px; background: #eeede7; padding: 14px; margin-bottom: 12px; }
    .mobile-participants-panel .participant-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-participants-panel .sidebar-hint { margin-top: 11px; }
    .event-content { padding-bottom: 130px; }
    .event-heading { display: block; }
    .event-heading-side { align-items: flex-start; margin-top: 14px; }
    .event-heading-side.has-image { width: 100%; }
    .event-image { max-width: 100%; max-height: 320px; }
    .event-range { display: inline-block; margin-top: 14px; }
    .event-heading-side .event-range { margin-top: 0; }
    .calendar-toolbar { top: 76px; }
    .confirm-bar { right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); left: 12px; width: auto; max-width: none; }
    .event-body .toast { right: 12px; bottom: max(96px, calc(env(safe-area-inset-bottom) + 86px)); left: 12px; max-width: none; text-align: center; }
}

@media (max-width: 600px) {
    .landing-shell, .admin-main { width: min(100% - 28px, 1120px); }
    .landing-hero { min-height: auto; padding: 90px 0 70px; }
    .landing-header .brand > span:last-child { display: none; }
    .landing-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
    .admin-header { padding: 0 14px; }
    .admin-header .brand > span:last-child { display: none; }
    .account-name { max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .event-form { grid-template-columns: 1fr; }
    .field-wide { grid-column: 1; }
    .image-upload-field { grid-template-columns: 1fr; }
    .image-upload-field > label:first-child, .event-image-preview, .image-remove-option { grid-column: 1; }
    .event-image-preview { max-width: 260px; }
    .delete-event-form { align-items: stretch; flex-direction: column; }
    .event-participant-admin-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
    .event-participant-person { grid-column: 1 / -1; }
    .participant-admin-days { text-align: left; }
    .event-card-top { align-items: flex-start; }
    .event-stats { min-width: 70px; }
    .share-row { grid-template-columns: 1fr; }
    .share-row .button-ghost { grid-column: auto; }
    .event-topbar { min-height: 64px; padding: 0 12px; }
    .event-topbar .brand > span:last-child { display: none; }
    .profile-button { max-width: 145px; }
    .event-topbar-actions { gap: 2px; }
    .event-topbar-actions .button { min-height: 36px; padding: 6px 8px; font-size: .74rem; }
    .full-label { display: none; }
    .short-label { display: inline; }
    .event-content { padding: 22px 9px 128px; }
    .event-heading { padding: 0 7px; }
    .event-heading h1 { font-size: 2rem; }
    .mobile-participants-panel .participant-list { grid-template-columns: 1fr; }
    .summary-strip { grid-template-columns: 1fr; gap: 7px; }
    .summary-card { min-height: 80px; padding: 12px; }
    .best-date-card { align-items: stretch; flex-direction: column; }
    .vote-button { width: 100%; }
    .calendar-toolbar { gap: 6px; margin-right: -1px; margin-left: -1px; padding: 7px; }
    .selection-help { font-size: .67rem; }
    .details-mode-toggle { padding-right: 7px; padding-left: 7px; }
    .calendar-wrap { display: block; }
    .calendar-month { margin-bottom: 12px; border-radius: 14px; padding: 8px 5px 7px; }
    .month-heading { padding-left: 3px; }
    .weekday-row, .calendar-week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
    .day-cell { min-height: 45px; border-radius: 8px; padding: 6px 4px; }
    .day-cell.is-own { padding: 5px 3px; }
    .day-own-check { left: 3px; }
    .calendar-legend { padding: 0 5px; }
    .confirm-bar { gap: 9px; padding-left: 12px; }
    .confirm-messages { display: grid; gap: 2px; }
    .confirm-copy span { max-width: 125px; }
    .save-indicator { display: none; }
    .dialog-actions { flex-direction: column-reverse; }
    .dialog-actions .button { width: 100%; }
}

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