:root{font:16px/1.6 system-ui,"Microsoft YaHei",sans-serif;color:#173c35;background:#f1f6f4}*{box-sizing:border-box}body{margin:0}main,header{max-width:1180px;margin:auto;padding:24px}header{display:flex;align-items:center;gap:20px;border-bottom:1px solid #d5e4df}header strong{flex:1}h1{font-size:32px;margin:8px 0}h2{font-size:21px;margin:0 0 16px}.eyebrow{color:#087e75;font-size:13px;letter-spacing:.1em}.login{max-width:430px;margin:12vh auto;background:white;border-radius:18px;padding:36px;box-shadow:0 14px 50px #143e3510}section{background:white;border:1px solid #dce7e3;border-radius:14px;padding:24px;margin-bottom:24px}label{display:block;margin:16px 0}input,textarea,select{font:inherit;border:1px solid #b7cdc5;border-radius:8px;padding:10px;max-width:100%}.login input,textarea{width:100%}textarea{min-height:180px}button,.link{font:inherit;border:0;border-radius:8px;padding:10px 17px;background:#087e75;color:#fff;cursor:pointer;text-decoration:none;display:inline-block}button:disabled{opacity:.5;cursor:wait}a{color:#087e75}.links{display:flex;gap:16px;flex-wrap:wrap}.muted{color:#66827a;font-size:14px}.workspace{display:grid;grid-template-columns:250px 1fr;gap:24px}#cases{padding:0;list-style:none;max-height:50vh;overflow:auto}#cases button{display:block;background:#edf5f2;color:#244a40;width:100%;text-align:left;margin-bottom:8px;overflow-wrap:anywhere}#items{max-height:50vh;overflow:auto}article{padding:12px 0;border-bottom:1px solid #e0ebe7;display:flex;gap:10px;align-items:center}article span{flex:1}#preview{max-width:100%;max-height:65vh;object-fit:contain}#message{min-height:24px;color:#8c4b1b}.badge{background:#dcedea;border-radius:30px;padding:4px 12px}small{color:#66827a}input[type=checkbox]{width:auto}button.secondary{background:#e6f0ec;color:#285448}[hidden]{display:none!important}@media(max-width:750px){.workspace{grid-template-columns:1fr}header,main{padding:16px}section{padding:18px}}
.capture-history{margin-top:24px;min-width:0}
.capture-history details{border-top:1px solid #dce7e3;padding:12px 0}
.capture-history summary{cursor:pointer;overflow-wrap:anywhere}
.capture-history pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:#f1f6f4;padding:12px;border-radius:8px}
.capture-history .muted{white-space:pre-wrap;overflow-wrap:anywhere}
