/* Ladder Check App additions (on top of the shared house-style app.css) */
.idbox { background: #eef2f8; border: 1px solid #c5d0e0; border-left: 5px solid var(--navy); border-radius: 10px; padding: 12px 14px; margin: 8px 0 12px; }
.idbox .big { font-size: 28px; font-weight: 700; color: var(--navy); letter-spacing: .02em; word-break: break-all; }
.idbox .hint { color: var(--blue); font-weight: 600; }
.scanbox video { width: 100%; max-height: 50vh; border-radius: 10px; background: #000; }
.flag { border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: 15px; }
.flag.red { background: #FDECEA; border: 1px solid var(--red); color: #7a1015; } .flag.amber { background: #FFF4E0; border: 1px solid #e3b25c; color: #6b4300; } .flag.green { background: #E7F4EC; border: 1px solid #8fc9a5; color: #14532d; } .flag.blue { background: #eef2f8; border: 1px solid #c5d0e0; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 6px; border: 1.5px solid #B86E00; color: #7a4800; background: #FFF4E0; white-space: nowrap; }
.crow { border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 10px; background: #fff; padding: 10px 12px; margin: 10px 0; }
.crow.fail-no { border-left-color: var(--red); } .crow.fix-no { border-left-color: var(--amber); } .crow.ok { border-left-color: var(--green); }
.crow .ch { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .crow .num { font-weight: 700; color: var(--red); } .crow .lab { font-weight: 700; color: var(--navy); }
.crow .tx { margin: 4px 0 8px; font-size: 15px; } .crow .grp { font-size: 12px; color: var(--grey); }
.seg button.no.on { background: var(--red); border-color: var(--red); } .seg button.yes.on { background: var(--green); border-color: var(--green); } .seg button:disabled { opacity: .4; cursor: not-allowed; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.tile { display: block; text-decoration: none; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 1px 2px rgba(15,23,41,.08); border-top: 4px solid var(--line); color: var(--navy); }
.tile b { display: block; font-size: 28px; line-height: 1.1; } .tile span { font-size: 13px; color: var(--grey); }
.tile.g { border-top-color: var(--green); } .tile.a { border-top-color: var(--amber); } .tile.r { border-top-color: var(--red); } .tile.n { border-top-color: var(--grey); }
table.lt { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; } table.lt th { background: var(--navy); color: #fff; text-align: left; padding: 8px; font-size: 14px; } table.lt td { padding: 8px; border-top: 1px solid var(--line); vertical-align: top; }
.pill.green { background: var(--green); } .pill.red { background: var(--red); } .pill.amber { background: var(--amber); } .pill.grey { background: var(--grey); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.photoSec { margin: 12px 0; } .photoSec h3 { display: flex; justify-content: space-between; }
.thumb .x { position: absolute; top: 2px; right: 2px; background: rgba(15,23,41,.8); color: #fff; border-radius: 50%; width: 24px; height: 24px; font-size: 14px; }
.thumb { position: relative; }
.mini { font-size: 13px; color: var(--grey); }

/* Desktop block screen */
.blockscreen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#0F1729;padding:24px;font-family:Roboto,system-ui,sans-serif}
.bsbox{background:#fff;border-radius:12px;max-width:560px;width:100%;padding:32px;text-align:center;border-top:6px solid #D92128}
.bslogo{max-width:260px;width:70%;margin-bottom:16px}
.bsbox h1{color:#0F1729;font-size:26px;margin:8px 0 12px}
.bsbox p{font-size:17px;line-height:1.5;color:#1f2937;margin:10px 0}
.bsqr{width:220px;height:220px;margin:16px auto 4px}.bsqr svg{width:100%;height:100%}
.bsurl{font-size:15px!important;color:#4b5563!important}
.bsbtn{display:inline-block;margin:14px 0 6px;background:#D92128;color:#fff!important;font-weight:700;font-size:18px;padding:14px 28px;border-radius:8px;text-decoration:none}
.bsnote{font-size:15px!important;color:#4b5563!important}
html:has(.blockscreen),body:has(.blockscreen){background:#0F1729!important;margin:0}
.bsviews{margin:12px 0}.bsbtn.alt{background:#21469D;font-size:16px;padding:12px 18px;margin:4px}
.blockscreen{min-height:calc(100vh - 60px)}
