:root {
  --ink: #11263b;
  --muted: #5b6b79;
  --line: #d9e2e9;
  --soft-line: #eaf0f4;
  --paper: #ffffff;
  --canvas: #f3f6f8;
  --blue-950: #0b2d4b;
  --blue-800: #124f7f;
  --blue-700: #17659b;
  --blue-100: #e5f2f9;
  --cyan: #17a8c7;
  --gold: #f0b54d;
  --red: #c83c50;
  --red-soft: #fff1f3;
  --green: #187553;
  --green-soft: #eaf8f2;
  --shadow-sm: 0 1px 2px rgb(12 38 61 / 6%);
  --shadow-md: 0 16px 45px rgb(12 38 61 / 9%);
  --radius: 18px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgb(23 168 199 / 7%), transparent 26rem),
    var(--canvas);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: var(--blue-700); }
b { color: var(--red); }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--blue-950);
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.site-header {
  color: white;
  background:
    linear-gradient(125deg, rgb(11 45 75 / 96%), rgb(18 79 127 / 94%)),
    radial-gradient(circle at 85% 20%, var(--cyan), transparent 28rem);
  border-bottom: 4px solid var(--cyan);
}
.header-inner { max-width: 1180px; margin: 0 auto; padding: 28px 24px 0; }
.brand-row { display: grid; grid-template-columns: 175px 1fr 82px; gap: 28px; align-items: center; }
.award-logo { width: 100%; max-height: 84px; object-fit: contain; filter: drop-shadow(0 3px 9px rgb(0 0 0 / 20%)); }
.sia-logo { width: 78px; height: 78px; object-fit: cover; border: 3px solid rgb(255 255 255 / 30%); border-radius: 18px; box-shadow: 0 8px 26px rgb(0 0 0 / 22%); }
.brand-copy { min-width: 0; }
.eyebrow { margin: 0 0 3px; color: #b9eaf3; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-copy h1 { margin: 0; font-size: clamp(1.75rem, 3.7vw, 3.25rem); line-height: 1.05; letter-spacing: -0.04em; }
.title-zh { margin: 7px 0 0; color: #dceff6; font-size: 1rem; }
.deadline-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
  padding: 11px 17px;
  color: #18334a;
  background: linear-gradient(90deg, #ffd681, #f5be5b);
  border-radius: 12px 12px 0 0;
  font-size: 0.88rem;
}
.deadline-bar > span:first-child { font-weight: 650; }
.deadline-bar strong { font-size: 0.96rem; }
.countdown { margin-left: auto; font-weight: 750; }

.section-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgb(14 54 85 / 12%);
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 4px 18px rgb(12 38 61 / 6%);
  backdrop-filter: blur(14px);
}
.nav-inner { display: flex; align-items: center; gap: 7px; max-width: 1180px; margin: 0 auto; padding: 10px 24px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner a { display: flex; flex: 0 0 auto; gap: 7px; align-items: center; padding: 7px 10px; color: #40586b; border-radius: 9px; font-size: 0.78rem; font-weight: 700; text-decoration: none; }
.nav-inner a:hover, .nav-inner a:focus-visible { color: var(--blue-700); background: var(--blue-100); outline: none; }
.nav-inner a span { display: grid; width: 21px; height: 21px; place-items: center; color: white; background: var(--blue-700); border-radius: 50%; font-size: 0.7rem; }
.save-state { margin-left: auto; flex: 0 0 auto; color: var(--muted); font-size: 0.72rem; }

.page-shell { max-width: 1100px; margin: 0 auto; padding: 38px 24px 70px; }
.start-card { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: start; margin-bottom: 18px; padding: 21px 23px; color: white; border-radius: var(--radius); background: linear-gradient(135deg, var(--blue-950), var(--blue-800)); box-shadow: var(--shadow-md); }
.start-step { flex: 0 0 auto; padding: 6px 10px; color: var(--blue-950); background: #bfeff5; border-radius: 999px; font-size: 0.68rem; font-weight: 850; white-space: nowrap; }
.start-card h2 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.start-card p { margin: 4px 0 0; color: #d6e7ef; font-size: 0.76rem; }
.intro-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 16px; margin-bottom: 18px; }
.intro-card { display: flex; gap: 17px; padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.accent-card { color: white; border: none; background: linear-gradient(135deg, var(--blue-800), #157b9a); box-shadow: var(--shadow-md); }
.privacy-card { background: linear-gradient(140deg, #fff, #f7fbfd); }
.icon-orb { display: grid; flex: 0 0 43px; width: 43px; height: 43px; place-items: center; color: var(--blue-800); background: #d9f3f8; border-radius: 14px; font-size: 1.25rem; font-weight: 800; }
.icon-orb.lock { color: var(--green); background: var(--green-soft); }
.intro-card h2 { margin: 0 0 5px; font-size: 1rem; letter-spacing: -0.01em; }
.intro-card p { margin: 5px 0 0; color: inherit; opacity: 0.88; font-size: 0.78rem; line-height: 1.52; }
.privacy-card p { color: var(--muted); opacity: 1; }

.notes-panel { margin-bottom: 24px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: var(--shadow-sm); }
.notes-panel summary { padding: 14px 18px; cursor: pointer; color: var(--blue-800); font-size: 0.86rem; font-weight: 750; }
.notes-content { padding: 0 22px 17px; color: var(--muted); font-size: 0.8rem; }
.notes-content li + li { margin-top: 6px; }
.alert { margin: 18px 0; padding: 14px 17px; color: #8e2636; border: 1px solid #efb6bf; border-radius: 12px; background: var(--red-soft); font-size: 0.85rem; }
.alert.success { color: var(--green); border-color: #a5dcc6; background: var(--green-soft); }

#awardForm { display: flex; flex-direction: column; }
#entry { order: 1; }
#entrant { order: 2; }
#declaration { order: 3; }
#privacy { order: 4; }
.form-section { margin-top: 26px; padding: 29px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-md); }
.section-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--soft-line); }
.section-number { display: grid; flex: 0 0 55px; width: 55px; height: 55px; place-items: center; color: white; background: linear-gradient(145deg, var(--blue-950), var(--blue-700)); border-radius: 16px; box-shadow: 0 8px 18px rgb(18 79 127 / 20%); font-size: 0.85rem; font-weight: 850; letter-spacing: 0.07em; }
.section-kicker { margin: 0 0 2px; color: var(--blue-700); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.75rem); line-height: 1.18; letter-spacing: -0.035em; }
.section-heading h2 span { display: inline; margin-left: 7px; color: #4f6575; font-size: 0.77em; font-weight: 550; letter-spacing: 0; }
.fixed-choice { display: flex; gap: 14px; align-items: center; padding: 17px; border: 1px solid #abd4e5; border-radius: 15px; background: linear-gradient(105deg, #edf8fc, #f8fcfd); }
.choice-check { display: grid; width: 36px; height: 36px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-weight: 850; }
.fixed-choice div:nth-child(2) { display: flex; flex-direction: column; }
.fixed-choice span { color: var(--muted); font-size: 0.78rem; }
.fixed-tag { margin-left: auto; padding: 5px 9px; color: var(--blue-800) !important; background: white; border: 1px solid #c8e4ef; border-radius: 999px; font-size: 0.65rem !important; font-weight: 750; text-transform: uppercase; }

.subsection { margin-top: 22px; padding: 22px; border: 1px solid var(--soft-line); border-radius: 17px; background: #fbfcfd; }
.subsection-title { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.subsection-title h3, .declaration-body h3, .privacy-statement h3, .review-panel h3 { margin: 0; color: var(--blue-950); font-size: 1rem; letter-spacing: -0.01em; }
.subsection-title p { margin: 1px 0 0; color: var(--muted); font-size: 0.76rem; }
.required-note { padding: 4px 9px; color: var(--blue-800); background: var(--blue-100); border-radius: 999px; font-size: 0.64rem; font-weight: 750; }
.field-grid { display: grid; gap: 15px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.field-grid.compact { margin-bottom: 14px; }
.field.wide { grid-column: span 2; }
.field.full, .field-grid .full { grid-column: 1 / -1; }
.field { display: block; position: relative; min-width: 0; }
.field > span:first-child { display: block; margin-bottom: 2px; color: #2f485b; font-size: 0.75rem; font-weight: 750; }
.field > small { display: block; margin-bottom: 5px; color: #71808c; font-size: 0.66rem; line-height: 1.35; }
input, textarea, select {
  width: 100%;
  color: var(--ink);
  border: 1px solid #cfd9e1;
  border-radius: 10px;
  outline: none;
  background: white;
  box-shadow: inset 0 1px 1px rgb(13 43 66 / 2%);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
input, select { min-height: 42px; padding: 9px 11px; }
textarea { min-height: 90px; padding: 10px 11px; resize: vertical; line-height: 1.5; }
input:hover, textarea:hover, select:hover { border-color: #9db3c2; }
input:focus, textarea:focus, select:focus { border-color: var(--blue-700); box-shadow: 0 0 0 3px rgb(23 101 155 / 13%); }
input:disabled { color: #607180; background: #f1f4f6; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); background: #fffafb; box-shadow: 0 0 0 3px rgb(200 60 80 / 10%); }
.field-error { display: block; margin-top: 4px; color: var(--red); font-size: 0.68rem; font-weight: 650; }
.address-search-block { position: relative; margin: 17px 0 14px; padding: 15px; border: 1px dashed #add4e3; border-radius: 13px; background: #f0f9fc; }
.input-action { position: relative; }
.spinner { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 2px solid #bad5e1; border-top-color: var(--blue-700); border-radius: 50%; animation: spin 0.65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.address-results { position: absolute; z-index: 10; top: calc(100% - 6px); right: 15px; left: 15px; overflow: hidden; border: 1px solid #bfd1dc; border-radius: 12px; background: white; box-shadow: 0 18px 38px rgb(10 40 64 / 17%); }
.address-result { display: block; width: 100%; padding: 10px 13px; text-align: left; border: 0; border-bottom: 1px solid var(--soft-line); background: white; cursor: pointer; }
.address-result:hover, .address-result:focus-visible { background: #eff8fc; outline: none; }
.address-result strong, .address-result span { display: block; }
.address-result strong { font-size: 0.76rem; }
.address-result span { margin-top: 2px; color: var(--muted); font-size: 0.7rem; }

.check-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 13px; color: #3d5364; cursor: pointer; font-size: 0.78rem; }
.check-row input, .radio-field input, .switch-line input { width: 17px; height: 17px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--blue-700); flex: 0 0 auto; }
.check-row em { display: block; margin-top: 2px; color: var(--muted); font-style: normal; }
.check-row.strong { padding: 12px 13px; border: 1px solid #cae0e9; border-radius: 10px; background: #f5fbfd; font-weight: 650; }
.check-row.opt-out { padding: 11px 13px; border: 1px solid #e6cfd3; border-radius: 10px; background: #fffafb; }
.switch-line { display: flex; gap: 8px; align-items: center; color: var(--blue-800); cursor: pointer; font-size: 0.72rem; font-weight: 750; }
.switch-line input { margin-top: 0; }
.conditional { margin-top: 15px; }
.resident-note { display: flex; gap: 11px; margin: 0 0 15px; padding: 11px 13px; color: #466072; border-left: 3px solid var(--gold); background: #fffbf3; font-size: 0.7rem; }
.resident-note strong { flex: 0 0 auto; color: #755819; }
.members-stack { display: grid; gap: 15px; }
.member-card { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.member-card.leader { border-color: #9bc9dc; background: linear-gradient(145deg, #fff, #f5fbfd); }
.member-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.member-head strong { color: var(--blue-800); font-size: 0.83rem; }
.member-head span { margin-left: 7px; color: var(--muted); font-size: 0.67rem; font-weight: 500; }
.remove-button { padding: 5px 8px; color: #a42d40; border: 1px solid #f0c4cb; border-radius: 8px; background: #fff6f7; cursor: pointer; font-size: 0.66rem; font-weight: 700; }
.member-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 43px; padding: 10px 17px; color: white; border: 0; border-radius: 10px; background: var(--blue-800); box-shadow: 0 7px 16px rgb(18 79 127 / 18%); cursor: pointer; font-size: 0.78rem; font-weight: 800; }
.button:hover { background: var(--blue-700); transform: translateY(-1px); }
.button:focus-visible { outline: 3px solid rgb(23 168 199 / 28%); outline-offset: 2px; }
.button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.button.secondary { color: var(--blue-800); border: 1px solid #bdd8e4; background: white; box-shadow: none; }
.button.small { min-height: 34px; padding: 7px 11px; font-size: 0.67rem; }
.button.busy::before { width: 14px; height: 14px; content: ""; border: 2px solid rgb(255 255 255 / 35%); border-top-color: white; border-radius: 50%; animation: spin 0.65s linear infinite; }

.ai-workbench { margin-bottom: 22px; padding: 23px; border: 1px solid #b9d9e7; border-top: 5px solid var(--blue-700); border-radius: 18px; background: linear-gradient(145deg, #f4fbfd, #fff); box-shadow: 0 13px 30px rgb(14 57 93 / 10%); }
.ai-heading { margin-bottom: 18px; }
.ai-heading h3 { margin: 0; color: var(--blue-950); font-size: 1.25rem; letter-spacing: -0.025em; }
.ai-heading p { margin: 3px 0 0; color: #526b7c; font-size: 0.75rem; }
.autofill-action { display: grid; grid-template-columns: minmax(250px, 0.72fr) minmax(330px, 1.28fr); gap: 18px; align-items: end; margin-top: 18px; padding-top: 18px; border-top: 1px solid #d6e7ee; }
.language-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; border: 0; background: transparent; }
.language-switch legend { grid-column: 1 / -1; margin-bottom: 5px; padding: 0; color: #2f485b; font-size: 0.73rem; font-weight: 750; }
.language-switch label { display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 43px; padding: 8px 10px; color: #405667; border: 1px solid #c9dbe4; border-radius: 10px; background: white; cursor: pointer; font-size: 0.75rem; font-weight: 700; }
.language-switch label:has(input:checked) { color: var(--blue-800); border-color: var(--blue-700); background: var(--blue-100); box-shadow: 0 0 0 2px rgb(23 101 155 / 9%); }
.language-switch input { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; accent-color: var(--blue-700); flex: 0 0 auto; }
.autofill-cta { display: grid; gap: 5px; }
.autofill-cta small { color: #657a89; font-size: 0.66rem; }
.ai-button { width: 100%; min-height: 48px; background: linear-gradient(90deg, var(--blue-800), #147e9b); box-shadow: 0 9px 19px rgb(18 79 127 / 19%); }
.ai-button:hover { background: linear-gradient(90deg, var(--blue-700), #1290a7); }
.verification-slot { margin-top: 10px; min-height: 0; }
.turnstile-slot { width: min(100%, 300px); min-height: 0; }
.ai-disclaimer { margin: 11px 0 0; color: #637886; font-size: 0.65rem; }
.autofill-status { padding: 5px 9px; color: #5c7180; border: 1px solid #d2e0e7; border-radius: 999px; background: white; font-size: 0.64rem; font-weight: 750; }
.autofill-status.complete { color: var(--green); border-color: #adddca; background: var(--green-soft); }
.optional-fields { margin-top: 15px; border: 1px solid var(--soft-line); border-radius: 12px; background: white; }
.optional-fields summary { padding: 12px 14px; color: var(--blue-800); cursor: pointer; font-size: 0.72rem; font-weight: 750; }
.optional-fields[open] summary { border-bottom: 1px solid var(--soft-line); }
.optional-fields .field-grid { padding: 14px; }
.narratives { display: grid; gap: 15px; }
.narratives .subsection-title { margin-bottom: 0; }
.live-count { display: block; margin-top: 4px; color: var(--muted); text-align: right; font-size: 0.64rem; }
.live-count.outside { color: var(--red); font-weight: 750; }
.helper { margin: 0; color: var(--muted); font-size: 0.73rem; }

.radio-field { margin: 17px 0 0; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.radio-field legend { padding: 0 4px; color: #314a5d; font-size: 0.73rem; font-weight: 750; }
.radio-field legend small { display: block; color: var(--muted); font-weight: 500; }
.radio-field label { display: flex; gap: 8px; align-items: flex-start; margin: 7px 0; color: #405667; cursor: pointer; font-size: 0.76rem; }
.radio-field.inline { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 11px; }
.radio-field.inline label { margin: 0; }

.declaration-lead { margin: -4px 0 17px; padding: 12px 14px; color: #715519; border-left: 4px solid var(--gold); background: #fffaf0; font-size: 0.75rem; font-weight: 650; }
.declaration-list { display: grid; gap: 14px; }
.declaration-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--soft-line); border-radius: 15px; background: #fcfdfe; }
.declaration-index { display: grid; width: 34px; height: 34px; place-items: center; color: var(--blue-800); border: 1px solid #bddbe7; border-radius: 10px; background: var(--blue-100); font-size: 0.72rem; font-weight: 850; }
.declaration-body > p { margin: 7px 0; color: #536674; font-size: 0.75rem; }
.confirmation-item { background: #f7fbfd; }
.repeat-block { margin-top: 14px; padding: 13px; border: 1px dashed #c4d7e1; border-radius: 11px; background: white; }
.repeat-heading { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 9px; color: #405667; font-size: 0.71rem; }
.text-button { padding: 3px 0; color: var(--blue-700); border: 0; background: transparent; cursor: pointer; font-size: 0.68rem; font-weight: 750; }
.text-button:hover { text-decoration: underline; }
.repeat-rows { display: grid; gap: 9px; }
.repeat-row { display: grid; gap: 8px; align-items: end; padding: 11px; border: 1px solid var(--soft-line); border-radius: 10px; background: #fafcfd; }
.repeat-row.otherEntries, .repeat-row.previousWins { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
.repeat-row.patents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.repeat-row.patents .remove-button { justify-self: end; grid-column: 3; }
.repeat-row label span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.62rem; font-weight: 700; }
.repeat-row input { min-height: 36px; padding: 7px 8px; font-size: 0.72rem; }
.empty-row { margin: 0; color: #7d8992; font-size: 0.68rem; font-style: italic; }
.table-wrap { overflow-x: auto; margin: 13px 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.69rem; }
th, td { padding: 9px 10px; text-align: left; vertical-align: top; border: 1px solid #d6e0e6; }
th { color: white; background: var(--blue-800); }
td { color: #495f70; background: white; }

.privacy-statement { padding: 20px; border: 1px solid #cfe1e8; border-radius: 16px; background: linear-gradient(145deg, #f8fcfd, #fff); }
.privacy-statement h3 + p { margin-top: 6px; }
.privacy-statement h3:not(:first-child) { margin-top: 18px; }
.privacy-statement p { color: #536877; font-size: 0.76rem; }
.upload-section > p { margin: 5px 0; color: var(--muted); font-size: 0.75rem; }
.file-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; margin-top: 15px; padding: 20px; text-align: center; border: 2px dashed #a7c6d5; border-radius: 14px; background: white; cursor: pointer; }
.file-drop:hover, .file-drop.dragging { border-color: var(--cyan); background: #f1fbfd; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 41px; height: 41px; margin-bottom: 9px; place-items: center; color: var(--blue-800); background: var(--blue-100); border-radius: 13px; font-size: 1.25rem; font-weight: 800; }
.file-drop strong { color: var(--blue-800); font-size: 0.82rem; }
.file-drop > span:not(.upload-icon) { color: var(--muted); font-size: 0.72rem; }
.file-drop small { margin-top: 4px; color: #7f8c95; font-size: 0.65rem; }
.file-list { display: grid; gap: 7px; margin-top: 11px; }
.file-item { display: flex; gap: 10px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 0.71rem; }
.file-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item span { margin-left: auto; color: var(--muted); flex: 0 0 auto; }
.file-item button { padding: 2px 6px; color: var(--red); border: 0; background: transparent; cursor: pointer; }
.review-panel { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 22px; align-items: center; margin-top: 23px; padding: 20px; color: white; border-radius: 17px; background: var(--blue-950); }
.review-label { color: #8fd8e6; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.review-panel h3 { margin-top: 4px; color: white; font-size: 1.12rem; }
.review-panel p { margin: 5px 0 0; color: #c5d8e3; font-size: 0.72rem; }
.review-check { margin: 0; color: #eaf4f7; border-color: rgb(255 255 255 / 17%) !important; background: rgb(255 255 255 / 6%) !important; }
.submit-area { display: flex; flex-direction: column; align-items: center; padding-top: 28px; text-align: center; }
.submit-button { min-width: min(100%, 330px); min-height: 53px; padding: 13px 22px; background: linear-gradient(90deg, var(--blue-800), #147e9b); font-size: 0.9rem; }
.submit-area p { color: var(--muted); font-size: 0.69rem; }

.site-footer { color: #d3e2ea; background: #0a263e; }
.footer-inner { display: flex; gap: 22px; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 25px 24px; }
.footer-logos { display: flex; gap: 18px; align-items: center; }
.footer-logos img { width: auto; max-width: 145px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.82; }
.footer-logos img:last-child { max-width: 190px; }
.footer-inner p { margin: 0; font-size: 0.7rem; }

.success-dialog { width: min(92vw, 480px); padding: 30px; text-align: center; border: 0; border-radius: 21px; box-shadow: 0 30px 80px rgb(4 27 44 / 30%); }
.success-dialog::backdrop { background: rgb(6 31 49 / 68%); backdrop-filter: blur(4px); }
.success-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 14px; place-items: center; color: white; background: var(--green); border-radius: 50%; font-size: 1.8rem; font-weight: 850; }
.success-dialog h2 { margin: 0; color: var(--blue-950); }
.success-dialog > p { margin: 4px 0 17px; color: var(--muted); }
.reference-box { display: flex; flex-direction: column; padding: 13px; border: 1px solid #b8d9e5; border-radius: 12px; background: #f2fafc; }
.reference-box span { color: var(--muted); font-size: 0.65rem; }
.reference-box strong { color: var(--blue-800); font-size: 1.15rem; letter-spacing: 0.05em; }

@media (max-width: 860px) {
  .brand-row { grid-template-columns: 120px 1fr 62px; gap: 18px; }
  .sia-logo { width: 60px; height: 60px; border-radius: 14px; }
  .intro-grid, .review-panel { grid-template-columns: 1fr; }
  .field-grid.four, .member-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .autofill-action { grid-template-columns: 1fr; align-items: stretch; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .header-inner { padding: 19px 16px 0; }
  .brand-row { grid-template-columns: 1fr 48px; gap: 12px; }
  .award-logo { grid-column: 1 / -1; width: 128px; max-height: 55px; }
  .sia-logo { grid-column: 2; grid-row: 2; width: 48px; height: 48px; border-radius: 11px; }
  .brand-copy { grid-column: 1; grid-row: 2; }
  .brand-copy h1 { font-size: 1.55rem; }
  .eyebrow { font-size: 0.61rem; }
  .deadline-bar { align-items: flex-start; flex-direction: column; gap: 2px; margin-top: 18px; }
  .countdown { margin-left: 0; }
  .nav-inner { padding-inline: 12px; }
  .save-state { display: none; }
  .page-shell { padding: 24px 12px 50px; }
  .start-card { grid-template-columns: 1fr; padding: 17px; }
  .start-step { justify-self: start; }
  .form-section { margin-top: 18px; padding: 17px; border-radius: 17px; }
  .section-heading { gap: 11px; margin-bottom: 19px; }
  .section-number { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
  .section-heading h2 span { display: block; margin: 3px 0 0; }
  .fixed-choice { align-items: flex-start; flex-wrap: wrap; }
  .fixed-tag { margin-left: 50px; }
  .subsection { margin-top: 16px; padding: 15px; }
  .subsection-title { align-items: flex-start; flex-direction: column; }
  .members-title { align-items: stretch; }
  .field-grid.two, .field-grid.three, .field-grid.four, .member-meta { grid-template-columns: 1fr; }
  .field.wide { grid-column: auto; }
  .resident-note { flex-direction: column; }
  .ai-workbench { padding: 17px; }
  .language-switch { grid-template-columns: 1fr; }
  .language-switch legend { grid-column: 1; }
  .ai-button { width: 100%; }
  .declaration-item { grid-template-columns: 29px 1fr; gap: 9px; padding: 13px; }
  .declaration-index { width: 29px; height: 29px; }
  .repeat-row.otherEntries, .repeat-row.previousWins, .repeat-row.patents { grid-template-columns: 1fr; }
  .repeat-row.patents .remove-button { grid-column: 1; }
  .radio-field.inline { align-items: stretch; flex-direction: column; }
  .footer-logos { align-items: flex-start; flex-direction: column; }
  .footer-logos img { max-width: 170px; height: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
