/* Width failures reproduced at 320, 561 and 600 px, and without web fonts.
   Constrain the layout items themselves; do not clip the document to hide overflow. */
.hero>*,.hero-footer>*,.section-inner>*,.scenario-grid>*,.audience-grid>*,
.program-side,.agenda,.agenda-topic>*,.registration-content>*,.optional-fields>*{
  min-width:0;
}
.hero-intro,.hero-copy,.hero .lead,.hero-footer,.hero-visual{max-width:100%}
.primary-action{display:inline-grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:left}
.scenario-card>p{overflow-wrap:anywhere}
h1,h2,h3,.scenario-card h3,.agenda-topic strong,.event-meta,.footer-contact a,.organizer-info a{
  overflow-wrap:anywhere;
}
.hero h1>span{white-space:normal}
.registration-form,.registration-form fieldset{min-inline-size:0;max-width:100%}
.registration-form input:not([type=checkbox]){min-width:0;max-width:100%;font-size:16px}
.consent>span,.saved-summary{min-width:0;overflow-wrap:anywhere}
.page-header .brand{min-width:0;flex:0 1 151px}
.page-header .brand img{max-width:100%}
.organizer{flex-shrink:0;margin-left:auto}
@media(max-width:760px){
  .page-header nav{display:none}
  .page-header{gap:14px}
}
@media(max-width:700px){
  .hero{align-items:stretch}
  .hero-intro,.hero-copy{width:100%}
  .hero .lead{max-width:100%}
  .hero-visual{align-self:center;max-width:min(100%,360px)}
}
@media(max-width:350px){.hero h1{font-size:41px}}
/* A row gives each mobile illustration real height and the text a wider measure. */
@media(max-width:760px){
  .scenario-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  .scenario-card{display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:14px;align-content:start}
  .scenario-card .scenario-visual{grid-column:1;grid-row:1/3;aspect-ratio:auto;min-height:90px;height:100%;max-height:120px}
  .scenario-card h3{grid-column:2;margin:0 0 6px;font-size:21px;line-height:1.12}
  .scenario-card>p{grid-column:2;font-size:15px;line-height:1.3}
  .scenarios .section-action{margin-top:24px}
  .scenario-visual .remote-link{right:4px;bottom:6px;padding:2px}
  .scenario-visual .remote-link svg{width:23px}
}
@media(max-width:700px) and (max-height:700px){
  .scenario-grid{gap:14px}
  .scenario-card{grid-template-columns:72px minmax(0,1fr);column-gap:12px}
  .scenario-card h3{font-size:19px;line-height:1.12;margin-bottom:5px}
  .scenario-card>p{line-height:1.25}
  .scenario-card .scenario-visual{min-height:80px}
  .scenarios .section-action{margin-top:20px}
}
@media(max-width:350px){
  .scenario-card{grid-template-columns:72px minmax(0,1fr);column-gap:12px}
  .scenario-card h3{font-size:19px}
  .scenario-grid{gap:14px}
}
@media(min-width:561px) and (max-width:800px){
  .program .clock-face{max-width:100%}
  .speaker-content{grid-template-columns:minmax(0,.8fr) minmax(0,1fr);column-gap:32px}
  .speaker-content .section-action .primary-action{max-width:100%;gap:12px;padding-left:18px}
}
@media(min-width:561px) and (max-width:760px){
  main>.program[id]>.section-inner{padding-block:20px}
  .program-content{display:block;position:relative}
  .program-side{position:static;margin-bottom:18px}
  .program-side h2{max-width:none;font-size:36px}
  .program .clock-face{position:absolute;right:32px;bottom:54px;width:80px;margin:0}
  .program .clock-readout{position:absolute;right:32px;bottom:28px;width:100px;margin:0;gap:4px}
  .program .clock-readout strong{font-size:24px}
  .program .clock-readout span{font-size:11px}
  .program .section-action{padding-right:130px;margin-top:18px;min-height:80px;align-items:center}
  .program .agenda-topic{padding-block:10px}
}
@media(max-width:350px){
  main>.program[id]>.section-inner{padding-block:20px}
  .program-side{margin-bottom:14px}
  .program .agenda-topic{padding-block:6px}
  .program .agenda-topic strong{font-size:19px}
  .program .topic-description{line-height:1.25;margin-top:5px}
  .program .topic-number{top:9px}.program .topic-time{top:10px}
  .program .section-action{margin-top:12px;min-height:70px;padding-right:90px}
  .program .clock-face{width:62px;bottom:36px;right:16px}
  .program .clock-readout{bottom:12px;right:16px}
}
@media(min-width:561px) and (max-width:700px){
  .hero{min-height:min-content}
  .hero-visual{height:220px;flex:0 1 220px;aspect-ratio:auto}
  .hero-shot{aspect-ratio:1.65}
  .hero .shot-field{top:32%}
}
@media(max-width:560px){
  .hero{min-height:min-content}
  .page-header .brand{flex-basis:128px}
  .organizer summary{padding-inline:10px}
  .hero h1{hyphens:manual}
  .hero-footer .event-meta{gap:20px;flex-wrap:wrap}
  .hero-footer .primary-action{gap:12px}
  .quick-form .optional-fields{grid-template-columns:minmax(0,1fr)}
}
#registration-dialog{
  container-type:inline-size;
  position:fixed;inset:auto;margin:0;
  left:var(--dialog-left,50%);top:var(--dialog-top,50%);
  transform:translate(-50%,-50%);
  width:min(510px,calc(var(--dialog-width,100vw) - 24px));
  max-width:calc(var(--dialog-width,100vw) - 24px);
  max-height:calc(var(--dialog-height,100svh) - 24px);
  overflow:auto;overscroll-behavior:contain;
}
.quick-form .primary-action{min-width:0;max-width:100%;gap:10px;padding-left:16px;white-space:normal;overflow-wrap:anywhere}
.quick-form .primary-action::after{width:30px;height:30px;flex-basis:30px}
@container(max-width:230px){
  h2{padding-right:24px}
  .quick-form .primary-action{justify-content:center;padding-inline:10px}
  .quick-form .primary-action::after{display:none}
}
