#form_v4 {
  color-scheme: light dark;
  --red: #c1272d;
  --dred: #8e1b1f;
  --gold: #f2b01e;
  --green: #2e7d4f;
  --amber: #b7791f;
  --bg: #ffffff;
  --ink: #1a1a1a;
  --text: #333;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --soft: #f4f4f4;
  --pink: #fbf4f4;
  --ok: #eef6f1;
  --warn: #fbf3e4;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  #form_v4:not([data-theme=light]) {
    --bg: #111;
    --ink: #f5f5f5;
    --text: #d6d6d6;
    --muted: #8f8f8f;
    --line: #2c2c2c;
    --soft: #1b1b1b;
    --pink: #2a1b1c;
    --ok: #16221b;
    --warn: #2a2113;
  }
}
#form_v4[data-theme=dark] {
  --bg: #111;
  --ink: #f5f5f5;
  --text: #d6d6d6;
  --muted: #8f8f8f;
  --line: #2c2c2c;
  --soft: #1b1b1b;
  --pink: #2a1b1c;
  --ok: #16221b;
  --warn: #2a2113;
}
#form_v4 {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  height: 100%;
}
#form_v4 * {
  box-sizing: border-box;
}
#form_v4 {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
#form_v4 button,
#form_v4 input,
#form_v4 select,
#form_v4 textarea {
  font: inherit;
  color: inherit;
}
#form_v4 :focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #form_v4 * {
    transition: none !important;
  }
}
#form_v4 .micro {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
#form_v4 .micro.red {
  color: var(--red);
  font-weight: 600;
}










#form_v4 main {
  padding: 44px 40px 96px;
  max-width: 1180px;
  margin: 0 auto;
}
#form_v4 .layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
#form_v4 .hero {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
#form_v4 .hero h1 {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 300;
  font-size: 42px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
#form_v4 .hero h1 b {
  font-weight: 700;
}
#form_v4 .hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 60ch;
}
#form_v4 .gold {
  width: 44px;
  height: 3px;
  background: var(--gold);
  margin: 0 0 16px;
}
#form_v4 .steps {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
#form_v4 .step {
  flex: 1;
  padding: 14px 18px 14px 0;
  margin-right: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
#form_v4 .step:last-child {
  border-right: 0;
  margin-right: 0;
}
#form_v4 .step .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}
#form_v4 .step.on {
  color: var(--ink);
}
#form_v4 .step.on .n {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
#form_v4 .step.done .n {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
#form_v4 .step .t {
  font-size: 13px;
}
#form_v4 .step .t small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
#form_v4 .sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
#form_v4 .sec h2 {
  margin: 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 300;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
