/* Event-scoped workshop guidance. Shared navigation, typography and game behavior stay intact. */
.workshop-entry{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin:8px 0 24px;color:var(--muted);font-size:13px}
.workshop-entry[hidden],.workshop-return-link[hidden],.workshop-view [hidden]{display:none!important}
.workshop-entry .text-button,.workshop-view .text-button,.workshop-return-link .text-button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;border:0;background:transparent;color:var(--plum);font-family:inherit;font-weight:700;font-size:14px;line-height:1.4;padding:6px 0;text-align:left;cursor:pointer}
.workshop-entry .text-button:hover,.workshop-view .text-button:hover,.workshop-return-link .text-button:hover{text-decoration:underline;text-underline-offset:4px}
.workshop-view .tt-icon,.workshop-entry .tt-icon,.workshop-return-link .tt-icon{flex:none;width:18px;height:18px}
.workshop-return-link{display:none}
.workshop-view{min-width:0;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
.workshop-heading{max-width:760px;margin:20px 0 24px}
.workshop-heading h1{font-size:clamp(1.9rem,2.6vw,2.6rem);line-height:1.12;margin:10px 0 12px;overflow-wrap:break-word}
.workshop-view p{font-size:15px;line-height:1.6;margin:10px 0;overflow-wrap:anywhere}
.workshop-view .workshop-meta{font-size:13px;color:var(--muted)}
.workshop-setup{display:flex;align-items:end;gap:16px;max-width:760px;margin:20px 0}
.workshop-setup .field{flex:1}
.workshop-view .field{display:flex;flex-direction:column;gap:8px;margin:0 0 16px;min-width:0;font-size:14px}
.workshop-view input:not([type=checkbox]),.workshop-view select,.workshop-view textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:16px;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.workshop-view textarea{resize:vertical;line-height:1.5}
.workshop-setup>.button{margin-bottom:16px}
.workshop-settings{max-width:760px;margin-bottom:24px}
.workshop-view summary{min-height:44px;align-content:center;font-size:14px;font-weight:650;color:var(--plum);cursor:pointer;line-height:1.5;overflow-wrap:anywhere}
.workshop-view summary:hover{text-decoration:underline;text-underline-offset:4px}
.workshop-steps{display:flex;max-width:880px;border-bottom:1px solid var(--line);gap:24px;margin-bottom:28px}
.workshop-steps button{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:1;min-width:0;min-height:56px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);padding:10px 0;font-family:inherit;font-weight:650;font-size:15px;line-height:1.4;text-align:left;cursor:pointer}
.workshop-steps button[aria-current]{border-bottom-color:var(--coral);color:var(--ink)}
.workshop-steps button>span{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--paper);font-size:12px}
.workshop-panel{min-width:0;max-width:880px}
.workshop-view h2{font-size:clamp(1.65rem,2.1vw,2rem);line-height:1.2;margin:0 0 12px}
.workshop-view h3{font-family:inherit;font-size:16px;line-height:1.4;margin:16px 0 8px}
.workshop-details{border-top:1px solid var(--line);padding:8px 0;margin-top:24px}
.workshop-details+.workshop-details{margin-top:0}
.workshop-prompts{padding-left:24px;font-size:15px;line-height:1.6}
.workshop-prompts li{padding:4px 0 10px}
.workshop-agenda{list-style:none;padding:0;margin:12px 0}
.workshop-agenda li{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.workshop-agenda li>span{font-size:12px;color:var(--plum);padding-top:2px}
.workshop-agenda h3{margin:0}
.workshop-agenda p{font-size:14px;margin:4px 0}
.workshop-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.workshop-view .button{height:auto;min-height:48px;white-space:normal;line-height:1.35;text-align:center;padding:13px 20px}
.workshop-view :is(button,input,textarea,select,summary):focus-visible,.workshop-return-link button:focus-visible{outline:3px solid var(--plum);outline-offset:3px}
.workshop-view h2:focus{outline:none}
.workshop-view button:disabled{opacity:.55;cursor:not-allowed}
.workshop-agreements{display:grid;gap:12px;margin:24px 0}
.workshop-agreements fieldset{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.workshop-agreements legend{font-weight:700;font-size:13px;padding:0 6px}
.workshop-row-options{margin-top:-8px}
.workshop-row-options[open]>summary{margin-bottom:12px}
.workshop-followup .field{max-width:300px;margin-top:12px}
.workshop-confirm{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;margin-top:24px}
.workshop-confirm input{flex:none;width:20px;height:20px;margin:2px 0;accent-color:var(--coral)}
.workshop-export{border-top:1px solid var(--line);padding-top:24px}
.workshop-export p{flex-basis:100%}
.workshop-feedback:empty{display:none}
.workshop-feedback[role=alert]{color:var(--danger,#a6312c);padding:12px 0}
.workshop-feedback button{margin:12px}
.create-event-details .create-optional{margin-top:20px;border-top:1px solid var(--line);padding-top:8px}
.create-optional>summary{min-height:44px;align-content:center;color:var(--plum);font-size:14px;font-weight:650;cursor:pointer}
.create-optional[open]>summary{margin-bottom:16px}
.create-event-details .planning-choice .experience-card{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 16px}
.create-event-details .planning-choice .experience-card input{position:static;flex:none;margin:0;width:20px;height:20px}
.create-event-details .planning-choice .experience-card h3{margin:0;font-family:inherit;font-size:16px;line-height:1.4}
.create-event-details>.form-grid>.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){
  .app-mode:not(.playing) .workshop-return-link:not([hidden]){display:flex;justify-content:flex-end;padding:0 16px;border-bottom:1px solid var(--line)}
  .app-mode:has(#workshopView.active) .workshop-return-link:not([hidden]){display:none}
}
@media(max-width:600px){
  .workshop-setup{flex-direction:column;align-items:stretch;gap:0}
  .workshop-view .workshop-heading{margin:16px 0 20px}
  .workshop-heading h1{font-size:1.9rem}
  .workshop-steps{gap:12px;margin-bottom:24px}
  .workshop-steps button{font-size:13px;gap:6px;align-items:flex-start}
  .workshop-steps button>span{width:20px;height:20px}
  .workshop-view .button{width:100%;max-width:100%}
  .workshop-actions{align-items:stretch}
  .workshop-actions>span{flex-basis:100%}
  .workshop-view{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
}
