/* === BOXY STYLE â€” suderintas su Logistikos UÅ¾klausa formomis === */
  .freight-calculator-wrapper{
    --fc-primary:#005680; --fc-accent:#e30613;
    --fc-ink:#1a2440; --fc-muted:#5b6b85;
    --fc-line:#e4e8f0; --fc-line-2:#d6dce8; --fc-bg:#f5f7fb;
  }
  .freight-calculator-wrapper, .freight-calculator-wrapper *{box-sizing:border-box}
  .freight-calculator-wrapper{font-family:inherit;color:var(--fc-ink);-webkit-font-smoothing:antialiased}
  .freight-calculator-wrapper input,.freight-calculator-wrapper select,.freight-calculator-wrapper button,.freight-calculator-wrapper textarea{font-family:inherit}
  .freight-calculator-wrapper button{border:0;outline:0;text-decoration:none;-webkit-appearance:none;appearance:none;cursor:pointer;color:inherit;background:none}
  .freight-calculator-wrapper button:focus,.freight-calculator-wrapper button:focus-visible,.freight-calculator-wrapper button:active{outline:0;text-decoration:none}
  .freight-calculator-wrapper h1,.freight-calculator-wrapper h2,.freight-calculator-wrapper h3,.freight-calculator-wrapper h4,.freight-calculator-wrapper p,.freight-calculator-wrapper label,.freight-calculator-wrapper span,.freight-calculator-wrapper div{color:inherit}
  .freight-calculator-wrapper .hidden{display:none !important}

  /* GLOBAL BOXY OVERRIDE â€” paÅ¡alina visus apvalinimus ir minkÅ¡tus Å¡eÅ¡Ä—lius iÅ¡ Tailwind klasiÅ³ */
  .freight-calculator-wrapper [class],
  .freight-calculator-wrapper [class]::before,
  .freight-calculator-wrapper [class]::after{border-radius:0 !important}
  .freight-calculator-wrapper .shadow-fc-soft,
  .freight-calculator-wrapper .shadow-fc-md,
  .freight-calculator-wrapper [class*="shadow-"]{box-shadow:none !important}

  /* Inputs & selects */
  .freight-calculator-wrapper input,
  .freight-calculator-wrapper select,
  .freight-calculator-wrapper textarea{outline:none;transition:border-color .15s, background .15s; border-radius:0 !important}
  .freight-calculator-wrapper input:focus,
  .freight-calculator-wrapper select:focus,
  .freight-calculator-wrapper textarea:focus{border-color:var(--fc-primary) !important;box-shadow:none !important}
  .freight-calculator-wrapper input:invalid,.freight-calculator-wrapper select:invalid{box-shadow:none;border-color:var(--fc-line-2)}
  .freight-calculator-wrapper input::placeholder,
  .freight-calculator-wrapper textarea::placeholder{color:#9ca3af !important;opacity:1 !important}
  .freight-calculator-wrapper select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%235b6b85' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:36px}

  /* === TABS (Konteineris / Dalinis) === */
  .freight-calculator-wrapper .fc-tab{transition:background-color .15s, color .15s, border-color .15s; border:1px solid var(--fc-line-2) !important; font-weight:700}
  .freight-calculator-wrapper .fc-tab[data-active="true"]{background:var(--fc-primary) !important;color:#fff !important;border-color:var(--fc-primary) !important}
  .freight-calculator-wrapper .fc-tab[data-active="false"]{background:#fff !important;color:var(--fc-ink) !important}
  .freight-calculator-wrapper .fc-tab[data-active="false"]:hover{border-color:var(--fc-primary) !important;color:var(--fc-primary) !important}

  /* === STEP DOTS â€” KVADRATINIAI === */
  .freight-calculator-wrapper .fc-step-dot{width:36px;height:36px;border:2px solid var(--fc-line-2) !important;background:#fff;color:var(--fc-muted);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0;transition:all .2s}
  .freight-calculator-wrapper .fc-step-dot[data-state="active"]{border-color:var(--fc-primary) !important;background:var(--fc-primary);color:#fff}
  .freight-calculator-wrapper .fc-step-dot[data-state="done"]{border-color:var(--fc-primary) !important;color:var(--fc-primary);background:#fff}
  .freight-calculator-wrapper .fc-step-label{color:var(--fc-muted);font-weight:600}
  .freight-calculator-wrapper .fc-step-label[data-state="active"]{color:var(--fc-primary);font-weight:700}
  .freight-calculator-wrapper .fc-step-label[data-state="done"]{color:var(--fc-primary);font-weight:600}
  .freight-calculator-wrapper .fc-step-label[data-state="todo"]{color:#8593ad;font-weight:600}
  .freight-calculator-wrapper .fc-step-line{background:var(--fc-line)}
  .freight-calculator-wrapper .fc-step-line[data-state="done"]{background:var(--fc-primary)}

  /* === PILL â€” kvadratinÄ— Å¾ymÄ— === */
  .freight-calculator-wrapper .fc-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;font-size:11px;font-weight:700;background:var(--fc-bg);color:var(--fc-muted);border:1px solid var(--fc-line)}

  /* === TOAST === */
  .freight-calculator-wrapper .toast{position:fixed;top:20px;right:20px;background:#0a2540;color:#fff;padding:14px 18px;z-index:10000;font-weight:600;font-size:14px}
  .freight-calculator-wrapper .toast.error{background:var(--fc-accent)}
  @keyframes fcFadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
  .freight-calculator-wrapper .fc-anim{animation:fcFadeUp .3s ease-out forwards}

  /* === PAGRINDINIAI CTA MYGTUKAI (matching .lcf-btn) === */
  .freight-calculator-wrapper [data-btn-calc],
  .freight-calculator-wrapper [data-btn-email],
  .freight-calculator-wrapper [data-btn-reset],
  .freight-calculator-wrapper .fc-mini-cta{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    height:54px; padding:0 28px;
    background-color:var(--fc-accent) !important; color:#ffffff !important;
    font-weight:700; font-size:15px; letter-spacing:.2px;
    border:1px solid var(--fc-accent) !important;
    transition:background-color .15s ease, color .15s ease, border-color .15s ease;
    box-shadow:none !important; text-decoration:none !important; text-transform:uppercase;
  }
  .freight-calculator-wrapper [data-btn-calc]:hover:not(:disabled),
  .freight-calculator-wrapper [data-btn-email]:hover:not(:disabled),
  .freight-calculator-wrapper [data-btn-reset]:hover,
  .freight-calculator-wrapper .fc-mini-cta:hover{
    background-color:#ffffff !important; color:var(--fc-accent) !important; border-color:var(--fc-accent) !important;
  }
  .freight-calculator-wrapper [data-btn-calc]:disabled{opacity:.45;cursor:not-allowed}

  /* === GHOST / Atgal mygtukas === */
  .freight-calculator-wrapper [data-btn-back]{
    display:inline-flex;align-items:center;justify-content:center;
    height:48px; padding:0 22px;
    background-color:#ffffff !important; color:var(--fc-ink) !important;
    font-weight:700; font-size:14px;
    border:1px solid var(--fc-line-2) !important;
    transition:background-color .15s, border-color .15s, color .15s; text-decoration:none !important;
  }
  .freight-calculator-wrapper [data-btn-back]:hover{
    border-color:var(--fc-primary) !important; color:var(--fc-primary) !important;
  }

  /* === SHELL kortelÄ—s === */
  .freight-calculator-wrapper .bg-white{background:#fff}
  .freight-calculator-wrapper .border-tlc-line{border-color:var(--fc-line) !important}


  /* Main calculator controls: keep input/select/date boxes exactly the same height. */
  .freight-calculator-wrapper [data-origin],
  .freight-calculator-wrapper [data-size],
  .freight-calculator-wrapper [data-qty],
  .freight-calculator-wrapper [data-partial-qty],
  .freight-calculator-wrapper [data-cbm],
  .freight-calculator-wrapper [data-weight],
  .freight-calculator-wrapper [data-readiness-date],
  .freight-calculator-wrapper [data-intent],
  .freight-calculator-wrapper [data-destination]{
    height:54px !important;
    min-height:54px !important;
    max-height:54px !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }
  .freight-calculator-wrapper [data-origin],
  .freight-calculator-wrapper [data-size],
  .freight-calculator-wrapper [data-qty],
  .freight-calculator-wrapper [data-partial-qty],
  .freight-calculator-wrapper [data-cbm],
  .freight-calculator-wrapper [data-weight],
  .freight-calculator-wrapper [data-readiness-date],
  .freight-calculator-wrapper [data-intent]{
    padding-top:0 !important;
    padding-bottom:0 !important;
    line-height:1.2 !important;
  }


  /* === MINI â€” visi laukai vienodo aukÅ¡Äio ir ploÄio === */
  .freight-calculator-wrapper .fc-mini-row{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;align-items:stretch}
  .freight-calculator-wrapper .fc-mini-field{
    position:relative;
    padding:18px 26px 6px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:5px !important;
    height:72px !important;
    min-width:0;
    box-sizing:border-box !important;
  }
  .freight-calculator-wrapper .fc-mini-field.hidden{display:none !important}
  .freight-calculator-wrapper .fc-mini-field + .fc-mini-field{border-left:1px solid var(--fc-line)}

  .freight-calculator-wrapper .fc-mini-label{
    font-size:11px !important;
    font-weight:700 !important;
    text-transform:uppercase !important;
    letter-spacing:.06em !important;
    color:var(--fc-muted) !important;
    margin:0 !important;
    padding:0 !important;
    line-height:14px !important;
    height:14px !important;
    min-height:14px !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    box-sizing:border-box !important;
  }

  .freight-calculator-wrapper .fc-mini-input,
  .freight-calculator-wrapper .fc-mini-select,
  .freight-calculator-wrapper .fc-mini-value{
    border:0 !important;
    outline:0 !important;
    background-color:transparent !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    margin:0 !important;
    font-size:15px !important;
    font-weight:700 !important;
    color:#0a2540 !important;
    width:100% !important;
    height:24px !important;
    min-height:24px !important;
    line-height:24px !important;
    box-sizing:border-box !important;
    vertical-align:middle !important;
  }
  .freight-calculator-wrapper .fc-mini-input:focus,
  .freight-calculator-wrapper .fc-mini-select:focus{box-shadow:none}
  .freight-calculator-wrapper .fc-mini-input{
    display:block !important;
  }
  .freight-calculator-wrapper .fc-mini-select{
    display:block !important;
    padding-left:0 !important;
    padding-right:28px !important;
    background-position:right 0 center !important;
    background-size:12px 8px !important;
  }
  .freight-calculator-wrapper .fc-mini-value{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }
  .freight-calculator-wrapper .fc-mini-value > span{
    display:inline-flex !important;
    align-items:center !important;
    height:24px !important;
    line-height:24px !important;
  }

  .freight-calculator-wrapper .fc-mini-cta{min-height:72px;height:72px}

  @media (max-width: 900px){
    .freight-calculator-wrapper .fc-mini-row{grid-auto-flow:row;grid-auto-columns:auto}
    .freight-calculator-wrapper .fc-mini-field + .fc-mini-field{border-left:0;border-top:1px solid var(--fc-line)}
    .freight-calculator-wrapper .fc-mini-cta{width:100%}
  }


/* ===== Static utility layer (replaces Tailwind Play CDN) ===== */
.freight-calculator-wrapper .block{display:block}.freight-calculator-wrapper .flex{display:flex}.freight-calculator-wrapper .grid{display:grid}
.freight-calculator-wrapper .items-center{align-items:center}.freight-calculator-wrapper .items-start{align-items:flex-start}
.freight-calculator-wrapper .justify-center{justify-content:center}.freight-calculator-wrapper .justify-between{justify-content:space-between}
.freight-calculator-wrapper .flex-shrink-0,.freight-calculator-wrapper .shrink-0{flex-shrink:0}.freight-calculator-wrapper .shrink{flex-shrink:1}.freight-calculator-wrapper .min-w-0{min-width:0}
.freight-calculator-wrapper .w-full{width:100%}.freight-calculator-wrapper .w-4{width:1rem}.freight-calculator-wrapper .w-8{width:2rem}.freight-calculator-wrapper .w-9{width:2.25rem}.freight-calculator-wrapper .w-10{width:2.5rem}
.freight-calculator-wrapper .h-8{height:2rem}.freight-calculator-wrapper .h-9{height:2.25rem}.freight-calculator-wrapper .h-10{height:2.5rem}.freight-calculator-wrapper .h-11{height:2.75rem}.freight-calculator-wrapper .h-12{height:3rem}.freight-calculator-wrapper .h-\[2px\]{height:2px}
.freight-calculator-wrapper .max-w-5xl{max-width:64rem}.freight-calculator-wrapper .max-w-lg{max-width:32rem}.freight-calculator-wrapper .max-w-md{max-width:28rem}.freight-calculator-wrapper .mx-auto{margin-left:auto;margin-right:auto}.freight-calculator-wrapper .ml-auto{margin-left:auto}
.freight-calculator-wrapper .grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.freight-calculator-wrapper .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.freight-calculator-wrapper .gap-1{gap:.25rem}.freight-calculator-wrapper .gap-1\.5{gap:.375rem}.freight-calculator-wrapper .gap-2{gap:.5rem}.freight-calculator-wrapper .gap-3{gap:.75rem}.freight-calculator-wrapper .gap-4{gap:1rem}
.freight-calculator-wrapper .p-0{padding:0}.freight-calculator-wrapper .p-1{padding:.25rem}.freight-calculator-wrapper .p-2{padding:.5rem}.freight-calculator-wrapper .p-4{padding:1rem}.freight-calculator-wrapper .p-5{padding:1.25rem}.freight-calculator-wrapper .p-6{padding:1.5rem}
.freight-calculator-wrapper .px-3{padding-left:.75rem;padding-right:.75rem}.freight-calculator-wrapper .px-4{padding-left:1rem;padding-right:1rem}.freight-calculator-wrapper .px-10{padding-left:2.5rem;padding-right:2.5rem}.freight-calculator-wrapper .py-2{padding-top:.5rem;padding-bottom:.5rem}.freight-calculator-wrapper .py-3{padding-top:.75rem;padding-bottom:.75rem}
.freight-calculator-wrapper .pt-1{padding-top:.25rem}.freight-calculator-wrapper .pt-2{padding-top:.5rem}.freight-calculator-wrapper .pt-4{padding-top:1rem}
.freight-calculator-wrapper .mb-1{margin-bottom:.25rem}.freight-calculator-wrapper .mb-1\.5{margin-bottom:.375rem}.freight-calculator-wrapper .mb-2{margin-bottom:.5rem}.freight-calculator-wrapper .mb-3{margin-bottom:.75rem}.freight-calculator-wrapper .mb-4{margin-bottom:1rem}.freight-calculator-wrapper .mb-5{margin-bottom:1.25rem}.freight-calculator-wrapper .mb-6{margin-bottom:1.5rem}.freight-calculator-wrapper .mt-3{margin-top:.75rem}
.freight-calculator-wrapper .space-y-1>*+*{margin-top:.25rem}.freight-calculator-wrapper .space-y-2>*+*{margin-top:.5rem}.freight-calculator-wrapper .space-y-4>*+*{margin-top:1rem}.freight-calculator-wrapper .space-y-5>*+*{margin-top:1.25rem}.freight-calculator-wrapper .space-y-6>*+*{margin-top:1.5rem}.freight-calculator-wrapper .space-y-7>*+*{margin-top:1.75rem}
.freight-calculator-wrapper .border{border-width:1px;border-style:solid}.freight-calculator-wrapper .border-t{border-top-width:1px;border-top-style:solid}.freight-calculator-wrapper .border-b{border-bottom-width:1px;border-bottom-style:solid}
.freight-calculator-wrapper .border-tlc-line-2{border-color:var(--fc-line-2)!important}.freight-calculator-wrapper .bg-tlc-bg{background:var(--fc-bg)}.freight-calculator-wrapper .bg-tlc-red{background:var(--fc-accent)}.freight-calculator-wrapper .bg-transparent{background:transparent}
.freight-calculator-wrapper .bg-emerald-50{background:#ecfdf5}.freight-calculator-wrapper .bg-emerald-500{background:#10b981}.freight-calculator-wrapper .border-emerald-200{border-color:#a7f3d0}.freight-calculator-wrapper .text-emerald-800{color:#065f46}.freight-calculator-wrapper .text-emerald-900{color:#064e3b}
.freight-calculator-wrapper .bg-amber-50{background:#fffbeb}.freight-calculator-wrapper .border-amber-200{border-color:#fde68a}.freight-calculator-wrapper .text-amber-900,.freight-calculator-wrapper .text-amber-900\/90{color:#78350f}.freight-calculator-wrapper .bg-\[\#ED1C24\]{background:#ED1C24}
.freight-calculator-wrapper .text-white{color:#fff!important}.freight-calculator-wrapper .text-tlc-blue{color:#2563eb}.freight-calculator-wrapper .text-tlc-muted{color:var(--fc-muted)}.freight-calculator-wrapper .text-tlc-navy{color:#0a2540}.freight-calculator-wrapper .text-\[\#0a2540\]{color:#0a2540}
.freight-calculator-wrapper .text-center{text-align:center}.freight-calculator-wrapper .text-xs{font-size:.75rem;line-height:1rem}.freight-calculator-wrapper .text-sm{font-size:.875rem;line-height:1.25rem}.freight-calculator-wrapper .text-base{font-size:1rem;line-height:1.5rem}.freight-calculator-wrapper .text-lg{font-size:1.125rem;line-height:1.75rem}.freight-calculator-wrapper .text-2xl{font-size:1.5rem;line-height:2rem}.freight-calculator-wrapper .text-\[9px\]{font-size:9px}.freight-calculator-wrapper .text-\[10px\]{font-size:10px}.freight-calculator-wrapper .text-\[11px\]{font-size:11px}
.freight-calculator-wrapper .font-semibold{font-weight:600}.freight-calculator-wrapper .font-bold{font-weight:700}.freight-calculator-wrapper .font-extrabold{font-weight:800}.freight-calculator-wrapper .uppercase{text-transform:uppercase}.freight-calculator-wrapper .italic{font-style:italic}.freight-calculator-wrapper .tracking-wide{letter-spacing:.025em}.freight-calculator-wrapper .tracking-wider{letter-spacing:.05em}
.freight-calculator-wrapper .leading-none{line-height:1}.freight-calculator-wrapper .leading-tight{line-height:1.25}.freight-calculator-wrapper .leading-relaxed{line-height:1.625}.freight-calculator-wrapper .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.freight-calculator-wrapper .overflow-hidden{overflow:hidden}
.freight-calculator-wrapper .transition{transition-property:color,background-color,border-color,opacity;transition-duration:.15s}.freight-calculator-wrapper .outline-none{outline:2px solid transparent;outline-offset:2px}
.freight-calculator-wrapper .hover\:bg-tlc-bg:hover{background:var(--fc-bg)}.freight-calculator-wrapper .hover\:bg-\[\#b80510\]:hover{background:#b80510}.freight-calculator-wrapper .hover\:text-\[\#005680\]:hover{color:#005680}.freight-calculator-wrapper .disabled\:opacity-40:disabled{opacity:.4}.freight-calculator-wrapper .disabled\:cursor-not-allowed:disabled{cursor:not-allowed}
.freight-calculator-wrapper .rounded-2xl,.freight-calculator-wrapper .rounded-xl,.freight-calculator-wrapper .rounded-lg,.freight-calculator-wrapper .rounded-full{border-radius:0!important}

/* Native controls normalize differently across browsers. Force one visual box size. */
.freight-calculator-wrapper input[type="date"],
.freight-calculator-wrapper input[type="number"],
.freight-calculator-wrapper input[type="email"],
.freight-calculator-wrapper select{
  display:block;
  width:100%;
  height:54px!important;
  min-height:54px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:52px!important;
  vertical-align:middle;
}
.freight-calculator-wrapper select{line-height:normal!important}

@media (min-width:640px){
  .freight-calculator-wrapper .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.freight-calculator-wrapper .sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.freight-calculator-wrapper .sm\:col-span-3{grid-column:span 3/span 3}.freight-calculator-wrapper .sm\:flex-1{flex:1 1 0%}.freight-calculator-wrapper .sm\:gap-3{gap:.75rem}.freight-calculator-wrapper .sm\:gap-4{gap:1rem}.freight-calculator-wrapper .sm\:p-5{padding:1.25rem}.freight-calculator-wrapper .sm\:inline-flex{display:inline-flex}.freight-calculator-wrapper .sm\:text-sm{font-size:.875rem;line-height:1.25rem}.freight-calculator-wrapper .sm\:text-\[10px\]{font-size:10px}.freight-calculator-wrapper .sm\:w-auto{width:auto}
}
@media (min-width:768px){
  .freight-calculator-wrapper .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.freight-calculator-wrapper .md\:p-9{padding:2.25rem}
}

/* v4.3 mini alignment hard-fix: lock label/value positions so theme form CSS cannot move number-field headers. */
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-field,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-field{
  position:relative !important;
  display:block !important;
  height:72px !important;
  min-height:72px !important;
  padding:0 26px !important;
  overflow:hidden !important;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-label,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-label{
  position:absolute !important;
  top:14px !important;
  left:26px !important;
  right:26px !important;
  width:auto !important;
  height:14px !important;
  min-height:14px !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  line-height:14px !important;
  text-align:left !important;
  transform:none !important;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-input,
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-select,
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-value,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-input,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-select,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-value{
  position:absolute !important;
  top:37px !important;
  left:26px !important;
  right:26px !important;
  width:calc(100% - 52px) !important;
  height:24px !important;
  min-height:24px !important;
  max-height:24px !important;
  margin:0 !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  line-height:24px !important;
  transform:none !important;
  text-align:left !important;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-select,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-select{
  padding-left:0 !important;
  padding-right:28px !important;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-value,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-value{
  display:flex !important;
  align-items:center !important;
}

/* v4.4: preserve mini mode field visibility after the hard alignment rules above. */
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-field.hidden,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-field.hidden{
  display:none !important;
}

/* v4.6.4 mini calculator spacing and alignment. */
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-input,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-input{
  padding-left:0 !important;
  padding-right:0 !important;
  text-align:left !important;
  -moz-appearance:textfield;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-input::-webkit-outer-spin-button,
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-input::-webkit-inner-spin-button,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-input::-webkit-outer-spin-button,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-input::-webkit-inner-spin-button{
  margin:0;
}
.freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-select,
.freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-select{
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}

@media (min-width:901px){
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-row,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-row{
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:stretch !important;
    width:100% !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-row > .fc-mini-field,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-row > .fc-mini-field{
    flex:1 1 0 !important;
    min-width:0 !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-row > .fc-mini-field:first-child,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-row > .fc-mini-field:first-child{
    flex:1.45 1 0 !important;
    min-width:190px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] [data-mini-container],
  .freight-calculator-wrapper [data-fc-kind="mini"] [data-mini-container]{
    flex:1.05 1 0 !important;
    min-width:145px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] [data-mini-container-qty],
  .freight-calculator-wrapper[data-fc-kind="mini"] [data-mini-partial-qty],
  .freight-calculator-wrapper [data-fc-kind="mini"] [data-mini-container-qty],
  .freight-calculator-wrapper [data-fc-kind="mini"] [data-mini-partial-qty]{
    flex:.68 1 0 !important;
    min-width:105px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] [data-mini-partial-cbm],
  .freight-calculator-wrapper[data-fc-kind="mini"] [data-mini-partial-wt],
  .freight-calculator-wrapper [data-fc-kind="mini"] [data-mini-partial-cbm],
  .freight-calculator-wrapper [data-fc-kind="mini"] [data-mini-partial-wt]{
    flex:.90 1 0 !important;
    min-width:130px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-row > .fc-mini-field:nth-last-child(2),
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-row > .fc-mini-field:nth-last-child(2){
    flex:1 1 0 !important;
    min-width:135px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-row > .fc-mini-cta,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-row > .fc-mini-cta{
    flex:1.08 1 0 !important;
    min-width:165px !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }
}

@media (min-width:901px) and (max-width:1050px){
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-field,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-field{
    padding-left:18px !important;
    padding-right:18px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-label,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-label{
    left:18px !important;
    right:18px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-input,
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-select,
  .freight-calculator-wrapper[data-fc-kind="mini"] .fc-mini-value,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-input,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-select,
  .freight-calculator-wrapper [data-fc-kind="mini"] .fc-mini-value{
    left:18px !important;
    right:18px !important;
    width:calc(100% - 36px) !important;
  }
}

/* v4.6.5 — mobile layout fixes for the full calculator. */
@media (max-width:639px){
  /* Give the form a little more usable width on phones. */
  .freight-calculator-wrapper[data-fc-kind="full"] [data-fc-root] > .bg-white.overflow-hidden > .p-6{
    padding:16px !important;
  }

  /* Progress indicator: dots above labels, no ellipsis/truncated Lithuanian/English text. */
  .freight-calculator-wrapper[data-fc-kind="full"] [data-fc-root] > .mb-6 + .bg-white > .flex{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr) 18px minmax(0,1fr) !important;
    align-items:start !important;
    gap:4px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] .fc-step-text > div:first-child{
    display:none !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] .fc-step-text{
    min-width:0 !important;
    width:100% !important;
    text-align:center !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] [data-step-dot] + .fc-step-text .fc-step-label,
  .freight-calculator-wrapper[data-fc-kind="full"] .fc-step-label{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    overflow:visible !important;
    text-overflow:clip !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    hyphens:none !important;
    font-size:10px !important;
    line-height:1.2 !important;
    text-align:center !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] .fc-step-dot{
    width:34px !important;
    height:34px !important;
    margin:0 auto 6px !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] [data-fc-root] > .mb-6 + .bg-white > .flex > .flex{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:0 !important;
    min-width:0 !important;
  }
  .freight-calculator-wrapper[data-fc-kind="full"] .fc-step-line{
    width:100% !important;
    min-width:0 !important;
    margin-top:16px !important;
  }

  /* Cargo tabs: never split words letter-by-letter. */
  .freight-calculator-wrapper[data-fc-kind="full"] [data-type].fc-tab{
    min-width:0 !important;
    min-height:58px !important;
    height:auto !important;
    padding:10px 8px !important;
    font-size:14px !important;
    line-height:1.25 !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    hyphens:none !important;
    text-align:center !important;
  }

  /* Step 2 actions: the desktop horizontal padding forced the long CTA onto 2 clipped lines. */
  .freight-calculator-wrapper[data-fc-kind="full"] [data-btn-back],
  .freight-calculator-wrapper[data-fc-kind="full"] [data-btn-email]{
    width:100% !important;
    min-width:0 !important;
    height:54px !important;
    min-height:54px !important;
    padding-left:10px !important;
    padding-right:10px !important;
    font-size:13px !important;
    line-height:1.15 !important;
    white-space:nowrap !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    hyphens:none !important;
  }
}

@media (max-width:359px){
  .freight-calculator-wrapper[data-fc-kind="full"] [data-btn-back],
  .freight-calculator-wrapper[data-fc-kind="full"] [data-btn-email]{
    font-size:12px !important;
    padding-left:6px !important;
    padding-right:6px !important;
  }
}
