/* KOVRA registration — presentation-only repair for PC and phones.
   2026-10-19. Keep logo, analytics, existing copy, IDs, theme and business logic. */
@media (min-width:1025px){
  html body.auth-premium-page.kovra-pc-register-live {
    min-height:100dvh!important;
    height:auto!important;
    overflow-x:hidden!important;
    overflow-y:auto!important; /* short laptop screens may scroll; never crop form */
  }
  html body.auth-premium-page.kovra-pc-register-live main.kovra-pc-register-root:not([hidden]){
    display:grid!important;
    grid-template-columns:minmax(0,52%) minmax(0,48%)!important;
    width:min(1560px,calc(100vw - 28px))!important;
    max-width:1560px!important;
    height:calc(100dvh - 28px)!important;
    min-height:610px!important;
    max-height:none!important;
    margin:14px auto!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:24px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live main.kovra-pc-register-root .kovra-pc-register-left {
    min-width:0!important;
    overflow:hidden!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-card{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    margin:clamp(12px,2.1vh,28px) clamp(12px,1.5vw,28px)!important;
    padding:clamp(17px,2vh,28px) clamp(19px,2vw,32px) 24px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-width:thin!important;
    overscroll-behavior-y:contain!important;
    scroll-padding-block:18px;
    -webkit-overflow-scrolling:touch;
    background:linear-gradient(160deg,#112019,#08130e 75%,#07110c)!important;
    border:1px solid rgba(106,193,134,.28)!important;
    box-shadow:0 20px 50px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.035)!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-card .register-header{
    margin:0 0 17px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-icon{
    width:44px!important;height:44px!important;margin:0 0 8px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-heading h1{
    font-size:clamp(23px,1.9vw,29px)!important;
    line-height:1.17!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-heading p{
    font-size:13px!important;
    color:#b5c8bd!important;
    margin-top:6px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-content:start!important;
    row-gap:14px!important;
    column-gap:16px!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
    overflow:visible!important;
  }
  /* This choice is mandatory in the backend and must be visible on PC too. */
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm > .kovra-pc-workspace-choice {
    grid-column:1 / -1!important;
    display:block!important;
    min-width:0!important;
    margin:0!important;
    padding:14px 14px 13px!important;
    border:1px solid rgba(79,212,113,.23)!important;
    border-radius:14px!important;
    background:rgba(35,88,50,.13)!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice legend{
    display:block!important;
    float:none!important;
    padding:0 6px!important;
    color:#e9faee!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:790!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-intro{
    margin:3px 0 10px!important;
    color:#b6c7bc!important;
    font-size:12.5px!important;
    line-height:1.38!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-card{
    grid-template-columns:33px minmax(0,1fr) 20px!important;
    gap:9px!important;
    min-height:70px!important;
    padding:10px!important;
    border:1px solid rgba(133,176,144,.26)!important;
    border-radius:11px!important;
    background:rgba(4,16,9,.65)!important;
    color:#eef8f1!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-card:has(input:checked) {
    background:rgba(54,230,107,.10)!important;
    border-color:#35e86a!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-icon{
    width:32px!important;height:32px!important;font-size:17px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-copy strong{
    font-size:13px!important;line-height:1.2!important;color:#f0f8f2!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-copy small{
    font-size:12px!important;line-height:1.32!important;color:#b7c7ba!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-workspace-choice .workspace-choice-help{
    display:block!important;
    margin:10px 0 0!important;
    color:#b9cabd!important;
    font-size:12.5px!important;
    line-height:1.38!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field>span{
    display:block!important;
    margin:0 0 7px!important;
    font-size:13.5px!important;
    line-height:1.3!important;
    color:#e4f1e8!important;
    font-weight:700!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field input{
    width:100%!important;
    height:49px!important;min-height:49px!important;
    font-size:15px!important;
    padding:0 13px!important;
    line-height:1.3!important;
    border-radius:10px!important;
    border:1px solid rgba(137,182,148,.38)!important;
    background:#0b1b12!important;
    color:#f6fff8!important;
    -webkit-text-fill-color:#f6fff8!important;
    opacity:1!important;
    filter:none!important;
    text-shadow:none!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field input::placeholder{
    color:#a5b9aa!important;
    -webkit-text-fill-color:#a5b9aa!important;
    opacity:1!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field small{
    display:block!important;
    margin:6px 0 0!important;
    min-height:0!important;
    color:#afc0b4!important;
    font-size:12.5px!important;
    line-height:1.42!important;
    font-weight:500!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field small.available{color:#69ed8a!important;}
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .field small.unavailable{color:#ff998a!important;}
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .registration-trust-note{
    grid-column:1 / -1!important;
    margin:0!important;
    padding:12px 13px!important;
    border-radius:11px!important;
    color:#bdd0c1!important;
    background:rgba(53,129,75,.12)!important;
    border:1px solid rgba(72,198,104,.20)!important;
    font-size:12.7px!important;
    line-height:1.5!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .registration-trust-note strong{
    color:#dceee0!important;
  }
  /* The ID is a readable standalone card, not three crammed columns. */
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-id-preview{
    grid-column:1 / -1!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(3,auto)!important;
    gap:6px!important;
    align-items:start!important;
    min-height:0!important;
    padding:15px 16px!important;
    margin:2px 0 0!important;
    border:1px solid rgba(64,223,109,.27)!important;
    border-radius:13px!important;
    background:linear-gradient(130deg,rgba(28,86,45,.26),rgba(9,27,17,.9))!important;
    text-align:left!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-id-preview::before{
    content:none!important;display:none!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-id-preview>span{
    grid-column:1!important;grid-row:1!important;
    align-self:start!important;
    margin:0!important;
    color:#b9d8c1!important;
    font-size:12.5px!important;
    font-weight:760!important;
    line-height:1.35!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-id-preview>strong{
    grid-column:1!important;grid-row:2!important;
    align-self:start!important;
    margin:0!important;
    color:#5ef185!important;
    font-size:clamp(17px,1.45vw,21px)!important;
    font-weight:850!important;
    letter-spacing:.035em!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.35!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-id-preview>p{
    grid-column:1!important;grid-row:3!important;
    margin:0!important;
    text-align:left!important;
    color:#bdcdc0!important;
    font-size:13px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-id-preview>p b{color:#eefaf1!important;}
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-terms{
    grid-column:1 / -1!important;
    margin:0!important;
    padding:4px 0!important;
    gap:10px!important;
    font-size:13.5px!important;
    line-height:1.4!important;
    color:#e0ebe2!important;
    align-items:flex-start!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm .kovra-pc-register-terms>span:first-child{
    margin-top:1px!important;flex:0 0 20px!important;width:20px!important;height:20px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm>.create-button{
    grid-column:1 / -1!important;
    min-height:51px!important;
    height:auto!important;
    padding:12px 15px!important;
    font-size:15px!important;
    font-weight:850!important;
    border-radius:11px!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm>.back-button{
    grid-column:1 / -1!important;
    justify-self:center!important;
    min-height:42px!important;
    height:auto!important;
    margin:0!important;
    padding:9px!important;
    font-size:13.5px!important;
    color:#becdc2!important;
  }
  html body.auth-premium-page.kovra-pc-register-live #lenderRegisterForm>.back-button strong{
    font-size:14px!important;color:#62f38a!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-card>.auth-trust-line{
    margin:16px 0 0!important;
    padding:12px 0 0!important;
    font-size:13px!important;
    color:#afc8b7!important;
    border-top:1px solid rgba(100,191,123,.19)!important;
  }
}
@media (min-width:1025px) and (max-width:1300px) {
  html body.auth-premium-page.kovra-pc-register-live main.kovra-pc-register-root:not([hidden]){
    grid-template-columns:minmax(0,48%) minmax(0,52%)!important;
  }
  html body.auth-premium-page.kovra-pc-register-live .kovra-pc-register-card {
    margin:12px!important;
    padding:17px 19px 20px!important;
  }
}
@media (max-width:1024px) {
  /* Keep full native page scrolling and the currently chosen KOVRA theme. */
  html body.auth-premium-page:not(.kovra-pc-register-live){
    min-height:100dvh!important;
    height:auto!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-text-size-adjust:100%!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) main.auth-register-shell:not([hidden]){
    display:block!important;
    box-sizing:border-box!important;
    width:calc(100% - 24px)!important;
    max-width:560px!important;
    min-width:0!important;
    height:auto!important;
    min-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    margin:0 auto!important;
    padding:max(16px,env(safe-area-inset-top,0px)) 0 max(24px,env(safe-area-inset-bottom,0px))!important;
    overflow:visible!important;
    filter:none!important;
    transform:none!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-shell .auth-brand{
    margin:0 0 18px!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-shell .auth-brand .kovra-logo-login{
    width:min(65vw,270px)!important;
    margin:0 auto 8px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-shell .auth-hero-line{
    font-size:17px!important;
    line-height:1.3!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-shell .auth-register-card{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:19px 17px 22px!important;
    border-radius:19px!important;
    overflow:visible!important;
    filter:none!important;
    opacity:1!important;
    transform:none!important;
    border:1px solid var(--theme-border-strong,rgba(105,201,136,.30))!important;
    background:var(--theme-surface,#0e1d14)!important;
    color:var(--theme-text,#f5f8f5)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .auth-mode-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:0 0 19px!important;
    gap:5px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .auth-tab{
    min-height:49px!important;
    padding:9px 7px 13px!important;
    font-size:14px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .register-header{
    margin:0 0 19px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .register-header h1{
    font-size:clamp(24px,5.5vw,29px)!important;
    line-height:1.18!important;
    margin:5px 0 8px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .register-form{
    display:block!important;
    min-width:0!important;
    height:auto!important;
    overflow:visible!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card :is(.form-card,.id-preview-card) {
    box-sizing:border-box!important;
    min-width:0!important;
    padding:17px 15px!important;
    margin:0 0 15px!important;
    border-radius:14px!important;
    border:1px solid var(--theme-border,rgba(99,210,126,.2))!important;
    background:var(--theme-surface-2,#14281b)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .form-card h2{
    margin:5px 0 13px!important;
    font-size:18px!important;
    line-height:1.25!important;
    color:var(--theme-text,#f6fff7)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .eyebrow {
    font-size:12.5px!important;
    line-height:1.3!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .field {
    display:block!important;
    min-width:0!important;
    margin:0 0 13px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .field>span{
    display:block!important;
    margin:0 0 7px!important;
    font-size:14px!important;
    font-weight:710!important;
    line-height:1.3!important;
    color:var(--theme-text,#e8f1ea)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .field input{
    box-sizing:border-box!important;
    width:100%!important;
    height:51px!important;
    min-height:51px!important;
    padding:0 13px!important;
    border-radius:10px!important;
    font-size:16px!important;
    font-weight:520!important;
    background:var(--theme-input,#0b1a11)!important;
    color:var(--theme-text,#f4f8f5)!important;
    -webkit-text-fill-color:var(--theme-text,#f4f8f5)!important;
    border:1px solid var(--theme-border-strong,rgba(115,177,131,.34))!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .field input::placeholder{
    color:var(--theme-muted,#b2c1b5)!important;
    -webkit-text-fill-color:var(--theme-muted,#b2c1b5)!important;
    opacity:1!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .field :is(.name-availability,.identity-validation-note){
    display:block!important;
    min-height:0!important;
    margin:6px 0 0!important;
    font-size:13px!important;
    line-height:1.42!important;
    color:var(--theme-text-2,#b5c5b8)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .registration-trust-note{
    padding:12px!important;
    margin:10px 0 0!important;
    font-size:13px!important;
    line-height:1.47!important;
    border-radius:11px!important;
    color:var(--theme-text-2,#bbccb9)!important;
    overflow-wrap:anywhere!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card :is(.two-column,.identity-validation-grid) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-intro,
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-help {
    font-size:13.5px!important;
    line-height:1.44!important;
    color:var(--theme-text-2,#b6c8b8)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:11px!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-card {
    min-height:79px!important;
    padding:13px!important;
    gap:12px!important;
    border-radius:12px!important;
    background:var(--theme-surface,#0c1d11)!important;
    border-color:var(--theme-border-strong,rgba(119,186,133,.3))!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-copy strong {
    font-size:15px!important;line-height:1.25!important;color:var(--theme-text,#f3f8f4)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .workspace-choice-copy small {
    font-size:13px!important;line-height:1.38!important;color:var(--theme-text-2,#bbcabd)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .id-preview-card {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:7px!important;
    text-align:left!important;
    padding:18px 16px!important;
    background:var(--theme-surface-2,#14271a)!important;
    border:1px solid var(--theme-border-strong,rgba(85,232,129,.33))!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .id-preview-card>span{
    font-size:12.5px!important;
    line-height:1.4!important;
    font-weight:780!important;
    color:var(--theme-text-2,#b4ccb7)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .id-preview-card>strong{
    display:block!important;
    margin:0!important;
    font-size:clamp(20px,5.5vw,25px)!important;
    line-height:1.2!important;
    overflow-wrap:anywhere!important;
    color:var(--theme-accent,#35e86a)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .id-preview-card>p{
    margin:0!important;
    text-align:left!important;
    font-size:13.5px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
    color:var(--theme-text-2,#bacbbd)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .id-preview-card>p b {
    color:var(--theme-text,#f6f9f6)!important;
    font-weight:750!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .create-button {
    min-height:53px!important;
    height:auto!important;
    margin:4px 0 0!important;
    padding:13px 17px!important;
    border-radius:12px!important;
    font-size:16px!important;
    font-weight:820!important;
    color:var(--theme-on-accent,#07130a)!important;
    background:var(--theme-accent,#35e86a)!important;
  }
  html body.auth-premium-page:not(.kovra-pc-register-live) .auth-register-card .back-button {
    min-height:47px!important;
    height:auto!important;
    padding:10px!important;
    margin:11px 0 0!important;
    font-size:14px!important;
    color:var(--theme-text,#f1f5f2)!important;
    background:var(--theme-surface-2,#112117)!important;
    border-color:var(--theme-border-strong,rgba(131,193,145,.34))!important;
  }
}
