/* GENERATED by scripts/build-document-styles.js; source styles.css SHA256 f5ca87f4e26958ac4810372b04629376163c0411890b408fcd9781344abcb699.
 * Conservative document subset; declaration and cascade order are unchanged. */
/* Self-hosted Inter 4.1. Original files and SIL OFL license are in assets/fonts/inter. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter/InterVariable.woff2?v=4.1') format('woff2');
}
@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter/InterVariable-Italic.woff2?v=4.1') format('woff2');
}
:root {
  --outlo-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --outlo-text-body: 14px;
  --outlo-text-meta: 13px;
  --outlo-text-caption: 12px;
  --outlo-text-card-title: 20px;
  --outlo-weight-regular: 400;
  --outlo-weight-label: 500;
  --outlo-weight-emphasis: 600;
  --outlo-weight-heading: 650;
  --outlo-text-secondary: #526077;
  --outlo-text-muted: #64748b;
  --ink: #111827;
  --navy: #111827;
  --muted: #64748B;
  --page-bg: #F3F6FB;
  --surface: #FFFFFF;
  --surface-muted: #F8FAFC;
  --line: #DDE4EE;
  --line-strong: #CBD5E1;
  --panel: #ffffff;
  --soft: #F3F6FB;
  --soft-strong: #EAF0F8;
  /* Indigomodrá is the shared action colour. Keep the role aliases below so
     buttons, links and focus states follow this palette together. */
  --outlo-indigo-blue: #3f51b5;
  --outlo-indigo-blue-hover: #303f9f;
  --outlo-indigo-blue-dark: #283593;
  --outlo-indigo-blue-on-dark: #c5cae9;
  --outlo-indigo-blue-soft: #eef0fa;
  --outlo-indigo-blue-soft-hover: #e8eaf6;
  --outlo-indigo-blue-border: #c5cae9;
  --outlo-indigo-blue-border-hover: #9fa8da;
  --outlo-brand-accent: var(--outlo-indigo-blue);
  --outlo-filter-end-line: color-mix(in srgb, var(--line-strong) 86%, var(--outlo-brand-accent));
  --outlo-brand-text: var(--outlo-indigo-blue-hover);
  --outlo-brand-text-hover: var(--outlo-indigo-blue-dark);
  --outlo-brand-on-dark: var(--outlo-indigo-blue-on-dark);
  --outlo-brand-soft: var(--outlo-indigo-blue-soft);
  --outlo-brand-soft-hover: var(--outlo-indigo-blue-soft-hover);
  --outlo-brand-border: var(--outlo-indigo-blue-border);
  --outlo-brand-border-hover: var(--outlo-indigo-blue-border-hover);
  /* Glyph sizes are role-based; component hit areas remain independent. */
  --outlo-icon-xs: 14px;
  --outlo-icon-sm: 16px;
  --outlo-icon-md: 18px;
  --outlo-icon-lg: 20px;
  --outlo-icon-xl: 24px;
  --outlo-icon-stroke: 1.8;
  --accent: var(--outlo-brand-accent);
  --accent-hover: var(--outlo-brand-text);
  --accent-dark: var(--outlo-brand-text-hover);
  --accent-soft: var(--outlo-brand-soft);
  --accent-line: var(--outlo-brand-border);
  --info: #2563EB;
  --info-soft: #EFF6FF;
  --info-line: #BFDBFE;
  --secondary: #06B6D4;
  --secondary-dark: #0E7490;
  --secondary-soft: #ECFEFF;
  --secondary-line: #A5F3FC;
  --danger: #DC2626;
  --danger-soft: #FEF2F2;
  --danger-line: #FECACA;
  --success: #16A34A;
  --success-soft: #F0FDF4;
  --success-line: #BBF7D0;
  --warning: #D97706;
  --warning-soft: #FFF7ED;
  --warning-line: #FED7AA;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-md: 0 18px 56px rgba(15, 23, 42, .13);
  --focus-ring: 0 0 0 4px color-mix(in srgb, var(--outlo-brand-accent) 20%, transparent);
  font-family: var(--outlo-font-family);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

.event-editor-frame-dialog {
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  height: min(900px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

:is(.outlo-marker-cluster-wrap, .aggregate-singleton-wrap):focus-visible {
  outline: 0;
}

.event-editor-frame-dialog iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
}

body.embedded-event-editor {
  min-height: 100vh;
  overflow: hidden;
  background: var(--page-bg);
}

body.embedded-event-editor .topbar,
body.embedded-event-editor #toast,
body.embedded-event-editor #organizerWelcomeDialog,
body.embedded-event-editor #eventCreateGuideDialog {
  display: none !important;
}


@media (max-width: 720px) {
.event-editor-frame-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    height: calc(100vh - 12px);
  }

}
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--page-bg); }

button,
input,
select,
textarea { font: inherit; }

a { color: inherit; }

button,
.button-link {
  --btn-bg: #ffffff;
  --btn-border: var(--line);
  --btn-color: var(--navy);
  --btn-hover-bg: #F8FAFC;
  --btn-hover-border: var(--line-strong);
  min-height: 40px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-color);
  padding: 9px 13px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: var(--shadow-xs);
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

button:hover,
.button-link:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

button:active,
.button-link:active { transform: translateY(0); box-shadow: var(--shadow-xs); }

button:focus-visible,
.button-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.primary {
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
  --btn-color: #fff;
  --btn-hover-bg: var(--accent-hover);
  --btn-hover-border: var(--accent-hover);
}

.ghost {
  --btn-bg: #F8FAFC;
  --btn-border: var(--line);
  --btn-color: var(--navy);
  --btn-hover-bg: var(--soft-strong);
}

.danger {
  --btn-bg: var(--danger-soft);
  --btn-border: var(--danger-line);
  --btn-color: var(--danger);
  --btn-hover-bg: #FEE2E2;
  --btn-hover-border: #FCA5A5;
}

.danger-soft {
  --btn-bg: var(--danger-soft);
  --btn-border: var(--danger-line);
  --btn-color: var(--danger);
  --btn-hover-bg: #FEE2E2;
  --btn-hover-border: #FCA5A5;
}

.warning {
  --btn-bg: var(--warning-soft);
  --btn-border: var(--warning-line);
  --btn-color: #B45309;
  --btn-hover-bg: #FEF3C7;
  --btn-hover-border: #FCD34D;
}

.small { min-height: 36px; padding: 7px 11px; font-size: 12px; border-radius: 12px; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 10px;
}

textarea { min-height: 92px; resize: vertical; }

label { display: grid; gap: 6px; color: #334155; font-size: 13px; font-weight: 750; }

.field-title {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
}

.required-star {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.help-label { gap: 7px; }

.help-tip {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #cfe5f8;
  border-radius: 999px;
  background: #f3f9ff;
  color: var(--accent-dark);
  cursor: help;
  line-height: 1;
  outline: none;
}

.help-tip svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.help-tip::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 1300;
  display: none;
  width: min(300px, calc(100vw - 44px));
  padding: 10px 12px;
  border: 1px solid #d8e7f4;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 16px 38px rgba(6, 26, 51, .14);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .16s ease, transform .16s ease;
}

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

.floating-help-tooltip {
  position: fixed;
  z-index: 5000;
  width: min(300px, calc(100vw - 28px));
  padding: 10px 12px;
  border: 1px solid #d8e7f4;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 16px 38px rgba(6, 26, 51, .18);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 12px 22px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.brand-link { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; text-decoration: none; letter-spacing: 0; color: var(--navy); }

.brand-text-only { font-size: 25px; letter-spacing: .01em; }

.brand-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 11px; background: var(--navy); box-shadow: inset 0 0 0 7px var(--accent); }

.topnav { display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; }

.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; min-width: 0; }

.topnav a { text-decoration: none; font-weight: 750; color: var(--navy); }

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
}

.nav-item:visited { color: var(--navy); }

.nav-item:hover { background: #F8FAFC; border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.nav-item.active { background: var(--accent-soft); border-color: var(--accent-line); color: var(--outlo-brand-text); box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .1); }

.nav-item.primary { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav-item.primary:visited { color: #fff; }

.nav-item.primary:hover,
.nav-item.primary:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: 0 12px 26px rgba(79, 70, 229, .24);
  transform: translateY(-1px);
}

.nav-item.primary:hover .nav-icon,
.nav-item.primary:focus-visible .nav-icon,
.nav-item.primary:hover span,
.nav-item.primary:focus-visible span {
  color: #fff;
}

.nav-item.nav-back {
  background: #f4f8fc;
  border-color: #dce8f3;
  color: var(--navy);
  box-shadow: none;
}

.nav-item.nav-back:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--outlo-brand-text-hover);
}

.nav-item.ghost { background: #f6f9fc; }

.user-menu { position: relative; }

.user-menu-button { max-width: min(280px, 38vw); }

.user-menu-button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu-badge,
.menu-count-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.profile-menu-badge {
  flex: 0 0 auto;
  background: var(--accent);
  color: #fff;
}

.nav-chevron { width: var(--outlo-icon-xs, 14px); height: var(--outlo-icon-xs, 14px); flex-basis: 15px; }

.user-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 304px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow-md);
}

.menu-item {
  width: 100%;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  column-gap: 12px;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-align: left;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.menu-item.has-badge {
  grid-template-columns: 18px minmax(0, 1fr) auto;
}

.menu-item.workspace-last { margin-bottom: 8px; }

.menu-item:hover {
  background: #f3f8fd;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.menu-item.active {
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
}

.menu-item .nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  justify-self: start;
  stroke-width: 1.8;
}

.menu-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item.is-disabled {
  color: #8b98a8;
  cursor: default;
  opacity: .72;
}

.menu-item.is-disabled:hover { background: transparent; }

.danger-menu {
  position: relative;
  margin-top: 10px;
  color: var(--danger);
}

.danger-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 1px;
  background: var(--line);
}

.feedback-menu-item {
  position: relative;
  margin-top: 10px;
}

.feedback-menu-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 1px;
  background: var(--line);
}

.feedback-menu-item + .danger-menu { margin-top: 0; }

.feedback-menu-item + .danger-menu::before { display: none; }

.nav-icon,
.button-icon {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  flex: 0 0 var(--outlo-icon-md, 18px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon { width: var(--outlo-icon-md, 18px); height: var(--outlo-icon-md, 18px); margin-right: 0; }

.heart-button svg { fill: none; }

.heart-button {
  --btn-bg: #fff7f9;
  --btn-border: #f2cbd5;
  --btn-color: #a53555;
  --btn-hover-bg: #ffeff4;
  --btn-hover-border: #ebb8c8;
}

.heart-button.saved { --btn-border: #eaa9bd; --btn-bg: #ffeef3; --btn-color: #a21d46; }

.heart-button.saved svg { fill: currentColor; }

#navigateButton {
  --btn-bg: var(--secondary-soft);
  --btn-border: var(--secondary-line);
  --btn-color: var(--secondary-dark);
  --btn-hover-bg: #CFFAFE;
  --btn-hover-border: #67E8F9;
}

#externalButton {
  --btn-bg: #f6f8fb;
  --btn-border: #dce5ef;
  --btn-color: var(--navy);
  --btn-hover-bg: #eef3f8;
}

#musicButton {
  --btn-bg: var(--success-soft);
  --btn-border: var(--success-line);
  --btn-color: var(--success);
  --btn-hover-bg: #DCFCE7;
  --btn-hover-border: #86EFAC;
}

#editEventButton {
  --btn-bg: var(--warning-soft);
  --btn-border: var(--warning-line);
  --btn-color: #B45309;
  --btn-hover-bg: #FEF3C7;
  --btn-hover-border: #FCD34D;
}

#reportMenuButton {
  --btn-bg: #fff;
  --btn-border: var(--line);
  --btn-color: var(--text-muted);
  --btn-hover-bg: var(--warning-soft);
  --btn-hover-border: var(--warning-line);
}

#shareButton.is-confirmed {
  --btn-bg: var(--success-soft);
  --btn-border: var(--success-line);
  --btn-color: var(--success);
}

.mobile-sheet-handle { display: none; }

.panel-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 2px 2px;
}

.panel-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: 0;
}

.panel-hero p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.panel-section {
  display: grid;
  gap: 10px;
  padding: 2px 2px 14px;
  border: 0;
  border-bottom: 1px solid rgba(229, 234, 240, .82);
  border-radius: 0;
  background: transparent;
}

.panel-section:last-of-type {
  border-bottom: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
}

.compact-label { gap: 7px; }

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

.panel-head h1,
.panel-head h2,
.auth-card h1 { margin: 0; letter-spacing: 0; }

.panel-head h1 { font-size: 28px; line-height: 1.08; }

.panel-head h2 { font-size: 18px; }

.eyebrow { margin: 0 0 4px; color: var(--outlo-brand-text); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }

.hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.organizer-hint { margin: 0; padding: 10px 12px; border: 1px solid var(--secondary-line); border-radius: 12px; background: var(--secondary-soft); color: var(--navy); font-size: 13px; font-weight: 750; line-height: 1.4; }

.count { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--outlo-brand-text); font-size: 12px; font-weight: 850; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 3px; border-radius: 15px; background: var(--soft-strong); }

.segmented-time { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.segmented button {
  min-height: 36px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
}

.segmented button:hover { box-shadow: none; background: #fff; transform: none; }

.segmented button.active { border-color: transparent; background: #fff; color: var(--outlo-brand-text); box-shadow: 0 6px 18px rgba(15, 23, 42, .1); }

.date-range-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #F8FAFC;
}

.date-range-fields input { min-height: 40px; border-radius: 12px; }

.actions { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-actions button { flex: 1 1 140px; border-radius: 12px; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip-grid button {
  --chip-color: var(--accent);
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: none;
  font-size: 12px;
  font-weight: 850;
}

.chip-grid button:hover {
  background: color-mix(in srgb, var(--chip-color) 8%, #fff);
  border-color: color-mix(in srgb, var(--chip-color) 25%, #dfe8f2);
  color: color-mix(in srgb, var(--chip-color) 72%, var(--navy));
  box-shadow: none;
  transform: translateY(-1px);
}

.chip-grid button.active {
  background: color-mix(in srgb, var(--chip-color) 13%, #fff);
  border-color: color-mix(in srgb, var(--chip-color) 38%, #dfe8f2);
  color: color-mix(in srgb, var(--chip-color) 78%, #07111f);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--chip-color) 12%, transparent);
}

.chip-grid button[data-category="hudebni"] { --chip-color: #7c3aed; }

.chip-grid button[data-category="festivaly"] { --chip-color: #22c55e; }

.chip-grid button[data-category="motosraz"] { --chip-color: #f97316; }

.chip-grid button[data-category="autosraz"] { --chip-color: #f97316; }

.chip-grid button[data-category="sport"] { --chip-color: #0ea5e9; }

.chip-grid button[data-category="gastro"] { --chip-color: #eab308; }

.chip-grid button[data-category="trhy"] { --chip-color: #8b5e34; }

.chip-grid button[data-category="kulturni"] { --chip-color: #ec4899; }

.chip-grid button[data-category="ostatni"] { --chip-color: #536b82; }

.range-control { display: grid; gap: 8px; }

.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }

.range-head strong { color: var(--navy); font-size: 13px; }

.range-head span { color: var(--muted); font-size: 11px; font-weight: 750; }

input[type="range"] {
  width: 100%;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: var(--accent);
  box-shadow: 0 5px 13px rgba(15, 23, 42, .18);
}

.event-meta,
.event-place,
.event-distance { display: block; }

.event-meta { color: var(--ink) !important; font-weight: 800; }

.event-place { color: var(--muted) !important; }

.event-distance { color: var(--outlo-brand-text) !important; font-weight: 750; }

.category-badge {
  --category-color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: transparent;
  color: color-mix(in srgb, var(--category-color) 72%, #07111f);
  border: 0;
  font-size: 11px !important;
  font-weight: 850;
  white-space: nowrap;
}

.category-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--category-color);
}

.events-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.events-heading h2 { margin: 0; color: var(--navy); font-size: 17px; letter-spacing: 0; }

.breadcrumb {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.section-lead {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

#showAllEventsButton {
  flex: 0 0 auto;
  --btn-bg: var(--accent-soft);
  --btn-border: var(--accent-line);
  --btn-color: var(--accent-dark);
  --btn-hover-bg: var(--outlo-brand-soft-hover);
}

.empty-card { cursor: default; }

.row-actions button[data-role="user"],
.row-actions button[data-role="moderator"],
.row-actions button[data-role="organizer"] {
  --btn-bg: #f7fafc;
  --btn-border: #dfe8f2;
  --btn-color: var(--navy);
  --btn-hover-bg: #eef4fb;
}

.row-actions button[data-status="active"] {
  --btn-bg: #f1f8f4;
  --btn-border: #cfe5d8;
  --btn-color: var(--success);
  --btn-hover-bg: #e6f2eb;
}

.row-actions button[data-status="blocked"] {
  --btn-bg: #fff9e8;
  --btn-border: #ecd99f;
  --btn-color: var(--warning);
  --btn-hover-bg: #fff2c7;
}

.row-actions button[data-correction-status="resolved"],
.row-actions button[data-status="resolved"] {
  --btn-bg: #f1f8f4;
  --btn-border: #cfe5d8;
  --btn-color: var(--success);
  --btn-hover-bg: #e6f2eb;
}

.row-actions button[data-status="rejected"] {
  --btn-bg: #fff7f6;
  --btn-border: #efcbc7;
  --btn-color: var(--danger);
  --btn-hover-bg: #fdecea;
}

.row-actions button[data-correction-detail] {
  --btn-bg: #f6f8fb;
  --btn-border: #dce5ef;
  --btn-color: var(--navy);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  border: 1px solid transparent;
}

.role-admin { background: #fdeaea; color: #8b2f2f; border-color: #f5cdcd; }

.role-moderator { background: #eef0ff; color: #3730a3; border-color: #c7d2fe; }

.role-organizer { background: #fff1df; color: #8a520f; border-color: #f4d8b7; }

.role-user { background: #eaf3ff; color: #2c5a8c; border-color: #cddff5; }

.status-blocked { background: var(--warning-soft); color: #B45309; border-color: var(--warning-line); }

.status-active { background: var(--secondary-soft); color: var(--secondary-dark); border-color: var(--secondary-line); }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; }

.status-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 7px; border-radius: 999px; background: #edf2ef; font-weight: 800; font-size: 12px; }

.status-pill.resolved { background: var(--success-soft); color: var(--success); }

.status-pill.rejected { background: var(--danger-soft); color: var(--danger); }

.request-detail-dialog { padding-bottom: 18px; }

.profile-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 28px auto 48px;
}

.profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid rgba(226, 234, 243, .82);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.profile-head h1 { margin: 2px 0 4px; color: var(--navy); font-size: 30px; }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.profile-stat {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(226, 234, 243, .82);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(6, 26, 51, .06);
}

.profile-stat span { color: var(--muted); font-size: 13px; font-weight: 780; }

.profile-stat strong { color: var(--navy); font-size: 26px; line-height: 1.1; }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-card {
  border: 1px solid rgba(226, 234, 243, .82);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
}

.profile-card-head h2 { margin: 0; color: var(--navy); font-size: 17px; }

.subtle-link { color: var(--outlo-brand-text); font-size: 13px; font-weight: 800; text-decoration: none; }

.profile-event-list { display: grid; gap: 8px; padding: 0 14px 14px; }

.profile-event-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.profile-event-item:hover {
  background: #f7fbff;
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.profile-event-item strong { display: block; color: var(--navy); font-size: 14px; }

.profile-event-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }

.profile-event-item em {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.compact-empty { margin: 0; padding: 14px; }

.detail-image-button {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  min-height: 190px;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f4f8fc;
  box-shadow: none;
  cursor: pointer;
}

.detail-image-button[hidden] { display: none; }

.detail-image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .2s ease, filter .2s ease;
}

.detail-image-button:hover img {
  transform: scale(1.045);
  filter: brightness(.86);
}

.detail-image-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  background: rgba(3, 14, 30, .32);
  transition: opacity .18s ease;
}

.detail-image-overlay svg {
  width: 24px;
  height: 24px;
}

.detail-image-button:hover .detail-image-overlay,
.detail-image-button:focus-visible .detail-image-overlay {
  opacity: 1;
}

.detail-image-button::after {
  content: attr(data-count);
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .74);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.detail-image-button[data-count=""]::after { display: none; }

.event-image-manager {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
}

.event-image-manager-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.event-image-manager-head h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
}

.event-image-manager-head p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.event-image-manager-list {
  display: grid;
  gap: 10px;
}

.event-image-manager-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(221, 228, 238, .92);
  border-radius: var(--radius-md);
  background: #fff;
}

.event-image-manager-thumb {
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f7;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.event-image-manager-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-image-manager-thumb.is-muted {
  border: 1px dashed var(--line-strong);
}

.event-image-manager-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-image-manager-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.event-image-manager-title small,
.event-image-manager-info p,
.event-image-manager-actions span,
.event-image-manager-empty span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.event-image-manager-info p {
  margin: 0;
}

.event-image-manager-empty {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: #fff;
}

.event-image-manager-empty strong {
  color: var(--text);
  font-size: 13px;
}

.event-image-manager-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.event-image-manager-actions button {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
}

.detail-content { display: grid; gap: 14px; padding: 18px; }

.detail-content h2 { margin: 0; font-size: 25px; line-height: 1.1; }

.detail-content p { margin: 0; line-height: 1.5; }

.icon-button { min-width: 38px; width: 38px; padding: 0; font-size: 24px; line-height: 1; }

#closeDetail { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.92); }

dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

dl div:last-child { border-bottom: 0; }

dt { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }

dd { margin: 0; font-weight: 750; color: var(--navy); }

.detail-description {
  color: #334155;
  font-size: 14px;
}

.detail-primary-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding-top: 2px;
}

.detail-primary-actions > * {
  width: 100%;
  min-height: 44px;
  border-radius: 14px;
}

.detail-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}

.detail-secondary-actions > * {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.detail-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.detail-category-badge {
  --category-color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  gap: 6px;
  margin: 0;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--category-color) 10%, #fff);
  color: var(--category-color);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.detail-category-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--category-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--category-color) 14%, transparent);
  flex: 0 0 auto;
}

.detail-report-menu {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.report-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  box-shadow: none;
}

.menu-dots {
  margin-left: 1px;
  font-size: 16px;
  line-height: 1;
}

.detail-report-menu-panel {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 1200;
  display: grid;
  gap: 3px;
  min-width: max-content;
  max-width: min(260px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid rgba(217, 119, 6, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
}

.detail-report-menu-panel[hidden] {
  display: none;
}

.detail-report-menu-panel button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8A4B05;
  box-shadow: none;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.detail-report-menu-panel button:hover,
.detail-report-menu-panel button:focus-visible {
  background: rgba(255, 247, 237, .88);
  color: #783F04;
  transform: none;
  box-shadow: none;
}

dialog { width: min(900px, calc(100vw - 28px)); max-height: calc(100vh - 28px); border: 0; border-radius: 18px; padding: 0; box-shadow: 0 24px 80px rgba(6,26,51,.24); }

dialog::backdrop { background: rgba(24,35,42,.45); }

.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px 0; }

.dialog-head h2 { margin: 0; font-size: 20px; }

.dialog-intro { margin: 8px 18px 0; color: var(--muted); line-height: 1.5; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; }

.form-grid.single { grid-template-columns: 1fr; }

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

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

.inline-search input,
.panel-section select { min-height: 42px; border-radius: 12px; background: #fff; }

.inline-search button { border-radius: 12px; }

.location-search-field,
.origin-search-field { position: relative; }

.address-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.address-fields label:first-child,
.address-fields .autocomplete-list {
  grid-column: 1 / -1;
}

.autocomplete-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 12px);
  z-index: 1200;
  display: grid;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 26, 51, .16);
}

.autocomplete-list button {
  display: grid;
  justify-items: start;
  gap: 3px;
  width: 100%;
  min-height: auto;
  padding: 11px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  text-align: left;
}

.autocomplete-list button:hover {
  transform: none;
  background: #f5fbff;
  box-shadow: none;
}

.autocomplete-list button:last-child { border-bottom: 0; }

.autocomplete-list strong { font-size: 13px; }

.autocomplete-list span,
.autocomplete-empty { color: var(--muted); font-size: 12px; }

.autocomplete-empty { padding: 12px 13px; }

.origin-autocomplete {
  top: calc(100% + 6px);
  z-index: 1300;
}

.origin-autocomplete {
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .14);
}

.origin-autocomplete .origin-suggestion-item {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  justify-items: stretch;
  gap: 10px;
  min-height: 54px;
  padding: 9px 11px;
}

.origin-suggestion-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(79, 70, 229, .16);
  border-radius: 999px;
  background: rgba(79, 70, 229, .08);
  color: var(--outlo-brand-accent);
}

.origin-suggestion-marker::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
  content: "";
}

.origin-suggestion-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.origin-suggestion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.origin-suggestion-main strong {
  min-width: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.origin-type-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 112px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-soft) !important;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.origin-suggestion-region .origin-suggestion-main { align-items: flex-start; }

.origin-suggestion-region .origin-suggestion-main strong { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }

.origin-suggestion-region .origin-type-badge { flex-shrink: 0; }

.origin-suggestion-meta {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-width: 100%;
  overflow: hidden;
  color: var(--text-muted) !important;
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: normal;
}

.origin-autocomplete .origin-suggestion-debug {
  font-family: monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.origin-suggestion-credit {
  padding: 6px 10px;
  color: var(--text-muted);
  font-size: 10px;
  text-align: right;
  overflow-wrap: anywhere;
  white-space: normal;
}

.origin-suggestion-credit a { color: inherit; text-decoration: underline; }

.origin-autocomplete .origin-suggestion-item[aria-selected="true"],
.origin-autocomplete .origin-suggestion-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  background: #eef2ff;
}

.autocomplete-loading {
  color: var(--text-soft);
}

.origin-search-field .hint {
  margin-top: 6px;
}

#locationHint {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.link-button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--outlo-brand-text);
  box-shadow: none;
  font-size: inherit;
  font-weight: 850;
}

.link-button:hover {
  transform: none;
  background: transparent;
  color: var(--outlo-brand-text-hover);
  box-shadow: none;
}

.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 0 18px 18px; }

.location-picker { display: grid; gap: 8px; }

#eventLocationMap { height: 260px; min-height: 220px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; touch-action: pan-x pan-y; }

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

.auth-page {
  background: var(--soft);
}

.auth-layout {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 72px) 18px;
}

.auth-card {
  width: min(460px, 100%);
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid rgba(213, 225, 238, .9);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 80px rgba(6, 26, 51, .13);
  backdrop-filter: blur(16px);
}

.auth-card-head { display: grid; gap: 7px; text-align: left; }

.auth-card h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.05; margin: 0; color: var(--navy); }

.auth-card .hint { font-size: 14px; }

.auth-card .stack-form { gap: 15px; }

.auth-card label { color: var(--navy); }

.auth-card input {
  min-height: 46px;
  border-radius: 12px;
  background: #F8FAFC;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-card input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .13);
}

.remember-login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.auth-card .remember-login input {
  min-height: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.remember-login span {
  line-height: 1.2;
}

.auth-submit { width: 100%; min-height: 48px; border-radius: 14px; margin-top: 2px; }

.auth-card a { color: var(--outlo-brand-text); font-weight: 850; text-decoration: none; }

.auth-card a:hover { text-decoration: underline; }

.auth-split-layout {
  width: min(100% - 32px, 1120px);
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 1.18fr) minmax(380px, .82fr);
  place-items: stretch;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 24px 0 42px;
}

.auth-brand-panel {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
  border-radius: 20px;
  background:
    radial-gradient(circle at 78% 24%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f5f8ff 46%, #eef4ff 100%);
  box-shadow: var(--shadow-sm);
}

.auth-brand-logo {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 950;
}

.auth-brand-panel h1 {
  max-width: 520px;
  margin: 0;
  color: var(--text);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: 0;
}

.auth-brand-panel p:not(.auth-brand-logo) {
  max-width: 460px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.auth-event-preview {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 18px 46px rgba(15, 23, 42, .08);
}

.auth-preview-list {
  display: grid;
  gap: 10px;
}

.auth-preview-head,
.auth-preview-event {
  display: grid;
  align-items: center;
}

.auth-preview-head {
  grid-template-columns: 1fr auto;
  padding: 2px 2px 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.auth-preview-head strong {
  color: var(--outlo-brand-text);
  font-size: 12px;
}

.auth-preview-event {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}

.auth-preview-event strong,
.auth-preview-event small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-preview-event strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.auth-preview-event small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.auth-preview-dot {
  width: 11px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
}

.auth-preview-dot.music { background: #7c3aed; }

.auth-preview-dot.festival { background: #16a34a; }

.auth-preview-dot.gastro { background: #f59e0b; }

.auth-preview-tag {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.auth-preview-empty {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 13px 14px;
  border: 1px dashed rgba(148, 163, 184, .42);
  border-radius: 16px;
  background: rgba(255, 255, 255, .74);
}

.auth-preview-empty strong {
  color: var(--text);
  font-size: 14px;
}

.auth-preview-empty small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

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

.auth-benefits li {
  padding: 8px 11px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
}

.auth-split-layout .auth-card {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  border-radius: 20px;
}

.auth-back-link {
  justify-self: start;
  color: var(--text-muted) !important;
  font-size: 13px;
}

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

.auth-label-row a {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 760;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  display: block;
  width: 100%;
  padding-right: 46px;
}

.password-field button {
  position: absolute;
  right: 7px;
  top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.password-field button:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.password-field svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.auth-switch {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.wide-section { grid-column: 1 / -1; }

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

.stat-card {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #F8FAFC;
}

.stat-card span,
.stat-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.stat-card strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.stats-lists {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-lists h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 14px;
}

.stat-list {
  display: grid;
  gap: 7px;
}

.stat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(229, 234, 240, .72);
  border-radius: 13px;
  background: #fff;
}

.stat-row strong {
  color: var(--outlo-brand-text);
  font-size: 13px;
}

.empty-stat { grid-template-columns: 1fr; color: var(--muted); font-size: 12px; }

.confirm-dialog { display: grid; gap: 12px; min-width: min(420px, calc(100vw - 32px)); padding-bottom: 18px; }

.confirm-dialog p { margin: 0; padding: 0 18px; color: var(--ink); line-height: 1.5; }

.dialog-kicker {
  margin: 3px 0 0 !important;
  padding: 0 !important;
  color: var(--muted, #64748b) !important;
  font-size: 12px;
}

.access-dialog,
.welcome-dialog { min-width: min(560px, calc(100vw - 32px)); }

#addEventAccessDialog {
  width: min(500px, calc(100vw - 28px));
}

.access-dialog {
  width: 100%;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(221, 228, 238, .82);
  border-radius: 22px;
  background:
    radial-gradient(circle at 16% 8%, rgba(79, 70, 229, .10), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.access-dialog .dialog-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 0;
}

.access-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(199, 210, 254, .88);
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--outlo-brand-accent);
  box-shadow: 0 14px 30px rgba(79, 70, 229, .14);
}

.access-dialog-icon svg {
  width: var(--outlo-icon-xl, 24px);
  height: var(--outlo-icon-xl, 24px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--outlo-icon-stroke, 1.8);
}

.access-dialog .dialog-head h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
}

.access-dialog .icon-button {
  width: 36px;
  height: 36px;
  min-height: 36px;
  border-color: transparent;
  background: rgba(248, 250, 252, .84);
  color: var(--text-muted);
  box-shadow: none;
}

.access-dialog .icon-button:hover,
.access-dialog .icon-button:focus-visible {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
  transform: none;
}

.access-dialog #addEventAccessText {
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.62;
}

.access-dialog .dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 4px 0 0;
}

.access-dialog .dialog-actions .button-link,
.access-dialog .dialog-actions button {
  min-height: 44px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

.access-dialog #guestAccessActions .button-link.primary {
  order: 1;
}

.access-dialog #guestAccessActions .button-link:not(.primary) {
  order: 2;
  background: #fff;
}


@media (max-width: 560px) {
.access-dialog {
    padding: 20px;
    border-radius: 20px;
  }

.access-dialog .dialog-head {
    grid-template-columns: 46px minmax(0, 1fr) 36px;
    gap: 11px;
  }

.access-dialog-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

.access-dialog .dialog-head h2 {
    font-size: 21px;
  }

.access-dialog .dialog-actions {
    grid-template-columns: 1fr;
  }

}
#organizerWelcomeDialog,
#eventCreateGuideDialog {
  width: min(720px, calc(100vw - 28px));
}

.welcome-dialog {
  width: 100%;
  max-width: none;
  max-height: min(86vh, 760px);
  overflow: auto;
  gap: 14px;
}

.access-dialog .dialog-actions,
.welcome-dialog .dialog-actions { padding-top: 4px; }

.welcome-steps {
  display: grid;
  gap: 10px;
  padding: 0 18px;
}

.welcome-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 750;
}

.welcome-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.welcome-rules {
  display: grid;
  gap: 0;
  margin: 0 18px;
  padding: 0;
  border: 1px solid rgba(221, 228, 238, .86);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.welcome-rules div {
  display: grid;
  gap: 5px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid rgba(221, 228, 238, .72);
  background: #fff;
}

.welcome-rules div:last-child { border-bottom: 0; }

.welcome-rules div:hover { background-color: rgba(248, 250, 252, .92); }

.welcome-rules strong {
  color: var(--navy);
  font-size: 13.5px;
}

.welcome-rules span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.rules-accepted-note {
  margin: 0 18px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--success-line);
  border-radius: 13px;
  background: var(--success-soft);
  color: #166534 !important;
  font-size: 13px;
  font-weight: 800;
}

.rules-confirm {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 18px 0;
  padding: 12px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 13px;
  line-height: 1.45;
}


@media (max-width: 560px) {
#organizerWelcomeDialog,
#eventCreateGuideDialog {
    width: calc(100vw - 20px);
  }

.welcome-dialog {
    max-width: calc(100vw - 20px);
  }

.confirm-dialog p,
.welcome-rules,
.rules-accepted-note,
.rules-confirm {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

.confirm-dialog p {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

}
#eventsGrid.data-grid {
  overflow: visible !important;
}


@media (min-width: 901px) {
#eventsGrid .data-head,
#eventsGrid .data-row {
    min-width: 0;
    grid-template-columns:
      minmax(150px, 1.45fr)
      minmax(120px, .95fr)
      108px
      96px
      118px
      190px;
  }

#eventsGrid .data-head > *:nth-child(3),
#eventsGrid .data-head > *:nth-child(6),
#eventsGrid .data-head > *:nth-child(7),
#eventsGrid .data-row > div:nth-child(3),
#eventsGrid .data-row > div:nth-child(6),
#eventsGrid .data-row > div:nth-child(7),
#usersGrid .data-head > *:nth-child(5),
#usersGrid .data-row > div:nth-child(5),
#reportsGrid .data-head > *:nth-child(3),
#reportsGrid .data-head > *:nth-child(4),
#reportsGrid .data-head > *:nth-child(7),
#reportsGrid .data-row > div:nth-child(3),
#reportsGrid .data-row > div:nth-child(4),
#reportsGrid .data-row > div:nth-child(7),
#imagesGrid .data-head > *:nth-child(1),
#imagesGrid .data-head > *:nth-child(5),
#imagesGrid .data-row > div:nth-child(1),
#imagesGrid .data-row > div:nth-child(5) {
    display: none;
  }

#usersGrid .data-head,
#usersGrid .data-row {
    min-width: 0;
    grid-template-columns:
      minmax(110px, 1fr)
      minmax(160px, 1.18fr)
      92px
      82px
      100px
      48px
      58px
      182px;
  }

#reportsGrid .data-head,
#reportsGrid .data-row {
    min-width: 0;
    grid-template-columns:
      102px
      minmax(130px, 1.1fr)
      minmax(112px, .92fr)
      minmax(170px, 1.35fr)
      80px
      80px
      190px;
  }

#imagesGrid .data-head,
#imagesGrid .data-row {
    min-width: 0;
    grid-template-columns:
      126px
      minmax(170px, 1.25fr)
      minmax(120px, .9fr)
      132px
      96px
      160px;
  }

}
#eventsGrid.data-grid {
  overflow: visible !important;
}

#eventsGrid.data-grid {
  overflow: visible;
}

