/* DENTRIK · Auth reference screens v1 */
.d-auth-gate{position:fixed;inset:0;z-index:500;display:flex!important;background:#f4f7fb;color:#0b1733;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;overflow:auto}
.d-auth-gate.hidden{display:none!important}.d-auth-gate.flex{display:flex!important}
.d-auth-layout{display:grid;grid-template-columns:1fr 1fr;width:100%;min-height:100dvh}
.d-auth-brand{position:relative;overflow:hidden;display:flex;align-items:center;padding:64px clamp(42px,4.4vw,74px);color:#fff;background:radial-gradient(circle at 44% 28%,rgba(2,87,252,.18),transparent 34%),linear-gradient(145deg,#03142f 0%,#05224e 54%,#001a42 100%)}
.d-auth-brand:before{content:"";position:absolute;left:-18%;right:-8%;bottom:-24%;height:62%;border:1px solid rgba(0,206,231,.55);border-radius:50%;box-shadow:0 0 0 16px rgba(2,87,252,.14),0 0 0 32px rgba(2,87,252,.10),0 0 0 48px rgba(0,206,231,.06),0 0 0 64px rgba(2,87,252,.04);transform:rotate(-7deg)}
.d-auth-brand:after{content:"";position:absolute;left:0;bottom:0;width:46%;height:31%;opacity:.7;background-image:radial-gradient(circle,rgba(0,206,231,.75) 1px,transparent 1.5px);background-size:14px 14px;mask-image:linear-gradient(120deg,#000,transparent 78%)}
.d-auth-brand-lines{position:absolute;right:-10%;top:-5%;width:72%;height:82%;opacity:.28;background:repeating-radial-gradient(ellipse at 100% 40%,transparent 0 18px,rgba(2,87,252,.7) 19px 20px,transparent 21px 34px);transform:rotate(-8deg);pointer-events:none}
.d-auth-brand-inner{position:relative;z-index:2;width:min(620px,100%)}
.d-auth-brand-logo{display:block;width:min(330px,72%);height:auto;object-fit:contain;object-position:left center}
.d-auth-kicker{margin:10px 0 54px;color:#39d8ed;font-size:15px;letter-spacing:.02em}
.d-auth-brand h2{max-width:610px;margin:0;font-size:clamp(3rem,4vw,4.5rem);font-weight:800;line-height:1.06;letter-spacing:-.045em}
.d-auth-brand h2 span{color:#1fa7ff}
.d-auth-brand-rule{width:50px;height:4px;margin:26px 0;border-radius:999px;background:#18aef7}
.d-auth-brand-copy{max-width:520px;margin:0 0 26px;color:rgba(255,255,255,.88);font-size:18px;line-height:1.55}
.d-auth-chips{display:flex;gap:14px;flex-wrap:wrap}
.d-auth-chip{min-height:64px;display:flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid rgba(35,147,255,.55);border-radius:12px;background:rgba(1,25,64,.28);font-size:14px;font-weight:650}
.d-auth-chip svg{width:24px;height:24px;fill:none;stroke:#10ccea;stroke-width:1.8}
.d-auth-form-panel{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;padding:54px 42px 120px;background:radial-gradient(circle at 78% 10%,rgba(2,87,252,.05),transparent 34%),#f5f8fc}
.d-auth-card{position:relative;width:min(580px,100%);padding:46px 38px 34px;border:1px solid #e4eaf2;border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 18px 55px rgba(5,34,78,.11)}
.d-auth-avatar{width:82px;height:82px;display:grid;place-items:center;margin:0 auto 22px;border-radius:50%;color:#0b66f5;background:#fff;box-shadow:0 12px 30px rgba(5,34,78,.12)}
.d-auth-avatar svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.75}
.d-auth-title{text-align:center}.d-auth-title h1{margin:0;color:#071a3d;font-size:40px;font-weight:850;line-height:1.05;letter-spacing:-.035em}.d-auth-title p{margin:10px 0 0;color:#647493;font-size:17px}
.d-auth-form{margin-top:32px}
.d-auth-field{display:block;margin-top:18px}.d-auth-field:first-child{margin-top:0}.d-auth-field>span{display:block;margin-bottom:8px;color:#0d1b3b;font-size:14px;font-weight:800}
.d-auth-input-shell{position:relative;display:flex;align-items:center;min-height:56px;border:1px solid #cbd6e4;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.d-auth-input-shell:focus-within{border-color:#0257fc;box-shadow:0 0 0 3px rgba(2,87,252,.10)}
.d-auth-input-icon{width:52px;display:grid;place-items:center;flex:none;color:#687895}.d-auth-input-icon svg,.d-auth-eye svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.d-auth-input-shell input{width:100%;min-width:0;height:54px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0 14px 0 0!important;color:#0b1733!important;font:inherit!important;font-size:16px!important}
.d-auth-input-shell input::placeholder{color:#8290aa}.d-auth-eye{width:50px;height:54px;display:grid;place-items:center;flex:none;border:0;background:transparent;color:#71809b;cursor:pointer}
.d-auth-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;font-size:14px}.d-auth-remember{display:flex;align-items:center;gap:8px;color:#22304e;cursor:pointer}.d-auth-remember input{width:20px;height:20px;margin:0;accent-color:#0257fc}.d-auth-link{padding:0;border:0;background:none;color:#0257fc;font:inherit;font-weight:650;cursor:pointer}.d-auth-link:hover{text-decoration:underline}
.d-auth-submit{width:100%;min-height:60px;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:24px;border:0;border-radius:10px;color:#fff;background:linear-gradient(110deg,#116bff 0%,#0257fc 58%,#0846d9 100%);box-shadow:0 12px 25px rgba(2,87,252,.25);font-size:19px;font-weight:800;cursor:pointer}.d-auth-submit:hover{filter:brightness(1.03)}.d-auth-submit:disabled{opacity:.6;cursor:not-allowed}.d-auth-submit svg{width:24px;height:24px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.8}
.d-auth-error,.d-auth-success{margin-top:18px;padding:12px 14px;border-radius:10px;font-size:14px;font-weight:650}.d-auth-error{color:#a72d38;background:#fff0f2}.d-auth-success{color:#08734f;background:#ebf9f3}.d-auth-error.hidden,.d-auth-success.hidden{display:none!important}
.d-auth-divider{display:flex;align-items:center;gap:16px;margin:26px 0 18px;color:#687895;font-size:14px}.d-auth-divider:before,.d-auth-divider:after{content:"";height:1px;flex:1;background:#dbe3ed}
.d-auth-social{display:grid;grid-template-columns:1fr 1fr;gap:14px}.d-auth-social button{min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;color:#0b1733;font-size:15px;font-weight:750;cursor:pointer}.d-auth-social button:hover{border-color:#98b7e2;background:#f9fbfe}.d-auth-social svg{width:23px;height:23px;flex:none}
.d-auth-switch{margin:26px 0 0;text-align:center;color:#687895;font-size:14px}.d-auth-switch button{margin-left:5px}
.d-auth-security-mobile{display:none;margin:28px 0 0;padding:0 16px;color:#60708c;font-size:14px;line-height:1.45}.d-auth-security-desktop{position:absolute;left:50%;bottom:40px;width:min(460px,calc(100% - 64px));display:flex;align-items:center;justify-content:center;gap:14px;transform:translateX(-50%);color:#60708c;font-size:13px;line-height:1.45}.d-auth-security-desktop svg,.d-auth-security-mobile svg{width:32px;height:32px;flex:none;fill:none;stroke:#0257fc;stroke-width:1.8}
.d-auth-mobile-logo{display:none}.d-auth-register{display:none}.d-auth-gate.is-register .d-auth-login{display:none}.d-auth-gate.is-register .d-auth-register{display:block}.d-auth-register .d-auth-form{margin-top:28px}.d-auth-register .d-auth-title h1{font-size:38px}
.d-auth-oauth-mobile{display:none!important}

@media(max-width:1024px){
  .d-auth-layout{grid-template-columns:minmax(0,46%) minmax(0,54%)}
  .d-auth-brand{padding:48px 34px}.d-auth-brand h2{font-size:clamp(2.7rem,5vw,3.6rem)}.d-auth-kicker{margin-bottom:40px}
  .d-auth-form-panel{padding-inline:30px}.d-auth-card{padding-inline:30px}
}

@media(max-width:767px){
  .d-auth-gate{display:block!important;background:#f5f8fc}
  .d-auth-gate.flex{display:block!important}
  .d-auth-layout{display:block;min-height:100dvh}
  .d-auth-brand{min-height:430px;height:34dvh;max-height:540px;display:flex;align-items:flex-start;justify-content:center;padding:54px 24px 120px;text-align:center}
  .d-auth-brand:before{left:-45%;right:-45%;bottom:-14%;height:48%;transform:rotate(-7deg)}.d-auth-brand:after{left:0;bottom:0;width:48%;height:42%}.d-auth-brand-lines{width:125%;height:100%;right:-42%;top:-28%;opacity:.25}
  .d-auth-brand-inner{width:100%;display:flex;flex-direction:column;align-items:center}
  .d-auth-brand-logo,.d-auth-kicker,.d-auth-brand h2,.d-auth-brand-rule,.d-auth-brand-copy,.d-auth-chips{display:none!important}
  .d-auth-mobile-logo{display:flex;flex-direction:column;align-items:center;position:relative;z-index:3}
  .d-auth-mobile-logo .symbol{width:96px;height:96px;object-fit:contain}.d-auth-mobile-logo .word{width:min(310px,72vw);height:auto;margin-top:14px;object-fit:contain}.d-auth-mobile-logo p{margin:22px 0 0;color:#fff;font-size:clamp(18px,4.8vw,24px);line-height:1.45}.d-auth-mobile-logo p span{color:#11c7e3}
  .d-auth-form-panel{display:block;min-height:auto;padding:0 14px calc(22px + env(safe-area-inset-bottom));background:#f5f8fc}
  .d-auth-card{width:100%;margin:-104px auto 0;padding:118px clamp(22px,7vw,54px) 34px;border-radius:28px 28px 24px 24px;box-shadow:0 18px 50px rgba(5,34,78,.10)}
  .d-auth-avatar{position:absolute;top:34px;left:50%;width:80px;height:80px;margin:0;transform:translateX(-50%)}
  .d-auth-title h1{font-size:clamp(34px,9vw,46px)}.d-auth-title p{font-size:clamp(16px,4.2vw,20px)}
  .d-auth-form{margin-top:32px}.d-auth-field{margin-top:20px}.d-auth-field>span{font-size:15px}
  .d-auth-input-shell{min-height:60px;border-radius:11px}.d-auth-input-shell input{height:58px!important;font-size:16px!important}.d-auth-input-icon{width:50px}.d-auth-eye{height:58px}
  .d-auth-row{font-size:15px}.d-auth-submit{min-height:62px;font-size:20px}
  .d-auth-divider{font-size:15px}.d-auth-social{gap:12px}.d-auth-social button{min-height:58px;font-size:16px}
  .d-auth-oauth-desktop{display:none!important}.d-auth-oauth-mobile{display:flex!important}
  .d-auth-switch{font-size:16px}
  .d-auth-security-desktop{display:none}.d-auth-security-mobile{display:flex;align-items:center;gap:14px}
  .d-auth-gate.is-register .d-auth-brand{min-height:226px;height:226px;padding:0}.d-auth-gate.is-register .d-auth-mobile-logo{display:none}.d-auth-gate.is-register .d-auth-card{margin:-112px auto 0;padding-top:122px}.d-auth-gate.is-register .d-auth-register .d-auth-title h1{font-size:clamp(34px,9vw,44px)}
}

@media(max-width:430px){
  .d-auth-brand{min-height:360px;height:360px;padding-top:38px}.d-auth-mobile-logo .symbol{width:76px;height:76px}.d-auth-mobile-logo .word{width:min(250px,70vw);margin-top:10px}.d-auth-mobile-logo p{margin-top:14px;font-size:17px}
  .d-auth-form-panel{padding-inline:10px}.d-auth-card{margin-top:-76px;padding:104px 20px 28px;border-radius:24px 24px 20px 20px}.d-auth-avatar{top:24px;width:70px;height:70px}.d-auth-avatar svg{width:32px;height:32px}
  .d-auth-title h1{font-size:34px}.d-auth-title p{font-size:16px}.d-auth-form{margin-top:26px}.d-auth-input-shell{min-height:56px}.d-auth-input-shell input{height:54px!important}.d-auth-eye{height:54px}.d-auth-row{gap:10px;font-size:14px}.d-auth-submit{min-height:58px;font-size:18px}.d-auth-social button{min-height:54px;font-size:14px}.d-auth-switch{font-size:14px}.d-auth-security-mobile{padding:0;font-size:13px}
  .d-auth-gate.is-register .d-auth-brand{min-height:190px;height:190px}.d-auth-gate.is-register .d-auth-card{margin-top:-82px;padding-top:104px}
}

/* DENTRIK · Auth reference fidelity v3 */
html,body{margin:0;min-width:320px}
.d-auth-gate,.d-auth-gate *{box-sizing:border-box}
.d-auth-field>.d-auth-input-shell{display:flex!important;align-items:center;margin-bottom:0;color:#0b1733;font-weight:400}
.d-auth-brand-lockup{display:flex;align-items:center;gap:18px;width:min(330px,82%)}
.d-auth-brand-lockup .symbol{width:82px;height:82px;object-fit:contain;flex:none}
.d-auth-brand-lockup .word{width:min(230px,calc(100% - 96px));height:auto;object-fit:contain;filter:brightness(0) invert(1)}
.d-auth-mobile-logo .word{filter:brightness(0) invert(1)}
.d-auth-gate{background:#f5f8fc}
.d-auth-layout{min-height:100dvh}
.d-auth-brand{background:radial-gradient(circle at 42% 26%,rgba(2,87,252,.18),transparent 35%),linear-gradient(145deg,#03142f 0%,#05224e 56%,#001a42 100%)}
.d-auth-brand:before{left:-26%;right:-20%;bottom:-30%;height:66%;border-color:rgba(0,206,231,.48);box-shadow:0 0 0 16px rgba(2,87,252,.13),0 0 0 34px rgba(2,87,252,.09),0 0 0 52px rgba(0,206,231,.055),0 0 0 72px rgba(2,87,252,.035)}
.d-auth-brand:after{left:-2%;bottom:-2%;width:49%;height:34%;opacity:.76;background-size:14px 14px}
.d-auth-brand-lines{right:-15%;top:4%;width:80%;height:90%;opacity:.38;background:repeating-radial-gradient(ellipse at 105% 58%,transparent 0 16px,rgba(2,87,252,.62) 17px 18px,transparent 19px 30px),repeating-radial-gradient(ellipse at 105% 62%,transparent 0 31px,rgba(0,206,231,.26) 32px 33px,transparent 34px 48px);transform:rotate(-8deg)}
.d-auth-input-shell,.d-auth-social button{border-color:#cfd9e6}
.d-auth-input-shell input:-webkit-autofill{-webkit-text-fill-color:#0b1733;-webkit-box-shadow:0 0 0 1000px #edf4ff inset;transition:background-color 9999s ease-out}
.d-auth-submit{position:relative;padding-inline:24px}
.d-auth-submit span{margin-inline:auto}
.d-auth-submit svg{position:absolute;right:22px;margin:0}
.d-auth-remember input{appearance:none;border:1.5px solid #aab8ca;border-radius:5px;background:#fff;display:grid;place-items:center}
.d-auth-remember input:checked{border-color:#0257fc;background:#0257fc}
.d-auth-remember input:checked:after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px)}

@media (min-width:1181px){
  .d-auth-layout{grid-template-columns:1fr 1fr}
  .d-auth-brand{padding:92px clamp(54px,4.4vw,68px) 58px;align-items:flex-start!important;justify-content:flex-start!important}
  .d-auth-brand-inner{width:min(650px,100%)}
  .d-auth-brand-logo{width:min(330px,72%)}
  .d-auth-kicker{margin:12px 0 60px;font-size:15px}
  .d-auth-brand h2{font-size:clamp(3.2rem,3.75vw,3.65rem);line-height:1.06;letter-spacing:-.043em}
  .d-auth-brand-rule{margin:28px 0 24px}
  .d-auth-brand-copy{max-width:520px;font-size:18px;line-height:1.55}
  .d-auth-chips{gap:14px}
  .d-auth-chip{min-height:64px;padding:12px 17px}
  .d-auth-form-panel{padding:52px 44px 128px}
  .d-auth-card{width:min(580px,100%);padding:44px 38px 34px;border-radius:22px}
  .d-auth-security-desktop{bottom:40px}
}

@media (min-width:901px) and (max-width:1180px){
  .d-auth-layout{grid-template-columns:minmax(0,45%) minmax(0,55%)}
  .d-auth-brand{padding:42px 32px}
  .d-auth-brand-logo{width:min(270px,82%)}
  .d-auth-brand-lockup{width:min(270px,88%);gap:14px}.d-auth-brand-lockup .symbol{width:66px;height:66px}.d-auth-brand-lockup .word{width:min(190px,calc(100% - 80px))}
  .d-auth-kicker{margin:10px 0 38px;font-size:13px}
  .d-auth-brand h2{font-size:clamp(2.35rem,4.8vw,3.25rem)}
  .d-auth-brand-copy{font-size:16px}
  .d-auth-chips{gap:8px}
  .d-auth-chip{min-height:54px;padding:10px 12px;font-size:12px}
  .d-auth-form-panel{padding:36px 26px 104px}
  .d-auth-card{width:min(520px,100%);padding:34px 28px 28px}
  .d-auth-avatar{width:72px;height:72px;margin-bottom:18px}
  .d-auth-title h1{font-size:36px}
  .d-auth-title p{font-size:16px}
  .d-auth-form{margin-top:26px}
  .d-auth-security-desktop{bottom:24px;width:min(430px,calc(100% - 42px))}
}

@media (max-width:900px){
  .d-auth-gate,.d-auth-gate.flex{display:block!important;overflow:auto;background:#f5f8fc}
  .d-auth-layout{display:block;min-height:100dvh}
  .d-auth-brand{min-height:360px;height:40svh;max-height:430px;display:flex;align-items:flex-start;justify-content:center;padding:42px 24px 104px;text-align:center;border-radius:0 0 34px 34px}
  .d-auth-brand:before{left:-46%;right:-42%;bottom:-17%;height:51%;transform:rotate(-7deg)}
  .d-auth-brand:after{left:-2%;bottom:0;width:54%;height:44%;opacity:.72}
  .d-auth-brand-lines{width:130%;height:110%;right:-44%;top:-30%;opacity:.34}
  .d-auth-brand-inner{width:100%;display:flex;flex-direction:column;align-items:center}
  .d-auth-brand-logo,.d-auth-brand-lockup,.d-auth-kicker,.d-auth-brand h2,.d-auth-brand-rule,.d-auth-brand-copy,.d-auth-chips{display:none!important}
  .d-auth-mobile-logo{display:flex!important;position:relative;z-index:3;flex-direction:column;align-items:center}
  .d-auth-mobile-logo .symbol{width:82px;height:82px;object-fit:contain}
  .d-auth-mobile-logo .word{width:min(270px,69vw);height:auto;margin-top:12px;object-fit:contain}
  .d-auth-mobile-logo p{margin:18px 0 0;color:#fff;font-size:clamp(17px,4.5vw,22px);line-height:1.45}
  .d-auth-mobile-logo p span{color:#00cee7}
  .d-auth-form-panel{display:block;min-height:auto;padding:0 0 calc(20px + env(safe-area-inset-bottom));background:#f5f8fc}
  .d-auth-card{width:calc(100% - 28px);max-width:620px;margin:-92px auto 0;padding:106px clamp(22px,6.5vw,50px) 30px;border-radius:32px 32px 24px 24px;box-shadow:0 18px 50px rgba(5,34,78,.11)}
  .d-auth-avatar{position:absolute;top:28px;left:50%;width:76px;height:76px;margin:0;transform:translateX(-50%)}
  .d-auth-avatar svg{width:34px;height:34px}
  .d-auth-title h1{font-size:clamp(34px,8.8vw,44px)}
  .d-auth-title p{margin-top:9px;font-size:clamp(16px,4vw,19px)}
  .d-auth-form{margin-top:30px}
  .d-auth-field{margin-top:19px}
  .d-auth-field>span{font-size:15px}
  .d-auth-input-shell{min-height:58px;border-radius:11px}
  .d-auth-input-shell input{height:56px!important;font-size:16px!important}
  .d-auth-input-icon{width:50px}
  .d-auth-eye{height:56px}
  .d-auth-row{gap:12px;margin-top:18px;font-size:14px}
  .d-auth-remember{flex:none}
  .d-auth-row>.d-auth-link{max-width:50%;text-align:right;line-height:1.25}
  .d-auth-submit{min-height:60px;margin-top:22px;font-size:18px}
  .d-auth-divider{margin:24px 0 18px;font-size:15px}
  .d-auth-social{grid-template-columns:1fr 1fr;gap:12px}
  .d-auth-social button{min-height:56px;font-size:15px}
  .d-auth-oauth-desktop{display:none!important}
  .d-auth-oauth-mobile{display:flex!important}
  .d-auth-switch{margin-top:24px;font-size:15px}
  .d-auth-security-desktop{display:none!important}
  .d-auth-security-mobile{display:flex!important;align-items:center;gap:14px;margin-top:28px;padding:0 12px;color:#60708c;font-size:14px;line-height:1.45}
  .d-auth-security-mobile svg{width:34px;height:34px}
  .d-auth-gate.is-register .d-auth-brand{min-height:190px;height:190px;padding:0;border-radius:0}
  .d-auth-gate.is-register .d-auth-mobile-logo{display:none!important}
  .d-auth-gate.is-register .d-auth-card{margin:-96px auto 0;padding-top:112px}
  .d-auth-gate.is-register .d-auth-register .d-auth-title h1{font-size:clamp(34px,8.8vw,44px)}
}

@media (max-width:430px){
  .d-auth-brand{min-height:350px;height:350px;padding-top:36px}
  .d-auth-mobile-logo .symbol{width:76px;height:76px}
  .d-auth-mobile-logo .word{width:min(250px,70vw);margin-top:10px}
  .d-auth-mobile-logo p{margin-top:14px;font-size:17px}
  .d-auth-card{width:calc(100% - 20px);margin-top:-78px;padding:102px 20px 26px;border-radius:26px 26px 20px 20px}
  .d-auth-avatar{top:24px;width:70px;height:70px}
  .d-auth-title h1{font-size:34px}
  .d-auth-title p{font-size:16px}
  .d-auth-form{margin-top:26px}
  .d-auth-input-shell{min-height:56px}
  .d-auth-input-shell input{height:54px!important}
  .d-auth-eye{height:54px}
  .d-auth-row{font-size:14px}
  .d-auth-submit{min-height:58px;font-size:18px}
  .d-auth-social button{min-height:54px;font-size:14px}
  .d-auth-switch{font-size:14px}
  .d-auth-security-mobile{padding:0;font-size:13px}
  .d-auth-gate.is-register .d-auth-brand{min-height:172px;height:172px}
  .d-auth-gate.is-register .d-auth-card{margin-top:-82px;padding-top:102px}
}


/* DENTRIK · Auth final polish v4 */
.d-auth-brand-lockup .symbol,.d-auth-mobile-logo .symbol{
  filter:brightness(1.72) saturate(1.18) drop-shadow(0 0 7px rgba(0,206,231,.20));
}
@media (min-width:1181px){
  .d-auth-brand{padding-left:64px!important;padding-right:48px!important}
  .d-auth-brand-inner{width:min(670px,100%)!important}
  .d-auth-brand h2{font-size:clamp(3.05rem,3.45vw,3.40rem)!important;line-height:1.07!important}
}
