*{box-sizing:border-box}
:root{font-family:Arial,"Noto Sans KR",sans-serif;color:#161b22;background:#eef3f8}
body{margin:0}
.auth-page{min-height:100vh;background:#eef3f8;display:grid;place-items:center;padding:28px}
.auth-shell{width:min(800px,100%)}
.auth-card{width:100%;min-height:760px;background:#fff;border:1px solid #e4e9ef;border-radius:76px;padding:84px 98px 76px;box-shadow:0 10px 32px rgba(21,34,50,.035);display:flex;flex-direction:column;align-items:center}
.auth-card-compact{min-height:650px}
.auth-brand{display:block;width:min(330px,72%);height:auto;margin:0 auto 72px}
.auth-card h1{margin:0 0 48px;font-size:36px;line-height:1.2;letter-spacing:-1px}
.auth-description{margin:-24px 0 34px;color:#707b88;font-size:16px;text-align:center;line-height:1.6}
.auth-form{width:100%;display:grid;gap:30px}
.auth-form label{display:grid;gap:12px;font-size:20px;font-weight:700}
.auth-form input{width:100%;height:66px;border:1px solid #cfd7e1;border-radius:10px;padding:0 20px;background:#eef4ff;font:inherit;font-size:18px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}
.auth-form input:focus{background:#fff;border-color:#6a71f6;box-shadow:0 0 0 3px rgba(94,101,246,.12)}
.password-field{position:relative}
.password-field input{padding-right:64px}
.password-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:48px;height:48px;border:0;background:transparent;color:#8a95a2;font-size:22px;cursor:pointer}
.auth-help-row{display:flex;justify-content:flex-end;margin-top:-14px}
.auth-help-row a,.auth-back-row a{color:#646cf3;text-decoration:none;font-size:15px;font-weight:700}
.auth-help-row a:hover,.auth-back-row a:hover{text-decoration:underline}
.auth-primary{width:100%;height:72px;margin-top:24px;border:0;border-radius:9px;background:#5f65f4;color:#fff;font-size:24px;font-weight:800;cursor:pointer;transition:opacity .15s,transform .05s}
.auth-primary:hover{opacity:.94}.auth-primary:active{transform:translateY(1px)}.auth-primary:disabled{opacity:.55;cursor:default}
.auth-message{min-height:22px;margin:-12px 0 0;text-align:center;font-size:14px;color:#a13d3d;line-height:1.5}
.auth-message.success{color:#287a4f}
.auth-back-row{text-align:center;margin-top:-8px}
@media(max-width:700px){.auth-page{padding:14px}.auth-card{min-height:calc(100vh - 28px);border-radius:36px;padding:52px 26px 42px}.auth-brand{width:min(300px,86%);margin-bottom:54px}.auth-card h1{font-size:30px;margin-bottom:40px}.auth-form label{font-size:17px}.auth-form input{height:58px;font-size:16px}.auth-primary{height:62px;font-size:20px}}

.auth-invite-summary{width:100%;display:grid;gap:8px;margin:-14px 0 28px;padding:14px 16px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc}
.auth-invite-summary>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;align-items:center}
.auth-invite-summary span{color:#7a838e;font-size:13px}.auth-invite-summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.auth-activate-done{width:100%;text-align:center;padding:22px 10px}.auth-activate-done>strong{font-size:20px}.auth-activate-done p{margin:12px 0 28px;color:#707b88;line-height:1.6}
.auth-primary-link{display:grid;place-items:center;text-decoration:none}
.hidden{display:none!important}


/* v0.21.53 - compact auth layout and split logo/text branding */
.auth-shell{width:min(620px,100%) !important;}
.auth-card{min-height:auto !important;border-radius:48px !important;padding:42px 52px 36px !important;}
.auth-card-compact{min-height:auto !important;}
.auth-brand{display:none !important;}
.auth-brand-row{width:100%;display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 34px;}
.auth-brand-logo{width:76px;height:76px;object-fit:contain;flex:0 0 76px;display:block;}
.auth-brand-text{display:grid;gap:4px;min-width:0;}
.auth-brand-main{font-size:34px;font-weight:800;line-height:1.05;letter-spacing:-0.03em;color:#1a2028;white-space:nowrap;}
.auth-brand-accent{color:#e14646;}
.auth-brand-sub{font-size:20px;line-height:1.15;color:#556171;letter-spacing:-0.02em;}
.auth-card h1{margin:0 0 32px !important;font-size:32px !important;}
.auth-form{gap:24px !important;}
.auth-form label{gap:10px !important;font-size:17px !important;}
.auth-form input{height:58px !important;font-size:17px !important;}
.password-field input{padding-right:58px !important;}
.password-toggle{width:42px !important;height:42px !important;font-size:18px !important;right:8px !important;}
.auth-help-row{margin-top:-8px !important;}
.auth-primary{height:62px !important;margin-top:14px !important;font-size:20px !important;border-radius:10px !important;}
.auth-description{margin:-10px 0 22px !important;font-size:15px !important;}
.auth-invite-summary{margin:-4px 0 22px !important;}
@media(max-width:700px){
  .auth-page{padding:14px !important;}
  .auth-shell{width:100% !important;}
  .auth-card{border-radius:34px !important;padding:30px 22px 26px !important;}
  .auth-brand-row{justify-content:flex-start;gap:10px;margin-bottom:24px;}
  .auth-brand-logo{width:58px;height:58px;flex-basis:58px;}
  .auth-brand-main{font-size:24px;}
  .auth-brand-sub{font-size:15px;}
  .auth-card h1{font-size:28px !important;margin-bottom:28px !important;}
  .auth-form input{height:54px !important;font-size:16px !important;}
  .auth-primary{height:58px !important;font-size:19px !important;}
}


/* v0.21.54 - compact login card + real split branding */
.auth-page{padding:20px !important;}
.auth-shell{width:min(520px,100%) !important;}
.auth-card,.auth-card-compact{width:100% !important;min-height:auto !important;border-radius:30px !important;padding:34px 42px 30px !important;box-shadow:0 10px 28px rgba(21,34,50,.04) !important;}
.auth-brand{display:none !important;}
.auth-brand-row{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 auto 26px;}
.auth-brand-logo{width:58px;height:58px;flex:0 0 58px;object-fit:contain;display:block;}
.auth-brand-text{display:grid;gap:3px;min-width:0;}
.auth-brand-main{font-size:25px;font-weight:800;line-height:1.05;letter-spacing:-.03em;color:#1b2028;white-space:nowrap;}
.auth-brand-accent{color:#e14646;}
.auth-brand-sub{font-size:15px;line-height:1.15;color:#647181;}
.auth-card h1{margin:0 0 26px !important;font-size:28px !important;letter-spacing:-.04em !important;}
.auth-description{margin:-8px 0 20px !important;font-size:14px !important;}
.auth-form{gap:20px !important;}
.auth-form label{gap:8px !important;font-size:15px !important;}
.auth-form input{height:52px !important;border-radius:9px !important;padding:0 15px !important;font-size:16px !important;}
.password-field input{padding-right:54px !important;}
.password-toggle{width:40px !important;height:40px !important;right:6px !important;font-size:17px !important;}
.auth-help-row{margin-top:-7px !important;}
.auth-help-row a,.auth-back-row a{font-size:13px !important;}
.auth-primary{height:54px !important;margin-top:10px !important;border-radius:9px !important;font-size:18px !important;}
.auth-message{min-height:18px !important;margin:-8px 0 0 !important;font-size:12px !important;}
.auth-invite-summary{margin:0 0 18px !important;padding:12px 14px !important;}
@media(max-width:600px){
  .auth-page{padding:10px !important;}
  .auth-card,.auth-card-compact{border-radius:24px !important;padding:26px 20px 24px !important;}
  .auth-brand-row{justify-content:flex-start;margin-bottom:22px;}
  .auth-brand-logo{width:50px;height:50px;flex-basis:50px;}
  .auth-brand-main{font-size:22px;}
  .auth-brand-sub{font-size:14px;}
  .auth-card h1{font-size:25px !important;margin-bottom:24px !important;}
}
