
  * { margin:0; padding:0; box-sizing:border-box; font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif; }
  body {
    min-height:100vh;
    background:linear-gradient(135deg,#2e1065 0%,#4c1d95 45%,#7c3aed 100%);
    display:flex; flex-direction:column; overflow-x:hidden; position:relative;
  }
  body::before {
    content:""; position:fixed; inset:0; pointer-events:none;
    background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size:56px 56px;
  }
  .topbar { display:flex; align-items:center; justify-content:space-between; padding:34px 56px 0; }
  .brand { display:flex; align-items:center; gap:20px; }
  .brand img { height:44px; width:auto; display:block; }
  .divider { width:1px; height:40px; background:rgba(255,255,255,.28); }
  .product { line-height:1.3; }
  .product .bi { font-size:20px; font-weight:800; color:#fff; letter-spacing:1px; white-space:nowrap; }
  .product .sub { width:calc(100% - 24px); margin:0 auto; text-align:justify; text-align-last:justify; font-size:14px; font-weight:500; color:rgba(255,255,255,.85); letter-spacing:2px; }
  .slogan { text-align:center; }
  .slogan .cn { font-size:20px; font-weight:600; color:#fff; letter-spacing:4px; }
  .slogan .en { font-size:12px; color:rgba(255,255,255,.55); letter-spacing:3px; margin-top:6px; }
  .main { flex:1; display:flex; align-items:center; justify-content:center; gap:72px; padding:28px 56px 20px; }
  .left { max-width:760px; flex:1; }
  .hero { position:relative; border-radius:22px; overflow:hidden; box-shadow:0 24px 60px rgba(20,5,50,.45); border:1px solid rgba(255,255,255,.14); }
  .hero img.bg { width:100%; display:block; }
  .hero .overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(30,8,70,.55) 0%,rgba(30,8,70,.05) 60%); }
  .hero .copy { position:absolute; left:44px; bottom:40px; }
  .hero h1 { font-family:"Arial Black",Impact,sans-serif; font-size:56px; color:#fff; letter-spacing:2px; line-height:1; }
  .hero h1 .torun { position:relative; display:inline-block; }
  .hero h1 .torun::after { content:""; position:absolute; left:0; bottom:4px; width:100%; height:12px; background:linear-gradient(90deg,rgba(34,211,238,.85),rgba(244,114,182,.85)); z-index:-1; border-radius:2px; }
  .hero .sub2 { margin-top:14px; font-size:15px; color:rgba(255,255,255,.85); letter-spacing:1px; }
  .pill { display:inline-block; margin-top:16px; padding:7px 18px; border-radius:999px; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35); color:#fff; font-size:12px; letter-spacing:2px; backdrop-filter:blur(6px); }
  .fcards { position:absolute; right:26px; top:auto; bottom:20px; transform:none; display:flex; flex-direction:column; gap:14px; }
  .fcard { display:flex; align-items:center; gap:10px; background:rgba(255,255,255,.92); border-radius:12px; padding:10px 16px; box-shadow:0 8px 22px rgba(20,5,50,.3); }
  .fcard .ic { width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px; }
  .fcard .t1 { font-size:13px; font-weight:700; color:#1e1b4b; }
  .fcard .t2 { font-size:11px; color:#8b8ba7; }
  .quote { margin-top:34px; padding-left:6px; position:relative; }
  .quote::before { content:"\201C"; position:absolute; left:-26px; top:-24px; font-size:64px; color:rgba(34,211,238,.5); font-family:Georgia,serif; }
  .quote .l1 { font-size:20px; font-weight:700; color:#fff; letter-spacing:1px; }
  .quote .l2 { font-size:20px; font-weight:700; color:#fff; letter-spacing:1px; margin-top:6px; }
  .quote .en { margin-top:10px; font-size:12px; color:rgba(255,255,255,.5); letter-spacing:2px; }
  /* 登录卡 */
  .card { width:340px; background:#fff; border-radius:18px; padding:26px 28px 20px; box-shadow:0 30px 70px rgba(20,5,50,.5); flex-shrink:0; }
  .card .clogo { text-align:center; }
  .card .clogo img { height:44px; width:auto; }
  .card h2 { text-align:center; font-size:19px; color:#1e1b4b; margin-top:10px; }
  .card .cen { text-align:center; font-size:10px; color:#a3a3c2; letter-spacing:.6px; margin-top:5px; }
  .tabs { display:flex; background:#f1f1f7; border-radius:10px; padding:4px; margin:18px 0 16px; }
  .tabs div { flex:1; text-align:center; padding:8px 0; font-size:14px; color:#6b6b85; border-radius:8px; cursor:pointer; user-select:none; }
  .tabs div.on { background:#fff; color:#4c1d95; font-weight:700; box-shadow:0 2px 8px rgba(76,29,149,.12); }
  .field { margin-bottom:12px; }
  .field label { display:block; font-size:13px; font-weight:600; color:#3f3f5c; margin-bottom:6px; }
  .field .box { display:flex; align-items:center; gap:8px; border:1px solid #e3e3ee; border-radius:9px; padding:0 12px; height:42px; }
  .field .box:focus-within { border-color:#7c3aed; box-shadow:0 0 0 3px rgba(124,58,237,.12); }
  .field .box svg { flex-shrink:0; }
  .field input { border:none; outline:none; flex:1; font-size:14px; color:#1e1b4b; background:transparent; }
  .field input::placeholder { color:#b9b9cf; }
  .captcha-row { display:flex; gap:10px; }
  .captcha-row .box { flex:1; }
  /* The live captcha is an input plus a server image, not the reference canvas. */
  #captcha { border:0; border-radius:0; cursor:text; box-shadow:none; background:transparent; }
  .cap-tip { font-size:12px; color:#9a9ab5; margin:6px 0 2px; }
  .cap-tip a { color:#7c3aed; cursor:pointer; text-decoration:none; }
  .opts { display:flex; justify-content:space-between; align-items:center; margin:4px 0 14px; font-size:13px; }
  .opts .rem { display:flex; align-items:center; gap:6px; color:#3f3f5c; }
  .opts input[type=checkbox] { width:15px; height:15px; accent-color:#7c3aed; }
  .opts a { color:#7c3aed; text-decoration:none; }
  .btn { width:100%; height:44px; border:none; border-radius:10px; background:#2563eb; color:#fff; font-size:15px; font-weight:700; letter-spacing:2px; cursor:pointer; transition:.2s; }
  .btn:hover { background:#1d4ed8; }
  .card .foot { margin-top:16px; padding-top:14px; border-top:1px solid #f0f0f6; text-align:center; font-size:12px; color:#b0b0c8; }
  /* 飞书面板 */
  #pane-fs { display:none; text-align:center; padding:14px 0 6px; }
  .fs-diamond { width:56px; height:56px; margin:0 auto 16px; border-radius:16px; background:#eef2ff; display:flex; align-items:center; justify-content:center; }
  .fs-diamond span { width:16px; height:16px; background:#2563eb; transform:rotate(45deg); border-radius:3px; display:block; }
  #pane-fs h3 { font-size:18px; color:#1e1b4b; }
  #pane-fs p { font-size:13px; color:#8a8aa5; margin:10px 0 22px; line-height:1.6; }
  #pane-fs .note { font-size:12px; color:#b0b0c8; margin-top:14px; }
  .footer { text-align:center; padding:16px 0 18px; font-size:12px; color:rgba(255,255,255,.45); letter-spacing:1px; }
  @media (max-width:1100px){ .main{flex-direction:column; gap:40px;} .left{max-width:640px;} }

/* Reference layout with existing live authentication controls. */
body.qk-login-page{min-height:100vh;display:flex;flex-direction:column;padding:0;place-items:normal;background:linear-gradient(135deg,#2e1065 0%,#4c1d95 45%,#7c3aed 100%)}
.qk-login-page>.main,.qk-login-page>.topbar,.qk-login-page>.footer{position:relative;z-index:1}
.qk-login-page .qk-login-card{width:340px;max-width:100%;padding:26px 28px 20px;flex-shrink:0;transform:none;border:0;border-radius:18px;background:#fff;box-shadow:0 30px 70px rgba(20,5,50,.5);align-self:center}
.qk-login-tabs{display:flex;margin:18px 0 16px;background:#f1f1f7;padding:4px;border-radius:10px}.qk-login-tab{flex:1;height:36px;color:#6b6b85}.qk-login-tab.active{color:#4c1d95;background:#fff;box-shadow:0 2px 8px rgba(76,29,149,.12)}
.qk-login-panels{position:relative;min-width:0}.qk-login-panels>.qk-login-panel{display:none}.qk-login-panels>.qk-login-panel.active{display:block}
.qk-login-form{gap:6px}.qk-login-form label{color:#3f3f5c}.qk-input-wrap{height:42px;border-color:#e3e3ee}.qk-input-wrap>span{flex-basis:32px;color:#b9b9cf}.qk-input-wrap:focus-within{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.12)}
.qk-captcha-row{display:grid;width:100%;min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr) 100px;gap:10px}.qk-captcha-row>.qk-input-wrap{min-width:0;max-width:100%;overflow:hidden}.qk-captcha-row input{width:0;min-width:0;flex:1 1 0;padding-right:6px}.qk-captcha-image{width:100%;min-width:0;max-width:100%;height:42px;overflow:hidden;border-color:#e3e3ee}.qk-captcha-image img{width:100%;max-width:100%;height:100%;object-fit:contain}
.qk-captcha-refresh-hint,.qk-forgot-password{color:#7c3aed}.qk-remember-account{color:#3f3f5c}.qk-remember-account input{accent-color:#7c3aed}
.qk-login-submit,.qk-feishu-login{height:44px;min-height:44px;background:#2563eb;box-shadow:none;letter-spacing:2px}.qk-login-submit:hover,.qk-feishu-login:hover{background:#1d4ed8;transform:none;box-shadow:none}
.qk-login-error:empty{display:none}.qk-login-error{overflow-wrap:anywhere}.qk-login-footer{font-size:12px;color:#b0b0c8}.qk-password-help-dialog{margin:auto}
/* Responsive composition: keep the artwork and login card visually connected on every screen. */
.qk-login-page{min-height:100svh;overflow-y:auto}
.qk-login-page .topbar,.qk-login-page .main{width:min(100%,1500px);margin-inline:auto}
.qk-login-page .topbar{padding:clamp(22px,3.2vh,34px) clamp(28px,4vw,56px) 0}
.qk-login-page .main{
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(360px,400px);
  align-items:center;
  justify-content:space-between;
  gap:clamp(48px,7vw,120px);
  padding:clamp(24px,4vh,48px) clamp(28px,4vw,56px) clamp(20px,3vh,36px);
}
.qk-login-page .left{width:100%;max-width:760px}
.qk-login-page .qk-login-card{position:static;width:100%;max-width:400px;align-self:center;transform:none}
.qk-login-page .hero h1{font-size:clamp(40px,4vw,56px)}
.qk-login-page .footer{flex:0 0 auto;padding:12px 24px 18px}

@media(max-width:1180px) and (min-width:961px){
  .qk-login-page .topbar,.qk-login-page .main{width:min(100%,1120px)}
  .qk-login-page .main{grid-template-columns:minmax(0,1fr) 360px;gap:32px;padding-inline:32px}
  .qk-login-page .left{max-width:650px}
  .qk-login-page .hero .copy{left:28px;bottom:28px}
  .qk-login-page .fcards{right:18px;bottom:16px;gap:10px}
  .qk-login-page .fcard{padding:8px 12px}
  .qk-login-page .quote{margin-top:24px}
}

@media(max-width:960px){
  .qk-login-page .topbar{justify-content:center;padding:22px 24px 0}
  .qk-login-page .topbar>.slogan,.qk-login-page .topbar>div:last-child{display:none}
  .qk-login-page .main{display:flex;align-items:center;justify-content:center;padding:24px}
  .qk-login-page .left{display:none}
  .qk-login-page .qk-login-card{width:min(100%,420px);max-width:420px}
}

@media(max-height:760px) and (min-width:961px){
  .qk-login-page .topbar{padding-top:16px}
  .qk-login-page .brand img{height:38px}
  .qk-login-page .divider{height:34px}
  .qk-login-page .product .bi{font-size:17px}
  .qk-login-page .product .sub{font-size:12px}
  .qk-login-page .main{padding-top:14px;padding-bottom:12px}
  .qk-login-page .quote{display:none}
  .qk-login-page .qk-login-card{padding:18px 24px 16px}
  .qk-login-page .qk-login-card .clogo img{height:36px}
  .qk-login-page .qk-login-card h2{margin-top:6px;font-size:17px}
  .qk-login-page .qk-login-tabs{margin:12px 0 10px}
  .qk-login-page .qk-input-wrap,.qk-login-page .qk-captcha-image{height:38px}
  .qk-login-page .qk-login-submit,.qk-login-page .qk-feishu-login{height:40px;min-height:40px}
  .qk-login-page .qk-login-footer{margin-top:10px;padding-top:10px}
  .qk-login-page .footer{padding-top:8px;padding-bottom:10px}
}

@media(max-width:560px){
  .qk-login-page .topbar{padding:18px 18px 0}
  .qk-login-page .brand{gap:12px}
  .qk-login-page .brand img{height:36px}
  .qk-login-page .divider{height:32px}
  .qk-login-page .product .bi{font-size:16px;letter-spacing:.4px}
  .qk-login-page .product .sub{font-size:11px;letter-spacing:1px}
  .qk-login-page .main{padding:18px}
  .qk-login-page .qk-login-card{padding:22px 20px 18px;border-radius:16px}
  .qk-login-page .footer{padding:8px 18px 14px;font-size:10px;line-height:1.5}
}
