.backlink{color:#fff;text-decoration:none}.small{font-size:13px}.check.inline{display:inline-flex;margin:0;gap:8px;font-weight:600}
#progress{height:8px;background:#e4ebe5;border-radius:6px;overflow:hidden;margin:14px 0 4px}#bar{height:100%;width:0;background:#1b6550;transition:width .3s}
#summary{position:sticky;top:0;z-index:5;padding:14px 18px}#summary select{width:auto;margin:0}
.bitem{background:#fff;border:1px solid #dce5dc;border-left:5px solid #cfd8d2;border-radius:14px;padding:14px;margin:10px 0}
.bitem.k-ready{border-left-color:#1b6550}.bitem.k-need{border-left-color:#e0a82e}.bitem.k-error{border-left-color:#c0503f}.bitem.k-added{border-left-color:#8fb5a3;opacity:.7}.bitem.k-work{border-left-color:#5a8fd8}
.bbody{display:grid;grid-template-columns:150px 1fr;gap:14px}.bthumb img{width:150px;height:150px;object-fit:contain;background:#edf1ed;border-radius:10px;display:block}
.bhead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.bhead b{font-size:13px;overflow-wrap:anywhere;font-weight:600}
.tag{font-size:12px;padding:3px 9px;border-radius:12px;background:#e8ecef;white-space:nowrap}.tag.k-ready{background:#dbece1}.tag.k-need{background:#fff0c9}.tag.k-error{background:#fadbd5}.tag.k-work{background:#dde8f8}
.bcands{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.bcands .candidate{width:auto;display:inline-block;margin:0;padding:8px 12px}
.bfields{display:grid;grid-template-columns:1fr 1fr 2fr 80px;gap:0 10px}.bfields label{font-size:12px}.bfields input{margin:4px 0 8px;padding:9px}
@media(max-width:700px){.bbody{grid-template-columns:90px 1fr}.bthumb img{width:90px;height:90px}.bfields{grid-template-columns:1fr 1fr}.bhead{flex-wrap:wrap}}
@media(max-width:550px){.pill.backlink{display:inline-block}}

/* увеличение фото */
.bthumb{padding:0;margin:0;border:0;background:none;width:auto;min-height:0;cursor:zoom-in;border-radius:10px}.bthumb:hover img{outline:3px solid #1b6550}
#zoom{position:fixed;z-index:50;pointer-events:none;background:#fff;border-radius:14px;padding:8px;box-shadow:0 12px 40px #0004}
#zoom[hidden],#lightbox[hidden]{display:none}
#zoom img{display:block;max-width:min(55vw,720px);max-height:75vh;border-radius:8px}.zcap{font-size:12px;color:#667a72;padding:6px 2px 0;max-width:min(55vw,720px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lightbox{position:fixed;inset:0;z-index:60;background:#0c1a16;display:flex;align-items:center;justify-content:center;overflow:auto}
#lightbox img{max-width:96vw;max-height:calc(100vh - 90px);object-fit:contain;cursor:zoom-in;touch-action:pinch-zoom}
#lightbox.big{align-items:flex-start;justify-content:flex-start}#lightbox.big img{max-width:none;max-height:none;cursor:zoom-out}
.lbbar{position:fixed;left:0;right:0;bottom:0;display:flex;gap:8px;align-items:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#0c1a16cc}
.lbcap{flex:1;color:#dfe9e4;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lbbar button{width:48px;height:44px;padding:0;margin:0;font-size:22px;background:#ffffff1f;color:#fff;border-radius:10px}.lbbar button:disabled{opacity:.3}
body.noscroll{overflow:hidden}
