/* Event form (backend + Studio-Dashboard). Scoped to .tpx-evf / .tpx-evd. */
.tpx-evf,.tpx-evd{font:15px/1.55 Arial,Helvetica,sans-serif;color:#111}
.tpx-evf *,.tpx-evd *{box-sizing:border-box}
.tpx-evf [hidden],.tpx-evd [hidden]{display:none!important}
.tpx-evf-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tpx-evf :focus-visible,.tpx-evd :focus-visible{outline:3px solid #ed167d;outline-offset:2px}
.tpx-evf-section{margin:0 0 22px;padding:22px 24px 8px;border:1px solid #e3e3df;background:#fff;min-width:0}
.tpx-evf-section>legend{padding:0 8px;font-size:18px;font-weight:800;letter-spacing:-.02em}
.tpx-evf-section>legend span{color:#d6116f;margin-right:4px}
.tpx-evf-field{margin:0 0 16px;min-width:0}
.tpx-evf-field>label,.tpx-evf-label,.tpx-evf-row label,.tpx-evf-image label{display:block;margin:0 0 5px;font-size:13px;font-weight:800;color:#222}
.tpx-evf-req{color:#d6116f}
.tpx-evf input[type=text],.tpx-evf input[type=url],.tpx-evf input[type=email],.tpx-evf input[type=tel],.tpx-evf input[type=date],.tpx-evf input[type=time],.tpx-evf select,.tpx-evf textarea{width:100%;max-width:100%;min-height:42px;padding:8px 10px;border:1px solid #bdbdb6;border-radius:0;background:#fff;font:inherit;color:#111}
.tpx-evf textarea{min-height:0;resize:vertical}
.tpx-evf input:hover,.tpx-evf select:hover,.tpx-evf textarea:hover{border-color:#111}
.tpx-evf-hint{display:block;margin:4px 0 12px;font-size:13px;color:#5f5f5b;font-weight:400}
.tpx-evf-field>.tpx-evf-hint{margin:5px 0 0}
.tpx-evf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.tpx-evf-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tpx-evf-grid--street{grid-template-columns:minmax(0,1fr) 140px}
.tpx-evf-grid--city{grid-template-columns:140px minmax(0,1fr)}
.tpx-evf-field--end{display:flex;align-items:flex-end}
.tpx-evf-radios{border:0;padding:0}
.tpx-evf-radios legend{padding:0}
.tpx-evf-radios label{display:inline-flex;align-items:center;gap:6px;margin:0 18px 6px 0;font-weight:400}
.tpx-evf-check{display:flex;gap:10px;align-items:flex-start;font-weight:400!important;font-size:14px!important}
.tpx-evf-check input{margin-top:3px;flex:0 0 auto}
.tpx-evf-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 16px;border:2px solid #111;background:#fff;color:#111;font:800 14px/1.2 Arial,Helvetica,sans-serif;cursor:pointer;border-radius:0}
.tpx-evf-secondary:hover{border-color:#ed167d}
.tpx-evf-link{padding:4px 0;border:0;background:none;color:#ad0959;font:700 13px/1.3 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tpx-evf-link:hover{color:#ed167d}
.tpx-evf-upload{position:relative;overflow:hidden}
.tpx-evf-upload input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.tpx-evf-flyer{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 18px;align-items:start}
.tpx-evf-flyer>.tpx-evf-label{grid-column:1/-1}
.tpx-evf-flyer .tpx-evf-thumb{grid-row:span 3}
.tpx-evf-thumb{display:flex;align-items:center;justify-content:center;width:150px;height:200px;background:#f6f6f4;border:1px solid #e3e3df;color:#6b6b6b;font-size:12px;text-align:center}
.tpx-evf-thumb img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.tpx-evf-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px;margin:0 0 12px}
.tpx-evf-image{padding:10px;border:1px solid #e3e3df;background:#fafaf8}
.tpx-evf-image .tpx-evf-thumb{width:100%;height:130px;margin:0 0 8px}
.tpx-evf-days{width:100%;border-collapse:collapse;margin:0 0 8px}
.tpx-evf-days th{text-align:left;font-size:12px;font-weight:800;padding:0 8px 6px 0;color:#444}
.tpx-evf-days td{padding:0 8px 8px 0;vertical-align:top}
.tpx-evf-overnight{display:block;margin-top:3px;font-size:12px;font-weight:800;color:#ad0959}
.tpx-evf-row{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:0 0 10px;padding:10px;border:1px solid #ecece8;background:#fafaf8}
.tpx-evf-row label{flex:1 1 140px;margin:0}
.tpx-evf-row .tpx-evf-grow{flex:3 1 240px}
.tpx-evf-row--single label{flex:1 1 auto}
.tpx-evf .has-error input,.tpx-evf .has-error select,.tpx-evf .has-error textarea{border:2px solid #ed167d;background:#fff7fb}
.tpx-evf .has-error{scroll-margin-top:90px}
.tpx-evf-error{display:block;margin-top:5px;font-size:13px;font-weight:700;color:#ad0959}
.tpx-evf-log{margin:0;padding:0 0 0 18px;font-size:12px}
.tpx-evf-log li{margin:0 0 8px}
/* Dashboard shell */
.tpx-evd-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;margin:0 0 20px}
.tpx-evd-head h2{margin:0 0 8px}
.tpx-evd-back{padding:0;border:0;background:none;color:#ad0959;font:800 14px/1.3 Arial,Helvetica,sans-serif;cursor:pointer;width:100%;text-align:left}
.tpx-evd-notice{margin:0 0 18px;padding:14px 18px;border-left:4px solid #111;background:#f6f6f4}
.tpx-evd-notice.is-error{border:2px solid #ed167d;background:#fff7fb}
.tpx-evd-notice p{margin:0 0 6px;font-weight:700}
.tpx-evd-notice ul{margin:0;padding-left:20px}
.tpx-evd-notice li button{padding:2px 0;border:0;background:none;color:#ad0959;font:700 14px/1.4 Arial,Helvetica,sans-serif;text-align:left;cursor:pointer;text-decoration:underline}
.tpx-evd-list{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:10px}
.tpx-evd-item{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 18px;border:1px solid #e3e3df;background:#fff}
.tpx-evd-item h4{margin:4px 0;font-size:17px;letter-spacing:-.01em;overflow-wrap:anywhere}
.tpx-evd-item p{margin:0;font-size:13px;color:#555}
.tpx-evd-meta span{margin-right:8px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#666}
.tpx-evd-pub{padding:2px 6px;border:1px solid #d7d7d2}
.tpx-evd-pub--live{border-color:#ed167d;color:#ad0959!important}
.tpx-evd-pub--locked{background:#111;color:#fff!important;border-color:#111}
.tpx-evd-lock{margin-top:6px!important;color:#ad0959!important;font-weight:700}
.tpx-evd-actions{display:flex;flex-wrap:wrap;gap:6px}
.tpx-evd-actions a,.tpx-evd-actions button{display:inline-flex;align-items:center;min-height:36px;padding:6px 12px;border:1px solid #111;background:#fff;color:#111;font:700 13px/1.2 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer;border-radius:0}
.tpx-evd-actions a:hover,.tpx-evd-actions button:hover{border-color:#ed167d;color:#ad0959}
.tpx-evd-inline{grid-column:1/-1;padding:14px;background:#fff0f7;border:1px solid #f3ccde}
.tpx-evd-inline p{margin:0 0 10px!important;color:#222!important}
.tpx-evd-inline label{display:block;margin:0 0 10px;font-size:13px;font-weight:700}
.tpx-evd-inline input[type=text],.tpx-evd-inline input[type=date]{display:block;width:100%;max-width:340px;min-height:40px;margin-top:4px;padding:6px 10px;border:1px solid #bdbdb6;border-radius:0}
.tpx-evd-inline-actions{display:flex;flex-wrap:wrap;gap:8px}
.tpx-evd-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:2px solid #111;background:#fff;color:#111;font:800 14px/1.2 Arial,Helvetica,sans-serif;cursor:pointer;border-radius:0}
.tpx-evd-secondary:hover{border-color:#ed167d}
.tpx-evd-bar{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:10px 0 0;padding:14px 18px;background:#111;color:#fff}
.tpx-evd-bar-status{margin:0!important;font-size:13px;color:#ddd!important}
.tpx-evd-bar-actions{display:flex;flex-wrap:wrap;gap:8px}
.tpx-evd-bar .tpx-evd-secondary{background:#111;color:#fff;border-color:#fff}
.tpx-evd-bar .tpx-evd-secondary:hover{border-color:#ed167d}
.tpx-evd-empty{padding:22px;background:#f6f6f4}
.tpx-evd-archive summary{cursor:pointer;font-weight:800;margin:10px 0}
.tpx-evd [aria-busy=true]{cursor:progress}
@media (max-width:767px){
 .tpx-evf-section{padding:18px 14px 4px}
 .tpx-evf-grid,.tpx-evf-grid--3,.tpx-evf-grid--street,.tpx-evf-grid--city{grid-template-columns:minmax(0,1fr)}
 .tpx-evf-flyer{grid-template-columns:minmax(0,1fr)}
 .tpx-evf-flyer .tpx-evf-thumb{grid-row:auto;width:100%;height:220px}
 .tpx-evf-days thead{display:none}
 .tpx-evf-days tr{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 0;border-bottom:1px solid #ecece8}
 .tpx-evf-days td{padding:0}
 .tpx-evf-days td:first-child{grid-column:1/-1}
 .tpx-evd-bar{position:static}
}
@media (prefers-reduced-motion:reduce){.tpx-evd *{scroll-behavior:auto!important}}
/* Meine Eventteilnahmen */
.tpx-pd-state--live{border-color:#ed167d;color:#ad0959!important}
.tpx-pd-state--update{background:#fff0f7;border-color:#ed167d;color:#ad0959!important;font-weight:900}
.tpx-pd-state--locked,.tpx-pd-state--cancelled{background:#111;color:#fff!important;border-color:#111}
.tpx-pd-state--withdrawn,.tpx-pd-state--ended,.tpx-pd-state--offline{background:#f1f1ed;color:#555!important}
.tpx-pd-alert{margin:0 0 18px;padding:12px 16px;background:#fff0f7;border-left:4px solid #ed167d;font-weight:700;color:#3d2a34}
.tpx-pd-closed{margin:16px 0;padding:12px 16px;background:#f1f1ed;border-left:4px solid #111;font-weight:700}
.tpx-pd-days{color:#333!important}
.tpx-pd-fixed{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin:0 0 16px}
.tpx-pd-fixed span{font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#ad0959}
.tpx-pd-fixed strong{font-size:16px}
.tpx-pd-days-field{border:0;padding:0;margin:0 0 18px}
.tpx-pd-days-field .tpx-evf-check{display:flex;gap:10px;align-items:center;min-height:44px;padding:6px 12px;margin:0 0 6px;border:1px solid #e3e3df;background:#fff}
.tpx-pd-form{max-width:760px}
.tpx-pd-artists{display:grid;gap:12px}
.tpx-pd-artist{padding:12px 14px;border:1px solid #e3e3df;background:#fff;display:grid;gap:8px}
.tpx-pd-artist__name small{color:#666;font-weight:400}
.tpx-pd-artist__state{justify-self:start;padding:3px 8px;font-size:12px;font-weight:700;background:#f0f0ed;color:#333}
.tpx-pd-artist__state--active{background:#e7f6ec;color:#185c2c}
.tpx-pd-artist__state--proposed{background:#fff4d6;color:#6b4b00}
.tpx-pd-artist__state--declined{background:#fde8ea;color:#8a1c28}
.tpx-pd-artist__days{display:flex;flex-wrap:wrap;gap:6px 16px;padding-left:26px}
.tpx-pd-artist__place summary{cursor:pointer;font-size:13px;color:#ad0959;padding-left:26px}
.tpx-pd-artist__name{flex-wrap:wrap;align-items:center}
.tpx-pd-artist__name small{flex-basis:100%;padding-left:28px;line-height:1.4}
/* Jobs form (shares the event form styles) */
.tpx-jbf-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:0 10px}
.tpx-jbf [hidden]{display:none!important}
.tpx-jbf-only{margin:0}
