:root{
  --bg:#eef4e7;
  --panel:#f7f9ef;
  --panel-2:#f1f5e7;
  --panel-3:#fbfcf8;
  --text:#2f3a38;
  --muted:#66706d;
  --muted-2:#7f887f;
  --border:#c8d4bf;
  --border-soft:rgba(127,155,104,0.14);
  --primary:#7f9b68;
  --primary-dark:#627a50;
  --primary-soft:#dfe8d4;
  --success:#4e8f66;
  --warning:#b5843c;
  --danger:#b95b5b;
  --danger-dark:#974545;
  --required-bg:rgba(127,155,104,0.08);
  --required-border:rgba(127,155,104,0.32);
  --optional-bg:rgba(255,255,255,0.52);
  --optional-border:rgba(200,212,191,0.76);
  --readonly-bg:#f1f5eb;
  --readonly-text:#5c6763;
  --disabled-bg:#e8eee2;
  --shadow:0 10px 30px rgba(29,37,33,0.08);
  --shadow-soft:0 6px 18px rgba(29,37,33,0.05);
  --radius:18px;
  --radius-sm:14px;
  --radius-xs:10px;
  --container:1260px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Poppins",sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.65), transparent 30%),
    linear-gradient(180deg, #edf3e6 0%, #e8efe0 100%);
  color:var(--text);
  min-height:100vh;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  cursor:pointer;
}

a{
  color:inherit;
  text-decoration:none;
}

.hidden{
  display:none !important;
}

.wrapper{
  width:min(100% - 32px, var(--container));
  margin:28px auto 44px;
}

.hero,
header{
  background:linear-gradient(180deg, rgba(255,255,255,0.62), rgba(255,255,255,0.38));
  border:1px solid rgba(200,212,191,0.75);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:26px 26px 24px;
  backdrop-filter:blur(8px);
}

.topbar{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  margin-bottom:10px;
}

.lang-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--text);
  transition:transform .18s ease, filter .18s ease, opacity .18s ease;
}

.lang-switch:hover{
  transform:translateY(-1px) scale(1.03);
  filter:drop-shadow(0 8px 16px rgba(29,37,33,0.10));
}

.lang-switch img{
  display:block;
}

.lang-switch-icon-only{
  width:auto;
  height:auto;
  padding:0;
  border:none;
  background:transparent;
  box-shadow:none;
}

.lang-switch-icon-only img{
  width:34px;
  height:34px;
  border-radius:0;
  object-fit:contain;
}

.lang-switch-large img{
  width:85px;
  height:85px;
}

.hero-content{
  max-width:980px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:8px 0 2px;
}

.hero-heading{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
}

h1{
  margin:0;
  font-size:clamp(2.2rem, 3.6vw, 3.35rem);
  line-height:1.04;
  font-weight:700;
  letter-spacing:-0.04em;
  text-align:center;
  text-wrap:balance;
}

.subtitle{
  margin-top:0;
  font-size:1.04rem;
  color:var(--primary-dark);
  font-weight:600;
  text-align:center;
}

.intro{
  margin:0;
  color:var(--muted);
  font-size:0.97rem;
  line-height:1.8;
  max-width:900px;
  text-align:center;
}

.mode-tabs{
  display:flex;
  gap:12px;
  margin:20px 0 18px;
  flex-wrap:wrap;
}

.mode-tab{
  border:none;
  border-radius:22px;
  padding:13px 18px;
  background:rgba(255,255,255,0.72);
  color:var(--muted);
  font-weight:600;
  border:1px solid rgba(200,212,191,0.8);
  box-shadow:var(--shadow-soft);
  transition:all .18s ease;
}

.mode-tab:hover{
  transform:translateY(-1px);
  background:#fff;
  color:var(--text);
}

.mode-tab.is-active{
  background:linear-gradient(180deg, var(--primary), var(--primary-dark));
  color:#fff;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(98,122,80,0.25);
}

.panel{
  background:linear-gradient(180deg, rgba(251,252,248,0.97), rgba(246,249,239,0.96));
  border:1px solid rgba(200,212,191,0.86);
  border-radius:28px;
  padding:24px;
  box-shadow:var(--shadow);
}

