.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .8fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #cbd8e6;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, #eef5fc 100%);
  box-shadow: 0 14px 38px rgba(21, 40, 70, .08);
}

.support-section h2,
.support-thanks h2 {
  margin: .2rem 0 .55rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.support-intro {
  margin: 0 0 .6rem;
  color: #445b73;
}

.support-disclaimer {
  margin: 0;
  max-width: 790px;
  color: #263d55;
}

.support-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: .7rem;
}

.support-amount {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border: 1px solid #1e548b;
  border-radius: .65rem;
  background: #fff;
  color: #174876;
  font-weight: 850;
  text-decoration: none;
}

.support-amount:hover,
.support-amount:focus-visible {
  background: #174876;
  color: #fff;
}

.support-amount:focus-visible,
.support-thanks:focus-visible {
  outline: 3px solid rgba(40, 95, 157, .35);
  outline-offset: 3px;
}

.support-thanks {
  scroll-margin-top: 5rem;
  margin: 1.25rem 0 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid #9fc9b1;
  border-left: 6px solid #2f7c52;
  border-radius: .85rem;
  background: #f1fbf5;
  color: #183c2a;
  box-shadow: 0 12px 30px rgba(27, 83, 54, .08);
}

.support-thanks[hidden] {
  display: none;
}

.support-thanks p {
  margin: .35rem 0 0;
  max-width: 820px;
}

.dora-rules-search {
  scroll-margin-top: 4rem;
}

.dora-rules-heading {
  margin-bottom: 1rem;
}

.dora-rules-search.service-section > .dora-rules-heading h2 {
  max-width: none;
  margin: .35rem 0 .65rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.dora-rules-source-note {
  max-width: 900px;
  margin: .8rem 0 0;
  color: #52677f;
  font-size: .9rem;
}

.dora-rules-panel {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #b9cade;
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff 0%, #f3f8fe 100%);
  box-shadow: 0 14px 38px rgba(21, 40, 70, .08);
}

.dora-rules-question-field {
  display: grid;
  min-width: 0;
  gap: .4rem;
  color: #344b66;
  font-weight: 800;
}

.dora-rules-question-field textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: .85rem;
  border: 1px solid #8fa6bf;
  border-radius: .65rem;
  background: #fff;
  color: #172033;
  font: inherit;
  line-height: 1.55;
}

.dora-rules-question-field textarea:focus {
  border-color: #285f9d;
  outline: 3px solid rgba(40, 95, 157, .18);
}

.dora-rules-scope-field {
  display: grid;
  max-width: 720px;
  gap: .4rem;
  margin-top: .9rem;
  color: #344b66;
  font-weight: 800;
}

.dora-rules-scope-field select {
  min-height: 48px;
  padding: .65rem .75rem;
  border: 1px solid #8fa6bf;
  border-radius: .65rem;
  background: #fff;
  color: #172033;
  font: inherit;
}

.dora-rules-scope-field select:focus {
  border-color: #285f9d;
  outline: 3px solid rgba(40, 95, 157, .18);
}

.dora-rules-scope-help {
  max-width: 820px;
  margin: .55rem 0 .85rem;
  color: #52677f;
  font-size: .86rem;
}

.dora-rules-submit {
  justify-self: start;
  min-height: 48px;
}

.dora-rules-examples {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  color: #607086;
  font-size: .84rem;
}

.dora-rules-examples > span {
  color: #405873;
  font-weight: 800;
}

.dora-rules-examples button {
  padding: .38rem .7rem;
  border: 1px solid #9fb4cb;
  border-radius: 999px;
  background: #fff;
  color: #174876;
  font-size: .8rem;
  font-weight: 750;
}

.dora-rules-examples button:hover,
.dora-rules-examples button:focus-visible {
  border-color: #285f9d;
  background: #eaf2fb;
}

.dora-rules-privacy {
  margin: 1rem 0 0;
  padding-top: .85rem;
  border-top: 1px solid #d5deea;
  color: #405873;
}

.dora-rules-error {
  margin: 1rem 0 0;
  color: #a42323;
  font-weight: 800;
}

.dora-rules-results {
  scroll-margin-top: 4rem;
  margin-top: 1rem;
}

.dora-rules-answer-card {
  padding: 1.2rem 1.35rem;
  border-radius: .9rem;
  background: #10233f;
  color: #fff;
  box-shadow: 0 14px 38px rgba(21, 40, 70, .08);
}

.dora-rules-answer-card h3 {
  margin: .25rem 0 .5rem;
  font-size: 1.35rem;
}

.dora-rules-answer-card p {
  margin: .45rem 0;
  color: #e1ebf7;
}

