/* 5CKN Auth Portal v0.6.3 | Standalone presentation, no framework/assets. */
body.ckn-auth-page {
  margin: 0; padding: 0; min-width: 280px;
  color: #20392e; background: #f7faf8;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.ckn-auth-page *, .ckn-auth-page *::before, .ckn-auth-page *::after { box-sizing: border-box; }
.ckn-auth-page a { text-decoration: none; }
.ckn-auth-page button, .ckn-auth-page input { font: inherit; }
.ckn-auth-page button { cursor: pointer; }
.ckn-auth-page :focus-visible { outline: 3px solid rgba(30, 127, 92, .58); outline-offset: 3px; }
.ckn-auth-sr-only { position: absolute!important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ckn-auth-shell { display: grid; grid-template-columns: minmax(0, 47%) minmax(0, 53%); min-height: 100vh; min-height: 100svh; width: 100%; isolation: isolate; }

/* Brand side */
.ckn-auth-story {
  position: relative; overflow: hidden; min-height: 760px;
  background: linear-gradient(143deg, #113e31 0%, #0b3329 53%, #09251f 100%);
  color: white;
}
.ckn-auth-story::after { content: ''; position: absolute; inset: 0; opacity: .23; pointer-events: none;
  background-image: radial-gradient(rgba(188, 246, 210, .34) .7px, transparent .8px);
  background-size: 23px 23px;
  mask-image: linear-gradient(180deg, transparent 0%, black 50%, transparent 100%);
}
.ckn-auth-story__glow { position: absolute; width: 490px; height: 490px; border-radius: 50%; pointer-events: none; filter: blur(18px); }
.ckn-auth-story__glow--one { top: -300px; right: -270px; background: radial-gradient(circle, rgba(89, 192, 139, .34), transparent 70%); }
.ckn-auth-story__glow--two { bottom: -270px; left: -250px; background: radial-gradient(circle, rgba(61, 160, 112, .32), transparent 70%); }
.ckn-auth-story__content { position: relative; z-index: 1; width: min(100%, 760px); min-height: 100%; margin-inline: auto; display: flex; flex-direction: column; padding: clamp(36px, 4.6vw, 76px) clamp(32px, 5.25vw, 98px) 38px; }
.ckn-auth-brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: inherit; }
.ckn-auth-brand__mark { position: relative; display: grid; grid-template-columns: repeat(2, 9px); grid-template-rows: repeat(2, 9px); gap: 4px; width: 39px; height: 39px; padding: 8px; border-radius: 12px; background: #1e7f5c; transform: rotate(-9deg); }
.ckn-auth-brand__mark i { width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.ckn-auth-brand__mark i:nth-child(2) { opacity: .64; transform: scale(.72); }
.ckn-auth-brand__mark i:nth-child(3) { opacity: .78; transform: scale(.78); }
.ckn-auth-brand__mark i:nth-child(4) { transform: scale(1.1); }
.ckn-auth-brand__name { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.ckn-auth-brand__name strong { font-size: 25px; font-weight: 850; letter-spacing: -.045em; }
.ckn-auth-brand__name small { font-size: 9.5px; font-weight: 750; letter-spacing: .15em; }
.ckn-auth-brand--light { color: white; }
.ckn-auth-brand--light .ckn-auth-brand__mark { background: #fff; }
.ckn-auth-brand--light .ckn-auth-brand__mark i { background: #1e7f5c; }
.ckn-auth-story__hero { padding-top: clamp(48px, 7vh, 86px); }
.ckn-auth-story__tag { display: inline-flex; align-items: center; gap: 9px; color: #bce8cb; font-size: 10px; font-weight: 780; line-height: 1.5; letter-spacing: .16em; }
.ckn-auth-story__tag-dot { width: 7px; height: 7px; background: #9eebbe; border-radius: 50%; box-shadow: 0 0 0 5px rgba(159, 233, 190, .13); }
.ckn-auth-story__hero h2 { max-width: 550px; margin: 21px 0 19px; color: #fff; font-size: clamp(38px, 4.4vw, 73px); line-height: 1.09; font-weight: 800; letter-spacing: -.053em; }
.ckn-auth-story__hero h2 span { display: block; color: #97dcb1; }
.ckn-auth-story__hero p { max-width: 425px; color: #b7d5c5; font-size: clamp(13px, 1.08vw, 16px); line-height: 1.85; margin: 0; }
.ckn-auth-story__visual { position: relative; align-self: center; width: min(100%, 465px); margin-top: 8px; aspect-ratio: 520 / 440; }
.ckn-auth-story__visual svg { width: 100%; height: 100%; overflow: visible; animation: ckn-auth-orbit-in .75s ease-out both; }
.ckn-auth-story__floating { position: absolute; display: inline-flex; align-items: center; gap: 11px; padding: 13px 18px; border: 1px solid rgba(221,255,236,.22); border-radius: 17px; background: rgba(246,255,249,.12); box-shadow: 0 16px 30px rgba(4,24,15,.12); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.ckn-auth-story__floating--community { top: 17%; left: 1%; }
.ckn-auth-story__floating--opportunity { bottom: 15%; right: 0; }
.ckn-auth-story__floating-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 11px; color: #1c6e4f; background: #d7f8e5; font-size: 20px; font-weight: 800; }
.ckn-auth-story__floating strong, .ckn-auth-story__floating small { display: block; white-space: nowrap; }
.ckn-auth-story__floating strong { font-size: 13px; font-weight: 750; }
.ckn-auth-story__floating small { margin-top: 3px; color: #c5e4d2; font-size: 10px; }
.ckn-auth-story__bottom { margin-top: auto; padding-top: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: #a7cdb9; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.ckn-auth-story__sep { width: 3px; height: 3px; background: #79c79d; border-radius: 50%; }

/* Form side */
.ckn-auth-main { min-width: 0; min-height: 100%; display: flex; flex-direction: column; padding: 34px clamp(24px, 5.1vw, 82px) 24px; background: linear-gradient(145deg, #fbfdfb 0%, #f4f8f5 100%); }
.ckn-auth-top { display: flex; min-height: 38px; align-items: center; justify-content: flex-end; }
.ckn-auth-brand--mobile { display: none; color: #173b2e; }
.ckn-auth-top__back { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 10px; border-radius: 12px; color: #4c6459; font-size: 12px; font-weight: 690; transition: background .2s ease, color .2s ease; }
.ckn-auth-top__back:hover { color: #166d4d; background: #e8f5eb; }
.ckn-auth-top__back span { font-size: 19px; font-weight: 450; }
.ckn-auth-main__content { width: min(100%, 530px); margin: auto; padding: 28px 0 35px; }
.ckn-auth-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #8a9a90; font-size: 11px; line-height: 1.5; }
.ckn-auth-bottom__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ckn-auth-bottom a { color: #547263; }
.ckn-auth-bottom a:hover { color: #1e7f5c; }

/* Restyle the Core-generated account forms only inside the standalone auth shell. */
.ckn-auth-shell .ncc-auth { max-width: none; width: 100%; margin: 0; padding: 0; color: #18382a; }
.ckn-auth-shell .ncc-auth__brand { display: none; }
.ckn-auth-shell .ncc-auth__panel { padding: clamp(26px, 3.4vw, 46px); border: 1px solid #e2ebe5; border-radius: 27px; background: rgba(255,255,255,.98); box-shadow: 0 28px 65px rgba(25, 72, 48, .065), 0 2px 7px rgba(25,72,48,.025); animation: ckn-auth-card-in .42s cubic-bezier(.2,.9,.24,1) both; }
.ckn-auth-shell .ncc-auth__eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #1e7f5c; font-size: 10px; font-weight: 820; letter-spacing: .135em; }
.ckn-auth-shell .ncc-auth__eyebrow::before { content:''; width: 16px; height: 2px; background: currentColor; border-radius: 2px; }
.ckn-auth-shell .ncc-auth h2 { margin: 14px 0 10px; color: #143628; font-size: clamp(27px, 3.25vw, 39px); line-height: 1.18; letter-spacing: -.046em; font-weight: 800; }
.ckn-auth-shell .ncc-auth h3 { color: #234938; font-size: 18px; }
.ckn-auth-shell .ncc-auth__intro { max-width: 420px; margin: 0 0 28px; color: #78887f; font-size: 13.5px; line-height: 1.8; }
.ckn-auth-shell .ncc-auth__form { gap: 18px; }
.ckn-auth-shell .ncc-auth__form > label:not(.ncc-auth__inline) { display: grid; gap: 8px; margin: 0; color: #32493d; font-size: 12.5px; font-weight: 740; line-height: 1.4; }
.ckn-auth-shell .ncc-auth__form input:not([type=checkbox]) { display: block; width: 100%; min-height: 53px; margin: 0; border: 1px solid #d9e6de; border-radius: 13px; background: #fbfdfa; padding: 13px 15px; color: #193a2b; font-size: 16px; font-weight: 510; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.ckn-auth-shell .ncc-auth__form input:not([type=checkbox]):hover { border-color: #a9c8b5; }
.ckn-auth-shell .ncc-auth__form input:not([type=checkbox]):focus { border-color: #1e7f5c; outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(30,127,92,.09); }
.ckn-auth-shell .ncc-auth__form input:-webkit-autofill { box-shadow: 0 0 0 1000px #f5fbf5 inset; -webkit-text-fill-color: #193a2b; }
.ckn-auth-shell .ncc-auth__inline { display: flex!important; flex-direction: row; align-items: flex-start; gap: 10px!important; margin: -2px 0 0; color: #5b7165; font-weight: 550!important; font-size: 12.5px; line-height: 1.6; }
.ckn-auth-shell .ncc-auth__inline input[type=checkbox] { accent-color: #1e7f5c; width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 18px; }
.ckn-auth-shell .ncc-auth__button { min-height: 54px; margin-top: 6px; border: 1px solid #17754f; border-radius: 13px; background: linear-gradient(100deg, #238b60, #187449); color: #fff!important; box-shadow: 0 12px 25px rgba(24,116,73,.21); font-size: 14px; font-weight: 790; letter-spacing: .005em; transition: box-shadow .2s ease, transform .18s ease, filter .18s ease; }
.ckn-auth-shell .ncc-auth__button:hover { background: linear-gradient(100deg, #279567, #197950); box-shadow: 0 15px 28px rgba(24,116,73,.25); filter: saturate(1.05); transform: translateY(-1px); }
.ckn-auth-shell .ncc-auth__button:active { transform: translateY(1px) scale(.99); box-shadow: 0 7px 14px rgba(24,116,73,.2); }
.ckn-auth-shell .ncc-auth__button:focus-visible { outline: 3px solid rgba(30,127,92,.45); outline-offset: 3px; }
.ckn-auth-shell .ncc-auth__links { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; }
.ckn-auth-shell .ncc-auth__links a { display: inline-flex; min-height: 38px; align-items: center; padding: 5px 0; color: #1e7f5c; font-weight: 720; }
.ckn-auth-shell .ncc-auth__links a:hover { color: #135a40; text-decoration: underline; }
.ckn-auth-shell .ncc-auth__notice { margin-bottom: 21px; padding: 13px 15px; border: 1px solid #c7e5d4; border-left: 3px solid #1e7f5c; border-radius: 11px; background: #f0faf4; color: #1a6746; font-size: 12.5px; line-height: 1.6; }
.ckn-auth-shell .ncc-auth__notice--error { background: #fff5f4; border-color: #f5c6c3; border-left-color: #cf554c; color: #97332b; }
.ckn-auth-shell .ncc-auth__identity { margin: 18px 0; padding: 17px 19px; border: 1px solid #e2eae5; background: #f6fbf7; border-radius: 13px; }
.ckn-auth-shell .ncc-auth__identity strong { color: #254735; font-size: 15px; }
.ckn-auth-shell .ncc-auth__identity span { color: #6b8073; overflow-wrap: anywhere; font-size: 12px; }
.ckn-auth-shell .ncc-auth__honey { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; opacity: 0!important; pointer-events: none!important; }
.ckn-auth-shell .ncc-auth__form .ckn-auth-password { position: relative; display: block; width: 100%; }
.ckn-auth-shell .ncc-auth__form .ckn-auth-password input:not([type=checkbox]) { padding-right: 72px; }
.ckn-auth-password__toggle { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; min-width: 49px; min-height: 40px; padding: 5px 8px; border: 0; border-radius: 9px; background: transparent; color: #1e7f5c; font-size: 12px; font-weight: 750; }
.ckn-auth-password__toggle:hover { background: #e8f4eb; }

@keyframes ckn-auth-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ckn-auth-orbit-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1200px) {
  .ckn-auth-shell { grid-template-columns: 43% 57%; }
  .ckn-auth-story__content { padding-inline: clamp(28px, 4vw, 65px); }
  .ckn-auth-story__hero h2 { font-size: clamp(38px, 4.6vw, 56px); }
  .ckn-auth-main { padding-inline: clamp(22px, 4vw, 58px); }
  .ckn-auth-story__floating { padding: 9px 12px; }
}
@media (max-width: 900px) {
  .ckn-auth-shell { display: flex; flex-direction: column; }
  .ckn-auth-story { min-height: 0; height: 242px; flex: 0 0 242px; }
  .ckn-auth-story__content { width: 100%; padding: 23px 28px 20px; }
  .ckn-auth-brand--light { display: none; }
  .ckn-auth-story__hero { position: relative; z-index: 2; max-width: 450px; padding-top: 8px; }
  .ckn-auth-story__tag { font-size: 9px; }
  .ckn-auth-story__hero h2 { margin: 18px 0 10px; font-size: clamp(29px, 4.8vw, 42px); }
  .ckn-auth-story__hero h2 span { display: inline; }
  .ckn-auth-story__hero p { font-size: 12px; line-height: 1.65; }
  .ckn-auth-story__visual { position: absolute; top: -76px; right: -90px; width: 360px; opacity: .28; }
  .ckn-auth-story__floating, .ckn-auth-story__bottom { display: none; }
  .ckn-auth-main { flex: 1 1 auto; min-height: 0; padding: 0 clamp(18px, 4vw, 34px) max(16px, env(safe-area-inset-bottom, 0px)); }
  .ckn-auth-top { order: -1; justify-content: space-between; padding: 16px 0 10px; }
  .ckn-auth-brand--mobile { display: inline-flex; }
  .ckn-auth-brand--mobile .ckn-auth-brand__mark { width: 33px; height: 33px; padding: 6px; border-radius: 10px; }
  .ckn-auth-brand--mobile .ckn-auth-brand__name strong { font-size: 20px; }
  .ckn-auth-brand--mobile .ckn-auth-brand__name small { font-size: 8px; }
  .ckn-auth-main__content { width: min(100%, 580px); padding: 8px 0 30px; margin: 0 auto; }
  .ckn-auth-bottom { width: min(100%, 580px); margin: auto auto 0; padding: 6px 0 12px; }
}
@media (max-width: 540px) {
  .ckn-auth-story { height: 202px; flex-basis: 202px; }
  .ckn-auth-story__content { padding-inline: 21px; }
  .ckn-auth-story__hero { padding-top: 2px; }
  .ckn-auth-story__tag { font-size: 8px; letter-spacing: .105em; }
  .ckn-auth-story__hero h2 { margin: 14px 0 9px; font-size: clamp(28px, 7.2vw, 34px); max-width: 340px; }
  .ckn-auth-story__hero p { max-width: 320px; font-size: 11px; }
  .ckn-auth-story__visual { width: 310px; top: -53px; right: -143px; opacity: .23; }
  .ckn-auth-main { padding-inline: 15px; }
  .ckn-auth-top { padding: 12px 4px 11px; }
  .ckn-auth-top__back { font-size: 11px; padding-inline: 5px; }
  .ckn-auth-shell .ncc-auth__panel { border-radius: 22px; padding: 25px 21px 27px; box-shadow: 0 15px 40px rgba(25,72,48,.06); }
  .ckn-auth-shell .ncc-auth h2 { font-size: 29px; }
  .ckn-auth-shell .ncc-auth__intro { margin-bottom: 23px; font-size: 12.5px; }
  .ckn-auth-shell .ncc-auth__form { gap: 16px; }
  .ckn-auth-shell .ncc-auth__form input:not([type=checkbox]) { min-height: 52px; }
  .ckn-auth-bottom { justify-content: center; text-align: center; gap: 6px; font-size: 10.5px; }
  .ckn-auth-bottom__links { justify-content: center; }
}
@media (max-width: 340px) {
  .ckn-auth-story__hero h2 { font-size: 26px; }
  .ckn-auth-shell .ncc-auth__panel { padding-inline: 16px; }
  .ckn-auth-brand__name small { letter-spacing: .09em; }
}
@media (prefers-reduced-motion: reduce) {
  .ckn-auth-shell *, .ckn-auth-shell *::before, .ckn-auth-shell *::after {
    animation: none!important; transition: none!important;
  }
}

/* v0.7.0 official brand symbol: no changes to Core account forms. */
.ckn-auth-brand__mark,.ckn-auth-brand--light .ckn-auth-brand__mark{display:grid;place-items:center;grid-template:none;transform:none;background:transparent;padding:0;box-shadow:none;border-radius:0;overflow:visible;width:44px;height:44px}
.ckn-auth-brand__mark img{display:block;width:44px;height:44px;object-fit:contain}
.ckn-auth-brand__name strong{font-size:21px}.ckn-auth-brand__name small{letter-spacing:.04em}