.section{
  background:rgba(255,255,255,0.48);
  border:1px solid rgba(200,212,191,0.72);
  border-radius:24px;
  margin-bottom:18px;
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.section:last-child{
  margin-bottom:0;
}

.section-required{
  background:linear-gradient(180deg, rgba(255,255,255,0.68), rgba(247,250,242,0.78));
  border-color:var(--required-border);
}

.section-optional{
  background:linear-gradient(180deg, rgba(255,255,255,0.64), rgba(245,248,238,0.72));
  border-color:var(--optional-border);
}

.section-highlight{
  background:linear-gradient(135deg, rgba(127,155,104,0.13), rgba(255,255,255,0.78));
}

.section-soft{
  background:linear-gradient(180deg, rgba(255,255,255,0.78), rgba(245,248,238,0.7));
}

.section-after-goods{
  margin-top:24px;
}

.section-title{
  margin:0;
  font-size:1.24rem;
  font-weight:700;
  letter-spacing:-0.02em;
}

.section-note{
  margin:7px 0 0;
  color:var(--muted);
  line-height:1.68;
  font-size:0.94rem;
}

.section-toggle{
  width:100%;
  border:none;
  background:transparent;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  text-align:left;
  padding:18px 20px;
  transition:background .18s ease;
}

.section-toggle:hover{
  background:rgba(255,255,255,0.26);
}

.section-toggle-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex-wrap:wrap;
}

.section-toggle-title{
  font-size:1.02rem;
  font-weight:700;
  color:var(--text);
}

.section-toggle-icon{
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(200,212,191,0.82);
  color:var(--primary-dark);
  box-shadow:0 4px 12px rgba(29,37,33,0.05);
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.section-toggle:hover .section-toggle-icon{
  background:#fff;
  border-color:rgba(127,155,104,0.34);
  box-shadow:0 8px 18px rgba(29,37,33,0.08);
}

.section-toggle-chevron{
  width:11px;
  height:11px;
  border-right:2.2px solid currentColor;
  border-bottom:2.2px solid currentColor;
  transform:rotate(45deg) translateY(-1px);
  transform-origin:center;
  transition:transform .18s ease;
}

.collapsible.is-open .section-toggle-chevron{
  transform:rotate(225deg) translateY(-1px);
}

.collapsible:not(.is-open) .section-body{
  display:none;
}

.section-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  font-size:0.78rem;
  font-weight:700;
  white-space:nowrap;
}

.required-badge{
  background:rgba(127,155,104,0.15);
  color:var(--primary-dark);
}

.optional-badge{
  background:rgba(102,112,109,0.11);
  color:var(--muted);
}

.section-body{
  padding:0 20px 20px;
}

.form-row{
  display:grid;
  grid-template-columns:repeat(12, minmax(0,1fr));
  gap:14px;
  margin-bottom:14px;
}

.form-row:last-child{
  margin-bottom:0;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.field label{
  font-size:0.9rem;
  font-weight:600;
  color:var(--text);
}

.field-help{
  color:var(--muted);
  font-size:0.82rem;
  line-height:1.55;
  margin-top:-2px;
}

.required-field label::after{
  content:" *";
  color:var(--primary-dark);
  font-weight:800;
}

.readonly-field label,
.readonly-switch-field label{
  color:var(--readonly-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea{
  width:100%;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.92);
  color:var(--text);
  border-radius:16px;
  padding:13px 14px;
  outline:none;
  min-height:50px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.75);
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .16s ease;
}

input::placeholder,
textarea::placeholder{
  color:#95a096;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(127,155,104,0.14);
  background:#fff;
}

.readonly-field input[readonly],
.readonly-field textarea[readonly],
input[readonly],
textarea[readonly]{
  background:var(--readonly-bg);
  color:var(--readonly-text);
  border-color:#d5dfcc;
}

.readonly-switch-field select[disabled],
input[disabled],
select[disabled]{
  background:var(--disabled-bg);
  color:#8b9690;
  cursor:not-allowed;
  border-color:#d6dfcd;
}

.checkbox-row{
  min-height:50px;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.92);
  padding:0 14px;
  border-radius:16px;
}

.checkbox-row input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:var(--primary);
}

.span-1{grid-column:span 1;}
.span-2{grid-column:span 2;}
.span-3{grid-column:span 3;}
.span-4{grid-column:span 4;}
.span-5{grid-column:span 5;}
.span-6{grid-column:span 6;}
.span-7{grid-column:span 7;}
.span-8{grid-column:span 8;}
.span-9{grid-column:span 9;}
.span-10{grid-column:span 10;}
.span-11{grid-column:span 11;}
.span-12{grid-column:span 12;}

