/* tak.css — styles of the map tools in js/tak.js (labels on the map, extra editor fields, panels). Loaded after app.css. */
.tk-lbl{position:absolute;left:0;top:0;transform:translate(-50%,-50%);white-space:nowrap;font:600 11px/15px system-ui,sans-serif;color:#0f172a;background:rgba(255,255,255,.88);border-radius:6px;padding:0 5px;box-shadow:0 1px 3px rgba(0,0,0,.3);pointer-events:none}
.tk-lbl.tk-dist{font-weight:700}
.tk-lbl.tk-az{background:transparent;box-shadow:none;font-weight:700;text-shadow:0 0 3px #fff,0 0 3px #fff,0 0 3px #fff}
.tk-lbl.tk-name{font-size:12px}
.tk-lbl.tk-below{transform:translate(-50%,14px)}
.tk-lbl.tk-rb{font-size:12px;border:1px solid rgba(15,23,42,.25)}
.tk-lbl.tk-bh{font-size:12px;border:2px solid #2563eb;background:#fff}
.tk-sensor{width:28px;height:28px;border-radius:50%;background:#fff;border:3px solid #e11d48;display:grid;place-items:center;font-size:15px;box-shadow:0 2px 6px rgba(0,0,0,.35)}
.tk-role{display:inline-block;background:#0f172a;color:#fff;border-radius:4px;padding:0 4px;margin-right:4px;font-size:10px;line-height:14px;vertical-align:1px}
.tk-age{margin-left:4px;color:#b45309;font-weight:600}.tk-age.old{color:#dc2626}

.tk-ed{margin-top:10px;padding-top:4px;border-top:1px solid var(--line)}
.tk-f{flex:1;min-width:96px}
.tk-f input[type=range]{width:100%}
.tk-end{font-size:13px;margin:6px 0;gap:6px}.tk-end code{font-size:12px}
.tk-who{display:flex;flex-direction:column;gap:2px;max-height:180px;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:6px 10px;margin-bottom:8px}
.tk-chk{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:14px}.tk-chk input{width:18px;height:18px;flex:none}
.tk-note{color:var(--mut);font-size:13px;margin:6px 0}
.tk-warn{color:#b45309;font-weight:600;margin-top:4px}
.tk-cnt{display:inline!important;color:var(--mut);font-size:12px}
.tk-tag{margin-left:4px;margin-right:0}
.tk-nowrap{flex-wrap:nowrap}.tk-nowrap>input{min-width:0}
.tk-back{margin-bottom:2px}
.tk-in{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff;font:inherit}
.tk-thr{width:84px!important;border-width:2px!important}
.tk-objsel{width:auto!important;max-width:44%;padding:6px!important;font-size:13px}
.tk-resrow{display:flex;gap:8px;align-items:flex-start;margin:10px 0}.tk-resrow>b{padding-top:10px}.tk-resrow .grow{flex:1;min-width:0}
#takResOut .row{margin:2px 0}
#takObjList{max-height:38vh;overflow:auto;margin-bottom:6px}
.tk-tool{font-size:17px}
#btnTak.tk-flt{box-shadow:0 0 0 3px var(--warn),var(--sh)}
.tk-mute{width:34px;height:34px;font-size:16px;background:#334155;color:#fff;border:0;border-radius:12px;box-shadow:none;flex:none}
#routebar .tk-mute{background:var(--chip);color:var(--fg)}
body.tk-lasso #map{cursor:crosshair}
/* touch targets of the map-tools panel (CQA-05): every button in the sheets built by tak.js is at least 40 px */
#sheetBody:has(#takMgrsIn,.tk-back) .btn{min-height:40px}
#sheetBody:has(#takMgrsIn,.tk-back) .btn.sm{min-height:40px;min-width:40px}
@media print{.tk-lbl.tk-bh{display:none}}
