*{box-sizing:border-box}body{margin:0;font:16px/1.6 "Microsoft YaHei",Arial,sans-serif;color:#142b45;background:#f3f6fa}a{color:inherit;text-decoration:none}header{height:96px;padding:0 7%;background:#fff;border-bottom:1px solid #e3e9f1;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:14px;font-size:20px;font-weight:700}.brand small{display:block;font-size:12px;letter-spacing:2px;color:#718298}.brand-icon{display:grid;place-items:center;background:#144d89;color:white;width:46px;height:46px;border-radius:12px;font-size:28px}header>a:last-child{font-size:14px;color:#586d86}main{max-width:1150px;margin:60px auto;min-height:calc(100vh - 250px);padding:0 24px}.login-layout{display:grid;grid-template-columns:1fr 460px;gap:100px;align-items:center;min-height:490px}.eyebrow{font-size:14px;color:#1b65a6;letter-spacing:2px;font-weight:700}.intro h1{font-size:44px;line-height:1.3;margin:18px 0 24px;letter-spacing:1px}.intro p{color:#64778d;max-width:390px}.steps{border-top:1px solid #dbe3ed;margin-top:42px;padding-top:26px;display:flex;gap:24px;color:#526780;font-size:14px}.steps b{display:block;color:#1b65a6;font-size:22px}.card{background:#fff;border:1px solid #e1e8f0;border-radius:16px;padding:34px;box-shadow:0 12px 40px #18395508}.card h2{font-size:25px;margin:0 0 6px}.muted{color:#718298;font-size:14px;margin-top:0}.label,label{display:block;font-size:14px;font-weight:600;margin:22px 0 8px}input{font:inherit;width:100%;border:1px solid #cfd9e5;border-radius:8px;padding:13px 14px;background:#fff;color:#142b45;min-width:0}input:focus{outline:3px solid #c8e0fa;border-color:#2876bd}button,.button{font:inherit;cursor:pointer;border:0;border-radius:8px;background:#165997;color:#fff;padding:13px 20px;text-align:center;display:inline-block;font-weight:600}button:hover,.button:hover{background:#104878}button:disabled{opacity:.6;cursor:wait}.primary{width:100%;margin-top:24px}.captcha-row{display:flex;align-items:center;gap:12px}.captcha-row input{width:50%}.captcha-button{padding:0;background:transparent!important;width:170px;height:58px;border:1px solid #d6e2ef;overflow:hidden}.captcha-button img{display:block;width:100%;height:100%}.hint{font-size:12px;color:#718298;margin-top:6px}.error{color:#b43b3b;font-size:14px;min-height:24px;margin-top:12px}.notice{border-radius:8px;background:#edf5fd;color:#305f8e;font-size:14px;padding:14px 18px;margin-top:22px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-head h1{font-size:30px;margin:0}.secondary{background:#fff;color:#39536e;border:1px solid #ccd8e5}.secondary:hover{background:#eaf1f8}.ticket{max-width:800px;margin:auto;padding:0;overflow:hidden}.ticket-title{background:#144d89;color:#fff;padding:28px 34px}.ticket-title h2{margin:0 0 8px}.ticket-title p{margin:0;color:#c9def5;font-size:14px}.ticket-content{padding:30px 34px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-bottom:1px dashed #cedae7;padding-bottom:30px}.field span{display:block;font-size:14px;color:#718298}.field strong{font-weight:600;display:block;margin-top:6px;overflow-wrap:anywhere}.field.wide{grid-column:1/-1}.download{margin-top:25px;display:flex;justify-content:space-between;align-items:center;gap:20px}.download p{font-size:14px;color:#718298}.admin-actions{display:flex;gap:12px;flex-wrap:wrap}.danger{background:#fff;color:#bc3d42;border:1px solid #efcdd0}.danger:hover{background:#fff0f1}.admin-panel{padding:24px;margin-top:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.toolbar input{max-width:390px}.count{font-size:14px;color:#718298}table{border-collapse:collapse;width:100%;font-size:14px;white-space:nowrap}th{text-align:left;background:#f2f6fa;color:#657990;font-weight:500}td,th{padding:16px 14px;border-bottom:1px solid #e6edf4}td:first-child{font-weight:600}.table-wrap{overflow:auto}.empty{text-align:center;padding:60px 20px;color:#718298}.status{color:#166947;background:#eaf7f0;border-radius:8px;padding:14px;margin:16px 0}.hide{display:none}footer{max-width:1150px;margin:0 auto;padding:25px 24px;border-top:1px solid #dce5ef;color:#7a8b9e;font-size:12px;display:flex;justify-content:space-between}dialog{border:1px solid #dce5ef;border-radius:16px;padding:30px;max-width:440px;width:calc(100% - 36px);color:#142b45}dialog::backdrop{background:#142b4577}dialog h2{margin-top:0}dialog .admin-actions{justify-content:flex-end;margin-top:24px}@media(max-width:1000px){header{height:80px;padding:0 22px}.brand{font-size:17px}main{margin:30px auto}.login-layout{grid-template-columns:1fr;gap:28px}.intro h1{font-size:32px;margin:10px 0}.intro p{margin-bottom:0}.steps{display:none}.card{padding:24px}.page-head{align-items:flex-start;flex-direction:column}.fields{grid-template-columns:1fr}.ticket-title,.ticket-content{padding:24px}.download{align-items:stretch;flex-direction:column}.toolbar{align-items:stretch;flex-direction:column}.toolbar input{max-width:none}footer span{display:none}.admin-actions button{font-size:14px}}
.split-settings{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}.split-settings label{margin:0}.split-settings input{width:90px}.split-settings span{font-size:14px;color:#718298}


.intro h1,.intro p,.download p,.field span,.notice{white-space:pre-line}.content-dialog{max-width:900px;max-height:90vh;overflow:auto}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}textarea{font:inherit;width:100%;resize:vertical;border:1px solid #cfd9e5;border-radius:8px;padding:12px;color:#142b45}textarea:focus{outline:3px solid #c8e0fa;border-color:#2876bd}.delete-one{padding:6px 14px;font-size:13px}#single-info{overflow-wrap:anywhere}header>a.brand{font-size:20px;color:#142b45}footer #footer-text{display:block}@media(max-width:600px){.content-grid{grid-template-columns:1fr}header>a.brand{font-size:17px}}

.download p{color:#c13737;font-weight:600}.upload-progress{margin-top:20px;padding:18px 22px;border:1px solid #d6e4f1;border-radius:10px;background:#f0f6fd}.upload-progress label{margin:0 0 10px;color:#165997}.upload-progress progress{display:block;width:100%;height:18px;accent-color:#165997}.upload-progress p{font-size:14px;color:#526780;margin:10px 0 0}

@media(max-width:600px){
  body{font-size:14px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
  header{height:72px;padding:0 18px}
  header>a.brand{font-size:16px;gap:11px}
  .brand-icon{width:38px;height:38px;font-size:24px;border-radius:10px}
  .brand small{font-size:9px;letter-spacing:1.2px}
  main{margin:24px auto;padding:0 16px}
  .eyebrow{font-size:11px;letter-spacing:1.3px}
  .intro h1{font-size:25px;line-height:1.4;margin:10px 0 12px}
  .intro p{font-size:14px;line-height:1.7}
  .login-layout{gap:22px;min-height:0}
  .card{padding:22px;border-radius:14px}
  .card h2{font-size:21px}
  .muted{font-size:13px}
  .page-head{flex-direction:row;align-items:flex-end;gap:12px;margin-bottom:18px}
  .page-head>div{min-width:0}
  .page-head h1{font-size:23px;line-height:1.4;margin-top:5px}
  .page-head .secondary{flex-shrink:0;font-size:13px;line-height:1.4;padding:10px 13px;white-space:nowrap}
  .ticket.card{padding:0}
  .ticket-title{padding:20px 18px}
  .ticket-title h2{font-size:clamp(11px,3.5vw,15px);line-height:1.5;white-space:nowrap;margin-bottom:6px}
  .ticket-title p{font-size:12px}
  .ticket-content{padding:22px 18px}
  .fields{gap:19px;padding-bottom:23px}
  .field span{font-size:12px;line-height:1.6}
  .field strong{font-size:14px;margin-top:4px}
  .download{margin-top:18px;gap:12px}
  .download p{font-size:12px;margin:0;line-height:1.8}
  .download .button{font-size:14px;padding:12px 16px}
  .hint{font-size:11px}
  .notice{font-size:12px;padding:12px 14px}
  input{font-size:16px}
}
footer #footer-text{display:none}

.page-head:has(+ .ticket){max-width:800px;margin-left:auto;margin-right:auto}
footer{display:none}

.merge-dialog{max-width:760px;max-height:90vh;overflow:auto}.merge-dialog li{padding:12px 0;border-bottom:1px solid #e1e8f0}.merge-dialog li span{display:block;overflow-wrap:anywhere}.merge-dialog li div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.merge-dialog li button{padding:6px 10px;font-size:13px}.merge-dialog progress{width:100%;margin-top:18px}.merge-dialog #merge-status{font-size:14px;white-space:pre-line}

.merge-dialog select{font:inherit;width:100%;padding:11px 12px;border:1px solid #cfd9e5;border-radius:8px;background:#fff;color:#142b45}