#eventsGrid.data-grid {
  overflow: visible;
}

.topnav .nav-item.active:not(.primary) {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.topnav .nav-item.active:not(.primary):hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

#eventsGrid .data-head,
#eventsGrid .data-row {
  min-width: 0;
  grid-template-columns:
    minmax(140px, 1.35fr)
    minmax(108px, .9fr)
    minmax(82px, .65fr)
    108px
    90px
    120px
    216px;
}

#eventsGrid .data-head > *:nth-child(6),
#eventsGrid .data-head > *:nth-child(7),
#eventsGrid .data-row > div:nth-child(6),
#eventsGrid .data-row > div:nth-child(7) {
  display: none;
}

#usersGrid .data-head,
#usersGrid .data-row {
  min-width: 0;
  grid-template-columns:
    minmax(110px, 1fr)
    minmax(160px, 1.18fr)
    92px
    82px
    100px
    48px
    58px
    182px;
}

#usersGrid .data-head > *:nth-child(5),
#usersGrid .data-row > div:nth-child(5) {
  display: none;
}

#reportsGrid .data-head,
#reportsGrid .data-row {
  min-width: 0;
  grid-template-columns:
    102px
    minmax(130px, 1.1fr)
    minmax(112px, .92fr)
    minmax(170px, 1.35fr)
    80px
    80px
    190px;
}

#reportsGrid .data-head > *:nth-child(3),
#reportsGrid .data-head > *:nth-child(4),
#reportsGrid .data-head > *:nth-child(7),
#reportsGrid .data-row > div:nth-child(3),
#reportsGrid .data-row > div:nth-child(4),
#reportsGrid .data-row > div:nth-child(7) {
  display: none;
}

#imagesGrid .data-head,
#imagesGrid .data-row {
  min-width: 0;
  grid-template-columns:
    126px
    minmax(170px, 1.25fr)
    minmax(120px, .9fr)
    132px
    96px
    160px;
}

#imagesGrid .data-head > *:nth-child(1),
#imagesGrid .data-head > *:nth-child(5),
#imagesGrid .data-row > div:nth-child(1),
#imagesGrid .data-row > div:nth-child(5) {
  display: none;
}

#requestsGrid .data-head,
#requestsGrid .data-row {
  min-width: 0;
  grid-template-columns:
    108px
    minmax(130px, 1fr)
    minmax(190px, 1.2fr)
    minmax(240px, 1.5fr)
    100px
    180px;
}

#moderationGrid .data-head,
#moderationGrid .data-row {
  min-width: 0;
  grid-template-columns:
    minmax(150px, 1.3fr)
    minmax(190px, 1.3fr)
    130px
    92px
    78px
    116px
    190px;
}

#notificationsGrid .data-head,
#notificationsGrid .data-row,
#auditGrid .data-head,
#auditGrid .data-row {
  min-width: 1040px;
}

#eventsGrid .event-row-actions,
#usersGrid .row-actions {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: end;
  align-content: center;
}

#usersGrid .row-actions {
  grid-template-columns: repeat(3, max-content);
}

#reportsGrid .row-actions,
#imagesGrid .row-actions,
#requestsGrid .row-actions,
#moderationGrid .row-actions {
  max-width: none;
}

.action-menu {
  position: relative;
  display: inline-flex;
}

.action-menu summary {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  list-style: none;
}

.action-menu summary::-webkit-details-marker {
  display: none;
}

.action-menu summary:hover,
.action-menu[open] summary {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.action-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 6px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
}

.action-menu:not([open]) .action-menu-panel {
  display: none;
}

.action-menu-panel button,
.action-menu-panel a {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.action-menu-panel button:hover,
.action-menu-panel a:hover {
  background: var(--surface-muted);
  color: var(--text);
  box-shadow: none;
}

.action-menu-panel .danger {
  color: var(--danger);
}

#eventsGrid .event-row-actions,
#usersGrid .row-actions {
  grid-template-columns: repeat(3, max-content);
}


@media (min-width: 901px) {
#eventsGrid .data-row,
#reportsGrid .data-row,
#requestsGrid .data-row,
#moderationGrid .data-row {
    min-height: 68px;
  }

#usersGrid .data-row {
    min-height: 76px;
  }

}

@media (max-width: 900px) {
#eventsGrid .data-head,
#eventsGrid .data-row,
#usersGrid .data-head,
#usersGrid .data-row,
#reportsGrid .data-head,
#reportsGrid .data-row,
#imagesGrid .data-head,
#imagesGrid .data-row,
#requestsGrid .data-head,
#requestsGrid .data-row,
#moderationGrid .data-head,
#moderationGrid .data-row,
#notificationsGrid .data-head,
#notificationsGrid .data-row,
#auditGrid .data-head,
#auditGrid .data-row {
    min-width: 0;
    grid-template-columns: 1fr !important;
  }

#eventsGrid .event-row-actions,
#usersGrid .row-actions {
    display: flex;
    justify-content: flex-start;
  }

}
.rules-confirm input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  flex: 0 0 18px;
  accent-color: var(--accent);
}

.rules-confirm a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.event-confirm {
  margin: 0;
  background: #f8fbff;
}

.dialog-actions button:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}

.organizer-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--secondary-line);
  border-radius: 18px;
  background: var(--secondary-soft);
  box-shadow: 0 12px 30px rgba(6, 182, 212, .08);
}

.organizer-card strong { display: block; color: var(--navy); font-size: 14px; }

.organizer-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }

.organizer-card button {
  grid-column: 1 / -1;
  --btn-border: var(--secondary-line);
  --btn-color: var(--accent-dark);
  --btn-bg: #fff;
  --btn-hover-bg: var(--accent-soft);
  border-radius: 12px;
}

.organizer-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.organizer-icon svg {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;

  stroke-linejoin: round;
}

.category-chip-icon svg.category-icon-refined,
.category-badge-icon svg.category-icon-refined {
  stroke-width: 1.7;
}

.category-art {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--category-art) center / contain no-repeat;
  mask: var(--category-art) center / contain no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.category-art-hudebni { --category-art: url("/assets/category-icons/hudebni.png"); }

.category-art-festivaly { --category-art: url("/assets/category-icons/festivaly.png"); }

.category-art-kulturni { --category-art: url("/assets/category-icons/kulturni.png"); }

.category-art-sport { --category-art: url("/assets/category-icons/sport.png"); }

.category-art-auto-moto { --category-art: url("/assets/category-icons/auto-moto.png"); }

.category-art-gastro { --category-art: url("/assets/category-icons/gastro.png"); }

.category-art-trhy { --category-art: url("/assets/category-icons/trhy.png"); }

.category-art-priroda { --category-art: url("/assets/category-icons/priroda.png"); }

.category-art-ostatni { --category-art: url("/assets/category-icons/ostatni.png"); }

.category-chip-icon .category-art,
.category-badge-icon .category-art {
  width: 15px;
  height: 15px;
}

.category-chip-icon .category-art {
  width: 18px;
  height: 18px;
}

.category-badge-icon .category-art {
  width: 17px;
  height: 17px;
}

.category-art-sport,
.category-art-kulturni {
  transform: scale(1.24);
  transform-origin: center;
}

.category-art-gastro {
  transform: scale(.88);
  transform-origin: center;
}

@keyframes mapLocationLoading { to { transform: rotate(360deg); } }
.origin-marker-wrap {
  cursor: default;
  border-radius: 50%;
}

.origin-marker-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.origin-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(79, 70, 229, .09);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .16);
}

.origin-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(79, 70, 229, .36);
  background: rgba(79, 70, 229, .08);
  animation: originPulse 3.6s ease-out infinite;
  pointer-events: none;
}

.origin-marker::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: linear-gradient(145deg, #6366f1, #4f46e5 65%, #4338ca);
  border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(49, 46, 129, .25), 0 0 0 1px rgba(79, 70, 229, .18);
}

.origin-marker span {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

.origin-tooltip-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #eef2ff;
  color: var(--outlo-brand-accent);
}

.origin-tooltip-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.origin-tooltip-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

@keyframes originPulse {
  0% { transform: scale(.9); opacity: .55; }
  75%, 100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
.origin-marker::before { animation: none; opacity: .3; }

}

@media (max-width: 900px) {
.topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 108px;
    padding: 10px 14px;
  }

.topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
  }

.top-actions { justify-content: flex-end; gap: 7px; }

.nav-item { justify-content: center; }

.top-actions .nav-item span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-menu-panel {
    right: 0;
    min-width: min(300px, calc(100vw - 28px));
  }

.profile-layout { width: min(100% - 24px, 720px); margin-top: 18px; }

.profile-head { display: grid; padding: 18px; }

.profile-stats { grid-template-columns: 1fr 1fr; }

.profile-grid { grid-template-columns: 1fr; }

.profile-event-item { grid-template-columns: 1fr; }

.profile-event-item em { width: fit-content; }

.mobile-sheet-handle {
    position: sticky;
    top: -8px;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 5px;
    width: calc(100% + 28px);
    min-height: 42px;
    margin: -8px -14px 8px;
    padding: 8px 14px 7px;
    border: 0;
    border-bottom: 1px solid rgba(229, 234, 240, .75);
    border-radius: 24px 24px 0 0;
    background: rgba(255,255,255,.98);
    color: var(--navy);
    box-shadow: none;
    touch-action: none;
    cursor: grab;
  }

.mobile-sheet-handle:hover {
    transform: none;
    box-shadow: none;
    background: #fff;
  }

.mobile-sheet-handle span {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: #c8d4df;
  }

.mobile-sheet-handle strong {
    font-size: 12px;
    line-height: 1;
    letter-spacing: .02em;
  }

.segmented-time { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.date-range-fields { grid-template-columns: 1fr; }

.form-grid,
dl,
.stats-grid,
.stats-lists,
.address-fields { grid-template-columns: 1fr; }

.wide-section { grid-column: auto; }

.inline-search { grid-template-columns: 1fr; }

}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.data-grid,
.data-row,
.activity-list,
.stat-list {
  min-width: 0;
}

.activity-list *,
.stat-list *,
.data-row > div {
  overflow-wrap: anywhere;
}

.activity-list {
  display: grid;
  gap: 9px;
}

.activity-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-radius: 15px;
  background: #F8FAFC;
  border: 1px solid var(--line);
}

.activity-item strong {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.activity-item span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.organizer-action-card.is-zero strong {
  color: var(--muted);
}

.organizer-action-card.has-value.info {
  border-left-color: var(--info);
}

.organizer-action-card.has-value.warning {
  border-left-color: var(--warning);
}

.organizer-action-card.has-value.critical {
  border-left-color: var(--danger);
}

.organizer-action-card.has-value.info strong {
  color: var(--info);
}

.organizer-action-card.has-value.warning strong {
  color: #B45309;
}

.organizer-action-card.has-value.critical strong {
  color: var(--danger);
}

.moderation-toolbar {
  grid-template-columns: minmax(260px, 1.4fr) minmax(170px, .7fr) minmax(190px, auto) minmax(180px, auto);
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(229, 234, 240, .78);
  border-radius: 18px;
  background: #f8fbff;
}

.moderation-maintenance-button {
  min-height: 42px;
  white-space: nowrap;
}

.switch-filter {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #F8FAFC;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.switch-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-filter span {
  width: 38px;
  height: 22px;
  position: relative;
  border-radius: 999px;
  background: #dbe5ef;
  transition: background .16s ease;
}

.switch-filter span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(6, 26, 51, .18);
  transition: transform .16s ease;
}

.switch-filter input:checked + span {
  background: var(--accent);
}

.switch-filter input:checked + span::after {
  transform: translateX(16px);
}

.moderation-row-actions .action-add {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-dark);
  font-weight: 850;
}

.moderation-row-actions .action-history {
  background: #f7f9fc;
  border-color: #e2eaf3;
  color: var(--navy);
  font-weight: 800;
}

.moderation-history-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-left: 4px solid #cbd5e1;
  background: #fff;
}

.moderation-history-card.warning { border-left-color: var(--warning); background: var(--warning-soft); }

.moderation-history-card.block_new_events,
.moderation-history-card.block_event_edits { border-left-color: var(--warning); background: var(--warning-soft); }

.moderation-history-card.require_event_approval { border-left-color: var(--accent); background: var(--accent-soft); }

