/* GENERALtrade v438 — compact security workflows */
body.gt-native-app.gt-security-page{padding-top:calc(60px + env(safe-area-inset-top))!important;padding-bottom:calc(76px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
body.gt-native-app.gt-security-page>.gt-native-topbar{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:2147483000!important}
body.gt-native-app.gt-security-page>.gt-native-bottom{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;height:66px!important;min-height:66px!important;z-index:2147483640!important}
.gt-sec-screen{width:min(100%,560px);margin:8px auto 0;padding:0 12px calc(28px + env(safe-area-inset-bottom));box-sizing:border-box}
.gt-sec-head{position:relative;width:100%;height:58px;min-height:58px;max-height:58px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;justify-content:center;margin:0 0 10px;padding:8px 8px;border:1px solid rgba(70,235,145,.20);border-radius:16px;background:linear-gradient(180deg,rgba(9,71,59,.92),rgba(5,40,32,.96));box-shadow:0 10px 26px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.035);box-sizing:border-box}
.gt-sec-head h1{grid-column:2;grid-row:1;margin:0;color:#edf6f1;font-size:1.02rem;line-height:1.1;font-weight:900;letter-spacing:-.02em;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gt-sec-back{grid-column:1;grid-row:1;justify-self:start;position:relative;left:auto;top:auto;transform:none;width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;max-height:36px;display:grid;place-items:center;border:1px solid rgba(85,230,160,.22);border-radius:11px;background:rgba(4,28,22,.48);color:#f3faf6;text-decoration:none;font-size:1.45rem;line-height:1}
.gt-sec-card{border:1px solid rgba(85,230,160,.13);border-radius:16px;background:linear-gradient(145deg,#0b1d15,#07150f);overflow:hidden;margin-bottom:10px}
.gt-sec-section{padding:12px 14px 7px;color:#55e6a0;font-size:.51rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.gt-sec-row{position:relative;display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 14px;border-top:1px solid rgba(255,255,255,.045);text-decoration:none;color:#edf5f1;box-sizing:border-box}
.gt-sec-row:first-of-type{border-top:0}
.gt-sec-icon{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border-radius:11px;background:rgba(85,230,160,.08);color:#55e6a0}
.gt-sec-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gt-sec-copy{min-width:0;flex:1}.gt-sec-copy strong{display:block;font-size:.67rem;line-height:1.2}.gt-sec-copy small{display:block;margin-top:3px;color:#748980;font-size:.51rem;line-height:1.3}.gt-sec-arrow{color:#82958e;font-size:1.25rem;line-height:1}
.gt-sec-status{margin-right:3px;color:#748980;font-size:.50rem;font-weight:800;white-space:nowrap}.gt-sec-status.set{color:#55e6a0}
.gt-sec-intro{padding:14px}.gt-sec-intro p{margin:0;color:#82968e;font-size:.56rem;line-height:1.45}.gt-sec-intro strong{color:#edf5f1}
.gt-sec-form{padding:0 14px 14px}.gt-sec-field{display:block;margin-top:10px;color:#82968e;font-size:.55rem;font-weight:800}.gt-sec-field input{width:100%;box-sizing:border-box;margin-top:5px;min-height:42px;padding:0 12px;border:1px solid rgba(85,230,160,.12);border-radius:11px;background:rgba(0,0,0,.13);color:#edf5f1;font:inherit;font-size:.68rem;outline:none}.gt-sec-field input:focus{border-color:rgba(85,230,160,.45);box-shadow:0 0 0 3px rgba(85,230,160,.06)}
.gt-pin{letter-spacing:.55em;text-align:center;font-weight:900}.gt-sec-button{width:100%;min-height:42px;margin-top:12px;border-radius:11px!important;font-size:.60rem!important}.gt-sec-msg{min-height:15px;margin:8px 1px 0;color:#82968e;font-size:.54rem;line-height:1.35}.gt-sec-msg.ok{color:#55e6a0}.gt-sec-msg.err{color:#ff9696}.gt-sec-note{padding:10px 14px;border-top:1px solid rgba(255,255,255,.045);color:#6f837b;font-size:.50rem;line-height:1.4}
.gt-sec-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:11px}.gt-sec-keypad button{min-height:42px;border:1px solid rgba(85,230,160,.12);border-radius:11px;background:rgba(255,255,255,.025);color:#edf5f1;font:inherit;font-weight:850;font-size:.72rem}.gt-sec-keypad button:active{transform:scale(.98);background:rgba(85,230,160,.08)}
.gt-sec-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid rgba(85,230,160,.14);border-radius:999px;color:#7f958c;font-size:.49rem;font-weight:800}.gt-sec-pill.set{color:#55e6a0}
@media(max-width:600px){body.gt-security-page input,body.gt-security-page textarea,body.gt-security-page select{font-size:16px!important;line-height:1.25!important;-webkit-appearance:none!important;}body.gt-security-page input[type='password'],body.gt-security-page input[type='number'],body.gt-security-page input[inputmode='numeric']{font-size:16px!important;line-height:1.25!important;transform:none!important;zoom:1!important;}body.gt-security-page{touch-action:pan-y!important;}body.gt-security-page .gt-sec-screen{padding-top:0!important;margin-top:8px!important;}}
@media(max-width:420px){.gt-sec-screen{padding-left:10px;padding-right:10px}.gt-sec-head{height:56px;min-height:56px;max-height:56px;border-radius:15px}.gt-sec-row{min-height:62px;padding:9px 13px}.gt-sec-copy strong{font-size:.64rem}.gt-sec-copy small{font-size:.50rem}}

/* v442 — security-page foundation spacing.
   The fixed customer header is shell chrome, so the security content starts
   below the shell boundary itself, with a small deliberate breathing space.
   Do not use a page-card margin to create this offset; that makes the title
   board appear to kiss the fixed header on some mobile viewport geometries. */
body.gt-native-app.gt-security-page{
  padding-top:calc(60px + env(safe-area-inset-top) + 10px)!important;
}
.gt-sec-screen{margin-top:0!important}
/* v450 — security workflow controls. Scoped only to Password & biometrics pages. */
.gt-sec-action-row{display:grid;gap:0;border-top:1px solid rgba(255,255,255,.045)}
.gt-sec-action{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;min-height:62px;border:0;border-top:1px solid rgba(255,255,255,.045);background:transparent;color:#edf5f1;text-align:left;font:inherit}
.gt-sec-action:first-child{border-top:0}.gt-sec-action span{min-width:0}.gt-sec-action strong{display:block;font-size:.65rem;line-height:1.2}.gt-sec-action small{display:block;margin-top:3px;color:#748980;font-size:.50rem;line-height:1.3}.gt-sec-action b{color:#82958e;font-size:1.25rem;font-weight:500}
.gt-sec-reset-card{margin:0 14px 14px;padding:12px;border:1px solid rgba(85,230,160,.12);border-radius:12px;background:rgba(0,0,0,.10)}
.gt-sec-reset-title{margin:0;color:#edf5f1;font-size:.58rem;line-height:1.4}.gt-sec-reset-title span{display:block;margin-top:3px;color:#748980;font-size:.50rem}.gt-sec-reset-card .gt-sec-button{margin-top:9px}
.gt-sec-toggle{min-width:48px;height:32px;padding:0 9px;border:1px solid rgba(85,230,160,.16);border-radius:999px;background:rgba(0,0,0,.12);color:#82958e;font:inherit;font-size:.50rem;font-weight:900}.gt-sec-toggle.on{border-color:rgba(85,230,160,.34);background:rgba(85,230,160,.10);color:#55e6a0}.gt-sec-toggle:disabled{opacity:.55}
.gt-sec-auth{margin:0 14px 12px;padding:0 0 1px}.gt-sec-auth .gt-sec-button{margin-top:10px}
.gt-sec-auth .gt-sec-field{margin-top:9px}.gt-sec-auth .gt-sec-msg{margin-bottom:0}
.gt-sec-intro a{color:#55e6a0;text-decoration:none;font-weight:800}
.gt-sec-step-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 14px}.gt-sec-step-actions .gt-sec-button{margin-top:0}.gt-sec-step-actions #backButton{grid-column:1}.gt-sec-step-actions #nextButton{grid-column:2}.gt-sec-step-actions #backButton[hidden]+#nextButton{grid-column:2}



/* v470 — security workflow viewport lock.
   The security content uses the stable small viewport; iOS keyboards are
   overlays and must never resize/pan the sovereign shell. */
html,body.gt-security-page{overflow-x:hidden!important;overflow-anchor:none!important;}
body.gt-custom-keyboard-page{overflow:hidden!important;height:100svh!important;min-height:100svh!important;}
body.gt-custom-keyboard-page .gt-sec-screen{min-height:calc(100svh - 130px)!important;}
body.gt-custom-keyboard-open .gt-sec-screen{overflow:hidden!important;}
body.gt-password-workflow{overflow:hidden!important;height:100svh!important;min-height:100svh!important;}
body.gt-password-workflow .gt-sec-screen{
  position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  width:min(100%,560px)!important;
  height:auto!important;
  min-height:calc(100svh - 130px)!important;
  max-height:none!important;
  margin:0 auto!important;
  overflow:visible!important;
  touch-action:pan-y!important;
}
body.gt-password-workflow .gt-sec-screen input{scroll-margin:0!important;}

/* v469.1 — action controls remain tappable if an overlay reaches their area. */
body.gt-security-page .gt-sec-step-actions{position:relative!important;z-index:2147483642!important;}

/* v471 — security success boards and native account-password keyboard overlay. */
.gt-sec-success{text-align:center;padding:22px 16px 18px}.gt-sec-success-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:rgba(85,230,160,.10);border:1px solid rgba(85,230,160,.28);color:#55e6a0;font-size:1.55rem;font-weight:900}.gt-sec-success-eyebrow{margin:0 0 7px;color:#55e6a0;font-size:.50rem;font-weight:900;letter-spacing:.14em}.gt-sec-success h2{margin:0 0 8px;color:#edf5f1;font-size:.95rem}.gt-sec-success p:not(.gt-sec-success-eyebrow){margin:0 auto 16px;max-width:330px;color:#82968e;font-size:.56rem;line-height:1.45}.gt-sec-success-button{width:100%;min-height:44px;margin:0!important;border-radius:11px!important;font-size:.60rem!important}.gt-native-password-input-page{overflow:hidden!important;height:100svh!important;min-height:100svh!important;overscroll-behavior:none!important;overflow-anchor:none!important}.gt-native-password-input-page .gt-sec-screen{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;height:auto!important;min-height:calc(100svh - 130px)!important;max-height:none!important;margin:0 auto!important;overflow:visible!important;touch-action:pan-y!important}.gt-native-password-input-page .gt-sec-screen input{scroll-margin:0!important}.gt-native-password-input-page .gt-native-password-field{font-size:16px!important;line-height:1.25!important;-webkit-appearance:none!important;appearance:none!important}