#form_v4 .sec h2 b {
  font-weight: 700;
}
#form_v4 .sec h2 .num {
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-right: 14px;
  vertical-align: 6px;
}
#form_v4 .sec p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 46ch;
  text-align: right;
}
#form_v4 .page[hidden] {
  display: none;
}
#form_v4 .hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
#form_v4 .q {
  margin-top: 28px;
}
#form_v4 .q:first-child {
  margin-top: 0;
}
#form_v4 .q[hidden] {
  display: none;
}
#form_v4 .q > label {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
#form_v4 .q > label .req {
  color: var(--red);
  margin-left: 2px;
}
#form_v4 .q > label .opt {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-left: 6px;
}
#form_v4 .q .why {
  font-size: 11px;
  color: var(--muted);
  margin: -4px 0 10px;
}
#form_v4 .q .err {
  display: none;
  font-size: 11px;
  color: var(--red);
  margin-top: 8px;
}
#form_v4 .q.bad .err {
  display: block;
}
#form_v4 .q.bad > .pills,
#form_v4 .q.bad .tiles,
#form_v4 .q.bad .rows,
#form_v4 .q.bad > .grid {
  outline: 1px solid var(--red);
  outline-offset: 6px;
}
#form_v4 .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 36px;
}
#form_v4 .grid .full {
  grid-column: 1/-1;
}
#form_v4 .f label {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
#form_v4 .f label .req {
  color: var(--red);
  margin-left: 2px;
}
#form_v4 .f label .opt {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-left: 6px;
}
#form_v4 .f input,
#form_v4 .f select,
#form_v4 .f textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--ink);
  font-size: 15px;
  border-radius: 0;
  transition: border-color 0.15s;
}
#form_v4 .f select,
#form_v4 .row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 22px;
  cursor: pointer;
}
#form_v4 .f input:focus,
#form_v4 .f select:focus,
#form_v4 .f textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
#form_v4 .f input::placeholder,
#form_v4 .f textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
#form_v4 .f textarea {
  resize: vertical;
  min-height: 60px;
}
#form_v4 .f .hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
#form_v4 .f .err {
  display: none;
  font-size: 11px;
  color: var(--red);
  margin-top: 6px;
}
#form_v4 .f.bad input,
#form_v4 .f.bad select,
#form_v4 .f.bad textarea {
  border-bottom-color: var(--red);
}
#form_v4 .f.bad .err {
  display: block;
}
#form_v4 .inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
#form_v4 .inline .f {
  flex: 1;
}
#form_v4 .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#form_v4 .pill {
  border: 1px solid var(--line);
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  transition: border-color 0.15s, color 0.15s;
  text-align: left;
}
#form_v4 .pill:hover {
  border-color: var(--ink);
}
#form_v4 .pill.on {
  border-color: var(--red);
  color: var(--red);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--red);
}
#form_v4 .pill small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}
#form_v4 .pill.on small {
  color: var(--red);
  opacity: 0.8;
}
#form_v4 .pills.sm .pill {
  padding: 7px 12px;
  font-size: 12px;
}
#form_v4 .pill[hidden] {
  display: none;
}
#form_v4 .q > label.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  margin: 12px 0 0;
}
#form_v4 .q > label.chk + label.chk {
  margin-top: 10px;
}
#form_v4 #lac-quote-cargoBlock.linked {
  border-left: 2px solid var(--red);
  padding-left: 20px;
  margin-top: 22px;
}
#form_v4 .cfor {
  background: var(--pink);
  padding: 12px 14px;
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--text);
}
#form_v4 .cfor[hidden] {
  display: none;
}
#form_v4 .cfor b {
  display: block;
  color: var(--red);
  font-size: 13px;
  margin-bottom: 2px;
}
#form_v4 .tmp {
  display: flex;
  gap: 6px;
}
#form_v4 .tmp select {
  width: 58px;
  flex: 0 0 auto;
}
#form_v4 .xerr {
  font-size: 11px;
  color: var(--red);
  margin-top: 8px;
}
#form_v4 .xerr[hidden] {
  display: none;
}
#form_v4 .addmore {
  margin-top: 16px;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
}
#form_v4 .row.x6 {
  grid-template-columns: 1.2fr 90px 60px 100px 1.3fr 28px;
}
#form_v4 .row select:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 960px) {
  #form_v4 .row.x6 {
    grid-template-columns: 1fr 64px 44px 70px 1fr 24px;
  }
  #form_v4 .row.x6 .x {
    display: block;
  }
}
#form_v4 .sub {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 2px solid var(--red);
}
#form_v4 .sub[hidden] {
  display: none;
}
#form_v4 .tipbtn {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  vertical-align: -2px;
  padding: 0;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
#form_v4 .tipbtn:hover {
  border-color: var(--red);
  color: var(--red);
}
#form_v4 .tip {
  display: none;
  background: var(--soft);
  border-left: 3px solid var(--red);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.55;
}
#form_v4 .tip.on {
  display: block;
}
#form_v4 .chk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  margin-top: 14px;
}
#form_v4 .chk input {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
  margin: 0;
}
#form_v4 .tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
#form_v4 .tile {
  border: 1px solid var(--line);
  background: transparent;
  padding: 18px 12px 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s;
}
#form_v4 .tile:hover {
  border-color: var(--ink);
}
#form_v4 .tile.on {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}
#form_v4 .tile svg {
  width: 26px;
  height: 26px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  margin: 0 auto 8px;
}
#form_v4 .tile.on svg {
  stroke: var(--red);
}
#form_v4 .tile b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
#form_v4 .tile.on b {
  color: var(--red);
}
#form_v4 .tile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
#form_v4 .types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
#form_v4 .type {
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
}
#form_v4 .type:hover {
  border-color: var(--ink);
}
#form_v4 .type.on {
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}
#form_v4 .type b {
  display: block;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
