/* Functional front-end authoring layout; visual treatment belongs to the theme. */
.pnwx-event-creator [hidden]{display:none!important}.pnwx-event-creator form{display:block}.pnwx-create-fields,.pnwx-create-optional-fields{display:grid;gap:20px}.pnwx-create-step{min-width:0;margin:0;display:grid;gap:20px}.pnwx-create-step legend{padding-inline:8px}.pnwx-event-creator label:not(.pnwx-check){display:grid;gap:8px}.pnwx-event-creator input:not([type=radio]):not([type=checkbox]),.pnwx-event-creator textarea{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.pnwx-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pnwx-event-kind-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pnwx-event-kind-choice label{display:flex!important;align-items:start;gap:12px!important}.pnwx-event-kind-choice span,.pnwx-event-kind-choice strong,.pnwx-event-kind-choice small{display:block}.pnwx-create-options>summary{cursor:pointer;min-height:44px}.pnwx-create-options>div{margin-top:20px}.pnwx-create-submit{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.pnwx-event-creator .wp-editor-wrap{min-width:0}.pnwx-event-creator .wp-editor-area{font-size:1rem}.pnwx-event-creator [data-event-create-success] a{display:inline-flex;min-height:48px;align-items:center}.pnwx-event-description-field>label{margin-bottom:8px}.pnwx-event-kind-choice input[type=radio]{flex:0 0 auto;width:20px;height:20px;margin-top:3px}@media(max-width:600px){.pnwx-event-kind-choice{grid-template-columns:minmax(0,1fr)}}

.pnwx-event-photo-field{display:grid;gap:14px;min-width:0}.pnwx-event-photo-heading{display:grid;gap:8px}.pnwx-event-photo-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.pnwx-event-photo-controls input{flex:1 1 230px;min-width:0}.pnwx-event-photo-preview{max-width:560px;aspect-ratio:16/9;overflow:hidden}.pnwx-event-photo-preview img{width:100%;height:100%;object-fit:contain;display:block}.pnwx-event-photo-heading label{display:block!important}.pnwx-event-photo-controls button{min-height:48px}.pnwx-event-photo-field .is-error{font-weight:700}

.pnwx-event-creator .pnwx-event-photo-picker{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;box-sizing:border-box;cursor:pointer}.pnwx-event-creator .pnwx-event-photo-picker input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;padding:0;margin:0;border:0}.pnwx-event-photo-picker:focus-within{outline:3px solid currentColor;outline-offset:4px}.pnwx-event-photo-picker:has(input:disabled){opacity:.55;cursor:wait}
.pnwx-event-creator .pnwx-create-options > summary {
  min-height: 44px;
  padding-block: 8px;
  font-weight: 700;
}
.pnwx-create-options > summary span {
  margin-inline-start: 6px;
  font-size: .875rem;
  font-weight: 400;
}
.pnwx-create-options:not([open]) > :not(summary) { display: none; }
.pnwx-event-creator .pnwx-event-description-error { color: #9c3427; margin-top: 8px; }
.pnwx-create-actions { margin-top: 20px; }
.pnwx-create-actions > [data-event-create-feedback]:empty { display: none; }
.pnwx-create-submit .pnwx-btn { min-height: 48px; }

@media (max-width: 700px) {
  .pnwx-event-creator .pnwx-create-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 10px 0 max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--pnwx-line, #ded0bc);
    background: var(--pnwx-cream, #f6efe3);
    box-shadow: 0 -8px 14px #452e1d0a;
  }
  .pnwx-event-creator .pnwx-create-submit { gap: 8px 12px; }
  .pnwx-event-creator .pnwx-create-submit button { flex: 1 1 144px; }
  .pnwx-event-creator .pnwx-create-submit > span { font-size: .875rem; }
  .pnwx-event-creator .pnwx-create-step { gap: 14px; }
  .pnwx-event-creator .pnwx-create-grid { gap: 10px; }
  .pnwx-event-creator .pnwx-create-grid > label { min-width: 0; }
  .pnwx-event-creator :is(input, textarea, .wp-editor-container, details) { scroll-margin-bottom: 104px; }
}
