/**
 * @file        sg-import.css
 * @description SynthGlobe import module styles: W-07 imports (upload card, processing, preview map, proposed steps), weather line of a step and low-data images
 *
 * @author      Thomas Dobler - SYNTHETIXMIND LTD
 * @company     SYNTHETIXMIND LTD, Paphos, Cyprus
 * @url         https://synthetixmind.com
 *
 * @uid         0e6b3d58-9a14-4c27-8f3e-b5d2a7c19e60
 * @version     0.1.0.1
 * @created     2026-12-01
 * @updated     2026-12-01
 *
 * @copyright   (c) 2026 by SYNTHETIXMIND LTD
 * @license     Proprietary — All rights reserved
 */

/* Mobile first: one column at 360 px, two panels side by side from 900 px. */
.sg-import { min-width: 0; }
.sg-import__head h1 { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 8px; overflow-wrap: anywhere; }
.sg-import__kicker { font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-muted); margin: 0 0 4px; }
.sg-import__error p { margin: 0 0 6px; overflow-wrap: anywhere; }
.sg-import__range { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin: 0 0 16px; min-width: 0; }
.sg-import__range legend { padding: 0 4px; font-weight: 600; }
.sg-import__processing { border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px; margin: 0 0 16px; background: var(--bg); }
.sg-import__processing progress { width: 100%; height: 8px; accent-color: var(--accent); }
.sg-import__processing p { margin: 0 0 8px; overflow-wrap: anywhere; }
.sg-import__grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.sg-import__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.sg-import__bar h2 { margin: 0; }
.sg-import__map { margin: 12px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.sg-import__map svg { display: block; width: 100%; height: auto; }
.sg-import__track { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* The one orange focal point of the view: the proposed steps on the map. */
.sg-import__dot circle { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.sg-import__dot text { fill: #fff; font-family: var(--font-mono); font-size: 14px; text-anchor: middle; }
.sg-import__counts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; border-top: 1px solid var(--border); padding-top: 8px; }
.sg-import__counts p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.sg-import__list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; max-height: 60vh; overflow-y: auto; }
.sg-import__step .sg-check { align-items: flex-start; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.sg-import__n { display: inline-flex; justify-content: center; min-width: 1.8em; color: var(--ink-muted); }
.sg-import__step-title { font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .sg-import__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* FR-221: weather line of a step. */
.sg-weather { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 8px 0; color: var(--ink-muted); }
.sg-weather--hidden { opacity: 0.8; }

/* FR-206: a low-data photo outside a link shows that a tap loads it in full. */
img[src*="ld=1"] { cursor: zoom-in; }