#form_v4 .type span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
#form_v4 .type .chkm {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
#form_v4 .type.on .chkm {
  background: var(--red);
  border-color: var(--red);
}
#form_v4 .type.on .chkm::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 3.5px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#form_v4 .addr {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}
#form_v4 .addr:first-child {
  margin-top: 0;
}
#form_v4 .addr .lb {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 12px;
}
#form_v4 .addr .f {
  margin: 0;
}
#form_v4 .addr .scope {
  display: flex;
  gap: 6px;
  padding-bottom: 6px;
}
#form_v4 .addr .scope .pill {
  padding: 7px 10px;
  font-size: 11px;
}
#form_v4 .tabs {
  display: flex;
  border: 1px solid var(--line);
  margin: 0 0 18px;
}
#form_v4 .tabs button {
  flex: 1;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}
#form_v4 .tabs button:last-child {
  border-right: 0;
}
#form_v4 .tabs button[hidden] {
  display: none;
}
#form_v4 .tabs button.on {
  background: var(--red);
  color: #fff;
  font-weight: 600;
}
#form_v4 .units {
  display: inline-flex;
  border: 1px solid var(--line);
  margin-left: auto;
}
#form_v4 .units button {
  padding: 6px 12px;
  background: transparent;
  border: 0;
  font-size: 11px;
  cursor: pointer;
  color: var(--muted);
}
#form_v4 .units button.on {
  background: var(--ink);
  color: var(--bg);
}
#form_v4 .ctop {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
#form_v4 .method-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
#form_v4 .method-note b {
  color: var(--ink);
  font-weight: 600;
}
#form_v4 .method-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}
#form_v4 .method-note.has {
  color: var(--green);
}
#form_v4 .method-note.has .dot {
  background: var(--green);
}
#form_v4 .mode-pane[hidden] {
  display: none;
}
#form_v4 .items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
#form_v4 .item {
  border: 1px solid var(--line);
  background: transparent;
  padding: 16px 10px 12px;
  cursor: pointer;
  text-align: center;
}
#form_v4 .item:hover {
  border-color: var(--ink);
}
#form_v4 .item svg {
  width: 26px;
  height: 26px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.4;
  display: block;
  margin: 0 auto 8px;
}
#form_v4 .item b {
  display: block;
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}
#form_v4 .item small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}
#form_v4 .rows {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
#form_v4 .rows[hidden] {
  display: none;
}
#form_v4 .row {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
#form_v4 .row.c7 {
  grid-template-columns: 1.4fr 60px 70px 70px 70px 80px 28px;
}
#form_v4 .row.c8 {
  grid-template-columns: 1.4fr 60px 70px 70px 70px 80px 90px 28px;
}
#form_v4 .row.v7 {
  grid-template-columns: 1.1fr 1.5fr 64px 64px 64px 76px 64px 28px;
}
#form_v4 .row.hdr {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 8px 0;
}
#form_v4 .row input,
#form_v4 .row select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink);
  border-radius: 0;
}
#form_v4 .row input:focus,
#form_v4 .row select:focus {
  outline: none;
  border-bottom-color: var(--red);
}
#form_v4 .row .st {
  border: 1px solid var(--line);
  background: transparent;
  padding: 5px 6px;
  font-size: 10px;
  cursor: pointer;
  color: var(--muted);
}
#form_v4 .row .st.on {
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
#form_v4 .row .x {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}
#form_v4 .row .x:hover {
  color: var(--red);
}
#form_v4 .row .runs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
#form_v4 .row .runs input {
  width: 14px;
  height: 14px;
  accent-color: var(--green);
  margin: 0;
  padding: 0;
  border: 0;
}
#form_v4 .empty {
  border: 1px dashed var(--line);
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}
#form_v4 .paste textarea {
  min-height: 120px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
}
#form_v4 .flag {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  font-size: 12px;
  margin-top: 14px;
  border-left: 3px solid var(--amber);
  background: var(--warn);
  color: var(--text);
}
#form_v4 .flag[hidden] {
  display: none;
}
#form_v4 .flag i {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#form_v4 .note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--soft);
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  font-size: 13px;
  color: var(--text);
}
#form_v4 .note[hidden] {
  display: none;
}
#form_v4 .note i {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#form_v4 .up {
  border: 1px dashed var(--line);
  padding: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
#form_v4 .up input {
  display: none;
}
#form_v4 .up b {
  color: var(--ink);
  font-weight: 600;
}
#form_v4 .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
#form_v4 .actions .lft {
  display: flex;
  gap: 12px;
  align-items: center;
}
#form_v4 .btn {
  padding: 14px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
