:root{font-family:Arial,'Microsoft YaHei',sans-serif;color:#182e2b;background:#f2f4ef;font-size:14px;--green:#153f3a;--muted:#70817a;--line:#dce3dc;--accent:#c2db7a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--green);border-radius:8px;padding:10px 14px}button:hover{background:#eff4e9}button.primary{background:var(--green);color:white;border-color:var(--green)}button:disabled{opacity:.45;cursor:wait}input,select,textarea{width:100%;border:1px solid #cdd8d1;border-radius:7px;padding:11px;background:white;color:#182e2b}textarea{min-height:82px;resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #a5cbb5;outline-offset:1px}h1{font-size:27px;letter-spacing:-.7px;margin:8px 0}h2{font-size:18px;margin:0 0 18px}h3{font-size:15px;margin:0 0 10px}p{line-height:1.7}small,.muted{color:var(--muted)}header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:white;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;align-items:center;gap:12px}.mark{background:#153f3a;color:white;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:21px;font-weight:bold}.brand strong{letter-spacing:1.5px}.shell{display:grid;grid-template-columns:210px 1fr;min-height:calc(100vh - 74px)}nav{border-right:1px solid var(--line);padding:26px 15px;background:#fafbf7}nav button{width:100%;text-align:left;margin-bottom:8px;border-color:transparent;background:transparent}nav button.active{background:var(--green);color:white}nav small{display:block;margin:25px 10px 10px}main{padding:30px;max-width:1600px;width:100%;margin:auto}.topline{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.eyebrow{color:#6b8173;letter-spacing:2px;font-size:11px;text-transform:uppercase}.tag{display:inline-block;padding:5px 9px;border-radius:20px;background:#e7eee5;font-size:12px;color:#325d4c}.warning{background:#fff2d7;color:#94611b;border:1px solid #efd69e;padding:12px;border-radius:8px}.error{color:#a1222c}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.stat b{display:block;font-size:30px;margin-top:12px}.stat:first-child{background:var(--green);color:white}.stat:first-child small{color:#bed2c2}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:20px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.workspace{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.flex{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.field{margin-bottom:17px}.field label{display:block;font-size:12px;font-weight:bold;margin-bottom:7px;color:#576c60}.field .flex{flex-wrap:nowrap}.field .flex input{min-width:0}.field button{white-space:nowrap;padding:10px 9px;font-size:12px}.field small{display:block;margin-top:5px}.hint{background:#f4f7e8;border:1px solid #dce7ba;border-radius:8px;padding:10px;margin-top:8px}.source{position:relative;display:inline-block}.source img.preview{display:none;position:absolute;bottom:100%;right:0;width:360px;max-height:300px;object-fit:contain;background:#fff;box-shadow:0 4px 28px #0004;z-index:5}.source:hover img.preview{display:block}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.photo{position:relative}.photo img{width:100%;height:110px;object-fit:cover;border-radius:7px;cursor:zoom-in}.photo small{font-size:10px;display:block}.photo button{position:absolute;top:4px;right:4px;padding:3px 7px;background:#fffe}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}th{font-weight:normal;font-size:12px;color:#748478;background:#f5f7f1;padding:12px}td{padding:13px 12px;border-bottom:1px solid #e9eee6;font-size:13px}tr[data-record]{cursor:pointer}tr:hover td{background:#f6f8ef}.progress{height:5px;border-radius:10px;background:#e2e8da;overflow:hidden;margin-top:13px}.progress span{display:block;height:100%;background:#a6c95c}.actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px;flex-wrap:wrap}.empty{text-align:center;color:#7b8b80;padding:35px}.login{width:min(430px,95vw);margin:10vh auto}.login .mark{margin-bottom:24px}.list-item{padding:14px 0;border-bottom:1px solid var(--line)}dialog{border:0;border-radius:14px;padding:25px;width:min(850px,95vw);max-height:90vh;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#102c2588}dialog img.full{max-width:100%;max-height:72vh;object-fit:contain}dialog video{width:100%;max-height:60vh}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163d35;color:white;padding:12px 20px;border-radius:8px;z-index:100;display:none;max-width:90vw}.row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.u-input{font-size:28px;width:115px}.note{background:#f6f7f1;border-left:3px solid #b7cd88;padding:12px;margin-top:12px}.offline{background:#fff1d4;color:#8a621a}.tabs{display:flex;gap:6px;margin-bottom:20px}.tabs button.selected{background:#e8f0dc;border-color:#adc383}.danger{color:#9a3434}footer{margin-top:30px;color:#8c998e;font-size:11px}.skeleton{padding:25px}.readonly{opacity:.75}
@media(max-width:950px){.workspace{grid-template-columns:1fr}.shell{grid-template-columns:155px 1fr}main{padding:20px}.field button{padding:10px 7px}.grid{gap:12px}}@media(max-width:650px){header{height:auto;min-height:66px;padding:12px 16px}.brand small{display:none}.shell{display:block}nav{display:flex;padding:8px;overflow:auto;border-right:0;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}nav button{width:auto;white-space:nowrap;margin:0 3px}nav small{display:none}main{padding:16px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:13px}.stat b{font-size:24px}.topline{align-items:flex-start}.grid{grid-template-columns:1fr}.panel{padding:16px}.field .flex{flex-wrap:wrap}.field .flex input{flex-basis:100%}.field button{flex:1}.source:hover img.preview{display:none}h1{font-size:23px}.photos{grid-template-columns:repeat(3,1fr)}}

.contact{background:#f6f8f2;border:1px solid var(--line);border-radius:8px;padding:14px}.contact label{font-size:12px;color:var(--muted)}.contact p{margin:8px 0;white-space:pre-line}.contact a{color:var(--green);font-weight:600}.contact small{white-space:pre-line}

.update-banner{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:50;background:#153f3a;color:white;box-shadow:0 4px 24px #0003;border-radius:10px;padding:12px 16px;display:flex;align-items:center;gap:14px;max-width:95vw}.update-banner button{white-space:nowrap}

.scan-stage{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;background:#07130f;border-radius:10px}.scan-stage video{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover}.scan-aim{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:88%;height:65%;border:3px solid #c7f57a;border-radius:10px;box-shadow:0 0 0 500px #0006;pointer-events:none}.scan-aim[data-mode="qr"]{width:64%;height:auto;aspect-ratio:1}.scan-aim[data-mode="barcode"]{width:90%;height:30%}.scan-aim span{position:absolute;left:5%;right:5%;top:50%;border-top:1px solid #ee5353}.scan-stage:after{content:"将完整条码放入框内";position:absolute;bottom:6px;left:0;right:0;text-align:center;font-size:12px;color:white;pointer-events:none}

.scan-codes{position:absolute;inset:0;pointer-events:none}.scan-code-marker{position:absolute;pointer-events:auto;border:3px solid #41ff98;background:#00b75a20;color:#041e10;border-radius:12px;min-width:32px;min-height:32px;font-size:19px;font-weight:bold;padding:0;box-shadow:0 0 0 1px #041e10}.scan-code-marker:hover{background:#00b75a55}.scan-choices{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.scan-choices button{font-size:13px;overflow-wrap:anywhere;text-align:left;background:#e5f6df}

.mobile-flow .shell{display:block;min-height:calc(100vh - 65px)}.mobile-flow header{padding:10px 16px;min-height:60px;height:auto}.mobile-flow header .brand small{display:none}.mobile-flow header .mark{width:32px;height:32px;font-size:18px}.mobile-flow header .brand strong{font-size:13px}.mobile-flow nav{position:fixed;bottom:0;top:auto;left:0;right:0;padding:8px 5px calc(8px + env(safe-area-inset-bottom));display:flex;z-index:20;overflow:auto;gap:2px;border:0;border-top:1px solid var(--line);background:#fff}.mobile-flow nav small{display:none}.mobile-flow nav button{flex:1;min-width:42px;text-align:center;padding:10px 4px;margin:0;font-size:12px;white-space:nowrap}.mobile-flow main{padding:18px 16px 100px;max-width:600px}.mobile-heading h1{font-size:25px;margin:12px 0 5px}.mobile-heading p{font-size:12px;margin:0 0 20px}.mobile-back{border:0;background:transparent;padding:3px 0;font-size:15px}.mobile-project{background:var(--green);color:white;border-radius:12px;padding:18px;margin-bottom:18px}.mobile-project strong,.mobile-project small{display:block}.mobile-project small{color:#d2e2c5;margin-top:10px}.mobile-site{margin-top:14px;padding:18px}.mobile-site h2{font-size:18px;line-height:1.4}.mobile-site p{font-size:13px}.mobile-contact-summary{line-height:1.6;color:#587064}.mobile-wide{width:100%;min-height:50px;font-size:16px}.mobile-step-action{display:grid;gap:10px;padding:4px 0 16px}.mobile-flow .panel{padding:17px;border-radius:12px}.mobile-flow .site-details .grid{grid-template-columns:1fr}.mobile-flow .field .flex{display:flex;flex-wrap:wrap;gap:6px}.mobile-flow .field .flex input{flex-basis:100%;font-size:18px;padding:13px}.mobile-flow .field button{flex:1;padding:11px 4px;font-size:12px}.mobile-flow input,.mobile-flow select,.mobile-flow textarea{font-size:16px;min-height:48px}.mobile-flow .contact input{min-height:auto}.mobile-record-summary{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px;font-size:13px}.mobile-record-summary small{font-size:10px}.mobile-photo-panel .flex button{flex:1;min-height:48px}.mobile-flow .photos{grid-template-columns:repeat(3,1fr)}.mobile-flow .photo img{height:85px}.mobile-flow details{margin-top:18px}.mobile-flow summary{padding:12px 0;cursor:pointer;color:#5b725c}.mobile-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:20px}.mobile-results label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:8px;padding:10px;font-size:12px}.mobile-results input{width:18px!important;min-height:18px!important;flex:none}.mobile-saved-mark{font-size:44px;text-align:center;color:#47844f;margin:15px}.mobile-flow dialog{width:96vw;padding:16px}.mobile-flow .update-banner{bottom:85px;width:94%;font-size:12px}.mobile-flow .scan-stage{aspect-ratio:3/4;max-height:48vh}.mobile-flow .scan-aim{height:62%;width:88%}

.brand-logo{width:174px;height:auto;display:block}.login-logo{width:260px;max-width:100%;height:auto;display:block;margin:0 0 28px}.mobile-flow .brand-logo{width:130px}@media(max-width:650px){.brand-logo{width:130px}.brand{gap:8px}}

button.danger-solid{background:#ae303a;border-color:#ae303a;color:#fff}button.danger-solid:hover{background:#90242e}button[hidden]{display:none!important}
