/* TrustReviews v2 auth + review modal */
html.am-locked, html.am-locked body { overflow: hidden; }
.am { --am-ink: #0c3035; --am-ink2: #2d4a4d; --am-muted: #5b6f6d; --am-mint: #14e5c5; --am-mint2: #8af2e2; --am-wash: #e3fbf6; --am-teal: #085559; --am-line: #e1e8e7; --am-bad: #d64545; --am-amber: #f0a020;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.25rem; font-family: var(--sans, Inter, system-ui, sans-serif); color: var(--am-ink); }
.am[hidden] { display: none; }
.am-overlay { position: absolute; inset: 0; background: rgba(4,25,27,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.am-dialog { position: relative; width: min(560px, 100%); max-height: min(92vh, 860px); display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(4,25,27,.35), 0 0 0 1px rgba(12,48,53,.06); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1); outline: none; overflow: hidden; }
.am.is-open .am-overlay { opacity: 1; }
.am.is-open .am-dialog { opacity: 1; transform: none; }
.am-head { padding: 1.4rem 1.6rem 1rem; border-bottom: 1px solid var(--am-line); background: linear-gradient(180deg, #f6fdfc, #fff); }
.am-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.am-eyebrow { margin: 0 0 .3rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--am-teal); }
.am h2 { margin: 0; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; color: var(--am-ink); }
.am-close { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--am-line); border-radius: 50%; background: #fff; color: var(--am-ink); cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.am-close svg { width: 18px; height: 18px; }
.am-close:hover { background: var(--am-wash); border-color: var(--am-mint); transform: rotate(90deg); }
.am-steps { list-style: none; display: flex; gap: .5rem; margin: 1rem 0 0; padding: 0; }
.am-steps[hidden] { display: none; }
.am-steps li { flex: 1; display: flex; align-items: center; gap: .5rem; padding-top: .55rem; border-top: 3px solid var(--am-line); font-size: .82rem; color: var(--am-muted); transition: border-color .3s, color .3s; margin: 0; }
.am-steps li[hidden] { display: none; }
.am-pip { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #eef3f2; font-size: .72rem; font-weight: 600; transition: background .3s, color .3s; }
.am-steps li.is-current { border-color: var(--am-mint); color: var(--am-ink); font-weight: 600; }
.am-steps li.is-current .am-pip { background: var(--am-mint); color: #04191b; }
.am-steps li.is-done { border-color: var(--am-teal); color: var(--am-ink2); }
.am-steps li.is-done .am-pip { background: var(--am-teal); color: #fff; }
.am-body { flex: 1; overflow-y: auto; padding: 1.3rem 1.6rem 1.4rem; overscroll-behavior: contain; }
.am-pane[hidden], .am-form[hidden] { display: none; }
.am-enter { animation: amIn .32s cubic-bezier(.2,.8,.2,1); }
@keyframes amIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.am-field { margin: 0 0 1rem; min-width: 0; }
.am-field > label, .am-label { display: block; margin: 0 0 .4rem; font-size: .86rem; font-weight: 600; color: var(--am-ink); }
.am-opt { font-weight: 400; color: var(--am-muted); }
.am input[type=text], .am input[type=email], .am input[type=password], .am input[type=date], .am input[type=url], .am textarea {
  box-sizing: border-box; width: 100%; min-height: 46px; padding: .7rem .85rem; border: 1.5px solid #cfdad9; border-radius: 10px; background: #fff; color: var(--am-ink); font: 400 .98rem/1.4 var(--sans, Inter, system-ui, sans-serif); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.am textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.am input:focus, .am textarea:focus { outline: none; border-color: var(--am-teal); box-shadow: 0 0 0 4px rgba(20,229,197,.22); }
.am input.is-bad, .am textarea.is-bad { border-color: var(--am-bad); box-shadow: 0 0 0 4px rgba(214,69,69,.1); }
.am-err { min-height: 0; margin: .35rem 0 0; font-size: .82rem; color: var(--am-bad); }
.am-err:empty { display: none; }
.am-err:not(:empty) { animation: amShake .3s; }
@keyframes amShake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.am-form-err:empty { display: none; }
.am-form-err { margin: .5rem 0 0; padding: .7rem .85rem; border-radius: 10px; background: #fdeeee; color: #a12f2f; font-size: .88rem; }
.am-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.am-lede { margin: 0 0 1.1rem; color: var(--am-ink2); font-size: .95rem; }
/* stars */
.am-stars { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.am-stars button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: #edf2f1; cursor: pointer; transition: background .18s, transform .18s; }
.am-stars button svg { width: 24px; height: 24px; fill: #fff; transition: transform .2s; }
.am-stars button:hover { transform: translateY(-2px); }
.am-stars button.is-hover, .am-stars button.is-on { background: var(--am-mint); }
.am-stars button.is-hover svg, .am-stars button.is-on svg { fill: #04191b; }
.am-stars[data-rating="1"] button.is-on, .am-stars[data-rating="2"] button.is-on { background: #ff8a5c; }
.am-stars[data-rating="3"] button.is-on { background: #ffce3d; }
.am-stars button.is-pop svg { animation: amPop .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes amPop { 40% { transform: scale(1.35) rotate(-8deg); } }
.am-stars button:focus-visible { outline: 2px solid var(--am-teal); outline-offset: 2px; }
.am-star-word { margin-left: .5rem; font-size: .9rem; font-weight: 600; color: var(--am-ink2); }
.am-count-row { display: flex; justify-content: space-between; margin-top: .35rem; font-size: .8rem; color: var(--am-muted); }
.am-count { font-variant-numeric: tabular-nums; transition: color .2s; }
.am-count.is-ok { color: var(--am-teal); font-weight: 600; }
/* segmented */
.am-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 1.2rem; border-radius: 12px; background: #eef3f2; }
.am-seg button { position: relative; z-index: 1; min-height: 40px; border: 0; background: none; border-radius: 9px; font: 600 .92rem var(--sans, Inter, sans-serif); color: var(--am-muted); cursor: pointer; transition: color .2s; }
.am-seg button[aria-selected=true] { color: var(--am-ink); }
.am-seg button:focus-visible { outline: 2px solid var(--am-teal); outline-offset: -2px; }
.am-seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(12,48,53,.12); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.am-seg[data-active=login] .am-seg-ind { transform: translateX(100%); }
/* account types */
.am-types { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 0 0 1.1rem; padding: 0; border: 0; min-width: 0; }
.am-types legend { grid-column: 1 / -1; padding: 0; float: left; width: 100%; margin-bottom: .4rem; }
.am-type { position: relative; display: block; cursor: pointer; margin: 0; }
.am-type input { position: absolute; opacity: 0; pointer-events: none; }
.am-type-card { position: relative; height: 100%; box-sizing: border-box; display: flex; align-items: flex-start; gap: .65rem; padding: .85rem .85rem; border: 1.5px solid var(--am-line); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s, transform .2s; }
.am-type-card strong { display: block; font-size: .95rem; color: var(--am-ink); }
.am-type-card small { display: block; margin-top: .15rem; font-size: .78rem; line-height: 1.35; color: var(--am-muted); }
.am-type-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #eef3f2; color: var(--am-teal); transition: background .2s, color .2s; }
.am-type-ico svg { width: 19px; height: 19px; }
.am-type-check { position: absolute; top: .55rem; right: .55rem; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--am-mint); color: #04191b; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.am-type-check svg { width: 12px; height: 12px; }
.am-type:hover .am-type-card { border-color: #b7cfcc; transform: translateY(-1px); }
.am-type input:checked + .am-type-card { border-color: var(--am-mint); background: #f6fdfc; box-shadow: 0 0 0 3px rgba(20,229,197,.18); }
.am-type input:checked + .am-type-card .am-type-ico { background: var(--am-mint); color: #04191b; }
.am-type input:checked + .am-type-card .am-type-check { transform: scale(1); }
.am-type input:focus-visible + .am-type-card { outline: 2px solid var(--am-teal); outline-offset: 2px; }
/* social */
.am-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.am-soc { height: 50px; display: grid; place-items: center; border: 1.5px solid #c9efe7; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.am-soc svg { width: 22px; height: 22px; }
.am-soc:hover { border-color: var(--am-mint); box-shadow: 0 6px 16px rgba(20,229,197,.18); transform: translateY(-1px); }
.am-soc:focus-visible { outline: 2px solid var(--am-teal); outline-offset: 2px; }
.am-soc.is-picked { border-color: var(--am-mint); background: #f6fdfc; }
.am-challenge { margin-top: .8rem; padding: .85rem; border-radius: 12px; background: #f6fdfc; border: 1px solid #c9efe7; animation: amIn .3s ease; }
.am-challenge[hidden] { display: none; }
.am-challenge-title { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .85rem; font-weight: 600; color: var(--am-ink); }
.am-challenge-title svg { width: 18px; height: 18px; color: var(--am-teal); }
.am-challenge.is-passed { border-color: var(--am-mint); }
.am-ts { min-height: 65px; }
.am-notice { display: flex; gap: .55rem; align-items: flex-start; margin: .8rem 0 0; padding: .75rem .9rem; border-radius: 12px; background: var(--am-wash); border: 1px solid #b9efe4; color: var(--am-ink); font-size: .9rem; font-weight: 500; animation: amIn .3s ease; }
.am-notice[hidden] { display: none; }
.am-notice svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--am-teal); }
.am-divider { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0; font-size: .8rem; color: var(--am-muted); }
.am-divider::before, .am-divider::after { content: ""; flex: 1; height: 1px; background: var(--am-line); }
/* password */
.am-pw-wrap { position: relative; }
.am-pw-wrap input { padding-right: 3rem; }
.am-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--am-muted); cursor: pointer; }
.am-eye svg { width: 20px; height: 20px; }
.am-eye:hover { background: #eef3f2; color: var(--am-ink); }
.am-pw-wrap.is-strong input { border-color: var(--am-mint); box-shadow: 0 0 0 4px rgba(20,229,197,.2); }
.am-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: .6rem; }
.am-meter span { height: 6px; border-radius: 6px; background: #e6ecec; position: relative; overflow: hidden; }
.am-meter span::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; border-radius: inherit; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s; }
.am-meter[data-score="1"] span:nth-child(-n+1)::after { transform: scaleX(1); background: #e5484d; }
.am-meter[data-score="2"] span:nth-child(-n+2)::after { transform: scaleX(1); background: var(--am-amber); }
.am-meter[data-score="3"] span:nth-child(-n+3)::after { transform: scaleX(1); background: var(--am-mint); }
.am-meter[data-score="4"] span::after { transform: scaleX(1); background: var(--am-teal); }
.am-meter span:nth-child(2)::after { transition-delay: .04s; } .am-meter span:nth-child(3)::after { transition-delay: .08s; } .am-meter span:nth-child(4)::after { transition-delay: .12s; }
.am-meter.is-celebrate { animation: amGlow .9s ease; }
@keyframes amGlow { 0% { filter: none; } 40% { filter: drop-shadow(0 0 6px rgba(20,229,197,.9)); } 100% { filter: none; } }
.am-meter-label { margin: .45rem 0 .55rem; font-size: .8rem; color: var(--am-muted); transition: color .2s; }
.am-meter-label[data-score="1"] { color: #c23b40; } .am-meter-label[data-score="2"] { color: #b9770c; } .am-meter-label[data-score="3"] { color: #0a8f7b; } .am-meter-label[data-score="4"] { color: var(--am-teal); font-weight: 600; }
.am-rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .8rem; margin: 0; padding: 0; }
.am-rules li { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .82rem; color: var(--am-muted); transition: color .25s; }
.am-tick { width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #cfdad9; color: transparent; transition: background .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.am-tick svg { width: 11px; height: 11px; }
.am-rules li.is-met { color: var(--am-ink); }
.am-rules li.is-met .am-tick { background: var(--am-mint); border-color: var(--am-mint); color: #04191b; transform: scale(1.12); }
.am-ts-inline { display: none; margin-top: .5rem; }
.am-ts-inline.is-on { display: block; }
/* combobox */
.am-combo { position: relative; }
.am-combo-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% - 1.2rem); max-height: 220px; overflow-y: auto; margin: 0; padding: .3rem; list-style: none; background: #fff; border: 1px solid var(--am-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(12,48,53,.16); }
.am-combo-list[hidden] { display: none; }
.am-combo-list li { margin: 0; padding: .55rem .7rem; border-radius: 8px; font-size: .92rem; cursor: pointer; }
.am-combo-list li:hover, .am-combo-list li[aria-selected=true] { background: var(--am-wash); }
.am-combo-empty { color: var(--am-muted); cursor: default; }
/* done */
.am-done { text-align: center; padding: 1.5rem .5rem 1rem; }
.am-done h3 { margin: 1rem 0 .4rem; font-size: 1.25rem; color: var(--am-ink); }
.am-done p { margin: 0 auto; max-width: 26rem; color: var(--am-ink2); }
.am-done-ico { width: 76px; height: 76px; margin: 0 auto; }
.am-done-ico svg { width: 100%; height: 100%; }
.am-done-ico circle { stroke: var(--am-mint); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: amDraw .6s ease forwards; }
.am-done-ico path { stroke: var(--am-teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: amDraw .4s .45s ease forwards; }
@keyframes amDraw { to { stroke-dashoffset: 0; } }
/* footer */
.am-foot { position: sticky; bottom: 0; display: flex; gap: .7rem; justify-content: flex-end; padding: 1rem 1.6rem; border-top: 1px solid var(--am-line); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 12px; font: 600 .96rem var(--sans, Inter, sans-serif); cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s, opacity .2s; }
.am-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.am-btn[hidden] { display: none; }
.am-btn-ghost { border: 1.5px solid var(--am-line); background: #fff; color: var(--am-ink); }
.am-btn-ghost:hover { background: #f3f7f6; }
.am-btn-primary { flex: 1; max-width: 320px; border: 0; background: var(--am-ink); color: #fff; box-shadow: 0 8px 22px rgba(12,48,53,.22); }
.am-btn-primary:hover:not(:disabled) { background: #0f3d43; transform: translateY(-1px); }
.am-btn-primary:hover:not(:disabled) svg { transform: translateX(3px); }
.am-btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.am-btn-primary.is-busy { opacity: .8; cursor: progress; }
.am-btn-primary.is-busy svg { animation: amSpin 1s linear infinite; }
@keyframes amSpin { to { transform: rotate(360deg); } }
.am-btn:focus-visible, .am-close:focus-visible { outline: 2px solid var(--am-mint); outline-offset: 2px; }
/* mobile: full-height sheet */
@media (max-width: 560px) {
  .am { padding: 0; place-items: end stretch; }
  .am-dialog { width: 100%; max-width: 100%; height: 100%; max-height: none; border-radius: 0; transform: translateY(40px); }
  .am-head { padding: 1.1rem 1.1rem .85rem; }
  .am-body { padding: 1.1rem; }
  .am-foot { padding: .85rem 1.1rem calc(.85rem + env(safe-area-inset-bottom)); }
  .am-btn-primary { max-width: none; }
  .am-two { grid-template-columns: 1fr; }
  .am-types { grid-template-columns: 1fr; }
  .am-rules { grid-template-columns: 1fr 1fr; }
  .am-stars button { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-overlay, .am-dialog, .am-seg-ind, .am-meter span::after, .am-tick, .am-type-check, .am-close { transition: none !important; }
  .am-enter, .am-err:not(:empty), .am-stars button.is-pop svg, .am-meter.is-celebrate, .am-challenge, .am-notice, .am-btn-primary.is-busy svg { animation: none !important; }
  .am-done-ico circle, .am-done-ico path { animation: none; stroke-dashoffset: 0; }
}

/* ---- Theme radius + no visible scrollbar (Nov 23). Cards use 10px (--v-radius), controls 6px (--v-radius-sm). ---- */
.am-body { scrollbar-width: none; -ms-overflow-style: none; }
.am-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (min-width: 561px) { .am-dialog { border-radius: 10px; max-height: min(94vh, 900px); } }
.am-close { border-radius: 6px; }
.am-seg { border-radius: 6px; padding: 3px; margin-bottom: .9rem; }
.am-seg button, .am-seg-ind { border-radius: 4px; }
.am-seg-ind { top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); box-shadow: 0 1px 2px rgba(12,48,53,.12); }
.am-type-card { border-radius: 6px; }
.am-type-ico { border-radius: 6px; }
.am-type input:checked + .am-type-card { box-shadow: none; border-color: var(--am-teal); }
.am-soc { border-radius: 6px; height: 46px; border-color: #d6e2e0; }
.am-soc:hover { box-shadow: none; transform: none; border-color: var(--am-teal); }
.am input, .am textarea, .am select { border-radius: 6px; }
.am input:focus, .am textarea:focus { box-shadow: none; border-color: var(--am-teal); }
.am-pw-wrap.is-strong input { box-shadow: none; }
.am-form-err, .am-challenge, .am-notice { border-radius: 6px; }
.am-stars button { border-radius: 6px; }
.am-combo-list { border-radius: 6px; }
.am-combo-list li { border-radius: 4px; }
.am-btn { border-radius: 6px; min-height: 46px; }
.am-btn-primary { box-shadow: none; }
/* tighter vertical rhythm so sign-up fits a 1280x800 window */
.am-head { padding: 1.1rem 1.5rem .8rem; }
.am-steps { margin-top: .7rem; }
.am-body { padding: 1rem 1.5rem 1rem; }
.am-types { margin-bottom: .8rem; }
.am-field { margin-bottom: .8rem; }
.am-type-card { padding: .65rem .75rem; }
.am-foot { padding-top: .75rem; padding-bottom: .75rem; }
@media (max-width: 560px) { .am-dialog { border-radius: 0; } }
.am input[type=text], .am input[type=email], .am input[type=password], .am input[type=date], .am input[type=url], .am textarea { border-radius: 6px; }
.am input[type=text], .am input[type=email], .am input[type=password], .am input[type=url] { min-height: 42px; padding-top: .55rem; padding-bottom: .55rem; }
.am-field { margin-bottom: .65rem; }
.am-field > label, .am-label { margin-bottom: .3rem; }
.am-divider { margin: .75rem 0; }
.am-soc { height: 42px; }
.am-types { gap: .5rem; margin-bottom: .7rem; }
.am-types legend { margin-bottom: .3rem; }
.am-type-card { padding: .55rem .7rem; }
.am-meter { margin-top: .45rem; }
.am-rules { gap: .25rem .8rem; }
.am-steps li { padding-top: .45rem; }
@media (min-width: 561px) { .am { padding: 1rem; } .am-dialog { max-height: calc(100vh - 2rem); } }
.am-head { padding-top: .95rem; padding-bottom: .7rem; }
.am-meter-label { margin: .35rem 0 .35rem; }
.am-two { gap: .6rem; }
.am-divider { margin: .6rem 0; }
.am-soc { height: 40px; }
.am-field { margin-bottom: .55rem; }
.am-steps { margin-top: .5rem; }
.am-steps li { padding-top: .35rem; }
.am-body { padding-bottom: .75rem; padding-top: .85rem; }
/* social buttons after the security check: greyed out, inert */
.am-soc:disabled, .am-soc.is-off { cursor: default; background: #f1f3f3; border-color: #e1e6e5; box-shadow: none; transform: none; pointer-events: none; }
.am-soc:disabled svg, .am-soc.is-off svg { filter: grayscale(1); opacity: .4; }
.am-soc:disabled:hover, .am-soc.is-off:hover { background: #f1f3f3; border-color: #e1e6e5; box-shadow: none; transform: none; }
