:root{--purple:#58258b;--green:#4a8e24;--ink:#25282c;--muted:#62666a;--line:#dfe3dc;--paper:#f6f7f3}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:0;border-radius:8px;background:var(--purple);color:white;padding:10px 18px;font-weight:700}button:hover{filter:brightness(.94)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8bbd37;outline-offset:3px}a{color:var(--purple);text-underline-offset:4px}header{height:100px;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line);padding:15px max(5vw,20px);background:white}.brand img{width:195px;height:68px;object-fit:contain}.header-label{font-size:12px;letter-spacing:2px;color:var(--muted)}.source-link{margin-left:auto;font-size:14px}main{max-width:1280px;margin:auto;padding:0 36px 64px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:55px;padding:54px 0 44px;align-items:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--purple);margin:0 0 14px}h1{font-size:clamp(38px,4.4vw,62px);line-height:1.08;letter-spacing:-2px;margin:0 0 22px}h2{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:0 0 16px}h3{margin:0 0 8px;font-size:19px}.intro{font-size:18px;max-width:500px;color:var(--muted)}.hero-facts{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;font-weight:700;color:var(--green);margin-top:28px}.hero-photo{position:relative;height:305px;border-radius:16px;overflow:hidden;background:#526b40}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-photo span{position:absolute;bottom:16px;left:18px;color:white;background:#263a25d9;padding:7px 12px;border-radius:5px;font-size:11px;letter-spacing:1px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:28px;margin-bottom:34px}.tabs button{background:transparent;color:var(--muted);padding:18px 0;border-radius:0;border-bottom:3px solid transparent}.tabs button.active{color:var(--purple);border-color:var(--purple)}.section-title{display:flex;justify-content:space-between;gap:20px;align-items:end}.section-title p:not(.eyebrow){color:var(--muted);font-size:14px}.filters{display:flex;gap:16px;align-items:end;background:white;border:1px solid var(--line);border-radius:12px;padding:20px;margin:10px 0 18px}.filters label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;flex:1}.filters label:first-child{flex:1.5}input,select{background:white;border:1px solid #bfc5bb;border-radius:7px;min-height:46px;width:100%;padding:10px 12px;color:var(--ink);font-size:16px}.secondary{background:#eeebf2;color:var(--purple)}.result-line{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin:22px 0 18px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.photo-button{padding:0;border-radius:0;background:#dae4d0;display:block;min-height:0;width:100%;line-height:0}.photo-button img{width:100%;aspect-ratio:1.5;object-fit:cover;transition:transform .2s}.photo-button:hover img{transform:scale(1.04)}.card-text{padding:16px;flex:1}.card h3{font-size:17px;line-height:1.3}.pathogen{font-size:12px;font-style:italic;color:var(--muted);margin:6px 0 14px}.text-button{background:transparent;color:var(--purple);padding:0;text-align:left;min-height:44px}.compare-label{display:flex;align-items:center;gap:8px;font-size:12px;padding:0 16px 14px}.compare-label input{width:18px;min-height:18px;height:18px;accent-color:var(--purple)}.comparebar{position:sticky;bottom:18px;padding:14px 20px;margin-top:20px;border-radius:12px;box-shadow:0 4px 24px #0002;background:white;display:flex;gap:12px;align-items:center;z-index:3}.comparebar span{margin-right:auto}.panel{padding:25px;border:1px solid var(--line);background:white;border-radius:12px;margin:16px 0}.product{display:grid;grid-template-columns:1.7fr 1fr;gap:20px}.product.featured{border-left:5px solid var(--green);background:#f0f7e9}.badge{font-size:10px;letter-spacing:1px;font-weight:700;display:inline-block;background:#e9e0f2;color:var(--purple);padding:4px 8px;border-radius:4px;margin-bottom:10px}.featured .badge{background:#dceecb;color:#365f1b}.rate{font-weight:700;color:var(--purple);font-size:23px;margin:8px 0}.note{font-size:13px;color:var(--muted);background:#eeedf1;padding:16px;border-radius:8px}.source-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.source-grid .panel{margin:0}.source-grid p{font-size:14px}.empty{padding:35px;background:white;border:1px dashed #bdc3b6;border-radius:12px;grid-column:1/-1}dialog{border:0;border-radius:16px;padding:30px;width:min(930px,94vw);max-height:90vh;box-shadow:0 15px 80px #0004}dialog::backdrop{background:#211a2ec4}.close{position:sticky;top:0;float:right;z-index:2;border-radius:100%;padding:6px;width:44px}.detail-top{display:grid;grid-template-columns:1fr 1fr;gap:26px;clear:both;margin-top:12px}.detail-top img{width:100%;border-radius:10px}.detail-top p{font-size:14px}.comparison{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr));clear:both}.comparison img{width:100%;border-radius:8px}.comparison h3{margin-top:12px}.comparison p{font-size:13px}.comparison ul{padding-left:18px;font-size:13px}.envixa-directions{font-size:14px}.envixa-directions ul{padding-left:22px}.envixa-directions li{margin:9px 0}footer{background:#342047;color:white;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 5vw;font-size:12px}footer a{color:white}.skip{position:absolute;top:-60px;left:20px;background:white;padding:12px;z-index:9}.skip:focus{top:10px}[hidden]{display:none!important}@media(max-width:1000px){.grid{grid-template-columns:repeat(3,1fr)}.hero{gap:30px}.header-label{display:none}}@media(max-width:700px){header{height:82px;padding:10px 18px}.brand img{width:155px;height:55px}.source-link{font-size:12px}main{padding:0 18px 40px}.hero{grid-template-columns:1fr;gap:20px;padding:30px 0}.hero-photo{height:180px}h1{font-size:42px}.intro{font-size:16px}.tabs{gap:17px;overflow:auto;margin-bottom:25px}.tabs button{white-space:nowrap;font-size:13px}.section-title{display:block}h2{font-size:28px}.filters{flex-direction:column;align-items:stretch;padding:15px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-text{padding:12px}.card h3{font-size:15px}.pathogen{font-size:11px}.result-line{flex-direction:column}.product,.source-grid,.detail-top{grid-template-columns:1fr}.panel{padding:18px}.comparison{grid-template-columns:1fr}.comparebar{padding:12px;font-size:12px;gap:8px}.comparebar button{padding:8px 10px}dialog{padding:20px}.hero-facts{gap:12px}.rate{font-size:21px}footer{display:block}footer>*{display:block;margin:8px 0}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:disabled{opacity:.5;cursor:default}.detail-top img,.comparison img{object-fit:contain;max-height:480px}.comparison{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}

.control-filters{flex-wrap:wrap}.control-filters label{flex:1 1 180px}.control-filters label:first-child{flex:1 1 180px}.control-filters label:nth-child(2){flex:1.5 1 240px}

/* Detailed Australian field notes */
.field-detail{margin:24px 0;text-align:left;min-width:0}.field-detail>h3{margin:24px 0 8px}.field-detail>p{max-width:78ch;line-height:1.7}.field-detail details{border-top:1px solid #ddd5e6;padding:14px 0;margin-top:14px}.field-detail summary{cursor:pointer;font-weight:700;color:#512576;line-height:1.5}.field-detail details p{line-height:1.65;max-width:78ch}.field-detail li{margin:10px 0;overflow-wrap:anywhere}.field-detail a{overflow-wrap:anywhere}@media(max-width:600px){.field-detail{padding:18px}.field-detail>p{line-height:1.65}}

.product-label-link{margin:14px 0}.label-button{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid var(--purple);border-radius:7px;font-weight:700;font-size:14px;text-decoration:none;color:var(--purple);background:#f4eff9}.label-button:hover{background:#e9e0f2}.label-link-note{font-size:12px;line-height:1.5;color:var(--muted);max-width:65ch}

img[src="assets/goosegrass.jpg"]{transform:rotate(180deg)}.photo-button:hover img[src="assets/goosegrass.jpg"]{transform:rotate(180deg) scale(1.04)}

.upright-weed-photo{display:block;position:relative;overflow:hidden;aspect-ratio:3/4;border-radius:10px;background:#dae4d0}.upright-weed-photo img{position:absolute;left:50%;top:50%;width:133.333333%;height:75%;max-height:none;max-width:none;aspect-ratio:auto;object-fit:fill;border-radius:0;transform:translate(-50%,-50%) rotate(90deg)}.photo-button .upright-weed-photo{aspect-ratio:1.5;border-radius:0}.photo-button .upright-weed-photo img{height:150%}.photo-button:hover .upright-weed-photo img{transform:translate(-50%,-50%) rotate(90deg) scale(1.04)}

/* Display the supplied portrait Nutgrass photograph in landscape. */
.landscape-nutgrass-photo{display:block;position:relative;overflow:hidden;aspect-ratio:4/3;border-radius:10px;background:#dae4d0}.landscape-nutgrass-photo img{position:absolute;left:50%;top:50%;width:75%;height:133.333333%;max-height:none;max-width:none;aspect-ratio:auto;object-fit:cover;border-radius:0;transform:translate(-50%,-50%) rotate(90deg)}.photo-button .landscape-nutgrass-photo{aspect-ratio:1.5;border-radius:0}.photo-button .landscape-nutgrass-photo img{width:66.666667%;height:150%}.photo-button:hover .landscape-nutgrass-photo img{transform:translate(-50%,-50%) rotate(90deg) scale(1.04)}

/* Enlarge Yellow Nutsedge while retaining the upper yellow seedheads. */
.yellow-nutsedge-photo{display:block;overflow:hidden;aspect-ratio:4/3;border-radius:10px;background:#dae4d0}.yellow-nutsedge-photo img{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:50% 35%;border-radius:0;transform:scale(1.45);transform-origin:48% 35%}.photo-button .yellow-nutsedge-photo{aspect-ratio:1.5;border-radius:0}.photo-button .yellow-nutsedge-photo img{aspect-ratio:auto}.photo-button:hover .yellow-nutsedge-photo img{transform:scale(1.5)}

/* Linked Weed Guide pages */
.tabs{overflow-x:auto}.tabs a{display:flex;align-items:center;min-height:44px;padding:18px 0;border-bottom:3px solid transparent;text-decoration:none;color:var(--muted);font-weight:700;white-space:nowrap}.tabs a.active{color:var(--purple);border-bottom-color:var(--purple)}.tabs button{white-space:nowrap}

.tabs .moa-entry{color:var(--purple);font-weight:700;text-decoration:none;padding:18px 0;white-space:nowrap;display:inline-flex;align-items:center}

.weed-extra-photo{display:flex;align-items:center;gap:10px;background:#f3f0f7;color:var(--purple);padding:8px;text-align:left;margin:10px 0;border:1px solid var(--line);width:100%}.weed-extra-photo img{display:block;width:64px;height:80px;object-fit:cover;border-radius:5px}.weed-extra-photo span{font-size:11px;line-height:1.5}.weed-photo-expanded{clear:both;padding-top:12px}.weed-photo-expanded h2{font-size:26px}.weed-photo-expanded>img{display:block;width:100%;height:70vh;max-height:640px;object-fit:contain;margin:18px auto}.weed-photo-expanded>button{display:block;margin:0 auto}

/* Parramatta Grass seedhead enlargement. */
.weed-photo-expanded.seedhead-expanded>.field-photo{display:table;width:auto;max-width:100%;margin:18px auto}.weed-photo-expanded.seedhead-expanded img{display:block;width:auto;max-width:100%;height:auto;max-height:68vh;aspect-ratio:auto;object-fit:contain}.weed-extra-photo[data-extra-photo="parramatta-grass"] .field-photo::after,.weed-extra-photo[data-extra-photo="crowsfoot"] .field-photo::after,.weed-extra-photo[data-extra-photo="kikuyu"] .field-photo::after{font-size:6px;left:3px;bottom:3px}
