.ofw-flow {
  position: relative;
  color: var(--ink, #17262a);
  padding-bottom: clamp(3.5rem, 8vw, 7.5rem);
}
.ofw-branch {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  scroll-margin-top: 10rem;
  pointer-events: none;
}
.ofw-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr);
  gap: clamp(1.5rem, 4.3vw, 4rem);
}
.ofw-layout h1 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.13; }
.ofw-layout h2 { margin: 0 0 .55rem; font-size: 1.45rem; line-height: 1.25; }
.ofw-plan-panel, .ofw-application {
  background: #fff;
  border-radius: .5rem;
  padding: clamp(1.35rem, 3.2vw, 2.5rem);
  box-shadow: 0 4px 40px rgb(18 50 34 / 7%);
  min-width: 0;
}
.ofw-plan-panel p, .ofw-sample-note { color: #556064; line-height: 1.6; margin: 0 0 1.5rem; }
.ofw-plan-panel .button, .ofw-cover-continue { display: flex; width: 100%; justify-content: center; text-align: center; }
.ofw-plan-panel .button + .button { margin-top: .65rem; }
.ofw-layout .ofw-tabs {
  display: flex;
  padding: .35rem;
  gap: .25rem;
  background: #f0f2f2;
  border-radius: .4rem;
  margin: 0 0 1.2rem;
}
.ofw-tabs a {
  flex: 1;
  text-align: center;
  padding: .75rem .4rem;
  color: #3c4b50;
  font-weight: 600;
  text-decoration: none;
  border-radius: .25rem;
}
.ofw-tabs a[aria-current="true"] { background: white; color: #00683b; box-shadow: 0 2px 4px rgb(34 52 43 / 7%); }
.ofw-radios { display: grid; margin-bottom: 1.25rem; }
.ofw-radios a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .65rem;
  color: #48565a;
  text-decoration: none;
}
.ofw-radios a::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #81938a;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}
.ofw-radios a[aria-current="true"]::before {
  border-color: var(--green, #008744);
  background: var(--green, #008744);
  box-shadow: inset 0 0 0 3px #fff;
}
.ofw-cover-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; text-align: left; }
.ofw-cover-table th, .ofw-cover-table td { padding: .9rem .8rem; border-bottom: 1px solid #dfe5e1; text-align: left; }
.ofw-cover-table thead th { background: #eff2f1; font-weight: 650; }
.ofw-cover-table tbody th { width: 58%; font-weight: 450; }
.ofw-cover-table tbody td { font-variant-numeric: tabular-nums; }
.ofw-cover-continue { margin-top: 1.6rem; }
.ofw-flow .ofw-layout .ofw-mode-land,
.ofw-flow #land:target ~ .ofw-layout .ofw-mode-sea { display: none; }
.ofw-flow #land:target ~ .ofw-layout .ofw-mode-land { display: inline; }
.ofw-flow #land:target ~ .ofw-layout .ofw-mode-land.button,
.ofw-flow #land:target ~ .ofw-layout .ofw-mode-land.ofw-tabs { display: flex; }
.ofw-flow #land:target ~ .ofw-layout .ofw-mode-land.ofw-radios { display: grid; }
.ofw-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ofw-application .ofw-sample-note { margin-top: -.55rem; font-size: .95rem; }
.ofw-fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.ofw-fieldset + .ofw-fieldset { margin-top: 2.6rem; }
.ofw-fieldset legend { width: 100%; border-bottom: 1px solid #dfe5e1; padding: 0 0 .6rem; margin-bottom: 1.15rem; font-size: 1.15rem; font-weight: 650; }
.ofw-fields, .ofw-trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ofw-trio { grid-template-columns: repeat(3,minmax(0,1fr)); }
.ofw-wide { grid-column: 1 / -1; }
.ofw-control { min-width: 0; }
.ofw-control label, .ofw-agency dt { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }
.ofw-control label span { font-weight: 400; color: #626e70; }
.ofw-control input, .ofw-control select {
  width: 100%;
  min-width: 0;
  min-height: 2.9rem;
  padding: .55rem .7rem;
  border: 1px solid #aebcb4;
  border-radius: .35rem;
  background-color: #fff;
  color: var(--ink,#17262a);
  font: inherit;
  box-sizing: border-box;
}
.ofw-control [readonly] { background-color: #f1f4f2; }
.ofw-control :is(input,select):focus-visible, .ofw-flow a:focus-visible, .ofw-declaration input:focus-visible {
  outline: 3px solid #00683b;
  outline-offset: 3px;
}
.ofw-agency { margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ofw-agency dt { color: #596665; margin-bottom: .15rem; }
.ofw-agency dd { margin: 0; overflow-wrap: anywhere; }
.ofw-declaration label { display: flex; align-items: start; gap: .75rem; color: #49575a; line-height: 1.6; font-size: .91rem; }
.ofw-declaration input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: .2rem 0 0; accent-color: var(--green,#008744); }
@media (max-width: 850px) {
  .ofw-layout { grid-template-columns: minmax(0, 1.65fr) minmax(12.5rem, 1fr); gap: 1.25rem; }
  .ofw-plan-panel, .ofw-application { padding: 1.25rem; }
}
@media (max-width: 700px) {
  .ofw-layout { display: flex; flex-direction: column; }
  .ofw-plan-panel { order: -1; }
  .ofw-plan-panel, .ofw-application, .ofw-coverage { width: 100%; box-sizing: border-box; }
  .ofw-cover-table th, .ofw-cover-table td { padding: .7rem .55rem; }
}
@media (max-width: 520px) {
  .ofw-fields, .ofw-trio, .ofw-agency { grid-template-columns: minmax(0,1fr); }
  .ofw-application { padding: 1.1rem; }
  .ofw-cover-table { font-size: .92rem; }
}
