
/* ===== the five approvals, in tabs (apprail.py) ===== */
/* THE CARDS ARE esg.py's CARDS. Matt pointed at that block and said
   this one should be like it, so the radius, the fill and the type
   are the same numbers rather than near misses. What is different is
   that these hold lists instead of prose, because what a standard
   requires is a list on all five of the pages this is read from. */
/* THE BAR. Tabs left, the way out of the block right, one line. */
html body .aprail .ap-bar{
  display:flex;flex-wrap:wrap;align-items:center;
  justify-content:space-between;gap:14px;margin:38px 0 0;}
html body .aprail .ap-tabs{
  display:flex;flex-wrap:wrap;gap:10px;margin:0;}
/* the same pill as a resting tab, in aqua text with an arrow, so it
   is never mistaken for a sixth standard sitting unselected. It is
   not the solid aqua button it used to be for the opposite reason:
   solid aqua is what the CHOSEN tab is, and two solid aqua pills at
   either end of one row is a row with two selected things in it. */
html body .aprail .ap-all{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 20px;border-radius:999px;
  background:#111a4a;color:#28e0c8;text-decoration:none;
  font-family:'Gotham','Inter',Arial,sans-serif;
  font-weight:700;font-size:14px;letter-spacing:.02em;line-height:1.3;
  transition:background .2s ease;}
html body .aprail .ap-all:hover{background:#17225c;}
html body .aprail .ap-all:focus-visible{outline:2px solid #28e0c8;
  outline-offset:3px;}
/* A TAB IS A GAP OVER A GROUND, NEVER A BORDER. The resting tab is
   the same five per cent white the cards use, the chosen one is the
   aqua the rest of the site uses for a chosen thing, and the line
   under the row is a one pixel background. No borders anywhere on
   this component. */
html body .aprail .ap-tab{
  appearance:none;border:0;cursor:pointer;
  padding:12px 20px;border-radius:999px;
  background:#111a4a;color:rgba(255,255,255,.72);
  font-family:'Gotham','Inter',Arial,sans-serif;
  font-weight:700;font-size:14px;letter-spacing:.02em;line-height:1.3;
  transition:background .2s ease,color .2s ease;}
html body .aprail .ap-tab:hover{background:#17225c;color:#fff;}
html body .aprail .ap-tab.is-on{background:#28e0c8;color:#06211d;}
html body .aprail .ap-tab:focus-visible{outline:2px solid #28e0c8;
  outline-offset:3px;}
html body .aprail .ap-panes{margin-top:30px;}
/* EACH CARD IS AS TALL AS WHAT IS IN IT. Stretched to a common
   height, the buyer's card is three lines against the standard's
   eight and sits in a panel half full of nothing, which reads as a
   card with something missing from it rather than as a short answer.
   They are two different questions and their answers are different
   lengths, which is the same argument vopen.py made about Our core. */
html body .aprail .ap-two{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;
  align-items:start;}
/* THE CARDS ARE BLUE, NOT A WHITE WASH, 27 November. Matt: "I feel
   the faded background on the bento bg's is not on theme? Should it be
   the blue?" He is reading it correctly. The ground is #0b0f2e, which
   is 11,15,46: strongly blue, four parts blue to one part red. Five
   per cent white over it composites to 23,27,56, which is two parts
   blue to one part red, so the wash does not lighten the navy, it
   desaturates it, and the card comes out a grey panel on a blue page.
   #111a4a is 17,26,74, the same four to one, lifted. The panel now
   reads as the page's own colour with a light on it. */
html body .aprail .ap-card{
  border-radius:22px;padding:30px 30px 28px;
  background:#111a4a;}
html body .aprail .ap-card h3{
  margin:0 0 16px;font-size:17px;font-weight:700;color:#fff;}
html body .aprail .ap-card ul{margin:0;padding:0;list-style:none;}
html body .aprail .ap-card li{
  position:relative;padding:0 0 0 20px;margin:0 0 12px;
  font-size:15.5px;line-height:1.65;color:rgba(255,255,255,.72);}
html body .aprail .ap-card li:last-child{margin-bottom:0;}
/* the bullet is a dot drawn as a background, for the same reason the
   lines are: nothing on this site is a border and nothing is a
   list-style the browser picks */
html body .aprail .ap-card li::before{
  content:"";position:absolute;left:0;top:9px;width:5px;height:5px;
  border-radius:50%;background:#28e0c8;opacity:.75;}
/* the last thing in the card, under the bullets, with the gap of a
   list row and a half above it so it reads as the end of the list
   rather than as another item in it */
html body .aprail .ap-more{
  display:inline-block;margin-top:22px;
  color:#28e0c8;text-decoration:none;font-weight:700;}
html body .aprail .ap-more:hover{text-decoration:underline;}
/* WITHOUT THE SCRIPT EVERY PANEL IS OPEN, which is the point: the
   content is in the markup and the script is an improvement on it,
   not the thing that supplies it. .ap-js is put on by the script
   itself, so the hiding only ever happens where the showing can. */
html body .aprail.ap-js .ap-pane{display:none;}
html body .aprail.ap-js .ap-pane.is-on{display:block;}
html body .aprail:not(.ap-js) .ap-pane + .ap-pane{margin-top:44px;}
html body .aprail:not(.ap-js) .ap-tabs{display:none;}
@media (max-width:900px){
  html body .aprail .ap-two{grid-template-columns:1fr;gap:16px;}
  html body .aprail .ap-tab{padding:11px 16px;font-size:13px;}
}

@media (max-width:700px){
  /* the bar stacks and the way out goes full width, because at this
     size a pill floated right of five wrapped tabs lands wherever the
     last row happens to end */
  html body .aprail .ap-bar{display:block;}
  html body .aprail .ap-all{display:flex;justify-content:center;
    width:100%;margin-top:14px;}
}
