.anf { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.anf[hidden] { display: none; }
.anf-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,0); transition: background-color .4s ease; }
.anf.is-open .anf-backdrop { background: rgba(8,10,14,.62); }
.anf-panel { position: relative; display: flex; flex-direction: column; width: 100%; height: 92vh; height: 92dvh; background: var(--gnoise), #12151c; border-radius: 18px 18px 0 0; color: #eaf0ff; overflow: hidden; transform: translateY(100%); transition: transform .38s cubic-bezier(.55,0,.8,.3); }
.anf.is-open .anf-panel { transform: none; transition: transform .6s cubic-bezier(.22,1,.36,1); }
html.rmo .anf-panel { transform: none; opacity: 0; transition: opacity .2s ease; }
html.rmo .anf.is-open .anf-panel { transform: none; opacity: 1; transition: opacity .2s ease; }
.anf :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.anf-form :focus-visible { outline-color: #1d2129; }

.anf-bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 12px 4px 20px; }
@media (min-width: 768px) { .anf-bar { padding: 16px 20px 4px 40px; } }
.anf-bar__dots { display: flex; gap: 8px; }
.anf-bar__dots i { width: 12px; height: 12px; border-radius: 50%; background: #e0655b; }
.anf-bar__dots i:nth-child(2) { background: #e0b45b; }
.anf-bar__dots i:nth-child(3) { background: #5be0a0; }
.anf-bar__path { display: inline-flex; align-items: center; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 15px; color: rgba(255,255,255,.6); }
.anf-bar__path b { color: #5be0a0; font-weight: 700; }
.anf-bar__path .tw-caret { width: .5em; height: 1em; transform: none; margin-left: 4px; }
.anf-close { margin-left: auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; color: #eaf0ff; transition: background-color .2s; }
.anf-close svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .anf-close:hover { background: rgba(255,255,255,.09); } }

.anf-body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.anf-side { flex: none; padding: 12px 20px 18px; }
@media (min-width: 768px) { .anf-side { padding: 12px 40px 20px; } }
.anf-prog__line { margin: 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 15px; color: rgba(255,255,255,.6); }
.anf-prog__count { color: #5be0a0; }
.anf-prog__name { color: #fff; font-weight: 700; }
.anf-prog__steps { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.anf-prog[hidden] { display: none; }
.anf-direct { display: none; }

.anf-form { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; margin: 0 -1px -1px 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 21px 0 20px; background: #fff; color: #12151c; }
@media (min-width: 768px) { .anf-form { padding: 34px 41px 0 40px; } }

@media (min-width: 1024px) {
  .anf-panel { width: calc(88 * var(--cvw)); height: 84vh; height: 84dvh; }
  .anf-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 18px 18px 0 48px; pointer-events: none; }
  .anf-close { pointer-events: auto; color: #12151c; }
  .anf-close:focus-visible { outline-color: #1d2129; }
  .anf-body { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2.8fr); }
  .anf-side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 108px 32px 44px 48px; }
  .anf-prog__line { display: none; }
  .anf-prog__steps { position: static; width: auto; height: auto; margin: 0; padding: 0; overflow: visible; clip: auto; white-space: normal; display: grid; gap: 26px; list-style: none; }
  .anf-prog__steps li { display: flex; align-items: baseline; gap: 18px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 28px; line-height: 36px; color: rgba(255,255,255,.55); }
  .anf-prog__n { color: rgba(255,255,255,.45); }
  .anf-prog__steps li[aria-current] { color: #fff; font-weight: 700; }
  .anf-prog__steps li[aria-current] .anf-prog__n { color: #5be0a0; }
  .anf-direct { display: grid; gap: 8px; margin: 0; font-size: 16px; line-height: 25px; color: #b3b9bb; }
  .anf-direct__t { margin-bottom: 4px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #8fb0ff; }
  .anf-direct a { justify-self: start; min-height: 24px; color: #eaf0ff; text-decoration: none; transition: color .2s; }
  .anf-form { padding: 80px 73px 0 64px; }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .anf-close:hover { background: rgba(18,21,28,.07); }
  .anf-direct a:hover { color: #8fb0ff; text-decoration: underline; }
}

.anf-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.anf-step[hidden] { display: none; }
.anf-step > legend { float: left; width: 100%; padding: 0; margin: 0 0 30px; }
.anf-step > legend + * { clear: left; }
.anf-step.is-in { animation: anf-in .4s cubic-bezier(.22,1,.36,1) backwards; }
@keyframes anf-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes anf-fade { from { opacity: 0; } }
html.rmo .anf-step.is-in { animation-name: anf-fade; animation-duration: .2s; }
.anf-h { display: block; margin: 0; font-size: clamp(30px, 2.6 * var(--cvw), 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: #12151c; }
.anf-h:focus { outline: none; }
.anf-sub { max-width: 60ch; margin: 0 0 30px; font-size: 18px; line-height: 28px; color: #4d525c; }

.anf-group { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.anf-group > legend { padding: 0; margin: 0 0 12px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #3359b5; }
.anf-req { color: #3359b5; }

.anf-tiles { display: grid; gap: 4px 40px; }
@media (min-width: 640px) { .anf-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .anf-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1280.98px) { .anf-tiles--3 { grid-template-columns: minmax(0, 1fr); } }
.anf-tile { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.anf-tile input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.anf-tile__box { position: relative; display: grid; gap: 4px; align-content: start; padding: 14px 0 14px 36px; transition: opacity .25s ease; }
.anf-tile__mark { position: absolute; left: 0; top: 17px; box-sizing: border-box; width: 20px; height: 20px; border: 2px solid #7b818c; border-radius: 50%; transition: border-color .2s, background-color .2s; }
.anf-tile input[type=checkbox] + .anf-tile__box .anf-tile__mark { border-radius: 5px; }
.anf-tile__t { font-size: 18px; font-weight: 700; line-height: 26px; color: #12151c; transition: color .2s; }
.anf-tile__d { font-size: 15px; line-height: 22px; color: #4d525c; }
.anf-tile--lg .anf-tile__box { padding: 16px 0 16px 42px; }
.anf-tile--lg .anf-tile__mark { top: 22px; width: 22px; height: 22px; }
.anf-tile--lg .anf-tile__t { font-size: clamp(22px, 1.8 * var(--cvw), 28px); line-height: 34px; }
.anf-tile--lg .anf-tile__d { font-size: 16px; line-height: 24px; }
@media (hover: hover) and (pointer: fine) { .anf-tile:hover .anf-tile__mark { border-color: #3359b5; } }
.anf-tile input:checked + .anf-tile__box .anf-tile__t { color: #3359b5; }
.anf-tile input[type=radio]:checked + .anf-tile__box .anf-tile__mark { border-color: #3359b5; background: radial-gradient(circle, #3359b5 0 4px, transparent 4.5px); }
.anf-tile--lg input[type=radio]:checked + .anf-tile__box .anf-tile__mark { background: radial-gradient(circle, #3359b5 0 5px, transparent 5.5px); }
.anf-tile input[type=checkbox]:checked + .anf-tile__box .anf-tile__mark { border-color: #3359b5; background: #3359b5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat; }
.anf-tile input:focus-visible + .anf-tile__box { outline: 2px solid #1d2129; outline-offset: 4px; border-radius: 6px; }
.anf-tile input:disabled + .anf-tile__box { opacity: .38; cursor: not-allowed; }
.anf-tile input[aria-invalid="true"] + .anf-tile__box .anf-tile__mark { border-color: #c62828; }

.anf-tiles--chips { display: flex; flex-wrap: wrap; gap: 12px; }
.anf-tiles--chips .anf-tile__box { padding: 13px 22px 13px 48px; border-radius: 999px; background: #f1f3f6; transition: background-color .2s, opacity .25s ease; }
.anf-tiles--chips .anf-tile__mark { left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.anf-tiles--chips .anf-tile__t { font-size: 17px; line-height: 24px; }
@media (hover: hover) and (pointer: fine) { .anf-tiles--chips .anf-tile:hover .anf-tile__box { background: #e6e9ee; } }
.anf-tiles--chips .anf-tile input:checked + .anf-tile__box { background: #12151c; }
.anf-tiles--chips .anf-tile input:checked + .anf-tile__box .anf-tile__t { color: #fff; }
.anf-tiles--chips .anf-tile input[type=radio]:checked + .anf-tile__box .anf-tile__mark { border-color: #6aa8ff; background: radial-gradient(circle, #6aa8ff 0 3.5px, transparent 4px); }
.anf-tiles--chips .anf-tile input[type=checkbox]:checked + .anf-tile__box .anf-tile__mark { border-color: #6aa8ff; background: #6aa8ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2312151c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 80% no-repeat; }
.anf-tiles--chips .anf-tile input:focus-visible + .anf-tile__box { outline-offset: 2px; border-radius: 999px; }

.anf-grid { display: grid; gap: 26px 28px; margin: 0 0 26px; }
@media (min-width: 640px) { .anf-grid--2, .anf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1281px) { .anf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.anf-grid--3 { row-gap: 0; margin-bottom: 0; }
.anf-grid--3 .anf-field { margin-bottom: 26px; }
.anf-field { display: grid; gap: 9px; align-content: start; min-width: 0; }
.anf-field[hidden] { display: none; }
.anf-field--wide { margin: 0 0 26px; }
.anf-label { font-size: 16px; font-weight: 700; line-height: 22px; color: #1d2129; }
.anf-input { box-sizing: border-box; width: 100%; min-height: 58px; padding: 16px 16px 14px; border: 0; border-bottom: 2px solid #7b818c; border-radius: 8px 8px 0 0; background: #f3f5f8; color: #12151c; font-size: 18px; line-height: 26px; color-scheme: light; transition: border-color .2s, background-color .2s; }
textarea.anf-input { min-height: 140px; resize: vertical; }
.anf-input::placeholder { color: #6b717c; }
@media (hover: hover) and (pointer: fine) { .anf-input:hover { border-bottom-color: #3359b5; } }
.anf-input:focus-visible { outline: 2px solid #1d2129; outline-offset: 2px; border-bottom-color: #3359b5; background: #eef1f6; }
.anf-input[aria-invalid="true"] { border-bottom-color: #c62828; }
.anf-input[type=date]::-webkit-date-and-time-value { text-align: left; }

.anf-dw { position: relative; }
.anf-date { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: start; cursor: pointer; }
.anf-date__v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.anf-date.is-empty .anf-date__v { color: #5d636e; }
.anf-date svg { flex: none; width: 22px; height: 22px; color: #4d525c; transition: color .2s; }
.anf-date[aria-expanded="true"] { border-bottom-color: #3359b5; background: #eef1f6; }
.anf-date[aria-expanded="true"] svg { color: #3359b5; }
.anf-cal { position: absolute; z-index: 4; top: calc(100% + 8px); left: 0; width: 336px; max-width: calc(100vw - 40px); padding: 12px 12px 10px; border: 1px solid #d5d9e0; border-radius: 14px; background: #fff; color: #12151c; }
.anf-cal[hidden] { display: none; }
.anf-cal.is-end { left: auto; right: 0; }
.anf-cal.is-up { top: auto; bottom: calc(100% + 8px); }
.anf-cal.is-in { animation: anf-cal-in .22s cubic-bezier(.22,1,.36,1) both; }
@keyframes anf-cal-in { from { opacity: 0; transform: translateY(-6px); } }
html.rmo .anf-cal.is-in { animation-name: anf-fade; animation-duration: .15s; }
.anf-cal__head { display: flex; align-items: center; gap: 2px; margin: 0 0 4px; }
.anf-cal__title { flex: 1; min-width: 0; margin: 0 0 0 6px; font-size: 17px; font-weight: 800; line-height: 24px; letter-spacing: -.01em; }
.anf-cal__nav { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px; color: #1d2129; transition: background-color .15s, color .15s; }
.anf-cal__nav svg { width: 20px; height: 20px; }
.anf-cal__nav:disabled { color: #b6bbc4; cursor: default; }
.anf-cal__grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.anf-cal__grid th { position: relative; padding: 2px 0 6px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b717c; text-align: center; }
.anf-cal__grid td { padding: 0; text-align: center; }
.anf-cal__d { position: relative; width: 36px; height: 36px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 36px; color: #12151c; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s; }
.anf-cal__d[aria-current="date"]::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #3359b5; }
.anf-cal__d:disabled { color: #b6bbc4; cursor: default; }
.anf-cal__d.is-sel { background: #12151c; color: #fff; }
.anf-cal__d.is-sel::after { background: #6aa8ff; }
.anf-cal__clear { flex: none; min-height: 36px; padding: 0 8px; border-radius: 999px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; color: #4d525c; transition: color .2s; }
@media (hover: hover) and (pointer: fine) {
  .anf-date:hover svg { color: #3359b5; }
  .anf-cal__nav:not(:disabled):hover, .anf-cal__d:not(:disabled):not(.is-sel):hover { background: #f1f3f6; }
  .anf-cal__clear:hover { color: #12151c; }
}
.anf-note { margin: 0; font-size: 15px; line-height: 22px; color: #4d525c; }
.anf-note[hidden] { display: none; }
.anf-group .anf-note { margin-top: 12px; }
.anf-err { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; color: #c62828; }
.anf-err[hidden] { display: none; }
.anf-group .anf-err { margin-top: 12px; }

.anf-fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .42s cubic-bezier(.22,1,.36,1), opacity .3s ease; }
.anf-fold__in { min-height: 0; overflow: hidden; padding: 0 4px; margin: 0 -4px; }
.anf-fold.is-off { grid-template-rows: 0fr; opacity: 0; }
.anf-fold.is-off > .anf-fold__in { visibility: hidden; transition: visibility 0s linear .42s; }
html.rmo .anf-fold { transition: opacity .2s ease; }
html.rmo .anf-fold.is-off > .anf-fold__in { transition-delay: .2s; }
@media (min-width: 1281px) { .anf-grid--3 .anf-fold.is-off { grid-template-rows: 1fr; } }

.anf-check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; align-items: start; margin: 4px 0 8px; font-size: 16px; line-height: 25px; color: #4d525c; cursor: pointer; }
.anf-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: #3359b5; }
.anf-check a { color: #3359b5; font-weight: 700; }

.anf-done { padding: 6px 0 32px; }
.anf-done[hidden] { display: none; }
.anf-done.is-in { animation: anf-in .45s cubic-bezier(.22,1,.36,1) both; }
html.rmo .anf-done.is-in { animation-name: anf-fade; animation-duration: .2s; }
.anf-done__term { margin: 0 0 24px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 15px; line-height: 1.75; color: #4d525c; }
.anf-done__term b { color: #1f7a4d; margin-right: 8px; }
.anf-done__to { color: #3359b5; }
.anf-done .anf-h { margin: 0 0 12px; }
.anf-done .anf-sub { margin-bottom: 30px; }

.anf-nav { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px; margin: 16px -21px 0 -20px; padding: 18px 21px calc(20px + env(safe-area-inset-bottom, 0px)) 20px; background: #fff; }
@media (min-width: 768px) { .anf-nav { margin: 20px -41px 0 -40px; padding: 20px 41px 30px 40px; } }
@media (min-width: 1024px) { .anf-nav { margin: 20px -73px 0 -64px; padding: 20px 73px 34px 64px; } }
.anf-nav [hidden], .anf-nav[hidden] { display: none; }
.anf-back { margin-right: auto; min-height: 48px; padding: 10px 4px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 16px; font-weight: 700; color: #4d525c; transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .anf-back:hover { color: #12151c; } }
.anf-form .rv-write { min-height: 56px; padding: 15px 26px; font-size: 16px; cursor: pointer; }
.anf-send[aria-disabled="true"] { opacity: .6; cursor: progress; }
.anf-status { margin: 0 0 20px; font-size: 15px; line-height: 22px; font-weight: 700; color: #c62828; }
.anf-status:empty { display: none; }
.anf-status a { color: #3359b5; }

.anf-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.anf-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
