/* Percy Jackson Watch Checklist — everything scoped under .pjc so the theme and the checklist leave each other alone.
   Palette: Camp Half-Blood orange for the first person, sea blue for the second, bronze for season headings. */
.pjc{
  --pjc-bg:#f4f5f2; --pjc-surface:#ffffff; --pjc-fg:#14201f; --pjc-muted:#62706d; --pjc-line:#dde2dd;
  --pjc-p1:#d4621a; --pjc-p2:#1b6a9e; --pjc-bronze:#8a6a2f; --pjc-done:#9aa5a2;
  --pjc-display:"Cinzel","Trajan Pro",Georgia,"Times New Roman",serif;
  --pjc-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --pjc-top:0px;
  box-sizing:border-box; max-width:560px; margin:0 auto; padding:0 16px 32px;
  background:var(--pjc-bg); color:var(--pjc-fg); font-family:var(--pjc-body); font-size:16px; line-height:1.4;
  border-radius:12px; -webkit-tap-highlight-color:transparent; text-align:left;
}
.admin-bar .pjc{--pjc-top:32px}
@media screen and (max-width:782px){.admin-bar .pjc{--pjc-top:46px}}
.pjc *, .pjc *::before, .pjc *::after{box-sizing:border-box}
.pjc [hidden]{display:none!important}
.pjc button, .pjc input{all:unset; box-sizing:border-box; font-family:var(--pjc-body)}

.pjc-head{position:sticky; top:var(--pjc-top); z-index:50; background:var(--pjc-bg);
  padding:18px 0 12px; display:grid; gap:12px; border-bottom:1px solid var(--pjc-line)}
.pjc-titlewrap{display:grid; gap:2px}
.pjc-kicker{font-size:.7rem; text-transform:uppercase; letter-spacing:.14em; font-weight:600; color:var(--pjc-bronze)}
.pjc .pjc-title{font-family:var(--pjc-display); font-weight:800; font-size:2rem; line-height:1; margin:0; padding:0;
  letter-spacing:.02em; color:var(--pjc-fg); border:0; text-wrap:balance}