.moderation-history-card.suspend_organizer { border-left-color: #8b5cf6; background: #f6f3ff; }

.moderation-history-card.ban_organizer { border-left-color: var(--danger); background: var(--danger-soft); }

.moderation-history-card.restore_organizer { border-left-color: var(--success); background: var(--success-soft); }

.moderation-history-card.revoked,
.moderation-history-card.expired {
  background: #f8fafc;
  border-left-color: #94a3b8;
}

.moderation-history-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.moderation-history-head strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.moderation-history-head span:not(.moderation-action-icon):not(.status-pill) {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.moderation-action-icon {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.moderation-history-card .small.ghost {
  justify-self: start;
  min-height: 34px;
}

.moderation-history-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moderation-detail-hero {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(229, 234, 240, .86);
  background: #f8fbff;
}

.moderation-detail-hero h3 {
  margin: 3px 0;
  color: var(--navy);
  font-size: 22px;
}

.moderation-detail-hero p {
  margin: 0;
  color: var(--muted);
}

.moderation-detail-hero.warning { background: var(--warning-soft); border-color: var(--warning-line); }

.moderation-detail-hero.block_new_events,
.moderation-detail-hero.block_event_edits { background: var(--warning-soft); border-color: var(--warning-line); }

.moderation-detail-hero.require_event_approval { background: var(--accent-soft); border-color: var(--accent-line); }

.moderation-detail-hero.suspend_organizer { background: #f6f3ff; border-color: #ddd6fe; }

.moderation-detail-hero.ban_organizer { background: var(--danger-soft); border-color: var(--danger-line); }

.moderation-detail-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.moderation-detail-grid > div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.moderation-detail-grid > .wide {
  grid-column: 1 / -1;
}

.moderation-detail-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.moderation-detail-grid p {
  margin: 0;
  color: var(--navy);
  line-height: 1.45;
}

.moderation-detail-grid span {
  color: var(--muted);
  font-size: 12px;
}

.data-grid {
  display: grid;
  gap: 8px;
}

.data-head,
.data-row {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.data-head {
  padding: 0 10px;
}

.data-head button {
  min-height: 34px;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.data-head button span { margin-left: 4px; }

.data-row {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.data-row > div {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.data-row .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.data-row .event-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: min(100%, 260px);
  margin-left: auto;
}

.data-row .event-row-actions::after {
  content: "";
  flex-basis: 100%;
  height: 0;
  order: 2;
}

.data-row .event-row-actions button:nth-child(1),
.data-row .event-row-actions button:nth-child(2) {
  order: 1;
}

.data-row .event-row-actions button:nth-child(3),
.data-row .event-row-actions button:nth-child(4) {
  order: 3;
}

.data-row .event-row-actions button:nth-child(5),
.data-row .event-row-actions button:nth-child(6) {
  order: 4;
}

.data-row .row-actions button {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 12px;
  border-radius: 11px;
}

.data-row .event-row-actions button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.review-image-preview {
  position: relative;
  width: 132px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-muted);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 22px rgba(15, 23, 42, .08);
}

.review-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.review-image-preview span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  background: rgba(248, 250, 252, .88);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.review-image-preview.is-error span {
  background: var(--danger-soft);
  color: var(--danger);
}

.image-review-grid .data-row { align-items: center; }

.image-file-meta {
  display: grid;
  gap: 6px;
  min-width: 126px;
  color: var(--ink);
  line-height: 1.25;
}

.image-file-meta span {
  display: grid;
  gap: 2px;
}

.image-file-meta strong {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.image-file-meta em {
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
}

#imageReasonDialog {
  width: min(540px, calc(100vw - 28px));
}

.image-reason-form {
  display: grid;
  gap: 14px;
  width: 100%;
  padding-bottom: 18px;
}

.image-reason-form label {
  display: grid;
  gap: 8px;
  margin: 0 18px;
  color: var(--navy);
  font-weight: 850;
}

.image-reason-form textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  resize: vertical;
}

.image-reason-form .dialog-actions {
  padding-top: 2px;
}

#eventsGrid .data-head,
#eventsGrid .data-row {
  grid-template-columns:
    minmax(150px, 1.35fr)
    minmax(120px, 1fr)
    minmax(96px, .82fr)
    minmax(92px, .82fr)
    minmax(96px, .82fr)
    minmax(88px, .72fr)
    minmax(64px, .55fr)
    minmax(86px, .72fr)
    minmax(190px, 1.45fr);
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.pager-summary,
.pager-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pager-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 780;
  white-space: nowrap;
}

.pager-size span {
  flex: 0 0 auto;
}

.pager-size select {
  flex: 0 0 auto;
  width: 58px;
  min-height: 30px;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  padding: 4px 6px;
  box-shadow: var(--shadow-xs);
}

.empty-data,
.empty-stat {
  padding: 14px;
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
}

.status-pill.active { background: var(--secondary-soft); color: var(--secondary-dark); }

.status-pill.draft { background: #f1f5f9; color: #475569; }

.status-pill.pending,
.status-pill.pending_image,
.status-pill.needs_review,
.status-pill.new { background: var(--warning-soft); color: #B45309; }

.status-pill.expired { background: #f1f5f9; color: #475569; }

.status-pill.revoked { background: #f8fafc; color: #64748b; }

.status-pill.completed { background: var(--success-soft); color: var(--success); }

.status-pill.hidden { background: var(--warning-soft); color: #B45309; }

.status-pill.rejected { background: var(--danger-soft); color: var(--danger); }

.status-pill.archived { background: #eef2ff; color: #3730a3; }

.status-pill.approved { background: var(--success-soft); color: var(--success); }

.organizer-shell {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.organizer-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(229, 234, 240, .72);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.organizer-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.05;
}

.organizer-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.organizer-stat-card {
  padding: 16px;
  border: 1px solid rgba(229, 234, 240, .74);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(6, 26, 51, .06);
}

.organizer-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.organizer-stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.organizer-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(229, 234, 240, .74);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(6, 26, 51, .05);
}

.organizer-sections {
  display: grid;
  gap: 16px;
}

.organizer-section {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.organizer-section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #F8FAFC;
}

.organizer-section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
}

.organizer-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.organizer-event-list {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.organizer-event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.organizer-event-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.organizer-event-title {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.organizer-event-title strong {
  color: var(--navy);
  font-size: 16px;
}

.organizer-event-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.organizer-image-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.organizer-image-strip.empty {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-muted);
}

.organizer-image-item {
  width: 138px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.organizer-image-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 9px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.organizer-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organizer-image-thumb.is-muted {
  border: 1px dashed var(--line-strong);
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mini-actions button {
  min-height: 28px;
  padding: 5px 7px;
  font-size: 11px;
}

.organizer-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 13px;
}

.organizer-empty span {
  color: var(--ink);
  font-weight: 700;
}

.organizer-empty small {
  color: var(--muted);
  font-size: 12px;
}

.organizer-dashboard-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.organizer-dashboard-block.priority-block {
  background: #fff;
}

.organizer-dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.organizer-dashboard-head h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.2;
}

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

.organizer-quick-grid.compact .organizer-quick-card {
  min-height: 88px;
}

.organizer-quick-card {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 96px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #F8FAFC;
  color: var(--navy);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.organizer-quick-card:hover {
  border-color: var(--accent-line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.organizer-quick-card.primary {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.organizer-quick-card strong {
  color: var(--navy);
  font-size: 15px;
}

.organizer-quick-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.compact-card {
  padding: 14px;
}

.organizer-context-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.organizer-context-bar label { min-width: min(420px, 100%); }

.organizer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.organizer-tabs button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
}

.organizer-tabs button.active {
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
}

.menu-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.organizer-action-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  justify-content: start;
  gap: 10px;
}

.organizer-action-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  justify-items: start;
  align-items: center;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-left-color: transparent;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-align: left;
}

.organizer-action-card:hover {
  border-color: rgba(79, 70, 229, .3);
  transform: translateY(-1px);
}

.organizer-action-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.organizer-action-card small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.organizer-action-card strong {
  color: var(--outlo-brand-text);
  font-size: 24px;
  line-height: 1;
  justify-self: end;
}

.organizer-attention-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.organizer-attention-empty strong {
  color: var(--navy);
}

.organizer-attention-empty span {
  color: var(--muted);
  font-size: 13px;
}

.rules-status-card {
  border-left: 4px solid var(--warning);
  background: #fff;
}

.rules-status-card.is-accepted {
  border-left-color: var(--success);
}

.rules-status-card.needs-action {
  background: linear-gradient(135deg, var(--warning-soft), #fff 55%);
}

.rules-status-head {
  align-items: center;
}

.rules-status-head h2 {
  margin: 2px 0 0;
}

.rules-status-head p {
  max-width: 680px;
}

.rules-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.notification-card {
  border-left: 3px solid transparent;
}

.notification-card.unread {
  border-left-color: var(--accent);
  background: rgba(79, 70, 229, .06);
}

.moderation-notice {
  border-color: rgba(245, 158, 11, .28);
  background: var(--warning-soft);
}

.moderation-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.moderation-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3d6;
  color: #8a520f;
  font-size: 12px;
  font-weight: 800;
}

.moderation-notice-actions {
  display: flex;
  justify-content: flex-start;
}

.organizer-moderation-view {
  gap: 16px;
}

.organizer-moderation-list {
  display: grid;
  gap: 10px;
}

.organizer-moderation-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.organizer-moderation-card.warning,
.organizer-moderation-card.block_new_events,
.organizer-moderation-card.block_event_edits {
  border-left-color: var(--warning);
  background: var(--warning-soft);
}

.organizer-moderation-card.require_event_approval {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}

.organizer-moderation-card.suspend_organizer {
  border-left-color: #8b5cf6;
  background: #f6f3ff;
}

.organizer-moderation-card.ban_organizer {
  border-left-color: var(--danger);
  background: var(--danger-soft);
}

.organizer-moderation-card.expired,
.organizer-moderation-card.revoked {
  border-left-color: var(--line-strong);
  background: #F8FAFC;
}

.organizer-moderation-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.organizer-moderation-card strong {
  display: block;
  color: var(--navy);
}

.organizer-moderation-card span,
.organizer-moderation-card small {
  color: var(--muted);
  font-size: 12px;
}

.organizer-moderation-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}

.organizer-moderation-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.organizer-moderation-card-actions .primary-soft {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.read-note,
.moderation-read-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 12px;
  font-weight: 850;
}

.moderation-read-note.unread {
  background: #f8fafc;
  color: var(--muted);
}

.organizer-view { display: none; }

.organizer-view.active {
  display: grid;
  gap: 16px;
}

.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.team-list,
.data-list {
  display: grid;
  gap: 10px;
}

.team-row,
.data-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #F8FAFC;
}

.data-card {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.data-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.team-row strong,
.data-card strong {
  display: block;
  color: var(--navy);
}

.team-row span,
.data-card span {
  color: var(--muted);
  font-size: 12px;
}

.team-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.team-owner {
  background: #fff4cf;
  color: #7a5400;
  border-color: #f1d987;
}

.team-manager {
  background: var(--secondary-soft);
  color: var(--secondary-dark);
  border-color: var(--secondary-line);
}

.activity-timeline { display: grid; }

.activity-timeline .activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.activity-timeline .activity-item::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #dceaf6;
}

.activity-timeline .activity-item:last-child::before { display: none; }

.activity-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 4px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--accent);
}

.activity-timeline .activity-item strong {
  display: block;
  color: var(--navy);
}

.activity-timeline .activity-item span {
  color: var(--muted);
  font-size: 12px;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.organizer-toolbar.compact {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 22px;
  border: 1px solid #d6ebff;
  border-radius: 20px;
  background: #f3f9ff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.empty-state span {
  color: var(--muted);
}

.profile-shell {
  display: grid;
  gap: 18px;
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.profile-hero,
.profile-panel {
  border: 1px solid rgba(229, 234, 240, .74);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.profile-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
}

.profile-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.05;
}

.profile-hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.profile-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.profile-event-grid,
.favorite-organizer-grid {
  display: grid;
  gap: 12px;
}

.profile-event-card,
.favorite-organizer-card {
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.profile-event-card {
  grid-template-columns: 130px minmax(0, 1fr);
  padding: 10px;
}

.profile-event-card:hover,
.favorite-organizer-card:hover {
  border-color: #cfe0ef;
  box-shadow: 0 14px 34px rgba(6, 26, 51, .08);
}

.profile-event-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #f4f7fb;
}

.profile-event-card strong,
.favorite-organizer-card strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.profile-event-card span,
.favorite-organizer-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.profile-event-card small {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 850;
}

.favorite-organizer-card {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 16px;
}

.favorite-organizers-shell {
  width: min(100% - 28px, 1120px);
  gap: 14px;
  padding-top: 18px;
}

.favorite-organizers-hero {
  align-items: center;
  padding: 18px 20px;
}

.favorite-organizers-hero h1 {
  font-size: clamp(25px, 3vw, 32px);
}

.favorite-organizers-hero .breadcrumb {
  margin-bottom: 5px;
  font-size: 12px;
}

.favorite-organizers-hero p:not(.breadcrumb) {
  margin-top: 6px;
  font-size: 14px;
}

.favorite-organizers-panel {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.favorite-organizer-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: start;
}

.favorite-organizer-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 210px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface);
}

.favorite-organizer-card:hover {
  transform: translateY(-1px);
}

.favorite-organizer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--avatar-color, var(--accent)), color-mix(in srgb, var(--avatar-color, var(--accent)) 70%, #111827));
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--avatar-color, var(--accent)) 18%, transparent);
}

.favorite-organizer-avatar.has-image {
  color: transparent;
}

.favorite-organizer-body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.favorite-organizer-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.favorite-organizer-title h2 {
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-organizer-title p {
  overflow: hidden;
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-organizer-stats {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  justify-self: start;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 5%, #fff);
}

.favorite-organizer-stats strong {
  color: var(--outlo-brand-text);
  font-size: 20px;
  line-height: 1;
}

.favorite-organizer-stats span {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 760;
}

.favorite-next-event {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
}

.favorite-next-event span {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.favorite-next-event strong {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-next-event small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-next-event.muted strong {
  color: var(--text-muted);
  font-weight: 760;
}

.favorite-organizer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.favorite-organizer-actions .action-menu {
  overflow: visible;
}

.favorite-organizer-menu summary {
  min-width: 38px;
  min-height: 38px;
}

.favorite-organizer-menu .action-menu-panel {
  min-width: max-content;
  white-space: nowrap;
}

.favorite-organizer-menu button {
  width: 100%;
  text-align: left;
}

.favorite-organizer-empty {
  display: grid;
  justify-items: start;
  gap: 9px;
  max-width: 560px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.favorite-organizer-empty strong {
  color: var(--text);
  font-size: 17px;
}

.favorite-organizer-empty span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.public-organizer-shell {
  display: grid;
  gap: 14px;
  width: min(100% - 28px, 1080px);
  margin: 0 auto;
  padding: 18px 0 42px;
}

.public-organizer-hero,
.public-organizer-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.public-organizer-hero {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
}

.public-organizer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--avatar-color, var(--accent)), color-mix(in srgb, var(--avatar-color, var(--accent)) 70%, #111827));
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--avatar-color, var(--accent)) 18%, transparent);
}

.public-organizer-avatar.has-image {
  color: transparent;
}

.public-organizer-main {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.public-organizer-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.public-organizer-title h1 {
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-organizer-title p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 680;
}

.public-organizer-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.public-organizer-metrics span {
  display: inline-grid;
  gap: 3px;
  min-width: 132px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-muted);
}

.public-organizer-metrics strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.public-organizer-metrics small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 720;
}

.public-organizer-actions,
.public-organizer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-organizer-section {
  display: grid;
  gap: 13px;
  padding: 18px;
}

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

.public-section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.public-section-head p,
.public-organizer-section > p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.public-organizer-links a {
  color: var(--outlo-brand-text);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.public-organizer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-muted);
}

.public-organizer-tabs button {
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 820;
  padding: 7px 11px;
}

.public-organizer-tabs button.active {
  background: #fff;
  color: var(--outlo-brand-text);
  box-shadow: var(--shadow-xs);
}

.public-organizer-events {
  display: grid;
  gap: 0;
}

.public-organizer-event {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 11px 0;
  border-top: 1px solid rgba(226, 232, 240, .8);
  color: inherit;
  text-decoration: none;
}

.public-organizer-event:first-child {
  border-top: 0;
}

.public-organizer-event:hover {
  background: linear-gradient(90deg, color-mix(in srgb, var(--category-color) 6%, transparent), transparent 70%);
}

.public-organizer-event img,
.public-organizer-event-placeholder {
  width: 120px;
  height: 84px;
  border-radius: 12px;
}

.public-organizer-event img {
  display: block;
  object-fit: cover;
  background: var(--surface-muted);
}

.public-organizer-event img + .public-organizer-event-placeholder {
  display: none;
}

.public-organizer-event-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--category-color) 22%, var(--line));
  background: color-mix(in srgb, var(--category-color) 9%, #fff);
  color: color-mix(in srgb, var(--category-color) 82%, #111827);
}

.public-organizer-event-placeholder svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.public-organizer-event-main {
  display: grid;
  justify-items: start;
  gap: 5px;
  min-width: 0;
}

.public-organizer-event-main strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-organizer-event-main small {
  overflow: hidden;
  max-width: 100%;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-organizer-empty {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
}

.public-organizer-empty strong {
  color: var(--text);
}

.public-organizer-empty span {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}


@media (max-width: 1100px) {
.metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.moderation-toolbar { grid-template-columns: 1fr 1fr; }

.organizer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.organizer-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.organizer-event-card { grid-template-columns: 1fr; }

.organizer-event-actions { justify-content: flex-start; }

.row-actions {
    max-width: 100%;
  }

.row-actions button,
.row-actions a {
    width: auto;
    min-width: 0;
    white-space: nowrap;
  }

}

@media (max-width: 900px) {
.data-head { display: none; }

.data-row {
    grid-template-columns: 1fr !important;
    gap: 9px;
  }

.data-row > div::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
  }

.data-row .row-actions {
    justify-content: flex-start;
  }

.data-row .event-row-actions {
    width: min(100%, 280px);
    margin-left: 0;
  }

}

@media (max-width: 720px) {
.public-organizer-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

.public-organizer-hero {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

.public-organizer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    font-size: 19px;
  }

.public-organizer-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }

.public-organizer-title h1 {
    font-size: 28px;
    white-space: normal;
  }

.public-organizer-title .status-pill {
    justify-self: start;
  }

.public-organizer-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

.public-organizer-section {
    padding: 15px;
  }

.public-section-head {
    align-items: flex-start;
  }

.public-organizer-event {
    grid-template-columns: 82px minmax(0, 1fr) 18px;
    gap: 12px;
    min-height: 82px;
  }

.public-organizer-event img,
.public-organizer-event-placeholder {
    width: 82px;
    height: 62px;
    border-radius: 10px;
  }

.public-organizer-event-main strong {
    font-size: 14px;
  }

.public-organizer-event-main small {
    white-space: normal;
  }

.favorite-organizers-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 12px;
  }

.favorite-organizers-hero {
    display: grid;
    gap: 12px;
    padding: 16px;
  }

.favorite-organizer-grid {
    grid-template-columns: 1fr;
  }

.favorite-organizer-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

.favorite-organizer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 14px;
  }

.favorite-organizer-title {
    grid-template-columns: 1fr;
    gap: 7px;
  }

.favorite-organizer-title .status-pill {
    justify-self: start;
  }

.favorite-organizer-actions .button-link {
    min-height: 40px;
  }

.organizer-action-cards {
    grid-template-columns: 1fr;
  }

.event-image-manager {
    padding: 12px;
  }

.event-image-manager-head,
.event-image-manager-actions {
    display: grid;
    justify-items: start;
  }

.event-image-manager-item {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

.event-image-manager-thumb {
    width: 88px;
  }

.event-image-manager .mini-actions button {
    min-height: 34px;
  }

.detail-image-button {
    height: 210px;
  }

.detail-image-overlay {
    align-items: end;
    justify-items: start;
    place-items: end start;
    padding: 14px;
    opacity: 1;
    background: rgba(3, 14, 30, .42);
  }

.metric-grid,
.moderation-toolbar { grid-template-columns: 1fr; }

.metric-card {
    border-radius: 16px;
    padding: 14px;
  }

.metric-card {
    min-height: 92px;
  }

.metric-card strong {
    font-size: 28px;
  }

.switch-filter { justify-content: flex-start; width: 100%; }

.moderation-row-actions button { flex: 1 1 150px; }

.moderation-history-head { grid-template-columns: auto minmax(0, 1fr); }

.moderation-history-head .status-pill { grid-column: 2; justify-self: start; }

.moderation-detail-hero { align-items: flex-start; flex-direction: column; }

.moderation-detail-grid { grid-template-columns: 1fr; }

.data-head { display: none; }

.data-row {
    grid-template-columns: 1fr !important;
    gap: 9px;
  }

.data-row > div::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
  }

.data-row .row-actions { justify-content: flex-start; }

.data-row .event-row-actions {
    width: 100%;
    margin-left: 0;
  }

.pager { align-items: stretch; flex-direction: column; }

.pager-summary,
.pager-actions {
    width: 100%;
  }

.pager-actions button {
    flex: 1 1 0;
  }

.pager-size {
    width: fit-content;
    max-width: 100%;
    justify-content: flex-start;
  }

.organizer-shell { width: min(100vw - 20px, 1180px); padding-top: 14px; }

.organizer-hero { display: grid; padding: 18px; }

.organizer-hero h1 { font-size: 28px; }

.organizer-dashboard-block { padding: 14px; border-radius: 18px; }

.organizer-dashboard-head { display: grid; }

.organizer-quick-grid { grid-template-columns: 1fr; }

.organizer-stats,
.organizer-toolbar { grid-template-columns: 1fr; }

.organizer-event-actions a,
.organizer-event-actions button { width: 100%; }

.profile-shell { width: min(100vw - 20px, 1080px); padding-top: 14px; }

.profile-hero { display: grid; padding: 18px; }

.profile-hero h1 { font-size: 28px; }

.profile-event-card,
.favorite-organizer-card { grid-template-columns: 1fr; }

.favorite-organizer-card .actions { justify-content: flex-start; }

}
:root {
  --topbar-height: 62px;
  --topbar-bg-glass: rgba(255, 255, 255, .84);
  --topbar-border-glass: rgba(15, 23, 42, .075);
  --topbar-shadow-glass: 0 4px 16px rgba(15, 23, 42, .045);
}

.topbar {
  min-height: var(--topbar-height);
  padding: 9px 22px;
  gap: 16px;
  background: var(--topbar-bg-glass);
  border-bottom: 1px solid var(--topbar-border-glass);
  box-shadow: var(--topbar-shadow-glass);
  backdrop-filter: blur(10px) saturate(1.03);
  -webkit-backdrop-filter: blur(10px) saturate(1.03);
}

.brand-link {
  min-height: 42px;
  padding-inline: 4px;
}

.brand-text-only {
  font-size: 21px;
  font-weight: 950;
}

.topnav,
.top-actions {
  gap: 10px;
}

.nav-item {
  min-height: 38px;
  padding: 8px 10px;
  border-color: transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  line-height: 1;
}

.nav-item:hover {
  background: rgba(255, 255, 255, .48);
  border-color: rgba(15, 23, 42, .045);
  box-shadow: none;
}

.topnav .nav-item.active {
  position: relative;
  background: rgba(255, 255, 255, .42);
  border-color: transparent;
  color: var(--accent-dark);
  box-shadow: none;
}

.topnav .nav-item.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: rgba(79, 70, 229, .72);
}

.nav-item.primary {
  min-height: 40px;
  padding-inline: 15px;
  border-color: var(--accent);
  border-radius: 13px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .18);
}

.nav-item.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 24px rgba(79, 70, 229, .22);
}

.user-menu-button {
  max-width: min(250px, 34vw);
  padding-left: 6px;
  padding-right: 8px;
  gap: 7px;
}

.user-menu-button > .nav-icon:first-child {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .12);
  color: var(--accent-dark);
  stroke-width: 1.8;
}

.user-menu-button span:not(.profile-menu-badge) {
  font-weight: 850;
}

.profile-menu-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid rgba(79, 70, 229, .12);
  background: var(--accent);
  color: #fff;
}

.nav-chevron {
  width: var(--outlo-icon-xs, 14px);
  height: var(--outlo-icon-xs, 14px);
  opacity: .72;
}

.nav-icon,
.button-icon {
  stroke-width: var(--outlo-icon-stroke, 1.8);
}

.auth-layout {
  min-height: calc(100vh - var(--topbar-height));
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.topbar {
    background: rgba(255, 255, 255, .97);
  }

}

@media (prefers-reduced-transparency: reduce) {
.topbar,
.nav-item {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}

@media (max-width: 900px) {
:root {
    --topbar-height: 64px;
    --topbar-bg-glass: rgba(255, 255, 255, .92);
  }

.topbar {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: var(--topbar-height);
    padding: 8px 12px;
    gap: 8px;
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
  }

.brand-text-only {
    font-size: 21px;
  }

.topnav {
    display: none;
  }

.top-actions {
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
  }

.top-actions .nav-item {
    min-height: 38px;
    padding: 8px 10px;
    flex: 0 1 auto;
  }

.top-actions .nav-item span {
    max-width: 112px;
  }

.user-menu-button {
    max-width: min(168px, 42vw);
  }

.user-menu-button > .nav-icon:first-child {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
  }

}

@media (max-width: 520px) {
.topbar {
    padding-inline: 10px;
  }

.nav-item.primary {
    padding-inline: 10px;
  }

.nav-item.primary span {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.user-menu-button span:not(.profile-menu-badge) {
    max-width: 58px;
  }

}
:root {
  --accent: var(--outlo-brand-accent);
  --accent-hover: var(--outlo-brand-text);
  --accent-dark: var(--outlo-brand-text-hover);
  --accent-soft: var(--outlo-brand-soft);
  --accent-line: var(--outlo-brand-border);
  --page-bg: #F3F6FB;
  --surface: #ffffff;
  --surface-muted: #F8FAFC;
  --surface-raised: #ffffff;
  --text: #0f172a;
  --text-soft: #334155;
  --text-muted: #64748b;
  --line: #DDE4EE;
  --line-strong: #cbd5e1;
  --info: #2563EB;
  --info-soft: #EFF6FF;
  --info-line: #BFDBFE;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .045);
  --shadow-sm: 0 8px 22px rgba(15, 23, 42, .055);
  --shadow-md: 0 18px 46px rgba(15, 23, 42, .12);
  --focus-ring: 0 0 0 3px color-mix(in srgb, var(--outlo-brand-accent) 20%, transparent);
  --control-height: 38px;
  --control-height-sm: 32px;
  --content-max: 1440px;
}

html {
  text-rendering: optimizeLegibility;
}

body {
  color: var(--text);
  background: var(--page-bg);
}

button,
.button-link,
.nav-item {
  min-height: var(--control-height);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  box-shadow: none;
}

button:hover,
.button-link:hover,
.nav-item:hover {
  transform: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .055);
}

button:disabled,
.button-link[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
  box-shadow: none;
}

.small,
.data-row .row-actions button,
.data-row .row-actions a,
.mini-actions button {
  min-height: var(--control-height-sm);
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 740;
}

input,
select,
textarea {
  min-height: var(--control-height);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
}

textarea {
  min-height: 86px;
}

label,
.compact-label {
  gap: 5px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 760;
}

.hint,
.section-lead,
.dialog-intro,
.organizer-section-head p,
.organizer-hero p:not(.eyebrow),
.profile-event-item span,
.activity-item span,
.data-card span,
.team-row span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.42;
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--outlo-brand-text);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
}

