.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.r67-page .page-title {
  font-size:clamp(48px,6.2vw,86px);
}

.r67-page .page-lede {
  max-width:760px;
}

.r67-stats .stat strong {
  font-size:clamp(42px,4.4vw,62px);
}

.r67-stats .stat span {
  max-width:170px;
  line-height:1.35;
}

.r67-stat-note {
  max-width:820px;
  margin:16px 0 0 auto;
  color:#65717a;
  font:500 11px/1.5 "Geist Mono",monospace;
  text-align:right;
}

.r67-experience .kicker,
.work-log-section .kicker {
  margin-bottom:18px;
  color:#7b674c;
}

.evidence-list {
  margin:32px 0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line);
}

.evidence-list li {
  padding:17px 0;
  border-bottom:1px solid var(--line);
  color:#46535c;
  font-size:16px;
  line-height:1.6;
}

.evidence-list strong {
  color:var(--ink);
  font-weight:650;
}

.detail-copy > .r67-caution {
  margin-top:34px;
  padding:20px 0 0;
  border-top:3px solid var(--amber);
  color:#394750;
  font-size:15px;
}

.r67-tool-section {
  padding:96px max(34px,calc((100vw - 1172px)/2));
  background:var(--ink);
  color:#eef0ea;
}

.r67-tool-section .section-label {
  margin-bottom:42px;
}

.checklist-intro {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:70px;
  align-items:end;
  margin-bottom:62px;
}

.r67-tool-lede {
  max-width:700px;
  color:#c4ccce;
  font-size:22px;
  line-height:1.55;
  letter-spacing:-.015em;
}

.r67-updated {
  margin-top:18px;
  color:#87959b;
  font:550 10px/1.5 "Geist Mono",monospace;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.progress-panel {
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.25);
}

