* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #19231b;
    background: #f6f2e9;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.page-start {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .98) 0%, rgba(246, 242, 233, .9) 48%, rgba(246, 242, 233, .66) 100%),
        url("/assets/visuals/hobby-event.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

body.page-register,
body.page-exhibitor_login,
body.page-exhibitor_events,
body.page-password_forgot,
body.page-password_reset,
body.page-verify_registration,
body.page-edit {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .98) 0%, rgba(246, 242, 233, .92) 52%, rgba(246, 242, 233, .72) 100%),
        url("/assets/visuals/hobby-registration.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

body.page-code,
body.page-vote {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .98) 0%, rgba(246, 242, 233, .9) 54%, rgba(246, 242, 233, .7) 100%),
        url("/assets/visuals/hobby-voting.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

body.page-helpers {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .98) 0%, rgba(246, 242, 233, .9) 50%, rgba(246, 242, 233, .7) 100%),
        url("/assets/visuals/helper-planning.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

body.page-results {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .98) 0%, rgba(246, 242, 233, .9) 52%, rgba(246, 242, 233, .72) 100%),
        url("/assets/visuals/winner-awards.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

body.page-admin_login,
body.page-admin,
body.page-event_new,
body.page-event_edit,
body.page-admin_texts,
body.page-admin_ads,
body.page-admin_exhibitors,
body.page-admin_helpers,
body.page-admin_external_lists,
body.page-admin_exports,
body.page-admin_audit,
body.page-admin_help,
body.page-admin_user_edit,
body.page-setup,
body.page-print_data,
body.page-terms,
body.page-event_privacy {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .99) 0%, rgba(246, 242, 233, .94) 58%, rgba(246, 242, 233, .78) 100%),
        url("/assets/visuals/admin-neutral.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

a {
    color: #703915;
}

.admin-mode-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 14px 18px;
    border-bottom: 4px solid #8f1f13;
    background: repeating-linear-gradient(135deg, #ffdf69 0 18px, #ffd13a 18px 36px) !important;
    color: #321409;
    text-align: center;
    font-weight: 950;
    box-shadow: 0 4px 18px rgba(60, 28, 10, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.admin-mode-bar .admin-context-form,
.admin-mode-bar .inline-form {
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

.admin-mode-bar .admin-context-form select {
    background: rgba(255, 250, 240, .92) !important;
}

.admin-mode-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.inline-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.link-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: #703915;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.admin-mode-links .link-button {
    color: inherit;
    font-weight: inherit;
}

.admin-context-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-context-form {
    display: inline-grid;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.admin-context-form label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .86rem;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-context-form select {
    width: auto;
    max-width: min(42vw, 340px);
    min-height: 34px;
    padding: 6px 30px 6px 10px;
    border: 1px solid rgba(50, 20, 9, .26);
    border-radius: 6px;
    background: rgba(255, 250, 240, .72);
    color: #321409;
    font-size: .92rem;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.admin-context-static {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid rgba(50, 20, 9, .2);
    border-radius: 6px;
    background: rgba(255, 250, 240, .54);
    font-size: .92rem;
    font-weight: 900;
}

.admin-mode-links a {
    color: #321409;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 950;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 16px clamp(16px, 4vw, 44px);
    border-bottom: 1px solid #d8cfbe;
    background: #fffaf0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-mode-bar + .topbar {
    top: 56px;
}

.kiosk-page {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(249, 244, 234, .96) 0%, rgba(249, 244, 234, .86) 50%, rgba(249, 244, 234, .58) 100%),
        url("/assets/visuals/hobby-voting.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

.kiosk-page .shell {
    width: min(100% - 32px, 980px);
    min-height: 100vh;
    display: grid;
    align-content: center;
    padding: 28px 0;
}

.kiosk-admin-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 14px 18px;
    border-bottom: 4px solid #8f1f13;
    background: repeating-linear-gradient(135deg, #ffdf69 0 18px, #ffd13a 18px 36px);
    color: #321409;
    text-align: center;
    font-weight: 950;
    box-shadow: 0 4px 18px rgba(60, 28, 10, .22);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.kiosk-admin-warning + .shell {
    padding-top: 84px;
}

.brand {
    font-weight: 800;
    text-decoration: none;
}

.topbar-context {
    color: #5f594e;
    font-size: .9rem;
    font-weight: 750;
}

.topbar nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.shell {
    width: min(1180px, calc(100% - 32px));
    flex: 1 0 auto;
    margin: 0 auto;
    padding: 34px 0 60px;
}

img,
svg {
    max-width: 100%;
}

h1 {
    margin: 0 0 18px;
    font-size: 4.2rem;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h2 {
    margin: 0 0 18px;
}

.label {
    margin: 0 0 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #7a5b26;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 22px 0;
}

.app-home {
    display: grid;
    gap: 22px;
}

.app-hero {
    min-height: 36vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(20px, 4vw, 54px);
    align-items: end;
    padding: clamp(14px, 3vw, 24px) 0 8px;
}

.lead {
    max-width: 720px;
    margin: 0;
    color: #4d493f;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    line-height: 1.5;
}

.current-event-card,
.home-card {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 14px 34px rgba(56, 38, 18, .08);
}

.current-event-card {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 18px;
}

.current-event-card h2,
.current-event-card p,
.home-card h2,
.home-card p {
    margin: 0;
}

.current-event-card p,
.home-card p {
    color: #5d574b;
    line-height: 1.45;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-card {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: clamp(16px, 3vw, 22px);
}

.public-action-stack {
    display: grid;
    gap: 14px;
}

.public-action-card {
    display: grid;
    gap: 16px;
    padding: clamp(16px, 3vw, 22px);
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 14px 34px rgba(56, 38, 18, .08);
}

.public-action-card header {
    display: grid;
    gap: 6px;
}

.public-action-card h2,
.public-action-card p {
    margin: 0;
}

.public-action-card p,
.public-action-row span {
    color: #5d574b;
    line-height: 1.45;
}

.public-action-list {
    display: grid;
    gap: 10px;
}

.public-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(216, 207, 190, .7);
}

.public-action-row div {
    display: grid;
    gap: 4px;
}

.public-action-card-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.public-action-card-legal {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.public-action-card-legal .legal-links {
    justify-content: flex-end;
    margin-top: 0;
}

.event-list {
    display: grid;
    gap: 12px;
}

.event-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
}

.event-row h3 {
    margin: 4px 0;
}

.event-row p {
    margin: 0;
}

.home-card .actions {
    margin: 4px 0 0;
}

.vote-entry-card .vote-code-form {
    margin-top: 2px;
}

.event-overview h2 {
    margin-bottom: 12px;
}

.subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 22px;
    padding: 10px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
}

.subnav a {
    border-radius: 6px;
    padding: 9px 11px;
    background: #efe2cb;
    color: #3d2a18;
    text-decoration: none;
    font-weight: 800;
}

.subnav a.is-active {
    background: #6d3b16;
    color: #fff;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.section-heading h2 {
    margin: 0;
}

.scope-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eadfcd;
    color: #5b3b17;
    font-size: .86rem;
    font-weight: 850;
}

.scope-badge.muted {
    background: rgba(88, 82, 72, .12);
    color: #51483c;
}

.event-windows {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 20px 0;
    max-width: 640px;
}

.event-windows p {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(216, 207, 190, .8);
    border-radius: 8px;
    background: rgba(255, 253, 248, .7);
}

.event-windows strong {
    color: #513014;
}

.event-windows span {
    color: #3f3a31;
}

.export-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.export-grid article {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.export-grid h3,
.export-grid p {
    margin: 0;
}

.export-grid input[readonly] {
    width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.export-link-group {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.export-link-group > h3,
.export-link-group > p {
    margin: 0;
}

.copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.helper-slot-list {
    display: grid;
    gap: 14px;
}

.helper-admin-guide {
    display: grid;
    gap: 16px;
}

.helper-admin-guide h2,
.helper-admin-guide p {
    margin: 0;
}

.helper-admin-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.helper-admin-steps div {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid rgba(138, 91, 29, .22);
    border-radius: 8px;
    background: rgba(255, 253, 248, .72);
}

.helper-admin-steps strong {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #8a5b1d;
    color: #fffaf0;
    line-height: 1;
}

.helper-admin-steps span {
    font-weight: 850;
    color: #2e1f12;
}

.helper-admin-steps small {
    color: #715f49;
    line-height: 1.35;
}

.helper-list-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin: 24px 0 10px;
}

.helper-list-heading h2,
.helper-list-heading p {
    margin: 0;
}

.helper-admin-guide-actions {
    display: flex;
    justify-content: flex-end;
}

.helper-list-details,
.helper-admin-block,
.setup-details {
    display: block;
    scroll-margin-top: 18px;
}

.helper-list-details > summary,
.helper-admin-block > summary,
.helper-slot-card > summary,
.setup-details > summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    list-style: none;
}

.helper-list-details > summary::-webkit-details-marker,
.helper-admin-block > summary::-webkit-details-marker,
.helper-slot-card > summary::-webkit-details-marker,
.setup-details > summary::-webkit-details-marker {
    display: none;
}

.helper-list-details > summary::after,
.helper-admin-block > summary::after,
.helper-slot-card > summary::after,
.setup-details > summary::after {
    content: "+";
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eadfcd;
    color: #3d2a18;
    font-weight: 900;
}

.helper-list-details[open] > summary::after,
.helper-admin-block[open] > summary::after,
.helper-slot-card[open] > summary::after,
.setup-details[open] > summary::after {
    content: "-";
}

.setup-details > summary {
    margin-bottom: 0;
}

.setup-details[open] > summary {
    margin-bottom: 16px;
}

.helper-list-details {
    overflow: hidden;
    border-color: rgba(110, 77, 34, .22);
}

.helper-list-details > summary {
    padding: 2px 0;
}

.helper-list-details > summary h2 {
    margin: 0;
}

.helper-list-details:not([open]) {
    opacity: .88;
}

.helper-list-details[open] {
    border-color: rgba(122, 71, 24, .48);
    box-shadow: 0 18px 44px rgba(76, 48, 17, .12);
}

.helper-list-details[open] > summary {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(122, 71, 24, .16);
}

.helper-admin-block {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(138, 91, 29, .18);
    border-radius: 8px;
    background: rgba(255, 250, 240, .54);
}

.helper-admin-block > summary span {
    font-weight: 850;
}

.helper-admin-block > summary small {
    color: #715f49;
}

.helper-admin-block[open] {
    background: rgba(255, 253, 248, .76);
    border-color: rgba(138, 91, 29, .28);
}

.helper-admin-block > form,
.helper-admin-block > .helper-slot-list,
.helper-admin-block > table,
.helper-admin-block > p,
.helper-admin-block > .copy-row,
.helper-admin-block > .actions,
.helper-metrics {
    margin-top: 14px;
}

.helper-list-create-panel {
    max-width: 980px;
}

.helper-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 14px 16px;
    align-items: end;
}

.helper-form-grid .span-2 {
    grid-column: 1 / -1;
}

.helper-form-grid textarea {
    min-height: 110px;
}

.helper-open-checkbox {
    align-self: center;
    min-height: 46px;
}

.helper-list-settings-form > .grid,
.helper-slot-form > .grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.helper-list-settings-form > label:first-of-type,
.helper-list-settings-form > label:has(textarea),
.helper-slot-form > label:has(textarea) {
    display: grid;
}

.helper-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.helper-metrics div {
    display: grid;
    gap: 2px;
    padding: 12px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.helper-metrics strong {
    font-size: 1.5rem;
    line-height: 1;
    color: #2e1f12;
}

.helper-metrics span {
    color: #715f49;
    font-size: .9rem;
}

.helper-slot-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(138, 91, 29, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .54);
    scroll-margin-top: 18px;
}

.helper-slot-card[open] {
    border-color: rgba(122, 71, 24, .34);
    background: rgba(255, 253, 248, .82);
}

.helper-slot-card h2,
.helper-slot-card h3,
.helper-slot-card p {
    margin: 0;
}

.helper-slot-card table {
    margin-top: 4px;
}

.helper-signup-table th,
.helper-signup-table td {
    vertical-align: top;
}

.helper-signup-table .helper-note-cell {
    min-width: 180px;
    max-width: 360px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.helper-note-cell details {
    max-width: 100%;
}

.helper-note-cell summary {
    cursor: pointer;
    color: #5f3f1c;
    font-weight: 700;
}

.helper-note-cell details[open] summary {
    margin-bottom: 6px;
}

.helper-note-cell div {
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 250, 240, .72);
}

.helper-confirm-task-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.helper-confirm-task-list li {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(145, 105, 55, .28);
    border-radius: 8px;
    background: rgba(255, 250, 240, .58);
}

.helper-confirm-task-list span {
    color: #6d5a42;
    font-size: .9rem;
}

.helper-name-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.helper-name-list li {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eadfcd;
    color: #3d2a18;
    font-weight: 750;
}

.helper-slot-form,
.helper-signup-form {
    margin-bottom: 14px;
}

.helper-slot-edit-form {
    padding-top: 12px;
    border-top: 1px solid #eadfcd;
}

.helper-slot-delete {
    justify-content: flex-end;
}

.helper-public-panel {
    display: grid;
    gap: 18px;
}

.page-helpers .flash.ok {
    position: relative;
    padding: 18px 20px 18px 58px;
    border: 2px solid #3f8a43;
    background: #ecf8e8;
    color: #173b19;
    font-size: 1.02rem;
    box-shadow: 0 10px 26px rgba(46, 93, 38, .14);
}

.page-helpers .flash.ok::before {
    content: "!";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #3f8a43;
    color: #fff;
    font-weight: 950;
}

.helper-public-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    gap: 16px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #eadfcd;
}

.helper-public-intro h2 {
    margin: 0;
}

.helper-public-card {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.helper-public-card-main {
    display: grid;
    gap: 6px;
}

.helper-public-card-main h2,
.helper-public-card-main h3,
.helper-public-card-main p {
    margin: 0;
}

.helper-context-label,
.helper-signup-context span {
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #8a5b1d;
}

.helper-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.helper-public-meta span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eadfcd;
    color: #3d2a18;
    font-weight: 750;
    font-size: .9rem;
}

.helper-public-slot-card {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px 16px;
    padding: 16px;
    border-color: #d8cfbe;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.helper-public-slot-card:has([data-helper-task-checkbox]:checked),
.helper-public-slot-card.is-selected-helper-task {
    border-color: #8a5b1d;
    background: #fffaf1;
    box-shadow: 0 0 0 3px rgba(138, 91, 29, .12);
}

.helper-public-slot-card .helper-public-card {
    grid-column: 2;
}

.helper-public-slot-card > p,
.helper-public-slot-card > .helper-name-list,
.helper-public-slot-card > .small {
    grid-column: 2;
}

.helper-task-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 18px;
    align-items: start;
}

.form.compact.helper-task-signup-form {
    max-width: none;
}

.helper-task-column,
.helper-signup-column {
    display: grid;
    gap: 14px;
}

.helper-signup-column {
    position: sticky;
    top: 18px;
    padding: 16px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.helper-task-choice-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.helper-task-choice-heading h3,
.helper-task-choice-heading p {
    margin: 0;
}

.helper-choice-list {
    margin-bottom: 0;
}

.helper-task-check {
    grid-column: 1;
    display: grid;
    place-items: center;
    gap: 6px;
    min-width: 92px;
    min-height: 82px;
    padding: 12px 10px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fff8ec;
    color: #2e1f12;
    font-weight: 850;
    text-align: center;
    cursor: pointer;
}

.helper-task-check input {
    width: 24px;
    height: 24px;
    accent-color: #8a5b1d;
}

.helper-task-check:has(input:checked),
.helper-public-slot-card.is-selected-helper-task .helper-task-check {
    border-color: #8a5b1d;
    background: #eadfcd;
}

.helper-signup-context {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-left: 4px solid #8a5b1d;
    border-radius: 6px;
    background: #fff8ec;
}

.helper-signup-context small {
    color: #715f49;
}

.helper-selected-task-list {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.helper-selected-task-list li {
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid #d8cfbe;
    border-radius: 6px;
    background: #fffdf8;
}

.helper-signup-context strong {
    color: #2e1f12;
}

.qr-preview {
    width: 180px;
    height: 180px;
    max-width: 100%;
    border: 1px solid #d8cfbe;
    background: #fff;
    padding: 8px;
}

tr.is-selected-event td {
    background:
        linear-gradient(145deg, rgba(255, 243, 194, .92), rgba(255, 250, 240, .72));
    border-top: 2px solid rgba(138, 91, 29, .48);
    border-bottom: 2px solid rgba(138, 91, 29, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
    font-size: 1.03rem;
}

.event-admin-table tbody tr:not(.is-selected-event) td {
    opacity: .46;
    filter: saturate(.55);
    background: rgba(255, 250, 240, .42);
}

.event-admin-table tbody tr:not(.is-selected-event):hover td {
    opacity: .88;
    filter: saturate(.85);
}

.event-admin-table tbody tr.is-selected-event td:first-child {
    border-left: 4px solid #8a5b1d;
}

.event-admin-table tbody tr.is-selected-event td:last-child {
    border-right: 4px solid #8a5b1d;
}

.event-admin-table td {
    vertical-align: middle;
}

.event-admin-table {
    width: 100%;
}

.event-admin-table th,
.event-admin-table td {
    white-space: nowrap;
}

.event-admin-table .event-col-title {
    white-space: normal;
    min-width: 170px;
}

.event-admin-table .event-col-date {
    width: 1%;
}

.event-admin-table .event-col-city {
    width: 1%;
}

.event-admin-table .event-col-status {
    width: 1%;
    text-align: center;
}

.event-admin-table .event-col-exhibitors {
    width: 100%;
    min-width: 280px;
}

.event-admin-table .event-col-actions {
    width: 1%;
}

.event-admin-table .scope-badge {
    margin-left: 8px;
    white-space: nowrap;
}

.event-col-actions .inline-form {
    margin: 0;
}

.event-select-form {
    display: inline-grid;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.event-select-label {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
}

.event-select-label input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #6d3b16;
}

.event-select-label span,
.icon-action span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.event-status-form {
    display: inline-grid;
    width: min(100%, 170px);
    margin: 0;
}

.event-status-form select {
    min-height: 36px;
    padding: 7px 32px 7px 10px;
    font-size: .92rem;
}

.event-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 850;
    white-space: nowrap;
}

.event-status-dot span {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .66);
}

.event-status-published span {
    background: #2f8a3a;
}

.event-status-draft span {
    background: #d7a51d;
}

.event-status-paused span {
    background: #b4551f;
}

.event-status-archived span {
    background: #1f1b18;
}

.event-status-help {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 18px;
}

.event-status-help > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(122, 96, 64, .18);
    border-radius: 8px;
    background: rgba(255, 250, 240, .62);
}

.event-status-help strong {
    font-weight: 900;
}

.event-status-help small {
    grid-column: 2;
    color: #615443;
    line-height: 1.35;
}

.is-current-action {
    display: inline-flex;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: #6d3b16;
    color: #fffaf0;
    font-weight: 850;
    text-decoration: none;
}

.status-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.status-list span {
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 750;
    font-size: .92rem;
}

.status-open {
    background: #dff1dc;
    color: #1f5a2b;
}

.status-closed {
    background: #eadfcd;
    color: #6a4b22;
}

.button {
    border: 0;
    border-radius: 6px;
    padding: 11px 16px;
    background: #6d3b16;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.button.ghost {
    background: #efe2cb;
    color: #3d2a18;
}

.button.danger {
    background: #9c2018;
}

.danger-button {
    background: #9c2018;
}

.form {
    display: grid;
    gap: 18px;
    width: 100%;
    max-width: 760px;
}

.registration-form {
    width: min(100%, 900px);
    max-width: 900px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.registration-form > .checkbox-label,
.registration-form > .button,
.registration-form > .social-contact-fields,
.registration-form > label:has(input[type="file"]) {
    grid-column: 1 / -1;
}

.registration-event-summary {
    max-width: 900px;
    margin-bottom: 18px;
}

.registration-event-summary h2,
.registration-event-summary p {
    margin-top: 0;
}

.registration-event-summary .prose {
    max-width: 760px;
}

.form.compact {
    max-width: 420px;
}

.edit-form {
    max-width: none;
}

.edit-tab-nav {
    position: sticky;
    top: 76px;
    z-index: 8;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 8px 22px rgba(56, 38, 18, .08);
}

.admin-mode-bar + .topbar + .shell .edit-tab-nav {
    top: 132px;
}

.edit-tab-nav button {
    border: 0;
    border-radius: 6px;
    padding: 10px 14px;
    background: #efe2cb;
    color: #3d2a18;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.edit-tab-nav button[hidden] {
    display: none;
}

.edit-tab-nav button.is-active {
    background: #6d3b16;
    color: #fff;
}

.edit-tab-panel {
    display: grid;
    gap: 16px;
    max-width: 920px;
}

.edit-tab-panel[data-edit-panel="vorschau"] {
    max-width: 760px;
}

.edit-tab-panel .preview {
    position: static;
}

.beer-add-row {
    width: min(920px, 100%);
}

.form-panel {
    display: grid;
    gap: 18px;
}

.field-hint {
    display: block;
    margin: -2px 0 0;
    color: #6a604e;
    font-size: .86rem;
    font-weight: 500;
    line-height: 1.35;
}

.file-upload-feedback.error {
    color: #a11d1d;
    font-weight: 700;
}

.legal-content {
    max-width: 980px;
}

.legal-content .prose {
    max-width: 860px;
}

.legal-context-note {
    max-width: 760px;
    margin: 6px 0 14px;
    color: #5d574b;
    line-height: 1.5;
}

.legal-content h2 {
    margin-top: 18px;
}

.legal-content h3 {
    margin-bottom: 4px;
}

.legal-separator {
    width: 100%;
    margin: 28px 0;
    border: 0;
    border-top: 1px solid rgba(116, 91, 54, .24);
}

.edit-save-bar {
    position: sticky;
    bottom: 12px;
    z-index: 8;
    width: min(920px, 100%);
    padding: 10px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 10px 30px rgba(56, 38, 18, .12);
}

.edit-save-bar .button {
    min-width: 180px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
    min-width: 0;
    width: 100%;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    margin: .08em 0 0;
    accent-color: #7a4718;
    justify-self: start;
    align-self: start;
}

.compact-checkbox {
    display: inline-grid;
    width: auto;
    grid-template-columns: 24px;
    vertical-align: middle;
}

.checkbox-label a {
    overflow-wrap: anywhere;
}

.registration-form .checkbox-label {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 8px;
    background: rgba(255, 255, 255, .2);
}

.optional-consent {
    padding: 12px 14px;
    border: 1px dashed rgba(122, 71, 24, .35);
    border-radius: 8px;
    background: rgba(255, 250, 240, .44);
}

.social-contact-fields {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(122, 71, 24, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .26);
}

.social-contact-fields legend {
    padding: 0 6px;
    font-weight: 850;
}

.social-contact-fields .field-hint {
    grid-column: 1 / -1;
    margin: 0;
}

.social-contact-fields.is-disabled {
    opacity: .72;
}

.social-draft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 16px;
}

.social-draft-card {
    align-content: start;
}

.social-draft-card textarea {
    min-height: 180px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.45;
}

.social-draft-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid rgba(216, 207, 190, .78);
    border-radius: 8px;
    background: rgba(255, 253, 248, .72);
}

.social-draft-media {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
}

.social-link-list a {
    font-weight: 800;
}

.social-draft-beers {
    display: grid;
    gap: 12px;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #cfc4b1;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
    background: #fffdf8;
    color: #172017;
    min-height: 44px;
}

textarea {
    resize: vertical;
}

fieldset,
.panel,
.preview {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    padding: 18px;
    background: #fffaf0;
}

.danger-zone {
    border-color: #e8aaa4;
    background: #fff7f5;
}

.legal-action-panel {
    max-width: 760px;
    margin-inline: auto;
}

.note-box {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(126, 96, 52, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .5);
}

.note-box h2 {
    margin-top: 0;
}

.text-editor-list textarea {
    min-height: 120px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    line-height: 1.45;
}

.text-editor-list {
    display: grid;
    gap: 12px;
}

.text-editor-list h3 {
    margin: 18px 0 2px;
}

.text-editor-details,
.ad-upload-details {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.text-editor-details summary,
.ad-upload-details summary,
.ad-admin-card summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    cursor: pointer;
    padding: 12px 14px;
    font-weight: 850;
}

.text-editor-details summary small,
.ad-admin-card summary small {
    color: #746b5d;
    font-weight: 650;
    text-align: right;
}

.text-editor-card {
    border-top: 1px solid #e3dac8;
    padding: 14px;
}

.placeholder-help {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fffdf7;
}

.legal-change-type {
    display: grid;
    gap: 10px;
    background: rgba(255, 253, 247, .82);
}

.legal-change-type legend {
    font-weight: 800;
    padding: 0 6px;
}

.placeholder-list {
    display: grid;
    gap: 6px;
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid #e1d7c5;
    border-radius: 6px;
    background: #fffdf7;
    color: #5e5343;
    font-size: .88rem;
    font-weight: 500;
}

.placeholder-list span {
    font-weight: 800;
}

.placeholder-list ul {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 18px;
}

.placeholder-list code {
    color: #633817;
    font-weight: 850;
}

.legal-writing-guide {
    margin-top: 6px;
    border: 1px solid rgba(126, 96, 52, .24);
    border-radius: 8px;
    background: rgba(255, 253, 247, .74);
    color: #4f4639;
}

.legal-writing-guide summary {
    cursor: pointer;
    padding: 10px 12px;
    font-weight: 850;
}

.legal-writing-guide p {
    margin: 0;
    padding: 0 12px 8px;
    max-width: none;
    color: #6a604e;
    font-size: .9rem;
}

.legal-writing-guide ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 12px 12px 34px;
}

.legal-writing-guide ul {
    display: grid;
    gap: 4px;
    margin: 6px 0 0;
    padding-left: 18px;
}

.legal-writing-guide li {
    line-height: 1.45;
}

.event-form-section {
    display: grid;
    gap: 12px;
}

.event-form-grid,
.event-time-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: none;
}

.event-time-range input,
.compact-datetime input {
    max-width: none;
}

.datetime-split {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(110px, .75fr) auto;
    gap: 10px;
    align-items: end;
}

.datetime-split label {
    min-width: 0;
}

.datetime-split input {
    width: 100%;
}

.datetime-clear {
    min-height: 42px;
    padding-inline: 12px;
    white-space: nowrap;
}

.datetime-split.has-invalid-field {
    padding: 8px;
    border: 1px solid rgba(176, 48, 48, .45);
    border-radius: 8px;
    background: rgba(255, 236, 236, .72);
}

.compact-number input {
    max-width: none;
}

legend {
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.preview {
    position: sticky;
    top: 132px;
}

.beer-preview {
    border-top: 1px solid #d8cfbe;
    padding-top: 16px;
    margin-top: 16px;
}

dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

dt {
    font-size: .82rem;
    color: #6a604e;
}

dd {
    margin: 0;
    font-weight: 750;
}

.small {
    font-size: .92rem;
    color: #5d574b;
}

.logo-settings-form + .logo-settings-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d8cfbe;
}

.logo-upload-card {
    display: grid;
    gap: 12px;
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    padding: 14px;
    background: #fffdf8;
}

.logo-current {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 0;
}

.logo-current img,
.booklet-logo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-current img {
    width: 84px;
    max-height: 84px;
}

.logo-current figcaption {
    font-size: .88rem;
    color: #5d574b;
}

.ad-admin-list {
    display: grid;
    gap: 14px;
    margin: 14px 0 22px;
}

.ad-admin-card {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffdf8;
}

.ad-admin-card form {
    display: grid;
    gap: 12px;
    border-top: 1px solid #e3dac8;
    padding: 14px;
}

.ad-upload-details > form {
    border-top: 1px solid #e3dac8;
    padding: 14px;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 14px;
}

.permission-grid legend {
    font-weight: 850;
    margin-bottom: 6px;
}

.ad-admin-card figure {
    display: grid;
    gap: 8px;
    margin: 0;
}

.ad-admin-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border: 1px solid #e3dac8;
    border-radius: 8px;
    background: #f7f0e4;
}

.ad-admin-card figcaption {
    color: #5d574b;
    font-size: .88rem;
}

.booklet-heading,
.print-exhibitor-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 16px;
    align-items: start;
}