.topbar {
  min-height: 58px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, .82);
  border-bottom-color: rgba(15, 23, 42, .07);
  box-shadow: 0 3px 14px rgba(15, 23, 42, .045);
  backdrop-filter: blur(8px) saturate(1.02);
  -webkit-backdrop-filter: blur(8px) saturate(1.02);
}

.brand-link {
  min-height: 38px;
}

.brand-text-only {
  font-size: 20px;
}

.topnav,
.top-actions {
  gap: 7px;
}

.nav-item {
  border-color: transparent;
  background: transparent;
  color: var(--text-soft);
}

.nav-item:hover {
  background: rgba(255, 255, 255, .54);
  color: var(--text);
}

.topnav .nav-item.active,
.nav-item.active {
  background: rgba(79, 70, 229, .08);
  border-color: rgba(79, 70, 229, .12);
  color: var(--accent-dark);
}

.topnav .nav-item.active::after {
  background: rgba(79, 70, 229, .72);
}

.nav-item.primary,
.primary {
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
  --btn-hover-bg: var(--accent-hover);
  --btn-hover-border: var(--accent-hover);
}

.nav-item.primary {
  border-radius: var(--radius-md);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .17);
}

.user-menu-button > .nav-icon:first-child {
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, .13);
}

.profile-menu-badge,
.menu-count-badge,
.menu-badge {
  background: var(--accent);
}

.user-menu-panel {
  border-radius: var(--radius-lg);
  border-color: rgba(226, 232, 240, .95);
  box-shadow: 0 18px 46px rgba(15, 23, 42, .12);
  padding: 7px;
}

.menu-item {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 720;
}

.menu-item .nav-icon {
  width: 18px;
  height: 18px;
}

.menu-item.active {
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
}

.user-menu-panel .promotion-menu-item {
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent-line);
  font-weight: 750;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.user-menu-panel .promotion-menu-item .promotion-menu-icon {
  display: inline-flex;
  color: var(--outlo-brand-accent);
}

.user-menu-panel .promotion-menu-item:hover,
.user-menu-panel .promotion-menu-item.active {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, var(--surface));
  color: var(--accent-dark);
  transform: none;
}

.user-menu-panel .promotion-menu-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
.user-menu-panel .promotion-menu-item { transition: none; }

}
.badge,
.status-pill,
.category-badge {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.status-pill.active,
.status-active,
.status-pill.approved,
.status-pill.resolved,
.status-pill.completed {
  background: var(--success-soft);
  border-color: var(--success-line);
  color: #14783a;
}

.status-pill.pending,
.status-pill.pending_image,
.status-pill.needs_review,
.status-pill.new,
.status-pill.hidden,
.status-blocked {
  background: var(--warning-soft);
  border-color: var(--warning-line);
  color: #a16207;
}

.status-pill.rejected,
.status-pill.failed,
.danger-menu,
.role-admin {
  background: var(--danger-soft);
  border-color: var(--danger-line);
  color: #b91c1c;
}

.status-pill.expired,
.status-pill.archived,
.status-pill.revoked,
.status-pill.draft,
.badge:not([class*="role-"]):not([class*="status-"]):not([class*="team-"]) {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

.role-moderator,
.role-organizer,
.role-user {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.organizer-shell,
.profile-layout,
.profile-shell,
.favorite-organizer-shell,
.organizer-profile-shell {
  width: min(var(--content-max), calc(100vw - 32px));
}

.organizer-hero,
.profile-head {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.organizer-hero h1,
.profile-head h1 {
  font-size: 24px;
  line-height: 1.16;
}

.organizer-view.active,
.organizer-sections {
  gap: 12px;
}

.organizer-dashboard-block,
.organizer-section,
.profile-card,
.favorite-organizer-card,
.profile-event-card {
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.organizer-dashboard-block {
  gap: 12px;
  padding: 14px;
}

.organizer-dashboard-head h2,
.organizer-section-head h2,
.profile-card-head h2 {
  font-size: 16px;
  line-height: 1.25;
}

.metric-grid {
  gap: 10px;
}

.metric-card,
.profile-stat,
.organizer-stat-card,
.organizer-action-card,
.organizer-quick-card {
  min-height: auto;
  padding: 13px 14px;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.metric-card {
  gap: 6px;
}

.metric-card span,
.organizer-stat-card span,
.profile-stat span,
.organizer-action-card span {
  font-size: 12px;
  font-weight: 760;
  text-transform: none;
}

.metric-card strong,
.organizer-stat-card strong,
.profile-stat strong,
.organizer-action-card strong {
  font-size: 24px;
  line-height: 1;
}

.activity-list,
.stat-list,
.data-list,
.team-list,
.organizer-event-list,
.organizer-moderation-list {
  gap: 0;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.activity-item,
.stat-row,
.data-card,
.team-row,
.organizer-moderation-card,
.notification-card {
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.activity-item:last-child,
.stat-row:last-child,
.data-card:last-child,
.team-row:last-child,
.organizer-moderation-card:last-child,
.notification-card:last-child {
  border-bottom: 0;
}

.activity-item {
  padding: 10px 12px;
}

.activity-item strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.32;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.activity-item span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.organizer-toolbar,
.moderation-toolbar {
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: var(--radius-lg);
  background: var(--surface-muted);
  box-shadow: none;
}

.organizer-toolbar input,
.organizer-toolbar select,
.moderation-toolbar input,
.moderation-toolbar select {
  min-height: 36px;
  border-radius: 9px;
  background: #fff;
}

.data-grid {
  gap: 0;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: auto;
}

.data-head,
.data-row {
  gap: 8px;
  min-width: 980px;
  align-items: center;
}

.data-head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: #f8fafc;
}

.data-head button {
  min-height: 28px;
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 830;
}

.data-row {
  min-height: 62px;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  border-radius: 0;
  box-shadow: none;
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row:hover {
  background: #f8fbff;
}

.data-row > div {
  display: block;
  min-width: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

.data-row > div:first-child,
.data-row strong {
  color: var(--text);
  font-weight: 780;
}

.data-row > div:not(:first-child) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.data-row > div[data-label=""],
.data-row > div:last-child {
  display: block;
  overflow: visible;
}

.data-row .row-actions,
.data-row .event-row-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
  width: auto;
  max-width: 260px;
  margin-left: auto;
}

.data-row .event-row-actions::after {
  content: none;
}

.data-row .event-row-actions button {
  order: initial;
}

.row-actions .danger,
.mini-actions .danger {
  margin-left: 2px;
}

.empty-data,
.empty-stat,
.empty-card,
.organizer-empty,
.organizer-attention-empty,
.compact-empty {
  min-height: auto;
  padding: 12px 14px;
  border: 1px dashed rgba(148, 163, 184, .45);
  border-radius: var(--radius-lg);
  background: #f8fafc;
  color: var(--text-muted);
  box-shadow: none;
  font-size: 13px;
}

.organizer-empty {
  display: grid;
  gap: 3px;
}

.organizer-empty span {
  color: var(--text-soft);
  font-weight: 760;
}

.organizer-context-bar,
.organizer-tabs {
  padding: 10px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.organizer-tabs {
  gap: 4px;
}

.organizer-tabs button {
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--text-muted);
}

.organizer-tabs button.active {
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
}

.organizer-section {
  overflow: hidden;
}

.organizer-section-head {
  padding: 12px 14px;
  background: #f8fafc;
}

.organizer-event-list {
  padding: 0;
}

.organizer-event-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  border-radius: 0;
  box-shadow: none;
}

.organizer-event-card:last-child {
  border-bottom: 0;
}

.organizer-event-card:hover {
  background: #f8fbff;
}

.organizer-event-title strong {
  font-size: 14px;
}

.organizer-event-card p {
  margin-top: 4px;
  font-size: 12px;
}

.organizer-event-actions {
  max-width: 270px;
  gap: 5px;
}

.organizer-event-actions a,
.organizer-event-actions button {
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 12px;
}

.organizer-image-strip {
  gap: 8px;
  margin-top: 8px;
}

.organizer-image-strip.empty {
  display: none;
}

.organizer-image-item {
  width: 118px;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.organizer-image-thumb {
  border-radius: 8px;
}

.mini-actions {
  gap: 4px;
}

.notification-card.unread {
  background: var(--info-soft);
  border-left-color: var(--info);
}

.moderation-history-card.warning,
.organizer-moderation-card.warning {
  background: var(--warning-soft);
}

.panel-section {
  padding-block: 11px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
}

.panel-section:last-of-type {
  border-bottom: 0;
}

.detail-content {
  gap: 12px;
  padding: 16px;
}

.detail-content h2 {
  font-size: 22px;
}

.detail-primary-actions > * {
  min-height: 40px;
  border-radius: var(--radius-md);
}

.detail-secondary-actions > *,
.report-menu-trigger {
  min-height: 32px;
  border-radius: 10px;
  font-size: 12px;
  box-shadow: none;
}

.detail-report-actions #reportMenuButton {
  --btn-bg: rgba(255, 247, 237, .52);
  --btn-border: rgba(217, 119, 6, .24);
  --btn-color: #9A5A08;
  --btn-hover-bg: rgba(255, 247, 237, .82);
  --btn-hover-border: rgba(217, 119, 6, .36);
  color: var(--btn-color);
}

.detail-report-actions #reportMenuButton:hover {
  box-shadow: 0 6px 16px rgba(217, 119, 6, .08);
}

dialog {
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

dialog form,
.confirm-dialog {
  border-radius: var(--radius-xl);
}

.dialog-head {
  padding: 16px 18px 12px;
}

.dialog-head h2 {
  font-size: 18px;
}

.dialog-actions {
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(226, 232, 240, .82);
}

.form-grid {
  gap: 12px;
}

.form-info,
.organizer-hint {
  border-radius: var(--radius-md);
}


@media (max-width: 1100px) {
.organizer-shell,
.profile-layout,
.profile-shell,
.favorite-organizer-shell,
.organizer-profile-shell {
    width: min(100vw - 24px, var(--content-max));
  }

.moderation-toolbar,
.organizer-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  }

}

@media (max-width: 900px) {
.auth-split-layout {
    width: min(100% - 24px, 620px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0 28px;
  }

.auth-brand-panel {
    order: 2;
    min-height: 0;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

.auth-brand-panel h1 {
    font-size: 22px;
    line-height: 1.15;
  }

.auth-brand-panel p:not(.auth-brand-logo) {
    margin-top: 6px;
    font-size: 13px;
  }

.auth-event-preview {
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

.auth-preview-head {
    padding-bottom: 2px;
  }

.auth-preview-event {
    min-height: 56px;
    padding: 9px 10px;
    border-radius: 13px;
  }

.auth-preview-tag {
    display: none;
  }

.auth-benefits {
    display: none;
  }

.auth-split-layout .auth-card {
    order: 1;
    max-width: none;
    justify-self: stretch;
    padding: 22px;
    border-radius: 18px;
  }

.topbar {
    min-height: 58px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(6px) saturate(1.01);
    -webkit-backdrop-filter: blur(6px) saturate(1.01);
  }

.top-actions .nav-item.primary {
    min-width: 42px;
  }

.organizer-hero,
.profile-head {
    padding: 14px;
  }

.organizer-hero h1,
.profile-head h1 {
    font-size: 22px;
  }

.data-grid {
    border: 0;
    background: transparent;
    overflow: visible;
  }

.data-row {
    min-width: 0;
    min-height: auto;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: var(--radius-lg);
    background: #fff;
  }

.data-row > div:not(:first-child) {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
  }

.data-row > div::before {
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 10px;
  }

.data-row .row-actions,
.data-row .event-row-actions,
.organizer-event-actions {
    justify-content: flex-start;
    max-width: 100%;
    width: 100%;
  }

.data-row .row-actions button,
.data-row .row-actions a,
.organizer-event-actions a,
.organizer-event-actions button {
    flex: 0 1 auto;
    width: auto;
  }

.moderation-toolbar,
.organizer-toolbar {
    grid-template-columns: 1fr;
    padding: 9px;
  }

.metric-grid,
.organizer-stats,
.profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

.metric-card,
.profile-stat,
.organizer-stat-card,
.organizer-action-card {
    padding: 12px;
  }

.organizer-event-card {
    grid-template-columns: 1fr;
  }

.organizer-image-item {
    width: min(45vw, 132px);
  }

#eventsGrid .data-row > div:nth-child(2),
#eventsGrid .data-row > div:nth-child(3),
#eventsGrid .data-row > div:nth-child(5),
#eventsGrid .data-row > div:nth-child(6),
#eventsGrid .data-row > div:nth-child(7),
#usersGrid .data-row > div:nth-child(4),
#usersGrid .data-row > div:nth-child(5),
#usersGrid .data-row > div:nth-child(6),
#usersGrid .data-row > div:nth-child(7),
#usersGrid .data-row > div:nth-child(8),
#reportsGrid .data-row > div:nth-child(3),
#reportsGrid .data-row > div:nth-child(4),
#reportsGrid .data-row > div:nth-child(1),
#reportsGrid .data-row > div:nth-child(7),
#reportsGrid .data-row > div:nth-child(8),
#imagesGrid .data-row > div:nth-child(1),
#imagesGrid .data-row > div:nth-child(4),
#imagesGrid .data-row > div:nth-child(5),
#requestsGrid .data-row > div:nth-child(3),
#requestsGrid .data-row > div:nth-child(4),
#moderationGrid .data-row > div:nth-child(2),
#moderationGrid .data-row > div:nth-child(5),
#moderationGrid .data-row > div:nth-child(6) {
    display: none;
  }

#eventsGrid .data-row,
#usersGrid .data-row,
#reportsGrid .data-row,
#imagesGrid .data-row,
#requestsGrid .data-row,
#moderationGrid .data-row {
    gap: 5px;
    padding: 10px;
  }

.data-row > div::before {
    display: inline;
    margin: 0 6px 0 0;
  }

.data-row > div:first-child::before,
#reportsGrid .data-row > div:nth-child(2)::before,
#imagesGrid .data-row > div:nth-child(3)::before,
#requestsGrid .data-row > div:nth-child(2)::before,
#moderationGrid .data-row > div:first-child::before {
    display: none;
  }

#reportsGrid .data-row > div:nth-child(6) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

#eventsGrid .data-row > div:first-child,
#usersGrid .data-row > div:first-child,
#reportsGrid .data-row > div:nth-child(2),
#imagesGrid .data-row > div:nth-child(3),
#requestsGrid .data-row > div:nth-child(2),
#moderationGrid .data-row > div:first-child {
    font-size: 14px;
    font-weight: 820;
  }

#imagesGrid .data-row {
    grid-template-columns: 104px minmax(0, 1fr) !important;
  }

#imagesGrid .data-row > div:nth-child(2) {
    grid-row: 1 / span 4;
  }

#imagesGrid .data-row > div:nth-child(8) {
    grid-column: 1 / -1;
  }

.review-image-preview {
    width: 96px;
  }

}

@media (max-width: 560px) {
.top-actions {
    gap: 5px;
  }

.top-actions .nav-item span {
    max-width: 86px;
  }

.nav-item.primary {
    padding-inline: 9px;
  }

.organizer-shell,
.profile-layout,
.profile-shell,
.favorite-organizer-shell,
.organizer-profile-shell {
    width: min(100vw - 16px, var(--content-max));
  }

.metric-grid,
.organizer-stats,
.profile-stats {
    grid-template-columns: 1fr;
  }

.profile-grid,
.organizer-quick-grid {
    grid-template-columns: 1fr;
  }

.dialog-actions {
    display: grid;
  }

.dialog-actions > * {
    width: 100%;
  }

}
.search-results-page {
  min-height: 100vh;
  background: #f7f8fb;
}

.search-results-shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.search-results-heading {
  display: grid;
  gap: 9px;
}

.search-results-back {
  width: fit-content;
  color: var(--outlo-brand-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.results-search-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(760px, 100%);
  margin: 10px 0 17px;
}

.results-search-form > svg {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #52637b;
  stroke-width: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.results-search-form input {
  min-width: 0;
  height: 52px;
  padding: 0 52px 0 48px;
  border: 1px solid rgba(148, 163, 184, .38);
  border-radius: 14px 0 0 14px;
  background: #fff;
  color: #172033;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.results-search-form input::-webkit-search-cancel-button,
.topbar-search input::-webkit-search-cancel-button {
  appearance: none;
  -webkit-appearance: none;
}

.results-search-clear,
.topbar-search-clear {
  position: absolute;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  min-height: 0;
  height: 28px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(226, 232, 240, .74);
  color: #64748b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.results-search-clear {
  top: 12px;
  right: 104px;
}

.topbar-search-clear {
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}

.results-search-clear:hover,
.topbar-search-clear:hover {
  border-color: rgba(99, 102, 241, .18);
  background: #e9e8ff;
  color: var(--outlo-brand-text-hover);
}

.topbar-search-clear:hover {
  transform: translateY(-50%) scale(1.04);
}

.results-search-clear:focus-visible,
.topbar-search-clear:focus-visible {
  outline: 3px solid rgba(99, 102, 241, .24);
  outline-offset: 2px;
}

.results-search-clear svg,
.topbar-search-clear svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.results-search-form > button[type="submit"] {
  height: 52px;
  padding: 0 22px;
  border-radius: 0 14px 14px 0;
  background: var(--outlo-action-fill, linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #2563eb 100%)) no-repeat border-box;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.search-results-heading h1 {
  margin: 0;
  color: #111827;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.2;
}

.search-results-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.search-results-count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 999px;
  background: #f1f0ff;
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
}

.search-results-heading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.search-results-controls {
  margin: 25px 0 28px;
  padding: 0 16px 12px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}

.search-type-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
}

.search-type-tabs button {
  position: relative;
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.search-type-tabs button.is-active {
  color: var(--outlo-brand-text);
}

.search-type-tabs button.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--outlo-brand-accent);
}

.search-filter-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(4, minmax(124px, 1fr));
  gap: 11px;
  padding: 14px 0 10px;
}

.search-filter-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.search-filter-grid label > span {
  color: #526078;
  font-size: 12px;
  font-weight: 600;
}

.search-filter-grid input,
.search-filter-grid select {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 7px;
  background: #fff;
  color: #24324a;
  font-size: 13px;
}

.search-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 2px;
}

.search-active-filters button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--outlo-brand-border);
  border-radius: 999px;
  background: var(--outlo-brand-soft);
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 620;
}

.search-active-filters button:hover {
  border-color: var(--outlo-brand-border-hover);
  background: var(--outlo-brand-soft-hover);
}

.search-active-filters button span {
  color: var(--outlo-brand-accent);
  font-size: 15px;
  font-weight: 500;
  line-height: .7;
}

.search-controls-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-controls-footer .search-active-filters {
  flex: 1;
}

.search-view-toggle {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  background: #f8fafc;
}

.search-view-toggle button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #718096;
  box-shadow: none;
}

.search-view-toggle button:hover {
  background: #eef0ff;
  color: var(--outlo-brand-accent);
}

.search-view-toggle button.is-active {
  background: #fff;
  color: var(--outlo-brand-accent);
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
}

.search-view-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-results-list,
.search-result-section,
.search-result-items {
  display: grid;
  gap: 11px;
}

.search-result-section + .search-result-section {
  margin-top: 24px;
}

.search-result-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 3px;
}

.search-result-section h2 {
  margin: 0;
  color: #1e293b;
  font-size: 15px;
  font-weight: 680;
}

.search-result-section-heading > span {
  color: #8390a5;
  font-size: 12px;
  font-weight: 550;
}

.search-result-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 18px;
  gap: 13px;
  align-items: center;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.search-result-card-button {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.search-result-card:hover {
  border-color: rgba(79, 70, 229, .3);
  box-shadow: 0 7px 20px rgba(15, 23, 42, .07);
  transform: translateY(-1px);
}

.search-result-card:focus-visible {
  outline: 3px solid rgba(99, 102, 241, .22);
  outline-offset: 2px;
}

.search-event-detail {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .045);
}

.search-event-media {
  display: grid;
  place-items: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: 7px;
  background: #f3f5f8;
}

.search-event-media.has-image {
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: stretch;
}

.search-event-primary-image {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 310px;
  object-fit: cover;
}

.search-event-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding-top: 5px;
  background: #fff;
}

.search-event-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  object-fit: cover;
}

.search-event-image-placeholder {
  color: #64748b;
  font-size: 14px;
}

.search-event-body {
  display: grid;
  align-content: start;
  gap: 13px;
  min-width: 0;
}

.search-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.search-event-category,
.search-event-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 999px;
  background: #f6f5ff;
  color: #5046c7;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.search-event-status {
  border-color: rgba(168, 85, 247, .2);
  background: #fbf5ff;
  color: #7e22ce;
}

.search-event-body h3 {
  margin: 0;
  color: #111827;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.14;
}

.search-event-description {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.search-event-facts {
  display: grid;
  gap: 9px;
  margin: 2px 0 0;
}

.search-event-facts > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.search-event-facts dt,
.search-event-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.search-event-facts dt {
  color: #64748b;
  font-weight: 500;
}

.search-event-facts dd {
  display: grid;
  gap: 2px;
  color: #1e293b;
}

.search-event-facts dd span {
  color: #64748b;
}

.search-event-facts a {
  color: var(--outlo-brand-text);
  font-weight: 600;
  text-decoration: none;
}

.search-event-actions {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.search-event-main-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.search-event-utility-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(280px, 100%);
}

.search-event-actions button,
.search-event-actions .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.search-event-actions .primary {
  border-color: transparent;
  background: var(--outlo-action-fill, linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #2563eb 100%)) no-repeat border-box;
  color: #fff;
}

.search-event-actions .search-save-button.is-saved {
  color: #e11d48;
}

.search-event-utility-actions button {
  min-height: 36px;
  border-color: rgba(148, 163, 184, .22);
  box-shadow: none;
  color: #526078;
  font-size: 12px;
  font-weight: 560;
}

.search-event-actions .search-report-button {
  justify-self: start;
  min-height: 28px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.search-event-actions .search-report-button:hover {
  color: #b45309;
  text-decoration: underline;
}

.search-event-body > .search-result-meta {
  justify-content: flex-end;
  padding-top: 2px;
}

.search-report-dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.search-report-dialog form {
  padding: 22px;
}

.search-result-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f3f2ff;
  color: var(--outlo-brand-accent);
}

.search-result-icon svg,
.search-result-arrow {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-result-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.search-result-copy strong {
  overflow: hidden;
  color: #172033;
  font-size: 15px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy span,
.search-result-meta {
  color: #64748b;
  font-size: 13px;
  font-weight: 400;
}

.search-result-arrow {
  color: #94a3b8;
  transition: color .16s ease, transform .16s ease;
}

.search-result-card:hover .search-result-arrow {
  color: var(--outlo-brand-accent);
  transform: translateX(2px);
}

.search-result-meta {
  display: flex;
  gap: 12px;
  text-align: right;
}

.search-results-empty {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 180px;
  padding: 30px;
  border: 1px dashed rgba(148, 163, 184, .4);
  border-radius: 8px;
  background: #fff;
  color: #64748b;
  font-size: 14px;
}

.search-results-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 2px 0;
  border-top: 1px solid rgba(148, 163, 184, .18);
  color: #718096;
  font-size: 13px;
}

.search-results-end button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--outlo-brand-text);
  font: inherit;
  font-weight: 650;
}

.search-results-end button:hover {
  color: var(--outlo-brand-text-hover);
  text-decoration: underline;
}

.search-results-sticky-bar {
  position: fixed;
  z-index: 1050;
  top: 82px;
  left: 50%;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  width: min(760px, calc(100% - 40px));
  min-height: 46px;
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity .16s ease, transform .16s ease;
}

.search-results-sticky-visible .search-results-sticky-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.search-results-sticky-bar > a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: var(--outlo-brand-text);
  font-size: 18px;
  text-decoration: none;
}

.search-results-sticky-bar > a:hover {
  background: #f1f0ff;
}

