/* The accounting firm: styles for its worked example only. Shared pieces (pack, draft, person-note) are in ../styles.css.
   Everything here is prefixed acx- so it cannot reach another business. */

/* ---------- Missing-items check ---------- */
.acx-meta { margin-top: 2px; font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }


.acx-gh-need { color: var(--brick); }

.acx-rows { display: grid; gap: 0; }
.acx-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 10px 6px;
  border: 0;
  border-top: 1px solid rgba(34, 50, 44, 0.12);
  border-radius: 0;
  background: transparent;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.acx-rows > .acx-row:first-child { border-top: 0; }
.acx-row.hot { background: var(--mustard-wash); }

.acx-mark { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); font-weight: 800; font-size: 0.8rem; line-height: 1; }
.acx-mark .tiny { width: 12px; height: 12px; }
.acx-mark .tiny path { stroke: var(--green-deep); stroke-width: 2.6; }
.acx-have .acx-mark { background: var(--green-wash); border-color: var(--green); }
.acx-part .acx-mark { background: var(--mustard); }
.acx-miss .acx-mark { border-style: dashed; }

.acx-item { font-weight: 700; line-height: 1.3; }
.acx-st { justify-self: end; padding: 1px 9px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; }
.acx-have .acx-st { background: var(--green-wash); color: var(--green-deep); }
.acx-part .acx-st { background: var(--mustard); color: var(--ink); border: 1.5px solid var(--ink); }
.acx-miss .acx-st { background: var(--brick); color: var(--white); }

.acx-body { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }

/* The file each line came from */
.acx-file {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  min-height: 30px; padding: 3px 9px;
  border: 2px solid var(--ink); border-radius: 7px; background: var(--white);
  font-size: 0.82rem; font-weight: 600; line-height: 1.25; text-align: left; overflow-wrap: anywhere;
  cursor: pointer;
}
button.acx-file:hover, button.acx-file:focus-visible, button.acx-file.hot { background: var(--mustard); }
button.acx-file:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.acx-file.is-onfile { border-style: dashed; background: transparent; cursor: default; }
.acx-file.is-none { border-style: dashed; border-color: var(--brick); background: transparent; color: var(--brick-deep); cursor: default; }

/* Month-by-month coverage, October to September */
.acx-months { display: inline-grid; grid-template-columns: repeat(12, 17px); gap: 2px; }
.acx-m {
  height: 20px; display: grid; place-items: center;
  border-radius: 4px; border: 1.5px solid var(--ink);
  font-size: 0.66rem; font-weight: 700; line-height: 1;
}
.acx-m.is-in { background: var(--green-wash); color: var(--green-deep); border-color: var(--green); }
.acx-m.is-out {
  background: repeating-linear-gradient(135deg, var(--white) 0 3px, var(--blush) 3px 6px);
  border: 2px solid var(--brick); color: var(--brick-deep); font-weight: 800;
}

.acx-note { flex: 1 1 100%; font-size: 0.88rem; line-height: 1.4; color: var(--ink-soft); }
.acx-part .acx-note, .acx-miss .acx-note { color: var(--ink); }
.acx-have { padding-block: 7px; }
.acx-have .acx-note { flex: 0 1 auto; font-size: 0.84rem; }

/* ---------- The reminder ---------- */
.letter p + .acx-asks { margin-top: 8px; }
.acx-asks { display: grid; gap: 4px; }
.acx-asks li {
  position: relative; padding: 4px 10px 4px 28px;
  border-radius: 6px; background: transparent;
  font-size: 0.96rem; font-weight: 600; line-height: 1.4;
  transition: box-shadow 0.18s ease;
}
.acx-asks li::before { content: ""; position: absolute; left: 10px; top: 0.78em; width: 9px; height: 9px; border-radius: 2px; border: 2px solid var(--ink); background: var(--white); }
.acx-asks li.hot { background: var(--mustard-wash); }

/* ---------- Motion, as the check opens ---------- */
@keyframes acx-gap { from { transform: scale(1.5); opacity: 0; } }
.anim .acx-row.reveal .acx-m.is-out { animation: acx-gap 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.2) backwards; animation-delay: calc(var(--i, 0) * 100ms + 360ms); }

@media (max-width: 600px) {
  .acx-row { grid-template-columns: 22px minmax(0, 1fr); padding: 9px 8px; }
  .acx-st { grid-column: 2; grid-row: 2; justify-self: start; }
  .acx-months { grid-template-columns: repeat(12, minmax(14px, 18px)); }
}