.booklet-heading h2,
.print-exhibitor-header h2 {
    margin-top: 0;
}

.booklet-logo {
    justify-self: end;
    width: 92px;
    max-height: 92px;
}

.participant-progress {
    display: grid;
    gap: 6px;
    min-width: 170px;
}

.participant-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .88rem;
    color: #5d574b;
}

.participant-progress-label strong {
    color: #172017;
}

.participant-progress-track {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7decc;
}

.participant-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5f8d5a, #d49a38);
}

.waitlist-count {
    margin: 6px 0 0;
    color: #6a604e;
    font-size: .9rem;
    font-weight: 750;
}

.help-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding-left: 22px;
}

.help-list li::marker {
    color: #6d3b16;
    font-weight: 900;
}

.help-list p {
    margin: 5px 0 0;
    color: #4f4639;
}

.flash {
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    background: #dff1dc;
    border: 1px solid rgba(72, 128, 62, .28);
    font-weight: 750;
}

.flash.error {
    background: #ffe8e4;
    border-color: #b71919;
    color: #5e0f0f;
    box-shadow: 0 0 0 3px rgba(183, 25, 25, .08);
}

.form-warning.error {
    background: #ffe8e4;
    border-color: #b71919;
    color: #5e0f0f;
    border-left: 5px solid #b71919;
    box-shadow: 0 0 0 3px rgba(183, 25, 25, .12);
}

