/* Jaisandar Visual 156 · safer TALDAU search + HS level buttons + automatic latest snapshot */

/* Search can always be cleared, and suggestions no longer trap the interface. */
.j149-field:has([data-j149-country]),.j149-field:has([data-j149-product]){overflow:visible!important}
.j149-field:has([data-j149-country]) input,.j149-field:has([data-j149-product]) input{padding-right:48px!important}
.j156-clear{position:absolute;z-index:31;right:17px;top:37px;display:none;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#f2e9ed;color:#6f4454;font-size:22px;font-weight:700;line-height:1;cursor:pointer}
.j156-clear.is-visible{display:grid}
.j156-clear:hover{background:#ead8df;color:#8a1f48}
.j149-suggest{z-index:80!important;max-height:min(330px,48vh)!important;overscroll-behavior:contain}
.j149-suggest button{min-height:54px!important;padding:10px 12px!important}
.j149-suggest b{font-size:12px!important;line-height:1.25!important}.j149-suggest small{font-size:9px!important;line-height:1.3!important}
.j156-empty-search{padding:14px;color:#7e8991;font-size:11px;font-weight:750;text-align:center}

/* Explicit HS 4/6/10 selector. 4-digit is the reader-friendly default. */
.j156-hs-row{display:grid;grid-template-columns:auto minmax(0,1fr) 26px;align-items:center;gap:8px;margin-top:8px}
.j156-hs-row>span{color:#765564;font-size:9px;font-weight:900;white-space:nowrap}
.j156-hs-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:3px;border:1px solid #e1c8d1;border-radius:11px;background:rgba(255,255,255,.72)}
.j156-hs-levels button{min-width:0;height:34px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:#6d5a62;font-size:9px;font-weight:950;cursor:pointer;white-space:nowrap}
.j156-hs-levels button:hover{background:#f6edf1}.j156-hs-levels button.is-active{background:#79304d;color:#fff;box-shadow:0 4px 10px rgba(121,48,77,.18)}
.j156-level-info{width:26px!important;height:26px!important;min-width:26px!important;font-size:13px!important;z-index:82!important}
.j152-hs-help{margin-top:6px!important}

/* Make the primary action unmistakable and keep it at the far right on desktop. */
.j149-analysis-actions{width:100%!important;align-items:center!important}
.j149-run{order:20!important;margin-left:auto!important;position:relative!important;overflow:hidden!important;min-width:225px!important;padding:0 24px!important;border-color:#8d113e!important;background:linear-gradient(105deg,#8d113e 0%,#b2144e 55%,#cf2b61 100%)!important;color:#fff!important;box-shadow:0 10px 24px rgba(141,17,62,.28)!important;animation:j156-cta-pulse 2.8s ease-in-out infinite!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important}
.j149-run:after{content:'→';display:inline-block;margin-left:10px;font-size:18px;line-height:1;transition:transform .18s ease}
.j149-run:before{content:'';position:absolute;top:-40%;bottom:-40%;left:-35%;width:24%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);transform:skewX(-18deg);animation:j156-cta-shine 3.2s ease-in-out infinite;pointer-events:none}
.j149-run:hover:not(:disabled){transform:translateY(-2px) scale(1.015);box-shadow:0 15px 30px rgba(141,17,62,.34)!important;filter:saturate(1.08)}
.j149-run:hover:not(:disabled):after{transform:translateX(5px)}
.j149-run:disabled{animation:none!important;opacity:.68!important;cursor:wait!important}
@keyframes j156-cta-pulse{0%,100%{box-shadow:0 10px 24px rgba(141,17,62,.24)}50%{box-shadow:0 13px 30px rgba(177,20,78,.42)}}
@keyframes j156-cta-shine{0%,62%{left:-35%;opacity:0}72%{opacity:1}90%,100%{left:120%;opacity:0}}

/* Latest snapshot is requested automatically on first entry. */
[data-jt-root].j152-taldau-home .j149-result:not([hidden]){opacity:1;transition:opacity .2s ease}

@media(max-width:780px){
 .j156-clear{right:17px;top:39px;width:32px;height:32px;font-size:23px}
 .j156-hs-row{grid-template-columns:1fr 26px;gap:7px}.j156-hs-row>span{grid-column:1/-1}.j156-hs-levels{grid-column:1/2}.j156-level-info{grid-column:2/3}
 .j156-hs-levels button{height:40px;font-size:10px;padding:0 6px}
 .j149-analysis-actions{grid-template-columns:1fr 1fr!important}
 .j149-run{order:20!important;grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:2px 0 0!important;min-height:54px!important;font-size:12px!important}
 .j149-suggest{left:0!important;right:0!important;max-height:42vh!important}
}
@media(prefers-reduced-motion:reduce){.j149-run,.j149-run:before{animation:none!important;transition:none!important}}
