:root {
  --navy-950: #07172c;
  --navy-900: #0b1f3a;
  --navy-800: #122f54;
  --blue-600: #1769e0;
  --blue-500: #2f80ed;
  --blue-100: #e8f2ff;
  --amber-500: #f3a43b;
  --amber-100: #fff4e4;
  --ink-900: #152033;
  --ink-700: #40506a;
  --ink-500: #6d7c92;
  --line: #dce4ee;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --success: #16845b;
  --success-soft: #e9f8f1;
  --danger: #c63c3c;
  --danger-soft: #fff0f0;
  --shadow-sm: 0 8px 24px rgba(20, 42, 74, 0.07);
  --shadow-lg: 0 30px 80px rgba(16, 38, 70, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max-width: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  background:
    linear-gradient(90deg, rgba(23, 105, 224, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 105, 224, 0.035) 1px, transparent 1px),
    var(--canvas);
  background-size: 44px 44px;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topbar {
  position: relative;
  z-index: 10;
  color: #fff;
  background:
    radial-gradient(circle at 84% -80%, rgba(72, 159, 255, 0.35), transparent 42%),
    var(--navy-950);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max-width));
  min-height: 84px;
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  place-items: center;
  transform: rotate(-3deg);
}

.brand__mark span {
  display: block;
  width: 22px;
  height: 3px;
  background: #61b4ff;
  border-radius: 999px;
}

.brand__mark span:nth-child(2) {
  width: 16px;
  background: #fff;
}

.brand__mark span:nth-child(3) {
  width: 10px;
  background: var(--amber-500);
}

.brand__copy {
  display: grid;
  gap: 2px;
}

.brand__copy strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand__copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.topbar__meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-chip,
.month-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 999px;
}

.status-chip {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-chip::before {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  content: "";
  background: var(--amber-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 164, 59, 0.12);
}

.status-chip.is-online::before {
  background: #48d49a;
  box-shadow: 0 0 0 4px rgba(72, 212, 154, 0.12);
}

.status-chip.is-error::before {
  background: #ff7a7a;
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.12);
}

.month-chip {
  color: var(--navy-950);
  font-weight: 700;
  background: var(--amber-500);
}

.page-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 66px 0 40px;
}

.hero {
  max-width: 900px;
  margin-bottom: 42px;
  animation: rise 0.45s ease both;
}

.hero__eyebrow {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow-line {
  width: 34px;
  height: 2px;
  background: var(--amber-500);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.hero p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--ink-500);
  font-size: 16px;
  line-height: 1.8;
}

.steps {
  display: flex;
  align-items: center;
  max-width: 620px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.step {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 174px;
  color: var(--ink-500);
  transition: color 0.2s ease;
}

.step__number {
  display: grid;
  width: 36px;
  height: 36px;
  color: var(--ink-500);
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.step > span:last-child {
  display: grid;
  gap: 3px;
}

.step strong {
  font-size: 13px;
  font-weight: 700;
}

.step small {
  font-size: 11px;
}

.step.is-active {
  color: var(--navy-900);
}

.step.is-active .step__number {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(11, 31, 58, 0.18);
}

.step.is-complete .step__number {
  color: var(--success);
  background: var(--success-soft);
  border-color: #bce8d7;
}

.step__line {
  flex: 1;
  height: 1px;
  margin: 0 18px;
  background: repeating-linear-gradient(90deg, #cad5e2 0 4px, transparent 4px 8px);
}

.view {
  display: none;
}

.view.is-visible {
  display: block;
  animation: rise 0.38s ease both;
}

.surface {
  background: var(--surface);
  border: 1px solid rgba(210, 220, 233, 0.74);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
  gap: 20px;
}

.entry-card {
  padding: clamp(26px, 4vw, 50px);
}

.entry-card form {
  margin-top: 30px;
}

.section-heading,
.content-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.section-heading h2,
.content-heading h2,
.attachment-copy h2,
.side-copy h2,
.submission-summary h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 720;
  letter-spacing: -0.025em;
}

.required-note {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 7px;
  color: var(--ink-500);
  font-size: 11px;
  white-space: nowrap;
}

.required-note i {
  width: 6px;
  height: 6px;
  background: var(--danger);
  border-radius: 50%;
}

.section-intro {
  margin: 14px 0 32px;
  color: var(--ink-500);
  font-size: 14px;
  line-height: 1.7;
}

form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 9px;
}

.field label {
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 650;
}

.field label span {
  color: var(--danger);
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--ink-900);
  background: #fbfcfe;
  border: 1px solid #d5deea;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder {
  color: #9aa7b9;
}