.search-results-sticky-bar > span:not(.search-results-sticky-count) {
  overflow: hidden;
  color: #24324a;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-results-sticky-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f1f0ff;
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 700;
}

.search-results-sticky-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 650;
}

.search-results-sticky-bar button:hover {
  background: #f1f0ff;
}

.search-results-sticky-bar svg {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;

  stroke-linejoin: round;
}

.search-results-compact .search-event-detail {
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 13px;
  padding: 12px;
}

.search-results-compact .search-event-media,
.search-results-compact .search-event-primary-image {
  min-height: 96px;
  height: 96px;
  max-height: 96px;
  border-radius: 6px;
}

.search-results-compact .search-event-thumbs,
.search-results-compact .search-event-description,
.search-results-compact .search-event-actions,
.search-results-compact .search-event-body > .search-result-meta {
  display: none;
}

.search-results-compact .search-event-body {
  gap: 6px;
}

.search-results-compact .search-event-badges {
  gap: 5px;
}

.search-results-compact .search-event-category,
.search-results-compact .search-event-status {
  min-height: 21px;
  padding: 2px 7px;
  font-size: 11px;
}

.search-results-compact .search-event-body h3 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.search-results-compact .search-event-facts {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.search-results-compact .search-event-facts > div {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
}

.search-results-compact .search-event-facts > div:nth-child(4) {
  display: none;
}

.search-results-compact .search-event-facts dt,
.search-results-compact .search-event-facts dd span {
  display: none;
}

.search-results-compact .search-event-facts dd,
.search-results-compact .search-event-facts dd strong {
  display: block;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}


@media (max-width: 900px) {
.search-results-shell {
    width: min(100% - 24px, 680px);
    padding: 24px 0 48px;
  }

.search-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.search-results-controls {
    padding-inline: 13px;
  }

.search-filter-grid label:first-child {
    grid-column: 1 / -1;
  }

.search-event-detail {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }

.search-event-main-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.search-results-sticky-bar {
    display: none;
  }

}

@media (max-width: 560px) {
.results-search-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

.results-search-form input,
.results-search-form > button[type="submit"] {
    border-radius: 12px;
  }

.results-search-clear {
    top: 12px;
    right: 10px;
  }

.search-results-heading h1 {
    font-size: 23px;
  }

.search-filter-grid {
    grid-template-columns: 1fr;
  }

.search-filter-grid label:first-child {
    grid-column: auto;
  }

.search-results-title-row {
    gap: 8px;
  }

.search-result-card {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
  }

.search-result-meta {
    grid-column: 2;
    justify-content: flex-start;
    text-align: left;
  }

.search-result-arrow {
    grid-column: 3;
    grid-row: 1;
    width: 16px;
    height: 16px;
  }

.search-event-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    padding: 12px;
  }

.search-event-media,
.search-event-primary-image {
    min-height: 190px;
  }

.search-event-primary-image {
    max-height: 260px;
  }

.search-event-body h3 {
    font-size: 22px;
  }

.search-event-facts > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }

.search-event-main-actions {
    grid-template-columns: minmax(0, 1fr);
  }

.search-event-utility-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.search-results-end {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

.search-results-compact .search-event-detail {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
  }

.search-results-compact .search-event-media,
.search-results-compact .search-event-primary-image {
    min-height: 76px;
    height: 76px;
    max-height: 76px;
  }

.search-results-compact .search-event-facts {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

.search-results-compact .search-event-facts > div:nth-child(3) {
    display: none;
  }

.search-event-body > .search-result-meta {
    grid-column: auto;
  }

}
#eventsGrid.data-grid {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: auto;
}


@media (max-width: 850px) {
#eventsGrid.data-grid {
    width: 100%;
    max-width: 100%;
    border: 0;
    background: transparent;
    overflow: visible;
  }

}

@media (min-width: 901px) {
#eventsGrid .data-head,
#eventsGrid .data-row {
    min-width: 0;
    grid-template-columns:
      minmax(150px, 1.45fr)
      minmax(120px, .95fr)
      108px
      96px
      118px
      190px;
  }

#eventsGrid .data-head > *:nth-child(3),
#eventsGrid .data-head > *:nth-child(6),
#eventsGrid .data-head > *:nth-child(7),
#eventsGrid .data-row > div:nth-child(3),
#eventsGrid .data-row > div:nth-child(6),
#eventsGrid .data-row > div:nth-child(7),
#usersGrid .data-head > *:nth-child(5),
#usersGrid .data-row > div:nth-child(5),
#reportsGrid .data-head > *:nth-child(3),
#reportsGrid .data-head > *:nth-child(4),
#reportsGrid .data-head > *:nth-child(7),
#reportsGrid .data-row > div:nth-child(3),
#reportsGrid .data-row > div:nth-child(4),
#reportsGrid .data-row > div:nth-child(7),
#imagesGrid .data-head > *:nth-child(1),
#imagesGrid .data-head > *:nth-child(5),
#imagesGrid .data-row > div:nth-child(1),
#imagesGrid .data-row > div:nth-child(5) {
    display: none;
  }

#usersGrid .data-head,
#usersGrid .data-row {
    min-width: 0;
    grid-template-columns:
      minmax(110px, 1fr)
      minmax(160px, 1.18fr)
      92px
      82px
      100px
      48px
      58px
      182px;
  }

#reportsGrid .data-head,
#reportsGrid .data-row {
    min-width: 0;
    grid-template-columns:
      102px
      minmax(130px, 1.1fr)
      minmax(112px, .92fr)
      minmax(170px, 1.35fr)
      80px
      80px
      190px;
  }

#imagesGrid .data-head,
#imagesGrid .data-row {
    min-width: 0;
    grid-template-columns:
      126px
      minmax(170px, 1.25fr)
      minmax(120px, .9fr)
      132px
      96px
      160px;
  }

}
#eventsGrid.data-grid {
  overflow: visible !important;
}


@media (max-width: 850px) {
#imagesGrid .review-image-preview {
    width: 100%;
    height: 172px;
  }

}
.organizer-shell {
  width: min(var(--content-max), calc(100vw - 28px)) !important;
  gap: 14px !important;
  padding: 18px 0 34px !important;
}

.organizer-hero {
  padding: 14px 16px !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-xs) !important;
}

.organizer-hero h1 {
  font-size: 22px !important;
  line-height: 1.18 !important;
}

.organizer-hero p:not(.eyebrow) {
  margin-top: 6px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.organizer-toolbar,
.organizer-events-panel,
.organizer-dashboard-block {
  border: 1px solid rgba(226, 232, 240, .86) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: var(--shadow-xs) !important;
}

.organizer-page-head {
  display: grid;
  gap: 12px;
  padding: 16px 16px 0;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8f7ff, #fff 62%);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.organizer-head-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.organizer-head-main h1 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  line-height: 1.12;
}

.organizer-head-main p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.organizer-head-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.organizer-context-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.organizer-context-bar label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  width: min(280px, 36vw);
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
}

.organizer-context-bar select {
  min-height: 34px;
  border-radius: 9px;
  background: #fff;
}

.organizer-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(226, 232, 240, .76) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow-x: auto;
}

.organizer-tabs button {
  position: relative;
  min-height: 44px !important;
  padding: 0 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 720 !important;
}

.organizer-tabs,
.organizer-status-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none !important;
}

.organizer-tabs::-webkit-scrollbar,
.organizer-status-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.organizer-tabs button:hover,
.organizer-tabs button.active {
  color: var(--accent-dark) !important;
}

.organizer-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.organizer-view.active {
  gap: 12px !important;
}

.organizer-dashboard-block {
  padding: 14px !important;
}

.organizer-dashboard-block.priority-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px !important;
}

.organizer-dashboard-block.priority-block .organizer-dashboard-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
}

.organizer-dashboard-head {
  align-items: center !important;
  gap: 12px;
  margin-bottom: 10px;
}

.organizer-dashboard-head h2,
.organizer-events-headline h2 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.organizer-dashboard-head p {
  max-width: 620px;
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

.organizer-stats,
.organizer-action-cards,
.organizer-quick-grid {
  gap: 10px !important;
}

.organizer-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.organizer-action-cards {
  grid-template-columns: 1fr !important;
  justify-content: start !important;
}

.organizer-stat-card,
.organizer-action-card,
.organizer-quick-card {
  min-height: 0 !important;
  padding: 12px 13px !important;
  border-radius: 12px !important;
  text-align: left;
}

.organizer-stat-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  --stat-tone: #94a3b8;
  --stat-soft: #f8fafc;
  gap: 0 10px;
  align-items: center;
  min-height: 48px !important;
  border-left: 3px solid var(--stat-tone) !important;
  background: linear-gradient(90deg, var(--stat-soft), #fff 52%) !important;
  cursor: pointer;
}

.organizer-stat-card:hover {
  border-color: rgba(203, 213, 225, .95) !important;
  background: linear-gradient(90deg, var(--stat-soft, #f8fbff), #fff 64%) !important;
}

.organizer-action-card:hover,
.organizer-quick-card:hover {
  border-color: var(--accent-line) !important;
  background: var(--surface-muted) !important;
}

.organizer-action-card.has-value.info:hover {
  border-left-color: var(--info) !important;
}

.organizer-action-card.has-value.warning:hover {
  border-left-color: var(--warning) !important;
}

.organizer-action-card.has-value.critical:hover {
  border-left-color: var(--danger) !important;
}

.organizer-stat-card.stat-active {
  --stat-tone: var(--success);
  --stat-soft: var(--success-soft);
}

.organizer-stat-card.stat-todo {
  --stat-tone: var(--warning);
  --stat-soft: var(--warning-soft);
}

.organizer-stat-card.stat-past {
  --stat-tone: #64748b;
  --stat-soft: #f8fafc;
}

.organizer-stat-card.stat-hidden {
  --stat-tone: #475569;
  --stat-soft: #f1f5f9;
}

.organizer-stat-card span,
.organizer-action-card > span {
  color: var(--text-muted);
  font-size: 12px !important;
  font-weight: 680 !important;
  text-transform: none !important;
}

.organizer-stat-card strong {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0 !important;
  color: var(--stat-tone);
  font-size: 20px !important;
}

.organizer-stat-card small {
  display: none;
}

.organizer-action-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  min-height: 68px !important;
  align-items: center !important;
}

.organizer-action-card > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.organizer-action-card > span > strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-action-card > span > small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 640;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-action-card > em {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--outlo-brand-text);
  font-size: 15px;
  font-style: normal;
  font-weight: 860;
}

.organizer-actions-hub {
  padding: 12px 14px !important;
  background: var(--surface-muted) !important;
}

.organizer-actions-hub .organizer-dashboard-head {
  margin-bottom: 8px;
}

.organizer-command-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.organizer-command {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 10px;
  background: #fff;
  color: var(--text-soft);
  box-shadow: none;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.organizer-command:hover,
.organizer-command:focus-visible {
  border-color: var(--accent-line);
  background: #f8fbff;
  color: var(--accent-dark);
}

.organizer-command.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.organizer-command.primary:hover,
.organizer-command.primary:focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #fff;
}

.moderation-notice {
  padding: 0 !important;
  border-color: var(--warning-line) !important;
  border-left: 3px solid var(--warning) !important;
  background: var(--warning-soft) !important;
}

.organizer-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
}

.organizer-check-row:last-child {
  border-bottom: 0;
}

.organizer-check-row > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.organizer-check-row strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-check-row small {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 630;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-check-actions,
.rules-status-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.moderation-notice .organizer-check-row {
  align-items: center;
  background: transparent;
}

.moderation-notice .moderation-notice-actions {
  padding: 10px 14px 12px;
}

.rules-status-card {
  padding: 0 !important;
}

.rules-status-card.is-accepted {
  border-color: var(--success-line) !important;
  border-left: 3px solid var(--success) !important;
  background: var(--success-soft) !important;
}

.rules-status-card.is-accepted .organizer-check-row strong {
  color: var(--text);
}

.rules-status-card.is-accepted .organizer-check-row small {
  color: var(--text-muted);
}

.rules-status-actions .button-link.quiet {
  min-height: 30px;
  padding: 0 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.organizer-invite-notice {
  gap: 0 !important;
  padding: 0 !important;
  border-color: var(--info-line) !important;
  background: var(--info-soft) !important;
  box-shadow: 0 12px 30px rgba(37, 99, 235, .08) !important;
  overflow: hidden;
}

.organizer-invite-head {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--info-line);
  background: var(--info-soft);
}

.organizer-invite-head strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 840;
  line-height: 1.25;
}

.organizer-invite-head small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 640;
  line-height: 1.38;
}

.organizer-invite-list {
  display: grid;
}

.organizer-pending-invite {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .76) !important;
}

.organizer-pending-invite + .organizer-pending-invite {
  border-top: 1px solid rgba(226, 232, 240, .86) !important;
}

.organizer-pending-invite .invite-avatar {
  background: var(--info);
  color: #fff;
}

.organizer-pending-invite .invite-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.organizer-pending-invite .invite-copy strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-pending-invite .invite-copy span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 660;
}

.organizer-toolbar {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 280px) !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 10px !important;
  background: var(--surface-muted) !important;
  box-shadow: none !important;
}

.organizer-events-panel .organizer-toolbar {
  border-width: 0 0 1px 0 !important;
  border-color: rgba(226, 232, 240, .86) !important;
  border-radius: 0 !important;
}

.organizer-toolbar label {
  display: grid;
  gap: 5px;
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 780;
}

.organizer-toolbar input,
.organizer-toolbar select {
  min-height: 36px !important;
  border-radius: 9px !important;
  background: #fff !important;
}

.organizer-sections {
  gap: 12px !important;
}

.organizer-events-panel {
  overflow: visible;
}

.organizer-events-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, .86);
}

.organizer-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(226, 232, 240, .86);
  background: #f8fafc;
  overflow-x: visible;
  scrollbar-width: thin;
}

.organizer-status-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  box-shadow: none;
  font-size: 12px;
  font-weight: 760;
  white-space: nowrap;
}

.organizer-status-tab strong {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 11px;
  font-weight: 830;
}

.organizer-status-tab:hover,
.organizer-status-tab.active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.organizer-events-table {
  overflow: visible;
}

.organizer-events-table-head,
.organizer-event-row {
  display: grid;
  grid-template-columns: minmax(230px, 1.25fr) 170px minmax(190px, 1fr) 130px 132px 122px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.organizer-events-table-head {
  min-height: 38px;
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  background: #f8fafc;
}

.organizer-events-table-head span {
  min-width: 0;
  padding: 7px 12px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 830;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.organizer-event-row {
  min-height: 68px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  background: #fff;
  transition: background-color .16s ease;
}

.organizer-event-row:last-child {
  border-bottom: 0;
}

.organizer-event-row:hover {
  background: #f8fbff;
}

.organizer-event-cell {
  min-width: 0;
  padding: 10px 12px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
}

.organizer-event-cell.actions {
  overflow: visible;
}

.organizer-cell-stack {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.organizer-cell-stack strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-cell-stack span {
  display: block;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  overflow: visible;
}

.organizer-row-actions .button-link,
.organizer-row-actions button,
.organizer-row-actions summary {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}

.organizer-row-actions .action-menu summary {
  width: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
}

.organizer-row-actions .primary-soft {
  border-color: var(--accent-line) !important;
  background: var(--accent-soft) !important;
  color: var(--accent-dark) !important;
}

.organizer-events-table .action-menu,
.organizer-event-cell.actions {
  position: relative;
}

.organizer-event-row:has(.action-menu[open]),
.organizer-event-cell:has(.action-menu[open]) {
  z-index: 90;
}

.organizer-events-table .action-menu[open] {
  z-index: 130;
}

.organizer-events-table .action-menu-panel {
  box-sizing: border-box;
  width: max-content;
  min-width: 0;
  max-width: min(320px, calc(100vw - 32px));
  z-index: 150;
}

.organizer-events-table .action-menu-panel button,
.organizer-events-table .action-menu-panel a {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 36px !important;
  height: auto !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-soft) !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-decoration: none !important;
  justify-content: flex-start !important;
  white-space: nowrap !important;
  transform: none !important;
}

.organizer-events-table .action-menu-panel button:hover,
.organizer-events-table .action-menu-panel a:hover {
  background: var(--surface-muted) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.image-summary-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
}

.image-summary {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}

.image-summary.approved {
  background: var(--success-soft);
  color: var(--success);
}

.image-summary.review {
  background: var(--warning-soft);
  color: #b45309;
}

.image-summary.problem {
  background: var(--danger-soft);
  color: var(--danger);
}

.image-summary.muted {
  background: #f1f5f9;
  color: var(--text-muted);
}

.organizer-events-table .organizer-empty {
  margin: 12px;
  border: 1px dashed rgba(203, 213, 225, .95);
  border-radius: 12px;
  background: #f8fafc;
}

.organizer-work-panel {
  gap: 12px !important;
  padding: 14px !important;
}

.organizer-work-panel .organizer-section-head {
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
}

.organizer-work-panel .data-list {
  border-color: rgba(226, 232, 240, .9);
  border-radius: 12px;
}

.organizer-work-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(124px, auto) auto;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, .82);
  background: #fff;
  transition: background-color .16s ease;
}

.organizer-work-row:last-child {
  border-bottom: 0;
}

.organizer-work-row:hover {
  background: #f8fbff;
}

.organizer-work-row.unread {
  box-shadow: inset 3px 0 0 var(--accent);
}

.organizer-work-main,
.organizer-work-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.organizer-work-title strong {
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-work-title span,
.organizer-work-meta time {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-work-main p {
  display: -webkit-box;
  overflow: hidden;
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.organizer-work-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.organizer-work-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 7px;
}

.organizer-work-actions button {
  min-height: 32px !important;
  height: 32px !important;
  padding-inline: 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  white-space: nowrap;
}

.organizer-source-link {
  display: block;
  overflow: hidden;
  max-width: 560px;
  margin-top: 5px;
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.organizer-empty.compact {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px dashed rgba(203, 213, 225, .9);
  border-radius: 12px;
  background: #f8fafc;
  color: var(--text);
}

.organizer-empty.compact strong {
  font-size: 13px;
  line-height: 1.3;
}

.organizer-empty.compact span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.status-pill.unread {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status-pill.read {
  background: #eef2ff;
  color: #4338ca;
}

.status-pill.dismissed {
  background: #f1f5f9;
  color: #64748b;
}

.organizer-profile-panel {
  gap: 14px !important;
  padding: 16px !important;
}

.organizer-profile-header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 232, 240, .84);
}

.organizer-profile-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
}

.organizer-profile-header h2 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.2;
}

.organizer-profile-header p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

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

.organizer-profile-metrics span {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 12px;
  background: #f8fafc;
}

.organizer-profile-metrics strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1;
}

.organizer-profile-metrics small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 680;
}

.organizer-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.organizer-profile-actions .button-link {
  min-height: 34px;
  border-radius: 9px;
}

.organizer-profile-note {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid rgba(191, 219, 254, .82);
  border-radius: 12px;
  background: #eff6ff;
}

.organizer-profile-note strong {
  color: var(--text);
  font-size: 13px;
}

.organizer-profile-note span {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}


@media (max-width: 1180px) and (min-width: 851px) {
.organizer-events-table-head,
.organizer-event-row {
    grid-template-columns: minmax(210px, 1.15fr) 150px minmax(170px, .95fr) 118px 120px 116px;
  }

.organizer-event-cell {
    padding-inline: 10px;
    font-size: 12px;
  }

}

@media (max-width: 850px) {
.organizer-shell {
    width: 100% !important;
    min-width: 0 !important;
    padding: 12px 0 28px !important;
    overflow-x: hidden !important;
  }

.organizer-view,
.organizer-view.active,
.organizer-sections {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

.organizer-page-head,
.organizer-hero,
.organizer-dashboard-block,
.organizer-toolbar,
.organizer-events-panel {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    margin-inline: 14px !important;
  }

.organizer-hero {
    display: grid !important;
    gap: 12px !important;
  }

.organizer-page-head {
    gap: 10px;
    padding: 14px 14px 0 !important;
  }

.organizer-head-main {
    display: grid;
    gap: 14px;
  }

.organizer-head-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

.organizer-context-bar {
    display: grid;
    width: 100%;
  }

.organizer-context-bar label {
    grid-template-columns: 1fr;
    width: 100%;
  }

.organizer-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    margin-inline: 0 !important;
  }

.organizer-tabs button {
    flex: 0 0 auto;
  }

.organizer-toolbar {
    grid-template-columns: 1fr !important;
  }

.organizer-events-panel .organizer-toolbar {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }

.organizer-stats,
.organizer-action-cards,
.organizer-quick-grid {
    grid-template-columns: 1fr !important;
  }

.organizer-dashboard-block.priority-block {
    grid-template-columns: 1fr !important;
  }

.organizer-dashboard-block.priority-block .organizer-dashboard-head,
.organizer-dashboard-block.priority-block #organizerModerationNotice,
.organizer-dashboard-block.priority-block #organizerRulesStatus,
.organizer-dashboard-block.priority-block #organizerActionCards,
.organizer-dashboard-block.priority-block #organizerInviteNotice {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

.organizer-check-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

.organizer-check-row strong,
.organizer-check-row small {
    white-space: normal;
  }

.organizer-check-actions,
.rules-status-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

.organizer-pending-invite {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
  }

.organizer-pending-invite .team-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

.organizer-pending-invite .team-actions button {
    flex: 1 1 140px;
    min-height: 40px;
  }

.organizer-pending-invite .invite-copy strong {
    white-space: normal;
  }

.organizer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

.organizer-events-table-head {
    display: none;
  }

.organizer-events-panel {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

.organizer-events-headline,
.organizer-status-tabs {
    border: 1px solid rgba(226, 232, 240, .86);
    background: #fff;
  }

.organizer-events-headline {
    border-radius: 16px 16px 0 0;
  }

.organizer-status-tabs {
    border-top: 0;
    border-radius: 0 0 16px 16px;
    flex-wrap: nowrap;
    margin-bottom: 12px;
    overflow-x: auto;
  }

.organizer-events-table-body {
    display: grid;
    gap: 12px;
  }

.organizer-event-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 0;
    padding: 16px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
  }

.organizer-event-cell {
    display: grid;
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 0;
    overflow: visible;
    text-align: right;
  }

.organizer-event-cell::before {
    content: attr(data-label);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 830;
    letter-spacing: .03em;
    text-align: left;
    text-transform: uppercase;
  }

.organizer-event-cell.primary {
    display: block;
    text-align: left;
  }

.organizer-event-cell.primary::before,
.organizer-event-cell.actions::before {
    display: none;
  }

.organizer-cell-stack strong {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

.organizer-cell-stack span {
    white-space: normal;
  }

.organizer-event-cell.actions {
    display: block;
    padding-top: 4px;
  }

.organizer-row-actions {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

.organizer-row-actions .button-link,
.organizer-row-actions button,
.organizer-row-actions summary {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 13px !important;
  }

.organizer-row-actions .button-link {
    min-width: 96px;
  }

.organizer-row-actions .action-menu summary {
    width: 44px !important;
    min-width: 44px !important;
  }

.organizer-events-table .action-menu-panel {
    top: auto !important;
    right: auto !important;
    left: 50% !important;
    bottom: calc(100% + 8px) !important;
    transform: translateX(-50%) !important;
    max-width: calc(100vw - 40px) !important;
  }

.organizer-work-panel {
    padding: 13px !important;
  }

.organizer-work-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px;
  }

.organizer-work-title strong {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

.organizer-work-title span,
.organizer-work-meta time,
.organizer-source-link {
    white-space: normal;
  }

.organizer-work-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

.organizer-work-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

.organizer-work-actions button {
    min-height: 40px !important;
    height: 40px !important;
  }

.organizer-profile-header {
    grid-template-columns: 42px minmax(0, 1fr);
  }

.organizer-profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

.organizer-profile-metrics {
    grid-template-columns: 1fr;
  }

.organizer-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

.organizer-profile-actions .button-link {
    width: 100%;
  }

}
.badge,
.status-pill,
.category-badge,
.tag-badge,
.role-badge,
.status-badge,
.count-badge,
.image-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  justify-self: start;
  align-self: center;
  gap: 5px;
  white-space: nowrap;
}

.badge,
.status-pill,
.category-badge,
.tag-badge,
.role-badge,
.status-badge,
.image-summary {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.2;
}

.profile-menu-badge,
.menu-count-badge,
.menu-badge {
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 20px;
  max-width: 100%;
  flex: 0 0 auto;
  justify-self: auto;
  align-self: center;
  white-space: nowrap;
}

.organizer-event-cell .badge,
.organizer-event-cell .status-pill,
.organizer-event-cell .category-badge,
.organizer-event-cell .image-summary,
.organizer-work-meta .status-pill,
.organizer-work-meta .badge,
.moderation-history-head .status-pill {
  width: fit-content;
  flex: 0 0 auto;
  justify-self: end;
  align-self: center;
}

.organizer-event-cell.primary .badge,
.organizer-event-cell.primary .status-pill {
  justify-self: start;
}

.image-summary-group {
  align-items: center;
}

.dialog-subtitle {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

#eventLocationMap {
  height: 240px;
  min-height: 220px;
  border-color: rgba(203, 213, 225, .86);
  border-radius: 12px;
}

.location-confirm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(221, 228, 238, .92);
  border-radius: 12px;
  background: var(--surface-muted);
}