.hs-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(340px,0.95fr);
  gap:18px;
  align-items:stretch;
}

.hs-hero-copy,
.hs-hero-form{
  border-radius:22px;
  padding:20px;
  border:1px solid rgba(200,212,191,0.72);
}

.hs-hero-copy{
  background:linear-gradient(180deg, var(--primary), var(--primary-dark));
  color:#fff;
  box-shadow:0 10px 24px rgba(98,122,80,0.20);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100%;
}

.hs-hero-copy-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
  min-height:100%;
}

.hs-hero-form{
  background:rgba(255,255,255,0.76);
}

.hs-hero-accent{
  position:relative;
  overflow:hidden;
}

.hs-hero-accent::after{
  content:"";
  position:absolute;
  inset:auto -40px -40px auto;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
}

.light-title{
  color:#fff;
}

.light-note{
  color:rgba(255,255,255,0.9);
  margin-top:0;
}

.simulation-pane{
  display:none;
}

.simulation-pane.is-active{
  display:block;
}

.subsection-card{
  margin-top:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.74), rgba(247,249,240,0.72));
  border:1px solid rgba(200,212,191,0.72);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.subsection-optional{
  background:linear-gradient(180deg, rgba(255,255,255,0.78), rgba(246,249,241,0.74));
}

.subsection-head{
  margin-bottom:14px;
}

.subsection-title{
  margin:0;
  font-size:1.02rem;
  font-weight:700;
  letter-spacing:-0.02em;
}

.subsection-note{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.65;
  font-size:0.9rem;
}

.compact-head{
  margin-bottom:12px;
}

.mini-subtitle{
  margin:0;
  font-size:0.94rem;
  font-weight:700;
}

.input-with-inline-action{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}

.field-product-name{
  align-self:start;
}

.field-action-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.product-name-clear-row{
  margin-top:2px;
}

.field-inline-btn,
.mini-clear-btn,
.product-name-clear-btn{
  min-height:44px;
  border:none;
  border-radius:14px;
  padding:0 14px;
  background:rgba(185,91,91,0.12);
  color:var(--danger-dark);
  font-weight:600;
  transition:all .16s ease;
  width:max-content;
}

.field-inline-btn:hover,
.mini-clear-btn:hover,
.product-name-clear-btn:hover{
  background:rgba(185,91,91,0.18);
  transform:translateY(-1px);
}

.multi-products-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:16px;
}

.multi-products-copy{
  flex:1 1 auto;
}

.multi-products-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.multi-product-row{
  border:1px solid rgba(200,212,191,0.78);
  background:linear-gradient(180deg, rgba(255,255,255,0.85), rgba(245,248,238,0.8));
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.multi-product-row-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:16px;
}

.multi-product-row-title{
  margin:0;
  font-size:1rem;
  font-weight:700;
}

.multi-product-row-note{
  margin:6px 0 0;
  color:var(--muted);
  font-size:0.88rem;
  line-height:1.6;
}

.multi-packaging-card{
  margin-top:10px;
  background:rgba(255,255,255,0.58);
  border:1px solid rgba(200,212,191,0.72);
  border-radius:18px;
  padding:16px;
}

.row-remove-btn{
  border:none;
  border-radius:14px;
  min-height:46px;
  padding:0 16px;
  background:linear-gradient(180deg, rgba(185,91,91,0.16), rgba(185,91,91,0.1));
  color:var(--danger-dark);
  font-weight:700;
  transition:all .16s ease;
  white-space:nowrap;
}

.row-remove-btn:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, rgba(185,91,91,0.22), rgba(185,91,91,0.14));
}

.multi-summary-card{
  margin-top:16px;
}

.btn-primary,
.btn-secondary,
.small-action-btn{
  border:none;
  border-radius:16px;
  min-height:52px;
  padding:0 18px;
  font-weight:700;
  transition:all .18s ease;
}

.btn-primary{
  background:linear-gradient(180deg, var(--primary), var(--primary-dark));
  color:#fff;
  box-shadow:0 12px 24px rgba(98,122,80,0.22);
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(98,122,80,0.28);
}

