@media screen {
  #app .tracking-console {
    --lamp: color-mix(in srgb, var(--invite-glow-1, #8866ff) 56%, #c9fff3);
    padding: clamp(12px, 3vw, 22px);
    border: 1px solid var(--lamp);
    border-radius: 22px;
    background: radial-gradient(ellipse at top right, #503384, transparent 65%), #241540;
    box-shadow: inset 0 0 15px color-mix(in srgb, var(--lamp) 38%, transparent),
      0 5px 18px color-mix(in srgb, var(--lamp) 42%, transparent);
  }
  html body #app .tracking-console .organizer-pass {
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 0 12px;
    grid-template-columns: clamp(56px, 17vw, 88px) minmax(0, 1fr);
  }
  html body #app .tracking-console .organizer-pass-copy :is(h1,p) { color: #fff !important; }
  html body #app .tracking-console .organizer-pass-copy .outline { background: transparent !important; color: #dcffef !important; border-color: #addec7 !important; }
  html body #app .tracking-console .organizer-totals { background: #ffffff13; color: white; margin: 0 0 12px; }
  #app .tracking-console .organizer-totals > div + div { border-color: #ffffff40; }
  html body #app .tracking-console .organizer-actions {
    position: static;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    background: transparent;
    padding: 0;
    gap: 8px;
    box-shadow: none;
    border: 0;
    min-height: 0;
  }
  html body #app .tracking-console .organizer-actions button {
    min-height: 44px;
    background: #ede1ff !important;
    color: #2b1745 !important;
    border-color: transparent;
    box-shadow: inset 0 -3px #34134f30 !important;
  }
  html body #app .tracking-console button[data-ed-track="tickets"] { background: #ffe3a4 !important; }
  html body #app .tracking-console button[data-ed-scan] { background: #abffdf !important; }
  html body #app .tracking-console button[aria-pressed="true"] { outline: 2px solid var(--lamp); outline-offset: 2px; }
  #app .organizer-workspace .organizer-grid { display: block; margin-top: 14px; }
  #app .console-family { border-top: 1px solid #e9e0f3; }
  #app .console-family summary {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 6px 12px;
    align-items: center;
    padding: 12px 4px;
    min-height: 44px;
    cursor: pointer;
    overflow-wrap: anywhere;
  }
  #app .console-family summary small { display: block; color: #53496a; }
  #app .console-family summary .record-status { max-width: 114px; font-size: 12px; }
  #app .console-family-details { padding: 8px 12px; margin-bottom: 8px; background: #f5efff; border-radius: 10px; overflow-wrap: anywhere; }
  #app .organizer-scan.scan-sweep { animation: ticket-scan-light .65s ease-out; }
  @keyframes ticket-scan-light {
    35% { box-shadow: 0 0 22px #53e4b5; }
  }
  @media (prefers-reduced-motion: reduce) {
    #app .organizer-scan.scan-sweep { animation: none; }
  }
}

@media screen {
  html body main#app.ed-page .response-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: start;
    padding: 0 !important;
    margin: 0 0 12px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  #app .response-toolbar > label { grid-row: 2; }
  #app .response-toolbar > form { grid-column: 1 / -1; grid-row: 1; }
  #app .response-toolbar > details { grid-column: 2; grid-row: 2; }
  html body main#app.ed-page .response-toolbar :is(label,form,select,input,button) { margin: 0 !important; min-width: 0; }
  html body main#app.ed-page .response-toolbar form {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  #app .response-toolbar .response-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  html body main#app.ed-page .response-toolbar :is(input,select) { width: 100%; font-size: 16px; }
  #app .response-export { position: relative; }
  #app .response-export summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #dbd1ed;
    border-radius: 8px;
    color: #482576;
    background: #f7f2ff;
    cursor: pointer;
  }
  #app .response-export[open] { display: grid; gap: 6px; }
  #app .response-export button { text-align: left; }
}
