/* The Checklists page. Built on msz-catalog.css (ct-*); everything here is cl-*.
   The live theme styles bare headings and buttons, so each is set in full. */

.msz-dash.msz-cl h2,.msz-dash.msz-cl h3,.msz-dash.msz-cl h4 { font-family:inherit; text-transform:none;
  letter-spacing:normal; color:var(--ink); }
.msz-dash.msz-cl button { font-family:inherit; }
.msz-cl .cl-sheet svg,.msz-cl .cl-listtools svg,.msz-cl .cl-back svg { width:18px; height:18px; fill:none;
  stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:none; }

/* ------------------------------------------------------------- phases -- */
.msz-cl .cl-phases { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:8px;
  margin:0 0 14px; }
.msz-dash.msz-cl .cl-phase { display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  padding:12px 16px; border-radius:13px; border:1.5px solid var(--line); background:#fff;
  color:var(--ink); text-align:left; cursor:pointer; }
.msz-cl .cl-phase b { font-size:16.5px; font-weight:800; letter-spacing:-.01em; }
.msz-cl .cl-phase span { font-size:12.5px; font-weight:600; color:var(--muted); }
.msz-dash.msz-cl .cl-phase[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.msz-cl .cl-phase[aria-pressed="true"] span { color:rgba(255,255,255,.72); }

/* ------------------------------------------------------------ buttons -- */
.msz-dash.msz-cl .cl-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:42px; padding:0 16px; border-radius:11px; border:1.5px solid var(--line); background:#fff;
  color:var(--ink); font-size:14.5px; font-weight:700; text-decoration:none; cursor:pointer;
  white-space:nowrap; line-height:1; }