.btn-secondary,
.small-action-btn{
  background:rgba(255,255,255,0.9);
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:var(--shadow-soft);
}

.btn-secondary:hover,
.small-action-btn:hover{
  background:#fff;
  transform:translateY(-1px);
}

.small-action-btn{
  min-height:48px;
  padding:0 16px;
  white-space:nowrap;
}

.actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.rate-info{
  color:var(--muted);
  font-size:0.82rem;
  line-height:1.55;
}

.precision-card{
  margin-top:16px;
  background:linear-gradient(135deg, rgba(255,255,255,0.88), rgba(237,243,231,0.95));
  border:1px solid rgba(200,212,191,0.82);
  border-radius:24px;
  padding:20px;
  box-shadow:var(--shadow-soft);
}

.precision-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}

.precision-copy{
  flex:1 1 auto;
}

.precision-title{
  margin:0;
  font-size:1.06rem;
  font-weight:700;
}

.precision-note{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.68;
  font-size:0.92rem;
}

.precision-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  min-height:42px;
  border-radius:999px;
  padding:0 16px;
  font-weight:700;
  font-size:0.9rem;
  white-space:nowrap;
}

.precision-low{
  background:rgba(185,91,91,0.14);
  color:var(--danger-dark);
}

.precision-medium{
  background:rgba(181,132,60,0.14);
  color:var(--warning);
}

.precision-high{
  background:rgba(78,143,102,0.14);
  color:var(--success);
}

.precision-power-wrap{
  margin-top:18px;
  border:1px solid rgba(200,212,191,0.82);
  background:rgba(255,255,255,0.78);
  border-radius:18px;
  padding:14px 16px 16px;
}

.precision-power-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.precision-power-label{
  color:var(--text);
  font-size:0.9rem;
  font-weight:600;
}

.precision-power-value{
  color:var(--primary-dark);
  font-size:0.95rem;
  font-weight:700;
}

.precision-slider-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
}

.precision-slider-min,
.precision-slider-max{
  font-size:0.78rem;
  color:var(--muted-2);
  font-weight:600;
}

.precision-range{
  width:100%;
  appearance:none;
  background:transparent;
  height:28px;
  padding:0;
  margin:0;
  min-height:auto;
  border:none;
  box-shadow:none;
}

.precision-range:focus{
  box-shadow:none;
}

.precision-range::-webkit-slider-runnable-track{
  height:8px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(223,232,212,1), rgba(199,214,191,1));
  border:1px solid rgba(127,155,104,0.28);
}

.precision-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:2px solid var(--primary-dark);
  margin-top:-6px;
  box-shadow:0 4px 10px rgba(29,37,33,0.12);
}

.precision-range::-moz-range-track{
  height:8px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(223,232,212,1), rgba(199,214,191,1));
  border:1px solid rgba(127,155,104,0.28);
}

.precision-range::-moz-range-thumb{
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:2px solid var(--primary-dark);
  box-shadow:0 4px 10px rgba(29,37,33,0.12);
}

.precision-details{
  margin-top:12px;
  color:var(--muted);
  font-size:0.92rem;
  line-height:1.7;
}

.result-section{
  margin-top:22px;
}

.result-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:18px;
}

.result-head-copy{
  flex:1 1 auto;
}

.result-title{
  margin:0;
  font-size:1.45rem;
  font-weight:700;
  letter-spacing:-0.02em;
}

.result-subtitle{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.68;
  font-size:0.94rem;
}

.result-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(127,155,104,0.14);
  color:var(--primary-dark);
  font-weight:700;
  white-space:nowrap;
}

.result-summary-card,
.result-incoterms-card,
.result-table-card,
.result-notes-card{
  border:1px solid rgba(200,212,191,0.82);
  background:linear-gradient(180deg, rgba(255,255,255,0.84), rgba(246,249,239,0.8));
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  margin-bottom:16px;
}

.result-card-head,
.result-table-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:14px;
}

.result-block-title{
  margin:0;
  font-size:1.02rem;
  font-weight:700;
}

.result-block-note{
  margin:6px 0 0;
  color:var(--muted);
  line-height:1.65;
  font-size:0.9rem;
}

.result-summary-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}

.summary-item{
  background:rgba(255,255,255,0.8);
  border:1px solid rgba(200,212,191,0.72);
  border-radius:18px;
  padding:14px;
  min-width:0;
}

