
/* Opt-in, per-recipe THC estimate; appended after an existing recipe card only. */
.tws-recipe-potency{margin:clamp(20px,3.4vw,40px) auto;padding:clamp(20px,3vw,35px);
 border:1px solid rgba(187,234,169,.3);border-radius:18px;
 background:radial-gradient(ellipse at 96% 0%,rgba(194,200,102,.14),transparent 56%),linear-gradient(145deg,#10291f,#091b1e);
 box-shadow:0 18px 48px rgba(0,0,0,.2);color:#e8efe4;min-width:0}
.tws-recipe-potency *{box-sizing:border-box}
.tws-recipe-potency-kicker{display:block;margin:0 0 9px;color:#d4f188;font:800 .69rem/1.4 system-ui,sans-serif;letter-spacing:.16em}
.tws-recipe-potency h2{margin:0 0 11px!important;color:#fff7e9!important;font-size:clamp(1.45rem,2.65vw,2.12rem)!important;line-height:1.17!important;letter-spacing:-.02em}
.tws-recipe-potency>p{max-width:68ch;font-size:.98rem;line-height:1.65;color:#d7e7d6}
.tws-recipe-potency-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px;margin-top:18px;align-items:stretch}
.tws-recipe-potency-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:19px}
.tws-recipe-potency-chip{padding:13px 15px;background:#12372b;border:1px solid rgba(197,231,174,.2);border-radius:11px;min-width:0}
.tws-recipe-potency-chip small{display:block;font:700 .72rem/1.4 system-ui,sans-serif;color:#c5d7c9;margin-bottom:5px}
.tws-recipe-potency-chip strong{display:block;color:#fff9e7;font:800 clamp(1.12rem,2.3vw,1.55rem)/1.2 system-ui,sans-serif}
.tws-recipe-potency label{display:flex;flex-direction:column;gap:9px;font:750 .88rem/1.4 system-ui,sans-serif;color:#e2f1df}
.tws-recipe-potency input{width:100%;max-width:100%;min-height:51px;border:1px solid rgba(191,229,175,.43);border-radius:9px;
 color:#f6fff5;background:#091e1d;padding:10px 14px;font:650 1.03rem/1.4 system-ui,sans-serif}
.tws-recipe-potency input:focus-visible,.tws-recipe-potency a:focus-visible{outline:3px solid #cafa78;outline-offset:3px}
.tws-recipe-potency-hint{font:.8rem/1.65 system-ui,sans-serif;color:#c1d8c6;margin:9px 0 0}
.tws-recipe-potency-results{display:flex;flex-direction:column;justify-content:center;gap:11px;padding:14px;border:1px solid rgba(191,225,176,.22);border-radius:13px;background:#0c2020;min-width:0}
.tws-recipe-potency-pending{margin:0;color:#cbdccb;font:.96rem/1.65 system-ui,sans-serif}
.tws-recipe-potency-error{margin:0;color:#ffddc5;font:.94rem/1.55 system-ui,sans-serif}
.tws-recipe-potency-result{display:flex;flex-direction:column;gap:6px;border:1px solid rgba(186,221,185,.16);border-radius:10px;padding:15px;background:#143029}
.tws-recipe-potency-result span{font:750 .77rem/1.35 system-ui,sans-serif;color:#cfe4ca}
.tws-recipe-potency-result strong{font:850 clamp(1.6rem,3vw,2.55rem)/1.15 system-ui,sans-serif;color:#fff7de;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.tws-recipe-potency-result-emphasis{background:linear-gradient(130deg,#2c4e30,#174435);border-color:rgba(210,240,156,.55)}
.tws-recipe-potency-footer{font-size:.83rem!important;line-height:1.6;color:#c8d9cb!important;margin:17px 0 0}
.tws-recipe-potency a{color:#d9ff97!important;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){
 .tws-recipe-potency{padding:19px;border-radius:13px;margin:22px auto}
 .tws-recipe-potency-grid{grid-template-columns:minmax(0,1fr);gap:13px}
 .tws-recipe-potency-results{min-height:100px}
 .tws-recipe-potency-result strong{font-size:clamp(1.65rem,7vw,2.05rem)}
 .tws-recipe-potency-chip{padding:11px}
}
