/* === variables & base === */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans";
  color: #e9e9e9;
  background: #0b0b0b;
  line-height: 1.45;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  border-bottom: 1px solid #242424;
  background: #0e0e0e;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.topbar h1 {
  margin: 0;
  font-size: 20px;
}
.topbar .controls {
  display: flex;
  gap: 10px;
  align-items: center;
  /* round nav buttons */
  /* date field with pretty overlay */
}
.topbar .controls .circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #e9e9e9;
  border: 1px solid #242424;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.topbar .controls .circle:hover {
  border-color: rgb(61.5, 61.5, 61.5);
}
.topbar .controls .date-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* pretty text on top of hidden input value */
}
.topbar .controls .date-wrap input[type=date] {
  background: #141414;
  color: transparent;
  /* hide raw text */
  caret-color: transparent;
  /* caret invisible */
  border: 1px solid #242424;
  padding: 10px 16px;
  border-radius: 14px;
  outline: none;
  min-width: 170px;
  /* space for "Sep 20, 2025" */
  /* Make native calendar icon white on Chromium/WebKit */
}
.topbar .controls .date-wrap input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.2);
  opacity: 0.95;
}
.topbar .controls .date-wrap #datePretty {
  position: absolute;
  left: 16px;
  right: 16px;
  color: #e9e9e9;
  white-space: nowrap;
  pointer-events: none;
  font-size: 14px;
}
.topbar .controls button {
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid #242424;
  background: #141414;
  color: #e9e9e9;
  cursor: pointer;
}
.topbar .controls button:hover {
  border-color: rgb(61.5, 61.5, 61.5);
}
.topbar .controls button.danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin: 24px 0;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #141414;
  border: 1px solid #242424;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  padding: 24px;
}
.card h2 {
  margin: 0;
  font-size: 18px;
}
.card .muted {
  color: #bdbdbd;
  margin: 10px 0 16px 0;
  font-size: 14px;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

button.ghost {
  padding: 10px 16px;
  background: #1a1a1a;
  border: 1px dashed #242424;
  border-radius: 14px;
  color: #e9e9e9;
  cursor: pointer;
}
button.ghost:hover {
  border-color: rgb(61.5, 61.5, 61.5);
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px dashed #242424;
  border-radius: 14px;
}
.task-row input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.task-row input[type=text] {
  width: 100%;
  padding: 10px 16px;
  background: #1a1a1a;
  color: #e9e9e9;
  border: 1px solid #242424;
  border-radius: 14px;
  outline: none;
}
.task-row input[type=text]:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.task-row .del {
  background: #1a1a1a;
  border: 1px solid #242424;
  border-radius: 14px;
  padding: 6px 10px;
  color: #bdbdbd;
  cursor: pointer;
}
.task-row .del:hover {
  color: #fff;
  border-color: rgb(61.5, 61.5, 61.5);
}

/* half-hour pairs per row */
.timeblocks {
  display: grid;
  gap: 10px;
}

.time-row {
  display: grid;
  grid-template-columns: 84px 1fr 84px 1fr;
  gap: 10px;
  align-items: stretch;
}
.time-row label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121212;
  border: 1px solid #242424;
  color: #bdbdbd;
  border-radius: 14px;
  font-size: 13px;
  padding: 10px;
  min-height: 44px;
  text-align: center;
}
.time-row textarea {
  width: 100%;
  min-height: 44px;
  resize: vertical;
  background: #1a1a1a;
  color: #e9e9e9;
  padding: 10px 16px;
  border: 1px solid #242424;
  border-radius: 14px;
  outline: none;
}
.time-row textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

@media (max-width: 800px) {
  .time-row {
    grid-template-columns: 70px 1fr 70px 1fr;
  }
}
.footer {
  padding-bottom: 32px;
}
.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* print */
@media print {
  .topbar,
  .footer,
  #addTaskBtn,
  .del {
    display: none !important;
  }
  .topbar {
    color: #fff;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card {
    border-color: #ddd;
    box-shadow: none;
  }
  .task-row,
  .time-row label,
  .time-row textarea {
    border-color: #ccc;
  }
  .card-head h2 {
    color: #fff;
  }
  .card h2 {
    color: #fff;
  }
}/*# sourceMappingURL=style.css.map */