.summary-label{
  display:block;
  color:var(--muted);
  font-size:0.82rem;
  margin-bottom:6px;
}

.summary-value{
  display:block;
  color:var(--text);
  font-size:0.98rem;
  line-height:1.45;
  word-break:break-word;
}

.progression-cards{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.progression-card{
  position:relative;
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-soft);
  color:var(--text);
  border:1px solid rgba(200,212,191,0.78);
  overflow:hidden;
}

.progression-card::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:1;
  pointer-events:none;
}

.progression-card > *{
  position:relative;
  z-index:1;
}

.progression-exw{
  background:linear-gradient(180deg, rgba(127,155,104,0.34), rgba(255,255,255,0.92));
  border-left:4px solid rgba(127,155,104,0.92);
}

.progression-exw::before{
  background:
    radial-gradient(circle at top right, rgba(127,155,104,0.30), transparent 42%),
    radial-gradient(circle at bottom left, rgba(127,155,104,0.18), transparent 40%);
}

.progression-fob{
  background:linear-gradient(180deg, rgba(78,143,102,0.30), rgba(255,255,255,0.92));
  border-left:4px solid rgba(78,143,102,0.90);
}

.progression-fob::before{
  background:
    radial-gradient(circle at top right, rgba(78,143,102,0.28), transparent 42%),
    radial-gradient(circle at bottom left, rgba(78,143,102,0.16), transparent 40%);
}

.progression-cif{
  background:linear-gradient(180deg, rgba(181,132,60,0.28), rgba(255,255,255,0.92));
  border-left:4px solid rgba(181,132,60,0.90);
}

.progression-cif::before{
  background:
    radial-gradient(circle at top right, rgba(181,132,60,0.26), transparent 42%),
    radial-gradient(circle at bottom left, rgba(181,132,60,0.14), transparent 40%);
}

.progression-dap{
  background:linear-gradient(180deg, rgba(102,112,109,0.24), rgba(255,255,255,0.92));
  border-left:4px solid rgba(102,112,109,0.72);
}

.progression-dap::before{
  background:
    radial-gradient(circle at top right, rgba(102,112,109,0.22), transparent 42%),
    radial-gradient(circle at bottom left, rgba(102,112,109,0.12), transparent 40%);
}

.progression-ddp{
  background:linear-gradient(180deg, rgba(47,58,56,0.20), rgba(255,255,255,0.92));
  border-left:4px solid rgba(47,58,56,0.70);
}

.progression-ddp::before{
  background:
    radial-gradient(circle at top right, rgba(47,58,56,0.18), transparent 42%),
    radial-gradient(circle at bottom left, rgba(47,58,56,0.10), transparent 40%);
}

.progression-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

.progression-name{
  font-size:1rem;
  font-weight:800;
  letter-spacing:-0.02em;
}

.progression-tag{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:0.8rem;
  font-weight:700;
  background:rgba(255,255,255,0.76);
  color:var(--primary-dark);
  white-space:nowrap;
}

.progression-base-block{
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(200,212,191,0.7);
  margin-bottom:12px;
  backdrop-filter:blur(4px);
}

.progression-base-label{
  color:var(--muted);
  font-size:0.82rem;
}

.progression-base-price{
  margin-top:6px;
  font-size:1.35rem;
  font-weight:800;
  line-height:1.1;
  letter-spacing:-0.03em;
}

.progression-base-unit{
  margin-top:4px;
  color:var(--muted);
  font-size:0.85rem;
}