.field input:hover,
.field select:hover {
  border-color: #b9c8da;
}

.field input:focus,
.field select:focus {
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1);
}

.field.has-error input,
.field.has-error select {
  background: var(--danger-soft);
  border-color: #e7a6a6;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  pointer-events: none;
  content: "";
  border-right: 1.5px solid var(--ink-500);
  border-bottom: 1.5px solid var(--ink-500);
  transform: translateY(-70%) rotate(45deg);
}

.field select {
  padding-right: 44px;
  appearance: none;
}

.field-error {
  min-height: 0;
  margin: -1px 0 0;
  color: var(--danger);
  font-size: 11px;
  line-height: 1.4;
}

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px 15px;
  background: #f6f9fd;
  border-radius: var(--radius-sm);
}

.form-note__icon {
  display: grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--blue-600);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #b8d2f5;
  border-radius: 50%;
  place-items: center;
}

.form-note p {
  margin: 0;
  color: var(--ink-500);
  font-size: 11px;
  line-height: 1.65;
}

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.primary-button {
  gap: 16px;
  width: 100%;
  min-height: 56px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--navy-900);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.18);
}

.primary-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.18s ease;
}

.primary-button:hover {
  background: var(--navy-800);
  box-shadow: 0 15px 30px rgba(11, 31, 58, 0.23);
  transform: translateY(-1px);
}

.primary-button:hover svg {
  transform: translateX(3px);
}

.primary-button:disabled,
.secondary-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.submit-time {
  margin: -7px 0 0;
  color: #9aa6b6;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.entry-side {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 98% -10%, rgba(71, 157, 255, 0.42), transparent 35%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.entry-side::after {
  position: absolute;
  right: -45px;
  bottom: 40px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.025), 0 0 0 60px rgba(255, 255, 255, 0.018);
}

.side-visual {
  position: relative;
  align-self: center;
  width: 190px;
  height: 190px;
  margin: 4px 0 28px;
}

.cable-ring,
.cable-core {
  position: absolute;
  border-radius: 50%;
}

.cable-ring--outer {
  inset: 0;
  border: 1px solid rgba(103, 177, 255, 0.23);
  animation: spin 22s linear infinite;
}

.cable-ring--outer::before,
.cable-ring--outer::after {
  position: absolute;
  content: "";
  background: var(--amber-500);
  border: 4px solid var(--navy-900);
  border-radius: 50%;
}

.cable-ring--outer::before {
  top: 12px;
  left: 35px;
  width: 9px;
  height: 9px;
}

.cable-ring--outer::after {
  right: 19px;
  bottom: 31px;
  width: 6px;
  height: 6px;
}

.cable-ring--inner {
  inset: 24px;
  border: 14px solid rgba(76, 151, 241, 0.13);
  box-shadow: inset 0 0 0 1px rgba(129, 190, 255, 0.24), 0 0 50px rgba(50, 135, 240, 0.14);
}

.cable-ring--inner::before {
  position: absolute;
  inset: -9px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: spin 36s linear infinite reverse;
}

.cable-core {
  inset: 66px;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.38), transparent 18%),
    linear-gradient(145deg, #4fa9ff, #1769e0);
  box-shadow: 0 0 45px rgba(56, 145, 255, 0.46);
}

.visual-label {
  position: absolute;
  right: 43px;
  bottom: 74px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.15em;
}

.side-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.side-copy .section-kicker {
  color: #78bcff;
}

.side-copy h2 {
  color: #fff;
  font-size: 26px;
}

.side-copy p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.75;
}

.quality-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-list span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.quality-list svg {
  width: 14px;
  height: 14px;
  color: #65dda8;
}

.submission-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--radius-md);
}

.submission-summary__main {
  display: flex;
  gap: 18px;
  align-items: center;
}

.success-mark {
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  color: var(--success);
  background: var(--success-soft);
  border: 1px solid #c5eadc;
  border-radius: 50%;
  place-items: center;
}

.success-mark svg {
  width: 22px;
  height: 22px;
}

.submission-summary h2 {
  font-size: 24px;
}

.submission-summary p {
  margin: 7px 0 0;
  color: var(--ink-500);
  font-size: 12px;
}

