/* Punch List (newtwelve.com/punch-list).
   The list app is light on purpose: it gets used outdoors on phones, and dark-on-paper reads best in sun.
   Brand stays intact: a dark header band, #E8FF24 only as a fill with dark text, Helvetica Neue,
   Instrument Serif italic for one accent word, lit buttons. The landing page (.pll-*) sits on the dark site. */

:root {
  --pl-bg: #f3f1ea;
  --pl-card: #ffffff;
  --pl-ink: #16161b;
  --pl-ink2: #3b3a36;
  --pl-muted: #65625a;
  --pl-line: rgba(22, 22, 27, 0.09);
  --pl-line2: rgba(22, 22, 27, 0.17);
  --pl-accent: #e8ff24;
  --pl-dark: #0b0b0e;
  --pl-dark2: #18181e;
  --pl-cream: #ece9e2;
  --pl-green: #3ddc84;
  --pl-amber: #f2b64c;
  --pl-red: #c4382f;
  --pl-redbg: #fdeceb;
  --pl-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pl-serif: "Instrument Serif", Georgia, serif;
  --pl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pl-r: 18px;
  --pl-addbar-h: 152px;
}

/* ---------- base ---------- */
.pl-body {
  margin: 0;
  background: var(--pl-bg);
  color: var(--pl-ink);
  font-family: var(--pl-sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
}
.pl-body *, .pl-body *::before, .pl-body *::after { box-sizing: border-box; }
:where(.pl-body) :where(button, input, textarea) { font: inherit; color: inherit; }
:where(.pl-body) button { cursor: pointer; }
:where(.pl-body) button:disabled { cursor: default; }
:where(.pl-body) a { color: inherit; }
.pl-body [hidden] { display: none !important; }
.pl-body :focus-visible { outline: 3px solid #2f6fed; outline-offset: 2px; border-radius: 10px; }
.pl-body em { font-family: var(--pl-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pl-offscreen { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pl-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; }
.pl-skip:focus { left: 8px; }

/* ---------- buttons (lit: gradient + 4-layer shadow, press = 1px) ---------- */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--pl-line2);
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ee 100%);
  color: var(--pl-ink); font-size: 16px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12), 0 8px 24px -6px rgba(22, 22, 27, 0.16);
  transition: transform 0.08s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap; user-select: none;
}
.pl-btn:active { transform: translateY(1px); }
.pl-btn .ic { width: 19px; height: 19px; }
.pl-btn-lit {
  border-color: rgba(9, 9, 11, 0.16);
  background: linear-gradient(180deg, #f3ff7a 0%, #e8ff24 55%, #d8ef0c 100%);
  color: #09090b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(232, 255, 36, 0.6);
}
.pl-btn-dark {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #2d2d35 0%, #141418 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(11, 11, 14, 0.5);
}
.pl-btn-ghostdark { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.16); box-shadow: none; }
.pl-btn-danger { color: var(--pl-red); background: transparent; border-color: transparent; box-shadow: none; margin: 8px auto 0; display: flex; }
.pl-btn.is-block { display: flex; width: 100%; min-height: 54px; font-size: 17px; }
.pl-iconbtn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px;
  border: 0; background: transparent; color: var(--pl-muted);
}
.pl-iconbtn:hover { background: rgba(22, 22, 27, 0.05); color: var(--pl-ink); }
.pl-iconbtn:disabled { opacity: 0.3; }
.pl-iconbtn.is-danger { color: var(--pl-red); }
.pl-iconbtn.is-dark { color: var(--pl-cream); }
.pl-iconbtn.is-dark:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.pl-linkbtn { border: 0; background: none; padding: 8px 4px; color: var(--pl-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pl-line2); min-height: 44px; }

/* ---------- chips ---------- */
.pl-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--pl-line2); background: var(--pl-card); color: var(--pl-ink);
  font-size: 15px; font-weight: 500; white-space: nowrap; position: relative;
  transition: background 0.15s, border-color 0.15s, transform 0.08s;
}
.pl-chip:active { transform: translateY(1px); }
.pl-chip .ic { width: 16px; height: 16px; }
.pl-chip.is-sm { min-height: 40px; padding: 0 14px; font-size: 15px; }
.pl-chip.is-xs { min-height: 36px; padding: 0 12px; font-size: 14px; }
.pl-chip.is-on { background: var(--pl-accent); border-color: rgba(9, 9, 11, 0.25); color: #09090b; font-weight: 600; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1); }
.pl-chip.is-ghost { border-style: dashed; background: transparent; color: var(--pl-ink2); }
.pl-chip.is-preset { border-style: dashed; }
.pl-chip.is-preset.is-on { border-style: solid; }
.pl-chip:disabled { opacity: 1; }
.pl-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chiprow.is-tight { gap: 6px; margin-top: 8px; }

/* ---------- loading / gone ---------- */
.pl-boot { min-height: 100vh; display: grid; place-content: center; gap: 14px; justify-items: center; color: var(--pl-muted); }
.pl-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--pl-line2); border-top-color: var(--pl-ink); animation: pl-spin 0.8s linear infinite; }
@keyframes pl-spin { to { transform: rotate(360deg); } }
.pl-gone { max-width: 460px; margin: 0 auto; padding: 22vh 24px 40px; }
.pl-gone h1 { font-size: 40px; line-height: 1; letter-spacing: -0.04em; font-weight: 600; margin: 0 0 14px; }
.pl-gone p { color: var(--pl-muted); margin: 0 0 24px; }