.msz-dash.msz-cl .cl-btn.go { background:var(--accent-deep); border-color:var(--accent-deep); color:#fff; }
.msz-dash.msz-cl .cl-btn[disabled] { opacity:.55; cursor:progress; }
.msz-dash.msz-cl .cl-linkbtn { background:none; border:0; padding:0; color:var(--accent-deep);
  font-size:inherit; font-weight:700; text-decoration:underline; text-underline-offset:2px; cursor:pointer; }
.msz-dash.msz-cl .cl-iconbtn { display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:9px; border:1px solid transparent; background:none;
  color:var(--muted); cursor:pointer; padding:0; }
.msz-dash.msz-cl .cl-iconbtn[disabled] { opacity:.3; cursor:default; }
@media (hover:hover) {
  .msz-dash.msz-cl .cl-btn:hover { border-color:#c9ccc4; }
  .msz-dash.msz-cl .cl-btn.go:hover { background:var(--ink); border-color:var(--ink); }
  .msz-dash.msz-cl .cl-phase:hover { border-color:#c9ccc4; }
  .msz-dash.msz-cl .cl-iconbtn:not([disabled]):hover { background:var(--canvas); color:var(--ink); }
  .msz-dash.msz-cl .cl-card:hover { border-color:#bfc3ba; box-shadow:0 2px 10px rgba(18,19,9,.06); }
  .msz-dash.msz-cl .cl-pickone:hover { border-color:var(--accent); background:var(--accent-wash); }
  .msz-dash.msz-cl .cl-task:not([disabled]):hover .cl-box { border-color:var(--accent-deep); }
}

/* --------------------------------------------------------------- list -- */
.msz-cl .cl-listtools { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin:0 0 14px; }
.msz-cl .cl-listtools p { margin:0; flex:1 1 300px; font-size:13.5px; color:var(--muted); line-height:1.45; }
.msz-cl .cl-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:10px; }
.msz-dash.msz-cl .cl-card { display:flex; flex-direction:column; align-items:stretch; gap:4px; text-align:left;
  padding:14px 16px 13px; border-radius:13px; border:1px solid var(--line); background:#fff;
  color:var(--ink); cursor:pointer; min-height:104px; }
.msz-dash.msz-cl .cl-card.is-empty { background:transparent; border-style:dashed; border-color:#cfd2ca; }
.msz-dash.msz-cl .cl-card.is-done { box-shadow:inset 3px 0 0 var(--accent); }
.msz-cl .cl-cardtop { display:flex; align-items:flex-start; gap:10px; }
.msz-cl .cl-cardtop b { flex:1; font-size:15.5px; font-weight:800; line-height:1.25; letter-spacing:-.01em; }
.msz-cl .cl-cardn { font-size:12.5px; font-weight:800; color:var(--accent-deep); background:var(--accent-wash);
  border-radius:99px; padding:2px 8px; white-space:nowrap; }
.msz-cl .cl-cardlead { font-size:13.5px; font-weight:600; color:#3c3f37; }
.msz-cl .cl-cardlead.none { color:var(--muted); font-weight:500; font-style:italic; }
.msz-cl .cl-cardmeta { font-size:12.5px; color:var(--muted); margin-top:auto; }
.msz-cl .cl-bar { display:block; height:5px; border-radius:99px; background:var(--canvas); overflow:hidden; margin-top:6px; }
.msz-cl .cl-bar i { display:block; height:100%; background:var(--accent); border-radius:99px; }
.msz-dash.msz-cl .cl-offhead { margin:28px 0 4px; font-size:17px; font-weight:800; }
.msz-dash.msz-cl .cl-grouphead { margin:22px 0 2px; font-family:inherit; font-size:17px; font-weight:800; letter-spacing:-.01em; color:var(--ink); }
.msz-dash.msz-cl .cl-listtools + .cl-grouphead { margin-top:6px; }
.msz-cl .cl-offnote { margin:0 0 12px; font-size:13px; color:var(--muted); }

/* -------------------------------------------------------- one checklist -- */
.msz-dash.msz-cl .cl-back { display:inline-flex; align-items:center; gap:6px; margin:0 0 12px; padding:6px 2px;
  background:none; border:0; color:var(--accent-deep); font-size:14.5px; font-weight:700; cursor:pointer; }
.msz-cl .cl-sheet { background:#fff; border:1px solid var(--line); border-radius:16px; padding:28px 30px 22px; }
.msz-cl .cl-head { padding-bottom:18px; border-bottom:2px solid var(--ink); margin-bottom:16px; }
.msz-cl .cl-kick { margin:0; font-size:11.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--accent-deep); }
.msz-dash.msz-cl .cl-head h2 { margin:6px 0 4px; font-size:30px; font-weight:800; letter-spacing:-.02em; line-height:1.1; }
.msz-cl .cl-lead { margin:0; font-size:15px; color:#3c3f37; }
.msz-cl .cl-progress { display:flex; align-items:center; gap:12px; margin:12px 0 0; font-size:13.5px; color:var(--muted); }
.msz-cl .cl-progress .cl-bar { flex:0 1 220px; margin:0; height:7px; }
.msz-cl .cl-progress b { color:var(--ink); }
.msz-cl .cl-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }

.msz-cl .cl-cols { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:34px; align-items:start; }
.msz-dash.msz-cl .cl-colhead { margin:0 0 8px; padding-bottom:7px; border-bottom:1px solid var(--line);
  font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.msz-dash.msz-cl .cl-group { margin:18px 0 2px; font-size:13px; font-weight:800; letter-spacing:.06em;
  text-transform:uppercase; color:var(--accent-deep); }
.msz-cl .cl-colhead + .cl-group { margin-top:8px; }
.msz-dash.msz-cl .cl-task { display:flex; align-items:flex-start; gap:13px; width:100%; text-align:left;
  padding:11px 2px; background:none; border:0; border-bottom:1px solid #eceee9; color:var(--ink);
  cursor:pointer; font-size:15.5px; line-height:1.4; border-radius:0; }
.msz-dash.msz-cl .cl-task[disabled] { cursor:default; }
.msz-cl .cl-box { display:inline-flex; align-items:center; justify-content:center; flex:none; width:26px; height:26px;
  margin-top:-1px; border:2px solid #9a9e95; border-radius:7px; background:#fff; transition:background .12s, border-color .12s; }
.msz-cl .cl-sheet .cl-box svg { width:17px; height:17px; stroke:#fff; stroke-width:3; opacity:0; }
.msz-cl .cl-task.on .cl-box { background:var(--accent-deep); border-color:var(--accent-deep); }
.msz-cl .cl-task.on .cl-box svg { opacity:1; }
.msz-cl .cl-task.on .cl-text { color:var(--muted); text-decoration:line-through; text-decoration-color:#b9bdb4; }
.msz-cl .cl-text small { display:block; margin-top:2px; font-size:12px; color:var(--accent-deep); text-decoration:none; font-weight:600; }
.msz-cl .cl-task.on .cl-text small { text-decoration:none; display:block; }
.msz-cl .cl-none { margin:8px 0; font-size:14px; color:var(--muted); line-height:1.5; }
.msz-cl .cl-who { display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin:16px 0 8px; font-size:13px; color:var(--muted); }
.msz-dash.msz-cl .cl-who input { flex:1 1 180px; max-width:260px; height:38px; padding:0 12px; border-radius:9px;
  border:1.5px solid var(--line); font:inherit; font-size:15px; color:var(--ink); background:#fff; }
.msz-cl .cl-tasks > .cl-linkbtn { margin-top:6px; font-size:13px; }

.msz-cl .cl-return { border-radius:11px; background:var(--accent-wash); box-shadow:inset 3px 0 0 var(--accent-deep);
  padding:12px 14px 12px 17px; margin:0 0 22px; }
.msz-cl .cl-return b { display:block; font-size:14.5px; font-weight:800; color:var(--accent-deep); }
.msz-cl .cl-return p { margin:4px 0 0; font-size:13.5px; line-height:1.45; color:#2f332b; }
.msz-cl .cl-supplies { list-style:none; margin:0; padding:0; }
.msz-cl .cl-supply { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:4px 12px; align-items:start;
  padding:10px 0; border-bottom:1px solid #eceee9; }
.msz-cl .cl-code { font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size:13px; font-weight:800;
  color:var(--accent-deep); background:var(--accent-wash); border-radius:6px; padding:3px 7px; white-space:nowrap; }
.msz-cl .cl-sbody { min-width:0; }
.msz-cl .cl-sbody b { display:block; font-size:14.5px; font-weight:700; line-height:1.3; }
.msz-cl .cl-sbody span { display:block; font-size:13px; color:#3c3f37; line-height:1.4; margin-top:2px; overflow-wrap:anywhere; }
.msz-cl .cl-sbody small { display:block; font-size:12px; color:var(--muted); margin-top:2px; }
.msz-cl .cl-supply.gone .cl-code { color:var(--alert); background:var(--alert-wash); }
.msz-cl .cl-supply.gone b { color:var(--alert); }
.msz-cl .cl-snoteview { font-style:normal; font-size:13px; font-weight:800; white-space:nowrap; }
.msz-cl .cl-meta { margin:16px 0 0; font-size:12.5px; color:var(--muted); line-height:1.5; }

/* ------------------------------------------------------------ changing -- */
.msz-cl .cl-hint { margin:0 0 10px; font-size:13px; color:var(--muted); line-height:1.45; }
.msz-cl .cl-erows { list-style:none; margin:0; padding:0; }
.msz-cl .cl-erow { display:grid; grid-template-columns:96px minmax(0,1fr) auto; gap:6px; align-items:center; padding:4px 0; }
.msz-dash.msz-cl .cl-erow select,.msz-dash.msz-cl .cl-erow input,.msz-dash.msz-cl .cl-pick,.msz-dash.msz-cl .cl-notein {
  height:42px; border-radius:9px; border:1.5px solid var(--line); background:#fff; color:var(--ink);
  font:inherit; font-size:15px; padding:0 10px; min-width:0; width:100%; box-sizing:border-box; }
.msz-dash.msz-cl .cl-erow select { font-size:13.5px; padding:0 6px; color:var(--muted); }
.msz-dash.msz-cl .cl-erow.is-head input { font-weight:800; color:var(--accent-deep); }
.msz-dash.msz-cl .cl-erow.is-head select { color:var(--accent-deep); font-weight:700; }
.msz-cl .cl-erow input:focus,.msz-cl .cl-pick:focus,.msz-cl .cl-notein:focus,.msz-cl .cl-who input:focus {
  outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-wash); }
.msz-cl .cl-emove { display:inline-flex; }
.msz-cl .cl-eadd { display:flex; gap:8px; margin:10px 0 0; }
.msz-cl .cl-esupplies .cl-supply { grid-template-columns:auto minmax(0,1fr); }
.msz-cl .cl-snote { grid-column:1 / -1; display:flex; gap:6px; align-items:center; }
.msz-dash.msz-cl .cl-notein { height:36px; font-size:14px; max-width:160px; }
.msz-cl .cl-pickl { display:block; margin:18px 0 6px; font-size:13px; font-weight:700; color:var(--ink); }
.msz-cl .cl-pickl + .cl-hint { margin:-2px 0 8px; }
.msz-cl .cl-own { display:flex; gap:8px; }
.msz-dash.msz-cl .cl-ownin { flex:1; min-width:0; height:42px; }
.msz-dash.msz-cl .cl-own .cl-btn { flex:none; width:auto; }
.msz-cl .cl-owncode { display:inline-flex; align-items:center; padding:3px 6px; }
.msz-cl .cl-owncode svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.msz-cl .cl-picks .cl-pickn + .cl-pickone { margin-top:2px; }
.msz-cl .cl-picks .cl-pickone + .cl-pickn { margin-top:12px; }
.msz-dash.msz-cl .cl-picks + .cl-linkbtn { margin-top:10px; }
.msz-cl .cl-taha { margin-top:18px; padding:14px; border-radius:12px; border:1px solid var(--line); background:var(--canvas); }
.msz-dash.msz-cl .cl-tahahead { margin:0 0 4px; font-family:inherit; font-size:14.5px; font-weight:800; color:var(--ink); }
.msz-cl .cl-trows { list-style:none; margin:10px 0; padding:0; }
.msz-cl .cl-trow { display:grid; grid-template-columns:86px minmax(0,1fr) auto; gap:6px; margin:0 0 10px;
  padding:0 0 10px; border-bottom:1px solid var(--line); }
.msz-cl .cl-trow .cl-tcont { grid-column:1 / 3; }
.msz-cl .cl-trow .cl-iconbtn { grid-row:1; grid-column:3; }
.msz-dash.msz-cl .cl-tin { height:38px; font-size:14px; min-width:0; }
.msz-dash.msz-cl .cl-tcode { font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform:uppercase; }
.msz-cl .cl-tbar { display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
.msz-dash.msz-cl .cl-tbar .cl-btn, .msz-dash.msz-cl .cl-taha > .cl-btn { width:auto; }
.msz-cl .cl-picks { margin-top:8px; max-height:420px; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.msz-cl .cl-pickn { margin:0 0 6px; font-size:12.5px; color:var(--muted); }
.msz-dash.msz-cl .cl-pickone { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:start;
  width:100%; text-align:left; padding:9px 10px; margin:0 0 6px; border-radius:10px; border:1px solid var(--line);
  background:#fff; color:var(--ink); cursor:pointer; }
.msz-cl .cl-pickone > svg { width:18px; height:18px; color:var(--accent-deep); margin-top:2px; }
.msz-cl .cl-savebar { position:sticky; bottom:0; z-index:5; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px;
  margin:20px -30px -22px; padding:12px 30px calc(12px + env(safe-area-inset-bottom, 0px)); background:#fff;
  border-top:1px solid var(--line); border-radius:0 0 16px 16px; }
.msz-cl .cl-msg { flex:1 1 100%; margin:0; font-size:13.5px; color:var(--muted); }
.msz-cl .cl-msg:empty { display:none; }
.msz-cl .cl-msg.bad { color:var(--alert); font-weight:700; }

/* -------------------------------------------------- the opened-by-link page -- */
.msz-cl.is-open .wrap { padding-top:18px; }
.msz-cl.is-open .cl-opentop h1 { margin:0; }

/* -------------------------------------------------------------- phones -- */
@media (max-width:760px) {
  .msz-cl .cl-cols { grid-template-columns:minmax(0,1fr); gap:24px; }
  .msz-cl .cl-sheet { padding:20px 16px 16px; border-radius:14px; }
  .msz-dash.msz-cl .cl-head h2 { font-size:24px; }
  .msz-cl .cl-actions .cl-btn { flex:1 1 auto; }
  .msz-cl .cl-savebar { margin:20px -16px -16px; padding:12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .msz-cl .cl-savebar .cl-btn { flex:1 1 auto; }
  .msz-cl .cl-erow { grid-template-columns:minmax(0,1fr) auto; }
  .msz-cl .cl-erow select { grid-column:1 / -1; height:34px; width:auto; justify-self:start; }
  .msz-cl .cl-cards { grid-template-columns:minmax(0,1fr); }
  .msz-dash.msz-cl .cl-phase { padding:10px 12px; }
  .msz-cl .cl-phase b { font-size:14.5px; line-height:1.2; }
}

/* --------------------------------------------------------------- print -- */
@media print {
  body.cl-printing * { visibility:hidden; }
  body.cl-printing .cl-sheet,body.cl-printing .cl-sheet * { visibility:visible; }
  body.cl-printing .cl-sheet { position:absolute; left:0; top:0; width:100%; border:0; padding:0; box-sizing:border-box; }
  body.cl-printing .cl-actions,body.cl-printing .cl-who,body.cl-printing .cl-linkbtn,
  body.cl-printing .cl-meta,body.cl-printing .cl-progress,body.cl-printing .cl-text small { display:none !important; }
  body.cl-printing .cl-cols { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:28px; }
  body.cl-printing .cl-task.on .cl-box { background:#fff; border-color:#121309; }
  body.cl-printing .cl-task.on .cl-box svg { opacity:0; }
  body.cl-printing .cl-task.on .cl-text { color:#121309; text-decoration:none; }
  body.cl-printing .cl-box { border-color:#121309; }
  body.cl-printing .cl-task { break-inside:avoid; padding:7px 0; }
  .msz-cl .cl-sheet * { -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}