#coordinateHint {
  margin: 0;
  min-width: 0;
}

#coordinateHint.is-warning {
  color: var(--warning);
  font-weight: 560;
}

#coordinateHint.is-confirmed {
  color: var(--success);
  font-weight: 560;
}

#confirmLocationButton {
  flex: 0 0 auto;
  white-space: nowrap;
}


@media (max-width: 780px) {
#eventLocationMap {
    height: 230px;
    min-height: 220px;
  }

.location-confirm-row {
    display: grid;
    gap: 10px;
  }

#confirmLocationButton {
    width: 100%;
    min-height: 44px;
  }

}
#eventLocationMap {
  height: 240px;
  min-height: 220px;
  border-radius: 10px;
}

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

.panel-hero {
  align-items: center;
  padding: 2px 2px 0;
}

.panel-hero h1 {
  font-size: 23px;
}

.panel-hero .panel-count-line {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.panel-section {
  gap: 7px;
  padding: 6px 2px 10px;
}

.search-panel-section {
  padding-top: 2px;
}

.search-field {
  position: relative;
  display: block;
  width: 100%;
}

.search-field input {
  min-height: 42px;
  padding-left: 42px;
  border-radius: 14px;
  background: #fff;
  font-weight: 650;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  color: var(--text-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon svg {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.segmented button {
  min-height: 32px;
}

.date-range-fields {
  gap: 7px;
  padding: 7px;
}

.date-range-fields input {
  min-height: 36px;
}

.compact-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid rgba(221, 228, 238, .9);
  border-radius: 14px;
  background: var(--surface-muted);
}

.compact-select-row label {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.compact-select-row select {
  width: 100%;
  min-height: 36px;
  padding: 8px 34px 8px 10px;
  border-radius: 10px;
  background-color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.distance-select-row {
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

.distance-select-row select {
  min-height: 38px;
}

.distance-select-row select:disabled {
  color: var(--text-muted);
  background-color: var(--surface-muted);
  cursor: not-allowed;
}

.chip-grid {
  gap: 6px;
}

.chip-grid button {
  min-height: 30px;
  padding: 5px 9px;
}

.category-toggle {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-weight: 500;
  box-shadow: none;
}

.category-toggle:hover {
  background: transparent;
  color: var(--outlo-brand-text-hover);
  box-shadow: none;
  transform: none;
}

.category-toggle-icon {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.origin-input-wrap {
  display: block;
  width: 100%;
}

.origin-input-wrap input {
  min-height: 39px;
  font-weight: 500;
}

.origin-input-wrap input::placeholder {
  font-weight: 500;
}

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

.filter-actions:has(#clearOriginButton[hidden]) {
  grid-template-columns: 1fr;
}

.filter-actions button {
  flex: initial;
  min-height: 36px;
  border-radius: 12px;
}

.filter-actions #clearOriginButton {
  min-width: 86px;
}

#locationHint {
  min-height: 18px;
  color: var(--text-muted);
}

.proximity-section {
  gap: 8px;
}

.proximity-section .origin-search-field {
  display: grid;
  gap: 6px;
}

.proximity-section .compact-label {
  display: grid;
  gap: 5px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 820;
}

.proximity-section #locationHint {
  margin-top: -2px;
  font-size: 12px;
  line-height: 1.35;
}

.event-feed-card {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-height: 104px;
  padding: 11px 12px 11px 18px;
  overflow: visible;
}

.event-feed-card::before {
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--category-color) 72%, #fff) 0%,
    var(--category-color) 46%,
    color-mix(in srgb, var(--category-color) 82%, #0f172a) 100%
  );
  box-shadow: 0 1px 6px color-mix(in srgb, var(--category-color) 26%, transparent);
  opacity: .94;
  content: "";
}

.event-feed-rail {
  align-self: stretch;
  width: 4px;
  min-height: 78px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--category-color) 72%, #fff) 0%,
    var(--category-color) 46%,
    color-mix(in srgb, var(--category-color) 82%, #0f172a) 100%
  );
  box-shadow: 0 1px 6px color-mix(in srgb, var(--category-color) 26%, transparent);
  opacity: .94;
}

.event-feed-content {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.event-feed-line {
  display: flex !important;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.event-feed-line > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-feed-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--text-soft);
}

.event-feed-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 0;
  padding: 9px 0 0;
  border-top: 1px solid rgba(221, 228, 238, .92);
  background: transparent;
}

.filter-summary span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.summary-reset-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: none;
}

.summary-reset-button:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent-dark);
  box-shadow: none;
  transform: none;
}


@media (max-width: 900px) {
.panel-hero h1 {
    font-size: 23px;
  }

.compact-select-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

.search-field input {
    min-height: 44px;
  }

.segmented button,
.filter-actions button {
    min-height: 40px;
  }

.chip-grid button,
.category-toggle {
    min-height: 36px;
  }

.filter-actions {
    grid-template-columns: 1fr 104px;
  }

.filter-summary {
    margin: 2px 0 0;
    padding: 9px 0 0;
  }

}
.detail-meta-icon {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #475569;
}

#reportDialog {
  width: min(620px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  background: #fdfdff;
}

#reportDialog .dialog-head {
  align-items: flex-start;
  padding: 24px 26px 6px;
}

#reportDialog .dialog-head > div {
  display: grid;
  gap: 5px;
}

#reportDialog .dialog-head h2 {
  font-size: 21px;
}

#reportDialog .dialog-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

#reportDialog .form-grid {
  gap: var(--outlo-form-field-gap, 16px);
  padding: 20px 26px 24px;
}

.report-illegal-link {
  display: block;
  margin: 0 26px 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

#detailPanel .report-illegal-link {
  margin: 12px 0 0;
}

.report-illegal-link a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: inherit;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: #bdc5d0;
  text-underline-offset: 3px;
}

.report-illegal-link a:hover {
  color: var(--outlo-brand-text-hover, #4338ca);
  text-decoration-color: currentColor;
}

.report-illegal-link a:focus-visible {
  outline: 2px solid var(--outlo-brand-text, #4f46e5);
  outline-offset: 3px;
  border-radius: 2px;
}

#reportAccessDialog .report-illegal-link--guest {
  margin: 0 24px 20px;
  padding: 0;
  color: #64748b;
  line-height: 1.6;
}


@media (max-width: 560px) {
#reportAccessDialog .report-illegal-link--guest {
    padding-inline: 0 !important;
    margin-inline: 18px !important;
  }

#reportAccessDialog .report-access-copy {
    margin-inline: 18px !important;
  }

}
#reportDialog .form-grid > label {
  gap: var(--outlo-field-label-gap, 6px);
  color: #334155;
  font-size: 13px;
  font-weight: 680;
}

#reportDialog textarea {
  min-height: 136px;
  resize: vertical;
}

#reportDialog .dialog-actions {
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 16px 26px 20px;
  border-top: 1px solid rgba(148, 163, 184, .17);
  background: #fafbff;
}

.report-kind-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.report-kind-switch legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.report-kind-switch label {
  display: block;
  min-width: 0;
  cursor: pointer;
}

.report-kind-switch input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.report-kind-switch label span {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}

.report-kind-switch input:checked + span {
  border-color: rgba(99, 102, 241, .32);
  background: #f3f2ff;
  color: var(--outlo-brand-text);
}

.report-kind-switch input:focus-visible + span {
  outline: 3px solid rgba(99, 102, 241, .22);
  outline-offset: 2px;
}

#reportAccessDialog.report-access-dialog {
  width: min(460px, calc(100vw - 28px));
  background: #fdfdff;
}

.report-access-dialog .confirm-dialog {
  min-width: 0;
  gap: 0;
  padding: 0;
}

.report-access-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 24px 24px 8px;
}

.report-access-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(217, 119, 6, .18);
  border-radius: 11px;
  background: #fffaf0;
  color: #a16207;
}

.report-access-icon svg {
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--outlo-icon-stroke, 1.8);
}

.report-access-head h2 {
  margin: 1px 0 0;
  color: #0f172a;
  font-size: 20px;
}

.report-access-head p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.45;
}

#reportAccessDialog .report-access-copy {
  margin: 12px 24px 20px;
  padding: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.report-access-actions {
  display: grid;
  gap: 13px;
  padding: 0 24px 24px;
}

.report-access-login {
  width: 100%;
  min-height: 44px;
}

.report-access-actions > p {
  margin: 0;
  color: #64748b;
  font-size: 12.5px;
  text-align: center;
}

.report-access-actions a:not(.report-access-login) {
  color: var(--outlo-brand-text);
  font-weight: 700;
  text-decoration: none;
}

.report-access-actions a:not(.report-access-login):hover,
.report-access-actions a:not(.report-access-login):focus-visible {
  color: var(--outlo-brand-text-hover);
  text-decoration: underline;
}


@media (max-width: 440px) {
.report-kind-switch {
    grid-template-columns: 1fr;
  }

#reportDialog .dialog-head,
#reportDialog .form-grid,
#reportDialog .dialog-actions {
    padding-inline: 18px;
  }

.report-access-head,
.report-access-actions {
    padding-inline: 18px;
  }

#reportAccessDialog .report-access-copy,
#reportAccessDialog .report-illegal-link--guest {
    margin-inline: 18px;
  }

#reportDialog .dialog-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

.report-illegal-link {
    margin-inline: 18px;
    padding: 0;
  }

}
[hidden] {
  display: none !important;
}

#eventEditorFrameDialog.event-editor-frame-dialog {
  width: min(920px, calc(100vw - 24px)) !important;
  height: min(860px, calc(100vh - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  outline: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

#eventEditorFrameDialog.event-editor-frame-dialog::backdrop {
  background: rgba(15, 23, 42, .46) !important;
}

#eventEditorFrameDialog #eventEditorFrame {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.detail-content dl {
  border-radius: 12px;
}

.detail-content dl div {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 9px;
  padding: 8px 11px;
}

.detail-content dt {
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .02em;
}

.detail-content dd {
  font-size: 13px;
  font-weight: 780;
  line-height: 1.32;
}

.detail-primary-actions {
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

.detail-primary-actions > * {
  min-height: 42px !important;
}

.detail-primary-actions .heart-button {
  --btn-bg: #fff;
  --btn-border: rgba(244, 63, 94, .28);
  --btn-color: #BE123C;
  --btn-hover-bg: rgba(255, 241, 242, .9);
  --btn-hover-border: rgba(244, 63, 94, .42);
}

.detail-secondary-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px !important;
  padding-top: 0 !important;
}

.detail-secondary-actions > * {
  justify-content: center;
  min-height: 34px !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 760 !important;
}

.detail-secondary-actions .follow-organizer-button {
  --btn-bg: #fff;
  --btn-border: var(--outlo-brand-border);
  --btn-color: var(--outlo-brand-text);
  --btn-hover-bg: var(--outlo-brand-soft);
  --btn-hover-border: var(--outlo-brand-border-hover);
}

.detail-secondary-actions .follow-organizer-button.saved {
  --btn-bg: var(--accent-soft);
  --btn-border: var(--accent-line);
  --btn-color: var(--accent);
}

.detail-management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1px;
  padding-top: 10px;
  border-top: 1px solid rgba(221, 228, 238, .92);
}

.detail-management-actions > * {
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 740;
  box-shadow: none;
}

.detail-management-actions #editEventButton {
  --btn-bg: #fff;
  --btn-border: rgba(245, 158, 11, .24);
  --btn-color: #A16207;
}

.detail-management-actions #reportMenuButton {
  --btn-bg: #fff;
  --btn-border: rgba(148, 163, 184, .34);
  --btn-color: var(--text-muted);
  --btn-hover-bg: rgba(255, 247, 237, .82);
  --btn-hover-border: rgba(217, 119, 6, .28);
}

.detail-management-actions #reportMenuButton:hover,
.detail-management-actions #reportMenuButton[aria-expanded="true"] {
  color: #9A5A08;
}

#closeDetail {
  min-width: 34px;
  width: 34px;
  height: 34px;
  border-color: rgba(148, 163, 184, .28);
  background: rgba(255, 255, 255, .88);
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 500;
}

#closeDetail:hover,
#closeDetail:focus-visible {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .12);
}

.event-feed-card.is-selected {
  border-color: color-mix(in srgb, var(--category-color) 48%, var(--accent-line));
  background: color-mix(in srgb, var(--category-color) 8%, #fff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--category-color) 13%, transparent);
}

.event-feed-card.is-selected::before {
  left: 7px;
  width: 5px;
  opacity: 1;
}

.event-feed-card.is-linked-hover {
  border-color: color-mix(in srgb, var(--category-color) 36%, var(--accent-line));
  background: color-mix(in srgb, var(--category-color) 7%, #fff);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--category-color) 12%, transparent);
}

.detail-image-button::after {
  background: rgba(15, 23, 42, .68);
  box-shadow: 0 6px 20px rgba(15, 23, 42, .22);
}


@media (max-width: 440px) {
.detail-secondary-actions {
    grid-template-columns: 1fr;
  }

}

@keyframes outlo-top-promotion-pulse {
  0%, 80%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .92; }
  90% { transform: translate(-50%, -50%) scale(1.09); opacity: 1; }
}
.event-promotion-label {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 2px 6px;
  border: 1px solid rgba(79, 70, 229, .14);
  border-radius: 999px;
  background: rgba(238, 242, 255, .8);
  color: #5b52ae;
  font-size: 9.5px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.event-feed-card.is-promoted-top .event-promotion-label {
  border-color: rgba(124, 58, 237, .2);
  color: #5b21b6;
}

.detail-promotion-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(79, 70, 229, .16);
  border-radius: 999px;
  background: rgba(238, 242, 255, .78);
  color: #5b52ae;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.detail-promotion-badge.is-top {
  border-color: rgba(124, 58, 237, .2);
  color: #5b21b6;
}

.event-promotion-label {
  top: 7px;
  right: 7px;
  min-height: 19px;
  padding: 3px 7px;
  border-color: rgba(99, 102, 241, .2);
  background: #eef2ff;
  color: #4f46e5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .01em;
}

.event-promotion-label.is-top,
.event-feed-card.is-promoted-top .event-promotion-label {
  border-color: rgba(217, 70, 239, .22);
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
  color: #a21caf;
}

.detail-promotion-badge {
  min-height: 24px;
  padding: 4px 9px;
  border-color: rgba(99, 102, 241, .2);
  background: #eef2ff;
  color: #4f46e5;
  font-size: 10px;
  font-weight: 700;
}

.detail-promotion-badge.is-top {
  border-color: rgba(217, 70, 239, .22);
  background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
  color: #a21caf;
}

.organizer-promotion-panel { padding: 20px; }

.organizer-promotion-panel .organizer-section-head { margin-bottom: 18px; }

#promotionCancelDialog { width: min(calc(100% - 28px), 480px); overflow: hidden; border: 0; border-radius: 12px; padding: 0; box-shadow: 0 22px 52px rgba(15, 23, 42, .2); }

#promotionCancelDialog::backdrop { background: rgba(15, 23, 42, .38); }


@media (max-width: 700px) {
.organizer-promotion-panel { padding: 14px; }

}
.organizer-trust-card,
.organizer-promotion-card {
  border-color: var(--border, #dde4ee);
  background: var(--surface-muted, #f8fafc);
}

.organizer-trust-card.is-verified {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.organizer-trust-card.is-standard {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.organizer-promotion-card strong b {
  color: var(--outlo-brand-text);
  font-size: 1.15em;
}

.organizer-trust-card .organizer-check-row,
.organizer-promotion-card .organizer-check-row {
  gap: 14px;
}

.organizer-promotion-panel {
  padding: 22px;
  border-color: rgba(226, 232, 240, .9);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .035);
}

.organizer-promotion-panel .organizer-section-head {
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

.organizer-promotion-panel .organizer-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
}

.organizer-promotion-panel .organizer-section-head p {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
}

.organizer-promotion-panel .status-pill { justify-self: start; font-size: 10px; }


@media (max-width: 700px) {
.organizer-promotion-panel { padding: 14px; }

.organizer-promotion-panel .organizer-section-head { gap: 14px; }

}
.organizer-promotion-panel .organizer-section-head h2 { font-size: 26px; font-weight: 700; line-height: 1.22; }

.organizer-promotion-panel .organizer-section-head p { margin-top: 6px; color: #52627a; font-size: 14px; line-height: 1.5; }

.organizer-promotion-panel .status-pill { font-size: 11px; font-weight: 650; line-height: 1.25; }


@media (max-width: 700px) {
.organizer-promotion-panel .organizer-section-head h2 { font-size: 23px; }

}

/* Mobile map sheet polish: smoother bottom-sheet motion without changing filter logic. */
@media (max-width: 900px) {
.mobile-sheet-handle {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
  }

.mobile-sheet-handle:active {
    cursor: grabbing;
  }

.mobile-sheet-handle span {
    transition: width .18s ease, background-color .18s ease, transform .18s ease;
  }

}
.mobile-sheet-header,
.mobile-filter-footer { display: none; }


@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
.mobile-sheet-handle span {
    transition-duration: .01ms !important;
  }

}
:root {
  --app-viewport-height: 100vh;
}


@supports (height: 100dvh) {
:root {
    --app-viewport-height: 100dvh;
  }

}
.role-admin {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}

.role-moderator {
  background: #eef2ff !important;
  border-color: #c7d2fe !important;
  color: #3730a3 !important;
}

.role-organizer {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}

.role-user {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
  color: #1d4ed8 !important;
}


@media (max-width: 900px) {
html {
    min-height: var(--app-viewport-height);
  }

}
.profile-page {
  background: var(--page-bg);
}

.profile-dashboard {
  display: grid;
  gap: 14px;
}

.profile-head-modern {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px !important;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--avatar-color, var(--accent)), color-mix(in srgb, var(--avatar-color, var(--accent)) 72%, #111827));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(79, 70, 229, .18);
}

.nav-user-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--avatar-color, var(--accent)), color-mix(in srgb, var(--avatar-color, var(--accent)) 72%, #111827));
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--avatar-color, var(--accent)) 18%, transparent);
}

.profile-avatar.has-image,
.nav-user-avatar.has-image,
.account-avatar-preview.has-image {
  background-color: var(--surface-muted);
  background-position: center;
  background-size: cover;
  color: transparent;
  text-shadow: none;
}

.profile-identity .eyebrow {
  margin-bottom: 2px;
}

.profile-identity h1 {
  margin: 0 0 3px !important;
}

.profile-member-since {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 720;
}

.profile-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-stats-modern {
  gap: 10px !important;
  margin-bottom: 0 !important;
}

.profile-stats-modern .profile-stat {
  position: relative;
  min-height: 132px;
  gap: 7px;
  padding: 14px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.profile-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, currentColor 10%, #fff);
  color: currentColor;
  font-size: 15px;
  font-weight: 900;
}

.profile-stat-saved { color: #be123c; }

.profile-stat-organizers { color: #7c3aed; }

.profile-stat-shares { color: #2563eb; }

.profile-stat-category { color: #0f766e; }

.profile-stats-modern .profile-stat span:not(.profile-stat-icon) {
  color: var(--text-muted);
}

.profile-stats-modern .profile-stat strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--text);
  font-size: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-stats-modern .profile-stat small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 720;
}

.profile-dashboard-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr) !important;
  align-items: start;
  gap: 14px !important;
}

.profile-main-column,
.profile-side-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.profile-card-head {
  padding: 15px 16px 10px !important;
}

.profile-card-head p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.profile-event-list,
.profile-organizer-list,
.profile-activity-list {
  display: grid;
  gap: 0;
  padding: 0 12px 12px;
}

.profile-event-item {
  grid-template-columns: 44px minmax(0, 1fr) max-content 18px !important;
  gap: 10px !important;
  min-height: 64px;
  padding: 10px 8px !important;
  border: 0 !important;
  border-top: 1px solid rgba(226, 232, 240, .78) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.profile-event-item:first-child {
  border-top: 0 !important;
}

.profile-event-item:hover {
  background: #f8fafc !important;
  transform: none !important;
}

.profile-event-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-height: 34px;
  border-radius: 10px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.profile-event-main {
  min-width: 0;
}

.profile-event-main strong {
  display: block;
  overflow: hidden;
  color: var(--text) !important;
  font-size: 14px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-event-main span {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--text-muted) !important;
  font-size: 12px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-event-item .category-badge {
  width: fit-content;
  background: transparent;
  color: color-mix(in srgb, var(--category-color) 78%, #111827);
}

.profile-row-arrow {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 800;
}

.profile-organizer-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px 8px;
  border-top: 1px solid rgba(226, 232, 240, .78);
  color: inherit;
  text-decoration: none;
}

.profile-organizer-item:first-child {
  border-top: 0;
}

.profile-organizer-item:hover {
  background: #f8fafc;
}

.profile-organizer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.profile-organizer-item strong,
.profile-activity-item strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-organizer-item small,
.profile-activity-item small {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.profile-organizer-item em {
  color: var(--outlo-brand-text);
  font-size: 12px;
  font-style: normal;
  font-weight: 820;
}

.profile-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 8px;
  padding: 10px 8px;
  border-top: 1px solid rgba(226, 232, 240, .78);
}

.profile-activity-item:first-child {
  border-top: 0;
}

.profile-activity-item .activity-dot {
  grid-row: span 2;
  margin-top: 4px;
}

.profile-empty-state {
  display: grid;
  gap: 8px;
  padding: 14px 8px 16px;
  color: var(--text-muted);
}

.profile-empty-state strong {
  color: var(--text);
  font-size: 14px;
}

.profile-empty-state span {
  font-size: 12px;
  line-height: 1.45;
}

.profile-empty-state .button-link {
  justify-self: start;
  margin-top: 2px;
}


@media (max-width: 900px) {
.profile-head-modern {
    align-items: flex-start !important;
    flex-direction: column;
  }

.profile-head-actions {
    justify-content: flex-start;
    width: 100%;
  }

.profile-head-actions .button-link {
    flex: 1 1 auto;
    min-width: max-content;
  }

.profile-stats-modern {
    grid-template-columns: 1fr 1fr !important;
  }

.profile-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

}

@media (max-width: 560px) {
.profile-avatar {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

.profile-stats-modern {
    grid-template-columns: 1fr !important;
  }

.profile-event-item {
    grid-template-columns: 38px minmax(0, 1fr) 18px !important;
  }

.profile-event-item .category-badge {
    grid-column: 2 / 3;
    justify-self: start;
  }

.profile-organizer-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

.profile-organizer-item em {
    grid-column: 2 / 3;
    justify-self: start;
  }

}
.account-layout {
  width: min(100% - 28px, 1040px);
  margin: 18px auto 40px;
}

.account-shell {
  display: grid;
  gap: 14px;
}

.account-hero,
.account-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.account-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.account-hero h1 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: 0;
}

.account-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.account-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--outlo-brand-accent);
}

.account-hero-icon svg {
  width: var(--outlo-icon-xl, 24px);
  height: var(--outlo-icon-xl, 24px);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: var(--outlo-icon-stroke, 1.8);
}

.account-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.account-section-title {
  display: grid;
  gap: 4px;
}

.account-section-title h2 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
}

.account-section-title p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

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

.account-avatar-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-muted);
}

.account-avatar-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--avatar-color, var(--accent)), color-mix(in srgb, var(--avatar-color, var(--accent)) 72%, #111827));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--avatar-color, var(--accent)) 20%, transparent);
}

.account-avatar-controls {
  display: grid;
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
  min-width: 0;
}

.account-avatar-upload,
.account-info-note {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}

.account-avatar-upload[hidden],
.account-info-note[hidden] {
  display: none !important;
}

.account-avatar-upload > div,
.account-info-note {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.account-avatar-upload strong,
.account-info-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 820;
}

.account-upload-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.account-upload-form input[type="file"] {
  min-width: 220px;
  max-width: 100%;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
}

.account-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 780;
}

.account-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-color-swatch {
  position: relative;
  width: 36px;
  height: 36px;
  min-height: 36px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--swatch-color);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-xs);
  padding: 0;
}

.account-color-swatch:hover {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--swatch-color) 50%, var(--line)), var(--shadow-sm);
}

.account-color-swatch.active {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch-color) 24%, transparent), 0 0 0 1px var(--swatch-color);
}

.account-color-swatch.active::after {
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  content: "";
}

.account-form-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 780;
}

.account-form-grid label.wide {
  grid-column: 1 / -1;
}

.account-form-grid input,
.account-form-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 650;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .03);
}

.account-form-grid input:focus,
.account-form-grid select:focus,
.account-chip:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
  outline: none;
}

.account-form-grid input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.account-form-grid small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 620;
}

.account-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  padding: 8px 12px;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.account-chip:hover {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  color: var(--text);
}

.account-chip.active {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: var(--accent-soft);
  color: var(--outlo-brand-text);
}