.flash.warning,
.form-warning {
    background: #fff1cc;
    border: 1px solid #deb45a;
    color: #4d3512;
}

.form-warning {
    padding: 12px 14px;
    border-radius: 6px;
    font-weight: 750;
    scroll-margin-top: 120px;
}

.form-warning ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.is-invalid-field {
    border-color: #b71919 !important;
    box-shadow: 0 0 0 3px rgba(183, 25, 25, .16) !important;
}

.has-invalid-field {
    color: #7a1010;
}

.required-indicator {
    color: #b71919;
    font-weight: 900;
    margin-left: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 3px solid rgba(122, 71, 24, .72);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(244, 176, 73, .22);
}

.beer-form-feedback.error,
.file-upload-feedback.error {
    color: #7a1010;
    font-weight: 800;
}

.beer-required-summary {
    margin-top: -2px;
}

.beer-inline-error {
    margin: 4px 0 10px;
    padding: 10px 12px;
    border: 1px solid #b71919;
    border-radius: 6px;
    background: rgba(255, 232, 228, .86);
    color: #5e0f0f;
    font-weight: 800;
}

.kiosk-page .flash {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 90;
    width: min(620px, calc(100% - 24px));
    transform: translateX(-50%);
    box-shadow: 0 8px 28px rgba(40, 20, 8, .22);
}

