/* York-Shipley fabrication requests. Layout only; color comes from the shared tokens. */
.ys-fab { min-width: 0; }
.ys-fab h1 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: .01em; line-height: 1.1; margin: 0 0 8px; }
.ys-fab h2 { font-size: 17px; font-weight: 650; margin: 16px 0 8px; }
.ys-fab .ys-lead { color: var(--ink-2); margin: 0 0 14px; }
.ys-fab-error { background: var(--crit-bg); color: var(--crit); border-radius: 8px; padding: 8px 12px; }
.ys-fab-card { display: grid; gap: 8px; margin-bottom: 12px; }
.ys-fab-card header { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ys-fab-what { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.ys-fab-what.is-full { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ys-fab-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.ys-fab-facts div { min-width: 0; }
.ys-fab-facts dt { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.ys-fab-facts dd { margin: 0; overflow-wrap: anywhere; }
.ys-fab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ys-fab-grid label, .ys-fab-form .ys-fab-span { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.ys-fab-span { grid-column: 1 / -1; }
.ys-fab input, .ys-fab select, .ys-fab textarea {
  font: inherit; font-weight: 500; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px; width: 100%;
  max-width: 100%; min-width: 0; box-sizing: border-box;
}
.ys-fab textarea { min-height: 96px; resize: vertical; }
.ys-fab-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ys-fab-actions .btn { min-height: 44px; overflow-wrap: anywhere; }
.ys-fab-history { margin: 0 0 12px; padding-left: 18px; }
.ys-fab-done { margin-top: 8px; }
@media (max-width: 720px) {
  .ys-fab h1 { font-size: 24px; }
  .ys-fab-facts { grid-template-columns: 1fr 1fr; }
  .ys-fab-grid { grid-template-columns: 1fr; }
  .ys-fab-actions .btn { flex: 1 1 100%; }
}