.progress-summary {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:13px;
  color:#dce2e2;
  font:600 11px/1.2 "Geist Mono",monospace;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.progress-summary strong {
  font:inherit;
}

.progress-panel progress {
  display:block;
  width:100%;
  height:8px;
  border:0;
  border-radius:0;
  background:#354149;
  color:var(--amber);
}

.progress-panel progress::-webkit-progress-bar {
  background:#354149;
}

.progress-panel progress::-webkit-progress-value {
  background:var(--amber);
}

.progress-panel progress::-moz-progress-bar {
  background:var(--amber);
}

.checklist-groups {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
}

.checklist-group {
  min-width:0;
  border-top:3px solid var(--amber);
  background:#19232b;
}

.phase-heading {
  min-height:126px;
  padding:27px 28px 24px;
  border-bottom:1px solid rgba(255,255,255,.15);
}

.phase-heading > span {
  display:block;
  margin-bottom:13px;
  color:var(--amber);
  font:650 10px/1 "Geist Mono",monospace;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.phase-heading h3 {
  max-width:470px;
  color:#fff;
  font-size:27px;
  font-weight:500;
  line-height:1.08;
  letter-spacing:-.035em;
}

.check-item {
  display:grid;
  grid-template-columns:26px 1fr;
  gap:15px;
  padding:23px 28px;
  border-bottom:1px solid rgba(255,255,255,.12);
  cursor:pointer;
  transition:background .18s;
}

.check-item:hover {
  background:#202d35;
}

.check-item input {
  width:21px;
  height:21px;
  margin:2px 0 0;
  accent-color:var(--amber);
  cursor:pointer;
}

.check-item span {
  min-width:0;
}

.check-item strong,
.check-item small,
.check-item em {
  display:block;
}

.check-item strong {
  color:#f5f5ef;
  font-size:16px;
  font-weight:590;
  line-height:1.35;
}

.check-item small {
  margin-top:7px;
  color:#aeb9bc;
  font-size:13px;
  line-height:1.5;
}

.check-item em {
  width:max-content;
  max-width:100%;
  margin-top:12px;
  padding:5px 7px;
  border:1px solid #53636b;
  color:#bfc9cb;
  font:600 9px/1 "Geist Mono",monospace;
  font-style:normal;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.check-item:has(input:checked) {
  background:#151d23;
}

.check-item input:checked + span strong,
.check-item input:checked + span small {
  color:#75838a;
  text-decoration:line-through;
  text-decoration-thickness:1px;
}

.tool-button {
  appearance:none;
  border:1px solid currentColor;
  border-radius:0;
  background:transparent;
  color:inherit;
  padding:12px 15px;
  cursor:pointer;
  font:700 10px/1 "Geist Mono",monospace;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.tool-button:hover,
.tool-button:focus-visible {
  background:var(--ink);
  color:var(--paper);
}

.tool-button:focus-visible {
  outline:2px solid var(--amber);
  outline-offset:3px;
}

.tool-button.primary {
  border-color:var(--amber);
  background:var(--amber);
  color:var(--ink);
}

.tool-button.subtle {
  color:#748188;
}

.progress-panel .tool-button {
  margin-top:18px;
  color:#aeb9bc;
}

.progress-panel .tool-button:hover {
  border-color:#eef0ea;
  background:#eef0ea;
  color:var(--ink);
}

.work-log-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:60px;
  align-items:end;
}

.work-log-heading .detail-heading {
  max-width:620px;
}

.work-log-summary {
  display:flex;
  gap:32px;
  padding:18px 0;
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--ink);
}

.work-log-summary span {
  color:#65717a;
  font:600 10px/1.3 "Geist Mono",monospace;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.work-log-summary strong {
  display:block;
  margin-bottom:7px;
  color:var(--ink);
  font:450 36px/1 "Geist",Arial,sans-serif;
  letter-spacing:-.04em;
}

.work-log-intro {
  max-width:850px;
  margin-top:34px;
  color:#52616a;
  font-size:16px;
  line-height:1.65;
}

.work-log-form {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
  margin-top:48px;
  padding:36px;
  border-top:4px solid var(--amber);
  background:#e7e2d7;
}

.form-field {
  min-width:0;
}

.form-field.field-wide {
  grid-column:span 2;
}

.form-field.field-full,
.form-actions.field-full {
  grid-column:1/-1;
}

.form-field label {
  display:block;
  margin-bottom:9px;
  color:#5f6d75;
  font:650 10px/1.25 "Geist Mono",monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  display:block;
  width:100%;
  min-height:46px;
  border:1px solid #9da5a5;
  border-radius:0;
  background:#f8f6f0;
  color:var(--ink);
  padding:11px 12px;
  font:500 15px/1.4 "Geist",Arial,sans-serif;
}

.form-field textarea {
  min-height:108px;
  resize:vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline:2px solid var(--amber);
  outline-offset:1px;
  border-color:var(--ink);
}

.form-actions {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:40px;
}

#work-log-message {
  color:#53616a;
  font:600 10px/1.3 "Geist Mono",monospace;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.work-log-controls {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.work-log-table-wrap {
  overflow-x:auto;
  margin-top:24px;
  border-top:1px solid var(--ink);
}

.work-log-table {
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  table-layout:fixed;
}

.work-log-table th,
.work-log-table td {
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

.work-log-table th {
  color:#64727a;
  font:650 9px/1.25 "Geist Mono",monospace;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.work-log-table td {
  color:#43515a;
  font-size:13px;
  line-height:1.5;
}

.work-log-table th:nth-child(1),
.work-log-table td:nth-child(1) { width:110px; }
.work-log-table th:nth-child(2),
.work-log-table td:nth-child(2) { width:165px; }
.work-log-table th:nth-child(3),
.work-log-table td:nth-child(3) { width:150px; }
.work-log-table th:nth-child(4),
.work-log-table td:nth-child(4) { width:75px; text-align:center; }
.work-log-table th:nth-child(6),
.work-log-table td:nth-child(6) { width:76px; text-align:right; }

.work-log-table td strong,
.work-log-table td span {
  display:block;
}

.work-log-table td span + span {
  margin-top:6px;
  color:#68767d;
  font-size:12px;
}

.empty-log-row td {
  padding:28px 12px;
  color:#748087;
  text-align:center;
  font:550 11px/1.4 "Geist Mono",monospace;
  text-transform:uppercase;
}

.delete-log-entry {
  border:0;
  border-bottom:1px solid var(--amber);
  background:transparent;
  color:var(--ink);
  padding:3px 0;
  cursor:pointer;
  font:650 9px/1 "Geist Mono",monospace;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.resource-list {
  margin:32px 0;
  padding:0;
  list-style:none;
  border-top:1px solid rgba(255,255,255,.3);
}

.resource-list a {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:24px;
  padding:19px 0;
  border-bottom:1px solid rgba(255,255,255,.16);
}

.resource-list strong {
  color:#f2f3ed;
  font-size:15px;
  font-weight:570;
}

.resource-list span {
  color:#9facb0;
  font-size:13px;
}

.resource-list a:hover strong {
  color:var(--amber);
}

.detail-copy > .r67-disclaimer {
  color:#8f9ca0;
  font-size:13px;
}

@media (max-width:1000px) {
  .checklist-intro {
    grid-template-columns:1fr;
    gap:34px;
  }

  .checklist-groups {
    grid-template-columns:1fr;
  }

  .phase-heading {
    min-height:0;
  }

  .work-log-form {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  .r67-page .page-title {
    font-size:48px;
  }

  .r67-stat-note {
    text-align:left;
  }

  .r67-tool-section {
    padding:70px 20px;
  }

  .r67-tool-lede {
    font-size:19px;
  }

  .checklist-groups {
    gap:22px;
  }

  .phase-heading,
  .check-item {
    padding-right:20px;
    padding-left:20px;
  }

  .phase-heading h3 {
    font-size:24px;
  }

  .work-log-heading {
    grid-template-columns:1fr;
    gap:28px;
  }

  .work-log-summary {
    justify-content:space-around;
  }

  .work-log-form {
    grid-template-columns:1fr;
    padding:28px 20px;
  }

  .form-field.field-wide,
  .form-field.field-full,
  .form-actions.field-full {
    grid-column:1;
  }

  .form-actions {
    align-items:flex-start;
    flex-direction:column;
  }

  .resource-list a {
    grid-template-columns:1fr;
    gap:6px;
  }
}

@media print {
  .r67-page .nav,
  .r67-page footer,
  .work-log-form,
  .work-log-controls,
  .progress-panel .tool-button,
  .delete-log-entry {
    display:none!important;
  }

  .r67-tool-section,
  .r67-resources {
    background:#fff;
    color:#000;
  }

  .r67-tool-section .section-label h2,
  .r67-tool-lede,
  .phase-heading h3,
  .check-item strong,
  .check-item small,
  .resource-list strong,
  .resource-list span {
    color:#000;
  }

  .checklist-group {
    break-inside:avoid;
    border:1px solid #777;
    border-top:3px solid #000;
    background:#fff;
  }

  .check-item,
  .phase-heading,
  .resource-list a {
    border-color:#aaa;
  }
}