.summary-details {
  display: flex;
  gap: 38px;
  align-items: center;
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.summary-details div {
  display: grid;
  gap: 5px;
}

.summary-details span {
  color: var(--ink-500);
  font-size: 10px;
}

.summary-details strong {
  color: var(--navy-900);
  font-size: 13px;
}

.text-button {
  align-self: center;
  padding: 8px 0;
  color: var(--blue-600);
  font-size: 12px;
  background: transparent;
  border-bottom: 1px solid rgba(23, 105, 224, 0.25);
}

.text-button:hover {
  color: var(--navy-900);
}

.content-heading {
  align-items: flex-end;
  margin: 44px 4px 20px;
}

.content-heading p {
  margin: 9px 0 0;
  color: var(--ink-500);
  font-size: 12px;
}

.secondary-button {
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink-700);
  font-size: 12px;
  font-weight: 650;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.secondary-button svg {
  width: 17px;
  height: 17px;
}

.secondary-button:hover {
  color: var(--blue-600);
  border-color: #b7cff0;
  box-shadow: 0 7px 18px rgba(24, 63, 111, 0.07);
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.document-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 27px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(18, 47, 84, 0.035);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.document-card::after {
  position: absolute;
  top: -56px;
  right: -56px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid #edf2f8;
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(243, 247, 252, 0.56), 0 0 0 34px rgba(246, 249, 253, 0.4);
}

.document-card.is-ready:hover {
  border-color: #bfd5f0;
  box-shadow: 0 18px 38px rgba(18, 47, 84, 0.09);
  transform: translateY(-3px);
}

.document-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.document-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--blue-600);
  background: var(--blue-100);
  border-radius: 12px;
  place-items: center;
}

.document-card__icon svg {
  width: 23px;
  height: 23px;
}

.document-card__number {
  color: #c2ccda;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.document-card__body {
  position: relative;
  z-index: 1;
  margin: 23px 0 25px;
}

.document-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 18px;
  font-weight: 700;
}

.document-card p {
  margin: 8px 0 0;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.6;
}

.document-card__footer {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #edf1f6;
}

.document-state {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--ink-500);
  font-size: 11px;
}

.document-state::before {
  width: 6px;
  height: 6px;
  content: "";
  background: #b7c1cf;
  border-radius: 50%;
}

.document-card.is-ready .document-state {
  color: var(--success);
}

.document-card.is-ready .document-state::before {
  background: #30b47f;
  box-shadow: 0 0 0 4px rgba(48, 180, 127, 0.1);
}

.document-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.document-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.document-link:hover svg {
  transform: translateX(2px);
}

.document-link.is-disabled {
  color: #a8b2c0;
  pointer-events: none;
}

.attachment-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(330px, 1.22fr);
  gap: 34px;
  margin-top: 20px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-md);
}

.attachment-copy h2 {
  font-size: 26px;
}

.attachment-copy > p {
  margin: 12px 0 0;
  color: var(--ink-500);
  font-size: 12px;
  line-height: 1.7;
}

.reference-template-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue-600);
  font-size: 11px;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 105, 224, 0.25);
}

.reference-template-link:hover {
  color: var(--navy-900);
}

.reference-template-link.is-disabled {
  color: #9aa6b6;
  border-bottom-color: transparent;
}

.attachment-list-wrap {
  margin-top: 20px;
}

.attachment-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--ink-700);
  font-size: 11px;
  font-weight: 650;
}

.attachment-list-heading small {
  color: var(--ink-500);
  font-size: 10px;
  font-weight: 500;
}

.attachment-list {
  display: grid;
  gap: 8px;
  max-height: 255px;
  padding-right: 4px;
  overflow-y: auto;
}

.attachment-item {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px 11px;
  background: #f7fafc;
  border: 1px solid #e6edf5;
  border-radius: 11px;
}

.attachment-item__icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--blue-600);
  background: #fff;
  border-radius: 8px;
  place-items: center;
}

.attachment-item__icon svg {
  width: 17px;
  height: 17px;
}

