*{box-sizing:border-box}body{margin:0;background:white;color:#575757;font-family:"Microsoft YaHei",sans-serif;min-height:100vh}header{height:50px;background:#229ed0 url('assets/header.jpg') center/100% 100%;display:flex;align-items:center;justify-content:space-between;padding:0 10px;gap:12px}header img{max-width:calc(100% - 245px);max-height:48px;object-fit:contain;object-position:left}header strong{font-size:14px;color:white;background:#126182;padding:5px 10px;white-space:nowrap}main{min-height:calc(100vh - 50px);padding-top:45px;background:url('assets/bg.png') left bottom no-repeat}form{width:620px;margin:0 auto;height:257px}.row{display:flex;align-items:center;height:44px;margin-bottom:24px}label{width:190px;flex-shrink:0;text-align:right;padding-right:12px;font:18px SimSun,serif}input{border:1px solid #27a0d8;border-radius:0;height:44px;background:#fff;font:20px "Times New Roman",serif;color:#111;min-width:0;padding:0 2px}#code{width:425px}#captcha{width:230px}canvas{width:110px;height:42px;border:1px solid #575757;margin-left:32px;background:white}button{cursor:pointer;font:18px "Microsoft YaHei",sans-serif}#refresh{border:0;background:transparent;color:#229ed0;font-size:14px;white-space:nowrap;align-self:flex-end;padding:0 0 3px 3px}.actions{display:flex;justify-content:space-between;width:320px;margin-left:170px}.actions button{width:110px;height:40px;border:0;border-radius:8px;color:white;background:#24a2d5}.actions button:disabled{opacity:.5}#message{font-size:14px;color:#a43a27;margin:14px 0 0 190px}aside{width:722px;height:300px;margin:0 auto;border:1px solid #9bd5f0;border-radius:20px;padding:25px 44px;background:#ffffffdf;color:#111;font:14px/28px SimSun,serif}aside p{margin:0}#result{position:fixed;z-index:10;top:166px;left:2px;right:0;bottom:0;background:white;border:1px solid #aaa}[hidden]{display:none!important}.result-head{height:46px;border-bottom:1px solid #aaa;background:#f4fcfc;display:flex;align-items:center;justify-content:space-between;padding:0 4px;color:#111;font:14px SimSun,serif}.result-head small{margin-left:18px;color:#6c7377}.result-head button{border:0;background:transparent;color:#999;font:22px Arial;padding:4px 9px}#document-scroll{height:calc(100% - 46px);overflow:auto;background:white}#document{display:block;width:100%;height:auto}#file-status{text-align:center;padding:20px}button:focus-visible,input:focus-visible{outline:2px solid #116a9b;outline-offset:3px}@media(max-width:760px){header{height:auto;min-height:50px;flex-wrap:wrap;padding:8px}header img{max-width:100%;max-height:35px}header strong{font-size:12px}main{padding:30px 14px;background-size:auto 200px}form{width:100%;height:245px}.row{margin-bottom:20px}label{width:78px;font-size:16px}#code{flex:1}#captcha{flex:1;width:80px}canvas{margin-left:10px;flex-shrink:0;width:90px}#refresh{font-size:12px}.actions{margin:0 auto;width:280px}#message{margin-left:78px}aside{width:100%;height:auto;min-height:250px;padding:24px}.result-head small{font-size:12px;margin-left:8px}}
#document{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
/* 文件窗口标题：加粗微软雅黑与紧凑左边距。 */
.result-head{padding-left:5px}
#result-title{font-family:"Microsoft YaHei","Heiti SC",sans-serif;font-size:16px;font-weight:700;line-height:24px;color:#555555}
#result-title small{font-family:"Microsoft YaHei",sans-serif;font-size:12px;font-weight:400;color:#6c7377}






/* 说明框只保留上沿和渐隐侧边，不显示底边。 */
main>aside{position:relative;border-color:transparent;background:transparent}
main>aside::before{content:"";position:absolute;inset:-1px;border:1px solid #9bd5f0;border-bottom:0;border-radius:20px 20px 0 0;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 130px,transparent 200px);mask-image:linear-gradient(to bottom,#000 0,#000 130px,transparent 200px)}