#form_v4 .btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
#form_v4 .btn.ghost {
  background: transparent;
  color: var(--ink);
}
#form_v4 .btn.ghost:hover {
  background: var(--soft);
  color: var(--ink);
  border-color: var(--ink);
}
#form_v4 .btn.red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
#form_v4 .btn.red:hover {
  background: var(--dred);
  border-color: var(--dred);
}
#form_v4 .saved {
  font-size: 11px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#form_v4 .saved::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
#form_v4 .rail {
  position: sticky;
  top: calc(104px + env(safe-area-inset-top, 0px));
}
#form_v4 .card {
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
}
#form_v4 .card + .card {
  margin-top: 16px;
}
#form_v4 .card[hidden] {
  display: none;
}
#form_v4 .card h3 {
  margin: 0 0 4px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
#form_v4 .card .sub2 {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
#form_v4 .kv {
  list-style: none;
  padding: 0;
  margin: 0;
}
#form_v4 .kv li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
#form_v4 .kv li:last-child {
  border-bottom: 0;
}
#form_v4 .kv li[hidden] {
  display: none;
}
#form_v4 .kv li b {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#form_v4 .chg {
  margin-top: 14px;
  padding: 14px;
  background: var(--soft);
}
#form_v4 .chg[hidden] {
  display: none;
}
#form_v4 .chg .micro {
  display: block;
  margin-bottom: 4px;
}
#form_v4 .chg b {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
}
#form_v4 .chg b span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
}
#form_v4 .card.ok {
  background: var(--ok);
  border-color: transparent;
}
#form_v4 .card.ok h3 {
  color: var(--green);
}
#form_v4 .card.ok .est {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--green);
  margin: 6px 0 4px;
}














#form_v4 .review {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 26px;
}
#form_v4 .review div > b {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
#form_v4 .review div {
  color: var(--ink);
  font-size: 14px;
  word-break: break-word;
  white-space: pre-line;
}
#form_v4 .page > .done {
  text-align: center;
  padding: 40px 0 20px;
}
#form_v4 .page > .done .ok2 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  margin: 0 auto 24px;
  position: relative;
}
#form_v4 .page > .done .ok2::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  width: 14px;
  height: 26px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
#form_v4 .page > .done h2 {
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 300;
  font-size: 34px;
  margin: 0;
  color: var(--ink);
}
#form_v4 .page > .done h2 b {
  font-weight: 700;
}
#form_v4 .page > .done p {
  color: var(--muted);
  max-width: 52ch;
  margin: 14px auto 0;
}
@media (max-width: 960px) {
  
  #form_v4 main {
    padding-left: 20px;
    padding-right: 20px;
  }
  #form_v4 .layout {
    grid-template-columns: 1fr;
  }
  #form_v4 .rail {
    position: static;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  #form_v4 .hero h1 {
    font-size: 32px;
  }
  #form_v4 .steps {
    flex-direction: column;
  }
  #form_v4 .step {
    border-right: 0;
    margin-right: 0;
    border-bottom: 1px solid var(--line);
  }
  #form_v4 .step:last-child {
    border-bottom: 0;
  }
  #form_v4 .addr {
    grid-template-columns: 1fr;
  }
  #form_v4 .row.c7,
  #form_v4 .row.c8 {
    grid-template-columns: 1fr 50px 60px 60px 60px 70px;
  }
  #form_v4 .row.v7 {
    grid-template-columns: 1fr 1fr 56px 56px 56px 64px 50px;
  }
  #form_v4 .row .st,
  #form_v4 .row .x {
    display: none;
  }
}
#form_v4 {
  isolation: isolate;
  min-width: 0;
  height: auto;
  text-align: left;
  color-scheme: light;
}
#form_v4 :where(h1, h2, h3, p, ul, li, figure) {
  margin: 0;
  padding: 0;
}
#form_v4 :where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
  text-transform: none;
  letter-spacing: normal;
}
#form_v4 :where(button) {
  border-radius: 0;
  min-width: 0;
  box-shadow: none;
}
#form_v4 :where(input, select, textarea) {
  min-width: 0;
  max-width: 100%;
}
#form_v4 :where(img) {
  max-width: 100%;
}
#form_v4 :where(svg) {
  max-width: none;
}
#form_v4 *,
#form_v4 *::before,
#form_v4 *::after {
  box-sizing: border-box;
}
#form_v4 [hidden],
#form_v4 [x-cloak] {
  display: none !important;
}
#form_v4 .review div > span {
  white-space: pre-line;
}
#form_v4 .layout > * {
  min-width: 0;
}
#form_v4 .row .tmp select {
  width: 58px;
  flex: 0 0 58px;
}
#form_v4 .row .tmp input {
  flex: 1 1 0;
  min-width: 0;
}
#form_v4 [data-lac-style=lac-style-1] {
  margin-top: 10px;
}
#form_v4 [data-lac-style=lac-style-2] {
  margin-top: 28px;
}
#form_v4 [data-lac-style=lac-style-3] {
  margin: 0;
}
#form_v4 [data-lac-style=lac-style-4] {
  flex: 1;
  margin: 0;
}
#form_v4 [data-lac-style=lac-style-5] {
  padding: 10px 18px;
}
#form_v4 [data-lac-style=lac-style-6] {
  margin-top: 14px;
}
#form_v4 [data-lac-style=lac-style-7] {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
#form_v4 [data-lac-style=lac-style-8] {
  margin-left: auto;
}
#form_v4 [data-lac-style=lac-style-9] {
  justify-content: center;
  border: 0;
  margin-top: 34px;
}
#form_v4 [data-lac-style=lac-style-10] {
  color: var(--green);
}
#form_v4 [data-lac-style=lac-style-11] {
  margin-top: 8px;
}
#form_v4 .rows {
  overflow-x: auto;
}
@media (max-width: 960px) {
  #form_v4 .row.c7 {
    grid-template-columns: minmax(120px, 1.4fr) 60px 70px 70px 70px 80px 28px;
    min-width: 610px;
  }
  #form_v4 .row.c8 {
    grid-template-columns: minmax(120px, 1.4fr) 60px 70px 70px 70px 80px 90px 28px;
    min-width: 710px;
  }
  #form_v4 .row.v7 {
    grid-template-columns: 120px 160px 64px 64px 64px 76px 64px 28px;
    min-width: 710px;
  }
  #form_v4 .row.x6 {
    grid-template-columns: 130px 90px 60px 100px 140px 28px;
    min-width: 620px;
  }
  #form_v4 .row .st,
  #form_v4 .row .x {
    display: block;
  }
  
}

