/* HS/PCT finder — responsive, accessible, same restrained Legal Tools visual language */
.n2c-hs-intro{max-width:870px}
.n2c-hs-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.74fr);gap:26px;padding:40px 0 65px}
.n2c-hs-box{border:1px solid var(--tool-line,#d7dfd9);border-radius:12px;background:#fff;padding:clamp(18px,3vw,34px);box-shadow:0 8px 28px rgba(10,30,22,.025)}
.n2c-hs-box h2{font-size:clamp(24px,2.8vw,34px);font-weight:500;margin:0 0 12px;letter-spacing:-.025em}
.n2c-hs-box h3{font-size:20px;font-weight:600;margin:0 0 12px}
.n2c-hs-muted{font-size:14px;color:#53685a;line-height:1.7}
.n2c-hs-field{display:block;margin:20px 0 12px;position:relative}
.n2c-hs-field label{display:block;font-weight:600;color:#274534;font-size:13px;margin-bottom:9px}
.n2c-hs-field input,.n2c-hs-field select{width:100%;background:#fff;min-height:52px;color:#223c30;font:inherit;border:1px solid #b9cabe;border-radius:7px;padding:13px 15px}
.n2c-hs-field input:focus-visible,.n2c-hs-field select:focus-visible,.n2c-hs-suggestion:focus-visible,.n2c-hs-button:focus-visible{outline:3px solid #769d7d;outline-offset:2px}
.n2c-hs-field small{display:block;font-size:12px;color:#687a6d;margin-top:8px;line-height:1.5}
.n2c-hs-suggest{position:absolute;top:calc(100% - 4px);left:0;right:0;border:1px solid #a8c2b0;border-radius:8px;background:#fff;max-height:380px;overflow:auto;box-shadow:0 12px 28px rgba(15,47,33,.15);z-index:25;padding:5px}
.n2c-hs-suggestion{display:flex;width:100%;gap:14px;align-items:flex-start;text-align:left;border:0;border-radius:5px;padding:12px;background:transparent;cursor:pointer;color:#203b2d;font:inherit}
.n2c-hs-suggestion:hover,.n2c-hs-suggestion[aria-selected="true"]{background:#edf3e9}
.n2c-hs-code{flex:none;font-variant-numeric:tabular-nums;letter-spacing:.05em;font-size:13px;font-weight:700;color:#2c6245}
.n2c-hs-description{font-size:13px;line-height:1.45}
.n2c-hs-description small{display:block;font-size:11px;margin:4px 0 0;color:#687a6e}
.n2c-hs-suggest-empty{padding:14px;font-size:13px;color:#607165}
.n2c-hs-result{margin-top:25px;border-top:1px solid #dce5dc;padding-top:26px}
.n2c-hs-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:#5e6e62;margin-bottom:10px}
.n2c-hs-key{letter-spacing:.07em;text-transform:uppercase;font-size:11px;color:#52775b;font-weight:700}
.n2c-hs-big{font-size:clamp(25px,3vw,35px);font-weight:500;letter-spacing:-.02em;margin:8px 0 9px}
.n2c-hs-title{font-size:16px;line-height:1.6;color:#344d3b}
.n2c-hs-rate{display:flex;align-items:baseline;gap:15px;background:#eef4ea;border:1px solid #cadac7;padding:21px;border-radius:8px;margin:25px 0 16px}
.n2c-hs-rate strong{font-size:42px;line-height:1;letter-spacing:-.06em;font-weight:500}
.n2c-hs-rate span{font-size:13px;line-height:1.5;color:#4e6655}
.n2c-hs-estimate{padding:14px 0;border-bottom:1px solid #dce4dc;color:#254634}
.n2c-hs-estimate strong{display:block;font-size:24px;margin-top:5px;font-variant-numeric:tabular-nums}
.n2c-hs-levies{border-collapse:collapse;width:100%;font-size:13px;margin:15px 0}
.n2c-hs-levies th,.n2c-hs-levies td{border-bottom:1px solid #e3eae2;padding:12px 8px;text-align:left;vertical-align:top}
.n2c-hs-levies th{font-weight:600;width:46%}
.n2c-hs-levies td{color:#54685a}
.n2c-hs-banner{margin:17px 0;padding:13px 15px;background:#f3f5f0;border-left:3px solid #7d987f;font-size:13px;line-height:1.65;color:#375440}
.n2c-hs-warning{border-left-color:#af7b44;background:#fcf6e9}
.n2c-hs-sidebar{display:grid;gap:18px;align-content:start}
.n2c-hs-sidebar .n2c-hs-box{padding:22px}
.n2c-hs-sidebar ul{padding-left:19px;color:#53685a;font-size:14px;line-height:1.7}
.n2c-hs-sidebar a,.n2c-hs-box a,.n2c-hs-guide a{color:#245b3d;text-underline-offset:3px}
.n2c-hs-guide{padding:35px 0 80px;border-top:1px solid #d7dfd9}
.n2c-hs-guide h2{font-weight:500;font-size:clamp(26px,3vw,42px);letter-spacing:-.03em;margin:22px 0}
.n2c-hs-guide h3{font-size:22px;font-weight:600;margin:29px 0 11px}
.n2c-hs-guide p,.n2c-hs-guide li{font-size:16px;line-height:1.8;max-width:860px;color:#455d4d}
.n2c-hs-guide details{max-width:900px;padding:18px 0;border-top:1px solid #d7dfd9}
.n2c-hs-guide details:last-of-type{border-bottom:1px solid #d7dfd9}
.n2c-hs-guide summary{cursor:pointer;font-weight:600;color:#2b4635}
.n2c-hs-guide details p{padding:10px 0 0;margin:0}
.n2c-hs-button{border:1px solid #b5c4b4;background:#fff;color:#2b533c;border-radius:6px;padding:11px 15px;font-weight:600;cursor:pointer}
.n2c-hs-loading{font-size:13px;line-height:1.6;color:#5c7662}
@media(max-width:870px){.n2c-hs-layout{grid-template-columns:1fr}.n2c-hs-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.n2c-hs-layout,.n2c-hs-sidebar{grid-template-columns:1fr}.n2c-hs-layout{padding:25px 0 45px}.n2c-hs-suggestion{flex-direction:column;gap:2px}.n2c-hs-rate strong{font-size:34px}}
@media print{.site-header,.n2c-hs-sidebar,#site-footer,.n2c-hs-guide,.n2c-hs-suggest,.n2c-hs-button{display:none!important}.n2c-hs-layout{display:block;padding:0}.n2c-hs-box{border:0;box-shadow:none}}


/* Hierarchical Pakistan Customs Tariff category browser */
.n2c-hs-browse{border:1px solid #d7dfd9;border-radius:8px;background:#f6f8f4;padding:clamp(14px,2vw,23px);margin:24px 0 18px}
.n2c-hs-browse h3{font-size:18px;margin:0 0 5px}
.n2c-hs-browse .n2c-hs-muted{margin:8px 0 12px}
.n2c-hs-browse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 15px}
.n2c-hs-browse-grid .n2c-hs-field{margin:8px 0 0}
.n2c-hs-browse select{min-height:48px;font-size:13px;text-overflow:ellipsis;max-width:100%;padding:9px}
.n2c-hs-browse select:disabled{background:#f0f3ef;cursor:not-allowed;color:#899b8d}
.n2c-hs-hierarchy{margin:16px 0 22px;padding:20px 22px;background:#f6f9f4;border:1px solid #d8e4d5;border-radius:9px}
.n2c-hs-category-steps{list-style:none;counter-reset:hs-step;margin:12px 0 0;padding:0}
.n2c-hs-category-steps li{display:flex;align-items:flex-start;gap:12px;line-height:1.5;font-size:13px;color:#2c4835;margin:0;position:relative;padding:8px 0}
.n2c-hs-category-steps li:not(:last-child){border-bottom:1px solid #e0e9df}
.n2c-hs-category-step-code{font-size:11px;letter-spacing:.025em;white-space:nowrap;color:#527d5c;font-variant-numeric:tabular-nums;font-weight:700;min-width:65px;padding-top:2px}
.n2c-hs-category-step-text{font-size:13px;line-height:1.6}
.n2c-hs-category-steps li:last-child .n2c-hs-category-step-text{font-weight:700}
.n2c-hs-suggestion-context{display:block;font-size:11px;line-height:1.6;color:#667c6c;white-space:normal;margin:5px 0 0}
.n2c-hs-suggestion-context strong{color:#46664f;font-weight:600}
@media(max-width:700px){.n2c-hs-browse-grid{grid-template-columns:1fr}.n2c-hs-hierarchy{padding:14px}.n2c-hs-category-steps li{display:block}.n2c-hs-category-step-code{display:block;margin-bottom:2px}.n2c-hs-suggestion-context{font-size:11px}}
