/* Checklist builder and the on-site inspection run. */
/* Editor items are one full-width row each. Text wraps; it is never clipped. */
.cl-rows{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:100%;min-width:0}
.cl-row.ui-card{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 44px;align-items:start;column-gap:12px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0;padding:12px 14px;min-height:68px;background:#fff;border:1px solid #DEDEDE;border-radius:12px;box-shadow:0 1px 2px rgba(27,20,100,.06);overflow:visible}
.cl-row.ui-card>span:not(.av):not(.more){min-width:0;grid-column:2}
.cl-row.ui-card .av{grid-column:1;width:32px;height:32px;min-width:32px;margin:0;padding:0;border-radius:0;background:transparent;color:#1B1464;font-weight:800;font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center}
.cl-row.ui-card h3,.cl-row.ui-card .meta{display:block;min-width:0;max-width:100%;max-height:none;margin:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;-webkit-line-clamp:unset;line-clamp:unset}
.cl-row.ui-card h3{color:#1B1464;font-size:15px;font-weight:800;line-height:1.35}
.cl-row.ui-card .meta{margin-top:2px;color:#222;font-size:14px;font-weight:400;line-height:1.4}
.cl-row.ui-card .tags:empty{display:none}
.cl-row.ui-card>.more{grid-column:3;justify-self:stretch;align-self:start;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;max-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#0062E1;font-size:22px;font-weight:700;line-height:1;box-sizing:border-box}
.cl-row.ui-card .ui-more{grid-column:3;justify-self:stretch;align-self:start;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;max-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #DEDEDE;border-radius:8px;background:#fff;color:#0062E1;font-size:22px;line-height:1;box-sizing:border-box}
.cl-row.ui-card.on{border-color:#1B1464;box-shadow:inset 0 0 0 1px #1B1464}
.cl-row.ui-card .ui-more.cmore{color:#0062E1;font-size:0;line-height:0;border:1px solid #DEDEDE;background-color:#fff;background-image:radial-gradient(circle at 30% 50%, #0062E1 2px, transparent 2.2px),radial-gradient(circle at 50% 50%, #0062E1 2px, transparent 2.2px),radial-gradient(circle at 70% 50%, #0062E1 2px, transparent 2.2px)}
.cl-row.ui-card .ui-more:focus-visible{outline:2px solid #00C6FF;outline-offset:2px}
.cl-row.ui-card:has(.ui-menu){z-index:6}
.cl-row .ui-menu{top:calc(100% + 4px);right:0;z-index:6}
.cat-rows{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:100%;min-width:0}
.cat-rows .ui-card{width:100%;max-width:100%;min-width:0;margin:0}
.cat-rows .ui-card h3,.cat-rows .ui-card .meta,.cat-rows .note{display:block;min-width:0;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;-webkit-line-clamp:unset;line-clamp:unset}
.cat-rows .ui-card h3{color:#1B1464}
.cat-rows .st{font-weight:800;color:#0062E1}
.cat-rows .st.off{color:#1B1464}
.kind.checklist{background:#00C6FF;color:#1B1464}
.bullets{margin:8px 0 0;padding-left:18px;color:#222;list-style:disc}
.bullets li{display:list-item;margin:0 0 6px;overflow-wrap:anywhere}
.gline{display:flex;gap:6px;align-items:flex-start;margin:0 0 8px}
.gline .gdot{flex:none;width:16px;text-align:center;font-weight:800;color:#0062E1;line-height:42px}
.gline textarea.gtext{flex:1;min-width:0;resize:none;overflow:hidden;line-height:1.35;min-height:42px;padding:10px}
.gline .grm{flex:none;margin-top:6px}
.startbtn{display:block;width:100%;margin:0 0 16px;min-height:48px;font-size:16px;text-align:center}
button.btn.danger{background:#fff;color:#b42318;border:1px solid #b42318}
.cl-rows>.cl-row.ui-card,.ui-cards>.cl-row.ui-card,.rows>.cl-row.ui-card,.cat-rows>.cl-row.ui-card{margin:0}
.addr{margin:8px 0 0;padding:10px 12px;background:#f4f4f4;border:1px solid #DEDEDE;border-radius:8px;font-size:16px}
.runtitle{margin:6px 0 0;font-size:18px}
body.runlock{overflow:hidden}
#runroot{display:flex;flex-direction:column;min-height:0;min-width:0;max-width:100%;overflow:hidden}
.runscroll{position:relative;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
.runstick,.progbar,.foldrow{position:relative}
.runstick{z-index:1;flex:none;background:#DEDEDE;padding-bottom:8px;min-width:0;max-width:100%}
.runslim{display:none;margin:0;color:#1B1464;font-size:15px;font-weight:800;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word}
.foldico{display:none}
.runstick.slim{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;background:#fff;border:1px solid #DEDEDE;border-radius:10px;padding:8px 8px 8px 12px;margin:0 0 8px}
.runstick.slim .progbar{display:none}
.runstick.slim .runslim{display:block;flex:1 1 160px;min-width:0}
.runstick.slim .foldlabel{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.runstick.slim .foldico{display:block}
.runstick.slim .foldrow{flex:0 0 auto;gap:8px;margin:0}
.runstick.slim .foldbtn{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;color:#1B1464}
.progbar{position:relative;background:#fff;border:1px solid var(--l);border-radius:10px;padding:10px 14px;margin:0 0 8px;min-width:0;max-width:100%}
.prog{margin:0;font-weight:800;color:#1B1464;font-size:14px;overflow-wrap:anywhere}
.progbar .meta,.runtitle,.addr{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.progbar .meta{margin-top:2px}
.savehint{font-weight:700;color:#0062E1;font-size:12px}
.qcard{scroll-margin-top:180px}
.qcard.need{box-shadow:0 0 0 2px #b42318}
.qcard.shut{padding-bottom:8px}
#runroot .qcard.answered{background:#E6F6FF;border-color:#BFE9FF;border-left:4px solid #0062E1}
#runroot .qcard.answered .qn,#runroot .qcard.answered .qt{color:#1B1464}
.qsum{flex:0 0 auto;max-width:100%;margin-left:auto;font-size:12px;font-weight:800;color:#1B1464;text-align:right;line-height:1.3;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.obs{border:1px solid #DEDEDE;border-radius:10px;padding:10px;margin-top:12px;background:#fff}
.obs-h{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:800;color:#1B1464;min-height:44px}
.addobs{min-height:48px;width:100%;margin-top:12px}
.foldrow{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.foldrow .btn{flex:1 1 auto;min-width:0;min-height:48px;padding:12px 10px;white-space:normal;overflow-wrap:anywhere}
.ghead{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;min-height:48px}
.qhead{display:flex;flex-direction:column;align-items:stretch;gap:6px;box-sizing:border-box;width:100%;min-width:0;text-align:left;font:inherit;color:#1B1464;cursor:pointer;min-height:48px;border:0;background:transparent;padding:8px 2px;border-radius:8px}
.qhead:focus-visible,.ghead:focus-visible{outline:2px solid #00C6FF;outline-offset:2px}
.qtop{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;width:100%;min-width:0}
.qtop .qn{flex:1 1 auto;min-width:0;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#1B1464;overflow-wrap:anywhere;word-break:break-word}
.qhead .qt{display:block;width:100%;min-width:0;font-size:16px;font-weight:800;color:#1B1464;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word}
.qhead .chev,.qhead.open .chev{margin-top:0;align-self:center}
.qbadge{flex:none;max-width:42%;margin-top:2px;white-space:normal;text-align:center;line-height:1.2}
.qbadge:empty{display:none}
.qbody[hidden],.qcard.shut .qbody{display:none}
.chev{flex:none;width:12px;height:12px;margin-top:6px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(-45deg)}
.pickbtn{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;box-sizing:border-box;width:100%;max-width:100%;min-height:44px;height:auto;text-align:left;white-space:normal}
.pickbtn .name{flex:1;min-width:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
.pickbtn .chev{flex:none;margin-top:6px;transform:rotate(45deg)}
.qhead.open .chev,.ghead.open .chev{transform:rotate(45deg);margin-top:4px}
.qhead .chev,.qhead.open .chev{margin-top:0}
.ghead{align-items:center;margin-top:8px;background:var(--bg);border:1px solid var(--l);border-left:4px solid var(--a);border-radius:8px;padding:12px;font-weight:700;color:var(--c)}
.ghead .chev{margin-top:0}
.ghead.open .chev{margin-top:4px}
.gbody{padding:2px 4px 4px 8px}
details.qguide{margin-top:8px;background:var(--bg);border:1px solid var(--l);border-left:4px solid var(--a);border-radius:8px;padding:8px 10px}
details.qguide summary{cursor:pointer;font-weight:700;color:var(--c);font-size:13px;min-height:44px;display:flex;align-items:center}
.choices{display:flex;gap:8px;margin-top:10px}.choices button{flex:1;min-width:0;padding:14px 6px;white-space:normal;overflow-wrap:anywhere;line-height:1.2}
@media(max-width:420px){.fixbox .choices{flex-direction:column}}
.choices button.on.positive,.choices button.on.pass{background:#0062E1;color:#fff;border-color:#0062E1}
.choices button.on.negative,.choices button.on.fail{background:#1B1464;color:#fff;border-color:#1B1464}
.choices button.on.na{background:#fff;color:#1B1464;border-color:#0062E1}
.res.positive{background:#0062E1;color:#fff}.res.negative{background:#1B1464;color:#fff}.res.na{background:#DEDEDE;color:#222}
.res.open{background:#fff;color:#1B1464;border:1px solid #00C6FF}
.fixbox{border:1px solid #DEDEDE;border-left:4px solid #00C6FF;border-radius:8px;padding:10px;margin-top:12px}
.res{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:2px 7px;border-radius:4px}
.res.pass{background:#0062E1;color:#fff}.res.fail{background:#1B1464;color:#fff}.res.na{background:#DEDEDE;color:#222}
img.shot{width:100%;max-height:160px;object-fit:cover;border:1px solid #DEDEDE;border-radius:8px;display:block;margin-top:8px}
.note,.meta,.fixbox,p{overflow-wrap:anywhere}
.qt.empty{font-weight:700;color:#666}
@media print{header,nav,#pbanner,.subnav,.dock,.modmenu,.noprint,.foldrow{display:none!important}body,body.runlock{overflow:visible;background:#fff}#runroot{display:block;height:auto!important;max-height:none!important}.runscroll{overflow:visible}.runstick.slim .progbar{display:block}.runslim{display:none!important}.card{break-inside:avoid}.qcard.shut .qbody{display:block!important}.qhead .chev{display:none}}