/* Route autocomplete integration. Uses the existing LAC palette and form typography. */
#form_v4 .route-endpoint {
    margin-top: 18px;
    min-width: 0;
}
#form_v4 .route-row {
    grid-template-columns: 50px minmax(0, 1fr) auto;
    align-items: center;
}
#form_v4 .route-row .lb {
    padding-bottom: 0;
}
#form_v4 .route-combobox {
    position: relative;
    min-width: 0;
}
#form_v4 .route-combobox input:disabled {
    opacity: 0.6;
    cursor: wait;
}
#form_v4 .route-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
    max-height: 330px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
#form_v4 .route-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#form_v4 .route-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}
#form_v4 .route-dropdown li:last-child {
    border-bottom: 0;
}
#form_v4 .route-dropdown li:hover,
#form_v4 .route-dropdown li.is-active {
    background: var(--pink);
}
#form_v4 .route-icon {
    color: var(--red);
    flex: 0 0 18px;
    display: inline-flex;
}
#form_v4 .route-icon svg {
    width: 18px;
    height: 18px;
}
#form_v4 .route-option-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
#form_v4 .route-option-text small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}
#form_v4 .route-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--red);
    border: 1px solid var(--line);
    background: var(--pink);
}
#form_v4 .route-status {
    margin: 0;
    padding: 14px;
    font-size: 12px;
    color: var(--muted);
}
#form_v4 .route-door {
    margin: 16px 0 22px 62px;
    padding: 16px;
    background: #fbfbfb;
    border-left: 2px solid var(--gold);
    min-width: 0;
}
#form_v4 .route-location-type {
    padding: 0;
    margin: 18px 0 0;
    border: 0;
    min-width: 0;
}
#form_v4 .route-location-type legend {
    padding: 0;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
