.checklist-page{padding-bottom:calc(30px + var(--safe-bottom))}.checklist-header{background:linear-gradient(135deg,var(--navy),#075985);color:#fff;padding:calc(16px + env(safe-area-inset-top,0px)) 16px 18px;display:grid;grid-template-columns:46px 1fr 46px;gap:12px;align-items:center}.checklist-header h1{font-size:1.45rem;line-height:1.2;margin:2px 0}.back-link,.editor-link{display:grid;place-items:center;width:46px;height:46px;border:1px solid #ffffff55;border-radius:50%;color:#fff;text-decoration:none;font-size:1.7rem;line-height:1;background:transparent}.checklist-overview{padding:17px}.checklist-overview h2{font-size:1.12rem}.checklist-overview .section-heading>strong{font-size:.76rem;color:var(--blue);white-space:nowrap}.progress-track{height:8px;border-radius:99px;background:var(--line);overflow:hidden;margin-top:14px}.progress-track span{display:block;width:0;height:100%;background:var(--blue);transition:width .2s}.collaboration-row{display:grid;grid-template-columns:1fr 125px;gap:10px;align-items:center;margin-top:14px}.collaboration-row label{color:var(--muted);font-size:.84rem;font-weight:800}.collaboration-row select{min-height:44px;padding:8px 10px}.filter-bar{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;top:0;z-index:4;padding:4px 0 10px;background:var(--paper)}.filter-bar button{min-height:46px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--muted);font-weight:800}.filter-bar button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}.filter-bar span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:99px;background:#ffffff22;margin-left:4px}.sync-note{font-size:.75rem;color:var(--muted);text-align:center;margin:0 0 12px}.chapter-heading{display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;margin:22px 2px 10px}.chapter-heading>span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--sky);font-size:1.35rem}.chapter-heading p{margin:0;color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.chapter-heading h2{margin:0;font-size:1.2rem}.chapter-heading>strong{font-size:.8rem;color:var(--muted)}.check-item{padding:17px}.item-heading{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.item-heading>div{min-width:0}.type-label{display:block;font-size:.68rem;color:var(--blue);font-weight:850;text-transform:uppercase;letter-spacing:.04em}.item-heading h3{font-size:1.08rem;margin:2px 0 0}.new-badge{display:inline-block;border-radius:99px;background:#fef3c7;color:#92400e;padding:2px 7px;font-size:.66rem;font-weight:900;margin:0 5px 3px 0}.state-badge{border-radius:99px;background:var(--paper);color:var(--muted);padding:5px 9px;font-size:.72rem;font-weight:850;white-space:nowrap}.help-text{font-size:.8rem;color:var(--muted);margin:9px 0 0}.item-field,.note-field{display:block;margin-top:15px;color:var(--muted);font-size:.9rem;font-weight:800}.item-field input,.item-field select,.note-field textarea{margin-top:6px}.unit-input{display:grid;grid-template-columns:1fr auto;align-items:center;margin-top:6px}.unit-input input{margin:0;border-radius:12px 0 0 12px}.unit-input span{display:grid;place-items:center;min-width:50px;height:50px;border:2px solid #a9bbc4;border-left:0;border-radius:0 12px 12px 0;background:var(--paper);color:var(--ink)}.detail-list{display:grid;gap:8px;margin-top:10px}.detail-object{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.detail-object>strong{grid-column:1/-1;font-size:.84rem}.detail-object label{font-size:.75rem;color:var(--muted);font-weight:800}.detail-object input{min-height:44px;padding:8px;margin-top:4px}.photo-field{display:block;margin-top:10px;padding:12px;border:2px dashed var(--line);border-radius:12px;color:var(--blue);font-weight:800}.photo-field input{position:absolute;opacity:0;width:1px;height:1px}.status-choice{border:0;padding:0;margin:17px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.status-choice legend{grid-column:1/-1;color:var(--muted);font-size:.9rem;font-weight:800;margin-bottom:5px}.status-button{min-width:0;min-height:72px;border:2px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:7px 3px;display:flex;flex-direction:column;align-items:center;justify-content:center}.status-button>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--paper);font-size:.95rem;font-weight:900;margin-bottom:3px}.status-button strong{font-size:.78rem}.status-button.complete[aria-pressed="true"]{border-color:#16a34a;background:#f0fdf4}.status-button.complete[aria-pressed="true"]>span{background:#16a34a;color:#fff}.status-button.problem[aria-pressed="true"]{border-color:#dc2626;background:#fff1f2}.status-button.problem[aria-pressed="true"]>span{background:#dc2626;color:#fff}.status-button.irrelevant[aria-pressed="true"]{border-color:#64748b;background:#f1f5f9}.status-button.irrelevant[aria-pressed="true"]>span{background:#64748b;color:#fff}.item-footer{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:12px}.item-footer label{font-size:.72rem;color:var(--muted);font-weight:800}.item-footer select{min-height:40px;padding:6px 8px;margin-top:3px}.item-footer>span{font-size:.68rem;color:var(--muted);padding-bottom:9px}.check-item[data-state="complete"] .state-badge{background:#dcfce7;color:#166534}.check-item[data-state="problem"] .state-badge{background:#fee2e2;color:#991b1b}.check-item[data-state="irrelevant"] .state-badge{background:#e2e8f0;color:#475569}.empty-state{padding:24px;text-align:center}.empty-state p{color:var(--muted)}.empty-state button{min-height:46px;border:0;border-radius:12px;background:var(--blue);color:#fff;padding:0 16px;font-weight:800}
.editor-intro{padding:16px}.editor-intro p{margin:5px 0 0;color:var(--muted);font-size:.83rem}.editor-items{display:grid;gap:8px}.editor-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:12px;margin-bottom:0}.editor-item>div:first-child{min-width:0}.editor-item span{display:block;color:var(--blue);font-size:.68rem;text-transform:uppercase;font-weight:850}.editor-item strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-tools{display:flex;gap:3px}.item-tools button{width:34px;height:38px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font-weight:900}.item-tools button:disabled{opacity:.25}.add-in-chapter{width:100%;min-height:48px;border:2px dashed var(--line);border-radius:12px;background:transparent;color:var(--blue);font-weight:850}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.type-options label{font-size:.84rem;color:var(--muted);font-weight:800}.type-options input{margin-top:5px}
@media(max-width:410px){.detail-object{grid-template-columns:1fr}.detail-object>strong{grid-column:auto}.item-tools{display:grid;grid-template-columns:repeat(3,34px)}.type-options{grid-template-columns:1fr}}
@media(prefers-color-scheme:dark){.status-button.complete[aria-pressed="true"]{background:#0d3920}.status-button.problem[aria-pressed="true"]{background:#48151b}.status-button.irrelevant[aria-pressed="true"]{background:#263640}.check-item[data-state="complete"] .state-badge{background:#174d2b;color:#bbf7d0}.check-item[data-state="problem"] .state-badge{background:#541c23;color:#fecaca}.check-item[data-state="irrelevant"] .state-badge{background:#293943;color:#cbd5e1}.new-badge{background:#503a0d;color:#fde68a}}
