:root{--ink:#16332b;--muted:#63756c;--green:#167251;--green-dark:#10583e;--line:#dce6dd;--bg:#f5f7f2;--white:#fff;--soft:#e9f1e8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;line-height:1.6}button,input{font:inherit}button,a,input,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #83b79a;outline-offset:3px}button{border:0}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;max-width:1160px;margin:auto;padding:0 22px}.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:18px;letter-spacing:.4px}.brand-mark{background:var(--green);color:white;border-radius:11px;padding:2px 9px;font-size:23px;font-weight:500}nav{display:flex;gap:7px}nav a{padding:8px 16px;color:var(--muted);border-radius:7px}nav a.active{color:var(--green-dark);background:var(--soft);font-weight:650}main{max-width:1160px;padding:0 22px;margin:auto}.intro{padding:48px 0 28px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;color:var(--green);display:flex;align-items:center;gap:8px}.eyebrow span{height:6px;width:6px;background:var(--green);border-radius:50%}h1{font-size:42px;letter-spacing:-1.4px;line-height:1.3;margin:14px 0 13px;font-weight:700}.intro p{font-size:16px;color:var(--muted);margin:0}.input-panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 8px 30px #16332b04}label{font-weight:650;display:block;margin-bottom:10px}.input-row{display:flex;gap:12px}input[type=url]{flex:1;width:0;border:1px solid #cbd9ce;background:#fbfcf9;padding:14px 16px;border-radius:8px;color:var(--ink);font-size:15px}input::placeholder{color:#87988c}.primary,.secondary,.file-button{padding:11px 18px;border-radius:8px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.primary span{margin-left:22px}.secondary{border:1px solid #cedbd1;background:white;color:var(--ink)}.secondary:hover{background:#f1f5ed}.text-button{background:transparent;color:var(--green);font-weight:600;padding:5px 0}.text-button:hover{text-decoration:underline}.input-bottom{display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px;margin-top:13px;align-items:center}details{border-top:1px solid #eaf0e8;margin-top:17px;padding-top:13px;font-size:12px;color:var(--muted)}summary{cursor:pointer;width:fit-content}.file-button{display:inline-block;position:relative;border:1px solid var(--line);font-size:12px;padding:6px 12px;cursor:pointer;margin:0 12px 0 0;background:var(--bg);color:var(--green)}.file-button input{width:100%;height:100%;position:absolute;inset:0;opacity:0;cursor:pointer}#status,.notice{padding:13px 17px;border-radius:9px;margin-top:18px;background:#e6efe2;color:#315d3f;overflow-wrap:anywhere}#status.error{background:#fff0e9;color:#a84227;border:1px solid #f5d7c8}#status.busy{background:#e9f0f7;color:#345773}.article-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:36px 0 22px}.article-heading h2{font-size:25px;line-height:1.4;margin:8px 0}.article-heading p{margin:0;color:var(--muted);font-size:13px}.link-button{font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:0 0 15px;margin-top:22px}.filters{display:flex;gap:5px}.filters button{padding:8px 12px;border-radius:6px;color:var(--muted);background:transparent}.filters button.selected{background:var(--soft);color:var(--green-dark);font-weight:650}.selection{display:flex;gap:15px;align-items:center;font-size:12px}.selection>span{color:var(--muted);min-width:68px;text-align:right}.downloadbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0}.downloadbar>span{color:var(--muted);font-size:12px}.downloadbar>div{display:flex;gap:10px}.downloadbar button{font-size:13px}#progress-box{border:1px solid var(--line);background:white;border-radius:8px;padding:13px 18px;margin:0 0 18px}#progress-box>div{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}progress{width:100%;height:8px;accent-color:var(--green);border:0;border-radius:9px;overflow:hidden}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.image-area{height:225px;position:relative;background:repeating-conic-gradient(#eef1ec 0% 25%,#f8faf6 0% 50%) 50% / 16px 16px;display:flex;align-items:center;justify-content:center;padding:15px}.image-area img{max-height:100%;max-width:100%;object-fit:contain}.image-area label{position:absolute;left:10px;top:9px;background:#ffffffed;border:1px solid #dce6dd;border-radius:5px;display:flex;align-items:center;gap:5px;padding:3px 6px;cursor:pointer;font-size:11px;color:#53685b;margin:0}.image-area input{accent-color:var(--green);width:15px;height:15px;margin:0}.image-error{font-size:12px;color:var(--muted);text-align:center;padding:20px}.card-info{padding:12px 13px}.card-info>div{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.kind{font-size:12px;font-weight:600}.tag{font-size:10px;color:var(--muted);background:#f1f5ee;border-radius:4px;padding:2px 5px}.card-actions{display:flex;gap:8px}.card-actions button,.card-actions a{flex:1;border:1px solid var(--line);border-radius:5px;text-align:center;padding:5px 8px;background:white;color:var(--green);font-size:11px}.card-actions a{color:var(--muted)}.empty{text-align:center;padding:45px 0 35px}.empty-icon{color:#7e9c86;font-size:34px;width:61px;height:61px;line-height:57px;border:1px dashed #aec4af;border-radius:14px;margin:0 auto 15px;background:#eff4eb}.empty h2{font-size:17px;margin:0 0 8px;font-weight:600}.empty p{color:var(--muted);font-size:13px;line-height:1.8}.steps{display:flex;align-items:center;justify-content:center;gap:25px;font-size:12px;color:var(--muted);margin:30px 0 0}.steps b{font-weight:500;color:#7a9983;margin-right:8px;font-family:monospace}.steps i{font-style:normal;color:#b7c5b8}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding:22px 0 28px;font-size:11px;color:#7b8d7f;margin-top:32px}@media(max-width:850px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.image-area{height:190px}.toolbar,.downloadbar{align-items:flex-start;flex-wrap:wrap}.downloadbar>div{margin-left:auto}}@media(max-width:600px){.topbar{height:70px;padding:0 16px}.brand{font-size:15px}.brand-mark{font-size:20px}nav a{font-size:12px;padding:7px 9px}main{padding:0 16px}.intro{padding-top:34px}h1{font-size:32px}.intro p{font-size:14px}.input-panel{padding:17px}.input-row{flex-direction:column}input[type=url]{width:100%;font-size:13px}.primary span{margin-left:8px}.input-bottom{align-items:flex-start;gap:8px}.input-bottom>span{max-width:65%}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.image-area{height:180px}.article-heading h2{font-size:21px}.article-heading{align-items:flex-start}.article-heading .link-button{padding:6px 9px}.selection{width:100%;justify-content:flex-end}.filters button{font-size:12px}.downloadbar>div{width:100%;margin:0;flex-wrap:wrap}.downloadbar>div button{flex:1;padding:10px}.steps{gap:13px}.empty{padding:34px 0 22px}footer{flex-direction:column;gap:4px}.card-actions button,.card-actions a{padding:5px 3px}.tag{font-size:9px}}