.pjc .pjc-title span{display:block; font-weight:600; font-size:.55em; letter-spacing:.08em; color:var(--pjc-muted); margin-top:4px}
.pjc-people{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.pjc-person{display:grid; gap:6px; min-width:0}
.pjc-p1{--pjc-c:var(--pjc-p1)} .pjc-p2{--pjc-c:var(--pjc-p2)}
.pjc-pname{display:flex; align-items:center; gap:6px; min-width:0; margin:0}
.pjc .pjc-pname input{font-weight:600; font-size:1rem; color:var(--pjc-fg); border-bottom:1px dashed var(--pjc-line);
  padding:2px 0; width:100%; min-width:0; cursor:text}
.pjc .pjc-pname input:focus{border-bottom-color:var(--pjc-c)}
.pjc-dot{width:10px; height:10px; border-radius:50%; background:var(--pjc-c); flex:none}
.pjc-pstat{font-size:.85rem; color:var(--pjc-muted); font-variant-numeric:tabular-nums}
.pjc-bar{height:6px; border-radius:3px; background:var(--pjc-line); overflow:hidden}
.pjc-bar span{display:block; height:100%; width:0; background:var(--pjc-c); transition:width .3s ease}

.pjc-controls{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.pjc .pjc-chip{font-size:.85rem; font-weight:500; border:1px solid var(--pjc-line); background:var(--pjc-surface);
  color:var(--pjc-fg); border-radius:999px; padding:6px 12px; cursor:pointer; line-height:1.2}
.pjc .pjc-chip[aria-pressed="true"]{background:var(--pjc-fg); color:var(--pjc-bg); border-color:var(--pjc-fg)}
.pjc-sync{margin-left:auto; font-size:.75rem; color:var(--pjc-muted)}
.pjc button:focus-visible{outline:2px solid var(--pjc-fg); outline-offset:2px}

.pjc-colhead, .pjc-item{display:grid; grid-template-columns:30px minmax(0,1fr) 40px 40px; gap:8px; align-items:center}
.pjc-colhead{padding:10px 2px 4px; font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; font-weight:600; color:var(--pjc-muted)}
.pjc-colhead span:nth-child(n+3){text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.pjc-h1{color:var(--pjc-p1)} .pjc-h2{color:var(--pjc-p2)}

.pjc .pjc-list{list-style:none; margin:0; padding:0}
.pjc .pjc-list > li{margin:0}
.pjc .pjc-list > li::before, .pjc .pjc-list > li::marker{content:none}
.pjc .pjc-season{display:flex; align-items:baseline; justify-content:space-between; gap:12px; flex-wrap:wrap;
  padding:22px 2px 8px; border-bottom:2px solid var(--pjc-bronze)}
.pjc-season-name{font-family:var(--pjc-display); font-weight:700; font-size:1.15rem; letter-spacing:.03em}
.pjc-season-name em{font-style:normal; color:var(--pjc-bronze); font-weight:600}
.pjc-season-stat{font-size:.75rem; color:var(--pjc-muted); font-variant-numeric:tabular-nums}
.pjc .pjc-item{padding:11px 2px; border-bottom:1px solid var(--pjc-line)}
.pjc-num{font-family:var(--pjc-display); font-weight:700; font-size:.85rem; color:var(--pjc-muted); font-variant-numeric:tabular-nums; text-align:right}
.pjc-text{min-width:0; display:grid; gap:3px}
.pjc-name{font-weight:500; line-height:1.3}
.pjc-item.pjc-both .pjc-name{color:var(--pjc-done); text-decoration:line-through; text-decoration-thickness:1px}
.pjc-meta{display:flex; gap:6px; flex-wrap:wrap; font-size:.75rem}
.pjc-tag{text-transform:uppercase; letter-spacing:.06em; font-weight:600; color:var(--pjc-bronze);
  border:1px solid rgba(138,106,47,.45); border-radius:4px; padding:1px 6px}

.pjc .pjc-tick{justify-self:center; width:34px; height:34px; display:grid; place-items:center; cursor:pointer}
.pjc-tick.pjc-p1{--pjc-c:var(--pjc-p1)} .pjc-tick.pjc-p2{--pjc-c:var(--pjc-p2)}
.pjc-box{width:26px; height:26px; border-radius:7px; border:2px solid var(--pjc-c); opacity:.55; display:grid; place-items:center; transition:background .15s,opacity .15s}
.pjc-box svg{width:15px; height:15px; opacity:0; stroke:#fff}
.pjc-tick[aria-checked="true"] .pjc-box{background:var(--pjc-c); opacity:1}
.pjc-tick[aria-checked="true"] svg{opacity:1}
.pjc.pjc-hide-done .pjc-item.pjc-both{display:none}

.pjc-foot{padding-top:22px; display:flex; flex-direction:column; align-items:center; gap:8px}
.pjc .pjc-reset{font-size:.85rem; color:var(--pjc-muted); cursor:pointer; text-decoration:underline; padding:8px}
.pjc-confirm{display:flex; gap:8px; align-items:center; flex-wrap:wrap; justify-content:center; font-size:.9rem}
.pjc .pjc-confirm button{font-size:.85rem; border-radius:999px; padding:6px 14px; cursor:pointer; border:1px solid var(--pjc-line); background:var(--pjc-surface); color:var(--pjc-fg)}
.pjc .pjc-confirm .pjc-yes{background:var(--pjc-fg); border-color:var(--pjc-fg); color:var(--pjc-bg)}
.pjc-allset{text-align:center; padding:28px 0 6px; margin:0; font-family:var(--pjc-display); font-weight:800; font-size:1.4rem; color:var(--pjc-p2)}
@media (prefers-reduced-motion: reduce){.pjc *{transition:none!important}}
