/* IQCB homepage: the plate in the statement band (plate.js). */
/* sized like the network below it: same h2 type, hint under the heading, graphic about as tall as its stage */
.iq-plate {--w: clamp(34px, 3.6vw, 58px); --gap: calc(var(--w) * .2); position: relative; margin: 30px auto 56px; max-width: 1400px; text-align: left;
  display: flex; flex-direction: column;}
.iq-plate[hidden] {display: none;}
.iq-plate-title {order: -2; text-align: center; font-family: JosefinSansLight, Helvetica, Arial; font-weight: 600; color: #425159; font-size: clamp(24px, 2.7vw, 40px);
  letter-spacing: 1px; line-height: 1.25; margin: 0 0 12px;}
.iq-plate-title b {color: #2f9e92; font-weight: 600;}
.iq-plate-hint {order: -1; text-align: center; color: #5b6b72; font-size: 16px; line-height: 1.5; margin: 0 auto; padding-bottom: 40px; max-width: 760px;} /* padding: the theme zeroes p margins */

.iq-plate-grid {display: grid; justify-content: center; align-items: center; column-gap: var(--gap); row-gap: var(--gap);
  grid-template-columns: auto 26px repeat(12, var(--w)); grid-auto-rows: var(--w); grid-template-rows: auto auto 28px;
  font: 400 16px/1.2 OpenSans, Arial, sans-serif; color: #4a5a61;}
.iq-plate-grid > * {position: relative; z-index: 1;}

/* the plate itself: a soft white bed; core facilities make its rim glow */
.iq-plate-grid > .iq-plate-bed {z-index: 0; align-self: stretch; margin: -18px -22px -22px -14px; border-radius: 22px 22px 22px 40px;
  background: linear-gradient(180deg, #fbfdfd, #f1f6f6); border: 2px solid #d6e3e4; box-shadow: 0 10px 30px rgba(17,38,42,.08);}
.iq-plate-bed.iq-plate-rim {border-color: #8fd3cb; box-shadow: 0 0 0 4px rgba(73,187,175,.12), 0 0 22px rgba(73,187,175,.35), 0 10px 30px rgba(17,38,42,.08);}

.iq-plate-para {align-self: end; text-align: center; font-family: JosefinSansLight, Helvetica, Arial; font-weight: 600; font-size: max(11.5px, calc(var(--w) * .31)); letter-spacing: calc(var(--w) * .025);
  text-transform: uppercase; color: #425159; padding-bottom: 9px; margin-bottom: 10px; border-bottom: 2px solid #b9d9d5; white-space: nowrap;}
.iq-plate-para .iq-short {display: none;}
/* method names, read bottom to top, at most two lines per column */
.iq-plate-col {align-self: end; justify-self: center; writing-mode: vertical-rl; transform: rotate(180deg); height: 132px; margin-bottom: 18px;
  font-size: clamp(12px, calc(var(--w) * .25), 14px); line-height: 1.15; color: #5b6b72; cursor: default;}
.iq-plate-num, .iq-plate-letter {text-align: center; font-weight: 600; font-size: 14px; color: #7c8c92;}
.iq-plate-num {align-self: center; cursor: default;}
.iq-plate-name {text-align: right; padding-right: 22px; white-space: nowrap; color: #4a5a61;}

.iq-well {display: block; width: var(--w); height: var(--w); border-radius: 50%; cursor: default; outline: none;
  background: rgba(47, 158, 146, 0); box-shadow: inset 0 2px 4px rgba(17,38,42,.10), inset 0 0 0 1.5px #d3e0e1;
  transition: background-color .5s ease, box-shadow .5s ease, transform .2s ease;}
.iq-plate.iq-filled .iq-well:not(.iq-empty) {background: rgba(47, 158, 146, var(--a));
  box-shadow: inset 0 2px 4px rgba(17,38,42,.10), 0 0 calc(14px * var(--a)) rgba(73, 187, 175, var(--a));}
.iq-well:hover, .iq-well:focus-visible {transform: scale(1.14); box-shadow: inset 0 0 0 2px #425159 !important; transition-delay: 0s !important;}

.iq-plate-tip {position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; background: #fff; color: #11262a; border-radius: 10px; padding: 10px 14px;
  max-width: 340px; border: 1px solid #e0e9ea; box-shadow: 0 8px 24px rgba(17,38,42,.16); font: 400 14px/1.45 OpenSans, Arial, sans-serif;}
.iq-plate-tip strong {display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 3px;}
.iq-plate-tip span {color: #4a5a61;}
.iq-plate-tip em {font-style: normal; font-weight: 600; color: #2f9e92;}

@media (max-width: 900px) {
  .iq-plate {--w: 28px; --gap: 5px; margin: 20px auto 40px;}
  .iq-plate-grid {font-size: 13px; grid-template-columns: auto 20px repeat(12, var(--w)); grid-template-rows: auto auto 22px;}
  .iq-plate-name {font-size: 12px; padding-right: 12px;}
  .iq-plate-para {font-size: 13px; letter-spacing: 1px; margin-bottom: 8px;}
  .iq-plate-col {font-size: 11px; height: 112px; margin-bottom: 12px;}
  .iq-plate-para .iq-long {display: none;}
  .iq-plate-para .iq-short {display: inline;}
  .iq-plate-num, .iq-plate-letter {font-size: 12px;}
  .iq-plate-grid > .iq-plate-bed {margin: -12px -14px -14px -10px; border-radius: 16px 16px 16px 30px;}
  .iq-plate-hint {padding-bottom: 28px;}
}
@media (max-width: 700px) {
  .iq-plate {--w: clamp(17px, calc((100vw - 120px) / 12), 28px); --gap: 4px;}
  .iq-plate-grid {grid-template-columns: 0 16px repeat(12, var(--w)); column-gap: var(--gap);}
  .iq-plate-name {visibility: hidden; padding: 0; overflow: hidden;}
  .iq-plate-para {font-size: 11px; letter-spacing: .5px; margin-bottom: 14px;}
  .iq-plate-col {display: none;}
  .iq-plate-para .iq-long {display: none;}
  .iq-plate-para .iq-short {display: inline;}
  .iq-plate-num, .iq-plate-letter {font-size: 10.5px;}
  .iq-plate-grid > .iq-plate-bed {margin: -8px -9px -10px -6px; border-radius: 12px 12px 12px 22px;}
}
@media (prefers-reduced-motion: reduce) {
  .iq-well {transition: none !important;}
}

/* iq-info: (i) next to the heading with an explanation of the graphic */
.iq-info {display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: 0 0 0 10px; padding: 0; vertical-align: .35em;
  border-radius: 50%; border: 1.5px solid #8fa1a6; background: #fff; color: #425159; cursor: help; line-height: 1; letter-spacing: 0; text-transform: none;
  font: italic 700 14px/1 Georgia, 'Times New Roman', serif; transition: background-color .2s, color .2s, border-color .2s;}
.iq-info:hover, .iq-info:focus-visible, .iq-info[aria-expanded="true"] {background: #2f9e92; border-color: #2f9e92; color: #fff; outline: none;}
.iq-info:focus-visible {box-shadow: 0 0 0 3px rgba(47,158,146,.35);}
.iq-info-pop {position: absolute; z-index: 30; width: min(440px, calc(100vw - 32px)); box-sizing: border-box; text-align: left; letter-spacing: 0; text-transform: none;
  background: #fff; color: #11262a; border: 1px solid #e0e9ea; border-radius: 12px; padding: 14px 18px 12px; box-shadow: 0 12px 32px rgba(17,38,42,.18);
  font: 400 14px/1.5 OpenSans, Arial, sans-serif;}
.iq-info-pop[hidden] {display: none;}
.iq-info-pop::before {content: ''; position: absolute; top: -7px; left: calc(var(--arrow, 50%) - 7px); width: 12px; height: 12px; background: #fff;
  border-left: 1px solid #e0e9ea; border-top: 1px solid #e0e9ea; transform: rotate(45deg);}
.iq-info-pop strong {display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: #11262a;}
.iq-info-pop p {margin: 0 0 6px; padding: 0; color: #4a5a61;}
.iq-info-pop ul {margin: 0 0 8px; padding: 0 0 0 18px; list-style: disc;}
.iq-info-pop li {margin: 0 0 5px; padding: 0; color: #4a5a61; list-style: disc; background: none;}
.iq-info-pop li::before {content: none;}
.iq-info-pop ul:last-child, .iq-info-pop li:last-child {margin-bottom: 0;}
.iq-info-pop b {font-weight: 600; color: #11262a;}
.iq-info-pop .iq-info-how {margin: 0; padding-top: 8px; border-top: 1px solid #e0e9ea; font-size: 13px; color: #2f9e92;}
@media (max-width: 700px) {.iq-info {width: 20px; height: 20px; font-size: 12px; margin-left: 6px;} .iq-info-pop {font-size: 13.5px; padding: 12px 14px 10px;}}
