/* Use a real sans-serif stack for every element, including headings and controls
   whose font shorthand in app.css would otherwise fall back to the browser serif. */
*,*::before,*::after{font-family:Arial,Helvetica,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important}
html{font-size:15px}
body{font-size:14px;line-height:1.45}
h1{font-size:clamp(1.5rem,2vw,1.9rem)!important;line-height:1.2}
h2{font-size:1.15rem!important;line-height:1.25}
h3{font-size:1rem!important}
.eyebrow,.nav-label{font-size:11px;letter-spacing:.07em}
.nav-item,.button,.form-card label,.contact-card label,.section-head p,.performer-header p,.subhead{font-size:13px}
.status-pill,.today,.event-meta,.stat-foot,.venue-copy small,.profile-copy,.workspace small{font-size:11px}
.content{padding:26px 30px 34px}
.topbar{height:58px;padding:0 28px}
.sidebar{padding:18px 12px 12px}
.brand{margin-bottom:18px;font-size:20px;letter-spacing:0}
.workspace{padding:8px;margin-bottom:18px;font-size:13px;min-width:0}
.workspace>span:last-child{min-width:0;overflow-wrap:anywhere}
.workspace small{font-size:11px}
.nav-item{padding:9px 10px}
.nav-label.second{padding-top:16px}
.page-head{margin-bottom:20px}
.page-head h1{margin:7px 0 4px}
.stats{gap:10px;margin-bottom:24px}
.stat-card{padding:13px 14px;min-height:100px}
.section-head{margin-bottom:10px}
.event-card,.venue-card,.form-card{padding:12px 14px}
.form-grid{gap:12px;margin-top:14px}
.form-card input,.form-card select,.form-card textarea,.contact-card input,.contact-card select,.contact-card textarea{padding:8px 9px;font-size:13px}
.button{padding:9px 12px;gap:7px}
.contact-card{padding:22px}
.contact-grid{gap:11px;margin:18px 0}
.contact-field{display:grid;gap:6px;align-content:start;min-width:0}
.field-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.internal-form-actions{display:flex;justify-content:flex-end;margin-bottom:8px}
.field-label{display:flex;align-items:baseline;gap:4px;flex-wrap:wrap;color:#454550;font-size:14px;font-weight:600;line-height:1.35}
.contact-card label.field-label{display:flex!important}
.field-heading .field-label{flex:1;min-width:0}
.field-lock-control{display:inline-flex!important;align-items:center;gap:4px!important;flex:0 0 auto;width:auto!important;color:#6d6878!important;font-size:11px!important;font-weight:500!important;white-space:nowrap;cursor:pointer}
.contact-card .field-lock-control input{width:15px!important;height:15px;margin:0;accent-color:var(--purple);flex:0 0 15px}
.field-not-lockable{flex:0 0 auto;color:#9b98a4;font-size:10px;line-height:1.3;text-align:right}
.required-mark{display:inline!important;color:#d14a4a;font-size:15px!important;font-weight:700;margin-left:4px}
.yesno-options{display:flex;align-items:center;gap:14px;min-height:34px}
.checkbox-option{display:inline-flex!important;align-items:center;justify-content:flex-start;gap:7px!important;width:auto!important;color:#454550!important;font-size:14px!important;font-weight:400!important;line-height:1.25;cursor:pointer}
.contact-card .checkbox-option input{width:17px!important;height:17px;margin:0;accent-color:var(--purple);flex:0 0 17px}
.choice{display:inline-flex!important;align-items:center;gap:7px!important;width:auto!important;line-height:1.3}
.form-card .choice input,.choice input{width:17px!important;height:17px;margin:0;flex:0 0 17px;accent-color:var(--purple)}
.option-help{display:grid;gap:10px;margin-top:14px}
.rider-download-link{display:block;flex:0 0 100%;padding:8px 0;border-bottom:1px solid #e7e7ed;line-height:1.35}
.rider-download-link:last-child{border-bottom:0}
.uploaded-file{display:flex;align-items:center;gap:8px;min-width:0}
.uploaded-file .file-link{min-width:0;flex:1;overflow-wrap:anywhere}
.delete-upload{width:26px;height:26px;flex:0 0 26px;border:1px solid #eee0e0;border-radius:6px;background:#fff7f7;color:#a64b4b;cursor:pointer;font-size:18px;line-height:1}
.delete-upload:hover{background:#fbeaea}
.schedule-row{display:grid;grid-template-columns:104px 104px minmax(120px,1fr) 22px;gap:6px;align-items:center}
.schedule-row input[type="time"]{width:100%;min-width:0;padding-left:7px;padding-right:3px}
.schedule-row .remove-row{position:static}
.schedule-row input[name="schedule_activity"]{grid-column:auto;grid-row:auto}
.contact-field[hidden]{display:none!important}
.standalone-label{gap:7px;margin-top:12px;font-size:13px}
.choice-list,.lock-grid{gap:7px;margin:7px 0}
.choice{padding:6px 8px}
.schedule-rows{gap:6px}
.venue-rider-list{gap:8px;padding:9px;margin:12px 0}
.event-settings,.rider-card{margin-top:14px}
.rider-upload{margin-top:16px}
.logout-button{border:0;background:transparent;color:#777;cursor:pointer;font-size:17px;padding:4px}
.profile form{margin-left:auto}
.venue-copy a{color:inherit;text-decoration:none}
.venue-copy a:hover{color:var(--purple)}
.page-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.venue-card form{margin-left:4px}
.answers{margin-top:18px}
.answers h2{grid-column:1/-1}
.guest-main{width:100%;min-width:0}
.guest-main .content{max-width:1000px}

@media(max-width:680px){
  .shell{display:block;min-height:100vh}
  .sidebar{width:100%;height:auto;min-height:0;padding:8px 10px 0;display:grid;grid-template-columns:1fr;gap:7px;border-right:0;border-bottom:1px solid var(--line)}
  .brand{min-width:0;margin:0 2px;gap:8px;font-size:18px}
  .brand>span:not(.brand-icon){display:block!important;font-size:16px;line-height:1.1;white-space:nowrap}
  .brand small{font-size:8px;margin-top:2px}
  .brand-icon{width:29px;height:29px;flex:0 0 29px}
  .workspace{display:none}
  .sidebar nav{display:flex;gap:5px;margin:0 -10px;padding:0 10px 8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;white-space:nowrap}
  .sidebar nav .nav-label{display:none}
  .sidebar nav .nav-item{display:block;flex:0 0 auto;padding:7px 9px;font-size:12px!important;line-height:1.2;border-radius:7px}
  .sidebar-bottom{display:flex;align-items:center;justify-content:flex-end;margin:0;min-height:0}
  .help-card{display:none}
  .profile{width:100%;justify-content:flex-end;padding:5px 2px;border-top:0;gap:7px}
  .avatar{width:25px;height:25px;flex:0 0 25px}
  .profile-copy{display:block;font-size:11px}
  .profile form{margin-left:0}
  .main{width:100%}
  .topbar{height:48px;padding:0 12px}
  .crumb{font-size:10px}
  .crumb span{padding:0 5px}
  .top-actions{gap:7px}
  .content{padding:16px 11px 22px}
  .page-head{align-items:flex-start;gap:9px;margin-bottom:14px}
  .page-head h1{font-size:21px!important}
  .page-head>.button{padding:7px 9px;font-size:11px;white-space:nowrap}
  .stats{gap:7px;margin-bottom:17px}
  .stat-card{padding:9px;min-height:82px}
  .stat-top{font-size:9px}
  .stat-value{font-size:21px}
  .stat-foot{font-size:10px}
  .section-head{margin-bottom:8px}
  .event-card{grid-template-columns:42px minmax(0,1fr) 18px;padding:9px;gap:8px}
  .event-date{height:44px}
  .event-title h3{font-size:12px}
  .event-meta{font-size:10px;gap:4px 8px}
  .progress-block{grid-column:2/4;padding-top:2px}
  .form-grid,.contact-grid{grid-template-columns:1fr;gap:9px}
  .form-card{padding:13px}
  .form-card label,.contact-card label,.subhead{font-size:13px}
  .form-card input,.form-card select,.form-card textarea,.contact-card input,.contact-card select,.contact-card textarea{padding:8px;font-size:14px}
  .form-actions{margin-top:14px;gap:10px}
  .venue-layout{grid-template-columns:1fr;gap:10px}
  .venue-card{gap:8px;padding:9px}
  .venue-card form{margin-left:auto}
  .contact-shell{margin:10px auto}
  .contact-card{padding:15px 12px}
  .contact-card h1{font-size:22px!important}
  .contact-grid{margin:13px 0}
  .answers{grid-template-columns:1fr}
  .copy-link{align-items:flex-start;flex-direction:column;gap:7px;margin:9px 0 14px;padding:9px}
  .performer-row{grid-template-columns:20px minmax(0,1fr);gap:8px;padding:9px}
  .performer-row label{grid-column:2!important}
  .page-actions{justify-content:flex-start}
  .schedule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 22px;gap:5px}
  .schedule-row{grid-template-columns:92px 92px minmax(0,1fr) 20px;gap:4px}
  .schedule-row input[name="schedule_activity"]{grid-column:auto;grid-row:auto}
  .schedule-row .remove-row{position:static}
  .rider-upload{grid-template-columns:1fr}
}
.event-list-tools{display:grid;gap:8px;justify-items:end}.event-period,.event-sorts{display:flex;flex-wrap:wrap;gap:6px}.filter.active{background:var(--purple-soft);color:var(--purple-hover);border-color:#dfddff}
.url-link,.file-link,.rider-download-link,.preset-file a,.answers a{display:inline-flex!important;align-items:center;gap:7px;width:max-content;max-width:100%;padding:2px 8px!important;margin:0 4px 4px 0!important;border:1px solid color-mix(in srgb,var(--purple) 35%,white)!important;border-radius:7px!important;background:#f1f0f8;color:#585372!important;text-decoration:none!important;font-size:10px!important;font-weight:700!important;line-height:1.35}.url-link::after,.rider-download-link:not(.file-link)::after{content:"↗";font-size:12px;color:inherit}.file-link::after,.rider-download-link.file-link::after,.preset-file a::after,.answers a::after{content:"↓";font-size:12px;color:inherit}.rider-download-link{flex:0 1 auto!important;border:1px solid color-mix(in srgb,var(--purple) 35%,white)!important}.uploaded-file .file-link{overflow-wrap:anywhere}
.delete-upload,.remove-row,.delete-action{display:inline-grid;place-items:center;width:20px;height:20px;min-width:20px;flex:0 0 20px;padding:0;border:0;border-radius:50%;background:#f9e9e9;color:#b64c4c;cursor:pointer;font-size:14px;line-height:1;text-decoration:none}.delete-upload:hover,.remove-row:hover,.delete-action:hover{background:#e54848;color:white}.delete-upload:disabled,.remove-row:disabled{opacity:.45;cursor:not-allowed}
.schedule-row{grid-template-columns:83px 83px minmax(120px,1fr) 20px}.performer-question-label{max-width:520px}.event-list-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:0 0 13px}.event-period,.event-sorts{display:flex;flex-wrap:wrap;gap:5px}.event-list-tools .filter{padding:6px 10px;border:1px solid #e5e3ec;border-radius:999px;background:#fff;color:#5d596b;font-size:10px;font-weight:600;text-decoration:none}.event-list-tools .filter.active{border-color:#c9c6dd;background:#f1f0f7;color:#464253}
a{color:inherit;text-decoration:none}
.preset-option-details{display:grid;gap:4px;margin-top:7px;color:#696675;font-size:10px;line-height:1.4}.preset-option-edit{flex:0 0 100%;margin:6px 0}.preset-option-edit summary{cursor:pointer;color:#605a72;font-size:11px;font-weight:700}.preset-option-edit form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0 0}.preset-option-edit form label{display:grid;gap:4px;color:#555560;font-size:10px}.preset-option-edit form input,.preset-option-edit form select,.preset-option-edit form textarea{width:100%;min-width:0;border:1px solid #e6e6eb;border-radius:6px;padding:7px;font:400 11px 'DM Sans'}.preset-option-edit form button{justify-self:start}.preset-option-card{flex-wrap:wrap}
@media(max-width:680px){.event-list-tools{justify-content:flex-start}.event-period,.event-sorts{gap:5px}.event-list-tools .filter{padding:6px 8px}.venue-create label{margin-bottom:4px}.schedule-row{grid-template-columns:83px 83px minmax(80px,1fr) 20px;gap:4px}.preset-option-edit form{grid-template-columns:1fr}}
.venue-rider-list{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px}.venue-rider-list>strong{display:block}.venue-rider-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.preset-static-data{display:grid;gap:4px;color:#5e5a68;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.preset-static-data .url-link,.preset-static-data .file-link{width:max-content;max-width:100%}

/* Keep long URLs and file names inside their cards without widening the layout. */
.url-link,.file-link,.rider-download-link,.preset-file a,.answers a{box-sizing:border-box;min-width:0;width:fit-content;max-width:100%;overflow-x:hidden;overflow-y:hidden;overflow-wrap:anywhere;word-break:break-word}
.venue-copy,.answers,.preset-static-data{min-width:0;max-width:100%}

/* User-configurable brand theme and responsive navigation. */
.brand-icon,.primary{background:var(--purple)!important}
.primary:hover{background:var(--purple-hover)!important}
.nav-item.active,.workspace-mark,.venue-icon,.empty-icon{background:var(--purple-soft)!important;color:var(--purple)!important}
.help-card a,.venue-copy a:hover{color:var(--purple)!important}
.form-card input:focus,.form-card select:focus,.form-card textarea:focus,.contact-card input:focus,.contact-card select:focus,.contact-card textarea:focus{border-color:var(--purple)!important;box-shadow:0 0 0 3px var(--purple-soft)!important}
.url-link,.file-link,.rider-download-link,.preset-file a,.answers a{border-color:color-mix(in srgb,var(--purple) 20%,white)!important;background:var(--purple-soft)!important;color:var(--purple)!important;min-width:0;max-width:100%;overflow-x:hidden;overflow-y:hidden;overflow-wrap:anywhere;word-break:break-word}
.filter.active,.event-list-tools .filter.active{background:var(--purple-soft)!important;border-color:color-mix(in srgb,var(--purple) 25%,white)!important;color:var(--purple)!important}
.sidebar-header-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.mobile-profile{display:none}
.crumb{display:flex;align-items:center;gap:0;min-width:0;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.crumb::-webkit-scrollbar{display:none}
.crumb a{color:inherit;text-decoration:none}
.crumb a:hover{color:var(--purple)}
.crumb-separator{padding:0 8px;color:#d1d1d5}
.crumb-current{color:#44444e;font-weight:600}
.contact-form-actions{justify-content:flex-start;flex-wrap:wrap;gap:8px;margin-top:16px}
.theme-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.theme-settings input[type=color]{width:100%;height:42px;padding:4px;cursor:pointer}
.performer-search{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;margin-bottom:14px}
.performer-search-actions{display:flex;gap:6px;grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap}
.performer-directory-list{display:grid;gap:8px}
.performer-directory-card{display:grid;grid-template-columns:minmax(130px,1.25fr) repeat(4,minmax(0,1fr));gap:12px;align-items:start;min-width:0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}
.performer-directory-card>div{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}
.performer-directory-card small,.performer-directory-card span{font-size:10px;color:#898894}
.performer-directory-card strong{font-size:11px;font-weight:600}
.performer-directory-card .performer-directory-name a{color:var(--purple);font-weight:700;text-decoration:none}
.pagination{display:flex;justify-content:center;align-items:center;gap:12px;margin:16px 0}
.pagination>span{font-size:11px;color:#777}
.help-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.help-page-grid .form-card{min-width:0}
.help-page-grid p{color:#777783;font-size:12px;line-height:1.65;margin:10px 0 14px}
.help-page-grid code{color:var(--purple);font-weight:700;overflow-wrap:anywhere}
.sheet-column-settings{border-top:1px solid var(--line);padding-top:16px;margin-top:4px}
.sheet-column-settings h2{font-size:14px;margin:0 0 5px}
.sheet-column-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;margin-top:12px}
.sheet-column-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;border:1px solid var(--line);border-radius:7px;padding:6px 8px}
.sheet-column-row .choice{display:flex;align-items:center;gap:6px;min-width:0;font-size:10px}
.sheet-column-order{display:flex!important;align-items:center;gap:5px;flex:0 0 auto;font-size:9px!important;color:#777!important}
.sheet-column-order input{width:48px!important;padding:5px!important;text-align:center}
.theme-toggle{display:inline-grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:16px;cursor:pointer}
.theme-toggle:hover{background:var(--purple-soft);color:var(--purple)}
.performer-readonly-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 16px;margin-top:12px}
.performer-readonly-grid p{display:grid;gap:4px;margin:0;overflow-wrap:anywhere}
.performer-readonly-grid small{font-size:9px;color:#92929c}
.performer-readonly-grid strong{font-size:11px;font-weight:600}
.organizer-choice-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 12px;margin:12px 0}
.organizer-choice-list .choice{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px}
.organizer-choice-list .choice small{display:block;color:#9999a3;font-size:9px;margin-left:auto;overflow-wrap:anywhere}
html[data-theme="dark"]{color-scheme:dark;--ink:#ededf3;--muted:#a7a8b4;--line:#383a46}
html[data-theme="dark"] body{color:var(--ink)}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .event-card,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .contact-card,html[data-theme="dark"] .venue-card,html[data-theme="dark"] .performer-directory-card,html[data-theme="dark"] .empty,html[data-theme="dark"] .preset-option-card{background:#22232d!important;border-color:var(--line)!important;color:var(--ink)}
html[data-theme="dark"] .workspace,html[data-theme="dark"] .help-card,html[data-theme="dark"] .copy-link,html[data-theme="dark"] .performer-row,html[data-theme="dark"] .sheet-column-row{background:#292a35!important;border-color:var(--line)!important;color:var(--ink)}
html[data-theme="dark"] .form-card input,html[data-theme="dark"] .form-card select,html[data-theme="dark"] .form-card textarea,html[data-theme="dark"] .contact-card input,html[data-theme="dark"] .contact-card select,html[data-theme="dark"] .contact-card textarea,html[data-theme="dark"] .lang select{background:#191a22!important;border-color:#454753!important;color:var(--ink)!important}
html[data-theme="dark"] .button.secondary,html[data-theme="dark"] .filter,html[data-theme="dark"] .theme-toggle{background:#292a35!important;border-color:#454753!important;color:var(--ink)!important}
html[data-theme="dark"] .subhead,html[data-theme="dark"] .crumb,html[data-theme="dark"] .performer-directory-card small,html[data-theme="dark"] .performer-directory-card span,html[data-theme="dark"] .venue-copy small,html[data-theme="dark"] .section-head p,html[data-theme="dark"] .performer-header p,html[data-theme="dark"] .today,html[data-theme="dark"] .contact-foot{color:#aaabb8!important}
html[data-theme="dark"] .form-card label,html[data-theme="dark"] .contact-card label,html[data-theme="dark"] .sheet-column-order{color:#d0d1da!important}
html[data-theme="dark"] .performer-readonly-grid small,html[data-theme="dark"] .organizer-choice-list .choice small{color:#aaabb8!important}
html[data-theme="dark"] .url-link,html[data-theme="dark"] .file-link,html[data-theme="dark"] .rider-download-link,html[data-theme="dark"] .preset-file a,html[data-theme="dark"] .answers a{background:var(--purple-soft)!important;border-color:color-mix(in srgb,var(--purple) 35%,#333541)!important;color:var(--purple)!important}
html[data-theme="dark"] .crumb-current,html[data-theme="dark"] .event-title h3,html[data-theme="dark"] .section-head h2,html[data-theme="dark"] .form-card h2,html[data-theme="dark"] .performer-directory-card strong{color:var(--ink)}
@media(max-width:680px){
 .sheet-column-list{grid-template-columns:1fr}
 .sidebar{gap:6px;padding:8px 10px 0}
 .sidebar-header-row>.brand{min-width:0;margin:0 2px;gap:7px;font-size:17px}
 .sidebar-header-row>.brand>span:not(.brand-icon){font-size:15px;line-height:1.05}
 .sidebar-header-row .brand-icon{width:28px;height:28px;flex:0 0 28px}
 .mobile-profile{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;padding:0;border:0}
 .mobile-profile .profile-copy{display:block;min-width:0;max-width:min(34vw,150px);text-align:right;font-size:10px;line-height:1.15;overflow:hidden}
 .mobile-profile .profile-copy strong,.mobile-profile .profile-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mobile-profile .profile-copy small{font-size:9px;margin-top:2px}
 .mobile-profile .avatar{width:27px;height:27px;flex:0 0 27px;font-size:10px}
 .mobile-profile form{margin:0;flex:0 0 auto}
 .mobile-profile .logout-button{font-size:14px;padding:2px}
 .desktop-profile,.sidebar-bottom{display:none!important}
 .sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:0 0 8px;overflow:visible;white-space:normal}
 .sidebar nav .nav-label{display:none}
 .sidebar nav .nav-item{display:flex;align-items:center;justify-content:center;flex:initial;min-width:0;min-height:34px;padding:6px 4px;font-size:11px!important;line-height:1.2;text-align:center;white-space:normal;overflow-wrap:anywhere;border-radius:7px}
 .crumb{max-width:calc(100vw - 100px);font-size:9px}
 .crumb-separator{padding:0 5px}
 .contact-form-actions{justify-content:flex-start;gap:7px}
 .contact-form-actions .button{flex:0 1 auto;min-height:34px;padding:8px 9px;font-size:11px}
 .theme-settings{grid-template-columns:1fr}
 .performer-readonly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .organizer-choice-list{grid-template-columns:1fr}
 .performer-search{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .performer-search-actions{grid-column:1/-1;justify-content:flex-start}
 .performer-directory-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}
 .performer-directory-card .performer-directory-name{grid-column:1/-1}
 .pagination{justify-content:space-between;gap:6px}
 .help-page-grid{grid-template-columns:1fr;gap:9px}
}
