.submit-main { padding-top: 68px; }
.submit-heading { padding-bottom: 58px; }

.standards-panel {
  margin-bottom: 16px;
  padding: 42px;
  border: 1px solid rgba(141, 253, 79, .18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 8%, rgba(141, 253, 79, .1), transparent 28rem),
    rgba(16, 22, 18, .78);
}
.standards-intro { max-width: 760px; }
.standards-kicker { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.standards-intro h2 { max-width: 720px; margin: 10px 0 14px; font-size: clamp(28px, 4vw, 42px); text-align: left; }
.standards-intro p { max-width: 690px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.method-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.method-cards article { padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: rgba(7, 11, 8, .42); }
.method-number { display: inline-block; padding: 5px 8px; border-radius: 20px; color: #0b110a; background: var(--accent); font-size: 8px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.method-cards article + article .method-number { color: #d6ded7; background: rgba(255, 255, 255, .08); }
.method-cards h3 { margin: 18px 0 7px; font: 600 17px var(--font-display); }
.method-cards p { margin: 0; color: #7f8b81; font-size: 12px; line-height: 1.6; }
.qualification-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.qualification-grid > div { min-width: 0; }
.qualification-grid strong { font-size: 11px; letter-spacing: .7px; text-transform: uppercase; }
.qualify-title { color: var(--accent); }
.reject-title { color: #ef8d7b; }
.qualification-grid ul { margin: 15px 0 0; padding: 0; list-style: none; }
.qualification-grid li { position: relative; margin-top: 9px; padding-left: 18px; color: #8d988f; font-size: 11px; line-height: 1.5; }
.qualification-grid li::before { position: absolute; top: .15em; left: 0; color: var(--accent); content: "✓"; }
.qualification-grid > div:last-child li::before { color: #ef8d7b; content: "×"; }

.hardware-tools { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; }
.section-title-row > .hardware-tools > .section-status { color: #7b867d; font-size: 10px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.section-title-row > .hardware-tools > .section-status.connected { border-color: rgba(141, 253, 79, .22); color: var(--accent); }
.section-title-row > .hardware-tools > .section-status.error { border-color: rgba(239, 123, 103, .28); color: #ef8d7b; }
.rig-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.rig-actions button,
.repeat-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(141, 253, 79, .22);
  border-radius: 7px;
  color: #aeb8b0;
  background: rgba(141, 253, 79, .055);
  font: 700 9px var(--font-body);
  letter-spacing: .25px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.rig-actions button:hover:not(:disabled),
.repeat-actions button:hover { border-color: rgba(141, 253, 79, .55); color: var(--accent); background: rgba(141, 253, 79, .1); }
.rig-actions button:disabled { opacity: .38; cursor: not-allowed; }
.rig-actions #forget-saved-rig { border-color: var(--line); color: #778179; background: rgba(255, 255, 255, .025); }
.hardware-tools > small { color: #626d64; font-size: 8px; }
.hardware-tools > small.saved { color: #8fa485; }

.test-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.method-fieldset { min-width: 0; }
.method-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.method-options label > span { min-height: 85px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: #929d94; background: rgba(18, 25, 20, .65); text-align: center; transition: border-color .2s, color .2s, background .2s; }
.method-options strong { font-size: 11px; }
.method-options small { color: #626d64; font-size: 8px; }
.method-options input:checked + span { border-color: rgba(141, 253, 79, .55); color: var(--text); background: rgba(141, 253, 79, .085); }
.method-options input:disabled + span { opacity: .35; cursor: not-allowed; }
.route-field { margin-top: 20px; }

.text-field textarea,
.text-field > input,
.identity-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background: rgba(18, 25, 20, .75);
  font: 12px var(--font-body);
  transition: border-color .2s, background .2s;
}
.text-field textarea { min-height: 115px; padding: 14px; resize: vertical; line-height: 1.55; }
.text-field > input,
.identity-grid input { height: 49px; padding: 0 14px; }
.text-field textarea:focus,
.text-field > input:focus,
.identity-grid input:focus { border-color: rgba(141, 253, 79, .48); background: #111914; }
.text-field textarea::placeholder,
.text-field > input::placeholder,
.identity-grid input::placeholder { color: #59635b; }
.submit-rt-options { grid-template-columns: repeat(5, minmax(58px, 1fr)); }
.submit-rt-options span { padding: 4px 7px; text-align: center; }

.metric-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.metric-input { display: flex; flex-direction: column; gap: 9px; }
.metric-input > span { color: #a6b0a8; font-size: 10px; font-weight: 600; }
.metric-input em { margin-left: 4px; color: #5f6961; font-size: 8px; font-style: normal; letter-spacing: .6px; text-transform: uppercase; }
.metric-input > div { min-height: 82px; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(18, 25, 20, .75); }
.metric-input input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--text); background: transparent; font: 600 27px var(--font-display); }
.date-metric input { color-scheme: dark; font-size: 13px; letter-spacing: -.3px; }
.metric-input small { color: #68736a; font-size: 8px; font-weight: 700; letter-spacing: 1px; }
.metric-input > div:focus-within { border-color: rgba(141, 253, 79, .48); }
.generated-fps-input > div { border-color: rgba(141, 253, 79, .23); }
.evidence-field { margin-top: 24px; }
.evidence-field > p { margin: 8px 2px 0; color: #667169; font-size: 9px; line-height: 1.5; }
.evidence-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #59635b; font-size: 8px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.evidence-divider::before,
.evidence-divider::after { height: 1px; flex: 1; background: var(--line); content: ""; }
.evidence-upload { min-height: 78px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px dashed rgba(141,253,79,.25); border-radius: 8px; color: #aab4ac; background: rgba(141,253,79,.025); cursor: pointer; transition: border-color .2s, background .2s; }
.evidence-upload:hover { border-color: rgba(141,253,79,.5); background: rgba(141,253,79,.05); }
.evidence-upload.has-file { border-style: solid; border-color: rgba(141,253,79,.45); }
.evidence-upload input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.evidence-upload-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border: 1px solid rgba(141,253,79,.28); border-radius: 7px; color: var(--accent); background: rgba(141,253,79,.06); font-size: 17px; }
.evidence-upload > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.evidence-upload strong { font-size: 10px; }
.evidence-upload small { overflow-wrap: anywhere; color: #667169; font-size: 8px; line-height: 1.45; }

.identity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.identity-grid label { display: flex; flex-direction: column; gap: 8px; }
.identity-grid label > span { color: #a6b0a8; font-size: 10px; font-weight: 600; }
.identity-grid small { margin-left: 4px; color: #5f6961; font-size: 8px; font-weight: 500; text-transform: uppercase; }
.confirmation-list { display: grid; gap: 9px; margin-top: 26px; }
.confirmation-list label { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(18, 25, 20, .55); cursor: pointer; }
.confirmation-list input { width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--accent); }
.confirmation-list label > span { display: flex; flex-direction: column; gap: 4px; }
.confirmation-list strong { color: #abb5ad; font-size: 10px; }
.confirmation-list small { color: #606a62; font-size: 9px; line-height: 1.4; }
.turnstile-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(18, 25, 20, .55); }
.turnstile-panel[hidden] { display: none; }
.turnstile-panel strong { font-size: 11px; }
.turnstile-panel p { margin: 4px 0 0; color: #68736a; font-size: 9px; line-height: 1.5; }
.submission-action { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 28px; padding: 25px; border: 1px solid rgba(141, 253, 79, .16); border-radius: 10px; background: radial-gradient(circle at 90% 50%, rgba(141, 253, 79, .09), transparent 42%), rgba(15, 22, 17, .85); }
.submission-action strong { font: 600 17px var(--font-display); }
.submission-action p { max-width: 520px; margin: 5px 0 0; color: #748077; font-size: 10px; line-height: 1.5; }
.submission-buttons { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.save-rig-bottom { min-height: 42px; padding: 0 17px; border: 1px solid rgba(141, 253, 79, .28); border-radius: 7px; color: #aeb8b0; background: rgba(141, 253, 79, .055); font: 700 11px var(--font-body); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.save-rig-bottom:hover:not(:disabled) { border-color: rgba(141, 253, 79, .58); color: var(--accent); background: rgba(141, 253, 79, .1); }
.save-rig-bottom:disabled { opacity: .38; cursor: not-allowed; }
.submission-action .button { flex: 0 0 auto; border: 0; font: 700 12px var(--font-body); cursor: pointer; }
.submission-action .button:disabled { color: #596159; background: #252c26; box-shadow: none; cursor: wait; transform: none; }
.form-message { display: none; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: #aab5ac; background: rgba(18, 25, 20, .65); font-size: 11px; line-height: 1.5; }
.form-message.visible { display: block; }
.form-message.error { border-color: rgba(239, 123, 103, .3); color: #efa08f; background: rgba(239, 123, 103, .06); }
.form-message.success { border-color: rgba(141, 253, 79, .3); color: var(--accent); background: rgba(141, 253, 79, .06); }
.repeat-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; padding: 18px 20px; border: 1px solid rgba(141, 253, 79, .18); border-radius: 8px; background: rgba(141, 253, 79, .035); }
.repeat-actions[hidden] { display: none; }
.repeat-actions strong { font: 600 13px var(--font-display); }
.repeat-actions p { margin: 4px 0 0; color: #748077; font-size: 9px; line-height: 1.5; }
.repeat-actions button { flex: 0 0 auto; min-height: 40px; color: #0a100b; background: var(--accent); }
.repeat-actions button:hover { color: #0a100b; background: #a4ff71; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 900px) {
  .test-grid,
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .submit-rt-options { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .standards-panel { padding: 28px 20px; }
  .method-cards,
  .qualification-grid,
  .test-grid,
  .metric-grid,
  .identity-grid { grid-template-columns: 1fr; }
  .qualification-grid { gap: 25px; }
  .method-options { grid-template-columns: 1fr; }
  .submit-rt-options { grid-template-columns: repeat(2, 1fr); }
  .submission-action { align-items: stretch; flex-direction: column; }
  .submission-buttons { align-items: stretch; flex-direction: column; width: 100%; }
  .submission-buttons .save-rig-bottom { width: 100%; }
  .submission-action .button { width: 100%; }
  .section-title-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hardware-tools { width: 100%; align-items: flex-start; }
  .rig-actions { width: 100%; justify-content: flex-start; }
  .repeat-actions { align-items: stretch; flex-direction: column; }
  .repeat-actions button { width: 100%; }
  .turnstile-panel { align-items: flex-start; flex-direction: column; }
}