.attachment-item__copy {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.attachment-item__copy strong {
  overflow: hidden;
  color: var(--ink-700);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-item__copy small {
  color: var(--ink-500);
  font-size: 9px;
}

.attachment-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
}

.attachment-action {
  padding: 4px 6px;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 650;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.attachment-action:hover {
  background: #e9f2ff;
}

.attachment-action.is-delete {
  color: #b34b4b;
}

.attachment-action.is-delete:hover {
  background: #fff0f0;
}

.attachment-action:disabled {
  cursor: wait;
  opacity: 0.5;
}

.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 205px;
  padding: 25px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(232, 242, 255, 0.46), rgba(250, 252, 255, 0.18)),
    #fbfdff;
  border: 1px dashed #b7c9df;
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.upload-zone:hover,
.upload-zone:focus-visible,
.upload-zone.is-dragging {
  background: #f1f7ff;
  border-color: var(--blue-500);
}

.upload-zone.is-dragging {
  transform: scale(1.008);
}

.upload-zone.is-uploading {
  cursor: wait;
  pointer-events: none;
}

.upload-zone__icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  color: var(--blue-600);
  background: #fff;
  border: 1px solid #dbe8f8;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(24, 83, 155, 0.08);
  place-items: center;
}

.upload-zone__icon svg {
  width: 23px;
  height: 23px;
}

.upload-zone strong {
  color: var(--navy-900);
  font-size: 13px;
}

.upload-zone > span:not(.upload-zone__icon):not(.upload-progress) {
  margin-top: 7px;
  color: var(--ink-500);
  font-size: 10px;
  line-height: 1.5;
}

.upload-progress {
  width: min(100%, 260px);
  margin-top: 17px;
}

.upload-progress__track {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  background: #dce8f7;
  border-radius: 99px;
}

.upload-progress__track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), #68b8ff);
  border-radius: inherit;
  transition: width 0.2s ease;
}

.upload-progress em {
  display: block;
  margin-top: 7px;
  color: var(--ink-500);
  font-size: 10px;
  font-style: normal;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding: 20px 4px 0;
  color: var(--ink-500);
  font-size: 10px;
  border-top: 1px solid #dce4ee;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  max-width: min(380px, calc(100vw - 48px));
  padding: 13px 17px;
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  background: var(--navy-900);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(8, 25, 48, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: #8d2d2d;
}

.toast.is-success {
  background: #126544;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(7, 23, 44, 0.76);
  backdrop-filter: blur(7px);
}

.loading-overlay p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--amber-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .entry-layout,
  .attachment-card {
    grid-template-columns: 1fr;
  }

  .entry-side {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 26px;
    align-items: center;
  }

  .side-visual {
    width: 160px;
    height: 160px;
    margin: 0;
    grid-row: span 2;
  }

  .cable-ring--inner {
    inset: 20px;
  }

  .cable-core {
    inset: 56px;
  }

  .visual-label {
    right: 35px;
    bottom: 61px;
  }

  .side-copy {
    margin: 0;
  }

  .quality-list {
    margin-top: 0;
  }

  .submission-summary {
    grid-template-columns: 1fr;
  }

  .summary-details {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .text-button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .topbar__inner,
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .topbar__inner {
    min-height: 72px;
  }

  .brand__copy small,
  .status-chip {
    display: none;
  }

  .brand__copy strong {
    font-size: 15px;
  }

  .brand__mark {
    width: 37px;
    height: 37px;
    padding: 8px;
  }

  .month-chip {
    font-size: 10px;
  }

  .page-shell {
    padding-top: 40px;
  }

  .hero {
    margin-bottom: 30px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 14px;
  }

  .steps {
    max-width: 100%;
  }

  .step {
    min-width: 0;
  }

  .step > span:last-child {
    display: none;
  }

  .step__number {
    width: 34px;
    height: 34px;
  }

  .step__line {
    margin: 0 12px;
  }

  .entry-card {
    padding: 23px 20px;
    border-radius: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .entry-side {
    display: block;
    padding: 27px;
    border-radius: 22px;
  }

  .side-visual {
    float: right;
    width: 120px;
    height: 120px;
    margin: -4px -2px 16px 16px;
  }

  .cable-ring--inner {
    inset: 16px;
    border-width: 10px;
  }

  .cable-core {
    inset: 42px;
  }

  .visual-label {
    display: none;
  }

  .quality-list {
    clear: both;
  }

  .document-grid {
    grid-template-columns: 1fr;
  }

  .document-card {
    min-height: 190px;
    padding: 23px;
  }

  .content-heading {
    align-items: center;
  }

  .content-heading h2 {
    font-size: 25px;
  }

  .secondary-button {
    width: 42px;
    padding: 0;
  }

  .secondary-button span {
    display: none;
  }

  .submission-summary {
    padding: 23px 20px;
  }

  .submission-summary__main {
    align-items: flex-start;
  }

  .summary-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .attachment-card {
    padding: 23px 20px;
  }

  .upload-zone {
    min-height: 180px;
  }

  .page-footer {
    display: grid;
    gap: 6px;
  }
}

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