:root{--green:#07563d;--deep:#003e2d;--cream:#fff7df;--lime:#9bd23e;--text:#173d30;--muted:#64756b;--line:#d6dfd5;--danger:#c73535}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 20%,#176b4b 0,#06452f 48%,#003526 100%);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text)}
.tk-shell{width:min(720px,100%);margin:0 auto;padding:28px 18px 42px}.tk-brand{text-align:center;color:#fff4d8;margin:8px 0 26px}.tk-brand h1{font-size:30px;letter-spacing:3px;margin:8px 0 3px}.tk-brand p{letter-spacing:3px;font-size:12px;font-weight:800;margin:0}.tk-card{background:linear-gradient(145deg,#fff8e7,#f6edcf);border-radius:30px;padding:26px 24px;box-shadow:0 18px 45px #001b1260;border:1px solid #fff9}.tk-card h2{margin:0 0 7px;text-align:center;font-size:27px;color:#174b37}.tk-sub{text-align:center;color:#6c796f;margin:0 0 22px}.tk-field{margin:14px 0}.tk-field label{display:block;font-weight:750;font-size:13px;margin:0 0 7px}.tk-input,.tk-select,.tk-textarea{width:100%;height:54px;border:1px solid #cbd4c9;border-radius:17px;background:white;padding:0 16px;font-size:16px;color:#203c30;outline:none}.tk-input:focus,.tk-select:focus,.tk-textarea:focus{border-color:#16814e;box-shadow:0 0 0 3px #16814e20}.tk-textarea{height:100px;padding:14px;resize:vertical}.tk-row{display:flex;gap:12px}.tk-row>*{flex:1;min-width:0}.tk-btn{border:0;border-radius:18px;min-height:54px;padding:13px 18px;font-size:16px;font-weight:800;cursor:pointer}.tk-primary{background:linear-gradient(100deg,#a5d63f,#168148);color:white;box-shadow:0 5px 12px #145a3233}.tk-secondary{background:#fff;color:#1d503b;border:1px solid #d2dbd0}.tk-danger{background:#f4e5e1;color:#9e3028}.tk-actions{display:flex;gap:12px;margin-top:22px}.tk-actions>*{flex:1}.tk-note{font-size:12px;line-height:1.5;color:#68776d}.tk-error{color:#bd2e2e;font-size:12px;font-weight:700}.tk-success{color:#147345;font-size:13px;font-weight:700}.tk-link{color:#197848;font-weight:800;text-decoration:none}.tk-photo{width:132px;height:132px;border-radius:50%;border:3px dashed #85a990;background:#fff;display:grid;place-items:center;overflow:hidden;margin:12px auto;position:relative}.tk-photo img{width:100%;height:100%;object-fit:cover}.tk-pill{display:inline-block;background:#e3efd9;color:#28623e;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800}.tk-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.5}.tk-checkbox input{width:19px;height:19px;accent-color:#168148}.tk-topline{height:5px;background:#dce4d7;border-radius:20px;overflow:hidden;margin:16px 0 22px}.tk-topline span{display:block;height:100%;background:linear-gradient(90deg,#a5d63f,#168148);width:33%}
#tkGlobalLoader{position:fixed;inset:0;background:rgba(0,43,31,.92);z-index:99999;display:none;align-items:center;justify-content:center;padding:24px;color:#fff4d8}#tkGlobalLoader.show{display:flex}.tk-loader-card{text-align:center;width:min(330px,100%);padding:32px 24px;border-radius:28px;background:linear-gradient(145deg,#fff8e7,#f2ebd1);color:#174b37;box-shadow:0 20px 60px #001b1270}.tk-spinner{width:62px;height:62px;border:6px solid #dce8d5;border-top-color:#168148;border-right-color:#a5d63f;border-radius:50%;margin:0 auto 18px;animation:tkspin .8s linear infinite}.tk-loader-card strong{font-size:21px}.tk-loader-card p{font-size:13px;color:#6a776d;margin:8px 0 0}@keyframes tkspin{to{transform:rotate(360deg)}}
.tk-modal{position:fixed;inset:0;background:#001d16b8;display:none;z-index:1000;padding:18px;align-items:center;justify-content:center}.tk-modal.open{display:flex}.tk-modal-card{background:#fff8e7;border-radius:24px;width:min(620px,100%);max-height:88vh;display:flex;flex-direction:column;overflow:hidden}.tk-modal-head,.tk-modal-foot{padding:17px 20px;border-bottom:1px solid #e3e6da}.tk-modal-foot{border:0;border-top:1px solid #e3e6da}.tk-modal-body{padding:18px 22px;overflow:auto;line-height:1.6;font-size:13px}.tk-modal-body h3{font-size:14px;color:#14583b}.tk-camera{position:relative;width:min(100%,360px);margin:0 auto;background:#071d16;border-radius:24px;overflow:hidden;aspect-ratio:3/4}.tk-camera video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}.tk-face-frame{position:absolute;inset:13% 17%;border:4px solid #d93c3c;border-radius:48% 48% 44% 44%;box-shadow:0 0 0 999px #00140d38;pointer-events:none;transition:border-color .15s}.tk-face-frame.good{border-color:#2ee879;box-shadow:0 0 0 999px #00140d38,0 0 20px #2ee879}.tk-camera-status{color:#fff;text-align:center;font-weight:800;margin:12px 0}.tk-bank-results{max-height:230px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}.tk-bank-option{padding:11px 14px;border-bottom:1px solid #edf0e9;cursor:pointer}.tk-bank-option:active,.tk-bank-option:hover{background:#eaf4e4}
@media(max-width:430px){.tk-shell{padding:16px 12px 30px}.tk-card{padding:22px 16px;border-radius:25px}.tk-brand h1{font-size:26px}.tk-input,.tk-select{height:52px}.tk-row{gap:8px}}

/* Registration password strength feedback */
.tk-password-checklist{display:grid;grid-template-columns:1fr;gap:5px;margin:9px 3px 0;font-size:12px;font-weight:700;color:#b73535}
.tk-password-checklist [data-rule].valid{color:#147345}
.tk-input.tk-input-invalid{border:2px solid #c73535!important;background:#fffafa}
.tk-input.tk-input-valid{border:2px solid #168148!important;background:#f5fff7}
#confirmPasswordStatus{margin:7px 2px 0;font-size:12px;font-weight:700}
#captureFace[hidden]{display:none!important}

/* Respect hidden state for the on-demand password checklist. */
.tk-password-checklist[hidden]{display:none!important}

/* Password visibility and validation states */
.tk-password-wrap{position:relative;width:100%}.tk-password-wrap>.tk-input{padding-right:58px}.tk-password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:12px;background:transparent;color:#315c48;display:grid;place-items:center;cursor:pointer}.tk-password-toggle:focus-visible{outline:2px solid #168148;outline-offset:2px}.tk-password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.tk-password-checklist[hidden],#confirmPasswordStatus[hidden]{display:none!important}

/* Registration terms modal and duplicate-account notice */
.tk-terms-card{height:min(88vh,900px)}
#termsFrame{display:block;width:100%;height:100%;min-height:0;flex:1;border:0;background:#fff8e7}
.tk-terms-actions{display:flex;gap:12px;padding:14px 18px}
.tk-terms-actions>*{flex:1}
.tk-notice{position:fixed;z-index:20000;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translateX(-50%);width:min(92vw,560px);padding:14px 18px;border-radius:14px;background:#e5f6e9;border:1px solid #80c99a;color:#12643a;box-shadow:0 8px 28px #001b1240;font-weight:800;text-align:center}
.tk-notice[hidden]{display:none!important}
.tk-email-verified{color:#147345!important;font-weight:800}
.tk-email-duplicate{color:#147345!important;font-weight:800}


/* Registration Google action — premium, clearly clickable 3D treatment */
.tk-google-3d{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex!important;align-items:center;justify-content:center;gap:11px;
  min-height:58px!important;border:1px solid #16804f!important;border-radius:18px!important;
  color:#fff!important;font-weight:850!important;letter-spacing:.1px;
  background:linear-gradient(110deg,#0b6848 0%,#168b55 42%,#78b82f 100%)!important;
  box-shadow:0 7px 0 #075238,0 11px 20px #073f2b42,inset 0 1px 0 #ffffff65!important;
  text-shadow:0 1px 1px #003d2b55;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.tk-google-3d:before{
  content:"";position:absolute;inset:-45% auto -45% -35%;width:24%;
  transform:skewX(-22deg);background:linear-gradient(90deg,transparent,#ffffff70,transparent);
  animation:tkGoogleShine 3.4s ease-in-out infinite;z-index:-1;
}
.tk-google-3d:active{transform:translateY(4px);box-shadow:0 3px 0 #075238,0 5px 10px #073f2b35!important}
.tk-google-3d:disabled{opacity:.72;filter:saturate(.7)}
.tk-google-mark{
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:#fff;color:#4285f4;font-size:21px;font-weight:950;font-family:Arial,sans-serif;
  text-shadow:1px 0 #34a853,-1px 0 #ea4335,0 1px #fbbc05;box-shadow:0 2px 5px #002d1c45;
}
.tk-google-arrow{font-size:19px;font-weight:900;opacity:.9}
@keyframes tkGoogleShine{0%,38%{left:-40%}72%,100%{left:130%}}
@media(prefers-reduced-motion:reduce){.tk-google-3d:before{animation:none}.tk-google-3d{transition:none}}

/* Keep the saved owner photo visibly present after returning from OAuth. */
#ownerPreview{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
#ownerPreview[hidden]{display:none!important}


/* Registration correction: compact text-only Google button. */
.tk-google-3d{
  min-height:48px!important;height:48px!important;padding:9px 14px!important;
  width:100%!important;max-width:100%;border-radius:14px!important;
  gap:0!important;box-shadow:0 3px 0 #075238,0 5px 10px #073f2b30,inset 0 1px 0 #ffffff55!important;
  font-size:15px!important;line-height:1.2!important;
}
.tk-google-3d .tk-google-mark,.tk-google-3d .tk-google-arrow{display:none!important}
.tk-google-3d:active{
  transform:translateY(2px);
  box-shadow:0 1px 0 #075238,0 3px 7px #073f2b25!important;
}

/* Profile photo is directly tappable; pencil is a small overlay action. */
.tk-photo-wrap{
  position:relative;width:132px;height:132px;margin:12px auto;
}
.tk-photo-wrap .tk-photo{margin:0;width:132px;height:132px;cursor:pointer}
.tk-photo-edit{
  position:absolute;right:-3px;bottom:2px;z-index:3;
  width:34px;height:34px;border:2px solid #fff8e7;border-radius:50%;
  display:grid;place-items:center;padding:0;
  color:#fff;background:linear-gradient(135deg,#08734c,#91c83e);
  box-shadow:0 3px 9px #003d2b55;cursor:pointer;
}
.tk-photo-edit svg{width:17px;height:17px;fill:none;stroke:currentColor;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tk-photo-edit:active{transform:scale(.94)}
#mobileStatus[hidden]{display:none!important}

/* TRUE KITCHEN - ALL FACE VERIFICATION MESSAGES GREEN */
#cameraModal .tk-camera-status,
#cameraModal .tk-note,
#cameraModal .tk-note *,
#cameraModal .tk-camera-status * {
    color: #168148 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

