
header.pc-head{background:linear-gradient(180deg,#6696bb 0,#396282);color:#fff;text-shadow:1px 2px 0 rgba(0,0,0,.8);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:.45rem .8rem;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;position:sticky;top:0;z-index:60;
  width:100vw;box-sizing:border-box;margin-left:calc(50% - 50vw);margin-bottom:.6rem}
body{margin-top:0 !important}
/* the graph's page keeps leanblueprint's header (Home · Dependencies · our links): its title in its place, the links
   wrapping to a second line when they do not fit (19-oct: «Dependencies» was drawn over the buttons) */
body>header:has(nav.pc-links){display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;height:auto !important}
body>header>#doc_title{position:static !important;flex:0 0 auto;margin:0 .6em !important;transform:none !important}
body>header>nav.pc-links{margin-left:auto;flex-wrap:wrap}
header.pc-head a{color:#fff;text-decoration:none}
header.pc-head .pc-title{font-size:1.15em;flex:1;text-align:left;min-width:6em}
header.pc-head nav,nav.pc-links{display:flex;flex-wrap:wrap;gap:.4em;font:13px Helvetica,Arial,sans-serif}
header.pc-head nav a,nav.pc-links a{border:1px solid rgba(255,255,255,.75);background:rgba(255,255,255,.14);color:#fff;
  border-radius:999px;padding:.25em .85em;text-decoration:none;white-space:nowrap;text-shadow:1px 2px 0 rgba(0,0,0,.8)}
header.pc-head nav a:hover,nav.pc-links a:hover{background:rgba(255,255,255,.3)}
header.pc-head nav a.on,nav.pc-links a.on{background:#fff;color:#1f4e79;font-weight:600;text-shadow:none}
/* phone: one line, the links in a row that scrolls sideways */
@media (max-width:900px){header.pc-head{flex-wrap:wrap;padding:.3rem .5rem;gap:.4rem}
  header.pc-head .pc-title{flex:0 0 auto;min-width:0;font-size:1.05em}
  header.pc-head nav{flex-wrap:wrap;overflow:visible;flex:1 1 100%;min-width:0}
  header.pc-head nav>*{flex-shrink:0;white-space:nowrap}
  header.pc-head>*:not(.pc-title):not(nav){flex-shrink:0;white-space:nowrap;font-size:.8em}}

/* 10-nov (Carles: «incorpora el fondo para que todos se vean igual como has hecho con referee»): the same ground and
   cards as referee.html / tour.html (pagestyle.py): each statement a white card with a shadow, its proof and blocks
   lighter cards under it, «At a glance» and each part of the map a card */
div.content,div.main-text{background:transparent}
/* 13-nov (Carles: «ponlos centrados y un poco más anchos, las tablas se salen del margen»): el tema fija 75ch (unos
   600 px), que en pantallas anchas deja una columna estrecha; ahora 98ch, centrada; una tabla más ancha que la
   columna se desplaza dentro de ella en vez de salirse */
div.content-wrapper{max-width:min(1100px,calc(100% - 4cm));margin-left:auto;margin-right:auto}  /* 13-nov noche: «deja un poco más de margen, solo 2 cm» a cada lado (antes 94 %; antes 98ch) */
/* las tablas del paper, centradas (13-nov noche); la que no cabe se desplaza dentro de la columna */
div.main-text table{display:block;width:fit-content;max-width:100%;overflow-x:auto;margin-left:auto;margin-right:auto}
@media (max-width:700px){div.content-wrapper{max-width:94%}}  /* en móvil 2 cm por lado es demasiado */
div[class*="_thmwrapper"]{background:#fff;border-radius:12px;padding:.75em 1.1em;margin:1.4em 0 .5em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 1px 2px rgba(15,23,42,.08),0 4px 10px rgba(15,23,42,.08),0 12px 24px -12px rgba(15,23,42,.18)}
div.proof_wrapper{background:#fff;border-radius:9px;padding:.5em 1em;margin:.4em 0 .4em 1.2em;
  box-shadow:0 1px 5px rgba(0,0,0,.10)}
div.main-text details.blk,p.lm-ficha{border-radius:9px;box-shadow:0 1px 4px rgba(0,0,0,.08)}
#top.overview,section.pc-pane{background:#fff;border-radius:12px;padding:.8em 1.3em 1em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 1px 2px rgba(15,23,42,.08),0 4px 10px rgba(15,23,42,.08),0 12px 24px -12px rgba(15,23,42,.18)}
/* 10-nov (Carles: «cuando pase por encima la destaque»): the card under the pointer rises a little, with a deeper
   shadow; only the content cards (statements, proofs, blocks), not the whole panes */
div[class*="_thmwrapper"],div.proof_wrapper,div.main-text details.blk,p.lm-ficha{
  transition:box-shadow .18s ease,transform .18s ease}
div[class*="_thmwrapper"]:hover,div.proof_wrapper:hover,div.main-text details.blk:hover,p.lm-ficha:hover{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 4px rgba(15,23,42,.10),0 10px 20px rgba(15,23,42,.12),0 22px 40px -14px rgba(31,111,235,.35)}
@media (prefers-reduced-motion:reduce){div[class*="_thmwrapper"],div.proof_wrapper,div.main-text details.blk,
  p.lm-ficha{transition:none}div[class*="_thmwrapper"]:hover,div.proof_wrapper:hover,div.main-text details.blk:hover,
  p.lm-ficha:hover{transform:none}}
/* a card inside a card: only the outer one (index: «At a glance» is a pane inside the overview) */
section.pc-pane #top.overview,#top.overview section.pc-pane,section.pc-pane section.pc-pane{background:transparent;
  box-shadow:none;padding:0;border-radius:0}