.dora-rules-answer-card .eyebrow {
  color: #a8cdf7;
}

.dora-rules-notice {
  padding-left: .75rem;
  border-left: 3px solid #82b8ed;
}

.dora-rules-answer-card .dora-rules-muted {
  color: #c3d4e7;
  font-size: .9rem;
}

.dora-rules-match-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.dora-rule-result-card {
  padding: 1.2rem;
  border: 1px solid #d5deea;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(21, 40, 70, .06);
}

.dora-rule-result-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.dora-rule-result-head h3 {
  margin: .25rem 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.dora-rule-authority {
  color: #285f9d;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dora-rule-result-tags {
  display: flex;
  justify-content: flex-end;
  gap: .35rem;
  flex-wrap: wrap;
}

.dora-rule-tag {
  padding: .25rem .45rem;
  border: 1px solid #c1d1e2;
  border-radius: 999px;
  background: #edf4fb;
  color: #2b4e73;
  font-size: .72rem;
  font-weight: 800;
}

.dora-rule-tag-mandatory {
  border-color: #e2b36c;
  background: #fff3df;
  color: #744713;
}

.dora-rule-tag-status {
  border-color: #7899bb;
  background: #e3eef9;
  color: #173f68;
}

.dora-related-results {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid #b9cade;
}

.dora-related-results > h3 {
  margin: 0 0 .6rem;
  color: #173f68;
}

.dora-related-results > .dora-rules-notice {
  max-width: 980px;
  color: #405873;
}

.dora-related-result-card {
  border-left: 5px solid #7899bb;
}

.dora-rule-citation {
  margin: .65rem 0;
  color: #4c6078;
  font-size: .9rem;
}

.dora-rule-result-card h4 {
  margin: 1rem 0 .45rem;
  color: #50647c;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dora-rule-excerpt {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid #83a9d2;
  border-radius: 0 .6rem .6rem 0;
  background: #f5f8fb;
  color: #263a52;
  white-space: pre-wrap;
}

.dora-rule-source-link {
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .support-section {
    grid-template-columns: 1fr;
  }

  .support-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .dora-rule-result-head {
    display: grid;
  }

  .dora-rule-result-tags {
    justify-content: flex-start;
  }

  .dora-rule-source-link {
    width: 100%;
    text-align: center;
  }
}

/* DORA 0.4.52: rules-first information architecture and bounded directory layout. */
.dora-page {
  background:
    radial-gradient(circle at 12% 2%, rgba(94, 151, 211, .13), transparent 28rem),
    #f6f8fb;
}

.dora-page [hidden] {
  display: none !important;
}

.dora-page .service-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: .72rem;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 8px 28px rgba(13, 34, 61, .16);
}

.dora-page .service-header-inner {
  max-width: 1240px;
}

.dora-page .service-header-tools {
  flex-wrap: nowrap;
}

.service-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.service-nav a {
  padding: .55rem .72rem;
  border-radius: .55rem;
  color: #eaf3ff;
  font-size: .84rem;
  text-decoration: none;
}

.service-nav a:hover,
.service-nav a:focus-visible {
  background: rgba(255, 255, 255, .13);
  outline: none;
}

.dora-page .service-main {
  max-width: 1240px;
}

.dora-hero {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  min-height: 480px;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.dora-hero .hero-copy {
  padding: 0;
}

.dora-hero.service-hero h1 {
  max-width: 12ch;
  margin: .45rem 0 1rem;
  color: #132f52;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .93;
}

.dora-hero .lede {
  max-width: 710px;
  margin: 0;
  color: #3e5874;
}

.dora-primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: .8rem 1.3rem;
  font-size: 1rem;
  font-weight: 900;
}

.dora-secondary-action {
  border: 1px solid #9fb5cc;
  border-radius: .75rem;
  background: rgba(255, 255, 255, .76);
}

.dora-independence-note {
  margin: 1rem 0 0;
  color: #657991;
  font-size: .84rem;
  font-weight: 700;
}

.dora-hero-facts {
  overflow: hidden;
  border: 1px solid #c5d4e5;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 22px 60px rgba(22, 55, 92, .12);
}

.dora-hero-facts > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: baseline;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e0e7ef;
}

.dora-hero-facts strong {
  color: #174d80;
  font-size: 1.75rem;
  line-height: 1;
}

.dora-hero-facts span {
  color: #526981;
  font-size: .88rem;
  font-weight: 760;
}

.dora-hero-facts p {
  margin: 0;
  padding: 1rem 1.25rem;
  background: #173d67;
  color: #eaf2fb;
  font-size: .82rem;
}

.dora-page .service-section {
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
}

.dora-rules-search {
  scroll-margin-top: 76px;
}

