/* Q Hub compatibility aliases resolve through the canonical global theme tokens. */
body.qhub-workspace {
  --tq-bg:var(--tq-surface-page);--tq-surface:var(--tq-surface-default);--tq-surface-soft:var(--tq-surface-subtle);--tq-input:var(--tq-surface-raised);
  --tq-text:var(--tq-text-primary);
  --tq-border:var(--tq-border-subtle);--tq-border-soft:var(--tq-border-muted);--tq-hover:var(--tq-surface-hover);
  --tq-orange:var(--tq-brand-orange);--tq-orange-soft:var(--tq-brand-orange-soft);--tq-error:var(--tq-danger);
  --navy:var(--tq-brand-navy);--navy-deep:var(--tq-surface-page);--panel:var(--tq-surface-default);--panel-soft:var(--tq-surface-subtle);--input:var(--tq-surface-raised);
  --border:var(--tq-border-subtle);--orange:var(--tq-brand-orange);--text:var(--tq-text-primary);--muted:var(--tq-text-muted);--hover:var(--tq-surface-hover);
  --accent-ink:var(--tq-text-on-brand);--success:var(--tq-success);--error:var(--tq-danger);--warning:var(--tq-brand-orange);--qhub-scheme:light;
  background:var(--navy-deep);color:var(--text);color-scheme:var(--qhub-scheme);
}
body.qhub-workspace[data-qhub-theme=night] {
  --qhub-scheme:dark;
}
/* Live Q Hub: reuse yesterday's preview tokens/layout, scoped so public chrome stays intact. */
body.qhub-workspace{
  overflow-x:clip;
}
body.qhub-workspace > header.topbar,
body.qhub-workspace > footer.tq-site-footer{
  display:none !important;
}
body.qhub-workspace #app{
  min-height:100vh;
}

.qhub-shell{
  --radius:18px;
  --qhub-ui-font:var(--tq-font-sans);
  min-height:100vh;
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  background:var(--navy-deep);
  color:var(--text);
  font-family:var(--qhub-ui-font);
}

.qhub-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  min-width:0;
  padding:28px 20px;
  background:var(--panel);
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.qhub-brand{margin:0 4px 28px}
.qhub-brand-logo,
.qhub-product-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:168px;
  object-fit:contain;
  object-position:left center;
}
.qhub-product-logo{max-width:240px;margin:0 0 14px}

.qhub-menu-toggle{
  display:none;
  margin:0 0 14px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:11px;
  background:transparent;
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}
.qhub-sidebar-foot{margin-top:auto;padding-top:18px}
.qhub-sidebar-foot .secondary-action{width:100%}

.qhub-nav{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:6px;
}
.qhub-nav a{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:var(--muted);
  text-align:left;
  font-weight:600;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.qhub-nav-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:20px;height:20px}
.qhub-nav-icon svg{display:block;width:20px;height:20px}
.qhub-nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.qhub-brand-q{display:none}
.qhub-rail-toggle{display:none}
.qhub-sidebar-foot .secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.qhub-nav a:hover{background:var(--hover);color:var(--text)}
.qhub-nav a.active{
  background:rgba(250,101,42,.12);
  color:var(--text);
}
.qhub-nav a.active::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:10px;
  border-radius:50%;
  background:var(--orange);
  vertical-align:middle;
}

.qhub-main{grid-column:2;min-width:0;padding:38px 42px 60px}
.qhub-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}
.qhub-shell .eyebrow{margin:0 0 7px;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:1.7px}
.qhub-header h1{margin:0;font-size:34px;letter-spacing:-1px}
.qhub-shell .subtitle{margin:8px 0 0;color:var(--muted);font-size:14px}
.header-actions{display:flex;gap:10px}

.primary-action,
.secondary-action,
.widget-action,
a.widget-action{
  border-radius:11px;
  padding:11px 16px;
  font-weight:700;
  cursor:pointer;
  display:inline-block;
  text-decoration:none;
}
.primary-action,
.widget-action,
a.widget-action{
  background:var(--orange);
  color:var(--text);
  border:1px solid var(--orange);
}
.secondary-action{
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
}

.qhub-view{display:none}
.qhub-view.active{display:block !important}

.qhub-shell .widget{
  background:linear-gradient(180deg,var(--panel-soft),var(--panel));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 16px 44px var(--input);
}
.qhub-shell .kpi{min-height:112px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}
.qhub-shell .kpi span{color:var(--muted);font-size:13px}
.qhub-shell .kpi strong{font-size:30px;letter-spacing:-1px;position:relative;z-index:1}
.qhub-shell .widget::before,
.qhub-shell .widget::after,
.qhub-shell .kpi::before,
.qhub-shell .kpi::after{
  content:none !important;
  display:none !important;
}
.widget-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.widget-heading h2{margin:3px 0 0;font-size:20px}
.widget-label{color:var(--orange);font-size:10px;font-weight:700;letter-spacing:1.4px}
.widget-heading a,
.widget-heading button{border:0;background:transparent;color:var(--muted);cursor:pointer;text-decoration:none;font-weight:700}
.qhub-shell .widget p{color:var(--muted);font-size:14px}
.event-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--input);
  margin-bottom:10px;
}
.event-row p{margin:4px 0 0}
.empty-panel{
  min-height:220px;
  display:grid;
  place-content:center;
  text-align:center;
  border:1px dashed var(--border);
  border-radius:var(--radius);
  color:var(--muted);
  padding:28px 18px;
}
.empty-panel h2{margin:0 0 8px;color:var(--text)}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-flow:dense;
  grid-auto-rows:minmax(112px,auto);
  gap:14px;
  align-items:stretch;
}
.dashboard-grid > .widget[data-size="small"]{grid-column:span 1;grid-row:span 1}
.dashboard-grid > .widget[data-size="medium"]{grid-column:span 2;grid-row:span 1}
.dashboard-grid > .widget[data-size="large"]{grid-column:span 2;grid-row:span 2}
.dashboard-grid > .widget[data-size="wide"]{grid-column:span 4;grid-row:span 1}
.dashboard-grid > .widget{min-width:0;overflow-wrap:anywhere}

.qhub-table-wrap{width:100%;overflow-x:auto}
.qhub-table{width:100%;border-collapse:collapse;min-width:520px}
.qhub-table th,
.qhub-table td{padding:10px 8px;border-bottom:1px solid var(--border);text-align:left;font-size:13px}
.qhub-table th{color:var(--muted);font-weight:700}

.qhub-account-email{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px 14px;
  padding:8px 0 4px;
  border:0;
  background:transparent;
}
.qhub-account-email .eyebrow{margin:0}
.qhub-account-email strong{font-size:15px}
.qhub-change-email{
  border:0;
  background:transparent;
  color:var(--muted);
  border-radius:9px;
  padding:0;
  font-weight:700;
  cursor:pointer;
  text-decoration:underline;
}
.qhub-welcome{margin:0 0 16px}
.qhub-welcome-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.qhub-welcome-bar h2{margin:0}
.qhub-welcome-toggle{border:0;background:transparent;color:var(--muted);font-weight:700;cursor:pointer}
.qhub-welcome.is-collapsed{padding:12px 16px}
.qhub-welcome .primary-action{margin-top:14px}

.qhub-embed .section-head{color:inherit}
.qhub-embed .wrap{max-width:none;padding:0}
.qhub-embed .panel,
.qhub-embed .card{
  background:var(--input);
  border:1px solid var(--border);
  color:var(--text);
}
.qhub-embed label,
.qhub-embed th{color:var(--muted)}
.qhub-embed input,
.qhub-embed select,
.qhub-embed textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  color:var(--text);
  background:var(--input);
  border:1px solid var(--border);
}
.qhub-embed .table-wrap,
.qhub-embed .detail-grid{overflow-x:auto;min-width:0}
.qhub-embed .qhub-event-manage>.detail-grid{
  grid-template-columns:minmax(0,2fr) minmax(260px,1fr);
  overflow:visible;
}
.qhub-embed .qhub-event-manage>.detail-grid>*{min-width:0}
.qhub-embed .qhub-event-manage .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.qhub-embed .qhub-event-manage .form-grid>.field{min-width:0}
.qhub-embed .qhub-event-manage :is(input,select,textarea){min-width:0}
.qhub-embed .qhub-event-manage input[type=file]{width:100%;max-width:100%}
.qhub-embed .qhub-event-manage .qhub-field-help{max-width:100%;overflow-wrap:anywhere}
.qhub-shell .tq-onboarding-grid input,
.qhub-shell .tq-onboarding-grid select{
  color:var(--text);
  background:var(--input);
  border:1px solid var(--border);
}
.qhub-shell .field.full{grid-column:1/-1}
.qhub-product-identity{max-width:640px}
body.qhub-workspace .reveal,
.qhub-shell .reveal{
  opacity:1 !important;
  transform:none !important;
  animation:none !important;
}
.qhub-embed .qhub-event-manage > .section-head .eyebrow,
.qhub-embed .qhub-event-manage > .section-head h2{display:none}

@media(max-width:1100px){
  .qhub-shell{grid-template-columns:220px 1fr}
  .qhub-main{padding:30px 26px 50px}
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-grid > .widget[data-size="wide"],
  .dashboard-grid > .widget[data-size="large"]{grid-column:span 2;grid-row:span 1}
}

@media(max-width:768px){
  .qhub-shell{display:block}
  .qhub-shell--builder{display:block}
  .qhub-sidebar{position:relative;width:100%;height:auto;padding:16px}
  .qhub-brand{margin:0 0 12px}
  .qhub-brand-logo{max-width:132px}
  .qhub-product-logo{max-width:188px}
  .qhub-menu-toggle{display:inline-flex}
  .qhub-nav{display:none;margin-bottom:8px}
  .qhub-nav.is-open{display:grid}
  .qhub-sidebar-foot{display:none;padding-top:8px}
  .qhub-sidebar:has(.qhub-nav.is-open) .qhub-sidebar-foot{display:block}
  .qhub-main{padding:20px 16px 36px}
  .qhub-header{display:block;margin-bottom:22px}
  .qhub-header h1{font-size:28px}
  .header-actions{margin-top:14px}
  .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-grid > .widget[data-size="small"]{grid-column:span 1;grid-row:span 1}
  .dashboard-grid > .widget[data-size="medium"],
  .dashboard-grid > .widget[data-size="large"],
  .dashboard-grid > .widget[data-size="wide"]{grid-column:span 2;grid-row:span 1}
  .qhub-account-email{flex-direction:column;align-items:stretch}
  .event-row{align-items:flex-start;gap:10px}
  .qhub-nav.is-open{grid-template-columns:minmax(0,1fr)}
}

/* Q Hub event builder: collapse the normal sidebar into a 68-76px icon rail.
   Grid column shrinks so the milestone rail shifts left and the editor gains width. */