.progression-steps{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.progression-step{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  border-radius:16px;
  padding:12px 14px;
  background:rgba(255,255,255,0.74);
  border:1px solid rgba(200,212,191,0.66);
  backdrop-filter:blur(3px);
}

.progression-step-label{
  color:var(--muted);
  font-size:0.85rem;
  line-height:1.45;
}

.progression-step-value{
  font-size:0.95rem;
  white-space:nowrap;
  font-weight:700;
}

.result-legend{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.legend-item{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:0.8rem;
  font-weight:700;
}

.legend-included{
  background:rgba(78,143,102,0.14);
  color:var(--success);
}

.legend-added{
  background:rgba(127,155,104,0.14);
  color:var(--primary-dark);
}

.legend-neutral{
  background:rgba(102,112,109,0.12);
  color:var(--muted);
}

.table-wrap{
  width:100%;
  overflow-x:auto;
  border-radius:18px;
  border:1px solid rgba(200,212,191,0.72);
  background:rgba(255,255,255,0.74);
}

.comparison-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}

.comparison-table th,
.comparison-table td{
  text-align:left;
  padding:14px 14px;
  border-bottom:1px solid rgba(200,212,191,0.68);
  vertical-align:top;
  font-size:0.92rem;
}

.comparison-table thead th{
  background:rgba(241,245,231,0.88);
  color:var(--text);
  font-size:0.84rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.03em;
}

.comparison-table tbody tr:last-child td{
  border-bottom:none;
}

.cell-included{
  color:var(--text);
  font-weight:700;
}

.cell-added{
  color:var(--primary-dark);
  font-weight:700;
}

.cell-neutral{
  color:var(--muted);
}

.result-notes-content p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.72;
  font-size:0.93rem;
}

.result-notes-content p:last-child{
  margin-bottom:0;
}

@media (max-width:1180px){
  .wrapper{
    width:min(100% - 24px, var(--container));
  }

  .result-summary-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .progression-cards{
    grid-template-columns:1fr;
  }

  .hs-hero-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:920px){
  .panel{
    padding:18px;
    border-radius:24px;
  }

  .section{
    border-radius:20px;
  }

  .section-toggle{
    padding:16px;
  }

  .section-body{
    padding:0 16px 16px;
  }

  .form-row{
    grid-template-columns:repeat(6, minmax(0,1fr));
  }

  .span-1,
  .span-2,
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9,
  .span-10,
  .span-11,
  .span-12{
    grid-column:span 6;
  }

  .input-with-inline-action{
    grid-template-columns:1fr;
  }

  .multi-products-head,
  .result-head,
  .result-card-head,
  .result-table-head,
  .precision-card-top,
  .precision-power-head{
    flex-direction:column;
    align-items:stretch;
  }

  .row-remove-btn,
  .small-action-btn,
  .btn-primary,
  .btn-secondary{
    width:100%;
  }

  .field-inline-btn,
  .mini-clear-btn,
  .product-name-clear-btn{
    width:100%;
  }
}

@media (max-width:640px){
  body{
    font-size:15px;
  }

  .wrapper{
    width:min(100% - 16px, var(--container));
    margin:16px auto 28px;
  }

  .hero,
  header{
    padding:18px;
    border-radius:22px;
  }

  .panel{
    padding:14px;
    border-radius:22px;
  }

  .section{
    border-radius:18px;
  }

  .section-toggle{
    padding:14px;
  }

  .section-body{
    padding:0 14px 14px;
  }

  .subsection-card,
  .multi-product-row,
  .multi-packaging-card,
  .result-summary-card,
  .result-incoterms-card,
  .result-table-card,
  .result-notes-card,
  .precision-card,
  .hs-hero-copy,
  .hs-hero-form{
    border-radius:18px;
  }

  .mode-tabs{
    gap:10px;
  }

  .mode-tab{
    width:100%;
    justify-content:center;
  }

  .lang-switch-large img{
    width:62px;
    height:62px;
  }

  .section-toggle-icon{
    width:36px;
    height:36px;
    border-radius:12px;
  }

  .section-toggle-chevron{
    width:10px;
    height:10px;
  }

  .form-row{
    grid-template-columns:1fr;
    gap:12px;
  }

  .span-1,
  .span-2,
  .span-3,
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8,
  .span-9,
  .span-10,
  .span-11,
  .span-12{
    grid-column:span 1;
  }

  .result-summary-grid{
    grid-template-columns:1fr;
  }

  .comparison-table{
    min-width:680px;
  }

  .progression-base-price{
    font-size:1.18rem;
  }

  .section-toggle-left{
    align-items:flex-start;
  }

  .hero-content{
    gap:12px;
  }

  h1{
    font-size:clamp(1.9rem, 8vw, 2.45rem);
  }

  .intro{
    font-size:0.93rem;
    line-height:1.7;
  }

  .precision-slider-row{
    grid-template-columns:1fr;
    gap:8px;
  }

  .precision-slider-min,
  .precision-slider-max{
    display:none;
  }
}

@media (prefers-reduced-motion: reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}