import{r as p,j as e}from"./vendor-react-BwKDLVNL.js";import{aD as re,v as C,w as N,x as n,A as V,D as oe,z as i,y as h,H as L,F as O,K as ae,L as ie,I,Y as u,_ as ne,$ as ce,a0 as pe,a1 as de,a2 as P,J as w,Z as g}from"./index-C1ye5P3I.js";import"./vendor-dayjs-5tvLiZdS.js";import{M as me,a as xe}from"./MarketingShell-pJlumM7K.js";import{u as he}from"./vendor-i18n-C6wqqoou.js";import{T as ue}from"./triangle-alert-B2KHc43c.js";import{C as H}from"./chart-no-axes-column-increasing-WF8TPdU4.js";import{T as be}from"./users-BQu_O3JR.js";import{T as ge}from"./trending-up-XFFwnV8b.js";import{C as G}from"./circle-check-big-DlXU0c3K.js";import"./vendor-query-D-sr233n.js";import"./vendor-sentry-B6ofghpF.js";import"./vendor-antd-core-4y2ghozH.js";import"./zap-Bd320S-h.js";import"./globe-C6LFgqFt.js";import"./shield-check-CUe1YrFZ.js";import"./file-text-cRwgk8Y4.js";import"./SiteFooter-CMa-vyJL.js";import"./send-BPZS28JS.js";import"./building-2-BaHHBpzk.js";function d(t){const m=parseFloat(t.replace(/\s/g,"").replace(",","."));return isNaN(m)||m<=0?0:m}function ke(t){return t.toLocaleString("ru-RU",{maximumFractionDigits:2})}function A(t){return t.toFixed(1)+"%"}function B(t){return"$"+ke(t)}function je(t){return t==="good"?"success":t==="normal"?"warning":t==="expensive"?"error":"neutral"}function fe(t,m){return t==="good"?m("tools.kpi.band.good","Отлично"):t==="normal"?m("tools.kpi.band.normal","Норма"):t==="expensive"?m("tools.kpi.band.expensive","Дорого"):m("tools.kpi.band.noData","Нет данных")}const ve=t=>[{label:t("tools.kpi.costBar.fob","Стоимость товара FOB"),pct:100,color:"bg-slate-400"},{label:t("tools.kpi.costBar.seaFreight","Морской фрахт"),pct:10,color:"bg-blue-400"},{label:t("tools.kpi.costBar.insurance","Страховка"),pct:.4,color:"bg-cyan-400"},{label:t("tools.kpi.costBar.customs","Таможня (пошлина + НДС)"),pct:22,color:"bg-orange-400"},{label:t("tools.kpi.costBar.customsFee","Таможенный сбор"),pct:.1,color:"bg-amber-400"},{label:t("tools.kpi.costBar.broker","Таможенный брокер"),pct:.4,color:"bg-yellow-500"},{label:t("tools.kpi.costBar.delivery","Доставка до склада"),pct:2,color:"bg-green-400"}],ye=100,Ce=t=>[t("tools.kpi.checklist.0","Переход на FCL при объёме > 14 CBM/месяц"),t("tools.kpi.checklist.1","Предварительное информирование (ПИ) — сокращает таможню на 1–2 дня"),t("tools.kpi.checklist.2","Рамочный договор с брокером — скидка 10–20%"),t("tools.kpi.checklist.3","Объединение заказов (консолидация LCL)"),t("tools.kpi.checklist.4","Проверка классификации ТНВЭД — нередко берут лишние пошлины"),t("tools.kpi.checklist.5","Сокращение демереджа: забирать контейнер в первые 5 дней"),t("tools.kpi.checklist.6","Авиадоставка только для срочного: < 100 кг или < 0.6 CBM"),t("tools.kpi.checklist.7","Использование ГСП, если поставщик из страны-бенефициара"),t("tools.kpi.checklist.8","LCL → FCL при росте объёма свыше 14–15 CBM/мес"),t("tools.kpi.checklist.9","Страховать только дорогостоящие грузы (> $5 000)"),t("tools.kpi.checklist.10","Bonded warehouse для отсрочки уплаты пошлин"),t("tools.kpi.checklist.11","Ежеквартально сравнивать предложения 3+ таможенных брокеров")];function Ge(){const{t}=he(),m=ve(t),D=Ce(t),[k,U]=p.useState(""),[j,R]=p.useState(""),[S,_]=p.useState(""),[E,W]=p.useState(""),[M,J]=p.useState(""),[F,X]=p.useState(""),[f,Z]=p.useState(""),[v,q]=p.useState("sea"),[y,Q]=p.useState(D.map(()=>!1)),ee=s=>Q(o=>o.map((x,b)=>b===s?!x:x)),T=y.filter(Boolean).length,te=p.useMemo(()=>{const s=d(k),o=d(j),x=d(S),b=d(M),z=d(F),K=d(f),$=z*1e3,c=[];if(s>0&&o>0){const l=o/s*100;let r,a;l<8?(r="good",a=t("tools.kpi.lcr.interp.good","Отличный результат — ваши логистические затраты ниже рыночной нормы.")):l<=15?(r="normal",a=t("tools.kpi.lcr.interp.normal","Нормальный уровень для морских поставок Китай → Россия.")):l<=20?(r="normal",a=t("tools.kpi.lcr.interp.aboveNormal","Чуть выше нормы. Стоит проанализировать отдельные статьи затрат.")):(r="expensive",a=t("tools.kpi.lcr.interp.expensive","Затраты существенно выше нормы. Рекомендуется аудит цепочки поставок.")),c.push({label:t("tools.kpi.lcr.label","Логистика / Стоимость товара"),value:l,formatted:A(l),band:r,interpretation:a,benchmark:t("tools.kpi.lcr.benchmark","Норма: 8–15% (море, Китай → Россия)")})}else c.push({label:t("tools.kpi.lcr.label","Логистика / Стоимость товара"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.lcr.interp.empty","Введите стоимость товара и расходы на логистику."),benchmark:t("tools.kpi.lcr.benchmark","Норма: 8–15% (море, Китай → Россия)")});if(x>0){const r=x*.25/12;c.push({label:t("tools.kpi.inventory.label","Стоимость хранения запасов (в месяц)"),value:r,formatted:B(r),band:"normal",interpretation:t("tools.kpi.inventory.interp.value","Стандартная оценка: 25% от стоимости запасов в год. Включает капитал, хранение, устаревание."),benchmark:t("tools.kpi.inventory.benchmark","Отрасль: 20–30% от запасов в год")})}else c.push({label:t("tools.kpi.inventory.label","Стоимость хранения запасов (в месяц)"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.inventory.interp.empty","Введите среднемесячный остаток товарного запаса."),benchmark:t("tools.kpi.inventory.benchmark","Отрасль: 20–30% от запасов в год")});if(o>0&&K>0){const l=o/K;let r,a;const Y=v==="lcl";Y?l<80?(r="good",a=t("tools.kpi.perCbm.interp.lclGood","Отличная ставка LCL — ниже рыночной нормы.")):l<=150?(r="normal",a=t("tools.kpi.perCbm.interp.lclNormal","Рыночный уровень для LCL-отправок.")):(r="expensive",a=t("tools.kpi.perCbm.interp.lclExpensive","Дорогая ставка LCL. Рассмотрите FCL при объёме > 14 CBM/мес.")):l<50?(r="good",a=t("tools.kpi.perCbm.interp.fclGood","Отличная ставка FCL — ниже рыночной нормы.")):l<=120?(r="normal",a=t("tools.kpi.perCbm.interp.fclNormal","Рыночный уровень для FCL-отправок.")):(r="expensive",a=t("tools.kpi.perCbm.interp.fclExpensive","Высокая ставка FCL. Пересмотрите условия с перевозчиком.")),c.push({label:t("tools.kpi.perCbm.label","Стоимость за CBM"),value:l,formatted:B(l)+"/CBM",band:r,interpretation:a,benchmark:Y?t("tools.kpi.perCbm.benchmarkLcl","Норма LCL: $80–150/CBM"):t("tools.kpi.perCbm.benchmarkFcl","Норма FCL: $50–120/CBM")})}else c.push({label:t("tools.kpi.perCbm.label","Стоимость за CBM"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.perCbm.interp.empty","Введите логистические расходы и объём в CBM."),benchmark:t("tools.kpi.perCbm.benchmarkEmpty","Норма LCL: $80–150 / FCL: $50–120")});if(o>0&&$>0){const l=o/$;let r,a;v==="air"?l<3?(r="good",a=t("tools.kpi.perKg.interp.airGood","Хорошая ставка для авиаперевозки.")):l<=8?(r="normal",a=t("tools.kpi.perKg.interp.airNormal","Рыночный уровень для авиадоставки.")):(r="expensive",a=t("tools.kpi.perKg.interp.airExpensive","Высокая ставка авиа. Рассмотрите морскую доставку.")):l<.3?(r="good",a=t("tools.kpi.perKg.interp.seaGood","Отличная ставка за кг — ниже нормы.")):l<=.8?(r="normal",a=t("tools.kpi.perKg.interp.seaNormal","Нормальный уровень для морской доставки.")):(r="expensive",a=t("tools.kpi.perKg.interp.seaExpensive","Высокая ставка за кг. Пересмотрите тарификацию.")),c.push({label:t("tools.kpi.perKg.label","Стоимость за кг"),value:l,formatted:B(l)+"/кг",band:r,interpretation:a,benchmark:v==="air"?t("tools.kpi.perKg.benchmarkAir","Норма авиа: $3–8/кг"):t("tools.kpi.perKg.benchmarkSea","Норма море: $0.30–0.80/кг")})}else c.push({label:t("tools.kpi.perKg.label","Стоимость за кг"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.perKg.interp.empty","Введите логистические расходы и суммарный вес в тоннах."),benchmark:t("tools.kpi.perKg.benchmarkEmpty","Норма море: $0.30–0.80/кг | авиа: $3–8/кг")});if(o>0&&b>0){const l=o/b;c.push({label:t("tools.kpi.perOrder.label","Стоимость одного заказа"),value:l,formatted:B(l),band:l<500?"good":l<=2e3?"normal":"expensive",interpretation:l<500?t("tools.kpi.perOrder.interp.good","Низкая стоимость на заказ — хорошая частота заказов."):l<=2e3?t("tools.kpi.perOrder.interp.normal","Средняя стоимость заказа. Оптимизируйте частоту отправок."):t("tools.kpi.perOrder.interp.expensive","Высокая стоимость заказа. Рассмотрите объединение партий."),benchmark:t("tools.kpi.perOrder.benchmark","Ориентир: $200–2 000 за заказ")})}else c.push({label:t("tools.kpi.perOrder.label","Стоимость одного заказа"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.perOrder.interp.empty","Введите логистические расходы и количество заказов в год."),benchmark:t("tools.kpi.perOrder.benchmark","Ориентир: $200–2 000 за заказ")});if(s>0&&o>0){const l=(s+o)/s*100;let r,a;l<130?(r="good",a=t("tools.kpi.tlc.interp.good","Низкий overhead — эффективная цепочка поставок.")):l<=160?(r="normal",a=t("tools.kpi.tlc.interp.normal","Стандартный уровень для импорта из Китая (таможня + НДС + фрахт).")):(r="expensive",a=t("tools.kpi.tlc.interp.expensive","Высокий overhead. Проверьте таможенные ставки и маршрут.")),c.push({label:t("tools.kpi.tlc.label","Total Landed Cost"),value:l,formatted:A(l)+t("tools.kpi.tlc.ofFob"," от FOB"),band:r,interpretation:a,benchmark:t("tools.kpi.tlc.benchmark","Ориентир Китай → Россия: 130–160%")})}else c.push({label:t("tools.kpi.tlc.label","Total Landed Cost"),value:null,formatted:"—",band:null,interpretation:t("tools.kpi.tlc.interp.empty","Введите стоимость товара и логистические расходы."),benchmark:t("tools.kpi.tlc.benchmarkEmpty","Ориентир: 130–160% от FOB (Китай → Россия)")});return c},[k,j,S,M,F,f,v]),se=p.useMemo(()=>{const s=d(k),o=d(j),x=d(f),b=d(E),z=s>0&&o>0?A(o/s*100):null,K=o>0&&x>0?B(o/x)+"/CBM":null,$=b>0?t("tools.kpi.benchmark.days","{{count}} дн.",{count:b}):null;return[{metric:t("tools.kpi.benchmark.lcr","Логистика / Стоимость товара"),good:"< 8%",normal:"8–15%",expensive:"> 20%",yourValue:z},{metric:t("tools.kpi.benchmark.lclRate","Ставка LCL, $/CBM"),good:"< $80",normal:"$80–150",expensive:"> $200",yourValue:K},{metric:t("tools.kpi.benchmark.transit","Транзит Китай → Москва, дней"),good:"< 35",normal:"35–50",expensive:"> 60",yourValue:$},{metric:t("tools.kpi.benchmark.customsDays","Таможенное оформление, дней"),good:"< 3",normal:"3–7",expensive:"> 10",yourValue:null},{metric:t("tools.kpi.benchmark.docsNoKts","Документы без КТС"),good:"> 95%",normal:"90–95%",expensive:"< 90%",yourValue:null},{metric:t("tools.kpi.benchmark.turnover","Оборачиваемость запасов/год"),good:"> 8",normal:"4–8",expensive:"< 4",yourValue:null}]},[k,j,f,E]),le=[k,j,S,F,f,M].some(s=>d(s)>0);return e.jsxs(me,{active:"tools",children:[e.jsxs(re,{children:[e.jsx("title",{children:t("tools.kpi.seo.title","KPI логистики и бенчмарки затрат для импортёров | Avalog")}),e.jsx("meta",{name:"description",content:t("tools.kpi.seo.description","Рассчитайте ключевые KPI логистических затрат: стоимость/CBM, стоимость/кг, Landed Cost. Сравните с отраслевыми нормами для импорта из Китая.")}),e.jsx("link",{rel:"canonical",href:"https://avalog.ru/tools/kpi"})]}),e.jsx(C,{py:"lg",bg:"surface",children:e.jsx(N,{size:"base",children:e.jsxs(n,{gap:6,children:[e.jsxs(n,{gap:4,className:"max-w-3xl",children:[e.jsx(V,{variant:"info",children:t("tools.kpi.hero.badge","Калькулятор · KPI логистики")}),e.jsx(oe,{as:"h1",children:t("tools.kpi.hero.title","KPI и бенчмарки логистических затрат")}),e.jsx(i,{variant:"lead",className:"max-w-2xl",children:t("tools.kpi.hero.lead","Введите данные о ваших поставках — и узнайте, насколько эффективна ваша логистика по 6 ключевым показателям в сравнении с отраслевой нормой.")})]}),e.jsxs("div",{className:"flex items-start gap-3 rounded-lg bg-amber-50 border border-amber-200 px-4 py-3 max-w-2xl",children:[e.jsx(ue,{className:"h-4 w-4 text-amber-500 mt-0.5 shrink-0"}),e.jsx(i,{className:"text-sm text-amber-900",children:t("tools.kpi.hero.note","Бенчмарки ориентировочные и актуальны для импорта Китай → Россия (2024–2025). Конкретные показатели зависят от товарной группы, сезона и объёма.")})]})]})})}),e.jsx(C,{py:"md",bg:"base",children:e.jsx(N,{size:"base",children:e.jsxs(n,{gap:8,children:[e.jsxs(h,{align:"center",gap:2,children:[e.jsx(H,{className:"h-5 w-5 text-primary"}),e.jsx(L,{size:"h2",as:"h2",children:t("tools.kpi.calc.heading","KPI-калькулятор")})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 items-start",children:[e.jsxs(O,{children:[e.jsx(ae,{children:e.jsxs(ie,{className:"flex items-center gap-2",children:[e.jsx(be,{className:"h-5 w-5 text-primary"}),t("tools.kpi.calc.inputsTitle","Параметры вашей логистики")]})}),e.jsx(I,{children:e.jsxs(n,{gap:4,children:[e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"ship-mode",children:t("tools.kpi.calc.shipModeLabel","Способ доставки")}),e.jsxs(ne,{value:v,onValueChange:q,children:[e.jsx(ce,{id:"ship-mode",children:e.jsx(pe,{})}),e.jsxs(de,{children:[e.jsx(P,{value:"sea",children:t("tools.kpi.shipMode.sea","Море (FCL)")}),e.jsx(P,{value:"lcl",children:t("tools.kpi.shipMode.lcl","Море (LCL)")}),e.jsx(P,{value:"air",children:t("tools.kpi.shipMode.air","Авиа")}),e.jsx(P,{value:"rail",children:t("tools.kpi.shipMode.rail","Жд/Авто")})]})]})]}),e.jsx(w,{}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"goods-value",children:t("tools.kpi.calc.goodsValueLabel","Стоимость товара, USD")}),e.jsx(g,{id:"goods-value",type:"number",min:0,step:1e3,placeholder:"50 000",value:k,onChange:s=>U(s.target.value)})]}),e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"logistics-cost",children:t("tools.kpi.calc.logisticsCostLabel","Расходы на логистику, USD")}),e.jsx(g,{id:"logistics-cost",type:"number",min:0,step:500,placeholder:"7 000",value:j,onChange:s=>R(s.target.value)}),e.jsx(i,{className:"text-xs text-text-muted",children:t("tools.kpi.calc.logisticsCostHint","Фрахт + таможня + доставка")})]})]}),e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"inventory-value",children:t("tools.kpi.calc.inventoryValueLabel","Стоимость товарного запаса, USD")}),e.jsx(g,{id:"inventory-value",type:"number",min:0,step:5e3,placeholder:"120 000",value:S,onChange:s=>_(s.target.value)}),e.jsx(i,{className:"text-xs text-text-muted",children:t("tools.kpi.calc.inventoryValueHint","Среднемесячный остаток на складе")})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"transit-days",children:t("tools.kpi.calc.transitDaysLabel","Время в пути, дней")}),e.jsx(g,{id:"transit-days",type:"number",min:1,step:1,placeholder:"42",value:E,onChange:s=>W(s.target.value)})]}),e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"orders-per-year",children:t("tools.kpi.calc.ordersPerYearLabel","Количество заказов в год")}),e.jsx(g,{id:"orders-per-year",type:"number",min:1,step:1,placeholder:"12",value:M,onChange:s=>J(s.target.value)})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"weight-tons",children:t("tools.kpi.calc.weightTonsLabel","Вес грузов в год, тонн")}),e.jsx(g,{id:"weight-tons",type:"number",min:0,step:1,placeholder:"24",value:F,onChange:s=>X(s.target.value)})]}),e.jsxs(n,{gap:2,children:[e.jsx(u,{htmlFor:"cbm-per-year",children:t("tools.kpi.calc.cbmPerYearLabel","Объём в год, CBM")}),e.jsx(g,{id:"cbm-per-year",type:"number",min:0,step:1,placeholder:"120",value:f,onChange:s=>Z(s.target.value)})]})]})]})})]}),e.jsxs(n,{gap:3,children:[!le&&e.jsx("div",{className:"rounded-lg border border-dashed border-border p-6 text-center",children:e.jsx(i,{className:"text-text-muted text-sm",children:t("tools.kpi.calc.emptyState","Заполните поля слева, чтобы увидеть KPI")})}),te.map(s=>e.jsx(O,{className:"border",children:e.jsx(I,{className:"pt-4 pb-4",children:e.jsxs(n,{gap:2,children:[e.jsxs(h,{justify:"between",align:"start",children:[e.jsx(i,{className:"text-sm font-medium text-text-muted",children:s.label}),e.jsx(V,{variant:je(s.band),children:fe(s.band,t)})]}),e.jsx(i,{className:"text-2xl font-bold text-text",children:s.formatted}),e.jsx(i,{className:"text-xs text-text-muted",children:s.benchmark}),e.jsx(i,{className:"text-sm text-text-secondary",children:s.interpretation})]})})},s.label))]})]})]})})}),e.jsx(w,{}),e.jsx(C,{py:"md",bg:"surface",children:e.jsx(N,{size:"base",children:e.jsxs(n,{gap:6,children:[e.jsxs(h,{align:"center",gap:2,children:[e.jsx(ge,{className:"h-5 w-5 text-primary"}),e.jsx(L,{size:"h2",as:"h2",children:t("tools.kpi.benchmark.heading","Отраслевые бенчмарки")})]}),e.jsx(i,{className:"text-text-muted max-w-2xl",children:t("tools.kpi.benchmark.intro","Актуальные ориентиры для импортёров, работающих по маршруту Китай → Россия (2024–2025). «Ваше значение» рассчитывается на основе введённых данных.")}),e.jsx(O,{children:e.jsx(I,{className:"pt-0 overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-border",children:[e.jsx("th",{className:"py-3 pr-4 text-left font-semibold text-text",children:t("tools.kpi.benchmark.colMetric","Метрика")}),e.jsx("th",{className:"py-3 px-3 text-center font-semibold text-green-700 whitespace-nowrap",children:t("tools.kpi.benchmark.colGood","Отлично")}),e.jsx("th",{className:"py-3 px-3 text-center font-semibold text-amber-700 whitespace-nowrap",children:t("tools.kpi.benchmark.colNormal","Норма")}),e.jsx("th",{className:"py-3 px-3 text-center font-semibold text-red-700 whitespace-nowrap",children:t("tools.kpi.benchmark.colExpensive","Дорого")}),e.jsx("th",{className:"py-3 pl-3 text-center font-semibold text-primary whitespace-nowrap",children:t("tools.kpi.benchmark.colYourValue","Ваше значение")})]})}),e.jsx("tbody",{children:se.map(s=>e.jsxs("tr",{className:"border-b border-border/60 last:border-0 hover:bg-surface/50",children:[e.jsx("td",{className:"py-3 pr-4 text-text",children:s.metric}),e.jsx("td",{className:"py-3 px-3 text-center",children:e.jsx("span",{className:"inline-block rounded px-2 py-0.5 text-xs bg-green-50 text-green-800 font-medium",children:s.good})}),e.jsx("td",{className:"py-3 px-3 text-center",children:e.jsx("span",{className:"inline-block rounded px-2 py-0.5 text-xs bg-amber-50 text-amber-800 font-medium",children:s.normal})}),e.jsx("td",{className:"py-3 px-3 text-center",children:e.jsx("span",{className:"inline-block rounded px-2 py-0.5 text-xs bg-red-50 text-red-800 font-medium",children:s.expensive})}),e.jsx("td",{className:"py-3 pl-3 text-center font-semibold text-primary",children:s.yourValue??e.jsx("span",{className:"text-text-muted font-normal",children:"—"})})]},s.metric))})]})})})]})})}),e.jsx(w,{}),e.jsx(C,{py:"md",bg:"base",children:e.jsx(N,{size:"base",children:e.jsxs(n,{gap:6,children:[e.jsxs(h,{align:"center",gap:2,children:[e.jsx(G,{className:"h-5 w-5 text-primary"}),e.jsx(L,{size:"h2",as:"h2",children:t("tools.kpi.checklist.heading","Чеклист оптимизации затрат")})]}),e.jsxs(h,{align:"center",gap:3,children:[e.jsx(i,{className:"text-text-muted",children:t("tools.kpi.checklist.intro","Отметьте пункты, которые уже применяете:")}),e.jsxs(V,{variant:T>=8?"success":T>=4?"warning":"neutral",children:[T," / ",D.length]})]}),T>=8&&e.jsxs("div",{className:"flex items-start gap-3 rounded-lg bg-green-50 border border-green-200 px-4 py-3 max-w-2xl",children:[e.jsx(G,{className:"h-4 w-4 text-green-600 mt-0.5 shrink-0"}),e.jsx(i,{className:"text-sm text-green-900",children:t("tools.kpi.checklist.successMsg","Отличный результат! Вы применяете большинство практик оптимизации логистики.")})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-3",children:D.map((s,o)=>e.jsxs("button",{type:"button",onClick:()=>ee(o),className:["flex items-start gap-3 rounded-lg border px-4 py-3 text-left transition-colors",y[o]?"bg-green-50 border-green-300":"bg-card border-border hover:border-primary/40 hover:bg-surface"].join(" "),children:[e.jsx("div",{className:["mt-0.5 h-4 w-4 shrink-0 rounded border-2 flex items-center justify-center transition-colors",y[o]?"bg-green-600 border-green-600":"border-border bg-background"].join(" "),children:y[o]&&e.jsx("svg",{className:"h-3 w-3 text-white",fill:"none",viewBox:"0 0 12 12",children:e.jsx("path",{d:"M2 6l3 3 5-5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),e.jsx(i,{className:["text-sm leading-snug",y[o]?"text-green-800 line-through":"text-text"].join(" "),children:s})]},o))})]})})}),e.jsx(w,{}),e.jsx(C,{py:"md",bg:"surface",children:e.jsx(N,{size:"base",children:e.jsxs(n,{gap:6,children:[e.jsxs(h,{align:"center",gap:2,children:[e.jsx(H,{className:"h-5 w-5 text-primary"}),e.jsx(L,{size:"h2",as:"h2",children:t("tools.kpi.costStructure.heading","Структура затрат: Китай → Россия")})]}),e.jsx(i,{className:"text-text-muted max-w-2xl",children:t("tools.kpi.costStructure.intro","Типичная структура полной стоимости доставки (Landed Cost) для импорта из Китая. За базу принята стоимость товара FOB = 100%.")}),e.jsx(O,{className:"max-w-2xl",children:e.jsx(I,{className:"pt-6",children:e.jsxs(n,{gap:3,children:[m.map(s=>e.jsxs("div",{children:[e.jsxs(h,{justify:"between",gap:2,className:"mb-1",children:[e.jsx(i,{className:"text-sm text-text",children:s.label}),e.jsx(i,{className:"text-sm font-semibold text-text-muted whitespace-nowrap",children:s.pct<1?`+${s.pct}%`:`+${s.pct}%`})]}),e.jsx("div",{className:"h-2.5 rounded-full bg-surface overflow-hidden",children:e.jsx("div",{className:`h-full rounded-full ${s.color} transition-all`,style:{width:`${Math.max(s.pct/ye*100,1)}%`}})})]},s.label)),e.jsx(w,{}),e.jsxs("div",{className:"rounded-lg bg-primary/8 border border-primary/20 px-4 py-3",children:[e.jsxs(h,{justify:"between",align:"center",children:[e.jsx(i,{className:"font-semibold text-text",children:t("tools.kpi.costStructure.totalLabel","Итого Landed Cost")}),e.jsx(V,{variant:"info",className:"text-base px-3 py-1",children:t("tools.kpi.costStructure.totalValue","120–150% от FOB")})]}),e.jsx(i,{className:"text-sm text-text-muted mt-1",children:t("tools.kpi.costStructure.totalNote","Т.е. на каждые $100 товара приходится $20–50 накладных расходов. При высоких пошлинах (15–20%) итог ближе к 160%.")})]})]})})}),e.jsxs(n,{gap:4,className:"max-w-2xl",children:[e.jsx(L,{size:"h4",as:"h3",children:t("tools.kpi.reduce.heading","Как снизить Landed Cost")}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[{tip:t("tools.kpi.reduce.hsAudit.tip","ТНВЭД аудит"),desc:t("tools.kpi.reduce.hsAudit.desc","Правильный код может снизить пошлину на 5–15%")},{tip:t("tools.kpi.reduce.gsp.tip","ГСП / преференции"),desc:t("tools.kpi.reduce.gsp.desc","Обнуление или снижение ввозной пошлины")},{tip:t("tools.kpi.reduce.fclLcl.tip","FCL vs LCL"),desc:t("tools.kpi.reduce.fclLcl.desc","FCL выгоднее при объёме > 14 CBM/мес")},{tip:t("tools.kpi.reduce.consolidation.tip","Консолидация"),desc:t("tools.kpi.reduce.consolidation.desc","Реже, но крупнее — экономия на фрахте 10–20%")}].map(({tip:s,desc:o})=>e.jsxs("div",{className:"rounded-lg border border-border bg-card px-4 py-3",children:[e.jsx(i,{className:"text-sm font-semibold text-text",children:s}),e.jsx(i,{className:"text-xs text-text-muted mt-1",children:o})]},s))})]})]})})}),e.jsx(xe,{title:t("tools.kpi.cta.title","Получите точный расчёт стоимости доставки"),description:t("tools.kpi.cta.description","2 490 городов · 60 000 контейнеров · 100 000 маршрутов · от перевозчика напрямую"),ctaLabel:t("tools.kpi.cta.label","Рассчитать маршрут"),ctaTo:"/calculator"})]})}export{Ge as default};