/* Sign in and create account. Uses the tokens in site.css. */
body.auth { min-height: 100vh; background: #fafafa; }
.au { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 100vh; }
.au-l { display: flex; flex-direction: column; padding: 28px 40px; }
.au-l .brand { align-self: flex-start; }
.au-box { width: min(420px, 100%); margin: auto; padding: 40px 0; }
.au-box h1 { margin: 0; font-weight: 500; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.04em; }
.au-box h1 .gl { color: var(--glaze); transition: color 1s; }
.au-sub { margin: 12px 0 28px; font-size: 16.5px; color: var(--muted); }
.idea { display: flex; gap: 12px; margin: -8px 0 24px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #ececec; font-size: 14.5px; }
.idea .ik { width: 32px; height: 32px; flex: none; } .idea .ik canvas { width: 32px; height: 32px; display: block; }
.idea b { display: block; font-weight: 600; } .idea span span { color: var(--muted); }
.provs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prov { display: grid; place-items: center; height: 54px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e6e6e6; transition: box-shadow .2s, transform .2s; }
.prov svg { width: 22px; height: 22px; }
.prov:hover { box-shadow: 0 0 0 1.5px #111, 0 10px 24px -16px rgba(0,0,0,.4); transform: translateY(-1px); }
.or { display: flex; align-items: center; gap: 14px; margin: 24px 0; font-size: 13.5px; color: #9a9a9a; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #e8e8e8; }
.fld2 { display: grid; gap: 7px; margin-bottom: 14px; }
.fld2 label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
.fld2 label button, .fld2 label a { border: 0; background: none; padding: 0; font: inherit; font-weight: 500; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fld2 input { height: 52px; padding: 0 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e3e3e3; font: 400 16px var(--font); outline: none; transition: box-shadow .2s; }
.fld2 input:focus { box-shadow: 0 0 0 2px var(--glaze); }
.pwrap { position: relative; } .pwrap input { width: 100%; padding-right: 64px; }
.pwrap .sh { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 10px; border: 0; border-radius: 9px; background: #f3f3f3; font: 500 13px var(--font); cursor: pointer; }
.meter2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; } .meter2 i { height: 4px; border-radius: 4px; background: #e8e8e8; transition: background .25s; }
.meter2[data-s="1"] i:nth-child(-n+1), .meter2[data-s="2"] i:nth-child(-n+2) { background: #e0a526; } .meter2[data-s="3"] i:nth-child(-n+3), .meter2[data-s="4"] i { background: #3f9a72; }
.amsg { margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; background: #fdecea; color: #8a2a1e; font-size: 14px; }
.amsg[hidden] { display: none; }
/* the way out of a failed step: "Send me a reset link", "Log in instead" */
.amsg-act { display: inline; margin-left: 4px; border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.go { width: 100%; height: 54px; border: 0; border-radius: 14px; background: #111; color: #fff; font: 600 16px var(--font); cursor: pointer; transition: background .3s, transform .15s; }
.go:hover { background: var(--glaze); } .go:active { transform: scale(.98); } .go:disabled { opacity: .7; }
.fine { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: #9a9a9a; } .fine a { color: var(--muted); text-decoration: underline; }
.switch { margin: 28px 0 0; font-size: 15px; color: var(--muted); } .switch a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.au-l .legal { margin-top: auto; display: flex; gap: 18px; font-size: 13px; color: #9a9a9a; }
.sent { text-align: left; } .sent .big { width: 64px; height: 64px; margin-bottom: 18px; } .sent .big canvas { width: 64px; height: 64px; display: block; }
.textlink { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* right side: a living panel */
.au-r { position: relative; overflow: hidden; margin: 12px; border-radius: 30px; background: #17130f; color: #f6f2ea; display: grid; place-items: center; padding: 48px; }
.au-r::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 25% 20%, color-mix(in srgb, var(--glaze) 35%, transparent), transparent 70%), radial-gradient(45% 45% at 85% 90%, color-mix(in srgb, var(--glaze2) 30%, transparent), transparent 70%); transition: background 1s; }
.ab { position: relative; width: min(460px, 100%); }
.ab-q { font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
.ab-q .gl { color: var(--glaze); }
.ab-card { margin-top: 30px; padding: 20px; border-radius: 22px; background: #fff; color: #111; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.ab-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.ab-top .k { width: 30px; height: 30px; } .ab-top .k canvas { width: 30px; height: 30px; display: block; }
.ab-top b { font-weight: 600; } .ab-top span:last-child { margin-left: auto; color: #8a8a8a; font-size: 12.5px; }
.ab-step { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #f0f0f0; font-size: 14.5px; color: #9a9a9a; transition: color .3s; }
.ab-step i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid #ddd; transition: background .3s, border-color .3s; }
.ab-step.on { color: #111; } .ab-step.on i { border-color: #3f9a72; background: #3f9a72 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 11px no-repeat; }
.ab-quote { display: flex; gap: 12px; align-items: center; margin-top: 26px; font-size: 14.5px; color: rgba(246,242,234,.8); }
.ab-quote .av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #c4724f, #9a84b6); flex: none; }
.ab-quote b { display: block; color: #fff; font-weight: 500; }
.ab-fam { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 8px; }
.ab-fam span { width: 34px; height: 34px; animation: hop 6s ease-in-out infinite; animation-delay: var(--d); } .ab-fam canvas { width: 34px; height: 34px; display: block; }
@media (max-width: 960px) { .au { grid-template-columns: 1fr; } .au-r { display: none; } .au-l { padding: 22px 20px; } }
@media (max-width: 420px) { .provs { gap: 8px; } .prov { height: 50px; } }

.prov { border: 0; cursor: pointer; } .prov.busy { opacity: .5; pointer-events: none; }
.codes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 18px; }
.codes input { min-width: 0; height: 60px; border: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e3e3e3; text-align: center; font: 600 24px var(--font); outline: none; transition: box-shadow .2s; }
.codes input:focus { box-shadow: 0 0 0 2px var(--glaze); }
.codes input:nth-child(3) { margin-right: 8px; }
.human-slot iframe{border:0;width:100%;height:70px}
.human-slot.ask{min-height:70px;margin:12px 0}
.provs[hidden],.or[hidden]{display:none!important}

/* the "Kovi will start from" note only when there is something to carry */
.idea[hidden]{display:none}
