/* Homepage document shortcuts, grouped by task with native full-row links. */
.csm-docs-section { padding-block: 5rem; scroll-margin-top: 6.5rem; }
.csm-docs-heading { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; margin-bottom: 2rem; }
.csm-docs-heading > div { max-width: 45rem; }
.csm-docs-heading h2 { margin: 0 0 1rem; color: #261c42; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 750; line-height: 1.2; letter-spacing: -.045em; }
.csm-docs-heading p { max-width: 43rem; margin: 0; color: #5b526c; font-size: 1rem; line-height: 1.75; }
.csm-docs-heading .csm-docs-browse { flex: 0 0 auto; min-height: 3.25rem; padding: .875rem 1.25rem; border: 1px solid #b7a8cb; border-radius: .625rem; background: #fff; color: #493363 !important; box-shadow: none; font-size: 1rem; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color 140ms, border-color 140ms; }
.csm-docs-heading .csm-docs-browse:hover { background: #f6f1fb; border-color: #7e64a1; }
.csm-docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 0; }
.csm-docs-group { display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; padding: 1.75rem; border: 1px solid #dfd7e9; border-radius: 1.25rem; background: #fff; box-shadow: 0 .25rem 1rem #2e214306; }
.csm-docs-group-heading { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; }
.csm-docs-group-heading img { display: block; flex: 0 0 3rem; width: 3rem; height: 3rem; }
.csm-docs-group-heading h3 { margin: 0; color: #342448; font-size: 1.375rem; font-weight: 750; line-height: 1.4; letter-spacing: -.025em; }
.csm-docs-links { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; border-top: 1px solid #e8e0ef; }
.csm-docs-links li { display: flex; min-width: 0; border-bottom: 1px solid #e8e0ef; }
.csm-docs-links li:last-child { border-bottom: 0; }
.csm-docs-links a { display: flex; flex-direction: column; justify-content: flex-start; gap: .25rem; width: 100%; min-width: 0; min-height: 5.5rem; padding: 1rem .75rem; border-radius: .5rem; color: #52376f; font-size: 1rem; line-height: 1.6; text-decoration: none; transition: background-color 140ms; }
.csm-docs-links strong { display: block; color: #493064; font-size: 1rem; font-weight: 700; line-height: 1.5; text-decoration: underline; text-decoration-color: #c9b7db; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.csm-docs-links span { display: block; color: #62566f; font-size: 1rem; font-weight: 400; line-height: 1.6; }
.csm-docs-links a:hover { background: #f7f3fb; }
.csm-docs-links a:hover strong { color: #51339f; text-decoration-color: currentColor; }
.csm-docs-links a:focus-visible { background: #f7f3fb; outline-offset: -1px; }
.csm-docs-calculator { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; margin-top: 1.5rem; border: 1px solid #dce7e0; border-radius: 1rem; background: #f4f8f5; }
.csm-docs-calculator > img { display: block; flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; }
.csm-docs-calculator > div { flex: 1; min-width: 0; }
.csm-docs-calculator h3 { margin: 0 0 .2rem; color: #365343; font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.csm-docs-calculator p { margin: 0; color: #506456; font-size: 1rem; line-height: 1.7; }
.csm-docs-calculator a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 2.75rem; color: #305d43; font-size: 1rem; font-weight: 650; line-height: 1.6; text-underline-offset: .25em; }
.csm-docs-calculator a:hover { color: #1b4930; }
@supports not (grid-template-rows: subgrid) {
  .csm-docs-group { display: flex; flex-direction: column; }
  .csm-docs-links { flex: 1; }
}
@media (max-width: 60rem) {
  .csm-docs-section { padding-block: 3.5rem; }
  .csm-docs-heading { align-items: start; flex-direction: column; gap: 1.5rem; }
  .csm-docs-group { padding: 1.5rem; }
  .csm-docs-group-heading { gap: .75rem; }
  .csm-docs-group-heading img { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; }
  .csm-docs-calculator { flex-wrap: wrap; gap: 1rem; padding: 1.25rem 1.5rem; }
  .csm-docs-calculator a { flex-basis: calc(100% - 3.5rem); justify-content: flex-start; margin-left: 3.5rem; }
}
@media (max-width: 48rem) {
  .csm-docs-section { width: calc(100% - 2.5rem); padding-block: 3rem; }
  .csm-docs-heading h2 { font-size: 2rem; }
  .csm-docs-heading .csm-docs-browse { width: 100%; }
  .csm-docs-grid { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .csm-docs-group { display: block; grid-row: auto; }
  .csm-docs-links { grid-template-rows: repeat(4, auto); }
  .csm-docs-links a { padding-inline: .5rem; }
  .csm-docs-calculator { align-items: start; }
  .csm-docs-calculator > div { flex-basis: calc(100% - 3.5rem); }
}
@media (max-width: 22rem) {
  .csm-docs-group { padding: 1.25rem; }
  .csm-docs-group-heading { align-items: start; }
  .csm-docs-links a { padding-inline: .25rem; }
  .csm-docs-calculator { padding: 1.25rem; }
  .csm-docs-calculator a { flex-basis: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .csm-docs-heading .csm-docs-browse, .csm-docs-links a { transition: none; }
}
