/* S36B guard app paperwork screens (paperwork.js). Same tokens and tap sizes as app.css; no inline styles. */
.field textarea {
  font: inherit; font-size: 18px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 12px; min-height: 96px; padding: 12px 14px; width: 100%; resize: vertical;
}
.field textarea:focus, .field input[type=datetime-local]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[type=datetime-local] { color-scheme: dark; font-size: 18px; }
.field textarea::placeholder { color: var(--faint); }

.pw-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pw-tools .btn { font-size: 16px; padding: 12px 10px; gap: 8px; min-width: 0; }
.pw-tools .btn:only-child { grid-column: 1 / -1; }
.pw-count { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }

.pw-step { font-size: 15px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.pw-kinds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pw-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pw-kind {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 4px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); font: inherit; font-size: 13px;
  font-weight: 600; text-align: center; line-height: 1.2; cursor: pointer;
}
.pw-kind .i { width: 26px; height: 26px; color: var(--accent); }
.pw-kind[aria-checked="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pw-kind:focus-visible, .pw-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pw-told { display: flex; flex-wrap: wrap; gap: 8px; }
.pw-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 8px 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px; cursor: pointer;
}
.pw-chip .i { width: 18px; height: 18px; color: transparent; }
.pw-chip[aria-checked="true"] { border-color: var(--good); background: var(--good-soft); }
.pw-chip[aria-checked="true"] .i { color: var(--good); }
.pw-more { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.pw-more summary { display: flex; align-items: center; gap: 10px; min-height: 52px; cursor: pointer; color: var(--muted); font-weight: 600; list-style: none; }
.pw-more summary::-webkit-details-marker { display: none; }
.pw-more[open] { padding-bottom: 14px; }
@media (max-width: 360px) {
  .pw-kinds { grid-template-columns: repeat(3, 1fr); }
  .pw-cats { grid-template-columns: repeat(2, 1fr); }
}

/* S43A: forms the office attached to the shift. The fire watch log's hours; a sheet the office makes from the clock-ins. */
.pw-tools .btn span:not(.pw-count) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-sheet { display: flex; align-items: flex-start; gap: 8px; margin: 2px 0 0; }
.pw-sheet .i { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.pw-hour .row-ic .i { width: 20px; height: 20px; }
.pw-hour.done .row-ic { color: var(--good); }
.pw-hour.now .row-ic { color: var(--accent); }
.pw-hour.missed .row-ic { color: var(--warn); }
.pw-hour.later { opacity: .7; }