.dora-rules-layout {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(480px, 1.22fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.dora-rules-heading {
  margin: 0;
}

.dora-rules-search.service-section .dora-rules-heading h2 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.dora-corpus-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: 1.35rem 0;
}

.dora-corpus-stats > div {
  display: grid;
  gap: .12rem;
  padding: .8rem;
  border: 1px solid #cfdae6;
  border-radius: .7rem;
  background: rgba(255, 255, 255, .76);
}

.dora-corpus-stats strong {
  color: #164b7e;
  font-size: 1.25rem;
}

.dora-corpus-stats span {
  color: #64768b;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.2;
}

.dora-scope-details {
  border-top: 1px solid #d4dee9;
  padding-top: .85rem;
}

.dora-scope-details summary {
  cursor: pointer;
  color: #2c557f;
  font-size: .88rem;
  font-weight: 850;
}

.dora-rules-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-color: #aabfd6;
  border-top: 5px solid #2869a9;
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 22px 60px rgba(20, 50, 84, .12);
}

.dora-rules-question-field textarea {
  min-height: 112px;
  border-width: 2px;
  font-size: 1rem;
}

.dora-rules-scope-field {
  max-width: none;
}

.dora-rules-submit {
  width: 100%;
  min-height: 52px;
  border-radius: .65rem;
  background: #1d5d98;
}

.dora-rules-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.dora-rules-results {
  scroll-margin-top: 82px;
  margin-top: 2rem;
}

.dora-license-section {
  scroll-margin-top: 76px;
}

.dora-license-section > h2 {
  max-width: none;
  margin-bottom: .8rem;
}

.dora-license-form {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #ced9e6;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 36px rgba(21, 40, 70, .06);
}

.dora-directory-more:not([open]) {
  padding-block: .72rem;
}

.dora-directory-toolbar[hidden],
.dora-directory-pagination[hidden] {
  display: none;
}

.dora-directory-card {
  overflow: hidden;
  border-top: 4px solid #6c8fb4;
  box-shadow: 0 8px 25px rgba(21, 40, 70, .055);
}

.license-card-heading > div {
  min-width: 0;
}

.license-card h3,
.license-organization,
.license-profession {
  overflow-wrap: anywhere;
}

.license-card-more {
  margin: .2rem 0 1rem;
  border-top: 1px solid #e1e7ee;
  border-bottom: 1px solid #e1e7ee;
  padding: .65rem 0;
}

.license-card-more summary {
  cursor: pointer;
  color: #285a8a;
  font-size: .85rem;
  font-weight: 850;
}

.license-card-more dl {
  margin-bottom: .25rem;
}

.dora-license-guidance {
  max-width: 760px;
  margin: 1rem 0 .85rem;
  color: #526981;
  font-size: .94rem;
}

.dora-license-guidance strong {
  color: #263f5c;
  font-size: 1rem;
}

.dora-complaint-section {
  scroll-margin-top: 76px;
}

.dora-complaint-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.dora-complaint-heading h2 {
  margin: .35rem 0 .5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.03em;
}

.dora-complaint-heading p {
  max-width: 720px;
  color: #52667e;
}

.dora-call-notice {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #d4deea;
  border-left: 4px solid #6488af;
  border-radius: .75rem;
  background: #fff;
  color: #52667e;
}

.dora-call-notice p {
  margin: .35rem 0;
}

.dora-call-notice summary {
  cursor: pointer;
  margin-top: .6rem;
  color: #28537f;
  font-weight: 850;
}

.dora-process-title {
  margin: 2rem 0 1rem;
  color: #263f5c;
  font-size: 1.2rem;
}

@media (max-width: 980px) {
  .dora-page .service-header-tools {
    flex-wrap: wrap;
  }

  .dora-page .pilot-badge {
    display: none;
  }

  .dora-rules-layout {
    grid-template-columns: 1fr;
  }

  .dora-rules-search.service-section .dora-rules-heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .dora-page .service-header {
    position: relative;
  }

  .dora-page .service-header-inner,
  .dora-page .service-header-tools {
    align-items: stretch;
  }

  .dora-page .service-header-tools,
  .service-nav {
    width: 100%;
  }

  .service-nav {
    justify-content: space-between;
    order: 0;
  }

  .service-nav a {
    flex: 1;
    text-align: center;
  }

  .dora-page .pilot-badge {
    display: none;
  }

  .dora-hero {
    min-height: 0;
    padding-block: 2.75rem;
  }

  .dora-hero.service-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .dora-corpus-stats {
    grid-template-columns: 1fr;
  }

  .dora-complaint-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .dora-complaint-heading .call-button {
    text-align: center;
  }
}
