/* Scoped presentation only: submission and eligibility rules stay unchanged. */
@media (max-width: 720px) {
  html body:has(.edit-hero), html body:has(.agenda-user-shell) {background:#f5f6f8!important;background-image:none!important}
  html body:has(.edit-hero) main, html body main.agenda-user-shell {width:100%!important;max-width:100%!important;margin:0!important;padding:16px!important;box-sizing:border-box;min-width:0}
  html body:has(.edit-hero) main {font-family:system-ui,sans-serif!important;gap:14px}
  html body:has(.edit-hero) main :is(h1,h2,h3),html body .agenda-user-shell :is(h1,h2,h3) {font-family:system-ui,sans-serif!important;line-height:1.3!important;height:auto!important;max-height:none!important;overflow:visible!important;overflow-wrap:anywhere}
  html body:has(.edit-hero) main h1,html body .agenda-user-shell h1 {font-size:26px!important;white-space:normal!important}
  html body:has(.edit-hero) main h2,html body .agenda-user-shell h2 {font-size:20px!important}
  html body:has(.edit-hero) main p,html body .agenda-user-shell p {font-size:15px!important;line-height:1.5!important;font-weight:400!important}
  html body:has(.edit-hero) :is(.edit-hero,.notice-card,.access-card,.work-card),html body .agenda-user-shell :is(.agenda-hero,.agenda-card) {padding:14px!important;min-width:0;box-shadow:none!important;border-radius:8px!important;background:#fff!important}
  html body:has(.edit-hero) .edit-hero>.work-actions {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html body:has(.edit-hero) .edit-hero>.work-actions>.button {padding:10px 6px!important;font-size:13px!important;min-width:0;min-height:46px;white-space:normal!important;line-height:1.35!important;text-shadow:none!important}
  html body:has(.edit-hero) main :is(.button,button), html body .agenda-user-shell :is(.button,button) {min-height:46px!important;white-space:normal!important;line-height:1.4!important;padding:10px 12px!important;max-width:100%;box-sizing:border-box}
  html body:has(.edit-hero) main :is(input:not([type=radio]):not([type=checkbox]),select,textarea),html body .agenda-user-shell :is(input:not([type=radio]):not([type=checkbox]),select,textarea) {font-size:16px!important;min-width:0;max-width:100%;box-sizing:border-box}
  html body:has(.edit-hero) .work-form {grid-template-columns:minmax(0,1fr);gap:14px}
  html body:has(.edit-hero) main :is(input,select,textarea) {background:#fff!important;color:#242627!important}
  html body:has(.edit-hero) main a:not(.button) {color:#542638!important}
  html body:has(.edit-hero) main :is(.button,button):not(.secondary):not(.danger) {background:#733448!important;color:#fff!important;text-shadow:none!important}
  html body:has(.edit-hero) main :is(.button.secondary,button.secondary) {background:#fff!important;color:#542638!important;border-color:#b9a5ac!important;text-shadow:none!important}
  html body:has(.edit-hero) .work-form>.wide:has(>label>input[type=radio][name=work_number]) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]) {position:relative;min-width:0;padding:10px!important;gap:8px!important;border:2px solid #cbd0d7!important;background:white;box-sizing:border-box}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]) img {width:100%!important;height:136px!important;object-fit:contain!important;background:#f5f6f8;border-radius:4px}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]) strong {font-size:14px;line-height:1.4;overflow-wrap:anywhere}
  html body:has(.edit-hero) .work-form input[type=radio][name=work_number] {width:22px!important;height:22px!important;min-height:22px!important;margin:0;accent-color:#733448}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]:checked) {border-color:#733448!important;background:#fcf4f7;box-shadow:0 0 0 1px #733448}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]:focus-visible) {outline:3px solid #246c91;outline-offset:3px}
  html body:has(.edit-hero) .work-current-preview {grid-template-columns:minmax(0,1fr);padding:10px;gap:12px}
  html body:has(.edit-hero) .work-current-preview figure {width:100%;height:200px;min-height:0;background:#f5f6f8}
  html body:has(.edit-hero) .work-current-preview img {height:100%;object-fit:contain}
  html body:has(.edit-hero) .compact-check {font-size:14px;line-height:1.5;min-height:44px;align-items:start}
  html body:has(.edit-hero) .compact-check input {width:20px!important;height:20px!important;min-height:20px!important}
  html body:has(.edit-hero) .marketplace-artist-card {grid-template-columns:minmax(0,1fr)}
  html body:has(.edit-hero) .marketplace-artist-card form {display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  html body .agenda-user-shell .work-card {min-width:0;grid-template-columns:96px minmax(0,1fr);gap:12px}
  html body .agenda-user-shell .work-card>div {min-width:0;overflow-wrap:anywhere}
  html body .agenda-user-shell .button-row {gap:8px;flex-wrap:wrap}
  html body:is(:has(.edit-hero),:has(.agenda-user-shell)).pamuk-mobile-nav-ready .header .nav .brand strong {font-size:16px!important;line-height:1.2!important}
  html body:is(:has(.edit-hero),:has(.agenda-user-shell)).pamuk-mobile-nav-ready .header .nav .brand img.brand-logo {width:30px!important;min-width:30px!important;height:32px!important;flex:0 0 30px!important;object-fit:contain}
  html body:is(:has(.edit-hero),:has(.agenda-user-shell)).pamuk-mobile-nav-ready .header .nav .brand {gap:8px!important;min-width:0!important}
}
@media (max-width:360px) {
  html body:is(:has(.edit-hero),:has(.agenda-user-shell)).pamuk-mobile-nav-ready .header .nav .brand strong {font-size:14px!important}
  html body:has(.edit-hero) main,html body main.agenda-user-shell {padding:12px!important}
  html body:has(.edit-hero) .work-form label:has(>input[type=radio][name=work_number]) img {height:112px!important}
}