/* ---------- header band (dark) ---------- */
.pl-top {
  background: radial-gradient(120% 140% at 100% 0%, rgba(232, 255, 36, 0.10), transparent 55%), var(--pl-dark);
  color: var(--pl-cream);
  padding: max(10px, env(safe-area-inset-top)) 16px 16px;
  border-radius: 0 0 26px 26px;
}
.pl-top-row { display: flex; align-items: center; gap: 8px; max-width: 1180px; margin: 0 auto; min-height: 56px; }
.pl-home {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px;
  background: var(--pl-accent); color: #09090b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.pl-home .ic { stroke-width: 3; }
.pl-title { flex: 1; min-width: 0; padding-left: 4px; }
.pl-title h1 { margin: 0; font-size: 18px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pl-title p { margin: 1px 0 0; font-size: 13px; color: #9a978e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-share-btn { min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 15px; flex: none; }
.pl-viewonly { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(236, 233, 226, 0.25); color: var(--pl-cream); }

.pl-summary { max-width: 1180px; margin: 12px auto 0; }
.pl-sum-empty { margin: 4px 0 0; color: #9a978e; font-size: 15px; }
.pl-sum-top { display: flex; align-items: center; gap: 14px; }
.pl-sum-ringwrap { position: relative; width: 64px; height: 64px; flex: none; }
.pl-ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.pl-ring circle { fill: none; stroke-width: 7; }
.pl-ring-track { stroke: rgba(236, 233, 226, 0.12); }
.pl-ring-fill { stroke: var(--pl-accent); stroke-linecap: round; transition: stroke-dashoffset 0.6s var(--pl-ease); filter: drop-shadow(0 0 6px rgba(232, 255, 36, 0.45)); }
.pl-sum-pct { position: absolute; inset: 0; display: grid; place-content: center; grid-auto-flow: column; align-items: baseline; font-size: 19px; font-weight: 700; letter-spacing: -0.05em; color: #fff; }
.pl-sum-pct small { font-size: 11px; font-weight: 600; margin-left: 1px; color: #9a978e; letter-spacing: 0; }
.pl-sum-body { min-width: 0; flex: 1; }
.pl-sum-head { margin: 0; font-size: 16px; color: #b9b5ab; }
.pl-sum-head b { font-size: 30px; letter-spacing: -0.045em; color: #fff; margin-right: 3px; }
.pl-sum-line { margin: 2px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14.5px; color: #9a978e; }
.pl-late { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.12); color: #ffc2bd; font-size: 14px; font-weight: 600; }
.pl-late.is-on { background: #ff6b6b; color: #09090b; border-color: #ff6b6b; }
.pl-sum-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.pl-stat {
  display: grid; gap: 2px; justify-items: start; text-align: left; min-height: 58px; padding: 8px 8px 8px 10px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(236, 233, 226, 0.12); background: rgba(236, 233, 226, 0.05); color: #b9b5ab;
}
.pl-stat b { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.pl-stat span { display: flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
.pl-stat.is-on { background: var(--pl-cream); color: #09090b; border-color: var(--pl-cream); }
.pl-stat.is-on b { color: #09090b; }
.pl-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; border: 2px solid currentColor; }
.pl-dot.is-open { border-color: #c9c5bc; }
.pl-dot.is-doing { border-color: var(--pl-amber); background: linear-gradient(90deg, var(--pl-amber) 50%, transparent 50%); }
.pl-dot.is-done { border-color: var(--pl-green); background: var(--pl-green); }
.pl-dot.is-verified { border-color: var(--pl-accent); background: var(--pl-accent); }
.pl-sync { max-width: 1180px; margin: 12px auto 0; font-size: 12.5px; color: #8b887f; display: flex; align-items: center; gap: 7px; min-height: 16px; }
.pl-sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pl-green); box-shadow: 0 0 8px rgba(61, 220, 132, 0.7); }
.pl-sync.is-saving::before, .pl-sync.is-wait::before { background: var(--pl-amber); box-shadow: none; animation: pl-pulse 1s infinite; }
.pl-sync.is-offline::before, .pl-sync.is-error::before { background: #ff6b6b; box-shadow: none; }
.pl-sync.is-offline, .pl-sync.is-error { color: #ffb3ad; }
@keyframes pl-pulse { 50% { opacity: 0.35; } }

.pl-ready, .pl-signed {
  max-width: 1180px; margin: 14px auto 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 12px 12px 16px; border-radius: 16px; background: rgba(236, 233, 226, 0.06); border: 1px solid rgba(236, 233, 226, 0.14);
}
.pl-ready > div { flex: 1; min-width: 200px; font-size: 15px; color: #c9c5bc; }
.pl-ready b { color: #fff; }
.pl-signed { color: #c9c5bc; font-size: 14.5px; }
.pl-signed b { color: #fff; }
.pl-signed > .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--pl-accent); color: #09090b; stroke-width: 3; }
.pl-signed span { flex: 1; min-width: 0; }

/* ---------- toolbar ---------- */
.pl-toolbar { position: sticky; top: 0; z-index: 20; background: rgba(243, 241, 234, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 10px 16px 6px; }
.pl-toolbar-row { display: flex; align-items: center; gap: 8px; max-width: 1180px; margin: 0 auto; }
.pl-toolbar-row.is-sub { flex-wrap: wrap; justify-content: space-between; }
.pl-toolbar-row.is-sub:has(> :not([hidden])) { padding-top: 8px; }
.pl-modes { flex: 1; min-width: 0; display: flex; padding: 4px; gap: 2px; background: rgba(22, 22, 27, 0.06); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.pl-modes::-webkit-scrollbar { display: none; }
.pl-mode { flex: 1; border: 0; background: transparent; min-height: 40px; padding: 0 10px; border-radius: 11px; font-size: 15px; font-weight: 500; color: var(--pl-ink2); white-space: nowrap; }
.pl-mode[aria-selected="true"] { background: var(--pl-card); color: var(--pl-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 4px 12px -4px rgba(0, 0, 0, 0.12); }
.pl-mode.is-wide { display: none; }
.pl-filterbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--pl-line2); background: var(--pl-card); font-size: 15px; font-weight: 600; }
.pl-filterbtn.is-on { border-color: var(--pl-ink); }
.pl-badge { min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--pl-accent); color: #09090b; font-size: 12px; padding: 0 6px; }
.pl-active { display: flex; gap: 6px; flex-wrap: wrap; }
.pl-fchip { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 8px 0 12px; border-radius: 999px; border: 0; background: var(--pl-ink); color: #fff; font-size: 14px; font-weight: 500; }
.pl-fchip .ic { width: 16px; height: 16px; opacity: 0.7; }
.pl-showdone { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; border: 0; background: none; padding: 0 2px; font-size: 14.5px; color: var(--pl-ink2); font-weight: 500; margin-left: auto; }
.pl-switch { width: 36px; height: 22px; border-radius: 999px; background: rgba(22, 22, 27, 0.18); position: relative; flex: none; transition: background 0.2s; }
.pl-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.2s var(--pl-ease); }
[aria-pressed="true"] > .pl-switch { background: var(--pl-ink); }
[aria-pressed="true"] > .pl-switch::after { transform: translateX(14px); background: var(--pl-accent); }

/* ---------- main list ---------- */
.pl-main { max-width: 1180px; margin: 0 auto; padding: 8px 12px 12px; outline: none; }
.pl-main:not([data-mode="board"]) { max-width: 760px; }
.pl-group { background: var(--pl-card); border-radius: var(--pl-r); margin: 0 0 12px; box-shadow: 0 1px 2px rgba(22, 22, 27, 0.06), 0 10px 30px -18px rgba(22, 22, 27, 0.25); overflow: hidden; }
.pl-group.is-late .pl-group-title h2 { color: var(--pl-red); }
.pl-group.is-muted .pl-group-title h2 { color: var(--pl-muted); }
.pl-group-head { display: flex; align-items: center; gap: 8px; padding: 14px 8px 8px 16px; }
.pl-group-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pl-group-title h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.025em; }
.pl-group-count { font-size: 13.5px; color: var(--pl-muted); }
.pl-bar { display: block; height: 6px; margin: 0 16px 6px; border-radius: 999px; background: rgba(22, 22, 27, 0.07); overflow: hidden; }
.pl-bar i { display: block; height: 100%; border-radius: inherit; background: var(--pl-ink); transition: width 0.5s var(--pl-ease); }
.pl-bar.is-full i { background: linear-gradient(90deg, var(--pl-accent), #d8ef0c); }
.pl-items { list-style: none; margin: 0; padding: 0; }
.pl-item { display: flex; align-items: center; gap: 2px; padding: 0 10px 0 4px; border-top: 1px solid var(--pl-line); min-height: 62px; }
.pl-item.is-new { animation: pl-new 1.6s var(--pl-ease); }
@keyframes pl-new { 0% { background: rgba(232, 255, 36, 0.55); } 100% { background: transparent; } }
.pl-item-main { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 12px 6px 12px 2px; display: flex; flex-direction: column; gap: 5px; min-height: 60px; justify-content: center; }
.pl-item-title { font-size: 16.5px; line-height: 1.3; font-weight: 500; color: var(--pl-ink); overflow-wrap: anywhere; }
.pl-item.is-done .pl-item-title, .pl-item.is-verified .pl-item-title { color: var(--pl-muted); text-decoration: line-through; text-decoration-color: rgba(22, 22, 27, 0.35); }
.pl-item-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13.5px; color: var(--pl-muted); }
.pl-m { display: inline-flex; align-items: center; gap: 4px; }
.pl-m .ic { width: 14px; height: 14px; }
.pl-m.is-late { color: var(--pl-red); font-weight: 600; }
.pl-m.is-today { color: var(--pl-ink); font-weight: 600; }
.pl-m.is-flag { color: var(--pl-red); font-weight: 600; }
.pl-m.is-doing { color: #8a5a00; font-weight: 600; }
.pl-m.is-verified { color: var(--pl-ink); font-weight: 600; background: var(--pl-accent); padding: 0 6px; border-radius: 4px; }

/* status circle: 48px tap target, 28px mark */
.pl-circle { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 0; background: none; padding: 0; }
.pl-circle > i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid #6f6c64; transition: background 0.15s, border-color 0.15s, transform 0.12s; }
.pl-circle .ic { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
button.pl-circle:active > i { transform: scale(0.88); }
.pl-circle.is-doing > i { border-color: #d99a1e; background: linear-gradient(90deg, var(--pl-amber) 50%, #fff 50%); }
.pl-circle.is-done > i { border-color: var(--pl-green); background: var(--pl-green); }
.pl-circle.is-done .ic { opacity: 1; color: #09090b; }
.pl-circle.is-verified > i { border-color: var(--pl-ink); background: var(--pl-ink); box-shadow: 0 0 0 3px var(--pl-accent); }
.pl-circle.is-verified .ic { opacity: 1; color: var(--pl-accent); }

.pl-thumb { width: 52px; height: 52px; flex: none; border-radius: 12px; overflow: hidden; border: 0; padding: 0; position: relative; background: #e9e6de; }
.pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-thumb b { position: absolute; right: 3px; bottom: 3px; min-width: 20px; height: 20px; border-radius: 999px; background: rgba(9, 9, 11, 0.8); color: #fff; font-size: 11.5px; display: grid; place-items: center; padding: 0 5px; }
.pl-group-clear { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 16px; border-top: 1px solid var(--pl-line); color: var(--pl-muted); font-size: 15px; }
.pl-group-clear .ic { width: 18px; height: 18px; color: #1b8a4c; }
.pl-group-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 8px 6px; border-top: 1px solid var(--pl-line); }
.pl-addhere { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; min-height: 44px; padding: 0 8px; color: var(--pl-muted); font-size: 15px; font-weight: 500; border-radius: 10px; }
.pl-addhere:hover { color: var(--pl-ink); background: rgba(22, 22, 27, 0.04); }
.pl-addhere .ic { width: 18px; height: 18px; }
.pl-group-foot .pl-linkbtn { font-size: 14.5px; color: var(--pl-muted); }

/* empty state that teaches */
.pl-empty { background: var(--pl-card); border-radius: 22px; padding: 26px 20px 28px; box-shadow: 0 1px 2px rgba(22, 22, 27, 0.06), 0 10px 30px -18px rgba(22, 22, 27, 0.25); }
.pl-empty h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; }
.pl-empty h2 em { font-size: 1.1em; }
.pl-empty p { margin: 0 0 16px; color: var(--pl-muted); font-size: 16px; }
.pl-empty .pl-empty-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pl-ink); display: inline-block; background: var(--pl-accent); padding: 3px 8px; border-radius: 5px; }
.pl-empty .pl-presets + .pl-empty-kicker { margin-top: 30px; }
.pl-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-empty.is-small { text-align: center; padding: 30px 20px; }

/* board (desktop) */
.pl-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.pl-col { background: rgba(22, 22, 27, 0.045); border-radius: var(--pl-r); padding: 10px; min-height: 240px; border: 2px dashed transparent; transition: border-color 0.15s, background 0.15s; }
.pl-col.is-over { border-color: var(--pl-ink); background: rgba(232, 255, 36, 0.2); }
.pl-col header { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.pl-col header h2 { margin: 0; font-size: 15px; font-weight: 700; flex: 1; }
.pl-col header span { font-size: 13px; color: var(--pl-muted); font-weight: 600; }
.pl-col .pl-dot.is-open { border-color: #6f6c64; }
.pl-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-card { background: var(--pl-card); border-radius: 14px; box-shadow: 0 1px 2px rgba(22, 22, 27, 0.08), 0 6px 16px -10px rgba(22, 22, 27, 0.3); }
.pl-card[draggable="true"] { cursor: grab; }
.pl-card.is-drag { opacity: 0.4; }
.pl-card-main { width: 100%; text-align: left; border: 0; background: none; padding: 12px 14px; display: grid; gap: 5px; }
.pl-card-room { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--pl-muted); }
.pl-card-title { font-size: 15.5px; font-weight: 500; line-height: 1.3; }
.pl-col-empty { text-align: center; color: var(--pl-muted); font-size: 14px; padding: 30px 0; margin: 0; }

.pl-foot { text-align: center; color: var(--pl-muted); font-size: 13.5px; padding: 8px 16px calc(var(--pl-addbar-h) + 28px); }
.pl-foot a { color: var(--pl-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--pl-line2); }
body:not(.can-edit) .pl-foot { padding-bottom: 40px; }

/* ---------- add bar (thumb zone) ---------- */
.pl-addbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--pl-line);
  box-shadow: 0 -10px 30px -12px rgba(22, 22, 27, 0.18);
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
}
.pl-addbar-in { max-width: 760px; margin: 0 auto; }
.pl-addlabel { margin: 0; padding: 2px 16px 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pl-muted); }
.pl-addlabel .is-warn { color: var(--pl-red); }
.pl-addrooms { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; scroll-padding: 0 16px; }
.pl-addrooms::-webkit-scrollbar { display: none; }
.pl-addrooms .pl-chip { flex: none; min-height: 40px; }
.pl-addrooms.is-shake { animation: pl-shake 0.4s; }
@keyframes pl-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.pl-addform { display: flex; gap: 8px; padding: 0 12px 0 16px; }
.pl-addform input {
  flex: 1; min-width: 0; min-height: 54px; font-size: 17px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--pl-line2); background: #faf9f6; outline: none;
}
.pl-addform input:focus { border-color: var(--pl-ink); background: #fff; box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.55); }
.pl-addbtn { min-height: 54px; padding: 0 22px; font-size: 17px; font-weight: 700; border-radius: 14px; }

/* ---------- sheets ---------- */
.pl-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(9, 9, 11, 0.42); opacity: 0; transition: opacity 0.2s; }
.pl-scrim.is-on { opacity: 1; }
.pl-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--pl-bg); border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%); transition: transform 0.26s var(--pl-ease);
  padding: 0 0 max(20px, env(safe-area-inset-bottom));
}
.pl-sheet.is-on { transform: none; }
.pl-grab { width: 40px; height: 5px; border-radius: 999px; background: rgba(22, 22, 27, 0.2); margin: 8px auto 0; }
.pl-sheet-body { padding: 0 16px; }
body.is-sheet { overflow: hidden; }
.pl-sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0 14px; position: sticky; top: 0; background: var(--pl-bg); z-index: 2; }
.pl-sheet-head > div { flex: 1; min-width: 0; }
.pl-sheet-head h2 { margin: 6px 0 0; font-size: 24px; letter-spacing: -0.035em; line-height: 1.1; font-weight: 700; }
.pl-sheet-head h2 em { font-size: 1.12em; }
.pl-sheet-head p { margin: 6px 0 0; color: var(--pl-muted); font-size: 15px; }
.pl-sheet-head.is-item { align-items: center; padding-bottom: 6px; }
.pl-sheet-room { flex: 1; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--pl-muted); }
.pl-sheet-close { min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--pl-line2); background: var(--pl-card); font-weight: 700; font-size: 16px; flex: none; }

.pl-title-input {
  width: 100%; resize: none; border: 0; background: transparent; font-size: 24px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.2; padding: 4px 0 12px; outline: none; overflow: hidden; border-bottom: 1.5px solid transparent;
}
.pl-title-input:focus { border-bottom-color: var(--pl-ink); }
.pl-status { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 16px; }
.pl-status-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 76px; padding: 8px 4px;
  border-radius: 16px; border: 1.5px solid var(--pl-line2); background: var(--pl-card); font-size: 13.5px; font-weight: 600; color: var(--pl-ink2);
}
.pl-status-btn .pl-circle { width: 32px; height: 32px; }
.pl-status-btn[aria-checked="true"] { border-color: var(--pl-ink); color: var(--pl-ink); box-shadow: 0 0 0 3px rgba(22, 22, 27, 0.08); }
.pl-status-btn.is-verified[aria-checked="true"] { background: var(--pl-accent); border-color: rgba(9, 9, 11, 0.3); }
.pl-status-btn:disabled { color: var(--pl-ink2); }

.pl-fields { background: var(--pl-card); border-radius: var(--pl-r); padding: 2px 14px; }
.pl-field { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--pl-line); align-items: start; }
.pl-field:first-child { border-top: 0; }
.pl-field-label { display: flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--pl-muted); font-weight: 500; min-height: 40px; }
.pl-field-label .ic { width: 17px; height: 17px; }
.pl-field-ctl { min-width: 0; }
.pl-field-ctl .pl-chiprow { gap: 6px; }
.pl-input {
  width: 100%; min-height: 48px; font-size: 16px; padding: 11px 14px; border-radius: 12px;
  border: 1.5px solid var(--pl-line2); background: #faf9f6; outline: none; resize: none;
}
.pl-input:focus { border-color: var(--pl-ink); background: #fff; box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.5); }
.pl-input[readonly] { background: transparent; border-color: transparent; padding-left: 0; }
.pl-input.is-big { font-size: 19px; min-height: 56px; }
.pl-input.is-warn { border-color: var(--pl-red); }
.pl-notes { min-height: 84px; line-height: 1.45; }
.pl-toggle { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; min-height: 40px; font-size: 15px; color: var(--pl-ink2); }
.pl-toggle[aria-pressed="true"] .pl-switch { background: var(--pl-red); }
.pl-toggle[aria-pressed="true"] .pl-switch::after { background: #fff; }
.pl-date { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.pl-chip.is-pick { overflow: hidden; }
.pl-due-note { flex-basis: 100%; font-size: 13.5px; color: var(--pl-muted); padding-top: 2px; }
.pl-due-note.is-late { color: var(--pl-red); font-weight: 600; }

.pl-block { margin-top: 22px; }
.pl-block h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pl-muted); }
.pl-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pl-photo { margin: 0; }
.pl-photo-open { display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: #e9e6de; }
.pl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pl-photo figcaption { font-size: 12px; color: var(--pl-muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-photo.is-uploading img { aspect-ratio: 1; object-fit: cover; border-radius: 14px; opacity: 0.5; }
.pl-photo.is-uploading figcaption { animation: pl-pulse 1s infinite; }
.pl-photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pl-photo-actions .pl-btn { position: relative; overflow: hidden; padding: 0 10px; }
.pl-file { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; font-size: 0; }
.pl-none { color: var(--pl-muted); font-size: 15px; margin: 0; grid-column: 1 / -1; list-style: none; }
.pl-comments { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.pl-comments li:not(.pl-none) { background: var(--pl-card); border-radius: 14px; padding: 10px 14px; }
.pl-c-head { margin: 0 0 3px; display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.pl-c-head time { margin-left: auto; color: var(--pl-muted); font-size: 12.5px; }
.pl-role { font-size: 12px; color: var(--pl-muted); }
.pl-c-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; }
.pl-comment-new { display: flex; gap: 8px; align-items: flex-end; }
.pl-comment-new .pl-input { flex: 1; }
.pl-meta { font-size: 13.5px; color: var(--pl-muted); margin: 22px 0 4px; line-height: 1.5; }
.pl-meta b { color: var(--pl-ink2); font-weight: 600; }

.pl-form { display: grid; gap: 8px; padding-bottom: 8px; }
.pl-form .pl-chiprow { margin: 2px 0 10px; }
.pl-form .pl-btn.is-block { margin-top: 10px; }
.pl-label { font-size: 14px; font-weight: 600; color: var(--pl-ink2); margin: 8px 0 0; }

.pl-share { background: var(--pl-card); border-radius: var(--pl-r); padding: 16px; margin-bottom: 12px; }
.pl-share.is-view { background: transparent; border: 1px solid var(--pl-line2); }
.pl-share-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; font-size: 16px; }
.pl-share-k .ic { width: 18px; height: 18px; }
.pl-linkbox { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--pl-bg); font-size: 14px; color: var(--pl-ink2); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.pl-share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-share-btns .pl-btn-lit { grid-column: 1 / -1; }
.pl-share-btns.is-two .pl-btn { grid-column: auto; }
.pl-note { margin: 14px 0 0; font-size: 14.5px; color: var(--pl-muted); line-height: 1.45; }
.pl-note b { color: var(--pl-ink); }
.pl-share.is-view .pl-linkbox { background: var(--pl-card); }
.pl-share .pl-sub { margin: -4px 0 10px; font-size: 14.5px; color: var(--pl-muted); }

.pl-menu { background: var(--pl-card); border-radius: var(--pl-r); overflow: hidden; }
.pl-menu-row { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; border: 0; background: none; padding: 14px 16px; min-height: 64px; border-top: 1px solid var(--pl-line); }
.pl-menu-row:first-child { border-top: 0; }
.pl-menu-row:hover { background: rgba(22, 22, 27, 0.03); }
.pl-menu-row:disabled { opacity: 0.35; }
.pl-menu-row > span { flex: 1; display: grid; gap: 2px; }
.pl-menu-row b { font-size: 16.5px; font-weight: 600; }
.pl-menu-row small { font-size: 14px; color: var(--pl-muted); }
.pl-menu-row .is-chev { width: 18px; height: 18px; color: var(--pl-muted); }
.pl-menu-row.is-danger { color: var(--pl-red); }
.pl-fine { font-size: 13.5px; color: var(--pl-muted); text-align: center; margin: 16px 0 6px; }

.pl-activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.pl-activity li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--pl-line); }
.pl-activity li:first-child { border-top: 0; }
.pl-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--pl-ink); color: var(--pl-accent); font-weight: 700; font-size: 15px; }
.pl-activity p { margin: 0; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }
.pl-activity time { display: block; font-size: 13px; color: var(--pl-muted); margin-top: 2px; }

.pl-roomlist { list-style: none; margin: 0 0 12px; padding: 0 6px 0 0; background: var(--pl-card); border-radius: var(--pl-r); }
.pl-roomlist li { display: flex; align-items: center; border-top: 1px solid var(--pl-line); }
.pl-roomlist li:first-child { border-top: 0; }
.pl-roomname { flex: 1; text-align: left; border: 0; background: none; padding: 12px 16px; min-height: 56px; display: grid; }
.pl-roomname small { color: var(--pl-muted); font-size: 13.5px; }

.pl-filters section { margin-bottom: 18px; }
.pl-filters h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--pl-muted); }
.pl-filter-foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: sticky; bottom: 0; background: var(--pl-bg); padding: 10px 0 4px; }

.pl-signbox { background: var(--pl-card); border-radius: var(--pl-r); padding: 16px; }
.pl-signbox p { margin: 0 0 8px; font-size: 16px; }
.pl-signbox p:last-child { margin: 0; color: var(--pl-muted); font-size: 15px; }
.pl-signas { font-size: 15px; color: var(--pl-ink2); margin: 10px 0 0; }

/* photo viewer */
.pl-viewer { position: fixed; inset: 0; z-index: 60; background: rgba(9, 9, 11, 0.94); display: flex; flex-direction: column; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.pl-viewer img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.pl-viewer-bar { display: flex; align-items: center; gap: 8px; padding-top: 12px; color: #c9c5bc; font-size: 14px; }
.pl-viewer-bar span { flex: 1; }

/* toast */
.pl-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); width: max-content;
  background: var(--pl-dark); color: #fff; padding: 8px 8px 8px 18px; min-height: 52px; border-radius: 16px; font-size: 15px;
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.5); transition: opacity 0.2s, transform 0.25s var(--pl-ease);
}
.pl-toast:not(:has(button)) { padding-right: 18px; }
.pl-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
body.can-edit .pl-toast { bottom: calc(var(--pl-addbar-h) + 12px); }
body.is-sheet .pl-toast { bottom: 24px; }
.pl-toast-btn { min-height: 40px; padding: 0 14px; border-radius: 11px; border: 0; background: var(--pl-accent); color: #09090b; font-weight: 700; }

.pl-print { display: none; }

/* ---------- wider screens ---------- */
@media (min-width: 900px) {
  .pl-top { padding: 14px 28px 20px; }
  .pl-title h1 { font-size: 22px; }
  .pl-ring, .pl-sum-ringwrap { width: 84px; height: 84px; }
  .pl-sum-pct { font-size: 25px; }
  .pl-summary { display: flex; align-items: center; gap: 28px; }
  .pl-sum-top { flex: 1; }
  .pl-sum-stats { margin-top: 0; flex: 0 1 560px; }
  .pl-stat { min-height: 64px; padding: 10px 14px; }
  .pl-stat b { font-size: 24px; }
  .pl-stat span { font-size: 13.5px; }
  .pl-toolbar { padding: 14px 28px 10px; }
  .pl-toolbar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
  .pl-toolbar-row, .pl-toolbar-row.is-sub { display: contents; }
  .pl-active { order: 1; margin-left: auto; }
  .pl-showdone { order: 2; margin-left: auto; }
  .pl-active:not([hidden]) + .pl-showdone { margin-left: 4px; }
  .pl-filterbtn { order: 3; }
  .pl-modes { flex: 0 1 auto; }
  .pl-mode { flex: 0 0 auto; padding: 0 18px; }
  .pl-mode.is-wide { display: block; }
  .pl-main, .pl-main:not([data-mode="board"]) { max-width: 1236px; padding: 12px 28px 12px; }
  .pl-main:not([data-mode="board"]) { columns: 2 420px; column-gap: 14px; }
  .pl-main:not([data-mode="board"]) > * { break-inside: avoid; }
  .pl-main:not([data-mode="board"]) > .pl-empty { column-span: all; max-width: 760px; margin: 0 auto; }
  .pl-addbar { left: 50%; right: auto; bottom: 16px; width: min(760px, calc(100% - 48px)); transform: translateX(-50%); border-radius: 22px; border: 1px solid var(--pl-line2); padding: 10px 0 12px; }
  .pl-sheet { left: auto; top: 0; right: 0; bottom: 0; width: 480px; max-height: none; border-radius: 24px 0 0 24px; transform: translateX(100%); }
  .pl-sheet.is-on { transform: none; }
  .pl-grab { display: none; }
  .pl-sheet-body { padding: 8px 24px; }
}
@media (max-width: 599px) {
  .pl-field { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .pl-field-label { min-height: 0; }
}
@media (max-width: 380px) {
  .pl-share-btn { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-body *, .pl-body *::before, .pl-body *::after { animation: none !important; transition: none !important; }
}

/* ---------- print: a clean checklist for the final walkthrough ---------- */
@media print {
  @page { margin: 14mm 12mm; }
  .pl-body { background: #fff; }
  .pl-body > *:not(.pl-print) { display: none !important; }
  .pl-print { display: block; color: #16161b; font-size: 11pt; }
  .pp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 2pt solid #16161b; padding-bottom: 10pt; margin-bottom: 14pt; }
  .pp-k { margin: 0; display: inline-block; background: #e8ff24; padding: 2pt 6pt; font-size: 8.5pt; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pp-head h1 { margin: 6pt 0 2pt; font-size: 22pt; letter-spacing: -0.03em; }
  .pp-head p { margin: 0; color: #55524b; }
  .pp-sum { text-align: right; display: grid; gap: 1pt; color: #55524b; font-size: 9.5pt; }
  .pp-sum b { font-size: 24pt; color: #16161b; letter-spacing: -0.04em; }
  .pp-room { break-inside: auto; margin-bottom: 14pt; }
  .pp-room h2 { font-size: 13pt; margin: 0 0 4pt; display: flex; justify-content: space-between; align-items: baseline; break-after: avoid; }
  .pp-room h2 span { font-size: 9pt; font-weight: 400; color: #55524b; }
  .pp-room table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .pp-room th:nth-child(3), .pp-room td:nth-child(3) { width: 78pt; }
  .pp-room th:nth-child(4), .pp-room td:nth-child(4) { width: 86pt; }
  .pp-room th:nth-child(5), .pp-room td:nth-child(5) { width: 52pt; }
  .pp-room th { text-align: left; font-size: 8pt; text-transform: uppercase; letter-spacing: 0.06em; color: #55524b; border-bottom: 1pt solid #16161b; padding: 3pt 4pt; }
  .pp-room td { border-bottom: 0.5pt solid #cfccc4; padding: 6pt 4pt; vertical-align: top; }
  .pp-room tr { break-inside: avoid; }
  .pp-room td small { display: block; color: #55524b; font-size: 9pt; margin-top: 2pt; }
  .pp-room tr.is-done td b { text-decoration: line-through; color: #55524b; font-weight: 400; }
  .pp-box { width: 22pt; }
  .pp-check { display: inline-grid; place-items: center; width: 12pt; height: 12pt; border: 1.2pt solid #16161b; border-radius: 2pt; font-size: 9pt; font-weight: 700; }
  .pp-sign { margin-top: 22pt; break-inside: avoid; }
  .pp-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 30pt; margin-top: 30pt; }
  .pp-lines i { display: block; border-bottom: 1pt solid #16161b; height: 24pt; }
  .pp-lines span { font-size: 9pt; color: #55524b; }
  .pp-foot { margin-top: 24pt; font-size: 8.5pt; color: #8b887f; text-align: center; }
}

/* ---------- demo + delete ---------- */
.pl-demobar { max-width: 1180px; margin: -4px auto 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #b9b5ab; }
.pl-demobar b { background: var(--pl-accent); color: #09090b; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.pl-sync.is-demo { display: none; }
.pl-sync.is-demo::before { background: var(--pl-accent); box-shadow: 0 0 8px rgba(232, 255, 36, 0.6); }
.pl-menu-row.is-danger small { color: var(--pl-red); opacity: 0.8; }
.pl-delbox { background: var(--pl-redbg); border: 1px solid rgba(196, 56, 47, 0.25); border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; color: #5a1d18; }
.pl-delbox p { margin: 0; line-height: 1.45; }
.pl-delbox p + p { margin-top: 8px; }
.pl-btn-delete { background: var(--pl-red); color: #fff; border-color: rgba(0, 0, 0, 0.15); margin-top: 14px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.25); }
.pl-btn-delete:disabled { background: #e9e6df; color: #8b887f; box-shadow: none; border-color: var(--pl-line2); }
.pl-del-cancel { margin-top: 10px; }

/* =====================================================================
   Landing page (newtwelve.com/punch-list), on the dark site
   ===================================================================== */
.pll-hero { padding: clamp(7rem, 14vw, 10rem) 0 3rem; position: relative; }
.pll-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .pll-grid { grid-template-columns: 1.05fr 0.95fr; } }
.pll-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 0.96; letter-spacing: -0.045em; margin: 1.2rem 0 0; max-width: 13ch; }
.pll-hero h1 .serif-it { color: var(--ink); }
.pll-sub { color: var(--ink-dim); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; max-width: 46ch; margin: 1.4rem 0 0; }
.pll-start {
  margin-top: 2rem; background: #111117; border: 1px solid var(--line-strong); border-radius: 22px; padding: 18px;
  max-width: 520px; box-shadow: 0 30px 80px -40px rgba(232, 255, 36, 0.25);
}
.pll-start label { display: block; font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; font-weight: 500; }
.pll-start input {
  width: 100%; min-height: 56px; font-size: 17px; padding: 0 16px; border-radius: 14px; font-family: var(--font-body);
  border: 1px solid var(--line-strong); background: #09090b; color: var(--ink); outline: none;
}
.pll-start input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.15); }
.pll-start input::placeholder { color: #6d6a63; }
.pll-more { display: grid; gap: 8px; margin-top: 8px; grid-template-columns: 1fr 1fr; }
.pll-more[hidden] { display: none; }
.pll-toggle { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.9rem; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.pll-go {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; margin-top: 10px;
  min-height: 58px; border-radius: 15px; border: 1px solid rgba(9, 9, 11, 0.2); cursor: pointer;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: #09090b;
  background: linear-gradient(180deg, #f3ff7a 0%, #e8ff24 55%, #d8ef0c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px -6px rgba(232, 255, 36, 0.55);
  transition: transform 0.08s;
}
.pll-go:active { transform: translateY(1px); }
.pll-go:disabled { opacity: 0.7; }
.pll-fine { font-size: 0.85rem; color: var(--muted); margin: 12px 2px 0; }
.pll-err { color: #ff6b6b; font-size: 0.92rem; margin: 10px 2px 0; }
.pll-mine { margin-top: 1.6rem; max-width: 520px; }
.pll-mine h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; margin: 0 0 10px; }
.pll-mine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pll-mine a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(236, 233, 226, 0.03); color: var(--ink); text-decoration: none; }
.pll-mine a:hover { border-color: var(--line-strong); }
.pll-mine small { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

.pll-steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.pll-steps li { border: 1px solid var(--line-strong); border-radius: 20px; padding: 24px; background: rgba(236, 233, 226, 0.02); }
.pll-steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #09090b; font-weight: 700; margin-bottom: 16px; }
.pll-steps h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.pll-steps p { margin: 0; color: var(--ink-dim); line-height: 1.55; }
.pll-feats { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.pll-feats div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.pll-feats h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; }
.pll-feats p { margin: 0; color: var(--ink-dim); line-height: 1.55; font-size: 0.98rem; }
.pll-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; margin: 0 0 2rem; max-width: 18ch; }
.pll-faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.pll-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.pll-faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.pll-faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.pll-faq details[open] summary::after { content: "\2212"; }
.pll-faq p { color: var(--ink-dim); margin: 12px 0 0; line-height: 1.6; max-width: 64ch; }
.pll-cta { text-align: center; padding: 4rem 0 2rem; }
.pll-cta .pll-go { max-width: 360px; margin: 1.6rem auto 0; text-decoration: none; }

/* hero: copy + live demo */
@media (min-width: 980px) { .pll-grid { align-items: start; } .pll-copy { padding-top: 2.5rem; } }
.pll-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; max-width: 520px; }
.pll-ctas .pll-go { width: auto; flex: 1 1 200px; margin: 0; text-decoration: none; }
.pll-ghost {
  flex: 1 1 160px; display: flex; align-items: center; justify-content: center; min-height: 58px; border-radius: 15px;
  border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-family: var(--font-display);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; background: rgba(236, 233, 226, 0.03);
}
.pll-ghost:hover { border-color: rgba(236, 233, 226, 0.4); }
.pll-copy > .pll-fine { max-width: 520px; }
.pll-have { margin-top: 1.6rem; max-width: 520px; border: 1px solid rgba(232, 255, 36, 0.4); background: rgba(232, 255, 36, 0.05); border-radius: 18px; padding: 16px; }
.pll-have p { margin: 0 0 10px; color: var(--ink-dim); }
.pll-have p b { color: var(--ink); }
.pll-have .pll-go { margin: 0; text-decoration: none; min-height: 52px; font-size: 17px; }

.pll-demo { margin: 0; display: grid; justify-items: center; gap: 14px; }
.pll-demo-cap { font-size: 0.92rem; color: var(--ink-dim); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
.pll-demo-tag { background: var(--accent); color: #09090b; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.pll-phone {
  width: min(400px, 100%); border-radius: 44px; padding: 10px; background: #1a1a20;
  border: 1px solid rgba(236, 233, 226, 0.14); box-shadow: 0 50px 120px -40px rgba(108, 92, 231, 0.45), 0 30px 80px -50px rgba(232, 255, 36, 0.35);
}
.pll-frame { display: block; width: 100%; height: min(780px, 82vh); border: 0; border-radius: 34px; background: #f3f1ea; }
.pll-tries { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 440px; }
.pll-tries li { font-size: 0.8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; }
@media (max-width: 600px) {
  .pll-phone { border-radius: 30px; padding: 6px; }
  .pll-frame { height: 640px; max-height: 78vh; border-radius: 25px; }
}

/* four benefits */
.pll-benefits { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pll-benefits > div { border: 1px solid var(--line-strong); border-radius: 20px; padding: 24px; background: rgba(236, 233, 226, 0.02); }
.pll-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 18px; }
.pll-benefits h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.pll-benefits p { margin: 0; color: var(--ink-dim); line-height: 1.55; }

/* request access */
.pll-req-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 980px) { .pll-req-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.pll-req-sub { color: var(--ink-dim); font-size: 1.08rem; line-height: 1.55; max-width: 44ch; margin: -0.8rem 0 1.8rem; }
.pll-steps.is-compact { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.pll-steps.is-compact li { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; padding: 16px 0 16px 50px; position: relative; }
.pll-steps.is-compact li::before { position: absolute; left: 0; top: 16px; width: 30px; height: 30px; margin: 0; font-size: 0.9rem; }
.pll-steps.is-compact h3 { font-size: 1.05rem; margin: 3px 0 4px; }
.pll-steps.is-compact p { font-size: 0.95rem; }
.pll-req-card { background: #111117; border: 1px solid var(--line-strong); border-radius: 24px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 30px 80px -40px rgba(232, 255, 36, 0.22); scroll-margin-top: 90px; }
.pll-request { scroll-margin-top: 40px; }
.pll-req { display: grid; gap: 14px; }
.pll-field { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.pll-field > label, .pll-field legend { font-size: 0.88rem; color: var(--ink-dim); font-weight: 500; padding: 0; }
.pll-field small { color: var(--muted); font-weight: 400; }
.pll-field input, .pll-field select, .pll-field textarea {
  width: 100%; min-height: 52px; font-size: 16px; padding: 0 14px; border-radius: 13px; font-family: var(--font-body);
  border: 1px solid var(--line-strong); background: #09090b; color: var(--ink); outline: none;
}
.pll-field textarea { padding: 12px 14px; min-height: 92px; resize: vertical; line-height: 1.45; }
.pll-field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b887f 50%), linear-gradient(135deg, #8b887f 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.pll-field input:focus, .pll-field select:focus, .pll-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 255, 36, 0.15); }
.pll-field input::placeholder, .pll-field textarea::placeholder { color: #6d6a63; }
.pll-field .is-bad, .pll-field.is-bad input, input.is-bad, select.is-bad { border-color: #ff6b6b; }
.pll-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.pll-roles legend { width: 100%; margin-bottom: 7px; }
.pll-roles label { position: relative; }
.pll-roles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pll-roles span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); font-size: 15px; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.pll-roles span:hover { border-color: rgba(236, 233, 226, 0.4); }
.pll-roles input:checked + span { background: var(--accent); color: #09090b; border-color: var(--accent); font-weight: 600; }
.pll-roles input:focus-visible + span { outline: 3px solid rgba(232, 255, 36, 0.5); outline-offset: 2px; }
.pll-roles.is-bad span { border-color: #ff6b6b; }
.pll-two { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .pll-two { grid-template-columns: 1fr; } }
.pll-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pll-req .pll-go { margin-top: 4px; }
.pll-req .pll-fine, .pll-req .pll-err { margin-top: 0; }
.pll-done { text-align: center; padding: clamp(24px, 6vw, 56px) 12px; outline: none; }
.pll-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: inline-grid; place-items: center; box-shadow: 0 0 40px rgba(232, 255, 36, 0.35); }
.pll-done-mark svg { width: 30px; height: 30px; fill: none; stroke: #09090b; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pll-done h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.05; margin: 22px 0 10px; }
.pll-done p { color: var(--ink-dim); margin: 0 auto; max-width: 36ch; }
.pll-cta .pll-h2 { margin: 0 auto; max-width: none; }

/* invite page (/punch-list/start) */
.pls-body { margin: 0; background: var(--bg, #09090b); color: var(--ink); min-height: 100vh; }
.pls-head { border-bottom: 1px solid var(--line); }
.pls-head-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.pls-back { color: var(--ink-dim); font-size: 0.92rem; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; }
.pls-main { padding-top: clamp(3rem, 9vw, 6rem); padding-bottom: 5rem; max-width: 640px; }
.pls-h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 0.96; letter-spacing: -0.045em; margin: 1rem 0 0; }
.pls-status { color: var(--muted); margin: 1.2rem 0 0; font-size: 1.05rem; }
.pls-status.is-ok { color: var(--ink-dim); }
.pls-status.is-err { color: #ff6b6b; }
.pls-main .pll-start { margin-top: 1.6rem; }
.pls-bad { margin-top: 2rem; border: 1px solid var(--line-strong); border-radius: 22px; padding: 22px; background: #111117; }
.pls-bad h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 10px; }
.pls-bad p { color: var(--ink-dim); margin: 0 0 18px; }
.pls-bad .pll-go { text-decoration: none; }
.pls-bad .pll-fine { margin: 14px 0 0; }

@media (max-width: 600px) {
  .pll-phone { width: calc(100% + 24px); margin: 0 -12px; padding: 4px; border-radius: 26px; }
  .pll-frame { border-radius: 22px; }
}
.pll-copy.has-invite .pll-ctas .pll-go, .pll-copy.has-invite > .pll-fine { display: none; }
