.agwb-card{box-sizing:border-box;display:flex;align-items:center;gap:14px;width:100%;padding:12px 16px;border:1px solid #dce4d9;border-radius:16px;background:#fff;color:#214f3b;text-align:left;cursor:pointer;font:inherit;min-height:110px}
.agwb-card img{width:88px;height:88px;object-fit:cover;border-radius:12px;flex-shrink:0}.agwb-card strong{display:block;font-size:17px;line-height:1.3}.agwb-card small{display:block;font-size:12px;line-height:1.4;margin-top:5px;color:#65776c}.agwb-card:hover{border-color:#214f3b;background:#f7faf5}.agwb-card:focus-visible{outline:3px solid #ddbc6b;outline-offset:3px}.agwb-catalog{clear:both;margin:12px 0 22px;max-width:430px}.agro-paths.agwb-paths{grid-template-columns:repeat(4,minmax(0,1fr))}
#agwb-dialog{box-sizing:border-box;width:min(94vw,520px);max-height:90dvh;overflow:auto;padding:26px;border:1px solid #dce4d9;border-radius:20px;background:#f8faf5;color:#193c2a;font:16px/1.5 system-ui;z-index:100000}#agwb-dialog::backdrop{background:#10271ece}#agwb-dialog h2{font-size:25px;margin:0 40px 12px 0}#agwb-close{position:absolute;right:12px;top:10px;width:44px;height:44px;background:transparent;color:#214f3b;border:0;font-size:30px;cursor:pointer}#agwb-video{width:100%;max-height:280px;background:#18291e;border-radius:12px;object-fit:cover}#agwb-dialog [hidden]{display:none!important}#agwb-dialog .agwb-actions{display:flex;gap:8px;margin:12px 0}#agwb-dialog button:not(#agwb-close){border:0;border-radius:9px;min-height:44px;padding:12px 16px;background:#214f3b;color:white;font:600 15px system-ui;cursor:pointer}#agwb-dialog button:disabled{opacity:.5;cursor:wait}#agwb-form{display:grid;gap:9px}#agwb-code{box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #bccfbd;padding:12px;border-radius:9px;background:#fff;color:#193c2a;font-size:18px}#agwb-results a{display:block;padding:12px;margin:8px 0;background:#e7f0df;border-radius:9px;color:#214f3b;text-decoration:underline}#agwb-dialog>small{display:block;color:#65776c;margin-top:16px;font-size:12px}body.agwb-modal-open{overflow:hidden}
@media(max-width:1100px){.agro-paths.agwb-paths{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.agro-paths.agwb-paths{grid-template-columns:1fr}.agwb-card img{width:76px;height:76px}.agwb-card{min-height:96px}#agwb-dialog{padding:20px}}

/* Keep all four actions aligned despite the homepage theme spans. */
body .agro-paths.agwb-paths{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:auto!important}body .agro-paths.agwb-paths>*{grid-area:auto!important;min-height:120px!important;height:auto!important}body .agro-paths.agwb-paths>.agwb-card{margin:0!important}@media(max-width:600px){body .agro-paths.agwb-paths{grid-template-columns:minmax(0,1fr)!important}body .agro-paths.agwb-paths>*{min-height:100px!important}}

body .agro-paths.agwb-paths>a.agro-path{display:flex!important;align-items:center!important;gap:16px!important}body .agro-paths.agwb-paths>a.agro-path>span:last-child{display:flex!important;flex-direction:column!important;gap:6px!important}body .agro-paths.agwb-paths>a.agro-path>span:first-child{flex:0 0 96px!important}body .agro-paths.agwb-paths>a.agro-path strong,body .agro-paths.agwb-paths>a.agro-path small{position:static!important;grid-area:auto!important}

/* Match the neighbouring homepage action labels. */
body .agro-paths.agwb-paths>.agwb-card strong{font-size:14px;line-height:1.3}body .agro-paths.agwb-paths>.agwb-card small{line-height:1.5}

/* Show the complete camera frame, without cropping the barcode edges. */
#agwb-video{object-fit:contain}
