/* LogiSped TARIC EU - Created by johnkill34 */
.lstaric-wrap .lstaric-chip-row{display:flex;flex-wrap:wrap;gap:6px;text-align:left}
.lstaric-wrap .lstaric-ref-chip{appearance:none;-webkit-appearance:none;border:1px solid rgba(140,14,17,.18);background:rgba(140,14,17,.045);color:#8C0E11;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;line-height:1;cursor:pointer}
.lstaric-wrap .lstaric-ref-chip:hover{background:rgba(140,14,17,.09);border-color:rgba(140,14,17,.38)}
.lstaric-wrap .lstaric-chip-row-certs .lstaric-ref-chip{background:rgba(11,7,58,.055);border-color:rgba(11,7,58,.14);color:#0B073A}
.lstaric-wrap .lstaric-chip-row-certs .lstaric-ref-chip:hover{border-color:#0B073A;background:rgba(11,7,58,.09)}
.lstaric-modal{position:fixed;inset:0;display:none;z-index:999999}
.lstaric-modal.is-open{display:block}
.lstaric-modal-backdrop{position:absolute;inset:0;background:rgba(11,7,58,.55)}
.lstaric-modal-box{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(920px,calc(100vw - 32px));max-height:86vh;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.28);overflow:hidden}
.lstaric-modal-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;background:#0B073A;color:#fff}
.lstaric-modal-head strong{font-size:15px;font-weight:900}
.lstaric-modal-head button{appearance:none;-webkit-appearance:none;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:24px;font-weight:700;line-height:1;cursor:pointer}
.lstaric-modal-body{padding:18px;max-height:calc(86vh - 66px);overflow:auto;color:#17213b;font-size:14px;line-height:1.45}
.lstaric-modal-body table{width:100%;border-collapse:collapse;margin:8px 0 14px}
.lstaric-modal-body td,.lstaric-modal-body th{border:1px solid rgba(11,7,58,.10);padding:7px 9px;vertical-align:top;text-align:left}
.lstaric-modal-body a,.lstaric-modal-body .lstaric-ref-link{color:#8C0E11;font-weight:800;text-decoration:none;border-bottom:1px solid rgba(140,14,17,.22);cursor:pointer}
.lstaric-modal-body a:hover,.lstaric-modal-body .lstaric-ref-link:hover{border-bottom-color:#8C0E11}
@media (max-width:980px){.lstaric-wrap .lstaric-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){.lstaric-wrap .lstaric-measures-shell{padding:14px;border-radius:20px}.lstaric-wrap .lstaric-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lstaric-wrap .lstaric-measure-card{grid-template-columns:1fr}.lstaric-wrap .lstaric-measure-rate{justify-content:flex-start;text-align:left}.lstaric-wrap .lstaric-measure-links{grid-template-columns:1fr}.lstaric-modal-box{width:calc(100vw - 18px);max-height:90vh}.lstaric-modal-body{max-height:calc(90vh - 66px);padding:14px}}
.lstaric-wrap .lstaric-summary-card em{display:block;margin-top:6px;color:#6b748a;font-size:11px;font-style:normal;font-weight:800;line-height:1.25;text-align:left;text-transform:none;letter-spacing:0}
.lstaric-wrap .lstaric-summary-preference{border-color:rgba(140,14,17,.22);background:linear-gradient(180deg,rgba(140,14,17,.075),rgba(255,255,255,.98))}
.lstaric-wrap .lstaric-summary-preference span,.lstaric-wrap .lstaric-summary-preference strong{color:#8C0E11}
.lstaric-wrap .lstaric-tone-preference{border-color:rgba(140,14,17,.22);box-shadow:0 8px 22px rgba(140,14,17,.06)}
.lstaric-wrap .lstaric-tone-preference .lstaric-measure-label{background:rgba(140,14,17,.09);color:#8C0E11}
.lstaric-wrap .lstaric-tone-preference .lstaric-measure-rate{background:rgba(140,14,17,.075);color:#8C0E11}

/* v6.16 refined duty scenarios, counters and additional-code handling */
.lstaric-wrap .lstaric-summary-grid-main{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:10px}
.lstaric-wrap .lstaric-summary-trade{border-color:rgba(140,14,17,.16);background:linear-gradient(180deg,rgba(140,14,17,.045),rgba(255,255,255,.98))}
.lstaric-wrap .lstaric-summary-trade span,.lstaric-wrap .lstaric-summary-trade strong{color:#8C0E11}
.lstaric-wrap .lstaric-count-strip{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:10px;border:1px solid rgba(11,7,58,.08);border-radius:16px;background:rgba(11,7,58,.025);text-align:left}
.lstaric-wrap .lstaric-count-strip span{display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(11,7,58,.08);border-radius:999px;background:#fff;padding:6px 10px;color:#5f6a84;font-size:12px;font-weight:800;line-height:1}
.lstaric-wrap .lstaric-count-strip strong{color:#0B073A;font-weight:900}
.lstaric-wrap .lstaric-tabs button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:42px;padding:8px 13px;white-space:normal;text-align:center}
.lstaric-wrap .lstaric-tabs button span{display:block;font-size:12px;line-height:1;font-weight:900}
.lstaric-wrap .lstaric-tabs button em{display:block;font-style:normal;font-size:10px;line-height:1;color:inherit;opacity:.72;font-weight:800;text-transform:none;letter-spacing:0}
.lstaric-wrap .lstaric-tone-trade .lstaric-measure-label{background:rgba(140,14,17,.10);color:#8C0E11}
.lstaric-wrap .lstaric-tone-trade .lstaric-measure-rate{background:rgba(140,14,17,.085);color:#8C0E11}
.lstaric-wrap .lstaric-measure-links-important{padding:8px;border-radius:12px;background:rgba(140,14,17,.035)}
.lstaric-wrap .lstaric-chip-row-addcodes .lstaric-ref-chip,.lstaric-wrap .lstaric-chip-row-meursing .lstaric-ref-chip{border-color:rgba(140,14,17,.28);background:rgba(140,14,17,.055);color:#8C0E11}
.lstaric-wrap a.lstaric-ref-chip{text-decoration:none;display:inline-flex;align-items:center}
.lstaric-wrap a.lstaric-ref-chip:hover{text-decoration:none;color:#8C0E11}
@media (max-width:980px){.lstaric-wrap .lstaric-summary-grid-main{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.lstaric-wrap .lstaric-summary-grid-main{grid-template-columns:1fr}.lstaric-wrap .lstaric-tabs button{min-width:calc(50% - 5px)}}


/* v6.12 anti-dumping and additional-code refinements */
.lstaric-wrap .lstaric-summary-alert{border-color:rgba(140,14,17,.34);box-shadow:0 10px 22px rgba(140,14,17,.08)}
.lstaric-wrap .lstaric-summary-alert strong{font-size:25px}
.lstaric-wrap .lstaric-addcode-details{display:grid;gap:6px;margin:8px 0 0;padding:8px 10px;border:1px solid rgba(140,14,17,.12);border-radius:12px;background:rgba(140,14,17,.035)}
.lstaric-wrap .lstaric-addcode-detail{display:grid;grid-template-columns:minmax(56px,auto) 1fr;gap:8px;align-items:start;color:#0B073A;font-size:12px;line-height:1.35;text-align:left}
.lstaric-wrap .lstaric-addcode-detail strong{color:#8C0E11;font-weight:900;white-space:nowrap}
.lstaric-wrap .lstaric-addcode-detail span{color:#27314c;font-weight:700}
.lstaric-wrap .lstaric-measure-alert{margin-top:8px;padding:8px 10px;border-left:3px solid #8C0E11;border-radius:10px;background:rgba(140,14,17,.055);color:#8C0E11;font-size:12px;font-weight:800;line-height:1.35;text-align:left}
@media (max-width:640px){.lstaric-wrap .lstaric-addcode-detail{grid-template-columns:1fr}.lstaric-wrap .lstaric-summary-alert strong{font-size:22px}}

/* v6.16 duty scenario summary */
.lstaric-wrap .lstaric-summary-low{border-color:rgba(11,7,58,.16);background:linear-gradient(180deg,rgba(11,7,58,.055),rgba(255,255,255,.98))}
.lstaric-wrap .lstaric-summary-low strong{color:#0B073A}
.lstaric-wrap .lstaric-duty-note{margin:0 0 12px;padding:10px 12px;border-radius:15px;background:rgba(140,14,17,.055);border:1px solid rgba(140,14,17,.12);color:#5e1b24;font-size:12px;font-weight:800;line-height:1.35;text-align:left}
.lstaric-wrap .lstaric-tone-countervailing .lstaric-measure-label,.lstaric-wrap .lstaric-tone-trade .lstaric-measure-label{background:rgba(140,14,17,.10);color:#8C0E11}
.lstaric-wrap .lstaric-tone-countervailing .lstaric-measure-rate,.lstaric-wrap .lstaric-tone-trade .lstaric-measure-rate{background:rgba(140,14,17,.085);color:#8C0E11}
