:is(.xp-shell,#xp-dialog) .xp-partners-dialog{max-width:1040px;width:100%;min-width:0}
.xp-partner-company{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:12px}
.xp-partner-person{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr) 40px;gap:10px;align-items:end;padding:10px 0;border-bottom:1px solid #e8e3f0}
.xp-partner-person label,.xp-partner-company label{display:grid;gap:5px;min-width:0;font-size:14px}
.xp-partner-person input,.xp-partner-company input,.xp-partner-company select{width:100%;min-width:0;min-height:42px;padding:9px 11px;font-size:16px}
:is(.xp-shell,#xp-dialog) .xp-partner-remove{width:40px;height:42px;min-height:42px;padding:9px;display:flex;align-items:center;justify-content:center}
.xp-partner-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}
:is(.xp-shell,#xp-dialog) .xp-partner-actions button{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:8px}:is(.xp-shell,#xp-dialog) .xp-partner-actions button svg{width:20px;height:20px;flex:0 0 20px}
.xp-partner-history{margin:0 0 16px;padding:12px;border:1px solid #e8e3f0;border-radius:12px}.xp-partner-history article{padding:12px 0;border-bottom:1px solid #eee}.xp-partner-history p{margin:5px 0}
:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-staff-row{padding:12px;margin:0 0 9px;border:1px solid #e5dfee;border-radius:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.xp-compact-team .xp-staff-fields{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,.9fr) minmax(0,1.4fr) minmax(0,1.4fr);gap:9px;min-width:0}.xp-compact-team .xp-staff-fields label{min-width:0;font-size:14px;display:grid;gap:4px}.xp-compact-team .xp-staff-fields input{width:100%;min-width:0;min-height:42px;padding:8px 10px;font-size:15px}
.xp-staff-row-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end}:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-remove{width:38px!important;min-width:38px;height:40px!important;min-height:40px;padding:8px!important;display:flex;justify-content:center;align-items:center}:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-remove svg{width:18px;height:18px}
.xp-person-validation{position:relative;display:flex!important;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 12px;border:1px solid #c9bddc;border-radius:10px;background:#fff;color:#655777;font-size:14px!important;white-space:nowrap;cursor:pointer}.xp-person-validation input{position:absolute;opacity:0;width:1px;height:1px}.xp-person-validation svg{width:18px;height:18px;flex:0 0 18px}.xp-person-validation:has(input:checked){background:#e5f6ed;border-color:#83c7a6;color:#147b50}.xp-person-validation:has(input:focus-visible){outline:3px solid #ae86cf;outline-offset:2px}
.xp-compact-team .xp-team-section{padding:0;border:0;background:none}.xp-compact-team .xp-team-section-title{font-size:20px}.xp-compact-team .xp-badge-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:8px 0}.xp-compact-team .xp-badge-summary p{margin:0}.xp-compact-team .xp-team-intro{margin:8px 0 12px;font-size:15px}.xp-compact-team .xp-quota-note{font-size:14px;margin:6px 0}.xp-compact-team .xp-team-languages,.xp-compact-team .xp-team-presence,.xp-compact-team .xp-team-meetings{display:none}.xp-compact-team .xp-team-mail-status{margin:8px 0}.xp-compact-team #xp-team-invitation-help{font-size:14px;margin:12px 0}.xp-compact-team .xp-inline-actions{gap:9px}.xp-compact-team .xp-inline-actions button{font-size:15px;min-height:42px;padding:10px 13px;font-weight:500}
.xp-compact-team .xp-preparation-block{margin:12px 0 0;padding:12px}.xp-compact-team .xp-team-schedules{margin-top:12px}.xp-compact-team .xp-team-schedules>summary{font-size:15px;cursor:pointer}
#xp-partners-choice small{margin-top:8px;color:#6e6b80}.xp-co-logo-entry{margin:12px 0;padding:16px;border:1px solid #e4daef;border-radius:14px}.xp-co-logo-entry h3{font-size:20px;margin:0 0 10px}.xp-co-logo-entry form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.xp-co-logo-entry label{display:grid;gap:6px}
@media(max-width:1100px){.xp-compact-team .xp-staff-row{grid-template-columns:1fr!important}.xp-compact-team .xp-staff-row-actions{justify-content:flex-start}.xp-compact-team .xp-staff-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.xp-partner-company{grid-template-columns:1fr}.xp-partner-person{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}.xp-partner-person label:last-of-type{grid-column:1/3}.xp-partner-person .xp-partner-remove{grid-column:3;grid-row:2}.xp-partner-actions{align-items:stretch}.xp-partner-actions button{width:100%}:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-staff-row{padding:10px}.xp-compact-team .xp-staff-fields label:nth-child(3),.xp-compact-team .xp-staff-fields label:nth-child(4){grid-column:1/-1}.xp-compact-team .xp-inline-actions{display:grid;grid-template-columns:1fr}.xp-compact-team .xp-inline-actions button{width:100%}.xp-compact-team .xp-badge-summary{display:block;font-size:15px}}

:is(.xp-shell,#xp-dialog) .xp-badge-information{font-size:16px!important;line-height:1.55;color:#5e6b85;margin:10px 0}.xp-person-validation:has(input:checked){white-space:nowrap;max-width:none;text-align:center}

.xp-team-badges-download>.xp-badge-information{grid-column:1/-1;min-width:0}

:is(.xp-shell,#xp-dialog) .xp-person-validation{flex-direction:row!important;min-width:190px;flex:0 0 auto}:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-staff-row{grid-template-columns:minmax(0,1fr) 235px}:is(.xp-shell,#xp-dialog) .xp-staff-row-actions{width:235px}@media(max-width:1100px){:is(.xp-shell,#xp-dialog) .xp-compact-team .xp-staff-row{grid-template-columns:1fr}:is(.xp-shell,#xp-dialog) .xp-staff-row-actions{width:auto}}

:is(.xp-shell,#xp-dialog) .xp-staff-fields label,:is(.xp-shell,#xp-dialog) .xp-staff-fields input,:is(.xp-shell,#xp-dialog) .xp-partner-person label,:is(.xp-shell,#xp-dialog) .xp-partner-person input,:is(.xp-shell,#xp-dialog) .xp-partner-company label,:is(.xp-shell,#xp-dialog) .xp-partner-company input,:is(.xp-shell,#xp-dialog) .xp-partner-company select{margin:0!important;box-sizing:border-box}@media(max-width:620px){:is(.xp-shell,#xp-dialog) .xp-staff-row-actions{width:100%}:is(.xp-shell,#xp-dialog) .xp-person-validation{flex:1 1 auto!important;min-width:0!important;white-space:normal!important}}

/* Partners and photographer share a compact column beside the team. */
.xp-shell #xp-stand-sections .xp-preparation-side{display:grid;gap:16px;align-content:start;align-self:start;min-width:0}
.xp-shell #xp-stand-sections .xp-preparation-side>.xp-selection-card{position:relative;box-sizing:border-box;min-width:0;width:100%;height:auto;min-height:0;margin:0;padding:16px;border:1px solid #e8dcef;border-radius:22px;background:#fff;box-shadow:none;overflow:visible}
.xp-shell #xp-stand-sections .xp-preparation-side>.xp-selection-card::before{content:"";position:absolute;left:22px;top:-1px;width:64px;height:3px;border-radius:3px;background:#de2e92}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-selection-heading{margin-bottom:10px}
.xp-shell #xp-stand-sections .xp-preparation-side p{margin:6px 0;line-height:1.5}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-card-deadlines{margin-bottom:8px}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-card-deadline{margin:0}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-selection-action{margin-top:10px}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-photo-copy p{margin:0 0 8px;line-height:1.5}
.xp-shell #xp-stand-sections .xp-preparation-side .xp-photo-time{margin:10px 0 0;line-height:1.5}
.xp-shell #xp-stand-sections [data-stand-section=preparation] #xp-staff-choice{align-self:start}
@media(max-width:760px){.xp-shell #xp-stand-sections .xp-preparation-side{gap:12px}}

/* Selected preparation instructions keep their normal size, with readable emphasis. */
.xp-shell strong.xp-prep-emphasis{font-size:inherit!important;line-height:inherit!important;font-weight:700!important;color:#26364c;letter-spacing:inherit;text-transform:none}

/* Balance the team card against the partner/photographer stack on desktop. */
@media(min-width:761px){
 .xp-shell #xp-stand-sections [data-stand-section=preparation] .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice{align-self:stretch;display:flex;flex-direction:column}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-team-badges-download{flex:1 0 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-team-badges-download>.xp-selection-action{flex-shrink:0}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-team-badges-download>p{margin:0}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-step-state{align-self:flex-start;flex-shrink:0}
}

@media(min-width:761px){
 .xp-shell #xp-stand-sections .xp-work-grid>.xp-preparation-side:has(>#xp-photographer){align-self:stretch;grid-template-rows:auto 1fr}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-selection-action{align-self:flex-start}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-team-badges-download{justify-content:flex-start;gap:10px}
 .xp-shell #xp-stand-sections .xp-work-grid:has(>.xp-preparation-side)>#xp-staff-choice>.xp-team-badges-download>.xp-badge-information{margin-top:auto}
}

/* Room artwork stays beside the company logo; trailers use both columns below. */
@media(min-width:761px){
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-work-grid>.xp-fact-signage:has(.xp-digital-signage){grid-column:auto}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-work-grid:has(>.xp-fact-signage .xp-digital-signage)>#xp-conference-trailer{grid-column:1/-1}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-work-grid:has(>.xp-fact-signage .xp-digital-signage) .xtr-owner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-work-grid:has(>.xp-fact-signage .xp-digital-signage) .xtr-owner-grid>section{margin:0;padding:14px;border:1px solid #f2e3ee}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-grid[data-count="1"]{grid-template-columns:1fr}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-card{padding:10px;gap:6px}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-card h4{margin:0}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-frame{max-height:80px}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-status{margin:0;font-size:13px;line-height:1.4}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-actions{padding-top:0}
 .xp-shell #xp-stand-sections [data-stand-section=signage] .xp-digital-note{margin:8px 0 0;font-size:13px;line-height:1.4}
}
