/* phones.css — the Phones page (js/phones.js). */
.ph-head h1 { margin: 0 0 4px; }
.ph-muted { color: var(--text-secondary); font-size: 13px; }
.ph-error { background: #fdecea; color: #8a1c14; border: 1px solid #f3b8b2; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.ph-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); margin: 14px 0 22px; }
.ph-card { background: var(--bg-card, #fff); border: 1px solid var(--border, #dcdcd6); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.ph-card.ph-picked { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18); }
.ph-card.ph-quiet { border-color: #dc2626; }
.ph-card-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ph-good { color: #1f8a4c; font-weight: 600; }
.ph-bad { color: #b3261e; font-weight: 700; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; }
.ph-wide { grid-column: 1 / -1; }
.ph-lbl { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-secondary); }
.ph-problems { margin: 10px 0 0; padding: 8px 10px 8px 26px; background: #fdecea; border-radius: 6px; color: #8a1c14; font-size: 13px; }
.ph-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ph-controls h2 { margin: 0 8px 0 0; }
.ph-select { width: auto; }
.ph-map { height: 380px; border-radius: 10px; border: 1px solid var(--border, #dcdcd6); margin: 10px 0 22px; }
.ph-tablewrap { overflow-x: auto; }
.ph-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ph-table th, .ph-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border, #e5e5df); vertical-align: top; }
.ph-when { white-space: nowrap; }
.ph-kind { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #eef2f7; }
.ph-kind-error { background: #fdecea; color: #8a1c14; }
.ph-kind-scan { background: #e6f4ea; color: #1f6b3a; }
.ph-kind-location { background: #e8efff; color: #1d4ed8; }
.ph-send { background: var(--bg-card, #fff); border: 1px solid var(--border, #dcdcd6); border-radius: 10px; padding: 12px 14px; margin: 0 0 22px; max-width: 640px; }
.ph-send h2 { margin: 0 0 4px; }
.ph-send-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.ph-send textarea { width: 100%; box-sizing: border-box; }
.ph-send-row .form-input:not(.ph-select) { flex: 1; min-width: 200px; }
.ph-send-result { margin: 8px 0 0; padding-left: 20px; font-size: 13.5px; }
@media (max-width: 600px) { .ph-grid { grid-template-columns: 1fr; } }