.kiosk-admin-warning + .shell .flash {
    top: 94px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fffdf8;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid #ded4c2;
    text-align: left;
    vertical-align: top;
}

.table-actions {
    display: grid;
    gap: 8px;
    min-width: 150px;
    white-space: normal;
}

.table-actions-compact {
    min-width: 44px;
    justify-items: center;
}

.table-actions-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 86px;
    white-space: nowrap;
}

.icon-action {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(74, 43, 20, .18);
    border-radius: 6px;
    background: rgba(255, 250, 240, .7);
    color: #593116;
    cursor: pointer;
    text-decoration: none;
}

.icon-action svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.icon-action:hover,
.icon-action:focus-visible {
    background: rgba(255, 250, 240, .95);
    color: #301707;
}

.icon-action-danger {
    color: #9c2018;
}

.icon-action-danger:hover,
.icon-action-danger:focus-visible {
    color: #6f1510;
}

.danger-link {
    width: fit-content;
    border: 0;
    background: transparent;
    color: #9c2018;
    cursor: pointer;
    font: inherit;
    font-size: .9rem;
    font-weight: 750;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.danger-link:hover,
.danger-link:focus-visible {
    color: #6f1510;
}

.danger-details summary {
    color: #9c2018;
    cursor: pointer;
    font-weight: 800;
}

.danger-form {
    align-items: center;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #e5b8b0;
    border-radius: 6px;
    background: #fff3ef;
}

.danger-form .small {
    flex-basis: 100%;
    margin: 0;
    color: #7b241d;
}

.confirm-dialog {
    width: min(520px, calc(100vw - 28px));
    max-height: min(86vh, 720px);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
}

.confirm-dialog::backdrop {
    background: rgba(24, 18, 12, .54);
    backdrop-filter: blur(2px);
}

.confirm-dialog-card {
    display: grid;
    gap: 14px;
    padding: clamp(18px, 5vw, 26px);
    border: 1px solid #e5b8b0;
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 24px 60px rgba(30, 20, 10, .26);
}

.confirm-dialog-card h3,
.confirm-dialog-card p {
    margin: 0;
}

.confirm-dialog-card input[type="text"],
.confirm-dialog-card input:not([type]) {
    width: 100%;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.danger-soft {
    color: #8b2119;
    border-color: rgba(183, 25, 25, .28);
}

.ad-placement-help {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 4px;
}

.ad-placement-help > div {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(116, 91, 54, .2);
    border-radius: 8px;
    background: rgba(255, 250, 240, .56);
}

.ad-placement-help strong,
.ad-placement-help p {
    margin: 0;
}

.ad-placement-help p {
    color: #5c5144;
    font-size: .92rem;
}

.ad-placement-preview {
    display: block;
    width: 100%;
    height: 46px;
    border: 1px solid rgba(116, 91, 54, .22);
    border-radius: 6px;
    background:
        linear-gradient(rgba(138, 91, 29, .72), rgba(138, 91, 29, .72)) 8px 8px / calc(100% - 16px) 8px no-repeat,
        linear-gradient(rgba(116, 91, 54, .16), rgba(116, 91, 54, .16)) 8px 22px / 46% 16px no-repeat,
        linear-gradient(rgba(116, 91, 54, .16), rgba(116, 91, 54, .16)) calc(54% + 2px) 22px / calc(46% - 10px) 16px no-repeat,
        rgba(255, 253, 248, .82);
}

.ad-placement-preview-header {
    background:
        linear-gradient(rgba(138, 91, 29, .78), rgba(138, 91, 29, .78)) 8px 7px / calc(100% - 16px) 9px no-repeat,
        linear-gradient(rgba(116, 91, 54, .14), rgba(116, 91, 54, .14)) 8px 23px / calc(100% - 16px) 14px no-repeat,
        rgba(255, 253, 248, .82);
}

.ad-placement-preview-pages {
    background:
        linear-gradient(rgba(116, 91, 54, .16), rgba(116, 91, 54, .16)) 8px 8px / 36% 30px no-repeat,
        linear-gradient(rgba(138, 91, 29, .72), rgba(138, 91, 29, .72)) 48% 8px / 20% 30px no-repeat,
        linear-gradient(rgba(116, 91, 54, .16), rgba(116, 91, 54, .16)) calc(72% + 2px) 8px / calc(28% - 10px) 30px no-repeat,
        rgba(255, 253, 248, .82);
}

.inline-form {
    display: flex;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
}

.number-form {
    display: block;
    width: 92px;
}

.number-form input {
    min-width: 0;
}

.voting-exclusion-form {
    min-width: 150px;
}

.inline-form input {
    width: 160px;
}

.vote-code-form {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.vote-code-form label {
    width: min(340px, 100%);
}

.auth-layout {
    min-height: min(620px, calc(100vh - 210px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: clamp(22px, 5vw, 60px);
    align-items: center;
}

.auth-copy {
    max-width: 680px;
}

.auth-copy p:not(.label) {
    max-width: 560px;
    font-size: 1.08rem;
    line-height: 1.55;
    color: #4d493f;
}

.auth-card {
    width: 100%;
    max-width: none;
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
    box-shadow: 0 14px 34px rgba(56, 38, 18, .08);
}

.external-helper-login-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 30px);
    align-items: start;
}

.external-helper-login-grid .auth-card {
    align-content: start;
}

.auth-card .button,
.vote-card .button {
    min-height: 48px;
}

.vote-code-layout {
    align-items: center;
}

.vote-code-card input[name="code"] {
    min-height: 62px;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}

.vote-page {
    display: grid;
    gap: 22px;
}

.vote-header {
    max-width: 860px;
}

.vote-header h1 {
    margin-bottom: 10px;
}

.vote-header p:last-child {
    margin: 0;
    color: #5d574b;
    font-weight: 700;
}

.vote-card {
    max-width: 980px;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    background: #fffaf0;
}

.vote-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vote-choice {
    gap: 10px;
    padding: 14px;
    border: 1px solid #ddd0bc;
    border-radius: 8px;
    background: #fffdf8;
}

.vote-choice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.vote-choice-wide {
    grid-column: 1 / -1;
}

.vote-rank {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eadfcd;
    color: #4c3013;
    font-size: .9rem;
    font-weight: 900;
}

.vote-points {
    color: #6d3b16;
    font-size: .9rem;
    font-weight: 900;
    white-space: nowrap;
}

.vote-choice select {
    min-height: 52px;
    background-color: #fff;
}

.newsletter-card {
    padding: 16px;
    border: 1px solid rgba(128, 93, 46, .24);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 253, 248, .88), rgba(246, 237, 219, .68));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.newsletter-card legend {
    padding: 0 8px;
    color: #75562c;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.newsletter-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 18px;
    align-items: center;
}

.newsletter-card h2,
.newsletter-card p {
    margin: 0;
}

.newsletter-card h2 {
    margin-top: 4px;
    font-size: 1.05rem;
}

.newsletter-card p {
    margin-top: 6px;
    color: #5d574b;
    line-height: 1.45;
}

.newsletter-kicker {
    display: inline-flex;
    width: max-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(234, 223, 205, .92);
    color: #6d3b16;
    font-size: .78rem;
    font-weight: 900;
}

.newsletter-card-fields {
    display: grid;
    gap: 10px;
}

.newsletter-email-field input:disabled {
    opacity: .58;
    cursor: not-allowed;
}

.newsletter-card.is-active {
    border-color: rgba(126, 74, 22, .44);
    background: linear-gradient(135deg, rgba(255, 252, 244, .96), rgba(243, 226, 194, .76));
}

.is-hidden {
    display: none;
}

.beer-fieldset {
    display: grid;
    gap: 16px;
}

.beer-fieldset.is-hidden {
    display: none;
}

.beer-fieldset.needs-attention {
    border-color: #b71919;
    box-shadow: 0 0 0 3px rgba(183, 25, 25, .12);
}

.fieldset-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fieldset-title-row h3 {
    margin: 0;
}

.compact-button {
    padding: 8px 10px;
    font-size: .9rem;
}

.info-tip {
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 1.25em;
    height: 1.25em;
    margin-left: .35em;
    border-radius: 50%;
    background: #efe2cb;
    color: #3d2a18;
    font-size: .82em;
    font-weight: 900;
    cursor: pointer;
    isolation: isolate;
}

.info-tip::after {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 100;
    width: max-content;
    max-width: min(340px, calc(100vw - 32px));
    padding: 10px 12px;
    border: 1px solid rgba(91, 61, 30, .24);
    border-radius: 8px;
    background: rgba(255, 252, 244, .96);
    box-shadow: 0 12px 30px rgba(38, 25, 12, .18);
    color: #2f2318;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    transform: translate(-50%, 4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}

.info-tip::before {
    content: "";
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 101;
    border: 6px solid transparent;
    border-top-color: rgba(255, 252, 244, .96);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s ease;
}

.info-tip:hover::after,
.info-tip:focus-visible::after,
.info-tip.is-open::after {
    display: block;
    opacity: 1;
    transform: translate(-50%, 0);
}

.info-tip:hover::before,
.info-tip:focus-visible::before,
.info-tip.is-open::before {
    display: block;
    opacity: 1;
}

.info-tip.align-left::after {
    left: 0;
    transform: translate(0, 4px);
}

.info-tip.align-left:hover::after,
.info-tip.align-left:focus-visible::after,
.info-tip.align-left.is-open::after {
    transform: translate(0, 0);
}

.info-tip.align-left::before {
    left: .65em;
}

.info-tip.align-right::after {
    right: 0;
    left: auto;
    transform: translate(0, 4px);
}

.info-tip.align-right:hover::after,
.info-tip.align-right:focus-visible::after,
.info-tip.align-right.is-open::after {
    transform: translate(0, 0);
}

.info-tip.align-right::before {
    right: .65em;
    left: auto;
    transform: none;
}

.allergen-confirm {
    padding: 10px 12px;
    border: 1px solid #d8cfbe;
    border-radius: 6px;
    background: #fffdf8;
}

.kiosk-screen {
    display: grid;
    justify-items: center;
    gap: 22px;
    text-align: center;
}

.form.kiosk-code-form {
    width: min(100%, 1080px);
    max-width: 1080px;
    justify-items: stretch;
}

.kiosk-code-form input {
    font-size: 2rem;
    text-align: center;
    letter-spacing: .18em;
    font-weight: 900;
}

.virtual-keyboard {
    display: grid;
    gap: 10px;
    width: min(100%, 1080px);
}

.vk-row {
    display: grid;
    grid-template-columns: repeat(var(--vk-columns, 10), minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.vk-row-commands {
    grid-template-columns: minmax(92px, 180px) 1fr minmax(92px, 180px);
    margin-top: 2px;
}

.vk-key {
    width: 100%;
    max-width: none;
    min-height: 76px;
    border: 1px solid #cfc4b1;
    border-radius: 6px;
    background: #fffdf8;
    color: #172017;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    font-size: 1.38rem;
}

.vk-command {
    width: 100%;
    background: #efe2cb;
}

.vk-row-commands .vk-command:last-child {
    grid-column: 3;
}

.kiosk-save-button {
    min-width: 280px;
    min-height: 68px;
    justify-self: center;
    font-size: 1.15rem;
}

.privacy-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    font-weight: 800;
    color: #4a3419;
}

.privacy-ring {
    --timer-degrees: 360deg;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at center, #fffaf0 0 58%, transparent 60%),
        conic-gradient(#b71919 0 var(--timer-degrees), #eadfcd var(--timer-degrees) 360deg);
    color: #321409;
    font-weight: 950;
}

.kiosk-vote-form .virtual-keyboard {
    width: min(100%, 760px);
}

.ebc-palette {
    display: grid;
    gap: 7px;
}

.ebc-meter {
    position: relative;
    padding-bottom: 18px;
}

.ebc-scale {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 5px;
}

.ebc-swatch {
    min-height: 28px;
    border: 1px solid rgba(25, 35, 27, .2);
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
}

.ebc-swatch {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

.ebc-swatch-special {
    color: #fff;
}

.ebc-pointer {
    position: absolute;
    left: var(--ebc-position, 0);
    bottom: 0;
    transform: translateX(-50%);
    color: #172017;
    font-size: 1rem;
    line-height: 1;
}

.beer-preview h3 {
    margin-bottom: 6px;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.preview-header .label {
    margin: 0;
}

.beer-preview-number {
    color: #9b9488;
    font-weight: 650;
}

.beer-data-line {
    margin: 0 0 8px;
    font-size: .9rem;
    color: #5d574b;
}

.print-exhibitor {
    break-inside: avoid;
    margin-bottom: 18px;
}

@media print {
    .no-print,
    .topbar,
    .footer,
    .admin-mode-bar {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .shell {
        width: 100%;
        padding: 0;
    }

    .preview {
        border: 0;
        padding: 0;
        background: #fff;
        position: static;
    }

    .edit-form > :not([data-edit-panel="vorschau"]),
    .edit-form [data-edit-panel="vorschau"].is-hidden {
        display: none !important;
    }

    .edit-form [data-edit-panel="vorschau"] {
        display: block !important;
        max-width: none;
    }

    .edit-form {
        display: block;
        max-width: none;
    }

    body:has(.edit-form) h1,
    body:has(.edit-form) h1 + p,
    body:has(.edit-form) .flash {
        display: none !important;
    }
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0;
}

.metric-grid article {
    border: 1px solid #d8cfbe;
    border-radius: 8px;
    padding: 16px;
    background: #fffaf0;
}

.metric-grid strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.metric-grid span {
    display: block;
    margin-top: 8px;
    color: #5d574b;
}

.chart-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 24px;
}

.chart-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(150px, 190px);
    gap: 12px;
    align-items: center;
}

.chart-rank {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #6d3b16;
    color: #fff;
    font-weight: 800;
}

.chart-body {
    min-width: 0;
}

.chart-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.chart-label span,
.chart-value span {
    color: #6a604e;
}

.chart-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #eadfcd;
}

.chart-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6d3b16, #bd7a2e);
}

.name-chart .chart-track span {
    background: linear-gradient(90deg, #476a35, #8ca552);
}

.chart-value {
    font-weight: 800;
    text-align: right;
    line-height: 1.45;
}

.footer {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 28px 16px;
    border-top: 1px solid #d8cfbe;
}

html {
    min-height: 100%;
    background: #f6f2e9;
}

body {
    min-height: 100vh;
}

body.page-start,
body.page-register,
body.page-exhibitor_login,
body.page-exhibitor_events,
body.page-password_forgot,
body.page-password_reset,
body.page-verify_registration,
body.page-edit,
body.page-code,
body.page-vote,
body.page-helpers,
body.page-results,
body.page-admin_login,
body.page-admin,
body.page-event_new,
body.page-event_edit,
body.page-admin_texts,
body.page-admin_ads,
body.page-admin_exhibitors,
body.page-admin_helpers,
body.page-admin_external_lists,
body.page-admin_exports,
body.page-admin_audit,
body.page-admin_help,
body.page-admin_user_edit,
body.page-setup,
body.page-print_data,
body.page-terms,
body.page-event_privacy,
body.kiosk-page {
    background-color: #f6f2e9;
    background-attachment: fixed;
}

.topbar,
.footer,
.subnav,
.current-event-card,
.home-card,
.public-action-card,
.event-row,
.export-grid article,
.helper-admin-block,
.helper-metrics div,
.helper-slot-card,
.helper-public-panel,
.helper-public-slot-card,
.helper-signup-column,
.helper-task-choice-heading,
.form,
.auth-card,
fieldset,
.panel,
.preview,
.vote-card,
.vote-choice,
.metric-grid article,
table,
.confirm-dialog-card,
.text-editor-details,
.ad-upload-details,
.placeholder-help,
.placeholder-list,
.edit-tab-nav,
.edit-save-bar {
    border-color: rgba(116, 91, 54, .26);
    background: rgba(255, 250, 240, .74);
    -webkit-backdrop-filter: blur(18px) saturate(1.16);
    backdrop-filter: blur(18px) saturate(1.16);
    box-shadow: 0 16px 42px rgba(56, 38, 18, .1), inset 0 1px 0 rgba(255, 255, 255, .58);
}

.topbar,
.footer,
.subnav,
.edit-tab-nav,
.edit-save-bar {
    background: rgba(255, 250, 240, .82);
}

.form {
    padding: clamp(16px, 3vw, 22px);
    border: 1px solid rgba(116, 91, 54, .22);
    border-radius: 8px;
}

.auth-card,
.form.compact,
.edit-form,
.helper-task-signup-form,
.inline-form,
.vote-code-form,
.kiosk-code-form {
    padding: 0;
    border: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.auth-card {
    padding: clamp(18px, 4vw, 28px);
    border: 1px solid rgba(116, 91, 54, .26);
    background: rgba(255, 250, 240, .78);
    -webkit-backdrop-filter: blur(18px) saturate(1.16);
    backdrop-filter: blur(18px) saturate(1.16);
    box-shadow: 0 16px 42px rgba(56, 38, 18, .1), inset 0 1px 0 rgba(255, 255, 255, .58);
}

input,
textarea,
select {
    background: rgba(255, 253, 248, .9);
    border-color: rgba(104, 80, 45, .34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .68);
}

body.page-admin_login .auth-card {
    background: linear-gradient(145deg, rgba(255, 250, 240, .58), rgba(255, 255, 255, .34));
    -webkit-backdrop-filter: blur(26px) saturate(1.28);
    backdrop-filter: blur(26px) saturate(1.28);
    box-shadow: 0 22px 54px rgba(39, 27, 14, .18), inset 0 1px 0 rgba(255, 255, 255, .68);
}

body.page-admin_login .auth-card input,
body.page-admin_login .auth-card textarea,
body.page-admin_login .auth-card select {
    background: linear-gradient(145deg, rgba(255, 255, 255, .5), rgba(255, 248, 235, .32));
    border-color: rgba(96, 72, 39, .42);
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
    backdrop-filter: blur(16px) saturate(1.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 10px 24px rgba(50, 34, 16, .08);
}

body.page-admin_login .auth-card input:focus,
body.page-admin_login .auth-card textarea:focus,
body.page-admin_login .auth-card select:focus {
    background: rgba(255, 255, 255, .68);
    border-color: rgba(154, 104, 34, .78);
    box-shadow: 0 0 0 3px rgba(213, 157, 55, .2), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.helper-public-card,
.helper-public-slot-card .helper-public-card {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.helper-task-check,
.helper-signup-context,
.scope-badge,
.status-closed,
.button.ghost,
.subnav a,
.helper-name-list li,
.booklet-muted-chip {
    background: rgba(239, 226, 203, .78);
}

.status-open,
.flash {
    background: rgba(223, 241, 220, .84);
    border: 1px solid rgba(89, 132, 70, .22);
}

.flash.error,
.danger-zone {
    background: rgba(255, 239, 235, .86);
}

.flash.warning,
.form-warning {
    background: rgba(255, 241, 204, .9);
}

tr.is-selected-event td {
    background: rgba(255, 240, 194, .78);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .topbar,
    .footer,
    .subnav,
    .current-event-card,
    .home-card,
    .public-action-card,
    .event-row,
    .export-grid article,
    .helper-admin-block,
    .helper-metrics div,
    .helper-slot-card,
    .helper-public-panel,
    .helper-public-slot-card,
    .helper-signup-column,
    .helper-task-choice-heading,
    .form,
    .auth-card,
    fieldset,
    .panel,
    .preview,
    .vote-card,
    .vote-choice,
    .metric-grid article,
    table,
    .confirm-dialog-card,
    .text-editor-details,
    .ad-upload-details,
    .placeholder-help,
    .placeholder-list,
    .edit-tab-nav,
    .edit-save-bar {
        background: rgba(255, 250, 240, .9);
    }
}

@media (max-width: 860px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .topbar nav {
        width: 100%;
        justify-content: flex-start;
    }

    h1 {
        font-size: 3.2rem;
    }

    .split,
    .grid,
    .ebc-palette,
    .export-grid,
    .metric-grid,
    .app-hero,
    .home-grid,
    .event-windows,
    .auth-layout,
    .external-helper-login-grid,
    .vote-choice-grid,
    .event-form-grid,
    .event-time-range,
    .datetime-split,
    .event-status-help,
    .smtp-settings-grid,
    .admin-user-fields,
    .permission-grid,
    .helper-admin-steps,
    .helper-form-grid,
    .helper-task-layout,
    .helper-public-intro,
    .newsletter-card-content,
    .registration-form,
    .social-contact-fields,
    .ad-placement-help {
        grid-template-columns: 1fr;
    }

    .public-action-card-compact,
    .public-action-card-legal,
    .public-action-row {
        grid-template-columns: 1fr;
    }

    .public-action-card .button,
    .public-action-row .button,
    .vote-entry-card .button {
        width: 100%;
        justify-content: center;
    }

    .helper-list-heading {
        display: grid;
        align-items: start;
    }

    .smtp-settings-grid .span-2,
    .admin-user-fields .field-hint {
        grid-column: auto;
    }

    .app-hero {
        min-height: 0;
        align-items: start;
    }

    .auth-layout {
        min-height: 0;
        align-items: start;
    }

    .vote-choice-wide {
        grid-column: auto;
    }

    .chart-row {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .chart-value {
        grid-column: 2;
        text-align: left;
    }

    .preview {
        position: static;
    }

    .helper-signup-column {
        position: static;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.45rem;
        line-height: 1.05;
    }

    .shell {
        width: min(100% - 20px, 1180px);
        padding-top: 24px;
    }

    .actions,
    .copy-row,
    .subnav,
    .section-heading,
    .helper-task-choice-heading,
    .inline-form,
    .helper-public-card,
    .helper-list-details > summary,
    .helper-admin-block > summary,
    .helper-slot-card > summary {
        display: grid;
        grid-template-columns: 1fr;
    }

    .helper-public-slot-card {
        grid-template-columns: 1fr;
    }

    .helper-public-slot-card .helper-public-card,
    .helper-public-slot-card > p,
    .helper-public-slot-card > .helper-name-list,
    .helper-public-slot-card > .small,
    .helper-task-check {
        grid-column: auto;
    }

    .helper-task-check {
        min-height: 0;
        grid-template-columns: auto 1fr;
        justify-items: start;
        text-align: left;
    }

    .button,
    .inline-form input,
    .vote-code-form input,
    .vote-code-form button,
    .vote-code-form label,
    .auth-card,
    .vote-card {
        width: 100%;
    }

    .auth-copy p:not(.label) {
        font-size: 1rem;
    }

    .vote-code-card input[name="code"] {
        min-height: 58px;
        font-size: 1.45rem;
    }

    fieldset,
    .panel,
    .preview {
        padding: 14px;
    }

    .booklet-heading,
    .print-exhibitor-header,
    .logo-current {
        grid-template-columns: 1fr;
    }

    .booklet-logo {
        justify-self: start;
    }

    .vk-row {
        gap: 5px;
    }

    .vk-key {
        width: 100%;
        min-height: 54px;
        max-width: none;
        padding: 8px 6px;
        font-size: 1.05rem;
    }

    .vk-command {
        width: 100%;
        max-width: none;
    }

    .footer {
        display: grid;
        justify-items: center;
        gap: 10px;
    }
}

/* Sichtbarer Liquid-Glass-Test: bewusst nur Login und Registrierung. */
body.page-admin_login .auth-card,
body.page-register .registration-form {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .58);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(255, 246, 229, .22)),
        linear-gradient(315deg, rgba(255, 255, 255, .14), rgba(211, 147, 42, .08));
    -webkit-backdrop-filter: blur(34px) saturate(1.45) contrast(1.04);
    backdrop-filter: blur(34px) saturate(1.45) contrast(1.04);
    box-shadow:
        0 28px 70px rgba(38, 25, 10, .22),
        inset 0 1px 0 rgba(255, 255, 255, .78),
        inset 0 -1px 0 rgba(116, 91, 54, .12);
}

body.page-admin_login .auth-card::before,
body.page-register .registration-form::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, .58), transparent 30%),
        linear-gradient(125deg, rgba(255, 255, 255, .28), transparent 34%, rgba(255, 255, 255, .14) 62%, transparent 82%);
    opacity: .9;
}

body.page-admin_login .auth-card > *,
body.page-register .registration-form > * {
    position: relative;
    z-index: 1;
}

body.page-admin_login .auth-card input,
body.page-admin_login .auth-card textarea,
body.page-admin_login .auth-card select,
body.page-register .registration-form input,
body.page-register .registration-form textarea,
body.page-register .registration-form select {
    border-color: rgba(255, 255, 255, .62);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(255, 248, 235, .2));
    -webkit-backdrop-filter: blur(20px) saturate(1.28);
    backdrop-filter: blur(20px) saturate(1.28);
    box-shadow:
        0 12px 28px rgba(40, 26, 10, .09),
        inset 0 1px 0 rgba(255, 255, 255, .76);
}

body.page-admin_login .auth-card input:focus,
body.page-admin_login .auth-card textarea:focus,
body.page-admin_login .auth-card select:focus,
body.page-register .registration-form input:focus,
body.page-register .registration-form textarea:focus,
body.page-register .registration-form select:focus {
    background: rgba(255, 255, 255, .58);
    border-color: rgba(187, 121, 26, .86);
    box-shadow:
        0 0 0 3px rgba(213, 157, 55, .24),
        0 14px 30px rgba(40, 26, 10, .1),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

/* Liquid-Glass Oberflaeche: heller, transparenter, Hintergrund bleibt sichtbar. */
body.page-start {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .78) 0%, rgba(246, 242, 233, .56) 48%, rgba(246, 242, 233, .24) 100%),
        url("/assets/visuals/hobby-event.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.page-register,
body.page-exhibitor_login,
body.page-exhibitor_events,
body.page-password_forgot,
body.page-password_reset,
body.page-verify_registration,
body.page-edit {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .78) 0%, rgba(246, 242, 233, .58) 52%, rgba(246, 242, 233, .3) 100%),
        url("/assets/visuals/hobby-registration.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.page-code,
body.page-vote {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .78) 0%, rgba(246, 242, 233, .56) 54%, rgba(246, 242, 233, .28) 100%),
        url("/assets/visuals/hobby-voting.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.page-helpers {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .78) 0%, rgba(246, 242, 233, .56) 50%, rgba(246, 242, 233, .28) 100%),
        url("/assets/visuals/helper-planning.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.page-results {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .8) 0%, rgba(246, 242, 233, .58) 52%, rgba(246, 242, 233, .3) 100%),
        url("/assets/visuals/winner-awards.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

body.page-admin_login,
body.page-admin,
body.page-event_new,
body.page-event_edit,
body.page-admin_texts,
body.page-admin_ads,
body.page-admin_exhibitors,
body.page-admin_helpers,
body.page-admin_external_lists,
body.page-admin_exports,
body.page-admin_audit,
body.page-admin_help,
body.page-admin_user_edit,
body.page-setup,
body.page-print_data,
body.page-terms,
body.page-event_privacy {
    background:
        linear-gradient(90deg, rgba(246, 242, 233, .72) 0%, rgba(246, 242, 233, .5) 58%, rgba(246, 242, 233, .24) 100%),
        url("/assets/visuals/admin-neutral.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.topbar,
.footer,
.subnav,
.current-event-card,
.home-card,
.public-action-card,
.event-row,
.export-grid article,
.helper-admin-block,
.helper-metrics div,
.helper-slot-card,
.helper-public-panel,
.helper-public-slot-card,
.helper-signup-column,
.helper-task-choice-heading,
.form,
.auth-card,
fieldset,
.panel,
.preview,
.vote-card,
.vote-choice,
.metric-grid article,
table,
.confirm-dialog-card,
.text-editor-details,
.ad-upload-details,
.placeholder-help,
.placeholder-list,
.edit-tab-nav,
.edit-save-bar {
    border-color: rgba(255, 255, 255, .5);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .28), rgba(255, 248, 235, .1)),
        linear-gradient(315deg, rgba(255, 255, 255, .14), rgba(190, 124, 31, .035));
    -webkit-backdrop-filter: blur(42px) saturate(1.55) contrast(1.06);
    backdrop-filter: blur(42px) saturate(1.55) contrast(1.06);
    box-shadow:
        0 26px 70px rgba(38, 25, 10, .17),
        inset 0 1px 0 rgba(255, 255, 255, .82),
        inset 0 -1px 0 rgba(116, 91, 54, .1);
}

.topbar,
.footer,
.subnav,
.edit-tab-nav,
.edit-save-bar {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .3), rgba(255, 248, 235, .12)),
        rgba(255, 250, 240, .08);
}

.footer {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 248, 235, .06)),
        rgba(255, 250, 240, .04);
    border-top-color: rgba(255, 255, 255, .28);
    box-shadow:
        0 -8px 34px rgba(38, 25, 10, .08),
        inset 0 1px 0 rgba(255, 255, 255, .5);
}

.form.compact,
.edit-form,
.helper-task-signup-form,
.inline-form,
.vote-code-form,
.kiosk-code-form {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.smtp-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    align-items: end;
}

.smtp-settings-grid .span-2 {
    grid-column: 1 / -1;
}

.admin-user-form,
.setup-city-form {
    width: 100%;
    max-width: none;
}

.admin-user-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 14px 16px;
    align-items: end;
    width: 100%;
}

.admin-user-fields .field-hint {
    grid-column: 1 / -1;
    margin: -4px 0 0;
}

.permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 10px 16px;
    width: 100%;
    max-width: none;
}

.permission-grid legend {
    margin-bottom: 8px;
}

input,
textarea,
select,
.booklet-note-box textarea {
    width: 100%;
    max-width: 100%;
    border-color: rgba(255, 255, 255, .6);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .48), rgba(255, 248, 235, .26));
    -webkit-backdrop-filter: blur(22px) saturate(1.28);
    backdrop-filter: blur(22px) saturate(1.28);
    box-shadow:
        0 10px 24px rgba(40, 26, 10, .07),
        inset 0 1px 0 rgba(255, 255, 255, .75);
}

