.agroPriceHistoryTrigger{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:6px 0;background:none;border:0;color:#176642;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.agroPriceHistoryTrigger:focus-visible,.agroPriceHistory button:focus-visible{outline:2px solid #087b3e;outline-offset:3px}
.agroPriceHistory{box-sizing:border-box;width:min(660px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce7df;border-radius:16px;color:#183e2c;background:#fff;box-shadow:0 20px 80px #0b241c40;font-family:var(--agro-font,Arial,sans-serif)}
.agroPriceHistory::backdrop{background:#0b241c80}.agroPriceHistory__head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid #e5ece7}.agroPriceHistory h2{font-size:20px;line-height:1.4;margin:0}.agroPriceHistory__close{flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #dce7df;border-radius:50%;background:#f5f9f6;color:#183e2c;font-size:26px;cursor:pointer}.agroPriceHistory__body{padding:20px}.agroPriceHistory__note{margin:0 0 14px;font-size:13px;line-height:1.6;color:#52695e}.agroPriceHistory__table{overflow-x:auto;margin:16px 0}.agroPriceHistory table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}.agroPriceHistory caption{text-align:left;font-weight:700;margin-bottom:12px}.agroPriceHistory th,.agroPriceHistory td{padding:12px 8px;border-bottom:1px solid #e5ece7;text-align:right;white-space:nowrap}.agroPriceHistory th:first-child,.agroPriceHistory td:first-child{text-align:left}.agroPriceHistory th{font-size:12px;color:#52695e}@media(max-width:480px){.agroPriceHistory{width:calc(100vw - 24px)}.agroPriceHistory__head,.agroPriceHistory__body{padding:16px}.agroPriceHistory h2{font-size:18px}.agroPriceHistory table{font-size:12px}.agroPriceHistory th,.agroPriceHistory td{padding:10px 5px}}
/* r432: native SVG chart; no library or additional network request. */
.agroPriceHistory{width:min(760px,calc(100vw - 32px))}.agroPriceHistory__chart{margin:20px 0;background:linear-gradient(180deg,#f6faf7,#fff);border:1px solid #e1eae4;border-radius:14px;padding:10px 8px 12px;overflow:hidden}.agroPriceHistory__chart svg{display:block;width:100%;height:auto;touch-action:pan-y}.agroPriceHistory__axis{font:11px Arial,sans-serif;fill:#60786a}.agroPriceHistory__chartValue{min-height:20px;padding:0 12px;font-size:13px;font-weight:600;color:#176642}.agroPriceHistory__details{margin:18px 0}.agroPriceHistory__details summary{min-height:40px;display:list-item;cursor:pointer;font-size:14px;font-weight:600;color:#176642}.agroPriceHistory__head{position:sticky;top:0;z-index:1;background:#fff}.agroPriceHistory__note{margin-top:12px}@media(max-width:480px){.agroPriceHistory__chart{margin:16px -6px;padding:8px 0}.agroPriceHistory__chartValue{font-size:12px}.agroPriceHistory__body{padding:14px}.agroPriceHistory__axis{font-size:12px}}
/* r433: compact chart action anchored to the price; no extra row. */
.agroProductDetail .productDetails-prices:has(>.agroPriceHistoryTrigger){position:relative!important;padding-inline-end:48px!important;box-sizing:border-box}
.agroProductDetail .productDetails-prices>.agroPriceHistoryTrigger{position:absolute!important;inset-inline-end:0;top:2px;display:inline-flex!important;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;margin:0!important;padding:0!important;border:1px solid #dce7df;border-radius:50%;background:#f4f9f6;color:#176642;text-decoration:none;line-height:1;cursor:pointer;box-sizing:border-box}
.agroProductDetail .productDetails-prices>.agroPriceHistoryTrigger:hover{background:#e7f2eb;border-color:#a9cbb7}.agroPriceHistoryTrigger>svg{display:block;flex:none;width:20px;height:20px;pointer-events:none}
.agroPriceHistoryTrigger>svg,.agroPriceHistoryTrigger>svg path{fill:none!important;stroke:currentColor!important}
