.pw-event-ai-entry{grid-column:1/-1;display:flex;justify-content:flex-end;margin:-2px 0 4px}
.pw-event-ai-launch{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 7px;border:1px solid #dfd2c5;border-radius:12px;background:#fffaf6;color:#744b42;cursor:pointer;font-family:inherit;text-align:left;box-shadow:0 2px 6px rgba(80,58,50,.04)}
.pw-event-ai-launch img{width:58px;height:31px;object-fit:contain;mix-blend-mode:multiply;flex:0 0 58px}.pw-event-ai-launch strong{display:block;font-size:12px;line-height:1.2}.pw-event-ai-launch small{display:block;margin-top:2px;font-size:9.5px;color:#8a7770;line-height:1.25}
.pw-event-ai-modal[hidden]{display:none!important}.pw-event-ai-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px}.pw-event-ai-backdrop{position:absolute;inset:0;background:rgba(32,39,40,.62)}
.pw-event-ai-dialog{position:relative;z-index:1;width:min(1120px,calc(100vw - 48px));max-height:calc(100dvh - 48px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.22);color:#2d3030}
.pw-event-ai-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;background:#fff;border-bottom:1px solid #e8e4dd}.pw-event-ai-brand{display:flex;align-items:center;gap:10px;min-width:0}.pw-event-ai-brand img{width:92px;height:46px;object-fit:contain;mix-blend-mode:multiply}.pw-event-ai-brand span{display:block;font-size:9px;letter-spacing:1.6px;color:#3f7f89;font-weight:800}.pw-event-ai-brand h2{margin:1px 0 0;font-size:28px;line-height:1.05}.pw-event-ai-close{border:0;background:transparent;font-size:38px;line-height:1;color:#667071;cursor:pointer;padding:0 6px}
.pw-event-ai-guidance{padding:12px 18px;background:#fffaf6;border-bottom:1px solid #e8e4dd}.pw-event-ai-guidance strong{display:block;color:#2f555c;font-size:12px;margin-bottom:4px}.pw-event-ai-guidance p{margin:0;font-size:11px;line-height:1.45;color:#666}
.pw-event-ai-options{display:grid;grid-template-columns:1.35fr .9fr;gap:14px;padding:13px 18px;border-bottom:1px solid #e8e4dd;background:#fcfcfb}.pw-event-ai-options fieldset{margin:0;padding:8px 12px;border:1px solid #d9e5e6;border-radius:11px}.pw-event-ai-options legend{font-weight:750;font-size:12px;padding:0 5px}.pw-event-ai-options fieldset label{display:inline-flex;align-items:center;gap:6px;margin:5px 18px 5px 0;font-size:11.5px}.pw-event-ai-voice{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border-radius:11px;background:#f8f5f0}.pw-event-ai-voice strong{display:block;font-size:11.5px}.pw-event-ai-voice small{display:block;margin-top:2px;font-size:9.8px;color:#777}
.pw-event-ai-body{padding:16px 18px}.pw-event-ai-section{margin:0 0 18px;padding:14px;border:1px solid #e6e1d9;border-radius:14px;background:#fdfcf9}.pw-event-ai-section-head h3{margin:0 0 10px;color:#2f555c;font-size:23px}.pw-event-ai-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pw-event-ai-questions label{display:block;padding:10px;border:1px solid #e7e0d7;border-radius:11px;background:#fff}.pw-event-ai-questions label>span{display:block;margin:0 0 6px;font-size:11.5px;font-weight:700;line-height:1.3}.pw-event-ai-questions textarea,.pw-event-ai-result textarea{box-sizing:border-box;width:100%;max-width:100%;font:inherit;font-size:14px;border:1px solid #cad8da;border-radius:8px;padding:9px;resize:vertical}.pw-event-ai-generate-row{display:flex;align-items:center;gap:10px;margin-top:11px}.pw-event-ai-generate,.pw-event-ai-use{border:0;border-radius:9px;background:#3f7f89;color:#fff;padding:9px 14px;font:700 12px/1.2 inherit;cursor:pointer}.pw-event-ai-generate:disabled{opacity:.5;cursor:not-allowed}.pw-event-ai-generate-row span{font-size:10.5px;color:#657274}.pw-event-ai-generate-row span.is-error{color:#a63e3e}
.pw-event-ai-result{margin-top:12px;padding:12px;border:1px solid #cfe0e2;border-radius:11px;background:#fff}.pw-event-ai-result-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.pw-event-ai-result-head strong{font-size:13px}.pw-event-ai-result-head button{border:1px solid #c5d7d9;border-radius:8px;background:#fff;padding:6px 9px;font:700 10.5px/1.1 inherit;color:#356b73;cursor:pointer}.pw-event-ai-use{margin-top:8px}.pw-event-ai-after-use{position:sticky;bottom:0;z-index:8;padding:10px 12px;background:#fff;border-top:1px solid #ddd;box-shadow:0 -6px 18px rgba(0,0,0,.08)}.pw-event-ai-after-use>span{display:block;margin-bottom:7px;font-size:12px;font-weight:700}.pw-event-ai-after-use>div{display:flex;gap:8px}.pw-event-ai-after-use button{flex:1;border:0;border-radius:9px;padding:9px 8px;font:700 11px/1.2 inherit;cursor:pointer}.pw-event-ai-after-use button:first-child{background:#3f7f89;color:#fff}.pw-event-ai-after-use button:last-child{background:#f0ece7;color:#4e5556}
html.pw-event-ai-open,body.pw-event-ai-open{overflow:hidden}
@media(max-width:760px){
  .pw-event-ai-entry{justify-content:stretch}.pw-event-ai-launch{width:100%;box-sizing:border-box}.pw-event-ai-launch img{width:66px;height:34px;flex-basis:66px}.pw-event-ai-launch strong{font-size:12px}.pw-event-ai-launch small{font-size:10px}
  .pw-event-ai-modal{display:block;padding:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;background:#fff}.pw-event-ai-backdrop{display:none}.pw-event-ai-dialog{width:100%;max-width:100%;max-height:none;min-height:100dvh;border-radius:0;overflow:visible;box-shadow:none}.pw-event-ai-head{padding:10px 12px}.pw-event-ai-brand img{width:72px;height:38px}.pw-event-ai-brand h2{font-size:22px}.pw-event-ai-close{font-size:34px}.pw-event-ai-guidance{padding:10px 13px}.pw-event-ai-guidance p{font-size:11px}.pw-event-ai-options{grid-template-columns:1fr;padding:10px 12px}.pw-event-ai-options fieldset label{display:flex;margin:7px 0;font-size:16px}.pw-event-ai-options input[type=radio],.pw-event-ai-options input[type=checkbox]{width:auto!important;min-width:20px!important;height:20px!important;flex:0 0 20px}.pw-event-ai-voice strong{font-size:13px}.pw-event-ai-voice small{font-size:11px}.pw-event-ai-body{padding:12px}.pw-event-ai-section{padding:11px;margin-bottom:14px}.pw-event-ai-section-head h3{font-size:21px}.pw-event-ai-questions{grid-template-columns:1fr}.pw-event-ai-questions label>span{font-size:14px}.pw-event-ai-questions textarea,.pw-event-ai-result textarea{font-size:16px!important;min-width:0!important;max-width:100%!important}.pw-event-ai-generate{width:100%;font-size:14px;padding:11px}.pw-event-ai-generate-row{display:block}.pw-event-ai-generate-row span{display:block;margin-top:6px}.pw-event-ai-result-head strong{font-size:14px}.pw-event-ai-result-head button{font-size:12px}.pw-event-ai-use{width:100%;font-size:14px;padding:11px}
}


/* 1.10.17 — keep the event AI launcher visually distinct from the form submit buttons. */
.pw-event-application-form .pw-event-ai-launch{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  width:auto!important;
  min-height:0!important;
  padding:6px 12px 6px 7px!important;
  border:1px solid #dfd2c5!important;
  border-radius:12px!important;
  background:#fffaf6!important;
  color:#744b42!important;
  box-shadow:0 2px 6px rgba(80,58,50,.04)!important;
  font-family:inherit!important;
  text-align:left!important;
}
.pw-event-application-form .pw-event-ai-launch:hover{
  background:#fff3eb!important;
  border-color:#d3bcae!important;
  color:#70483f!important;
}
.pw-event-application-form .pw-event-ai-launch strong{color:#70483f!important}
.pw-event-application-form .pw-event-ai-launch small{color:#8a7770!important}
@media(max-width:700px){
  .pw-event-application-form .pw-event-ai-launch{width:100%!important;box-sizing:border-box!important}
}


/* 1.10.19 — bulk transfer of generated event texts. */
.pw-event-ai-use-all-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:4px 18px 18px}
.pw-event-ai-use-all{appearance:none;border:0;border-radius:10px;background:#d06a67;color:#fff;font:700 16px/1.2 inherit;padding:13px 20px;cursor:pointer}
.pw-event-ai-use-all:hover{filter:brightness(.97)}
.pw-event-ai-use-all:disabled{opacity:.82;cursor:default}
.pw-event-ai-use-all-row span{font-size:14px;color:#687274}
@media(max-width:760px){.pw-event-ai-use-all-row{padding:2px 14px 16px}.pw-event-ai-use-all{width:100%;font-size:16px;padding:13px 16px}.pw-event-ai-use-all-row span{width:100%}}
