*{box-sizing:border-box;margin:0}body{font-family:system-ui,PingFang SC,Microsoft YaHei,sans-serif;background:#f6f7f9;color:#1f2329}.login-wrap{display:grid;place-items:center;min-height:100vh}.login{display:flex;flex-direction:column;gap:.8rem;background:#fff;padding:2rem;border-radius:16px;box-shadow:0 4px 24px #00000014;width:320px}.login h2{text-align:center;margin-bottom:.4rem}.err{color:#e6532e;font-size:.85rem;text-align:center}.admin{display:grid;grid-template-columns:220px 1fr;min-height:100vh}aside{background:#fff;border-right:1px solid #e5e7eb;padding:1.2rem;display:flex;flex-direction:column;gap:.6rem}aside h1{font-size:1.15rem;margin-bottom:.4rem}.store-btn{text-align:left;padding:.7rem .9rem;border-radius:10px;border:1px solid transparent;background:#f3f4f6;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.4rem}.store-btn.on{background:#1f2329;color:#fff}.store-btn.off{opacity:.5}.store-btn small{font-size:.72rem;opacity:.75}.store-info{margin-top:auto;font-size:.78rem;color:#6b7280;line-height:1.8}main{padding:1.2rem 1.6rem}.toolbar{display:flex;gap:.6rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}.toolbar input,.toolbar select{padding:.55rem .8rem;border-radius:10px;border:1px solid #d1d5db;background:#fff}.toolbar input{width:220px}.msg{color:#059669;font-size:.85rem}table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 1px 6px #0000000d}th,td{padding:.6rem .8rem;text-align:left;font-size:.88rem;border-bottom:1px solid #f3f4f6}th{background:#f9fafb;color:#6b7280;font-weight:500;white-space:nowrap}tr.listed td{background:#f0fdf9}td.name{max-width:380px}td.zero{color:#e6532e}td.chk{width:30px}.thumb{width:34px;height:34px;border-radius:8px;object-fit:cover;vertical-align:middle;margin-right:.5rem}.name small{display:block;margin-top:.15rem}.price-input{width:110px;padding:.35rem .5rem;border-radius:8px;border:1px solid #d1d5db}.ops{white-space:nowrap}.ops button{margin-right:.35rem;padding:.35rem .7rem;border-radius:8px;border:1px solid #d1d5db;background:#fff;cursor:pointer;font-size:.82rem}button.primary{background:#1f2329;color:#fff;border-color:#1f2329}.pager{display:flex;gap:1rem;align-items:center;justify-content:center;margin-top:1rem;font-size:.85rem;color:#6b7280}.pager button{padding:.4rem .9rem;border-radius:8px;border:1px solid #d1d5db;background:#fff;cursor:pointer}.pager button:disabled{opacity:.4;cursor:not-allowed}.tabs{display:flex;gap:.4rem;margin-bottom:1rem;border-bottom:1px solid #e5e7eb;padding-bottom:.7rem}.tabs button{padding:.45rem 1.1rem;border-radius:9px;border:1px solid #d1d5db;background:#fff;cursor:pointer;font-size:.88rem}.tabs button.on{background:#1f2329;color:#fff;border-color:#1f2329}.st{display:inline-block;font-size:.74rem;padding:.16rem .6rem;border-radius:99px;background:#f3f4f6;color:#6b7280}.st.pending{background:#fdf0e7;color:#c2410c}.st.paid,.st.fulfilling{background:#e0edff;color:#1d4ed8}.st.delivered{background:#e7f6ec;color:#159a53}.st.failed{background:#fdece7;color:#d9490f}.st.expired{background:#f3f4f6;color:#9ca3af}.st.rf{margin-left:.3rem}.st.rf-rd{background:#fdf0e7;color:#c2410c}.st.rf-cd{background:#e7f6ec;color:#159a53}.st.rf-ud,.st.rf-manual{background:#fdece7;color:#d9490f}.tabs .badge{display:inline-block;min-width:1.1rem;margin-left:.35rem;padding:0 .3rem;border-radius:99px;background:#e6532e;color:#fff;font-size:.7rem;line-height:1.25}.health{display:flex;flex-direction:column;gap:.2rem}.h-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.8rem;margin-bottom:.6rem}.h-card{background:#fff;border-radius:12px;box-shadow:0 1px 6px #0000000d;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.3rem}.h-card span{font-size:.76rem;color:#6b7280}.h-card b{font-size:1.25rem}.h-card small{font-size:.72rem;color:#9ca3af}.h-card.bad{outline:2px solid #e6532e}.h-card.bad b{color:#e6532e}.h-sec{margin:1.1rem 0 .5rem;font-size:.95rem}.h-toolbar{display:flex;gap:.6rem;align-items:center;margin-top:.8rem;flex-wrap:wrap}.h-toolbar button{padding:.55rem 1rem;border-radius:10px;border:1px solid #1f2329;cursor:pointer}.notify-form .row{margin-top:.6rem}.notify-form label{display:block;font-size:.8rem;color:#6b7280;margin-bottom:.3rem}.notify-form input.wide{width:100%;max-width:720px;box-sizing:border-box;padding:.55rem .8rem;border-radius:10px;border:1px solid #d1d5db}td.mono,.mono{font-family:ui-monospace,Consolas,monospace;font-size:.78rem}td small{display:inline-block;margin-top:.15rem}.dim{color:#9ca3af;font-weight:400}.err-txt{color:#d9490f}.kami-cell{max-width:260px;word-break:break-all}.settings{max-width:560px;background:#fff;border-radius:12px;box-shadow:0 1px 6px #0000000d;padding:1.4rem;display:flex;flex-direction:column}.settings h3{margin-bottom:1rem}.settings label{font-size:.8rem;color:#6b7280;margin:.8rem 0 .35rem}.settings input{padding:.55rem .8rem;border-radius:10px;border:1px solid #d1d5db;font-size:.9rem}.settings textarea{padding:.55rem .8rem;border-radius:10px;border:1px solid #d1d5db;font-size:.8rem;font-family:ui-monospace,Consolas,monospace;resize:vertical}.settings button{margin-top:1.4rem;padding:.6rem;border-radius:10px;cursor:pointer;font-size:.9rem}.tip-s{font-size:.76rem;margin-top:1rem;line-height:1.7}