.account-toggle {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px !important;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
}

.account-toggle input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.account-toggle strong,
.account-toggle small {
  display: block;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.account-danger-zone {
  gap: 14px;
}

.account-privacy-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
}

.account-privacy-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.account-privacy-item + .account-privacy-item {
  border-top: 1px solid var(--line);
}

.account-privacy-copy {
  min-width: 0;
}

.account-privacy-copy h3,
.account-privacy-copy p {
  margin: 0;
}

.account-privacy-copy h3 {
  color: var(--text);
  font-size: 14px;
}

.account-privacy-copy p {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.45;
}

.account-coming-soon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.account-privacy-item-danger {
  background: #fffafb;
}

.account-coming-soon-danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fef2f2;
}


@media (max-width: 720px) {
.account-layout {
    width: min(100% - 20px, 1040px);
    margin-top: 12px;
  }

.account-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

.account-hero > .button-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

.account-form-grid {
    grid-template-columns: 1fr;
  }

.account-avatar-editor,
.account-avatar-controls {
    grid-template-columns: 1fr;
  }

.account-avatar-preview {
    width: 64px;
    height: 64px;
    font-size: 21px;
  }

.account-actions {
    justify-content: stretch;
  }

.account-actions .button-link,
.account-actions button {
    flex: 1 1 auto;
  }

.account-privacy-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

}

@media (max-width: 700px) {
.auth-split-layout {
    width: min(100% - 20px, 460px);
    min-height: calc(100dvh - 58px);
    align-items: start;
    padding: 12px 0 22px;
  }

.auth-brand-panel {
    display: none;
  }

.auth-split-layout .auth-card {
    padding: 20px;
    border-radius: 18px;
  }

.auth-card h1 {
    font-size: 28px;
  }

}
.nav-count {
  --counter-surface: #f1f5f9;
  --counter-ink: #475569;
  --counter-hover: #e8edf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-self: center;
  justify-self: end;
  width: max-content;
  min-width: 26px;
  max-width: none;
  height: 22px;
  margin: 0;
  padding: 0 6px;
  border: 0;
  border-radius: 7px;
  background: var(--counter-surface);
  color: var(--counter-ink);
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  transition: background-color 140ms ease;
}

.menu-count-badge.nav-count { min-width: 26px; }

.nav-count[hidden] { display: none !important; }

.nav-count--attention {
  --counter-surface: #fef2f2;
  --counter-ink: #b91c1c;
  --counter-hover: #fee2e2;
}

:is(.menu-item,.admin-menu button):is(:hover,:focus-visible) > .nav-count {
  background: var(--counter-hover);
}

.nav-count--signal {
  --counter-surface: #dc2626;
  --counter-ink: #fff;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 11px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
  pointer-events: none;
}

#userMenuPanel .menu-item.has-badge { grid-template-columns: 18px minmax(0, 1fr) 36px; }

@media (prefers-reduced-motion: reduce) {
.nav-count { transition: none; }

}
.chip-grid button[data-category="priroda"] {
  --chip-color: #15803d;
}

.category-chip-icon,
.category-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--category-color, var(--chip-color, currentColor));
}

.category-chip-icon svg,
.category-badge-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-chip-icon svg .icon-fill,
.category-badge-icon svg .icon-fill {
  fill: currentColor;
  stroke: none;
}

.category-chip-icon svg .category-letter,
.category-badge-icon svg .category-letter {
  fill: currentColor;
  stroke: none;
  font-family: var(--outlo-font-family);
  font-size: 14px;
  font-weight: 850;
  text-anchor: middle;
  dominant-baseline: middle;
}

.category-badge {
  font-weight: 600 !important;
}

.detail-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-weight: 600;
}

.detail-category-badge::before {
  display: none;
}

:root {
  --topbar-height: 66px;
}

.topbar.app-topbar {
  position: sticky;
  top: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: calc(100% - 32px);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 18px;
  column-gap: 18px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, .945);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .13), 0 3px 10px rgba(15, 23, 42, .045);
  backdrop-filter: blur(18px) saturate(1.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
}

.topbar.app-topbar .brand-text-only {
  gap: 11px;
  min-height: 42px;
  padding-right: 12px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.025em;
}

.topbar.app-topbar .brand-text-only::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 48% 48%, #fff 0 28%, transparent 29%),
    conic-gradient(from 26deg, #4f46e5 0 46%, #06b6d4 46% 74%, #312e81 74% 100%);
  box-shadow: 0 9px 20px rgba(79, 70, 229, .20);
}

.topbar-search {
  position: absolute;
  grid-column: 1 / -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  width: min(390px, calc(100vw - 640px));
  min-width: 280px;
  z-index: 1;
}

.topbar-search-icon {
  position: absolute;
  left: 15px;
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: #475569;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.topbar-search input {
  min-height: 40px;
  padding: 9px 48px 9px 45px;
  border: 1px solid rgba(203, 213, 225, .74);
  border-radius: 15px;
  background: rgba(248, 250, 252, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 1px 2px rgba(15, 23, 42, .025);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.topbar-search input::placeholder {
  color: #64748b;
  font-weight: 450;
}

.topbar-search input:focus {
  border-color: rgba(79, 70, 229, .38);
  background: #fff;
  box-shadow: var(--focus-ring), 0 12px 26px rgba(15, 23, 42, .07);
}

.topbar.app-topbar .top-actions {
  grid-column: 3;
  justify-self: end;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.topbar.app-topbar .brand-link {
  grid-column: 1;
  justify-self: start;
  position: relative;
  z-index: 2;
}

.topbar.app-topbar .nav-item:not(.primary) {
  min-height: 38px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  color: #334155;
  font-weight: 500;
}

.topbar.app-topbar .nav-item:not(.primary):hover {
  background: rgba(248, 250, 252, .92);
  border-color: rgba(203, 213, 225, .76);
  box-shadow: none;
  color: #0f172a;
}

.topbar.app-topbar .nav-item.primary {
  min-height: 38px;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 13px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(79, 70, 229, .20);
}

.topbar.app-topbar .nav-item.primary .nav-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.topbar.app-topbar .nav-item.primary:hover,
.topbar.app-topbar .nav-item.primary:focus-visible {
  box-shadow: 0 11px 24px rgba(79, 70, 229, .26);
}

.topbar.app-topbar #loginLink,
.topbar.app-topbar #userMenu {
  position: relative;
  margin-left: 10px;
}

.topbar.app-topbar #loginLink::before,
.topbar.app-topbar #userMenu::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(148, 163, 184, .42);
}

.topbar.app-topbar .user-menu-button {
  border-color: rgba(203, 213, 225, .72);
  background: rgba(255, 255, 255, .78);
}

.topbar.app-topbar .nav-user-avatar {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 999px;
}


@media (max-width: 900px) {
:root {
    --topbar-height: 62px;
  }

.topbar.app-topbar {
    position: sticky;
    top: 0;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    min-height: var(--topbar-height);
    margin: 0;
    padding: 8px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    column-gap: 8px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
  }

.topbar-search {
    display: none;
  }

.topbar.app-topbar .brand-text-only {
    font-size: 22px;
  }

.topbar.app-topbar .brand-text-only::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 10px;
  }

}
.topbar.app-topbar {
  position: sticky;
  top: 0 !important;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 420px) minmax(250px, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  column-gap: 24px !important;
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 420px) minmax(250px, 1fr) !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  column-gap: 24px !important;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 9px 36px !important;
  border: 1px solid rgba(255, 255, 255, .68) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .09), 0 3px 10px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .76) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
  overflow: visible !important;
}

.topbar.app-topbar::before,
.topbar.app-topbar::after {
  content: none !important;
}

.topbar.app-topbar > * {
  position: relative;
  z-index: 1;
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.topbar.app-topbar { background: rgba(255, 255, 255, .96) !important; }

}

@media (prefers-reduced-transparency: reduce) {
.topbar.app-topbar {
    background: rgba(255, 255, 255, .98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

}

@media (max-width: 900px) {
.topbar.app-topbar {
    min-height: 62px !important;
    padding: 8px 14px !important;
    border-radius: 0 0 13px 13px !important;
    background: rgba(255, 255, 255, .93) !important;
    backdrop-filter: blur(14px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(118%) !important;
  }

}
.topbar.app-topbar {
  position: sticky;
  top: 0 !important;
  isolation: isolate;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 9px 36px !important;
  border: 1px solid rgba(255, 255, 255, .68) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow:
    0 12px 32px rgba(15, 23, 42, .09),
    0 3px 10px rgba(15, 23, 42, .04),
    inset 0 1px 0 rgba(255, 255, 255, .76) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
  overflow: visible !important;
}

.topbar.app-topbar::before,
.topbar.app-topbar::after {
  content: none !important;
}

.topbar.app-topbar > * {
  position: relative;
  z-index: 1;
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.topbar.app-topbar {
    background: rgba(255, 255, 255, .96) !important;
  }

}

@media (prefers-reduced-transparency: reduce) {
.topbar.app-topbar {
    background: rgba(255, 255, 255, .98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

}

@media (max-width: 900px) {
.topbar.app-topbar {
    min-height: 62px !important;
    padding: 8px 14px !important;
    border-radius: 0 0 13px 13px !important;
    background: rgba(255, 255, 255, .93) !important;
    backdrop-filter: blur(14px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(118%) !important;
  }

}
.topbar.app-topbar {
  --topbar-shape-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M18,0 H982 Q1000,0 1000,18 V25 L940,89 Q932,100 918,100 H82 Q68,100 60,89 L0,25 V18 Q0,0 18,0 Z'/%3E%3C/svg%3E");
  position: sticky;
  top: 12px !important;
  isolation: isolate;
  width: 100% !important;
  min-height: 66px !important;
  padding-inline: 48px !important;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.topbar.app-topbar::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  -webkit-mask: var(--topbar-shape-mask) center / 100% 100% no-repeat;
  mask: var(--topbar-shape-mask) center / 100% 100% no-repeat;
  background: rgba(255, 255, 255, .78);
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .08));
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.topbar.app-topbar::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18,1 H982 Q999,1 999,18 V25 L940,89 Q932,99 918,99 H82 Q68,99 60,89 L1,25 V18 Q1,1 18,1 Z' fill='none' stroke='%23ffffff' stroke-opacity='.78' stroke-width='1.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.topbar.app-topbar > * {
  position: relative;
  z-index: 1;
}

.topbar.app-topbar .nav-item.primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, #7c3aed 0%, var(--accent) 55%, #2563eb 100%) no-repeat border-box !important;
  box-shadow: 0 9px 20px rgba(79, 70, 229, .24) !important;
}

.topbar.app-topbar .nav-item.primary:hover,
.topbar.app-topbar .nav-item.primary:focus-visible {
  background: linear-gradient(135deg, #6d28d9 0%, var(--accent-hover) 56%, #1d4ed8 100%) no-repeat border-box !important;
  box-shadow: 0 12px 24px rgba(79, 70, 229, .29) !important;
}


@media (max-width: 900px) {
.topbar.app-topbar {
    --topbar-shape-mask: none;
    top: 8px !important;
    width: 100% !important;
    min-height: 62px !important;
    margin-inline: 0 !important;
    padding: 7px 11px !important;
  }

.topbar.app-topbar::before {
    border-radius: 14px;
    -webkit-mask: none;
    mask: none;
    background: rgba(255, 255, 255, .82);
    filter: none;
    backdrop-filter: blur(15px) saturate(125%);
    -webkit-backdrop-filter: blur(15px) saturate(125%);
  }

.topbar.app-topbar::after {
    inset: 0;
    border-radius: 13px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .76);
  }

}

@media (min-width: 901px) and (max-width: 1180px) {
.topbar.app-topbar {
    padding-inline: 34px !important;
  }

}
.brand-link.brand-text-only {
  width: 168px;
  min-height: 46px;
  padding: 0 !important;
  gap: 0 !important;
  font-size: 0 !important;
  line-height: 0;
  color: transparent !important;
  background: url("/outlo-logo.png") left center / contain no-repeat;
}

.brand-link.brand-text-only::before {
  content: none !important;
}


@media (max-width: 700px) {
.brand-link.brand-text-only {
    width: 126px;
    min-height: 38px;
  }

}
.topbar.app-topbar .nav-item.primary {
  border-radius: 18px !important;
}

.filter-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  flex: 0 0 var(--outlo-icon-sm, 16px);
}

.filter-action-icon svg {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;

  stroke-linejoin: round;
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.topbar.app-topbar::before {
    background: rgba(255, 255, 255, .96);
  }

}

@media (prefers-reduced-transparency: reduce) {
.topbar.app-topbar::before {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}
.schedule-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.term-type-group,
.recurrence-end-group {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  margin: 0;
}

.term-type-group legend,
.recurrence-end-group legend {
  padding: 0;
}

.term-type-options {
  display: grid;
  gap: 8px;
}

.term-type-card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 56px;
  padding: 11px 12px !important;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.term-type-card:has(input:checked) {
  border-color: rgba(79, 70, 229, .34);
  background: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .08);
}

.term-type-card input {
  margin-top: 3px;
}

.term-type-card strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
}

.term-type-card small {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.compact-checkbox {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 34px;
  padding: 0 !important;
  color: var(--text-soft);
  font-weight: 560 !important;
}

.compact-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary);
}

.recurrence-settings {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(221, 228, 238, .9);
  border-radius: 14px;
  background: var(--surface-muted);
}

.schedule-section.recurring-mode {
  grid-template-columns: minmax(0, 1fr);
}

.schedule-section.recurring-mode .schedule-step {
  grid-column: 1 / -1 !important;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(221, 228, 238, .86);
  border-radius: 13px;
  background: #fff;
  min-width: 0;
}

.schedule-section.recurring-mode .schedule-step legend {
  margin-bottom: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.25;
}

.schedule-section.recurring-mode .datetime-fields {
  grid-template-columns: minmax(170px, 220px) minmax(130px, 170px);
  justify-content: start;
  max-width: none;
}

.schedule-section.recurring-mode #visibilityUntilGroup .datetime-fields {
  grid-template-columns: minmax(170px, 220px) minmax(130px, 170px);
}

.recurrence-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.recurrence-panel-head strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.25;
}

.recurrence-panel-head span:not(.help-tip) {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 420;
  line-height: 1.35;
}

.recurrence-fields {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(180px, .65fr);
  gap: 10px;
  min-width: 0;
}

.recurrence-field {
  min-width: 0;
}

.recurrence-inline-control {
  display: grid;
  grid-template-columns: auto minmax(62px, 84px) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 430;
}

.recurrence-inline-control input {
  width: 100%;
  min-height: 28px !important;
  padding: 4px 7px !important;
  border-radius: 8px !important;
  text-align: center;
}

.recurrence-subgroup {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(221, 228, 238, .72);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  min-width: 0;
}

.weekday-picker {
  min-width: 0;
}

.weekday-picker > span {
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 620;
}

.weekday-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.recurrence-duration-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.weekday-options label,
.recurrence-end-options label,
.recurrence-duration-options label {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  min-height: 28px;
  padding: 5px 8px !important;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500 !important;
  line-height: 1.2;
}

.recurrence-end-group {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(221, 228, 238, .72);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  margin: 0;
}

.recurrence-end-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, max-content));
  gap: 7px;
  min-width: 0;
  align-items: center;
}

.recurrence-end-options label {
  white-space: nowrap;
}

.recurrence-end-options input[type="radio"] {
  flex: 0 0 13px;
  width: 13px !important;
  height: 13px !important;
  min-height: 13px !important;
  margin: 0;
  accent-color: var(--primary);
}

.recurrence-duration-options input[type="radio"] {
  flex: 0 0 13px;
  width: 13px !important;
  height: 13px !important;
  min-height: 13px !important;
  margin: 0;
  accent-color: var(--primary);
}

.weekday-options input[type="checkbox"] {
  flex: 0 0 13px;
  width: 13px !important;
  height: 13px !important;
  min-height: 13px !important;
  margin: 0;
  accent-color: var(--primary);
}

.recurrence-end-fields {
  display: grid;
  grid-template-columns: minmax(160px, 210px) minmax(130px, 150px);
  gap: 10px;
  min-width: 0;
  align-items: end;
}

.recurrence-end-fields label {
  display: grid !important;
  gap: 5px;
  width: 100%;
  min-height: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500 !important;
}

.recurrence-end-fields input {
  min-height: 36px;
}

.recurrence-end-fields .help-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.recurrence-end-group:has(input[name="recurrenceEndMode"][value="none"]:checked) #recurrenceCountField {
  display: none !important;
}

#knownEndGroup.end-time-only .datetime-fields {
  grid-template-columns: minmax(120px, 150px);
  max-width: 170px;
}

#knownEndGroup.end-time-only label:has(#endDateInput) {
  display: none !important;
}

#knownEndGroup.duration-unknown .datetime-fields {
  display: none;
}

#knownEndGroup.duration-unselected .datetime-fields {
  display: none;
}

.compact-grid {
  gap: 10px;
}


@media (min-width: 720px) {
.term-type-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}
:root {
  --topbar-height: 62px;
}

.topbar.app-topbar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: 100%;
  min-height: var(--topbar-height);
  margin: 0;
  padding: 9px 22px;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--topbar-border-glass);
  border-radius: 0;
  background: var(--topbar-bg-glass);
  box-shadow: var(--topbar-shadow-glass);
  backdrop-filter: blur(10px) saturate(1.03);
  -webkit-backdrop-filter: blur(10px) saturate(1.03);
}

.topbar.app-topbar .brand-link {
  grid-column: 1;
  justify-self: start;
}

.topbar.app-topbar .brand-text-only {
  gap: 10px;
  min-height: 42px;
  padding-inline: 4px;
  color: var(--navy);
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.topbar.app-topbar .brand-text-only::before {
  content: none;
}

.topbar.app-topbar .topnav {
  display: flex;
  grid-column: 2;
  justify-self: center;
}

.topbar-search {
  display: none !important;
}

.topbar.app-topbar .top-actions {
  grid-column: 3;
  justify-self: end;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.topbar.app-topbar .nav-item:not(.primary) {
  min-height: 38px;
  padding: 8px 10px;
  border-color: transparent;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  font-weight: 750;
}

.topbar.app-topbar .nav-item:not(.primary):hover {
  background: rgba(255, 255, 255, .48);
  border-color: rgba(15, 23, 42, .045);
  box-shadow: none;
}

.topbar.app-topbar .nav-item.primary {
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .18);
}

.topbar.app-topbar .nav-item.primary .nav-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar.app-topbar #loginLink,
.topbar.app-topbar #userMenu {
  margin-left: 0;
}

.topbar.app-topbar #loginLink::before,
.topbar.app-topbar #userMenu::before {
  content: none;
}


@media (max-width: 900px) {
.topbar.app-topbar {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 64px;
    padding: 8px 12px;
    gap: 8px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
  }

.topbar.app-topbar .topnav {
    display: none;
  }

.topbar.app-topbar .brand-text-only {
    font-size: 21px;
  }

.topbar.app-topbar .top-actions {
    justify-content: flex-end;
    gap: 6px;
  }

}
:root {
  --topbar-height: 66px;
}

.topbar.app-topbar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: calc(100% - 32px);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 18px;
  column-gap: 18px;
  border: 1px solid rgba(15, 23, 42, .075);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .11), 0 2px 8px rgba(15, 23, 42, .05);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.topbar.app-topbar .brand-link {
  grid-column: 1;
  justify-self: start;
  position: relative;
  z-index: 2;
}

.topbar.app-topbar .brand-text-only {
  gap: 11px;
  min-height: 42px;
  padding-right: 12px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -.025em;
}

.topbar.app-topbar .brand-text-only::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 48% 48%, #fff 0 28%, transparent 29%),
    conic-gradient(from 22deg, #4f46e5 0 27%, #06b6d4 27% 54%, #22c55e 54% 76%, #7c3aed 76% 100%);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .22);
}

.topbar.app-topbar .topnav {
  display: none;
}

.topbar-search {
  position: absolute;
  grid-column: 1 / -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex !important;
  align-items: center;
  width: min(390px, calc(100vw - 640px));
  min-width: 280px;
  z-index: 1;
}

.topbar-search-icon {
  position: absolute;
  left: 15px;
  width: var(--outlo-icon-md, 18px);
  height: var(--outlo-icon-md, 18px);
  fill: none;
  stroke: #64748b;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.topbar-search input {
  min-height: 40px;
  padding: 9px 48px 9px 45px;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 15px;
  background: rgba(248, 250, 252, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 1px 2px rgba(15, 23, 42, .04);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.topbar-search input::placeholder {
  color: #64748b;
  font-weight: 450;
}

.topbar-search input:focus {
  border-color: rgba(79, 70, 229, .38);
  background: #fff;
  box-shadow: var(--focus-ring), 0 8px 22px rgba(15, 23, 42, .06);
}

.topbar.app-topbar .top-actions {
  grid-column: 3;
  justify-self: end;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.topbar.app-topbar .nav-item:not(.primary) {
  min-height: 38px;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  color: #334155;
  font-weight: 500;
}

.topbar.app-topbar .nav-item:not(.primary):hover {
  background: rgba(248, 250, 252, .92);
  border-color: rgba(203, 213, 225, .76);
  box-shadow: none;
  color: #0f172a;
}

.topbar.app-topbar .nav-item.primary {
  min-height: 38px;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 13px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(79, 70, 229, .20);
}

.topbar.app-topbar .nav-item.primary .nav-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  padding: 4px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 1px 4px rgba(15, 23, 42, .10);
  color: #ffffff;
}

.topbar.app-topbar .nav-item.primary .nav-icon path {
  stroke-width: 3;
}

.topbar.app-topbar .nav-item.primary:hover .nav-icon,
.topbar.app-topbar .nav-item.primary:focus-visible .nav-icon {
  background: var(--accent-hover);
  color: #fff;
}

.topbar.app-topbar .nav-item.primary:hover,
.topbar.app-topbar .nav-item.primary:focus-visible {
  box-shadow: 0 11px 24px rgba(79, 70, 229, .26);
}

.topbar.app-topbar #loginLink,
.topbar.app-topbar #userMenu {
  position: relative;
  margin-left: 10px;
}

.topbar.app-topbar #loginLink::before,
.topbar.app-topbar #userMenu::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(148, 163, 184, .42);
}


@media (max-width: 900px) {
:root {
    --topbar-height: 62px;
  }

.topbar.app-topbar {
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 8px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    column-gap: 8px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px) saturate(1.02);
    -webkit-backdrop-filter: blur(8px) saturate(1.02);
  }

.topbar-search {
    display: none !important;
  }

.topbar.app-topbar .brand-text-only {
    font-size: 22px;
  }

.topbar.app-topbar .brand-text-only::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 10px;
  }

}
.topbar.app-topbar {
  position: sticky;
  top: 0 !important;
  isolation: isolate;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 9px 36px !important;
  border: 1px solid rgba(255, 255, 255, .68) !important;
  border-top: 0 !important;
  border-radius: 0 0 16px 16px !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .09), 0 3px 10px rgba(15, 23, 42, .04), inset 0 1px 0 rgba(255, 255, 255, .76) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
  overflow: visible !important;
}

.topbar.app-topbar::before,
.topbar.app-topbar::after { content: none !important; }

.topbar.app-topbar > * { position: relative; z-index: 1; }

.topbar.app-topbar .brand-link {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
}

.topbar.app-topbar .topbar-search {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  width: min(100%, 420px) !important;
}

.topbar.app-topbar .top-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
}


@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.topbar.app-topbar { background: rgba(255, 255, 255, .96) !important; }

}

@media (prefers-reduced-transparency: reduce) {
.topbar.app-topbar {
    background: rgba(255, 255, 255, .98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

}

@media (max-width: 900px) {
.topbar.app-topbar {
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 62px !important;
    padding: 8px 14px !important;
    border-radius: 0 0 13px 13px !important;
    background: rgba(255, 255, 255, .93) !important;
    backdrop-filter: blur(14px) saturate(118%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(118%) !important;
  }

.topbar.app-topbar .topbar-search {
    display: none !important;
  }

.topbar.app-topbar .top-actions {
    grid-column: 2 !important;
  }

}

/* Desktop map header: a subtle full-width trapezoid with a protected content zone. */
@media (min-width: 901px) {
.topbar.app-topbar {
    --topbar-trapezoid-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1000 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M18 0H982Q1000 0 994 12L935 88Q928 100 914 100H86Q72 100 65 88L6 12Q0 0 18 0Z'/%3E%3C/svg%3E");
    display: grid !important;
    width: calc(100% - 224px) !important;
    margin-inline: auto !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-rows: 1fr !important;
    align-items: center !important;
    column-gap: 24px !important;
    padding-inline: clamp(72px, 8vw, 148px) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

.topbar.app-topbar::before {
    content: "" !important;
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    -webkit-mask: var(--topbar-trapezoid-mask) center / 100% 100% no-repeat;
    mask: var(--topbar-trapezoid-mask) center / 100% 100% no-repeat;
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .90);
    filter: drop-shadow(0 10px 24px rgba(15, 23, 42, .08));
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
  }

body:not(.map-page) .topbar.app-topbar .topbar-search {
    position: absolute !important;
    /* Absolute centering belongs to the header, not its padded grid row. */
    grid-column: auto !important;
    grid-row: auto !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    justify-self: auto !important;
    align-self: center !important;
    min-width: 0;
  }

.topbar.app-topbar .brand-link {
    transform: translateX(-7px);
  }

.topbar.app-topbar .topbar-search input {
    border-color: rgba(148, 163, 184, .68);
    background: rgba(255, 255, 255, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .94), 0 2px 5px rgba(15, 23, 42, .05);
  }

.topbar.app-topbar #loginLink::before,
.topbar.app-topbar #userMenu::before {
    background: rgba(148, 163, 184, .26);
  }

.topbar.app-topbar::after {
    content: "" !important;
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    -webkit-mask: var(--topbar-trapezoid-mask) center / 100% 100% no-repeat;
    mask: var(--topbar-trapezoid-mask) center / 100% 100% no-repeat;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 255, .30), rgba(124, 58, 237, .30), transparent) bottom / 100% 1px no-repeat;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
  }

}

