/* Mswagy V13.0.0 — practical UX layer */
:root{--v13-green:#157a43;--v13-dark:#163a28;--v13-soft:#f4f8f3;--v13-line:#dde8de;--v13-muted:#748278;--v13-gold:#a87317}
.v13-discovery{margin:12px 15px 7px;padding:12px;border:1px solid var(--v13-line);border-radius:20px;background:linear-gradient(180deg,#fff,#f9fcf8);box-shadow:0 8px 26px rgba(21,71,39,.05)}
.v13-discovery-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.v13-discovery-head strong{font-size:13px;color:var(--v13-dark)}.v13-result-count{font-size:9px;color:var(--v13-muted);font-weight:900}
.v13-filter-row{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.v13-filter-row::-webkit-scrollbar{display:none}.v13-filter-chip{flex:0 0 auto;border:1px solid var(--v13-line);background:#fff;color:#405549;border-radius:999px;min-height:36px;padding:0 12px;font:900 10px/1.1 inherit;cursor:pointer}.v13-filter-chip.active{background:#e8f6ec;border-color:#a8d7b4;color:#116b39;box-shadow:inset 0 0 0 1px #cae8d1}
.v13-search-history{margin:7px 15px 0;display:none;align-items:center;gap:6px;overflow:auto;scrollbar-width:none}.v13-search-history.show{display:flex}.v13-history-chip{border:0;background:#eef4ef;color:#53675a;border-radius:999px;padding:7px 10px;font:800 9px/1 inherit;white-space:nowrap}.v13-history-clear{border:0;background:transparent;color:#9b5c5c;font:900 9px/1 inherit;white-space:nowrap}
.v13-recent{margin:14px 15px 2px;display:none}.v13-recent.show{display:block}.v13-recent-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:8px}.v13-recent-head small{font-size:8px;color:#8b978f;font-weight:900}.v13-recent-head h3{margin:0;font-size:15px;color:var(--v13-dark)}.v13-recent-clear{border:0;background:#f2f6f2;color:#66786c;border-radius:10px;padding:7px 9px;font:900 8px/1 inherit}.v13-recent-list{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(138px,40vw);gap:9px;overflow:auto;scrollbar-width:none;padding:2px 1px 8px}.v13-recent-list::-webkit-scrollbar{display:none}.v13-recent-card{position:relative;border:1px solid var(--v13-line);border-radius:17px;background:#fff;overflow:hidden;cursor:pointer;box-shadow:0 5px 18px rgba(20,64,35,.05)}.v13-recent-card img{width:100%;height:88px;object-fit:cover;display:block;background:#edf2ee}.v13-recent-body{padding:8px}.v13-recent-name{font-size:10px;font-weight:1000;color:#244330;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v13-recent-price{font-size:9px;color:#168249;font-weight:1000;margin-top:3px}
.v13-card-tools{position:absolute;top:8px;left:8px;z-index:12;display:flex;gap:5px}.v13-card-tool{width:31px;height:31px;border:1px solid rgba(20,70,40,.08);border-radius:50%;background:rgba(255,255,255,.93);display:grid;place-items:center;font-size:14px;box-shadow:0 4px 12px rgba(0,0,0,.09);cursor:pointer}.v13-card-tool:active{transform:scale(.94)}
.v13-detail-tools{display:flex;gap:8px;margin:8px 0 0}.v13-detail-tools button{flex:1;min-height:40px;border:1px solid var(--v13-line);border-radius:13px;background:#fff;color:#31513c;font:900 10px/1 inherit}
.v13-hidden-filter{display:none!important}
/* admin */
.v13-admin-ops{margin:14px 0 18px;padding:14px;border:1px solid var(--v13-line);border-radius:20px;background:linear-gradient(145deg,#fff,#f7fbf7)}.v13-admin-ops-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.v13-admin-ops-head h3{margin:0;font-size:15px;color:#173a29}.v13-admin-ops-head small{font-size:9px;color:#7d8c82}.v13-admin-ops-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v13-admin-op{border:1px solid #e0e9e0;border-radius:15px;background:#fff;padding:11px;cursor:pointer;min-width:0}.v13-admin-op strong{display:block;font-size:18px;color:#176d3e;line-height:1}.v13-admin-op span{display:block;margin-top:5px;font-size:9px;font-weight:900;color:#506258;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v13-admin-op.warn strong{color:#b7791f}.v13-admin-op.danger strong{color:#b04444}.v13-admin-quality{margin-top:9px;padding:10px 11px;border-radius:14px;background:#fff8e9;border:1px solid #f1dfb9;color:#6e592e;font-size:9px;font-weight:800;line-height:1.8}.v13-admin-quality.ok{background:#eef9f1;border-color:#cce9d3;color:#2e6640}
@media(max-width:560px){.v13-admin-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v13-discovery{margin-inline:12px}.v13-search-history,.v13-recent{margin-inline:12px}}