#form_v4 .route-location-type > label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 9px 0;
    font-size: 12px;
    color: var(--text);
    cursor: pointer;
}
#form_v4 .route-location-type input[type="radio"] {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin: 2px 0 0;
    accent-color: var(--red);
}
#form_v4 .route-help {
    position: relative;
    display: inline-block;
    text-transform: none;
    letter-spacing: 0;
}
#form_v4 .route-tooltip {
    position: absolute;
    top: 28px;
    left: -110px;
    width: 230px;
    max-width: 65vw;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgb(0 0 0 / 12%);
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    z-index: 50;
}
#form_v4 .route-error {
    color: var(--red);
    font-size: 12px;
    margin-top: 12px;
}
@media (max-width: 600px) {
    #form_v4 .route-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
    }
    #form_v4 .route-row .lb {
        grid-column: 1 / -1;
    }
    #form_v4 .route-door {
        margin-left: 0;
        padding: 12px;
    }
    #form_v4 .route-dropdown li {
        gap: 7px;
        padding: 10px;
    }
}


/* Keep the route note separate from the fields above it. */
#form_v4 #lac-quote-routeNote {
    padding-top: 12px;
}

/* Transport icons and route service colors. Labels remain visible alongside color cues. */
#form_v4 .transport-icon {
    display: block;
}
#form_v4 .route-row {
    grid-template-columns: 118px minmax(0, 1fr) auto;
}
#form_v4 .route-row .lb {
    white-space: nowrap;
}
#form_v4 .route-label-detail {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 400;
}
#form_v4 .route-door {
    margin-left: 130px;
}
#form_v4 [data-location-type="door"] {
    --route-type-color: #26734d;
    --route-type-bg: #edf7f0;
    --route-type-border: #b7ddc6;
}
#form_v4 [data-location-type="port"] {
    --route-type-color: #1d5f9c;
    --route-type-bg: #edf4fc;
    --route-type-border: #bed5ee;
}
#form_v4 [data-location-type="cfs"] {
    --route-type-color: #946000;
    --route-type-bg: #fff6df;
    --route-type-border: #e9d39c;
}
#form_v4 [data-location-type="airport"] {
    --route-type-color: #7350a3;
    --route-type-bg: #f4effb;
    --route-type-border: #d8c7ef;
}
#form_v4 .route-dropdown [data-location-type] .route-icon {
    color: var(--route-type-color);
}
#form_v4 [data-location-type] .route-badge,
#form_v4 .route-badge[data-location-type] {
    color: var(--route-type-color);
    background: var(--route-type-bg);
    border-color: var(--route-type-border);
}
@media (max-width: 600px) {
    #form_v4 .route-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    #form_v4 .route-door {
        margin-left: 0;
    }
}

/* Selected route service icon sits inside the text field and follows its type color. */
#form_v4 .route-input {
    position: relative;
}
#form_v4 .route-input.has-location-icon input {
    padding-left: 30px;
}
#form_v4 .route-input-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: var(--route-type-color);
    pointer-events: none;
}
#form_v4 .route-input-icon svg {
    width: 18px;
    height: 18px;
}