@media (min-width: 901px) and (max-width: 1280px) {
.topbar.app-topbar {
    width: calc(100% - 64px) !important;
    padding-inline: clamp(60px, 7vw, 90px) !important;
    column-gap: 16px !important;
  }

}

@media (min-width: 901px) and (max-width: 1050px) {
body:not(.map-page) .topbar.app-topbar .topbar-search {
    width: 400px !important;
  }

body:not(.map-page) .topbar.app-topbar #allEventsLink,
body:not(.map-page) .topbar.app-topbar #userMenuButton {
    width: 42px;
    min-width: 42px;
    padding-inline: 6px !important;
    justify-content: center;
  }

body:not(.map-page) .topbar.app-topbar #allEventsLink > span,
body:not(.map-page) .topbar.app-topbar #userMenuName,
body:not(.map-page) .topbar.app-topbar #userMenuButton .nav-chevron {
    display: none;
  }

}

@keyframes outlo-status-heartbeat {
  0%, 76%, 86%, 100% {
    transform: translate(-50%, -50%) scale(var(--status-outer-scale));
    opacity: var(--status-outer-opacity);
  }
  82% {
    transform: translate(-50%, -50%) scale(calc(var(--status-outer-scale) * 1.07));
    opacity: .8;
  }
  92% {
    transform: translate(-50%, -50%) scale(calc(var(--status-outer-scale) * 1.14));
    opacity: .9;
  }
}

@keyframes outlo-premium-pin-wave {
  0% { width: 6px; height: 6px; opacity: 0; }
  8% { opacity: .7; }
  65% { opacity: .42; }
  100% { width: var(--premium-wave-size, 240px); height: var(--premium-wave-size, 240px); opacity: 0; }
}
#searchFilterPanel .panel-section:is(#searchTagFilter, #searchArtistFilter) {
  padding: 0;
}

#searchFilterPanel .panel-section:is(#searchTagFilter, #searchArtistFilter):has(:is(.rs-tag-toggle, .artist-filter-toggle)[aria-expanded="true"]) {
  padding-block-end: 5px;
}

#searchFilterPanel :is(#searchTagFilter .rs-tag-toggle, #searchArtistFilter .artist-filter-toggle) {
  height: auto;
  min-height: 48px;
  outline-offset: -2px;
}

.report-form-error {
  margin: 12px 18px 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 119, 6, .24);
  border-radius: 9px;
  background: #fffaf0;
  color: #92400e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}


/* Feedback is a compact product conversation, not a generic report form. */
@media (max-width: 520px) {
.report-form-error {
    margin-inline: 14px;
  }

}

@media (max-width: 440px) {
.topbar.app-topbar {
    padding-inline: 10px !important;
    column-gap: 6px !important;
  }

.topbar.app-topbar .brand-text-only {
    gap: 7px;
    padding-right: 0;
    font-size: 20px;
  }

.topbar.app-topbar .brand-text-only::before {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    border-radius: 9px;
  }

.topbar.app-topbar .top-actions {
    gap: 5px;
  }

.topbar.app-topbar #newEventButton {
    gap: 5px;
    padding-right: 9px;
  }

.topbar.app-topbar #newEventButton > span {
    font-size: 0;
  }

.topbar.app-topbar #newEventButton > span::after {
    content: "Přidat";
    font-size: 12px;
  }

.topbar.app-topbar #loginLink {
    min-width: 38px;
    margin-left: 5px;
    padding-inline: 8px;
  }

.topbar.app-topbar #loginLink::before {
    left: -5px;
  }

.topbar.app-topbar #loginLink > span {
    display: none;
  }

}
.outlo-tip-dialog {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .18);
}

.outlo-tip-form { display: grid; gap: 16px; padding: 22px; }

.outlo-tip-form .dialog-head { margin: 0; align-items: flex-start; }

.outlo-tip-form .dialog-head h2 { margin: 2px 0 0; }

.outlo-tip-form .dialog-eyebrow { margin: 0; color: #5b50d6; font-size: 12px; font-weight: 600; }

.outlo-tip-event { margin: 0; color: #111827; font-size: 17px; font-weight: 600; }

.outlo-tip-intro { margin: -8px 0 0; color: #64748b; font-size: 14px; line-height: 1.5; }

.outlo-tip-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.outlo-tip-fields label { display: grid; gap: 6px; color: #334155; font-size: 13px; font-weight: 600; }

.outlo-tip-fields label > span { color: #94a3b8; font-weight: 400; }

.outlo-tip-fields .wide { grid-column: 1 / -1; }

.outlo-tip-fields textarea { min-height: 92px; resize: vertical; }

.outlo-tip-current { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid rgba(124, 58, 237, .2); border-radius: 10px; background: rgba(245, 243, 255, .72); }

.outlo-tip-current strong { color: #5b21b6; }

.outlo-tip-current span { color: #475569; font-size: 14px; line-height: 1.45; }

@media (max-width: 560px) {
.outlo-tip-form { padding: 18px; }

.outlo-tip-fields { grid-template-columns: 1fr; }

.outlo-tip-fields .wide { grid-column: auto; }

}
:is(.map-page, .search-results-page) .event-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 22px;
  padding: 4px 9px;
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 999px;
  background: rgba(238, 242, 255, .92);
  color: #4f46e5;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

:is(.map-page, .search-results-page) .event-status-badge.is-paid-top {
  border-color: #facc15;
  background: #0f172a;
  color: #fff;
}

:is(.map-page, .search-results-page) .event-status-badge.is-top-event {
  border-color: #6366f1;
  background: #0b0b0d;
  color: #fff;
}

:is(.map-page, .search-results-page) .event-status-badge.is-outlo-tip {
  border-color: rgba(5, 150, 105, .3);
  background: rgba(236, 253, 245, .96);
  color: #065f46;
}

:is(.map-page, .search-results-page) .event-status-badge > span[aria-hidden="true"] {
  color: currentColor !important;
  fill: currentColor !important;
}

:is(.map-page, .search-results-page) .event-status-badge.is-paid-featured,
:is(.map-page, .search-results-page) .event-status-badge.is-paid-featured > span[aria-hidden="true"] {
  color: #4f46e5 !important;
}

:is(.map-page, .search-results-page) .event-status-badge.is-paid-top {
  color: #fff !important;
}

:is(.map-page, .search-results-page) .event-status-badge.is-paid-top > span[aria-hidden="true"] {
  color: #facc15 !important;
}

:is(.map-page, .search-results-page) .event-status-badge.is-top-event {
  color: #fff !important;
}

:is(.map-page, .search-results-page) .event-status-badge.is-top-event > span[aria-hidden="true"] {
  color: #fff !important;
}

.mobile-search-toggle,
.mobile-search-close {
  display: none;
}

.global-search-suggestions {
  position: absolute;
  z-index: 1400;
  top: calc(100% + 9px);
  left: 0;
  width: 100%;
  max-height: min(510px, calc(100vh - 110px));
  padding: 9px 8px 7px;
  overflow-y: auto;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 19px;
  background: rgba(253, 253, 255, .99);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .15), 0 3px 10px rgba(15, 23, 42, .05);
}

.global-search-option {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 6px 9px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #172033;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.global-search-option + .global-search-option {
  margin-top: 4px;
}

.global-search-section + .global-search-section {
  margin-top: 14px;
}

.global-search-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 10px 6px;
}

.global-search-section-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #7b769f;
  font-size: 10.5px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.global-search-section-icon {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
}

.global-search-section-icon svg {
  width: var(--outlo-icon-xs, 14px);
  height: var(--outlo-icon-xs, 14px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-search-section-count {
  padding: 3px 4px;
  margin: -3px -4px;
  color: var(--outlo-brand-text);
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color .16s ease;
}

.global-search-section-count:hover,
.global-search-section-count:focus-visible {
  border-radius: 7px;
  background: rgba(99, 102, 241, .08);
  color: var(--outlo-brand-text-hover);
}

.global-search-section--events .global-search-section-label {
  color: #5149bd;
}

.global-search-option:hover,
.global-search-option.is-active,
.global-search-option.is-previewing {
  background: #f2f1ff;
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .07);
}

.global-search-option:focus-visible {
  outline: 3px solid rgba(99, 102, 241, .23);
  outline-offset: -1px;
}

.global-search-option.is-previewing {
  box-shadow: inset 3px 0 0 rgba(99, 102, 241, .55);
}

.global-search-option.is-primary {
  background: rgba(244, 243, 255, .86);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .1);
}

.event-detail.is-search-preview,
.event-detail.is-map-preview {
  pointer-events: none;
}

.global-search-option-media {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, .14);
  border-radius: 11px;
  background: #f8f7ff;
  color: var(--outlo-brand-accent);
}

.global-search-option-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.global-search-option-media.is-avatar {
  border-radius: 50%;
  background: #efedff;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
}

.global-search-option--localities .global-search-option-media {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}

.global-search-option--localities .global-search-option-media svg {
  width: var(--outlo-icon-lg, 20px);
  height: var(--outlo-icon-lg, 20px);
  stroke-width: var(--outlo-icon-stroke, 1.8);
}

.global-search-option-media.is-event-fallback {
  background: color-mix(in srgb, var(--search-category-color) 12%, #fff);
  border-color: color-mix(in srgb, var(--search-category-color) 30%, #dbe4ef);
  color: color-mix(in srgb, var(--search-category-color) 84%, #0f172a);
}

.global-search-option--events {
  grid-template-columns: 96px minmax(0, 1fr) 18px;
  min-height: 66px;
}

.global-search-option--events .global-search-option-media.is-event,
.global-search-option--events .global-search-option-media.is-event-fallback {
  width: 96px;
  height: 54px;
  border-radius: 8px;
}

.global-search-option--events .global-search-option-media.is-event-fallback .category-art {
  transform: scale(var(--search-category-art-scale, 1));
  transform-origin: center;
  color: inherit;
}

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-hudebni { --search-category-art-scale: 1.03; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-festivaly { --search-category-art-scale: 1.1; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-kulturni { --search-category-art-scale: 1.2; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-sport { --search-category-art-scale: 1.22; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-auto-moto { --search-category-art-scale: 1.08; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-gastro { --search-category-art-scale: .94; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-trhy { --search-category-art-scale: 1.14; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-priroda { --search-category-art-scale: 1.06; }

.global-search-option--events .global-search-option-media.is-event-fallback .category-art-ostatni { --search-category-art-scale: 1.04; }

.global-search-option-media.is-event-fallback svg,
.global-search-option-media.is-icon svg,
.global-search-option-arrow {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-search-option-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.global-search-option-copy strong,
.global-search-option-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-search-option-copy strong {
  color: #172033;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.global-search-option-copy > span {
  color: #718096;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.3;
}

.global-search-option-title-text {
  color: inherit;
  font: inherit;
}

.global-search-match {
  color: var(--outlo-brand-text);
  font-weight: 700;
}

.global-search-option-arrow {
  color: #94a3b8;
}

.global-search-state {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 24px 18px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

.global-search-state strong {
  color: #344158;
  font-size: 13px;
  font-weight: 680;
}

.global-search-state-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 3px;
  border-radius: 50%;
  background: #f1f0ff;
  color: var(--outlo-brand-accent);
}

.global-search-state-icon svg {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;

  stroke-linejoin: round;
}

.global-search-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  margin: 10px -8px -7px;
  padding: 0 15px;
  border-top: 1px solid rgba(226, 232, 240, .74);
  border-radius: 0 0 18px 18px;
  background: rgba(248, 249, 255, .74);
  color: var(--outlo-brand-text);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
}

.global-search-all-copy {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}

.global-search-all-copy svg {
  width: var(--outlo-icon-sm, 16px);
  height: var(--outlo-icon-sm, 16px);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--outlo-icon-stroke, 1.8);
  stroke-linecap: round;

  stroke-linejoin: round;
}

.global-search-all:hover {
  color: var(--outlo-brand-text-hover);
}

.detail-ticket-action:not([hidden]) {
  display: grid;
  min-width: 0;
}

.detail-ticket-action .detail-ticket-link {
  width: 100%;
  min-height: 44px;
  border-radius: 11px;
  border: 1px solid var(--outlo-brand-border);
  background: var(--outlo-brand-soft);
  color: var(--outlo-brand-text);
  font-weight: 650;
  box-shadow: none;
}

.detail-ticket-action .detail-ticket-link:hover {
  border-color: var(--outlo-brand-border-hover);
  background: var(--outlo-brand-soft-hover);
  color: var(--outlo-brand-text-hover);
  box-shadow: none;
}

.detail-ticket-action .detail-ticket-link:focus-visible {
  outline: 3px solid var(--outlo-brand-accent);
  outline-offset: 3px;
}

.detail-ticket-action .detail-ticket-domain {
  display: block;
  margin-top: 3px;
  color: #6b638b;
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.organizer-name-line,
.public-organizer-name-line,
.global-search-option-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.public-organizer-name-line h1 {
  margin: 0;
}

.organizer-verified-badge {
  position: relative;
  display: inline-grid;
  width: 17px;
  height: 17px;
  place-items: center;
  flex: 0 0 17px;
  color: var(--outlo-brand-text);
  vertical-align: -2px;
}

.organizer-verified-badge svg {
  display: block;
  width: 17px;
  height: 17px;
  overflow: visible;
}

.organizer-verified-seal {
  fill: currentColor;
  stroke: #fff;
  stroke-width: .45;
  stroke-linejoin: round;
}

.organizer-verified-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}


@media (hover: hover) and (pointer: fine) {
.organizer-verified-badge::after {
    content: "Ověřený pořadatel";
    position: absolute;
    z-index: 1500;
    left: 50%;
    bottom: calc(100% + 8px);
    width: max-content;
    max-width: 180px;
    padding: 6px 8px;
    border: 1px solid rgba(148, 163, 184, .20);
    border-radius: 7px;
    background: #172033;
    color: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .16);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 3px);
    transition: opacity .14s ease, transform .14s ease;
    visibility: hidden;
  }

.organizer-verified-badge:hover::after,
.organizer-verified-badge:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
  }

}
.user-menu-identity {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 10px 11px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(148, 163, 184, .2);
}

.user-menu-identity .nav-user-avatar {
  width: 40px;
  height: 40px;
}

.user-menu-identity-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.user-menu-identity-copy strong,
.user-menu-identity-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-identity-copy strong {
  color: #182033;
  font-size: 14px;
  font-weight: 680;
}

.user-menu-identity-copy small {
  color: #738096;
  font-size: 12px;
}

.user-menu-section-label {
  margin-top: 8px;
  padding: 12px 11px 4px;
  border-top: 1px solid var(--line);
  color: #738096;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

:is(.topbar.app-topbar, .admin-modern) #userMenuBadge:not([hidden]) {
  position: absolute;
  z-index: 3;
  top: var(--profile-badge-top, -6px);
  left: var(--profile-badge-left, 25px);
  right: var(--profile-badge-right, auto);
  display: inline-grid !important;
  min-width: var(--profile-badge-size, 19px);
  height: var(--profile-badge-size, 19px);
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #e23b62 !important;
  color: #fff !important;
  box-shadow: var(--profile-badge-shadow, 0 2px 7px rgba(159, 18, 57, .22)) !important;
  font-size: 10px;
  font-weight: var(--profile-badge-weight, 850);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}


@media (min-width: 901px) {
.topbar.app-topbar #userMenuButton {
    position: relative;
    max-width: 190px;
    min-width: 0;
    overflow: visible;
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
  }

.topbar.app-topbar #userMenuButton[aria-expanded="true"] {
    border-color: rgba(99, 102, 241, .34) !important;
    background: #f7f7ff !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .08) !important;
  }

.topbar.app-topbar #userMenuButton .nav-chevron {
    transition: transform .16s ease;
  }

.topbar.app-topbar #userMenuName {
    min-width: 0;
    max-width: 104px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.topbar.app-topbar #userMenuButton[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
  }


}

/* Mobile navigation keeps the brand visible while moving account details into the menu. */
@media (max-width: 900px) {
:root { --topbar-height: 66px; }

.topbar.app-topbar {
    min-height: 66px !important;
    height: 66px !important;
    padding: 6px 10px !important;
    column-gap: 8px !important;
  }

.topbar.app-topbar .brand-text-only {
    width: 110px !important;
    min-width: 110px !important;
    min-height: 34px !important;
  }

.topbar.app-topbar .top-actions {
    gap: 8px !important;
  }

.topbar.app-topbar #newEventButton {
    min-height: 42px !important;
    height: 42px !important;
    padding: 6px 11px 6px 8px !important;
    gap: 6px !important;
  }

.topbar.app-topbar #newEventButton > span {
    font-size: 0 !important;
  }

.topbar.app-topbar #newEventButton > span::after {
    content: "Přidat";
    font-size: 13px;
    font-weight: 650;
  }

.topbar.app-topbar #loginLink,
.topbar.app-topbar #userMenu,
.topbar.app-topbar #userMenuButton {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    flex: 0 0 42px !important;
  }

.topbar.app-topbar #loginLink,
.topbar.app-topbar #userMenuButton {
    display: grid !important;
    place-items: center;
    position: relative;
    overflow: visible;
  }

.topbar.app-topbar #loginLink[hidden],
.topbar.app-topbar #userMenu[hidden] {
    display: none !important;
  }

.topbar.app-topbar #loginLink > span,
.topbar.app-topbar #userMenuName,
.topbar.app-topbar #userMenuBadge[hidden] {
    display: none !important;
  }

.topbar.app-topbar #userMenuButton {
    --profile-badge-top: -5px;
    --profile-badge-left: auto;
    --profile-badge-right: -5px;
    --profile-badge-size: 18px;
    --profile-badge-weight: 800;
    --profile-badge-shadow: 0 2px 6px rgba(159, 18, 57, .24);
  }

.topbar.app-topbar #userMenuButton .nav-chevron,
.topbar.app-topbar #loginLink::after {
    position: absolute;
    z-index: 2;
    right: -2px;
    bottom: -2px;
    display: grid !important;
    width: 15px !important;
    height: 15px !important;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #eef0ff;
    color: var(--outlo-brand-accent);
    box-shadow: 0 1px 4px rgba(15, 23, 42, .16);
    pointer-events: none;
  }

.topbar.app-topbar #userMenuButton .nav-chevron {
    padding: 2px;
    stroke-width: 2.5;
  }

.topbar.app-topbar #loginLink::after {
    content: "";
    background-color: #eef0ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235146dc' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 11px 11px;
  }

.topbar.app-topbar #loginLink::before,
.topbar.app-topbar #userMenu::before {
    content: none !important;
    display: none !important;
  }

.topbar.app-topbar #loginLink .nav-icon {
    width: 20px !important;
    height: 20px !important;
  }

.topbar.app-topbar #userMenuButton .nav-user-avatar {
    width: 34px;
    height: 34px;
  }

.topbar.app-topbar .user-menu-identity {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 11px 12px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(148, 163, 184, .2);
  }

.topbar.app-topbar .user-menu-identity .nav-user-avatar {
    width: 36px;
    height: 36px;
  }

.topbar.app-topbar .user-menu-identity-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
  }

.topbar.app-topbar .user-menu-identity-copy strong,
.topbar.app-topbar .user-menu-identity-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

.topbar.app-topbar .user-menu-identity-copy strong {
    color: #182033;
    font-size: 14px;
    font-weight: 650;
  }

.topbar.app-topbar .user-menu-identity-copy small {
    color: #738096;
    font-size: 12px;
  }

}
.topbar.app-topbar .global-search-suggestions:not([hidden]),
.global-search-host .global-search-suggestions:not([hidden]) {
  display: block !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 900px) {
.topbar.app-topbar .mobile-search-toggle,
.global-search-host .mobile-search-toggle {
    display: inline-grid !important;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0 !important;
    border: 1px solid rgba(148, 163, 184, .28) !important;
    border-radius: 13px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #334155 !important;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .09) !important;
  }

.topbar.app-topbar .mobile-search-toggle[aria-expanded="true"],
.global-search-host .mobile-search-toggle[aria-expanded="true"] {
    border-color: rgba(79, 70, 229, .34) !important;
    background: #f3f2ff !important;
    color: var(--outlo-brand-accent) !important;
  }

.topbar.app-topbar .topbar-search.is-mobile-open,
.global-search-host .topbar-search.is-mobile-open {
    position: fixed !important;
    z-index: 1800 !important;
    top: calc(var(--topbar-height) + 8px) !important;
    right: auto !important;
    left: 12px !important;
    display: flex !important;
    width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }

.topbar-search.is-mobile-open input {
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 82px 10px 45px !important;
    border: 1px solid rgba(148, 163, 184, .34) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .16) !important;
  }

.topbar-search.is-mobile-open .topbar-search-clear {
    right: 44px;
  }

.topbar-search.is-mobile-open .mobile-search-close {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 7px;
    display: inline-grid !important;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    box-shadow: none;
    transform: translateY(-50%);
  }

.topbar-search.is-mobile-open .mobile-search-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

.topbar-search.is-mobile-open .global-search-suggestions {
    top: calc(100% + 7px);
    max-height: calc(100dvh - var(--topbar-height) - 82px);
    border-radius: 14px;
  }

}
.global-search-option--events {
  grid-template-columns: 86.4px minmax(0, 1fr) 18px;
}

.global-search-option--events .global-search-option-media.is-event,
.global-search-option--events .global-search-option-media.is-event-fallback {
  width: 86.4px;
  height: 54px;
  aspect-ratio: 16 / 10;
}

.search-event-media:not(.has-image) {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.search-event-media.has-image {
  display: block;
  min-height: 0;
}

.search-event-primary-image {
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.search-event-thumbs img {
  aspect-ratio: 16 / 9;
}

.search-results-compact .search-event-detail {
  grid-template-columns: 112px minmax(0, 1fr);
}

.search-results-compact .search-event-media,
.search-results-compact .search-event-primary-image {
  width: 112px;
  min-height: 0;
  height: 63px;
  max-height: none;
  aspect-ratio: 16 / 9;
}

.public-organizer-event {
  grid-template-columns: 128px minmax(0, 1fr) 22px;
}

.public-organizer-event img,
.public-organizer-event-placeholder {
  width: 128px;
  height: 72px;
  aspect-ratio: 16 / 9;
}


@media (max-width: 900px) {
.search-results-compact .search-event-detail {
    grid-template-columns: 100px minmax(0, 1fr);
  }

.search-results-compact .search-event-media,
.search-results-compact .search-event-primary-image {
    width: 100px;
    height: 56.25px;
  }

.public-organizer-event {
    grid-template-columns: 96px minmax(0, 1fr) 18px;
  }

.public-organizer-event img,
.public-organizer-event-placeholder {
    width: 96px;
    height: 54px;
  }

}
.events-heading .event-ranking-hint {
  margin: 4px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
}


/* Keep the signed-in bell slot stable while its module loads. */
@media (min-width: 1051px) {
.topbar.app-topbar.has-session-token .top-actions {
    gap: 8px !important;
  }

.topbar.app-topbar.has-session-token #userMenu {
    margin-left: 0 !important;
  }

.topbar.app-topbar.has-session-token #notificationBell[hidden] {
    display: flex !important;
    visibility: hidden;
    flex: 0 0 44px;
    width: 44px;
  }

}
:is(.category-badge, .detail-category-badge) { border: 0; }

.event-status-badge {
  --badge-glow-color: #6366f1;
  --event-badge-shadow: 0 0 4px color-mix(in srgb, var(--badge-glow-color) 64%, transparent),
    0 0 15px color-mix(in srgb, var(--badge-glow-color) 46%, transparent),
    0 0 24px color-mix(in srgb, var(--badge-glow-color) 24%, transparent);
  box-shadow: var(--event-badge-shadow);
}

.event-status-badge.is-outlo-tip { --badge-glow-color: #059669; }

.event-status-badge.is-paid-top { --badge-glow-color: #facc15; }

.event-status-badge.is-top-event { --badge-glow-color: #6366f1; }

@media (forced-colors: active) {
.event-status-badge {
    --event-badge-shadow: none;
  }

}
