
.upload-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  margin: 0 0 0.5rem; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: linear-gradient(90deg, #f7f4ef 0%, #f7f4ef 45%, #fff 62%, #fff 100%);
  min-height: 250px;
}
.upload-hero-copy { padding: 1.6rem 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: 0.45rem; z-index: 1; }
.upload-hero-copy h2 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.75rem); line-height: 1.15; font-weight: 600; }
.upload-hero-copy .uh-line { margin: 0; font-size: 1rem; line-height: 1.45; max-width: 34rem; }
.upload-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 0.6rem; }
.uh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box;
  padding: 0 1.15rem; border-radius: 4px; background: var(--accent); border: 1px solid var(--accent);
  color: var(--accent-ink); font: 600 15px var(--font-sans); text-decoration: none; } /* whitelist: primary button */
.uh-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.uh-small { margin: 0; font-size: 13px; color: var(--muted); }
.upload-hero-media { position: relative; }
.upload-hero-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; box-sizing: border-box;
  object-fit: contain; object-position: right center; padding: 2% 4% 2% 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.upload-hero-media .example-label { left: auto; right: 8px; }
@media (max-width: 720px) {
  .upload-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; background: #f7f4ef; }
  .upload-hero-media { order: -1; height: 190px; background: #fff; border-bottom: 1px solid var(--line); }
  .upload-hero-media img { object-position: center; padding: 4%; -webkit-mask-image: none; mask-image: none; }
  .upload-hero-copy { padding: 1.1rem 1rem 1.25rem; }
  .uh-btn { width: 100%; }
}
.up-intro { max-width: 44rem; margin: 0 0 1.25rem; }
.up-box { max-width: 640px; border: 1px solid var(--line); border-top: 3px solid var(--accent); background: #fff; margin: 0 0 1rem; }
.up-soon { margin: 0; padding: 0.75rem 1.1rem; background: var(--zebra); border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink); }
.up-form { padding: 1.1rem 1.1rem 1.3rem; }
.up-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.up-rule { margin: 0 0 1rem; padding: 0.65rem 0.9rem; background: var(--zebra); border-left: 4px solid var(--ink);
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.up-field { margin: 0 0 1rem; }
.up-box .mf-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 0.3rem; }
.up-box .mf-hint { display: block; font-size: 13px; color: var(--muted); margin: -0.1rem 0 0.35rem; }
.up-box .mf-input { display: block; width: 100%; min-width: 0; height: 44px; box-sizing: border-box; border: 1px solid #8a8f96; border-radius: 4px;
  background: #fff; padding: 0 0.7rem; font: 15px var(--font-sans); color: var(--ink); }
.up-box .mf-input:disabled { background: #eef0f2; border-color: #c9ccd1; color: #6b7077; cursor: not-allowed; }
.up-drop { position: relative; display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0.6rem; align-items: stretch;
  padding: 0.8rem; min-height: 112px; box-sizing: border-box; border: 2px dashed #c9ccd1; border-radius: 6px; background: #eef0f2; cursor: not-allowed; }
.up-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: not-allowed; }
.up-drop-icon { display: flex; align-items: center; justify-content: center; width: 64px; color: #8a8f96; }
.up-slot { border: 1px dashed #c9ccd1; border-radius: 4px; background: #e6e8eb; min-height: 88px; display: flex; align-items: center; justify-content: center; color: #b3b8be; }
.up-box .mf-check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 0.55rem; align-items: start; min-height: 44px; box-sizing: border-box;
  padding: 0.6rem 0; font-size: 14px; line-height: 1.4; margin: 0; cursor: not-allowed; }
.up-box .mf-check + .mf-check { border-top: 1px solid var(--line); }
.up-box .mf-check input { width: 18px; height: 18px; margin: 1px 0 0; }
.up-box .mf-check input:disabled + span { color: #555; }
.up-actions { margin-top: 0.9rem; }
.up-box .mf-btn { min-height: 44px; min-width: 120px; box-sizing: border-box; border-radius: 4px; background: var(--accent); border: 1px solid var(--accent);
  color: var(--accent-ink); font: 600 15px var(--font-sans); padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: center; }
.up-box .mf-btn:disabled { background: #e6e8eb; border-color: #d0d4d9; color: #555; cursor: not-allowed; }
.up-small { max-width: 640px; font-size: 12.5px; color: #444; margin: 0.25rem 0 0; }
@media (max-width: 720px) {
  .up-drop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .up-drop-icon { grid-column: 1 / -1; width: auto; height: 36px; }
  .up-slot { min-height: 72px; }
  .up-box .mf-btn { width: 100%; }
  .up-form { padding: 1rem 0.9rem 1.2rem; }
}
