.australia-calculator {
  position: relative;
  overflow: clip;
  background: color-mix(in srgb, var(--gold-pale) 28%, var(--paper));
}

.australia-calculator::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -285px;
  bottom: -310px;
  border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 76px color-mix(in srgb, var(--gold) 4%, transparent), 0 0 0 150px color-mix(in srgb, var(--gold) 2%, transparent);
  pointer-events: none;
}

.aus-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.aus-heading h2 { max-width: 800px; font-size: clamp(42px, 5.5vw, 66px); }
.aus-program-label { margin: 12px 0 0; color: var(--gold-dark); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.aus-program-label span { margin: 0 5px; color: var(--muted); }
.aus-intro { max-width: 830px; margin: 24px 0 34px; color: var(--ink-soft); font-size: 17px; }

.aus-source {
  display: flex;
  min-width: 278px;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border-block: 1px solid var(--line);
}
.aus-source-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 15%, transparent); }
.aus-source strong, .aus-source small { display: block; }
.aus-source strong { color: var(--ink); font-size: 13px; }
.aus-source small { margin-top: 2px; color: var(--muted); font-size: 11px; }

.aus-round {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: stretch;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(15, 29, 47, .07);
}
.aus-round > div { padding: 20px 21px; border-right: 1px solid var(--line); }
.aus-round span, .aus-round strong { display: block; }
.aus-round span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.aus-round strong { margin-top: 5px; color: var(--ink); font-size: 18px; }
.aus-round a { display: flex; align-items: center; justify-content: center; padding: 18px 20px; color: var(--navy); background: var(--gold); font-size: 11px; font-weight: 800; text-align: center; text-decoration: none; }

.aus-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(330px, .58fr);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.aus-form { min-width: 0; padding: 44px; background: var(--surface); }
.aus-group { min-width: 0; margin: 0; padding: 34px 0; border: 0; border-top: 1px solid var(--line); }
.aus-group:first-child { padding-top: 0; border-top: 0; }
.aus-group legend { width: 100%; margin-bottom: 23px; padding: 0; color: var(--ink); font: 400 27px/1.2 "DM Serif Display", Georgia, serif; }
.aus-group legend span { margin-right: 10px; color: var(--gold-dark); font: 800 11px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.aus-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aus-field-wide { grid-column: 1 / -1; }
.aus-field label { display: block; margin-bottom: 7px; color: var(--field-label); font-size: 13px; font-weight: 800; }
.aus-field input, .aus-field select { min-height: 54px; font-size: 14px; }
.aus-field small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.aus-nomination-field[hidden] { display: none; }
.aus-help { margin: 18px 0 0; padding: 12px 14px; border-left: 2px solid var(--gold); color: var(--muted); background: color-mix(in srgb, var(--gold) 5%, var(--surface)); font-size: 12px; }
.aus-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.aus-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 5px; }
.aus-reset { padding: 7px 0; border: 0; border-bottom: 1px solid var(--field-border); color: var(--ink-soft); background: transparent; font-size: 13px; font-weight: 800; }
.aus-error { width: 100%; min-height: 20px; margin: 0; color: var(--danger); font-size: 12px; }

.aus-result {
  position: sticky;
  top: 164px;
  align-self: start;
  min-height: 720px;
  padding: 44px 36px;
  color: #fff;
  background: var(--navy);
}
.aus-result .eyebrow { color: #e1c77f; }
.aus-score { display: flex; align-items: baseline; gap: 11px; margin: 20px 0 4px; }
.aus-score strong { color: #fff; font: 400 clamp(70px, 8vw, 105px)/.9 "DM Serif Display", Georgia, serif; letter-spacing: -.04em; }
.aus-score span { color: #aeb9c7; font-size: 12px; font-weight: 700; }
.aus-result-lead { min-height: 48px; margin: 19px 0 14px; color: #d4dbe3; font-size: 15px; line-height: 1.6; }
.aus-pathway-result { margin-bottom: 22px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.16); color: #f1d590; font-size: 11px; font-weight: 800; }
.aus-breakdown { margin: 0 0 22px; }
.aus-breakdown div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.aus-breakdown dt { color: #bdc7d2; font-size: 11px; }
.aus-breakdown dd { margin: 0; color: #fff; font-size: 13px; font-weight: 800; }
.aus-guidance { margin: 0 0 17px; padding: 15px; border-left: 2px solid var(--gold); color: #d0d8e1; background: rgba(255,255,255,.05); font-size: 13px; line-height: 1.55; }
.aus-flags { display: grid; gap: 7px; margin-bottom: 22px; }
.aus-flag { padding: 9px 11px; border: 1px solid rgba(255,255,255,.12); color: #cad3dd; font-size: 10px; line-height: 1.45; }
.aus-flag.is-warning { border-color: rgba(225,189,108,.38); color: #f1d590; }
.aus-flag.is-stop { border-color: rgba(255,147,140,.38); color: #ffaaa4; }
.aus-official-button, .aus-pdf-button, .aus-consult-button { width: 100%; min-height: 50px; padding-inline: 13px; font-size: 12px; text-align: center; }
.aus-pdf-button, .aus-consult-button { margin-top: 10px; }
.aus-result .button.outline { border-color: rgba(255,255,255,.25); color: #fff; }
.aus-consult-button { color: var(--navy) !important; background: var(--gold) !important; }
.aus-pdf-button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.aus-disclaimer { margin: 17px 0 0; color: #8695a7; font-size: 10px; line-height: 1.55; }

[aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--danger) 13%, transparent); }

@media (max-width: 1080px) {
  .aus-round { grid-template-columns: repeat(2, 1fr); }
  .aus-round > div:nth-child(2) { border-right: 0; }
  .aus-round > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .aus-round a { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .aus-layout { grid-template-columns: 1fr; }
  .aus-result { position: static; min-height: 0; }
}

@media (max-width: 700px) {
  .aus-heading { display: block; }
  .aus-source { width: 100%; margin-top: 25px; }
  .aus-intro { font-size: 15px; }
  .aus-round { grid-template-columns: 1fr; }
  .aus-round > div, .aus-round > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .aus-round a { grid-column: auto; }
  .aus-form, .aus-result { padding: 30px 22px; }
  .aus-fields, .aus-check-grid { grid-template-columns: 1fr; }
  .aus-field-wide { grid-column: auto; }
  .aus-field input,
  .aus-field select { min-width: 0; max-width: 100%; min-height: 52px; font-size: 16px; box-sizing: border-box; }
  .aus-actions { display: grid; gap: 12px; }
  .aus-actions .button { width: 100%; }
  .aus-reset { justify-self: start; }
}
