:root{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#213b31;background:#f6f8f7;font-size:13px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}[hidden]{display:none!important}.general-app{height:100dvh;display:flex;flex-direction:column}.qzb-shell button,.qzb-dialog button,.qzb-auth button{font:inherit;cursor:pointer}.qzb-button,.qzb-file-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dfe8e2;border-radius:5px;background:white;color:#3d5b4e;padding:7px 11px;text-decoration:none;font-size:12px;white-space:nowrap;cursor:pointer}.qzb-button:hover,.qzb-file-button:hover{background:#f0f7f3;border-color:#aacdbb}.qzb-button.primary{background:#1e6950;border-color:#1e6950;color:white}.qzb-button.quiet,.qzb-file-button.quiet{border-color:transparent;background:transparent;color:#71867b}.qzb-button:disabled{opacity:.45;cursor:wait}.qzb-top{height:54px;display:flex;align-items:center;gap:25px;padding:0 20px;border-bottom:1px solid #e4ebe6;background:white;flex-shrink:0}.qzb-brand{font-size:20px;letter-spacing:1px;color:#1d5d47;text-decoration:none;font-weight:700}.qzb-brand span{font-size:11px;letter-spacing:0;font-weight:400;margin-left:12px;color:#94a59b}.qzb-book-title{font-size:13px;color:#61786b}.qzb-top-actions{margin-left:auto;display:flex;gap:10px;align-items:center;color:#6b8174;font-size:11px}.qzb-dashboard{padding:10px 20px 12px;background:#f6f8f7;flex-shrink:0}.qzb-dashboard-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:12px;color:#58715f}.qzb-dashboard-heading>div{display:flex;gap:8px;align-items:center}.qzb-dashboard-heading small{margin-left:9px;color:#97a69d;font-size:10px}.qzb-dashboard select{border:0;background:transparent;font:inherit;color:#4e6c59;max-width:170px}.qzb-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.qzb-metrics article{border:1px solid #e4ebe6;border-radius:7px;background:white;padding:12px 18px;display:flex;flex-direction:column;gap:7px;box-shadow:0 2px 8px #243b2e03}.qzb-metrics article>span{font-size:11px;color:#7c8f83}.qzb-metrics strong{font:600 25px Arial,sans-serif;letter-spacing:-.5px;color:#254638}.qzb-metrics small{font-size:10px;color:#99a79d}.qzb-metrics .qzb-outstanding{background:#fcfdf8}.qzb-metrics .qzb-outstanding strong{color:#1c7353}.qzb-filebar{display:flex;align-items:center;gap:6px;padding:8px 14px;border-top:1px solid #e5ece7;border-bottom:1px solid #e5ece7;background:white;flex-shrink:0;overflow:auto}.qzb-save-status{margin-left:auto;color:#8b9b90;font-size:10px;white-space:nowrap;padding:0 8px}.qzb-save-status.error{color:#a55944}.qzb-editor{flex:1;min-height:240px;position:relative;overflow:hidden;background:white}.qzb-statusbar{height:27px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-top:1px solid #e0e9e3;background:#f8faf8;font-size:10px;color:#8d9d92;gap:15px}.qzb-statusbar>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.qzb-notice{display:flex;align-items:center;gap:12px;padding:8px 18px;background:#fff9e9;border-bottom:1px solid #e9dcb7;color:#927747;font-size:11px;line-height:1.7;flex-shrink:0}.qzb-notice>span{flex:1}.qzb-notice.recovery{background:#eef6fb;color:#52718a}.qzb-loading{position:absolute;z-index:5;left:50%;top:52%;transform:translate(-50%,-50%);padding:20px 30px;background:white;box-shadow:0 5px 30px #28453516;border:1px solid #e2ebe5;border-radius:8px;color:#7a9080}.qzb-dialog{width:620px;max-width:calc(100vw - 28px);border:1px solid #dce7de;border-radius:12px;padding:25px;color:#3d5648;box-shadow:0 18px 80px #193e3233}.qzb-dialog::backdrop{background:#173a2c55;backdrop-filter:blur(2px)}.qzb-dialog-heading{display:flex;justify-content:space-between;align-items:center}.qzb-dialog h2{margin:3px 0 15px;font-size:21px}.qzb-dialog small{color:#8d9e92;font-size:10px}.qzb-dialog p{font-size:12px;line-height:1.9;color:#829489}.qzb-form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:18px}.qzb-form-grid label{display:flex;flex-direction:column;gap:8px;font-size:11px}.qzb-form-grid input,.qzb-form-grid select,.qzb-auth input{padding:10px;border:1px solid #dce6de;border-radius:5px;min-width:0;width:100%;font:inherit;background:white;color:#3e5a49}.qzb-dialog-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e6ece8;padding-top:18px;margin-top:15px}.qzb-error{color:#a35943;background:#fff5ed;padding:10px;line-height:1.8;font-size:12px;border-radius:5px}.qzb-dialog .qzb-muted{font-size:10px;color:#95a297}.qzb-auth{height:100%;display:grid;place-items:center;background:#f1f6f2}.qzb-auth-card{width:380px;max-width:calc(100vw - 35px);padding:34px;background:white;border:1px solid #e2ebe4;box-shadow:0 12px 55px #2645350b;border-radius:12px}.qzb-auth-card h1{font-size:24px;margin:22px 0 10px}.qzb-auth-card p{color:#8a9b8e;font-size:12px;line-height:1.8}.qzb-auth-card label{display:flex;flex-direction:column;gap:8px;margin:17px 0;font-size:12px}.qzb-auth-card .primary{width:100%;padding:11px}.qzb-auth-card .qzb-brand span{display:none}.qzb-toast{position:fixed;z-index:10000;bottom:40px;right:22px;max-width:520px;padding:12px 18px;border-radius:7px;background:#235540;color:white;box-shadow:0 8px 30px #243c3025;font-size:12px;line-height:1.7}.general-app.focused .qzb-metrics{display:none}.general-app.focused .qzb-dashboard{padding-top:5px;padding-bottom:3px}.general-app.focused .qzb-dashboard-heading{margin:0}@media(max-width:900px){.qzb-top{padding:0 12px;gap:12px}.qzb-brand span,.qzb-book-title{display:none}.qzb-dashboard{padding:7px 12px}.qzb-metrics{gap:7px}.qzb-metrics article{padding:10px}.qzb-metrics strong{font-size:21px}.qzb-filebar{padding-left:9px}.qzb-save-status{display:none}}@media(max-width:600px){.qzb-metrics{grid-template-columns:repeat(2,1fr)}.qzb-metrics article{gap:4px}.qzb-dashboard-heading{gap:5px}.qzb-dashboard-heading>div{gap:0}.qzb-dashboard-heading>span{display:none}.qzb-form-grid{grid-template-columns:1fr 1fr}.qzb-top-actions>span{display:none}.qzb-metrics strong{font-size:19px}}

.qzb-editbar{display:flex;align-items:center;gap:8px;flex-shrink:0;padding:6px 15px;background:#fbfdfb;border-bottom:1px solid #e0e9e3;font-size:11px}.qzb-editbar>strong{font-size:11px;color:#607b69;margin-right:4px}.qzb-editbar>span{color:#8b9e91;font-size:10px}.qzb-button.danger{color:#a04c3e;border-color:#e8c9c2;background:#fff9f7}.qzb-button.danger:hover{background:#fff0eb;border-color:#d9a69b}@media(max-width:900px){.qzb-editbar>span{display:none}}
