@import url('/assets/fonts.css');
:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#23362f;background:#f3f5f1;font-synthesis:none;--green:#23634d;--muted:#738078;--border:#dfe6df}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 15% 0%,#dfebe0,transparent 55%)}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}a{color:var(--green)}button{background:var(--green);color:#fff;border:1px solid var(--green);padding:12px 20px;border-radius:10px;font-weight:600;cursor:pointer;transition:background .15s}button:hover{background:#194c3a}button:disabled{opacity:.5;cursor:wait}.outline{color:var(--green);background:transparent;border-color:#c7d6cc}.outline:hover{background:#e9f1e9}.danger{color:#a33a30;border-color:#e8c6be;background:#fff7f4}.shell{width:min(100% - 40px,900px);margin:40px auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;gap:16px}.brand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}.brand-mark{background:var(--green);color:#fff;border-radius:14px;display:grid;place-items:center;width:48px;height:48px;font-size:25px;font-weight:700;flex-shrink:0}.brand strong{font-size:18px;display:block}.brand small{display:block;color:var(--muted);margin-top:6px;font-size:12px}.pill{display:inline-block;border:1px solid #d0ded3;background:#edf4ec;color:#3c6c51;font-size:12px;padding:7px 12px;border-radius:30px;white-space:nowrap}.card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:32px;margin-bottom:20px;box-shadow:0 12px 36px #243d2904}.hero{padding:40px}.eyebrow{letter-spacing:2px;font-size:11px;font-weight:700;color:#72917c;margin-bottom:12px}h1{font-size:32px;line-height:1.4;letter-spacing:-1px;margin:0 0 12px}h2{font-size:19px;margin:0 0 15px}h3{font-size:15px;margin:0 0 8px}p{line-height:1.8;margin:0}.muted{color:var(--muted);font-size:14px}.state{display:flex;gap:15px;align-items:center;border:1px solid var(--border);background:#f8faf7;padding:22px;border-radius:12px;margin:30px 0 20px}.state h2{font-size:16px;margin:0 0 6px}.state p{font-size:13px;color:var(--muted)}.status-dot{width:10px;height:10px;background:#66a47a;border-radius:50%;flex-shrink:0}.error .status-dot{background:#c15848}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;font-size:12px}.chips span{padding:7px 10px;background:#f1f5ef;border-radius:6px;color:#526a58}.delivery-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px}.delivery-head h2{margin:0}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8f4;border:1px solid var(--border);border-radius:12px;padding:22px;font:14px/1.9 ui-monospace,Consolas,monospace;color:#304b3b;margin:0 0 18px}.actions{display:flex;gap:10px;flex-wrap:wrap}.wide{width:100%}.prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;color:#617066;font-size:14px}.notice{background:#fff7e6;border:1px solid #efddb0;padding:16px;border-radius:10px;line-height:1.8;font-size:14px;margin-top:24px;white-space:pre-wrap}.support{display:flex;gap:16px;padding:24px 30px;margin-top:10px}.support p{font-size:13px;color:var(--muted);white-space:pre-wrap}.support-icon{width:34px;height:34px;border:1px solid #b8cdbd;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--green);flex-shrink:0}footer{border-top:1px solid var(--border);margin:18px 0;padding:25px 0;display:flex;justify-content:space-between;gap:15px;color:#98a298;font-size:11px;line-height:1.8}.hidden{display:none!important}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#253e31;color:white;border-radius:10px;padding:12px 22px;box-shadow:0 6px 20px #0002;z-index:100}.otp{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);padding:18px;border-radius:12px;margin:16px 0}.otp strong{display:block;letter-spacing:5px;font-size:28px;margin-top:8px}.otp span{font-size:12px}.otp button{margin-left:12px;padding:9px 12px}.admin-shell{width:min(100% - 40px,1180px)}.login{max-width:420px;margin:70px auto}.form{display:grid;gap:14px}label{display:grid;gap:7px;font-size:13px;font-weight:600}input,textarea,select{width:100%;border:1px solid #d2ddd2;border-radius:9px;background:#fff;color:inherit;padding:11px 12px;outline:none}input:focus,textarea:focus,select:focus{border-color:#528261;box-shadow:0 0 0 3px #52826115}textarea{min-height:100px;resize:vertical}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}.stat{background:white;border:1px solid var(--border);border-radius:14px;padding:20px}.stat strong{font-size:28px;display:block;margin-top:8px}.stat small{color:var(--muted)}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.tabs button{background:transparent;color:var(--muted);border-color:transparent}.tabs button.active{background:var(--green);color:white}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;border-bottom:1px solid var(--border);padding:13px 10px;vertical-align:middle}th{color:var(--muted);font-weight:500;white-space:nowrap}td button{padding:7px 10px;font-size:12px;margin:2px}.scroll{overflow:auto}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.error-text{color:#ad4535;font-size:13px;white-space:pre-wrap}.help{font-size:12px;line-height:1.7;color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:32px}.badge{font-size:11px;background:#eef3ec;padding:5px 8px;border-radius:6px;white-space:nowrap}.inline{display:flex;gap:12px}.inline>*{flex:1}.stock-count{color:var(--green);font-weight:700}#issued-links{margin-top:14px;max-height:300px;overflow:auto}#login-error{min-height:20px}button:focus-visible,a:focus-visible{outline:3px solid #87b894;outline-offset:3px}@media(max-width:700px){.shell{width:calc(100% - 24px);margin:22px auto}.hero,.card{padding:23px;border-radius:15px}.topbar{margin-bottom:24px}.brand small{max-width:200px;font-size:11px}.topbar>.pill{display:none}h1{font-size:26px}.grid{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:23px}.actions button{width:100%}.support{padding:20px 12px}footer{display:block}footer span{display:block;margin-top:8px}.otp{align-items:flex-start}.otp button{margin:8px 0 0}.inline{flex-wrap:wrap}}
