/* Ambassador Dashboard additions. Hit-a-thon Initiative */
.am-tracks { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.am-tracks label { position: relative; cursor: pointer; display: block; }
.am-tracks input { position: absolute; opacity: 0; inset: 0; }
.am-tracks span { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; transition: border-color .15s, background .15s; position: relative; }
.am-tracks span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); background: #fff; }
.am-tracks input:checked + span { border-color: var(--navy); background: var(--sky); }
.am-tracks input:checked + span::before { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--navy); }
.am-tracks input:focus-visible + span { outline: 3px solid #1565A8; outline-offset: 2px; }
.am-tracks small { color: var(--muted); font-size: 14px; }
.am-form .chk a { color: var(--navy); }
.am-steps { list-style: none; margin: 6px 0 16px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.am-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); flex: 1 1 140px; }
.am-steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: var(--divider); color: var(--muted); flex: none; }
.am-steps i svg { width: 16px; height: 16px; }
.am-steps .is-done i { background: var(--green); color: #fff; }
.am-steps .is-now i { background: var(--yellow); color: var(--navy-deep); }
.am-steps .is-now { color: var(--text); font-weight: 600; }
.am-list { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; }
.am-list a { color: var(--navy); }
.am-thanks h1 { font-family: var(--display); font-size: 26px; margin: 0 0 6px; color: var(--navy-deep); display: flex; gap: 10px; align-items: center; }
.am-thanks h1 svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.am-thanks p { margin: 0; color: var(--muted); }
.am-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
.am-stats .stat small { display: block; color: var(--faint); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 760px) { .am-stats { grid-template-columns: 1fr 1fr; } }
.am-url { font: 500 13.5px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg); border: 1px solid var(--divider); border-radius: 10px; padding: 8px 10px; margin: 6px 0 4px; word-break: break-all; color: var(--navy-deep); }
.am-links { display: grid; gap: 12px; }
.am-link { border: 1px solid var(--divider); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.am-link small { display: block; color: var(--muted); font-size: 13.5px; }
.am-share { flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.am-jump { margin: 0 0 16px; flex-wrap: wrap; }
.am-jump .chip { text-decoration: none; background: #fff; border: 1px solid var(--border); color: var(--navy); padding: 6px 12px; }
.am-sec { scroll-margin-top: 130px; margin-bottom: 8px; }
.am-kit h3 { margin: 0; font-size: 17px; }
.am-kit.is-draft { border-left: 4px solid var(--yellow); }
.am-text { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--sand); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.55; margin: 8px 0; }
.am-photo { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.am-photo__img { width: 88px; height: 88px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--navy); }
.am-photo__img svg { width: 34px; height: 34px; }
.am-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.am-file { position: relative; overflow: hidden; }
.am-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.am-seg { margin-bottom: 16px; }
.am-mini { font-size: 13.5px; color: var(--muted); }
.kv > div { display: contents; }
.cols > aside > .card + .card { margin-top: 16px; }
.am-band { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; min-height: 230px; display: flex; align-items: flex-end; padding: 26px 28px; margin-bottom: 18px; color: #fff; }
.am-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.am-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(7 44 78 / .05) 0%, rgb(7 44 78 / .9) 100%); }
.am-band h1 { font-family: var(--display, Georgia, serif); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; margin: 0; color: #fff; max-width: 22ch; }
.am-band h1 strong { color: #F4C430; font-weight: inherit; }
.am-band p { margin: 8px 0 0; color: #E6EFF7; max-width: 52ch; font-size: 16px; }
.am-band__act { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .am-band { min-height: 200px; padding: 20px; border-radius: 18px; } }
.am-login-photo { position: relative; margin: -8px -8px 18px; border-radius: 16px; overflow: hidden; height: 150px; }
.am-login-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.am-login-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 44 78 / 0) 30%, rgb(7 44 78 / .85) 100%); }
.am-login-photo span { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font-family: var(--display, Georgia, serif); font-size: 21px; line-height: 1.15; }
.am-login-photo b { color: #F4C430; font-weight: inherit; }
.am-rows { display: grid; gap: 8px; }
.am-btnrow { width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.am-btnrow:hover { border-color: var(--navy); }
.am-btnrow:focus-visible { outline: 3px solid #1565A8; outline-offset: 2px; }
.am-seg[aria-label] button { white-space: nowrap; }
