/* techies-app.css — the techies' page (design-techies-access details.design.screens): one column, one hand, targets
   of 48 px or more, no hover; light and dark by the phone's own choice. */
@font-face { font-family: Vazirmatn; src: url(/static/fonts/Vazirmatn.woff2) format('woff2'); font-weight: 100 900;
  font-display: swap; }
:root { --bg: #faf9f5; --panel: #fff; --ink: #1f1e1d; --muted: #6b6a66; --line: #e3e0d6; --accent: #c96442;
  --accent-ink: #fff; --ok: #2f7d4f; --err: #b3261e; --soft: #f2f0e8; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #1d1c1a; --panel: #262523; --ink: #ecebe6; --muted: #a3a19a; --line: #3a3935; --accent: #d97757;
    --accent-ink: #1d1c1a; --ok: #6cc08b; --err: #f08b82; --soft: #2e2d2a; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 17px/1.5 Vazirmatn, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom); }
button, input, select, textarea { font: inherit; color: inherit; }
main { flex: 1; padding: 12px 16px 24px; max-width: 640px; width: 100%; margin: 0 auto; }
h1 { font-size: 1.35rem; margin: 8px 0 12px; }
h2 { font-size: 1.1rem; margin: 16px 0 8px; }
.ta-muted { color: var(--muted); }
.ta-err { color: var(--err); }
.ta-ok { color: var(--ok); }
.ta-bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 12px; align-items: center; padding: 8px 16px;
  padding-top: max(8px, env(safe-area-inset-top)); background: var(--panel); border-bottom: 1px solid var(--line); }
.ta-where { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ta-where strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-where span { font-size: .85rem; color: var(--muted); }
.ta-out, .ta-big, .ta-btn { min-height: 48px; min-width: 48px; border-radius: 12px; border: 0; padding: 0 18px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; }
.ta-big { width: 100%; font-size: 1.1rem; min-height: 56px; margin: 12px 0; }
.ta-btn.ta-quiet, .ta-big.ta-quiet { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.ta-link { background: none; border: 0; color: var(--muted); min-height: 48px; padding: 0 12px; text-decoration: underline; }
.ta-foot { display: flex; justify-content: center; gap: 8px; padding: 4px 16px 12px; }
.ta-card { display: block; width: 100%; text-align: start; background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; margin: 0 0 10px; min-height: 64px; cursor: pointer; }
.ta-card strong { display: block; }
.ta-card span { display: block; color: var(--muted); font-size: .9rem; }
.ta-card.ta-today { border-color: var(--accent); }
.ta-bar-meter { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 8px; }
.ta-bar-meter i { display: block; height: 100%; background: var(--ok); }
.ta-field { display: block; margin: 0 0 14px; }
.ta-field > span { display: block; font-weight: 600; margin-bottom: 4px; }
.ta-field select, .ta-field input[type=text], .ta-field textarea { width: 100%; min-height: 48px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); padding: 8px 12px; }
.ta-photo { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ta-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.ta-map { position: relative; height: 62vh; min-height: 320px; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; background: var(--panel); touch-action: none; }
.ta-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.ta-pts { list-style: none; padding: 0; margin: 8px 0; }
.ta-pts li { margin: 0 0 6px; }
.ta-pts button { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel);
  text-align: start; padding: 0 14px; cursor: pointer; }
.ta-pts button.ta-done { border-inline-start: 6px solid var(--ok); }
.ta-consent { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.ta-consent li { margin: 4px 0; }
.ta-mode { background: var(--soft); border-radius: 10px; padding: 10px 14px; }
:root { --fm-bg: #eceae3; --fm-lan: #2f6fd6; --fm-voip: #a743c9; --fm-cctv: #c96d12; --fm-electric: #a88a00;
  --fm-zone: #3d8a4f; --fm-pt: #c0392b; --fm-done: #2f7d4f; --fm-sel: #1f1e1d; }
@media (prefers-color-scheme: dark) { :root { --fm-bg: #171716; --fm-lan: #6ea2ff; --fm-voip: #d58bf0;
  --fm-cctv: #f2a35a; --fm-electric: #e2c84a; --fm-zone: #6fc086; --fm-pt: #ff7a6b; --fm-done: #6fd39a; --fm-sel: #fff; } }
.fmap { position: absolute; inset: 0; touch-action: none; }
.fmap-canvas { display: block; width: 100%; height: 100%; }
.fmap-names { position: absolute; inset: 0; pointer-events: none; }
.fmap-names > button { position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; }
/* a point's target is 46 px about its dot: the dot where the point is, its label beside it */
.fmap-pt { margin: -23px 0 0 -23px; padding: 15px; border: 0; background: none; color: var(--ink); display: flex;
  align-items: center; gap: 4px; font: inherit; font-size: .85rem; }
.fmap-pt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--fm-pt);
  border: 2px solid var(--panel); box-shadow: 0 0 0 1px var(--fm-pt); }
.fmap-pt.done::before { background: var(--fm-done); box-shadow: 0 0 0 1px var(--fm-done); }
.fmap-pt.sel::before { box-shadow: 0 0 0 3px var(--fm-sel); }
.fmap-pt-label { padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, var(--panel) 85%, transparent); }
.fmap-zone { min-height: 32px; padding: 2px 8px; border-radius: 6px; border: 2px solid var(--fm-zone); background: var(--panel);
  color: var(--ink); font: inherit; font-size: .8rem; }
.fmap-zone[data-tag="lan"] { border-color: var(--fm-lan); }
.fmap-zone[data-tag="voip"] { border-color: var(--fm-voip); }
.fmap-zone[data-tag="cctv"] { border-color: var(--fm-cctv); }
.fmap-zone[data-tag="electric"] { border-color: var(--fm-electric); }
.fmap-handle { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 4px; border: 2px solid var(--fm-sel);
  background: var(--panel); }
@media (max-width: 380px) { body { font-size: 16px; } }