input[type="checkbox"],
input[type="radio"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 250, 240, .78);
    accent-color: #7a4718;
    flex: 0 0 auto;
    vertical-align: middle;
}

input[type="radio"] {
    border-radius: 50%;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    margin-top: .08em;
}

.helper-task-check input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    justify-self: center;
}

.admin-context-form select {
    width: auto;
    max-width: min(42vw, 340px);
    min-height: 34px;
    padding: 6px 30px 6px 10px;
    background: rgba(255, 250, 240, .72);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    backdrop-filter: blur(18px) saturate(1.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.setup-details .form,
.panel .form,
fieldset .form,
.helper-admin-block .form,
.text-editor-details .form,
.ad-upload-details .form {
    width: 100%;
    max-width: none;
}

.setup-details .form.compact,
.panel .form.compact,
fieldset .form.compact,
.helper-admin-block .form.compact {
    max-width: 560px;
}

.panel .form.compact.helper-task-signup-form {
    width: 100%;
    max-width: none;
}

.helper-signup-column {
    min-width: 0;
}

.helper-task-column {
    min-width: 0;
}

@media (min-width: 821px) {
    .helper-task-layout {
        width: 100%;
        grid-template-columns: minmax(360px, 1fr) minmax(320px, 420px);
    }
}

@media (max-width: 820px) {
    .helper-task-layout {
        grid-template-columns: 1fr;
    }
}

input:focus,
textarea:focus,
select:focus {
    background: rgba(255, 255, 255, .68);
    border-color: rgba(187, 121, 26, .86);
    box-shadow:
        0 0 0 3px rgba(213, 157, 55, .24),
        0 12px 28px rgba(40, 26, 10, .09),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.helper-task-check,
.helper-signup-context,
.scope-badge,
.status-closed,
.button.ghost,
.subnav a,
.helper-name-list li,
.booklet-muted-chip,
tr.is-selected-event td {
    background: rgba(255, 248, 235, .48);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    backdrop-filter: blur(18px) saturate(1.18);
}

.status-open,
.flash {
    background: rgba(223, 241, 220, .58);
}

.flash.error,
.danger-zone {
    background: rgba(255, 232, 228, .76);
}

.flash.warning,
.form-warning {
    background: rgba(255, 241, 204, .66);
}

.event-admin-table tbody tr.is-selected-event td {
    background:
        linear-gradient(145deg, rgba(255, 243, 194, .94), rgba(255, 250, 240, .76));
    border-top: 2px solid rgba(138, 91, 29, .5);
    border-bottom: 2px solid rgba(138, 91, 29, .5);
    font-size: 1.06rem;
    opacity: 1;
    filter: none;
}
