/* „Terenul de-a lungul timpului, din satelit” (views/utile/istoric-teren-satelit.ejs, public/js/utile-istoric-teren.js) */
.it-wrap { padding: 32px 0 8px; }
.it-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.it-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 0 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; }
.it-search .ut-icon { width: 18px; height: 18px; color: var(--ut-muted); flex: none; }
.it-search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: none; font: inherit; background: transparent; }
.it-sugg { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--ut-line); border-radius: 10px; box-shadow: var(--ut-shadow-lg); max-height: 260px; overflow-y: auto; }
.it-sugg[hidden] { display: none; }
.it-sugg li { padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: .88rem; line-height: 1.35; }
.it-sugg li:hover, .it-sugg li[aria-selected="true"] { background: var(--ut-primary-50); }
.it-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.it-tools .ut-btn[disabled] { opacity: .5; pointer-events: none; }
.it-refs-toggle { padding: 0 4px; min-height: 44px; }
.it-tools .ut-btn.is-on { background: #16a34a; border-color: #16a34a; color: #fff; }
.it-help { margin-top: 8px; font-size: .85rem; color: var(--ut-muted); }
.it-mapbox { position: relative; z-index: 0; margin-top: 12px; height: 64vh; min-height: 380px; max-height: 680px; border: 1px solid #d1d5db; border-radius: 14px; overflow: hidden; background: #1f2937; }
.it-map { position: absolute; inset: 0; }
.it-map.is-drawing { cursor: crosshair; }
.it-label { position: absolute; z-index: 500; left: 54px; top: 10px; max-width: calc(100% - 64px); padding: 5px 10px; border-radius: 8px; background: rgba(15, 23, 42, .82); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.it-label[hidden] { display: none; }
.it-area { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; font-size: .92rem; }
.it-area[hidden] { display: none; }
.it-timeline { margin-top: 16px; padding: 16px; border: 1px solid var(--ut-line); border-radius: 16px; background: #fff; }
.it-timeline[hidden] { display: none; }
.it-tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.it-tl-head .ut-h4 { margin: 0; }
.it-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ut-ink); cursor: pointer; }
.it-toggle input { width: 18px; height: 18px; accent-color: #2563eb; }
.it-group { margin-top: 14px; }
.it-group h4 { font-size: .9rem; font-weight: 700; color: var(--ut-ink); margin-bottom: 8px; }
.it-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.it-chip { padding: 6px 11px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; font: inherit; font-size: .84rem; font-weight: 600; color: var(--ut-ink); cursor: pointer; white-space: nowrap; }
.it-chip:hover { border-color: #2563eb; background: var(--ut-primary-50); }
.it-chip.is-on { background: #2563eb; border-color: #2563eb; color: #fff; }
.it-loading, .it-none { font-size: .85rem; color: var(--ut-muted); }
.it-small { margin-top: 10px; font-size: .82rem; color: var(--ut-muted); line-height: 1.5; }
.it-small a { color: var(--ut-primary); text-decoration: underline; }
.it-content { padding-top: 8px; }
.it-look { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 768px) { .it-look { grid-template-columns: 1fr 1fr; } }
.it-look__item { padding: 16px; border: 1px solid var(--ut-line); border-radius: 14px; background: #fff; }
.it-look__icon { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 10px; background: var(--ut-primary-50); color: var(--ut-primary); }
.it-look__icon .ut-icon { width: 20px; height: 20px; }
.it-look__item h3 { margin-top: 8px; font-size: 1rem; font-weight: 700; color: var(--ut-ink); }
.it-look__item p { margin-top: 4px; font-size: .9rem; line-height: 1.6; }
.it-vertex { width: 14px; height: 14px; border-radius: 50%; background: #facc15; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.it-vertex.is-first { background: #16a34a; width: 18px; height: 18px; }
/* bara de încărcare */
.it-progress { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.it-progress[hidden] { display: none; }
.it-progress p { font-size: .9rem; line-height: 1.45; }
.it-progress p span { color: #3b5b9a; }
.it-progress__bar { position: relative; height: 8px; margin-top: 10px; border-radius: 999px; background: #dbeafe; overflow: hidden; }
.it-progress__bar span { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; border-radius: 999px; background: linear-gradient(90deg, #2563eb, #60a5fa); animation: it-load 1.2s ease-in-out infinite; }
@keyframes it-load { 0% { left: -40%; } 100% { left: 100%; } }
.it-skel { display: inline-block; width: 74px; height: 32px; border-radius: 999px; background: linear-gradient(90deg, #eef2f7 25%, #dde4ee 50%, #eef2f7 75%); background-size: 200% 100%; animation: it-shine 1.2s linear infinite; }
@keyframes it-shine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .it-progress__bar span { animation-duration: 3s; } .it-skel { animation: none; } }
