/* Legacie observations: photographs, send dialog, history. Page: ops-procure.html */
.procure-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 10px; }
.procure-photo { border: 1px solid var(--line, #e2e8f0); border-radius: 6px; background: #fff; overflow: hidden; }
.procure-photo img { display: block; width: 100%; height: 110px; object-fit: cover; background: #f1f5f9; }
.procure-photo input { width: 100%; border: 0; border-top: 1px solid var(--line, #e2e8f0); padding: 6px 8px; font-size: .78rem; box-sizing: border-box; }
.procure-photo button { width: 100%; border: 0; border-top: 1px solid var(--line, #e2e8f0); background: #fff; color: #991b1b; padding: 5px; font-size: .74rem; cursor: pointer; }
.procure-sent { border-left: 4px solid #7c3aed; background: #f5f3ff; padding: 10px 12px; border-radius: 4px; margin: 0 0 12px; font-size: .9rem; }
.procure-sent.is-closed { border-left-color: #16a34a; background: #f0fdf4; }
.procure-sent a { font-weight: 600; }
.procure-history { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.procure-history li { padding: 6px 0; border-bottom: 1px solid var(--line, #e2e8f0); }
.procure-history time { color: var(--muted, #64748b); margin-right: 8px; }
.procure-modal { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); display: flex; align-items: flex-start; justify-content: center; padding: 28px 12px; overflow: auto; z-index: 9999; }
.procure-modal[hidden] { display: none; }
.procure-modal-box { background: #fff; width: 100%; max-width: 680px; border-radius: 8px; padding: 18px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.procure-modal-box h2 { margin: 0 0 6px; }
.procure-modal-box label { display: block; margin: 10px 0 0; font-weight: 600; font-size: .85rem; }
.procure-modal-box textarea, .procure-modal-box input[type=text] { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; font: inherit; font-weight: 400; padding: 7px 9px; border: 1px solid #cbd5e1; border-radius: 5px; }
.procure-sendmode { margin: 10px 0 0; }
.procure-sendmode label { display: block; font-weight: 500; margin: 4px 0; }
.procure-modal-actions { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.procure-spacer { flex: 1; }
.procure-problem { background: #fef2f2; border-left: 4px solid #dc2626; color: #7f1d1d; padding: 8px 10px; margin: 8px 0; border-radius: 4px; font-size: .85rem; }
.procure-warning { background: #fffbeb; border-left: 4px solid #f59e0b; color: #78350f; padding: 8px 10px; margin: 8px 0; border-radius: 4px; font-size: .85rem; }
