/* November 15 Date Planner — original visual design. */
:root {
  --paper:#f8f7f3;
  --white:#fff;
  --ink:#202723;
  --muted:#69716b;
  --line:#e4e4dc;
  --forest:#265b49;
  --soft:#eaf0eb;
  --ochre:#b8874b;
  --shadow:0 5px 24px rgba(24,35,28,.035)
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
  line-height:1.55
}
button,input {
  font:inherit
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid #9fc1ad;
  outline-offset:2px
}
main {
  max-width:760px;
  margin:auto;
  padding:0 20px 110px
}
.mast {
  padding:28px 0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line)
}
.brand {
  font-size:12px;
  font-weight:780;
  letter-spacing:.18em;
  text-transform:uppercase
}
.date-pill {
  font-size:12px;
  color:var(--muted)
}
.hero {
  padding:37px 0 29px
}
.eyebrow {
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:var(--forest);
  font-weight:750;
  margin:0 0 12px
}
.hero h1 {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(39px,9vw,66px);
  letter-spacing:-.035em;
  line-height:1.01;
  margin:0 0 19px
}
.hero h1 em {
  color:var(--forest);
  font-weight:400
}
.intro {
  font-size:15px;
  color:var(--muted);
  max-width:490px;
  margin:0
}
.meta {
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:22px
}
.meta span {
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:7px;
  align-items:center
}
.dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--forest);
  border-radius:50%
}
.cover {
  background:#d6e0d1;
  border-radius:5px;
  overflow:hidden;
  position:relative;
  height:178px;
  display:flex;
  align-items:flex-end;
  padding:22px;
  color:#1c4a3b
}
.cover:before {
  content:"";
  position:absolute;
  right:-36px;
  top:-115px;
  width:390px;
  height:330px;
  border:55px solid #b7c9b5;
  border-radius:50%;
  opacity:.65
}
.cover:after {
  content:"";
  position:absolute;
  right:65px;
  bottom:-142px;
  width:270px;
  height:270px;
  border:42px solid #eef1dc;
  border-radius:50%;
  opacity:.65
}
.cover b {
  z-index:1;
  font-family:Georgia,serif;
  font-weight:400;
  font-size:29px;
  line-height:1.05
}
.cover small {
  display:block;
  font:600 11px/1.5 system-ui;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:5px
}
.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:10px;
  margin:34px 0 13px
}
.section-head h2 {
  font-family:Georgia,serif;
  font-size:26px;
  font-weight:400;
  letter-spacing:-.02em;
  margin:0
}
.tiny {
  font-size:12px;
  color:var(--muted)
}
.panel {
  border:1px solid var(--line);
  background:var(--white);
  border-radius:8px;
  box-shadow:var(--shadow)
}
.meeting {
  padding:20px
}
.meeting h3 {
  margin:4px 0 8px;
  font-size:18px;
  font-weight:650
}
.meeting label {
  font-size:12px;
  color:var(--muted);
  font-weight:650;
  display:block;
  margin-bottom:8px
}
.fieldline {
  display:flex;
  gap:9px;
  align-items:center
}
.fieldline input {
  border:1px solid #d5dbd4;
  background:#fff;
  color:var(--ink);
  padding:12px;
  border-radius:5px;
  width:100%;
  min-width:0;
  font-size:14px
}
.help {
  font-size:12px;
  color:var(--muted);
  margin:10px 0 0
}
.actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px
}
.btn {
  min-height:43px;
  border-radius:5px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.01em;
  background:var(--forest);
  border:1px solid var(--forest);
  color:#fff;
  gap:7px
}
.btn.ghost {
  color:var(--forest);
  background:var(--white);
  border-color:#cfd9d0
}
.btn.text {
  background:transparent;
  color:var(--forest);
  border:0;
  padding-left:0
}
.btn[disabled] {
  opacity:.45;
  cursor:not-allowed
}
.progress {
  display:flex;
  gap:12px;
  align-items:center;
  margin:15px 0
}
.bar {
  height:5px;
  flex:1;
  background:#e1e5df;
  border-radius:10px;
  overflow:hidden
}
.bar>div {
  width:0;
  background:var(--forest);
  height:100%;
  transition:width .2s
}
.list {
  position:relative
}
.event {
  display:grid;
  grid-template-columns:69px 22px 1fr;
  gap:10px;
  padding:15px 0;
  border-bottom:1px solid var(--line)
}
.event:last-child {
  border-bottom:0
}
.clock {
  font-size:11px;
  font-weight:730;
  color:#5f6861;
  padding-top:3px;
  white-space:pre-line
}
.check {
  width:19px;
  height:19px;
  accent-color:var(--forest);
  margin:2px 0 0
}
.event h3 {
  font-size:15px;
  font-weight:690;
  margin:0 0 4px
}
.event p {
  margin:0 0 9px;
  color:var(--muted);
  font-size:13px;
  max-width:520px
}
.event.done h3 {
  text-decoration:line-through;
  color:#929992
}
.map-link {
  display:inline-flex;
  min-height:32px;
  align-items:center;
  color:var(--forest);
  font-size:12px;
  font-weight:700;
  gap:5px
}
.map-link:after {
  content:'↗';
  font-size:15px
}
.side-note {
  font-size:12px;
  color:var(--muted);
  padding:13px 15px;
  border-left:2px solid var(--ochre);
  background:#f3efe7;
  margin-top:16px
}
.grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px
}
.mini {
  padding:17px
}
.mini h3 {
  font-size:13px;
  margin:0 0 7px
}
.mini p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.route {
  padding:18px;
  margin-bottom:10px
}
.route h3 {
  margin:0 0 8px;
  font-size:15px
}
.route p {
  color:var(--muted);
  font-size:13px;
  margin:0
}
.route .actions {
  margin-top:8px
}
.pack {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px
}
.pack label {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  min-height:48px;
  font-size:13px
}
.pack input {
  width:17px;
  height:17px;
  accent-color:var(--forest)
}
.budget {
  padding:17px
}
.budget-row {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  font-size:13px
}
.budget-row:last-child {
  border:0
}
.budget-row strong {
  white-space:nowrap
}
.foot {
  margin-top:38px;
  text-align:center;
  color:var(--muted);
  font-size:12px
}
.bottomnav {
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  display:flex;
  gap:0;
  justify-content:space-around;
  background:#fff;
  border-top:1px solid var(--line);
  padding:7px 8px calc(8px + env(safe-area-inset-bottom));
  z-index:5
}
.bottomnav a {
  flex:1;
  text-align:center;
  font-size:11px;
  font-weight:650;
  padding:9px 4px;
  color:var(--forest)
}
.bottomnav a span {
  display:block;
  font-size:17px;
  margin-bottom:2px
}
@media(min-width:800px) {
  main {
    padding-bottom:65px
  }
  .bottomnav {
    position:static;
    max-width:760px;
    margin:20px auto;
    background:transparent;
    border:0
  }
  .hero {
    padding-top:51px
  }
  .cover {
    height:218px
  }
  .event {
    grid-template-columns:85px 28px 1fr
  }
}
@media(max-width:355px) {
  main {
    padding:0 13px 105px
  }
  .event {
    grid-template-columns:59px 20px 1fr;
    gap:7px
  }
  .grid {
    grid-template-columns:1fr
  }
  .hero h1 {
    font-size:38px
  }
}
.memory-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px
}
.memory-card {
  padding:18px;
  display:flex;
  flex-direction:column;
  align-items:flex-start
}
.memory-index {
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:760;
  color:var(--forest);
  margin-bottom:9px
}
.memory-card h3 {
  margin:0 0 2px;
  font-size:16px;
  line-height:1.35
}
.memory-card p {
  font-size:13px;
  color:var(--muted);
  margin:7px 0 13px
}
.memory-card .memory-meta {
  font-size:12px;
  color:var(--forest);
  font-weight:680;
  margin:0 0 6px
}
.memory-card .btn {
  margin-top:auto;
  max-width:100%;
  white-space:normal;
  text-align:center
}
.memory-card .memory-extra {
  margin:10px 0 0;
  font-size:12px
}
.memory-extra a {
  color:var(--forest);
  text-decoration:underline;
  text-underline-offset:3px
}
@media(max-width:600px) {
  .memory-list {
    grid-template-columns:1fr
  }
  .memory-card {
    padding:17px
  }
  .memory-card .btn {
    width:100%
  }
}
/* Explicit iOS checkbox appearance;
also works if preview disables JavaScript. */
input[type="checkbox"] {
  -webkit-appearance:checkbox;
  appearance:auto;
  display:inline-block;
  visibility:visible;
  opacity:1;
  flex-shrink:0;
  min-width:18px;
  min-height:18px;
  vertical-align:middle
}
.floor-tag {
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#265b49;
  background:#eaf0eb;
  padding:4px 8px;
  border-radius:4px;
  font-size:11px;
  font-weight:720;
  margin:1px 0 8px;
  line-height:1.4
}
.event.done .floor-tag {
  opacity:.7
}
.progress {
  position:sticky;
  top:0;
  z-index:4;
  background:#f8f7f3;
  padding:10px 0;
  margin:4px 0 7px
}
.progress .bar {
  height:8px
}
.progress #counter {
  font-size:12px;
  font-weight:800;
  color:#265b49;
  min-width:100px;
  text-align:right
}
.event .check {
  width:22px;
  height:22px;
  cursor:pointer
}
.event h3 {
  cursor:pointer
}
.browser-help {
  background:#edf2ed;
  border-left:3px solid #265b49;
  padding:10px 13px;
  border-radius:3px;
  font-size:12px;
  color:#34483c;
  margin:10px 0 16px
}
.floor-guide {
  border:1px solid #d6dfd7;
  background:#fff;
  border-radius:7px;
  padding:13px 15px;
  margin:0 0 14px
}
.floor-guide p {
  margin:4px 0;
  font-size:12px;
  color:#69716b
}
.floor-guide b {
  color:#265b49
}
/* Progressive enhancement: strike through completed activities even if scripts are blocked. */
.event:has(> input.check:checked) h3 {
  text-decoration:line-through;
  text-decoration-thickness:1.5px;
  opacity:.55
}
.event:has(> input.check:checked) {
  background:#f1f5ef
}
/* Accessible, clickable titles for each checklist item. */
.event-title {
  display:block;
  font-size:15px;
  font-weight:690;
  margin:0 0 4px;
  cursor:pointer
}
.event.done .event-title,.event:has(> input.check:checked) .event-title {
  text-decoration:line-through;
  color:#929992
}