.qhub-shell--builder{grid-template-columns:72px minmax(0,1fr)}
.qhub-sidebar--builder{padding:20px 12px;align-items:stretch;overflow:visible}
.qhub-sidebar--builder .qhub-brand{display:flex;justify-content:center;margin:0 0 18px}
.qhub-sidebar--builder .qhub-brand-logo{max-width:132px}
.qhub-sidebar--builder .qhub-brand-q{
  display:none;
  position:relative;width:40px;height:40px;overflow:hidden;
  align-items:center;justify-content:center;
  background:transparent;
}
.qhub-brand-q img{position:absolute;width:84px;height:auto;max-width:none;left:-22.54px;top:-18.77px;filter:none!important;opacity:1!important}
.qhub-sidebar--builder.is-collapsed .qhub-brand-logo{display:none}
.qhub-sidebar--builder.is-collapsed .qhub-brand-q{display:inline-flex}
.qhub-rail-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;margin:0 auto 14px;padding:0;
  border:1px solid var(--border);border-radius:11px;
  background:transparent;color:var(--muted);cursor:pointer;
}
.qhub-rail-toggle:hover{background:var(--hover);color:var(--text)}
.qhub-sidebar--builder.is-collapsed .qhub-rail-toggle span svg{transform:rotate(0deg)}
.qhub-sidebar--builder:not(.is-collapsed) .qhub-rail-toggle span svg{transform:rotate(180deg)}
.qhub-sidebar--builder.is-collapsed .qhub-nav{gap:8px}
.qhub-sidebar--builder.is-collapsed .qhub-nav a,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .secondary-action{
  position:relative;
  justify-content:center;
  padding:12px 0;
}
.qhub-sidebar--builder.is-collapsed .qhub-nav-label,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .qhub-nav-label,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .customize-button{display:none}
.qhub-sidebar--builder.is-collapsed .qhub-nav a .qhub-nav-icon,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .qhub-nav-icon{width:22px;height:22px}
.qhub-sidebar--builder.is-collapsed .qhub-nav a.active{color:var(--orange,#FA652A)}
body.qhub-workspace .qhub-shell--builder .qhub-sidebar--builder.is-collapsed .qhub-nav a.active{color:var(--orange,#FA652A) !important}
.qhub-sidebar--builder.is-collapsed .qhub-nav a.active::before{display:none}
.qhub-sidebar--builder.is-collapsed .qhub-nav a.active .qhub-nav-icon{color:var(--orange,#FA652A)}
.qhub-shell--builder .qhub-workspace-content{max-width:1120px}
.qhub-sidebar--builder.is-collapsed .qhub-nav a:hover::after,
.qhub-sidebar--builder.is-collapsed .qhub-nav a:focus-visible::after,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .secondary-action:hover::after,
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .secondary-action:focus-visible::after{
  content:attr(aria-label);
  position:absolute;left:calc(100% + 22px);top:50%;transform:translateY(-50%);
  padding:7px 10px;border-radius:8px;white-space:nowrap;
  background:var(--panel);color:var(--text);border:1px solid var(--border);font-size:12px;font-weight:600;
  box-shadow:0 8px 22px rgba(0,0,0,.22);z-index:50;pointer-events:none;
}
.qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot{padding-top:12px}
.qhub-sidebar--builder:not(.is-collapsed){width:auto}
.qhub-shell--builder:has(.qhub-sidebar--builder:not(.is-collapsed)){grid-template-columns:240px minmax(0,1fr)}
@media(max-width:1100px){
  .qhub-shell--builder{grid-template-columns:72px minmax(0,1fr)}
  .qhub-shell--builder:has(.qhub-sidebar--builder:not(.is-collapsed)){grid-template-columns:220px minmax(0,1fr)}
}
@media(max-width:768px){
  .qhub-shell--builder,
  .qhub-shell--builder:has(.qhub-sidebar--builder:not(.is-collapsed)){grid-template-columns:minmax(0,1fr)}
  .qhub-sidebar--builder{padding:16px;overflow:hidden}
  .qhub-sidebar--builder .qhub-brand{justify-content:flex-start}
  .qhub-sidebar--builder.is-collapsed .qhub-brand-logo{display:block}
  .qhub-sidebar--builder.is-collapsed .qhub-brand-q{display:none}
  .qhub-rail-toggle{display:none}
  .qhub-sidebar--builder.is-collapsed .qhub-nav-label{display:block}
  .qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .qhub-nav-label{display:block}
  .qhub-sidebar--builder.is-collapsed .qhub-nav a:hover::after,
  .qhub-sidebar--builder.is-collapsed .qhub-nav a:focus-visible::after{display:none}
}

/* Isolate Q Hub from public TicketQ header/font rules. Do not touch public header CSS. */
body.qhub-workspace .qhub-shell,
body.qhub-workspace .qhub-shell :is(button,input,select,textarea,a,p,span,label,strong,h1,h2,h3,h4,th,td){
  font-family:Arial,Helvetica,sans-serif !important;
}
body.qhub-workspace .qhub-shell :is(h1,h2,h3,h4){
  letter-spacing:-.02em;
  font-weight:800;
}
html body.qhub-workspace header.qhub-header{
  position:static !important;
  top:auto !important;
  z-index:1 !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:24px !important;
  margin:0 0 30px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
html body.qhub-workspace header.qhub-header img{
  display:block !important;
}
body.qhub-workspace main.qhub-main,
body.qhub-workspace #app,
body.qhub-workspace .qhub-shell,
body.qhub-workspace .qhub-view{
  background:transparent !important;
}
body.qhub-workspace .qhub-shell{background:var(--navy-deep) !important}
body.qhub-workspace .qhub-sidebar{background:var(--panel) !important}
body.qhub-workspace .qhub-nav{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
}
body.qhub-workspace .qhub-nav a{
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  height:auto !important;
  min-height:0 !important;
  justify-content:flex-start !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  transform:none !important;
  color:var(--muted) !important;
}
body.qhub-workspace .qhub-nav a:hover{
  background:var(--hover) !important;
  color:var(--text) !important;
  transform:none !important;
  box-shadow:none !important;
}
body.qhub-workspace .qhub-nav a.active{
  background:rgba(250,101,42,.12) !important;
  color:var(--text) !important;
}
.qhub-shell .field label{color:var(--muted)}
.auth-shell,
.auth-shell :is(button,input,select,textarea,a,p,span,label,strong,h2){
  font-family:Arial,Helvetica,sans-serif !important;
}
.auth-shell h2{
  font-size:32px !important;
  line-height:1.15 !important;
  letter-spacing:-.02em !important;
}
.tq-code-copy{
  margin:0 0 18px;
  color:var(--muted);
}
.tq-code-input{
  width:100%;
  min-height:64px;
  padding:12px 16px;
  font-size:32px !important;
  line-height:1.1 !important;
  letter-spacing:.28em !important;
  font-weight:700 !important;
  font-family:'Courier New',Courier,monospace !important;
  text-align:center;
  text-transform:none;
}
.tq-code-input.is-invalid{
  border-color:var(--error);
  box-shadow:0 0 0 3px rgba(194,65,12,.18);
}
.tq-code-expiry{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
}
.tq-code-status{
  min-height:1.3em;
  margin:10px 0 0;
}
.tq-code-status.is-invalid,
.tq-code-status.is-expired{
  color:var(--error);
}

@media(max-width:768px){
  body.qhub-workspace .qhub-nav{display:none !important}
  body.qhub-workspace .qhub-nav.is-open{display:grid !important}
  html body.qhub-workspace header.qhub-header{
    display:block !important;
    margin:0 0 22px !important;
  }
}

@media(max-width:520px){
  .dashboard-grid{grid-template-columns:1fr}
  .dashboard-grid > .widget[data-size]{grid-column:span 1;grid-row:span 1}
}

/* Profile page only: identity, form groups, native dropdowns. */
.qhub-shell .widget.qhub-profile{
  max-width:920px;
  padding:24px;
}
.qhub-profile-identity{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 20px;
}
.qhub-profile-photo-col{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0}
.qhub-profile-photo{
  display:grid;
  place-items:center;
  flex:0 0 88px;
  width:88px;
  height:88px;
  overflow:hidden;
  border-radius:50%;
  border:2px solid var(--orange);
  background:var(--panel);
  color:var(--text);
  font-size:28px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1;
}
.qhub-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%;display:block}
.qhub-profile-photo-actions{display:flex;flex-wrap:wrap;gap:8px}
.qhub-photo-file{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.qhub-photo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 12px;
  border:1px solid var(--border);
  border-radius:11px;
  background:transparent;
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}
.qhub-photo-btn:hover{border-color:var(--orange)}
.qhub-welcome-body{overflow:hidden}
.qhub-settings{max-width:720px}
.qhub-settings h2{margin:6px 0 8px}
body.qhub-workspace .qhub-event-milestones{margin:0 0 16px}
body.qhub-workspace .qhub-event-progress{height:4px;overflow:hidden;border-radius:999px;background:var(--border)}
body.qhub-workspace .qhub-event-progress span{display:block;width:0;height:100%;background:var(--orange)}
body.qhub-workspace .qhub-event-milestones p{margin:8px 0 0;color:var(--muted);font-size:13px}
.qhub-review .is-ready{color:var(--success);font-weight:800}
.qhub-review .needs-attention{color:var(--error);font-weight:800}
.qhub-help-list{margin:0;padding-left:18px}
.qhub-help-list li{margin:8px 0}
.qhub-guide{position:fixed;right:16px;bottom:16px;z-index:80;width:min(360px,calc(100vw - 32px));padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--panel);color:var(--text)}
.qhub-guide button{min-height:44px;margin:8px 8px 0 0}
@media(max-width:720px){
 .dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-grid>.widget[data-size]{grid-column:span 2}
 .dashboard-grid>.kpi[data-size=small]{grid-column:span 1;padding:16px}
 .qhub-shell .kpi strong{font-size:28px}
  .qhub-wizard-form{grid-template-columns:1fr}
  .qhub-event-milestones{display:none}
  .qhub-mile-mobile{display:block}
}
.qhub-profile-identity-copy{min-width:0}
.qhub-profile-identity-copy h2{
  margin:4px 0 6px;
  font-size:24px;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.qhub-shell .qhub-profile p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}
.qhub-profile .qhub-account-email{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px 16px;
  margin:0 0 8px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--input);
}
.qhub-profile-email-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.qhub-profile .qhub-account-email strong{
  font-size:16px;
  overflow-wrap:anywhere;
}
.qhub-profile .qhub-change-email{
  min-height:44px;
  padding:0 14px;
  border:1px solid var(--border);
  border-radius:11px;
  background:transparent;
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  transition:border-color .2s ease, background-color .2s ease;
}
.qhub-profile .qhub-change-email:hover{
  border-color:var(--orange);
  background:rgba(250,101,42,.12);
}
.qhub-profile-form{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.qhub-profile-section{
  margin:0;
  padding:16px 0 4px;
  border:0;
  min-inline-size:0;
}
.qhub-profile-section + .qhub-profile-section{
  border-top:1px solid var(--border);
}
.qhub-profile-section legend{
  padding:0;
  color:var(--orange);
  font-size:11px;
  font-weight:700;
  letter-spacing:1.3px;
  text-transform:uppercase;
}
.qhub-profile-hint{margin:6px 0 16px}
.qhub-profile-fields{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.qhub-profile .field label{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}
.qhub-profile-req{
  display:inline-block;
  margin-left:6px;
  color:var(--error);
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  vertical-align:1px;
}
.qhub-profile-confirm{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}
.qhub-profile-confirm-label{
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}
.qhub-profile-confirm-value{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:11px 14px;
  color:var(--text);
  background:var(--input);
  border:1px solid var(--border);
  border-radius:12px;
  overflow-wrap:anywhere;
}
.qhub-profile input,
.qhub-profile select{
  min-height:44px;
  padding:11px 14px;
  color:var(--text);
  background:var(--input);
  border:1px solid var(--border);
  border-radius:12px;
  color-scheme:var(--qhub-scheme);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.qhub-profile input::placeholder{color:var(--muted)}
.qhub-profile select{
  appearance:none;
  padding-right:42px;
  cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d5e2ec' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px 16px;
}
.qhub-profile :is(input,select,button):focus-visible{
  outline:2px solid var(--orange);
  outline-offset:2px;
  border-color:var(--orange);
  box-shadow:0 0 0 4px rgba(250,101,42,.16);
}
.qhub-profile-actions{margin-top:8px}
.qhub-profile-actions .btn.primary{
  width:100%;
  min-height:48px;
  cursor:pointer;
}
.qhub-profile .btn.primary:hover:not(:disabled){transform:none}
.qhub-profile .btn.primary:disabled{cursor:wait;opacity:.72}
.qhub-shell .qhub-profile p.qhub-profile-status{
  min-height:1.4em;
  margin:12px 0 0;
  font-size:14px;
  font-weight:700;
}
.qhub-shell .qhub-profile p.qhub-profile-status.is-ok{color:var(--success)}
.qhub-shell .qhub-profile p.qhub-profile-status.is-error{color:var(--error)}
@media(max-width:720px){
  .qhub-shell .widget.qhub-profile{padding:18px 16px}
  .qhub-profile-identity{align-items:flex-start;gap:14px}
  .qhub-profile-photo{flex-basis:72px;width:72px;height:72px;font-size:24px}
  .qhub-profile .qhub-account-email{grid-template-columns:minmax(0,1fr)}
  .qhub-profile .qhub-change-email{justify-self:start}
  .qhub-profile-fields{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  .qhub-profile :is(input,select,button){transition:none}
}

/* Ticket type cards: allocation belongs to the type, never the phase. */
.qhub-tickets{display:grid;gap:20px;min-width:0;padding:8px 0 16px}
.qhub-ticket-intro h3{font-size:28px;letter-spacing:-.6px;margin:7px 0 10px;color:var(--text)}
.qhub-ticket-intro p,.qhub-phase-heading p,.qhub-ticket-window p{color:var(--muted);line-height:1.55;margin:0;max-width:620px}
.qhub-ticket-eyebrow{font-size:11px;letter-spacing:1.8px;color:var(--orange);font-weight:800}
.qhub-ticket-capacity{display:flex;align-items:center;gap:12px;background:var(--input);border:1px solid var(--border);border-radius:12px;padding:14px 18px;color:var(--muted)}
.qhub-ticket-capacity strong{color:var(--text);white-space:nowrap}
.qhub-ticket-capacity.is-invalid{border-color:var(--error);color:var(--error)}
.qhub-ticket-list{display:grid;gap:20px;min-width:0}
.qhub-ticket-card{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:22px;min-width:0}
.qhub-ticket-card>header{display:flex;gap:12px;align-items:center;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border);flex-wrap:wrap}
.qhub-ticket-number{display:grid;place-items:center;width:34px;height:34px;background:var(--panel-soft);border-radius:9px;color:var(--orange);font-size:12px;font-weight:800}
.qhub-ticket-card h4{font-size:18px;margin:0;flex:1;overflow-wrap:anywhere;min-width:100px}
.qhub-ticket-actions{display:flex;gap:8px;flex-wrap:wrap}
.qhub-tickets button{font:inherit;font-size:13px;font-weight:700;color:var(--text);background:var(--panel-soft);border:1px solid var(--border);border-radius:10px;padding:10px 14px;min-height:44px;cursor:pointer;box-shadow:none;transform:none;transition:none}
.qhub-tickets button:hover{background:var(--hover)}
.qhub-tickets :is(button,input,textarea,summary):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-ticket-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.qhub-ticket-grid>label{font-size:13px;font-weight:600;min-width:0}
.qhub-ticket-grid input,.qhub-ticket-grid textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:15px}
.qhub-ticket-wide{grid-column:1/-1}
.qhub-ticket-muted{font-size:12px;font-weight:400;color:var(--muted)}
.qhub-ticket-mode{border:0;padding:0;margin:0;display:flex;gap:8px;align-items:start;flex-wrap:wrap}
.qhub-ticket-mode legend{font-size:13px;margin-bottom:9px}
.qhub-ticket-mode button{min-width:86px}
.qhub-ticket-mode button[aria-pressed=true]{background:var(--orange);color:var(--accent-ink);border-color:var(--orange)}
.qhub-ticket-hint{font-size:13px;color:var(--muted);align-self:center;line-height:1.5}
.qhub-price-input{position:relative;display:block}
.qhub-price-input>span{position:absolute;left:13px;top:13px;color:var(--muted);font-size:16px}
.qhub-event-workspace .qhub-price-input input{padding-left:32px}
.qhub-ticket-window{margin-top:22px;border-top:1px solid var(--border);padding-top:18px}
.qhub-ticket-window summary{cursor:pointer;font-size:14px;font-weight:600;min-height:32px}
.qhub-ticket-window summary span{font-weight:400;color:var(--muted);margin-left:7px}
.qhub-ticket-window p{font-size:12px;margin:7px 0 16px}
.qhub-ticket-phases{margin-top:22px;padding-top:20px;border-top:1px solid var(--border);display:grid;gap:16px}
.qhub-phase-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.qhub-phase-heading h5{font-size:15px;margin:0 0 5px}
.qhub-phase-heading p{font-size:12px;max-width:330px}
.qhub-phase-heading button{flex-shrink:0}
.qhub-phase{padding:18px;border:1px solid var(--border);background:var(--panel);border-radius:12px;min-width:0;margin:0}
.qhub-phase legend{padding:0 7px;color:var(--muted);font-size:12px}
.qhub-phase>button{margin-top:14px;background:transparent}
.qhub-tickets .qhub-add-ticket{border:1px dashed var(--border);background:transparent;width:100%;padding:17px;color:var(--text);font-size:14px}
.qhub-ticket-validation p{margin:6px 0;line-height:1.5;font-size:13px}
.qhub-ticket-validation .is-error{color:var(--error)}
.qhub-ticket-validation .is-warning{color:var(--warning)}
.qhub-ticket-summary{display:grid;gap:10px;margin:20px 0}
.qhub-ticket-summary article{background:var(--input);border:1px solid var(--border);padding:16px;border-radius:12px}
.qhub-ticket-summary strong,.qhub-ticket-summary span{display:block}
.qhub-ticket-summary span{color:var(--muted);font-size:13px;margin-top:6px}
.qhub-ticket-summary p{margin:8px 0 0;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){
  .qhub-ticket-card{padding:16px;border-radius:14px}
  .qhub-ticket-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .qhub-ticket-card>header{gap:10px}
  .qhub-ticket-actions{width:100%;margin-top:4px}
  .qhub-ticket-actions button{flex:1}
  .qhub-phase-heading{align-items:stretch;flex-direction:column}
  .qhub-ticket-capacity{align-items:flex-start;flex-direction:column;gap:5px}
  .qhub-ticket-intro h3{font-size:25px}
  .qhub-phase{padding:13px}
  .qhub-wizard-actions{flex-wrap:wrap}
}

/* Settings page: account security, notifications, defaults. */
.qhub-settings{max-width:720px}
.qhub-settings h2{margin:6px 0 8px}
.qhub-settings-section{padding:4px 0 16px}
.qhub-settings-section + .qhub-settings-section{border-top:1px solid var(--border);padding-top:18px}
.qhub-settings .qhub-account-email{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:10px 16px;
  margin:14px 0 0;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--input);
}
.qhub-settings .qhub-profile-email-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.qhub-settings .qhub-profile-email-copy .eyebrow{margin:0}
.qhub-settings .qhub-profile-email-copy strong{font-size:16px;overflow-wrap:anywhere}
.qhub-settings .qhub-profile-email-copy p{margin:0;color:var(--muted);font-size:13px}
.qhub-settings .qhub-change-email{
  min-height:44px;
  padding:0 14px;
  border:1px solid var(--border);
  border-radius:11px;
  background:transparent;
  color:var(--text);
  font-weight:700;
  cursor:pointer;
  transition:border-color .2s ease, background-color .2s ease;
}
.qhub-settings .qhub-change-email:hover{border-color:var(--orange);background:rgba(250,101,42,.12)}
.qhub-settings-note{margin:12px 0 0;font-size:13px;color:var(--muted);line-height:1.5}
.qhub-settings-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0}
.qhub-settings-row + .qhub-settings-row{border-top:1px solid rgba(43,67,84,.6)}
.qhub-settings-row-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.qhub-settings-row-copy label{font-size:14px;font-weight:700;color:var(--text);cursor:pointer}
.qhub-settings-row-copy span{font-size:13px;color:var(--muted);line-height:1.4}
.qhub-toggle{flex:0 0 auto}
.qhub-toggle input{
  appearance:none;
  -webkit-appearance:none;
  width:46px;
  height:26px;
  margin:0;
  border-radius:999px;
  background:var(--border);
  border:1px solid var(--border);
  position:relative;
  cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease;
}
.qhub-toggle input::before{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--text);
  transition:transform .18s ease;
}
.qhub-toggle input:checked{background:var(--orange);border-color:var(--orange)}
.qhub-toggle input:checked::before{transform:translateX(20px)}
.qhub-toggle input:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-settings-defaults{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:14px;align-items:stretch}
.qhub-settings .field{display:flex;flex-direction:column;gap:6px}
.qhub-settings .field label{font-size:13px;font-weight:700;color:var(--muted)}
.qhub-settings input[type="text"]{min-height:44px;padding:11px 14px;color:var(--text);background:var(--input);border:1px solid var(--border);border-radius:12px;color-scheme:var(--qhub-scheme);transition:border-color .2s ease,box-shadow .2s ease}
.qhub-settings input[type="text"]::placeholder{color:var(--muted)}
.qhub-settings input[type="text"]:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-color:var(--orange)}
.qhub-settings-default-readonly{display:flex;flex-direction:column;gap:6px;justify-content:center;min-width:0}
.qhub-settings-default-label{font-size:13px;font-weight:700;color:var(--muted)}
.qhub-settings-default-readonly strong{font-size:15px;overflow-wrap:anywhere;color:var(--text)}
.qhub-settings-default-readonly p{margin:0;font-size:13px;color:var(--muted);line-height:1.45}
.qhub-settings-default-readonly a.widget-action{display:inline;padding:0;background:transparent;color:var(--orange);border:0;text-decoration:underline;font-weight:700}
.qhub-settings-status{min-height:1.4em;margin:14px 0 0;font-size:13px;font-weight:700;color:var(--muted)}
.qhub-settings-status.is-ok{color:var(--success)}
.qhub-settings-status.is-error{color:var(--error)}
@media(max-width:720px){
  .qhub-settings .qhub-account-email{grid-template-columns:minmax(0,1fr)}
  .qhub-settings .qhub-change-email{justify-self:start}
  .qhub-settings-defaults{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  .qhub-settings :is(input,button){transition:none}
}

/* Q HUB DASHBOARD CUSTOMIZATION — recovered from feature/q-hub-v1 preview customization. */
.qhub-sidebar-foot .customize-button{
  width:100%;
  margin:0 0 10px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:11px;
  background:transparent;
  color:var(--text);
  font-weight:600;
  cursor:pointer;
}
.qhub-sidebar-foot .customize-button:hover{border-color:var(--orange)}

.qhub-main{transition:margin-right .22s ease}
body.qhub-editing .qhub-main{margin-right:420px}
#qhubCustomizer{width:420px}
@media(max-width:1100px){
  body.qhub-editing .qhub-main{margin-right:360px}
  #qhubCustomizer{width:360px}
}
@media(max-width:820px){
  body.qhub-editing .qhub-main{margin-right:0}
  #qhubCustomizer{width:min(92vw,420px)}
}

/* Q HUB DRAG / REORDER (scoped to dashboard grid so the welcome card is untouched) */
body.qhub-editing .dashboard-grid > .widget{
  cursor:grab;
  position:relative;
  overflow:visible;
  outline:1px dashed rgba(250,101,42,.55);
  outline-offset:-5px;
  transition:opacity .15s ease,transform .15s ease,outline-color .15s ease;
}
body.qhub-editing .dashboard-grid > .widget:hover{outline-color:var(--orange)}
body.qhub-editing .dashboard-grid > .widget.dragging{opacity:.35;transform:scale(.985)}
body.qhub-editing #dashboardGrid{
  padding:5px;
  margin-left:-5px;
  margin-right:-5px;
  border-radius:20px;
  background:rgba(250,101,42,.025);
}
body.qhub-editing .dashboard-grid{row-gap:28px}

/* Q HUB WIDGET MOVE / RESIZE */
.widget-edit-tools{display:none}
.widget-move-handle{display:none}
.widget-size-select{display:none}
body.qhub-editing .widget-edit-tools{
  display:flex;
  flex-flow:row nowrap;
  width:max-content;
  white-space:nowrap;
  overflow-wrap:normal;
  align-items:center;
  gap:5px;
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  z-index:20;
}
body.qhub-editing .widget-move-handle{
  display:flex;
  align-items:center;
  gap:6px;
  position:absolute;
  top:-11px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  padding:5px 10px;
  border:1px solid rgba(250,101,42,.65);
  border-radius:999px;
  background:var(--panel);
  color:var(--text);
  font:inherit;
  font-size:11px;
  font-weight:700;
  letter-spacing:.03em;
  cursor:grab;
  user-select:none;
  box-shadow:0 5px 16px var(--input);
}
body.qhub-editing .widget-edit-tools .widget-move-handle{
  flex:0 0 auto;
  white-space:nowrap;
  padding:5px 6px;
  gap:3px;
  position:static;
  transform:none;
  top:auto;
  left:auto;
}
body.qhub-editing .widget-move-handle:active{cursor:grabbing;background:var(--orange)}
body.qhub-editing .widget-move-handle:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
body.qhub-editing .widget-move-handle span{font-size:inherit;color:inherit}
body.qhub-editing .widget-size-select{
  display:block;
  flex:0 0 auto;
  width:70px;
  white-space:nowrap;
  height:31px;
  padding:0 8px;
  border:1px solid rgba(250,101,42,.65);
  border-radius:999px;
  background:var(--panel);
  color:var(--text);
  font:inherit;
  font-size:11px;
  font-weight:700;
  outline:none;
  cursor:pointer;
}
body.qhub-editing .widget-size-select:focus{border-color:var(--orange)}

/* Hidden widgets release their grid space immediately */
.dashboard-grid > .widget[hidden]{display:none !important}

/* Q HUB WIDGET LIBRARY */
.qhub-add-widget{
  width:100%;
  margin-top:18px;
  padding:12px 14px;
  border:1px dashed rgba(250,101,42,.75);
  border-radius:12px;
  background:rgba(250,101,42,.06);
  color:var(--text);
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.qhub-add-widget:hover{border-color:var(--orange);background:rgba(250,101,42,.11)}
.qhub-widget-library{
  display:none;
  margin-top:12px;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:var(--panel);
}
.qhub-widget-library.open{display:block}
.qhub-library-title{
  padding:14px 16px 10px;
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  margin:0;
}
.qhub-library-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-top:1px solid var(--border);
}
.qhub-library-item:first-of-type{border-top:0}
.qhub-library-copy{min-width:0}
.qhub-library-copy strong{display:block;color:var(--text);font-size:14px}
.qhub-library-copy span{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.qhub-library-add{
  flex:0 0 auto;
  padding:7px 11px;
  border:0;
  border-radius:8px;
  background:var(--orange);
  color:var(--text);
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.qhub-library-add:disabled{background:var(--panel-soft);color:var(--muted);cursor:default}

/* Q HUB CUSTOMIZER PANEL (self-contained tokens; appended to <body>) */
#qhubCustomizer{
  position:fixed;
  top:0;
  right:0;
  height:100vh;
  height:100dvh;
  z-index:9999;
  padding:24px;
  background:var(--panel);
  border-left:1px solid var(--border);
  box-shadow:-24px 0 60px rgba(0,0,0,.35);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.qhub-customizer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto}
.qhub-customizer-heading h2{margin:0;font-size:22px}
#closeCustomizer{border:0;background:transparent;color:var(--text);font-size:28px;cursor:pointer}
.qhub-customizer-description{flex:0 0 auto;color:var(--muted);font-size:14px}
.qhub-list-empty{color:var(--muted);font-size:14px;padding:0 14px}
.qhub-customizer-content{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-gutter:stable}
#qhubCustomizer .qhub-customizer-actions{
  flex:0 0 auto;
  display:flex;
  gap:10px;
  margin-top:0;
  padding-top:16px;
  border-top:1px solid var(--border);
  background:var(--panel);
}
.qhub-customizer-actions #saveHub{flex:1}
#qhubCustomizer button:focus-visible,
#qhubCustomizer select:focus-visible,
#qhubCustomizer input:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:820px){
  #qhubCustomizer{position:relative;width:100%;height:80vh;height:80dvh;border-left:0;border-top:1px solid var(--border)}
}

/* Selection controls visibility; Remove controls active membership. */
.qhub-library-copy .qhub-widget-selection{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:6px;
  cursor:pointer;
  white-space:nowrap;
}
.qhub-widget-selection input{width:15px;height:15px;margin:0;accent-color:var(--orange);cursor:pointer}
#qhubCustomizer .qhub-widget-selection input:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-library-copy .qhub-widget-selection span{margin:0;font-size:12px}
.qhub-widget-selection input:not(:checked) + span{color:var(--muted)}
.qhub-widget-selection input:checked + span{color:var(--orange)}
.qhub-widget-remove{background:transparent;border:1px solid var(--border);color:var(--muted)}
.qhub-widget-remove:hover{border-color:var(--muted);color:var(--text)}
.qhub-widget-remove:focus-visible{outline-color:var(--muted)}

/* Active-widget rows in the customizer list. */
.qhub-active-row{gap:6px;padding:7px 0}
.qhub-active-row .qhub-library-copy{display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:4px 8px}
.qhub-active-row .qhub-library-copy strong{flex:1 1 100px;font-size:13px}
.qhub-active-row .qhub-widget-selection{margin:0;flex:0 0 auto}
.qhub-active-row.is-unselected{opacity:.78}
.qhub-active-row.is-unselected:focus-within,
.qhub-active-row.is-unselected:hover{opacity:.9}
.qhub-row-handle{position:relative;flex:0 0 20px;padding:4px 0;border:0;background:transparent;color:var(--muted);font-size:16px;cursor:grab;touch-action:pan-y}
.qhub-row-handle::before{content:"";position:absolute;inset:-5px -3px}
.qhub-row-handle:active{cursor:grabbing}
.qhub-active-row.is-dragging{opacity:.4}
.qhub-active-row .qhub-widget-remove{padding:6px;font-size:11px}

/* Safe draft deletion: overflow menu + confirmation modal */
.tq-org-event-card .card-body{position:relative}
.tq-draft-menu{position:absolute;top:12px;right:12px;z-index:3}
.tq-draft-menu-btn{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.06);color:var(--muted);font-size:18px;font-weight:800;line-height:1;cursor:pointer}
.tq-draft-menu-btn:hover{color:var(--text);border-color:rgba(250,101,42,.55)}
.tq-draft-menu-pop{position:absolute;top:calc(100% + 6px);right:0;min-width:150px;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--panel);box-shadow:0 18px 44px rgba(0,0,0,.35)}
.tq-draft-menu-item{display:block;width:100%;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#ffb4a1;font-weight:700;text-align:left;cursor:pointer}
.tq-draft-menu-item:hover{background:rgba(250,101,42,.14);color:var(--error)}
.tq-confirm-card{width:min(460px,100%);color:var(--text);background:var(--panel);border:1px solid var(--border)}
.tq-confirm-card h2{margin:0 0 12px;color:var(--text)}
.tq-confirm-body{margin:0 0 20px;color:var(--muted);line-height:1.6}
.tq-confirm-actions{display:flex;justify-content:flex-end;gap:10px}

/* Event workspace: ordinary page scrolling, shared Create / Continue / Edit flow. */
.qhub-event-workspace{color:var(--text);min-width:0;width:100%;font-size:16px;line-height:1.5}
.qhub-workspace-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:0 0 24px;border-bottom:1px solid var(--border);margin-bottom:28px}
.qhub-workspace-header h1{font-size:28px;line-height:1.2;margin:6px 0 8px;color:var(--text)}
#qhubEventTitle{margin:0;color:var(--muted);overflow-wrap:anywhere;max-width:48ch}
.qhub-workspace-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.qhub-wizard-save{font-size:14px;color:var(--muted);margin:0;min-height:22px}
.qhub-wizard-save[data-state=error],.qhub-field-error,#qhubWorkspaceError{color:var(--error)}
.qhub-workspace-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;align-items:start}
.qhub-milestone-rail{position:sticky;top:24px}
.qhub-event-workspace .qhub-event-milestones{display:flex;flex-direction:column;align-items:stretch;list-style:none;padding:0;margin:0;overflow:visible}
.qhub-mile{position:relative;min-height:76px;color:#afbfcb}
.qhub-mile button{display:flex;align-items:center;gap:12px;min-height:48px;padding:4px 0;width:100%;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.qhub-mile button:disabled{cursor:default;opacity:1}
.qhub-mile-mark{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;border:1px solid var(--border);background:var(--navy-deep);font-size:14px;font-weight:700}
.qhub-mile-label{font-size:14px;font-weight:700}
.qhub-mile-label small{display:block;font-size:12px;font-weight:400;color:#afbfcb}
.qhub-mile-line{position:absolute;left:15px;top:43px;bottom:0;width:2px;background:var(--border);transform-origin:top}
.qhub-mile.is-current .qhub-mile-mark{background:var(--orange);border-color:var(--orange);color:var(--accent-ink)}
.qhub-mile.is-current .qhub-mile-label{color:var(--text)}
.qhub-mile.is-done .qhub-mile-mark{color:var(--orange);border-color:var(--orange)}
.qhub-mile.is-done .qhub-mile-line{background:var(--orange)}
.qhub-workspace-content{min-width:0;max-width:1040px}
.qhub-wizard-step-label{font-size:13px;color:var(--muted);margin:0 0 4px}
#qhubStepTitle{font-size:24px;margin:0 0 24px;scroll-margin-top:24px}
.qhub-wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:32px;padding:24px 0;border-top:1px solid var(--border)}
.qhub-wizard-actions #qhubWizardNext{margin-left:auto}
.qhub-event-workspace label,.qhub-date-control>span{display:flex;flex-direction:column;gap:8px;color:var(--text);font-size:14px;font-weight:600}
.qhub-event-workspace input,.qhub-event-workspace select,.qhub-event-workspace textarea,.qhub-date-trigger{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid var(--border);border-radius:9px;background:var(--panel);color:var(--text);font:inherit;font-size:16px;color-scheme:var(--qhub-scheme)}
.qhub-event-workspace input[type=checkbox]{width:20px;min-height:20px}
.qhub-event-workspace input[type=hidden]{display:none}
.qhub-event-workspace textarea{resize:vertical}
.qhub-event-workspace input::placeholder{color:var(--muted)}
.qhub-event-workspace :is(button,summary,select){cursor:pointer}
.qhub-event-workspace :is(button,input,select,textarea,summary,a):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-event-workspace [aria-invalid=true]{border-color:var(--error)}
.qhub-event-workspace [hidden]{display:none!important}
.qhub-form-section{min-width:0;margin:0 0 24px;padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.qhub-form-section legend{padding:0 8px;font-size:17px;font-weight:700;color:var(--text)}
.qhub-form-grid,.qhub-wizard-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.qhub-wide{grid-column:1/-1;min-width:0}
.qhub-section-help{font-size:14px;color:var(--muted);line-height:1.5;font-weight:400;margin:0 0 18px}
.qhub-field-error{display:block;font-size:13px;font-weight:400;min-height:0}
.qhub-field-error:empty{display:none}
.qhub-datetime{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.qhub-date-control,.qhub-time-control,.qhub-zone{position:relative;min-width:0}
.qhub-date-trigger{display:flex;justify-content:space-between;align-items:center;margin-top:8px;text-align:left}
.qhub-time-control>label{margin-bottom:8px}
.qhub-time-input{display:flex}
.qhub-time-input input{border-radius:9px 0 0 9px;border-right:0}
.qhub-time-input button{width:44px;flex-shrink:0;border:1px solid var(--border);border-left:0;border-radius:0 9px 9px 0;color:var(--text);background:var(--panel)}
.qhub-calendar,.qhub-time-choices,#qhubTimezoneOptions{position:absolute;z-index:20;top:100%;left:0;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:12px;box-shadow:0 12px 32px #0006}
.qhub-calendar{width:320px;max-width:calc(100vw - 48px)}
.qhub-calendar-head,.qhub-calendar-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.qhub-calendar button,.qhub-time-choices button{border:0;background:transparent;color:var(--text);min-height:44px;min-width:36px;border-radius:6px;font:inherit;font-size:14px}
.qhub-calendar button:hover,.qhub-time-choices button:hover{background:var(--border)}
.qhub-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;margin:12px 0;text-align:center}
.qhub-calendar-grid>span{font-size:12px;color:var(--muted)}
.qhub-calendar-grid button[aria-pressed=true]{background:var(--orange);color:var(--accent-ink);font-weight:700}
.qhub-calendar-grid button[aria-current=date]{box-shadow:inset 0 0 0 1px var(--orange)}
.qhub-time-choices{max-height:240px;overflow:auto;width:100%;box-sizing:border-box}
.qhub-time-choices button{display:block;width:100%;text-align:left;padding:8px}
.qhub-zone>label{margin-bottom:8px}
.qhub-zone .qhub-section-help{margin:8px 0 0}
#qhubTimezoneOptions{top:78px;right:0;max-height:280px;overflow:auto}
#qhubTimezoneOptions [role=option]{padding:10px;border-radius:6px;cursor:pointer;min-height:44px}
#qhubTimezoneOptions [role=option]:hover,#qhubTimezoneOptions .is-active{background:var(--border)}
#qhubTimezoneOptions small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.qhub-address-details summary{min-height:44px;padding:10px 0;color:var(--text);font-size:14px}
[data-registration]{margin-top:16px}
.qhub-type-form{max-width:620px;padding:24px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.qhub-type-form select{margin-top:8px}
.qhub-type-context{overflow:hidden;margin-top:20px}
.qhub-type-context p{margin:0 0 12px}
.qhub-mile-mobile{display:none}
.qhub-mobile-track{height:3px;background:var(--border);margin:16px 0 24px}
.qhub-mobile-fill{display:block;height:100%;background:var(--orange)}
.qhub-event-workspace .qhub-field-row{min-width:0}
.qhub-event-workspace .qhub-ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.qhub-event-workspace .qhub-brand-grid img{max-width:100%;height:auto;display:block}
/* Compact two-tile branding layout: banner ~16:9 wide column, poster ~4:5 narrow column */
.qhub-event-workspace .qhub-brand-grid{width:min(100%,874px);grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:20px;align-items:start}
.qhub-image-drop-zone{position:relative;width:100%;overflow:hidden;border-radius:8px;background:var(--panel-soft);border:1px dashed var(--border);cursor:pointer;display:flex;align-items:center;justify-content:center}
.qhub-image-drop-zone[data-image-kind=banner]{aspect-ratio:16/9;max-width:520px}
.qhub-image-drop-zone[data-image-kind=poster]{aspect-ratio:4/5;max-width:250px}
.qhub-image-drop-zone[data-image-kind=banner]:not(:has(img)){max-width:430px}
.qhub-image-drop-zone[data-image-kind=poster]:not(:has(img)){max-width:195px}
.qhub-image-drop-zone img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:8px}
.qhub-event-workspace .qhub-brand-grid .qhub-image-drop-zone img{max-width:none;height:100%}
.qhub-image-drop-zone span{font-size:13px;color:var(--muted);pointer-events:none;padding:12px;text-align:center}
.qhub-image-drop-zone-active{border-color:var(--orange);background:var(--tq-orange-soft,rgba(250,101,42,.07))}
@media(max-width:1280px){.qhub-workspace-layout{grid-template-columns:150px minmax(0,1fr);gap:20px}.qhub-mile button{gap:8px}.qhub-form-section{padding:18px}.qhub-workspace-header{flex-wrap:wrap}.qhub-workspace-tools{justify-content:flex-start}}
@media(max-width:1024px){.qhub-form-grid,.qhub-wizard-form{grid-template-columns:1fr}.qhub-event-workspace .qhub-field-row{display:flex;flex-wrap:wrap}.qhub-event-workspace .qhub-field-row>input,.qhub-event-workspace .qhub-field-row>select{width:100%}}
@media(max-width:720px){.qhub-workspace-layout{display:block}.qhub-milestone-rail{display:none}.qhub-mile-mobile{display:block}.qhub-workspace-header{gap:16px;margin-bottom:24px}.qhub-workspace-tools{width:100%;justify-content:space-between}.qhub-workspace-header h1{font-size:26px}.qhub-form-section{padding:16px}.qhub-datetime{grid-template-columns:1fr}.qhub-calendar{box-sizing:border-box;width:min(306px,calc(100vw - 80px))}.qhub-calendar button{min-width:0}.qhub-event-workspace .qhub-ticket-grid{grid-template-columns:1fr}.qhub-wizard-actions{padding-bottom:32px}.qhub-type-form{padding:18px}}
@media(prefers-reduced-motion:reduce){.qhub-event-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.qhub-event-workspace .btn{box-shadow:none!important;transform:none!important;transition:none}
.qhub-event-workspace .btn.ghost{background:transparent;color:var(--text);border:1px solid var(--border)}
.qhub-event-workspace .btn.primary{background:var(--orange);color:var(--accent-ink);font-weight:700}
.qhub-event-workspace .qhub-ticket-intro>h3,.qhub-event-workspace .qhub-ticket-eyebrow{display:none}
.qhub-event-workspace .qhub-ticket-intro>p{margin-top:0}
.qhub-type-context summary{padding:8px 0;min-height:44px}
.qhub-type-context li{font-size:14px;color:var(--muted)}

/* Venue autocomplete search (Google Places API New). */
.qhub-venue-search{position:relative}
.qhub-venue-search .qhub-section-help{margin:0 0 2px}
.qhub-venue-search input,.qhub-venue-search gmp-place-autocomplete{margin-top:8px}

/* Modern Places Autocomplete element, restyled toward the TicketQ navy/orange
   palette via host properties and --gmp-* theme variables (the component uses
   a closed shadow DOM). Manual fields below are never affected. */
gmp-place-autocomplete{display:block;width:100%;font-family:inherit;font-size:16px;border-radius:9px;color-scheme:var(--qhub-scheme);
  --gmp-mat-font-family:inherit;
  --gmp-mat-color-primary:var(--orange);
  --gmp-mat-color-on-primary:var(--panel);
  --gmp-mat-color-surface:var(--panel);
  --gmp-mat-color-on-surface:var(--text);
  --gmp-mat-color-on-surface-variant:var(--muted);
  --gmp-mat-color-secondary-container:var(--border);
  --gmp-mat-color-on-secondary-container:var(--text);
  --gmp-mat-color-outline:var(--border);
  --gmp-mat-color-outline-decorative:var(--border)}
gmp-place-autocomplete:focus-within{outline:2px solid var(--orange);outline-offset:3px}

/* Scoped event workspace polish; neutralize inherited public header styling. */
html body.qhub-workspace header.qhub-workspace-header{position:static!important;top:auto!important;z-index:auto!important;min-height:0!important;padding:0 0 18px!important;margin:0 0 22px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;align-items:center;gap:20px}
.qhub-workspace-header>div:first-child{min-width:0}
.qhub-workspace-header .eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:11px;line-height:1;letter-spacing:.18em;color:var(--orange)}
.qhub-workspace-header .eyebrow:before{content:"";width:28px;height:2px;background:var(--orange)}
.qhub-workspace-header h1{font-size:30px;line-height:1.15;margin:0 0 7px}
.qhub-workspace-tools .btn{min-height:44px;padding:10px 16px;font-size:14px;white-space:nowrap}
.qhub-event-workspace #qhubStepTitle{margin-bottom:16px;line-height:1.25}
.qhub-event-workspace .qhub-form-section{padding:18px 20px;margin-bottom:18px}
.qhub-event-workspace .qhub-form-grid,.qhub-event-workspace .qhub-wizard-form{gap:16px}
.qhub-event-workspace .qhub-section-help{margin-bottom:12px}
.qhub-event-workspace .qhub-venue-search .qhub-section-help{margin-bottom:0}
.qhub-event-workspace .qhub-type-form{padding:20px;max-width:100%;box-sizing:border-box}
.qhub-event-workspace .qhub-type-context{margin-top:14px}
.qhub-event-workspace .qhub-type-form select{margin-top:0}
.qhub-event-workspace .qhub-wizard-actions{margin-top:24px;padding-top:18px}
.qhub-event-workspace .qhub-venue-search input,.qhub-event-workspace .qhub-venue-search gmp-place-autocomplete{margin-top:0}
@media(max-width:720px){html body.qhub-workspace header.qhub-workspace-header{gap:14px;align-items:flex-start;flex-wrap:wrap}.qhub-event-workspace .qhub-form-section{padding:16px}.qhub-workspace-header h1{font-size:26px}}

/* Shared surfaces and focused workspace controls. */
.qhub-shell .qhub-sidebar,.qhub-shell .widget,.qhub-form-section,.qhub-ticket-card,.qhub-phase,.qhub-type-form,.qhub-registration-controls,.qhub-attendee-preview,.qhub-image-card {background:var(--panel);border-color:var(--border)}
.qhub-shell :is(h1,h2,h3,h4,h5,legend,label){color:var(--text)}
.qhub-shell .qhub-sidebar-foot{gap:12px}
.qhub-segmented{display:flex;gap:3px;padding:3px;background:var(--panel-soft);border:1px solid var(--border);border-radius:9px}
.qhub-segmented button{flex:1;min-height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
.qhub-segmented button[aria-pressed=true]{background:var(--panel);color:var(--text);box-shadow:0 1px 4px #0001;font-weight:700}
.qhub-shell :is(button,input,select,textarea,summary,a):focus-visible,.qhub-preview-dialog :is(button,input,select,textarea):focus-visible,.qhub-crop-dialog :is(button,input):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-shell :is(input,select,textarea){color-scheme:var(--qhub-scheme)}
.qhub-time-control select{margin-top:0}
.qhub-time-control>label{display:block}
.qhub-ticket-date{grid-column:1/-1;min-width:0}
.qhub-tickets .qhub-calendar button{border:0;padding:0;background:transparent;color:var(--text);min-width:0}
.qhub-tickets .qhub-calendar button:hover{background:var(--hover)}
.qhub-tickets .qhub-calendar button[aria-pressed=true]{background:var(--orange);color:var(--accent-ink)}
.qhub-tickets .qhub-calendar-head button,.qhub-tickets .qhub-calendar-footer button{padding:0 8px}
.qhub-address-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qhub-address-actions [role=status]{font-size:13px;color:var(--muted)}
.qhub-registration-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:start}
.qhub-registration-controls,.qhub-attendee-preview,.qhub-image-card{border:1px solid var(--border);border-radius:12px;padding:20px;min-width:0}
.qhub-registration-controls h3{font-size:18px;margin:0 0 16px}
.qhub-registration-add{display:grid;gap:10px;margin-bottom:18px}
.qhub-registration-add>label{display:grid;gap:7px}
.qhub-event-workspace .qhub-field-builder{display:grid;gap:10px}
.qhub-event-workspace .qhub-field-row{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--panel-soft)}
.qhub-field-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.qhub-field-heading strong{font-size:14px;overflow-wrap:anywhere}
.qhub-field-controls{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.qhub-field-controls .qhub-segmented{padding:2px;border-radius:8px;background:var(--panel)}
.qhub-field-controls .qhub-segmented button{flex:0 0 auto;min-height:32px;padding:0 10px;font-size:12px}
.qhub-field-actions{display:flex;gap:1px;flex-wrap:wrap}
.qhub-field-actions button,.qhub-options button{border:0;background:transparent;color:var(--muted);padding:4px 7px;min-height:32px;font:inherit;font-size:12px;cursor:pointer}
.qhub-field-actions button:disabled{opacity:.4;cursor:default}
.qhub-field-edit{margin-top:0}.qhub-field-edit summary{font-size:12px;font-weight:600;cursor:pointer;padding:4px 0;color:var(--muted)}
.qhub-field-edit[open]>summary{color:var(--text)}
.qhub-field-edit label{margin-top:8px;display:grid;gap:6px}
.qhub-options>div{display:flex;gap:6px;margin-top:8px}
.qhub-options input{flex:1;min-width:0}
.qhub-preview-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--muted);margin:0 0 10px}
.qhub-attendee-preview .event-hero{display:grid;grid-template-columns:1fr;gap:20px;margin:0;padding:0;background:transparent}
.qhub-attendee-preview .event-poster{aspect-ratio:16/9;border-radius:9px;overflow:hidden;background:var(--panel-soft);height:auto;min-height:0}
.qhub-attendee-preview .event-poster img{width:100%;height:100%;object-fit:cover;display:block}
.qhub-preview-image{height:100%;display:grid;place-items:center;font-size:28px;color:var(--muted)}
.qhub-attendee-preview :is(h2,h3){color:var(--text);letter-spacing:-.025em;margin:0 0 8px}
.qhub-attendee-preview h2{font-size:28px}.qhub-attendee-preview h3{font-size:19px}
.qhub-attendee-preview :is(p,.lead,.pill){color:var(--muted)}
.qhub-attendee-preview .lead{font-size:14px;white-space:pre-wrap}
.qhub-attendee-preview .meta{display:flex;flex-wrap:wrap;gap:8px}
.qhub-attendee-preview .pill{background:var(--panel-soft);border:1px solid var(--border);font-size:12px;padding:6px 9px;border-radius:7px}
.qhub-attendee-preview .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.qhub-attendee-preview .full{grid-column:1/-1}
.qhub-attendee-preview .field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0}
.qhub-attendee-preview .field>label{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--text)}
.qhub-preview-optional{font-size:11px;font-weight:400;color:var(--muted)}
.qhub-attendee-preview :is(input,select,textarea){width:100%;box-sizing:border-box;min-height:44px;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--input);color:var(--text);font:inherit;font-size:16px;color-scheme:var(--qhub-scheme)}
.qhub-attendee-preview input:is([type=checkbox],[type=radio]){width:18px;min-height:18px;accent-color:var(--orange)}
.qhub-attendee-preview [aria-invalid=true]{border-color:var(--error)}
.qhub-preview-options label{display:flex;align-items:center;gap:8px;margin:8px 0}
.qhub-order-summary{background:var(--panel-soft);padding:10px 12px;border-radius:9px;font-size:13px;margin:0}
.qhub-order-summary p{margin:4px 0}.qhub-preview-meta,.qhub-preview-status{font-size:13px}
.qhub-preview-ticket-field{border:0;padding:0;margin:0;min-width:0}
.qhub-preview-ticket-field legend{font-size:13px;color:var(--text);margin-bottom:7px}
.qhub-preview-ticket-options{display:grid;gap:7px}
.qhub-preview-ticket-choice{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:9px;background:var(--panel);cursor:pointer}
.qhub-preview-ticket-choice:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 1px var(--orange)}
.qhub-preview-ticket-choice input{flex:none;width:18px;min-height:18px;accent-color:var(--orange)}
.qhub-preview-ticket-choice>span{display:grid;gap:2px;min-width:0}
.qhub-preview-ticket-choice>span>span{font-size:12px;color:var(--muted)}
.qhub-preview-no-tickets{margin:0;color:var(--muted);font-size:13px}
.qhub-quantity-stepper{display:flex;align-items:center;width:max-content;max-width:100%;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--input)}
.qhub-quantity-stepper button{width:44px;min-height:44px;border:0;background:var(--panel-soft);color:var(--text);font:inherit;font-size:20px;cursor:pointer}
.qhub-quantity-stepper button:disabled{opacity:.4;cursor:default}
.qhub-quantity-stepper input{width:58px!important;min-height:44px!important;border:0!important;border-radius:0!important;text-align:center;padding:6px!important}
.qhub-attendee-preview .tq-checkout-actions{display:flex;flex-direction:column;gap:8px}
.qhub-attendee-preview [data-preview-back]{border:0;background:transparent;color:var(--muted);font-size:13px}
.qhub-attendee-preview .btn,.qhub-preview-dialog .btn,.qhub-crop-dialog .btn{min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid var(--border);background:transparent;color:var(--text);font:inherit;font-size:14px;cursor:pointer;box-shadow:none;transform:none}
.qhub-attendee-preview .btn.primary,.qhub-preview-dialog .btn.primary,.qhub-crop-dialog .btn.primary{background:var(--orange);border-color:var(--orange);color:var(--accent-ink);font-weight:700}
.qhub-preview-dialog,.qhub-crop-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-height:calc(100svh - 32px);margin:auto;overflow:auto;border:1px solid var(--border);border-radius:16px;padding:22px;background:var(--panel);color:var(--text);color-scheme:var(--qhub-scheme)}
.qhub-preview-dialog::backdrop,.qhub-crop-dialog::backdrop{background:#07121ecc}
.qhub-preview-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.qhub-preview-dialog .qhub-attendee-preview{border:0;padding:0}
.qhub-preview-dialog .event-hero{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.qhub-preview-trigger{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:0;border-radius:10px}
.qhub-preview-trigger svg{display:block}
.qhub-preview-dialog-head{flex-wrap:wrap}

/* Q Insights uses one organizer-scoped report response and the shared Q Hub palette. */
.qhub-insights-page{display:grid;gap:12px;min-width:0}
.qhub-insights-page #qhubInsightsResults{display:grid;gap:16px;min-width:0}
.qhub-insights-page .qhub-insights-status{margin:0;color:var(--muted);font-size:12px;line-height:1.5;min-height:18px}
.qhub-insights-page .qhub-insights-error{margin:0;padding:12px;border:1px solid var(--border);border-radius:8px;color:var(--text);background:var(--panel-soft)}
.qhub-insights-page .qhub-insights-error[hidden]{display:none}
.qhub-insights-page .qhub-insights-scope{flex-basis:100%;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.qhub-insights-page .qhub-insights-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.qhub-insights-page .qhub-insights-kpis .kpi{padding:14px;min-height:104px;box-sizing:border-box;gap:6px}
.qhub-insights-page .qhub-insights-kpi-link{display:grid;gap:6px;width:100%;min-height:76px;color:var(--text);text-decoration:none}
.qhub-insights-page .qhub-insights-kpi-link strong{color:var(--text);font-size:clamp(22px,2vw,29px);line-height:1.15;letter-spacing:-.6px;overflow-wrap:anywhere}
.qhub-insights-page .qhub-insights-kpi-link:hover span{text-decoration:underline;text-underline-offset:4px}
.qhub-insights-page .qhub-insights-grid{align-items:start}
.qhub-insights-page .qhub-insights-panel h2{margin:0 0 12px;font-size:19px;line-height:1.25}
.qhub-insights-page .widget-heading h2{margin:0}
.qhub-insights-page .qhub-insights-toggle button{min-height:44px;min-width:64px}
.qhub-insights-page .qhub-insights-chart{height:280px;min-height:0;touch-action:pan-y}
.qhub-insights-page .qhub-insights-axis-label{fill:var(--text);font-size:11px}
.qhub-insights-page .qhub-insights-bar{fill:var(--orange);pointer-events:none}
.qhub-insights-page .qhub-insights-chart [data-insights-point]:is([aria-expanded=true],:focus-visible) .qhub-insights-bar{stroke:var(--text);stroke-width:2}
.qhub-insights-page .qhub-insights-chart [data-insights-point][aria-expanded=true] .qhub-insights-hit{stroke:var(--text);stroke-width:1;fill:var(--panel-soft);fill-opacity:.3}
.qhub-insights-page .qhub-insights-chart [data-insights-point]:focus-visible .qhub-insights-hit{stroke:var(--text);stroke-width:2;fill:var(--panel-soft);fill-opacity:.4}
.qhub-insights-page .qhub-insights-period-controls{display:flex;justify-content:space-between;gap:8px;margin:12px 0}
.qhub-insights-page .qhub-insights-period-controls button{min-height:44px;font-size:13px}
.qhub-insights-page button:disabled{cursor:default;color:var(--muted)}
.qhub-insights-page .qhub-insights-close{min-height:44px;padding:8px 12px;flex-shrink:0}
.qhub-insights-page .qhub-insights-cohort{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0 14px}
.qhub-insights-page .qhub-insights-refunds{padding-block:16px}
.qhub-insights-page .qhub-insights-refund-total{font-size:25px}
.qhub-insights-page .qhub-insights-refunds p{font-size:13px;line-height:1.5;margin-bottom:0}
.qhub-insights-page .qhub-insights-grid--supporting{align-items:start}
.qhub-insights-page details>summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding-block:12px;font-size:13px;color:var(--muted);font-weight:600}
.qhub-insights-page .qhub-insights-data summary{width:auto}
.qhub-insights-page .qhub-insights-mix{margin-block:8px}
.qhub-insights-page .qhub-insights-event-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.qhub-insights-page .qhub-insights-event-actions button,.qhub-insights-page .qhub-insights-sort select{min-height:44px}
.qhub-insights-page .qhub-insights-event-link{min-height:44px}
.qhub-insights-page .qhub-insights-event-date{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin:3px 0 0}
.qhub-insights-page .qhub-insights-event-table .qhub-table{min-width:780px}
.qhub-insights-page .qhub-insights-event-table .qhub-table :is(th,td):nth-child(n+3){text-align:right}
.qhub-insights-page .qhub-insights-event-cards{display:none}
@media(max-width:1100px){
 .qhub-insights-page .qhub-insights-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:768px){
 .qhub-insights-page #qhubInsightsResults{gap:12px}
 .qhub-insights-page .qhub-insights-filters{gap:10px;padding:10px}
 .qhub-insights-page .qhub-insights-filters>label{flex:1 1 calc(50% - 10px);min-width:0}
 .qhub-insights-page .qhub-insights-actions{display:flex;width:100%;max-width:none;justify-content:flex-end}
 .qhub-insights-page .qhub-insights-actions button{width:auto;min-width:96px;min-height:44px}
 .qhub-insights-page .qhub-insights-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .qhub-insights-page .qhub-insights-kpis .kpi{min-height:98px;padding:10px;gap:4px}
 .qhub-insights-page .qhub-insights-kpi-link{min-height:76px;gap:4px}
 .qhub-insights-page .qhub-insights-kpis .kpi small{font-size:11px}
 .qhub-insights-page .qhub-insights-kpis .kpi>strong,.qhub-insights-page .qhub-insights-kpi-link strong{font-size:23px}
 .qhub-insights-page .qhub-insights-panel{padding:14px}
 .qhub-insights-page .qhub-insights-sales .widget-heading{gap:8px;align-items:center}
 .qhub-insights-page .qhub-insights-sales h2{font-size:17px}
 .qhub-insights-page .qhub-insights-toggle button{padding-inline:8px;min-width:58px;font-size:12px}
 .qhub-insights-page .qhub-insights-sort{flex-direction:row;align-items:center}
}
@media(max-width:640px){
 .qhub-insights-page .qhub-insights-event-table{display:none}
 .qhub-insights-page .qhub-insights-event-cards{display:grid;gap:12px}
 .qhub-insights-page .qhub-insights-event-card{padding:12px;border:1px solid var(--border);border-radius:10px}
 .qhub-insights-page .qhub-insights-event-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
 .qhub-insights-page .qhub-insights-event-card .qhub-insights-event-link{text-align:left;overflow-wrap:anywhere}
 .qhub-insights-page .qhub-insights-event-card.qhub-insights-selected{border-color:var(--orange)}
 .qhub-insights-page .qhub-insights-event-card.qhub-insights-draft .qhub-insights-event-link{color:var(--muted);font-weight:500}
 .qhub-insights-page .qhub-insights-event-card>dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
 .qhub-insights-page .qhub-insights-event-card>dl>div{display:grid;gap:4px;border:0;padding:0}
 .qhub-insights-page .qhub-insights-event-card>dl dd{text-align:left;font-size:19px}
 .qhub-insights-page .qhub-insights-events>.widget-heading{flex-wrap:wrap}
}
.qhub-insights-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.qhub-insights-filters>label,.qhub-insights-custom-range>label{display:grid;gap:6px;min-width:180px;color:var(--text);font-size:13px;font-weight:700}
.qhub-insights-filters select,.qhub-insights-filters input,.qhub-insights-sort select{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--input);color:var(--text);font:inherit;font-size:14px}
.qhub-insights-custom-range{display:flex;gap:10px;flex:1 1 360px}
.qhub-insights-custom-range[hidden]{display:none}
.qhub-insights-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto;max-width:300px}
.qhub-insights-actions small{flex-basis:100%;text-align:right;color:var(--muted);font-size:11px}
.qhub-insights-actions button:disabled{cursor:not-allowed;color:var(--muted);background:var(--panel-soft)}
.qhub-insights-filters button{min-height:44px;margin-left:auto}
.qhub-insights-filters :is(select,input,button):focus-visible,.qhub-insights-toggle button:focus-visible,.qhub-insights-sort select:focus-visible,.qhub-insights-data summary:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-insights-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-width:0}
.qhub-insights-kpis .kpi{min-width:0;min-height:116px;padding:16px;gap:8px}
.qhub-insights-kpis .kpi>strong{font-size:clamp(21px,2.1vw,29px);letter-spacing:-.6px;line-height:1.15;overflow-wrap:anywhere}
.qhub-insights-kpis .kpi small{color:var(--muted);font-size:12px;line-height:1.35}
.qhub-insights-capacity{font-size:.7em;color:var(--muted);letter-spacing:0}
.qhub-insights-comparison{font-variant-numeric:tabular-nums}
.qhub-insights-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:14px;min-width:0}
.qhub-insights-grid--supporting{grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr)}
.qhub-insights-panel{min-width:0}
.qhub-insights-panel .widget-heading{align-items:center;margin-bottom:16px}
.qhub-insights-panel .widget-heading h2{font-size:19px}
.qhub-insights-toggle{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--panel-soft)}
.qhub-insights-toggle button{min-height:44px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.qhub-insights-toggle button[aria-pressed=true]{background:var(--panel);color:var(--text);box-shadow:0 1px 3px #0002}
.qhub-insights-chart-wrap{width:100%;min-width:0;overflow:hidden}
.qhub-insights-chart{display:block;width:100%;height:auto;min-height:180px;overflow:visible}
.qhub-insights-gridline{stroke:var(--border);stroke-width:1}
.qhub-insights-line{fill:none;stroke:var(--orange);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.qhub-insights-point{fill:var(--orange);stroke:var(--panel);stroke-width:1.5}
.qhub-insights-axis-label{fill:var(--muted);font-family:Arial,Helvetica,sans-serif;font-size:10px}
.qhub-insights-data{margin-top:10px}
.qhub-insights-data summary{width:max-content;min-height:44px;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer}
.qhub-insights-data .qhub-table-wrap{max-height:300px;margin-top:6px}
.qhub-insights-attendance-total{display:flex;align-items:baseline;gap:9px;margin:4px 0 14px}
.qhub-insights-attendance-total strong{font-size:34px;letter-spacing:-1px}
.qhub-insights-attendance-total span{color:var(--muted);font-size:13px}
.qhub-insights-attendance progress{display:block;width:100%;height:10px;accent-color:var(--orange)}
.qhub-insights-panel dl{display:grid;gap:0;margin:16px 0 0}
.qhub-insights-panel dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:9px 0;border-bottom:1px solid var(--border)}
.qhub-insights-panel dl>div:last-child{border-bottom:0}
.qhub-insights-panel dt{color:var(--muted);font-size:13px}
.qhub-insights-panel dd{margin:0;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums;text-align:right}
.qhub-insights-refund-total{font-size:30px;font-weight:700;letter-spacing:-.7px}
.qhub-insights-panel .qhub-insights-empty-copy{margin:8px 0;color:var(--muted);font-size:14px;line-height:1.5}
.qhub-insights-timing-list{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}
.qhub-insights-timing-list>div{display:grid!important;align-content:start;gap:5px!important;padding:12px!important;border:1px solid var(--border);border-radius:10px}
.qhub-insights-timing-list dt{font-size:12px}
.qhub-insights-timing-list dd{text-align:left!important}
.qhub-insights-sort{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:600}
.qhub-insights-sort select{min-height:36px;min-width:132px;padding:5px 8px;font-size:13px}
.qhub-insights-event-table{overflow-x:auto}
.qhub-insights-event-table .qhub-table{min-width:900px}
.qhub-insights-event-table .qhub-table th,.qhub-insights-event-table .qhub-table td{vertical-align:top}
.qhub-insights-empty{max-width:720px;margin-inline:auto;text-align:center}
.qhub-insights-empty h2{margin:0 0 8px;color:var(--text)}
.qhub-insights-empty p{margin:0 0 18px}
.qhub-insights-empty .primary-action{display:inline-flex;align-items:center;gap:6px;color:var(--accent-ink);min-height:44px}
.qhub-insights-loading{margin:0;padding:20px 0;color:var(--muted)}
.qhub-insights-error{margin-top:12px}
.qhub-insights-kpis .kpi>a{color:var(--muted);font-size:13px;font-weight:600;text-decoration:none;width:fit-content}
.qhub-insights-kpis .kpi:has(a){cursor:pointer}
.qhub-insights-kpis .kpi:has(a):hover{border-color:var(--muted)}
.qhub-insights-kpis .kpi>a:hover{color:var(--text);text-decoration:underline;text-underline-offset:4px}
.qhub-insights-page :is(a,button,summary,[tabindex]):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-insights-hit{fill:transparent}
.qhub-insights-chart [data-insights-point]{cursor:pointer}
.qhub-insights-chart [data-insights-point]:is(:hover,:focus-visible,[aria-expanded=true]) .qhub-insights-point{r:6;stroke:var(--text);stroke-width:2}
.qhub-insights-chart-hint{margin:0;color:var(--muted);font-size:12px}
.qhub-insights-chart-wrap{position:relative}
.qhub-insights-chart{height:220px;min-height:0}
.qhub-insights-axis-label{font-size:12px}
.qhub-insights-tooltip{position:absolute;inset:auto 12px 22px;pointer-events:none;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);font-size:13px;font-variant-numeric:tabular-nums}
.qhub-insights-drilldown{margin-top:12px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--panel-soft)}
.qhub-insights-drilldown .widget-heading{margin-bottom:4px;gap:12px}
.qhub-insights-drilldown h3{margin:0;font-size:16px}
.qhub-insights-drilldown p{color:var(--muted);font-size:12px}
.qhub-insights-close{min-height:36px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--text);cursor:pointer;font:inherit;font-size:12px}
.qhub-insights-mix{display:grid;gap:16px;list-style:none;padding:0;margin:0}
.qhub-insights-mix li>div{display:grid;gap:5px;font-size:14px}
.qhub-insights-mix li span{color:var(--muted);font-size:13px}
.qhub-insights-mix-revenue{float:right;margin-left:12px}
.qhub-insights-mix progress{display:block;width:100%;height:7px;margin-top:8px;accent-color:var(--orange)}
.qhub-insights-event-link{padding:0;min-height:32px;border:0;background:none;color:var(--text);font:inherit;font-weight:700;text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:var(--border);text-underline-offset:4px}
.qhub-insights-event-link:hover{text-decoration-color:var(--orange)}
.qhub-insights-event-table .qhub-table :is(th,td):nth-child(n+4){text-align:right;font-variant-numeric:tabular-nums}
.qhub-insights-event-table tbody tr:hover,.qhub-insights-event-table .qhub-insights-selected{background:var(--panel-soft)}
.qhub-insights-event-table .qhub-insights-draft .qhub-insights-event-link{font-weight:500;color:var(--muted)}
.qhub-insights-event-table .qhub-insights-selected td:first-child{box-shadow:inset 3px 0 var(--orange)}
.qhub-insights-finance-link{color:var(--muted);font-size:13px}
.qhub-insights-content[aria-busy=true]{min-height:120px}
.qhub-visually-hidden{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}
@media(max-width:1100px){
 .qhub-insights-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .qhub-insights-grid,.qhub-insights-grid--supporting{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:768px){
 .qhub-insights-page{gap:12px}
 .qhub-insights-filters{align-items:stretch;padding:12px}
 .qhub-insights-filters>label{flex:1 1 100%;min-width:0}
 .qhub-insights-custom-range{flex-basis:100%}
 .qhub-insights-custom-range>label{flex:1 1 0;min-width:0}
 .qhub-insights-filters button{width:100%;margin:0}
 .qhub-insights-actions{max-width:none;width:100%;margin:0;display:grid;grid-template-columns:1fr 1fr}
 .qhub-insights-actions small{grid-column:1/-1;text-align:left}
 .qhub-insights-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .qhub-insights-kpis .kpi{min-height:98px}
 .qhub-insights-panel{padding:16px}
 .qhub-insights-panel .widget-heading{align-items:flex-start}
 .qhub-insights-grid{gap:10px}
 .qhub-insights-toggle button{padding-inline:8px}
 .qhub-insights-chart{min-height:150px}
 .qhub-insights-timing-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .qhub-insights-sort{align-items:flex-start;flex-direction:column}
 .qhub-insights-sort select{max-width:100%}
 .qhub-insights-empty{padding:24px 16px}
}
@media(max-width:640px){
 .qhub-insights-kpis{grid-template-columns:minmax(0,1fr)}
 .qhub-insights-event-table .qhub-table{min-width:0;width:100%;display:block}
 .qhub-insights-event-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .qhub-insights-event-table tbody{display:grid;gap:12px}
 .qhub-insights-event-table tr{display:grid;border:1px solid var(--border);border-radius:10px;padding:10px}
 .qhub-insights-event-table .qhub-table td{display:flex;justify-content:space-between;gap:16px;padding:6px;border:0;text-align:right;overflow-wrap:anywhere}
 .qhub-insights-event-table td::before{content:attr(data-label);font-size:12px;font-weight:500;color:var(--muted);text-align:left;flex-shrink:0}
 .qhub-insights-event-table .qhub-insights-event-link{text-align:right}
 .qhub-insights-event-table .qhub-insights-selected td:first-child{box-shadow:none}
 .qhub-insights-event-table .qhub-insights-selected{border-color:var(--orange)}
 .qhub-insights-mix-revenue{float:none;display:block;margin:4px 0 0}
}
@media(prefers-reduced-motion:reduce){
 .qhub-insights-page *{scroll-behavior:auto!important}
}
.qhub-preview-head-copy{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qhub-preview-head-copy strong{font-size:15px}
.qhub-preview-badge{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);border:1px solid var(--border);border-radius:999px;padding:4px 9px}
.qhub-preview-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qhub-preview-modes{width:auto}
.qhub-preview-modes button{flex:0 0 auto;min-width:78px}
.qhub-preview-stage{display:flex;justify-content:center}
.qhub-preview-surface{width:100%;min-width:0;border-radius:14px;overflow:hidden;container-type:inline-size;container-name:qhub-preview}
.qhub-preview-stage[data-preview-stage=mobile] .qhub-preview-surface{width:390px;min-width:390px;max-width:none;flex:0 0 390px;border:1px solid var(--border);box-shadow:0 24px 60px #00000059}
.qhub-preview-dialog{width:min(1200px,calc(100vw - 32px))}
.qhub-crop-dialog{width:min(580px,calc(100vw - 32px))}
.qhub-crop-dialog h2{font-size:23px;margin:0 0 4px;color:var(--text)}
.qhub-crop-ratio{font-size:13px;color:var(--muted);margin:0 0 12px}
.qhub-crop-dialog p{font-size:13px;color:var(--muted)}
/* Drag frame */
.qhub-crop-frame{position:relative;width:100%;border-radius:8px;overflow:hidden;background:var(--input);cursor:grab;touch-action:none;user-select:none}
.qhub-crop-frame.is-dragging{cursor:grabbing}
.qhub-crop-frame:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-crop-frame canvas{display:block;width:100%;height:auto;pointer-events:none}
.qhub-crop-hint{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);font-size:12px;color:rgba(255,255,255,.75);background:rgba(0,0,0,.45);padding:3px 10px;border-radius:999px;pointer-events:none;white-space:nowrap;margin:0}
/* Zoom + preset controls */
.qhub-crop-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-top:12px}
.qhub-crop-zoom-row{display:inline-flex;align-items:center;gap:6px}
.qhub-crop-zoom-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--border);border-radius:8px;background:var(--panel-soft);color:var(--text);font-size:18px;font-weight:700;cursor:pointer;line-height:1}
.qhub-crop-zoom-btn:hover{border-color:var(--orange);color:var(--orange)}
.qhub-crop-zoom-pct{min-width:44px;text-align:center;font-size:13px;font-weight:600;color:var(--text)}
.qhub-crop-preset-row{display:inline-flex;gap:6px}
.qhub-crop-preset-btn{padding:6px 12px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.qhub-crop-preset-btn:hover{border-color:var(--orange);color:var(--text)}
.qhub-crop-actions,.qhub-image-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.qhub-brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.qhub-image-card h3{font-size:17px;margin:0 0 8px}
.qhub-image-card .qhub-alt-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:600}
.qhub-image-card .qhub-alt-input{width:100%;min-width:0;box-sizing:border-box}
.qhub-image-card .qhub-alt-help{margin:5px 0 0;color:var(--muted);font-size:12px}
.qhub-image-preview{display:grid;place-items:center;aspect-ratio:16/9;background:var(--panel-soft);border:1px solid var(--border);border-radius:8px;overflow:hidden;color:var(--muted)}
.qhub-image-preview[data-image-kind=poster]{aspect-ratio:4/5}
.qhub-image-preview img{width:100%;height:100%!important;object-fit:cover;display:block}
.qhub-shell .qhub-photo-btn{background:var(--panel-soft);color:var(--text);border:1px solid var(--border);border-radius:8px;min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;position:relative}
.qhub-photo-btn:focus-within{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:1200px){.qhub-registration-layout{grid-template-columns:1fr}}
@media(max-width:800px){.qhub-brand-grid,.qhub-event-workspace .qhub-brand-grid,.qhub-preview-dialog .event-hero{grid-template-columns:1fr}.qhub-image-drop-zone[data-image-kind=banner],.qhub-image-drop-zone[data-image-kind=poster]{max-width:100%}}
@media(max-width:720px){.qhub-attendee-preview .form-grid{grid-template-columns:1fr}.qhub-registration-controls,.qhub-attendee-preview,.qhub-image-card{padding:16px}.qhub-preview-dialog,.qhub-crop-dialog{padding:16px}}
@container qhub-preview (max-width:600px){.qhub-attendee-preview .form-grid{grid-template-columns:minmax(0,1fr)}.qhub-attendee-preview .form-grid>.field{grid-column:1/-1}.qhub-attendee-preview .event-hero{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.qhub-preview-stage[data-preview-stage=mobile]{justify-content:flex-start;overflow-x:auto;overscroll-behavior-inline:contain}}
.qhub-publish-confirm-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;inset:0;padding:24px;overflow:auto;border:1px solid var(--border);border-radius:14px;background:var(--panel);color:var(--text);box-shadow:0 24px 70px #0006}
.qhub-publish-confirm-dialog::backdrop{background:#07121ecc}
.qhub-publish-confirm-dialog h2{margin:0 0 10px;color:var(--text);font-size:21px}
.qhub-publish-confirm-dialog>p{color:var(--text);line-height:1.55}
.qhub-publish-confirm-dialog .qhub-publish-confirm-error{color:var(--error)}
.qhub-publish-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.qhub-publish-confirm-dialog button:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-publish-success{padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--panel);color:var(--text)}
.qhub-publish-success-status{margin:0 0 8px;color:var(--success);font-size:13px;font-weight:700}
.qhub-publish-success h3{margin:0 0 8px;color:var(--text);font-size:22px}
.qhub-publish-success>p{color:var(--muted)}
.qhub-publish-success-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.qhub-publish-success-actions .btn{min-height:44px}
.qhub-publish-copy-status{min-height:1em;margin:10px 0 0;font-size:13px}

/* TicketQ finishing pass: shared rhythm, compact controls and clear navigation. */
.qhub-shell{--radius:12px;--qhub-ui-font:var(--ticketq-font,Inter,ui-sans-serif,system-ui,sans-serif)}
body.qhub-workspace #app .qhub-shell :is(h1,h2,h3,h4,h5){color:var(--text)!important}
.qhub-mile,.qhub-mile-label small{color:var(--muted)}
body.qhub-workspace[data-qhub-theme=day] .qhub-shell :is(.eyebrow,.widget-label,.qhub-ticket-eyebrow){color:#A83C26}
.qhub-sidebar:not(.qhub-sidebar--builder){position:fixed;left:0;z-index:20;width:240px}
.qhub-sidebar{top:var(--tq-staging-height,0px);height:calc(100dvh - var(--tq-staging-height,0px));padding:24px 16px;overflow-y:auto}
.qhub-sidebar--builder{padding:20px 12px;overflow:visible}
.qhub-brand{margin-bottom:16px}
body.qhub-workspace .qhub-nav{gap:4px}
.qhub-nav-group{padding:12px 12px 4px;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
body.qhub-workspace .qhub-nav a{position:relative;gap:12px;padding:10px 12px;min-height:40px!important;border-radius:6px;align-items:center}
body.qhub-workspace .qhub-nav a.active{background:var(--hover)!important}
.qhub-nav a.active::before{position:absolute;left:0;top:10px;bottom:10px;width:3px;height:auto;margin:0;border-radius:2px}
body.qhub-workspace .qhub-sidebar--builder.is-collapsed .qhub-nav a{justify-content:center!important;padding:10px 0}
.qhub-sidebar--builder.is-collapsed .qhub-nav-group{display:none}
.qhub-sidebar--builder.is-collapsed .qhub-nav a.active::before{display:block}
.qhub-main{padding:28px 32px 48px}
html body.qhub-workspace header.qhub-header{margin-bottom:24px!important;align-items:center!important;gap:16px!important}
.qhub-header h1{font-size:30px}
.qhub-shell .primary-action,.qhub-shell .btn.primary{min-height:40px;padding:9px 14px;border-radius:8px;background:var(--orange);color:#FFFFFF;box-shadow:none;font-size:14px}
.qhub-shell .secondary-action,.qhub-shell .btn.ghost,.qhub-shell .qhub-photo-btn{min-height:36px;padding:7px 12px;border-radius:8px;font-size:13px;box-shadow:none}
.qhub-shell .widget-action{background:transparent;border:0;color:var(--text);padding:8px 0;min-height:36px}
.qhub-shell .widget{background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:none;padding:20px;min-width:0}
.dashboard-grid{gap:24px;grid-auto-rows:minmax(112px,auto)}
.dashboard-grid>.widget{height:auto;max-height:none;overflow:visible}
.qhub-shell .kpi strong{font-size:32px;line-height:1.1}
.qhub-shell .kpi span{color:var(--muted);font-size:13px}
.qhub-shell .empty-panel{min-height:0;padding:32px 24px;border:0;background:var(--panel);border-radius:12px}
.empty-panel h2,.qhub-empty h3{font-size:18px;margin:0 0 8px}
.empty-panel p,.qhub-empty p{margin:0;color:var(--muted);line-height:1.5}
.empty-panel .primary-action{margin-top:16px}
.qhub-empty{padding:12px 0}
.qhub-event-section h3{font-size:13px;color:var(--muted);margin:16px 0 8px}
.qhub-shell .event-row{display:flex;align-items:center;gap:12px;padding:12px 0;margin:0;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;color:var(--text);text-decoration:none;cursor:pointer}
.qhub-shell .event-row:hover{background:var(--hover)}
.event-row>div:first-child{flex:1;min-width:0}
.event-row strong{overflow-wrap:anywhere}
.event-row small{display:block;color:var(--warning);margin-top:4px}
.qhub-status{display:inline-flex;padding:3px 8px!important;font-size:11px;border:0!important;border-radius:5px;color:var(--muted)!important;background:var(--panel-soft)!important}
.qhub-status--neutral{color:var(--text)!important;background:color-mix(in srgb,var(--navy) 10%,var(--panel-soft))!important;border:1px solid color-mix(in srgb,var(--navy) 18%,transparent)!important}
body.qhub-workspace[data-qhub-theme=night] .qhub-status--neutral{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.18)!important;color:#e2eaf0!important}
.qhub-status--success{color:var(--success)!important}
.qhub-status--warning{color:var(--warning)!important}
.qhub-sales{font-size:12px;color:var(--muted);min-width:96px}
.qhub-sales progress{display:block;width:100%;height:3px;margin-top:8px;border:0;border-radius:2px;overflow:hidden;appearance:none;background:var(--border);accent-color:var(--orange)}
.qhub-sales progress::-webkit-progress-bar{background:var(--border)}
.qhub-sales progress::-webkit-progress-value{background:var(--orange)}
.qhub-sales progress::-moz-progress-bar{background:var(--orange)}
.qhub-shell .tq-org-event-card{cursor:pointer;overflow:visible!important;padding:0!important;background:var(--panel)!important;border:1px solid var(--border)!important;border-radius:12px!important;transition:none!important}
.qhub-shell .tq-org-event-card:hover{border-color:var(--muted)!important;transform:none;box-shadow:none}
.qhub-shell .tq-org-event-card:focus-visible{outline:2px solid var(--orange)!important;outline-offset:3px}
.qhub-shell .tq-org-event-card .poster{background:var(--panel-soft);color:var(--muted);border-radius:11px 11px 0 0;font-size:24px}
.qhub-shell .tq-org-event-card .card-body{position:relative;padding:16px}
.qhub-shell [data-resume-event]{background:var(--orange);color:#FFFFFF;border-color:var(--orange);min-height:40px!important;margin-inline-end:8px}
.qhub-shell .tq-org-event-meta{margin-block:12px;font-size:12px;color:var(--muted)}
.qhub-shell :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-shell .tq-draft-menu-btn{width:36px;min-height:36px;border-radius:6px}
.qhub-shell .tq-draft-menu-item{color:var(--text);min-height:36px}
.qhub-shell .tq-draft-menu-item[data-delete-draft]{color:var(--error)}
body.qhub-workspace .tq-confirm-card .btn{min-height:38px;padding:8px 14px;border-radius:8px}
body.qhub-workspace .tq-confirm-card .btn:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-welcome{margin-bottom:24px}
.qhub-welcome-bar h2{font-size:20px;font-weight:600!important}
.qhub-welcome-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 0;font-size:12px;white-space:nowrap}
.qhub-welcome-body{display:grid;grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .22s ease,visibility .22s}
.qhub-welcome-content{min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.7fr);gap:24px}
.qhub-welcome.is-collapsed{padding:12px 20px}
.qhub-welcome.is-collapsed .qhub-welcome-body{grid-template-rows:0fr;visibility:hidden}
.qhub-welcome-chevron{transform:rotate(180deg)}
.qhub-welcome.is-collapsed .qhub-welcome-chevron{transform:none}
.qhub-setup-list{list-style:none;padding:8px 0;margin:0;font-size:13px}
.qhub-setup-list li{display:flex;align-items:center;gap:8px;margin:8px 0;color:var(--muted)}
.qhub-setup-list a{color:var(--muted);text-decoration:none}
.qhub-setup-list .is-done{color:var(--success)}
.qhub-theme-switch{position:relative;display:block;width:56px;height:36px;border:1px solid var(--border);border-radius:18px;background:var(--panel-soft);padding:3px;cursor:pointer;margin:0 0 12px}
.qhub-theme-knob{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#FFFFFF;color:#142737;transform:translateX(0);transition:transform .22s ease}
.qhub-theme-knob svg{width:18px;height:18px}
.qhub-theme-moon{display:none}
.qhub-theme-switch[aria-checked=true]{background:#355064}
.qhub-theme-switch[aria-checked=true] .qhub-theme-knob{transform:translateX(20px);background:#0B1220;color:#F8FAFC}
.qhub-theme-switch[aria-checked=true] .qhub-theme-sun{display:none}
.qhub-theme-switch[aria-checked=true] .qhub-theme-moon{display:block}
.qhub-sidebar--builder.is-collapsed .qhub-theme-switch{width:48px;margin-inline:auto}
.qhub-sidebar--builder.is-collapsed .qhub-theme-switch[aria-checked=true] .qhub-theme-knob{transform:translateX(12px)}
@media(max-width:768px){
  .qhub-sidebar:not(.qhub-sidebar--builder){position:relative;left:auto;z-index:auto;width:100%}
  .qhub-sidebar,.qhub-sidebar--builder{position:relative;top:auto;height:auto;overflow:visible;padding:16px}
  .qhub-main{padding:24px 16px 40px}
  html body.qhub-workspace header.qhub-header{display:flex!important;flex-wrap:wrap}
  .qhub-header h1{font-size:28px}
  .dashboard-grid{gap:16px}
  .qhub-welcome-content{grid-template-columns:minmax(0,1fr);gap:8px}
  .qhub-sidebar--builder.is-collapsed .qhub-nav-group{display:block}
  body.qhub-workspace .qhub-sidebar--builder.is-collapsed .qhub-nav a{justify-content:flex-start!important;padding:10px 12px}
}
@media(max-width:480px){.qhub-shell .event-row{flex-wrap:wrap}.event-row .qhub-sales{flex-basis:100%}.qhub-welcome-bar{flex-wrap:wrap;gap:4px}}
@media(prefers-reduced-motion:reduce){.qhub-welcome-body,.qhub-theme-knob{transition:none}}

/* Focused Q Hub refinements: keep the rail above the independent milestone layer. */
@media(min-width:901px){
  .qhub-sidebar--builder{z-index:40}
  body.qhub-workspace .qhub-sidebar--builder.is-collapsed .qhub-nav a.active{background:transparent!important}
  body.qhub-workspace .qhub-sidebar--builder.is-collapsed .qhub-nav a:hover,
  body.qhub-workspace .qhub-sidebar--builder.is-collapsed .qhub-nav a:focus-visible{background:var(--hover)!important}
}
@media(min-width:769px) and (max-width:1100px){
 .qhub-sidebar:not(.qhub-sidebar--builder){width:220px}
}
.qhub-welcome-summary{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.5;max-width:680px}
.qhub-welcome-body{margin-top:12px}
.qhub-welcome.is-collapsed .qhub-welcome-body{margin-top:0}
.qhub-welcome-content .primary-action{margin-top:0}
.qhub-shell #qhubCreateEvent[hidden]{display:none!important}
.qhub-settings-section h2{font-size:20px;font-weight:600!important}
.qhub-settings-defaults{grid-template-columns:minmax(0,1fr);max-width:440px}
.qhub-profile [hidden]{display:none!important}
.qhub-profile-photo-actions{position:relative}
.qhub-profile .qhub-photo-file{left:0;top:0;width:1px!important;max-width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0;clip-path:inset(50%)}
.qhub-profile-photo-actions:has(.qhub-photo-file:focus-visible) label{outline:2px solid var(--orange);outline-offset:3px}
body.qhub-workspace[data-qhub-theme=day] .qhub-scan-logo{position:relative;width:240px;max-width:100%;height:74px;overflow:hidden;margin-bottom:16px}
body.qhub-workspace[data-qhub-theme=day] .qhub-scan-logo img{position:absolute;width:330.6px;max-width:none;height:auto;left:-46.59px;top:-39.26px;margin:0;filter:none}
.qhub-event-workspace .qhub-ticket-capacity{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:8px 12px;border-radius:8px;font-size:13px;line-height:1.4;background:transparent}
.qhub-event-workspace .qhub-ticket-capacity.is-invalid{border-color:var(--warning);color:var(--warning)}
.qhub-event-workspace .qhub-ticket-capacity.is-invalid strong{color:inherit}
.qhub-event-workspace .qhub-ticket-card>header{position:static!important;top:auto!important;z-index:auto!important;display:flex!important;padding:0 0 14px!important;margin:0 0 18px!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;border:0!important;border-bottom:1px solid var(--border)!important;gap:10px;min-height:0!important}
.qhub-event-workspace .qhub-ticket-number{width:28px;height:28px;background:transparent;color:var(--muted);font-weight:600}
.qhub-event-workspace .qhub-ticket-actions{margin-left:auto;gap:6px}
.qhub-event-workspace .qhub-ticket-actions button{min-height:36px;padding:6px 8px;border-color:transparent;background:transparent;border-radius:6px;font-size:12px;font-weight:600;color:var(--muted)}
.qhub-event-workspace .qhub-ticket-actions button[data-ticket-action=remove]{color:var(--error)}
.qhub-event-workspace .qhub-ticket-actions button:hover{background:var(--hover);border-color:var(--border)}
.qhub-ticket-intro{margin:0 0 16px}
.qhub-ticket-intro p{font-size:14px}
/* Organizer-only polish: native controls, compact progress, and a bounded action dock. */
body.qhub-workspace{--qhub-scroll-thumb:#88949c;scrollbar-width:thin;scrollbar-color:var(--qhub-scroll-thumb) transparent}
body.qhub-workspace[data-qhub-theme=night]{--qhub-scroll-thumb:#607e95}
html:has(body.qhub-workspace){scrollbar-width:thin;scrollbar-color:#88949c transparent}
html:has(body.qhub-workspace[data-qhub-theme=night]){scrollbar-color:#607e95 transparent}
html:has(body.qhub-workspace)::-webkit-scrollbar{width:7px;height:7px}
html:has(body.qhub-workspace)::-webkit-scrollbar-track{background:transparent}
html:has(body.qhub-workspace)::-webkit-scrollbar-thumb{background:#88949c;border-radius:8px}
html:has(body.qhub-workspace[data-qhub-theme=night])::-webkit-scrollbar-thumb{background:#607e95}
html:has(body.qhub-workspace)::-webkit-scrollbar-thumb:hover{background:#5E6B73}
html:has(body.qhub-workspace[data-qhub-theme=night])::-webkit-scrollbar-thumb:hover{background:#b8c8d4}
body.qhub-workspace *{scrollbar-width:thin;scrollbar-color:var(--qhub-scroll-thumb) transparent}
body.qhub-workspace::-webkit-scrollbar,body.qhub-workspace *::-webkit-scrollbar{width:7px;height:7px}
body.qhub-workspace::-webkit-scrollbar-track,body.qhub-workspace *::-webkit-scrollbar-track{background:transparent}
body.qhub-workspace::-webkit-scrollbar-thumb,body.qhub-workspace *::-webkit-scrollbar-thumb{background:var(--qhub-scroll-thumb);border-radius:8px}
body.qhub-workspace::-webkit-scrollbar-thumb:hover,body.qhub-workspace *::-webkit-scrollbar-thumb:hover{background:var(--muted)}
.qhub-type-fieldset{border:0;padding:0;margin:0;min-width:0}
.qhub-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.qhub-event-workspace .qhub-type-form{padding:0;border:0;background:transparent}
.qhub-type-card{position:relative;display:block!important;margin:0!important;cursor:pointer}
.qhub-event-workspace .qhub-type-card input[type=radio]{position:absolute;top:0;left:0;width:1px;min-height:0;height:1px;padding:0;margin:0;clip-path:inset(50%);overflow:hidden}
.qhub-type-surface{display:flex;align-items:flex-start;gap:12px;border:2px solid var(--border);border-radius:10px;padding:18px 14px;min-height:110px;background:var(--panel);transition:border-color .2s,background-color .2s}
.qhub-type-surface>svg{width:24px;height:24px;flex:none;color:var(--muted)}
.qhub-type-surface>span:nth-child(2){flex:1;min-width:0}
.qhub-type-surface strong{font-size:14px;line-height:1.5}
.qhub-type-description{display:block;font-size:13px;font-weight:400;line-height:1.5;color:var(--muted);margin-top:4px}
.qhub-type-selected{opacity:0;flex:none;font-size:15px;font-weight:700;color:var(--text)}
.qhub-type-card input:checked+.qhub-type-surface{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 5%,var(--panel))}
.qhub-type-card input:checked+.qhub-type-surface .qhub-type-selected{opacity:1}
.qhub-type-card input:focus-visible+.qhub-type-surface{outline:2px solid var(--text);outline-offset:3px}
.qhub-type-card:hover .qhub-type-surface{background:var(--hover)}
.qhub-workspace-content{display:flex;flex-direction:column;min-height:calc(100dvh - 190px);padding-bottom:0}
.qhub-wizard[data-step="1"] .qhub-workspace-content{max-width:740px;width:100%}
.qhub-wizard[data-step="1"] #qhubWizardBody{padding-bottom:24px}
.qhub-event-workspace .qhub-wizard-actions{position:sticky!important;bottom:0;z-index:10;background:var(--navy-deep)!important;box-shadow:none!important;border-top:1px solid var(--border)!important;min-height:76px;margin-top:auto;padding:16px 0 max(16px,env(safe-area-inset-bottom))!important;display:flex;flex-wrap:wrap;gap:8px 16px;width:100%;max-width:1040px;align-items:center}
.qhub-type-status{flex-basis:100%;min-height:20px;line-height:20px;margin:0;color:var(--muted);font-size:13px}
.qhub-wizard:not([data-step="1"]) .qhub-type-status{display:none}
.qhub-event-workspace .qhub-wizard-actions .btn.primary{color:#142737}
.qhub-event-workspace .qhub-wizard-actions .btn.primary:disabled{background:var(--panel-soft);color:var(--muted);border:1px solid var(--border);opacity:1;cursor:not-allowed}
.qhub-preview-trigger{display:inline-flex;align-items:center;gap:8px;width:auto!important}
.qhub-mile{min-height:58px}
.qhub-mile:last-child{min-height:48px}
.qhub-mile-label small:empty{display:none}
.qhub-mile-label small{font-size:11px;line-height:1.4;margin-top:2px;color:var(--muted)}
.qhub-mile-line{top:43px}
.qhub-mile.is-upcoming .qhub-mile-mark{background:transparent}
.qhub-mile.is-current .qhub-mile-mark{color:#142737}
.qhub-shell :is(#qhubCreateEvent,#qhubWelcomeCreate){color:#142737}
.qhub-shell .kpi{justify-content:flex-start;gap:8px}
.qhub-shell .kpi small{display:block;color:var(--muted);font-size:12px;font-weight:400;line-height:1.5;margin:0}
.qhub-shell .qhub-dashboard-row{display:grid;grid-template-columns:minmax(96px,max-content) minmax(0,1fr) minmax(120px,160px) 160px;gap:12px;align-items:center;position:relative;cursor:pointer}
.qhub-dashboard-row .qhub-status{justify-self:start;white-space:nowrap}
/* Stretch the native disclosure button across the row, beneath independent actions. */
.qhub-row-title{padding:0;border:0;background:transparent;color:var(--text);text-decoration:none;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.qhub-row-title::after{content:"";position:absolute;inset:0;min-height:44px}
.qhub-dashboard-row .qhub-row-actions{position:relative;z-index:1}
.qhub-dashboard-row:has(.tq-draft-menu-pop:not([hidden])){z-index:2}
.qhub-shell .qhub-dashboard-row:has(.qhub-row-title:focus-visible){outline:2px solid var(--orange);outline-offset:3px}
.qhub-dashboard-row .qhub-row-title:focus-visible{outline:none}
.qhub-row-title:hover{text-decoration:underline}
.qhub-row-details p{font-size:12px;margin:4px 0 0;color:var(--muted)}
body.qhub-workspace[data-qhub-theme=day] .qhub-row-details p{color:#5f6e7d}
.qhub-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.qhub-finish-setup{color:color-mix(in srgb,var(--orange) 65%,#142737);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;padding:8px 0;min-height:36px;display:inline-flex;align-items:center}
body.qhub-workspace[data-qhub-theme=night] .qhub-finish-setup{color:#ffa77f}
.qhub-finish-setup:hover{text-decoration:underline}
.qhub-dashboard-row .qhub-sales{min-width:0;width:100%}
.qhub-dashboard-row .qhub-sales progress{height:6px;border-radius:4px;min-width:0}
.qhub-dashboard-row .tq-draft-menu{position:relative;top:auto;right:auto}
.qhub-dashboard-row .tq-draft-menu-pop{z-index:25;min-width:150px}
.qhub-dashboard-row .tq-draft-menu-item{display:block;text-decoration:none;font:inherit;font-size:13px;text-align:left}
.qhub-dashboard-row [data-delete-draft]{border-top:1px solid var(--border);margin-top:4px;color:var(--error)}
.qhub-dashboard-row :is(a,button):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(min-width:901px){
 .qhub-sidebar{box-sizing:border-box}
 .qhub-sidebar:not(.qhub-sidebar--builder) .qhub-nav{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;gap:4px;padding-bottom:8px}
 .qhub-sidebar:not(.qhub-sidebar--builder) .qhub-nav-help{margin-top:auto}
 .qhub-sidebar:not(.qhub-sidebar--builder) .qhub-sidebar-foot{flex:none;margin-top:0;padding-top:8px}
 .qhub-sidebar--builder .qhub-nav-help{margin-top:12px}
 .qhub-sidebar--builder .qhub-rail-toggle::after,.qhub-sidebar--builder .qhub-theme-switch::after{position:absolute;left:calc(100% + 22px);top:50%;transform:translateY(-50%);background:var(--panel);border:1px solid var(--border);color:var(--text);box-shadow:0 5px 14px #0003;padding:6px 9px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;z-index:50;pointer-events:none;opacity:0}
 .qhub-sidebar--builder.is-collapsed .qhub-rail-toggle::after{content:attr(aria-label)}
 .qhub-sidebar--builder.is-collapsed .qhub-theme-switch::after{content:attr(aria-label)}
 .qhub-sidebar--builder.is-collapsed :is(.qhub-rail-toggle,.qhub-theme-switch):is(:hover,:focus-visible)::after{opacity:1}
 .qhub-sidebar--builder .qhub-theme-switch{position:relative;overflow:visible}
 .qhub-sidebar--builder .qhub-rail-toggle{position:relative}
 .qhub-sidebar--builder .qhub-rail-toggle::after{left:calc(100% + 26px)}
}
@media(min-width:1201px){.qhub-dashboard-row .qhub-row-actions{align-self:start}}
@media(max-width:1200px){.qhub-shell .qhub-dashboard-row{grid-template-columns:minmax(96px,max-content) minmax(100px,1fr) 112px}.qhub-dashboard-row .qhub-sales{grid-column:2;grid-row:2;box-sizing:border-box;padding-right:4px}.qhub-row-actions{grid-column:3;grid-row:1 / span 2;flex-wrap:wrap;max-width:112px}}
@media(max-width:720px){
 .qhub-type-grid{grid-template-columns:minmax(0,1fr)}
 .qhub-type-surface{min-height:96px;padding:16px 12px}
 .qhub-workspace-content{min-height:calc(100dvh - 250px)}
 .qhub-event-workspace .qhub-wizard-actions{padding-bottom:max(16px,env(safe-area-inset-bottom))!important}
 .qhub-shell .qhub-dashboard-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .qhub-dashboard-row .qhub-status{grid-column:1;grid-row:1}
 .qhub-row-details{grid-column:1 / -1;grid-row:2}
 .qhub-dashboard-row .qhub-sales{grid-column:1 / -1;grid-row:3;margin:12px 0 6px;padding-right:0}
 .qhub-row-actions{grid-column:2;grid-row:1;max-width:none;flex-wrap:nowrap}
 .qhub-row-actions .tq-draft-menu-btn,.qhub-finish-setup{min-height:44px}
 .qhub-row-actions .tq-draft-menu-btn{width:44px}
}
@media(min-width:721px) and (max-width:900px){.qhub-workspace-layout{display:block}.qhub-milestone-rail{display:none}.qhub-mile-mobile{display:block}}
@media(prefers-reduced-motion:reduce){.qhub-type-surface{transition:none}}
@media(max-width:900px){
  .qhub-sidebar--builder.is-collapsed .qhub-nav a::after,
  .qhub-sidebar--builder.is-collapsed .qhub-sidebar-foot .secondary-action::after{display:none!important;content:none}
  .qhub-welcome-toggle{min-height:44px}
  .qhub-event-workspace .qhub-ticket-actions button{min-height:44px}
}

/* Q Hub account menu and whole-unit dashboard layout. */
.qhub-shell .qhub-sidebar-foot{position:relative;flex:none;margin-top:auto;padding-top:12px}
.qhub-profile-control{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 8px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.qhub-menu-avatar{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;overflow:hidden;background:var(--panel-soft);color:var(--text);font-size:12px;font-weight:700}
.qhub-menu-avatar img{width:100%;height:100%;object-fit:cover}
.qhub-menu-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.qhub-profile-chevron{flex:none}
.qhub-profile-popover{position:absolute;bottom:calc(100% + 8px);left:0;width:224px;max-width:calc(100vw - 32px);padding:6px;border:1px solid var(--border);border-radius:10px;background:var(--panel);box-shadow:0 8px 24px #0003;z-index:80}
.qhub-profile-popover[hidden]{display:none!important}
.qhub-profile-popover :is(a,button){display:flex;align-items:center;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:13px;text-decoration:none;text-align:left;cursor:pointer}
.qhub-profile-popover :is(a,button):hover{background:var(--hover)}
.qhub-account-tabs{flex-wrap:wrap}
.qhub-profile-popover .qhub-profile-signout{border-top:1px solid var(--border);border-radius:0;margin-top:4px}
.qhub-shell :is(.qhub-profile-control,.qhub-profile-popover a,.qhub-profile-popover button,.qhub-account-tabs a):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-account-tabs{display:flex;gap:8px;margin-bottom:20px;border-bottom:1px solid var(--border)}
.qhub-account-tabs a{padding:10px 16px;color:var(--muted);text-decoration:none;border-bottom:2px solid transparent}
.qhub-account-tabs a[aria-current=page]{border-color:var(--orange);color:var(--text);font-weight:600}
.qhub-welcome.is-collapsed .qhub-welcome-summary{display:none}
.qhub-welcome-chevron{transition:transform .2s ease}
.qhub-finish-setup{gap:5px}
.qhub-main{container-type:inline-size;container-name:qhub-content;transition:none}
#dashboardGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;grid-auto-rows:auto;grid-auto-flow:row}
#dashboardGrid>.widget[data-size]{grid-column:span 1;grid-row:auto;min-width:0;overflow-wrap:normal;word-break:normal}
#dashboardGrid>.widget[data-size=medium],#dashboardGrid>.widget[data-size=large]{grid-column:span 2}
#dashboardGrid .widget-heading{flex-wrap:wrap;gap:8px}
#dashboardGrid .widget-heading h2{overflow-wrap:normal;word-break:normal}
#dashboardGrid>.kpi{min-height:108px;padding:16px;gap:6px}
#dashboardGrid>.kpi small{margin-top:auto}
@container qhub-content (min-width:880px){
 #dashboardGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
 #dashboardGrid>.widget[data-size=large]{grid-column:span 4}
}
@container qhub-content (max-width:519px){
 #dashboardGrid{grid-template-columns:minmax(0,1fr)}
 #dashboardGrid>.widget[data-size]{grid-column:span 1}
 .qhub-dashboard-row{grid-template-columns:minmax(0,1fr) auto!important}
 .qhub-dashboard-row .qhub-row-details{grid-column:1/-1;grid-row:2}
 .qhub-dashboard-row .qhub-sales{grid-column:1/-1;grid-row:3;min-width:0;margin:12px 0 0;padding-right:0}
 .qhub-dashboard-row .qhub-row-actions{grid-column:2;grid-row:1}
}
body.qhub-editing .qhub-main{margin-right:340px}
body.qhub-editing #dashboardGrid{padding:5px;row-gap:28px}
body.qhub-editing #dashboardGrid .widget-heading h2{font-size:18px}
#qhubCustomizer{box-sizing:border-box;width:340px;padding:20px;top:var(--tq-staging-height,0px);height:calc(100dvh - var(--tq-staging-height,0px))}
#qhubCustomizer :is(h2,h3){color:var(--text);overflow-wrap:normal;word-break:normal}
#qhubCustomizer .qhub-widget-selection input:checked+span{color:var(--muted)}
.widget-size-segments{display:inline-flex;overflow:hidden;border:1px solid var(--border);border-radius:8px;background:var(--panel)}
.widget-size-segments button{width:32px;min-height:32px;border:0;border-right:1px solid var(--border);padding:4px;background:transparent;color:var(--text);font:inherit;font-size:12px;cursor:pointer}
.widget-size-segments button:last-child{border-right:0}
.widget-size-segments button[aria-pressed=true]{background:var(--panel-soft);box-shadow:inset 0 -2px var(--orange);font-weight:700}
.widget-size-segments button:focus-visible{outline:2px solid var(--orange);outline-offset:-3px}
body.qhub-editing .widget-edit-tools{gap:6px}
.qhub-event-workspace .qhub-wizard-actions{min-height:56px;max-width:none;padding:8px 0 max(8px,env(safe-area-inset-bottom))!important;gap:4px 16px;background:var(--navy-deep)!important}
.qhub-event-workspace[data-step="1"] .qhub-wizard-actions{max-width:740px}
.qhub-type-status{min-height:20px}
@media(min-width:901px){
 .qhub-shell .qhub-sidebar{overflow:visible}
 .qhub-shell .qhub-brand{flex:none}
 .qhub-shell .qhub-nav{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;gap:3px;padding-bottom:8px}
 .qhub-shell .qhub-nav>a{flex:none;height:auto;min-height:40px!important;max-height:44px}
 .qhub-shell .qhub-nav{justify-content:flex-start;align-content:start}
 .qhub-nav-group{flex:none;margin-top:8px}
 .qhub-sidebar--builder.is-collapsed .qhub-menu-name,.qhub-sidebar--builder.is-collapsed .qhub-profile-chevron{display:none}
 .qhub-sidebar--builder.is-collapsed .qhub-profile-control{width:40px;min-height:40px;padding:3px;border-color:transparent;justify-content:center}
 .qhub-sidebar--builder.is-collapsed .qhub-profile-popover{left:calc(100% + 10px);bottom:0}
 .qhub-sidebar--builder.is-collapsed .qhub-profile-control:is(:hover,:focus-visible)::after{content:attr(title);position:absolute;left:calc(100% + 10px);padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--text);font-size:12px;white-space:nowrap;z-index:90}
}
body.qhub-workspace ::-webkit-scrollbar-button{display:none;width:0;height:0}
@media(max-width:1100px){body.qhub-editing .qhub-main{margin-right:0}}
@container qhub-content (max-width:900px){
 .qhub-embed .qhub-event-manage>.detail-grid{grid-template-columns:minmax(0,1fr)}
}
@container qhub-content (max-width:520px){
 .qhub-embed .qhub-event-manage .form-grid{grid-template-columns:minmax(0,1fr)}
 .qhub-embed .qhub-event-manage .form-grid>.field.full{grid-column:auto}
}
@media(max-width:900px){
 .qhub-shell .qhub-sidebar-foot{display:none;margin-top:0}
 .qhub-shell .qhub-sidebar:has(.qhub-nav.is-open) .qhub-sidebar-foot{display:block}
 .qhub-profile-popover{position:relative;bottom:auto;margin-top:8px;width:100%;max-width:none}
}
@media(max-width:820px){
 #qhubCustomizer{position:relative;top:auto;width:100%;height:80dvh;border-left:0;border-top:1px solid var(--border)}
}
@media(prefers-reduced-motion:reduce){.qhub-welcome-chevron{transition:none}}
/* Both supplied Q Scan lockups have identical artwork bounds, different canvas padding. */
body.qhub-workspace .qhub-scan-logo{position:relative;width:240px;max-width:100%;height:74px;overflow:hidden;margin-bottom:16px}
body.qhub-workspace .qhub-scan-logo img{position:absolute;width:330.43px;max-width:none;height:auto;left:-46.46px;top:-39.26px;margin:0;filter:none}
body.qhub-workspace[data-qhub-theme=day] .qhub-scan-logo img{width:330.56px;left:-46.59px}
@media(min-width:901px) and (min-height:620px){.qhub-shell .qhub-sidebar--builder.is-collapsed .qhub-nav{overflow:visible}}
#dashboardGrid>.widget:not(.kpi){container-type:inline-size;container-name:qhub-widget}
@container qhub-widget (max-width:600px){
 .qhub-dashboard-row{grid-template-columns:minmax(0,1fr) auto!important}
 .qhub-dashboard-row .qhub-row-details{grid-column:1/-1;grid-row:2}
 .qhub-dashboard-row .qhub-sales{grid-column:1/-1;grid-row:3;min-width:0;margin:12px 0 0;padding-right:0}
 .qhub-dashboard-row .qhub-row-actions{grid-column:2;grid-row:1}
}

/* Approved Q Hub refinements, scoped to the existing shell and editor. */
.widget-size-dropdown{position:relative;flex:none}
.widget-size-trigger{min-height:32px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);padding:4px 8px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.widget-size-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:40;min-width:116px;padding:4px;border:1px solid var(--border);border-radius:8px;background:var(--panel);box-shadow:0 6px 18px #0003}
.widget-size-menu[hidden]{display:none}
.widget-size-menu button{display:block;width:100%;min-height:36px;padding:6px 10px;text-align:left;border:0;border-radius:5px;background:transparent;color:var(--text);font:inherit;font-size:13px;cursor:pointer}
.widget-size-menu button[aria-selected=true]{background:var(--panel-soft);font-weight:700}
.widget-size-menu button:focus-visible,.widget-size-trigger:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
body.qhub-editing #dashboardGrid>.widget{overflow:visible}
.qhub-preview-only{font-size:12px;color:var(--muted);margin:8px 0 0}
.qhub-attendee-preview button:disabled{cursor:default;opacity:.65}
.qhub-content-form{display:grid;gap:28px}
.qhub-content-form section{min-width:0}
.qhub-content-form h3{margin:0 0 16px;font-size:18px;color:var(--text)}
.qhub-content-intro{margin:0;color:var(--muted);font-size:14px}
.qhub-content-optional{display:block;margin-bottom:8px;font-size:12px}
.qhub-session-count{max-width:180px}
.qhub-session-list,.qhub-speaker-list{display:grid;gap:16px;margin-top:18px}
.qhub-content-card{min-width:0;margin:0;border:1px solid var(--border);border-radius:10px;padding:16px 20px 20px;background:var(--panel)}
.qhub-content-card legend{padding:0 8px;color:var(--text);font-weight:700;font-size:15px}
.qhub-content-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.qhub-content-heading h3{margin:0}
.qhub-legacy-content{margin-top:16px;color:var(--muted);font-size:14px}
.qhub-legacy-content summary{cursor:pointer;min-height:36px}
.qhub-content-form .qhub-field-error:empty{display:none}
.qhub-content-form [aria-invalid=true]{border-color:var(--error)}
.qhub-content-form :is(input,select,textarea,button,summary):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-event-workspace #qhubWizardBody{padding-bottom:24px}
.qhub-event-workspace[data-step="6"] #qhubWizardBody{padding-bottom:40px}
.qhub-event-workspace .qhub-wizard-actions{min-height:0;padding:8px 0 max(8px,env(safe-area-inset-bottom))!important;background:var(--navy-deep)!important;border-top:1px solid var(--border)!important;isolation:isolate}
.qhub-event-workspace #qhubWizardNext{margin-left:auto}
.qhub-event-workspace #qhubTypeStatus:empty{display:none}
/* Reserve the full sticky height as scroll clearance for focused fields. */
.qhub-workspace-content{scroll-padding-bottom:80px}
.qhub-event-workspace :is(input,select,textarea){scroll-margin-bottom:80px;scroll-margin-top:calc(var(--tq-staging-height,0px) + 24px)}
@media(max-width:720px){
 .qhub-content-form .qhub-form-grid{grid-template-columns:minmax(0,1fr)}
 .qhub-content-card{padding:14px}
 .qhub-event-workspace .qhub-wizard-actions .btn{min-height:44px}
}
/* Reserve Q Hub lockup geometry while theme-specific image assets load. */
.qhub-shell .qhub-brand-logo{width:168px;aspect-ratio:2276 / 1156;height:auto}

/* Builder polish: use the existing environment strip height, zero in production. */
.qhub-event-workspace{--tq-env-banner-height:var(--tq-staging-height,0px);--qhub-builder-header-height:100px}
html body.qhub-workspace .qhub-event-workspace > header.qhub-workspace-header{position:sticky!important;top:var(--tq-env-banner-height)!important;z-index:30!important;padding:12px 0!important;margin-bottom:22px!important;background:var(--navy-deep)!important;border-bottom:1px solid var(--border);isolation:isolate}
.qhub-event-workspace .qhub-milestone-rail{top:calc(var(--tq-env-banner-height) + var(--qhub-builder-header-height) + 16px);max-height:calc(100dvh - var(--tq-env-banner-height) - var(--qhub-builder-header-height) - 32px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:8px}
.qhub-event-workspace :is(input,select,textarea,button,a,[tabindex]){scroll-margin-top:calc(var(--tq-env-banner-height) + var(--qhub-builder-header-height) + 16px);scroll-margin-bottom:80px}
.qhub-profile-control .qhub-profile-chevron{align-self:center;color:var(--muted);background:none;border:0;transition:transform 180ms ease,color 180ms ease}
.qhub-profile-control[aria-expanded=true] .qhub-profile-chevron{transform:rotate(180deg)}
.qhub-profile-control:is(:hover,:focus-visible) .qhub-profile-chevron{color:var(--text)}
.qhub-address-actions{justify-content:flex-start;gap:12px}
.qhub-address-clear{appearance:none;border:0;background:none;color:var(--muted);font:inherit;font-size:13px;padding:6px 0;min-height:36px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.qhub-address-clear:is(:hover,:focus-visible){color:var(--orange)}
.qhub-speaker-followup{padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--panel-soft);margin-top:24px}
.qhub-speaker-followup h3,.qhub-speaker-followup p{margin:0 0 12px}
.qhub-speaker-followup .actions{display:flex;flex-wrap:wrap;gap:12px}
.qhub-speaker-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;padding:24px;border:1px solid var(--border);border-radius:16px;color:var(--text);background:var(--navy-deep)}
.qhub-speaker-dialog::backdrop{background:rgba(7,18,30,.7)}
.qhub-speaker-dialog .qhub-speaker-photo{width:120px;height:120px;object-fit:cover;border-radius:8px}
.qhub-speaker-dialog :is(input,textarea){box-sizing:border-box;width:100%}
.qhub-speaker-dialog header{position:static!important;display:flex;justify-content:space-between;background:none!important;padding:0!important;color:inherit}
.qhub-speaker-dialog .qhub-profile-context{margin-block:20px}
.qhub-speaker-dialog .qhub-profile-context h2{font-size:24px;line-height:1.3}
.qhub-speaker-dialog .qhub-form-grid{gap:16px}
.qhub-speaker-dialog label{display:flex;flex-direction:column;gap:6px;min-width:0}
.qhub-speaker-dialog .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.qhub-speaker-dialog .qhub-profile-preview{border:1px solid var(--border);padding:16px;margin-top:20px;border-radius:8px;overflow-wrap:anywhere}
@media(max-width:900px){.qhub-event-workspace .qhub-milestone-rail{display:none}.qhub-speaker-dialog .qhub-form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.qhub-profile-control .qhub-profile-chevron{transition:none}}

/* Clip sideways overflow without creating a second sticky scroll ancestor. */

html:has(body.qhub-workspace .qhub-event-workspace),body.qhub-workspace:has(.qhub-event-workspace){overflow-x:clip!important;overflow-y:visible!important}

.qhub-speaker-dialog .qhub-speaker-photo[hidden]{display:none!important}
.qhub-speaker-dialog :is(h2,h3){color:var(--text)}
.qhub-speaker-dialog label{font-size:14px;font-weight:600}
.qhub-speaker-dialog small,.qhub-speaker-dialog .qhub-section-help{color:var(--muted);font-size:13px;font-weight:400}
.qhub-speaker-dialog input:not([type=file]),.qhub-speaker-dialog textarea{min-height:44px;border:1px solid var(--border);border-radius:8px;padding:10px 12px;background:var(--input);color:var(--text);font:inherit;font-size:16px}
.qhub-speaker-dialog input[readonly]{background:var(--panel-soft)}
.qhub-speaker-dialog input[type=file]::file-selector-button{min-height:36px;margin-right:12px;padding:6px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer}
.qhub-speaker-dialog .btn{background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px}
.qhub-speaker-dialog .btn.primary{background:var(--orange);color:var(--accent-ink,#fff);border-color:var(--orange)}
.qhub-speaker-dialog :is(button,input,textarea):focus-visible{outline:2px solid var(--orange);outline-offset:3px}

.qhub-speaker-dialog header{box-shadow:none!important;min-height:0!important;margin:0!important;border:0!important}

/* Q Scan page CTA buttons */
.qhub-scan-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;font-size:15px}
.qhub-scan-tagline{margin:0 0 14px;font-size:14px}
.qhub-version-badge{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid var(--border);border-radius:999px;font-size:11px;font-weight:600;color:var(--muted);background:var(--panel-soft);white-space:nowrap}
.qhub-scan-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.qhub-scan-btn{display:inline-flex;align-items:center;gap:7px;padding:10px 18px;border-radius:10px;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer;white-space:nowrap;transition:none}
.qhub-scan-btn svg{flex:none}
.qhub-scan-btn--primary{background:var(--orange);color:#142737;border:1px solid var(--orange)}
.qhub-scan-btn--primary:hover{background:color-mix(in srgb,var(--orange) 88%,#000);border-color:color-mix(in srgb,var(--orange) 88%,#000)}
.qhub-scan-btn--secondary{background:var(--navy,#142737);color:#f0f4f7;border:1px solid color-mix(in srgb,var(--navy,#142737) 70%,var(--border))}
body.qhub-workspace[data-qhub-theme=night] .qhub-scan-btn--secondary{background:var(--panel-soft);color:var(--text);border-color:var(--border)}
.qhub-scan-btn--secondary:hover{border-color:var(--orange);color:#fff}
.qhub-scan-btn:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-scan-meta{font-size:12px;color:var(--muted);margin:4px 0 0}
.qhub-scan-empty{padding:12px 0 0}
.qhub-scan-empty h3{margin:0 0 6px;font-size:16px}
.qhub-scan-empty p{margin:0 0 12px;font-size:14px;color:var(--muted)}

/* Focused Event Builder field library, allocation, crop and read-only Review. */
.qhub-event-workspace #qhubPreviewEvent[hidden]{display:none!important}
.qhub-event-workspace .qhub-registration-add-select{max-width:100%;font-size:16px}
.qhub-system-field-note{color:var(--muted);font-size:12px}
.qhub-event-workspace .qhub-field-edit input[readonly]{background:var(--panel-soft);color:var(--muted)}
.qhub-event-workspace .qhub-ticket-capacity{display:block;padding:18px;background:var(--panel-soft);border:1px solid var(--orange);border-radius:12px}
.qhub-event-workspace .qhub-ticket-capacity h3{margin:0 0 14px;font-size:18px;color:var(--text)}
.qhub-event-workspace .qhub-ticket-capacity dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}
.qhub-event-workspace .qhub-ticket-capacity dt{font-size:12px;color:var(--muted)}
.qhub-event-workspace .qhub-ticket-capacity dd{margin:4px 0 0;font-size:25px;font-weight:700;color:var(--text)}
.qhub-event-workspace .qhub-ticket-capacity progress{width:100%;height:8px;accent-color:var(--orange)}
.qhub-event-workspace .qhub-ticket-capacity p{margin:10px 0 0;overflow-wrap:anywhere;color:var(--orange)}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=full]{border-color:var(--border)}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=full] p{color:var(--success)}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=over]{border-color:var(--error)}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=over] p{color:var(--error)}
.qhub-crop-editor[open]{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);padding:0;overflow:hidden}
.qhub-crop-editor .qhub-crop-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--border);flex:none}
.qhub-crop-editor .qhub-crop-header button{flex:none;width:44px;height:44px;padding:0}
.qhub-crop-editor .qhub-crop-middle{min-height:0;overflow:auto;padding:16px 20px;overscroll-behavior:contain}
.qhub-crop-editor .qhub-crop-frame{width:min(100%,calc(max(100px,100dvh - 310px) * var(--crop-ratio)));margin-inline:auto}
.qhub-crop-editor .qhub-crop-actions{flex:none;margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--panel)}
.qhub-crop-editor [data-crop-status]{flex-basis:100%;margin:0}
.qhub-crop-editor [data-crop-status]:empty{display:none}
.qhub-review{display:grid;gap:16px}
.qhub-review-section,.qhub-publish-summary{border:1px solid var(--border);border-radius:12px;padding:18px;background:var(--panel);min-width:0;overflow-wrap:anywhere}
.qhub-review-section>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.qhub-review-section>header h3{margin:0;font-size:18px}
.qhub-review-section>header button{flex:none;min-height:44px}
.qhub-review-title{font-size:25px;margin:0 0 12px}
.qhub-review-description{display:block;white-space:pre-wrap}
.qhub-review-fields{padding-left:20px}.qhub-review-fields li{margin:10px 0}.qhub-review-fields li span{display:block;color:var(--muted)}
.qhub-review-images{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.qhub-review-images img{max-width:100%;height:auto;object-fit:contain;border-radius:8px}
.qhub-review-banner{width:100%}.qhub-review-poster{width:220px}
.qhub-publish-summary{margin-top:20px}.qhub-publish-summary a{overflow-wrap:anywhere}
.qhub-event-workspace .qhub-wizard-actions{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.qhub-public-link{margin-top:18px;padding:16px;border:1px solid var(--border-soft);border-radius:10px;background:rgba(20,39,55,.035)}
.qhub-public-link-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.qhub-public-link-heading h4{margin:0;font-size:15px}
.qhub-shell .qhub-public-link-heading .btn,.qhub-shell .qhub-public-link-actions .btn{min-height:44px}
.qhub-public-link-current,.qhub-public-link-suggestion{display:block;margin:10px 0 0;overflow-wrap:anywhere;font-size:14px}
.qhub-public-link-current{color:var(--text);font-weight:650}
.qhub-public-link-current-row{display:flex;align-items:center;gap:8px;min-width:0;margin-top:10px}
.qhub-public-link-current-row[hidden]{display:none}
.qhub-public-link-current-row>.qhub-public-link-current{flex:1 1 auto;min-width:0;margin:0}
.qhub-public-link-current-row>.qhub-public-link-suggestion{flex:1 1 auto;min-width:0;margin:0}
.qhub-public-link-current-row>.btn{flex:none}
.qhub-shell .qhub-public-link-current-row>.btn{min-height:44px}
.qhub-public-link-edit{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0}
.qhub-public-link-edit svg{width:18px;height:18px}
.qhub-public-link-suggestion{color:var(--muted)}
.qhub-public-link-suggestion span{color:var(--text)}
.qhub-public-link-form{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:14px}
.qhub-public-link-form[hidden]{display:none}
.qhub-public-link-form>label{font-size:14px;font-weight:650;white-space:nowrap}
.qhub-public-link-form>input{width:100%;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--text);font:inherit}
.qhub-public-link-form>input:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-public-link-form>[data-public-slug-status]{grid-column:1/-1;min-height:1.35em;margin:0;color:var(--muted);font-size:13px}
.qhub-public-link-form>[data-public-slug-status][data-state=available]{color:var(--success)}
.qhub-public-link-form>[data-public-slug-status][data-state=taken],.qhub-public-link-form>[data-public-slug-status][data-state=invalid]{color:var(--error)}
.qhub-public-link-suggestion-button{padding:0;border:0;background:none;color:var(--orange);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.qhub-public-link-suggestion-button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-public-link-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.qhub-crop-editor .qhub-crop-header,.qhub-crop-editor .qhub-crop-middle{padding:12px}.qhub-crop-editor .qhub-crop-actions{padding-inline:12px}.qhub-event-workspace .qhub-ticket-capacity{padding:14px}.qhub-review-section{padding:14px}}
@media(max-width:520px){.qhub-public-link{padding:12px}.qhub-public-link-current-row{flex-wrap:wrap}.qhub-public-link-current-row>.qhub-public-link-current,.qhub-public-link-current-row>.qhub-public-link-suggestion{flex-basis:100%}.qhub-public-link-form{grid-template-columns:1fr;gap:6px}.qhub-public-link-actions>.btn{flex:1 1 140px}}

/* Event Overview: an operational summary built only from data the manage view already loads. */
.qhub-event-overview{margin:0 0 20px;padding:20px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.qhub-event-overview-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}
.qhub-event-overview-identity{display:grid;gap:6px;min-width:0}
.qhub-event-overview-title{margin:2px 0 0;font-size:22px;font-weight:600;line-height:1.25}
.qhub-event-overview-when,.qhub-event-overview-where{margin:0;color:var(--muted);font-size:13px}
.qhub-visibility-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border:1px solid var(--border);border-radius:999px;background:var(--panel-soft);color:var(--text);font-size:12px;font-weight:600}
.qhub-event-overview-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 0}
.qhub-event-overview-facts div{display:grid;gap:4px;margin:0}
.qhub-event-overview-facts dt{color:var(--muted);font-size:12px;font-weight:500}
.qhub-event-overview-facts dd{margin:0;font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1}
.qhub-event-overview-attention{margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
.qhub-event-overview-attention h2{margin:0 0 10px;font-size:14px;font-weight:600}
.qhub-event-overview-attention ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.qhub-event-overview-attention li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
.qhub-event-overview-attention li strong{display:block;font-size:13px}
.qhub-event-overview-attention li p{margin:2px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.qhub-attention-dot{width:7px;height:7px;border-radius:999px;background:var(--warning,#B45309)}
[data-qhub-theme=night] .qhub-attention-dot{background:#f4d691}
.qhub-event-overview-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
/* Specificity matches .qhub-shell .btn.ghost (36px) so overview actions keep a real touch target. */
.qhub-shell .qhub-event-overview-actions>.btn,.qhub-shell .qhub-event-overview-attention li>.btn{min-height:44px}
.qhub-event-overview-qflow{margin:16px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.qhub-field-help{margin:6px 0 0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}
.qhub-field-help strong{color:var(--text);font-weight:600}
@media(max-width:1024px){.qhub-event-overview-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 .qhub-event-overview{padding:16px}
 .qhub-event-overview-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .qhub-event-overview-facts dd{font-size:18px}
 .qhub-event-overview-attention li{grid-template-columns:auto minmax(0,1fr)}
 .qhub-event-overview-attention li>.btn{grid-column:2;justify-self:start}
 .qhub-event-overview-actions>.btn{flex:1 1 150px}}
/* Attendee operations: event-scoped posture, honest filters, progressive detail. */
.qhub-attendees-page{display:grid;gap:16px}
.qhub-attendees-scope{display:flex;flex-wrap:wrap;align-items:end;gap:16px}
.qhub-attendees-scope-label{display:grid;gap:8px;font-weight:600;min-width:0}
.qhub-attendees-scope-label select{min-width:min(320px,100%);min-height:44px;padding:9px 12px;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:9px}
.qhub-attendees-scope-note{margin:0;color:var(--muted);font-size:13px;line-height:1.5;max-width:64ch}
.qhub-attendee-count{margin:0;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.qhub-attendee-filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;padding:16px 20px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.qhub-attendee-filter{display:grid;gap:8px;font-weight:600;min-width:0}
.qhub-attendee-filter select{width:100%;min-width:0;min-height:44px;padding:9px 12px;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:9px;font-weight:400}
.qhub-attendee-filter-clear{grid-column:1/-1;justify-self:start;min-height:44px}
.qhub-attendee-filter-note{grid-column:1/-1;margin:0;color:var(--muted);font-size:12px;font-weight:400;line-height:1.5;max-width:74ch}
.qhub-attendees-table .qhub-attendee-name{font-weight:600}
.qhub-attendees-table td,.qhub-attendees-table th{vertical-align:middle}
.qhub-attendee-actions{white-space:nowrap}
/* Detail sits inline below the list: reachable by keyboard, dismissible, no focus trap. */
.qhub-attendee-detail-region{margin-top:4px}
.qhub-attendee-detail-region:not([hidden]) .qhub-attendee-detail{margin-top:16px;padding:20px;background:var(--panel);border:1px solid var(--border);border-left:3px solid var(--orange);border-radius:12px}
.qhub-attendee-detail h3{margin:0 0 10px;font-size:17px;font-weight:600}
.qhub-attendee-detail-status{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.qhub-attendee-detail-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;margin:0}
.qhub-attendee-detail-facts div,.qhub-attendee-detail-row{display:grid;gap:4px;margin:0}
.qhub-attendee-detail-facts dt,.qhub-attendee-detail-row dt{color:var(--muted);font-size:12px;font-weight:500}
.qhub-attendee-detail-facts dd,.qhub-attendee-detail-row dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.qhub-attendee-detail-note{margin:14px 0 0;color:var(--muted);font-size:12px}
.qhub-attendee-detail-sensitive{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.qhub-attendee-detail-sensitive h4{margin:0 0 10px;font-size:13px;font-weight:600}
.qhub-attendee-detail-sensitive h4:not(:first-child){margin-top:16px}
.qhub-attendee-detail-sensitive .qhub-attendee-detail-row+.qhub-attendee-detail-row{margin-top:10px}
.qhub-attendee-detail-empty{margin:0;color:var(--muted);font-size:13px}
.qhub-shell .qhub-attendee-detail>.btn,.qhub-shell .qhub-attendee-detail .qhub-attendee-detail-status>.btn{min-height:44px}
.qhub-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media(max-width:1024px){.qhub-attendee-filters{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));padding:14px 16px}}
@media(max-width:720px){
 .qhub-attendees-scope-label select{min-width:0;width:100%}
 .qhub-attendee-filters{grid-template-columns:1fr;padding:14px 16px}
 .qhub-attendees-table{min-width:0;width:100%;display:block}
 .qhub-attendees-table thead{display:none}
 .qhub-attendees-table tbody{display:grid;gap:12px}
 .qhub-attendees-table tr{display:grid;grid-template-columns:1fr auto;gap:8px 12px;padding:14px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
 .qhub-attendees-table td,.qhub-attendees-table th.qhub-attendee-name{display:grid;grid-column:1;padding:0;border:0;font-size:13px;text-align:left}
 .qhub-attendees-table td:last-child,.qhub-attendees-table th[scope=row]~td:last-child{grid-column:2;justify-self:end}
 .qhub-attendee-detail-region:not([hidden]) .qhub-attendee-detail{padding:16px}
 .qhub-attendee-detail-facts{grid-template-columns:1fr}
}
/* Event workspace shell: one frame for the active event, its status, and event-level areas. */
.qhub-event-shell{margin:0 0 20px;padding:20px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.qhub-event-shell-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:14px}
.qhub-event-shell-identity{display:grid;gap:8px;min-width:0}
.qhub-event-shell-title{margin:2px 0 0;font-size:22px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.qhub-event-shell-when{margin:0;color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.qhub-event-shell-switcher{flex:0 1 260px;min-width:0}
.qhub-event-shell-switcher select{width:100%;min-height:44px;padding:9px 12px;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:9px}
.qhub-event-shell-visibility{margin:12px 0 0}
.qhub-event-tabs{display:flex;gap:4px;margin-top:18px;overflow-x:auto;scrollbar-width:thin}
.qhub-event-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border-radius:9px;color:var(--muted);font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.qhub-event-tabs a:hover{background:var(--hover);color:var(--text)}
.qhub-event-tabs a.active{background:rgba(250,101,42,.12);color:var(--text)}
/* Dashboard attention and quick actions. */
.qhub-dashboard-body{display:grid;gap:22px}
.qhub-dashboard-attention{padding:18px 20px;background:var(--panel);border:1px solid var(--border);border-radius:12px}
.qhub-dashboard-attention h2{margin:0 0 12px;font-size:14px;font-weight:600}
.qhub-dashboard-attention-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.qhub-dashboard-attention-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}
.qhub-dashboard-attention-copy{min-width:0}
.qhub-dashboard-attention-copy strong{display:block;font-size:13px}
.qhub-dashboard-attention-copy p{margin:2px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.qhub-dashboard-attention-clear{margin:0;color:var(--muted);font-size:13px}
.qhub-zero-live-notice{padding:12px 16px;margin-bottom:16px;background:var(--panel-soft);border:1px solid var(--border);border-radius:8px;font-size:14px;color:var(--text)}
.qhub-zero-live-notice p{margin:0}
.qhub-attendee-failures{padding:14px 16px;margin-bottom:14px;background:var(--panel);border:1px solid var(--error);border-radius:12px}
.qhub-attendee-failures h3{margin:0 0 8px;color:var(--error);font-size:13px;font-weight:600}
.qhub-attendee-failures ul{margin:0 0 8px;padding-left:18px;font-size:13px}
.qhub-attendee-failures p{margin:0;color:var(--muted);font-size:12px}
@media(max-width:1024px){.qhub-event-shell-switcher{flex:1 1 200px}}
@media(max-width:720px){
 .qhub-event-shell{padding:16px}
 .qhub-event-shell-title{font-size:19px}
 .qhub-event-shell-switcher{flex:1 1 100%}
 .qhub-event-tabs{margin-left:-2px;margin-right:-2px;padding-bottom:4px}
 .qhub-dashboard-attention{padding:14px 16px}
 .qhub-dashboard-attention-list li{grid-template-columns:auto minmax(0,1fr)}
 .qhub-dashboard-attention-list li>.btn{grid-column:2;justify-self:start}
}
/* Reports and final Review guidance reuse Q Hub's theme and responsive rhythm. */
.qhub-reports-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;background:var(--panel);border:1px solid var(--border);border-radius:12px;margin-bottom:16px}
.qhub-reports-filters label,#qhubReportsWorkspace .widget>label{display:grid;gap:8px;font-weight:600;min-width:0}
.qhub-reports-filters select,.qhub-reports-filters input,#qhubReportsWorkspace [data-registration-event]{width:100%;min-width:0;min-height:44.1px;padding:9px 12px;background:var(--panel);color:var(--text);border:1px solid var(--border);border-radius:8px}
.qhub-reports-filters .actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px}
#qhubReportsWorkspace [data-report-results]{margin-bottom:20px}
#qhubReportsWorkspace [data-report-error]{color:var(--text);border-left:3px solid #FA652A;padding:12px}
#qhubReportsWorkspace [data-registration-export]{display:inline-flex;align-items:center;min-height:44px;margin-top:16px}
/* Registration export scope disclosure: always visible so the download's real boundary is never inferred from nearby report filters. */
#qhubReportsWorkspace .qhub-export-scope{max-width:64ch;margin:10px 0 0;color:var(--muted);font-size:13px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
#qhubReportsWorkspace [hidden]{display:none!important}
.qhub-event-workspace .qhub-review-readiness{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:9px 12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--panel);font-size:13px}
.qhub-event-workspace .qhub-review-readiness strong{font-size:13px}
.qhub-event-workspace .qhub-review-readiness.is-ready{color:var(--success)}
.qhub-event-workspace .qhub-review-readiness.is-blocked{align-items:flex-start;flex-direction:column;color:var(--text)}
.qhub-event-workspace .qhub-review-readiness ul{display:grid;gap:8px;width:100%;margin:0;padding:0;list-style:none}
.qhub-event-workspace .qhub-review-readiness li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--border-soft)}
.qhub-event-workspace .qhub-review-readiness li>span{min-width:0}
.qhub-event-workspace .qhub-review-readiness li>button,.qhub-event-workspace .qhub-review-readiness li>div{flex:none}
.qhub-event-workspace .qhub-review-readiness .btn{min-height:44px}
.qhub-review .tq-event-page{width:100%;max-width:none;border:1px solid var(--border-soft);border-radius:14px;overflow:hidden}
/* Keep the accessible target while letting the pencil sit quietly in the preview. */
.qhub-review .tqe-preview-edit{border-color:transparent;background:transparent;color:#526579;box-shadow:none}
.qhub-review .tqe-preview-edit:hover,.qhub-review .tqe-preview-edit:focus-visible{border-color:transparent;background:rgba(250,101,42,.08);color:var(--orange)}
.qhub-review .tqe-preview-edit:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.qhub-review .tqe-preview-edit-dark{background:rgba(11,18,32,.28);color:#d3dde6}
.qhub-review .tqe-preview-edit-dark:hover,.qhub-review .tqe-preview-edit-dark:focus-visible{background:rgba(11,18,32,.5);color:var(--orange)}
.qhub-review .tqe-section-heading{padding-bottom:8px;border-bottom:1px solid var(--border-soft)}
.qhub-review .tqe-section-title{color:#142737}
body.qhub-workspace #app .qhub-shell .qhub-review .tq-event-page .tqe-body :is(h1,h2,h3,h4){color:var(--tq-brand-navy)!important}
.qhub-review .tqe-section#speakers .qhub-speaker-followup{margin-top:16px;padding:12px 14px;border:1px solid var(--border-soft);border-radius:10px;background:rgba(20,39,55,.035)}
.qhub-review .tqe-section#speakers .qhub-speaker-followup .actions{display:flex;flex-wrap:wrap;gap:8px}
.qhub-review .tqe-section#speakers .qhub-speaker-followup .actions .btn{min-height:44px}
@media(max-width:720px){.qhub-reports-filters{grid-template-columns:1fr;padding:16px}.qhub-reports-filters .actions>.btn{flex:1 1 160px}}

#qhubReportsWorkspace .widget h2{font-size:22px;line-height:1.3;margin:0 0 12px}
.qhub-account-tabs a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}
.qhub-events-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.qhub-events-filters button{min-height:44px;padding:8px 16px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--muted);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.qhub-events-filters button[aria-pressed=true]{border-color:var(--orange);background:rgba(250,101,42,.1);color:var(--text)}
.qhub-events-filters button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.qhub-events-empty{margin-top:4px}
.qhub-events-empty .btn{min-height:44px;margin-top:16px}
.qhub-shell .tq-org-event-card .btn{min-height:44px}
.qhub-shell [data-resume-event]{min-height:44px!important}
.qhub-shell .tq-draft-menu-btn{width:44px;min-height:44px}
.qhub-empty .primary-action,.qhub-reports-filters .actions>.btn{min-height:44px}
/* Keep measured touch targets above 44px despite fractional browser geometry. */
.qhub-reports-filters .actions>.btn{min-height:44.1px}
.qhub-event-workspace .qhub-ticket-capacity{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,1fr);align-items:center;gap:4px 12px;padding:8px 12px;background:var(--panel);border-color:var(--border)}
.qhub-event-workspace .qhub-ticket-capacity h3{grid-column:1/-1;margin:0 0 2px;font-size:14px;line-height:1.2}
.qhub-event-workspace .qhub-ticket-capacity dl{grid-column:1/-1;gap:6px;margin:0}
.qhub-event-workspace .qhub-ticket-capacity dt{font-size:10px}
.qhub-event-workspace .qhub-ticket-capacity dd{margin:1px 0 0;font-size:18px;line-height:1.15}
.qhub-event-workspace .qhub-ticket-capacity progress{grid-column:2;grid-row:3;align-self:center;height:4px;border:0;border-radius:4px;appearance:none;background:#142737;accent-color:#FA652A}
.qhub-event-workspace .qhub-ticket-capacity progress::-webkit-progress-bar{border-radius:4px;background:#142737}
.qhub-event-workspace .qhub-ticket-capacity progress::-webkit-progress-value{border-radius:4px;background:#FA652A}
.qhub-event-workspace .qhub-ticket-capacity progress::-moz-progress-bar{border-radius:4px;background:#FA652A}
.qhub-event-workspace .qhub-ticket-capacity p{grid-column:1;grid-row:3;margin:0;color:color-mix(in srgb,var(--orange) 68%,var(--text));font-size:11px;line-height:1.25}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=full] p{color:var(--success)}
.qhub-event-workspace .qhub-ticket-capacity .qhub-allocation-check{color:var(--success)}
.qhub-event-workspace .qhub-ticket-capacity[data-allocation-state=over] p{color:var(--error)}
/* Outrank legacy global card colors while staying inside organizer event cards. */
#app .qhub-shell .tq-org-event-card .card-body>p,#app .qhub-shell .tq-org-event-card .tq-org-event-meta,#app .qhub-shell .tq-org-event-card .qhub-sales{color:color-mix(in srgb,var(--muted) 76%,var(--text))!important}
#app .qhub-shell .tq-org-event-card .qhub-status--neutral{color:color-mix(in srgb,var(--muted) 76%,var(--text))!important}
#app .qhub-shell .tq-org-event-card .qhub-status--success{color:color-mix(in srgb,var(--success) 82%,var(--text))!important}
#app .qhub-shell .tq-org-event-card .qhub-status--warning{color:color-mix(in srgb,var(--warning) 82%,var(--text))!important}
.qhub-review{gap:18px}
.qhub-review-section{padding:0 0 16px;border:0;border-bottom:1px solid var(--border-soft);border-radius:0;background:transparent}
.qhub-review-section>header{padding-bottom:9px;margin-bottom:12px;border-bottom:1px solid var(--border-soft)}
.qhub-review-section>header h3{font-size:17px}
.qhub-shell .qhub-event-workspace .qhub-review-section>header button{min-height:44px}
.qhub-review-section> :not(header){min-width:0}
.qhub-review-section>p{margin-block:8px;line-height:1.5}
.qhub-review-speakers{display:grid;gap:10px;margin-top:16px}
.qhub-review-speakers>h4{margin:0;font-size:15px}
.qhub-review-speaker-list{display:grid;gap:10px}
.qhub-review-speaker-list article{padding:12px 14px;border:1px solid var(--border-soft);border-radius:8px;background:var(--panel)}
.qhub-review-speaker-list h4,.qhub-review-speaker-list p{margin:0 0 5px}
.qhub-review-speaker-list p:last-child{margin-bottom:0}
.qhub-review-speaker-list h4{font-size:14px}
.qhub-review-section .qhub-speaker-followup{display:grid;gap:10px;margin:0;padding:12px 14px}
.qhub-review-section .qhub-speaker-followup>p:first-child{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.qhub-speaker-followup ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.qhub-speaker-followup li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border-soft)}
.qhub-speaker-followup li>span:first-child{display:grid;min-width:0;gap:3px}
.qhub-speaker-followup li small{color:var(--muted);overflow-wrap:anywhere}
.qhub-speaker-followup-status{color:var(--muted);font-size:12px;text-align:right}
.qhub-review-section .qhub-speaker-followup .actions{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.qhub-review-section .qhub-speaker-followup .actions .btn{min-height:44px}
.qhub-review-section .qhub-speaker-followup [role=status]{margin:0;color:var(--muted);font-size:13px}
@media(max-width:520px){
 .qhub-events-filters button{flex:1 1 auto}
 .qhub-event-workspace .qhub-ticket-capacity{grid-template-columns:minmax(0,1.4fr) minmax(88px,.6fr);gap:4px 8px;padding:5px 9px}
 .qhub-event-workspace .qhub-ticket-capacity dd{font-size:16px}
 .qhub-review{gap:14px}
 .qhub-review-section{padding-bottom:12px}
 .qhub-event-workspace .qhub-review-readiness li{align-items:flex-start;flex-direction:column}
 .qhub-speaker-followup li{align-items:flex-start;flex-direction:column;gap:4px}
 .qhub-speaker-followup-status{text-align:left}
 .qhub-review-section .qhub-speaker-followup .actions>.btn{flex:1 1 160px}
}

/* Recovered Dashboard disclosure and informational status contracts (Phase 5). */
.qhub-dashboard-item{min-width:0}
.qhub-shell .qhub-status{box-sizing:border-box;min-height:26px;padding:4px 10px!important;gap:5px;border-radius:999px!important;font-size:12px;font-weight:600;line-height:1;cursor:default}
.qhub-status svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qhub-shell .qhub-status--success{color:color-mix(in srgb,var(--tq-success) 82%,var(--text))!important;background:color-mix(in srgb,var(--tq-success) 12%,var(--panel))!important;border:1px solid color-mix(in srgb,var(--tq-success) 38%,var(--border))!important}
.qhub-shell .qhub-status--warning{color:color-mix(in srgb,var(--tq-brand-orange) 82%,var(--text))!important;background:color-mix(in srgb,var(--tq-brand-orange) 12%,var(--panel))!important;border:1px solid color-mix(in srgb,var(--tq-brand-orange) 38%,var(--border))!important}
.qhub-shell .qhub-status--neutral{color:var(--tq-text-secondary)!important;background:var(--tq-surface-subtle)!important;border:1px solid var(--tq-border-muted)!important}
.qhub-dashboard-event-details{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(0,1.2fr);align-items:center;gap:12px;padding:12px 14px 14px;border-bottom:1px solid var(--border);background:var(--panel-soft)}
.qhub-dashboard-event-details[hidden]{display:none}
.qhub-dashboard-detail-summary{display:grid;gap:4px;min-width:0}
.qhub-dashboard-detail-summary>span{color:var(--muted);font-size:11px;font-weight:600}
.qhub-dashboard-detail-summary>strong{font-size:13px;font-weight:600}
.qhub-dashboard-detail-summary progress{width:100%;height:6px;border-radius:4px}
.qhub-dashboard-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.qhub-dashboard-detail-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--text);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}
.qhub-dashboard-detail-action:hover{border-color:var(--orange);text-decoration:underline}
.qhub-dashboard-event-details :is(a,button):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
@media(max-width:640px){
 .qhub-dashboard-event-details{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}
 .qhub-dashboard-detail-actions{justify-content:flex-start}
 .qhub-dashboard-detail-action{min-height:44px}
}


.qhub-comms-event-nav{
  display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:0 0 12px;
  border-bottom:1px solid var(--border)
}
.qhub-comms-event-nav a{
  display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;
  border-radius:var(--tq-radius-sm);color:var(--muted);font-weight:600;text-decoration:none
}
.qhub-comms-event-nav a:hover{background:var(--hover);color:var(--text)}
.qhub-comms-event-nav a[aria-current=page]{background:var(--tq-brand-orange-soft);color:var(--text)}
.qhub-comms{
  --comms-surface:var(--panel);
  --comms-subtle:var(--panel-soft);
  --comms-hover:var(--hover);
  --comms-border:var(--border);
  --comms-text:var(--text);
  --comms-secondary:var(--muted);
  --comms-muted:var(--muted);
  --comms-focus:var(--orange);
  --comms-accent:var(--orange);
  display:grid;gap:18px;min-width:0;color:var(--comms-text);font-family:var(--tq-font-sans)
}
.qhub-comms *{box-sizing:border-box}
.qhub-comms-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--comms-border)}
.qhub-comms-tabs button{
  flex:0 0 auto;min-height:44px;padding:10px 16px;border:0;border-bottom:3px solid transparent;
  background:transparent;color:var(--comms-secondary);font:inherit;font-weight:650;cursor:pointer
}
.qhub-comms-tabs button[aria-selected=true]{border-bottom-color:var(--comms-accent);color:var(--comms-text)}
.qhub-comms :is(button,a,input,select,textarea):focus-visible{
  outline:3px solid var(--comms-focus);outline-offset:2px
}
.qhub-comms [hidden]{display:none!important}
.qhub-comms [role=tabpanel]{min-width:0}
.qhub-comms-event-nav a:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.qhub-comms-section-heading,.qhub-comms-history-head,.qhub-comms-automation-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0
}
.qhub-comms-section-heading{margin-bottom:14px}
.qhub-comms-section-heading h2,.qhub-comms-history-head h3,.qhub-comms-automation-head h3{
  margin:0;color:var(--comms-text);font-size:20px;line-height:1.3
}
.qhub-comms-section-heading p:not(.qhub-comms-eyebrow){margin:6px 0 0;color:var(--comms-secondary)}
.qhub-comms-eyebrow{margin:0 0 5px;color:var(--comms-muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.qhub-comms-muted{margin:8px 0;color:var(--comms-secondary);font-size:13px;line-height:1.5}
.qhub-comms-drafts,.qhub-comms-composer,.qhub-comms-automation,.qhub-comms-history-item,.qhub-comms-empty{
  min-width:0;padding:20px;border:1px solid var(--comms-border);border-radius:var(--tq-radius-md);
  background:var(--comms-surface)
}
.qhub-comms-drafts{margin-bottom:18px}
.qhub-comms-draft-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.qhub-comms-draft{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;width:100%;padding:12px;
  border:1px solid var(--comms-border);border-radius:var(--tq-radius-sm);background:var(--comms-surface);
  color:var(--comms-text);text-align:left;cursor:pointer
}
.qhub-comms-draft:hover{background:var(--comms-hover)}
.qhub-comms-draft strong{min-width:0;overflow-wrap:anywhere}
.qhub-comms-draft span{color:var(--comms-muted);font-size:12px}
.qhub-comms-draft span:last-child{grid-column:1/-1}
.qhub-comms-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.qhub-comms-field{display:grid;align-content:start;gap:7px;min-width:0}
.qhub-comms-field-full{grid-column:1/-1}
.qhub-comms-field>label,.qhub-comms-label{color:var(--comms-text);font-size:13px;font-weight:650}
.qhub-comms-field :is(input:not([type=checkbox]),select,textarea){
  width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid var(--comms-border);
  border-radius:8px;background:var(--comms-surface);color:var(--comms-text);font:inherit
}
.qhub-comms-field textarea{min-height:148px;resize:vertical;line-height:1.5}
.qhub-comms-field :is(input,select,textarea):disabled{opacity:.7;cursor:not-allowed}
.qhub-comms-audience{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid var(--comms-border);border-radius:var(--tq-radius-sm);background:var(--comms-subtle)}
.qhub-comms-base-audience{margin:0;color:var(--comms-secondary);font-size:13px}
.qhub-comms-base-audience strong{margin-left:4px;color:var(--comms-text)}
.qhub-comms-filter{min-width:0;margin:0;padding:0;border:0}
.qhub-comms-filter legend{margin-bottom:7px;color:var(--comms-text);font-size:13px;font-weight:650}
.qhub-comms-filter-values{display:flex;flex-wrap:wrap;gap:6px}
.qhub-comms-check{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid var(--comms-border);border-radius:8px;background:var(--comms-surface);color:var(--comms-text);font-size:13px;cursor:pointer}
.qhub-comms-check input,.qhub-comms-toggle input{width:16px;height:16px;margin:0;accent-color:var(--comms-accent)}
.qhub-comms-check:has(input:checked){border-color:var(--comms-accent);background:var(--tq-brand-orange-soft)}
.qhub-comms-check:has(input:disabled){cursor:not-allowed;opacity:.72}
.qhub-comms-audience-summary{margin:0;padding-top:10px;border-top:1px solid var(--comms-border);color:var(--comms-text);font-size:13px;line-height:1.5}
.qhub-comms-estimate{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px;align-items:baseline;padding:12px 14px;border:1px solid var(--comms-border);border-radius:var(--tq-radius-sm);background:var(--comms-subtle)}
.qhub-comms-estimate>span{color:var(--comms-secondary);font-size:13px}
.qhub-comms-estimate>strong{justify-self:end;color:var(--comms-text);font-size:16px;text-align:right}
.qhub-comms-estimate>p{grid-column:1/-1;margin:3px 0 0}
.qhub-comms-action-note{margin:14px 0 8px;color:var(--comms-muted);font-size:12px}
.qhub-comms-actions{display:flex;flex-wrap:wrap;gap:8px}
.qhub-comms .btn{min-height:42px;max-width:100%}
.qhub-comms .btn.primary{background:var(--orange);border-color:var(--orange);color:var(--accent-ink)}
.qhub-comms .btn:disabled{opacity:.55;cursor:not-allowed}
.qhub-comms-inline-status{min-height:1.4em;margin:10px 0 0;color:var(--comms-secondary);font-size:13px;line-height:1.5}
.qhub-comms-inline-status.is-error,.qhub-comms-error{color:var(--error)}
.qhub-comms-error{padding:12px 14px;border:1px solid var(--error);border-radius:var(--tq-radius-sm);background:var(--comms-surface);font-size:14px}
.qhub-comms-schedule{display:grid;gap:14px;margin:16px 0 0;padding:16px;border:1px solid var(--comms-border);border-radius:var(--tq-radius-sm)}
.qhub-comms-schedule legend{padding:0 6px;color:var(--comms-text);font-weight:700}
.qhub-comms-schedule>p{margin:0;color:var(--comms-secondary);font-size:13px}
.qhub-comms-schedule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.qhub-comms-confirm{width:min(520px,calc(100vw - 32px));max-width:100%;padding:22px;border:1px solid var(--comms-border);border-radius:var(--tq-radius-md);background:var(--comms-surface);color:var(--comms-text)}
.qhub-comms-confirm::backdrop{background:var(--navy-deep);opacity:.58}
.qhub-comms-confirm h2{margin:0 0 10px;font-size:20px}
.qhub-comms-confirm p{color:var(--comms-secondary);line-height:1.5}
.qhub-comms-confirm dl{display:grid;gap:10px;margin:18px 0}
.qhub-comms-confirm dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px}
.qhub-comms-confirm dt{color:var(--comms-muted)}
.qhub-comms-confirm dd{min-width:0;margin:0;color:var(--comms-text);font-weight:650;overflow-wrap:anywhere}
.qhub-comms-confirm form{display:grid;gap:10px}
.qhub-comms-automation{margin-top:14px}
.qhub-comms-automation-meta,.qhub-comms-history-meta{display:flex;flex-wrap:wrap;gap:7px 16px;margin:10px 0 16px;color:var(--comms-muted);font-size:12px}
.qhub-comms-toggle{display:flex;align-items:center;gap:9px;min-height:44px;color:var(--comms-text);font-size:13px;font-weight:650}
.qhub-comms-inline-fields{display:flex;align-items:center;gap:8px;min-width:0}
.qhub-comms-inline-fields input{flex:0 1 110px}
.qhub-comms-inline-fields select{flex:0 1 130px}
.qhub-comms-inline-fields span{color:var(--comms-secondary);font-size:12px}
.qhub-comms-status{display:inline-flex;align-items:center;flex:0 0 auto;min-height:28px;padding:4px 9px;border:1px solid var(--comms-border);border-radius:999px;background:var(--comms-subtle);color:var(--comms-text);font-size:12px;font-weight:650;white-space:nowrap}
.qhub-comms-status--error{border-color:var(--error);color:var(--error)}
.qhub-comms-status--success{border-color:var(--success);color:var(--success)}
.qhub-comms-history-list{display:grid;gap:12px}
.qhub-comms-history-item{padding:16px}
.qhub-comms-history-head{align-items:center}
.qhub-comms-history-head h3{font-size:17px;overflow-wrap:anywhere}
.qhub-comms-history-audience{margin:12px 0 0;color:var(--comms-secondary);font-size:13px;line-height:1.5}
.qhub-comms-history-meta{margin-bottom:0}
.qhub-comms-delivery-counts{margin:8px 0 0;color:var(--comms-secondary);font-size:12px}
.qhub-comms-empty h3{margin:0 0 6px;color:var(--comms-text);font-size:16px}
.qhub-comms-empty p{margin:0;color:var(--comms-secondary);font-size:13px;line-height:1.5}
@media(max-width:768px){
  .qhub-comms-drafts,.qhub-comms-composer,.qhub-comms-automation,.qhub-comms-history-item,.qhub-comms-empty{padding:15px}
  .qhub-comms-form-grid,.qhub-comms-schedule-fields{grid-template-columns:minmax(0,1fr)}
  .qhub-comms-field-full{grid-column:auto}
  .qhub-comms-section-heading{align-items:flex-start}
  .qhub-comms-tabs button{padding-inline:12px}
  .qhub-comms-history-head{align-items:flex-start;flex-direction:column}
  .qhub-comms-draft{grid-template-columns:minmax(0,1fr)}
  .qhub-comms-draft span:last-child{grid-column:auto}
}
@media(max-width:420px){
  .qhub-comms-event-nav{gap:4px}
  .qhub-comms-event-nav a{padding-inline:9px;font-size:13px}
  .qhub-comms-section-heading{flex-direction:column}
  .qhub-comms-actions>.btn{flex:1 1 calc(50% - 8px)}
  .qhub-comms-estimate{grid-template-columns:minmax(0,1fr) auto}
  .qhub-comms-confirm dl>div{grid-template-columns:minmax(0,1fr)}
  .qhub-comms-inline-fields{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.qhub-comms *{scroll-behavior:auto!important;transition:none!important}}
