.portal {
  padding-block: clamp(26px, 5vw, 62px);
}
.portal h1 {
  font-size: clamp(34px, 5vw, 60px);
  color: var(--ink);
  margin: 12px 0 24px;
}
.portal h2 {
  font-size: clamp(23px, 3vw, 34px);
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.choices > a {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 7px;
  text-decoration: none;
  background: white;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.choices strong {
  margin-top: auto;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.authpanel {
  max-width: 610px;
  margin: auto;
}
.outline {
  background: white;
  color: var(--green);
}
.portal form > button,
.portal .outline,
.portal .primary,
#quote {
  margin: 10px 0;
}
.gridsearch {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 12px;
  align-items: end;
}
.gridsearch button {
  margin: 0 !important;
}
.strip,
.summary {
  background: #e5efe6;
  border-left: 4px solid var(--green);
  padding: 14px 18px;
  margin-bottom: 16px;
  white-space: pre-line;
  line-height: 1.6;
}
.listrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.listrow p {
  margin: 3px 0;
}
.listrow input {
  max-width: 85px;
}
.listrow label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.portal #message {
  position: sticky;
  bottom: 12px;
  background: #183f32;
  color: white;
  padding: 12px 16px;
  z-index: 2;
  border-radius: 5px;
}
.portal #message:empty {
  display: none;
}
.portal table {
  width: 100%;
  border-collapse: collapse;
}
.portal th,
.portal td {
  text-align: left;
  padding: 6px;
}
.portal button:disabled {
  cursor: not-allowed;
}
.portal small {
  display: block;
}
.portal .panel {
  margin-top: 18px;
}
.portal details {
  padding: 10px 0;
}
.stafflist textarea {
  width: 100%;
}
.sectionhead .outline {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .choices,
  .gridsearch {
    grid-template-columns: 1fr;
  }
  .choices > a {
    padding: 18px;
  }
  .gridsearch {
    gap: 3px;
  }
  .listrow {
    grid-template-columns: 1fr;
  }
  .portal nav > a {
    display: block !important;
  }
}

.homeOffers { margin: 2rem 0 1rem; }
.homeOffers h2 { margin: 0 0 1.25rem; font-size: clamp(1.65rem, 4vw, 2.3rem); }
.offerGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.homeOffer { --brand: #00467e; display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #d6dfdf; border-top: .28rem solid var(--brand); border-radius: .3rem; background: white; }
.homeOffer.castrol { --brand: #006e46; }
.offerHeader, .offerLine { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.offerHeader { padding-bottom: .95rem; border-bottom: 1px solid #e2e6e6; }
.offerLogo { width: auto; height: 2.05rem; object-fit: contain; }
.offerType { color: #43504c; font-weight: 600; }
.offerTitle { margin: 1.05rem 0 0; color: var(--brand); font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.12; letter-spacing: -.025em; }
.offerPhotos { display: flex; justify-content: center; align-items: end; gap: 5%; height: 12.25rem; padding: .65rem 0; }
.offerPhoto { width: 43%; height: 100%; object-fit: contain; }
.offerPrices { margin: .55rem 0 1.2rem; }
.offerLine { padding: .65rem 0; align-items: baseline; border-top: 1px solid #dce2e1; }
.offerLine dt { font-size: 1.1rem; font-weight: 700; }
.offerLine dd { margin: 0; text-align: right; }
.offerLine small { display: block; margin-top: .2rem; color: #4b5551; font-size: .92rem; font-weight: 400; }
.offerLink, .allOffers { font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.offerLink { align-self: flex-start; margin-top: auto; color: var(--brand); }
.allOffers { display: inline-block; margin-top: 1.25rem; }
@media (max-width: 720px) {
  .offerGrid { grid-template-columns: minmax(0, 1fr); }
  .offerPhotos { height: 10.25rem; }
}
