/* ტესლას ეკრანი: სენსორული, hover-ის გარეშე, დიდი ღილაკები, მუქი თემა, ანიმაციების გარეშე */
:root {
  --bg: #111316; --panel: #1a1d22; --line: #2d323a; --fg: #eef1f5; --muted: #9aa3ad;
  --acc: #3e8bff; --danger: #e5484d; --ok: #30a46c; --btn: #262a31;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--fg);
  font: 20px/1.35 system-ui, -apple-system, "Segoe UI", "Noto Sans Georgian", sans-serif; }
a { color: inherit; text-decoration: none; }
h2 { font-size: 24px; margin: 0 0 4px; }
.muted { color: var(--muted); margin: 0 0 12px; font-size: 17px; }
.err { color: var(--danger); }

.app { display: flex; height: 100vh; }
.side { width: 440px; flex: none; overflow-y: auto; padding: 16px; background: var(--panel); border-right: 1px solid var(--line); }
.map { position: relative; flex: 1; overflow: hidden; background: #aad3df; }
.mapform { margin: 0; }
.mapform input[type=image] { display: block; border: 0; padding: 0; }

.search { display: flex; gap: 8px; margin-bottom: 14px; }
.search input { flex: 1; min-width: 0; height: 64px; padding: 0 16px; font: inherit; font-size: 21px;
  color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }

.btn, button { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 20px;
  font: inherit; font-weight: 600; color: var(--fg); background: var(--btn); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer; }
.btn:active, button:active, .ctl a:active { filter: brightness(1.4); }
.btn.primary { background: var(--acc); border-color: var(--acc); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.ghost { background: transparent; }
.btn.wide { width: 100%; margin: 8px 0; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

.card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.list { list-style: none; margin: 0 0 14px; padding: 0; }
.list a { display: block; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.list b { display: block; }
.list span { color: var(--muted); font-size: 16px; }

.pt { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; }
.dot.a { background: var(--ok); }
.dot.b { background: var(--danger); }
.sum { font-size: 26px; margin: 10px 0 12px; }
.steps { list-style: none; margin: 14px 0 0; padding: 0; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 18px; }
.steps .ico { width: 32px; text-align: center; font-size: 26px; }
.steps .txt { flex: 1; }
.steps .d { color: var(--muted); white-space: nowrap; }

.ctl { position: absolute; display: flex; flex-direction: column; gap: 10px; }
.ctl a, .ctl button { width: 76px; height: 76px; min-height: 0; padding: 0; font-size: 34px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 22, 26, .9); border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; }
.zoom { right: 16px; top: 16px; }
.tools { right: 16px; bottom: 40px; }
.pan { left: 16px; bottom: 40px; display: grid; grid-template-columns: repeat(3, 76px); gap: 6px; }
.pan a { font-size: 26px; }

.quality { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.quality .muted { margin: 0; }
.chip { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 17px; }
.chip.on { background: var(--acc); border-color: var(--acc); }
.stats { width: 100%; color: var(--muted); font-size: 15px; }

/* ნავიგაცია */
.nav .stats { position: absolute; left: 240px; bottom: 50px; width: auto; padding: 6px 10px;
  background: rgba(17, 19, 22, .85); border-radius: 8px; }
.nav { position: relative; width: 100vw; height: 100vh; overflow: hidden; background: #aad3df; }
#navimg { display: block; width: 100vw; height: 100vh; object-fit: cover; }
.navpanel { position: absolute; left: 16px; top: 16px; width: 520px; padding: 18px 20px;
  background: rgba(17, 19, 22, .94); border-radius: 18px; }
.maneuver { display: flex; gap: 18px; align-items: center; }
.maneuver .ico { font-size: 64px; line-height: 1; width: 72px; text-align: center; }
.maneuver .dist { font-size: 40px; font-weight: 700; }
.maneuver .txt { font-size: 22px; }
.then { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.eta { margin-top: 10px; font-size: 22px; }
.note { margin-top: 8px; color: #ffb224; }
.endnav { position: absolute; left: 16px; bottom: 40px; min-width: 200px; }

/* ადმინის გვერდები */
.admin { height: 100vh; overflow-y: auto; max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.admin h1 { margin-top: 0; }
