/* Explicit EventWerk surfaces only; native actions stay in the foreground. */
html[data-ew-hit-admin="1"] .ew-app [data-ew-hit="admin"],
html[data-ew-hit-public="1"] .ew-public [data-ew-hit="public"] {cursor:pointer}
html[data-ew-hit-admin="1"] .ew-app [data-ew-hit="admin"] :is(a,button,label,select),
html[data-ew-hit-public="1"] .ew-public [data-ew-hit="public"] :is(a,button,label,select){cursor:pointer}
html .ew-app [data-ew-native="admin"] {cursor:pointer}
/* Focus must remain visible regardless of hover settings. No additional tab stop. */
html[data-ew-hit-admin="1"] .ew-app [data-ew-hit="admin"]:has(a[data-ew-primary-link]:focus-visible),
html[data-ew-hit-public="1"] .ew-public [data-ew-hit="public"]:has(a[data-ew-primary-link]:focus-visible){outline:2px solid var(--ew-primary,#4f46e5);outline-offset:-2px}
html .ew-app :is(a,button)[data-ew-native="admin"]:focus-visible {outline:2px solid var(--ew-primary,#4f46e5);outline-offset:2px}
html .ew-app [data-ew-hit="admin"] a[data-ew-primary-link]{color:inherit;text-decoration:none}
html .ew-app [data-ew-hit="admin"] a[data-ew-primary-link]:hover{text-decoration:underline;text-underline-offset:3px}
/* Rows are stationary: overlay tint preserves past/cancelled status backgrounds. */
@media (hover:hover) and (pointer:fine){
  html[data-ew-hit-admin="1"][data-ew-hit-hover="1"] .ew-app tr[data-ew-hit="admin"]:hover>td{
    background-image:linear-gradient(rgba(70,90,140,.045),rgba(70,90,140,.045));
    background-image:linear-gradient(color-mix(in srgb,var(--ew-primary,#4f46e5) 8%,transparent),color-mix(in srgb,var(--ew-primary,#4f46e5) 8%,transparent));
  }
  html[data-ew-hit-admin="1"][data-ew-hit-hover="1"] .ew-app tr[data-ew-hit="admin"]:hover>td:first-child{box-shadow:inset 3px 0 var(--ew-primary,#4f46e5)}
  html[data-ew-hit-admin="1"][data-ew-hit-hover="1"] .ew-app .ew-entity[data-ew-hit="admin"]:hover,
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"] .ew-public .ew-live-row[data-ew-hit="public"]:hover{
    background-color:color-mix(in srgb,var(--ew-primary,#4f46e5) 6%,transparent);border-radius:8px;
    box-shadow:inset 2px 0 var(--ew-primary,#4f46e5);
  }
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"] .ew-public .ew-list-item[data-ew-hit="public"]:hover{
    outline:1px solid color-mix(in srgb,var(--ew-primary,#4f46e5) 55%,transparent);outline-offset:-1px;
  }
  html[data-ew-hit-hover="1"] .ew-app [data-ew-native="admin"]:hover{outline:1px solid var(--ew-primary,#4f46e5);outline-offset:-1px}
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"][data-ew-hit-effect="soft"] .ew-public :is(.ew-layout-cards,.ew-dw-frame:not([data-layout="classic"]) .ew-events-list) .ew-list-item[data-ew-hit="public"]:hover{
    transform:translateY(-2px);box-shadow:0 10px 26px rgba(23,36,59,.14);
  }
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"][data-ew-hit-effect="soft"] .ew-public .ew-list-item[data-ew-hit="public"]:hover :is(.ew-list-open,.ew-card-action)>.ew-svg{transform:translateX(2px)}
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"][data-ew-hit-effect="shadow"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
  html[data-ew-hit-hover="1"][data-ew-hit-effect="shadow"] .ew-app [data-ew-native="admin"]:hover{box-shadow:0 10px 24px rgba(23,36,59,.15)!important;transform:none!important}
  html[data-ew-hit-public="1"][data-ew-hit-hover="1"][data-ew-hit-effect="glow"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
  html[data-ew-hit-hover="1"][data-ew-hit-effect="glow"] .ew-app [data-ew-native="admin"]:hover{box-shadow:0 0 0 2px color-mix(in srgb,var(--ew-primary,#4f46e5) 45%,transparent),0 6px 22px color-mix(in srgb,var(--ew-primary,#4f46e5) 18%,transparent)!important;transform:none!important}
}
/* Override older card hover motion only when the new global hover setting/effect requires it. */
html[data-ew-hit-hover="0"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
html[data-ew-hit-hover="0"] .ew-app [data-ew-native="admin"]:hover,
html[data-ew-hit-effect="none"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
html[data-ew-hit-effect="none"] .ew-app [data-ew-native="admin"]:hover,
html .ew-public.ew-motion-off .ew-list-item[data-ew-hit="public"]:hover {transform:none!important;transition:none!important}
html[data-ew-hit-hover="0"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
html[data-ew-hit-effect="none"] .ew-public .ew-list-item[data-ew-hit="public"]:hover,
html[data-ew-hit-hover="0"] .ew-app [data-ew-native="admin"]:hover,
html[data-ew-hit-effect="none"] .ew-app [data-ew-native="admin"]:hover{box-shadow:none!important}
html[data-ew-hit-hover="0"] .ew-app [data-ew-native="admin"]:hover{outline:none}
html .ew-public .ew-list-item[data-ew-hit="public"],html .ew-public .ew-list-item[data-ew-hit="public"] :is(.ew-list-open,.ew-card-action)>.ew-svg{transition:transform .18s ease,box-shadow .18s ease,outline-color .18s ease}
@media (prefers-reduced-motion:reduce){
  html .ew-public .ew-list-item[data-ew-hit="public"],html .ew-public .ew-list-item[data-ew-hit="public"] :is(.ew-list-open,.ew-card-action)>.ew-svg,html .ew-app [data-ew-native="admin"]{transform:none!important;transition:none!important}
}
/* Read-only ticket detail. Personal information remains in the protected admin area. */
.ew-app .ew-ticket-back{margin-bottom:16px;align-self:flex-start}
.ew-app .ew-ticket-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}
.ew-app .ew-ticket-detail-grid>div{padding:12px 0;border-bottom:1px solid var(--ew-border,#e2e8f1);min-width:0}
.ew-app .ew-ticket-detail-grid dt{font-size:12px;color:var(--ew-muted,#64748b);font-weight:650;margin:0 0 5px}
.ew-app .ew-ticket-detail-grid dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:600}
.ew-app .ew-ticket-detail-grid>div:last-child{grid-column:1/-1}
@media(max-width:600px){.ew-app .ew-ticket-detail-grid{grid-template-columns:minmax(0,1fr)}}

/* Motion-off in a calendar also suppresses the arrow movement. */
html .ew-public.ew-motion-off .ew-list-item[data-ew-hit="public"] :is(.ew-list-open,.ew-card-action)>.ew-svg{transform:none!important;transition:none!important}
html[data-ew-hit-hover="0"] .ew-public .ew-dw-frame:not([data-layout="classic"]) .ew-list-item[data-ew-hit="public"]:hover,html[data-ew-hit-effect="none"] .ew-public .ew-dw-frame:not([data-layout="classic"]) .ew-list-item[data-ew-hit="public"]:hover{box-shadow:0 6px 18px color-mix(in srgb,var(--ew-dw-color) 12%,transparent)!important}
html[data-ew-hit-hover="0"] .ew-public .ew-layout-cards .ew-list-item[data-ew-hit="public"]:hover,html[data-ew-hit-effect="none"] .ew-public .ew-layout-cards .ew-list-item[data-ew-hit="public"]:hover{box-shadow:0 10px 30px rgba(15,30,55,.05)!important}
html .ew-app :is(a,button)[data-ew-native="admin"]:focus-visible{outline:2px solid var(--ew-primary,#4f46e5)!important;outline-offset:2px}
