@font-face {
  font-family: Alexandria;
  src: url("alexandria.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root { --paper: #f8f7f2; --ink: #23241f; --rule: #d5d4ca; }
* { box-sizing: border-box; }
html, body {
  margin: 0; width: 100%; height: 100%; overflow: hidden;
  background: var(--paper); color: var(--ink);
  font-family: Alexandria, Tahoma, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
#stage {
  position: absolute; top: 0; left: 0; width: 1024px; height: 768px;
  transform-origin: top left; background: var(--paper);
}
.header {
  position: absolute; top: 32px; right: 44px; left: 44px; height: 100px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding-bottom: 16px; border-bottom: 2px solid var(--ink);
}
.verse { width: 680px; min-width: 0; }
.kicker { font-size: 11px; color: #66675e; margin-bottom: 2px; }
#daily-verse { font-size: 23px; font-weight: 500; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
#verse-reference { font-size: 11px; color: #66675e; margin-top: 2px; }
.date { flex: 0 0 155px; text-align: left; font-size: 15px; line-height: 1.9; }
.date strong { display: block; font-size: 22px; font-weight: 500; }
.date span { display: block; }
.tasks { position: absolute; top: 150px; right: 44px; left: 44px; height: 434px; }
.list-heading { height: 32px; display: flex; align-items: start; justify-content: space-between; }
h2 { font-size: 18px; font-weight: 500; margin: 0; }
#counter { font-size: 14px; color: #66675e; }
#focus-slot { height: 108px; padding: 13px 20px; margin-bottom: 14px; border: 1.5px solid var(--ink); }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.task-column { min-width: 0; }
.task {
  height: 56px; display: flex; align-items: center; gap: 13px;
  border-bottom: 1px solid var(--rule); cursor: pointer; touch-action: manipulation;
}
.task input {
  appearance: none; -webkit-appearance: none; margin: 0;
  width: 23px; height: 23px; flex: 0 0 23px;
  border: 1.5px solid var(--ink); border-radius: 0; background: transparent;
}
.task input:checked { background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); }
.task input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.task-copy { flex: 1; min-width: 0; }
.task-title {
  display: block; font-size: 16px; font-weight: 400; line-height: 1.3;
  max-height: 42px; overflow-wrap: anywhere; overflow: hidden;
}
.task-project { display: block; font-size: 10px; line-height: 1.8; color: #66675e; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#focus-slot .task { height: 78px; border: 0; gap: 15px; }
#focus-slot .task-title { font-size: 24px; font-weight: 600; line-height: 1.3; max-height: 56px; }
#focus-slot .task-project { font-size: 11px; line-height: 1.8; margin-top: 2px; }
#focus-slot .task input { width: 25px; height: 25px; flex-basis: 25px; }
.done .task-title { text-decoration: line-through; color: #73746b; }
.reminders {
  position: absolute; top: 610px; right: 44px; left: 44px; height: 78px;
  display: grid; grid-template-columns: 150px 1fr 1fr; align-items: center;
  gap: 24px; padding: 0 22px; background: var(--ink); color: var(--paper);
}
.reminders h2, .reminder span { font-size: 17px; }
.reminder { padding-right: 22px; border-right: 1px solid #77786f; min-width: 0; }
.reminder span { display: block; line-height: 1.6; }
#viewport-damage {
  position: fixed; bottom: 0; left: 0; width: 100%; height: 8%;
  background: #111210; z-index: 20; pointer-events: none;
}
.date small { display: block; font-size: 9px; line-height: 1.6; margin-top: 4px; }
.task input:disabled { opacity: .5; }
.pair-overlay { position: fixed; inset: 0; z-index: 30; background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 30px 30px 12vh; }
.pair-overlay[hidden] { display: none; }
.pair-overlay form { width: 420px; max-width: 100%; }
.pair-overlay p { font-size: 15px; line-height: 1.9; }
.pair-overlay label { display: block; }
.pair-overlay input { display: block; font: inherit; width: 100%; padding: 15px; margin: 12px 0; border: 1px solid var(--ink); background: transparent; direction: ltr; }
.pair-overlay button { font: inherit; padding: 12px 24px; border: 0; color: var(--paper); background: var(--ink); }
.empty-display { font-size: 23px; margin: 8px 0; line-height: 1.8; }
