/* Only the Oval collection loads this layer. Shared chrome and detail pages keep their own type. */
body.oval-collection-typography #main :is(h1,h2,h3,h4) {
  font-family: "Iowan Old Style", "Book Antiqua", "Palatino Linotype", serif !important;
  font-weight: 700;
}
body.oval-collection-typography #main h1 {
  font-size: 56px !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em !important;
}
body.oval-collection-typography #main h2 {
  font-size: 38px !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}
body.oval-collection-typography #main h3 {
  font-size: 24px !important;
  line-height: 1.25 !important;
  letter-spacing: -.018em !important;
}
body.oval-collection-typography #main h4 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.012em;
}
body.oval-collection-typography #main :is(p,li) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 75ch;
}
body.oval-collection-typography #main :is(figcaption,.note,.crumbs,.tag,.finish-note,[data-review-status],#oval-layout-status) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
}
body.oval-collection-typography #main .eyebrow {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}
body.oval-collection-typography #main .decision-table :is(th,td) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
body.oval-collection-typography #main .decision-table :is(th,td:first-child) { font-weight: 600; }
body.oval-collection-typography #main .decision-table caption { font-size: 17px; line-height: 1.5; }
body.oval-collection-typography #main details summary {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}
body.oval-collection-typography #main :is(button,.btn,.cabinet-application-copy .actions>a) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  white-space: normal;
}
body.oval-collection-typography #main label {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
}
body.oval-collection-typography #main :is(input,textarea,select) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
body.oval-collection-typography #main :is(input,textarea)::placeholder {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}
body.oval-collection-typography #main #briefForm .fields {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
body.oval-collection-typography #main #briefForm .fields>.wide { grid-column: 1/-1; }
body.oval-collection-typography #main #briefForm :is(input:not([type=hidden]),select) { min-height: 48px; }
body.oval-collection-typography #main #briefForm textarea { min-height: 132px; }
body.oval-collection-typography #main :is(.summary,#briefSummary,#briefFinishSummary) {
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
/* The main summary already includes the finish; keep its legacy duplicate out of the layout. */
body.oval-collection-typography #main #briefFinishSummary { display: none; }
/* Decision cards have one routing link each. Keep it light, reachable and aligned. */
body.oval-collection-typography #main #collection .tile>a {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 10px 6px;
  background: transparent;
  color: #253d36;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
}
body.oval-collection-typography #main #collection .tile>a:hover,
body.oval-collection-typography #main #collection .tile>a:focus-visible {
  color: #824b16;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
body.oval-collection-typography #main #collection .tile>a:focus-visible { outline: 3px solid #21758c; outline-offset: 4px; }
@media (max-width:760px) {
  body.oval-collection-typography #main h1 { font-size: 36px !important; }
  body.oval-collection-typography #main h2 { font-size: 28px !important; }
  body.oval-collection-typography #main h3 { font-size: 22px !important; }
  body.oval-collection-typography #main h4 { font-size: 20px; }
  body.oval-collection-typography #main :is(p,li) { font-size: 17px; }
  body.oval-collection-typography #main :is(.note,.finish-note,[data-review-status],#oval-layout-status) { font-size: 14.5px; }
  body.oval-collection-typography #main :is(.summary,#briefSummary,#briefFinishSummary) { font-size: 16px; }
  body.oval-collection-typography #main details summary { font-size: 17px; }
  body.oval-collection-typography #main .decision-table :is(th,td) { font-size: 15.5px; }
}
@media (max-width:560px) {
  body.oval-collection-typography #main #briefForm .fields { grid-template-columns: minmax(0,1fr); }
}
