/* ============================================================
   现场报工：拍照暂存、定位提示、照片大图浮层
   ============================================================ */

.report-head{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:12px;margin-bottom:8px;
}
.report-head h3{margin:0}
.report-filters{display:flex;gap:10px}
.report-filters select{
  min-height:36px;padding:5px 11px;font:inherit;font-size:12.5px;color:var(--txt2,#41494E);
  border:1px solid var(--line2,#DDE5E0);border-radius:var(--r-sm,8px);background:var(--panel,#fff);
  transition:border-color 170ms ease,box-shadow 170ms ease;
}
.report-filters select:hover{border-color:#CFDAD3}
.report-filters select:focus-visible{outline:none;border-color:var(--green,#438467);
  box-shadow:0 0 0 3px rgba(67,132,103,.12)}
.report-empty{color:var(--txt3,#7A838A);padding:12px 0;font-size:12.5px}
.field-report{border-top:1px solid var(--line,#E7ECE9);padding:16px 0}
.field-report:first-child{border-top:0;padding-top:4px}
.field-report > b{display:block;font-size:13px;font-weight:500;color:var(--txt,#24292D);margin-bottom:6px}
.field-report p{font-size:12px;color:var(--txt3,#7A838A);margin:5px 0;line-height:1.75}
.field-report .pill{margin-right:2px}
.report-geo{font-size:12px;color:var(--txt3,#7A838A);font-variant-numeric:tabular-nums}
.report-geo a{color:var(--green,#438467);margin-left:6px}
.report-review{
  font-size:12px;color:#8A621F;background:var(--amber-bg,#FAF2E3);
  border:1px solid var(--amber-line,#EFDFC2);padding:7px 11px;border-radius:var(--r-sm,8px);
}

/* 照片缩略图（按钮化，便于点开大图） */
.field-photos .ph{
  padding:0;border:0;background:none;cursor:zoom-in;line-height:0;
  border-radius:var(--r-sm,8px);transition:transform 170ms ease,box-shadow 170ms ease;
}
.field-photos .ph img{width:94px;height:80px;object-fit:cover;border-radius:var(--r-sm,8px);display:block}
.field-photos .ph:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(35,55,45,.14)}
.field-photos .ph:focus-visible{outline:2px solid rgba(67,132,103,.45);outline-offset:2px}

/* 拍照区 */
.shot-field{display:grid;gap:10px;padding:14px;border:1px dashed var(--line2,#DDE5E0);
  border-radius:var(--r,#12px);background:var(--panel-3,#F7FAF8)}
.shot-label{font-size:13px;color:var(--txt2,#41494E);font-weight:500}
.shot-label i{color:var(--red,#C65A53);font-style:normal;margin-left:3px}
.shot-list{display:flex;flex-wrap:wrap;gap:12px}
.shot-empty{margin:0;font-size:12px;color:var(--txt3,#7A838A)}
.shot{position:relative;margin:0}
.shot img{width:98px;height:86px;object-fit:cover;border-radius:var(--r-sm,8px);display:block;
  border:1px solid var(--line,#E7ECE9);background:var(--panel,#fff)}
.shot figcaption{font-size:11px;color:var(--txt3,#7A838A);text-align:center;margin-top:4px;
  font-variant-numeric:tabular-nums}
.shot-x{
  position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;
  border:2px solid var(--panel,#fff);background:var(--red,#C65A53);color:#fff;font-size:13px;line-height:1;
  cursor:pointer;display:grid;place-items:center;padding:0;
  transition:background 170ms ease;
}
.shot-x:hover{background:#B4524B}
.shot-add{justify-self:start;min-height:42px}
.shot-input{display:none}
.shot-geo{margin:0;font-size:12px;color:var(--txt3,#7A838A)}
.shot-geo[data-state="ok"]{color:var(--green,#438467)}
.shot-geo[data-state="warn"]{color:#A9761F}
.shot-tip{margin:0;font-size:11px;color:var(--txt3,#7A838A);line-height:1.7}

/* 照片大图浮层 */
html.pv-lock{overflow:hidden}
.pv{
  position:fixed;inset:0;z-index:9600;display:none;
  align-items:center;justify-content:center;
  background:rgba(26,34,29,.72);
}
.pv.on{display:flex}
.pv-stage{max-width:min(92vw,1180px);max-height:82vh;display:flex;align-items:center;justify-content:center}
.pv-stage .pv-img{
  max-width:100%;max-height:82vh;border-radius:var(--r,#12px);background:var(--panel,#fff);
  box-shadow:0 24px 64px rgba(15,22,18,.42);
}
.pv-x,.pv-prev,.pv-next{
  position:absolute;border:1px solid rgba(255,255,255,.32);color:#fff;
  background:rgba(255,255,255,.16);cursor:pointer;display:grid;place-items:center;
  border-radius:50%;transition:background 170ms ease;
}
.pv-x{top:18px;right:20px;width:40px;height:40px;font-size:20px;line-height:1}
.pv-prev,.pv-next{top:50%;width:44px;height:44px;font-size:22px;line-height:1;transform:translateY(-50%)}
.pv-prev{left:18px}
.pv-next{right:18px}
.pv-x:hover,.pv-prev:hover,.pv-next:hover{background:rgba(255,255,255,.3)}
.pv-single .pv-prev,.pv-single .pv-next{display:none}
.pv-bar{
  position:absolute;bottom:22px;left:50%;transform:translateX(-50%);
  display:flex;align-items:center;gap:14px;padding:8px 18px;border-radius:999px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);
  color:#fff;font-size:12.5px;font-variant-numeric:tabular-nums;
}
.pv-bar .pv-open{color:#fff;text-decoration:underline;text-underline-offset:3px}
.pv-bar .pv-time{color:rgba(255,255,255,.9);font-size:12px}
.pv-bar .pv-time:empty{display:none}

@media (max-width:620px){
  .report-head{align-items:stretch}
  .report-filters{width:100%}
  .report-filters select{flex:1 1 0;min-width:0}
  .pv-prev{left:8px}
  .pv-next{right:8px}
  .pv-x{top:10px;right:10px}
  .pv-stage{max-width:96vw}
}
