
html,body{height:100%}
body.pc-frame{margin:0;display:flex;flex-direction:column;overflow:hidden;background:#e8e8e8}
body.pc-frame header.pc-head{position:static;width:auto;margin:0;flex-shrink:0}
.pc-wrap{display:flex;flex:1;overflow:hidden}
nav.pc-toc{width:28ch;flex-shrink:0;overflow-y:auto;background:#6696bb;padding:.3rem 0;font-family:serif}
nav.pc-toc ul{list-style:none;margin:0;padding:0}
nav.pc-toc a{display:block;padding:.5rem .8rem;color:#fff;text-decoration:none;font-size:1.05rem;
  text-shadow:2px 2px 2px rgba(0,0,0,.8)}
nav.pc-toc a:hover{background:#497da5}
nav.pc-toc li.on>a{background:#89aecb}
.pc-panel{flex:1;overflow:auto;padding:1rem}
.pc-panel>.cont{margin:0 auto;max-width:none;padding:0 1rem}
.pc-paneltitle{border-bottom:1px solid #c9d3de;margin-bottom:1rem;padding-bottom:.4rem;text-align:center}
.pc-paneltitle h1{font-size:1.6rem;margin:.3rem 0 .4rem}
.pc-paneltitle .campo{justify-content:center}
section.pc-pane+section.pc-pane{margin-top:2.2rem}
section.pc-pane .mapa{max-width:100%;overflow:auto}
/* phone: the parts of the map as a row of tabs above the panel */
@media (max-width:900px){.pc-wrap{flex-direction:column}
  nav.pc-toc{width:auto;overflow-x:auto;overflow-y:hidden;flex-shrink:0;padding:0}
  nav.pc-toc ul{display:flex;white-space:nowrap}
  nav.pc-toc a{padding:.45rem .8rem;font-size:.95rem}}

/* 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}
