/* Points calculators (CRS + Australia) */
.axc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.axc-form { display: grid; gap: 16px; position: relative; }
.axc-card { margin: 0; padding: 22px 24px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; gap: 16px; min-width: 0; }
.axc-card[hidden] { display: none; }
.axc-card legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--ink); }
.axc-card legend + * { clear: both; }
.axc-card legend em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.axc-card legend em:not(:empty)::after { content: " pts"; }
.axc-num { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--ink); color: var(--gold); font-size: 14px; }
.axc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.axc-two[hidden] { display: none; }
.axc-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.axc-field > span, .axc-field legend { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.axc-field small { font-size: 12.5px; color: var(--muted); }
.axc-field select { width: 100%; padding: 12px 38px 12px 14px; border: 1px solid #ddd5c2; border-radius: 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8832a' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; }
.axc-field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(220,187,108,0.2); }
.axc-field select:disabled { opacity: 0.5; }
.axc-radios > div { display: flex; flex-wrap: wrap; gap: 8px; }
.axc-radios label { position: relative; cursor: pointer; }
.axc-radios input { position: absolute; opacity: 0; }
.axc-radios span { display: inline-flex; padding: 10px 16px; border-radius: 12px; border: 1px solid #ddd5c2; font-size: 14.5px; font-weight: 600; transition: 0.15s; }
.axc-radios input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.axc-radios input:focus-visible + span { box-shadow: 0 0 0 3px rgba(220,187,108,0.4); }
.axc-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; border-radius: 14px; background: var(--cream); }
.axc-scores[hidden] { display: none; }
.axc-field--sm > span { font-size: 12.5px; color: var(--muted); }
.axc-field--sm select { padding: 10px 30px 10px 12px; background-position: right 10px center; }
.axc-sub { margin: 4px 0 -6px; font-size: 13.5px; font-weight: 700; color: var(--gold-deep); }
.axc-checks { display: grid; gap: 8px; }
.axc-checks label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14.5px; }
.axc-checks label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.axc-checks input { width: 18px; height: 18px; margin-top: 2px; accent-color: #0b0b0b; flex-shrink: 0; }
.axc-checks b { color: var(--gold-deep); white-space: nowrap; }
.axc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.axc-side { position: sticky; top: 96px; display: grid; gap: 16px; scroll-margin-top: 90px; }
.axc-score { padding: 24px; border-radius: 22px; color: rgba(255,255,255,0.75); background: radial-gradient(360px 200px at 100% 0%, rgba(220,187,108,0.28), transparent 70%), #070707; box-shadow: 0 24px 50px rgba(0,0,0,0.18); }
.axc-label { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }
.axc-total { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.axc-total b { font-size: 64px; line-height: 1; font-weight: 800; color: #fff; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.axc-total small { color: rgba(255,255,255,0.5); font-size: 14px; }
.axc-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: visible; }
.axc-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #b08a30, #f2dfa6); transition: width 0.4s ease; }
.axc-mark { position: absolute; top: -4px; width: 2px; height: 16px; background: #fff; border-radius: 2px; }
.axc-compare { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,0.06); }
.axc-compare b { font-size: 16px; }
.axc-compare.is-up { color: #5fe394; background: rgba(37,211,102,0.1); }
.axc-compare.is-down { color: #fcd38d; background: rgba(245,158,11,0.1); }
.axc-visas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.axc-visas div { padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: center; }
.axc-visas small { display: block; font-size: 11.5px; color: rgba(255,255,255,0.55); font-weight: 700; }
.axc-visas b { font-size: 22px; color: #fff; }
.axc-visas .is-ok b { color: #5fe394; }
.axc-visas .is-on { border-color: var(--gold); background: rgba(220,187,108,0.1); }
.axc-break { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,0.1); display: grid; gap: 7px; font-size: 14px; }
.axc-break li { display: flex; justify-content: space-between; gap: 10px; }
.axc-break b { color: #fff; font-variant-numeric: tabular-nums; }
.axc-lead { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.axc-lead h3 { font-size: 18px; margin-bottom: 6px; }
.axc-lead p { font-size: 14px; color: var(--muted); margin: 0; }
.axc-lead .axp-field input { background: #faf8f3; border-color: #e4ddcc; color: var(--ink); }
.axc-lead .axp-field input::placeholder { color: #8a857a; }
.axc-lead .ax-form-msg.is-ok { color: #15803d; } .axc-lead .ax-form-msg.is-err { color: #b91c1c; }
.axc-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: 13.5px; color: var(--muted); }
.axc-disclaimer i { color: var(--gold-deep); margin-top: 3px; }
.axc-mini { display: none; }

@media (max-width: 1000px) {
  .axc-grid { grid-template-columns: 1fr; }
  .axc-side { position: static; }
  .axc-mini { display: flex; position: sticky; top: 72px; z-index: 5; justify-self: end; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #0b0b0b; color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
  .axc-mini b { color: var(--gold); font-size: 18px; }
}
@media (max-width: 640px) {
  .axc-card { padding: 18px 16px; }
  .axc-two { grid-template-columns: 1fr; }
  .axc-scores { grid-template-columns: 1fr 1fr; }
  .axc-total b { font-size: 54px; }
  .axc-radios span { padding: 9px 13px; font-size: 14px; }
}
