/* 2026-11-14: the home "Example result" card shows one example per practice area (see home-example-results.js).
   Without the script the card shows its firm-wide state and none of this applies. */
.sample__areas{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0;padding:0}
.sample__areas[hidden]{display:none}
.sample__area{all:unset;box-sizing:border-box;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;border:1px solid #cdd9ea;background:#fff;cursor:pointer;
  transition:border-color .2s ease,background-color .2s ease,transform .2s ease,box-shadow .2s ease}
.sample__area:hover{border-color:#0c1d55;transform:translateY(-1px)}
.sample__area[aria-pressed="true"]{background:#fff7a8;border-color:#0c1d55;box-shadow:0 12px 20px -14px rgba(12,29,85,.85)}
.sample__area:focus-visible{outline:3px solid #f9e900;outline-offset:2px;box-shadow:0 0 0 5px #0c1d55}
.sample__area-icon{width:36px;height:34px;display:block;overflow:visible;pointer-events:none}   /* fills its 44 px button, so the seven pictures can be told apart */
.sample>p.sample__area-name{margin:10px 0 2px;min-height:1.3em;max-width:none;font:700 .8rem/1.3 var(--f-text,Montserrat,sans-serif);letter-spacing:.1em;text-transform:uppercase;color:#33486e}
[dir=rtl] .sample>p.sample__area-name{letter-spacing:0;font-size:.95rem}
.sample[data-example-results]>:is([data-example-heading],[data-example-body],[data-example-list],[data-example-note]){transition:opacity .22s ease,transform .22s ease}
.sample.is-leaving>:is([data-example-heading],[data-example-body],[data-example-list],[data-example-note]){opacity:0;transform:translateY(6px);transition-duration:.16s}
.sample.is-entering>:is([data-example-heading],[data-example-body],[data-example-list],[data-example-note]){opacity:0;transform:translateY(-6px);transition:none}
.sample[data-example-results] [data-example-list][hidden]{display:none}
/* the card keeps the height of its tallest example; the closing lines stay at the bottom */
.sample[data-example-results]{display:flex;flex-direction:column}
.sample[data-example-results]>.sample__after{margin-top:auto}
/* phones: seven buttons do not fit one row at a finger-sized 44 px, so they are set as four over three, both rows
   filling the card's width (was 40 px buttons wrapping six plus one) */
@media (max-width:420px){
  .sample__areas{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}
  .sample__area{grid-column:span 3;width:auto;height:46px}
  .sample__area:nth-child(n+5){grid-column:span 4}
  .sample>p.sample__area-name{min-height:2.6em}   /* two lines kept free, so the text below does not hop between examples */
}
/* stacked layout (phones and tablets): the card takes the height of the example it shows. The script reserves the
   height of the tallest example, which is right beside the steps on wide screens but left a 250 px hole here. */
@media (max-width:1024px){.sample[data-example-results]{min-height:0 !important}}
@media (prefers-reduced-motion:reduce){.sample[data-example-results]>*,.sample__area{transition:none!important}}
@media (forced-colors:active){.sample__area[aria-pressed="true"]{outline:2px solid Highlight}}
