.submit-page { min-height: 100vh; background: linear-gradient(180deg, #d9f5ff 0, #effaff 430px, #f4fbf8 100%); }
.submit-topbar { position: sticky; }
.submit-shell { width: min(1120px, 100%); margin: 0 auto; padding: 25px 24px 58px; }
.submit-breadcrumb { display: flex; gap: 8px; margin-bottom: 17px; color: #8397a6; font-size: 11px; }
.submit-breadcrumb a { color: #41688c; font-weight: 700; }
.submit-breadcrumb strong { color: #244d72; }

.form-heading small,.process-card>small { color: #8399aa; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

.submit-content { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 22px; margin-top: 12px; }
.form-panel,.aside-card { border: 3px solid var(--outline); border-radius: 16px; background: var(--paper); box-shadow: 5px 6px 0 rgba(23, 67, 111, .14); }
.form-panel { padding: 23px 27px 24px; }
.form-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px dashed #b9ccd7; }
.form-heading :is(h1, h2) { margin: 4px 0 0; color: #244d72; font: 700 23px Georgia, "Songti SC", serif; }
.form-heading>p { margin: 0; color: #899ba8; font-size: 10px; }.form-heading em,.submit-page em { color: #e0785e; font-style: normal; }
.submit-page form fieldset { min-width: 0; margin: 0; padding: 19px 0; border: 0; border-bottom: 1px dashed #d0dce2; }
.submit-page form legend { margin-bottom: 15px; color: #315878; font-size: 12px; font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.submit-page form legend>b { display: inline-grid; width: 24px; height: 24px; place-items: center; margin-right: 7px; border-radius: 8px; background: #e2f6ff; color: #5484a3; font: 700 10px Inter, Arial, sans-serif; }
.submit-page form legend>span { margin-left: 5px; color: #91a2ae; font-size: 9px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }
.submit-page form .form-grid { grid-template-columns: minmax(0, 1fr); }
.submit-page form label { display: block; min-width: 0; color: #385e7c; font-size: 11px; font-weight: 700; }
.submit-page form input:not([type="checkbox"]),.submit-page form select,.submit-page form textarea { display: block; width: 100%; min-height: 40px; margin-top: 7px; padding: 9px 11px; border: 2px solid #c4dbe4; border-radius: 8px; outline: none; background: #f3fbfd; color: var(--ink); font: 11px Inter, Arial, sans-serif; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.submit-page form textarea { min-height: 112px; resize: vertical; line-height: 1.7; }
.submit-page form .description-field textarea { min-height: 180px; }
.submit-page form .description-note { display: flex; justify-content: space-between; gap: 12px; }
.submit-page form select { cursor: pointer; }
.submit-page form input:focus,.submit-page form select:focus,.submit-page form textarea:focus { border-color: #4b83ac; background: #fff; box-shadow: 0 0 0 3px rgba(115, 197, 222, .22); }
.submit-page form input::placeholder,.submit-page form textarea::placeholder { color: #a0b0bb; }
.field-note { display: block; margin-top: 8px; color: #8799a6; font-size: 9px; }
.field-note--error { color: #c64e3b; font-size: 11px; font-weight: 700; }
.field-note[hidden] { display: none; }
.upload-field { min-width: 0; }
.upload-field-label { display: flex; align-items: center; gap: 7px; }
.upload-field-label small { color: #91a2ae; font-size: 9px; font-weight: 400; }
.submit-page form input[type="file"].image-file-input { display: none; }
.image-dropzone { position: relative; display: grid; width: 100%; min-height: 166px; place-items: center; overflow: hidden; margin-top: 7px; padding: 14px; border: 2px dashed #b9d3df; border-radius: 11px; background: linear-gradient(145deg, #f5fbfd, #e8f7fc); color: #476b88; cursor: pointer; text-align: center; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.image-dropzone:hover,.image-dropzone:focus-visible { border-color: #5a8eb1; outline: none; box-shadow: 0 0 0 3px rgba(115, 197, 222, .22); }
.image-dropzone[data-dragging="true"] { border-color: #e0a44e; background: #fff8d9; }
.image-dropzone[data-state="error"] { border-color: #d87962; }
.multi-image-upload { min-width: 0; }
.multi-image-upload[data-dragging="true"] .image-dropzone { border-color: var(--outline); background: #fff5c8; }
.upload-empty { display: grid; justify-items: center; gap: 6px; }
.upload-empty[hidden] { display: none; }
.upload-image-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #b9d3df; border-radius: 10px; background: #fffdf2; color: #547e9c; font-size: 22px; line-height: 1; }
.upload-empty strong { color: #456984; font-size: 10px; }
.upload-empty small { color: #8c9eaa; font-size: 9px; font-weight: 400; }
.image-dropzone .upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; border-radius: 9px; background: #eef8fb; object-fit: contain; }
.image-dropzone .upload-preview[hidden] { display: none; }
.image-dropzone--logo .upload-preview { border-radius: 0; background: transparent; }
.upload-replace { position: absolute; right: 8px; bottom: 8px; left: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(35, 69, 105, .83); color: #fff; font-size: 9px; opacity: 0; transition: opacity .16s ease; }
.image-dropzone[data-has-preview="true"]:hover .upload-replace,.image-dropzone[data-has-preview="true"]:focus-visible .upload-replace { opacity: 1; }
.multi-image-gallery { display: grid; max-width: 440px; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 9px; }
.multi-image-gallery[hidden] { display: none; }
.multi-image-tile,.multi-image-slot { position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1; margin: 0; border: 2px dashed #8aa1b7; border-radius: 9px; background: var(--paper); }
.multi-image-tile img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; border: 0; background: #f8faff; object-fit: cover; }
.multi-image-preview { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.multi-image-preview:focus-visible { outline: 3px solid var(--outline); outline-offset: -3px; }
.multi-image-tile figcaption { overflow: hidden; padding: 6px 7px 1px; color: #456984; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.multi-image-state { position: absolute; right: 0; bottom: 0; left: 0; display: block; overflow: hidden; min-height: 20px; padding: 5px 4px; background: rgba(29, 42, 67, .72); color: #fff; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.multi-image-state:empty { display: none; }
.multi-image-tile[data-state="error"] { border-color: #d87962; }
.multi-image-tile[data-state="uploaded"] .multi-image-state { color: #fff; }
.multi-image-tile[data-state="error"] .multi-image-state { color: #fff; background: rgba(166, 54, 47, .82); }
.multi-image-actions { position: absolute; top: 4px; right: 4px; display: flex; gap: 3px; }
.multi-image-actions button { width: auto; height: auto; min-width: 25px; min-height: 23px; padding: 3px 5px; border: 0; border-radius: 4px; background: rgba(29, 42, 67, .72); color: #fff; font-size: 8px; cursor: pointer; }
.multi-image-actions button:hover { background: #244d72; }
.multi-image-add { display: grid; width: 100%; height: 100%; min-height: 0; place-items: center; color: #879aaa; cursor: pointer; }
.multi-image-add strong { font-size: 18px; font-weight: 400; line-height: 1; }
.multi-image-add:hover,.multi-image-add:focus-visible { border-color: var(--outline); outline: none; background: #fff5c8; color: var(--ink); box-shadow: 2px 2px 0 rgba(23, 67, 111, .12); }
.upload-status { display: block; min-height: 13px; margin-top: 6px; color: #8799a6; font-size: 9px; font-weight: 400; line-height: 1.5; }
.upload-status:empty { display: none; }
.upload-status[data-state="uploading"] { color: #47749a; }
.upload-status[data-state="error"] { color: #c64e3b; }
.platform-fieldset { padding: 6px 0 0 !important; border: 0 !important; }
.tag-fieldset { margin-top: 8px !important; }
.platform-fieldset legend { display: block; margin-bottom: 3px !important; font-size: 10px !important; line-height: 1.3; }
.platform-fieldset legend span { margin-left: 5px; color: #91a2ae; font-weight: 400; }
.tag-picker { display: grid; gap: 5px; }
.submit-page form .tag-search-label { color: #73899a; font-size: 9px; }
.tag-search-wrap { position: relative; }
.submit-page form .tag-search-wrap input { min-height: 40px; margin: 0; }
.tag-options-dropdown { position: absolute; z-index: 20; top: calc(100% + 5px); right: 0; left: 0; max-height: 230px; overflow-y: auto; padding: 5px; border: 1px solid #c4dbe4; border-radius: 9px; background: #fffdf2; box-shadow: 0 8px 18px rgba(35, 69, 105, .16); }
.tag-options-dropdown[hidden],.tag-selected-inputs[hidden],.tag-option[hidden],.tag-no-results[hidden] { display: none !important; }
.tag-option { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 8px 10px; border: 0; border-radius: 6px; background: transparent; color: #496984; font: 10px Inter, Arial, sans-serif; text-align: left; cursor: pointer; }
.tag-option:hover,.tag-option:focus-visible { outline: none; background: #edf8fc; }
.tag-option[aria-selected="true"] { background: #dff5ff; color: #244d72; font-weight: 700; }
.tag-option[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.tag-option-check { color: #347c60; opacity: 0; }
.tag-option[aria-selected="true"] .tag-option-check { opacity: 1; }
.tag-option--suggestion { margin-top: 4px; border-top: 1px dashed #d0dce2; border-radius: 0 0 6px 6px; color: #315878; font-weight: 700; }
.tag-no-results { padding: 8px 10px; color: #8799a6; font-size: 9px; }
.tag-search-status { min-height: 12px; margin: 0 0 2px; }
.tag-selected-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-selected-list:empty { display: none; }
.tag-selected-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px 5px 9px; border: 1px solid #b9d3df; border-radius: 8px; background: #eaf8fc; color: #496984; font-size: 9px; }
.tag-selected-chip button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #54758c; font-size: 13px; line-height: 1; cursor: pointer; }
.tag-selected-chip button:hover { background: #d5edf6; }
.tag-custom-list { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-fieldset { min-width: 0; padding: 0 !important; border: 0 !important; }
.submit-page form .choice-fieldset legend { margin-bottom: 10px; }
.platform-options { display: flex; flex-wrap: wrap; gap: 7px; }
.platform-options label { position: relative; display: inline-flex !important; cursor: pointer; }
.submit-page form .platform-options input { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; opacity: 0; }
.platform-options span { padding: 6px 10px; border: 1px solid #c4dbe4; border-radius: 8px; background: #f3fbfd; color: #59758b; font-size: 9px; transition: .16s ease; }
.platform-options input:checked+span { border-color: var(--outline); background: #dff5ff; color: var(--ink); font-weight: 700; box-shadow: 2px 2px 0 rgba(23, 67, 111, .12); }
.platform-options input:focus-visible+span { outline: 3px solid #f0c365; outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 9px; padding: 17px 0 14px; }
.submit-page .consent input { flex: none; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #2f608b; }
.submit-page .consent label { color: #657d90; font-size: 10px; font-weight: 400; line-height: 1.6; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.form-actions p { margin: 0; color: #8a9aa6; font-size: 9px; line-height: 1.5; }
.form-actions button,.success-state button { min-height: 42px; padding: 0 16px; border: 2px solid var(--outline); border-radius: 10px; background: #ffdc72; box-shadow: 3px 4px 0 var(--outline); color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.form-actions button:hover,.success-state button:hover { transform: translateY(-2px); box-shadow: 4px 6px 0 var(--outline); }
.form-actions button span { margin-left: 7px; font-size: 14px; }
.form-error { min-height: 14px; margin: 10px 0 0; color: #c64e3b; font-size: 10px; }

.submit-aside { display: grid; gap: 14px; }
.aside-card { padding: 18px; }
.process-card h2 { margin: 4px 0 8px; color: #244d72; font: 700 20px Georgia, "Songti SC", serif; }
.process-card ol { margin: 12px 0 0; padding: 0; list-style: none; }
.process-card li { display: flex; gap: 11px; padding: 13px 0; border-top: 1px dashed #cbd9df; }
.process-card li>b { display: grid; flex: none; width: 26px; height: 26px; place-items: center; border-radius: 8px; background: #e4f6ff; color: #5683a0; font: 700 10px Georgia, serif; }
.process-card li strong,.process-card li span { display: block; }.process-card li strong { color: #345d7b; font-size: 10px; }.process-card li span { margin-top: 4px; color: #8295a2; font-size: 9px; line-height: 1.55; }
.success-state { padding: 38px 0 12px; }
.success-state>span { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid var(--outline); border-radius: 12px; background: #ffdf75; color: #9b7625; font-size: 20px; }
.success-state .section-label { margin: 17px 0 0; color: #889ba9; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.success-state h2 { margin: 7px 0; color: #244d72; font: 700 25px Georgia, "Songti SC", serif; }
.success-state>p:not(.section-label) { max-width: 430px; color: #687f92; font-size: 11px; line-height: 1.8; }
.success-state button { margin-top: 9px; }
.badge-requirement { min-width: 0; margin: 17px 0 4px; padding: 17px; border: 2px solid #d9c36d; border-radius: 12px; background: #fff9d9; }
.badge-requirement-heading>span { color: #90782f; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.badge-requirement h3 { margin: 5px 0 0; color: #244d72; font: 700 18px Georgia, "Songti SC", serif; }
.badge-instructions { display: grid; gap: 6px; margin: 12px 0 14px; padding-left: 20px; color: #657b8b; font-size: 10px; line-height: 1.65; }
.badge-secondary-button,.badge-check-button { min-height: 36px; padding: 0 12px; border: 2px solid var(--outline); border-radius: 8px; color: var(--ink); font-size: 10px; font-weight: 700; cursor: pointer; }
.badge-secondary-button { background: #fffdf2; }
.badge-check-button { background: #a9e7f4; }
.badge-secondary-button:disabled,.badge-check-button:disabled { opacity: .6; cursor: wait; }
.badge-embed { min-width: 0; margin-top: 14px; }
.badge-embed[hidden] { display: none; }
.badge-embed>label { margin-bottom: 6px; }
.submit-page form textarea#badgeCode { min-height: 100px; font: 10px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.badge-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.badge-status { min-height: 15px; margin: 10px 0 0; color: #758897; font-size: 10px; line-height: 1.5; }
.badge-status[data-state="success"] { color: #32815f; font-weight: 700; }
.badge-status[data-state="error"] { color: #bd4b39; }
.badge-status[data-state="checking"] { color: #47749a; }
.form-actions button:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 3px 4px 0 var(--outline); }
.published-floor { color: #244d72 !important; font: 700 32px Georgia, "Songti SC", serif !important; }
.published-floor-link { display: inline-flex; gap: 7px; align-items: center; margin: 7px 0 5px; padding: 10px 13px; border: 2px solid var(--outline); border-radius: 9px; background: #ffdc72; box-shadow: 3px 4px 0 var(--outline); color: var(--ink); font-size: 11px; font-weight: 700; }
.published-floor-link span { font-size: 14px; }
.submit-footer { display: flex; width: min(1120px, calc(100% - 48px)); align-items: center; gap: 18px; margin: 0 auto; padding: 20px 0 32px; border-top: 1px solid #bad4de; color: #8094a1; font-size: 10px; }
.submit-footer .brand { margin-right: auto; }

@media (max-width: 900px) {
  .submit-content { grid-template-columns: minmax(0, 1fr) 230px; gap: 14px; }
  .form-panel { padding: 21px 20px; }
}

@media (max-width: 700px) {
  .submit-shell { padding: 18px 14px 42px; }
  .submit-content { grid-template-columns: 1fr; }
  .submit-aside { grid-template-columns: 1fr 1fr; }
  .submit-footer { width: calc(100% - 28px); flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .form-panel { padding: 18px 15px; }
  .form-heading { align-items: start; }
  .form-heading :is(h1, h2) { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 13px; }
  .submit-aside { grid-template-columns: 1fr; }
  .form-actions { align-items: flex-end; }
  .form-actions p { max-width: 145px; }
  .form-actions button { white-space: nowrap; }
  .badge-requirement { padding: 13px; }
  .badge-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .badge-actions button { padding-inline: 6px; }
  .multi-image-gallery { gap: 5px; margin-top: 8px; }
  .multi-image-actions { top: 2px; right: 2px; }
  .multi-image-actions button { min-width: 21px; min-height: 20px; padding: 2px 3px; font-size: 7px; }
}
