:root { --pico-font-size: 16px; --pico-spacing: 0.9rem; --pico-border-radius: 0.4rem; }
body { background: #fcfcfb; }
main.container { max-width: 780px; padding: 1.5rem 1rem; }
.progress-header { margin-bottom: 1.6rem; }
.progress-header > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.progress-header small, footer, .doi, .discipline { color: var(--pico-muted-color); font-size: 0.85rem; }
progress { height: 0.35rem; margin: 0.6rem 0 0; }
h1 { font-size: clamp(1.25rem, 3vw, 1.65rem); line-height: 1.3; margin-bottom: 0.5rem; }
.discipline { font-weight: 600; letter-spacing: 0.04em; margin-bottom: 0.45rem; }
.doi { overflow-wrap: anywhere; margin-bottom: 1.1rem; }
.abstract { line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.actions { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.actions button { flex: 1; margin: 0; padding: 0.6rem 1rem; }
kbd { font-size: 0.7rem; padding: 0.1rem 0.3rem; margin-left: 0.35rem; }
footer { text-align: center; margin-top: 0.75rem; }
.swipe-hint { display: block; }
#message { font-size: 0.9rem; margin-top: 0.7rem; }
@media (pointer: coarse) { .keyboard-hint, kbd { display: none; } #article { touch-action: pan-y; } }
@media (max-width: 600px) { main.container { padding-top: 1rem; } .progress-header { margin-bottom: 1.1rem; } }
h1 { margin-top: 0; }
@media (max-width: 600px) { .keyboard-hint, kbd { display: none; } }

@media (max-width: 600px) { .actions { gap: 0.5rem; } .actions button { padding-inline: 0.5rem; } }

#decision-flash:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: white;
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 700;
  text-align: center;
  touch-action: none;
}
#decision-flash[data-decision="include"] { background: #15803d; }
#decision-flash[data-decision="exclude"] { background: #b91c1c; }