/* Individual RORO flow. Uses the same form palette, typography, fields and buttons. */
#form_v4 .individual-information {
    margin: 24px 0 32px;
    padding: 20px 24px;
    border-left: 3px solid var(--gold);
    background: var(--soft);
    color: var(--text);
}
#form_v4 .individual-information h3,
#form_v4 .individual-modal h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--ink);
}
#form_v4 .individual-information h3 svg,
#form_v4 .individual-modal h3 svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #1d5f9c;
    flex-shrink: 0;
}
#form_v4 .individual-information p,
#form_v4 .individual-modal p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.7;
}
#form_v4 .individual-information a,
#form_v4 .individual-modal a {
    color: #1d5f9c;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#form_v4 .individual-steps .step {
    appearance: none;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    text-align: left;
    cursor: pointer;
}
#form_v4 .individual-steps .step:last-child {
    border-right: 0;
}
#form_v4 .individual-form-fields {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}
#form_v4 .individual-page[hidden] {
    display: none !important;
}
#form_v4 .individual-mode {
    max-width: 225px;
}
#form_v4 .individual-mode .tile {
    cursor: default;
}
#form_v4 .individual-vehicle {
    padding: 20px;
    border: 1px solid var(--line);
    margin-bottom: 16px;
    min-width: 0;
}
#form_v4 .individual-vehicle-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
#form_v4 .individual-vehicle-heading h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}
#form_v4 .individual-remove {
    border: 0;
    padding: 4px 0;
    color: var(--red);
    background: transparent;
    font-size: 12px;
    cursor: pointer;
}
#form_v4 .individual-electric {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 20px;
    font-size: 12px;
}
#form_v4 .individual-electric label,
#form_v4 .f label.individual-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
#form_v4 .f label.individual-checkbox {
    margin: 12px 0 0;
}
#form_v4 .individual-electric input,
#form_v4 .f label.individual-checkbox input {
    appearance: auto;
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    padding: 0;
    flex: 0 0 15px;
    accent-color: var(--red);
}
#form_v4 .individual-measurements {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
}
#form_v4 .individual-measurement-group {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
#form_v4 .individual-measurement-group legend {
    padding: 0;
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}
#form_v4 .individual-measurement-group.bad {
    border-bottom: 1px solid var(--red);
}
#form_v4 .individual-dimension-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 58px;
    gap: 10px;
}
#form_v4 .individual-weight-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
}
#form_v4 .individual-value-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 80px;
    gap: 10px;
}
#form_v4 .individual-volume {
    margin-top: 12px;
    color: var(--muted);
    font-size: 11px;
}
#form_v4 .individual-cargo-options {
    margin-top: 24px;
}
#form_v4 .individual-error,
#form_v4 .individual-server-errors {
    margin: 10px 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--red);
}
#form_v4 .individual-submitting {
    font-size: 12px;
    color: var(--muted);
}
#form_v4 .individual-review {
    margin-top: 24px;
}
#form_v4 .individual-success {
    padding: 32px 0;
    color: var(--text);
}
#form_v4 .individual-success h2 {
    color: var(--ink);
}
#form_v4 .individual-modal {
    max-width: 560px;
    width: calc(100% - 32px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 26px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 16px 60px rgb(0 0 0 / 18%);
}
#form_v4 .individual-modal::backdrop {
    background: rgb(0 0 0 / 45%);
}
#form_v4 .individual-modal .actions {
    margin-top: 24px;
}
#form_v4 .individual-steps .step:disabled,
#form_v4 .types .type:disabled {
    cursor: default;
}
@media (max-width: 600px) {
    #form_v4 .individual-information {
        padding: 16px;
    }
    #form_v4 .individual-vehicle {
        padding: 14px;
    }
    #form_v4 .individual-measurements {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    #form_v4 .individual-modal {
        padding: 20px;
    }
}

/* One layout for all customer types: the rail begins beside the hero. */
#form_v4 .quote-primary {
    min-width: 0;
}
#form_v4 .quote-route-basics {
    margin: 0;
}
#form_v4 .quote-route-basics .individual-information {
    margin: 24px 0;
}
#form_v4 .quote-route-basics .tile:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}
#form_v4 .quote-route-basics .tile.on {
    opacity: 1;
}
#form_v4 .individual-modal[open] {
    position: fixed;
    inset: 0;
    margin: auto !important;
    width: min(560px, calc(100vw - 32px));
    height: fit-content;
    max-height: calc(100dvh - 48px);
    box-sizing: border-box;
    transform: none;
    overflow: auto;
}
#form_v4 #individual-shipping-date:not(:disabled) {
    cursor: pointer;
}
.daterangepicker.lac-individual-datepicker {
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    color: #333;
    z-index: 100010;
}
.daterangepicker.lac-individual-datepicker td.active,
.daterangepicker.lac-individual-datepicker td.active:hover {
    background-color: #c1272d;
    color: white;
}


#form_v4 .score-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
#form_v4 .score-toggle input { width: 16px; height: 16px; accent-color: var(--red); }
#form_v4 .card.live-score { background: var(--pink); margin-top: 16px; }
#form_v4 .live-score h3 { color: var(--red); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
#form_v4 .score-profile, #form_v4 .score-pending, #form_v4 .score-note { color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
#form_v4 .score-result { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 16px 0 10px; }
#form_v4 .score-result strong { font-size: 20px; color: var(--ink); }
#form_v4 .score-band { border-radius: 20px; background: #786c67; color: #fff; padding: 4px 12px; font-size: 12px; font-weight: 700; }
#form_v4 .score-band[data-band=hot] { background: #b52228; }
#form_v4 .score-band[data-band=warm] { background: #a86310; }
#form_v4 .score-band[data-band=cool] { background: #386986; }
#form_v4 .score-breakdown { margin: 16px 0; }
#form_v4 .score-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 24px; align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
#form_v4 .score-row dt { color: var(--ink); }
#form_v4 .score-row dd { margin: 0; overflow-wrap: anywhere; }
#form_v4 .score-detail { color: var(--muted); text-align: right; }
#form_v4 .score-points { color: var(--red); font-weight: 700; text-align: right; }
