/* UPLOAD CHECK — page styles on top of apps.css (checklist rows, first frame, source line) */
#fileBlk[hidden]+.blk{margin-top:0;padding-top:0;border-top:0}
.uc-frame{margin-top:12px;min-height:90px}
.uc-frame canvas{max-height:300px;width:auto;max-width:100%}
.uc-noframe{padding:22px 16px;text-align:center;font-size:12.5px;color:var(--fg-3);line-height:1.5}
.uc-what{max-width:62ch;margin:16px auto 0;text-align:center}
#plats .chip{width:100%}
#plats .chip .sum{display:inline-flex;align-items:center;gap:7px;font-size:11.5px;color:var(--fg-3);font-family:var(--mono);letter-spacing:.02em}
#plats .chip.on .sum{color:var(--fg-2)}
#platBody{scroll-margin-top:92px}
.uc-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 12px}
.uc-head h3{font-family:var(--head);font-size:15px;font-weight:700;letter-spacing:.06em}
.uc-head .badge{margin-left:auto}
.uc-rows{margin-top:14px;border-radius:var(--r-2);border:1px solid var(--hair-2);background:var(--bg-1);overflow:hidden}
.uc-row{display:grid;grid-template-columns:18px minmax(110px,176px) minmax(0,1fr);gap:4px 14px;align-items:start;padding:12px 14px}
.uc-row+.uc-row{border-top:1px solid var(--hair)}
.uc-row .dot{margin:6px 0 0}
.uc-row .dot.info{background:var(--info);box-shadow:0 0 8px rgba(var(--info-rgb),.7)}
.uc-rt{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;font-weight:500;color:var(--fg)}
.uc-rt .badge{height:20px;padding:0 7px;font-size:10px;cursor:help}
.uc-rm{font-size:13px;line-height:1.55;color:var(--fg-2);min-width:0;overflow-wrap:anywhere}
.uc-rm a{color:var(--accent-3);text-decoration:none;border-bottom:1px solid rgba(var(--a),.35);white-space:nowrap}
.uc-rm a:hover{border-bottom-color:var(--accent-3)}
.uc-row.s-bad .uc-rm{color:var(--fg)}
.uc-gl{margin-top:12px;font-size:12px;color:var(--fg-3);line-height:1.6}
.uc-gl .badge{height:20px;padding:0 7px;font-size:10px;margin-right:2px;vertical-align:1px}
.uc-src{margin-top:14px;font-size:12px;color:var(--fg-3);line-height:1.7}
.uc-src a{color:var(--fg-2);text-decoration:none;border-bottom:1px solid var(--hair-3);margin-right:2px}
.uc-src a:hover{color:var(--fg);border-bottom-color:var(--fg-3)}
#facts{margin-top:18px}
@media (hover:none),(max-width:520px){.uc-src a,.uc-rm a{display:inline-block;padding:6px 0;line-height:20px}}
#facts .lbl{margin-bottom:14px}
#facts .kv dd small{color:var(--fg-3);margin-left:6px}
#stats{margin-bottom:6px}
#stats .stat b{font-size:17px;white-space:nowrap}
#stats .stat span{white-space:nowrap}
#notices:not(:empty){margin-bottom:14px}
.uc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
@media (max-width:640px){
  .uc-row{grid-template-columns:18px minmax(0,1fr);padding:11px 12px}
  .uc-rm{grid-column:2}
  .uc-head .badge{margin-left:0}
}

/* long lock labels wrap instead of widening the column on phones */
.chips .chip{white-space:normal;height:auto;min-height:34px;padding-top:6px;padding-bottom:6px;text-align:left}

/* empty state: an obvious drop row + the ghost of the checklist of the chosen platform */
.uc-drop{flex-direction:row;justify-content:flex-start;align-items:center;gap:16px;min-height:0;padding:18px 20px;text-align:left}
.uc-drop .ic{width:52px;height:52px;flex:none}
.uc-drop .tx{display:grid;gap:4px;min-width:0}
.uc-ghost{margin-top:14px;padding:50px 16px 16px;cursor:pointer}
.uc-gv{display:flex;gap:12px;align-items:center;padding:14px 15px;border-radius:var(--r-2);border:1px solid var(--hair-2);background:rgba(255,255,255,.02)}
.uc-gv>div{flex:1;display:grid;gap:7px}
.uc-gv .ghost-line:first-child{width:38%}.uc-gv .ghost-line:last-child{width:62%;opacity:.6}
.uc-ghost .uc-rows{margin-top:12px}
.uc-ghost .dot{background:var(--fg-4);box-shadow:none}
.uc-ghost .uc-rm{color:var(--fg-4);font-family:var(--mono)}
#plats .chip .sum .dot:only-child,#plats .chip .sum .dot{flex:none}
@media (max-width:520px){.uc-drop{padding:16px}.uc-ghost{padding:46px 10px 10px}}

@media (max-width:520px){.ghost>.ghost-tag.r{display:none}}          /* two tags do not fit a phone-wide ghost: the left one names it */
